mirror of
https://github.com/pnpm/action-setup.git
synced 2026-05-01 09:52:51 +08:00
747414e7da
After self-update, create symlinks for pn, pnpx, and pnx in node_modules/.bin if the target files exist in the installed package. This enables the short aliases introduced in pnpm v11.
290 lines
1.4 MiB
Plaintext
290 lines
1.4 MiB
Plaintext
"use strict";var TX=Object.create;var Rm=Object.defineProperty;var OX=Object.getOwnPropertyDescriptor;var LX=Object.getOwnPropertyNames;var MX=Object.getPrototypeOf,FX=Object.prototype.hasOwnProperty;var UX=(t,e)=>()=>(t&&(e=t(t=0)),e);var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qX=(t,e)=>{for(var r in e)Rm(t,r,{get:e[r],enumerable:!0})},SP=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of LX(e))!FX.call(t,i)&&i!==r&&Rm(t,i,{get:()=>e[i],enumerable:!(n=OX(e,i))||n.enumerable});return t};var Ct=(t,e,r)=>(r=t!=null?TX(MX(t)):{},SP(e||!t||!t.__esModule?Rm(r,"default",{value:t,enumerable:!0}):r,t)),Ui=t=>SP(Rm({},"__esModule",{value:!0}),t);var vm=h(fc=>{"use strict";Object.defineProperty(fc,"__esModule",{value:!0});fc.toCommandProperties=fc.toCommandValue=void 0;function HX(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}fc.toCommandValue=HX;function jX(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}fc.toCommandProperties=jX});var _P=h(ri=>{"use strict";var zX=ri&&ri.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),GX=ri&&ri.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),YX=ri&&ri.__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)&&zX(e,t,r);return GX(e,t),e};Object.defineProperty(ri,"__esModule",{value:!0});ri.issue=ri.issueCommand=void 0;var JX=YX(require("os")),RP=vm();function vP(t,e,r){let n=new MQ(t,e,r);process.stdout.write(n.toString()+JX.EOL)}ri.issueCommand=vP;function VX(t,e=""){vP(t,{},e)}ri.issue=VX;var xP="::",MQ=class{constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=xP+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 i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${$X(i)}`)}}return e+=`${xP}${WX(this.message)}`,e}};function WX(t){return(0,RP.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function $X(t){return(0,RP.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var PP=h(ni=>{"use strict";var KX=ni&&ni.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),XX=ni&&ni.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),UQ=ni&&ni.__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)&&KX(e,t,r);return XX(e,t),e};Object.defineProperty(ni,"__esModule",{value:!0});ni.prepareKeyValueMessage=ni.issueFileCommand=void 0;var ZX=UQ(require("crypto")),DP=UQ(require("fs")),FQ=UQ(require("os")),kP=vm();function e5(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!DP.existsSync(r))throw new Error(`Missing file at path: ${r}`);DP.appendFileSync(r,`${(0,kP.toCommandValue)(e)}${FQ.EOL}`,{encoding:"utf8"})}ni.issueFileCommand=e5;function t5(t,e){let r=`ghadelimiter_${ZX.randomUUID()}`,n=(0,kP.toCommandValue)(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}${FQ.EOL}${n}${FQ.EOL}${r}`}ni.prepareKeyValueMessage=t5});var OP=h(hc=>{"use strict";Object.defineProperty(hc,"__esModule",{value:!0});hc.checkBypass=hc.getProxyUrl=void 0;function r5(t){let e=t.protocol==="https:";if(TP(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 _m(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new _m(`http://${r}`)}else return}hc.getProxyUrl=r5;function TP(t){if(!t.hostname)return!1;let e=t.hostname;if(n5(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 i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(s==="*"||i.some(o=>o===s||o.endsWith(`.${s}`)||s.startsWith(".")&&o.endsWith(`${s}`)))return!0;return!1}hc.checkBypass=TP;function n5(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 _m=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 UP=h(gc=>{"use strict";var aOe=require("net"),i5=require("tls"),qQ=require("http"),LP=require("https"),s5=require("events"),AOe=require("assert"),o5=require("util");gc.httpOverHttp=a5;gc.httpsOverHttp=A5;gc.httpOverHttps=c5;gc.httpsOverHttps=l5;function a5(t){var e=new qs(t);return e.request=qQ.request,e}function A5(t){var e=new qs(t);return e.request=qQ.request,e.createSocket=MP,e.defaultPort=443,e}function c5(t){var e=new qs(t);return e.request=LP.request,e}function l5(t){var e=new qs(t);return e.request=LP.request,e.createSocket=MP,e.defaultPort=443,e}function qs(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||qQ.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(n,i,s,o){for(var a=FP(i,s,o),A=0,c=e.requests.length;A<c;++A){var l=e.requests[A];if(l.host===a.host&&l.port===a.port){e.requests.splice(A,1),l.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)})}o5.inherits(qs,s5.EventEmitter);qs.prototype.addRequest=function(e,r,n,i){var s=this,o=HQ({request:e},s.options,FP(r,n,i));if(s.sockets.length>=this.maxSockets){s.requests.push(o);return}s.createSocket(o,function(a){a.on("free",A),a.on("close",c),a.on("agentRemove",c),e.onSocket(a);function A(){s.emit("free",a,o)}function c(l){s.removeSocket(a),a.removeListener("free",A),a.removeListener("close",c),a.removeListener("agentRemove",c)}})};qs.prototype.createSocket=function(e,r){var n=this,i={};n.sockets.push(i);var s=HQ({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),Do("making CONNECT request");var o=n.request(s);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",A),o.once("connect",c),o.once("error",l),o.end();function a(u){u.upgrade=!0}function A(u,d,f){process.nextTick(function(){c(u,d,f)})}function c(u,d,f){if(o.removeAllListeners(),d.removeAllListeners(),u.statusCode!==200){Do("tunneling socket could not be established, statusCode=%d",u.statusCode),d.destroy();var g=new Error("tunneling socket could not be established, statusCode="+u.statusCode);g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}if(f.length>0){Do("got illegal response body from proxy"),d.destroy();var g=new Error("got illegal response body from proxy");g.code="ECONNRESET",e.request.emit("error",g),n.removeSocket(i);return}return Do("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=d,r(d)}function l(u){o.removeAllListeners(),Do(`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(i)}};qs.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(i){n.request.onSocket(i)})}};function MP(t,e){var r=this;qs.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=HQ({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),o=i5.connect(0,s);r.sockets[r.sockets.indexOf(n)]=o,e(o)})}function FP(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function HQ(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var i=Object.keys(n),s=0,o=i.length;s<o;++s){var a=i[s];n[a]!==void 0&&(t[a]=n[a])}}return t}var Do;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Do=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)}:Do=function(){};gc.debug=Do});var HP=h((lOe,qP)=>{qP.exports=UP()});var It=h((uOe,jP)=>{jP.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"),kHeadersList:Symbol("headers list"),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"),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"),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"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var At=h((dOe,zP)=>{"use strict";var Vt=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}},jQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},zQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},GQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},YQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},JQ=class t extends Vt{constructor(e,r,n,i){super(e),Error.captureStackTrace(this,t),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}},VQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},WQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},$Q=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}},KQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}},XQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}},ZQ=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}},eb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}},tb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}},rb=class t extends Vt{constructor(e,r){super(e),Error.captureStackTrace(this,t),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}},Dm=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}},nb=class extends Vt{constructor(e){super(e),Error.captureStackTrace(this,Dm),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}},ib=class t extends Error{constructor(e,r,n){super(e),Error.captureStackTrace(this,t),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}},sb=class t extends Vt{constructor(e){super(e),Error.captureStackTrace(this,t),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}},ob=class t extends Vt{constructor(e,r,{headers:n,data:i}){super(e),Error.captureStackTrace(this,t),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}};zP.exports={HTTPParserError:ib,UndiciError:Vt,HeadersTimeoutError:zQ,HeadersOverflowError:GQ,BodyTimeoutError:YQ,RequestContentLengthMismatchError:XQ,ConnectTimeoutError:jQ,ResponseStatusCodeError:JQ,InvalidArgumentError:VQ,InvalidReturnValueError:WQ,RequestAbortedError:$Q,ClientDestroyedError:eb,ClientClosedError:tb,InformationalError:KQ,SocketError:rb,NotSupportedError:Dm,ResponseContentLengthMismatchError:ZQ,BalancedPoolMissingUpstreamError:nb,ResponseExceededMaxSizeError:sb,RequestRetryError:ob}});var YP=h((fOe,GP)=>{"use strict";var km={},ab=["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<ab.length;++t){let e=ab[t],r=e.toLowerCase();km[e]=km[r]=r}Object.setPrototypeOf(km,null);GP.exports={wellknownHeaderNames:ab,headerNameLowerCasedRecord:km}});var Ue=h((hOe,nT)=>{"use strict";var $P=require("assert"),{kDestroyed:KP,kBodyUsed:JP}=It(),{IncomingMessage:u5}=require("http"),mc=require("stream"),d5=require("net"),{InvalidArgumentError:Rr}=At(),{Blob:VP}=require("buffer"),Pm=require("util"),{stringify:f5}=require("querystring"),{headerNameLowerCasedRecord:h5}=YP(),[Ab,WP]=process.versions.node.split(".").map(t=>Number(t));function g5(){}function cb(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function XP(t){return VP&&t instanceof VP||t&&typeof t=="object"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}function m5(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=f5(e);return r&&(t+="?"+r),t}function ZP(t){if(typeof t=="string"){if(t=new URL(t),!/^https?:/.test(t.origin||t.protocol))throw new Rr("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Rr("Invalid URL: The URL argument must be a non-null object.");if(!/^https?:/.test(t.origin||t.protocol))throw new Rr("Invalid URL protocol: the URL must start with `http:` or `https:`.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&!Number.isFinite(parseInt(t.port)))throw new Rr("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 Rr("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Rr("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Rr("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Rr("Invalid URL origin: the origin must be a string or null/undefined.");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||""}`;r.endsWith("/")&&(r=r.substring(0,r.length-1)),n&&!n.startsWith("/")&&(n=`/${n}`),t=new URL(r+n)}return t}function p5(t){if(t=ZP(t),t.pathname!=="/"||t.search||t.hash)throw new Rr("invalid url");return t}function y5(t){if(t[0]==="["){let r=t.indexOf("]");return $P(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function E5(t){if(!t)return null;$P.strictEqual(typeof t,"string");let e=y5(t);return d5.isIP(e)?"":e}function C5(t){return JSON.parse(JSON.stringify(t))}function I5(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function B5(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function Q5(t){if(t==null)return 0;if(cb(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(XP(t))return t.size!=null?t.size:null;if(tT(t))return t.byteLength}return null}function lb(t){return!t||!!(t.destroyed||t[KP])}function eT(t){let e=t&&t._readableState;return lb(t)&&e&&!e.endEmitted}function b5(t,e){t==null||!cb(t)||lb(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===u5&&(t.socket=null),t.destroy(e)):e&&process.nextTick((r,n)=>{r.emit("error",n)},t,e),t.destroyed!==!0&&(t[KP]=!0))}var N5=/timeout=(\d+)/;function w5(t){let e=t.toString().match(N5);return e?parseInt(e[1],10)*1e3:null}function S5(t){return h5[t]||t.toLowerCase()}function x5(t,e={}){if(!Array.isArray(t))return t;for(let r=0;r<t.length;r+=2){let n=t[r].toString().toLowerCase(),i=e[n];i?(Array.isArray(i)||(i=[i],e[n]=i),i.push(t[r+1].toString("utf8"))):Array.isArray(t[r+1])?e[n]=t[r+1].map(s=>s.toString("utf8")):e[n]=t[r+1].toString("utf8")}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}function R5(t){let e=[],r=!1,n=-1;for(let i=0;i<t.length;i+=2){let s=t[i+0].toString(),o=t[i+1].toString("utf8");s.length===14&&(s==="content-length"||s.toLowerCase()==="content-length")?(e.push(s,o),r=!0):s.length===19&&(s==="content-disposition"||s.toLowerCase()==="content-disposition")?n=e.push(s,o)-1:e.push(s,o)}return r&&n!==-1&&(e[n]=Buffer.from(e[n]).toString("latin1")),e}function tT(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}function v5(t,e,r){if(!t||typeof t!="object")throw new Rr("handler must be an object");if(typeof t.onConnect!="function")throw new Rr("invalid onConnect method");if(typeof t.onError!="function")throw new Rr("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new Rr("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new Rr("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new Rr("invalid onHeaders method");if(typeof t.onData!="function")throw new Rr("invalid onData method");if(typeof t.onComplete!="function")throw new Rr("invalid onComplete method")}}function _5(t){return!!(t&&(mc.isDisturbed?mc.isDisturbed(t)||t[JP]:t[JP]||t.readableDidRead||t._readableState&&t._readableState.dataEmitted||eT(t)))}function D5(t){return!!(t&&(mc.isErrored?mc.isErrored(t):/state: 'errored'/.test(Pm.inspect(t))))}function k5(t){return!!(t&&(mc.isReadable?mc.isReadable(t):/state: 'readable'/.test(Pm.inspect(t))))}function P5(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}}async function*T5(t){for await(let e of t)yield Buffer.isBuffer(e)?e:Buffer.from(e)}var Jd;function O5(t){if(Jd||(Jd=require("stream/web").ReadableStream),Jd.from)return Jd.from(T5(t));let e;return new Jd({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:i}=await e.next();if(n)queueMicrotask(()=>{r.close()});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()}},0)}function L5(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 M5(t){if(t){if(typeof t.throwIfAborted=="function")t.throwIfAborted();else if(t.aborted){let e=new Error("The operation was aborted");throw e.name="AbortError",e}}}function F5(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 U5=!!String.prototype.toWellFormed;function q5(t){return U5?`${t}`.toWellFormed():Pm.toUSVString?Pm.toUSVString(t):`${t}`}function H5(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}var rT=Object.create(null);rT.enumerable=!0;nT.exports={kEnumerableProperty:rT,nop:g5,isDisturbed:_5,isErrored:D5,isReadable:k5,toUSVString:q5,isReadableAborted:eT,isBlobLike:XP,parseOrigin:p5,parseURL:ZP,getServerName:E5,isStream:cb,isIterable:B5,isAsyncIterable:I5,isDestroyed:lb,headerNameToString:S5,parseRawHeaders:R5,parseHeaders:x5,parseKeepAliveTimeout:w5,destroy:b5,bodyLength:Q5,deepClone:C5,ReadableStreamFrom:O5,isBuffer:tT,validateHandler:v5,getSocketInfo:P5,isFormDataLike:L5,buildURL:m5,throwIfAborted:M5,addAbortListener:F5,parseRangeHeader:H5,nodeMajor:Ab,nodeMinor:WP,nodeHasAutoSelectFamily:Ab>18||Ab===18&&WP>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}});var oT=h((gOe,sT)=>{"use strict";var ub=Date.now(),ko,Po=[];function j5(){ub=Date.now();let t=Po.length,e=0;for(;e<t;){let r=Po[e];r.state===0?r.state=ub+r.delay:r.state>0&&ub>=r.state&&(r.state=-1,r.callback(r.opaque)),r.state===-1?(r.state=-2,e!==t-1?Po[e]=Po.pop():Po.pop(),t-=1):e+=1}Po.length>0&&iT()}function iT(){ko&&ko.refresh?ko.refresh():(clearTimeout(ko),ko=setTimeout(j5,1e3),ko.unref&&ko.unref())}var Tm=class{constructor(e,r,n){this.callback=e,this.delay=r,this.opaque=n,this.state=-2,this.refresh()}refresh(){this.state===-2&&(Po.push(this),(!ko||Po.length===1)&&iT()),this.state=0}clear(){this.state=-1}};sT.exports={setTimeout(t,e,r){return e<1e3?setTimeout(t,e,r):new Tm(t,e,r)},clearTimeout(t){t instanceof Tm?t.clear():clearTimeout(t)}}});var db=h((mOe,aT)=>{"use strict";var z5=require("node:events").EventEmitter,G5=require("node:util").inherits;function Ua(t){if(typeof t=="string"&&(t=Buffer.from(t)),!Buffer.isBuffer(t))throw new TypeError("The needle has to be a String or a Buffer.");let e=t.length;if(e===0)throw new Error("The needle cannot be an empty String/Buffer.");if(e>256)throw new Error("The needle cannot have a length bigger than 256.");this.maxMatches=1/0,this.matches=0,this._occ=new Array(256).fill(e),this._lookbehind_size=0,this._needle=t,this._bufpos=0,this._lookbehind=Buffer.alloc(e);for(var r=0;r<e-1;++r)this._occ[t[r]]=e-1-r}G5(Ua,z5);Ua.prototype.reset=function(){this._lookbehind_size=0,this.matches=0,this._bufpos=0};Ua.prototype.push=function(t,e){Buffer.isBuffer(t)||(t=Buffer.from(t,"binary"));let r=t.length;this._bufpos=e||0;let n;for(;n!==r&&this.matches<this.maxMatches;)n=this._sbmh_feed(t);return n};Ua.prototype._sbmh_feed=function(t){let e=t.length,r=this._needle,n=r.length,i=r[n-1],s=-this._lookbehind_size,o;if(s<0){for(;s<0&&s<=e-n;){if(o=this._sbmh_lookup_char(t,s+n-1),o===i&&this._sbmh_memcmp(t,s,n-1))return this._lookbehind_size=0,++this.matches,this.emit("info",!0),this._bufpos=s+n;s+=this._occ[o]}if(s<0)for(;s<0&&!this._sbmh_memcmp(t,s,e-s);)++s;if(s>=0)this.emit("info",!1,this._lookbehind,0,this._lookbehind_size),this._lookbehind_size=0;else{let a=this._lookbehind_size+s;return a>0&&this.emit("info",!1,this._lookbehind,0,a),this._lookbehind.copy(this._lookbehind,0,a,this._lookbehind_size-a),this._lookbehind_size-=a,t.copy(this._lookbehind,this._lookbehind_size),this._lookbehind_size+=e,this._bufpos=e,e}}if(s+=(s>=0)*this._bufpos,t.indexOf(r,s)!==-1)return s=t.indexOf(r,s),++this.matches,s>0?this.emit("info",!0,t,this._bufpos,s):this.emit("info",!0),this._bufpos=s+n;for(s=e-n;s<e&&(t[s]!==r[0]||Buffer.compare(t.subarray(s,s+e-s),r.subarray(0,e-s))!==0);)++s;return s<e&&(t.copy(this._lookbehind,0,s,s+(e-s)),this._lookbehind_size=e-s),s>0&&this.emit("info",!1,t,this._bufpos,s<e?s:e),this._bufpos=e,e};Ua.prototype._sbmh_lookup_char=function(t,e){return e<0?this._lookbehind[this._lookbehind_size+e]:t[e]};Ua.prototype._sbmh_memcmp=function(t,e,r){for(var n=0;n<r;++n)if(this._sbmh_lookup_char(t,e+n)!==this._needle[n])return!1;return!0};aT.exports=Ua});var lT=h((pOe,cT)=>{"use strict";var Y5=require("node:util").inherits,AT=require("node:stream").Readable;function fb(t){AT.call(this,t)}Y5(fb,AT);fb.prototype._read=function(t){};cT.exports=fb});var Om=h((yOe,uT)=>{"use strict";uT.exports=function(e,r,n){if(!e||e[r]===void 0||e[r]===null)return n;if(typeof e[r]!="number"||isNaN(e[r]))throw new TypeError("Limit "+r+" is not a valid number");return e[r]}});var gT=h((EOe,hT)=>{"use strict";var fT=require("node:events").EventEmitter,J5=require("node:util").inherits,dT=Om(),V5=db(),W5=Buffer.from(`\r
|
|
\r
|
|
`),$5=/\r\n/g,K5=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function pc(t){fT.call(this),t=t||{};let e=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=dT(t,"maxHeaderPairs",2e3),this.maxHeaderSize=dT(t,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new V5(W5),this.ss.on("info",function(r,n,i,s){n&&!e.maxed&&(e.nread+s-i>=e.maxHeaderSize?(s=e.maxHeaderSize-e.nread+i,e.nread=e.maxHeaderSize,e.maxed=!0):e.nread+=s-i,e.buffer+=n.toString("binary",i,s)),r&&e._finish()})}J5(pc,fT);pc.prototype.push=function(t){let e=this.ss.push(t);if(this.finished)return e};pc.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};pc.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let t=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",t)};pc.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let t=this.buffer.split($5),e=t.length,r,n;for(var i=0;i<e;++i){if(t[i].length===0)continue;if((t[i][0]===" "||t[i][0]===" ")&&n){this.header[n][this.header[n].length-1]+=t[i];continue}let s=t[i].indexOf(":");if(s===-1||s===0)return;if(r=K5.exec(t[i]),n=r[1].toLowerCase(),this.header[n]=this.header[n]||[],this.header[n].push(r[2]||""),++this.npairs===this.maxHeaderPairs)break}};hT.exports=pc});var gb=h((COe,pT)=>{"use strict";var hb=require("node:stream").Writable,X5=require("node:util").inherits,Z5=db(),mT=lT(),e6=gT(),t6=45,r6=Buffer.from("-"),n6=Buffer.from(`\r
|
|
`),i6=function(){};function qi(t){if(!(this instanceof qi))return new qi(t);if(hb.call(this,t),!t||!t.headerFirst&&typeof t.boundary!="string")throw new TypeError("Boundary required");typeof t.boundary=="string"?this.setBoundary(t.boundary):this._bparser=void 0,this._headerFirst=t.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:t.partHwm},this._pause=!1;let e=this;this._hparser=new e6(t),this._hparser.on("header",function(r){e._inHeader=!1,e._part.emit("header",r)})}X5(qi,hb);qi.prototype.emit=function(t){if(t==="finish"&&!this._realFinish){if(!this._finished){let e=this;process.nextTick(function(){if(e.emit("error",new Error("Unexpected end of multipart data")),e._part&&!e._ignoreData){let r=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(r+" terminated early due to unexpected end of multipart data")),e._part.push(null),process.nextTick(function(){e._realFinish=!0,e.emit("finish"),e._realFinish=!1});return}e._realFinish=!0,e.emit("finish"),e._realFinish=!1})}}else hb.prototype.emit.apply(this,arguments)};qi.prototype._write=function(t,e,r){if(!this._hparser&&!this._bparser)return r();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new mT(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let n=this._hparser.push(t);if(!this._inHeader&&n!==void 0&&n<t.length)t=t.slice(n);else return r()}this._firstWrite&&(this._bparser.push(n6),this._firstWrite=!1),this._bparser.push(t),this._pause?this._cb=r:r()};qi.prototype.reset=function(){this._part=void 0,this._bparser=void 0,this._hparser=void 0};qi.prototype.setBoundary=function(t){let e=this;this._bparser=new Z5(`\r
|
|
--`+t),this._bparser.on("info",function(r,n,i,s){e._oninfo(r,n,i,s)})};qi.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",i6),this._part.resume())};qi.prototype._oninfo=function(t,e,r,n){let i,s=this,o=0,a,A=!0;if(!this._part&&this._justMatched&&e){for(;this._dashes<2&&r+o<n;)if(e[r+o]===t6)++o,++this._dashes;else{this._dashes&&(i=r6),this._dashes=0;break}if(this._dashes===2&&(r+o<n&&this.listenerCount("trailer")!==0&&this.emit("trailer",e.slice(r+o,n)),this.reset(),this._finished=!0,s._parts===0&&(s._realFinish=!0,s.emit("finish"),s._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new mT(this._partOpts),this._part._read=function(c){s._unpause()},this._isPreamble&&this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._isPreamble!==!0&&this.listenerCount("part")!==0?this.emit("part",this._part):this._ignore(),this._isPreamble||(this._inHeader=!0)),e&&r<n&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(i&&(A=this._part.push(i)),A=this._part.push(e.slice(r,n)),A||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(i&&this._hparser.push(i),a=this._hparser.push(e.slice(r,n)),!this._inHeader&&a!==void 0&&a<n&&this._oninfo(!1,e,r+a,n))),t&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:r!==n&&(++this._parts,this._part.on("end",function(){--s._parts===0&&(s._finished?(s._realFinish=!0,s.emit("finish"),s._realFinish=!1):s._unpause())})),this._part.push(null),this._part=void 0,this._ignoreData=!1,this._justMatched=!0,this._dashes=0)};qi.prototype._unpause=function(){if(this._pause&&(this._pause=!1,this._cb)){let t=this._cb;this._cb=void 0,t()}};pT.exports=qi});var Lm=h((mb,CT)=>{"use strict";var yT=new TextDecoder("utf-8"),ET=new Map([["utf-8",yT],["utf8",yT]]);function s6(t){let e;for(;;)switch(t){case"utf-8":case"utf8":return Vd.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return Vd.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Vd.utf16le;case"base64":return Vd.base64;default:if(e===void 0){e=!0,t=t.toLowerCase();continue}return Vd.other.bind(t)}}var Vd={utf8:(t,e)=>t.length===0?"":(typeof t=="string"&&(t=Buffer.from(t,e)),t.utf8Slice(0,t.length)),latin1:(t,e)=>t.length===0?"":typeof t=="string"?t:t.latin1Slice(0,t.length),utf16le:(t,e)=>t.length===0?"":(typeof t=="string"&&(t=Buffer.from(t,e)),t.ucs2Slice(0,t.length)),base64:(t,e)=>t.length===0?"":(typeof t=="string"&&(t=Buffer.from(t,e)),t.base64Slice(0,t.length)),other:(t,e)=>{if(t.length===0)return"";if(typeof t=="string"&&(t=Buffer.from(t,e)),ET.has(mb.toString()))try{return ET.get(mb).decode(t)}catch{}return typeof t=="string"?t:t.toString()}};function o6(t,e,r){return t&&s6(r)(t,e)}CT.exports=o6});var yb=h((IOe,NT)=>{"use strict";var Mm=Lm(),IT=/%[a-fA-F0-9][a-fA-F0-9]/g,a6={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":`
|
|
`,"%0A":`
|
|
`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xEE","%Ee":"\xEE","%eE":"\xEE","%EE":"\xEE","%ef":"\xEF","%Ef":"\xEF","%eF":"\xEF","%EF":"\xEF","%f0":"\xF0","%F0":"\xF0","%f1":"\xF1","%F1":"\xF1","%f2":"\xF2","%F2":"\xF2","%f3":"\xF3","%F3":"\xF3","%f4":"\xF4","%F4":"\xF4","%f5":"\xF5","%F5":"\xF5","%f6":"\xF6","%F6":"\xF6","%f7":"\xF7","%F7":"\xF7","%f8":"\xF8","%F8":"\xF8","%f9":"\xF9","%F9":"\xF9","%fa":"\xFA","%Fa":"\xFA","%fA":"\xFA","%FA":"\xFA","%fb":"\xFB","%Fb":"\xFB","%fB":"\xFB","%FB":"\xFB","%fc":"\xFC","%Fc":"\xFC","%fC":"\xFC","%FC":"\xFC","%fd":"\xFD","%Fd":"\xFD","%fD":"\xFD","%FD":"\xFD","%fe":"\xFE","%Fe":"\xFE","%fE":"\xFE","%FE":"\xFE","%ff":"\xFF","%Ff":"\xFF","%fF":"\xFF","%FF":"\xFF"};function BT(t){return a6[t]}var Fm=0,QT=1,pb=2,bT=3;function A6(t){let e=[],r=Fm,n="",i=!1,s=!1,o=0,a="",A=t.length;for(var c=0;c<A;++c){let l=t[c];if(l==="\\"&&i)if(s)s=!1;else{s=!0;continue}else if(l==='"')if(s)s=!1;else{i?(i=!1,r=Fm):i=!0;continue}else if(s&&i&&(a+="\\"),s=!1,(r===pb||r===bT)&&l==="'"){r===pb?(r=bT,n=a.substring(1)):r=QT,a="";continue}else if(r===Fm&&(l==="*"||l==="=")&&e.length){r=l==="*"?pb:QT,e[o]=[a,void 0],a="";continue}else if(!i&&l===";"){r=Fm,n?(a.length&&(a=Mm(a.replace(IT,BT),"binary",n)),n=""):a.length&&(a=Mm(a,"binary","utf8")),e[o]===void 0?e[o]=a:e[o][1]=a,a="",++o;continue}else if(!i&&(l===" "||l===" "))continue;a+=l}return n&&a.length?a=Mm(a.replace(IT,BT),"binary",n):a&&(a=Mm(a,"binary","utf8")),e[o]===void 0?a&&(e[o]=a):e[o][1]=a,e}NT.exports=A6});var ST=h((BOe,wT)=>{"use strict";wT.exports=function(e){if(typeof e!="string")return"";for(var r=e.length-1;r>=0;--r)switch(e.charCodeAt(r)){case 47:case 92:return e=e.slice(r+1),e===".."||e==="."?"":e}return e===".."||e==="."?"":e}});var _T=h((QOe,vT)=>{"use strict";var{Readable:RT}=require("node:stream"),{inherits:c6}=require("node:util"),l6=gb(),xT=yb(),u6=Lm(),d6=ST(),qa=Om(),f6=/^boundary$/i,h6=/^form-data$/i,g6=/^charset$/i,m6=/^filename$/i,p6=/^name$/i;Um.detect=/^multipart\/form-data/i;function Um(t,e){let r,n,i=this,s,o=e.limits,a=e.isPartAFile||((Re,H,_e)=>H==="application/octet-stream"||_e!==void 0),A=e.parsedConType||[],c=e.defCharset||"utf8",l=e.preservePath,u={highWaterMark:e.fileHwm};for(r=0,n=A.length;r<n;++r)if(Array.isArray(A[r])&&f6.test(A[r][0])){s=A[r][1];break}function d(){T===0&&J&&!t._done&&(J=!1,i.end())}if(typeof s!="string")throw new Error("Multipart: Boundary not found");let f=qa(o,"fieldSize",1*1024*1024),g=qa(o,"fileSize",1/0),m=qa(o,"files",1/0),E=qa(o,"fields",1/0),C=qa(o,"parts",1/0),I=qa(o,"headerPairs",2e3),N=qa(o,"headerSize",80*1024),w=0,v=0,T=0,U,k,J=!1;this._needDrain=!1,this._pause=!1,this._cb=void 0,this._nparts=0,this._boy=t;let be={boundary:s,maxHeaderPairs:I,maxHeaderSize:N,partHwm:u.highWaterMark,highWaterMark:e.highWaterMark};this.parser=new l6(be),this.parser.on("drain",function(){if(i._needDrain=!1,i._cb&&!i._pause){let Re=i._cb;i._cb=void 0,Re()}}).on("part",function Re(H){if(++i._nparts>C)return i.parser.removeListener("part",Re),i.parser.on("part",yc),t.hitPartsLimit=!0,t.emit("partsLimit"),yc(H);if(k){let _e=k;_e.emit("end"),_e.removeAllListeners("end")}H.on("header",function(_e){let rt,Lr,hr,So,xo,Li,Mi=0;if(_e["content-type"]&&(hr=xT(_e["content-type"][0]),hr[0])){for(rt=hr[0].toLowerCase(),r=0,n=hr.length;r<n;++r)if(g6.test(hr[r][0])){So=hr[r][1].toLowerCase();break}}if(rt===void 0&&(rt="text/plain"),So===void 0&&(So=c),_e["content-disposition"]){if(hr=xT(_e["content-disposition"][0]),!h6.test(hr[0]))return yc(H);for(r=0,n=hr.length;r<n;++r)p6.test(hr[r][0])?Lr=hr[r][1]:m6.test(hr[r][0])&&(Li=hr[r][1],l||(Li=d6(Li)))}else return yc(H);_e["content-transfer-encoding"]?xo=_e["content-transfer-encoding"][0].toLowerCase():xo="7bit";let Ro,Us;if(a(Lr,rt,Li)){if(w===m)return t.hitFilesLimit||(t.hitFilesLimit=!0,t.emit("filesLimit")),yc(H);if(++w,t.listenerCount("file")===0){i.parser._ignore();return}++T;let Zt=new Eb(u);U=Zt,Zt.on("end",function(){if(--T,i._pause=!1,d(),i._cb&&!i._needDrain){let ti=i._cb;i._cb=void 0,ti()}}),Zt._read=function(ti){if(i._pause&&(i._pause=!1,i._cb&&!i._needDrain)){let Fi=i._cb;i._cb=void 0,Fi()}},t.emit("file",Lr,Zt,Li,xo,rt),Ro=function(ti){if((Mi+=ti.length)>g){let Fi=g-Mi+ti.length;Fi>0&&Zt.push(ti.slice(0,Fi)),Zt.truncated=!0,Zt.bytesRead=g,H.removeAllListeners("data"),Zt.emit("limit");return}else Zt.push(ti)||(i._pause=!0);Zt.bytesRead=Mi},Us=function(){U=void 0,Zt.push(null)}}else{if(v===E)return t.hitFieldsLimit||(t.hitFieldsLimit=!0,t.emit("fieldsLimit")),yc(H);++v,++T;let Zt="",ti=!1;k=H,Ro=function(Fi){if((Mi+=Fi.length)>f){let TQ=f-(Mi-Fi.length);Zt+=Fi.toString("binary",0,TQ),ti=!0,H.removeAllListeners("data")}else Zt+=Fi.toString("binary")},Us=function(){k=void 0,Zt.length&&(Zt=u6(Zt,"binary",So)),t.emit("field",Lr,Zt,!1,ti,xo,rt),--T,d()}}H._readableState.sync=!1,H.on("data",Ro),H.on("end",Us)}).on("error",function(_e){U&&U.emit("error",_e)})}).on("error",function(Re){t.emit("error",Re)}).on("finish",function(){J=!0,d()})}Um.prototype.write=function(t,e){let r=this.parser.write(t);r&&!this._pause?e():(this._needDrain=!r,this._cb=e)};Um.prototype.end=function(){let t=this;t.parser.writable?t.parser.end():t._boy._done||process.nextTick(function(){t._boy._done=!0,t._boy.emit("finish")})};function yc(t){t.resume()}function Eb(t){RT.call(this,t),this.bytesRead=0,this.truncated=!1}c6(Eb,RT);Eb.prototype._read=function(t){};vT.exports=Um});var kT=h((bOe,DT)=>{"use strict";var y6=/\+/g,E6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,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 Cb(){this.buffer=void 0}Cb.prototype.write=function(t){t=t.replace(y6," ");let e="",r=0,n=0,i=t.length;for(;r<i;++r)this.buffer!==void 0?E6[t.charCodeAt(r)]?(this.buffer+=t[r],++n,this.buffer.length===2&&(e+=String.fromCharCode(parseInt(this.buffer,16)),this.buffer=void 0)):(e+="%"+this.buffer,this.buffer=void 0,--r):t[r]==="%"&&(r>n&&(e+=t.substring(n,r),n=r),this.buffer="",++n);return n<i&&this.buffer===void 0&&(e+=t.substring(n)),e};Cb.prototype.reset=function(){this.buffer=void 0};DT.exports=Cb});var TT=h((NOe,PT)=>{"use strict";var C6=kT(),Ec=Lm(),Ib=Om(),I6=/^charset$/i;qm.detect=/^application\/x-www-form-urlencoded/i;function qm(t,e){let r=e.limits,n=e.parsedConType;this.boy=t,this.fieldSizeLimit=Ib(r,"fieldSize",1*1024*1024),this.fieldNameSizeLimit=Ib(r,"fieldNameSize",100),this.fieldsLimit=Ib(r,"fields",1/0);let i;for(var s=0,o=n.length;s<o;++s)if(Array.isArray(n[s])&&I6.test(n[s][0])){i=n[s][1].toLowerCase();break}i===void 0&&(i=e.defCharset||"utf8"),this.decoder=new C6,this.charset=i,this._fields=0,this._state="key",this._checkingBytes=!0,this._bytesKey=0,this._bytesVal=0,this._key="",this._val="",this._keyTrunc=!1,this._valTrunc=!1,this._hitLimit=!1}qm.prototype.write=function(t,e){if(this._fields===this.fieldsLimit)return this.boy.hitFieldsLimit||(this.boy.hitFieldsLimit=!0,this.boy.emit("fieldsLimit")),e();let r,n,i,s=0,o=t.length;for(;s<o;)if(this._state==="key"){for(r=n=void 0,i=s;i<o;++i){if(this._checkingBytes||++s,t[i]===61){r=i;break}else if(t[i]===38){n=i;break}if(this._checkingBytes&&this._bytesKey===this.fieldNameSizeLimit){this._hitLimit=!0;break}else this._checkingBytes&&++this._bytesKey}if(r!==void 0)r>s&&(this._key+=this.decoder.write(t.toString("binary",s,r))),this._state="val",this._hitLimit=!1,this._checkingBytes=!0,this._val="",this._bytesVal=0,this._valTrunc=!1,this.decoder.reset(),s=r+1;else if(n!==void 0){++this._fields;let a,A=this._keyTrunc;if(n>s?a=this._key+=this.decoder.write(t.toString("binary",s,n)):a=this._key,this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),a.length&&this.boy.emit("field",Ec(a,"binary",this.charset),"",A,!1),s=n+1,this._fields===this.fieldsLimit)return e()}else this._hitLimit?(i>s&&(this._key+=this.decoder.write(t.toString("binary",s,i))),s=i,(this._bytesKey=this._key.length)===this.fieldNameSizeLimit&&(this._checkingBytes=!1,this._keyTrunc=!0)):(s<o&&(this._key+=this.decoder.write(t.toString("binary",s))),s=o)}else{for(n=void 0,i=s;i<o;++i){if(this._checkingBytes||++s,t[i]===38){n=i;break}if(this._checkingBytes&&this._bytesVal===this.fieldSizeLimit){this._hitLimit=!0;break}else this._checkingBytes&&++this._bytesVal}if(n!==void 0){if(++this._fields,n>s&&(this._val+=this.decoder.write(t.toString("binary",s,n))),this.boy.emit("field",Ec(this._key,"binary",this.charset),Ec(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this._state="key",this._hitLimit=!1,this._checkingBytes=!0,this._key="",this._bytesKey=0,this._keyTrunc=!1,this.decoder.reset(),s=n+1,this._fields===this.fieldsLimit)return e()}else this._hitLimit?(i>s&&(this._val+=this.decoder.write(t.toString("binary",s,i))),s=i,(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit)&&(this._checkingBytes=!1,this._valTrunc=!0)):(s<o&&(this._val+=this.decoder.write(t.toString("binary",s))),s=o)}e()};qm.prototype.end=function(){this.boy._done||(this._state==="key"&&this._key.length>0?this.boy.emit("field",Ec(this._key,"binary",this.charset),"",this._keyTrunc,!1):this._state==="val"&&this.boy.emit("field",Ec(this._key,"binary",this.charset),Ec(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc),this.boy._done=!0,this.boy.emit("finish"))};PT.exports=qm});var MT=h((wOe,Wd)=>{"use strict";var Bb=require("node:stream").Writable,{inherits:B6}=require("node:util"),Q6=gb(),OT=_T(),LT=TT(),b6=yb();function Hs(t){if(!(this instanceof Hs))return new Hs(t);if(typeof t!="object")throw new TypeError("Busboy expected an options-Object.");if(typeof t.headers!="object")throw new TypeError("Busboy expected an options-Object with headers-attribute.");if(typeof t.headers["content-type"]!="string")throw new TypeError("Missing Content-Type-header.");let{headers:e,...r}=t;this.opts={autoDestroy:!1,...r},Bb.call(this,this.opts),this._done=!1,this._parser=this.getParserByHeaders(e),this._finished=!1}B6(Hs,Bb);Hs.prototype.emit=function(t){if(t==="finish"){if(this._done){if(this._finished)return}else{this._parser?.end();return}this._finished=!0}Bb.prototype.emit.apply(this,arguments)};Hs.prototype.getParserByHeaders=function(t){let e=b6(t["content-type"]),r={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:t,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:e,preservePath:this.opts.preservePath};if(OT.detect.test(e[0]))return new OT(this,r);if(LT.detect.test(e[0]))return new LT(this,r);throw new Error("Unsupported Content-Type.")};Hs.prototype._write=function(t,e,r){this._parser.write(t,r)};Wd.exports=Hs;Wd.exports.default=Hs;Wd.exports.Busboy=Hs;Wd.exports.Dicer=Q6});var To=h((SOe,YT)=>{"use strict";var{MessageChannel:N6,receiveMessageOnPort:w6}=require("worker_threads"),FT=["GET","HEAD","POST"],S6=new Set(FT),x6=[101,204,205,304],UT=[301,302,303,307,308],R6=new Set(UT),qT=["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","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"],v6=new Set(qT),HT=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],_6=new Set(HT),D6=["follow","manual","error"],jT=["GET","HEAD","OPTIONS","TRACE"],k6=new Set(jT),P6=["navigate","same-origin","no-cors","cors"],T6=["omit","same-origin","include"],O6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],L6=["content-encoding","content-language","content-location","content-type","content-length"],M6=["half"],zT=["CONNECT","TRACE","TRACK"],F6=new Set(zT),GT=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],U6=new Set(GT),q6=globalThis.DOMException??(()=>{try{atob("~")}catch(t){return Object.getPrototypeOf(t).constructor}})(),Cc,H6=globalThis.structuredClone??function(e,r=void 0){if(arguments.length===0)throw new TypeError("missing argument");return Cc||(Cc=new N6),Cc.port1.unref(),Cc.port2.unref(),Cc.port1.postMessage(e,r?.transfer),w6(Cc.port2).message};YT.exports={DOMException:q6,structuredClone:H6,subresource:GT,forbiddenMethods:zT,requestBodyHeader:L6,referrerPolicy:HT,requestRedirect:D6,requestMode:P6,requestCredentials:T6,requestCache:O6,redirectStatus:UT,corsSafeListedMethods:FT,nullBodyStatus:x6,safeMethods:jT,badPorts:qT,requestDuplex:M6,subresourceSet:U6,badPortsSet:v6,redirectStatusSet:R6,corsSafeListedMethodsSet:S6,safeMethodsSet:k6,forbiddenMethodsSet:F6,referrerPolicySet:_6}});var Ic=h((xOe,JT)=>{"use strict";var Qb=Symbol.for("undici.globalOrigin.1");function j6(){return globalThis[Qb]}function z6(t){if(t===void 0){Object.defineProperty(globalThis,Qb,{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,Qb,{value:e,writable:!0,enumerable:!1,configurable:!1})}JT.exports={getGlobalOrigin:j6,setGlobalOrigin:z6}});var ii=h((ROe,tO)=>{"use strict";var{redirectStatusSet:G6,referrerPolicySet:Y6,badPortsSet:J6}=To(),{getGlobalOrigin:V6}=Ic(),{performance:W6}=require("perf_hooks"),{isBlobLike:$6,toUSVString:K6,ReadableStreamFrom:X6}=Ue(),Bc=require("assert"),{isUint8Array:Z6}=require("util/types"),VT=[],Hm;try{Hm=require("crypto");let t=["sha256","sha384","sha512"];VT=Hm.getHashes().filter(e=>t.includes(e))}catch{}function WT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}function eZ(t,e){if(!G6.has(t.status))return null;let r=t.headersList.get("location");return r!==null&&KT(r)&&(r=new URL(r,WT(t))),r&&!r.hash&&(r.hash=e),r}function Kd(t){return t.urlList[t.urlList.length-1]}function tZ(t){let e=Kd(t);return eO(e)&&J6.has(e.port)?"blocked":"allowed"}function rZ(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function nZ(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}function iZ(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 $T(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!iZ(t.charCodeAt(e)))return!1;return!0}function sZ(t){return $T(t)}function KT(t){return!(t.startsWith(" ")||t.startsWith(" ")||t.endsWith(" ")||t.endsWith(" ")||t.includes("\0")||t.includes("\r")||t.includes(`
|
|
`))}function oZ(t,e){let{headersList:r}=e,n=(r.get("referrer-policy")??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let o=n[s-1].trim();if(Y6.has(o)){i=o;break}}i!==""&&(t.referrerPolicy=i)}function aZ(){return"allowed"}function AZ(){return"success"}function cZ(){return"success"}function lZ(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e)}function uZ(t){let e=t.origin;if(t.responseTainting==="cors"||t.mode==="websocket")e&&t.headersList.append("origin",e);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&&wb(t.origin)&&!wb(Kd(t))&&(e=null);break;case"same-origin":jm(t,Kd(t))||(e=null);break;default:}e&&t.headersList.append("origin",e)}}function dZ(t){return W6.now()}function fZ(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 hZ(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function gZ(t){return{referrerPolicy:t.referrerPolicy}}function mZ(t){let e=t.referrerPolicy;Bc(e);let r=null;if(t.referrer==="client"){let a=V6();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else t.referrer instanceof URL&&(r=t.referrer);let n=bb(r),i=bb(r,!0);n.toString().length>4096&&(n=i);let s=jm(t,n),o=$d(n)&&!$d(t.url);switch(e){case"origin":return i??bb(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let a=Kd(t);return jm(n,a)?n:$d(n)&&!$d(a)?"no-referrer":i}default:return o?"no-referrer":i}}function bb(t,e){return Bc(t instanceof URL),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function $d(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 pZ(t,e){if(Hm===void 0)return!0;let r=XT(e);if(r==="no metadata"||r.length===0)return!0;let n=EZ(r),i=CZ(r,n);for(let s of i){let o=s.algo,a=s.hash,A=Hm.createHash(o).update(t).digest("base64");if(A[A.length-1]==="="&&(A[A.length-2]==="="?A=A.slice(0,-2):A=A.slice(0,-1)),IZ(A,a))return!0}return!1}var yZ=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function XT(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=yZ.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();VT.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}function EZ(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 CZ(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 IZ(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 BZ(t){}function jm(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function QZ(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}}function bZ(t){return t.controller.state==="aborted"}function NZ(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}var Sb={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(Sb,null);function wZ(t){return Sb[t.toLowerCase()]??t}function SZ(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Bc(typeof e=="string"),e}var xZ=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function RZ(t,e,r){let n={index:0,kind:r,target:t},i={next(){if(Object.getPrototypeOf(this)!==i)throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let{index:s,kind:o,target:a}=n,A=a(),c=A.length;if(s>=c)return{value:void 0,done:!0};let l=A[s];return n.index=s+1,vZ(l,o)},[Symbol.toStringTag]:`${e} Iterator`};return Object.setPrototypeOf(i,xZ),Object.setPrototypeOf({},i)}function vZ(t,e){let r;switch(e){case"key":{r=t[0];break}case"value":{r=t[1];break}case"key+value":{r=t;break}}return{value:r,done:!1}}async function _Z(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(o){i(o);return}try{let o=await ZT(s);n(o)}catch(o){i(o)}}var Nb=globalThis.ReadableStream;function DZ(t){return Nb||(Nb=require("stream/web").ReadableStream),t instanceof Nb||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}var kZ=65535;function PZ(t){return t.length<kZ?String.fromCharCode(...t):t.reduce((e,r)=>e+String.fromCharCode(r),"")}function TZ(t){try{t.close()}catch(e){if(!e.message.includes("Controller is already closed"))throw e}}function OZ(t){for(let e=0;e<t.length;e++)Bc(t.charCodeAt(e)<=255);return t}async function ZT(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!Z6(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}function LZ(t){Bc("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function wb(t){return typeof t=="string"?t.startsWith("https:"):t.protocol==="https:"}function eO(t){Bc("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}var MZ=Object.hasOwn||((t,e)=>Object.prototype.hasOwnProperty.call(t,e));tO.exports={isAborted:bZ,isCancelled:NZ,createDeferredPromise:QZ,ReadableStreamFrom:X6,toUSVString:K6,tryUpgradeRequestToAPotentiallyTrustworthyURL:BZ,coarsenedSharedCurrentTime:dZ,determineRequestsReferrer:mZ,makePolicyContainer:hZ,clonePolicyContainer:gZ,appendFetchMetadata:lZ,appendRequestOriginHeader:uZ,TAOCheck:cZ,corsCheck:AZ,crossOriginResourcePolicyCheck:aZ,createOpaqueTimingInfo:fZ,setRequestReferrerPolicyOnRedirect:oZ,isValidHTTPToken:$T,requestBadPort:tZ,requestCurrentURL:Kd,responseURL:WT,responseLocationURL:eZ,isBlobLike:$6,isURLPotentiallyTrustworthy:$d,isValidReasonPhrase:nZ,sameOrigin:jm,normalizeMethod:wZ,serializeJavascriptValueToJSONString:SZ,makeIterator:RZ,isValidHeaderName:sZ,isValidHeaderValue:KT,hasOwn:MZ,isErrorLike:rZ,fullyReadBody:_Z,bytesMatch:pZ,isReadableStreamLike:DZ,readableStreamClose:TZ,isomorphicEncode:OZ,isomorphicDecode:PZ,urlIsLocal:LZ,urlHasHttpsScheme:wb,urlIsHttpHttpsScheme:eO,readAllBytes:ZT,normalizeMethodRecord:Sb,parseMetadata:XT}});var js=h((vOe,rO)=>{"use strict";rO.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}});var Wr=h((_Oe,iO)=>{"use strict";var{types:os}=require("util"),{hasOwn:nO,toUSVString:FZ}=ii(),j={};j.converters={};j.util={};j.errors={};j.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};j.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 j.errors.exception({header:t.prefix,message:r})};j.errors.invalidArgument=function(t){return j.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};j.brandCheck=function(t,e,r=void 0){if(r?.strict!==!1&&!(t instanceof e))throw new TypeError("Illegal invocation");return t?.[Symbol.toStringTag]===e.prototype[Symbol.toStringTag]};j.argumentLengthCheck=function({length:t},e,r){if(t<e)throw j.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,...r})};j.illegalConstructor=function(){throw j.errors.exception({header:"TypeError",message:"Illegal constructor"})};j.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"}};j.util.ConvertToInt=function(t,e,r,n={}){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=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 j.errors.exception({header:"Integer conversion",message:`Could not convert ${t} to an integer.`});if(o=j.util.IntegerPart(o),o<s||o>i)throw j.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${o}.`});return o}return!Number.isNaN(o)&&n.clamp===!0?(o=Math.min(Math.max(o,s),i),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=j.util.IntegerPart(o),o=o%Math.pow(2,e),r==="signed"&&o>=Math.pow(2,e)-1?o-Math.pow(2,e):o)};j.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};j.sequenceConverter=function(t){return e=>{if(j.util.Type(e)!=="Object")throw j.errors.exception({header:"Sequence",message:`Value of type ${j.util.Type(e)} is not an Object.`});let r=e?.[Symbol.iterator]?.(),n=[];if(r===void 0||typeof r.next!="function")throw j.errors.exception({header:"Sequence",message:"Object is not an iterator."});for(;;){let{done:i,value:s}=r.next();if(i)break;n.push(t(s))}return n}};j.recordConverter=function(t,e){return r=>{if(j.util.Type(r)!=="Object")throw j.errors.exception({header:"Record",message:`Value of type ${j.util.Type(r)} is not an Object.`});let n={};if(!os.isProxy(r)){let s=Object.keys(r);for(let o of s){let a=t(o),A=e(r[o]);n[a]=A}return n}let i=Reflect.ownKeys(r);for(let s of i)if(Reflect.getOwnPropertyDescriptor(r,s)?.enumerable){let a=t(s),A=e(r[s]);n[a]=A}return n}};j.interfaceConverter=function(t){return(e,r={})=>{if(r.strict!==!1&&!(e instanceof t))throw j.errors.exception({header:t.name,message:`Expected ${e} to be an instance of ${t.name}.`});return e}};j.dictionaryConverter=function(t){return e=>{let r=j.util.Type(e),n={};if(r==="Null"||r==="Undefined")return n;if(r!=="Object")throw j.errors.exception({header:"Dictionary",message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let i of t){let{key:s,defaultValue:o,required:a,converter:A}=i;if(a===!0&&!nO(e,s))throw j.errors.exception({header:"Dictionary",message:`Missing required key "${s}".`});let c=e[s],l=nO(i,"defaultValue");if(l&&c!==null&&(c=c??o),a||l||c!==void 0){if(c=A(c),i.allowedValues&&!i.allowedValues.includes(c))throw j.errors.exception({header:"Dictionary",message:`${c} is not an accepted type. Expected one of ${i.allowedValues.join(", ")}.`});n[s]=c}}return n}};j.nullableConverter=function(t){return e=>e===null?e:t(e)};j.converters.DOMString=function(t,e={}){if(t===null&&e.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw new TypeError("Could not convert argument of type symbol to string.");return String(t)};j.converters.ByteString=function(t){let e=j.converters.DOMString(t);for(let r=0;r<e.length;r++)if(e.charCodeAt(r)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${r} has a value of ${e.charCodeAt(r)} which is greater than 255.`);return e};j.converters.USVString=FZ;j.converters.boolean=function(t){return!!t};j.converters.any=function(t){return t};j.converters["long long"]=function(t){return j.util.ConvertToInt(t,64,"signed")};j.converters["unsigned long long"]=function(t){return j.util.ConvertToInt(t,64,"unsigned")};j.converters["unsigned long"]=function(t){return j.util.ConvertToInt(t,32,"unsigned")};j.converters["unsigned short"]=function(t,e){return j.util.ConvertToInt(t,16,"unsigned",e)};j.converters.ArrayBuffer=function(t,e={}){if(j.util.Type(t)!=="Object"||!os.isAnyArrayBuffer(t))throw j.errors.conversionFailed({prefix:`${t}`,argument:`${t}`,types:["ArrayBuffer"]});if(e.allowShared===!1&&os.isSharedArrayBuffer(t))throw j.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return t};j.converters.TypedArray=function(t,e,r={}){if(j.util.Type(t)!=="Object"||!os.isTypedArray(t)||t.constructor.name!==e.name)throw j.errors.conversionFailed({prefix:`${e.name}`,argument:`${t}`,types:[e.name]});if(r.allowShared===!1&&os.isSharedArrayBuffer(t.buffer))throw j.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return t};j.converters.DataView=function(t,e={}){if(j.util.Type(t)!=="Object"||!os.isDataView(t))throw j.errors.exception({header:"DataView",message:"Object is not a DataView."});if(e.allowShared===!1&&os.isSharedArrayBuffer(t.buffer))throw j.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});return t};j.converters.BufferSource=function(t,e={}){if(os.isAnyArrayBuffer(t))return j.converters.ArrayBuffer(t,e);if(os.isTypedArray(t))return j.converters.TypedArray(t,t.constructor);if(os.isDataView(t))return j.converters.DataView(t,e);throw new TypeError(`Could not convert ${t} to a BufferSource.`)};j.converters["sequence<ByteString>"]=j.sequenceConverter(j.converters.ByteString);j.converters["sequence<sequence<ByteString>>"]=j.sequenceConverter(j.converters["sequence<ByteString>"]);j.converters["record<ByteString, ByteString>"]=j.recordConverter(j.converters.ByteString,j.converters.ByteString);iO.exports={webidl:j}});var Hi=h((DOe,lO)=>{var Gm=require("assert"),{atob:UZ}=require("buffer"),{isomorphicDecode:qZ}=ii(),HZ=new TextEncoder,zm=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/,jZ=/(\u000A|\u000D|\u0009|\u0020)/,zZ=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function GZ(t){Gm(t.protocol==="data:");let e=aO(t,!0);e=e.slice(5);let r={position:0},n=Qc(",",e,r),i=n.length;if(n=WZ(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),o=AO(s);if(/;(\u0020){0,}base64$/i.test(n)){let A=qZ(o);if(o=JZ(A),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=Rb(n);return a==="failure"&&(a=Rb("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function aO(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length;return n===0?r:r.substring(0,r.length-n)}function Ym(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}function Qc(t,e,r){let n=e.indexOf(t,r.position),i=r.position;return n===-1?(r.position=e.length,e.slice(i)):(r.position=n,e.slice(i,r.position))}function AO(t){let e=HZ.encode(t);return YZ(e)}function YZ(t){let e=[];for(let r=0;r<t.length;r++){let n=t[r];if(n!==37)e.push(n);else if(n===37&&!/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(t[r+1],t[r+2])))e.push(37);else{let i=String.fromCharCode(t[r+1],t[r+2]),s=Number.parseInt(i,16);e.push(s),r+=2}}return Uint8Array.from(e)}function Rb(t){t=xb(t,!0,!0);let e={position:0},r=Qc("/",t,e);if(r.length===0||!zm.test(r)||e.position>t.length)return"failure";e.position++;let n=Qc(";",t,e);if(n=xb(n,!1,!0),n.length===0||!zm.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),o={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.position<t.length;){e.position++,Ym(c=>jZ.test(c),t,e);let a=Ym(c=>c!==";"&&c!=="=",t,e);if(a=a.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let A=null;if(t[e.position]==='"')A=cO(t,e,!0),Qc(";",t,e);else if(A=Qc(";",t,e),A=xb(A,!1,!0),A.length===0)continue;a.length!==0&&zm.test(a)&&(A.length===0||zZ.test(A))&&!o.parameters.has(a)&&o.parameters.set(a,A)}return o}function JZ(t){if(t=t.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,""),t.length%4===0&&(t=t.replace(/=?=$/,"")),t.length%4===1||/[^+/0-9A-Za-z]/.test(t))return"failure";let e=UZ(t),r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}function cO(t,e,r){let n=e.position,i="";for(Gm(t[e.position]==='"'),e.position++;i+=Ym(o=>o!=='"'&&o!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Gm(s==='"');break}}return r?i:t.slice(n,e.position)}function VZ(t){Gm(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",zm.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}function sO(t){return t==="\r"||t===`
|
|
`||t===" "||t===" "}function xb(t,e=!0,r=!0){let n=0,i=t.length-1;if(e)for(;n<t.length&&sO(t[n]);n++);if(r)for(;i>0&&sO(t[i]);i--);return t.slice(n,i+1)}function oO(t){return t==="\r"||t===`
|
|
`||t===" "||t==="\f"||t===" "}function WZ(t,e=!0,r=!0){let n=0,i=t.length-1;if(e)for(;n<t.length&&oO(t[n]);n++);if(r)for(;i>0&&oO(t[i]);i--);return t.slice(n,i+1)}lO.exports={dataURLProcessor:GZ,URLSerializer:aO,collectASequenceOfCodePoints:Ym,collectASequenceOfCodePointsFast:Qc,stringPercentDecode:AO,parseMIMEType:Rb,collectAnHTTPQuotedString:cO,serializeAMimeType:VZ}});var Jm=h((kOe,gO)=>{"use strict";var{Blob:fO,File:uO}=require("buffer"),{types:vb}=require("util"),{kState:Ln}=js(),{isBlobLike:hO}=ii(),{webidl:Ve}=Wr(),{parseMIMEType:$Z,serializeAMimeType:KZ}=Hi(),{kEnumerableProperty:dO}=Ue(),XZ=new TextEncoder,Xd=class t extends fO{constructor(e,r,n={}){Ve.argumentLengthCheck(arguments,2,{header:"File constructor"}),e=Ve.converters["sequence<BlobPart>"](e),r=Ve.converters.USVString(r),n=Ve.converters.FilePropertyBag(n);let i=r,s=n.type,o;e:{if(s){if(s=$Z(s),s==="failure"){s="";break e}s=KZ(s).toLowerCase()}o=n.lastModified}super(ZZ(e,n),{type:s}),this[Ln]={name:i,lastModified:o,type:s}}get name(){return Ve.brandCheck(this,t),this[Ln].name}get lastModified(){return Ve.brandCheck(this,t),this[Ln].lastModified}get type(){return Ve.brandCheck(this,t),this[Ln].type}},_b=class t{constructor(e,r,n={}){let i=r,s=n.type,o=n.lastModified??Date.now();this[Ln]={blobLike:e,name:i,type:s,lastModified:o}}stream(...e){return Ve.brandCheck(this,t),this[Ln].blobLike.stream(...e)}arrayBuffer(...e){return Ve.brandCheck(this,t),this[Ln].blobLike.arrayBuffer(...e)}slice(...e){return Ve.brandCheck(this,t),this[Ln].blobLike.slice(...e)}text(...e){return Ve.brandCheck(this,t),this[Ln].blobLike.text(...e)}get size(){return Ve.brandCheck(this,t),this[Ln].blobLike.size}get type(){return Ve.brandCheck(this,t),this[Ln].blobLike.type}get name(){return Ve.brandCheck(this,t),this[Ln].name}get lastModified(){return Ve.brandCheck(this,t),this[Ln].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(Xd.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:dO,lastModified:dO});Ve.converters.Blob=Ve.interfaceConverter(fO);Ve.converters.BlobPart=function(t,e){if(Ve.util.Type(t)==="Object"){if(hO(t))return Ve.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||vb.isAnyArrayBuffer(t))return Ve.converters.BufferSource(t,e)}return Ve.converters.USVString(t,e)};Ve.converters["sequence<BlobPart>"]=Ve.sequenceConverter(Ve.converters.BlobPart);Ve.converters.FilePropertyBag=Ve.dictionaryConverter([{key:"lastModified",converter:Ve.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:Ve.converters.DOMString,defaultValue:""},{key:"endings",converter:t=>(t=Ve.converters.DOMString(t),t=t.toLowerCase(),t!=="native"&&(t="transparent"),t),defaultValue:"transparent"}]);function ZZ(t,e){let r=[];for(let n of t)if(typeof n=="string"){let i=n;e.endings==="native"&&(i=e7(i)),r.push(XZ.encode(i))}else vb.isAnyArrayBuffer(n)||vb.isTypedArray(n)?n.buffer?r.push(new Uint8Array(n.buffer,n.byteOffset,n.byteLength)):r.push(new Uint8Array(n)):hO(n)&&r.push(n);return r}function e7(t){let e=`
|
|
`;return process.platform==="win32"&&(e=`\r
|
|
`),t.replace(/\r?\n/g,e)}function t7(t){return uO&&t instanceof uO||t instanceof Xd||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}gO.exports={File:Xd,FileLike:_b,isFileLike:t7}});var Wm=h((POe,CO)=>{"use strict";var{isBlobLike:Vm,toUSVString:r7,makeIterator:Db}=ii(),{kState:Mr}=js(),{File:EO,FileLike:mO,isFileLike:n7}=Jm(),{webidl:it}=Wr(),{Blob:i7,File:kb}=require("buffer"),pO=kb??EO,bc=class t{constructor(e){if(e!==void 0)throw it.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Mr]=[]}append(e,r,n=void 0){if(it.brandCheck(this,t),it.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!Vm(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=it.converters.USVString(e),r=Vm(r)?it.converters.Blob(r,{strict:!1}):it.converters.USVString(r),n=arguments.length===3?it.converters.USVString(n):void 0;let i=yO(e,r,n);this[Mr].push(i)}delete(e){it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),e=it.converters.USVString(e),this[Mr]=this[Mr].filter(r=>r.name!==e)}get(e){it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.get"}),e=it.converters.USVString(e);let r=this[Mr].findIndex(n=>n.name===e);return r===-1?null:this[Mr][r].value}getAll(e){return it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),e=it.converters.USVString(e),this[Mr].filter(r=>r.name===e).map(r=>r.value)}has(e){return it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.has"}),e=it.converters.USVString(e),this[Mr].findIndex(r=>r.name===e)!==-1}set(e,r,n=void 0){if(it.brandCheck(this,t),it.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!Vm(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=it.converters.USVString(e),r=Vm(r)?it.converters.Blob(r,{strict:!1}):it.converters.USVString(r),n=arguments.length===3?r7(n):void 0;let i=yO(e,r,n),s=this[Mr].findIndex(o=>o.name===e);s!==-1?this[Mr]=[...this[Mr].slice(0,s),i,...this[Mr].slice(s+1).filter(o=>o.name!==e)]:this[Mr].push(i)}entries(){return it.brandCheck(this,t),Db(()=>this[Mr].map(e=>[e.name,e.value]),"FormData","key+value")}keys(){return it.brandCheck(this,t),Db(()=>this[Mr].map(e=>[e.name,e.value]),"FormData","key")}values(){return it.brandCheck(this,t),Db(()=>this[Mr].map(e=>[e.name,e.value]),"FormData","value")}forEach(e,r=globalThis){if(it.brandCheck(this,t),it.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[n,i]of this)e.apply(r,[i,n,this])}};bc.prototype[Symbol.iterator]=bc.prototype.entries;Object.defineProperties(bc.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function yO(t,e,r){if(t=Buffer.from(t).toString("utf8"),typeof e=="string")e=Buffer.from(e).toString("utf8");else if(n7(e)||(e=e instanceof i7?new pO([e],"blob",{type:e.type}):new mO(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=kb&&e instanceof kb||e instanceof EO?new pO([e],r,n):new mO(e,r,n)}return{name:t,value:e}}CO.exports={FormData:bc}});var Zd=h((TOe,RO)=>{"use strict";var s7=MT(),Nc=Ue(),{ReadableStreamFrom:o7,isBlobLike:IO,isReadableStreamLike:a7,readableStreamClose:A7,createDeferredPromise:c7,fullyReadBody:l7}=ii(),{FormData:BO}=Wm(),{kState:Gs}=js(),{webidl:Pb}=Wr(),{DOMException:NO,structuredClone:u7}=To(),{Blob:d7,File:f7}=require("buffer"),{kBodyUsed:h7}=It(),Tb=require("assert"),{isErrored:g7}=Ue(),{isUint8Array:wO,isArrayBuffer:m7}=require("util/types"),{File:p7}=Jm(),{parseMIMEType:y7,serializeAMimeType:E7}=Hi(),Ob;try{let t=require("node:crypto");Ob=e=>t.randomInt(0,e)}catch{Ob=t=>Math.floor(Math.random(t))}var zs=globalThis.ReadableStream,QO=f7??p7,$m=new TextEncoder,C7=new TextDecoder;function SO(t,e=!1){zs||(zs=require("stream/web").ReadableStream);let r=null;t instanceof zs?r=t:IO(t)?r=t.stream():r=new zs({async pull(A){A.enqueue(typeof i=="string"?$m.encode(i):i),queueMicrotask(()=>A7(A))},start(){},type:void 0}),Tb(a7(r));let n=null,i=null,s=null,o=null;if(typeof t=="string")i=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(m7(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(Nc.isFormDataLike(t)){let A=`----formdata-undici-0${`${Ob(1e11)}`.padStart(11,"0")}`,c=`--${A}\r
|
|
Content-Disposition: form-data`;let l=E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),u=E=>E.replace(/\r?\n|\r/g,`\r
|
|
`),d=[],f=new Uint8Array([13,10]);s=0;let g=!1;for(let[E,C]of t)if(typeof C=="string"){let I=$m.encode(c+`; name="${l(u(E))}"\r
|
|
\r
|
|
${u(C)}\r
|
|
`);d.push(I),s+=I.byteLength}else{let I=$m.encode(`${c}; name="${l(u(E))}"`+(C.name?`; filename="${l(C.name)}"`:"")+`\r
|
|
Content-Type: ${C.type||"application/octet-stream"}\r
|
|
\r
|
|
`);d.push(I,C,f),typeof C.size=="number"?s+=I.byteLength+C.size+f.byteLength:g=!0}let m=$m.encode(`--${A}--`);d.push(m),s+=m.byteLength,g&&(s=null),i=t,n=async function*(){for(let E of d)E.stream?yield*E.stream():yield E},o="multipart/form-data; boundary="+A}else if(IO(t))i=t,s=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Nc.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof zs?t:o7(t)}if((typeof i=="string"||Nc.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let A;r=new zs({async start(){A=n(t)[Symbol.asyncIterator]()},async pull(c){let{value:l,done:u}=await A.next();return u?queueMicrotask(()=>{c.close()}):g7(r)||c.enqueue(new Uint8Array(l)),c.desiredSize>0},async cancel(c){await A.return()},type:void 0})}return[{stream:r,source:i,length:s},o]}function I7(t,e=!1){return zs||(zs=require("stream/web").ReadableStream),t instanceof zs&&(Tb(!Nc.isDisturbed(t),"The body has already been consumed."),Tb(!t.locked,"The stream is locked.")),SO(t,e)}function B7(t){let[e,r]=t.stream.tee(),n=u7(r,{transfer:[r]}),[,i]=n.tee();return t.stream=e,{stream:i,length:t.length,source:t.source}}async function*bO(t){if(t)if(wO(t))yield t;else{let e=t.stream;if(Nc.isDisturbed(e))throw new TypeError("The body has already been consumed.");if(e.locked)throw new TypeError("The stream is locked.");e[h7]=!0,yield*e}}function Lb(t){if(t.aborted)throw new NO("The operation was aborted.","AbortError")}function Q7(t){return{blob(){return Km(this,r=>{let n=S7(this);return n==="failure"?n="":n&&(n=E7(n)),new d7([r],{type:n})},t)},arrayBuffer(){return Km(this,r=>new Uint8Array(r).buffer,t)},text(){return Km(this,xO,t)},json(){return Km(this,w7,t)},async formData(){Pb.brandCheck(this,t),Lb(this[Gs]);let r=this.headers.get("Content-Type");if(/multipart\/form-data/.test(r)){let n={};for(let[a,A]of this.headers)n[a.toLowerCase()]=A;let i=new BO,s;try{s=new s7({headers:n,preservePath:!0})}catch(a){throw new NO(`${a}`,"AbortError")}s.on("field",(a,A)=>{i.append(a,A)}),s.on("file",(a,A,c,l,u)=>{let d=[];if(l==="base64"||l.toLowerCase()==="base64"){let f="";A.on("data",g=>{f+=g.toString().replace(/[\r\n]/gm,"");let m=f.length-f.length%4;d.push(Buffer.from(f.slice(0,m),"base64")),f=f.slice(m)}),A.on("end",()=>{d.push(Buffer.from(f,"base64")),i.append(a,new QO(d,c,{type:u}))})}else A.on("data",f=>{d.push(f)}),A.on("end",()=>{i.append(a,new QO(d,c,{type:u}))})});let o=new Promise((a,A)=>{s.on("finish",a),s.on("error",c=>A(new TypeError(c)))});if(this.body!==null)for await(let a of bO(this[Gs].body))s.write(a);return s.end(),await o,i}else if(/application\/x-www-form-urlencoded/.test(r)){let n;try{let s="",o=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let a of bO(this[Gs].body)){if(!wO(a))throw new TypeError("Expected Uint8Array chunk");s+=o.decode(a,{stream:!0})}s+=o.decode(),n=new URLSearchParams(s)}catch(s){throw Object.assign(new TypeError,{cause:s})}let i=new BO;for(let[s,o]of n)i.append(s,o);return i}else throw await Promise.resolve(),Lb(this[Gs]),Pb.errors.exception({header:`${t.name}.formData`,message:"Could not parse content as FormData."})}}}function b7(t){Object.assign(t.prototype,Q7(t))}async function Km(t,e,r){if(Pb.brandCheck(t,r),Lb(t[Gs]),N7(t[Gs].body))throw new TypeError("Body is unusable");let n=c7(),i=o=>n.reject(o),s=o=>{try{n.resolve(e(o))}catch(a){i(a)}};return t[Gs].body==null?(s(new Uint8Array),n.promise):(await l7(t[Gs].body,s,i),n.promise)}function N7(t){return t!=null&&(t.stream.locked||Nc.isDisturbed(t.stream))}function xO(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),C7.decode(t))}function w7(t){return JSON.parse(xO(t))}function S7(t){let{headersList:e}=t[Gs],r=e.get("content-type");return r===null?"failure":y7(r)}RO.exports={extractBody:SO,safelyExtractBody:I7,cloneBody:B7,mixinBody:b7}});var kO=h((OOe,DO)=>{"use strict";var{InvalidArgumentError:gt,NotSupportedError:x7}=At(),Ys=require("assert"),{kHTTP2BuildRequest:R7,kHTTP2CopyHeaders:v7,kHTTP1BuildRequest:_7}=It(),An=Ue(),vO=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,_O=/[^\t\x20-\x7e\x80-\xff]/,D7=/[^\u0021-\u00ff]/,ji=Symbol("handler"),tr={},Mb;try{let t=require("diagnostics_channel");tr.create=t.channel("undici:request:create"),tr.bodySent=t.channel("undici:request:bodySent"),tr.headers=t.channel("undici:request:headers"),tr.trailers=t.channel("undici:request:trailers"),tr.error=t.channel("undici:request:error")}catch{tr.create={hasSubscribers:!1},tr.bodySent={hasSubscribers:!1},tr.headers={hasSubscribers:!1},tr.trailers={hasSubscribers:!1},tr.error={hasSubscribers:!1}}var Fb=class t{constructor(e,{path:r,method:n,body:i,headers:s,query:o,idempotent:a,blocking:A,upgrade:c,headersTimeout:l,bodyTimeout:u,reset:d,throwOnError:f,expectContinue:g},m){if(typeof r!="string")throw new gt("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new gt("path must be an absolute URL or start with a slash");if(D7.exec(r)!==null)throw new gt("invalid request path");if(typeof n!="string")throw new gt("method must be a string");if(vO.exec(n)===null)throw new gt("invalid request method");if(c&&typeof c!="string")throw new gt("upgrade must be a string");if(l!=null&&(!Number.isFinite(l)||l<0))throw new gt("invalid headersTimeout");if(u!=null&&(!Number.isFinite(u)||u<0))throw new gt("invalid bodyTimeout");if(d!=null&&typeof d!="boolean")throw new gt("invalid reset");if(g!=null&&typeof g!="boolean")throw new gt("invalid expectContinue");if(this.headersTimeout=l,this.bodyTimeout=u,this.throwOnError=f===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(An.isStream(i)){this.body=i;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=function(){An.destroy(this)},this.body.on("end",this.endHandler)),this.errorHandler=C=>{this.abort?this.abort(C):this.error=C},this.body.on("error",this.errorHandler)}else if(An.isBuffer(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(An.isFormDataLike(i)||An.isIterable(i)||An.isBlobLike(i))this.body=i;else throw new gt("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=c||null,this.path=o?An.buildURL(r,o):r,this.origin=e,this.idempotent=a??(n==="HEAD"||n==="GET"),this.blocking=A??!1,this.reset=d??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers="",this.expectContinue=g??!1,Array.isArray(s)){if(s.length%2!==0)throw new gt("headers array must be even");for(let E=0;E<s.length;E+=2)ef(this,s[E],s[E+1])}else if(s&&typeof s=="object"){let E=Object.keys(s);for(let C=0;C<E.length;C++){let I=E[C];ef(this,I,s[I])}}else if(s!=null)throw new gt("headers must be an object or an array");if(An.isFormDataLike(this.body)){if(An.nodeMajor<16||An.nodeMajor===16&&An.nodeMinor<8)throw new gt("Form-Data bodies are only supported in node v16.8 and newer.");Mb||(Mb=Zd().extractBody);let[E,C]=Mb(i);this.contentType==null&&(this.contentType=C,this.headers+=`content-type: ${C}\r
|
|
`),this.body=E.stream,this.contentLength=E.length}else An.isBlobLike(i)&&this.contentType==null&&i.type&&(this.contentType=i.type,this.headers+=`content-type: ${i.type}\r
|
|
`);An.validateHandler(m,n,c),this.servername=An.getServerName(this.host),this[ji]=m,tr.create.hasSubscribers&&tr.create.publish({request:this})}onBodySent(e){if(this[ji].onBodySent)try{return this[ji].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(tr.bodySent.hasSubscribers&&tr.bodySent.publish({request:this}),this[ji].onRequestSent)try{return this[ji].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Ys(!this.aborted),Ys(!this.completed),this.error)e(this.error);else return this.abort=e,this[ji].onConnect(e)}onHeaders(e,r,n,i){Ys(!this.aborted),Ys(!this.completed),tr.headers.hasSubscribers&&tr.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:i}});try{return this[ji].onHeaders(e,r,n,i)}catch(s){this.abort(s)}}onData(e){Ys(!this.aborted),Ys(!this.completed);try{return this[ji].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return Ys(!this.aborted),Ys(!this.completed),this[ji].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),Ys(!this.aborted),this.completed=!0,tr.trailers.hasSubscribers&&tr.trailers.publish({request:this,trailers:e});try{return this[ji].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),tr.error.hasSubscribers&&tr.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[ji].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 ef(this,e,r),this}static[_7](e,r,n){return new t(e,r,n)}static[R7](e,r,n){let i=r.headers;r={...r,headers:null};let s=new t(e,r,n);if(s.headers={},Array.isArray(i)){if(i.length%2!==0)throw new gt("headers array must be even");for(let o=0;o<i.length;o+=2)ef(s,i[o],i[o+1],!0)}else if(i&&typeof i=="object"){let o=Object.keys(i);for(let a=0;a<o.length;a++){let A=o[a];ef(s,A,i[A],!0)}}else if(i!=null)throw new gt("headers must be an object or an array");return s}static[v7](e){let r=e.split(`\r
|
|
`),n={};for(let i of r){let[s,o]=i.split(": ");o==null||o.length===0||(n[s]?n[s]+=`,${o}`:n[s]=o)}return n}};function Ha(t,e,r){if(e&&typeof e=="object")throw new gt(`invalid ${t} header`);if(e=e!=null?`${e}`:"",_O.exec(e)!==null)throw new gt(`invalid ${t} header`);return r?e:`${t}: ${e}\r
|
|
`}function ef(t,e,r,n=!1){if(r&&typeof r=="object"&&!Array.isArray(r))throw new gt(`invalid ${e} header`);if(r===void 0)return;if(t.host===null&&e.length===4&&e.toLowerCase()==="host"){if(_O.exec(r)!==null)throw new gt(`invalid ${e} header`);t.host=r}else if(t.contentLength===null&&e.length===14&&e.toLowerCase()==="content-length"){if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new gt("invalid content-length header")}else if(t.contentType===null&&e.length===12&&e.toLowerCase()==="content-type")t.contentType=r,n?t.headers[e]=Ha(e,r,n):t.headers+=Ha(e,r);else{if(e.length===17&&e.toLowerCase()==="transfer-encoding")throw new gt("invalid transfer-encoding header");if(e.length===10&&e.toLowerCase()==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new gt("invalid connection header");i==="close"&&(t.reset=!0)}else{if(e.length===10&&e.toLowerCase()==="keep-alive")throw new gt("invalid keep-alive header");if(e.length===7&&e.toLowerCase()==="upgrade")throw new gt("invalid upgrade header");if(e.length===6&&e.toLowerCase()==="expect")throw new x7("expect header not supported");if(vO.exec(e)===null)throw new gt("invalid header key");if(Array.isArray(r))for(let i=0;i<r.length;i++)n?t.headers[e]?t.headers[e]+=`,${Ha(e,r[i],n)}`:t.headers[e]=Ha(e,r[i],n):t.headers+=Ha(e,r[i]);else n?t.headers[e]=Ha(e,r,n):t.headers+=Ha(e,r)}}}DO.exports=Fb});var Xm=h((LOe,PO)=>{"use strict";var k7=require("events"),Ub=class extends k7{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};PO.exports=Ub});var rf=h((MOe,TO)=>{"use strict";var P7=Xm(),{ClientDestroyedError:qb,ClientClosedError:T7,InvalidArgumentError:wc}=At(),{kDestroy:O7,kClose:L7,kDispatch:Hb,kInterceptors:ja}=It(),Sc=Symbol("destroyed"),tf=Symbol("closed"),Js=Symbol("onDestroyed"),xc=Symbol("onClosed"),Zm=Symbol("Intercepted Dispatch"),jb=class extends P7{constructor(){super(),this[Sc]=!1,this[Js]=null,this[tf]=!1,this[xc]=[]}get destroyed(){return this[Sc]}get closed(){return this[tf]}get interceptors(){return this[ja]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[ja][r]!="function")throw new wc("interceptor must be an function")}this[ja]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,o)=>s?i(s):n(o))});if(typeof e!="function")throw new wc("invalid callback");if(this[Sc]){queueMicrotask(()=>e(new qb,null));return}if(this[tf]){this[xc]?this[xc].push(e):queueMicrotask(()=>e(null,null));return}this[tf]=!0,this[xc].push(e);let r=()=>{let n=this[xc];this[xc]=null;for(let i=0;i<n.length;i++)n[i](null,null)};this[L7]().then(()=>this.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(o,a)=>o?s(o):i(a))});if(typeof r!="function")throw new wc("invalid callback");if(this[Sc]){this[Js]?this[Js].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new qb),this[Sc]=!0,this[Js]=this[Js]||[],this[Js].push(r);let n=()=>{let i=this[Js];this[Js]=null;for(let s=0;s<i.length;s++)i[s](null,null)};this[O7](e).then(()=>{queueMicrotask(n)})}[Zm](e,r){if(!this[ja]||this[ja].length===0)return this[Zm]=this[Hb],this[Hb](e,r);let n=this[Hb].bind(this);for(let i=this[ja].length-1;i>=0;i--)n=this[ja][i](n);return this[Zm]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new wc("handler must be an object");try{if(!e||typeof e!="object")throw new wc("opts must be an object.");if(this[Sc]||this[Js])throw new qb;if(this[tf])throw new T7;return this[Zm](e,r)}catch(n){if(typeof r.onError!="function")throw new wc("invalid onError method");return r.onError(n),!1}}};TO.exports=jb});var nf=h((qOe,MO)=>{"use strict";var M7=require("net"),OO=require("assert"),LO=Ue(),{InvalidArgumentError:F7,ConnectTimeoutError:U7}=At(),zb,Gb;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?Gb=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))}}:Gb=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 q7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new F7("maxCachedSessions must be a positive integer or zero");let s={path:r,...i},o=new Gb(e??100);return n=n??1e4,t=t??!1,function({hostname:A,host:c,protocol:l,port:u,servername:d,localAddress:f,httpSocket:g},m){let E;if(l==="https:"){zb||(zb=require("tls")),d=d||s.servername||LO.getServerName(c)||null;let I=d||A,N=o.get(I)||null;OO(I),E=zb.connect({highWaterMark:16384,...s,servername:d,session:N,localAddress:f,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:u||443,host:A}),E.on("session",function(w){o.set(I,w)})}else OO(!g,"httpSocket can only be sent on TLS update"),E=M7.connect({highWaterMark:64*1024,...s,localAddress:f,port:u||80,host:A});if(s.keepAlive==null||s.keepAlive){let I=s.keepAliveInitialDelay===void 0?6e4:s.keepAliveInitialDelay;E.setKeepAlive(!0,I)}let C=H7(()=>j7(E),n);return E.setNoDelay(!0).once(l==="https:"?"secureConnect":"connect",function(){if(C(),m){let I=m;m=null,I(null,this)}}).on("error",function(I){if(C(),m){let N=m;m=null,N(I)}}),E}}function H7(t,e){if(!e)return()=>{};let r=null,n=null,i=setTimeout(()=>{r=setImmediate(()=>{process.platform==="win32"?n=setImmediate(()=>t()):t()})},e);return()=>{clearTimeout(i),clearImmediate(r),clearImmediate(n)}}function j7(t){LO.destroy(t,new U7)}MO.exports=q7});var FO=h(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.enumToMap=void 0;function z7(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}ep.enumToMap=z7});var UO=h(M=>{"use strict";Object.defineProperty(M,"__esModule",{value:!0});M.SPECIAL_HEADERS=M.HEADER_STATE=M.MINOR=M.MAJOR=M.CONNECTION_TOKEN_CHARS=M.HEADER_CHARS=M.TOKEN=M.STRICT_TOKEN=M.HEX=M.URL_CHAR=M.STRICT_URL_CHAR=M.USERINFO_CHARS=M.MARK=M.ALPHANUM=M.NUM=M.HEX_MAP=M.NUM_MAP=M.ALPHA=M.FINISH=M.H_METHOD_MAP=M.METHOD_MAP=M.METHODS_RTSP=M.METHODS_ICE=M.METHODS_HTTP=M.METHODS=M.LENIENT_FLAGS=M.FLAGS=M.TYPE=M.ERROR=void 0;var G7=FO(),Y7;(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"})(Y7=M.ERROR||(M.ERROR={}));var J7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(J7=M.TYPE||(M.TYPE={}));var V7;(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"})(V7=M.FLAGS||(M.FLAGS={}));var W7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(W7=M.LENIENT_FLAGS||(M.LENIENT_FLAGS={}));var ue;(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"})(ue=M.METHODS||(M.METHODS={}));M.METHODS_HTTP=[ue.DELETE,ue.GET,ue.HEAD,ue.POST,ue.PUT,ue.CONNECT,ue.OPTIONS,ue.TRACE,ue.COPY,ue.LOCK,ue.MKCOL,ue.MOVE,ue.PROPFIND,ue.PROPPATCH,ue.SEARCH,ue.UNLOCK,ue.BIND,ue.REBIND,ue.UNBIND,ue.ACL,ue.REPORT,ue.MKACTIVITY,ue.CHECKOUT,ue.MERGE,ue["M-SEARCH"],ue.NOTIFY,ue.SUBSCRIBE,ue.UNSUBSCRIBE,ue.PATCH,ue.PURGE,ue.MKCALENDAR,ue.LINK,ue.UNLINK,ue.PRI,ue.SOURCE];M.METHODS_ICE=[ue.SOURCE];M.METHODS_RTSP=[ue.OPTIONS,ue.DESCRIBE,ue.ANNOUNCE,ue.SETUP,ue.PLAY,ue.PAUSE,ue.TEARDOWN,ue.GET_PARAMETER,ue.SET_PARAMETER,ue.REDIRECT,ue.RECORD,ue.FLUSH,ue.GET,ue.POST];M.METHOD_MAP=G7.enumToMap(ue);M.H_METHOD_MAP={};Object.keys(M.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(M.H_METHOD_MAP[t]=M.METHOD_MAP[t])});var $7;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})($7=M.FINISH||(M.FINISH={}));M.ALPHA=[];for(let t=65;t<=90;t++)M.ALPHA.push(String.fromCharCode(t)),M.ALPHA.push(String.fromCharCode(t+32));M.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};M.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};M.NUM=["0","1","2","3","4","5","6","7","8","9"];M.ALPHANUM=M.ALPHA.concat(M.NUM);M.MARK=["-","_",".","!","~","*","'","(",")"];M.USERINFO_CHARS=M.ALPHANUM.concat(M.MARK).concat(["%",";",":","&","=","+","$",","]);M.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(M.ALPHANUM);M.URL_CHAR=M.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)M.URL_CHAR.push(t);M.HEX=M.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);M.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(M.ALPHANUM);M.TOKEN=M.STRICT_TOKEN.concat([" "]);M.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&M.HEADER_CHARS.push(t);M.CONNECTION_TOKEN_CHARS=M.HEADER_CHARS.filter(t=>t!==44);M.MAJOR=M.NUM_MAP;M.MINOR=M.MAJOR;var Rc;(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"})(Rc=M.HEADER_STATE||(M.HEADER_STATE={}));M.SPECIAL_HEADERS={connection:Rc.CONNECTION,"content-length":Rc.CONTENT_LENGTH,"proxy-connection":Rc.CONNECTION,"transfer-encoding":Rc.TRANSFER_ENCODING,upgrade:Rc.UPGRADE}});var Vb=h((zOe,jO)=>{"use strict";var Vs=Ue(),{kBodyUsed:sf}=It(),Jb=require("assert"),{InvalidArgumentError:K7}=At(),X7=require("events"),Z7=[300,301,302,303,307,308],qO=Symbol("body"),tp=class{constructor(e){this[qO]=e,this[sf]=!1}async*[Symbol.asyncIterator](){Jb(!this[sf],"disturbed"),this[sf]=!0,yield*this[qO]}},Yb=class{constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new K7("maxRedirections must be a positive number");Vs.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],Vs.isStream(this.opts.body)?(Vs.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){Jb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[sf]=!1,X7.prototype.on.call(this.opts.body,"data",function(){this[sf]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new tp(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Vs.isIterable(this.opts.body)&&(this.opts.body=new tp(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,i){if(this.location=this.history.length>=this.maxRedirections||Vs.isDisturbed(this.opts.body)?null:eee(e,r),this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:s,pathname:o,search:a}=Vs.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),A=a?`${o}${a}`:o;this.opts.headers=tee(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=A,this.opts.origin=s,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 eee(t,e){if(Z7.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].toString().toLowerCase()==="location")return e[r+1]}function HO(t,e,r){if(t.length===4)return Vs.headerNameToString(t)==="host";if(e&&Vs.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=Vs.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}function tee(t,e,r){let n=[];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)HO(t[i],e,r)||n.push(t[i],t[i+1]);else if(t&&typeof t=="object")for(let i of Object.keys(t))HO(i,e,r)||n.push(i,t[i]);else Jb(t==null,"headers must be an object or an array");return n}jO.exports=Yb});var rp=h((GOe,zO)=>{"use strict";var ree=Vb();function nee({maxRedirections:t}){return e=>function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let o=new ree(e,s,n,i);return n={...n,maxRedirections:0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AJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCA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CCCEACyAAIAE2AgwgAiABNgIIIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIFayICQSBJDQAgAa1CgYCAgBB+IQYgAyAFaiEBA0AgASAGNwMYIAEgBjcDECAB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mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhY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QQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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HDfMBQd0BIRAM/wMLIAEiECACRw3dAUHDASEQDP4DCyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBI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IEDQAgASEBDKkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAi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AAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="});var df=h((VOe,dL)=>{"use strict";var ee=require("assert"),$O=require("net"),iee=require("http"),{pipeline:see}=require("stream"),Ae=Ue(),$b=oT(),Xb=kO(),oee=rf(),{RequestContentLengthMismatchError:Ws,ResponseContentLengthMismatchError:aee,InvalidArgumentError:Wt,RequestAbortedError:o0,HeadersTimeoutError:Aee,HeadersOverflowError:cee,SocketError:_c,InformationalError:ls,BodyTimeoutError:lee,HTTPParserError:uee,ResponseExceededMaxSizeError:dee,ClientDestroyedError:fee}=At(),hee=nf(),{kUrl:vr,kReset:$r,kServerName:Oo,kClient:us,kBusy:Zb,kParser:Tt,kConnect:gee,kBlocking:Dc,kResuming:za,kRunning:Dt,kPending:Ya,kSize:Ga,kWriting:$s,kQueue:Bt,kConnected:mee,kConnecting:vc,kNeedDrain:Mo,kNoRef:of,kKeepAliveDefaultTimeout:e0,kHostHeader:KO,kPendingIdx:Mn,kRunningIdx:Qt,kError:_r,kPipelining:Fo,kSocket:Ot,kKeepAliveTimeoutValue:cf,kMaxHeadersSize:sp,kKeepAliveMaxTimeout:XO,kKeepAliveTimeoutThreshold:ZO,kHeadersTimeout:eL,kBodyTimeout:tL,kStrictContentLength:lf,kConnector:af,kMaxRedirections:pee,kMaxRequests:uf,kCounter:rL,kClose:yee,kDestroy:Eee,kDispatch:Cee,kInterceptors:Iee,kLocalAddress:Af,kMaxResponseSize:nL,kHTTPConnVersion:ds,kHost:iL,kHTTP2Session:Fn,kHTTP2SessionState:ap,kHTTP2BuildRequest:Bee,kHTTP2CopyHeaders:Qee,kHTTP1BuildRequest:bee}=It(),Ap;try{Ap=require("http2")}catch{Ap={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Nee,HTTP2_HEADER_METHOD:wee,HTTP2_HEADER_PATH:See,HTTP2_HEADER_SCHEME:xee,HTTP2_HEADER_CONTENT_LENGTH:Ree,HTTP2_HEADER_EXPECT:vee,HTTP2_HEADER_STATUS:_ee}}=Ap,VO=!1,np=Buffer[Symbol.species],Lo=Symbol("kClosedResolve"),Fr={};try{let t=require("diagnostics_channel");Fr.sendHeaders=t.channel("undici:client:sendHeaders"),Fr.beforeConnect=t.channel("undici:client:beforeConnect"),Fr.connectError=t.channel("undici:client:connectError"),Fr.connected=t.channel("undici:client:connected")}catch{Fr.sendHeaders={hasSubscribers:!1},Fr.beforeConnect={hasSubscribers:!1},Fr.connectError={hasSubscribers:!1},Fr.connected={hasSubscribers:!1}}var t0=class extends oee{constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:o,connectTimeout:a,bodyTimeout:A,idleTimeout:c,keepAlive:l,keepAliveTimeout:u,maxKeepAliveTimeout:d,keepAliveMaxTimeout:f,keepAliveTimeoutThreshold:g,socketPath:m,pipelining:E,tls:C,strictContentLength:I,maxCachedSessions:N,maxRedirections:w,connect:v,maxRequestsPerClient:T,localAddress:U,maxResponseSize:k,autoSelectFamily:J,autoSelectFamilyAttemptTimeout:be,allowH2:Re,maxConcurrentStreams:H}={}){if(super(),l!==void 0)throw new Wt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Wt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(o!==void 0)throw new Wt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(c!==void 0)throw new Wt("unsupported idleTimeout, use keepAliveTimeout instead");if(d!==void 0)throw new Wt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Wt("invalid maxHeaderSize");if(m!=null&&typeof m!="string")throw new Wt("invalid socketPath");if(a!=null&&(!Number.isFinite(a)||a<0))throw new Wt("invalid connectTimeout");if(u!=null&&(!Number.isFinite(u)||u<=0))throw new Wt("invalid keepAliveTimeout");if(f!=null&&(!Number.isFinite(f)||f<=0))throw new Wt("invalid keepAliveMaxTimeout");if(g!=null&&!Number.isFinite(g))throw new Wt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Wt("headersTimeout must be a positive integer or zero");if(A!=null&&(!Number.isInteger(A)||A<0))throw new Wt("bodyTimeout must be a positive integer or zero");if(v!=null&&typeof v!="function"&&typeof v!="object")throw new Wt("connect must be a function or an object");if(w!=null&&(!Number.isInteger(w)||w<0))throw new Wt("maxRedirections must be a positive number");if(T!=null&&(!Number.isInteger(T)||T<0))throw new Wt("maxRequestsPerClient must be a positive number");if(U!=null&&(typeof U!="string"||$O.isIP(U)===0))throw new Wt("localAddress must be valid string IP address");if(k!=null&&(!Number.isInteger(k)||k<-1))throw new Wt("maxResponseSize must be a positive number");if(be!=null&&(!Number.isInteger(be)||be<-1))throw new Wt("autoSelectFamilyAttemptTimeout must be a positive number");if(Re!=null&&typeof Re!="boolean")throw new Wt("allowH2 must be a valid boolean value");if(H!=null&&(typeof H!="number"||H<1))throw new Wt("maxConcurrentStreams must be a possitive integer, greater than 0");typeof v!="function"&&(v=hee({...C,maxCachedSessions:N,allowH2:Re,socketPath:m,timeout:a,...Ae.nodeHasAutoSelectFamily&&J?{autoSelectFamily:J,autoSelectFamilyAttemptTimeout:be}:void 0,...v})),this[Iee]=r&&r.Client&&Array.isArray(r.Client)?r.Client:[Oee({maxRedirections:w})],this[vr]=Ae.parseOrigin(e),this[af]=v,this[Ot]=null,this[Fo]=E??1,this[sp]=n||iee.maxHeaderSize,this[e0]=u??4e3,this[XO]=f??6e5,this[ZO]=g??1e3,this[cf]=this[e0],this[Oo]=null,this[Af]=U??null,this[za]=0,this[Mo]=0,this[KO]=`host: ${this[vr].hostname}${this[vr].port?`:${this[vr].port}`:""}\r
|
|
`,this[tL]=A??3e5,this[eL]=i??3e5,this[lf]=I??!0,this[pee]=w,this[uf]=T,this[Lo]=null,this[nL]=k>-1?k:-1,this[ds]="h1",this[Fn]=null,this[ap]=Re?{openStreams:0,maxConcurrentStreams:H??100}:null,this[iL]=`${this[vr].hostname}${this[vr].port?`:${this[vr].port}`:""}`,this[Bt]=[],this[Qt]=0,this[Mn]=0}get pipelining(){return this[Fo]}set pipelining(e){this[Fo]=e,Un(this,!0)}get[Ya](){return this[Bt].length-this[Mn]}get[Dt](){return this[Mn]-this[Qt]}get[Ga](){return this[Bt].length-this[Qt]}get[mee](){return!!this[Ot]&&!this[vc]&&!this[Ot].destroyed}get[Zb](){let e=this[Ot];return e&&(e[$r]||e[$s]||e[Dc])||this[Ga]>=(this[Fo]||1)||this[Ya]>0}[gee](e){AL(this),this.once("connect",e)}[Cee](e,r){let n=e.origin||this[vr].origin,i=this[ds]==="h2"?Xb[Bee](n,e,r):Xb[bee](n,e,r);return this[Bt].push(i),this[za]||(Ae.bodyLength(i.body)==null&&Ae.isIterable(i.body)?(this[za]=1,process.nextTick(Un,this)):Un(this,!0)),this[za]&&this[Mo]!==2&&this[Zb]&&(this[Mo]=2),this[Mo]<2}async[yee](){return new Promise(e=>{this[Ga]?this[Lo]=e:e(null)})}async[Eee](e){return new Promise(r=>{let n=this[Bt].splice(this[Mn]);for(let s=0;s<n.length;s++){let o=n[s];Kr(this,o,e)}let i=()=>{this[Lo]&&(this[Lo](),this[Lo]=null),r()};this[Fn]!=null&&(Ae.destroy(this[Fn],e),this[Fn]=null,this[ap]=null),this[Ot]?Ae.destroy(this[Ot].on("close",i),e):queueMicrotask(i),Un(this)})}};function Dee(t){ee(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ot][_r]=t,up(this[us],t)}function kee(t,e,r){let n=new ls(`HTTP/2: "frameError" received - type ${t}, code ${e}`);r===0&&(this[Ot][_r]=n,up(this[us],n))}function Pee(){Ae.destroy(this,new _c("other side closed")),Ae.destroy(this[Ot],new _c("other side closed"))}function Tee(t){let e=this[us],r=new ls(`HTTP/2: "GOAWAY" frame received with code ${t}`);if(e[Ot]=null,e[Fn]=null,e.destroyed){ee(this[Ya]===0);let n=e[Bt].splice(e[Qt]);for(let i=0;i<n.length;i++){let s=n[i];Kr(this,s,r)}}else if(e[Dt]>0){let n=e[Bt][e[Qt]];e[Bt][e[Qt]++]=null,Kr(e,n,r)}e[Mn]=e[Qt],ee(e[Dt]===0),e.emit("disconnect",e[vr],[e],r),Un(e)}var as=UO(),Oee=rp(),Lee=Buffer.alloc(0);async function Mee(){let t=process.env.JEST_WORKER_ID?Wb():void 0,e;try{e=await WebAssembly.compile(Buffer.from(JO(),"base64"))}catch{e=await WebAssembly.compile(Buffer.from(t||Wb(),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-cs+As.byteOffset;return or.onStatus(new np(As.buffer,s,i))||0},wasm_on_message_begin:r=>(ee.strictEqual(or.ptr,r),or.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-cs+As.byteOffset;return or.onHeaderField(new np(As.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-cs+As.byteOffset;return or.onHeaderValue(new np(As.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(ee.strictEqual(or.ptr,r),or.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{ee.strictEqual(or.ptr,r);let s=n-cs+As.byteOffset;return or.onBody(new np(As.buffer,s,i))||0},wasm_on_message_complete:r=>(ee.strictEqual(or.ptr,r),or.onMessageComplete()||0)}})}var Kb=null,r0=Mee();r0.catch();var or=null,As=null,ip=0,cs=null,kc=1,op=2,n0=3,i0=class{constructor(e,r,{exports:n}){ee(Number.isFinite(e[sp])&&e[sp]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(as.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[sp],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[nL]}setTimeout(e,r){this.timeoutType=r,e!==this.timeoutValue?($b.clearTimeout(this.timeout),e?(this.timeout=$b.setTimeout(Fee,e,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(ee(this.ptr!=null),ee(or==null),this.llhttp.llhttp_resume(this.ptr),ee(this.timeoutType===op),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Lee),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){ee(this.ptr!=null),ee(or==null),ee(!this.paused);let{socket:r,llhttp:n}=this;e.length>ip&&(cs&&n.free(cs),ip=Math.ceil(e.length/4096)*4096,cs=n.malloc(ip)),new Uint8Array(n.memory.buffer,cs,ip).set(e);try{let i;try{As=e,or=this,i=n.llhttp_execute(this.ptr,cs,e.length)}catch(o){throw o}finally{or=null,As=null}let s=n.llhttp_get_error_pos(this.ptr)-cs;if(i===as.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===as.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==as.ERROR.OK){let o=n.llhttp_get_error_reason(this.ptr),a="";if(o){let A=new Uint8Array(n.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,o,A).toString()+")"}throw new uee(a,as.ERROR[i],e.slice(s))}}catch(i){Ae.destroy(r,i)}}destroy(){ee(this.ptr!=null),ee(or==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,$b.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||!r[Bt][r[Qt]])return-1}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];n.length===10&&n.toString().toLowerCase()==="keep-alive"?this.keepAlive+=e.toString():n.length===10&&n.toString().toLowerCase()==="connection"?this.connection+=e.toString():n.length===14&&n.toString().toLowerCase()==="content-length"&&(this.contentLength+=e.toString()),this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&Ae.destroy(this.socket,new cee)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:o}=this;ee(r);let a=n[Bt][n[Qt]];ee(a),ee(!i.destroyed),ee(i===n[Ot]),ee(!this.paused),ee(a.upgrade||a.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,ee(this.headers.length%2===0),this.headers=[],this.headersSize=0,i.unshift(e),i[Tt].destroy(),i[Tt]=null,i[us]=null,i[_r]=null,i.removeListener("error",oL).removeListener("readable",sL).removeListener("end",aL).removeListener("close",s0),n[Ot]=null,n[Bt][n[Qt]++]=null,n.emit("disconnect",n[vr],[n],new ls("upgrade"));try{a.onUpgrade(o,s,i)}catch(A){Ae.destroy(i,A)}Un(n)}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:o,statusText:a}=this;if(s.destroyed)return-1;let A=i[Bt][i[Qt]];if(!A)return-1;if(ee(!this.upgrade),ee(this.statusCode<200),e===100)return Ae.destroy(s,new _c("bad response",Ae.getSocketInfo(s))),-1;if(r&&!A.upgrade)return Ae.destroy(s,new _c("bad upgrade",Ae.getSocketInfo(s))),-1;if(ee.strictEqual(this.timeoutType,kc),this.statusCode=e,this.shouldKeepAlive=n||A.method==="HEAD"&&!s[$r]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let l=A.bodyTimeout!=null?A.bodyTimeout:i[tL];this.setTimeout(l,op)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(A.method==="CONNECT")return ee(i[Dt]===1),this.upgrade=!0,2;if(r)return ee(i[Dt]===1),this.upgrade=!0,2;if(ee(this.headers.length%2===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[Fo]){let l=this.keepAlive?Ae.parseKeepAliveTimeout(this.keepAlive):null;if(l!=null){let u=Math.min(l-i[ZO],i[XO]);u<=0?s[$r]=!0:i[cf]=u}else i[cf]=i[e0]}else s[$r]=!0;let c=A.onHeaders(e,o,this.resume,a)===!1;return A.aborted?-1:A.method==="HEAD"||e<200?1:(s[Dc]&&(s[Dc]=!1,Un(i)),c?as.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let o=r[Bt][r[Qt]];if(ee(o),ee.strictEqual(this.timeoutType,op),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),ee(i>=200),s>-1&&this.bytesRead+e.length>s)return Ae.destroy(n,new dee),-1;if(this.bytesRead+=e.length,o.onData(e)===!1)return as.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:o,bytesRead:a,shouldKeepAlive:A}=this;if(r.destroyed&&(!n||A))return-1;if(i)return;let c=e[Bt][e[Qt]];if(ee(c),ee(n>=100),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",ee(this.headers.length%2===0),this.headers=[],this.headersSize=0,!(n<200)){if(c.method!=="HEAD"&&o&&a!==parseInt(o,10))return Ae.destroy(r,new aee),-1;if(c.onComplete(s),e[Bt][e[Qt]++]=null,r[$s])return ee.strictEqual(e[Dt],0),Ae.destroy(r,new ls("reset")),as.ERROR.PAUSED;if(A){if(r[$r]&&e[Dt]===0)return Ae.destroy(r,new ls("reset")),as.ERROR.PAUSED;e[Fo]===1?setImmediate(Un,e):Un(e)}else return Ae.destroy(r,new ls("reset")),as.ERROR.PAUSED}}};function Fee(t){let{socket:e,timeoutType:r,client:n}=t;r===kc?(!e[$s]||e.writableNeedDrain||n[Dt]>1)&&(ee(!t.paused,"cannot be paused while waiting for headers"),Ae.destroy(e,new Aee)):r===op?t.paused||Ae.destroy(e,new lee):r===n0&&(ee(n[Dt]===0&&n[cf]),Ae.destroy(e,new ls("socket idle timeout")))}function sL(){let{[Tt]:t}=this;t&&t.readMore()}function oL(t){let{[us]:e,[Tt]:r}=this;if(ee(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),e[ds]!=="h2"&&t.code==="ECONNRESET"&&r.statusCode&&!r.shouldKeepAlive){r.onMessageComplete();return}this[_r]=t,up(this[us],t)}function up(t,e){if(t[Dt]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ee(t[Mn]===t[Qt]);let r=t[Bt].splice(t[Qt]);for(let n=0;n<r.length;n++){let i=r[n];Kr(t,i,e)}ee(t[Ga]===0)}}function aL(){let{[Tt]:t,[us]:e}=this;if(e[ds]!=="h2"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}Ae.destroy(this,new _c("other side closed",Ae.getSocketInfo(this)))}function s0(){let{[us]:t,[Tt]:e}=this;t[ds]==="h1"&&e&&(!this[_r]&&e.statusCode&&!e.shouldKeepAlive&&e.onMessageComplete(),this[Tt].destroy(),this[Tt]=null);let r=this[_r]||new _c("closed",Ae.getSocketInfo(this));if(t[Ot]=null,t.destroyed){ee(t[Ya]===0);let n=t[Bt].splice(t[Qt]);for(let i=0;i<n.length;i++){let s=n[i];Kr(t,s,r)}}else if(t[Dt]>0&&r.code!=="UND_ERR_INFO"){let n=t[Bt][t[Qt]];t[Bt][t[Qt]++]=null,Kr(t,n,r)}t[Mn]=t[Qt],ee(t[Dt]===0),t.emit("disconnect",t[vr],[t],r),Un(t)}async function AL(t){ee(!t[vc]),ee(!t[Ot]);let{host:e,hostname:r,protocol:n,port:i}=t[vr];if(r[0]==="["){let s=r.indexOf("]");ee(s!==-1);let o=r.substring(1,s);ee($O.isIP(o)),r=o}t[vc]=!0,Fr.beforeConnect.hasSubscribers&&Fr.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,servername:t[Oo],localAddress:t[Af]},connector:t[af]});try{let s=await new Promise((a,A)=>{t[af]({host:e,hostname:r,protocol:n,port:i,servername:t[Oo],localAddress:t[Af]},(c,l)=>{c?A(c):a(l)})});if(t.destroyed){Ae.destroy(s.on("error",()=>{}),new fee);return}if(t[vc]=!1,ee(s),s.alpnProtocol==="h2"){VO||(VO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let a=Ap.connect(t[vr],{createConnection:()=>s,peerMaxConcurrentStreams:t[ap].maxConcurrentStreams});t[ds]="h2",a[us]=t,a[Ot]=s,a.on("error",Dee),a.on("frameError",kee),a.on("end",Pee),a.on("goaway",Tee),a.on("close",s0),a.unref(),t[Fn]=a,s[Fn]=a}else Kb||(Kb=await r0,r0=null),s[of]=!1,s[$s]=!1,s[$r]=!1,s[Dc]=!1,s[Tt]=new i0(t,s,Kb);s[rL]=0,s[uf]=t[uf],s[us]=t,s[_r]=null,s.on("error",oL).on("readable",sL).on("end",aL).on("close",s0),t[Ot]=s,Fr.connected.hasSubscribers&&Fr.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,servername:t[Oo],localAddress:t[Af]},connector:t[af],socket:s}),t.emit("connect",t[vr],[t])}catch(s){if(t.destroyed)return;if(t[vc]=!1,Fr.connectError.hasSubscribers&&Fr.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,servername:t[Oo],localAddress:t[Af]},connector:t[af],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ee(t[Dt]===0);t[Ya]>0&&t[Bt][t[Mn]].servername===t[Oo];){let o=t[Bt][t[Mn]++];Kr(t,o,s)}else up(t,s);t.emit("connectionError",t[vr],[t],s)}Un(t)}function WO(t){t[Mo]=0,t.emit("drain",t[vr],[t])}function Un(t,e){t[za]!==2&&(t[za]=2,Uee(t,e),t[za]=0,t[Qt]>256&&(t[Bt].splice(0,t[Qt]),t[Mn]-=t[Qt],t[Qt]=0))}function Uee(t,e){for(;;){if(t.destroyed){ee(t[Ya]===0);return}if(t[Lo]&&!t[Ga]){t[Lo](),t[Lo]=null;return}let r=t[Ot];if(r&&!r.destroyed&&r.alpnProtocol!=="h2"){if(t[Ga]===0?!r[of]&&r.unref&&(r.unref(),r[of]=!0):r[of]&&r.ref&&(r.ref(),r[of]=!1),t[Ga]===0)r[Tt].timeoutType!==n0&&r[Tt].setTimeout(t[cf],n0);else if(t[Dt]>0&&r[Tt].statusCode<200&&r[Tt].timeoutType!==kc){let i=t[Bt][t[Qt]],s=i.headersTimeout!=null?i.headersTimeout:t[eL];r[Tt].setTimeout(s,kc)}}if(t[Zb])t[Mo]=2;else if(t[Mo]===2){e?(t[Mo]=1,process.nextTick(WO,t)):WO(t);continue}if(t[Ya]===0||t[Dt]>=(t[Fo]||1))return;let n=t[Bt][t[Mn]];if(t[vr].protocol==="https:"&&t[Oo]!==n.servername){if(t[Dt]>0)return;if(t[Oo]=n.servername,r&&r.servername!==n.servername){Ae.destroy(r,new ls("servername changed"));return}}if(t[vc])return;if(!r&&!t[Fn]){AL(t);return}if(r.destroyed||r[$s]||r[$r]||r[Dc]||t[Dt]>0&&!n.idempotent||t[Dt]>0&&(n.upgrade||n.method==="CONNECT")||t[Dt]>0&&Ae.bodyLength(n.body)!==0&&(Ae.isStream(n.body)||Ae.isAsyncIterable(n.body)))return;!n.aborted&&qee(t,n)?t[Mn]++:t[Bt].splice(t[Mn],1)}}function cL(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function qee(t,e){if(t[ds]==="h2"){Hee(t,t[Fn],e);return}let{body:r,method:n,path:i,host:s,upgrade:o,headers:a,blocking:A,reset:c}=e,l=n==="PUT"||n==="POST"||n==="PATCH";r&&typeof r.read=="function"&&r.read(0);let u=Ae.bodyLength(r),d=u;if(d===null&&(d=e.contentLength),d===0&&!l&&(d=null),cL(n)&&d>0&&e.contentLength!==null&&e.contentLength!==d){if(t[lf])return Kr(t,e,new Ws),!1;process.emitWarning(new Ws)}let f=t[Ot];try{e.onConnect(m=>{e.aborted||e.completed||(Kr(t,e,m||new o0),Ae.destroy(f,new ls("aborted")))})}catch(m){Kr(t,e,m)}if(e.aborted)return!1;n==="HEAD"&&(f[$r]=!0),(o||n==="CONNECT")&&(f[$r]=!0),c!=null&&(f[$r]=c),t[uf]&&f[rL]++>=t[uf]&&(f[$r]=!0),A&&(f[Dc]=!0);let g=`${n} ${i} HTTP/1.1\r
|
|
`;return typeof s=="string"?g+=`host: ${s}\r
|
|
`:g+=t[KO],o?g+=`connection: upgrade\r
|
|
upgrade: ${o}\r
|
|
`:t[Fo]&&!f[$r]?g+=`connection: keep-alive\r
|
|
`:g+=`connection: close\r
|
|
`,a&&(g+=a),Fr.sendHeaders.hasSubscribers&&Fr.sendHeaders.publish({request:e,headers:g,socket:f}),!r||u===0?(d===0?f.write(`${g}content-length: 0\r
|
|
\r
|
|
`,"latin1"):(ee(d===null,"no body must not have content length"),f.write(`${g}\r
|
|
`,"latin1")),e.onRequestSent()):Ae.isBuffer(r)?(ee(d===r.byteLength,"buffer body must have content length"),f.cork(),f.write(`${g}content-length: ${d}\r
|
|
\r
|
|
`,"latin1"),f.write(r),f.uncork(),e.onBodySent(r),e.onRequestSent(),l||(f[$r]=!0)):Ae.isBlobLike(r)?typeof r.stream=="function"?cp({body:r.stream(),client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):uL({body:r,client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):Ae.isStream(r)?lL({body:r,client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):Ae.isIterable(r)?cp({body:r,client:t,request:e,socket:f,contentLength:d,header:g,expectsPayload:l}):ee(!1),!0}function Hee(t,e,r){let{body:n,method:i,path:s,host:o,upgrade:a,expectContinue:A,signal:c,headers:l}=r,u;if(typeof l=="string"?u=Xb[Qee](l.trim()):u=l,a)return Kr(t,r,new Error("Upgrade not supported for H2")),!1;try{r.onConnect(I=>{r.aborted||r.completed||Kr(t,r,I||new o0)})}catch(I){Kr(t,r,I)}if(r.aborted)return!1;let d,f=t[ap];if(u[Nee]=o||t[iL],u[wee]=i,i==="CONNECT")return e.ref(),d=e.request(u,{endStream:!1,signal:c}),d.id&&!d.pending?(r.onUpgrade(null,null,d),++f.openStreams):d.once("ready",()=>{r.onUpgrade(null,null,d),++f.openStreams}),d.once("close",()=>{f.openStreams-=1,f.openStreams===0&&e.unref()}),!0;u[See]=s,u[xee]="https";let g=i==="PUT"||i==="POST"||i==="PATCH";n&&typeof n.read=="function"&&n.read(0);let m=Ae.bodyLength(n);if(m==null&&(m=r.contentLength),(m===0||!g)&&(m=null),cL(i)&&m>0&&r.contentLength!=null&&r.contentLength!==m){if(t[lf])return Kr(t,r,new Ws),!1;process.emitWarning(new Ws)}m!=null&&(ee(n,"no body must not have content length"),u[Ree]=`${m}`),e.ref();let E=i==="GET"||i==="HEAD";return A?(u[vee]="100-continue",d=e.request(u,{endStream:E,signal:c}),d.once("continue",C)):(d=e.request(u,{endStream:E,signal:c}),C()),++f.openStreams,d.once("response",I=>{let{[_ee]:N,...w}=I;r.onHeaders(Number(N),w,d.resume.bind(d),"")===!1&&d.pause()}),d.once("end",()=>{r.onComplete([])}),d.on("data",I=>{r.onData(I)===!1&&d.pause()}),d.once("close",()=>{f.openStreams-=1,f.openStreams===0&&e.unref()}),d.once("error",function(I){t[Fn]&&!t[Fn].destroyed&&!this.closed&&!this.destroyed&&(f.streams-=1,Ae.destroy(d,I))}),d.once("frameError",(I,N)=>{let w=new ls(`HTTP/2: "frameError" received - type ${I}, code ${N}`);Kr(t,r,w),t[Fn]&&!t[Fn].destroyed&&!this.closed&&!this.destroyed&&(f.streams-=1,Ae.destroy(d,w))}),!0;function C(){n?Ae.isBuffer(n)?(ee(m===n.byteLength,"buffer body must have content length"),d.cork(),d.write(n),d.uncork(),d.end(),r.onBodySent(n),r.onRequestSent()):Ae.isBlobLike(n)?typeof n.stream=="function"?cp({client:t,request:r,contentLength:m,h2stream:d,expectsPayload:g,body:n.stream(),socket:t[Ot],header:""}):uL({body:n,client:t,request:r,contentLength:m,expectsPayload:g,h2stream:d,header:"",socket:t[Ot]}):Ae.isStream(n)?lL({body:n,client:t,request:r,contentLength:m,expectsPayload:g,socket:t[Ot],h2stream:d,header:""}):Ae.isIterable(n)?cp({body:n,client:t,request:r,contentLength:m,expectsPayload:g,header:"",h2stream:d,socket:t[Ot]}):ee(!1):r.onRequestSent()}}function lL({h2stream:t,body:e,client:r,request:n,socket:i,contentLength:s,header:o,expectsPayload:a}){if(ee(s!==0||r[Dt]===0,"stream body cannot be pipelined"),r[ds]==="h2"){let m=function(E){n.onBodySent(E)},g=see(e,t,E=>{E?(Ae.destroy(e,E),Ae.destroy(t,E)):n.onRequestSent()});g.on("data",m),g.once("end",()=>{g.removeListener("data",m),Ae.destroy(g)});return}let A=!1,c=new lp({socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o}),l=function(g){if(!A)try{!c.write(g)&&this.pause&&this.pause()}catch(m){Ae.destroy(this,m)}},u=function(){A||e.resume&&e.resume()},d=function(){if(A)return;let g=new o0;queueMicrotask(()=>f(g))},f=function(g){if(!A){if(A=!0,ee(i.destroyed||i[$s]&&r[Dt]<=1),i.off("drain",u).off("error",f),e.removeListener("data",l).removeListener("end",f).removeListener("error",f).removeListener("close",d),!g)try{c.end()}catch(m){g=m}c.destroy(g),g&&(g.code!=="UND_ERR_INFO"||g.message!=="reset")?Ae.destroy(e,g):Ae.destroy(e)}};e.on("data",l).on("end",f).on("error",f).on("close",d),e.resume&&e.resume(),i.on("drain",u).on("error",f)}async function uL({h2stream:t,body:e,client:r,request:n,socket:i,contentLength:s,header:o,expectsPayload:a}){ee(s===e.size,"blob body must have content length");let A=r[ds]==="h2";try{if(s!=null&&s!==e.size)throw new Ws;let c=Buffer.from(await e.arrayBuffer());A?(t.cork(),t.write(c),t.uncork()):(i.cork(),i.write(`${o}content-length: ${s}\r
|
|
\r
|
|
`,"latin1"),i.write(c),i.uncork()),n.onBodySent(c),n.onRequestSent(),a||(i[$r]=!0),Un(r)}catch(c){Ae.destroy(A?t:i,c)}}async function cp({h2stream:t,body:e,client:r,request:n,socket:i,contentLength:s,header:o,expectsPayload:a}){ee(s!==0||r[Dt]===0,"iterator body cannot be pipelined");let A=null;function c(){if(A){let d=A;A=null,d()}}let l=()=>new Promise((d,f)=>{ee(A===null),i[_r]?f(i[_r]):A=d});if(r[ds]==="h2"){t.on("close",c).on("drain",c);try{for await(let d of e){if(i[_r])throw i[_r];let f=t.write(d);n.onBodySent(d),f||await l()}}catch(d){t.destroy(d)}finally{n.onRequestSent(),t.end(),t.off("close",c).off("drain",c)}return}i.on("close",c).on("drain",c);let u=new lp({socket:i,request:n,contentLength:s,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(i[_r])throw i[_r];u.write(d)||await l()}u.end()}catch(d){u.destroy(d)}finally{i.off("close",c).off("drain",c)}}var lp=class{constructor({socket:e,request:r,contentLength:n,client:i,expectsPayload:s,header:o}){this.socket=e,this.request=r,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=s,this.header=o,e[$s]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:o,expectsPayload:a,header:A}=this;if(r[_r])throw r[_r];if(r.destroyed)return!1;let c=Buffer.byteLength(e);if(!c)return!0;if(i!==null&&o+c>i){if(s[lf])throw new Ws;process.emitWarning(new Ws)}r.cork(),o===0&&(a||(r[$r]=!0),i===null?r.write(`${A}transfer-encoding: chunked\r
|
|
`,"latin1"):r.write(`${A}content-length: ${i}\r
|
|
\r
|
|
`,"latin1")),i===null&&r.write(`\r
|
|
${c.toString(16)}\r
|
|
`,"latin1"),this.bytesWritten+=c;let l=r.write(e);return r.uncork(),n.onBodySent(e),l||r[Tt].timeout&&r[Tt].timeoutType===kc&&r[Tt].timeout.refresh&&r[Tt].timeout.refresh(),l}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:o,request:a}=this;if(a.onRequestSent(),e[$s]=!1,e[_r])throw e[_r];if(!e.destroyed){if(i===0?s?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&&i!==r){if(n[lf])throw new Ws;process.emitWarning(new Ws)}e[Tt].timeout&&e[Tt].timeoutType===kc&&e[Tt].timeout.refresh&&e[Tt].timeout.refresh(),Un(n)}}destroy(e){let{socket:r,client:n}=this;r[$s]=!1,e&&(ee(n[Dt]<=1,"pipeline should only contain this request"),Ae.destroy(r,e))}};function Kr(t,e,r){try{e.onError(r),ee(e.aborted)}catch(n){t.emit("error",n)}}dL.exports=t0});var hL=h(($Oe,fL)=>{"use strict";var dp=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)}};fL.exports=class{constructor(){this.head=this.tail=new dp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new dp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var mL=h((KOe,gL)=>{var{kFree:jee,kConnected:zee,kPending:Gee,kQueued:Yee,kRunning:Jee,kSize:Vee}=It(),Ja=Symbol("pool"),a0=class{constructor(e){this[Ja]=e}get connected(){return this[Ja][zee]}get free(){return this[Ja][jee]}get pending(){return this[Ja][Gee]}get queued(){return this[Ja][Yee]}get running(){return this[Ja][Jee]}get size(){return this[Ja][Vee]}};gL.exports=a0});var f0=h((XOe,wL)=>{"use strict";var Wee=rf(),$ee=hL(),{kConnected:A0,kSize:pL,kRunning:yL,kPending:EL,kQueued:ff,kBusy:Kee,kFree:Xee,kUrl:Zee,kClose:ete,kDestroy:tte,kDispatch:rte}=It(),nte=mL(),cn=Symbol("clients"),Xr=Symbol("needDrain"),hf=Symbol("queue"),c0=Symbol("closed resolve"),l0=Symbol("onDrain"),CL=Symbol("onConnect"),IL=Symbol("onDisconnect"),BL=Symbol("onConnectionError"),u0=Symbol("get dispatcher"),bL=Symbol("add client"),NL=Symbol("remove client"),QL=Symbol("stats"),d0=class extends Wee{constructor(){super(),this[hf]=new $ee,this[cn]=[],this[ff]=0;let e=this;this[l0]=function(n,i){let s=e[hf],o=!1;for(;!o;){let a=s.shift();if(!a)break;e[ff]--,o=!this.dispatch(a.opts,a.handler)}this[Xr]=o,!this[Xr]&&e[Xr]&&(e[Xr]=!1,e.emit("drain",n,[e,...i])),e[c0]&&s.isEmpty()&&Promise.all(e[cn].map(a=>a.close())).then(e[c0])},this[CL]=(r,n)=>{e.emit("connect",r,[e,...n])},this[IL]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[BL]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[QL]=new nte(this)}get[Kee](){return this[Xr]}get[A0](){return this[cn].filter(e=>e[A0]).length}get[Xee](){return this[cn].filter(e=>e[A0]&&!e[Xr]).length}get[EL](){let e=this[ff];for(let{[EL]:r}of this[cn])e+=r;return e}get[yL](){let e=0;for(let{[yL]:r}of this[cn])e+=r;return e}get[pL](){let e=this[ff];for(let{[pL]:r}of this[cn])e+=r;return e}get stats(){return this[QL]}async[ete](){return this[hf].isEmpty()?Promise.all(this[cn].map(e=>e.close())):new Promise(e=>{this[c0]=e})}async[tte](e){for(;;){let r=this[hf].shift();if(!r)break;r.handler.onError(e)}return Promise.all(this[cn].map(r=>r.destroy(e)))}[rte](e,r){let n=this[u0]();return n?n.dispatch(e,r)||(n[Xr]=!0,this[Xr]=!this[u0]()):(this[Xr]=!0,this[hf].push({opts:e,handler:r}),this[ff]++),!this[Xr]}[bL](e){return e.on("drain",this[l0]).on("connect",this[CL]).on("disconnect",this[IL]).on("connectionError",this[BL]),this[cn].push(e),this[Xr]&&process.nextTick(()=>{this[Xr]&&this[l0](e[Zee],[this,e])}),this}[NL](e){e.close(()=>{let r=this[cn].indexOf(e);r!==-1&&this[cn].splice(r,1)}),this[Xr]=this[cn].some(r=>!r[Xr]&&r.closed!==!0&&r.destroyed!==!0)}};wL.exports={PoolBase:d0,kClients:cn,kNeedDrain:Xr,kAddClient:bL,kRemoveClient:NL,kGetDispatcher:u0}});var Pc=h((ZOe,RL)=>{"use strict";var{PoolBase:ite,kClients:fp,kNeedDrain:ste,kAddClient:ote,kGetDispatcher:ate}=f0(),Ate=df(),{InvalidArgumentError:h0}=At(),g0=Ue(),{kUrl:SL,kInterceptors:cte}=It(),lte=nf(),m0=Symbol("options"),p0=Symbol("connections"),xL=Symbol("factory");function ute(t,e){return new Ate(t,e)}var y0=class extends ite{constructor(e,{connections:r,factory:n=ute,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:c,autoSelectFamilyAttemptTimeout:l,allowH2:u,...d}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new h0("invalid connections");if(typeof n!="function")throw new h0("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new h0("connect must be a function or an object");typeof i!="function"&&(i=lte({...o,maxCachedSessions:a,allowH2:u,socketPath:A,timeout:s,...g0.nodeHasAutoSelectFamily&&c?{autoSelectFamily:c,autoSelectFamilyAttemptTimeout:l}:void 0,...i})),this[cte]=d.interceptors&&d.interceptors.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[],this[p0]=r||null,this[SL]=g0.parseOrigin(e),this[m0]={...g0.deepClone(d),connect:i,allowH2:u},this[m0].interceptors=d.interceptors?{...d.interceptors}:void 0,this[xL]=n,this.on("connectionError",(f,g,m)=>{for(let E of g){let C=this[fp].indexOf(E);C!==-1&&this[fp].splice(C,1)}})}[ate](){let e=this[fp].find(r=>!r[ste]);return e||((!this[p0]||this[fp].length<this[p0])&&(e=this[xL](this[SL],this[m0]),this[ote](e)),e)}};RL.exports=y0});var TL=h((eLe,PL)=>{"use strict";var{BalancedPoolMissingUpstreamError:dte,InvalidArgumentError:fte}=At(),{PoolBase:hte,kClients:Zr,kNeedDrain:gf,kAddClient:gte,kRemoveClient:mte,kGetDispatcher:pte}=f0(),yte=Pc(),{kUrl:E0,kInterceptors:Ete}=It(),{parseOrigin:vL}=Ue(),_L=Symbol("factory"),hp=Symbol("options"),DL=Symbol("kGreatestCommonDivisor"),Va=Symbol("kCurrentWeight"),Wa=Symbol("kIndex"),si=Symbol("kWeight"),gp=Symbol("kMaxWeightPerServer"),mp=Symbol("kErrorPenalty");function kL(t,e){return e===0?t:kL(e,t%e)}function Cte(t,e){return new yte(t,e)}var C0=class extends hte{constructor(e=[],{factory:r=Cte,...n}={}){if(super(),this[hp]=n,this[Wa]=-1,this[Va]=0,this[gp]=this[hp].maxWeightPerServer||100,this[mp]=this[hp].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new fte("factory must be a function.");this[Ete]=n.interceptors&&n.interceptors.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[_L]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=vL(e).origin;if(this[Zr].find(i=>i[E0].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[_L](r,Object.assign({},this[hp]));this[gte](n),n.on("connect",()=>{n[si]=Math.min(this[gp],n[si]+this[mp])}),n.on("connectionError",()=>{n[si]=Math.max(1,n[si]-this[mp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[si]=Math.max(1,n[si]-this[mp]),this._updateBalancedPoolStats())});for(let i of this[Zr])i[si]=this[gp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){this[DL]=this[Zr].map(e=>e[si]).reduce(kL,0)}removeUpstream(e){let r=vL(e).origin,n=this[Zr].find(i=>i[E0].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[mte](n),this}get upstreams(){return this[Zr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[E0].origin)}[pte](){if(this[Zr].length===0)throw new dte;if(!this[Zr].find(s=>!s[gf]&&s.closed!==!0&&s.destroyed!==!0)||this[Zr].map(s=>s[gf]).reduce((s,o)=>s&&o,!0))return;let n=0,i=this[Zr].findIndex(s=>!s[gf]);for(;n++<this[Zr].length;){this[Wa]=(this[Wa]+1)%this[Zr].length;let s=this[Zr][this[Wa]];if(s[si]>this[Zr][i][si]&&!s[gf]&&(i=this[Wa]),this[Wa]===0&&(this[Va]=this[Va]-this[DL],this[Va]<=0&&(this[Va]=this[gp])),s[si]>=this[Va]&&!s[gf])return s}return this[Va]=this[Zr][i][si],this[Wa]=i,this[Zr][i]}};PL.exports=C0});var I0=h((tLe,ML)=>{"use strict";var{kConnected:OL,kSize:LL}=It(),pp=class{constructor(e){this.value=e}deref(){return this.value[OL]===0&&this.value[LL]===0?void 0:this.value}},yp=class{constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[OL]===0&&e[LL]===0&&this.finalizer(r)})}};ML.exports=function(){return process.env.NODE_V8_COVERAGE?{WeakRef:pp,FinalizationRegistry:yp}:{WeakRef:global.WeakRef||pp,FinalizationRegistry:global.FinalizationRegistry||yp}}});var mf=h((rLe,YL)=>{"use strict";var{InvalidArgumentError:Ep}=At(),{kClients:Uo,kRunning:FL,kClose:Ite,kDestroy:Bte,kDispatch:Qte,kInterceptors:bte}=It(),Nte=rf(),wte=Pc(),Ste=df(),xte=Ue(),Rte=rp(),{WeakRef:vte,FinalizationRegistry:_te}=I0()(),UL=Symbol("onConnect"),qL=Symbol("onDisconnect"),HL=Symbol("onConnectionError"),Dte=Symbol("maxRedirections"),jL=Symbol("onDrain"),zL=Symbol("factory"),GL=Symbol("finalizer"),B0=Symbol("options");function kte(t,e){return e&&e.connections===1?new Ste(t,e):new wte(t,e)}var Q0=class extends Nte{constructor({factory:e=kte,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Ep("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Ep("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Ep("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[bte]=i.interceptors&&i.interceptors.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[Rte({maxRedirections:r})],this[B0]={...xte.deepClone(i),connect:n},this[B0].interceptors=i.interceptors?{...i.interceptors}:void 0,this[Dte]=r,this[zL]=e,this[Uo]=new Map,this[GL]=new _te(o=>{let a=this[Uo].get(o);a!==void 0&&a.deref()===void 0&&this[Uo].delete(o)});let s=this;this[jL]=(o,a)=>{s.emit("drain",o,[s,...a])},this[UL]=(o,a)=>{s.emit("connect",o,[s,...a])},this[qL]=(o,a,A)=>{s.emit("disconnect",o,[s,...a],A)},this[HL]=(o,a,A)=>{s.emit("connectionError",o,[s,...a],A)}}get[FL](){let e=0;for(let r of this[Uo].values()){let n=r.deref();n&&(e+=n[FL])}return e}[Qte](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Ep("opts.origin must be a non-empty string or URL.");let i=this[Uo].get(n),s=i?i.deref():null;return s||(s=this[zL](e.origin,this[B0]).on("drain",this[jL]).on("connect",this[UL]).on("disconnect",this[qL]).on("connectionError",this[HL]),this[Uo].set(n,new vte(s)),this[GL].register(s,n)),s.dispatch(e,r)}async[Ite](){let e=[];for(let r of this[Uo].values()){let n=r.deref();n&&e.push(n.close())}await Promise.all(e)}async[Bte](e){let r=[];for(let n of this[Uo].values()){let i=n.deref();i&&r.push(i.destroy(e))}await Promise.all(r)}};YL.exports=Q0});var tM=h((iLe,eM)=>{"use strict";var $L=require("assert"),{Readable:Pte}=require("stream"),{RequestAbortedError:KL,NotSupportedError:Tte,InvalidArgumentError:Ote}=At(),Bp=Ue(),{ReadableStreamFrom:Lte,toUSVString:Mte}=Ue(),b0,qn=Symbol("kConsume"),Cp=Symbol("kReading"),qo=Symbol("kBody"),JL=Symbol("abort"),XL=Symbol("kContentType"),VL=()=>{};eM.exports=class extends Pte{constructor({resume:e,abort:r,contentType:n="",highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[JL]=r,this[qn]=null,this[qo]=null,this[XL]=n,this[Cp]=!1}destroy(e){return this.destroyed?this:(!e&&!this._readableState.endEmitted&&(e=new KL),e&&this[JL](),super.destroy(e))}emit(e,...r){return e==="data"?this._readableState.dataEmitted=!0:e==="error"&&(this._readableState.errorEmitted=!0),super.emit(e,...r)}on(e,...r){return(e==="data"||e==="readable")&&(this[Cp]=!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[Cp]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[qn]&&e!==null&&this.readableLength===0?(ZL(this[qn],e),this[Cp]?super.push(e):!0):super.push(e)}async text(){return Ip(this,"text")}async json(){return Ip(this,"json")}async blob(){return Ip(this,"blob")}async arrayBuffer(){return Ip(this,"arrayBuffer")}async formData(){throw new Tte}get bodyUsed(){return Bp.isDisturbed(this)}get body(){return this[qo]||(this[qo]=Lte(this),this[qn]&&(this[qo].getReader(),$L(this[qo].locked))),this[qo]}dump(e){let r=e&&Number.isFinite(e.limit)?e.limit:262144,n=e&&e.signal;if(n)try{if(typeof n!="object"||!("aborted"in n))throw new Ote("signal must be an AbortSignal");Bp.throwIfAborted(n)}catch(i){return Promise.reject(i)}return this.closed?Promise.resolve(null):new Promise((i,s)=>{let o=n?Bp.addAbortListener(n,()=>{this.destroy()}):VL;this.on("close",function(){o(),n&&n.aborted?s(n.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"})):i(null)}).on("error",VL).on("data",function(a){r-=a.length,r<=0&&this.destroy()}).resume()})}};function Fte(t){return t[qo]&&t[qo].locked===!0||t[qn]}function Ute(t){return Bp.isDisturbed(t)||Fte(t)}async function Ip(t,e){if(Ute(t))throw new TypeError("unusable");return $L(!t[qn]),new Promise((r,n)=>{t[qn]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){N0(this[qn],i)}).on("close",function(){this[qn].body!==null&&N0(this[qn],new KL)}),process.nextTick(qte,t[qn])})}function qte(t){if(t.body===null)return;let{_readableState:e}=t.stream;for(let r of e.buffer)ZL(t,r);for(e.endEmitted?WL(this[qn]):t.stream.on("end",function(){WL(this[qn])}),t.stream.resume();t.stream.read()!=null;);}function WL(t){let{type:e,body:r,resolve:n,stream:i,length:s}=t;try{if(e==="text")n(Mte(Buffer.concat(r)));else if(e==="json")n(JSON.parse(Buffer.concat(r)));else if(e==="arrayBuffer"){let o=new Uint8Array(s),a=0;for(let A of r)o.set(A,a),a+=A.byteLength;n(o.buffer)}else e==="blob"&&(b0||(b0=require("buffer").Blob),n(new b0(r,{type:i[XL]})));N0(t)}catch(o){i.destroy(o)}}function ZL(t,e){t.length+=e.length,t.body.push(e)}function N0(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)}});var w0=h((sLe,nM)=>{var Hte=require("assert"),{ResponseStatusCodeError:Qp}=At(),{toUSVString:rM}=Ue();async function jte({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){Hte(e);let o=[],a=0;for await(let A of e)if(o.push(A),a+=A.length,a>128*1024){o=null;break}if(n===204||!r||!o){process.nextTick(t,new Qp(`Response status code ${n}${i?`: ${i}`:""}`,n,s));return}try{if(r.startsWith("application/json")){let A=JSON.parse(rM(Buffer.concat(o)));process.nextTick(t,new Qp(`Response status code ${n}${i?`: ${i}`:""}`,n,s,A));return}if(r.startsWith("text/")){let A=rM(Buffer.concat(o));process.nextTick(t,new Qp(`Response status code ${n}${i?`: ${i}`:""}`,n,s,A));return}}catch{}process.nextTick(t,new Qp(`Response status code ${n}${i?`: ${i}`:""}`,n,s))}nM.exports={getResolveErrorBodyCallback:jte}});var Oc=h((oLe,sM)=>{var{addAbortListener:zte}=Ue(),{RequestAbortedError:Gte}=At(),Tc=Symbol("kListener"),Ho=Symbol("kSignal");function iM(t){t.abort?t.abort():t.onError(new Gte)}function Yte(t,e){if(t[Ho]=null,t[Tc]=null,!!e){if(e.aborted){iM(t);return}t[Ho]=e,t[Tc]=()=>{iM(t)},zte(t[Ho],t[Tc])}}function Jte(t){t[Ho]&&("removeEventListener"in t[Ho]?t[Ho].removeEventListener("abort",t[Tc]):t[Ho].removeListener("abort",t[Tc]),t[Ho]=null,t[Tc]=null)}sM.exports={addSignal:Yte,removeSignal:Jte}});var AM=h((aLe,S0)=>{"use strict";var Vte=tM(),{InvalidArgumentError:Lc,RequestAbortedError:Wte}=At(),fs=Ue(),{getResolveErrorBodyCallback:$te}=w0(),{AsyncResource:Kte}=require("async_hooks"),{addSignal:Xte,removeSignal:oM}=Oc(),bp=class extends Kte{constructor(e,r){if(!e||typeof e!="object")throw new Lc("invalid opts");let{signal:n,method:i,opaque:s,body:o,onInfo:a,responseHeaders:A,throwOnError:c,highWaterMark:l}=e;try{if(typeof r!="function")throw new Lc("invalid callback");if(l&&(typeof l!="number"||l<0))throw new Lc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Lc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Lc("invalid method");if(a&&typeof a!="function")throw new Lc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(u){throw fs.isStream(o)&&fs.destroy(o.on("error",fs.nop),u),u}this.responseHeaders=A||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=a||null,this.throwOnError=c,this.highWaterMark=l,fs.isStream(o)&&o.on("error",u=>{this.onError(u)}),Xte(this,n)}onConnect(e,r){if(!this.callback)throw new Wte;this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:o,abort:a,context:A,responseHeaders:c,highWaterMark:l}=this,u=c==="raw"?fs.parseRawHeaders(r):fs.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}let f=(c==="raw"?fs.parseHeaders(r):u)["content-type"],g=new Vte({resume:n,abort:a,contentType:f,highWaterMark:l});this.callback=null,this.res=g,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope($te,null,{callback:s,body:g,contentType:f,statusCode:e,statusMessage:i,headers:u}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:u,trailers:this.trailers,opaque:o,body:g,context:A}))}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;oM(this),fs.parseHeaders(e,this.trailers),r.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;oM(this),n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{fs.destroy(r,e)})),i&&(this.body=null,fs.destroy(i,e))}};function aM(t,e){if(e===void 0)return new Promise((r,n)=>{aM.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new bp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t&&t.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}S0.exports=aM;S0.exports.RequestHandler=bp});var dM=h((ALe,uM)=>{"use strict";var{finished:Zte,PassThrough:ere}=require("stream"),{InvalidArgumentError:Mc,InvalidReturnValueError:tre,RequestAbortedError:rre}=At(),zi=Ue(),{getResolveErrorBodyCallback:nre}=w0(),{AsyncResource:ire}=require("async_hooks"),{addSignal:sre,removeSignal:cM}=Oc(),x0=class extends ire{constructor(e,r,n){if(!e||typeof e!="object")throw new Mc("invalid opts");let{signal:i,method:s,opaque:o,body:a,onInfo:A,responseHeaders:c,throwOnError:l}=e;try{if(typeof n!="function")throw new Mc("invalid callback");if(typeof r!="function")throw new Mc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new Mc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Mc("invalid method");if(A&&typeof A!="function")throw new Mc("invalid onInfo callback");super("UNDICI_STREAM")}catch(u){throw zi.isStream(a)&&zi.destroy(a.on("error",zi.nop),u),u}this.responseHeaders=c||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=A||null,this.throwOnError=l||!1,zi.isStream(a)&&a.on("error",u=>{this.onError(u)}),sre(this,i)}onConnect(e,r){if(!this.callback)throw new rre;this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:o,context:a,callback:A,responseHeaders:c}=this,l=c==="raw"?zi.parseRawHeaders(r):zi.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:l});return}this.factory=null;let u;if(this.throwOnError&&e>=400){let g=(c==="raw"?zi.parseHeaders(r):l)["content-type"];u=new ere,this.callback=null,this.runInAsyncScope(nre,null,{callback:A,body:u,contentType:g,statusCode:e,statusMessage:i,headers:l})}else{if(s===null)return;if(u=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:o,context:a}),!u||typeof u.write!="function"||typeof u.end!="function"||typeof u.on!="function")throw new tre("expected Writable");Zte(u,{readable:!1},f=>{let{callback:g,res:m,opaque:E,trailers:C,abort:I}=this;this.res=null,(f||!m.readable)&&zi.destroy(m,f),this.callback=null,this.runInAsyncScope(g,null,f||null,{opaque:E,trailers:C}),f&&I()})}return u.on("drain",n),this.res=u,(u.writableNeedDrain!==void 0?u.writableNeedDrain:u._writableState&&u._writableState.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;cM(this),r&&(this.trailers=zi.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;cM(this),this.factory=null,r?(this.res=null,zi.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,zi.destroy(s,e))}};function lM(t,e,r){if(r===void 0)return new Promise((n,i)=>{lM.call(this,t,e,(s,o)=>s?i(s):n(o))});try{this.dispatch(t,new x0(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t&&t.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}uM.exports=lM});var gM=h((cLe,hM)=>{"use strict";var{Readable:fM,Duplex:ore,PassThrough:are}=require("stream"),{InvalidArgumentError:pf,InvalidReturnValueError:Are,RequestAbortedError:Np}=At(),oi=Ue(),{AsyncResource:cre}=require("async_hooks"),{addSignal:lre,removeSignal:ure}=Oc(),dre=require("assert"),Fc=Symbol("resume"),R0=class extends fM{constructor(){super({autoDestroy:!0}),this[Fc]=null}_read(){let{[Fc]:e}=this;e&&(this[Fc]=null,e())}_destroy(e,r){this._read(),r(e)}},v0=class extends fM{constructor(e){super({autoDestroy:!0}),this[Fc]=e}_read(){this[Fc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Np),r(e)}},_0=class extends cre{constructor(e,r){if(!e||typeof e!="object")throw new pf("invalid opts");if(typeof r!="function")throw new pf("invalid handler");let{signal:n,method:i,opaque:s,onInfo:o,responseHeaders:a}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new pf("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new pf("invalid method");if(o&&typeof o!="function")throw new pf("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new R0().on("error",oi.nop),this.ret=new ore({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:A}=this;A&&A.resume&&A.resume()},write:(A,c,l)=>{let{req:u}=this;u.push(A,c)||u._readableState.destroyed?l():u[Fc]=l},destroy:(A,c)=>{let{body:l,req:u,res:d,ret:f,abort:g}=this;!A&&!f._readableState.endEmitted&&(A=new Np),g&&A&&g(),oi.destroy(l,A),oi.destroy(u,A),oi.destroy(d,A),ure(this),c(A)}}).on("prefinish",()=>{let{req:A}=this;A.push(null)}),this.res=null,lre(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(dre(!i,"pipeline cannot be retried"),n.destroyed)throw new Np;this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:o}=this;if(e<200){if(this.onInfo){let A=this.responseHeaders==="raw"?oi.parseRawHeaders(r):oi.parseHeaders(r);this.onInfo({statusCode:e,headers:A})}return}this.res=new v0(n);let a;try{this.handler=null;let A=this.responseHeaders==="raw"?oi.parseRawHeaders(r):oi.parseHeaders(r);a=this.runInAsyncScope(s,null,{statusCode:e,headers:A,opaque:i,body:this.res,context:o})}catch(A){throw this.res.on("error",oi.nop),A}if(!a||typeof a.on!="function")throw new Are("expected Readable");a.on("data",A=>{let{ret:c,body:l}=this;!c.push(A)&&l.pause&&l.pause()}).on("error",A=>{let{ret:c}=this;oi.destroy(c,A)}).on("end",()=>{let{ret:A}=this;A.push(null)}).on("close",()=>{let{ret:A}=this;A._readableState.ended||oi.destroy(A,new Np)}),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,oi.destroy(r,e)}};function fre(t,e){try{let r=new _0(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new are().destroy(r)}}hM.exports=fre});var CM=h((lLe,EM)=>{"use strict";var{InvalidArgumentError:D0,RequestAbortedError:hre,SocketError:gre}=At(),{AsyncResource:mre}=require("async_hooks"),mM=Ue(),{addSignal:pre,removeSignal:pM}=Oc(),yre=require("assert"),k0=class extends mre{constructor(e,r){if(!e||typeof e!="object")throw new D0("invalid opts");if(typeof r!="function")throw new D0("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new D0("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,pre(this,n)}onConnect(e,r){if(!this.callback)throw new hre;this.abort=e,this.context=null}onHeaders(){throw new gre("bad upgrade",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:o}=this;yre.strictEqual(e,101),pM(this),this.callback=null;let a=this.responseHeaders==="raw"?mM.parseRawHeaders(r):mM.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:a,socket:n,opaque:s,context:o})}onError(e){let{callback:r,opaque:n}=this;pM(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function yM(t,e){if(e===void 0)return new Promise((r,n)=>{yM.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new k0(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&&t.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}EM.exports=yM});var NM=h((uLe,bM)=>{"use strict";var{AsyncResource:Ere}=require("async_hooks"),{InvalidArgumentError:P0,RequestAbortedError:Cre,SocketError:Ire}=At(),IM=Ue(),{addSignal:Bre,removeSignal:BM}=Oc(),T0=class extends Ere{constructor(e,r){if(!e||typeof e!="object")throw new P0("invalid opts");if(typeof r!="function")throw new P0("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new P0("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Bre(this,n)}onConnect(e,r){if(!this.callback)throw new Cre;this.abort=e,this.context=r}onHeaders(){throw new Ire("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:o}=this;BM(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?IM.parseRawHeaders(r):IM.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:a,socket:n,opaque:s,context:o})}onError(e){let{callback:r,opaque:n}=this;BM(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function QM(t,e){if(e===void 0)return new Promise((r,n)=>{QM.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new T0(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t&&t.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}bM.exports=QM});var wM=h((dLe,Uc)=>{"use strict";Uc.exports.request=AM();Uc.exports.stream=dM();Uc.exports.pipeline=gM();Uc.exports.upgrade=CM();Uc.exports.connect=NM()});var L0=h((fLe,SM)=>{"use strict";var{UndiciError:Qre}=At(),O0=class t extends Qre{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"}};SM.exports={MockNotMatchedError:O0}});var qc=h((hLe,xM)=>{"use strict";xM.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 yf=h((gLe,UM)=>{"use strict";var{MockNotMatchedError:$a}=L0(),{kDispatches:wp,kMockAgent:bre,kOriginalDispatch:Nre,kOrigin:wre,kGetNetConnect:Sre}=qc(),{buildURL:xre,nop:Rre}=Ue(),{STATUS_CODES:vre}=require("http"),{types:{isPromise:_re}}=require("util");function Ks(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function vM(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}function _M(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):vM(t)[e.toLocaleLowerCase()]}function DM(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 kM(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=DM(e)),t.headers(e?vM(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 i=_M(e,r);if(!Ks(n,i))return!1}return!0}function RM(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 Dre(t,{path:e,method:r,body:n,headers:i}){let s=Ks(t.path,e),o=Ks(t.method,r),a=typeof t.body<"u"?Ks(t.body,n):!0,A=kM(t,i);return s&&o&&a&&A}function PM(t){return Buffer.isBuffer(t)?t:typeof t=="object"?JSON.stringify(t):t.toString()}function TM(t,e){let r=e.query?xre(e.path,e.query):e.path,n=typeof r=="string"?RM(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>Ks(RM(s),n));if(i.length===0)throw new $a(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>Ks(s,e.method)),i.length===0)throw new $a(`Mock dispatch not matched for method '${e.method}'`);if(i=i.filter(({body:s})=>typeof s<"u"?Ks(s,e.body):!0),i.length===0)throw new $a(`Mock dispatch not matched for body '${e.body}'`);if(i=i.filter(s=>kM(s,e.headers)),i.length===0)throw new $a(`Mock dispatch not matched for headers '${typeof e.headers=="object"?JSON.stringify(e.headers):e.headers}'`);return i[0]}function kre(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}function M0(t,e){let r=t.findIndex(n=>n.consumed?Dre(n,e):!1);r!==-1&&t.splice(r,1)}function OM(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}function F0(t){return Object.entries(t).reduce((e,[r,n])=>[...e,Buffer.from(`${r}`),Array.isArray(n)?n.map(i=>Buffer.from(`${i}`)):Buffer.from(`${n}`)],[])}function LM(t){return vre[t]||"unknown"}async function Pre(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}function MM(t,e){let r=OM(t),n=TM(this[wp],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:i,data:s,headers:o,trailers:a,error:A},delay:c,persist:l}=n,{timesInvoked:u,times:d}=n;if(n.consumed=!l&&u>=d,n.pending=u<d,A!==null)return M0(this[wp],r),e.onError(A),!0;typeof c=="number"&&c>0?setTimeout(()=>{f(this[wp])},c):f(this[wp]);function f(m,E=s){let C=Array.isArray(t.headers)?DM(t.headers):t.headers,I=typeof E=="function"?E({...t,headers:C}):E;if(_re(I)){I.then(T=>f(m,T));return}let N=PM(I),w=F0(o),v=F0(a);e.abort=Rre,e.onHeaders(i,w,g,LM(i)),e.onData(Buffer.from(N)),e.onComplete(v),M0(m,r)}function g(){}return!0}function Tre(){let t=this[bre],e=this[wre],r=this[Nre];return function(i,s){if(t.isMockActive)try{MM.call(this,i,s)}catch(o){if(o instanceof $a){let a=t[Sre]();if(a===!1)throw new $a(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(FM(a,e))r.call(this,i,s);else throw new $a(`${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,i,s)}}function FM(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Ks(n,r.host)))}function Ore(t){if(t){let{agent:e,...r}=t;return r}}UM.exports={getResponseData:PM,getMockDispatch:TM,addMockDispatch:kre,deleteMockDispatch:M0,buildKey:OM,generateKeyValues:F0,matchValue:Ks,getResponse:Pre,getStatusText:LM,mockDispatch:MM,buildMockDispatch:Tre,checkNetConnect:FM,buildMockOptions:Ore,getHeaderByName:_M}});var Y0=h((mLe,G0)=>{"use strict";var{getResponseData:Lre,buildKey:Mre,addMockDispatch:U0}=yf(),{kDispatches:Sp,kDispatchKey:xp,kDefaultHeaders:q0,kDefaultTrailers:H0,kContentLength:j0,kMockDispatch:Rp}=qc(),{InvalidArgumentError:Gi}=At(),{buildURL:Fre}=Ue(),Hc=class{constructor(e){this[Rp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Gi("waitInMs must be a valid integer > 0");return this[Rp].delay=e,this}persist(){return this[Rp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Gi("repeatTimes must be a valid integer > 0");return this[Rp].times=e,this}},z0=class{constructor(e,r){if(typeof e!="object")throw new Gi("opts must be an object");if(typeof e.path>"u")throw new Gi("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Fre(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[xp]=Mre(e),this[Sp]=r,this[q0]={},this[H0]={},this[j0]=!1}createMockScopeDispatchData(e,r,n={}){let i=Lre(r),s=this[j0]?{"content-length":i.length}:{},o={...this[q0],...s,...n.headers},a={...this[H0],...n.trailers};return{statusCode:e,data:r,headers:o,trailers:a}}validateReplyParameters(e,r,n){if(typeof e>"u")throw new Gi("statusCode must be defined");if(typeof r>"u")throw new Gi("data must be defined");if(typeof n!="object")throw new Gi("responseOptions must be an object")}reply(e){if(typeof e=="function"){let a=c=>{let l=e(c);if(typeof l!="object")throw new Gi("reply options callback must return an object");let{statusCode:u,data:d="",responseOptions:f={}}=l;return this.validateReplyParameters(u,d,f),{...this.createMockScopeDispatchData(u,d,f)}},A=U0(this[Sp],this[xp],a);return new Hc(A)}let[r,n="",i={}]=[...arguments];this.validateReplyParameters(r,n,i);let s=this.createMockScopeDispatchData(r,n,i),o=U0(this[Sp],this[xp],s);return new Hc(o)}replyWithError(e){if(typeof e>"u")throw new Gi("error must be defined");let r=U0(this[Sp],this[xp],{error:e});return new Hc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Gi("headers must be defined");return this[q0]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Gi("trailers must be defined");return this[H0]=e,this}replyContentLength(){return this[j0]=!0,this}};G0.exports.MockInterceptor=z0;G0.exports.MockScope=Hc});var W0=h((pLe,JM)=>{"use strict";var{promisify:Ure}=require("util"),qre=df(),{buildMockDispatch:Hre}=yf(),{kDispatches:qM,kMockAgent:HM,kClose:jM,kOriginalClose:zM,kOrigin:GM,kOriginalDispatch:jre,kConnected:J0}=qc(),{MockInterceptor:zre}=Y0(),YM=It(),{InvalidArgumentError:Gre}=At(),V0=class extends qre{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Gre("Argument opts.agent must implement Agent");this[HM]=r.agent,this[GM]=e,this[qM]=[],this[J0]=1,this[jre]=this.dispatch,this[zM]=this.close.bind(this),this.dispatch=Hre.call(this),this.close=this[jM]}get[YM.kConnected](){return this[J0]}intercept(e){return new zre(e,this[qM])}async[jM](){await Ure(this[zM])(),this[J0]=0,this[HM][YM.kClients].delete(this[GM])}};JM.exports=V0});var X0=h((yLe,eF)=>{"use strict";var{promisify:Yre}=require("util"),Jre=Pc(),{buildMockDispatch:Vre}=yf(),{kDispatches:VM,kMockAgent:WM,kClose:$M,kOriginalClose:KM,kOrigin:XM,kOriginalDispatch:Wre,kConnected:$0}=qc(),{MockInterceptor:$re}=Y0(),ZM=It(),{InvalidArgumentError:Kre}=At(),K0=class extends Jre{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Kre("Argument opts.agent must implement Agent");this[WM]=r.agent,this[XM]=e,this[VM]=[],this[$0]=1,this[Wre]=this.dispatch,this[KM]=this.close.bind(this),this.dispatch=Vre.call(this),this.close=this[$M]}get[ZM.kConnected](){return this[$0]}intercept(e){return new $re(e,this[VM])}async[$M](){await Yre(this[KM])(),this[$0]=0,this[WM][ZM.kClients].delete(this[XM])}};eF.exports=K0});var rF=h((CLe,tF)=>{"use strict";var Xre={pronoun:"it",is:"is",was:"was",this:"this"},Zre={pronoun:"they",is:"are",was:"were",this:"these"};tF.exports=class{constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Xre:Zre,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var iF=h((BLe,nF)=>{"use strict";var{Transform:ene}=require("stream"),{Console:tne}=require("console");nF.exports=class{constructor({disableColors:e}={}){this.transform=new ene({transform(r,n,i){i(null,r)}}),this.logger=new tne({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:o,times:a,timesInvoked:A,origin:c})=>({Method:n,Origin:c,Path:i,"Status code":s,Persistent:o?"\u2705":"\u274C",Invocations:A,Remaining:o?1/0:a-A}));return this.logger.table(r),this.transform.read().toString()}}});var AF=h((QLe,aF)=>{"use strict";var{kClients:Ka}=It(),rne=mf(),{kAgent:Z0,kMockAgentSet:vp,kMockAgentGet:sF,kDispatches:eN,kIsMockActive:_p,kNetConnect:Xa,kGetNetConnect:nne,kOptions:Dp,kFactory:kp}=qc(),ine=W0(),sne=X0(),{matchValue:one,buildMockOptions:ane}=yf(),{InvalidArgumentError:oF,UndiciError:Ane}=At(),cne=Xm(),lne=rF(),une=iF(),tN=class{constructor(e){this.value=e}deref(){return this.value}},rN=class extends cne{constructor(e){if(super(e),this[Xa]=!0,this[_p]=!0,e&&e.agent&&typeof e.agent.dispatch!="function")throw new oF("Argument opts.agent must implement Agent");let r=e&&e.agent?e.agent:new rne(e);this[Z0]=r,this[Ka]=r[Ka],this[Dp]=ane(e)}get(e){let r=this[sF](e);return r||(r=this[kp](e),this[vp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[Z0].dispatch(e,r)}async close(){await this[Z0].close(),this[Ka].clear()}deactivate(){this[_p]=!1}activate(){this[_p]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Xa])?this[Xa].push(e):this[Xa]=[e];else if(typeof e>"u")this[Xa]=!0;else throw new oF("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Xa]=!1}get isMockActive(){return this[_p]}[vp](e,r){this[Ka].set(e,new tN(r))}[kp](e){let r=Object.assign({agent:this},this[Dp]);return this[Dp]&&this[Dp].connections===1?new ine(e,r):new sne(e,r)}[sF](e){let r=this[Ka].get(e);if(r)return r.deref();if(typeof e!="string"){let n=this[kp]("http://localhost:9999");return this[vp](e,n),n}for(let[n,i]of Array.from(this[Ka])){let s=i.deref();if(s&&typeof n!="string"&&one(n,e)){let o=this[kp](e);return this[vp](e,o),o[eN]=s[eN],o}}}[nne](){return this[Xa]}pendingInterceptors(){let e=this[Ka];return Array.from(e.entries()).flatMap(([r,n])=>n.deref()[eN].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new une}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new lne("interceptor","interceptors").pluralize(r.length);throw new Ane(`
|
|
${n.count} ${n.noun} ${n.is} pending:
|
|
|
|
${e.format(r)}
|
|
`.trim())}};aF.exports=rN});var hF=h((bLe,fF)=>{"use strict";var{kProxy:dne,kClose:fne,kDestroy:hne,kInterceptors:gne}=It(),{URL:cF}=require("url"),lF=mf(),mne=Pc(),pne=rf(),{InvalidArgumentError:If,RequestAbortedError:yne}=At(),uF=nf(),Ef=Symbol("proxy agent"),Pp=Symbol("proxy client"),Cf=Symbol("proxy headers"),nN=Symbol("request tls settings"),Ene=Symbol("proxy tls settings"),dF=Symbol("connect endpoint function");function Cne(t){return t==="https:"?443:80}function Ine(t){if(typeof t=="string"&&(t={uri:t}),!t||!t.uri)throw new If("Proxy opts.uri is mandatory");return{uri:t.uri,protocol:t.protocol||"https"}}function Bne(t,e){return new mne(t,e)}var iN=class extends pne{constructor(e){if(super(e),this[dne]=Ine(e),this[Ef]=new lF(e),this[gne]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new If("Proxy opts.uri is mandatory");let{clientFactory:r=Bne}=e;if(typeof r!="function")throw new If("Proxy opts.clientFactory must be a function.");this[nN]=e.requestTls,this[Ene]=e.proxyTls,this[Cf]=e.headers||{};let n=new cF(e.uri),{origin:i,port:s,host:o,username:a,password:A}=n;if(e.auth&&e.token)throw new If("opts.auth cannot be used in combination with opts.token");e.auth?this[Cf]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Cf]["proxy-authorization"]=e.token:a&&A&&(this[Cf]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(a)}:${decodeURIComponent(A)}`).toString("base64")}`);let c=uF({...e.proxyTls});this[dF]=uF({...e.requestTls}),this[Pp]=r(n,{connect:c}),this[Ef]=new lF({...e,connect:async(l,u)=>{let d=l.host;l.port||(d+=`:${Cne(l.protocol)}`);try{let{socket:f,statusCode:g}=await this[Pp].connect({origin:i,port:s,path:d,signal:l.signal,headers:{...this[Cf],host:o}});if(g!==200&&(f.on("error",()=>{}).destroy(),u(new yne(`Proxy response (${g}) !== 200 when HTTP Tunneling`))),l.protocol!=="https:"){u(null,f);return}let m;this[nN]?m=this[nN].servername:m=l.servername,this[dF]({...l,servername:m,httpSocket:f},u)}catch(f){u(f)}}})}dispatch(e,r){let{host:n}=new cF(e.origin),i=Qne(e.headers);return bne(i),this[Ef].dispatch({...e,headers:{...i,host:n}},r)}async[fne](){await this[Ef].close(),await this[Pp].close()}async[hne](){await this[Ef].destroy(),await this[Pp].destroy()}};function Qne(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 bne(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new If("Proxy-Authorization should be sent in ProxyAgent constructor")}fF.exports=iN});var EF=h((NLe,yF)=>{var Za=require("assert"),{kRetryHandlerDefaultRetry:gF}=It(),{RequestRetryError:Tp}=At(),{isDisturbed:mF,parseHeaders:Nne,parseRangeHeader:pF}=Ue();function wne(t){let e=Date.now();return new Date(t).getTime()-e}var sN=class t{constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:o,maxTimeout:a,minTimeout:A,timeoutFactor:c,methods:l,errorCodes:u,retryAfter:d,statusCodes:f}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts=i,this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[gF],retryAfter:d??!0,maxTimeout:a??30*1e3,timeout:A??500,timeoutFactor:c??2,maxRetries:o??5,methods:l??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:f??[500,502,503,504,429],errorCodes:u??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(g=>{this.aborted=!0,this.abort?this.abort(g):this.reason=g})}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[gF](e,{state:r,opts:n},i){let{statusCode:s,code:o,headers:a}=e,{method:A,retryOptions:c}=n,{maxRetries:l,timeout:u,maxTimeout:d,timeoutFactor:f,statusCodes:g,errorCodes:m,methods:E}=c,{counter:C,currentTimeout:I}=r;if(I=I!=null&&I>0?I:u,o&&o!=="UND_ERR_REQ_RETRY"&&o!=="UND_ERR_SOCKET"&&!m.includes(o)){i(e);return}if(Array.isArray(E)&&!E.includes(A)){i(e);return}if(s!=null&&Array.isArray(g)&&!g.includes(s)){i(e);return}if(C>l){i(e);return}let N=a!=null&&a["retry-after"];N&&(N=Number(N),N=isNaN(N)?wne(N):N*1e3);let w=N>0?Math.min(N,d):Math.min(I*f**C,d);r.currentTimeout=w,setTimeout(()=>i(null),w)}onHeaders(e,r,n,i){let s=Nne(r);if(this.retryCount+=1,e>=300)return this.abort(new Tp("Request failed",e,{headers:s,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,e!==206)return!0;let a=pF(s["content-range"]);if(!a)return this.abort(new Tp("Content-Range mismatch",e,{headers:s,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new Tp("ETag mismatch",e,{headers:s,count:this.retryCount})),!1;let{start:A,size:c,end:l=c}=a;return Za(this.start===A,"content-range mismatch"),Za(this.end==null||this.end===l,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let a=pF(s["content-range"]);if(a==null)return this.handler.onHeaders(e,r,n,i);let{start:A,size:c,end:l=c}=a;Za(A!=null&&Number.isFinite(A)&&this.start!==A,"content-range mismatch"),Za(Number.isFinite(A)),Za(l!=null&&Number.isFinite(l)&&this.end!==l,"invalid content-length"),this.start=A,this.end=l}if(this.end==null){let a=s["content-length"];this.end=a!=null?Number(a):null}return Za(Number.isFinite(this.start)),Za(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.handler.onHeaders(e,r,n,i)}let o=new Tp("Request failed",e,{headers:s,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||mF(this.opts.body))return this.handler.onError(e);this.retryOpts.retry(e,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||mF(this.opts.body))return this.handler.onError(n);this.start!==0&&(this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}});try{this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}};yF.exports=sN});var jc=h((wLe,QF)=>{"use strict";var CF=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Sne}=At(),xne=mf();BF()===void 0&&IF(new xne);function IF(t){if(!t||typeof t.dispatch!="function")throw new Sne("Argument agent must implement Agent");Object.defineProperty(globalThis,CF,{value:t,writable:!0,enumerable:!1,configurable:!1})}function BF(){return globalThis[CF]}QF.exports={setGlobalDispatcher:IF,getGlobalDispatcher:BF}});var NF=h((xLe,bF)=>{"use strict";bF.exports=class{constructor(e){this.handler=e}onConnect(...e){return this.handler.onConnect(...e)}onError(...e){return this.handler.onError(...e)}onUpgrade(...e){return this.handler.onUpgrade(...e)}onHeaders(...e){return this.handler.onHeaders(...e)}onData(...e){return this.handler.onData(...e)}onComplete(...e){return this.handler.onComplete(...e)}onBodySent(...e){return this.handler.onBodySent(...e)}}});var eA=h((RLe,vF)=>{"use strict";var{kHeadersList:un,kConstruct:Rne}=It(),{kGuard:gs}=js(),{kEnumerableProperty:hs}=Ue(),{makeIterator:zc,isValidHeaderName:Bf,isValidHeaderValue:SF}=ii(),vne=require("util"),{webidl:ve}=Wr(),_ne=require("assert"),ln=Symbol("headers map"),Dr=Symbol("headers map sorted");function wF(t){return t===10||t===13||t===9||t===32}function xF(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 RF(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw ve.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});oN(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)oN(t,r[n],e[r[n]])}else throw ve.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function oN(t,e,r){if(r=xF(r),Bf(e)){if(!SF(r))throw ve.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw ve.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(t[gs]==="immutable")throw new TypeError("immutable");return t[gs],t[un].append(e,r)}var Op=class t{cookies=null;constructor(e){e instanceof t?(this[ln]=new Map(e[ln]),this[Dr]=e[Dr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[ln]=new Map(e),this[Dr]=null)}contains(e){return e=e.toLowerCase(),this[ln].has(e)}clear(){this[ln].clear(),this[Dr]=null,this.cookies=null}append(e,r){this[Dr]=null;let n=e.toLowerCase(),i=this[ln].get(n);if(i){let s=n==="cookie"?"; ":", ";this[ln].set(n,{name:i.name,value:`${i.value}${s}${r}`})}else this[ln].set(n,{name:e,value:r});n==="set-cookie"&&(this.cookies??=[],this.cookies.push(r))}set(e,r){this[Dr]=null;let n=e.toLowerCase();n==="set-cookie"&&(this.cookies=[r]),this[ln].set(n,{name:e,value:r})}delete(e){this[Dr]=null,e=e.toLowerCase(),e==="set-cookie"&&(this.cookies=null),this[ln].delete(e)}get(e){let r=this[ln].get(e.toLowerCase());return r===void 0?null:r.value}*[Symbol.iterator](){for(let[e,{value:r}]of this[ln])yield[e,r]}get entries(){let e={};if(this[ln].size)for(let{name:r,value:n}of this[ln].values())e[r]=n;return e}},Gc=class t{constructor(e=void 0){e!==Rne&&(this[un]=new Op,this[gs]="none",e!==void 0&&(e=ve.converters.HeadersInit(e),RF(this,e)))}append(e,r){return ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,2,{header:"Headers.append"}),e=ve.converters.ByteString(e),r=ve.converters.ByteString(r),oN(this,e,r)}delete(e){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.delete"}),e=ve.converters.ByteString(e),!Bf(e))throw ve.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this[gs]==="immutable")throw new TypeError("immutable");this[gs],this[un].contains(e)&&this[un].delete(e)}get(e){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.get"}),e=ve.converters.ByteString(e),!Bf(e))throw ve.errors.invalidArgument({prefix:"Headers.get",value:e,type:"header name"});return this[un].get(e)}has(e){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.has"}),e=ve.converters.ByteString(e),!Bf(e))throw ve.errors.invalidArgument({prefix:"Headers.has",value:e,type:"header name"});return this[un].contains(e)}set(e,r){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,2,{header:"Headers.set"}),e=ve.converters.ByteString(e),r=ve.converters.ByteString(r),r=xF(r),Bf(e)){if(!SF(r))throw ve.errors.invalidArgument({prefix:"Headers.set",value:r,type:"header value"})}else throw ve.errors.invalidArgument({prefix:"Headers.set",value:e,type:"header name"});if(this[gs]==="immutable")throw new TypeError("immutable");this[gs],this[un].set(e,r)}getSetCookie(){ve.brandCheck(this,t);let e=this[un].cookies;return e?[...e]:[]}get[Dr](){if(this[un][Dr])return this[un][Dr];let e=[],r=[...this[un]].sort((i,s)=>i[0]<s[0]?-1:1),n=this[un].cookies;for(let i=0;i<r.length;++i){let[s,o]=r[i];if(s==="set-cookie")for(let a=0;a<n.length;++a)e.push([s,n[a]]);else _ne(o!==null),e.push([s,o])}return this[un][Dr]=e,e}keys(){if(ve.brandCheck(this,t),this[gs]==="immutable"){let e=this[Dr];return zc(()=>e,"Headers","key")}return zc(()=>[...this[Dr].values()],"Headers","key")}values(){if(ve.brandCheck(this,t),this[gs]==="immutable"){let e=this[Dr];return zc(()=>e,"Headers","value")}return zc(()=>[...this[Dr].values()],"Headers","value")}entries(){if(ve.brandCheck(this,t),this[gs]==="immutable"){let e=this[Dr];return zc(()=>e,"Headers","key+value")}return zc(()=>[...this[Dr].values()],"Headers","key+value")}forEach(e,r=globalThis){if(ve.brandCheck(this,t),ve.argumentLengthCheck(arguments,1,{header:"Headers.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");for(let[n,i]of this)e.apply(r,[i,n,this])}[Symbol.for("nodejs.util.inspect.custom")](){return ve.brandCheck(this,t),this[un]}};Gc.prototype[Symbol.iterator]=Gc.prototype.entries;Object.defineProperties(Gc.prototype,{append:hs,delete:hs,get:hs,has:hs,set:hs,getSetCookie:hs,keys:hs,values:hs,entries:hs,forEach:hs,[Symbol.iterator]:{enumerable:!1},[Symbol.toStringTag]:{value:"Headers",configurable:!0},[vne.inspect.custom]:{enumerable:!1}});ve.converters.HeadersInit=function(t){if(ve.util.Type(t)==="Object")return t[Symbol.iterator]?ve.converters["sequence<sequence<ByteString>>"](t):ve.converters["record<ByteString, ByteString>"](t);throw ve.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};vF.exports={fill:RF,Headers:Gc,HeadersList:Op}});var Up=h((vLe,MF)=>{"use strict";var{Headers:Dne,HeadersList:_F,fill:kne}=eA(),{extractBody:DF,cloneBody:Pne,mixinBody:Tne}=Zd(),cN=Ue(),{kEnumerableProperty:jn}=cN,{isValidReasonPhrase:One,isCancelled:Lne,isAborted:Mne,isBlobLike:Fne,serializeJavascriptValueToJSONString:Une,isErrorLike:qne,isomorphicEncode:Hne}=ii(),{redirectStatusSet:jne,nullBodyStatus:zne,DOMException:kF}=To(),{kState:wt,kHeaders:gr,kGuard:Yc,kRealm:Hn}=js(),{webidl:Se}=Wr(),{FormData:Gne}=Wm(),{getGlobalOrigin:Yne}=Ic(),{URLSerializer:PF}=Hi(),{kHeadersList:aN,kConstruct:Jne}=It(),lN=require("assert"),{types:AN}=require("util"),OF=globalThis.ReadableStream||require("stream/web").ReadableStream,Vne=new TextEncoder("utf-8"),Jc=class t{static error(){let e={settingsObject:{}},r=new t;return r[wt]=Mp(),r[Hn]=e,r[gr][aN]=r[wt].headersList,r[gr][Yc]="immutable",r[gr][Hn]=e,r}static json(e,r={}){Se.argumentLengthCheck(arguments,1,{header:"Response.json"}),r!==null&&(r=Se.converters.ResponseInit(r));let n=Vne.encode(Une(e)),i=DF(n),s={settingsObject:{}},o=new t;return o[Hn]=s,o[gr][Yc]="response",o[gr][Hn]=s,TF(o,r,{body:i[0],type:"application/json"}),o}static redirect(e,r=302){let n={settingsObject:{}};Se.argumentLengthCheck(arguments,1,{header:"Response.redirect"}),e=Se.converters.USVString(e),r=Se.converters["unsigned short"](r);let i;try{i=new URL(e,Yne())}catch(a){throw Object.assign(new TypeError("Failed to parse URL from "+e),{cause:a})}if(!jne.has(r))throw new RangeError("Invalid status code "+r);let s=new t;s[Hn]=n,s[gr][Yc]="immutable",s[gr][Hn]=n,s[wt].status=r;let o=Hne(PF(i));return s[wt].headersList.append("location",o),s}constructor(e=null,r={}){e!==null&&(e=Se.converters.BodyInit(e)),r=Se.converters.ResponseInit(r),this[Hn]={settingsObject:{}},this[wt]=Fp({}),this[gr]=new Dne(Jne),this[gr][Yc]="response",this[gr][aN]=this[wt].headersList,this[gr][Hn]=this[Hn];let n=null;if(e!=null){let[i,s]=DF(e);n={body:i,type:s}}TF(this,r,n)}get type(){return Se.brandCheck(this,t),this[wt].type}get url(){Se.brandCheck(this,t);let e=this[wt].urlList,r=e[e.length-1]??null;return r===null?"":PF(r,!0)}get redirected(){return Se.brandCheck(this,t),this[wt].urlList.length>1}get status(){return Se.brandCheck(this,t),this[wt].status}get ok(){return Se.brandCheck(this,t),this[wt].status>=200&&this[wt].status<=299}get statusText(){return Se.brandCheck(this,t),this[wt].statusText}get headers(){return Se.brandCheck(this,t),this[gr]}get body(){return Se.brandCheck(this,t),this[wt].body?this[wt].body.stream:null}get bodyUsed(){return Se.brandCheck(this,t),!!this[wt].body&&cN.isDisturbed(this[wt].body.stream)}clone(){if(Se.brandCheck(this,t),this.bodyUsed||this.body&&this.body.locked)throw Se.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=uN(this[wt]),r=new t;return r[wt]=e,r[Hn]=this[Hn],r[gr][aN]=e.headersList,r[gr][Yc]=this[gr][Yc],r[gr][Hn]=this[gr][Hn],r}};Tne(Jc);Object.defineProperties(Jc.prototype,{type:jn,url:jn,status:jn,ok:jn,redirected:jn,statusText:jn,headers:jn,clone:jn,body:jn,bodyUsed:jn,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Jc,{json:jn,redirect:jn,error:jn});function uN(t){if(t.internalResponse)return LF(uN(t.internalResponse),t.type);let e=Fp({...t,body:null});return t.body!=null&&(e.body=Pne(t.body)),e}function Fp(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t.headersList?new _F(t.headersList):new _F,urlList:t.urlList?[...t.urlList]:[]}}function Mp(t){let e=qne(t);return Fp({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function Lp(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return lN(!(n in e)),r[n]=i,!0}})}function LF(t,e){if(e==="basic")return Lp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Lp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Lp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Lp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});lN(!1)}function Wne(t,e=null){return lN(Lne(t)),Mne(t)?Mp(Object.assign(new kF("The operation was aborted.","AbortError"),{cause:e})):Mp(Object.assign(new kF("Request was cancelled."),{cause:e}))}function TF(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&&!One(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[wt].status=e.status),"statusText"in e&&e.statusText!=null&&(t[wt].statusText=e.statusText),"headers"in e&&e.headers!=null&&kne(t[gr],e.headers),r){if(zne.includes(t.status))throw Se.errors.exception({header:"Response constructor",message:"Invalid response status code "+t.status});t[wt].body=r.body,r.type!=null&&!t[wt].headersList.contains("Content-Type")&&t[wt].headersList.append("content-type",r.type)}}Se.converters.ReadableStream=Se.interfaceConverter(OF);Se.converters.FormData=Se.interfaceConverter(Gne);Se.converters.URLSearchParams=Se.interfaceConverter(URLSearchParams);Se.converters.XMLHttpRequestBodyInit=function(t){return typeof t=="string"?Se.converters.USVString(t):Fne(t)?Se.converters.Blob(t,{strict:!1}):AN.isArrayBuffer(t)||AN.isTypedArray(t)||AN.isDataView(t)?Se.converters.BufferSource(t):cN.isFormDataLike(t)?Se.converters.FormData(t,{strict:!1}):t instanceof URLSearchParams?Se.converters.URLSearchParams(t):Se.converters.DOMString(t)};Se.converters.BodyInit=function(t){return t instanceof OF?Se.converters.ReadableStream(t):t?.[Symbol.asyncIterator]?t:Se.converters.XMLHttpRequestBodyInit(t)};Se.converters.ResponseInit=Se.dictionaryConverter([{key:"status",converter:Se.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:Se.converters.ByteString,defaultValue:""},{key:"headers",converter:Se.converters.HeadersInit}]);MF.exports={makeNetworkError:Mp,makeResponse:Fp,makeAppropriateNetworkError:Wne,filterResponse:LF,Response:Jc,cloneResponse:uN}});var Nf=h((_Le,zF)=>{"use strict";var{extractBody:$ne,mixinBody:Kne,cloneBody:Xne}=Zd(),{Headers:FF,fill:Zne,HeadersList:zp}=eA(),{FinalizationRegistry:eie}=I0()(),bf=Ue(),{isValidHTTPToken:tie,sameOrigin:UF,normalizeMethod:rie,makePolicyContainer:nie,normalizeMethodRecord:iie}=ii(),{forbiddenMethodsSet:sie,corsSafeListedMethodsSet:oie,referrerPolicy:aie,requestRedirect:Aie,requestMode:cie,requestCredentials:lie,requestCache:uie,requestDuplex:die}=To(),{kEnumerableProperty:rr}=bf,{kHeaders:Ur,kSignal:Qf,kState:bt,kGuard:qp,kRealm:zn}=js(),{webidl:me}=Wr(),{getGlobalOrigin:fie}=Ic(),{URLSerializer:hie}=Hi(),{kHeadersList:Hp,kConstruct:jp}=It(),gie=require("assert"),{getMaxListeners:qF,setMaxListeners:HF,getEventListeners:mie,defaultMaxListeners:jF}=require("events"),dN=globalThis.TransformStream,pie=Symbol("abortController"),yie=new eie(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),tA=class t{constructor(e,r={}){if(e===jp)return;me.argumentLengthCheck(arguments,1,{header:"Request constructor"}),e=me.converters.RequestInfo(e),r=me.converters.RequestInit(r),this[zn]={settingsObject:{baseUrl:fie(),get origin(){return this.baseUrl?.origin},policyContainer:nie()}};let n=null,i=null,s=this[zn].settingsObject.baseUrl,o=null;if(typeof e=="string"){let E;try{E=new URL(e,s)}catch(C){throw new TypeError("Failed to parse URL from "+e,{cause:C})}if(E.username||E.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=Gp({urlList:[E]}),i="cors"}else gie(e instanceof t),n=e[bt],o=e[Qf];let a=this[zn].settingsObject.origin,A="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&UF(n.window,a)&&(A=n.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),n=Gp({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:this[zn].settingsObject,window:A,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let c=Object.keys(r).length!==0;if(c&&(n.mode==="navigate"&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),r.referrer!==void 0){let E=r.referrer;if(E==="")n.referrer="no-referrer";else{let C;try{C=new URL(E,s)}catch(I){throw new TypeError(`Referrer "${E}" is not a valid URL.`,{cause:I})}C.protocol==="about:"&&C.hostname==="client"||a&&!UF(C,this[zn].settingsObject.baseUrl)?n.referrer="client":n.referrer=C}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let l;if(r.mode!==void 0?l=r.mode:l=i,l==="navigate")throw me.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(l!=null&&(n.mode=l),r.credentials!==void 0&&(n.credentials=r.credentials),r.cache!==void 0&&(n.cache=r.cache),n.cache==="only-if-cached"&&n.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(n.redirect=r.redirect),r.integrity!=null&&(n.integrity=String(r.integrity)),r.keepalive!==void 0&&(n.keepalive=!!r.keepalive),r.method!==void 0){let E=r.method;if(!tie(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);if(sie.has(E.toUpperCase()))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=iie[E]??rie(E),n.method=E}r.signal!==void 0&&(o=r.signal),this[bt]=n;let u=new AbortController;if(this[Qf]=u.signal,this[Qf][zn]=this[zn],o!=null){if(!o||typeof o.aborted!="boolean"||typeof o.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(o.aborted)u.abort(o.reason);else{this[pie]=u;let E=new WeakRef(u),C=function(){let I=E.deref();I!==void 0&&I.abort(this.reason)};try{(typeof qF=="function"&&qF(o)===jF||mie(o,"abort").length>=jF)&&HF(100,o)}catch{}bf.addAbortListener(o,C),yie.register(u,{signal:o,abort:C})}}if(this[Ur]=new FF(jp),this[Ur][Hp]=n.headersList,this[Ur][qp]="request",this[Ur][zn]=this[zn],l==="no-cors"){if(!oie.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);this[Ur][qp]="request-no-cors"}if(c){let E=this[Ur][Hp],C=r.headers!==void 0?r.headers:new zp(E);if(E.clear(),C instanceof zp){for(let[I,N]of C)E.append(I,N);E.cookies=C.cookies}else Zne(this[Ur],C)}let d=e instanceof t?e[bt].body:null;if((r.body!=null||d!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let f=null;if(r.body!=null){let[E,C]=$ne(r.body,n.keepalive);f=E,C&&!this[Ur][Hp].contains("content-type")&&this[Ur].append("content-type",C)}let g=f??d;if(g!=null&&g.source==null){if(f!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let m=g;if(f==null&&d!=null){if(bf.isDisturbed(d.stream)||d.stream.locked)throw new TypeError("Cannot construct a Request with a Request object that has already been used.");dN||(dN=require("stream/web").TransformStream);let E=new dN;d.stream.pipeThrough(E),m={source:d.source,length:d.length,stream:E.readable}}this[bt].body=m}get method(){return me.brandCheck(this,t),this[bt].method}get url(){return me.brandCheck(this,t),hie(this[bt].url)}get headers(){return me.brandCheck(this,t),this[Ur]}get destination(){return me.brandCheck(this,t),this[bt].destination}get referrer(){return me.brandCheck(this,t),this[bt].referrer==="no-referrer"?"":this[bt].referrer==="client"?"about:client":this[bt].referrer.toString()}get referrerPolicy(){return me.brandCheck(this,t),this[bt].referrerPolicy}get mode(){return me.brandCheck(this,t),this[bt].mode}get credentials(){return this[bt].credentials}get cache(){return me.brandCheck(this,t),this[bt].cache}get redirect(){return me.brandCheck(this,t),this[bt].redirect}get integrity(){return me.brandCheck(this,t),this[bt].integrity}get keepalive(){return me.brandCheck(this,t),this[bt].keepalive}get isReloadNavigation(){return me.brandCheck(this,t),this[bt].reloadNavigation}get isHistoryNavigation(){return me.brandCheck(this,t),this[bt].historyNavigation}get signal(){return me.brandCheck(this,t),this[Qf]}get body(){return me.brandCheck(this,t),this[bt].body?this[bt].body.stream:null}get bodyUsed(){return me.brandCheck(this,t),!!this[bt].body&&bf.isDisturbed(this[bt].body.stream)}get duplex(){return me.brandCheck(this,t),"half"}clone(){if(me.brandCheck(this,t),this.bodyUsed||this.body?.locked)throw new TypeError("unusable");let e=Eie(this[bt]),r=new t(jp);r[bt]=e,r[zn]=this[zn],r[Ur]=new FF(jp),r[Ur][Hp]=e.headersList,r[Ur][qp]=this[Ur][qp],r[Ur][zn]=this[Ur][zn];let n=new AbortController;return this.signal.aborted?n.abort(this.signal.reason):bf.addAbortListener(this.signal,()=>{n.abort(this.signal.reason)}),r[Qf]=n.signal,r}};Kne(tA);function Gp(t){let e={method:"GET",localURLsOnly:!1,unsafeRequest:!1,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:!1,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:!1,credentials:"same-origin",useCredentials:!1,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:!1,historyNavigation:!1,userActivation:!1,taintedOrigin:!1,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:!1,done:!1,timingAllowFailed:!1,...t,headersList:t.headersList?new zp(t.headersList):new zp};return e.url=e.urlList[0],e}function Eie(t){let e=Gp({...t,body:null});return t.body!=null&&(e.body=Xne(t.body)),e}Object.defineProperties(tA.prototype,{method:rr,url:rr,headers:rr,redirect:rr,clone:rr,signal:rr,duplex:rr,destination:rr,body:rr,bodyUsed:rr,isHistoryNavigation:rr,isReloadNavigation:rr,keepalive:rr,integrity:rr,cache:rr,credentials:rr,attribute:rr,referrerPolicy:rr,referrer:rr,mode:rr,[Symbol.toStringTag]:{value:"Request",configurable:!0}});me.converters.Request=me.interfaceConverter(tA);me.converters.RequestInfo=function(t){return typeof t=="string"?me.converters.USVString(t):t instanceof tA?me.converters.Request(t):me.converters.USVString(t)};me.converters.AbortSignal=me.interfaceConverter(AbortSignal);me.converters.RequestInit=me.dictionaryConverter([{key:"method",converter:me.converters.ByteString},{key:"headers",converter:me.converters.HeadersInit},{key:"body",converter:me.nullableConverter(me.converters.BodyInit)},{key:"referrer",converter:me.converters.USVString},{key:"referrerPolicy",converter:me.converters.DOMString,allowedValues:aie},{key:"mode",converter:me.converters.DOMString,allowedValues:cie},{key:"credentials",converter:me.converters.DOMString,allowedValues:lie},{key:"cache",converter:me.converters.DOMString,allowedValues:uie},{key:"redirect",converter:me.converters.DOMString,allowedValues:Aie},{key:"integrity",converter:me.converters.DOMString},{key:"keepalive",converter:me.converters.boolean},{key:"signal",converter:me.nullableConverter(t=>me.converters.AbortSignal(t,{strict:!1}))},{key:"window",converter:me.converters.any},{key:"duplex",converter:me.converters.DOMString,allowedValues:die}]);zF.exports={Request:tA,makeRequest:Gp}});var Xp=h((DLe,iU)=>{"use strict";var{Response:Cie,makeNetworkError:ct,makeAppropriateNetworkError:Yp,filterResponse:fN,makeResponse:Jp}=Up(),{Headers:GF}=eA(),{Request:Iie,makeRequest:Bie}=Nf(),wf=require("zlib"),{bytesMatch:Qie,makePolicyContainer:bie,clonePolicyContainer:Nie,requestBadPort:wie,TAOCheck:Sie,appendRequestOriginHeader:xie,responseLocationURL:Rie,requestCurrentURL:ms,setRequestReferrerPolicyOnRedirect:vie,tryUpgradeRequestToAPotentiallyTrustworthyURL:_ie,createOpaqueTimingInfo:BN,appendFetchMetadata:Die,corsCheck:kie,crossOriginResourcePolicyCheck:Pie,determineRequestsReferrer:Tie,coarsenedSharedCurrentTime:QN,createDeferredPromise:Oie,isBlobLike:Lie,sameOrigin:EN,isCancelled:Wc,isAborted:YF,isErrorLike:Mie,fullyReadBody:$F,readableStreamClose:Fie,isomorphicEncode:CN,urlIsLocal:Uie,urlIsHttpHttpsScheme:bN,urlHasHttpsScheme:qie}=ii(),{kState:IN,kHeaders:hN,kGuard:Hie,kRealm:JF}=js(),$c=require("assert"),{safelyExtractBody:Vp}=Zd(),{redirectStatusSet:KF,nullBodyStatus:XF,safeMethodsSet:jie,requestBodyHeader:zie,subresourceSet:Gie,DOMException:Wp}=To(),{kHeadersList:Vc}=It(),Yie=require("events"),{Readable:Jie,pipeline:Vie}=require("stream"),{addAbortListener:Wie,isErrored:$ie,isReadable:$p,nodeMajor:VF,nodeMinor:Kie}=Ue(),{dataURLProcessor:Xie,serializeAMimeType:Zie}=Hi(),{TransformStream:ese}=require("stream/web"),{getGlobalDispatcher:tse}=jc(),{webidl:rse}=Wr(),{STATUS_CODES:nse}=require("http"),ise=["GET","HEAD"],gN,mN=globalThis.ReadableStream,Kp=class extends Yie{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing",this.setMaxListeners(21)}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 Wp("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function sse(t,e={}){rse.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});let r=Oie(),n;try{n=new Iie(t,e)}catch(d){return r.reject(d),r.promise}let i=n[IN];if(n.signal.aborted)return pN(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let o=null,a=null,A=!1,c=null;return Wie(n.signal,()=>{A=!0,$c(c!=null),c.abort(n.signal.reason),pN(r,i,o,n.signal.reason)}),c=eU({request:i,processResponseEndOfBody:d=>ZF(d,"fetch"),processResponse:d=>{if(A)return Promise.resolve();if(d.aborted)return pN(r,i,o,c.serializedAbortReason),Promise.resolve();if(d.type==="error")return r.reject(Object.assign(new TypeError("fetch failed"),{cause:d.error})),Promise.resolve();o=new Cie,o[IN]=d,o[JF]=a,o[hN][Vc]=d.headersList,o[hN][Hie]="immutable",o[hN][JF]=a,r.resolve(o)},dispatcher:e.dispatcher??tse()}),r.promise}function ZF(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;bN(r)&&n!==null&&(t.timingAllowPassed||(n=BN({startTime:n.startTime}),i=""),n.endTime=QN(),t.timingInfo=n,ose(n,r,e,globalThis,i))}function ose(t,e,r,n,i){(VF>18||VF===18&&Kie>=2)&&performance.markResourceTiming(t,e.href,r,n,i)}function pN(t,e,r,n){if(n||(n=new Wp("The operation was aborted.","AbortError")),t.reject(n),e.body!=null&&$p(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[IN];i.body!=null&&$p(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}function eU({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a}){let A=null,c=!1;t.client!=null&&(A=t.client.globalObject,c=t.client.crossOriginIsolatedCapability);let l=QN(c),u=BN({startTime:l}),d={controller:new Kp(a),request:t,timingInfo:u,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:A,crossOriginIsolatedCapability:c};return $c(!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=Nie(t.client.policyContainer):t.policyContainer=bie()),t.headersList.contains("accept")||t.headersList.append("accept","*/*"),t.headersList.contains("accept-language")||t.headersList.append("accept-language","*"),t.priority,Gie.has(t.destination),tU(d).catch(f=>{d.controller.terminate(f)}),d.controller}async function tU(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Uie(ms(r))&&(n=ct("local URLs only")),_ie(r),wie(r)==="blocked"&&(n=ct("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Tie(r)),n===null&&(n=await(async()=>{let s=ms(r);return EN(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await WF(t)):r.mode==="same-origin"?ct('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ct('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await WF(t)):bN(ms(r))?(r.responseTainting="cors",await rU(t)):ct("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=fN(n,"basic"):r.responseTainting==="cors"?n=fN(n,"cors"):r.responseTainting==="opaque"?n=fN(n,"opaque"):$c(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range")&&(n=i=ct()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||XF.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=a=>yN(t,ct(a));if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let o=a=>{if(!Qie(a,r.integrity)){s("integrity mismatch");return}n.body=Vp(a)[0],yN(t,n)};await $F(n.body,o,s)}else yN(t,n)}function WF(t){if(Wc(t)&&t.request.redirectCount===0)return Promise.resolve(Yp(t));let{request:e}=t,{protocol:r}=ms(e);switch(r){case"about:":return Promise.resolve(ct("about scheme is not supported"));case"blob:":{gN||(gN=require("buffer").resolveObjectURL);let n=ms(e);if(n.search.length!==0)return Promise.resolve(ct("NetworkError when attempting to fetch resource."));let i=gN(n.toString());if(e.method!=="GET"||!Lie(i))return Promise.resolve(ct("invalid method"));let s=Vp(i),o=s[0],a=CN(`${o.length}`),A=s[1]??"",c=Jp({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:a}],["content-type",{name:"Content-Type",value:A}]]});return c.body=o,Promise.resolve(c)}case"data:":{let n=ms(e),i=Xie(n);if(i==="failure")return Promise.resolve(ct("failed to fetch the data URL"));let s=Zie(i.mimeType);return Promise.resolve(Jp({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:Vp(i.body)[0]}))}case"file:":return Promise.resolve(ct("not implemented... yet..."));case"http:":case"https:":return rU(t).catch(n=>ct(n));default:return Promise.resolve(ct("unknown scheme"))}}function ase(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function yN(t,e){e.type==="error"&&(e.urlList=[t.request.urlList[0]],e.timingInfo=BN({startTime:t.timingInfo.startTime}));let r=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e))};if(t.processResponse!=null&&queueMicrotask(()=>t.processResponse(e)),e.body==null)r();else{let n=(s,o)=>{o.enqueue(s)},i=new ese({start(){},transform:n,flush:r},{size(){return 1}},{size(){return 1}});e.body={stream:e.body.stream.pipeThrough(i)}}if(t.processResponseConsumeBody!=null){let n=s=>t.processResponseConsumeBody(e,s),i=s=>t.processResponseConsumeBody(e,s);if(e.body==null)queueMicrotask(()=>n(null));else return $F(e.body,n,i);return Promise.resolve()}}async function rU(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await nU(t),e.responseTainting==="cors"&&kie(e,r)==="failure")return ct("cors failure");Sie(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Pie(e.origin,e.client,e.destination,n)==="blocked"?ct("blocked"):(KF.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(),e.redirect==="error"?r=ct("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Ase(t,r):$c(!1)),r.timingInfo=i,r)}function Ase(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=Rie(n,ms(r).hash),i==null)return e}catch(o){return Promise.resolve(ct(o))}if(!bN(i))return Promise.resolve(ct("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ct("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!EN(r,i))return Promise.resolve(ct('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ct('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ct());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!ise.includes(r.method)){r.method="GET",r.body=null;for(let o of zie)r.headersList.delete(o)}EN(ms(r),i)||(r.headersList.delete("authorization"),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie"),r.headersList.delete("host")),r.body!=null&&($c(r.body.source!=null),r.body=Vp(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=QN(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),vie(r,n),tU(t,!0)}async function nU(t,e=!1,r=!1){let n=t.request,i=null,s=null,o=null,a=null,A=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=Bie(n),i={...t},i.request=s);let c=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",l=s.body?s.body.length:null,u=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(u="0"),l!=null&&(u=CN(`${l}`)),u!=null&&s.headersList.append("content-length",u),l!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",CN(s.referrer.href)),xie(s),Die(s),s.headersList.contains("user-agent")||s.headersList.append("user-agent",typeof esbuildDetection>"u"?"undici":"node"),s.cache==="default"&&(s.headersList.contains("if-modified-since")||s.headersList.contains("if-none-match")||s.headersList.contains("if-unmodified-since")||s.headersList.contains("if-match")||s.headersList.contains("if-range"))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control")&&s.headersList.append("cache-control","max-age=0"),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma")||s.headersList.append("pragma","no-cache"),s.headersList.contains("cache-control")||s.headersList.append("cache-control","no-cache")),s.headersList.contains("range")&&s.headersList.append("accept-encoding","identity"),s.headersList.contains("accept-encoding")||(qie(ms(s))?s.headersList.append("accept-encoding","br, gzip, deflate"):s.headersList.append("accept-encoding","gzip, deflate")),s.headersList.delete("host"),a==null&&(s.cache="no-store"),s.mode!=="no-store"&&s.mode,o==null){if(s.mode==="only-if-cached")return ct("only if cached");let d=await cse(i,c,r);!jie.has(s.method)&&d.status>=200&&d.status<=399,A&&d.status,o==null&&(o=d)}if(o.urlList=[...s.urlList],s.headersList.contains("range")&&(o.rangeRequested=!0),o.requestIncludesCredentials=c,o.status===407)return n.window==="no-window"?ct():Wc(t)?Yp(t):ct("proxy authentication required");if(o.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Wc(t))return Yp(t);t.controller.connection.destroy(),o=await nU(t,e,!0)}return o}async function cse(t,e=!1,r=!1){$c(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(g){this.destroyed||(this.destroyed=!0,this.abort?.(g??new Wp("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let a=r?"yes":"no";n.mode;let A=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let g=async function*(C){Wc(t)||(yield C,t.processRequestBodyChunkLength?.(C.byteLength))},m=()=>{Wc(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},E=C=>{Wc(t)||(C.name==="AbortError"?t.controller.abort():t.controller.terminate(C))};A=(async function*(){try{for await(let C of n.body.stream)yield*g(C);m()}catch(C){E(C)}})()}try{let{body:g,status:m,statusText:E,headersList:C,socket:I}=await f({body:A});if(I)i=Jp({status:m,statusText:E,headersList:C,socket:I});else{let N=g[Symbol.asyncIterator]();t.controller.next=()=>N.next(),i=Jp({status:m,statusText:E,headersList:C})}}catch(g){return g.name==="AbortError"?(t.controller.connection.destroy(),Yp(t,g)):ct(g)}let c=()=>{t.controller.resume()},l=g=>{t.controller.abort(g)};mN||(mN=require("stream/web").ReadableStream);let u=new mN({async start(g){t.controller.controller=g},async pull(g){await c(g)},async cancel(g){await l(g)}},{highWaterMark:0,size(){return 1}});i.body={stream:u},t.controller.on("terminated",d),t.controller.resume=async()=>{for(;;){let g,m;try{let{done:E,value:C}=await t.controller.next();if(YF(t))break;g=E?void 0:C}catch(E){t.controller.ended&&!s.encodedBodySize?g=void 0:(g=E,m=!0)}if(g===void 0){Fie(t.controller.controller),ase(t,i);return}if(s.decodedBodySize+=g?.byteLength??0,m){t.controller.terminate(g);return}if(t.controller.controller.enqueue(new Uint8Array(g)),$ie(u)){t.controller.terminate();return}if(!t.controller.controller.desiredSize)return}};function d(g){YF(t)?(i.aborted=!0,$p(u)&&t.controller.controller.error(t.controller.serializedAbortReason)):$p(u)&&t.controller.controller.error(new TypeError("terminated",{cause:Mie(g)?g:void 0})),t.controller.connection.destroy()}return i;async function f({body:g}){let m=ms(n),E=t.controller.dispatcher;return new Promise((C,I)=>E.dispatch({path:m.pathname+m.search,origin:m.origin,method:n.method,body:t.controller.dispatcher.isMockActive?n.body&&(n.body.source||n.body.stream):g,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(N){let{connection:w}=t.controller;w.destroyed?N(new Wp("The operation was aborted.","AbortError")):(t.controller.on("terminated",N),this.abort=w.abort=N)},onHeaders(N,w,v,T){if(N<200)return;let U=[],k="",J=new GF;if(Array.isArray(w))for(let H=0;H<w.length;H+=2){let _e=w[H+0].toString("latin1"),rt=w[H+1].toString("latin1");_e.toLowerCase()==="content-encoding"?U=rt.toLowerCase().split(",").map(Lr=>Lr.trim()):_e.toLowerCase()==="location"&&(k=rt),J[Vc].append(_e,rt)}else{let H=Object.keys(w);for(let _e of H){let rt=w[_e];_e.toLowerCase()==="content-encoding"?U=rt.toLowerCase().split(",").map(Lr=>Lr.trim()).reverse():_e.toLowerCase()==="location"&&(k=rt),J[Vc].append(_e,rt)}}this.body=new Jie({read:v});let be=[],Re=n.redirect==="follow"&&k&&KF.has(N);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!XF.includes(N)&&!Re)for(let H of U)if(H==="x-gzip"||H==="gzip")be.push(wf.createGunzip({flush:wf.constants.Z_SYNC_FLUSH,finishFlush:wf.constants.Z_SYNC_FLUSH}));else if(H==="deflate")be.push(wf.createInflate());else if(H==="br")be.push(wf.createBrotliDecompress());else{be.length=0;break}return C({status:N,statusText:T,headersList:J[Vc],body:be.length?Vie(this.body,...be,()=>{}):this.body.on("error",()=>{})}),!0},onData(N){if(t.controller.dump)return;let w=N;return s.encodedBodySize+=w.byteLength,this.body.push(w)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.ended=!0,this.body.push(null)},onError(N){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(N),t.controller.terminate(N),I(N)},onUpgrade(N,w,v){if(N!==101)return;let T=new GF;for(let U=0;U<w.length;U+=2){let k=w[U+0].toString("latin1"),J=w[U+1].toString("latin1");T[Vc].append(k,J)}return C({status:N,statusText:nse[N],headersList:T[Vc],socket:v}),!0}}))}}iU.exports={fetch:sse,Fetch:Kp,fetching:eU,finalizeAndReportTiming:ZF}});var NN=h((kLe,sU)=>{"use strict";sU.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 aU=h((PLe,oU)=>{"use strict";var{webidl:Gn}=Wr(),Zp=Symbol("ProgressEvent state"),wN=class t extends Event{constructor(e,r={}){e=Gn.converters.DOMString(e),r=Gn.converters.ProgressEventInit(r??{}),super(e,r),this[Zp]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Gn.brandCheck(this,t),this[Zp].lengthComputable}get loaded(){return Gn.brandCheck(this,t),this[Zp].loaded}get total(){return Gn.brandCheck(this,t),this[Zp].total}};Gn.converters.ProgressEventInit=Gn.dictionaryConverter([{key:"lengthComputable",converter:Gn.converters.boolean,defaultValue:!1},{key:"loaded",converter:Gn.converters["unsigned long long"],defaultValue:0},{key:"total",converter:Gn.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:Gn.converters.boolean,defaultValue:!1},{key:"cancelable",converter:Gn.converters.boolean,defaultValue:!1},{key:"composed",converter:Gn.converters.boolean,defaultValue:!1}]);oU.exports={ProgressEvent:wN}});var cU=h((TLe,AU)=>{"use strict";function lse(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"}}AU.exports={getEncoding:lse}});var pU=h((OLe,mU)=>{"use strict";var{kState:Kc,kError:SN,kResult:lU,kAborted:Sf,kLastProgressEventFired:xN}=NN(),{ProgressEvent:use}=aU(),{getEncoding:uU}=cU(),{DOMException:dse}=To(),{serializeAMimeType:fse,parseMIMEType:dU}=Hi(),{types:hse}=require("util"),{StringDecoder:fU}=require("string_decoder"),{btoa:hU}=require("buffer"),gse={enumerable:!0,writable:!1,configurable:!1};function mse(t,e,r,n){if(t[Kc]==="loading")throw new dse("Invalid state","InvalidStateError");t[Kc]="loading",t[lU]=null,t[SN]=null;let s=e.stream().getReader(),o=[],a=s.read(),A=!0;(async()=>{for(;!t[Sf];)try{let{done:c,value:l}=await a;if(A&&!t[Sf]&&queueMicrotask(()=>{jo("loadstart",t)}),A=!1,!c&&hse.isUint8Array(l))o.push(l),(t[xN]===void 0||Date.now()-t[xN]>=50)&&!t[Sf]&&(t[xN]=Date.now(),queueMicrotask(()=>{jo("progress",t)})),a=s.read();else if(c){queueMicrotask(()=>{t[Kc]="done";try{let u=pse(o,r,e.type,n);if(t[Sf])return;t[lU]=u,jo("load",t)}catch(u){t[SN]=u,jo("error",t)}t[Kc]!=="loading"&&jo("loadend",t)});break}}catch(c){if(t[Sf])return;queueMicrotask(()=>{t[Kc]="done",t[SN]=c,jo("error",t),t[Kc]!=="loading"&&jo("loadend",t)});break}})()}function jo(t,e){let r=new use(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}function pse(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=dU(r||"application/octet-stream");s!=="failure"&&(i+=fse(s)),i+=";base64,";let o=new fU("latin1");for(let a of t)i+=hU(o.write(a));return i+=hU(o.end()),i}case"Text":{let i="failure";if(n&&(i=uU(n)),i==="failure"&&r){let s=dU(r);s!=="failure"&&(i=uU(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),yse(t,i)}case"ArrayBuffer":return gU(t).buffer;case"BinaryString":{let i="",s=new fU("latin1");for(let o of t)i+=s.write(o);return i+=s.end(),i}}}function yse(t,e){let r=gU(t),n=Ese(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}function Ese(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 gU(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}mU.exports={staticPropertyDescriptors:gse,readOperation:mse,fireAProgressEvent:jo}});var IU=h((LLe,CU)=>{"use strict";var{staticPropertyDescriptors:Xc,readOperation:ey,fireAProgressEvent:yU}=pU(),{kState:rA,kError:EU,kResult:ty,kEvents:Je,kAborted:Cse}=NN(),{webidl:ot}=Wr(),{kEnumerableProperty:dn}=Ue(),Yi=class t extends EventTarget{constructor(){super(),this[rA]="empty",this[ty]=null,this[EU]=null,this[Je]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"}),e=ot.converters.Blob(e,{strict:!1}),ey(this,e,"ArrayBuffer")}readAsBinaryString(e){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"}),e=ot.converters.Blob(e,{strict:!1}),ey(this,e,"BinaryString")}readAsText(e,r=void 0){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"}),e=ot.converters.Blob(e,{strict:!1}),r!==void 0&&(r=ot.converters.DOMString(r)),ey(this,e,"Text",r)}readAsDataURL(e){ot.brandCheck(this,t),ot.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"}),e=ot.converters.Blob(e,{strict:!1}),ey(this,e,"DataURL")}abort(){if(this[rA]==="empty"||this[rA]==="done"){this[ty]=null;return}this[rA]==="loading"&&(this[rA]="done",this[ty]=null),this[Cse]=!0,yU("abort",this),this[rA]!=="loading"&&yU("loadend",this)}get readyState(){switch(ot.brandCheck(this,t),this[rA]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ot.brandCheck(this,t),this[ty]}get error(){return ot.brandCheck(this,t),this[EU]}get onloadend(){return ot.brandCheck(this,t),this[Je].loadend}set onloadend(e){ot.brandCheck(this,t),this[Je].loadend&&this.removeEventListener("loadend",this[Je].loadend),typeof e=="function"?(this[Je].loadend=e,this.addEventListener("loadend",e)):this[Je].loadend=null}get onerror(){return ot.brandCheck(this,t),this[Je].error}set onerror(e){ot.brandCheck(this,t),this[Je].error&&this.removeEventListener("error",this[Je].error),typeof e=="function"?(this[Je].error=e,this.addEventListener("error",e)):this[Je].error=null}get onloadstart(){return ot.brandCheck(this,t),this[Je].loadstart}set onloadstart(e){ot.brandCheck(this,t),this[Je].loadstart&&this.removeEventListener("loadstart",this[Je].loadstart),typeof e=="function"?(this[Je].loadstart=e,this.addEventListener("loadstart",e)):this[Je].loadstart=null}get onprogress(){return ot.brandCheck(this,t),this[Je].progress}set onprogress(e){ot.brandCheck(this,t),this[Je].progress&&this.removeEventListener("progress",this[Je].progress),typeof e=="function"?(this[Je].progress=e,this.addEventListener("progress",e)):this[Je].progress=null}get onload(){return ot.brandCheck(this,t),this[Je].load}set onload(e){ot.brandCheck(this,t),this[Je].load&&this.removeEventListener("load",this[Je].load),typeof e=="function"?(this[Je].load=e,this.addEventListener("load",e)):this[Je].load=null}get onabort(){return ot.brandCheck(this,t),this[Je].abort}set onabort(e){ot.brandCheck(this,t),this[Je].abort&&this.removeEventListener("abort",this[Je].abort),typeof e=="function"?(this[Je].abort=e,this.addEventListener("abort",e)):this[Je].abort=null}};Yi.EMPTY=Yi.prototype.EMPTY=0;Yi.LOADING=Yi.prototype.LOADING=1;Yi.DONE=Yi.prototype.DONE=2;Object.defineProperties(Yi.prototype,{EMPTY:Xc,LOADING:Xc,DONE:Xc,readAsArrayBuffer:dn,readAsBinaryString:dn,readAsText:dn,readAsDataURL:dn,abort:dn,readyState:dn,result:dn,error:dn,onloadstart:dn,onprogress:dn,onload:dn,onabort:dn,onerror:dn,onloadend:dn,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Yi,{EMPTY:Xc,LOADING:Xc,DONE:Xc});CU.exports={FileReader:Yi}});var ry=h((MLe,BU)=>{"use strict";BU.exports={kConstruct:It().kConstruct}});var NU=h((FLe,bU)=>{"use strict";var Ise=require("assert"),{URLSerializer:QU}=Hi(),{isValidHeaderName:Bse}=ii();function Qse(t,e,r=!1){let n=QU(t,r),i=QU(e,r);return n===i}function bse(t){Ise(t!==null);let e=[];for(let r of t.split(",")){if(r=r.trim(),r.length){if(!Bse(r))continue}else continue;e.push(r)}return e}bU.exports={urlEquals:Qse,fieldValues:bse}});var _U=h((ULe,vU)=>{"use strict";var{kConstruct:Nse}=ry(),{urlEquals:wse,fieldValues:RN}=NU(),{kEnumerableProperty:nA,isDisturbed:Sse}=Ue(),{kHeadersList:wU}=It(),{webidl:de}=Wr(),{Response:xU,cloneResponse:xse}=Up(),{Request:ps}=Nf(),{kState:en,kHeaders:ny,kGuard:SU,kRealm:Rse}=js(),{fetching:vse}=Xp(),{urlIsHttpHttpsScheme:iy,createDeferredPromise:Zc,readAllBytes:_se}=ii(),vN=require("assert"),{getGlobalDispatcher:Dse}=jc(),sy=class t{#e;constructor(){arguments[0]!==Nse&&de.illegalConstructor(),this.#e=arguments[1]}async match(e,r={}){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.match"}),e=de.converters.RequestInfo(e),r=de.converters.CacheQueryOptions(r);let n=await this.matchAll(e,r);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){de.brandCheck(this,t),e!==void 0&&(e=de.converters.RequestInfo(e)),r=de.converters.CacheQueryOptions(r);let n=null;if(e!==void 0)if(e instanceof ps){if(n=e[en],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new ps(e)[en]);let i=[];if(e===void 0)for(let o of this.#e)i.push(o[1]);else{let o=this.#n(n,r);for(let a of o)i.push(a[1])}let s=[];for(let o of i){let a=new xU(o.body?.source??null),A=a[en].body;a[en]=o,a[en].body=A,a[ny][wU]=o.headersList,a[ny][SU]="immutable",s.push(a)}return Object.freeze(s)}async add(e){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.add"}),e=de.converters.RequestInfo(e);let r=[e];return await this.addAll(r)}async addAll(e){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.addAll"}),e=de.converters["sequence<RequestInfo>"](e);let r=[],n=[];for(let u of e){if(typeof u=="string")continue;let d=u[en];if(!iy(d.url)||d.method!=="GET")throw de.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}let i=[];for(let u of e){let d=new ps(u)[en];if(!iy(d.url))throw de.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."});d.initiator="fetch",d.destination="subresource",n.push(d);let f=Zc();i.push(vse({request:d,dispatcher:Dse(),processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)f.reject(de.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let m=RN(g.headersList.get("vary"));for(let E of m)if(E==="*"){f.reject(de.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let C of i)C.abort();return}}},processResponseEndOfBody(g){if(g.aborted){f.reject(new DOMException("aborted","AbortError"));return}f.resolve(g)}})),r.push(f.promise)}let o=await Promise.all(r),a=[],A=0;for(let u of o){let d={type:"put",request:n[A],response:u};a.push(d),A++}let c=Zc(),l=null;try{this.#r(a)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(void 0):c.reject(l)}),c.promise}async put(e,r){de.brandCheck(this,t),de.argumentLengthCheck(arguments,2,{header:"Cache.put"}),e=de.converters.RequestInfo(e),r=de.converters.Response(r);let n=null;if(e instanceof ps?n=e[en]:n=new ps(e)[en],!iy(n.url)||n.method!=="GET")throw de.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"});let i=r[en];if(i.status===206)throw de.errors.exception({header:"Cache.put",message:"Got 206 status"});if(i.headersList.contains("vary")){let d=RN(i.headersList.get("vary"));for(let f of d)if(f==="*")throw de.errors.exception({header:"Cache.put",message:"Got * vary field value"})}if(i.body&&(Sse(i.body.stream)||i.body.stream.locked))throw de.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"});let s=xse(i),o=Zc();if(i.body!=null){let f=i.body.stream.getReader();_se(f).then(o.resolve,o.reject)}else o.resolve(void 0);let a=[],A={type:"put",request:n,response:s};a.push(A);let c=await o.promise;s.body!=null&&(s.body.source=c);let l=Zc(),u=null;try{this.#r(a)}catch(d){u=d}return queueMicrotask(()=>{u===null?l.resolve():l.reject(u)}),l.promise}async delete(e,r={}){de.brandCheck(this,t),de.argumentLengthCheck(arguments,1,{header:"Cache.delete"}),e=de.converters.RequestInfo(e),r=de.converters.CacheQueryOptions(r);let n=null;if(e instanceof ps){if(n=e[en],n.method!=="GET"&&!r.ignoreMethod)return!1}else vN(typeof e=="string"),n=new ps(e)[en];let i=[],s={type:"delete",request:n,options:r};i.push(s);let o=Zc(),a=null,A;try{A=this.#r(i)}catch(c){a=c}return queueMicrotask(()=>{a===null?o.resolve(!!A?.length):o.reject(a)}),o.promise}async keys(e=void 0,r={}){de.brandCheck(this,t),e!==void 0&&(e=de.converters.RequestInfo(e)),r=de.converters.CacheQueryOptions(r);let n=null;if(e!==void 0)if(e instanceof ps){if(n=e[en],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new ps(e)[en]);let i=Zc(),s=[];if(e===void 0)for(let o of this.#e)s.push(o[0]);else{let o=this.#n(n,r);for(let a of o)s.push(a[0])}return queueMicrotask(()=>{let o=[];for(let a of s){let A=new ps("https://a");A[en]=a,A[ny][wU]=a.headersList,A[ny][SU]="immutable",A[Rse]=a.client,o.push(A)}i.resolve(Object.freeze(o))}),i.promise}#r(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let o of e){if(o.type!=="delete"&&o.type!=="put")throw de.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(o.type==="delete"&&o.response!=null)throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#n(o.request,o.options,i).length)throw new DOMException("???","InvalidStateError");let a;if(o.type==="delete"){if(a=this.#n(o.request,o.options),a.length===0)return[];for(let A of a){let c=r.indexOf(A);vN(c!==-1),r.splice(c,1)}}else if(o.type==="put"){if(o.response==null)throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let A=o.request;if(!iy(A.url))throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(A.method!=="GET")throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(o.options!=null)throw de.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});a=this.#n(o.request);for(let c of a){let l=r.indexOf(c);vN(l!==-1),r.splice(l,1)}r.push([o.request,o.response]),i.push([o.request,o.response])}s.push([o.request,o.response])}return s}catch(o){throw this.#e.length=0,this.#e=n,o}}#n(e,r,n){let i=[],s=n??this.#e;for(let o of s){let[a,A]=o;this.#t(e,a,A,r)&&i.push(o)}return i}#t(e,r,n=null,i){let s=new URL(e.url),o=new URL(r.url);if(i?.ignoreSearch&&(o.search="",s.search=""),!wse(s,o,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let a=RN(n.headersList.get("vary"));for(let A of a){if(A==="*")return!1;let c=r.headersList.get(A),l=e.headersList.get(A);if(c!==l)return!1}return!0}};Object.defineProperties(sy.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:nA,matchAll:nA,add:nA,addAll:nA,put:nA,delete:nA,keys:nA});var RU=[{key:"ignoreSearch",converter:de.converters.boolean,defaultValue:!1},{key:"ignoreMethod",converter:de.converters.boolean,defaultValue:!1},{key:"ignoreVary",converter:de.converters.boolean,defaultValue:!1}];de.converters.CacheQueryOptions=de.dictionaryConverter(RU);de.converters.MultiCacheQueryOptions=de.dictionaryConverter([...RU,{key:"cacheName",converter:de.converters.DOMString}]);de.converters.Response=de.interfaceConverter(xU);de.converters["sequence<RequestInfo>"]=de.sequenceConverter(de.converters.RequestInfo);vU.exports={Cache:sy}});var kU=h((qLe,DU)=>{"use strict";var{kConstruct:xf}=ry(),{Cache:oy}=_U(),{webidl:tn}=Wr(),{kEnumerableProperty:Rf}=Ue(),ay=class t{#e=new Map;constructor(){arguments[0]!==xf&&tn.illegalConstructor()}async match(e,r={}){if(tn.brandCheck(this,t),tn.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"}),e=tn.converters.RequestInfo(e),r=tn.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new oy(xf,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new oy(xf,n).match(e,r);if(s!==void 0)return s}}async has(e){return tn.brandCheck(this,t),tn.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"}),e=tn.converters.DOMString(e),this.#e.has(e)}async open(e){if(tn.brandCheck(this,t),tn.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"}),e=tn.converters.DOMString(e),this.#e.has(e)){let n=this.#e.get(e);return new oy(xf,n)}let r=[];return this.#e.set(e,r),new oy(xf,r)}async delete(e){return tn.brandCheck(this,t),tn.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"}),e=tn.converters.DOMString(e),this.#e.delete(e)}async keys(){return tn.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(ay.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Rf,has:Rf,open:Rf,delete:Rf,keys:Rf});DU.exports={CacheStorage:ay}});var TU=h((HLe,PU)=>{"use strict";PU.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var _N=h((jLe,UU)=>{"use strict";function kse(t){if(t.length===0)return!1;for(let e of t){let r=e.charCodeAt(0);if(r>=0||r<=8||r>=10||r<=31||r===127)return!1}}function OU(t){for(let e of t){let r=e.charCodeAt(0);if(r<=32||r>127||e==="("||e===")"||e===">"||e==="<"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}")throw new Error("Invalid cookie name")}}function LU(t){for(let e of t){let r=e.charCodeAt(0);if(r<33||r===34||r===44||r===59||r===92||r>126)throw new Error("Invalid header value")}}function MU(t){for(let e of t)if(e.charCodeAt(0)<33||e===";")throw new Error("Invalid cookie path")}function Pse(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}function FU(t){typeof t=="number"&&(t=new Date(t));let e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],n=e[t.getUTCDay()],i=t.getUTCDate().toString().padStart(2,"0"),s=r[t.getUTCMonth()],o=t.getUTCFullYear(),a=t.getUTCHours().toString().padStart(2,"0"),A=t.getUTCMinutes().toString().padStart(2,"0"),c=t.getUTCSeconds().toString().padStart(2,"0");return`${n}, ${i} ${s} ${o} ${a}:${A}:${c} GMT`}function Tse(t){if(t<0)throw new Error("Invalid cookie max-age")}function Ose(t){if(t.name.length===0)return null;OU(t.name),LU(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"&&(Tse(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Pse(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(MU(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${FU(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,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}UU.exports={isCTLExcludingHtab:kse,validateCookieName:OU,validateCookiePath:MU,validateCookieValue:LU,toIMFDate:FU,stringify:Ose}});var HU=h((zLe,qU)=>{"use strict";var{maxNameValuePairSize:Lse,maxAttributeValueSize:Mse}=TU(),{isCTLExcludingHtab:Fse}=_N(),{collectASequenceOfCodePointsFast:Ay}=Hi(),Use=require("assert");function qse(t){if(Fse(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=Ay(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=Ay("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>Lse?null:{name:n,value:i,...el(r)}}function el(t,e={}){if(t.length===0)return e;Use(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Ay(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let o={position:0};n=Ay("=",r,o),i=r.slice(o.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>Mse)return el(t,e);let s=n.toLowerCase();if(s==="expires"){let o=new Date(i);e.expires=o}else if(s==="max-age"){let o=i.charCodeAt(0);if((o<48||o>57)&&i[0]!=="-"||!/^\d+$/.test(i))return el(t,e);let a=Number(i);e.maxAge=a}else if(s==="domain"){let o=i;o[0]==="."&&(o=o.slice(1)),o=o.toLowerCase(),e.domain=o}else if(s==="path"){let o="";i.length===0||i[0]!=="/"?o="/":o=i,e.path=o}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let o="Default",a=i.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}=${i}`);return el(t,e)}qU.exports={parseSetCookie:qse,parseUnparsedAttributes:el}});var YU=h((GLe,GU)=>{"use strict";var{parseSetCookie:Hse}=HU(),{stringify:jU}=_N(),{webidl:Te}=Wr(),{Headers:cy}=eA();function jse(t){Te.argumentLengthCheck(arguments,1,{header:"getCookies"}),Te.brandCheck(t,cy,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}function zse(t,e,r){Te.argumentLengthCheck(arguments,2,{header:"deleteCookie"}),Te.brandCheck(t,cy,{strict:!1}),e=Te.converters.DOMString(e),r=Te.converters.DeleteCookieAttributes(r),zU(t,{name:e,value:"",expires:new Date(0),...r})}function Gse(t){Te.argumentLengthCheck(arguments,1,{header:"getSetCookies"}),Te.brandCheck(t,cy,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Hse(r)):[]}function zU(t,e){Te.argumentLengthCheck(arguments,2,{header:"setCookie"}),Te.brandCheck(t,cy,{strict:!1}),e=Te.converters.Cookie(e),jU(e)&&t.append("Set-Cookie",jU(e))}Te.converters.DeleteCookieAttributes=Te.dictionaryConverter([{converter:Te.nullableConverter(Te.converters.DOMString),key:"path",defaultValue:null},{converter:Te.nullableConverter(Te.converters.DOMString),key:"domain",defaultValue:null}]);Te.converters.Cookie=Te.dictionaryConverter([{converter:Te.converters.DOMString,key:"name"},{converter:Te.converters.DOMString,key:"value"},{converter:Te.nullableConverter(t=>typeof t=="number"?Te.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:null},{converter:Te.nullableConverter(Te.converters["long long"]),key:"maxAge",defaultValue:null},{converter:Te.nullableConverter(Te.converters.DOMString),key:"domain",defaultValue:null},{converter:Te.nullableConverter(Te.converters.DOMString),key:"path",defaultValue:null},{converter:Te.nullableConverter(Te.converters.boolean),key:"secure",defaultValue:null},{converter:Te.nullableConverter(Te.converters.boolean),key:"httpOnly",defaultValue:null},{converter:Te.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Te.sequenceConverter(Te.converters.DOMString),key:"unparsed",defaultValue:[]}]);GU.exports={getCookies:jse,deleteCookie:zse,getSetCookies:Gse,setCookie:zU}});var tl=h((YLe,JU)=>{"use strict";var Yse="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Jse={enumerable:!0,writable:!1,configurable:!1},Vse={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Wse={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},$se=2**16-1,Kse={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Xse=Buffer.allocUnsafe(0);JU.exports={uid:Yse,staticPropertyDescriptors:Jse,states:Vse,opcodes:Wse,maxUnsigned16Bit:$se,parserStates:Kse,emptyBuffer:Xse}});var vf=h((JLe,VU)=>{"use strict";VU.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 kN=h((VLe,WU)=>{"use strict";var{webidl:fe}=Wr(),{kEnumerableProperty:fn}=Ue(),{MessagePort:Zse}=require("worker_threads"),ly=class t extends Event{#e;constructor(e,r={}){fe.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"}),e=fe.converters.DOMString(e),r=fe.converters.MessageEventInit(r),super(e,r),this.#e=r}get data(){return fe.brandCheck(this,t),this.#e.data}get origin(){return fe.brandCheck(this,t),this.#e.origin}get lastEventId(){return fe.brandCheck(this,t),this.#e.lastEventId}get source(){return fe.brandCheck(this,t),this.#e.source}get ports(){return fe.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",o="",a=null,A=[]){return fe.brandCheck(this,t),fe.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"}),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:o,source:a,ports:A})}},uy=class t extends Event{#e;constructor(e,r={}){fe.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"}),e=fe.converters.DOMString(e),r=fe.converters.CloseEventInit(r),super(e,r),this.#e=r}get wasClean(){return fe.brandCheck(this,t),this.#e.wasClean}get code(){return fe.brandCheck(this,t),this.#e.code}get reason(){return fe.brandCheck(this,t),this.#e.reason}},dy=class t extends Event{#e;constructor(e,r){fe.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"}),super(e,r),e=fe.converters.DOMString(e),r=fe.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return fe.brandCheck(this,t),this.#e.message}get filename(){return fe.brandCheck(this,t),this.#e.filename}get lineno(){return fe.brandCheck(this,t),this.#e.lineno}get colno(){return fe.brandCheck(this,t),this.#e.colno}get error(){return fe.brandCheck(this,t),this.#e.error}};Object.defineProperties(ly.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:fn,origin:fn,lastEventId:fn,source:fn,ports:fn,initMessageEvent:fn});Object.defineProperties(uy.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:fn,code:fn,wasClean:fn});Object.defineProperties(dy.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:fn,filename:fn,lineno:fn,colno:fn,error:fn});fe.converters.MessagePort=fe.interfaceConverter(Zse);fe.converters["sequence<MessagePort>"]=fe.sequenceConverter(fe.converters.MessagePort);var DN=[{key:"bubbles",converter:fe.converters.boolean,defaultValue:!1},{key:"cancelable",converter:fe.converters.boolean,defaultValue:!1},{key:"composed",converter:fe.converters.boolean,defaultValue:!1}];fe.converters.MessageEventInit=fe.dictionaryConverter([...DN,{key:"data",converter:fe.converters.any,defaultValue:null},{key:"origin",converter:fe.converters.USVString,defaultValue:""},{key:"lastEventId",converter:fe.converters.DOMString,defaultValue:""},{key:"source",converter:fe.nullableConverter(fe.converters.MessagePort),defaultValue:null},{key:"ports",converter:fe.converters["sequence<MessagePort>"],get defaultValue(){return[]}}]);fe.converters.CloseEventInit=fe.dictionaryConverter([...DN,{key:"wasClean",converter:fe.converters.boolean,defaultValue:!1},{key:"code",converter:fe.converters["unsigned short"],defaultValue:0},{key:"reason",converter:fe.converters.USVString,defaultValue:""}]);fe.converters.ErrorEventInit=fe.dictionaryConverter([...DN,{key:"message",converter:fe.converters.DOMString,defaultValue:""},{key:"filename",converter:fe.converters.USVString,defaultValue:""},{key:"lineno",converter:fe.converters["unsigned long"],defaultValue:0},{key:"colno",converter:fe.converters["unsigned long"],defaultValue:0},{key:"error",converter:fe.converters.any}]);WU.exports={MessageEvent:ly,CloseEvent:uy,ErrorEvent:dy}});var gy=h((WLe,XU)=>{"use strict";var{kReadyState:fy,kController:eoe,kResponse:toe,kBinaryType:roe,kWebSocketURL:noe}=vf(),{states:hy,opcodes:$U}=tl(),{MessageEvent:ioe,ErrorEvent:soe}=kN();function ooe(t){return t[fy]===hy.OPEN}function aoe(t){return t[fy]===hy.CLOSING}function Aoe(t){return t[fy]===hy.CLOSED}function PN(t,e,r=Event,n){let i=new r(t,n);e.dispatchEvent(i)}function coe(t,e,r){if(t[fy]!==hy.OPEN)return;let n;if(e===$U.TEXT)try{n=new TextDecoder("utf-8",{fatal:!0}).decode(r)}catch{KU(t,"Received invalid UTF-8 in text frame.");return}else e===$U.BINARY&&(t[roe]==="blob"?n=new Blob([r]):n=new Uint8Array(r).buffer);PN("message",t,ioe,{origin:t[noe].origin,data:n})}function loe(t){if(t.length===0)return!1;for(let e of t){let r=e.charCodeAt(0);if(r<33||r>126||e==="("||e===")"||e==="<"||e===">"||e==="@"||e===","||e===";"||e===":"||e==="\\"||e==='"'||e==="/"||e==="["||e==="]"||e==="?"||e==="="||e==="{"||e==="}"||r===32||r===9)return!1}return!0}function uoe(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function KU(t,e){let{[eoe]:r,[toe]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&PN("error",t,soe,{error:new Error(e)})}XU.exports={isEstablished:ooe,isClosing:aoe,isClosed:Aoe,fireEvent:PN,isValidSubprotocol:loe,isValidStatusCode:uoe,failWebsocketConnection:KU,websocketMessageReceived:coe}});var i1=h(($Le,n1)=>{"use strict";var ON=require("diagnostics_channel"),{uid:doe,states:e1}=tl(),{kReadyState:t1,kSentClose:ZU,kByteParser:r1,kReceivedClose:foe}=vf(),{fireEvent:hoe,failWebsocketConnection:iA}=gy(),{CloseEvent:goe}=kN(),{makeRequest:moe}=Nf(),{fetching:poe}=Xp(),{Headers:yoe}=eA(),{getGlobalDispatcher:Eoe}=jc(),{kHeadersList:Coe}=It(),Xs={};Xs.open=ON.channel("undici:websocket:open");Xs.close=ON.channel("undici:websocket:close");Xs.socketError=ON.channel("undici:websocket:socket_error");var TN;try{TN=require("crypto")}catch{}function Ioe(t,e,r,n,i){let s=t;s.protocol=t.protocol==="ws:"?"http:":"https:";let o=moe({urlList:[s],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let l=new yoe(i.headers)[Coe];o.headersList=l}let a=TN.randomBytes(16).toString("base64");o.headersList.append("sec-websocket-key",a),o.headersList.append("sec-websocket-version","13");for(let l of e)o.headersList.append("sec-websocket-protocol",l);let A="";return poe({request:o,useParallelQueue:!0,dispatcher:i.dispatcher??Eoe(),processResponse(l){if(l.type==="error"||l.status!==101){iA(r,"Received network error or non-101 status code.");return}if(e.length!==0&&!l.headersList.get("Sec-WebSocket-Protocol")){iA(r,"Server did not respond with sent protocols.");return}if(l.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){iA(r,'Server did not set Upgrade header to "websocket".');return}if(l.headersList.get("Connection")?.toLowerCase()!=="upgrade"){iA(r,'Server did not set Connection header to "upgrade".');return}let u=l.headersList.get("Sec-WebSocket-Accept"),d=TN.createHash("sha1").update(a+doe).digest("base64");if(u!==d){iA(r,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let f=l.headersList.get("Sec-WebSocket-Extensions");if(f!==null&&f!==A){iA(r,"Received different permessage-deflate than the one set.");return}let g=l.headersList.get("Sec-WebSocket-Protocol");if(g!==null&&g!==o.headersList.get("Sec-WebSocket-Protocol")){iA(r,"Protocol was not set in the opening handshake.");return}l.socket.on("data",Boe),l.socket.on("close",Qoe),l.socket.on("error",boe),Xs.open.hasSubscribers&&Xs.open.publish({address:l.socket.address(),protocol:g,extensions:f}),n(l)}})}function Boe(t){this.ws[r1].write(t)||this.pause()}function Qoe(){let{ws:t}=this,e=t[ZU]&&t[foe],r=1005,n="",i=t[r1].closingInfo;i?(r=i.code??1005,n=i.reason):t[ZU]||(r=1006),t[t1]=e1.CLOSED,hoe("close",t,goe,{wasClean:e,code:r,reason:n}),Xs.close.hasSubscribers&&Xs.close.publish({websocket:t,code:r,reason:n})}function boe(t){let{ws:e}=this;e[t1]=e1.CLOSING,Xs.socketError.hasSubscribers&&Xs.socketError.publish(t),this.destroy()}n1.exports={establishWebSocketConnection:Ioe}});var MN=h((KLe,o1)=>{"use strict";var{maxUnsigned16Bit:Noe}=tl(),s1;try{s1=require("crypto")}catch{}var LN=class{constructor(e){this.frameData=e,this.maskKey=s1.randomBytes(4)}createFrame(e){let r=this.frameData?.byteLength??0,n=r,i=6;r>Noe?(i+=8,n=127):r>125&&(i+=2,n=126);let s=Buffer.allocUnsafe(r+i);s[0]=s[1]=0,s[0]|=128,s[0]=(s[0]&240)+e;s[i-4]=this.maskKey[0],s[i-3]=this.maskKey[1],s[i-2]=this.maskKey[2],s[i-1]=this.maskKey[3],s[1]=n,n===126?s.writeUInt16BE(r,2):n===127&&(s[2]=s[3]=0,s.writeUIntBE(r,4,6)),s[1]|=128;for(let o=0;o<r;o++)s[i+o]=this.frameData[o]^this.maskKey[o%4];return s}};o1.exports={WebsocketFrameSend:LN}});var h1=h((XLe,f1)=>{"use strict";var{Writable:woe}=require("stream"),d1=require("diagnostics_channel"),{parserStates:ai,opcodes:Ai,states:Soe,emptyBuffer:xoe}=tl(),{kReadyState:Roe,kSentClose:a1,kResponse:A1,kReceivedClose:c1}=vf(),{isValidStatusCode:l1,failWebsocketConnection:_f,websocketMessageReceived:voe}=gy(),{WebsocketFrameSend:u1}=MN(),rl={};rl.ping=d1.channel("undici:websocket:ping");rl.pong=d1.channel("undici:websocket:pong");var FN=class extends woe{#e=[];#r=0;#n=ai.INFO;#t={};#i=[];constructor(e){super(),this.ws=e}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.run(n)}run(e){for(;;){if(this.#n===ai.INFO){if(this.#r<2)return e();let r=this.consume(2);if(this.#t.fin=(r[0]&128)!==0,this.#t.opcode=r[0]&15,this.#t.originalOpcode??=this.#t.opcode,this.#t.fragmented=!this.#t.fin&&this.#t.opcode!==Ai.CONTINUATION,this.#t.fragmented&&this.#t.opcode!==Ai.BINARY&&this.#t.opcode!==Ai.TEXT){_f(this.ws,"Invalid frame type was fragmented.");return}let n=r[1]&127;if(n<=125?(this.#t.payloadLength=n,this.#n=ai.READ_DATA):n===126?this.#n=ai.PAYLOADLENGTH_16:n===127&&(this.#n=ai.PAYLOADLENGTH_64),this.#t.fragmented&&n>125){_f(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#t.opcode===Ai.PING||this.#t.opcode===Ai.PONG||this.#t.opcode===Ai.CLOSE)&&n>125){_f(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#t.opcode===Ai.CLOSE){if(n===1){_f(this.ws,"Received close frame with a 1-byte body.");return}let i=this.consume(n);if(this.#t.closeInfo=this.parseCloseBody(!1,i),!this.ws[a1]){let s=Buffer.allocUnsafe(2);s.writeUInt16BE(this.#t.closeInfo.code,0);let o=new u1(s);this.ws[A1].socket.write(o.createFrame(Ai.CLOSE),a=>{a||(this.ws[a1]=!0)})}this.ws[Roe]=Soe.CLOSING,this.ws[c1]=!0,this.end();return}else if(this.#t.opcode===Ai.PING){let i=this.consume(n);if(!this.ws[c1]){let s=new u1(i);this.ws[A1].socket.write(s.createFrame(Ai.PONG)),rl.ping.hasSubscribers&&rl.ping.publish({payload:i})}if(this.#n=ai.INFO,this.#r>0)continue;e();return}else if(this.#t.opcode===Ai.PONG){let i=this.consume(n);if(rl.pong.hasSubscribers&&rl.pong.publish({payload:i}),this.#r>0)continue;e();return}}else if(this.#n===ai.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);this.#t.payloadLength=r.readUInt16BE(0),this.#n=ai.READ_DATA}else if(this.#n===ai.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){_f(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#t.payloadLength=(n<<8)+i,this.#n=ai.READ_DATA}else if(this.#n===ai.READ_DATA){if(this.#r<this.#t.payloadLength)return e();if(this.#r>=this.#t.payloadLength){let r=this.consume(this.#t.payloadLength);if(this.#i.push(r),!this.#t.fragmented||this.#t.fin&&this.#t.opcode===Ai.CONTINUATION){let n=Buffer.concat(this.#i);voe(this.ws,this.#t.originalOpcode,n),this.#t={},this.#i.length=0}this.#n=ai.INFO}}if(!(this.#r>0)){e();break}}}consume(e){if(e>this.#r)return null;if(e===0)return xoe;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 i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#r-=e,r}parseCloseBody(e,r){let n;if(r.length>=2&&(n=r.readUInt16BE(0)),e)return l1(n)?{code:n}:null;let i=r.subarray(2);if(i[0]===239&&i[1]===187&&i[2]===191&&(i=i.subarray(3)),n!==void 0&&!l1(n))return null;try{i=new TextDecoder("utf-8",{fatal:!0}).decode(i)}catch{return null}return{code:n,reason:i}}get closingInfo(){return this.#t.closeInfo}};f1.exports={ByteParser:FN}});var B1=h((ZLe,I1)=>{"use strict";var{webidl:Ce}=Wr(),{DOMException:zo}=To(),{URLSerializer:_oe}=Hi(),{getGlobalOrigin:Doe}=Ic(),{staticPropertyDescriptors:Go,states:nl,opcodes:Df,emptyBuffer:koe}=tl(),{kWebSocketURL:g1,kReadyState:Zs,kController:Poe,kBinaryType:my,kResponse:py,kSentClose:Toe,kByteParser:Ooe}=vf(),{isEstablished:m1,isClosing:p1,isValidSubprotocol:Loe,failWebsocketConnection:Moe,fireEvent:Foe}=gy(),{establishWebSocketConnection:Uoe}=i1(),{WebsocketFrameSend:kf}=MN(),{ByteParser:qoe}=h1(),{kEnumerableProperty:ci,isBlobLike:E1}=Ue(),{getGlobalDispatcher:Hoe}=jc(),{types:C1}=require("util"),y1=!1,Yn=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#r=0;#n="";#t="";constructor(e,r=[]){super(),Ce.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"}),y1||(y1=!0,process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"}));let n=Ce.converters["DOMString or sequence<DOMString> or WebSocketInit"](r);e=Ce.converters.USVString(e),r=n.protocols;let i=Doe(),s;try{s=new URL(e,i)}catch(o){throw new zo(o,"SyntaxError")}if(s.protocol==="http:"?s.protocol="ws:":s.protocol==="https:"&&(s.protocol="wss:"),s.protocol!=="ws:"&&s.protocol!=="wss:")throw new zo(`Expected a ws: or wss: protocol, got ${s.protocol}`,"SyntaxError");if(s.hash||s.href.endsWith("#"))throw new zo("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(o=>o.toLowerCase())).size)throw new zo("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(o=>Loe(o)))throw new zo("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[g1]=new URL(s.href),this[Poe]=Uoe(s,r,this,o=>this.#i(o),n),this[Zs]=t.CONNECTING,this[my]="blob"}close(e=void 0,r=void 0){if(Ce.brandCheck(this,t),e!==void 0&&(e=Ce.converters["unsigned short"](e,{clamp:!0})),r!==void 0&&(r=Ce.converters.USVString(r)),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new zo("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new zo(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");if(!(this[Zs]===t.CLOSING||this[Zs]===t.CLOSED))if(!m1(this))Moe(this,"Connection was closed before it was established."),this[Zs]=t.CLOSING;else if(p1(this))this[Zs]=t.CLOSING;else{let i=new kf;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=koe,this[py].socket.write(i.createFrame(Df.CLOSE),o=>{o||(this[Toe]=!0)}),this[Zs]=nl.CLOSING}}send(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,{header:"WebSocket.send"}),e=Ce.converters.WebSocketSendData(e),this[Zs]===t.CONNECTING)throw new zo("Sent before connected.","InvalidStateError");if(!m1(this)||p1(this))return;let r=this[py].socket;if(typeof e=="string"){let n=Buffer.from(e),s=new kf(n).createFrame(Df.TEXT);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(C1.isArrayBuffer(e)){let n=Buffer.from(e),s=new kf(n).createFrame(Df.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(ArrayBuffer.isView(e)){let n=Buffer.from(e,e.byteOffset,e.byteLength),s=new kf(n).createFrame(Df.BINARY);this.#r+=n.byteLength,r.write(s,()=>{this.#r-=n.byteLength})}else if(E1(e)){let n=new kf;e.arrayBuffer().then(i=>{let s=Buffer.from(i);n.frameData=s;let o=n.createFrame(Df.BINARY);this.#r+=s.byteLength,r.write(o,()=>{this.#r-=s.byteLength})})}}get readyState(){return Ce.brandCheck(this,t),this[Zs]}get bufferedAmount(){return Ce.brandCheck(this,t),this.#r}get url(){return Ce.brandCheck(this,t),_oe(this[g1])}get extensions(){return Ce.brandCheck(this,t),this.#t}get protocol(){return Ce.brandCheck(this,t),this.#n}get onopen(){return Ce.brandCheck(this,t),this.#e.open}set onopen(e){Ce.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 Ce.brandCheck(this,t),this.#e.error}set onerror(e){Ce.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 Ce.brandCheck(this,t),this.#e.close}set onclose(e){Ce.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 Ce.brandCheck(this,t),this.#e.message}set onmessage(e){Ce.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 Ce.brandCheck(this,t),this[my]}set binaryType(e){Ce.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[my]="blob":this[my]=e}#i(e){this[py]=e;let r=new qoe(this);r.on("drain",function(){this.ws[py].socket.resume()}),e.socket.ws=this,this[Ooe]=r,this[Zs]=nl.OPEN;let n=e.headersList.get("sec-websocket-extensions");n!==null&&(this.#t=n);let i=e.headersList.get("sec-websocket-protocol");i!==null&&(this.#n=i),Foe("open",this)}};Yn.CONNECTING=Yn.prototype.CONNECTING=nl.CONNECTING;Yn.OPEN=Yn.prototype.OPEN=nl.OPEN;Yn.CLOSING=Yn.prototype.CLOSING=nl.CLOSING;Yn.CLOSED=Yn.prototype.CLOSED=nl.CLOSED;Object.defineProperties(Yn.prototype,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go,url:ci,readyState:ci,bufferedAmount:ci,onopen:ci,onerror:ci,onclose:ci,close:ci,onmessage:ci,binaryType:ci,send:ci,extensions:ci,protocol:ci,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Yn,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go});Ce.converters["sequence<DOMString>"]=Ce.sequenceConverter(Ce.converters.DOMString);Ce.converters["DOMString or sequence<DOMString>"]=function(t){return Ce.util.Type(t)==="Object"&&Symbol.iterator in t?Ce.converters["sequence<DOMString>"](t):Ce.converters.DOMString(t)};Ce.converters.WebSocketInit=Ce.dictionaryConverter([{key:"protocols",converter:Ce.converters["DOMString or sequence<DOMString>"],get defaultValue(){return[]}},{key:"dispatcher",converter:t=>t,get defaultValue(){return Hoe()}},{key:"headers",converter:Ce.nullableConverter(Ce.converters.HeadersInit)}]);Ce.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return Ce.util.Type(t)==="Object"&&!(Symbol.iterator in t)?Ce.converters.WebSocketInit(t):{protocols:Ce.converters["DOMString or sequence<DOMString>"](t)}};Ce.converters.WebSocketSendData=function(t){if(Ce.util.Type(t)==="Object"){if(E1(t))return Ce.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||C1.isAnyArrayBuffer(t))return Ce.converters.BufferSource(t)}return Ce.converters.USVString(t)};I1.exports={WebSocket:Yn}});var w1=h((eMe,Ne)=>{"use strict";var joe=df(),Q1=Xm(),b1=At(),zoe=Pc(),Goe=TL(),Yoe=mf(),sA=Ue(),{InvalidArgumentError:yy}=b1,il=wM(),Joe=nf(),Voe=W0(),Woe=AF(),$oe=X0(),Koe=L0(),Xoe=hF(),Zoe=EF(),{getGlobalDispatcher:N1,setGlobalDispatcher:eae}=jc(),tae=NF(),rae=Vb(),nae=rp(),UN;try{require("crypto"),UN=!0}catch{UN=!1}Object.assign(Q1.prototype,il);Ne.exports.Dispatcher=Q1;Ne.exports.Client=joe;Ne.exports.Pool=zoe;Ne.exports.BalancedPool=Goe;Ne.exports.Agent=Yoe;Ne.exports.ProxyAgent=Xoe;Ne.exports.RetryHandler=Zoe;Ne.exports.DecoratorHandler=tae;Ne.exports.RedirectHandler=rae;Ne.exports.createRedirectInterceptor=nae;Ne.exports.buildConnector=Joe;Ne.exports.errors=b1;function Pf(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 yy("invalid url");if(r!=null&&typeof r!="object")throw new yy("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new yy("invalid opts.path");let o=r.path;r.path.startsWith("/")||(o=`/${o}`),e=new URL(sA.parseOrigin(e).origin+o)}else r||(r=typeof e=="object"?e:{}),e=sA.parseURL(e);let{agent:i,dispatcher:s=N1()}=r;if(i)throw new yy("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}Ne.exports.setGlobalDispatcher=eae;Ne.exports.getGlobalDispatcher=N1;if(sA.nodeMajor>16||sA.nodeMajor===16&&sA.nodeMinor>=8){let t=null;Ne.exports.fetch=async function(o){t||(t=Xp().fetch);try{return await t(...arguments)}catch(a){throw typeof a=="object"&&Error.captureStackTrace(a,this),a}},Ne.exports.Headers=eA().Headers,Ne.exports.Response=Up().Response,Ne.exports.Request=Nf().Request,Ne.exports.FormData=Wm().FormData,Ne.exports.File=Jm().File,Ne.exports.FileReader=IU().FileReader;let{setGlobalOrigin:e,getGlobalOrigin:r}=Ic();Ne.exports.setGlobalOrigin=e,Ne.exports.getGlobalOrigin=r;let{CacheStorage:n}=kU(),{kConstruct:i}=ry();Ne.exports.caches=new n(i)}if(sA.nodeMajor>=16){let{deleteCookie:t,getCookies:e,getSetCookies:r,setCookie:n}=YU();Ne.exports.deleteCookie=t,Ne.exports.getCookies=e,Ne.exports.getSetCookies=r,Ne.exports.setCookie=n;let{parseMIMEType:i,serializeAMimeType:s}=Hi();Ne.exports.parseMIMEType=i,Ne.exports.serializeAMimeType=s}if(sA.nodeMajor>=18&&UN){let{WebSocket:t}=B1();Ne.exports.WebSocket=t}Ne.exports.request=Pf(il.request);Ne.exports.stream=Pf(il.stream);Ne.exports.pipeline=Pf(il.pipeline);Ne.exports.connect=Pf(il.connect);Ne.exports.upgrade=Pf(il.upgrade);Ne.exports.MockClient=Voe;Ne.exports.MockPool=$oe;Ne.exports.MockAgent=Woe;Ne.exports.mockErrors=Koe});var oA=h(mt=>{"use strict";var iae=mt&&mt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),sae=mt&&mt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Qy=mt&&mt.__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)&&iae(e,t,r);return sae(e,t),e},$t=mt&&mt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(mt,"__esModule",{value:!0});mt.HttpClient=mt.isHttps=mt.HttpClientResponse=mt.HttpClientError=mt.getProxyUrl=mt.MediaTypes=mt.Headers=mt.HttpCodes=void 0;var qN=Qy(require("http")),S1=Qy(require("https")),HN=Qy(OP()),Ey=Qy(HP()),oae=w1(),li;(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"})(li||(mt.HttpCodes=li={}));var qr;(function(t){t.Accept="accept",t.ContentType="content-type"})(qr||(mt.Headers=qr={}));var eo;(function(t){t.ApplicationJson="application/json"})(eo||(mt.MediaTypes=eo={}));function aae(t){let e=HN.getProxyUrl(new URL(t));return e?e.href:""}mt.getProxyUrl=aae;var Aae=[li.MovedPermanently,li.ResourceMoved,li.SeeOther,li.TemporaryRedirect,li.PermanentRedirect],cae=[li.BadGateway,li.ServiceUnavailable,li.GatewayTimeout],lae=["OPTIONS","GET","DELETE","HEAD"],uae=10,dae=5,Iy=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};mt.HttpClientError=Iy;var By=class{constructor(e){this.message=e}readBody(){return $t(this,void 0,void 0,function*(){return new Promise(e=>$t(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 $t(this,void 0,void 0,function*(){return new Promise(e=>$t(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};mt.HttpClientResponse=By;function fae(t){return new URL(t).protocol==="https:"}mt.isHttps=fae;var jN=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=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 $t(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return $t(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return $t(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return $t(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return $t(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return $t(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return $t(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return $t(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e,r={}){return $t(this,void 0,void 0,function*(){r[qr.Accept]=this._getExistingOrDefaultHeader(r,qr.Accept,eo.ApplicationJson);let n=yield this.get(e,r);return this._processResponse(n,this.requestOptions)})}postJson(e,r,n={}){return $t(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[qr.Accept]=this._getExistingOrDefaultHeader(n,qr.Accept,eo.ApplicationJson),n[qr.ContentType]=this._getExistingOrDefaultHeader(n,qr.ContentType,eo.ApplicationJson);let s=yield this.post(e,i,n);return this._processResponse(s,this.requestOptions)})}putJson(e,r,n={}){return $t(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[qr.Accept]=this._getExistingOrDefaultHeader(n,qr.Accept,eo.ApplicationJson),n[qr.ContentType]=this._getExistingOrDefaultHeader(n,qr.ContentType,eo.ApplicationJson);let s=yield this.put(e,i,n);return this._processResponse(s,this.requestOptions)})}patchJson(e,r,n={}){return $t(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[qr.Accept]=this._getExistingOrDefaultHeader(n,qr.Accept,eo.ApplicationJson),n[qr.ContentType]=this._getExistingOrDefaultHeader(n,qr.ContentType,eo.ApplicationJson);let s=yield this.patch(e,i,n);return this._processResponse(s,this.requestOptions)})}request(e,r,n,i){return $t(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),o=this._prepareRequest(e,s,i),a=this._allowRetries&&lae.includes(e)?this._maxRetries+1:1,A=0,c;do{if(c=yield this.requestRaw(o,n),c&&c.message&&c.message.statusCode===li.Unauthorized){let u;for(let d of this.handlers)if(d.canHandleAuthentication(c)){u=d;break}return u?u.handleAuthentication(this,o,n):c}let l=this._maxRedirects;for(;c.message.statusCode&&Aae.includes(c.message.statusCode)&&this._allowRedirects&&l>0;){let u=c.message.headers.location;if(!u)break;let d=new URL(u);if(s.protocol==="https:"&&s.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 c.readBody(),d.hostname!==s.hostname)for(let f in i)f.toLowerCase()==="authorization"&&delete i[f];o=this._prepareRequest(e,d,i),c=yield this.requestRaw(o,n),l--}if(!c.message.statusCode||!cae.includes(c.message.statusCode))return c;A+=1,A<a&&(yield c.readBody(),yield this._performExponentialBackoff(A))}while(A<a);return c})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return $t(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(o,a){o?i(o):a?n(a):i(new Error("Unknown error"))}this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(A,c){i||(i=!0,n(A,c))}let o=e.httpModule.request(e.options,A=>{let c=new By(A);s(void 0,c)}),a;o.on("socket",A=>{a=A}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),s(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(A){s(A)}),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=HN.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?S1:qN;let o=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):o,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let a of this.handlers)a.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Cy(this.requestOptions.headers),Cy(e||{})):Cy(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=Cy(this.requestOptions.headers)[r]),e[r]||i||n}_getAgent(e){let r,n=HN.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||qN.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})},A,c=n.protocol==="https:";s?A=c?Ey.httpsOverHttps:Ey.httpsOverHttp:A=c?Ey.httpOverHttps:Ey.httpOverHttp,r=A(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=s?new S1.Agent(a):new qN.Agent(a),this._agent=r}return s&&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 i=e.protocol==="https:";return n=new oae.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,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_performExponentialBackoff(e){return $t(this,void 0,void 0,function*(){e=Math.min(uae,e);let r=dae*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return $t(this,void 0,void 0,function*(){return new Promise((n,i)=>$t(this,void 0,void 0,function*(){let s=e.message.statusCode||0,o={statusCode:s,result:null,headers:{}};s===li.NotFound&&n(o);function a(l,u){if(typeof u=="string"){let d=new Date(u);if(!isNaN(d.valueOf()))return d}return u}let A,c;try{c=yield e.readBody(),c&&c.length>0&&(r&&r.deserializeDates?A=JSON.parse(c,a):A=JSON.parse(c),o.result=A),o.headers=e.message.headers}catch{}if(s>299){let l;A&&A.message?l=A.message:c&&c.length>0?l=c:l=`Failed request: (${s})`;let u=new Iy(l,s);u.result=o.result,i(u)}else n(o)}))})}};mt.HttpClient=jN;var Cy=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{})});var by=h(ys=>{"use strict";var JN=ys&&ys.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(ys,"__esModule",{value:!0});ys.PersonalAccessTokenCredentialHandler=ys.BearerCredentialHandler=ys.BasicCredentialHandler=void 0;var zN=class{constructor(e,r){this.username=e,this.password=r}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return JN(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ys.BasicCredentialHandler=zN;var GN=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 JN(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ys.BearerCredentialHandler=GN;var YN=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return JN(this,void 0,void 0,function*(){throw new Error("not implemented")})}};ys.PersonalAccessTokenCredentialHandler=YN});var v1=h(sl=>{"use strict";var x1=sl&&sl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(sl,"__esModule",{value:!0});sl.OidcClient=void 0;var hae=oA(),gae=by(),R1=at(),VN=class t{static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new hae.HttpClient("actions/oidc-client",[new gae.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var r;return x1(this,void 0,void 0,function*(){let s=(r=(yield t.createHttpClient().getJson(e).catch(o=>{throw new Error(`Failed to get ID Token.
|
|
|
|
Error Code : ${o.statusCode}
|
|
|
|
Error Message: ${o.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(e){return x1(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,R1.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,R1.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};sl.OidcClient=VN});var XN=h(hn=>{"use strict";var WN=hn&&hn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(hn,"__esModule",{value:!0});hn.summary=hn.markdownSummary=hn.SUMMARY_DOCS_URL=hn.SUMMARY_ENV_VAR=void 0;var mae=require("os"),$N=require("fs"),{access:pae,appendFile:yae,writeFile:Eae}=$N.promises;hn.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";hn.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var KN=class{constructor(){this._buffer=""}filePath(){return WN(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[hn.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${hn.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield pae(e,$N.constants.R_OK|$N.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 i=Object.entries(n).map(([s,o])=>` ${s}="${o}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return WN(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Eae:yae)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return WN(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(mae.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(o=>this.wrap("li",o)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:A,colspan:c,rowspan:l}=o,u=a?"th":"td",d=Object.assign(Object.assign({},c&&{colspan:c}),l&&{rowspan:l});return this.wrap(u,A,d)}).join("");return this.wrap("tr",s)}).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:i,height:s}=n||{},o=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).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}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},_1=new KN;hn.markdownSummary=_1;hn.summary=_1});var D1=h(gn=>{"use strict";var Cae=gn&&gn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Iae=gn&&gn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Bae=gn&&gn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Cae(e,t,r);return Iae(e,t),e};Object.defineProperty(gn,"__esModule",{value:!0});gn.toPlatformPath=gn.toWin32Path=gn.toPosixPath=void 0;var Qae=Bae(require("path"));function bae(t){return t.replace(/[\\]/g,"/")}gn.toPosixPath=bae;function Nae(t){return t.replace(/[/]/g,"\\")}gn.toWin32Path=Nae;function wae(t){return t.replace(/[/\\]/g,Qae.sep)}gn.toPlatformPath=wae});var ew=h(re=>{"use strict";var Sae=re&&re.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),xae=re&&re.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),P1=re&&re.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Sae(e,t,r);return xae(e,t),e},ZN=re&&re.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},mn;Object.defineProperty(re,"__esModule",{value:!0});re.getCmdPath=re.tryGetExecutablePath=re.isRooted=re.isDirectory=re.exists=re.READONLY=re.UV_FS_O_EXLOCK=re.IS_WINDOWS=re.unlink=re.symlink=re.stat=re.rmdir=re.rm=re.rename=re.readlink=re.readdir=re.open=re.mkdir=re.lstat=re.copyFile=re.chmod=void 0;var T1=P1(require("fs")),Ny=P1(require("path"));mn=T1.promises,re.chmod=mn.chmod,re.copyFile=mn.copyFile,re.lstat=mn.lstat,re.mkdir=mn.mkdir,re.open=mn.open,re.readdir=mn.readdir,re.readlink=mn.readlink,re.rename=mn.rename,re.rm=mn.rm,re.rmdir=mn.rmdir,re.stat=mn.stat,re.symlink=mn.symlink,re.unlink=mn.unlink;re.IS_WINDOWS=process.platform==="win32";re.UV_FS_O_EXLOCK=268435456;re.READONLY=T1.constants.O_RDONLY;function Rae(t){return ZN(this,void 0,void 0,function*(){try{yield re.stat(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}re.exists=Rae;function vae(t,e=!1){return ZN(this,void 0,void 0,function*(){return(e?yield re.stat(t):yield re.lstat(t)).isDirectory()})}re.isDirectory=vae;function _ae(t){if(t=kae(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return re.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}re.isRooted=_ae;function Dae(t,e){return ZN(this,void 0,void 0,function*(){let r;try{r=yield re.stat(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(re.IS_WINDOWS){let i=Ny.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(k1(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield re.stat(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(re.IS_WINDOWS){try{let s=Ny.dirname(t),o=Ny.basename(t).toUpperCase();for(let a of yield re.readdir(s))if(o===a.toUpperCase()){t=Ny.join(s,a);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(k1(r))return t}}return""})}re.tryGetExecutablePath=Dae;function kae(t){return t=t||"",re.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function k1(t){return(t.mode&1)>0||(t.mode&8)>0&&t.gid===process.getgid()||(t.mode&64)>0&&t.uid===process.getuid()}function Pae(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}re.getCmdPath=Pae});var wy=h(Lt=>{"use strict";var Tae=Lt&&Lt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Oae=Lt&&Lt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),O1=Lt&&Lt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Tae(e,t,r);return Oae(e,t),e},Yo=Lt&&Lt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Lt,"__esModule",{value:!0});Lt.findInPath=Lt.which=Lt.mkdirP=Lt.rmRF=Lt.mv=Lt.cp=void 0;var Lae=require("assert"),Es=O1(require("path")),We=O1(ew());function Mae(t,e,r={}){return Yo(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=Uae(r),o=(yield We.exists(e))?yield We.stat(e):null;if(o&&o.isFile()&&!n)return;let a=o&&o.isDirectory()&&s?Es.join(e,Es.basename(t)):e;if(!(yield We.exists(t)))throw new Error(`no such file or directory: ${t}`);if((yield We.stat(t)).isDirectory())if(i)yield U1(t,a,0,n);else throw new Error(`Failed to copy. ${t} is a directory, but tried to copy without recursive flag.`);else{if(Es.relative(t,a)==="")throw new Error(`'${a}' and '${t}' are the same file`);yield q1(t,a,n)}})}Lt.cp=Mae;function Fae(t,e,r={}){return Yo(this,void 0,void 0,function*(){if(yield We.exists(e)){let n=!0;if((yield We.isDirectory(e))&&(e=Es.join(e,Es.basename(t)),n=yield We.exists(e)),n)if(r.force==null||r.force)yield L1(e);else throw new Error("Destination already exists")}yield tw(Es.dirname(e)),yield We.rename(t,e)})}Lt.mv=Fae;function L1(t){return Yo(this,void 0,void 0,function*(){if(We.IS_WINDOWS&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield We.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}Lt.rmRF=L1;function tw(t){return Yo(this,void 0,void 0,function*(){Lae.ok(t,"a path argument must be provided"),yield We.mkdir(t,{recursive:!0})})}Lt.mkdirP=tw;function M1(t,e){return Yo(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield M1(t,!1);if(!n)throw We.IS_WINDOWS?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 F1(t);return r&&r.length>0?r[0]:""})}Lt.which=M1;function F1(t){return Yo(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(We.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(Es.delimiter))i&&e.push(i);if(We.isRooted(t)){let i=yield We.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(Es.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(Es.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield We.tryGetExecutablePath(Es.join(i,t),e);s&&n.push(s)}return n})}Lt.findInPath=F1;function Uae(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 U1(t,e,r,n){return Yo(this,void 0,void 0,function*(){if(r>=255)return;r++,yield tw(e);let i=yield We.readdir(t);for(let s of i){let o=`${t}/${s}`,a=`${e}/${s}`;(yield We.lstat(o)).isDirectory()?yield U1(o,a,r,n):yield q1(o,a,n)}yield We.chmod(e,(yield We.stat(t)).mode)})}function q1(t,e,r){return Yo(this,void 0,void 0,function*(){if((yield We.lstat(t)).isSymbolicLink()){try{yield We.lstat(e),yield We.unlink(e)}catch(i){i.code==="EPERM"&&(yield We.chmod(e,"0666"),yield We.unlink(e))}let n=yield We.readlink(t);yield We.symlink(n,e,We.IS_WINDOWS?"junction":null)}else(!(yield We.exists(e))||r)&&(yield We.copyFile(t,e))})}});var G1=h(pn=>{"use strict";var qae=pn&&pn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Hae=pn&&pn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ol=pn&&pn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&qae(e,t,r);return Hae(e,t),e},H1=pn&&pn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(pn,"__esModule",{value:!0});pn.argStringToArray=pn.ToolRunner=void 0;var Sy=ol(require("os")),z1=ol(require("events")),jae=ol(require("child_process")),zae=ol(require("path")),Gae=ol(wy()),j1=ol(ew()),Yae=require("timers"),xy=process.platform==="win32",rw=class extends z1.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(),i=this._getSpawnArgs(e),s=r?"":"[command]";if(xy)if(this._isCmdFile()){s+=n;for(let o of i)s+=` ${o}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let o of i)s+=` ${o}`}else{s+=this._windowsQuoteCmdArg(n);for(let o of i)s+=` ${this._windowsQuoteCmdArg(o)}`}else{s+=n;for(let o of i)s+=` ${o}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(Sy.EOL);for(;s>-1;){let o=i.substring(0,s);n(o),i=i.substring(s+Sy.EOL.length),s=i.indexOf(Sy.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return xy&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(xy&&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 i='"',s=!0;for(let o=e.length;o>0;o--)i+=e[o-1],s&&e[o-1]==="\\"?i+="\\":e[o-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.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 i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-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 H1(this,void 0,void 0,function*(){return!j1.isRooted(this.toolPath)&&(this.toolPath.includes("/")||xy&&this.toolPath.includes("\\"))&&(this.toolPath=zae.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield Gae.which(this.toolPath,!0),new Promise((e,r)=>H1(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let c of this.args)this._debug(` ${c}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+Sy.EOL);let i=new nw(n,this.toolPath);if(i.on("debug",c=>{this._debug(c)}),this.options.cwd&&!(yield j1.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),o=jae.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),a="";o.stdout&&o.stdout.on("data",c=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(c),!n.silent&&n.outStream&&n.outStream.write(c),a=this._processLineBuffer(c,a,l=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(l)})});let A="";if(o.stderr&&o.stderr.on("data",c=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(c),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(c),A=this._processLineBuffer(c,A,l=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(l)})}),o.on("error",c=>{i.processError=c.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),o.on("exit",c=>{i.processExitCode=c,i.processExited=!0,this._debug(`Exit code ${c} received from tool '${this.toolPath}'`),i.CheckComplete()}),o.on("close",c=>{i.processExitCode=c,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(c,l)=>{a.length>0&&this.emit("stdline",a),A.length>0&&this.emit("errline",A),o.removeAllListeners(),c?r(c):e(l)}),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))})}};pn.ToolRunner=rw;function Jae(t){let e=[],r=!1,n=!1,i="";function s(o){n&&o!=='"'&&(i+="\\"),i+=o,n=!1}for(let o=0;o<t.length;o++){let a=t.charAt(o);if(a==='"'){n?s(a):r=!r;continue}if(a==="\\"&&n){s(a);continue}if(a==="\\"&&r){n=!0;continue}if(a===" "&&!r){i.length>0&&(e.push(i),i="");continue}s(a)}return i.length>0&&e.push(i.trim()),e}pn.argStringToArray=Jae;var nw=class t extends z1.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=Yae.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 Tf=h(yn=>{"use strict";var Vae=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Wae=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$ae=yn&&yn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Vae(e,t,r);return Wae(e,t),e},V1=yn&&yn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(yn,"__esModule",{value:!0});yn.getExecOutput=yn.exec=void 0;var Y1=require("string_decoder"),J1=$ae(G1());function W1(t,e,r){return V1(this,void 0,void 0,function*(){let n=J1.argStringToArray(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return e=n.slice(1).concat(e||[]),new J1.ToolRunner(i,e,r).exec()})}yn.exec=W1;function Kae(t,e,r){var n,i;return V1(this,void 0,void 0,function*(){let s="",o="",a=new Y1.StringDecoder("utf8"),A=new Y1.StringDecoder("utf8"),c=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,l=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,u=m=>{o+=A.write(m),l&&l(m)},d=m=>{s+=a.write(m),c&&c(m)},f=Object.assign(Object.assign({},r?.listeners),{stdout:d,stderr:u}),g=yield W1(t,e,Object.assign(Object.assign({},r),{listeners:f}));return s+=a.end(),o+=A.end(),{exitCode:g,stdout:s,stderr:o}})}yn.getExecOutput=Kae});var K1=h(qe=>{"use strict";var Xae=qe&&qe.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Zae=qe&&qe.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),eAe=qe&&qe.__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)&&Xae(e,t,r);return Zae(e,t),e},vy=qe&&qe.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},tAe=qe&&qe.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qe,"__esModule",{value:!0});qe.getDetails=qe.isLinux=qe.isMacOS=qe.isWindows=qe.arch=qe.platform=void 0;var $1=tAe(require("os")),Ry=eAe(Tf()),rAe=()=>vy(void 0,void 0,void 0,function*(){let{stdout:t}=yield Ry.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield Ry.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),nAe=()=>vy(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield Ry.getExecOutput("sw_vers",void 0,{silent:!0}),s=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:s}}),iAe=()=>vy(void 0,void 0,void 0,function*(){let{stdout:t}=yield Ry.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(`
|
|
`);return{name:e,version:r}});qe.platform=$1.default.platform();qe.arch=$1.default.arch();qe.isWindows=qe.platform==="win32";qe.isMacOS=qe.platform==="darwin";qe.isLinux=qe.platform==="linux";function sAe(){return vy(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield qe.isWindows?rAe():qe.isMacOS?nAe():iAe()),{platform:qe.platform,arch:qe.arch,isWindows:qe.isWindows,isMacOS:qe.isMacOS,isLinux:qe.isLinux})})}qe.getDetails=sAe});var at=h(te=>{"use strict";var oAe=te&&te.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),aAe=te&&te.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),sw=te&&te.__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)&&oAe(e,t,r);return aAe(e,t),e},X1=te&&te.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(te,"__esModule",{value:!0});te.platform=te.toPlatformPath=te.toWin32Path=te.toPosixPath=te.markdownSummary=te.summary=te.getIDToken=te.getState=te.saveState=te.group=te.endGroup=te.startGroup=te.info=te.notice=te.warning=te.error=te.debug=te.isDebug=te.setFailed=te.setCommandEcho=te.setOutput=te.getBooleanInput=te.getMultilineInput=te.getInput=te.addPath=te.setSecret=te.exportVariable=te.ExitCode=void 0;var ui=_P(),aA=PP(),al=vm(),Z1=sw(require("os")),AAe=sw(require("path")),cAe=v1(),iw;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(iw||(te.ExitCode=iw={}));function lAe(t,e){let r=(0,al.toCommandValue)(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return(0,aA.issueFileCommand)("ENV",(0,aA.prepareKeyValueMessage)(t,e));(0,ui.issueCommand)("set-env",{name:t},r)}te.exportVariable=lAe;function uAe(t){(0,ui.issueCommand)("add-mask",{},t)}te.setSecret=uAe;function dAe(t){process.env.GITHUB_PATH||""?(0,aA.issueFileCommand)("PATH",t):(0,ui.issueCommand)("add-path",{},t),process.env.PATH=`${t}${AAe.delimiter}${process.env.PATH}`}te.addPath=dAe;function ow(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()}te.getInput=ow;function fAe(t,e){let r=ow(t,e).split(`
|
|
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}te.getMultilineInput=fAe;function hAe(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=ow(t,e);if(r.includes(i))return!0;if(n.includes(i))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\``)}te.getBooleanInput=hAe;function gAe(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,aA.issueFileCommand)("OUTPUT",(0,aA.prepareKeyValueMessage)(t,e));process.stdout.write(Z1.EOL),(0,ui.issueCommand)("set-output",{name:t},(0,al.toCommandValue)(e))}te.setOutput=gAe;function mAe(t){(0,ui.issue)("echo",t?"on":"off")}te.setCommandEcho=mAe;function pAe(t){process.exitCode=iw.Failure,eq(t)}te.setFailed=pAe;function yAe(){return process.env.RUNNER_DEBUG==="1"}te.isDebug=yAe;function EAe(t){(0,ui.issueCommand)("debug",{},t)}te.debug=EAe;function eq(t,e={}){(0,ui.issueCommand)("error",(0,al.toCommandProperties)(e),t instanceof Error?t.toString():t)}te.error=eq;function CAe(t,e={}){(0,ui.issueCommand)("warning",(0,al.toCommandProperties)(e),t instanceof Error?t.toString():t)}te.warning=CAe;function IAe(t,e={}){(0,ui.issueCommand)("notice",(0,al.toCommandProperties)(e),t instanceof Error?t.toString():t)}te.notice=IAe;function BAe(t){process.stdout.write(t+Z1.EOL)}te.info=BAe;function tq(t){(0,ui.issue)("group",t)}te.startGroup=tq;function rq(){(0,ui.issue)("endgroup")}te.endGroup=rq;function QAe(t,e){return X1(this,void 0,void 0,function*(){tq(t);let r;try{r=yield e()}finally{rq()}return r})}te.group=QAe;function bAe(t,e){if(process.env.GITHUB_STATE||"")return(0,aA.issueFileCommand)("STATE",(0,aA.prepareKeyValueMessage)(t,e));(0,ui.issueCommand)("save-state",{name:t},(0,al.toCommandValue)(e))}te.saveState=bAe;function NAe(t){return process.env[`STATE_${t}`]||""}te.getState=NAe;function wAe(t){return X1(this,void 0,void 0,function*(){return yield cAe.OidcClient.getIDToken(t)})}te.getIDToken=wAe;var SAe=XN();Object.defineProperty(te,"summary",{enumerable:!0,get:function(){return SAe.summary}});var xAe=XN();Object.defineProperty(te,"markdownSummary",{enumerable:!0,get:function(){return xAe.markdownSummary}});var aw=D1();Object.defineProperty(te,"toPosixPath",{enumerable:!0,get:function(){return aw.toPosixPath}});Object.defineProperty(te,"toWin32Path",{enumerable:!0,get:function(){return aw.toWin32Path}});Object.defineProperty(te,"toPlatformPath",{enumerable:!0,get:function(){return aw.toPlatformPath}});te.platform=sw(K1())});var nq=h(Cs=>{"use strict";var RAe=Cs&&Cs.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vAe=Cs&&Cs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_Ae=Cs&&Cs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&RAe(e,t,r);return vAe(e,t),e};Object.defineProperty(Cs,"__esModule",{value:!0});Cs.getOptions=void 0;var Aw=_Ae(at());function DAe(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,omitBrokenSymbolicLinks:!0};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Aw.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Aw.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Aw.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`))),e}Cs.getOptions=DAe});var Dy=h(Mt=>{"use strict";var kAe=Mt&&Mt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),PAe=Mt&&Mt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),TAe=Mt&&Mt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&kAe(e,t,r);return PAe(e,t),e},OAe=Mt&&Mt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Mt,"__esModule",{value:!0});Mt.safeTrimTrailingSeparator=Mt.normalizeSeparators=Mt.hasRoot=Mt.hasAbsoluteRoot=Mt.ensureAbsoluteRoot=Mt.dirname=void 0;var _y=TAe(require("path")),AA=OAe(require("assert")),Jo=process.platform==="win32";function LAe(t){if(t=lw(t),Jo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=_y.dirname(t);return Jo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=lw(e)),e}Mt.dirname=LAe;function MAe(t,e){if(AA.default(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),AA.default(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),cw(e))return e;if(Jo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return AA.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(Of(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return AA.default(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return AA.default(cw(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Jo&&t.endsWith("\\")||(t+=_y.sep),t+e}Mt.ensureAbsoluteRoot=MAe;function cw(t){return AA.default(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Of(t),Jo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}Mt.hasAbsoluteRoot=cw;function FAe(t){return AA.default(t,"isRooted parameter 'itemPath' must not be empty"),t=Of(t),Jo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}Mt.hasRoot=FAe;function Of(t){return t=t||"",Jo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}Mt.normalizeSeparators=Of;function lw(t){return t?(t=Of(t),!t.endsWith(_y.sep)||t===_y.sep||Jo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}Mt.safeTrimTrailingSeparator=lw});var ky=h(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.MatchKind=void 0;var UAe;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(UAe=Lf.MatchKind||(Lf.MatchKind={}))});var oq=h(En=>{"use strict";var qAe=En&&En.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),HAe=En&&En.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jAe=En&&En.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&qAe(e,t,r);return HAe(e,t),e};Object.defineProperty(En,"__esModule",{value:!0});En.partialMatch=En.match=En.getSearchPaths=void 0;var iq=jAe(Dy()),zAe=ky(),sq=process.platform==="win32";function GAe(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=sq?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=sq?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,o=i,a=iq.dirname(o);for(;a!==o;){if(e[a]){s=!0;break}o=a,a=iq.dirname(o)}s||(r.push(n.searchPath),e[i]="included")}return r}En.getSearchPaths=GAe;function YAe(t,e){let r=zAe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}En.match=YAe;function JAe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}En.partialMatch=JAe});var Aq=h((mMe,aq)=>{aq.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);VAe(i)?r.push.apply(r,i):r.push(i)}return r};var VAe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var fq=h((pMe,dq)=>{"use strict";dq.exports=lq;function lq(t,e,r){t instanceof RegExp&&(t=cq(t,r)),e instanceof RegExp&&(e=cq(e,r));var n=uq(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 cq(t,e){var r=e.match(t);return r?r[0]:null}lq.range=uq;function uq(t,e,r){var n,i,s,o,a,A=r.indexOf(t),c=r.indexOf(e,A+1),l=A;if(A>=0&&c>0){if(t===e)return[A,c];for(n=[],s=r.length;l>=0&&!a;)l==A?(n.push(l),A=r.indexOf(t,l+1)):n.length==1?a=[n.pop(),c]:(i=n.pop(),i<s&&(s=i,o=c),c=r.indexOf(e,l+1)),l=A<c&&A>=0?A:c;n.length&&(a=[s,o])}return a}});var Iq=h((yMe,Cq)=>{var WAe=Aq(),hq=fq();Cq.exports=XAe;var gq="\0SLASH"+Math.random()+"\0",mq="\0OPEN"+Math.random()+"\0",dw="\0CLOSE"+Math.random()+"\0",pq="\0COMMA"+Math.random()+"\0",yq="\0PERIOD"+Math.random()+"\0";function uw(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function $Ae(t){return t.split("\\\\").join(gq).split("\\{").join(mq).split("\\}").join(dw).split("\\,").join(pq).split("\\.").join(yq)}function KAe(t){return t.split(gq).join("\\").split(mq).join("{").split(dw).join("}").split(pq).join(",").split(yq).join(".")}function Eq(t){if(!t)return[""];var e=[],r=hq("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=Eq(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function XAe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Al($Ae(t),!0).map(KAe)):[]}function ZAe(t){return"{"+t+"}"}function ece(t){return/^-?0\d/.test(t)}function tce(t,e){return t<=e}function rce(t,e){return t>=e}function Al(t,e){var r=[],n=hq("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),o=i||s,a=n.body.indexOf(",")>=0;if(!o&&!a)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+dw+n.post,Al(t)):[t];var A;if(o)A=n.body.split(/\.\./);else if(A=Eq(n.body),A.length===1&&(A=Al(A[0],!1).map(ZAe),A.length===1)){var l=n.post.length?Al(n.post,!1):[""];return l.map(function(Re){return n.pre+A[0]+Re})}var c=n.pre,l=n.post.length?Al(n.post,!1):[""],u;if(o){var d=uw(A[0]),f=uw(A[1]),g=Math.max(A[0].length,A[1].length),m=A.length==3?Math.abs(uw(A[2])):1,E=tce,C=f<d;C&&(m*=-1,E=rce);var I=A.some(ece);u=[];for(var N=d;E(N,f);N+=m){var w;if(s)w=String.fromCharCode(N),w==="\\"&&(w="");else if(w=String(N),I){var v=g-w.length;if(v>0){var T=new Array(v+1).join("0");N<0?w="-"+T+w.slice(1):w=T+w}}u.push(w)}}else u=WAe(A,function(be){return Al(be,!1)});for(var U=0;U<u.length;U++)for(var k=0;k<l.length;k++){var J=c+u[U]+l[k];(!e||o||J)&&r.push(J)}return r}});var mw=h((EMe,wq)=>{wq.exports=Jn;Jn.Minimatch=kr;var Mf=(function(){try{return require("path")}catch{}})()||{sep:"/"};Jn.sep=Mf.sep;var gw=Jn.GLOBSTAR=kr.GLOBSTAR={},nce=Iq(),Bq={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},fw="[^/]",hw=fw+"*?",ice="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",sce="(?:(?!(?:\\/|^)\\.).)*?",Qq=oce("().*{}+?[]^$\\!");function oce(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var bq=/\/+/;Jn.filter=ace;function ace(t,e){return e=e||{},function(r,n,i){return Jn(r,t,e)}}function Vo(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}Jn.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Jn;var e=Jn,r=function(i,s,o){return e(i,s,Vo(t,o))};return r.Minimatch=function(i,s){return new e.Minimatch(i,Vo(t,s))},r.Minimatch.defaults=function(i){return e.defaults(Vo(t,i)).Minimatch},r.filter=function(i,s){return e.filter(i,Vo(t,s))},r.defaults=function(i){return e.defaults(Vo(t,i))},r.makeRe=function(i,s){return e.makeRe(i,Vo(t,s))},r.braceExpand=function(i,s){return e.braceExpand(i,Vo(t,s))},r.match=function(n,i,s){return e.match(n,i,Vo(t,s))},r};kr.defaults=function(t){return Jn.defaults(t).Minimatch};function Jn(t,e,r){return Ty(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new kr(e,r).match(t)}function kr(t,e){if(!(this instanceof kr))return new kr(t,e);Ty(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Mf.sep!=="/"&&(t=t.split(Mf.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()}kr.prototype.debug=function(){};kr.prototype.make=Ace;function Ace(){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(bq)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){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}kr.prototype.parseNegate=cce;function cce(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i<s&&t.charAt(i)==="!";i++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}Jn.braceExpand=function(t,e){return Nq(t,e)};kr.prototype.braceExpand=Nq;function Nq(t,e){return e||(this instanceof kr?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Ty(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:nce(t)}var lce=1024*64,Ty=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>lce)throw new TypeError("pattern is too long")};kr.prototype.parse=uce;var Py={};function uce(t,e){Ty(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return gw;if(t==="")return"";var n="",i=!!r.nocase,s=!1,o=[],a=[],A,c=!1,l=-1,u=-1,d=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function g(){if(A){switch(A){case"*":n+=hw,i=!0;break;case"?":n+=fw,i=!0;break;default:n+="\\"+A;break}f.debug("clearStateChar %j %j",A,n),A=!1}}for(var m=0,E=t.length,C;m<E&&(C=t.charAt(m));m++){if(this.debug("%s %s %s %j",t,m,n,C),s&&Qq[C]){n+="\\"+C,s=!1;continue}switch(C){case"/":return!1;case"\\":g(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,m,n,C),c){this.debug(" in class"),C==="!"&&m===u+1&&(C="^"),n+=C;continue}f.debug("call clearStateChar %j",A),g(),A=C,r.noext&&g();continue;case"(":if(c){n+="(";continue}if(!A){n+="\\(";continue}o.push({type:A,start:m-1,reStart:n.length,open:Bq[A].open,close:Bq[A].close}),n+=A==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",A,n),A=!1;continue;case")":if(c||!o.length){n+="\\)";continue}g(),i=!0;var I=o.pop();n+=I.close,I.type==="!"&&a.push(I),I.reEnd=n.length;continue;case"|":if(c||!o.length||s){n+="\\|",s=!1;continue}g(),n+="|";continue;case"[":if(g(),c){n+="\\"+C;continue}c=!0,u=m,l=n.length,n+=C;continue;case"]":if(m===u+1||!c){n+="\\"+C,s=!1;continue}var N=t.substring(u+1,m);try{RegExp("["+N+"]")}catch{var w=this.parse(N,Py);n=n.substr(0,l)+"\\["+w[0]+"\\]",i=i||w[1],c=!1;continue}i=!0,c=!1,n+=C;continue;default:g(),s?s=!1:Qq[C]&&!(C==="^"&&c)&&(n+="\\"),n+=C}}for(c&&(N=t.substr(u+1),w=this.parse(N,Py),n=n.substr(0,l)+"\\["+w[0],i=i||w[1]),I=o.pop();I;I=o.pop()){var v=n.slice(I.reStart+I.open.length);this.debug("setting tail",n,I),v=v.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Mi,Ro,Us){return Us||(Us="\\"),Ro+Ro+Us+"|"}),this.debug(`tail=%j
|
|
%s`,v,v,I,n);var T=I.type==="*"?hw:I.type==="?"?fw:"\\"+I.type;i=!0,n=n.slice(0,I.reStart)+T+"\\("+v}g(),s&&(n+="\\\\");var U=!1;switch(n.charAt(0)){case"[":case".":case"(":U=!0}for(var k=a.length-1;k>-1;k--){var J=a[k],be=n.slice(0,J.reStart),Re=n.slice(J.reStart,J.reEnd-8),H=n.slice(J.reEnd-8,J.reEnd),_e=n.slice(J.reEnd);H+=_e;var rt=be.split("(").length-1,Lr=_e;for(m=0;m<rt;m++)Lr=Lr.replace(/\)[+*?]?/,"");_e=Lr;var hr="";_e===""&&e!==Py&&(hr="$");var So=be+Re+_e+hr+H;n=So}if(n!==""&&i&&(n="(?=.)"+n),U&&(n=d+n),e===Py)return[n,i];if(!i)return fce(t);var xo=r.nocase?"i":"";try{var Li=new RegExp("^"+n+"$",xo)}catch{return new RegExp("$.")}return Li._glob=t,Li._src=n,Li}Jn.makeRe=function(t,e){return new kr(t,e||{}).makeRe()};kr.prototype.makeRe=dce;function dce(){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?hw:e.dot?ice:sce,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(o){return o===gw?r:typeof o=="string"?hce(o):o._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch{this.regexp=!1}return this.regexp}Jn.match=function(t,e,r){r=r||{};var n=new kr(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};kr.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;Mf.sep!=="/"&&(e=e.split(Mf.sep).join("/")),e=e.split(bq),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,o;for(o=e.length-1;o>=0&&(s=e[o],!s);o--);for(o=0;o<i.length;o++){var a=i[o],A=e;n.matchBase&&a.length===1&&(A=[s]);var c=this.matchOne(A,a,r);if(c)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate};kr.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 i=0,s=0,o=t.length,a=e.length;i<o&&s<a;i++,s++){this.debug("matchOne loop");var A=e[s],c=t[i];if(this.debug(e,A,c),A===!1)return!1;if(A===gw){this.debug("GLOBSTAR",[e,A,c]);var l=i,u=s+1;if(u===a){for(this.debug("** at the end");i<o;i++)if(t[i]==="."||t[i]===".."||!n.dot&&t[i].charAt(0)===".")return!1;return!0}for(;l<o;){var d=t[l];if(this.debug(`
|
|
globstar while`,t,l,e,u,d),this.matchOne(t.slice(l),e.slice(u),r))return this.debug("globstar found match!",l,o,d),!0;if(d==="."||d===".."||!n.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,l,e,u);break}this.debug("globstar swallow a segment, and continue"),l++}return!!(r&&(this.debug(`
|
|
>>> no match, partial?`,t,l,e,u),l===o))}var f;if(typeof A=="string"?(f=c===A,this.debug("string match",A,c,f)):(f=c.match(A),this.debug("pattern match",A,c,f)),!f)return!1}if(i===o&&s===a)return!0;if(i===o)return r;if(s===a)return i===o-1&&t[i]==="";throw new Error("wtf?")};function fce(t){return t.replace(/\\(.)/g,"$1")}function hce(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var xq=h(di=>{"use strict";var gce=di&&di.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),mce=di&&di.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Sq=di&&di.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&gce(e,t,r);return mce(e,t),e},pce=di&&di.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(di,"__esModule",{value:!0});di.Path=void 0;var Ff=Sq(require("path")),Wo=Sq(Dy()),Uf=pce(require("assert")),yce=process.platform==="win32",pw=class{constructor(e){if(this.segments=[],typeof e=="string")if(Uf.default(e,"Parameter 'itemPath' must not be empty"),e=Wo.safeTrimTrailingSeparator(e),!Wo.hasRoot(e))this.segments=e.split(Ff.sep);else{let r=e,n=Wo.dirname(r);for(;n!==r;){let i=Ff.basename(r);this.segments.unshift(i),r=n,n=Wo.dirname(r)}this.segments.unshift(r)}else{Uf.default(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let n=e[r];Uf.default(n,"Parameter 'itemPath' must not contain any empty segments"),n=Wo.normalizeSeparators(e[r]),r===0&&Wo.hasRoot(n)?(n=Wo.safeTrimTrailingSeparator(n),Uf.default(n===Wo.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):(Uf.default(!n.includes(Ff.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(Ff.sep)||yce&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=Ff.sep,e+=this.segments[n];return e}};di.Path=pw});var Rq=h(fi=>{"use strict";var Ece=fi&&fi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Cce=fi&&fi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Cw=fi&&fi.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&Ece(e,t,r);return Cce(e,t),e},Ice=fi&&fi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fi,"__esModule",{value:!0});fi.Pattern=void 0;var Bce=Cw(require("os")),qf=Cw(require("path")),Cn=Cw(Dy()),cA=Ice(require("assert")),Qce=mw(),yw=ky(),Oy=xq(),to=process.platform==="win32",Ew=class t{constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],cA.default(n.length,"Parameter 'segments' must not empty");let c=t.getLiteral(n[0]);cA.default(c&&Cn.hasAbsoluteRoot(c),"Parameter 'segments' first element must be a root path"),s=new Oy.Path(n).toString().trim(),e&&(s=`!${s}`)}for(;s.startsWith("!");)this.negate=!this.negate,s=s.substr(1).trim();s=t.fixupPattern(s,i),this.segments=new Oy.Path(s).segments,this.trailingSeparator=Cn.normalizeSeparators(s).endsWith(qf.sep),s=Cn.safeTrimTrailingSeparator(s);let o=!1,a=this.segments.map(c=>t.getLiteral(c)).filter(c=>!o&&!(o=c===""));this.searchPath=new Oy.Path(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),to?"i":""),this.isImplicitPattern=r;let A={dot:!0,nobrace:!0,nocase:to,nocomment:!0,noext:!0,nonegate:!0};s=to?s.replace(/\\/g,"/"):s,this.minimatch=new Qce.Minimatch(s,A)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Cn.normalizeSeparators(e),!e.endsWith(qf.sep)&&this.isImplicitPattern===!1&&(e=`${e}${qf.sep}`)):e=Cn.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?yw.MatchKind.Directory:yw.MatchKind.All:yw.MatchKind.None}partialMatch(e){return e=Cn.safeTrimTrailingSeparator(e),Cn.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(to?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(to?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){cA.default(e,"pattern cannot be empty");let n=new Oy.Path(e).segments.map(i=>t.getLiteral(i));if(cA.default(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),cA.default(!Cn.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Cn.normalizeSeparators(e),e==="."||e.startsWith(`.${qf.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${qf.sep}`))r=r||Bce.homedir(),cA.default(r,"Unable to determine HOME directory"),cA.default(Cn.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(to&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Cn.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(to&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Cn.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Cn.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Cn.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!to&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",o=-1;for(let a=n+1;a<e.length;a++){let A=e[a];if(A==="\\"&&!to&&a+1<e.length){s+=e[++a];continue}else if(A==="]"){o=a;break}else s+=A}if(o>=0){if(s.length>1)return"";if(s){r+=s,n=o;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};fi.Pattern=Ew});var vq=h(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.SearchState=void 0;var Iw=class{constructor(e,r){this.path=e,this.level=r}};Ly.SearchState=Iw});var Tq=h(mr=>{"use strict";var bce=mr&&mr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Nce=mr&&mr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jf=mr&&mr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.hasOwnProperty.call(t,r)&&bce(e,t,r);return Nce(e,t),e},Bw=mr&&mr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},wce=mr&&mr.__asyncValues||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(s){r[s]=t[s]&&function(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}},$o=mr&&mr.__await||function(t){return this instanceof $o?(this.v=t,this):new $o(t)},Sce=mr&&mr.__asyncGenerator||function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(f){return new Promise(function(g,m){s.push([d,f,g,m])>1||a(d,f)})})}function a(d,f){try{A(n[d](f))}catch(g){u(s[0][3],g)}}function A(d){d.value instanceof $o?Promise.resolve(d.value.v).then(c,l):u(s[0][2],d)}function c(d){a("next",d)}function l(d){a("throw",d)}function u(d,f){d(f),s.shift(),s.length&&a(s[0][0],s[0][1])}};Object.defineProperty(mr,"__esModule",{value:!0});mr.DefaultGlobber=void 0;var Qw=jf(at()),Hf=jf(require("fs")),_q=jf(nq()),xce=jf(require("path")),My=jf(oq()),Dq=ky(),kq=Rq(),Pq=vq(),Rce=process.platform==="win32",bw=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=_q.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,r;return Bw(this,void 0,void 0,function*(){let n=[];try{for(var i=wce(this.globGenerator()),s;s=yield i.next(),!s.done;){let o=s.value;n.push(o)}}catch(o){e={error:o}}finally{try{s&&!s.done&&(r=i.return)&&(yield r.call(i))}finally{if(e)throw e.error}}return n})}globGenerator(){return Sce(this,arguments,function*(){let r=_q.getOptions(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 kq.Pattern(o.negate,!0,o.segments.concat("**")));let i=[];for(let o of My.getSearchPaths(n)){Qw.debug(`Search path '${o}'`);try{yield $o(Hf.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}i.unshift(new Pq.SearchState(o,1))}let s=[];for(;i.length;){let o=i.pop(),a=My.match(n,o.path),A=!!a||My.partialMatch(n,o.path);if(!a&&!A)continue;let c=yield $o(t.stat(o,r,s));if(c)if(c.isDirectory()){if(a&Dq.MatchKind.Directory)yield yield $o(o.path);else if(!A)continue;let l=o.level+1,u=(yield $o(Hf.promises.readdir(o.path))).map(d=>new Pq.SearchState(xce.join(o.path,d),l));i.push(...u.reverse())}else a&Dq.MatchKind.File&&(yield yield $o(o.path))}})}static create(e,r){return Bw(this,void 0,void 0,function*(){let n=new t(r);Rce&&(e=e.replace(/\r\n/g,`
|
|
`),e=e.replace(/\r/g,`
|
|
`));let i=e.split(`
|
|
`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new kq.Pattern(s));return n.searchPaths.push(...My.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return Bw(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield Hf.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Qw.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield Hf.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield Hf.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(o=>o===s)){Qw.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};mr.DefaultGlobber=bw});var Oq=h(cl=>{"use strict";var vce=cl&&cl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(cl,"__esModule",{value:!0});cl.create=void 0;var _ce=Tq();function Dce(t,e){return vce(this,void 0,void 0,function*(){return yield _ce.DefaultGlobber.create(t,e)})}cl.create=Dce});var Hq=h((ye,qq)=>{ye=qq.exports=xe;var Ke;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ke=function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:Ke=function(){};ye.SEMVER_SPEC_VERSION="2.0.0";var zf=256,Fy=Number.MAX_SAFE_INTEGER||9007199254740991,Nw=16,kce=zf-6,ll=ye.re=[],$e=ye.safeRe=[],D=ye.src=[],x=ye.tokens={},Fq=0;function De(t){x[t]=Fq++}var Sw="[a-zA-Z0-9-]",ww=[["\\s",1],["\\d",zf],[Sw,kce]];function Yf(t){for(var e=0;e<ww.length;e++){var r=ww[e][0],n=ww[e][1];t=t.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return t}De("NUMERICIDENTIFIER");D[x.NUMERICIDENTIFIER]="0|[1-9]\\d*";De("NUMERICIDENTIFIERLOOSE");D[x.NUMERICIDENTIFIERLOOSE]="\\d+";De("NONNUMERICIDENTIFIER");D[x.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+Sw+"*";De("MAINVERSION");D[x.MAINVERSION]="("+D[x.NUMERICIDENTIFIER]+")\\.("+D[x.NUMERICIDENTIFIER]+")\\.("+D[x.NUMERICIDENTIFIER]+")";De("MAINVERSIONLOOSE");D[x.MAINVERSIONLOOSE]="("+D[x.NUMERICIDENTIFIERLOOSE]+")\\.("+D[x.NUMERICIDENTIFIERLOOSE]+")\\.("+D[x.NUMERICIDENTIFIERLOOSE]+")";De("PRERELEASEIDENTIFIER");D[x.PRERELEASEIDENTIFIER]="(?:"+D[x.NUMERICIDENTIFIER]+"|"+D[x.NONNUMERICIDENTIFIER]+")";De("PRERELEASEIDENTIFIERLOOSE");D[x.PRERELEASEIDENTIFIERLOOSE]="(?:"+D[x.NUMERICIDENTIFIERLOOSE]+"|"+D[x.NONNUMERICIDENTIFIER]+")";De("PRERELEASE");D[x.PRERELEASE]="(?:-("+D[x.PRERELEASEIDENTIFIER]+"(?:\\."+D[x.PRERELEASEIDENTIFIER]+")*))";De("PRERELEASELOOSE");D[x.PRERELEASELOOSE]="(?:-?("+D[x.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+D[x.PRERELEASEIDENTIFIERLOOSE]+")*))";De("BUILDIDENTIFIER");D[x.BUILDIDENTIFIER]=Sw+"+";De("BUILD");D[x.BUILD]="(?:\\+("+D[x.BUILDIDENTIFIER]+"(?:\\."+D[x.BUILDIDENTIFIER]+")*))";De("FULL");De("FULLPLAIN");D[x.FULLPLAIN]="v?"+D[x.MAINVERSION]+D[x.PRERELEASE]+"?"+D[x.BUILD]+"?";D[x.FULL]="^"+D[x.FULLPLAIN]+"$";De("LOOSEPLAIN");D[x.LOOSEPLAIN]="[v=\\s]*"+D[x.MAINVERSIONLOOSE]+D[x.PRERELEASELOOSE]+"?"+D[x.BUILD]+"?";De("LOOSE");D[x.LOOSE]="^"+D[x.LOOSEPLAIN]+"$";De("GTLT");D[x.GTLT]="((?:<|>)?=?)";De("XRANGEIDENTIFIERLOOSE");D[x.XRANGEIDENTIFIERLOOSE]=D[x.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";De("XRANGEIDENTIFIER");D[x.XRANGEIDENTIFIER]=D[x.NUMERICIDENTIFIER]+"|x|X|\\*";De("XRANGEPLAIN");D[x.XRANGEPLAIN]="[v=\\s]*("+D[x.XRANGEIDENTIFIER]+")(?:\\.("+D[x.XRANGEIDENTIFIER]+")(?:\\.("+D[x.XRANGEIDENTIFIER]+")(?:"+D[x.PRERELEASE]+")?"+D[x.BUILD]+"?)?)?";De("XRANGEPLAINLOOSE");D[x.XRANGEPLAINLOOSE]="[v=\\s]*("+D[x.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+D[x.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+D[x.XRANGEIDENTIFIERLOOSE]+")(?:"+D[x.PRERELEASELOOSE]+")?"+D[x.BUILD]+"?)?)?";De("XRANGE");D[x.XRANGE]="^"+D[x.GTLT]+"\\s*"+D[x.XRANGEPLAIN]+"$";De("XRANGELOOSE");D[x.XRANGELOOSE]="^"+D[x.GTLT]+"\\s*"+D[x.XRANGEPLAINLOOSE]+"$";De("COERCE");D[x.COERCE]="(^|[^\\d])(\\d{1,"+Nw+"})(?:\\.(\\d{1,"+Nw+"}))?(?:\\.(\\d{1,"+Nw+"}))?(?:$|[^\\d])";De("COERCERTL");ll[x.COERCERTL]=new RegExp(D[x.COERCE],"g");$e[x.COERCERTL]=new RegExp(Yf(D[x.COERCE]),"g");De("LONETILDE");D[x.LONETILDE]="(?:~>?)";De("TILDETRIM");D[x.TILDETRIM]="(\\s*)"+D[x.LONETILDE]+"\\s+";ll[x.TILDETRIM]=new RegExp(D[x.TILDETRIM],"g");$e[x.TILDETRIM]=new RegExp(Yf(D[x.TILDETRIM]),"g");var Pce="$1~";De("TILDE");D[x.TILDE]="^"+D[x.LONETILDE]+D[x.XRANGEPLAIN]+"$";De("TILDELOOSE");D[x.TILDELOOSE]="^"+D[x.LONETILDE]+D[x.XRANGEPLAINLOOSE]+"$";De("LONECARET");D[x.LONECARET]="(?:\\^)";De("CARETTRIM");D[x.CARETTRIM]="(\\s*)"+D[x.LONECARET]+"\\s+";ll[x.CARETTRIM]=new RegExp(D[x.CARETTRIM],"g");$e[x.CARETTRIM]=new RegExp(Yf(D[x.CARETTRIM]),"g");var Tce="$1^";De("CARET");D[x.CARET]="^"+D[x.LONECARET]+D[x.XRANGEPLAIN]+"$";De("CARETLOOSE");D[x.CARETLOOSE]="^"+D[x.LONECARET]+D[x.XRANGEPLAINLOOSE]+"$";De("COMPARATORLOOSE");D[x.COMPARATORLOOSE]="^"+D[x.GTLT]+"\\s*("+D[x.LOOSEPLAIN]+")$|^$";De("COMPARATOR");D[x.COMPARATOR]="^"+D[x.GTLT]+"\\s*("+D[x.FULLPLAIN]+")$|^$";De("COMPARATORTRIM");D[x.COMPARATORTRIM]="(\\s*)"+D[x.GTLT]+"\\s*("+D[x.LOOSEPLAIN]+"|"+D[x.XRANGEPLAIN]+")";ll[x.COMPARATORTRIM]=new RegExp(D[x.COMPARATORTRIM],"g");$e[x.COMPARATORTRIM]=new RegExp(Yf(D[x.COMPARATORTRIM]),"g");var Oce="$1$2$3";De("HYPHENRANGE");D[x.HYPHENRANGE]="^\\s*("+D[x.XRANGEPLAIN]+")\\s+-\\s+("+D[x.XRANGEPLAIN]+")\\s*$";De("HYPHENRANGELOOSE");D[x.HYPHENRANGELOOSE]="^\\s*("+D[x.XRANGEPLAINLOOSE]+")\\s+-\\s+("+D[x.XRANGEPLAINLOOSE]+")\\s*$";De("STAR");D[x.STAR]="(<|>)?=?\\s*\\*";for(Is=0;Is<Fq;Is++)Ke(Is,D[Is]),ll[Is]||(ll[Is]=new RegExp(D[Is]),$e[Is]=new RegExp(Yf(D[Is])));var Is;ye.parse=uA;function uA(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof xe)return t;if(typeof t!="string"||t.length>zf)return null;var r=e.loose?$e[x.LOOSE]:$e[x.FULL];if(!r.test(t))return null;try{return new xe(t,e)}catch{return null}}ye.valid=Lce;function Lce(t,e){var r=uA(t,e);return r?r.version:null}ye.clean=Mce;function Mce(t,e){var r=uA(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}ye.SemVer=xe;function xe(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof xe){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>zf)throw new TypeError("version is longer than "+zf+" characters");if(!(this instanceof xe))return new xe(t,e);Ke("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?$e[x.LOOSE]:$e[x.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Fy||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Fy||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Fy||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i<Fy)return i}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}xe.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};xe.prototype.toString=function(){return this.version};xe.prototype.compare=function(t){return Ke("SemVer.compare",this.version,this.options,t),t instanceof xe||(t=new xe(t,this.options)),this.compareMain(t)||this.comparePre(t)};xe.prototype.compareMain=function(t){return t instanceof xe||(t=new xe(t,this.options)),lA(this.major,t.major)||lA(this.minor,t.minor)||lA(this.patch,t.patch)};xe.prototype.comparePre=function(t){if(t instanceof xe||(t=new xe(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var e=0;do{var r=this.prerelease[e],n=t.prerelease[e];if(Ke("prerelease compare",e,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return lA(r,n)}while(++e)};xe.prototype.compareBuild=function(t){t instanceof xe||(t=new xe(t,this.options));var e=0;do{var r=this.build[e],n=t.build[e];if(Ke("prerelease compare",e,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return lA(r,n)}while(++e)};xe.prototype.inc=function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);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":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};ye.inc=Fce;function Fce(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new xe(t,r).inc(e,n).version}catch{return null}}ye.diff=Uce;function Uce(t,e){if(xw(t,e))return null;var r=uA(t),n=uA(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var o in r)if((o==="major"||o==="minor"||o==="patch")&&r[o]!==n[o])return i+o;return s}ye.compareIdentifiers=lA;var Lq=/^[0-9]+$/;function lA(t,e){var r=Lq.test(t),n=Lq.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}ye.rcompareIdentifiers=qce;function qce(t,e){return lA(e,t)}ye.major=Hce;function Hce(t,e){return new xe(t,e).major}ye.minor=jce;function jce(t,e){return new xe(t,e).minor}ye.patch=zce;function zce(t,e){return new xe(t,e).patch}ye.compare=ro;function ro(t,e,r){return new xe(t,r).compare(new xe(e,r))}ye.compareLoose=Gce;function Gce(t,e){return ro(t,e,!0)}ye.compareBuild=Yce;function Yce(t,e,r){var n=new xe(t,r),i=new xe(e,r);return n.compare(i)||n.compareBuild(i)}ye.rcompare=Jce;function Jce(t,e,r){return ro(e,t,r)}ye.sort=Vce;function Vce(t,e){return t.sort(function(r,n){return ye.compareBuild(r,n,e)})}ye.rsort=Wce;function Wce(t,e){return t.sort(function(r,n){return ye.compareBuild(n,r,e)})}ye.gt=Gf;function Gf(t,e,r){return ro(t,e,r)>0}ye.lt=Uy;function Uy(t,e,r){return ro(t,e,r)<0}ye.eq=xw;function xw(t,e,r){return ro(t,e,r)===0}ye.neq=Uq;function Uq(t,e,r){return ro(t,e,r)!==0}ye.gte=Rw;function Rw(t,e,r){return ro(t,e,r)>=0}ye.lte=vw;function vw(t,e,r){return ro(t,e,r)<=0}ye.cmp=qy;function qy(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 xw(t,r,n);case"!=":return Uq(t,r,n);case">":return Gf(t,r,n);case">=":return Rw(t,r,n);case"<":return Uy(t,r,n);case"<=":return vw(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}ye.Comparator=hi;function hi(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof hi){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof hi))return new hi(t,e);t=t.trim().split(/\s+/).join(" "),Ke("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===ul?this.value="":this.value=this.operator+this.semver.version,Ke("comp",this)}var ul={};hi.prototype.parse=function(t){var e=this.options.loose?$e[x.COMPARATORLOOSE]:$e[x.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new xe(r[2],this.options.loose):this.semver=ul};hi.prototype.toString=function(){return this.value};hi.prototype.test=function(t){if(Ke("Comparator.test",t,this.options.loose),this.semver===ul||t===ul)return!0;if(typeof t=="string")try{t=new xe(t,this.options)}catch{return!1}return qy(t,this.operator,this.semver,this.options)};hi.prototype.intersects=function(t,e){if(!(t instanceof hi))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new kt(t.value,e),Hy(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new kt(this.value,e),Hy(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,o=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),a=qy(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),A=qy(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&o||a||A};ye.Range=kt;function kt(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof kt)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new kt(t.raw,e);if(t instanceof hi)return new kt(t.value,e);if(!(this instanceof kt))return new kt(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}kt.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};kt.prototype.toString=function(){return this.range};kt.prototype.parseRange=function(t){var e=this.options.loose,r=e?$e[x.HYPHENRANGELOOSE]:$e[x.HYPHENRANGE];t=t.replace(r,sle),Ke("hyphen replace",t),t=t.replace($e[x.COMPARATORTRIM],Oce),Ke("comparator trim",t,$e[x.COMPARATORTRIM]),t=t.replace($e[x.TILDETRIM],Pce),t=t.replace($e[x.CARETTRIM],Tce),t=t.split(/\s+/).join(" ");var n=e?$e[x.COMPARATORLOOSE]:$e[x.COMPARATOR],i=t.split(" ").map(function(s){return Kce(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new hi(s,this.options)},this),i};kt.prototype.intersects=function(t,e){if(!(t instanceof kt))throw new TypeError("a Range is required");return this.set.some(function(r){return Mq(r,e)&&t.set.some(function(n){return Mq(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function Mq(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}ye.toComparators=$ce;function $ce(t,e){return new kt(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function Kce(t,e){return Ke("comp",t,e),t=ele(t,e),Ke("caret",t),t=Xce(t,e),Ke("tildes",t),t=rle(t,e),Ke("xrange",t),t=ile(t,e),Ke("stars",t),t}function rn(t){return!t||t.toLowerCase()==="x"||t==="*"}function Xce(t,e){return t.trim().split(/\s+/).map(function(r){return Zce(r,e)}).join(" ")}function Zce(t,e){var r=e.loose?$e[x.TILDELOOSE]:$e[x.TILDE];return t.replace(r,function(n,i,s,o,a){Ke("tilde",t,n,i,s,o,a);var A;return rn(i)?A="":rn(s)?A=">="+i+".0.0 <"+(+i+1)+".0.0":rn(o)?A=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":a?(Ke("replaceTilde pr",a),A=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0"):A=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0",Ke("tilde return",A),A})}function ele(t,e){return t.trim().split(/\s+/).map(function(r){return tle(r,e)}).join(" ")}function tle(t,e){Ke("caret",t,e);var r=e.loose?$e[x.CARETLOOSE]:$e[x.CARET];return t.replace(r,function(n,i,s,o,a){Ke("caret",t,n,i,s,o,a);var A;return rn(i)?A="":rn(s)?A=">="+i+".0.0 <"+(+i+1)+".0.0":rn(o)?i==="0"?A=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":A=">="+i+"."+s+".0 <"+(+i+1)+".0.0":a?(Ke("replaceCaret pr",a),i==="0"?s==="0"?A=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+s+"."+(+o+1):A=">="+i+"."+s+"."+o+"-"+a+" <"+i+"."+(+s+1)+".0":A=">="+i+"."+s+"."+o+"-"+a+" <"+(+i+1)+".0.0"):(Ke("no pr"),i==="0"?s==="0"?A=">="+i+"."+s+"."+o+" <"+i+"."+s+"."+(+o+1):A=">="+i+"."+s+"."+o+" <"+i+"."+(+s+1)+".0":A=">="+i+"."+s+"."+o+" <"+(+i+1)+".0.0"),Ke("caret return",A),A})}function rle(t,e){return Ke("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return nle(r,e)}).join(" ")}function nle(t,e){t=t.trim();var r=e.loose?$e[x.XRANGELOOSE]:$e[x.XRANGE];return t.replace(r,function(n,i,s,o,a,A){Ke("xRange",t,n,i,s,o,a,A);var c=rn(s),l=c||rn(o),u=l||rn(a),d=u;return i==="="&&d&&(i=""),A=e.includePrerelease?"-0":"",c?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&d?(l&&(o=0),a=0,i===">"?(i=">=",l?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):i==="<="&&(i="<",l?s=+s+1:o=+o+1),n=i+s+"."+o+"."+a+A):l?n=">="+s+".0.0"+A+" <"+(+s+1)+".0.0"+A:u&&(n=">="+s+"."+o+".0"+A+" <"+s+"."+(+o+1)+".0"+A),Ke("xRange return",n),n})}function ile(t,e){return Ke("replaceStars",t,e),t.trim().replace($e[x.STAR],"")}function sle(t,e,r,n,i,s,o,a,A,c,l,u,d){return rn(r)?e="":rn(n)?e=">="+r+".0.0":rn(i)?e=">="+r+"."+n+".0":e=">="+e,rn(A)?a="":rn(c)?a="<"+(+A+1)+".0.0":rn(l)?a="<"+A+"."+(+c+1)+".0":u?a="<="+A+"."+c+"."+l+"-"+u:a="<="+a,(e+" "+a).trim()}kt.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new xe(t,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(ole(this.set[e],t,this.options))return!0;return!1};function ole(t,e,r){for(var n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(n=0;n<t.length;n++)if(Ke(t[n].semver),t[n].semver!==ul&&t[n].semver.prerelease.length>0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}ye.satisfies=Hy;function Hy(t,e,r){try{e=new kt(e,r)}catch{return!1}return e.test(t)}ye.maxSatisfying=ale;function ale(t,e,r){var n=null,i=null;try{var s=new kt(e,r)}catch{return null}return t.forEach(function(o){s.test(o)&&(!n||i.compare(o)===-1)&&(n=o,i=new xe(n,r))}),n}ye.minSatisfying=Ale;function Ale(t,e,r){var n=null,i=null;try{var s=new kt(e,r)}catch{return null}return t.forEach(function(o){s.test(o)&&(!n||i.compare(o)===1)&&(n=o,i=new xe(n,r))}),n}ye.minVersion=cle;function cle(t,e){t=new kt(t,e);var r=new xe("0.0.0");if(t.test(r)||(r=new xe("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n<t.set.length;++n){var i=t.set[n];i.forEach(function(s){var o=new xe(s.semver.version);switch(s.operator){case">":o.prerelease.length===0?o.patch++:o.prerelease.push(0),o.raw=o.format();case"":case">=":(!r||Gf(r,o))&&(r=o);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}ye.validRange=lle;function lle(t,e){try{return new kt(t,e).range||"*"}catch{return null}}ye.ltr=ule;function ule(t,e,r){return _w(t,e,"<",r)}ye.gtr=dle;function dle(t,e,r){return _w(t,e,">",r)}ye.outside=_w;function _w(t,e,r,n){t=new xe(t,n),e=new kt(e,n);var i,s,o,a,A;switch(r){case">":i=Gf,s=vw,o=Uy,a=">",A=">=";break;case"<":i=Uy,s=Rw,o=Gf,a="<",A="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Hy(t,e,n))return!1;for(var c=0;c<e.set.length;++c){var l=e.set[c],u=null,d=null;if(l.forEach(function(f){f.semver===ul&&(f=new hi(">=0.0.0")),u=u||f,d=d||f,i(f.semver,u.semver,n)?u=f:o(f.semver,d.semver,n)&&(d=f)}),u.operator===a||u.operator===A||(!d.operator||d.operator===a)&&s(t,d.semver))return!1;if(d.operator===A&&o(t,d.semver))return!1}return!0}ye.prerelease=fle;function fle(t,e){var r=uA(t,e);return r&&r.prerelease.length?r.prerelease:null}ye.intersects=hle;function hle(t,e,r){return t=new kt(t,r),e=new kt(e,r),t.intersects(e)}ye.coerce=gle;function gle(t,e){if(t instanceof xe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match($e[x.COERCE]);else{for(var n;(n=$e[x.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),$e[x.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;$e[x.COERCERTL].lastIndex=-1}return r===null?null:uA(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}});var Jf=h(St=>{"use strict";Object.defineProperty(St,"__esModule",{value:!0});St.CacheFileSizeLimit=St.ManifestFilename=St.TarFilename=St.SystemTarPathOnWindows=St.GnuTarPathOnWindows=St.SocketTimeout=St.DefaultRetryDelay=St.DefaultRetryAttempts=St.ArchiveToolType=St.CompressionMethod=St.CacheFilename=void 0;var jq;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(jq||(St.CacheFilename=jq={}));var zq;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(zq||(St.CompressionMethod=zq={}));var Gq;(function(t){t.GNU="gnu",t.BSD="bsd"})(Gq||(St.ArchiveToolType=Gq={}));St.DefaultRetryAttempts=2;St.DefaultRetryDelay=5e3;St.SocketTimeout=5e3;St.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;St.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;St.TarFilename="cache.tar";St.ManifestFilename="manifest.txt";St.CacheFileSizeLimit=10*Math.pow(1024,3)});var fl=h(Ye=>{"use strict";var mle=Ye&&Ye.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ple=Ye&&Ye.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),no=Ye&&Ye.__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)&&mle(e,t,r);return ple(e,t),e},dl=Ye&&Ye.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},yle=Ye&&Ye.__asyncValues||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(s){r[s]=t[s]&&function(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}};Object.defineProperty(Ye,"__esModule",{value:!0});Ye.getRuntimeToken=Ye.getCacheVersion=Ye.assertDefined=Ye.getGnuTarPathOnWindows=Ye.getCacheFileName=Ye.getCompressionMethod=Ye.unlinkFile=Ye.resolvePaths=Ye.getArchiveFileSizeInBytes=Ye.createTempDirectory=void 0;var Vf=no(at()),Ele=no(Tf()),Cle=no(Oq()),Yq=no(wy()),Jq=no(require("crypto")),Dw=no(require("fs")),jy=no(require("path")),Ile=no(Hq()),Ble=no(require("util")),dA=Jf(),Qle="1.0";function ble(){return dl(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=jy.join(n,"actions","temp")}let r=jy.join(e,Jq.randomUUID());return yield Yq.mkdirP(r),r})}Ye.createTempDirectory=ble;function Nle(t){return Dw.statSync(t).size}Ye.getArchiveFileSizeInBytes=Nle;function wle(t){var e,r,n,i,s;return dl(this,void 0,void 0,function*(){let o=[],a=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),A=yield Cle.create(t.join(`
|
|
`),{implicitDescendants:!1});try{for(var c=!0,l=yle(A.globGenerator()),u;u=yield l.next(),e=u.done,!e;c=!0){i=u.value,c=!1;let d=i,f=jy.relative(a,d).replace(new RegExp(`\\${jy.sep}`,"g"),"/");Vf.debug(`Matched: ${f}`),f===""?o.push("."):o.push(`${f}`)}}catch(d){r={error:d}}finally{try{!c&&!e&&(n=l.return)&&(yield n.call(l))}finally{if(r)throw r.error}}return o})}Ye.resolvePaths=wle;function Sle(t){return dl(this,void 0,void 0,function*(){return Ble.promisify(Dw.unlink)(t)})}Ye.unlinkFile=Sle;function Vq(t,e=[]){return dl(this,void 0,void 0,function*(){let r="";e.push("--version"),Vf.debug(`Checking ${t} ${e.join(" ")}`);try{yield Ele.exec(`${t}`,e,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:n=>r+=n.toString(),stderr:n=>r+=n.toString()}})}catch(n){Vf.debug(n.message)}return r=r.trim(),Vf.debug(r),r})}function xle(){return dl(this,void 0,void 0,function*(){let t=yield Vq("zstd",["--quiet"]),e=Ile.clean(t);return Vf.debug(`zstd version: ${e}`),t===""?dA.CompressionMethod.Gzip:dA.CompressionMethod.ZstdWithoutLong})}Ye.getCompressionMethod=xle;function Rle(t){return t===dA.CompressionMethod.Gzip?dA.CacheFilename.Gzip:dA.CacheFilename.Zstd}Ye.getCacheFileName=Rle;function vle(){return dl(this,void 0,void 0,function*(){return Dw.existsSync(dA.GnuTarPathOnWindows)?dA.GnuTarPathOnWindows:(yield Vq("tar")).toLowerCase().includes("gnu tar")?Yq.which("tar"):""})}Ye.getGnuTarPathOnWindows=vle;function _le(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}Ye.assertDefined=_le;function Dle(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Qle),Jq.createHash("sha256").update(n.join("|")).digest("hex")}Ye.getCacheVersion=Dle;function kle(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}Ye.getRuntimeToken=kle});var gi={};qX(gi,{__addDisposableResource:()=>E2,__assign:()=>zy,__asyncDelegator:()=>u2,__asyncGenerator:()=>l2,__asyncValues:()=>d2,__await:()=>hl,__awaiter:()=>i2,__classPrivateFieldGet:()=>m2,__classPrivateFieldIn:()=>y2,__classPrivateFieldSet:()=>p2,__createBinding:()=>Yy,__decorate:()=>Kq,__disposeResources:()=>C2,__esDecorate:()=>Zq,__exportStar:()=>o2,__extends:()=>Wq,__generator:()=>s2,__importDefault:()=>g2,__importStar:()=>h2,__makeTemplateObject:()=>f2,__metadata:()=>n2,__param:()=>Xq,__propKey:()=>t2,__read:()=>Tw,__rest:()=>$q,__rewriteRelativeImportExtension:()=>I2,__runInitializers:()=>e2,__setFunctionName:()=>r2,__spread:()=>a2,__spreadArray:()=>c2,__spreadArrays:()=>A2,__values:()=>Gy,default:()=>Ole});function Wq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");kw(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function $q(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function Kq(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function Xq(t,e){return function(r,n){e(r,n,t)}}function Zq(t,e,r,n,i,s){function o(C){if(C!==void 0&&typeof C!="function")throw new TypeError("Function expected");return C}for(var a=n.kind,A=a==="getter"?"get":a==="setter"?"set":"value",c=!e&&t?n.static?t:t.prototype:null,l=e||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),u,d=!1,f=r.length-1;f>=0;f--){var g={};for(var m in n)g[m]=m==="access"?{}:n[m];for(var m in n.access)g.access[m]=n.access[m];g.addInitializer=function(C){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(o(C||null))};var E=(0,r[f])(a==="accessor"?{get:l.get,set:l.set}:l[A],g);if(a==="accessor"){if(E===void 0)continue;if(E===null||typeof E!="object")throw new TypeError("Object expected");(u=o(E.get))&&(l.get=u),(u=o(E.set))&&(l.set=u),(u=o(E.init))&&i.unshift(u)}else(u=o(E))&&(a==="field"?i.unshift(u):l[A]=u)}c&&Object.defineProperty(c,n.name,l),d=!0}function e2(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function t2(t){return typeof t=="symbol"?t:"".concat(t)}function r2(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function n2(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function i2(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})}function s2(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(l){return A([c,l])}}function A(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){r.label=c[1];break}if(c[0]===6&&r.label<s[1]){r.label=s[1],s=c;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(c);break}s[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(l){c=[6,l],i=0}finally{n=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function o2(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Yy(e,t,r)}function Gy(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tw(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function a2(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Tw(arguments[e]));return t}function A2(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function c2(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function hl(t){return this instanceof hl?(this.v=t,this):new hl(t)}function l2(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(f){return function(g){return Promise.resolve(g).then(f,u)}}function a(f,g){n[f]&&(i[f]=function(m){return new Promise(function(E,C){s.push([f,m,E,C])>1||A(f,m)})},g&&(i[f]=g(i[f])))}function A(f,g){try{c(n[f](g))}catch(m){d(s[0][3],m)}}function c(f){f.value instanceof hl?Promise.resolve(f.value.v).then(l,u):d(s[0][2],f)}function l(f){A("next",f)}function u(f){A("throw",f)}function d(f,g){f(g),s.shift(),s.length&&A(s[0][0],s[0][1])}}function u2(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(o){return(r=!r)?{value:hl(t[i](o)),done:!1}:s?s(o):o}:s}}function d2(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 Gy=="function"?Gy(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}}function f2(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function h2(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=Pw(t),n=0;n<r.length;n++)r[n]!=="default"&&Yy(e,t,r[n]);return Ple(e,t),e}function g2(t){return t&&t.__esModule?t:{default:t}}function m2(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function p2(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function y2(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function E2(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(s){return Promise.reject(s)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function C2(t){function e(s){t.error=t.hasError?new Tle(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(o){return e(o),i()})}else n|=1}catch(o){e(o)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return i()}function I2(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,o){return n?e?".jsx":".js":i&&(!s||!o)?r:i+s+"."+o.toLowerCase()+"js"}):t}var kw,zy,Yy,Ple,Pw,Tle,Ole,mi=UX(()=>{kw=function(t,e){return kw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},kw(t,e)};zy=function(){return zy=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},zy.apply(this,arguments)};Yy=Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]});Ple=Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e},Pw=function(t){return Pw=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},Pw(t)};Tle=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};Ole={__extends:Wq,__assign:zy,__rest:$q,__decorate:Kq,__param:Xq,__esDecorate:Zq,__runInitializers:e2,__propKey:t2,__setFunctionName:r2,__metadata:n2,__awaiter:i2,__generator:s2,__createBinding:Yy,__exportStar:o2,__values:Gy,__read:Tw,__spread:a2,__spreadArrays:A2,__spreadArray:c2,__await:hl,__asyncGenerator:l2,__asyncDelegator:u2,__asyncValues:d2,__makeTemplateObject:f2,__importStar:h2,__importDefault:g2,__classPrivateFieldGet:m2,__classPrivateFieldSet:p2,__classPrivateFieldIn:y2,__addDisposableResource:E2,__disposeResources:C2,__rewriteRelativeImportExtension:I2}});var Wf=h(Jy=>{"use strict";Object.defineProperty(Jy,"__esModule",{value:!0});Jy.AbortError=void 0;var Ow=class extends Error{constructor(e){super(e),this.name="AbortError"}};Jy.AbortError=Ow});var Q2=h(Lw=>{"use strict";Object.defineProperty(Lw,"__esModule",{value:!0});Lw.log=Ule;var B2=(mi(),Ui(gi)),Lle=require("node:os"),Mle=B2.__importDefault(require("node:util")),Fle=B2.__importStar(require("node:process"));function Ule(t,...e){Fle.stderr.write(`${Mle.default.format(t,...e)}${Lle.EOL}`)}});var x2=h(Hw=>{"use strict";Object.defineProperty(Hw,"__esModule",{value:!0});var qle=Q2(),b2=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,N2,Mw=[],Fw=[],Vy=[];b2&&Uw(b2);var w2=Object.assign(t=>S2(t),{enable:Uw,enabled:qw,disable:Hle,log:qle.log});function Uw(t){N2=t,Mw=[],Fw=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?Fw.push(new RegExp(`^${n.substr(1)}$`)):Mw.push(new RegExp(`^${n}$`));for(let n of Vy)n.enabled=qw(n.namespace)}function qw(t){if(t.endsWith("*"))return!0;for(let e of Fw)if(e.test(t))return!1;for(let e of Mw)if(e.test(t))return!0;return!1}function Hle(){let t=N2||"";return Uw(""),t}function S2(t){let e=Object.assign(r,{enabled:qw(t),destroy:jle,log:w2.log,namespace:t,extend:zle});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return Vy.push(e),e}function jle(){let t=Vy.indexOf(this);return t>=0?(Vy.splice(t,1),!0):!1}function zle(t){let e=S2(`${this.namespace}:${t}`);return e.log=this.log,e}Hw.default=w2});var Kf=h(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.TypeSpecRuntimeLogger=void 0;Ko.createLoggerContext=D2;Ko.setLogLevel=Yle;Ko.getLogLevel=Jle;Ko.createClientLogger=Vle;var Gle=(mi(),Ui(gi)),$f=Gle.__importDefault(x2()),jw=["verbose","info","warning","error"],R2={verbose:400,info:300,warning:200,error:100};function v2(t,e){e.log=(...r)=>{t.log(...r)}}function _2(t){return jw.includes(t)}function D2(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,$f.default)(t.namespace);i.log=(...l)=>{$f.default.log(...l)};function s(l){if(l&&!_2(l))throw new Error(`Unknown log level '${l}'. Acceptable values: ${jw.join(",")}`);n=l;let u=[];for(let d of e)o(d)&&u.push(d.namespace);$f.default.enable(u.join(","))}r&&(_2(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${jw.join(", ")}.`));function o(l){return!!(n&&R2[l.level]<=R2[n])}function a(l,u){let d=Object.assign(l.extend(u),{level:u});if(v2(l,d),o(d)){let f=$f.default.disable();$f.default.enable(f+","+d.namespace)}return e.add(d),d}function A(){return n}function c(l){let u=i.extend(l);return v2(i,u),{error:a(u,"error"),warning:a(u,"warning"),info:a(u,"info"),verbose:a(u,"verbose")}}return{setLogLevel:s,getLogLevel:A,createClientLogger:c,logger:i}}var Wy=D2({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});Ko.TypeSpecRuntimeLogger=Wy.logger;function Yle(t){Wy.setLogLevel(t)}function Jle(){return Wy.getLogLevel()}function Vle(t){return Wy.createClientLogger(t)}});var Xo=h(Gw=>{"use strict";Object.defineProperty(Gw,"__esModule",{value:!0});Gw.createHttpHeaders=$le;function $y(t){return t.toLowerCase()}function*Wle(t){for(let e of t.values())yield[e.name,e.value]}var zw=class{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($y(e),{name:e,value:String(r).trim()})}get(e){var r;return(r=this._headersMap.get($y(e)))===null||r===void 0?void 0:r.value}has(e){return this._headersMap.has($y(e))}delete(e){this._headersMap.delete($y(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Wle(this._headersMap)}};function $le(t){return new zw(t)}});var P2=h(k2=>{"use strict";Object.defineProperty(k2,"__esModule",{value:!0})});var O2=h(T2=>{"use strict";Object.defineProperty(T2,"__esModule",{value:!0})});var Ky=h(Jw=>{"use strict";var Yw;Object.defineProperty(Jw,"__esModule",{value:!0});Jw.randomUUID=Zle;var Kle=require("node:crypto"),Xle=typeof((Yw=globalThis?.crypto)===null||Yw===void 0?void 0:Yw.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Kle.randomUUID;function Zle(){return Xle()}});var $w=h(Ww=>{"use strict";Object.defineProperty(Ww,"__esModule",{value:!0});Ww.createPipelineRequest=rue;var eue=Xo(),tue=Ky(),Vw=class{constructor(e){var r,n,i,s,o,a,A;this.url=e.url,this.body=e.body,this.headers=(r=e.headers)!==null&&r!==void 0?r:(0,eue.createHttpHeaders)(),this.method=(n=e.method)!==null&&n!==void 0?n:"GET",this.timeout=(i=e.timeout)!==null&&i!==void 0?i:0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=(s=e.disableKeepAlive)!==null&&s!==void 0?s:!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=(o=e.withCredentials)!==null&&o!==void 0?o:!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,tue.randomUUID)(),this.allowInsecureConnection=(a=e.allowInsecureConnection)!==null&&a!==void 0?a:!1,this.enableBrowserStreams=(A=e.enableBrowserStreams)!==null&&A!==void 0?A:!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function rue(t){return new Vw(t)}});var Zw=h(Xw=>{"use strict";Object.defineProperty(Xw,"__esModule",{value:!0});Xw.createEmptyPipeline=nue;var L2=new Set(["Deserialize","Serialize","Retry","Sign"]),Kw=class t{constructor(e){var r;this._policies=[],this._policies=(r=e?.slice(0))!==null&&r!==void 0?r:[],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&&!L2.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!L2.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((s,o)=>a=>o.sendRequest(a,s),s=>e.sendRequest(s))(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(g){return{name:g,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=n("Serialize"),s=n("None"),o=n("Deserialize"),a=n("Retry"),A=n("Sign"),c=[i,s,o,a,A];function l(g){return g==="Retry"?a:g==="Serialize"?i:g==="Deserialize"?o:g==="Sign"?A:s}for(let g of this._policies){let m=g.policy,E=g.options,C=m.name;if(r.has(C))throw new Error("Duplicate policy names not allowed in pipeline");let I={policy:m,dependsOn:new Set,dependants:new Set};E.afterPhase&&(I.afterPhase=l(E.afterPhase),I.afterPhase.hasAfterPolicies=!0),r.set(C,I),l(E.phase).policies.add(I)}for(let g of this._policies){let{policy:m,options:E}=g,C=m.name,I=r.get(C);if(!I)throw new Error(`Missing node for policy ${C}`);if(E.afterPolicies)for(let N of E.afterPolicies){let w=r.get(N);w&&(I.dependsOn.add(w),w.dependants.add(I))}if(E.beforePolicies)for(let N of E.beforePolicies){let w=r.get(N);w&&(w.dependsOn.add(I),I.dependants.add(w))}}function u(g){g.hasRun=!0;for(let m of g.policies)if(!(m.afterPhase&&(!m.afterPhase.hasRun||m.afterPhase.policies.size))&&m.dependsOn.size===0){e.push(m.policy);for(let E of m.dependants)E.dependsOn.delete(m);r.delete(m.policy.name),g.policies.delete(m)}}function d(){for(let g of c){if(u(g),g.policies.size>0&&g!==s){s.hasRun||u(s);return}g.hasAfterPolicies&&u(s)}}let f=0;for(;r.size>0;){f++;let g=e.length;if(d(),e.length<=g&&f>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function nue(){return Kw.create()}});var Xy=h(eS=>{"use strict";Object.defineProperty(eS,"__esModule",{value:!0});eS.isObject=iue;function iue(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}});var rS=h(tS=>{"use strict";Object.defineProperty(tS,"__esModule",{value:!0});tS.isError=oue;var sue=Xy();function oue(t){if((0,sue.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}});var M2=h(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});Zy.custom=void 0;var aue=require("node:util");Zy.custom=aue.inspect.custom});var Xf=h(eE=>{"use strict";Object.defineProperty(eE,"__esModule",{value:!0});eE.Sanitizer=void 0;var Aue=Xy(),nS="REDACTED",cue=["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"],lue=["api-version"],iS=class{constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=cue.concat(e),r=lue.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,i)=>{if(i instanceof Error)return Object.assign(Object.assign({},i),{name:i.name,message:i.message});if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,Aue.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},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,nS);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]=nS;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]=nS;return r}};eE.Sanitizer=iS});var ml=h(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.RestError=void 0;Zf.isRestError=gue;var uue=rS(),due=M2(),fue=Xf(),hue=new fue.Sanitizer,gl=class t extends Error{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}),Object.defineProperty(this,due.custom,{value:()=>`RestError: ${this.message}
|
|
${hue.sanitize(Object.assign(Object.assign({},this),{request:this.request,response:this.response}))}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};Zf.RestError=gl;gl.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";gl.PARSE_ERROR="PARSE_ERROR";function gue(t){return t instanceof gl?!0:(0,uue.isError)(t)&&t.name==="RestError"}});var fA=h(tE=>{"use strict";Object.defineProperty(tE,"__esModule",{value:!0});tE.uint8ArrayToString=mue;tE.stringToUint8Array=pue;function mue(t,e){return Buffer.from(t).toString(e)}function pue(t,e){return Buffer.from(t,e)}});var eh=h(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.logger=void 0;var yue=Kf();rE.logger=(0,yue.createClientLogger)("ts-http-runtime")});var z2=h(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.getBodyLength=j2;iE.createNodeHttpClient=wue;var AS=(mi(),Ui(gi)),sS=AS.__importStar(require("node:http")),oS=AS.__importStar(require("node:https")),F2=AS.__importStar(require("node:zlib")),Eue=require("node:stream"),U2=Wf(),Cue=Xo(),rh=ml(),pl=eh(),Iue=Xf(),Bue={};function th(t){return t&&typeof t.pipe=="function"}function q2(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 H2(t){return t&&typeof t.byteLength=="number"}var nE=class extends Eue.Transform{_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.loadedBytes=0,this.progressCallback=e}},aS=class{constructor(){this.cachedHttpsAgents=new WeakMap}async sendRequest(e){var r,n,i;let s=new AbortController,o;if(e.abortSignal){if(e.abortSignal.aborted)throw new U2.AbortError("The operation was aborted. Request has already been canceled.");o=d=>{d.type==="abort"&&s.abort()},e.abortSignal.addEventListener("abort",o)}let a;e.timeout>0&&(a=setTimeout(()=>{let d=new Iue.Sanitizer;pl.logger.info(`request to '${d.sanitizeUrl(e.url)}' timed out. canceling...`),s.abort()},e.timeout));let A=e.headers.get("Accept-Encoding"),c=A?.includes("gzip")||A?.includes("deflate"),l=typeof e.body=="function"?e.body():e.body;if(l&&!e.headers.has("Content-Length")){let d=j2(l);d!==null&&e.headers.set("Content-Length",d)}let u;try{if(l&&e.onUploadProgress){let C=e.onUploadProgress,I=new nE(C);I.on("error",N=>{pl.logger.error("Error in upload progress",N)}),th(l)?l.pipe(I):I.end(l),l=I}let d=await this.makeRequest(e,s,l);a!==void 0&&clearTimeout(a);let f=Que(d),m={status:(r=d.statusCode)!==null&&r!==void 0?r:0,headers:f,request:e};if(e.method==="HEAD")return d.resume(),m;u=c?bue(d,f):d;let E=e.onDownloadProgress;if(E){let C=new nE(E);C.on("error",I=>{pl.logger.error("Error in download progress",I)}),u.pipe(C),u=C}return!((n=e.streamResponseStatusCodes)===null||n===void 0)&&n.has(Number.POSITIVE_INFINITY)||!((i=e.streamResponseStatusCodes)===null||i===void 0)&&i.has(m.status)?m.readableStreamBody=u:m.bodyAsText=await Nue(u),m}finally{if(e.abortSignal&&o){let d=Promise.resolve();th(l)&&(d=q2(l));let f=Promise.resolve();th(u)&&(f=q2(u)),Promise.all([d,f]).then(()=>{var g;o&&((g=e.abortSignal)===null||g===void 0||g.removeEventListener("abort",o))}).catch(g=>{pl.logger.warning("Error when cleaning up abortListener on httpRequest",g)})}}}makeRequest(e,r,n){var i;let s=new URL(e.url),o=s.protocol!=="https:";if(o&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a=(i=e.agent)!==null&&i!==void 0?i:this.getOrCreateAgent(e,o),A=Object.assign({agent:a,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 u=o?sS.request(A,c):oS.request(A,c);u.once("error",d=>{var f;l(new rh.RestError(d.message,{code:(f=d.code)!==null&&f!==void 0?f:rh.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new U2.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),l(d)}),n&&th(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):H2(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(pl.logger.error("Unrecognized body type",n),l(new rh.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){var n;let i=e.disableKeepAlive;if(r)return i?sS.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new sS.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(i&&!e.tlsSettings)return oS.globalAgent;let s=(n=e.tlsSettings)!==null&&n!==void 0?n:Bue,o=this.cachedHttpsAgents.get(s);return o&&o.options.keepAlive===!i||(pl.logger.info("No cached TLS Agent exist, creating a new Agent"),o=new oS.Agent(Object.assign({keepAlive:!i},s)),this.cachedHttpsAgents.set(s,o)),o}}};function Que(t){let e=(0,Cue.createHttpHeaders)();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 bue(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=F2.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=F2.createInflate();return t.pipe(n),n}return t}function Nue(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new rh.RestError(`Error reading response as text: ${i.message}`,{code:rh.RestError.PARSE_ERROR}))})})}function j2(t){return t?Buffer.isBuffer(t)?t.length:th(t)?null:H2(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}function wue(){return new aS}});var lS=h(cS=>{"use strict";Object.defineProperty(cS,"__esModule",{value:!0});cS.createDefaultHttpClient=xue;var Sue=z2();function xue(){return(0,Sue.createNodeHttpClient)()}});var uS=h(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.logPolicyName=void 0;yl.logPolicy=_ue;var Rue=eh(),vue=Xf();yl.logPolicyName="logPolicy";function _ue(t={}){var e;let r=(e=t.logger)!==null&&e!==void 0?e:Rue.logger.info,n=new vue.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:yl.logPolicyName,async sendRequest(i,s){if(!r.enabled)return s(i);r(`Request: ${n.sanitize(i)}`);let o=await s(i);return r(`Response status code: ${o.status}`),r(`Headers: ${n.sanitize(o.headers)}`),o}}}});var dS=h(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.redirectPolicyName=void 0;El.redirectPolicy=Due;El.redirectPolicyName="redirectPolicy";var G2=["GET","HEAD"];function Due(t={}){let{maxRetries:e=20}=t;return{name:El.redirectPolicyName,async sendRequest(r,n){let i=await n(r);return Y2(n,i,e)}}}async function Y2(t,e,r,n=0){let{request:i,status:s,headers:o}=e,a=o.get("location");if(a&&(s===300||s===301&&G2.includes(i.method)||s===302&&G2.includes(i.method)||s===303&&i.method==="POST"||s===307)&&n<r){let A=new URL(a,i.url);i.url=A.toString(),s===303&&(i.method="GET",i.headers.delete("Content-Length"),delete i.body),i.headers.delete("Authorization");let c=await t(i);return Y2(t,c,r,n+1)}return e}});var V2=h(sE=>{"use strict";Object.defineProperty(sE,"__esModule",{value:!0});sE.getHeaderName=kue;sE.setPlatformSpecificData=Pue;var J2=(mi(),Ui(gi)),fS=J2.__importStar(require("node:os")),hS=J2.__importStar(require("node:process"));function kue(){return"User-Agent"}async function Pue(t){if(hS&&hS.versions){let e=hS.versions;e.bun?t.set("Bun",e.bun):e.deno?t.set("Deno",e.deno):e.node&&t.set("Node",e.node)}t.set("OS",`(${fS.arch()}-${fS.type()}-${fS.release()})`)}});var hA=h(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.DEFAULT_RETRY_POLICY_COUNT=Cl.SDK_VERSION=void 0;Cl.SDK_VERSION="0.3.0";Cl.DEFAULT_RETRY_POLICY_COUNT=3});var $2=h(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.getUserAgentHeaderName=Lue;oE.getUserAgentValue=Mue;var W2=V2(),Tue=hA();function Oue(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}function Lue(){return(0,W2.getHeaderName)()}async function Mue(t){let e=new Map;e.set("ts-http-runtime",Tue.SDK_VERSION),await(0,W2.setPlatformSpecificData)(e);let r=Oue(e);return t?`${t} ${r}`:r}});var gS=h(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.userAgentPolicyName=void 0;Il.userAgentPolicy=Fue;var X2=$2(),K2=(0,X2.getUserAgentHeaderName)();Il.userAgentPolicyName="userAgentPolicy";function Fue(t={}){let e=(0,X2.getUserAgentValue)(t.userAgentPrefix);return{name:Il.userAgentPolicyName,async sendRequest(r,n){return r.headers.has(K2)||r.headers.set(K2,await e),n(r)}}}});var mS=h(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.decompressResponsePolicyName=void 0;Bl.decompressResponsePolicy=Uue;Bl.decompressResponsePolicyName="decompressResponsePolicy";function Uue(){return{name:Bl.decompressResponsePolicyName,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}});var yS=h(pS=>{"use strict";Object.defineProperty(pS,"__esModule",{value:!0});pS.getRandomIntegerInclusive=que;function que(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}});var CS=h(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.calculateRetryDelay=jue;var Hue=yS();function jue(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Hue.getRandomIntegerInclusive)(0,n/2)}}});var IS=h(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.delay=Yue;aE.parseHeaderValueAsNumber=Jue;var zue=Wf(),Gue="The operation was aborted.";function Yue(t,e,r){return new Promise((n,i)=>{let s,o,a=()=>i(new zue.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Gue)),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(s&&clearTimeout(s),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();s=setTimeout(()=>{A(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}function Jue(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}});var cE=h(AE=>{"use strict";Object.defineProperty(AE,"__esModule",{value:!0});AE.isThrottlingRetryResponse=$ue;AE.throttlingRetryStrategy=Kue;var Vue=IS(),BS="Retry-After",Wue=["retry-after-ms","x-ms-retry-after-ms",BS];function Z2(t){if(t&&[429,503].includes(t.status))try{for(let i of Wue){let s=(0,Vue.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===BS?1e3:1)}let e=t.headers.get(BS);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}function $ue(t){return Number.isFinite(Z2(t))}function Kue(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=Z2(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}});var lE=h(nh=>{"use strict";Object.defineProperty(nh,"__esModule",{value:!0});nh.exponentialRetryStrategy=rde;nh.isExponentialRetryResponse=eH;nh.isSystemError=tH;var Xue=CS(),Zue=cE(),ede=1e3,tde=1e3*64;function rde(t={}){var e,r;let n=(e=t.retryDelayInMs)!==null&&e!==void 0?e:ede,i=(r=t.maxRetryDelayInMs)!==null&&r!==void 0?r:tde;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:o,responseError:a}){let A=tH(a),c=A&&t.ignoreSystemErrors,l=eH(o),u=l&&t.ignoreHttpStatusCodes;return o&&((0,Zue.isThrottlingRetryResponse)(o)||!l)||u||c?{skipStrategy:!0}:a&&!A&&!l?{errorToThrow:a}:(0,Xue.calculateRetryDelay)(s,{retryDelayInMs:n,maxRetryDelayInMs:i})}}}function eH(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}function tH(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}});var Ql=h(QS=>{"use strict";Object.defineProperty(QS,"__esModule",{value:!0});QS.retryPolicy=Ade;var nde=IS(),ide=Wf(),sde=Kf(),rH=hA(),ode=(0,sde.createClientLogger)("ts-http-runtime retryPolicy"),ade="retryPolicy";function Ade(t,e={maxRetries:rH.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||ode;return{name:ade,async sendRequest(n,i){var s,o;let a,A,c=-1;e:for(;;){c+=1,a=void 0,A=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),a=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),A=l,!l||A.name!=="RestError")throw l;a=A.response}if(!((s=n.abortSignal)===null||s===void 0)&&s.aborted)throw r.error(`Retry ${c}: Request aborted.`),new ide.AbortError;if(c>=((o=e.maxRetries)!==null&&o!==void 0?o:rH.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),A)throw A;if(a)return a;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let d=l.retry({retryCount:c,response:a,responseError:A});if(d.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:f,retryAfterInMs:g,redirectTo:m}=d;if(f)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,f),f;if(g||g===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${g}`),await(0,nde.delay)(g,void 0,{abortSignal:n.abortSignal});continue e}if(m){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),n.url=m;continue e}}if(A)throw r.info("None of the retry strategies could work with the received error. Throwing it."),A;if(a)return r.info("None of the retry strategies could work with the received response. Returning it."),a}}}}});var bS=h(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.defaultRetryPolicyName=void 0;bl.defaultRetryPolicy=fde;var cde=lE(),lde=cE(),ude=Ql(),dde=hA();bl.defaultRetryPolicyName="defaultRetryPolicy";function fde(t={}){var e;return{name:bl.defaultRetryPolicyName,sendRequest:(0,ude.retryPolicy)([(0,lde.throttlingRetryStrategy)(),(0,cde.exponentialRetryStrategy)(t)],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:dde.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}});var ih=h(ar=>{"use strict";var NS,wS,SS,xS;Object.defineProperty(ar,"__esModule",{value:!0});ar.isReactNative=ar.isNodeRuntime=ar.isNodeLike=ar.isBun=ar.isDeno=ar.isWebWorker=ar.isBrowser=void 0;ar.isBrowser=typeof window<"u"&&typeof window.document<"u";ar.isWebWorker=typeof self=="object"&&typeof self?.importScripts=="function"&&(((NS=self.constructor)===null||NS===void 0?void 0:NS.name)==="DedicatedWorkerGlobalScope"||((wS=self.constructor)===null||wS===void 0?void 0:wS.name)==="ServiceWorkerGlobalScope"||((SS=self.constructor)===null||SS===void 0?void 0:SS.name)==="SharedWorkerGlobalScope");ar.isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u";ar.isBun=typeof Bun<"u"&&typeof Bun.version<"u";ar.isNodeLike=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!(!((xS=globalThis.process.versions)===null||xS===void 0)&&xS.node);ar.isNodeRuntime=ar.isNodeLike&&!ar.isBun&&!ar.isDeno;ar.isReactNative=typeof navigator<"u"&&navigator?.product==="ReactNative"});var RS=h(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.formDataPolicyName=void 0;Nl.formDataPolicy=pde;var hde=fA(),gde=ih(),nH=Xo();Nl.formDataPolicyName="formDataPolicy";function mde(t){var e;let r={};for(let[n,i]of t.entries())(e=r[n])!==null&&e!==void 0||(r[n]=[]),r[n].push(i);return r}function pde(){return{name:Nl.formDataPolicyName,async sendRequest(t,e){if(gde.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=mde(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=yde(t.formData):await Ede(t.formData,t),t.formData=void 0}return e(t)}}}function yde(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}async function Ede(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[i,s]of Object.entries(t))for(let o of Array.isArray(s)?s:[s])if(typeof o=="string")n.push({headers:(0,nH.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,hde.stringToUint8Array)(o,"utf-8")});else{if(o==null||typeof o!="object")throw new Error(`Unexpected value for key ${i}: ${o}. Value should be serialized to string first.`);{let a=o.name||"blob",A=(0,nH.createHttpHeaders)();A.set("Content-Disposition",`form-data; name="${i}"; filename="${a}"`),A.set("Content-Type",o.type||"application/octet-stream"),n.push({headers:A,body:o})}}e.multipartBody={parts:n}}});var sH=h((AFe,iH)=>{var wl=1e3,Sl=wl*60,xl=Sl*60,gA=xl*24,Cde=gA*7,Ide=gA*365.25;iH.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Bde(t);if(r==="number"&&isFinite(t))return e.long?bde(t):Qde(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Bde(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*Ide;case"weeks":case"week":case"w":return r*Cde;case"days":case"day":case"d":return r*gA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*xl;case"minutes":case"minute":case"mins":case"min":case"m":return r*Sl;case"seconds":case"second":case"secs":case"sec":case"s":return r*wl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Qde(t){var e=Math.abs(t);return e>=gA?Math.round(t/gA)+"d":e>=xl?Math.round(t/xl)+"h":e>=Sl?Math.round(t/Sl)+"m":e>=wl?Math.round(t/wl)+"s":t+"ms"}function bde(t){var e=Math.abs(t);return e>=gA?uE(t,e,gA,"day"):e>=xl?uE(t,e,xl,"hour"):e>=Sl?uE(t,e,Sl,"minute"):e>=wl?uE(t,e,wl,"second"):t+" ms"}function uE(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var vS=h((cFe,oH)=>{function Nde(t){r.debug=r,r.default=r,r.coerce=A,r.disable=o,r.enable=i,r.enabled=a,r.humanize=sH(),r.destroy=c,Object.keys(t).forEach(l=>{r[l]=t[l]}),r.names=[],r.skips=[],r.formatters={};function e(l){let u=0;for(let d=0;d<l.length;d++)u=(u<<5)-u+l.charCodeAt(d),u|=0;return r.colors[Math.abs(u)%r.colors.length]}r.selectColor=e;function r(l){let u,d=null,f,g;function m(...E){if(!m.enabled)return;let C=m,I=Number(new Date),N=I-(u||I);C.diff=N,C.prev=u,C.curr=I,u=I,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let w=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(T,U)=>{if(T==="%%")return"%";w++;let k=r.formatters[U];if(typeof k=="function"){let J=E[w];T=k.call(C,J),E.splice(w,1),w--}return T}),r.formatArgs.call(C,E),(C.log||r.log).apply(C,E)}return m.namespace=l,m.useColors=r.useColors(),m.color=r.selectColor(l),m.extend=n,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(f!==r.namespaces&&(f=r.namespaces,g=r.enabled(l)),g),set:E=>{d=E}}),typeof r.init=="function"&&r.init(m),m}function n(l,u){let d=r(this.namespace+(typeof u>"u"?":":u)+l);return d.log=this.log,d}function i(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let u=(typeof l=="string"?l:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let d of u)d[0]==="-"?r.skips.push(d.slice(1)):r.names.push(d)}function s(l,u){let d=0,f=0,g=-1,m=0;for(;d<l.length;)if(f<u.length&&(u[f]===l[d]||u[f]==="*"))u[f]==="*"?(g=f,m=d,f++):(d++,f++);else if(g!==-1)f=g+1,m++,d=m;else return!1;for(;f<u.length&&u[f]==="*";)f++;return f===u.length}function o(){let l=[...r.names,...r.skips.map(u=>"-"+u)].join(",");return r.enable(""),l}function a(l){for(let u of r.skips)if(s(l,u))return!1;for(let u of r.names)if(s(l,u))return!0;return!1}function A(l){return l instanceof Error?l.stack||l.message:l}function c(){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}oH.exports=Nde});var aH=h((In,dE)=>{In.formatArgs=Sde;In.save=xde;In.load=Rde;In.useColors=wde;In.storage=vde();In.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`."))}})();In.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 wde(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return 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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Sde(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+dE.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,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}In.log=console.debug||console.log||(()=>{});function xde(t){try{t?In.storage.setItem("debug",t):In.storage.removeItem("debug")}catch{}}function Rde(){let t;try{t=In.storage.getItem("debug")||In.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function vde(){try{return localStorage}catch{}}dE.exports=vS()(In);var{formatters:_de}=dE.exports;_de.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var cH=h((pr,hE)=>{var Dde=require("tty"),fE=require("util");pr.init=Fde;pr.log=Ode;pr.formatArgs=Pde;pr.save=Lde;pr.load=Mde;pr.useColors=kde;pr.destroy=fE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");pr.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(pr.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{}pr.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.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 kde(){return"colors"in pr.inspectOpts?!!pr.inspectOpts.colors:Dde.isatty(process.stderr.fd)}function Pde(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
|
|
`).join(`
|
|
`+s),t.push(i+"m+"+hE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Tde()+e+" "+t[0]}function Tde(){return pr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Ode(...t){return process.stderr.write(fE.formatWithOptions(pr.inspectOpts,...t)+`
|
|
`)}function Lde(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function Mde(){return process.env.DEBUG}function Fde(t){t.inspectOpts={};let e=Object.keys(pr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=pr.inspectOpts[e[r]]}hE.exports=vS()(pr);var{formatters:AH}=hE.exports;AH.o=function(t){return this.inspectOpts.colors=this.useColors,fE.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};AH.O=function(t){return this.inspectOpts.colors=this.useColors,fE.inspect(t,this.inspectOpts)}});var gE=h((lFe,_S)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?_S.exports=aH():_S.exports=cH()});var dH=h(Bn=>{"use strict";var Ude=Bn&&Bn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),qde=Bn&&Bn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),lH=Bn&&Bn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Ude(e,t,r);return qde(e,t),e};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.req=Bn.json=Bn.toBuffer=void 0;var Hde=lH(require("http")),jde=lH(require("https"));async function uH(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}Bn.toBuffer=uH;async function zde(t){let r=(await uH(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}Bn.json=zde;function Gde(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?jde:Hde).request(t,e),i=new Promise((s,o)=>{n.once("response",s).once("error",o).end()});return n.then=i.then.bind(i),n}Bn.req=Gde});var kS=h(Vn=>{"use strict";var hH=Vn&&Vn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Yde=Vn&&Vn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),gH=Vn&&Vn.__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)&&hH(e,t,r);return Yde(e,t),e},Jde=Vn&&Vn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&hH(e,t,r)};Object.defineProperty(Vn,"__esModule",{value:!0});Vn.Agent=void 0;var Vde=gH(require("net")),fH=gH(require("http")),Wde=require("https");Jde(dH(),Vn);var Bs=Symbol("AgentBaseInternalState"),DS=class extends fH.Agent{constructor(e){super(e),this[Bs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
|
|
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Vde.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],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?Wde.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),o=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(s,o),a instanceof fH.Agent)try{return a.addRequest(e,i)}catch(A){return n(A)}this[Bs].currentSocket=a,super.createSocket(e,r,n)},a=>{this.decrementSockets(s,o),n(a)})}createConnection(){let e=this[Bs].currentSocket;if(this[Bs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Bs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Bs]&&(this[Bs].defaultPort=e)}get protocol(){return this[Bs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Bs]&&(this[Bs].protocol=e)}};Vn.Agent=DS});var mH=h(Rl=>{"use strict";var $de=Rl&&Rl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Rl,"__esModule",{value:!0});Rl.parseProxyResponse=void 0;var Kde=$de(gE()),mE=(0,Kde.default)("https-proxy-agent:parse-proxy-response");function Xde(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let l=t.read();l?c(l):t.once("readable",s)}function o(){t.removeListener("end",a),t.removeListener("error",A),t.removeListener("readable",s)}function a(){o(),mE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function A(l){o(),mE("onerror %o",l),r(l)}function c(l){i.push(l),n+=l.length;let u=Buffer.concat(i,n),d=u.indexOf(`\r
|
|
\r
|
|
`);if(d===-1){mE("have not received end of HTTP headers yet..."),s();return}let f=u.slice(0,d).toString("ascii").split(`\r
|
|
`),g=f.shift();if(!g)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=g.split(" "),E=+m[1],C=m.slice(2).join(" "),I={};for(let N of f){if(!N)continue;let w=N.indexOf(":");if(w===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${N}"`));let v=N.slice(0,w).toLowerCase(),T=N.slice(w+1).trimStart(),U=I[v];typeof U=="string"?I[v]=[U,T]:Array.isArray(U)?U.push(T):I[v]=T}mE("got proxy server response: %o %o",g,I),o(),e({connect:{statusCode:E,statusText:C,headers:I},buffered:u})}t.on("error",A),t.on("end",a),s()})}Rl.parseProxyResponse=Xde});var BH=h(pi=>{"use strict";var Zde=pi&&pi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),efe=pi&&pi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),CH=pi&&pi.__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)&&Zde(e,t,r);return efe(e,t),e},IH=pi&&pi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(pi,"__esModule",{value:!0});pi.HttpsProxyAgent=void 0;var pE=CH(require("net")),pH=CH(require("tls")),tfe=IH(require("assert")),rfe=IH(gE()),nfe=kS(),ife=require("url"),sfe=mH(),sh=(0,rfe.default)("https-proxy-agent"),yH=t=>t.servername===void 0&&t.host&&!pE.isIP(t.host)?{...t,servername:t.host}:t,yE=class extends nfe.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new ife.URL(e):e,this.proxyHeaders=r?.headers??{},sh("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?EH(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(sh("Creating `tls.Socket`: %o",this.connectOpts),i=pH.connect(yH(this.connectOpts))):(sh("Creating `net.Socket`: %o",this.connectOpts),i=pE.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=pE.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)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}s.Host=`${o}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(s))a+=`${d}: ${s[d]}\r
|
|
`;let A=(0,sfe.parseProxyResponse)(i);i.write(`${a}\r
|
|
`);let{connect:c,buffered:l}=await A;if(e.emit("proxyConnect",c),this.emit("proxyConnect",c,e),c.statusCode===200)return e.once("socket",ofe),r.secureEndpoint?(sh("Upgrading socket connection to TLS"),pH.connect({...EH(yH(r),"host","path","port"),socket:i})):i;i.destroy();let u=new pE.Socket({writable:!1});return u.readable=!0,e.once("socket",d=>{sh("Replaying proxy buffer for failed request"),(0,tfe.default)(d.listenerCount("data")>0),d.push(l),d.push(null)}),u}};yE.protocols=["http","https"];pi.HttpsProxyAgent=yE;function ofe(t){t.resume()}function EH(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}});var NH=h(yi=>{"use strict";var afe=yi&&yi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Afe=yi&&yi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bH=yi&&yi.__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)&&afe(e,t,r);return Afe(e,t),e},cfe=yi&&yi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yi,"__esModule",{value:!0});yi.HttpProxyAgent=void 0;var lfe=bH(require("net")),ufe=bH(require("tls")),dfe=cfe(gE()),ffe=require("events"),hfe=kS(),QH=require("url"),vl=(0,dfe.default)("http-proxy-agent"),EE=class extends hfe.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new QH.URL(e):e,this.proxyHeaders=r?.headers??{},vl("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?gfe(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",o=`${i}//${s}`,a=new QH.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let A=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let c=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;A["Proxy-Authorization"]=`Basic ${Buffer.from(c).toString("base64")}`}A["Proxy-Connection"]||(A["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let c of Object.keys(A)){let l=A[c];l&&e.setHeader(c,l)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;vl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(vl("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r
|
|
\r
|
|
`)+4,e.outputData[0].data=e._header+n.substring(i),vl("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(vl("Creating `tls.Socket`: %o",this.connectOpts),s=ufe.connect(this.connectOpts)):(vl("Creating `net.Socket`: %o",this.connectOpts),s=lfe.connect(this.connectOpts)),await(0,ffe.once)(s,"connect"),s}};EE.protocols=["http","https"];yi.HttpProxyAgent=EE;function gfe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}});var PS=h(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.globalNoProxyList=Ei.proxyPolicyName=void 0;Ei.loadNoProxy=vH;Ei.getDefaultProxySettings=Nfe;Ei.proxyPolicy=Sfe;var mfe=BH(),pfe=NH(),yfe=eh(),Efe="HTTPS_PROXY",Cfe="HTTP_PROXY",Ife="ALL_PROXY",Bfe="NO_PROXY";Ei.proxyPolicyName="proxyPolicy";Ei.globalNoProxyList=[];var xH=!1,Qfe=new Map;function CE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}function RH(){if(!process)return;let t=CE(Efe),e=CE(Ife),r=CE(Cfe);return t||e||r}function bfe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}function vH(){let t=CE(Bfe);return xH=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}function Nfe(t){if(!t&&(t=RH(),!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 wfe(){let t=RH();return t?new URL(t):void 0}function wH(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 SH(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&yfe.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new pfe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new mfe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}function Sfe(t,e){xH||Ei.globalNoProxyList.push(...vH());let r=t?wH(t):wfe(),n={};return{name:Ei.proxyPolicyName,async sendRequest(i,s){var o;return!i.proxySettings&&r&&!bfe(i.url,(o=e?.customNoProxyList)!==null&&o!==void 0?o:Ei.globalNoProxyList,e?.customNoProxyList?void 0:Qfe)?SH(i,n,r):i.proxySettings&&SH(i,n,wH(i.proxySettings)),s(i)}}}});var TS=h(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.agentPolicyName=void 0;_l.agentPolicy=xfe;_l.agentPolicyName="agentPolicy";function xfe(t){return{name:_l.agentPolicyName,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}});var OS=h(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.tlsPolicyName=void 0;Dl.tlsPolicy=Rfe;Dl.tlsPolicyName="tlsPolicy";function Rfe(t){return{name:Dl.tlsPolicyName,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}});var oh=h(mA=>{"use strict";Object.defineProperty(mA,"__esModule",{value:!0});mA.isNodeReadableStream=_H;mA.isWebReadableStream=DH;mA.isBinaryBody=vfe;mA.isReadableStream=kH;mA.isBlob=_fe;function _H(t){return!!(t&&typeof t.pipe=="function")}function DH(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}function vfe(t){return t!==void 0&&(t instanceof Uint8Array||kH(t)||typeof t=="function"||t instanceof Blob)}function kH(t){return _H(t)||DH(t)}function _fe(t){return typeof t.stream=="function"}});var OH=h(MS=>{"use strict";Object.defineProperty(MS,"__esModule",{value:!0});MS.concat=Tfe;var io=(mi(),Ui(gi)),LS=require("stream"),Dfe=oh();function PH(){return io.__asyncGenerator(this,arguments,function*(){let e=this.getReader();try{for(;;){let{done:r,value:n}=yield io.__await(e.read());if(r)return yield io.__await(void 0);yield yield io.__await(n)}}finally{e.releaseLock()}})}function kfe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=PH.bind(t)),t.values||(t.values=PH.bind(t))}function TH(t){return t instanceof ReadableStream?(kfe(t),LS.Readable.fromWeb(t)):t}function Pfe(t){return t instanceof Uint8Array?LS.Readable.from(Buffer.from(t)):(0,Dfe.isBlob)(t)?TH(t.stream()):TH(t)}async function Tfe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Pfe);return LS.Readable.from((function(){return io.__asyncGenerator(this,arguments,function*(){var r,n,i,s;for(let c of e)try{for(var o=!0,a=(n=void 0,io.__asyncValues(c)),A;A=yield io.__await(a.next()),r=A.done,!r;o=!0){s=A.value,o=!1;let l=s;yield yield io.__await(l)}}catch(l){n={error:l}}finally{try{!o&&!r&&(i=a.return)&&(yield io.__await(i.call(a)))}finally{if(n)throw n.error}}})})())}}});var FS=h(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.multipartPolicyName=void 0;Pl.multipartPolicy=Jfe;var kl=fA(),Ofe=oh(),Lfe=Ky(),Mfe=OH();function Ffe(){return`----AzSDKFormBoundary${(0,Lfe.randomUUID)()}`}function Ufe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
|
`;return e}function qfe(t){return t instanceof Uint8Array?t.byteLength:(0,Ofe.isBlob)(t)?t.size===-1?void 0:t.size:void 0}function Hfe(t){let e=0;for(let r of t){let n=qfe(r);if(n===void 0)return;e+=n}return e}async function jfe(t,e,r){let n=[(0,kl.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,kl.stringToUint8Array)(`\r
|
|
`,"utf-8"),(0,kl.stringToUint8Array)(Ufe(s.headers),"utf-8"),(0,kl.stringToUint8Array)(`\r
|
|
`,"utf-8"),s.body,(0,kl.stringToUint8Array)(`\r
|
|
--${r}`,"utf-8")]),(0,kl.stringToUint8Array)(`--\r
|
|
\r
|
|
`,"utf-8")],i=Hfe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,Mfe.concat)(n)}Pl.multipartPolicyName="multipartPolicy";var zfe=70,Gfe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Yfe(t){if(t.length>zfe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Gfe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function Jfe(){return{name:Pl.multipartPolicyName,async sendRequest(t,e){var r;if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let n=t.multipartBody.boundary,i=(r=t.headers.get("Content-Type"))!==null&&r!==void 0?r:"multipart/mixed",s=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw new Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,o,a]=s;if(a&&n&&a!==n)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${n} in the request body`);return n??(n=a),n?Yfe(n):n=Ffe(),t.headers.set("Content-Type",`${o}; boundary=${n}`),await jfe(t,t.multipartBody.parts,n),t.multipartBody=void 0,e(t)}}}});var FH=h(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});US.createPipelineFromOptions=ihe;var Vfe=uS(),Wfe=Zw(),$fe=dS(),Kfe=gS(),Xfe=mS(),Zfe=bS(),ehe=RS(),LH=ih(),the=PS(),rhe=TS(),nhe=OS(),MH=FS();function ihe(t){let e=(0,Wfe.createEmptyPipeline)();return LH.isNodeLike&&(t.agent&&e.addPolicy((0,rhe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,nhe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,the.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,Xfe.decompressResponsePolicy)())),e.addPolicy((0,ehe.formDataPolicy)(),{beforePolicies:[MH.multipartPolicyName]}),e.addPolicy((0,Kfe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,MH.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,Zfe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),LH.isNodeLike&&e.addPolicy((0,$fe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,Vfe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}});var UH=h(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.apiVersionPolicyName=void 0;Tl.apiVersionPolicy=she;Tl.apiVersionPolicyName="ApiVersionPolicy";function she(t){return{name:Tl.apiVersionPolicyName,sendRequest:(e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)}}}});var qH=h(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.isOAuth2TokenCredential=ohe;Ol.isBearerTokenCredential=ahe;Ol.isBasicCredential=Ahe;Ol.isApiKeyCredential=che;function ohe(t){return"getOAuth2Token"in t}function ahe(t){return"getBearerToken"in t}function Ahe(t){return"username"in t&&"password"in t}function che(t){return"key"in t}});var ah=h(qS=>{"use strict";Object.defineProperty(qS,"__esModule",{value:!0});qS.ensureSecureConnection=fhe;var lhe=eh(),HH=!1;function uhe(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}function dhe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";lhe.logger.warning(t),typeof(process==null?void 0:process.emitWarning)=="function"&&!HH&&(HH=!0,process.emitWarning(t))}function fhe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(uhe(t,e))dhe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}});var jH=h(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.apiKeyAuthenticationPolicyName=void 0;Ll.apiKeyAuthenticationPolicy=ghe;var hhe=ah();Ll.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function ghe(t){return{name:Ll.apiKeyAuthenticationPolicyName,async sendRequest(e,r){var n,i;(0,hhe.ensureSecureConnection)(e,t);let s=(i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(o=>o.kind==="apiKey");if(!s)return r(e);if(s.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${s.apiKeyLocation}`);return e.headers.set(s.name,t.credential.key),r(e)}}}});var GH=h(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.basicAuthenticationPolicyName=void 0;Ml.basicAuthenticationPolicy=phe;var zH=fA(),mhe=ah();Ml.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function phe(t){return{name:Ml.basicAuthenticationPolicyName,async sendRequest(e,r){var n,i;if((0,mhe.ensureSecureConnection)(e,t),!((i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(c=>c.kind==="http"&&c.scheme==="basic")))return r(e);let{username:o,password:a}=t.credential,A=(0,zH.uint8ArrayToString)((0,zH.stringToUint8Array)(`${o}:${a}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${A}`),r(e)}}}});var YH=h(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.bearerAuthenticationPolicyName=void 0;Fl.bearerAuthenticationPolicy=Ehe;var yhe=ah();Fl.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function Ehe(t){return{name:Fl.bearerAuthenticationPolicyName,async sendRequest(e,r){var n,i;if((0,yhe.ensureSecureConnection)(e,t),!((i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(a=>a.kind==="http"&&a.scheme==="bearer")))return r(e);let o=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${o}`),r(e)}}}});var JH=h(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.oauth2AuthenticationPolicyName=void 0;Ul.oauth2AuthenticationPolicy=Ihe;var Che=ah();Ul.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function Ihe(t){return{name:Ul.oauth2AuthenticationPolicyName,async sendRequest(e,r){var n,i;(0,Che.ensureSecureConnection)(e,t);let s=(i=(n=e.authSchemes)!==null&&n!==void 0?n:t.authSchemes)===null||i===void 0?void 0:i.find(a=>a.kind==="oauth2");if(!s)return r(e);let o=await t.credential.getOAuth2Token(s.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${o}`),r(e)}}}});var jS=h(BE=>{"use strict";Object.defineProperty(BE,"__esModule",{value:!0});BE.createDefaultPipeline=Rhe;BE.getCachedDefaultHttpsClient=vhe;var Bhe=lS(),Qhe=FH(),bhe=UH(),IE=qH(),Nhe=jH(),whe=GH(),She=YH(),xhe=JH(),HS;function Rhe(t={}){let e=(0,Qhe.createPipelineFromOptions)(t);e.addPolicy((0,bhe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,IE.isApiKeyCredential)(r)?e.addPolicy((0,Nhe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,IE.isBasicCredential)(r)?e.addPolicy((0,whe.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,IE.isBearerTokenCredential)(r)?e.addPolicy((0,She.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,IE.isOAuth2TokenCredential)(r)&&e.addPolicy((0,xhe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}function vhe(){return HS||(HS=(0,Bhe.createDefaultHttpClient)()),HS}});var ZH=h(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});QE.buildBodyPart=XH;QE.buildMultipartBody=Ohe;var _he=ml(),Dhe=Xo(),VH=fA(),$H=oh();function KH(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}function khe(t){let e=KH(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,$H.isBinaryBody)(r)?"application/octet-stream":"application/json"}function WH(t){return JSON.stringify(t)}function Phe(t){var e;let r=KH(t,"content-disposition");if(r)return r;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let i=(e=t.dispositionType)!==null&&e!==void 0?e:"form-data";t.name&&(i+=`; name=${WH(t.name)}`);let s;if(t.filename)s=t.filename;else if(typeof File<"u"&&t.body instanceof File){let o=t.body.name;o!==""&&(s=o)}return s&&(i+=`; filename=${WH(s)}`),i}function The(t,e){if(t===void 0)return new Uint8Array([]);if((0,$H.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,VH.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,VH.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new _he.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}function XH(t){var e;let r=khe(t),n=Phe(t),i=(0,Dhe.createHttpHeaders)((e=t.headers)!==null&&e!==void 0?e:{});r&&i.set("content-type",r),n&&i.set("content-disposition",n);let s=The(t.body,r);return{headers:i,body:s}}function Ohe(t){return{parts:t.map(XH)}}});var ej=h(GS=>{"use strict";Object.defineProperty(GS,"__esModule",{value:!0});GS.sendRequest=Hhe;var zS=ml(),Lhe=Xo(),Mhe=$w(),Fhe=jS(),Uhe=oh(),qhe=ZH();async function Hhe(t,e,r,n={},i){var s;let o=i??(0,Fhe.getCachedDefaultHttpsClient)(),a=Ghe(t,e,n);try{let A=await r.sendRequest(o,a),c=A.headers.toJSON(),l=(s=A.readableStreamBody)!==null&&s!==void 0?s:A.browserStreamBody,u=n.responseAsStream||l!==void 0?void 0:Jhe(A),d=l??u;return n?.onResponse&&n.onResponse(Object.assign(Object.assign({},A),{request:a,rawHeaders:c,parsedBody:u})),{request:a,headers:c,status:`${A.status}`,body:d}}catch(A){if((0,zS.isRestError)(A)&&A.response&&n.onResponse){let{response:c}=A,l=c.headers.toJSON();n?.onResponse(Object.assign(Object.assign({},c),{request:a,rawHeaders:l}),A)}throw A}}function jhe(t={}){var e,r,n;return(n=(e=t.contentType)!==null&&e!==void 0?e:(r=t.headers)===null||r===void 0?void 0:r["content-type"])!==null&&n!==void 0?n:zhe(t.body)}function zhe(t){if(ArrayBuffer.isView(t))return"application/octet-stream";if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}function Ghe(t,e,r={}){var n,i,s;let o=jhe(r),{body:a,multipartBody:A}=Yhe(r.body,o),c=a!==void 0||A!==void 0,l=(0,Lhe.createHttpHeaders)(Object.assign(Object.assign(Object.assign({},r.headers?r.headers:{}),{accept:(s=(n=r.accept)!==null&&n!==void 0?n:(i=r.headers)===null||i===void 0?void 0:i.accept)!==null&&s!==void 0?s:"application/json"}),c&&o&&{"content-type":o}));return(0,Mhe.createPipelineRequest)({url:e,method:t,body:a,multipartBody:A,headers:l,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}function Yhe(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,Uhe.isReadableStream)(t))return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,qhe.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}function Jhe(t){var e,r;let i=((e=t.headers.get("content-type"))!==null&&e!==void 0?e:"").split(";")[0],s=(r=t.bodyAsText)!==null&&r!==void 0?r:"";if(i==="text/plain")return String(s);try{return s?JSON.parse(s):void 0}catch(o){if(i==="application/json")throw Vhe(t,o);return String(s)}}function Vhe(t,e){var r;let n=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,i=(r=e.code)!==null&&r!==void 0?r:zS.RestError.PARSE_ERROR;return new zS.RestError(n,{code:i,statusCode:t.status,request:t.request,response:t})}});var nj=h(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.buildRequestUrl=$he;Ah.buildBaseUrl=tj;Ah.replaceAll=rj;function Whe(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}function $he(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=tj(t,n),e=Xhe(e,r,n);let i=Khe(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}function YS(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let s;Array.isArray(n)?s=n:typeof n=="object"&&n.toString===Object.prototype.toString?s=Object.entries(n).flat():s=[n];let o=s.map(a=>{if(a==null)return"";if(!a.toString||typeof a.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let A=a.toISOString!==void 0?a.toISOString():a.toString();return e?A:encodeURIComponent(A)}).join(i);return`${e?t:encodeURIComponent(t)}=${o}`}function Khe(t,e={}){var r,n,i,s;if(!e.queryParameters)return t;let o=new URL(t),a=e.queryParameters,A=[];for(let c of Object.keys(a)){let l=a[c];if(l==null)continue;let u=Whe(l),d=u?l.value:l,f=u&&(r=l.explode)!==null&&r!==void 0?r:!1,g=u&&l.style?l.style:"form";if(f)if(Array.isArray(d))for(let m of d)A.push(YS(c,(n=e.skipUrlEncoding)!==null&&n!==void 0?n:!1,g,m));else if(typeof d=="object")for(let[m,E]of Object.entries(d))A.push(YS(m,(i=e.skipUrlEncoding)!==null&&i!==void 0?i:!1,g,E));else throw new Error("explode can only be set to true for objects and arrays");else A.push(YS(c,(s=e.skipUrlEncoding)!==null&&s!==void 0?s:!1,g,d))}return o.search!==""&&(o.search+="&"),o.search+=A.join("&"),o.toString()}function tj(t,e){var r;if(!e.pathParameters)return t;let n=e.pathParameters;for(let[i,s]of Object.entries(n)){if(s==null)throw new Error(`Path parameters ${i} must not be undefined or null`);if(!s.toString||typeof s.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${i} can't`);let o=s.toISOString!==void 0?s.toISOString():String(s);e.skipUrlEncoding||(o=encodeURIComponent(s)),t=(r=rj(t,`{${i}}`,o))!==null&&r!==void 0?r:""}return t}function Xhe(t,e,r={}){var n;for(let i of e){let s=typeof i=="object"&&((n=i.allowReserved)!==null&&n!==void 0?n:!1),o=typeof i=="object"?i.value:i;!r.skipUrlEncoding&&!s&&(o=encodeURIComponent(o)),t=t.replace(/\{[\w-]+\}/,String(o))}return t}function rj(t,e,r){return!t||!e?t:t.split(e).join(r||"")}});var sj=h(VS=>{"use strict";Object.defineProperty(VS,"__esModule",{value:!0});VS.getClient=tge;var Zhe=jS(),JS=ej(),ege=nj(),ij=ih();function tge(t,e={}){var r,n,i;let s=(r=e.pipeline)!==null&&r!==void 0?r:(0,Zhe.createDefaultPipeline)(e);if(!((n=e.additionalPolicies)===null||n===void 0)&&n.length)for(let{policy:l,position:u}of e.additionalPolicies){let d=u==="perRetry"?"Sign":void 0;s.addPolicy(l,{afterPhase:d})}let{allowInsecureConnection:o,httpClient:a}=e,A=(i=e.endpoint)!==null&&i!==void 0?i:t,c=(l,...u)=>{let d=f=>(0,ege.buildRequestUrl)(A,l,u,Object.assign({allowInsecureConnection:o},f));return{get:(f={})=>Zo("GET",d(f),s,f,o,a),post:(f={})=>Zo("POST",d(f),s,f,o,a),put:(f={})=>Zo("PUT",d(f),s,f,o,a),patch:(f={})=>Zo("PATCH",d(f),s,f,o,a),delete:(f={})=>Zo("DELETE",d(f),s,f,o,a),head:(f={})=>Zo("HEAD",d(f),s,f,o,a),options:(f={})=>Zo("OPTIONS",d(f),s,f,o,a),trace:(f={})=>Zo("TRACE",d(f),s,f,o,a)}};return{path:c,pathUnchecked:c,pipeline:s}}function Zo(t,e,r,n,i,s){var o;return i=(o=n.allowInsecureConnection)!==null&&o!==void 0?o:i,{then:function(a,A){return(0,JS.sendRequest)(t,e,r,Object.assign(Object.assign({},n),{allowInsecureConnection:i}),s).then(a,A)},async asBrowserStream(){if(ij.isNodeLike)throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");return(0,JS.sendRequest)(t,e,r,Object.assign(Object.assign({},n),{allowInsecureConnection:i,responseAsStream:!0}),s)},async asNodeStream(){if(ij.isNodeLike)return(0,JS.sendRequest)(t,e,r,Object.assign(Object.assign({},n),{allowInsecureConnection:i,responseAsStream:!0}),s);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}});var oj=h(WS=>{"use strict";Object.defineProperty(WS,"__esModule",{value:!0});WS.operationOptionsToRequestParameters=rge;function rge(t){var e,r,n,i,s,o;return{allowInsecureConnection:(e=t.requestOptions)===null||e===void 0?void 0:e.allowInsecureConnection,timeout:(r=t.requestOptions)===null||r===void 0?void 0:r.timeout,skipUrlEncoding:(n=t.requestOptions)===null||n===void 0?void 0:n.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:(i=t.requestOptions)===null||i===void 0?void 0:i.onUploadProgress,onDownloadProgress:(s=t.requestOptions)===null||s===void 0?void 0:s.onDownloadProgress,headers:Object.assign({},(o=t.requestOptions)===null||o===void 0?void 0:o.headers),onResponse:t.onResponse}}});var Aj=h($S=>{"use strict";Object.defineProperty($S,"__esModule",{value:!0});$S.createRestError=sge;var nge=ml(),ige=Xo();function sge(t,e){var r,n,i;let s=typeof t=="string"?e:t,o=(n=(r=s.body)===null||r===void 0?void 0:r.error)!==null&&n!==void 0?n:s.body,a=typeof t=="string"?t:(i=o?.message)!==null&&i!==void 0?i:`Unexpected status code: ${s.status}`;return new nge.RestError(a,{statusCode:aj(s.status),code:o?.code,request:s.request,response:oge(s)})}function oge(t){var e;return{headers:(0,ige.createHttpHeaders)(t.headers),request:t.request,status:(e=aj(t.status))!==null&&e!==void 0?e:-1}}function aj(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}});var ql=h(Oe=>{"use strict";Object.defineProperty(Oe,"__esModule",{value:!0});Oe.createRestError=Oe.operationOptionsToRequestParameters=Oe.getClient=Oe.createDefaultHttpClient=Oe.uint8ArrayToString=Oe.stringToUint8Array=Oe.isRestError=Oe.RestError=Oe.createEmptyPipeline=Oe.createPipelineRequest=Oe.createHttpHeaders=Oe.TypeSpecRuntimeLogger=Oe.setLogLevel=Oe.getLogLevel=Oe.createClientLogger=Oe.AbortError=void 0;var cj=(mi(),Ui(gi)),age=Wf();Object.defineProperty(Oe,"AbortError",{enumerable:!0,get:function(){return age.AbortError}});var bE=Kf();Object.defineProperty(Oe,"createClientLogger",{enumerable:!0,get:function(){return bE.createClientLogger}});Object.defineProperty(Oe,"getLogLevel",{enumerable:!0,get:function(){return bE.getLogLevel}});Object.defineProperty(Oe,"setLogLevel",{enumerable:!0,get:function(){return bE.setLogLevel}});Object.defineProperty(Oe,"TypeSpecRuntimeLogger",{enumerable:!0,get:function(){return bE.TypeSpecRuntimeLogger}});var Age=Xo();Object.defineProperty(Oe,"createHttpHeaders",{enumerable:!0,get:function(){return Age.createHttpHeaders}});cj.__exportStar(P2(),Oe);cj.__exportStar(O2(),Oe);var cge=$w();Object.defineProperty(Oe,"createPipelineRequest",{enumerable:!0,get:function(){return cge.createPipelineRequest}});var lge=Zw();Object.defineProperty(Oe,"createEmptyPipeline",{enumerable:!0,get:function(){return lge.createEmptyPipeline}});var lj=ml();Object.defineProperty(Oe,"RestError",{enumerable:!0,get:function(){return lj.RestError}});Object.defineProperty(Oe,"isRestError",{enumerable:!0,get:function(){return lj.isRestError}});var uj=fA();Object.defineProperty(Oe,"stringToUint8Array",{enumerable:!0,get:function(){return uj.stringToUint8Array}});Object.defineProperty(Oe,"uint8ArrayToString",{enumerable:!0,get:function(){return uj.uint8ArrayToString}});var uge=lS();Object.defineProperty(Oe,"createDefaultHttpClient",{enumerable:!0,get:function(){return uge.createDefaultHttpClient}});var dge=sj();Object.defineProperty(Oe,"getClient",{enumerable:!0,get:function(){return dge.getClient}});var fge=oj();Object.defineProperty(Oe,"operationOptionsToRequestParameters",{enumerable:!0,get:function(){return fge.operationOptionsToRequestParameters}});var hge=Aj();Object.defineProperty(Oe,"createRestError",{enumerable:!0,get:function(){return hge.createRestError}})});var XS=h(KS=>{"use strict";Object.defineProperty(KS,"__esModule",{value:!0});KS.createEmptyPipeline=mge;var gge=ql();function mge(){return(0,gge.createEmptyPipeline)()}});var dj=h(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.createLoggerContext=void 0;var pge=Kf();Object.defineProperty(NE,"createLoggerContext",{enumerable:!0,get:function(){return pge.createLoggerContext}})});var Hl=h(pA=>{"use strict";Object.defineProperty(pA,"__esModule",{value:!0});pA.AzureLogger=void 0;pA.setLogLevel=Ege;pA.getLogLevel=Cge;pA.createClientLogger=Ige;var yge=dj(),wE=(0,yge.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});pA.AzureLogger=wE.logger;function Ege(t){wE.setLogLevel(t)}function Cge(){return wE.getLogLevel()}function Ige(t){return wE.createClientLogger(t)}});var ch=h(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.logger=void 0;var Bge=Hl();SE.logger=(0,Bge.createClientLogger)("core-rest-pipeline")});var fj=h(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.exponentialRetryPolicyName=void 0;lh.exponentialRetryPolicy=wge;var Qge=lE(),bge=Ql(),Nge=hA();lh.exponentialRetryPolicyName="exponentialRetryPolicy";function wge(t={}){var e;return(0,bge.retryPolicy)([(0,Qge.exponentialRetryStrategy)(Object.assign(Object.assign({},t),{ignoreSystemErrors:!0}))],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:Nge.DEFAULT_RETRY_POLICY_COUNT})}});var hj=h(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.systemErrorRetryPolicyName=void 0;jl.systemErrorRetryPolicy=vge;var Sge=lE(),xge=Ql(),Rge=hA();jl.systemErrorRetryPolicyName="systemErrorRetryPolicy";function vge(t={}){var e;return{name:jl.systemErrorRetryPolicyName,sendRequest:(0,xge.retryPolicy)([(0,Sge.exponentialRetryStrategy)(Object.assign(Object.assign({},t),{ignoreHttpStatusCodes:!0}))],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:Rge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}});var gj=h(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.throttlingRetryPolicyName=void 0;zl.throttlingRetryPolicy=Pge;var _ge=cE(),Dge=Ql(),kge=hA();zl.throttlingRetryPolicyName="throttlingRetryPolicy";function Pge(t={}){var e;return{name:zl.throttlingRetryPolicyName,sendRequest:(0,Dge.retryPolicy)([(0,_ge.throttlingRetryStrategy)()],{maxRetries:(e=t.maxRetries)!==null&&e!==void 0?e:kge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}});var Qn=h(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.userAgentPolicyName=ie.userAgentPolicy=ie.tlsPolicyName=ie.tlsPolicy=ie.redirectPolicyName=ie.redirectPolicy=ie.getDefaultProxySettings=ie.proxyPolicyName=ie.proxyPolicy=ie.multipartPolicyName=ie.multipartPolicy=ie.logPolicyName=ie.logPolicy=ie.formDataPolicyName=ie.formDataPolicy=ie.throttlingRetryPolicyName=ie.throttlingRetryPolicy=ie.systemErrorRetryPolicyName=ie.systemErrorRetryPolicy=ie.retryPolicy=ie.exponentialRetryPolicyName=ie.exponentialRetryPolicy=ie.defaultRetryPolicyName=ie.defaultRetryPolicy=ie.decompressResponsePolicyName=ie.decompressResponsePolicy=ie.agentPolicyName=ie.agentPolicy=void 0;var mj=TS();Object.defineProperty(ie,"agentPolicy",{enumerable:!0,get:function(){return mj.agentPolicy}});Object.defineProperty(ie,"agentPolicyName",{enumerable:!0,get:function(){return mj.agentPolicyName}});var pj=mS();Object.defineProperty(ie,"decompressResponsePolicy",{enumerable:!0,get:function(){return pj.decompressResponsePolicy}});Object.defineProperty(ie,"decompressResponsePolicyName",{enumerable:!0,get:function(){return pj.decompressResponsePolicyName}});var yj=bS();Object.defineProperty(ie,"defaultRetryPolicy",{enumerable:!0,get:function(){return yj.defaultRetryPolicy}});Object.defineProperty(ie,"defaultRetryPolicyName",{enumerable:!0,get:function(){return yj.defaultRetryPolicyName}});var Ej=fj();Object.defineProperty(ie,"exponentialRetryPolicy",{enumerable:!0,get:function(){return Ej.exponentialRetryPolicy}});Object.defineProperty(ie,"exponentialRetryPolicyName",{enumerable:!0,get:function(){return Ej.exponentialRetryPolicyName}});var Tge=Ql();Object.defineProperty(ie,"retryPolicy",{enumerable:!0,get:function(){return Tge.retryPolicy}});var Cj=hj();Object.defineProperty(ie,"systemErrorRetryPolicy",{enumerable:!0,get:function(){return Cj.systemErrorRetryPolicy}});Object.defineProperty(ie,"systemErrorRetryPolicyName",{enumerable:!0,get:function(){return Cj.systemErrorRetryPolicyName}});var Ij=gj();Object.defineProperty(ie,"throttlingRetryPolicy",{enumerable:!0,get:function(){return Ij.throttlingRetryPolicy}});Object.defineProperty(ie,"throttlingRetryPolicyName",{enumerable:!0,get:function(){return Ij.throttlingRetryPolicyName}});var Bj=RS();Object.defineProperty(ie,"formDataPolicy",{enumerable:!0,get:function(){return Bj.formDataPolicy}});Object.defineProperty(ie,"formDataPolicyName",{enumerable:!0,get:function(){return Bj.formDataPolicyName}});var Qj=uS();Object.defineProperty(ie,"logPolicy",{enumerable:!0,get:function(){return Qj.logPolicy}});Object.defineProperty(ie,"logPolicyName",{enumerable:!0,get:function(){return Qj.logPolicyName}});var bj=FS();Object.defineProperty(ie,"multipartPolicy",{enumerable:!0,get:function(){return bj.multipartPolicy}});Object.defineProperty(ie,"multipartPolicyName",{enumerable:!0,get:function(){return bj.multipartPolicyName}});var ZS=PS();Object.defineProperty(ie,"proxyPolicy",{enumerable:!0,get:function(){return ZS.proxyPolicy}});Object.defineProperty(ie,"proxyPolicyName",{enumerable:!0,get:function(){return ZS.proxyPolicyName}});Object.defineProperty(ie,"getDefaultProxySettings",{enumerable:!0,get:function(){return ZS.getDefaultProxySettings}});var Nj=dS();Object.defineProperty(ie,"redirectPolicy",{enumerable:!0,get:function(){return Nj.redirectPolicy}});Object.defineProperty(ie,"redirectPolicyName",{enumerable:!0,get:function(){return Nj.redirectPolicyName}});var wj=OS();Object.defineProperty(ie,"tlsPolicy",{enumerable:!0,get:function(){return wj.tlsPolicy}});Object.defineProperty(ie,"tlsPolicyName",{enumerable:!0,get:function(){return wj.tlsPolicyName}});var Sj=gS();Object.defineProperty(ie,"userAgentPolicy",{enumerable:!0,get:function(){return Sj.userAgentPolicy}});Object.defineProperty(ie,"userAgentPolicyName",{enumerable:!0,get:function(){return Sj.userAgentPolicyName}})});var ex=h(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});uh.logPolicyName=void 0;uh.logPolicy=Lge;var Oge=ch(),xj=Qn();uh.logPolicyName=xj.logPolicyName;function Lge(t={}){return(0,xj.logPolicy)(Object.assign({logger:Oge.logger.info},t))}});var tx=h(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.redirectPolicyName=void 0;dh.redirectPolicy=Mge;var Rj=Qn();dh.redirectPolicyName=Rj.redirectPolicyName;function Mge(t={}){return(0,Rj.redirectPolicy)(t)}});var _j=h(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.getHeaderName=Fge;xE.setPlatformSpecificData=Uge;var vj=(mi(),Ui(gi)),rx=vj.__importStar(require("node:os")),nx=vj.__importStar(require("node:process"));function Fge(){return"User-Agent"}async function Uge(t){if(nx&&nx.versions){let e=nx.versions;e.bun?t.set("Bun",e.bun):e.deno?t.set("Deno",e.deno):e.node&&t.set("Node",e.node)}t.set("OS",`(${rx.arch()}-${rx.type()}-${rx.release()})`)}});var RE=h(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.DEFAULT_RETRY_POLICY_COUNT=Gl.SDK_VERSION=void 0;Gl.SDK_VERSION="1.22.0";Gl.DEFAULT_RETRY_POLICY_COUNT=3});var ix=h(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.getUserAgentHeaderName=jge;vE.getUserAgentValue=zge;var Dj=_j(),qge=RE();function Hge(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}function jge(){return(0,Dj.getHeaderName)()}async function zge(t){let e=new Map;e.set("core-rest-pipeline",qge.SDK_VERSION),await(0,Dj.setPlatformSpecificData)(e);let r=Hge(e);return t?`${t} ${r}`:r}});var sx=h(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.userAgentPolicyName=void 0;Yl.userAgentPolicy=Gge;var Pj=ix(),kj=(0,Pj.getUserAgentHeaderName)();Yl.userAgentPolicyName="userAgentPolicy";function Gge(t={}){let e=(0,Pj.getUserAgentValue)(t.userAgentPrefix);return{name:Yl.userAgentPolicyName,async sendRequest(r,n){return r.headers.has(kj)||r.headers.set(kj,await e),n(r)}}}});var Oj=h(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.computeSha256Hmac=Yge;_E.computeSha256Hash=Jge;var Tj=require("node:crypto");async function Yge(t,e,r){let n=Buffer.from(t,"base64");return(0,Tj.createHmac)("sha256",n).update(e).digest(r)}async function Jge(t,e){return(0,Tj.createHash)("sha256").update(t).digest(e)}});var fh=h(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.Sanitizer=Le.uint8ArrayToString=Le.stringToUint8Array=Le.isWebWorker=Le.isReactNative=Le.isDeno=Le.isNodeRuntime=Le.isNodeLike=Le.isBun=Le.isBrowser=Le.randomUUID=Le.computeSha256Hmac=Le.computeSha256Hash=Le.isError=Le.isObject=Le.getRandomIntegerInclusive=Le.calculateRetryDelay=void 0;var Vge=CS();Object.defineProperty(Le,"calculateRetryDelay",{enumerable:!0,get:function(){return Vge.calculateRetryDelay}});var Wge=yS();Object.defineProperty(Le,"getRandomIntegerInclusive",{enumerable:!0,get:function(){return Wge.getRandomIntegerInclusive}});var $ge=Xy();Object.defineProperty(Le,"isObject",{enumerable:!0,get:function(){return $ge.isObject}});var Kge=rS();Object.defineProperty(Le,"isError",{enumerable:!0,get:function(){return Kge.isError}});var Lj=Oj();Object.defineProperty(Le,"computeSha256Hash",{enumerable:!0,get:function(){return Lj.computeSha256Hash}});Object.defineProperty(Le,"computeSha256Hmac",{enumerable:!0,get:function(){return Lj.computeSha256Hmac}});var Xge=Ky();Object.defineProperty(Le,"randomUUID",{enumerable:!0,get:function(){return Xge.randomUUID}});var yA=ih();Object.defineProperty(Le,"isBrowser",{enumerable:!0,get:function(){return yA.isBrowser}});Object.defineProperty(Le,"isBun",{enumerable:!0,get:function(){return yA.isBun}});Object.defineProperty(Le,"isNodeLike",{enumerable:!0,get:function(){return yA.isNodeLike}});Object.defineProperty(Le,"isNodeRuntime",{enumerable:!0,get:function(){return yA.isNodeRuntime}});Object.defineProperty(Le,"isDeno",{enumerable:!0,get:function(){return yA.isDeno}});Object.defineProperty(Le,"isReactNative",{enumerable:!0,get:function(){return yA.isReactNative}});Object.defineProperty(Le,"isWebWorker",{enumerable:!0,get:function(){return yA.isWebWorker}});var Mj=fA();Object.defineProperty(Le,"stringToUint8Array",{enumerable:!0,get:function(){return Mj.stringToUint8Array}});Object.defineProperty(Le,"uint8ArrayToString",{enumerable:!0,get:function(){return Mj.uint8ArrayToString}});var Zge=Xf();Object.defineProperty(Le,"Sanitizer",{enumerable:!0,get:function(){return Zge.Sanitizer}})});var Fj=h(ox=>{"use strict";Object.defineProperty(ox,"__esModule",{value:!0});ox.cancelablePromiseRace=eme;async function eme(t,e){var r,n;let i=new AbortController;function s(){i.abort()}(r=e?.abortSignal)===null||r===void 0||r.addEventListener("abort",s);try{return await Promise.race(t.map(o=>o({abortSignal:i.signal})))}finally{i.abort(),(n=e?.abortSignal)===null||n===void 0||n.removeEventListener("abort",s)}}});var Uj=h(DE=>{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.AbortError=void 0;var ax=class extends Error{constructor(e){super(e),this.name="AbortError"}};DE.AbortError=ax});var Ax=h(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.AbortError=void 0;var tme=Uj();Object.defineProperty(kE,"AbortError",{enumerable:!0,get:function(){return tme.AbortError}})});var lx=h(cx=>{"use strict";Object.defineProperty(cx,"__esModule",{value:!0});cx.createAbortablePromise=nme;var rme=Ax();function nme(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,o)=>{function a(){o(new rme.AbortError(i??"The operation was aborted."))}function A(){n?.removeEventListener("abort",c)}function c(){r?.(),A(),a()}if(n?.aborted)return a();try{t(l=>{A(),s(l)},l=>{A(),o(l)})}catch(l){o(l)}n?.addEventListener("abort",c)})}});var qj=h(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.delay=ame;PE.calculateRetryDelay=Ame;var ime=lx(),sme=fh(),ome="The delay was aborted.";function ame(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,ime.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??ome})}function Ame(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,sme.getRandomIntegerInclusive)(0,n/2)}}});var Hj=h(ux=>{"use strict";Object.defineProperty(ux,"__esModule",{value:!0});ux.getErrorMessage=lme;var cme=fh();function lme(t){if((0,cme.isError)(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}`}}});var zj=h(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.isDefined=dx;hh.isObjectWithProperties=ume;hh.objectHasProperty=jj;function dx(t){return typeof t<"u"&&t!==null}function ume(t,e){if(!dx(t)||typeof t!="object")return!1;for(let r of e)if(!jj(t,r))return!1;return!0}function jj(t,e){return dx(t)&&typeof t=="object"&&e in t}});var Qs=h(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.isWebWorker=we.isReactNative=we.isNodeRuntime=we.isNodeLike=we.isNode=we.isDeno=we.isBun=we.isBrowser=we.objectHasProperty=we.isObjectWithProperties=we.isDefined=we.getErrorMessage=we.delay=we.createAbortablePromise=we.cancelablePromiseRace=void 0;we.calculateRetryDelay=pme;we.computeSha256Hash=yme;we.computeSha256Hmac=Eme;we.getRandomIntegerInclusive=Cme;we.isError=Ime;we.isObject=Bme;we.randomUUID=Qme;we.uint8ArrayToString=bme;we.stringToUint8Array=Nme;var dme=(mi(),Ui(gi)),Pr=dme.__importStar(fh()),fme=Fj();Object.defineProperty(we,"cancelablePromiseRace",{enumerable:!0,get:function(){return fme.cancelablePromiseRace}});var hme=lx();Object.defineProperty(we,"createAbortablePromise",{enumerable:!0,get:function(){return hme.createAbortablePromise}});var gme=qj();Object.defineProperty(we,"delay",{enumerable:!0,get:function(){return gme.delay}});var mme=Hj();Object.defineProperty(we,"getErrorMessage",{enumerable:!0,get:function(){return mme.getErrorMessage}});var fx=zj();Object.defineProperty(we,"isDefined",{enumerable:!0,get:function(){return fx.isDefined}});Object.defineProperty(we,"isObjectWithProperties",{enumerable:!0,get:function(){return fx.isObjectWithProperties}});Object.defineProperty(we,"objectHasProperty",{enumerable:!0,get:function(){return fx.objectHasProperty}});function pme(t,e){return Pr.calculateRetryDelay(t,e)}function yme(t,e){return Pr.computeSha256Hash(t,e)}function Eme(t,e,r){return Pr.computeSha256Hmac(t,e,r)}function Cme(t,e){return Pr.getRandomIntegerInclusive(t,e)}function Ime(t){return Pr.isError(t)}function Bme(t){return Pr.isObject(t)}function Qme(){return Pr.randomUUID()}we.isBrowser=Pr.isBrowser;we.isBun=Pr.isBun;we.isDeno=Pr.isDeno;we.isNode=Pr.isNodeLike;we.isNodeLike=Pr.isNodeLike;we.isNodeRuntime=Pr.isNodeRuntime;we.isReactNative=Pr.isReactNative;we.isWebWorker=Pr.isWebWorker;function bme(t,e){return Pr.uint8ArrayToString(t,e)}function Nme(t,e){return Pr.stringToUint8Array(t,e)}});var hx=h(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.hasRawContent=Yj;Jl.getRawContent=xme;Jl.createFileFromStream=Rme;Jl.createFile=vme;var wme=Qs();function Sme(t){return!!(t&&typeof t.pipe=="function")}var Gj={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}},TE=Symbol("rawContent");function Yj(t){return typeof t[TE]=="function"}function xme(t){return Yj(t)?t[TE]():t}function Rme(t,e,r={}){var n,i,s,o;return Object.assign(Object.assign({},Gj),{type:(n=r.type)!==null&&n!==void 0?n:"",lastModified:(i=r.lastModified)!==null&&i!==void 0?i:new Date().getTime(),webkitRelativePath:(s=r.webkitRelativePath)!==null&&s!==void 0?s:"",size:(o=r.size)!==null&&o!==void 0?o:-1,name:e,stream:()=>{let a=t();if(Sme(a))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return a},[TE]:t})}function vme(t,e,r={}){var n,i,s;return wme.isNodeLike?Object.assign(Object.assign({},Gj),{type:(n=r.type)!==null&&n!==void 0?n:"",lastModified:(i=r.lastModified)!==null&&i!==void 0?i:new Date().getTime(),webkitRelativePath:(s=r.webkitRelativePath)!==null&&s!==void 0?s:"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([t]).stream(),[TE]:()=>t}):new File([t],e,r)}});var gx=h(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.multipartPolicyName=void 0;Vl.multipartPolicy=_me;var Vj=Qn(),Jj=hx();Vl.multipartPolicyName=Vj.multipartPolicyName;function _me(){let t=(0,Vj.multipartPolicy)();return{name:Vl.multipartPolicyName,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,Jj.hasRawContent)(n.body)&&(n.body=(0,Jj.getRawContent)(n.body));return t.sendRequest(e,r)}}}});var mx=h(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.decompressResponsePolicyName=void 0;gh.decompressResponsePolicy=Dme;var Wj=Qn();gh.decompressResponsePolicyName=Wj.decompressResponsePolicyName;function Dme(){return(0,Wj.decompressResponsePolicy)()}});var px=h(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.defaultRetryPolicyName=void 0;mh.defaultRetryPolicy=kme;var $j=Qn();mh.defaultRetryPolicyName=$j.defaultRetryPolicyName;function kme(t={}){return(0,$j.defaultRetryPolicy)(t)}});var yx=h(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.formDataPolicyName=void 0;ph.formDataPolicy=Pme;var Kj=Qn();ph.formDataPolicyName=Kj.formDataPolicyName;function Pme(){return(0,Kj.formDataPolicy)()}});var Cx=h(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.proxyPolicyName=void 0;Wl.getDefaultProxySettings=Tme;Wl.proxyPolicy=Ome;var Ex=Qn();Wl.proxyPolicyName=Ex.proxyPolicyName;function Tme(t){return(0,Ex.getDefaultProxySettings)(t)}function Ome(t,e){return(0,Ex.proxyPolicy)(t,e)}});var Ix=h($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.setClientRequestIdPolicyName=void 0;$l.setClientRequestIdPolicy=Lme;$l.setClientRequestIdPolicyName="setClientRequestIdPolicy";function Lme(t="x-ms-client-request-id"){return{name:$l.setClientRequestIdPolicyName,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}});var Bx=h(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.agentPolicyName=void 0;yh.agentPolicy=Mme;var Xj=Qn();yh.agentPolicyName=Xj.agentPolicyName;function Mme(t){return(0,Xj.agentPolicy)(t)}});var Qx=h(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.tlsPolicyName=void 0;Eh.tlsPolicy=Fme;var Zj=Qn();Eh.tlsPolicyName=Zj.tlsPolicyName;function Fme(t){return(0,Zj.tlsPolicy)(t)}});var bx=h(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.TracingContextImpl=so.knownContextKeys=void 0;so.createTracingContext=Ume;so.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function Ume(t={}){let e=new OE(t.parentContext);return t.span&&(e=e.setValue(so.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(so.knownContextKeys.namespace,t.namespace)),e}var OE=class t{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}};so.TracingContextImpl=OE});var ez=h(LE=>{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.state=void 0;LE.state={instrumenterImplementation:void 0}});var Nx=h(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.createDefaultTracingSpan=tz;Kl.createDefaultInstrumenter=rz;Kl.useInstrumenter=Hme;Kl.getInstrumenter=jme;var qme=bx(),ME=ez();function tz(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function rz(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:tz(),tracingContext:(0,qme.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}function Hme(t){ME.state.instrumenterImplementation=t}function jme(){return ME.state.instrumenterImplementation||(ME.state.instrumenterImplementation=rz()),ME.state.instrumenterImplementation}});var nz=h(Sx=>{"use strict";Object.defineProperty(Sx,"__esModule",{value:!0});Sx.createTracingClient=zme;var FE=Nx(),wx=bx();function zme(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(c,l,u){var d;let f=(0,FE.getInstrumenter)().startSpan(c,Object.assign(Object.assign({},u),{packageName:r,packageVersion:n,tracingContext:(d=l?.tracingOptions)===null||d===void 0?void 0:d.tracingContext})),g=f.tracingContext,m=f.span;g.getValue(wx.knownContextKeys.namespace)||(g=g.setValue(wx.knownContextKeys.namespace,e)),m.setAttribute("az.namespace",g.getValue(wx.knownContextKeys.namespace));let E=Object.assign({},l,{tracingOptions:Object.assign(Object.assign({},l?.tracingOptions),{tracingContext:g})});return{span:m,updatedOptions:E}}async function s(c,l,u,d){let{span:f,updatedOptions:g}=i(c,l,d);try{let m=await o(g.tracingOptions.tracingContext,()=>Promise.resolve(u(g,f)));return f.setStatus({status:"success"}),m}catch(m){throw f.setStatus({status:"error",error:m}),m}finally{f.end()}}function o(c,l,...u){return(0,FE.getInstrumenter)().withContext(c,l,...u)}function a(c){return(0,FE.getInstrumenter)().parseTraceparentHeader(c)}function A(c){return(0,FE.getInstrumenter)().createRequestHeaders(c)}return{startSpan:i,withSpan:s,withContext:o,parseTraceparentHeader:a,createRequestHeaders:A}}});var xx=h(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.createTracingClient=Xl.useInstrumenter=void 0;var Gme=Nx();Object.defineProperty(Xl,"useInstrumenter",{enumerable:!0,get:function(){return Gme.useInstrumenter}});var Yme=nz();Object.defineProperty(Xl,"createTracingClient",{enumerable:!0,get:function(){return Yme.createTracingClient}})});var UE=h(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.RestError=void 0;Ch.isRestError=Jme;var iz=ql();Ch.RestError=iz.RestError;function Jme(t){return(0,iz.isRestError)(t)}});var Rx=h(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.tracingPolicyName=void 0;Zl.tracingPolicy=Zme;var Vme=xx(),Wme=RE(),$me=ix(),qE=ch(),Ih=Qs(),Kme=UE(),Xme=fh();Zl.tracingPolicyName="tracingPolicy";function Zme(t={}){let e=(0,$me.getUserAgentValue)(t.userAgentPrefix),r=new Xme.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=epe();return{name:Zl.tracingPolicyName,async sendRequest(i,s){var o;if(!n)return s(i);let a=await e,A={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(A["http.user_agent"]=a);let{span:c,tracingContext:l}=(o=tpe(n,i,A))!==null&&o!==void 0?o:{};if(!c||!l)return s(i);try{let u=await n.withContext(l,s,i);return npe(c,u),u}catch(u){throw rpe(c,u),u}}}}function epe(){try{return(0,Vme.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Wme.SDK_VERSION})}catch(t){qE.logger.warning(`Error when creating the TracingClient: ${(0,Ih.getErrorMessage)(t)}`);return}}function tpe(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[o,a]of Object.entries(s))e.headers.set(o,a);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){qE.logger.warning(`Skipping creating a tracing span due to an error: ${(0,Ih.getErrorMessage)(n)}`);return}}function rpe(t,e){try{t.setStatus({status:"error",error:(0,Ih.isError)(e)?e:void 0}),(0,Kme.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){qE.logger.warning(`Skipping tracing span processing due to an error: ${(0,Ih.getErrorMessage)(r)}`)}}function npe(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){qE.logger.warning(`Skipping tracing span processing due to an error: ${(0,Ih.getErrorMessage)(r)}`)}}});var _x=h(vx=>{"use strict";Object.defineProperty(vx,"__esModule",{value:!0});vx.wrapAbortSignalLike=ipe;function ipe(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",i),r=!1)}function i(){e.abort(t.reason),n()}return t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}});var sz=h(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.wrapAbortSignalLikePolicyName=void 0;eu.wrapAbortSignalLikePolicy=ope;var spe=_x();eu.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function ope(){return{name:eu.wrapAbortSignalLikePolicyName,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,spe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}});var Az=h(Dx=>{"use strict";Object.defineProperty(Dx,"__esModule",{value:!0});Dx.createPipelineFromOptions=Cpe;var ape=ex(),Ape=XS(),cpe=tx(),lpe=sx(),oz=gx(),upe=mx(),dpe=px(),fpe=yx(),az=Qs(),hpe=Cx(),gpe=Ix(),mpe=Bx(),ppe=Qx(),ype=Rx(),Epe=sz();function Cpe(t){var e;let r=(0,Ape.createEmptyPipeline)();return az.isNodeLike&&(t.agent&&r.addPolicy((0,mpe.agentPolicy)(t.agent)),t.tlsOptions&&r.addPolicy((0,ppe.tlsPolicy)(t.tlsOptions)),r.addPolicy((0,hpe.proxyPolicy)(t.proxyOptions)),r.addPolicy((0,upe.decompressResponsePolicy)())),r.addPolicy((0,Epe.wrapAbortSignalLikePolicy)()),r.addPolicy((0,fpe.formDataPolicy)(),{beforePolicies:[oz.multipartPolicyName]}),r.addPolicy((0,lpe.userAgentPolicy)(t.userAgentOptions)),r.addPolicy((0,gpe.setClientRequestIdPolicy)((e=t.telemetryOptions)===null||e===void 0?void 0:e.clientRequestIdHeaderName)),r.addPolicy((0,oz.multipartPolicy)(),{afterPhase:"Deserialize"}),r.addPolicy((0,dpe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),r.addPolicy((0,ype.tracingPolicy)(Object.assign(Object.assign({},t.userAgentOptions),t.loggingOptions)),{afterPhase:"Retry"}),az.isNodeLike&&r.addPolicy((0,cpe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),r.addPolicy((0,ape.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),r}});var cz=h(kx=>{"use strict";Object.defineProperty(kx,"__esModule",{value:!0});kx.createDefaultHttpClient=Qpe;var Ipe=ql(),Bpe=_x();function Qpe(){let t=(0,Ipe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,Bpe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}});var lz=h(Px=>{"use strict";Object.defineProperty(Px,"__esModule",{value:!0});Px.createHttpHeaders=Npe;var bpe=ql();function Npe(t){return(0,bpe.createHttpHeaders)(t)}});var uz=h(Tx=>{"use strict";Object.defineProperty(Tx,"__esModule",{value:!0});Tx.createPipelineRequest=Spe;var wpe=ql();function Spe(t){return(0,wpe.createPipelineRequest)(t)}});var fz=h(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.exponentialRetryPolicyName=void 0;Bh.exponentialRetryPolicy=xpe;var dz=Qn();Bh.exponentialRetryPolicyName=dz.exponentialRetryPolicyName;function xpe(t={}){return(0,dz.exponentialRetryPolicy)(t)}});var gz=h(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.systemErrorRetryPolicyName=void 0;Qh.systemErrorRetryPolicy=Rpe;var hz=Qn();Qh.systemErrorRetryPolicyName=hz.systemErrorRetryPolicyName;function Rpe(t={}){return(0,hz.systemErrorRetryPolicy)(t)}});var pz=h(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.throttlingRetryPolicyName=void 0;bh.throttlingRetryPolicy=vpe;var mz=Qn();bh.throttlingRetryPolicyName=mz.throttlingRetryPolicyName;function vpe(t={}){return(0,mz.throttlingRetryPolicy)(t)}});var yz=h(Ox=>{"use strict";Object.defineProperty(Ox,"__esModule",{value:!0});Ox.retryPolicy=Tpe;var _pe=Hl(),Dpe=RE(),kpe=Qn(),Ppe=(0,_pe.createClientLogger)("core-rest-pipeline retryPolicy");function Tpe(t,e={maxRetries:Dpe.DEFAULT_RETRY_POLICY_COUNT}){return(0,kpe.retryPolicy)(t,Object.assign({logger:Ppe},e))}});var Lx=h(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.DEFAULT_CYCLER_OPTIONS=void 0;tu.createTokenCycler=Mpe;var Ope=Qs();tu.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Lpe(t,e,r){async function n(){if(Date.now()<r)try{return await t()}catch{return null}else{let s=await t();if(s===null)throw new Error("Failed to refresh access token.");return s}}let i=await n();for(;i===null;)await(0,Ope.delay)(e),i=await n();return i}function Mpe(t,e){let r=null,n=null,i,s=Object.assign(Object.assign({},tu.DEFAULT_CYCLER_OPTIONS),e),o={get isRefreshing(){return r!==null},get shouldRefresh(){var A;return o.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:((A=n?.expiresOnTimestamp)!==null&&A!==void 0?A:0)-s.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function a(A,c){var l;return o.isRefreshing||(r=Lpe(()=>t.getToken(A,c),s.retryIntervalInMs,(l=n?.expiresOnTimestamp)!==null&&l!==void 0?l:Date.now()).then(d=>(r=null,n=d,i=c.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return async(A,c)=>{let l=!!c.claims,u=i!==c.tenantId;return l&&(n=null),u||l||o.mustRefresh?a(A,c):(o.shouldRefresh&&a(A,c),n)}}});var Qz=h(EA=>{"use strict";Object.defineProperty(EA,"__esModule",{value:!0});EA.bearerTokenAuthenticationPolicyName=void 0;EA.bearerTokenAuthenticationPolicy=jpe;EA.parseChallenges=Bz;var Fpe=Lx(),Upe=ch(),qpe=UE();EA.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function HE(t,e){try{return[await e(t),void 0]}catch(r){if((0,qpe.isRestError)(r)&&r.response)return[r.response,r];throw r}}async function Hpe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}function Ez(t){return t.status===401&&t.headers.has("WWW-Authenticate")}async function Cz(t,e){var r;let{scopes:n}=t,i=await t.getAccessToken(n,{enableCae:!0,claims:e});return i?(t.request.headers.set("Authorization",`${(r=i.tokenType)!==null&&r!==void 0?r:"Bearer"} ${i.token}`),!0):!1}function jpe(t){var e,r,n;let{credential:i,scopes:s,challengeCallbacks:o}=t,a=t.logger||Upe.logger,A={authorizeRequest:(r=(e=o?.authorizeRequest)===null||e===void 0?void 0:e.bind(o))!==null&&r!==void 0?r:Hpe,authorizeRequestOnChallenge:(n=o?.authorizeRequestOnChallenge)===null||n===void 0?void 0:n.bind(o)},c=i?(0,Fpe.createTokenCycler)(i):()=>Promise.resolve(null);return{name:EA.bearerTokenAuthenticationPolicyName,async sendRequest(l,u){if(!l.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await A.authorizeRequest({scopes:Array.isArray(s)?s:[s],request:l,getAccessToken:c,logger:a});let d,f,g;if([d,f]=await HE(l,u),Ez(d)){let m=Iz(d.headers.get("WWW-Authenticate"));if(m){let E;try{E=atob(m)}catch{return a.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),d}g=await Cz({scopes:Array.isArray(s)?s:[s],response:d,request:l,getAccessToken:c,logger:a},E),g&&([d,f]=await HE(l,u))}else if(A.authorizeRequestOnChallenge&&(g=await A.authorizeRequestOnChallenge({scopes:Array.isArray(s)?s:[s],request:l,response:d,getAccessToken:c,logger:a}),g&&([d,f]=await HE(l,u)),Ez(d)&&(m=Iz(d.headers.get("WWW-Authenticate")),m))){let E;try{E=atob(m)}catch{return a.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),d}g=await Cz({scopes:Array.isArray(s)?s:[s],response:d,request:l,getAccessToken:c,logger:a},E),g&&([d,f]=await HE(l,u))}}if(f)throw f;return d}}}function Bz(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],o=i[2],a={},A;for(;(A=r.exec(o))!==null;)a[A[1]]=A[2];n.push({scheme:s,params:a})}return n}function Iz(t){var e;return t?(e=Bz(t).find(n=>n.scheme==="Bearer"&&n.params.claims&&n.params.error==="insufficient_claims"))===null||e===void 0?void 0:e.params.claims:void 0}});var bz=h(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.ndJsonPolicyName=void 0;ru.ndJsonPolicy=zpe;ru.ndJsonPolicyName="ndJsonPolicy";function zpe(){return{name:ru.ndJsonPolicyName,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+`
|
|
`).join(""))}return e(t)}}}});var wz=h(CA=>{"use strict";Object.defineProperty(CA,"__esModule",{value:!0});CA.auxiliaryAuthenticationHeaderPolicyName=void 0;CA.auxiliaryAuthenticationHeaderPolicy=Vpe;var Gpe=Lx(),Ype=ch();CA.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";var Nz="x-ms-authorization-auxiliary";async function Jpe(t){var e,r;let{scopes:n,getAccessToken:i,request:s}=t,o={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions};return(r=(e=await i(n,o))===null||e===void 0?void 0:e.token)!==null&&r!==void 0?r:""}function Vpe(t){let{credentials:e,scopes:r}=t,n=t.logger||Ype.logger,i=new WeakMap;return{name:CA.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(s,o){if(!s.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${CA.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`),o(s);let a=[];for(let c of e){let l=i.get(c);l||(l=(0,Gpe.createTokenCycler)(c),i.set(c,l)),a.push(Jpe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:l,logger:n}))}let A=(await Promise.all(a)).filter(c=>!!c);return A.length===0?(n.warning(`None of the auxiliary tokens are valid. ${Nz} header will not be set.`),o(s)):(s.headers.set(Nz,A.map(c=>`Bearer ${c}`).join(", ")),o(s))}}}});var oo=h(L=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0});L.createFileFromStream=L.createFile=L.agentPolicyName=L.agentPolicy=L.auxiliaryAuthenticationHeaderPolicyName=L.auxiliaryAuthenticationHeaderPolicy=L.ndJsonPolicyName=L.ndJsonPolicy=L.bearerTokenAuthenticationPolicyName=L.bearerTokenAuthenticationPolicy=L.formDataPolicyName=L.formDataPolicy=L.tlsPolicyName=L.tlsPolicy=L.userAgentPolicyName=L.userAgentPolicy=L.defaultRetryPolicy=L.tracingPolicyName=L.tracingPolicy=L.retryPolicy=L.throttlingRetryPolicyName=L.throttlingRetryPolicy=L.systemErrorRetryPolicyName=L.systemErrorRetryPolicy=L.redirectPolicyName=L.redirectPolicy=L.getDefaultProxySettings=L.proxyPolicyName=L.proxyPolicy=L.multipartPolicyName=L.multipartPolicy=L.logPolicyName=L.logPolicy=L.setClientRequestIdPolicyName=L.setClientRequestIdPolicy=L.exponentialRetryPolicyName=L.exponentialRetryPolicy=L.decompressResponsePolicyName=L.decompressResponsePolicy=L.isRestError=L.RestError=L.createPipelineRequest=L.createHttpHeaders=L.createDefaultHttpClient=L.createPipelineFromOptions=L.createEmptyPipeline=void 0;var Wpe=XS();Object.defineProperty(L,"createEmptyPipeline",{enumerable:!0,get:function(){return Wpe.createEmptyPipeline}});var $pe=Az();Object.defineProperty(L,"createPipelineFromOptions",{enumerable:!0,get:function(){return $pe.createPipelineFromOptions}});var Kpe=cz();Object.defineProperty(L,"createDefaultHttpClient",{enumerable:!0,get:function(){return Kpe.createDefaultHttpClient}});var Xpe=lz();Object.defineProperty(L,"createHttpHeaders",{enumerable:!0,get:function(){return Xpe.createHttpHeaders}});var Zpe=uz();Object.defineProperty(L,"createPipelineRequest",{enumerable:!0,get:function(){return Zpe.createPipelineRequest}});var Sz=UE();Object.defineProperty(L,"RestError",{enumerable:!0,get:function(){return Sz.RestError}});Object.defineProperty(L,"isRestError",{enumerable:!0,get:function(){return Sz.isRestError}});var xz=mx();Object.defineProperty(L,"decompressResponsePolicy",{enumerable:!0,get:function(){return xz.decompressResponsePolicy}});Object.defineProperty(L,"decompressResponsePolicyName",{enumerable:!0,get:function(){return xz.decompressResponsePolicyName}});var Rz=fz();Object.defineProperty(L,"exponentialRetryPolicy",{enumerable:!0,get:function(){return Rz.exponentialRetryPolicy}});Object.defineProperty(L,"exponentialRetryPolicyName",{enumerable:!0,get:function(){return Rz.exponentialRetryPolicyName}});var vz=Ix();Object.defineProperty(L,"setClientRequestIdPolicy",{enumerable:!0,get:function(){return vz.setClientRequestIdPolicy}});Object.defineProperty(L,"setClientRequestIdPolicyName",{enumerable:!0,get:function(){return vz.setClientRequestIdPolicyName}});var _z=ex();Object.defineProperty(L,"logPolicy",{enumerable:!0,get:function(){return _z.logPolicy}});Object.defineProperty(L,"logPolicyName",{enumerable:!0,get:function(){return _z.logPolicyName}});var Dz=gx();Object.defineProperty(L,"multipartPolicy",{enumerable:!0,get:function(){return Dz.multipartPolicy}});Object.defineProperty(L,"multipartPolicyName",{enumerable:!0,get:function(){return Dz.multipartPolicyName}});var Mx=Cx();Object.defineProperty(L,"proxyPolicy",{enumerable:!0,get:function(){return Mx.proxyPolicy}});Object.defineProperty(L,"proxyPolicyName",{enumerable:!0,get:function(){return Mx.proxyPolicyName}});Object.defineProperty(L,"getDefaultProxySettings",{enumerable:!0,get:function(){return Mx.getDefaultProxySettings}});var kz=tx();Object.defineProperty(L,"redirectPolicy",{enumerable:!0,get:function(){return kz.redirectPolicy}});Object.defineProperty(L,"redirectPolicyName",{enumerable:!0,get:function(){return kz.redirectPolicyName}});var Pz=gz();Object.defineProperty(L,"systemErrorRetryPolicy",{enumerable:!0,get:function(){return Pz.systemErrorRetryPolicy}});Object.defineProperty(L,"systemErrorRetryPolicyName",{enumerable:!0,get:function(){return Pz.systemErrorRetryPolicyName}});var Tz=pz();Object.defineProperty(L,"throttlingRetryPolicy",{enumerable:!0,get:function(){return Tz.throttlingRetryPolicy}});Object.defineProperty(L,"throttlingRetryPolicyName",{enumerable:!0,get:function(){return Tz.throttlingRetryPolicyName}});var eye=yz();Object.defineProperty(L,"retryPolicy",{enumerable:!0,get:function(){return eye.retryPolicy}});var Oz=Rx();Object.defineProperty(L,"tracingPolicy",{enumerable:!0,get:function(){return Oz.tracingPolicy}});Object.defineProperty(L,"tracingPolicyName",{enumerable:!0,get:function(){return Oz.tracingPolicyName}});var tye=px();Object.defineProperty(L,"defaultRetryPolicy",{enumerable:!0,get:function(){return tye.defaultRetryPolicy}});var Lz=sx();Object.defineProperty(L,"userAgentPolicy",{enumerable:!0,get:function(){return Lz.userAgentPolicy}});Object.defineProperty(L,"userAgentPolicyName",{enumerable:!0,get:function(){return Lz.userAgentPolicyName}});var Mz=Qx();Object.defineProperty(L,"tlsPolicy",{enumerable:!0,get:function(){return Mz.tlsPolicy}});Object.defineProperty(L,"tlsPolicyName",{enumerable:!0,get:function(){return Mz.tlsPolicyName}});var Fz=yx();Object.defineProperty(L,"formDataPolicy",{enumerable:!0,get:function(){return Fz.formDataPolicy}});Object.defineProperty(L,"formDataPolicyName",{enumerable:!0,get:function(){return Fz.formDataPolicyName}});var Uz=Qz();Object.defineProperty(L,"bearerTokenAuthenticationPolicy",{enumerable:!0,get:function(){return Uz.bearerTokenAuthenticationPolicy}});Object.defineProperty(L,"bearerTokenAuthenticationPolicyName",{enumerable:!0,get:function(){return Uz.bearerTokenAuthenticationPolicyName}});var qz=bz();Object.defineProperty(L,"ndJsonPolicy",{enumerable:!0,get:function(){return qz.ndJsonPolicy}});Object.defineProperty(L,"ndJsonPolicyName",{enumerable:!0,get:function(){return qz.ndJsonPolicyName}});var Hz=wz();Object.defineProperty(L,"auxiliaryAuthenticationHeaderPolicy",{enumerable:!0,get:function(){return Hz.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(L,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:!0,get:function(){return Hz.auxiliaryAuthenticationHeaderPolicyName}});var jz=Bx();Object.defineProperty(L,"agentPolicy",{enumerable:!0,get:function(){return jz.agentPolicy}});Object.defineProperty(L,"agentPolicyName",{enumerable:!0,get:function(){return jz.agentPolicyName}});var zz=hx();Object.defineProperty(L,"createFile",{enumerable:!0,get:function(){return zz.createFile}});Object.defineProperty(L,"createFileFromStream",{enumerable:!0,get:function(){return zz.createFileFromStream}})});var Gz=h(jE=>{"use strict";Object.defineProperty(jE,"__esModule",{value:!0});jE.AzureKeyCredential=void 0;var Fx=class{get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};jE.AzureKeyCredential=Fx});var Yz=h(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0});Ux.isKeyCredential=nye;var rye=Qs();function nye(t){return(0,rye.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}});var Jz=h(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});Nh.AzureNamedKeyCredential=void 0;Nh.isNamedKeyCredential=sye;var iye=Qs(),qx=class{get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};Nh.AzureNamedKeyCredential=qx;function sye(t){return(0,iye.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}});var Vz=h(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.AzureSASCredential=void 0;wh.isSASCredential=aye;var oye=Qs(),Hx=class{get signature(){return this._signature}constructor(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}update(e){if(!e)throw new Error("shared access signature must be a non-empty string");this._signature=e}};wh.AzureSASCredential=Hx;function aye(t){return(0,oye.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}});var Wz=h(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.isBearerToken=Aye;Sh.isPopToken=cye;Sh.isTokenCredential=lye;function Aye(t){return!t.tokenType||t.tokenType==="Bearer"}function cye(t){return t.tokenType==="pop"}function lye(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}});var Xz=h(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.isTokenCredential=Hr.isSASCredential=Hr.AzureSASCredential=Hr.isNamedKeyCredential=Hr.AzureNamedKeyCredential=Hr.isKeyCredential=Hr.AzureKeyCredential=void 0;var uye=Gz();Object.defineProperty(Hr,"AzureKeyCredential",{enumerable:!0,get:function(){return uye.AzureKeyCredential}});var dye=Yz();Object.defineProperty(Hr,"isKeyCredential",{enumerable:!0,get:function(){return dye.isKeyCredential}});var $z=Jz();Object.defineProperty(Hr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return $z.AzureNamedKeyCredential}});Object.defineProperty(Hr,"isNamedKeyCredential",{enumerable:!0,get:function(){return $z.isNamedKeyCredential}});var Kz=Vz();Object.defineProperty(Hr,"AzureSASCredential",{enumerable:!0,get:function(){return Kz.AzureSASCredential}});Object.defineProperty(Hr,"isSASCredential",{enumerable:!0,get:function(){return Kz.isSASCredential}});var fye=Wz();Object.defineProperty(Hr,"isTokenCredential",{enumerable:!0,get:function(){return fye.isTokenCredential}})});var jx=h(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.disableKeepAlivePolicyName=void 0;ea.createDisableKeepAlivePolicy=hye;ea.pipelineContainsDisableKeepAlivePolicy=gye;ea.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function hye(){return{name:ea.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}function gye(t){return t.getOrderedPolicies().some(e=>e.name===ea.disableKeepAlivePolicyName)}});var zx=h(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.encodeString=mye;nu.encodeByteArray=pye;nu.decodeString=yye;nu.decodeStringToString=Eye;function mye(t){return Buffer.from(t).toString("base64")}function pye(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}function yye(t){return Buffer.from(t,"base64")}function Eye(t){return Buffer.from(t,"base64").toString()}});var xh=h(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.XML_CHARKEY=iu.XML_ATTRKEY=void 0;iu.XML_ATTRKEY="$";iu.XML_CHARKEY="_"});var Gx=h(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.isPrimitiveBody=Zz;su.isDuration=Iye;su.isValidUuid=Qye;su.flattenResponse=Nye;function Zz(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 Cye=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Iye(t){return Cye.test(t)}var Bye=/^[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 Qye(t){return Bye.test(t)}function bye(t){let e=Object.assign(Object.assign({},t.headers),t.body);return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?Object.assign(Object.assign({},t.headers),{body:t.body}):e}function Nye(t,e){var r,n;let i=t.parsedHeaders;if(t.request.method==="HEAD")return Object.assign(Object.assign({},i),{body:t.parsedBody});let s=e&&e.bodyMapper,o=!!s?.nullable,a=s?.type.name;if(a==="Stream")return Object.assign(Object.assign({},i),{blobBody:t.blobBody,readableStreamBody:t.readableStreamBody});let A=a==="Composite"&&s.type.modelProperties||{},c=Object.keys(A).some(l=>A[l].serializedName==="");if(a==="Sequence"||c){let l=(r=t.parsedBody)!==null&&r!==void 0?r:[];for(let u of Object.keys(A))A[u].serializedName&&(l[u]=(n=t.parsedBody)===null||n===void 0?void 0:n[u]);if(i)for(let u of Object.keys(i))l[u]=i[u];return o&&!t.parsedBody&&!i&&Object.getOwnPropertyNames(A).length===0?null:l}return bye({body:t.parsedBody,headers:i,hasNullableType:o,shouldWrapBody:Zz(t.parsedBody,a)})}});var vh=h(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.MapperTypeNames=void 0;Rh.createSerializer=Sye;var wye=(mi(),Ui(gi)),GE=wye.__importStar(zx()),yr=xh(),tG=Gx(),Yx=class{constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=(s,o)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${o}.`)};if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:o,InclusiveMaximum:a,InclusiveMinimum:A,MaxItems:c,MaxLength:l,MinItems:u,MinLength:d,MultipleOf:f,Pattern:g,UniqueItems:m}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),o!==void 0&&r<=o&&i("ExclusiveMinimum",o),a!==void 0&&r>a&&i("InclusiveMaximum",a),A!==void 0&&r<A&&i("InclusiveMinimum",A),c!==void 0&&r.length>c&&i("MaxItems",c),l!==void 0&&r.length>l&&i("MaxLength",l),u!==void 0&&r.length<u&&i("MinItems",u),d!==void 0&&r.length<d&&i("MinLength",d),f!==void 0&&r%f!==0&&i("MultipleOf",f),g){let E=typeof g=="string"?new RegExp(g):g;(typeof r!="string"||r.match(E)===null)&&i("Pattern",g)}m&&r.some((E,C,I)=>I.indexOf(E)!==C)&&i("UniqueItems",m)}}serialize(e,r,n,i={xml:{}}){var s,o,a;let A={xml:{rootName:(s=i.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=i.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=i.xml.xmlCharKey)!==null&&a!==void 0?a:yr.XML_CHARKEY}},c={},l=e.type.name;n||(n=e.serializedName),l.match(/^Sequence$/i)!==null&&(c=[]),e.isConstant&&(r=e.defaultValue);let{required:u,nullable:d}=e;if(u&&d&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(u&&!d&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!u&&d===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||l.match(/^any$/i)!==null?c=r:l.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?c=kye(l,n,r):l.match(/^Enum$/i)!==null?c=Pye(n,e.type.allowedValues,r):l.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?c=Lye(l,r,n):l.match(/^ByteArray$/i)!==null?c=Tye(n,r):l.match(/^Base64Url$/i)!==null?c=Oye(n,r):l.match(/^Sequence$/i)!==null?c=Mye(this,e,r,n,!!this.isXML,A):l.match(/^Dictionary$/i)!==null?c=Fye(this,e,r,n,!!this.isXML,A):l.match(/^Composite$/i)!==null&&(c=qye(this,e,r,n,!!this.isXML,A)),c}deserialize(e,r,n,i={xml:{}}){var s,o,a,A;let c={xml:{rootName:(s=i.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=i.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=i.xml.xmlCharKey)!==null&&a!==void 0?a:yr.XML_CHARKEY},ignoreUnknownProperties:(A=i.ignoreUnknownProperties)!==null&&A!==void 0?A:!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let l,u=e.type.name;if(n||(n=e.serializedName),u.match(/^Composite$/i)!==null)l=jye(this,e,r,n,c);else{if(this.isXML){let d=c.xml.xmlCharKey;r[yr.XML_ATTRKEY]!==void 0&&r[d]!==void 0&&(r=r[d])}u.match(/^Number$/i)!==null?(l=parseFloat(r),isNaN(l)&&(l=r)):u.match(/^Boolean$/i)!==null?r==="true"?l=!0:r==="false"?l=!1:l=r:u.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?l=r:u.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?l=new Date(r):u.match(/^UnixTime$/i)!==null?l=Dye(r):u.match(/^ByteArray$/i)!==null?l=GE.decodeString(r):u.match(/^Base64Url$/i)!==null?l=vye(r):u.match(/^Sequence$/i)!==null?l=Gye(this,e,r,n,c):u.match(/^Dictionary$/i)!==null&&(l=zye(this,e,r,n,c))}return e.isConstant&&(l=e.defaultValue),l}};function Sye(t={},e=!1){return new Yx(t,e)}function xye(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}function Rye(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=GE.encodeByteArray(t);return xye(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}function vye(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,"/"),GE.decodeString(t)}}function Jx(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}function _ye(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}function Dye(t){if(t)return new Date(t*1e3)}function kye(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"&&(0,tG.isValidUuid)(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 Pye(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}function Tye(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=GE.encodeByteArray(e)}return e}function Oye(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Rye(e)}return e}function Lye(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=_ye(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,tG.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}function Mye(t,e,r,n,i,s){var o;if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=(o=t.modelMappers[a.type.className])!==null&&o!==void 0?o:a);let A=[];for(let c=0;c<r.length;c++){let l=t.serialize(a,r[c],n,s);if(i&&a.xmlNamespace){let u=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(A[c]=Object.assign({},l),A[c][yr.XML_ATTRKEY]={[u]:a.xmlNamespace}):(A[c]={},A[c][s.xml.xmlCharKey]=l,A[c][yr.XML_ATTRKEY]={[u]:a.xmlNamespace})}else A[c]=l}return A}function Fye(t,e,r,n,i,s){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 A of Object.keys(r)){let c=t.serialize(o,r[A],n,s);a[A]=iG(o,c,i,s)}if(i&&e.xmlNamespace){let A=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",c=a;return c[yr.XML_ATTRKEY]={[A]:e.xmlNamespace},c}return a}function Uye(t,e,r){let n=e.type.additionalProperties;if(!n&&e.type.className){let i=rG(t,e,r);return i?.type.additionalProperties}return n}function rG(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 nG(t,e,r){let n=e.type.modelProperties;if(!n){let i=rG(t,e,r);if(!i)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(n=i?.type.modelProperties,!n)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(i)}" of type "${e.type.className}" for object "${r}".`)}return n}function qye(t,e,r,n,i,s){if(zE(t,e)&&(e=sG(t,e,r,"clientName")),r!=null){let o={},a=nG(t,e,n);for(let c of Object.keys(a)){let l=a[c];if(l.readOnly)continue;let u,d=o;if(t.isXML)l.xmlIsWrapped?u=l.xmlName:u=l.xmlElementName||l.xmlName;else{let f=Jx(l.serializedName);u=f.pop();for(let g of f){let m=d[g];m==null&&(r[c]!==void 0&&r[c]!==null||l.defaultValue!==void 0)&&(d[g]={}),d=d[g]}}if(d!=null){if(i&&e.xmlNamespace){let C=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";d[yr.XML_ATTRKEY]=Object.assign(Object.assign({},d[yr.XML_ATTRKEY]),{[C]:e.xmlNamespace})}let f=l.serializedName!==""?n+"."+l.serializedName:n,g=r[c],m=zE(t,e);m&&m.clientName===c&&g==null&&(g=e.serializedName);let E=t.serialize(l,g,f,s);if(E!==void 0&&u!==void 0&&u!==null){let C=iG(l,E,i,s);i&&l.xmlIsAttribute?(d[yr.XML_ATTRKEY]=d[yr.XML_ATTRKEY]||{},d[yr.XML_ATTRKEY][u]=E):i&&l.xmlIsWrapped?d[u]={[l.xmlElementName]:C}:d[u]=C}}}let A=Uye(t,e,n);if(A){let c=Object.keys(a);for(let l in r)c.every(d=>d!==l)&&(o[l]=t.serialize(A,r[l],n+'["'+l+'"]',s))}return o}return r}function iG(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[yr.XML_ATTRKEY])return e;{let a=Object.assign({},e);return a[yr.XML_ATTRKEY]=s,a}}let o={};return o[n.xml.xmlCharKey]=e,o[yr.XML_ATTRKEY]=s,o}function Hye(t,e){return[yr.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}function jye(t,e,r,n,i){var s,o;let a=(s=i.xml.xmlCharKey)!==null&&s!==void 0?s:yr.XML_CHARKEY;zE(t,e)&&(e=sG(t,e,r,"serializedName"));let A=nG(t,e,n),c={},l=[];for(let d of Object.keys(A)){let f=A[d],g=Jx(A[d].serializedName);l.push(g[0]);let{serializedName:m,xmlName:E,xmlElementName:C}=f,I=n;m!==""&&m!==void 0&&(I=n+"."+m);let N=f.headerCollectionPrefix;if(N){let w={};for(let v of Object.keys(r))v.startsWith(N)&&(w[v.substring(N.length)]=t.deserialize(f.type.value,r[v],I,i)),l.push(v);c[d]=w}else if(t.isXML)if(f.xmlIsAttribute&&r[yr.XML_ATTRKEY])c[d]=t.deserialize(f,r[yr.XML_ATTRKEY][E],I,i);else if(f.xmlIsMsText)r[a]!==void 0?c[d]=r[a]:typeof r=="string"&&(c[d]=r);else{let w=C||E||m;if(f.xmlIsWrapped){let v=r[E],T=(o=v?.[C])!==null&&o!==void 0?o:[];c[d]=t.deserialize(f,T,I,i),l.push(E)}else{let v=r[w];c[d]=t.deserialize(f,v,I,i),l.push(w)}}else{let w,v=r,T=0;for(let J of g){if(!v)break;T++,v=v[J]}v===null&&T<g.length&&(v=void 0),w=v;let U=e.type.polymorphicDiscriminator;U&&d===U.clientName&&w==null&&(w=e.serializedName);let k;if(Array.isArray(r[d])&&A[d].serializedName===""){w=r[d];let J=t.deserialize(f,w,I,i);for(let[be,Re]of Object.entries(c))Object.prototype.hasOwnProperty.call(J,be)||(J[be]=Re);c=J}else(w!==void 0||f.defaultValue!==void 0)&&(k=t.deserialize(f,w,I,i),c[d]=k)}}let u=e.type.additionalProperties;if(u){let d=f=>{for(let g in A)if(Jx(A[g].serializedName)[0]===f)return!1;return!0};for(let f in r)d(f)&&(c[f]=t.deserialize(u,r[f],n+'["'+f+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let d of Object.keys(r))c[d]===void 0&&!l.includes(d)&&!Hye(d,i)&&(c[d]=r[d]);return c}function zye(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="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(s,r[a],n,i);return o}return r}function Gye(t,e,r,n,i){var s;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}`);if(r){Array.isArray(r)||(r=[r]),o.type.name==="Composite"&&o.type.className&&(o=(s=t.modelMappers[o.type.className])!==null&&s!==void 0?s:o);let a=[];for(let A=0;A<r.length;A++)a[A]=t.deserialize(o,r[A],`${n}[${A}]`,i);return a}return r}function Yye(t,e,r){let n=[r];for(;n.length;){let i=n.shift(),s=e===i?e:i+"."+e;if(Object.prototype.hasOwnProperty.call(t,s))return t[s];for(let[o,a]of Object.entries(t))o.startsWith(i+".")&&a.type.uberParent===i&&a.type.className&&n.push(a.type.className)}}function sG(t,e,r,n){var i;let s=zE(t,e);if(s){let o=s[n];if(o){n==="serializedName"&&(o=o.replace(/\\/gi,""));let a=r[o],A=(i=e.type.uberParent)!==null&&i!==void 0?i:e.type.className;if(typeof a=="string"&&A){let c=Yye(t.modelMappers.discriminators,a,A);c&&(e=c)}}}return e}function zE(t,e){return e.type.polymorphicDiscriminator||eG(t,e.type.uberParent)||eG(t,e.type.className)}function eG(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}Rh.MapperTypeNames={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 oG=h(YE=>{"use strict";Object.defineProperty(YE,"__esModule",{value:!0});YE.state=void 0;YE.state={operationRequestMap:new WeakMap}});var _h=h(JE=>{"use strict";Object.defineProperty(JE,"__esModule",{value:!0});JE.getOperationArgumentValueFromParameter=cG;JE.getOperationRequestInfo=uG;var aG=oG();function cG(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let o=AG(t,n);!o.propertyFound&&r&&(o=AG(r,n));let a=!1;o.propertyFound||(a=i.required||n[0]==="options"&&n.length===2),s=a?i.defaultValue:o.propertyValue}}else{i.required&&(s={});for(let o in n){let a=i.type.modelProperties[o],A=n[o],c=cG(t,{parameterPath:A,mapper:a},r);c!==void 0&&(s||(s={}),s[o]=c)}}return s}function AG(t,e){let r={propertyFound:!1},n=0;for(;n<e.length;++n){let i=e[n];if(t&&i in t)t=t[i];else break}return n===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}var lG=Symbol.for("@azure/core-client original request");function Jye(t){return lG in t}function uG(t){if(Jye(t))return uG(t[lG]);let e=aG.state.operationRequestMap.get(t);return e||(e={},aG.state.operationRequestMap.set(t,e)),e}});var Wx=h(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.deserializationPolicyName=void 0;ou.deserializationPolicy=Kye;var Vye=xh(),VE=oo(),dG=vh(),Vx=_h(),Wye=["application/json","text/json"],$ye=["application/xml","application/atom+xml"];ou.deserializationPolicyName="deserializationPolicy";function Kye(t={}){var e,r,n,i,s,o,a;let A=(r=(e=t.expectedContentTypes)===null||e===void 0?void 0:e.json)!==null&&r!==void 0?r:Wye,c=(i=(n=t.expectedContentTypes)===null||n===void 0?void 0:n.xml)!==null&&i!==void 0?i:$ye,l=t.parseXML,u=t.serializerOptions,d={xml:{rootName:(s=u?.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=u?.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=u?.xml.xmlCharKey)!==null&&a!==void 0?a:Vye.XML_CHARKEY}};return{name:ou.deserializationPolicyName,async sendRequest(f,g){let m=await g(f);return eEe(A,c,m,d,l)}}}function Xye(t){let e,r=t.request,n=(0,Vx.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}function Zye(t){let e=t.request,r=(0,Vx.getOperationRequestInfo)(e),n=r?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}async function eEe(t,e,r,n,i){let s=await nEe(t,e,r,n,i);if(!Zye(s))return s;let o=(0,Vx.getOperationRequestInfo)(s.request),a=o?.operationSpec;if(!a||!a.responses)return s;let A=Xye(s),{error:c,shouldReturnResponse:l}=rEe(s,a,A,n);if(c)throw c;if(l)return s;if(A){if(A.bodyMapper){let u=s.parsedBody;a.isXML&&A.bodyMapper.type.name===dG.MapperTypeNames.Sequence&&(u=typeof u=="object"?u[A.bodyMapper.xmlElementName]:[]);try{s.parsedBody=a.serializer.deserialize(A.bodyMapper,u,"operationRes.parsedBody",n)}catch(d){throw new VE.RestError(`Error ${d} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else a.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);A.headersMapper&&(s.parsedHeaders=a.serializer.deserialize(A.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}function tEe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}function rEe(t,e,r,n){var i,s,o,a,A;let c=200<=t.status&&t.status<300;if(tEe(e)?c:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let u=r??e.responses.default,d=!((i=t.request.streamResponseStatusCodes)===null||i===void 0)&&i.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,f=new VE.RestError(d,{statusCode:t.status,request:t.request,response:t});if(!u&&!(!((o=(s=t.parsedBody)===null||s===void 0?void 0:s.error)===null||o===void 0)&&o.code&&(!((A=(a=t.parsedBody)===null||a===void 0?void 0:a.error)===null||A===void 0)&&A.message)))throw f;let g=u?.bodyMapper,m=u?.headersMapper;try{if(t.parsedBody){let E=t.parsedBody,C;if(g){let N=E;if(e.isXML&&g.type.name===dG.MapperTypeNames.Sequence){N=[];let w=g.xmlElementName;typeof E=="object"&&w&&(N=E[w])}C=e.serializer.deserialize(g,N,"error.response.parsedBody",n)}let I=E.error||C||E;f.code=I.code,I.message&&(f.message=I.message),g&&(f.response.parsedBody=C)}t.headers&&m&&(f.response.parsedHeaders=e.serializer.deserialize(m,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(E){f.message=`Error "${E.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:f,shouldReturnResponse:!1}}async function nEe(t,e,r,n,i){var s;if(!(!((s=r.request.streamResponseStatusCodes)===null||s===void 0)&&s.has(r.status))&&r.bodyAsText){let o=r.bodyAsText,a=r.headers.get("Content-Type")||"",A=a?a.split(";").map(c=>c.toLowerCase()):[];try{if(A.length===0||A.some(c=>t.indexOf(c)!==-1))return r.parsedBody=JSON.parse(o),r;if(A.some(c=>e.indexOf(c)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let c=await i(o,n.xml);return r.parsedBody=c,r}}catch(c){let l=`Error "${c}" occurred while parsing the response body - ${r.bodyAsText}.`,u=c.code||VE.RestError.PARSE_ERROR;throw new VE.RestError(l,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}});var $E=h(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.getStreamingResponseStatusCodes=sEe;WE.getPathStringFromParameter=oEe;var iEe=vh();function sEe(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===iEe.MapperTypeNames.Stream&&e.add(Number(r))}return e}function oEe(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 Xx=h(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.serializationPolicyName=void 0;ta.serializationPolicy=aEe;ta.serializeHeaders=fG;ta.serializeRequestBody=hG;var Kx=xh(),KE=_h(),$x=vh(),Dh=$E();ta.serializationPolicyName="serializationPolicy";function aEe(t={}){let e=t.stringifyXML;return{name:ta.serializationPolicyName,async sendRequest(r,n){let i=(0,KE.getOperationRequestInfo)(r),s=i?.operationSpec,o=i?.operationArguments;return s&&o&&(fG(r,o,s),hG(r,o,s,e)),n(r)}}}function fG(t,e,r){var n,i;if(r.headerParameters)for(let o of r.headerParameters){let a=(0,KE.getOperationArgumentValueFromParameter)(e,o);if(a!=null||o.mapper.required){a=r.serializer.serialize(o.mapper,a,(0,Dh.getPathStringFromParameter)(o));let A=o.mapper.headerCollectionPrefix;if(A)for(let c of Object.keys(a))t.headers.set(A+c,a[c]);else t.headers.set(o.mapper.serializedName||(0,Dh.getPathStringFromParameter)(o),a)}}let s=(i=(n=e.options)===null||n===void 0?void 0:n.requestOptions)===null||i===void 0?void 0:i.customHeaders;if(s)for(let o of Object.keys(s))t.headers.set(o,s[o])}function hG(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){var i,s,o,a,A;let c=(i=e.options)===null||i===void 0?void 0:i.serializerOptions,l={xml:{rootName:(s=c?.xml.rootName)!==null&&s!==void 0?s:"",includeRoot:(o=c?.xml.includeRoot)!==null&&o!==void 0?o:!1,xmlCharKey:(a=c?.xml.xmlCharKey)!==null&&a!==void 0?a:Kx.XML_CHARKEY}},u=l.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,KE.getOperationArgumentValueFromParameter)(e,r.requestBody);let d=r.requestBody.mapper,{required:f,serializedName:g,xmlName:m,xmlElementName:E,xmlNamespace:C,xmlNamespacePrefix:I,nullable:N}=d,w=d.type.name;try{if(t.body!==void 0&&t.body!==null||N&&t.body===null||f){let v=(0,Dh.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(d,t.body,v,l);let T=w===$x.MapperTypeNames.Stream;if(r.isXML){let U=I?`xmlns:${I}`:"xmlns",k=AEe(C,U,w,t.body,l);w===$x.MapperTypeNames.Sequence?t.body=n(cEe(k,E||m||g,U,C),{rootName:m||g,xmlCharKey:u}):T||(t.body=n(k,{rootName:m||g,xmlCharKey:u}))}else{if(w===$x.MapperTypeNames.String&&(!((A=r.contentType)===null||A===void 0)&&A.match("text/plain")||r.mediaType==="text"))return;T||(t.body=JSON.stringify(t.body))}}}catch(v){throw new Error(`Error "${v.message}" occurred in serializing the payload - ${JSON.stringify(g,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let d of r.formDataParameters){let f=(0,KE.getOperationArgumentValueFromParameter)(e,d);if(f!=null){let g=d.mapper.serializedName||(0,Dh.getPathStringFromParameter)(d);t.formData[g]=r.serializer.serialize(d.mapper,f,(0,Dh.getPathStringFromParameter)(d),l)}}}}function AEe(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[Kx.XML_ATTRKEY]={[e]:t},s}return n}function cEe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[Kx.XML_ATTRKEY]={[r]:n},i}});var eR=h(Zx=>{"use strict";Object.defineProperty(Zx,"__esModule",{value:!0});Zx.createClientPipeline=dEe;var lEe=Wx(),gG=oo(),uEe=Xx();function dEe(t={}){let e=(0,gG.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,gG.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,uEe.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,lEe.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}});var mG=h(rR=>{"use strict";Object.defineProperty(rR,"__esModule",{value:!0});rR.getCachedDefaultHttpClient=hEe;var fEe=oo(),tR;function hEe(){return tR||(tR=(0,fEe.createDefaultHttpClient)()),tR}});var CG=h(XE=>{"use strict";Object.defineProperty(XE,"__esModule",{value:!0});XE.getRequestUrl=mEe;XE.appendQueryParams=EG;var yG=_h(),nR=$E(),gEe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function mEe(t,e,r,n){let i=pEe(e,r,n),s=!1,o=pG(t,i);if(e.path){let c=pG(e.path,i);e.path==="/{nextLink}"&&c.startsWith("/")&&(c=c.substring(1)),yEe(c)?(o=c,s=!0):o=EEe(o,c)}let{queryParams:a,sequenceParams:A}=CEe(e,r,n);return o=EG(o,a,A,s),o}function pG(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}function pEe(t,e,r){var n;let i=new Map;if(!((n=t.urlParameters)===null||n===void 0)&&n.length)for(let s of t.urlParameters){let o=(0,yG.getOperationArgumentValueFromParameter)(e,s,r),a=(0,nR.getPathStringFromParameter)(s);o=t.serializer.serialize(s.mapper,o,a),s.skipEncoding||(o=encodeURIComponent(o)),i.set(`{${s.mapper.serializedName||a}}`,o)}return i}function yEe(t){return t.includes("://")}function EEe(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 i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),o=e.substring(i+1);n=n+s,o&&(r.search=r.search?`${r.search}&${o}`:o)}else n=n+e;return r.pathname=n,r.toString()}function CEe(t,e,r){var n;let i=new Map,s=new Set;if(!((n=t.queryParameters)===null||n===void 0)&&n.length)for(let o of t.queryParameters){o.mapper.type.name==="Sequence"&&o.mapper.serializedName&&s.add(o.mapper.serializedName);let a=(0,yG.getOperationArgumentValueFromParameter)(e,o,r);if(a!=null||o.mapper.required){a=t.serializer.serialize(o.mapper,a,(0,nR.getPathStringFromParameter)(o));let A=o.collectionFormat?gEe[o.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(c=>c??"")),o.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(o.collectionFormat==="SSV"||o.collectionFormat==="TSV")&&(a=a.join(A)),o.skipEncoding||(Array.isArray(a)?a=a.map(c=>encodeURIComponent(c)):a=encodeURIComponent(a)),Array.isArray(a)&&(o.collectionFormat==="CSV"||o.collectionFormat==="Pipes")&&(a=a.join(A)),i.set(o.mapper.serializedName||(0,nR.getPathStringFromParameter)(o),a)}}return{queryParams:i,sequenceParams:s}}function IEe(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[i,s]=n.split("=",2),o=e.get(i);o?Array.isArray(o)?o.push(s):e.set(i,[o,s]):e.set(i,s)}return e}function EG(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=IEe(i.search);for(let[a,A]of e){let c=s.get(a);if(Array.isArray(c))if(Array.isArray(A)){c.push(...A);let l=new Set(c);s.set(a,Array.from(l))}else c.push(A);else c?(Array.isArray(A)?A.unshift(c):r.has(a)&&s.set(a,[c,A]),n||s.set(a,A)):s.set(a,A)}let o=[];for(let[a,A]of s)if(typeof A=="string")o.push(`${a}=${A}`);else if(Array.isArray(A))for(let c of A)o.push(`${a}=${c}`);else o.push(`${a}=${A}`);return i.search=o.length?`?${o.join("&")}`:"",i.toString()}});var iR=h(ZE=>{"use strict";Object.defineProperty(ZE,"__esModule",{value:!0});ZE.logger=void 0;var BEe=Hl();ZE.logger=(0,BEe.createClientLogger)("core-client")});var BG=h(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.ServiceClient=void 0;var QEe=oo(),bEe=eR(),IG=Gx(),NEe=mG(),wEe=_h(),SEe=CG(),xEe=$E(),REe=iR(),sR=class{constructor(e={}){var r,n;if(this._requestContentType=e.requestContentType,this._endpoint=(r=e.endpoint)!==null&&r!==void 0?r:e.baseUri,e.baseUri&&REe.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,NEe.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||vEe(e),!((n=e.additionalPolicies)===null||n===void 0)&&n.length)for(let{policy:i,position:s}of e.additionalPolicies){let o=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(i,{afterPhase:o})}}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 i=(0,SEe.getRequestUrl)(n,r,e,this),s=(0,QEe.createPipelineRequest)({url:i});s.method=r.httpMethod;let o=(0,wEe.getOperationRequestInfo)(s);o.operationSpec=r,o.operationArguments=e;let a=r.contentType||this._requestContentType;a&&r.requestBody&&s.headers.set("Content-Type",a);let A=e.options;if(A){let c=A.requestOptions;c&&(c.timeout&&(s.timeout=c.timeout),c.onUploadProgress&&(s.onUploadProgress=c.onUploadProgress),c.onDownloadProgress&&(s.onDownloadProgress=c.onDownloadProgress),c.shouldDeserialize!==void 0&&(o.shouldDeserialize=c.shouldDeserialize),c.allowInsecureConnection&&(s.allowInsecureConnection=!0)),A.abortSignal&&(s.abortSignal=A.abortSignal),A.tracingOptions&&(s.tracingOptions=A.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,xEe.getStreamingResponseStatusCodes)(r));try{let c=await this.sendRequest(s),l=(0,IG.flattenResponse)(c,r.responses[c.status]);return A?.onResponse&&A.onResponse(c,l),l}catch(c){if(typeof c=="object"&&c?.response){let l=c.response,u=(0,IG.flattenResponse)(l,r.responses[c.statusCode]||r.responses.default);c.details=u,A?.onResponse&&A.onResponse(l,u,c)}throw c}}};eC.ServiceClient=sR;function vEe(t){let e=_Ee(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,bEe.createClientPipeline)(Object.assign(Object.assign({},t),{credentialOptions:r}))}function _Ee(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 bG=h(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.parseCAEChallenge=QG;tC.authorizeRequestOnClaimChallenge=PEe;var DEe=iR(),kEe=zx();function QG(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([o,a])=>({[o]:a}))(s.trim().split('="'))).reduce((s,o)=>Object.assign(Object.assign({},s),o),{}))}async function PEe(t){var e;let{scopes:r,response:n}=t,i=t.logger||DEe.logger,s=n.headers.get("WWW-Authenticate");if(!s)return i.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(QG(s)||[]).find(c=>c.claims);if(!a)return i.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let A=await t.getAccessToken(a.scope?[a.scope]:r,{claims:(0,kEe.decodeStringToString)(a.claims)});return A?(t.request.headers.set("Authorization",`${(e=A.tokenType)!==null&&e!==void 0?e:"Bearer"} ${A.token}`),!0):!1}});var wG=h(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.authorizeRequestOnTenantChallenge=void 0;var NG={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function TEe(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 OEe=async t=>{var e;let r=qEe(t.request),n=FEe(t.response);if(n){let i=UEe(n),s=MEe(t,i),o=LEe(i);if(!o)return!1;let a=await t.getAccessToken(s,Object.assign(Object.assign({},r),{tenantId:o}));return a?(t.request.headers.set(NG.HeaderConstants.AUTHORIZATION,`${(e=a.tokenType)!==null&&e!==void 0?e:"Bearer"} ${a.token}`),!0):!1}return!1};rC.authorizeRequestOnTenantChallenge=OEe;function LEe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&TEe(n))return n}function MEe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=NG.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}function FEe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}function UEe(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,o])=>({[s]:o}))(i.trim().split("="))).reduce((i,s)=>Object.assign(Object.assign({},i),s),{})}function qEe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}});var oR=h(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.authorizeRequestOnTenantChallenge=pt.authorizeRequestOnClaimChallenge=pt.serializationPolicyName=pt.serializationPolicy=pt.deserializationPolicyName=pt.deserializationPolicy=pt.XML_CHARKEY=pt.XML_ATTRKEY=pt.createClientPipeline=pt.ServiceClient=pt.MapperTypeNames=pt.createSerializer=void 0;var SG=vh();Object.defineProperty(pt,"createSerializer",{enumerable:!0,get:function(){return SG.createSerializer}});Object.defineProperty(pt,"MapperTypeNames",{enumerable:!0,get:function(){return SG.MapperTypeNames}});var HEe=BG();Object.defineProperty(pt,"ServiceClient",{enumerable:!0,get:function(){return HEe.ServiceClient}});var jEe=eR();Object.defineProperty(pt,"createClientPipeline",{enumerable:!0,get:function(){return jEe.createClientPipeline}});var xG=xh();Object.defineProperty(pt,"XML_ATTRKEY",{enumerable:!0,get:function(){return xG.XML_ATTRKEY}});Object.defineProperty(pt,"XML_CHARKEY",{enumerable:!0,get:function(){return xG.XML_CHARKEY}});var RG=Wx();Object.defineProperty(pt,"deserializationPolicy",{enumerable:!0,get:function(){return RG.deserializationPolicy}});Object.defineProperty(pt,"deserializationPolicyName",{enumerable:!0,get:function(){return RG.deserializationPolicyName}});var vG=Xx();Object.defineProperty(pt,"serializationPolicy",{enumerable:!0,get:function(){return vG.serializationPolicy}});Object.defineProperty(pt,"serializationPolicyName",{enumerable:!0,get:function(){return vG.serializationPolicyName}});var zEe=bG();Object.defineProperty(pt,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return zEe.authorizeRequestOnClaimChallenge}});var GEe=wG();Object.defineProperty(pt,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return GEe.authorizeRequestOnTenantChallenge}})});var Ph=h(IA=>{"use strict";Object.defineProperty(IA,"__esModule",{value:!0});IA.HttpHeaders=void 0;IA.toPipelineRequest=kG;IA.toWebResourceLike=PG;IA.toHttpHeadersLike=TG;var _G=oo(),DG=Symbol("Original PipelineRequest"),YEe=Symbol.for("@azure/core-client original request");function kG(t,e={}){let n=t[DG],i=(0,_G.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,_G.createPipelineRequest)({url:t.url,method:t.method,headers:i,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&&(s[YEe]=e.originalRequest),s}}function PG(t,e){var r;let n=(r=e?.originalRequest)!==null&&r!==void 0?r:t,i={url:t.url,method:t.method,headers:TG(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(i,{get(s,o,a){return o===DG?t:o==="clone"?()=>PG(kG(i,{originalRequest:n}),{createProxy:!0,originalRequest:n}):Reflect.get(s,o,a)},set(s,o,a,A){return o==="keepAlive"&&(t.disableKeepAlive=!a),typeof o=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(o)&&(t[o]=a),Reflect.set(s,o,a,A)}}):i}function TG(t){return new nC(t.toJSON({preserveCase:!0}))}function kh(t){return t.toLowerCase()}var nC=class t{constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[kh(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[kh(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[kh(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[kh(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 i=this._headersMap[n];r[i.name]=i.value}else for(let n in this._headersMap){let i=this._headersMap[n];r[kh(i.name)]=i.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)}};IA.HttpHeaders=nC});var sC=h(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.toCompatResponse=VEe;iC.toPipelineResponse=WEe;var JEe=oo(),aR=Ph(),OG=Symbol("Original FullOperationResponse");function VEe(t,e){let r=(0,aR.toWebResourceLike)(t.request),n=(0,aR.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,o){return s==="headers"?n:s==="request"?r:s===OG?t:Reflect.get(i,s,o)},set(i,s,o,a){return s==="headers"?n=o:s==="request"&&(r=o),Reflect.set(i,s,o,a)}}):Object.assign(Object.assign({},t),{request:r,headers:n})}function WEe(t){let r=t[OG],n=(0,JEe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):Object.assign(Object.assign({},t),{headers:n,request:(0,aR.toPipelineRequest)(t.request)})}});var MG=h(oC=>{"use strict";Object.defineProperty(oC,"__esModule",{value:!0});oC.ExtendedServiceClient=void 0;var LG=jx(),$Ee=oo(),KEe=oR(),XEe=sC(),AR=class extends KEe.ServiceClient{constructor(e){var r,n;super(e),((r=e.keepAliveOptions)===null||r===void 0?void 0:r.enable)===!1&&!(0,LG.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,LG.createDisableKeepAlivePolicy)()),((n=e.redirectOptions)===null||n===void 0?void 0:n.handleRedirects)===!1&&this.pipeline.removePolicy({name:$Ee.redirectPolicyName})}async sendOperationRequest(e,r){var n;let i=(n=e?.options)===null||n===void 0?void 0:n.onResponse,s;function o(A,c,l){s=A,i&&i(A,c,l)}e.options=Object.assign(Object.assign({},e.options),{onResponse:o});let a=await super.sendOperationRequest(e,r);return s&&Object.defineProperty(a,"_response",{value:(0,XEe.toCompatResponse)(s)}),a}};oC.ExtendedServiceClient=AR});var HG=h(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.requestPolicyFactoryPolicyName=ra.HttpPipelineLogLevel=void 0;ra.createRequestPolicyFactoryPolicy=eCe;var FG=Ph(),UG=sC(),qG;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(qG||(ra.HttpPipelineLogLevel=qG={}));var ZEe={log(t,e){},shouldLog(t){return!1}};ra.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function eCe(t){let e=t.slice().reverse();return{name:ra.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(a){let A=await n((0,FG.toPipelineRequest)(a));return(0,UG.toCompatResponse)(A,{createProxy:!0})}};for(let a of e)i=a.create(i,ZEe);let s=(0,FG.toWebResourceLike)(r,{createProxy:!0}),o=await i.sendRequest(s);return(0,UG.toPipelineResponse)(o)}}}});var jG=h(cR=>{"use strict";Object.defineProperty(cR,"__esModule",{value:!0});cR.convertHttpClient=nCe;var tCe=sC(),rCe=Ph();function nCe(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,rCe.toWebResourceLike)(e,{createProxy:!0}));return(0,tCe.toPipelineResponse)(r)}}}});var zG=h(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.toHttpHeadersLike=jr.convertHttpClient=jr.disableKeepAlivePolicyName=jr.HttpPipelineLogLevel=jr.createRequestPolicyFactoryPolicy=jr.requestPolicyFactoryPolicyName=jr.ExtendedServiceClient=void 0;var iCe=MG();Object.defineProperty(jr,"ExtendedServiceClient",{enumerable:!0,get:function(){return iCe.ExtendedServiceClient}});var lR=HG();Object.defineProperty(jr,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return lR.requestPolicyFactoryPolicyName}});Object.defineProperty(jr,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return lR.createRequestPolicyFactoryPolicy}});Object.defineProperty(jr,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return lR.HttpPipelineLogLevel}});var sCe=jx();Object.defineProperty(jr,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return sCe.disableKeepAlivePolicyName}});var oCe=jG();Object.defineProperty(jr,"convertHttpClient",{enumerable:!0,get:function(){return oCe.convertHttpClient}});var aCe=Ph();Object.defineProperty(jr,"toHttpHeadersLike",{enumerable:!0,get:function(){return aCe.toHttpHeadersLike}})});var YG=h((g1e,GG)=>{(()=>{"use strict";var t={d:(p,y)=>{for(var B in y)t.o(y,B)&&!t.o(p,B)&&Object.defineProperty(p,B,{enumerable:!0,get:y[B]})},o:(p,y)=>Object.prototype.hasOwnProperty.call(p,y),r:p=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>vo,XMLParser:()=>wX,XMLValidator:()=>PX});let r=":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",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(p,y){let B=[],S=y.exec(p);for(;S;){let Q=[];Q.startIndex=y.lastIndex-S[0].length;let b=S.length;for(let _=0;_<b;_++)Q.push(S[_]);B.push(Q),S=y.exec(p)}return B}let s=function(p){return n.exec(p)!=null},o={allowBooleanAttributes:!1,unpairedTags:[]};function a(p,y){y=Object.assign({},o,y);let B=[],S=!1,Q=!1;p[0]==="\uFEFF"&&(p=p.substr(1));for(let b=0;b<p.length;b++)if(p[b]==="<"&&p[b+1]==="?"){if(b+=2,b=c(p,b),b.err)return b}else{if(p[b]!=="<"){if(A(p[b]))continue;return C("InvalidChar","char '"+p[b]+"' is not expected.",N(p,b))}{let _=b;if(b++,p[b]==="!"){b=l(p,b);continue}{let R=!1;p[b]==="/"&&(R=!0,b++);let P="";for(;b<p.length&&p[b]!==">"&&p[b]!==" "&&p[b]!==" "&&p[b]!==`
|
|
`&&p[b]!=="\r";b++)P+=p[b];if(P=P.trim(),P[P.length-1]==="/"&&(P=P.substring(0,P.length-1),b--),!s(P)){let ae;return ae=P.trim().length===0?"Invalid space after '<'.":"Tag '"+P+"' is an invalid name.",C("InvalidTag",ae,N(p,b))}let z=f(p,b);if(z===!1)return C("InvalidAttr","Attributes for '"+P+"' have open quote.",N(p,b));let Ee=z.value;if(b=z.index,Ee[Ee.length-1]==="/"){let ae=b-Ee.length;Ee=Ee.substring(0,Ee.length-1);let Fe=m(Ee,y);if(Fe!==!0)return C(Fe.err.code,Fe.err.msg,N(p,ae+Fe.err.line));S=!0}else if(R){if(!z.tagClosed)return C("InvalidTag","Closing tag '"+P+"' doesn't have proper closing.",N(p,b));if(Ee.trim().length>0)return C("InvalidTag","Closing tag '"+P+"' can't have attributes or invalid starting.",N(p,_));if(B.length===0)return C("InvalidTag","Closing tag '"+P+"' has not been opened.",N(p,_));{let ae=B.pop();if(P!==ae.tagName){let Fe=N(p,ae.tagStartPos);return C("InvalidTag","Expected closing tag '"+ae.tagName+"' (opened in line "+Fe.line+", col "+Fe.col+") instead of closing tag '"+P+"'.",N(p,_))}B.length==0&&(Q=!0)}}else{let ae=m(Ee,y);if(ae!==!0)return C(ae.err.code,ae.err.msg,N(p,b-Ee.length+ae.err.line));if(Q===!0)return C("InvalidXml","Multiple possible root nodes found.",N(p,b));y.unpairedTags.indexOf(P)!==-1||B.push({tagName:P,tagStartPos:_}),S=!0}for(b++;b<p.length;b++)if(p[b]==="<"){if(p[b+1]==="!"){b++,b=l(p,b);continue}if(p[b+1]!=="?")break;if(b=c(p,++b),b.err)return b}else if(p[b]==="&"){let ae=E(p,b);if(ae==-1)return C("InvalidChar","char '&' is not expected.",N(p,b));b=ae}else if(Q===!0&&!A(p[b]))return C("InvalidXml","Extra text at the end",N(p,b));p[b]==="<"&&b--}}}return S?B.length==1?C("InvalidTag","Unclosed tag '"+B[0].tagName+"'.",N(p,B[0].tagStartPos)):!(B.length>0)||C("InvalidXml","Invalid '"+JSON.stringify(B.map((b=>b.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):C("InvalidXml","Start tag expected.",1)}function A(p){return p===" "||p===" "||p===`
|
|
`||p==="\r"}function c(p,y){let B=y;for(;y<p.length;y++)if(!(p[y]!="?"&&p[y]!=" ")){let S=p.substr(B,y-B);if(y>5&&S==="xml")return C("InvalidXml","XML declaration allowed only at the start of the document.",N(p,y));if(p[y]=="?"&&p[y+1]==">"){y++;break}}return y}function l(p,y){if(p.length>y+5&&p[y+1]==="-"&&p[y+2]==="-"){for(y+=3;y<p.length;y++)if(p[y]==="-"&&p[y+1]==="-"&&p[y+2]===">"){y+=2;break}}else if(p.length>y+8&&p[y+1]==="D"&&p[y+2]==="O"&&p[y+3]==="C"&&p[y+4]==="T"&&p[y+5]==="Y"&&p[y+6]==="P"&&p[y+7]==="E"){let B=1;for(y+=8;y<p.length;y++)if(p[y]==="<")B++;else if(p[y]===">"&&(B--,B===0))break}else if(p.length>y+9&&p[y+1]==="["&&p[y+2]==="C"&&p[y+3]==="D"&&p[y+4]==="A"&&p[y+5]==="T"&&p[y+6]==="A"&&p[y+7]==="["){for(y+=8;y<p.length;y++)if(p[y]==="]"&&p[y+1]==="]"&&p[y+2]===">"){y+=2;break}}return y}let u='"',d="'";function f(p,y){let B="",S="",Q=!1;for(;y<p.length;y++){if(p[y]===u||p[y]===d)S===""?S=p[y]:S!==p[y]||(S="");else if(p[y]===">"&&S===""){Q=!0;break}B+=p[y]}return S===""&&{value:B,index:y,tagClosed:Q}}let g=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function m(p,y){let B=i(p,g),S={};for(let Q=0;Q<B.length;Q++){if(B[Q][1].length===0)return C("InvalidAttr","Attribute '"+B[Q][2]+"' has no space in starting.",w(B[Q]));if(B[Q][3]!==void 0&&B[Q][4]===void 0)return C("InvalidAttr","Attribute '"+B[Q][2]+"' is without value.",w(B[Q]));if(B[Q][3]===void 0&&!y.allowBooleanAttributes)return C("InvalidAttr","boolean attribute '"+B[Q][2]+"' is not allowed.",w(B[Q]));let b=B[Q][2];if(!I(b))return C("InvalidAttr","Attribute '"+b+"' is an invalid name.",w(B[Q]));if(S.hasOwnProperty(b))return C("InvalidAttr","Attribute '"+b+"' is repeated.",w(B[Q]));S[b]=1}return!0}function E(p,y){if(p[++y]===";")return-1;if(p[y]==="#")return(function(S,Q){let b=/\d/;for(S[Q]==="x"&&(Q++,b=/[\da-fA-F]/);Q<S.length;Q++){if(S[Q]===";")return Q;if(!S[Q].match(b))break}return-1})(p,++y);let B=0;for(;y<p.length;y++,B++)if(!(p[y].match(/\w/)&&B<20)){if(p[y]===";")break;return-1}return y}function C(p,y,B){return{err:{code:p,msg:y,line:B.line||B,col:B.col}}}function I(p){return s(p)}function N(p,y){let B=p.substring(0,y).split(/\r?\n/);return{line:B.length,col:B[B.length-1].length+1}}function w(p){return p.startIndex+p[1].length}let v={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(p,y){return y},attributeValueProcessor:function(p,y){return y},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(p,y,B){return p},captureMetaData:!1},T;T=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class U{constructor(y){this.tagname=y,this.child=[],this[":@"]={}}add(y,B){y==="__proto__"&&(y="#__proto__"),this.child.push({[y]:B})}addChild(y,B){y.tagname==="__proto__"&&(y.tagname="#__proto__"),y[":@"]&&Object.keys(y[":@"]).length>0?this.child.push({[y.tagname]:y.child,":@":y[":@"]}):this.child.push({[y.tagname]:y.child}),B!==void 0&&(this.child[this.child.length-1][T]={startIndex:B})}static getMetaDataSymbol(){return T}}function k(p,y){let B={};if(p[y+3]!=="O"||p[y+4]!=="C"||p[y+5]!=="T"||p[y+6]!=="Y"||p[y+7]!=="P"||p[y+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{y+=9;let S=1,Q=!1,b=!1,_="";for(;y<p.length;y++)if(p[y]!=="<"||b)if(p[y]===">"){if(b?p[y-1]==="-"&&p[y-2]==="-"&&(b=!1,S--):S--,S===0)break}else p[y]==="["?Q=!0:_+=p[y];else{if(Q&&rt(p,"!ENTITY",y)){let R,P;y+=7,[R,P,y]=be(p,y+1),P.indexOf("&")===-1&&(B[R]={regx:RegExp(`&${R};`,"g"),val:P})}else if(Q&&rt(p,"!ELEMENT",y)){y+=8;let{index:R}=_e(p,y+1);y=R}else if(Q&&rt(p,"!ATTLIST",y))y+=8;else if(Q&&rt(p,"!NOTATION",y)){y+=9;let{index:R}=Re(p,y+1);y=R}else{if(!rt(p,"!--",y))throw new Error("Invalid DOCTYPE");b=!0}S++,_=""}if(S!==0)throw new Error("Unclosed DOCTYPE")}return{entities:B,i:y}}let J=(p,y)=>{for(;y<p.length&&/\s/.test(p[y]);)y++;return y};function be(p,y){y=J(p,y);let B="";for(;y<p.length&&!/\s/.test(p[y])&&p[y]!=='"'&&p[y]!=="'";)B+=p[y],y++;if(Lr(B),y=J(p,y),p.substring(y,y+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(p[y]==="%")throw new Error("Parameter entities are not supported");let S="";return[y,S]=H(p,y,"entity"),[B,S,--y]}function Re(p,y){y=J(p,y);let B="";for(;y<p.length&&!/\s/.test(p[y]);)B+=p[y],y++;Lr(B),y=J(p,y);let S=p.substring(y,y+6).toUpperCase();if(S!=="SYSTEM"&&S!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${S}"`);y+=S.length,y=J(p,y);let Q=null,b=null;if(S==="PUBLIC")[y,Q]=H(p,y,"publicIdentifier"),p[y=J(p,y)]!=='"'&&p[y]!=="'"||([y,b]=H(p,y,"systemIdentifier"));else if(S==="SYSTEM"&&([y,b]=H(p,y,"systemIdentifier"),!b))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:B,publicIdentifier:Q,systemIdentifier:b,index:--y}}function H(p,y,B){let S="",Q=p[y];if(Q!=='"'&&Q!=="'")throw new Error(`Expected quoted string, found "${Q}"`);for(y++;y<p.length&&p[y]!==Q;)S+=p[y],y++;if(p[y]!==Q)throw new Error(`Unterminated ${B} value`);return[++y,S]}function _e(p,y){y=J(p,y);let B="";for(;y<p.length&&!/\s/.test(p[y]);)B+=p[y],y++;if(!Lr(B))throw new Error(`Invalid element name: "${B}"`);let S="";if(p[y=J(p,y)]==="E"&&rt(p,"MPTY",y))y+=4;else if(p[y]==="A"&&rt(p,"NY",y))y+=2;else{if(p[y]!=="(")throw new Error(`Invalid Element Expression, found "${p[y]}"`);for(y++;y<p.length&&p[y]!==")";)S+=p[y],y++;if(p[y]!==")")throw new Error("Unterminated content model")}return{elementName:B,contentModel:S.trim(),index:y}}function rt(p,y,B){for(let S=0;S<y.length;S++)if(y[S]!==p[B+S+1])return!1;return!0}function Lr(p){if(s(p))return p;throw new Error(`Invalid entity name ${p}`)}let hr=/^[-+]?0x[a-fA-F0-9]+$/,So=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,xo={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0},Li=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Mi(p){return typeof p=="function"?p:Array.isArray(p)?y=>{for(let B of p)if(typeof B=="string"&&y===B||B instanceof RegExp&&B.test(y))return!0}:()=>!1}class Ro{constructor(y){this.options=y,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(B,S)=>String.fromCodePoint(Number.parseInt(S,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(B,S)=>String.fromCodePoint(Number.parseInt(S,16))}},this.addExternalEntities=Us,this.parseXml=mX,this.parseTextData=Zt,this.resolveNameSpace=ti,this.buildAttributesMap=TQ,this.isItStopNode=CX,this.replaceEntitiesValue=yX,this.readStopNodeData=IX,this.saveTextToParentTag=EX,this.addChild=pX,this.ignoreAttributesFn=Mi(this.options.ignoreAttributes)}}function Us(p){let y=Object.keys(p);for(let B=0;B<y.length;B++){let S=y[B];this.lastEntities[S]={regex:new RegExp("&"+S+";","g"),val:p[S]}}}function Zt(p,y,B,S,Q,b,_){if(p!==void 0&&(this.options.trimValues&&!S&&(p=p.trim()),p.length>0)){_||(p=this.replaceEntitiesValue(p));let R=this.options.tagValueProcessor(y,p,B,Q,b);return R==null?p:typeof R!=typeof p||R!==p?R:this.options.trimValues||p.trim()===p?BP(p,this.options.parseTagValue,this.options.numberParseOptions):p}}function ti(p){if(this.options.removeNSPrefix){let y=p.split(":"),B=p.charAt(0)==="/"?"/":"";if(y[0]==="xmlns")return"";y.length===2&&(p=B+y[1])}return p}let Fi=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function TQ(p,y,B){if(this.options.ignoreAttributes!==!0&&typeof p=="string"){let S=i(p,Fi),Q=S.length,b={};for(let _=0;_<Q;_++){let R=this.resolveNameSpace(S[_][1]);if(this.ignoreAttributesFn(R,y))continue;let P=S[_][4],z=this.options.attributeNamePrefix+R;if(R.length)if(this.options.transformAttributeName&&(z=this.options.transformAttributeName(z)),z==="__proto__"&&(z="#__proto__"),P!==void 0){this.options.trimValues&&(P=P.trim()),P=this.replaceEntitiesValue(P);let Ee=this.options.attributeValueProcessor(R,P,y);b[z]=Ee==null?P:typeof Ee!=typeof P||Ee!==P?Ee:BP(P,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(b[z]=!0)}if(!Object.keys(b).length)return;if(this.options.attributesGroupName){let _={};return _[this.options.attributesGroupName]=b,_}return b}}let mX=function(p){p=p.replace(/\r\n?/g,`
|
|
`);let y=new U("!xml"),B=y,S="",Q="";for(let b=0;b<p.length;b++)if(p[b]==="<")if(p[b+1]==="/"){let _=Fa(p,">",b,"Closing Tag is not closed."),R=p.substring(b+2,_).trim();if(this.options.removeNSPrefix){let Ee=R.indexOf(":");Ee!==-1&&(R=R.substr(Ee+1))}this.options.transformTagName&&(R=this.options.transformTagName(R)),B&&(S=this.saveTextToParentTag(S,B,Q));let P=Q.substring(Q.lastIndexOf(".")+1);if(R&&this.options.unpairedTags.indexOf(R)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${R}>`);let z=0;P&&this.options.unpairedTags.indexOf(P)!==-1?(z=Q.lastIndexOf(".",Q.lastIndexOf(".")-1),this.tagsNodeStack.pop()):z=Q.lastIndexOf("."),Q=Q.substring(0,z),B=this.tagsNodeStack.pop(),S="",b=_}else if(p[b+1]==="?"){let _=OQ(p,b,!1,"?>");if(!_)throw new Error("Pi Tag is not closed.");if(S=this.saveTextToParentTag(S,B,Q),!(this.options.ignoreDeclaration&&_.tagName==="?xml"||this.options.ignorePiTags)){let R=new U(_.tagName);R.add(this.options.textNodeName,""),_.tagName!==_.tagExp&&_.attrExpPresent&&(R[":@"]=this.buildAttributesMap(_.tagExp,Q,_.tagName)),this.addChild(B,R,Q,b)}b=_.closeIndex+1}else if(p.substr(b+1,3)==="!--"){let _=Fa(p,"-->",b+4,"Comment is not closed.");if(this.options.commentPropName){let R=p.substring(b+4,_-2);S=this.saveTextToParentTag(S,B,Q),B.add(this.options.commentPropName,[{[this.options.textNodeName]:R}])}b=_}else if(p.substr(b+1,2)==="!D"){let _=k(p,b);this.docTypeEntities=_.entities,b=_.i}else if(p.substr(b+1,2)==="!["){let _=Fa(p,"]]>",b,"CDATA is not closed.")-2,R=p.substring(b+9,_);S=this.saveTextToParentTag(S,B,Q);let P=this.parseTextData(R,B.tagname,Q,!0,!1,!0,!0);P==null&&(P=""),this.options.cdataPropName?B.add(this.options.cdataPropName,[{[this.options.textNodeName]:R}]):B.add(this.options.textNodeName,P),b=_+2}else{let _=OQ(p,b,this.options.removeNSPrefix),R=_.tagName,P=_.rawTagName,z=_.tagExp,Ee=_.attrExpPresent,ae=_.closeIndex;this.options.transformTagName&&(R=this.options.transformTagName(R)),B&&S&&B.tagname!=="!xml"&&(S=this.saveTextToParentTag(S,B,Q,!1));let Fe=B;Fe&&this.options.unpairedTags.indexOf(Fe.tagname)!==-1&&(B=this.tagsNodeStack.pop(),Q=Q.substring(0,Q.lastIndexOf("."))),R!==y.tagname&&(Q+=Q?"."+R:R);let nt=b;if(this.isItStopNode(this.options.stopNodes,Q,R)){let ze="";if(z.length>0&&z.lastIndexOf("/")===z.length-1)R[R.length-1]==="/"?(R=R.substr(0,R.length-1),Q=Q.substr(0,Q.length-1),z=R):z=z.substr(0,z.length-1),b=_.closeIndex;else if(this.options.unpairedTags.indexOf(R)!==-1)b=_.closeIndex;else{let ss=this.readStopNodeData(p,P,ae+1);if(!ss)throw new Error(`Unexpected end of ${P}`);b=ss.i,ze=ss.tagContent}let er=new U(R);R!==z&&Ee&&(er[":@"]=this.buildAttributesMap(z,Q,R)),ze&&(ze=this.parseTextData(ze,R,Q,!0,Ee,!0,!0)),Q=Q.substr(0,Q.lastIndexOf(".")),er.add(this.options.textNodeName,ze),this.addChild(B,er,Q,nt)}else{if(z.length>0&&z.lastIndexOf("/")===z.length-1){R[R.length-1]==="/"?(R=R.substr(0,R.length-1),Q=Q.substr(0,Q.length-1),z=R):z=z.substr(0,z.length-1),this.options.transformTagName&&(R=this.options.transformTagName(R));let ze=new U(R);R!==z&&Ee&&(ze[":@"]=this.buildAttributesMap(z,Q,R)),this.addChild(B,ze,Q,nt),Q=Q.substr(0,Q.lastIndexOf("."))}else{let ze=new U(R);this.tagsNodeStack.push(B),R!==z&&Ee&&(ze[":@"]=this.buildAttributesMap(z,Q,R)),this.addChild(B,ze,Q,nt),B=ze}S="",b=ae}}else S+=p[b];return y.child};function pX(p,y,B,S){this.options.captureMetaData||(S=void 0);let Q=this.options.updateTag(y.tagname,B,y[":@"]);Q===!1||(typeof Q=="string"&&(y.tagname=Q),p.addChild(y,S))}let yX=function(p){if(this.options.processEntities){for(let y in this.docTypeEntities){let B=this.docTypeEntities[y];p=p.replace(B.regx,B.val)}for(let y in this.lastEntities){let B=this.lastEntities[y];p=p.replace(B.regex,B.val)}if(this.options.htmlEntities)for(let y in this.htmlEntities){let B=this.htmlEntities[y];p=p.replace(B.regex,B.val)}p=p.replace(this.ampEntity.regex,this.ampEntity.val)}return p};function EX(p,y,B,S){return p&&(S===void 0&&(S=y.child.length===0),(p=this.parseTextData(p,y.tagname,B,!1,!!y[":@"]&&Object.keys(y[":@"]).length!==0,S))!==void 0&&p!==""&&y.add(this.options.textNodeName,p),p=""),p}function CX(p,y,B){let S="*."+B;for(let Q in p){let b=p[Q];if(S===b||y===b)return!0}return!1}function Fa(p,y,B,S){let Q=p.indexOf(y,B);if(Q===-1)throw new Error(S);return Q+y.length-1}function OQ(p,y,B,S=">"){let Q=(function(ae,Fe,nt=">"){let ze,er="";for(let ss=Fe;ss<ae.length;ss++){let _o=ae[ss];if(ze)_o===ze&&(ze="");else if(_o==='"'||_o==="'")ze=_o;else if(_o===nt[0]){if(!nt[1])return{data:er,index:ss};if(ae[ss+1]===nt[1])return{data:er,index:ss}}else _o===" "&&(_o=" ");er+=_o}})(p,y+1,S);if(!Q)return;let b=Q.data,_=Q.index,R=b.search(/\s/),P=b,z=!0;R!==-1&&(P=b.substring(0,R),b=b.substring(R+1).trimStart());let Ee=P;if(B){let ae=P.indexOf(":");ae!==-1&&(P=P.substr(ae+1),z=P!==Q.data.substr(ae+1))}return{tagName:P,tagExp:b,closeIndex:_,attrExpPresent:z,rawTagName:Ee}}function IX(p,y,B){let S=B,Q=1;for(;B<p.length;B++)if(p[B]==="<")if(p[B+1]==="/"){let b=Fa(p,">",B,`${y} is not closed`);if(p.substring(B+2,b).trim()===y&&(Q--,Q===0))return{tagContent:p.substring(S,B),i:b};B=b}else if(p[B+1]==="?")B=Fa(p,"?>",B+1,"StopNode is not closed.");else if(p.substr(B+1,3)==="!--")B=Fa(p,"-->",B+3,"StopNode is not closed.");else if(p.substr(B+1,2)==="![")B=Fa(p,"]]>",B,"StopNode is not closed.")-2;else{let b=OQ(p,B,">");b&&((b&&b.tagName)===y&&b.tagExp[b.tagExp.length-1]!=="/"&&Q++,B=b.closeIndex)}}function BP(p,y,B){if(y&&typeof p=="string"){let S=p.trim();return S==="true"||S!=="false"&&(function(Q,b={}){if(b=Object.assign({},xo,b),!Q||typeof Q!="string")return Q;let _=Q.trim();if(b.skipLike!==void 0&&b.skipLike.test(_))return Q;if(Q==="0")return 0;if(b.hex&&hr.test(_))return(function(P){if(parseInt)return parseInt(P,16);if(Number.parseInt)return Number.parseInt(P,16);if(window&&window.parseInt)return window.parseInt(P,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(_);if(_.search(/.+[eE].+/)!==-1)return(function(P,z,Ee){if(!Ee.eNotation)return P;let ae=z.match(Li);if(ae){let Fe=ae[1]||"",nt=ae[3].indexOf("e")===-1?"E":"e",ze=ae[2],er=Fe?P[ze.length+1]===nt:P[ze.length]===nt;return ze.length>1&&er?P:ze.length!==1||!ae[3].startsWith(`.${nt}`)&&ae[3][0]!==nt?Ee.leadingZeros&&!er?(z=(ae[1]||"")+ae[3],Number(z)):P:Number(z)}return P})(Q,_,b);{let P=So.exec(_);if(P){let z=P[1]||"",Ee=P[2],ae=((R=P[3])&&R.indexOf(".")!==-1&&((R=R.replace(/0+$/,""))==="."?R="0":R[0]==="."?R="0"+R:R[R.length-1]==="."&&(R=R.substring(0,R.length-1))),R),Fe=z?Q[Ee.length+1]===".":Q[Ee.length]===".";if(!b.leadingZeros&&(Ee.length>1||Ee.length===1&&!Fe))return Q;{let nt=Number(_),ze=String(nt);if(nt===0||nt===-0)return nt;if(ze.search(/[eE]/)!==-1)return b.eNotation?nt:Q;if(_.indexOf(".")!==-1)return ze==="0"||ze===ae||ze===`${z}${ae}`?nt:Q;let er=Ee?ae:_;return Ee?er===ze||z+er===ze?nt:Q:er===ze||er===z+ze?nt:Q}}return Q}var R})(p,B)}return p!==void 0?p:""}let LQ=U.getMetaDataSymbol();function BX(p,y){return QP(p,y)}function QP(p,y,B){let S,Q={};for(let b=0;b<p.length;b++){let _=p[b],R=QX(_),P="";if(P=B===void 0?R:B+"."+R,R===y.textNodeName)S===void 0?S=_[R]:S+=""+_[R];else{if(R===void 0)continue;if(_[R]){let z=QP(_[R],y,P),Ee=NX(z,y);_[LQ]!==void 0&&(z[LQ]=_[LQ]),_[":@"]?bX(z,_[":@"],P,y):Object.keys(z).length!==1||z[y.textNodeName]===void 0||y.alwaysCreateTextNode?Object.keys(z).length===0&&(y.alwaysCreateTextNode?z[y.textNodeName]="":z=""):z=z[y.textNodeName],Q[R]!==void 0&&Q.hasOwnProperty(R)?(Array.isArray(Q[R])||(Q[R]=[Q[R]]),Q[R].push(z)):y.isArray(R,P,Ee)?Q[R]=[z]:Q[R]=z}}}return typeof S=="string"?S.length>0&&(Q[y.textNodeName]=S):S!==void 0&&(Q[y.textNodeName]=S),Q}function QX(p){let y=Object.keys(p);for(let B=0;B<y.length;B++){let S=y[B];if(S!==":@")return S}}function bX(p,y,B,S){if(y){let Q=Object.keys(y),b=Q.length;for(let _=0;_<b;_++){let R=Q[_];S.isArray(R,B+"."+R,!0,!0)?p[R]=[y[R]]:p[R]=y[R]}}}function NX(p,y){let{textNodeName:B}=y,S=Object.keys(p).length;return S===0||!(S!==1||!p[B]&&typeof p[B]!="boolean"&&p[B]!==0)}class wX{constructor(y){this.externalEntities={},this.options=(function(B){return Object.assign({},v,B)})(y)}parse(y,B){if(typeof y!="string"){if(!y.toString)throw new Error("XML data is accepted in String or Bytes[] form.");y=y.toString()}if(B){B===!0&&(B={});let b=a(y,B);if(b!==!0)throw Error(`${b.err.msg}:${b.err.line}:${b.err.col}`)}let S=new Ro(this.options);S.addExternalEntities(this.externalEntities);let Q=S.parseXml(y);return this.options.preserveOrder||Q===void 0?Q:BX(Q,this.options)}addEntity(y,B){if(B.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(y.indexOf("&")!==-1||y.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(B==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[y]=B}static getMetaDataSymbol(){return U.getMetaDataSymbol()}}function SX(p,y){let B="";return y.format&&y.indentBy.length>0&&(B=`
|
|
`),bP(p,y,"",B)}function bP(p,y,B,S){let Q="",b=!1;for(let _=0;_<p.length;_++){let R=p[_],P=xX(R);if(P===void 0)continue;let z="";if(z=B.length===0?P:`${B}.${P}`,P===y.textNodeName){let nt=R[P];RX(z,y)||(nt=y.tagValueProcessor(P,nt),nt=wP(nt,y)),b&&(Q+=S),Q+=nt,b=!1;continue}if(P===y.cdataPropName){b&&(Q+=S),Q+=`<![CDATA[${R[P][0][y.textNodeName]}]]>`,b=!1;continue}if(P===y.commentPropName){Q+=S+`<!--${R[P][0][y.textNodeName]}-->`,b=!0;continue}if(P[0]==="?"){let nt=NP(R[":@"],y),ze=P==="?xml"?"":S,er=R[P][0][y.textNodeName];er=er.length!==0?" "+er:"",Q+=ze+`<${P}${er}${nt}?>`,b=!0;continue}let Ee=S;Ee!==""&&(Ee+=y.indentBy);let ae=S+`<${P}${NP(R[":@"],y)}`,Fe=bP(R[P],y,z,Ee);y.unpairedTags.indexOf(P)!==-1?y.suppressUnpairedNode?Q+=ae+">":Q+=ae+"/>":Fe&&Fe.length!==0||!y.suppressEmptyNode?Fe&&Fe.endsWith(">")?Q+=ae+`>${Fe}${S}</${P}>`:(Q+=ae+">",Fe&&S!==""&&(Fe.includes("/>")||Fe.includes("</"))?Q+=S+y.indentBy+Fe+S:Q+=Fe,Q+=`</${P}>`):Q+=ae+"/>",b=!0}return Q}function xX(p){let y=Object.keys(p);for(let B=0;B<y.length;B++){let S=y[B];if(p.hasOwnProperty(S)&&S!==":@")return S}}function NP(p,y){let B="";if(p&&!y.ignoreAttributes)for(let S in p){if(!p.hasOwnProperty(S))continue;let Q=y.attributeValueProcessor(S,p[S]);Q=wP(Q,y),Q===!0&&y.suppressBooleanAttributes?B+=` ${S.substr(y.attributeNamePrefix.length)}`:B+=` ${S.substr(y.attributeNamePrefix.length)}="${Q}"`}return B}function RX(p,y){let B=(p=p.substr(0,p.length-y.textNodeName.length-1)).substr(p.lastIndexOf(".")+1);for(let S in y.stopNodes)if(y.stopNodes[S]===p||y.stopNodes[S]==="*."+B)return!0;return!1}function wP(p,y){if(p&&p.length>0&&y.processEntities)for(let B=0;B<y.entities.length;B++){let S=y.entities[B];p=p.replace(S.regex,S.val)}return p}let vX={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(p,y){return y},attributeValueProcessor:function(p,y){return y},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};function vo(p){this.options=Object.assign({},vX,p),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Mi(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=kX),this.processTextOrObjNode=_X,this.options.format?(this.indentate=DX,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function _X(p,y,B,S){let Q=this.j2x(p,B+1,S.concat(y));return p[this.options.textNodeName]!==void 0&&Object.keys(p).length===1?this.buildTextValNode(p[this.options.textNodeName],y,Q.attrStr,B):this.buildObjectNode(Q.val,y,Q.attrStr,B)}function DX(p){return this.options.indentBy.repeat(p)}function kX(p){return!(!p.startsWith(this.options.attributeNamePrefix)||p===this.options.textNodeName)&&p.substr(this.attrPrefixLen)}vo.prototype.build=function(p){return this.options.preserveOrder?SX(p,this.options):(Array.isArray(p)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(p={[this.options.arrayNodeName]:p}),this.j2x(p,0,[]).val)},vo.prototype.j2x=function(p,y,B){let S="",Q="",b=B.join(".");for(let _ in p)if(Object.prototype.hasOwnProperty.call(p,_))if(p[_]===void 0)this.isAttribute(_)&&(Q+="");else if(p[_]===null)this.isAttribute(_)||_===this.options.cdataPropName?Q+="":_[0]==="?"?Q+=this.indentate(y)+"<"+_+"?"+this.tagEndChar:Q+=this.indentate(y)+"<"+_+"/"+this.tagEndChar;else if(p[_]instanceof Date)Q+=this.buildTextValNode(p[_],_,"",y);else if(typeof p[_]!="object"){let R=this.isAttribute(_);if(R&&!this.ignoreAttributesFn(R,b))S+=this.buildAttrPairStr(R,""+p[_]);else if(!R)if(_===this.options.textNodeName){let P=this.options.tagValueProcessor(_,""+p[_]);Q+=this.replaceEntitiesValue(P)}else Q+=this.buildTextValNode(p[_],_,"",y)}else if(Array.isArray(p[_])){let R=p[_].length,P="",z="";for(let Ee=0;Ee<R;Ee++){let ae=p[_][Ee];if(ae!==void 0)if(ae===null)_[0]==="?"?Q+=this.indentate(y)+"<"+_+"?"+this.tagEndChar:Q+=this.indentate(y)+"<"+_+"/"+this.tagEndChar;else if(typeof ae=="object")if(this.options.oneListGroup){let Fe=this.j2x(ae,y+1,B.concat(_));P+=Fe.val,this.options.attributesGroupName&&ae.hasOwnProperty(this.options.attributesGroupName)&&(z+=Fe.attrStr)}else P+=this.processTextOrObjNode(ae,_,y,B);else if(this.options.oneListGroup){let Fe=this.options.tagValueProcessor(_,ae);Fe=this.replaceEntitiesValue(Fe),P+=Fe}else P+=this.buildTextValNode(ae,_,"",y)}this.options.oneListGroup&&(P=this.buildObjectNode(P,_,z,y)),Q+=P}else if(this.options.attributesGroupName&&_===this.options.attributesGroupName){let R=Object.keys(p[_]),P=R.length;for(let z=0;z<P;z++)S+=this.buildAttrPairStr(R[z],""+p[_][R[z]])}else Q+=this.processTextOrObjNode(p[_],_,y,B);return{attrStr:S,val:Q}},vo.prototype.buildAttrPairStr=function(p,y){return y=this.options.attributeValueProcessor(p,""+y),y=this.replaceEntitiesValue(y),this.options.suppressBooleanAttributes&&y==="true"?" "+p:" "+p+'="'+y+'"'},vo.prototype.buildObjectNode=function(p,y,B,S){if(p==="")return y[0]==="?"?this.indentate(S)+"<"+y+B+"?"+this.tagEndChar:this.indentate(S)+"<"+y+B+this.closeTag(y)+this.tagEndChar;{let Q="</"+y+this.tagEndChar,b="";return y[0]==="?"&&(b="?",Q=""),!B&&B!==""||p.indexOf("<")!==-1?this.options.commentPropName!==!1&&y===this.options.commentPropName&&b.length===0?this.indentate(S)+`<!--${p}-->`+this.newLine:this.indentate(S)+"<"+y+B+b+this.tagEndChar+p+this.indentate(S)+Q:this.indentate(S)+"<"+y+B+b+">"+p+Q}},vo.prototype.closeTag=function(p){let y="";return this.options.unpairedTags.indexOf(p)!==-1?this.options.suppressUnpairedNode||(y="/"):y=this.options.suppressEmptyNode?"/":`></${p}`,y},vo.prototype.buildTextValNode=function(p,y,B,S){if(this.options.cdataPropName!==!1&&y===this.options.cdataPropName)return this.indentate(S)+`<![CDATA[${p}]]>`+this.newLine;if(this.options.commentPropName!==!1&&y===this.options.commentPropName)return this.indentate(S)+`<!--${p}-->`+this.newLine;if(y[0]==="?")return this.indentate(S)+"<"+y+B+"?"+this.tagEndChar;{let Q=this.options.tagValueProcessor(y,p);return Q=this.replaceEntitiesValue(Q),Q===""?this.indentate(S)+"<"+y+B+this.closeTag(y)+this.tagEndChar:this.indentate(S)+"<"+y+B+">"+Q+"</"+y+this.tagEndChar}},vo.prototype.replaceEntitiesValue=function(p){if(p&&p.length>0&&this.options.processEntities)for(let y=0;y<this.options.entities.length;y++){let B=this.options.entities[y];p=p.replace(B.regex,B.val)}return p};let PX={validate:a};GG.exports=e})()});var uR=h(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.XML_CHARKEY=au.XML_ATTRKEY=void 0;au.XML_ATTRKEY="$";au.XML_CHARKEY="_"});var WG=h(aC=>{"use strict";Object.defineProperty(aC,"__esModule",{value:!0});aC.stringifyXML=lCe;aC.parseXML=uCe;var dR=YG(),JG=uR();function VG(t){var e;return{attributesGroupName:JG.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:JG.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}function ACe(t={}){var e,r;return Object.assign(Object.assign({},VG(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 cCe(t={}){return Object.assign(Object.assign({},VG(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}function lCe(t,e={}){let r=ACe(e),n=new dR.XMLBuilder(r),i={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(i)}`.replace(/\n/g,"")}async function uCe(t,e={}){if(!t)throw new Error("Document is empty");let r=dR.XMLValidator.validate(t);if(r!==!0)throw r;let i=new dR.XMLParser(cCe(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let o=i[s];return typeof o=="object"?Object.assign({},o):o}return i}});var XG=h(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.XML_CHARKEY=bs.XML_ATTRKEY=bs.parseXML=bs.stringifyXML=void 0;var $G=WG();Object.defineProperty(bs,"stringifyXML",{enumerable:!0,get:function(){return $G.stringifyXML}});Object.defineProperty(bs,"parseXML",{enumerable:!0,get:function(){return $G.parseXML}});var KG=uR();Object.defineProperty(bs,"XML_ATTRKEY",{enumerable:!0,get:function(){return KG.XML_ATTRKEY}});Object.defineProperty(bs,"XML_CHARKEY",{enumerable:!0,get:function(){return KG.XML_CHARKEY}})});var cC=h(AC=>{"use strict";Object.defineProperty(AC,"__esModule",{value:!0});AC.logger=void 0;var dCe=Hl();AC.logger=(0,dCe.createClientLogger)("core-lro")});var lC=h(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.terminalStates=Au.POLL_INTERVAL_IN_MS=void 0;Au.POLL_INTERVAL_IN_MS=2e3;Au.terminalStates=["succeeded","canceled","failed"]});var uC=h(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.pollOperation=na.initOperation=na.deserializeState=void 0;var fR=cC(),eY=lC();function fCe(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}na.deserializeState=fCe;function ZG(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}function hCe(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=hCe(e,n.message);return{code:r,message:e}}function tY(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:o,response:a,setErrorAsResult:A}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let c=o?.(a),l="";if(c){let{code:d,message:f}=gCe(c);l=`. ${d}. ${f}`}let u=`The long-running operation has failed${l}`;r.setError(e,new Error(u)),r.setFailed(e),fR.logger.warning(u);break}case"canceled":{r.setCanceled(e);break}}(i?.(a,e)||i===void 0&&["succeeded","canceled"].concat(A?[]:["failed"]).includes(n))&&r.setResult(e,mCe({response:a,state:e,processResult:s}))}function mCe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}async function pCe(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:o}=t,{operationLocation:a,resourceLocation:A,metadata:c,response:l}=await e();a&&s?.(a,!1);let u={metadata:c,operationLocation:a,resourceLocation:A};fR.logger.verbose("LRO: Operation description:",u);let d=r.initState(u),f=i({response:l,state:d,operationLocation:a});return tY({state:d,status:f,stateProxy:r,response:l,setErrorAsResult:o,processResult:n}),d}na.initOperation=pCe;async function yCe(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:o,isOperationError:a,options:A}=t,c=await e(i,A).catch(ZG({state:r,stateProxy:n,isOperationError:a})),l=s(c,r);if(fR.logger.verbose(`LRO: Status:
|
|
Polling from: ${r.config.operationLocation}
|
|
Operation status: ${l}
|
|
Polling status: ${eY.terminalStates.includes(l)?"Stopped":"Running"}`),l==="succeeded"){let u=o(c,r);if(u!==void 0)return{response:await e(u).catch(ZG({state:r,stateProxy:n,isOperationError:a})),status:l}}return{response:c,status:l}}async function ECe(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:o,getOperationLocation:a,isOperationError:A,withOperationLocation:c,getPollingInterval:l,processResult:u,getError:d,updateState:f,setDelay:g,isDone:m,setErrorAsResult:E}=t,{operationLocation:C}=r.config;if(C!==void 0){let{response:I,status:N}=await yCe({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:C,getResourceLocation:o,isOperationError:A,options:i});if(tY({status:N,response:I,state:r,stateProxy:n,isDone:m,processResult:u,getError:d,setErrorAsResult:E}),!eY.terminalStates.includes(N)){let w=l?.(I);w&&g(w);let v=a?.(I,r);if(v!==void 0){let T=C!==v;r.config.operationLocation=v,c?.(v,T)}else c?.(C,!1)}f?.(r,I)}}na.pollOperation=ECe});var pR=h(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.pollHttpOperation=Ft.isOperationError=Ft.getResourceLocation=Ft.getOperationStatus=Ft.getOperationLocation=Ft.initHttpOperation=Ft.getStatusFromInitialResponse=Ft.getErrorFromResponse=Ft.parseRetryAfter=Ft.inferLroMode=void 0;var rY=uC(),hR=cC();function nY(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function iY(t){return t.headers.location}function sY(t){return t.headers["operation-location"]}function oY(t){return t.headers["azure-asyncoperation"]}function CCe(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=o())!==null&&e!==void 0?e:i;default:return o()}function o(){switch(s){case"azure-async-operation":return;case"original-uri":return i;default:return r}}}function aY(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=sY(e),o=oY(e),a=nY({operationLocation:s,azureAsyncOperation:o}),A=iY(e),c=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:CCe({requestMethod:c,location:A,requestPath:n,resourceLocationConfig:i})}:A!==void 0?{mode:"ResourceLocation",operationLocation:A}:c==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}Ft.inferLroMode=aY;function AY(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 gR(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 hR.logger.verbose(`LRO: unrecognized operation status: ${e}`),e}}function ICe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return AY({status:r,statusCode:t.statusCode})}function BCe(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return AY({status:s,statusCode:t.statusCode})}function gR(t){return t===202?"running":t<300?"succeeded":"failed"}function cY({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?QCe(new Date(e)):r*1e3}}Ft.parseRetryAfter=cY;function lY(t){let e=fY(t,"error");if(!e){hR.logger.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){hR.logger.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}Ft.getErrorFromResponse=lY;function QCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}function uY(t){let{response:e,state:r,operationLocation:n}=t;function i(){var o;switch((o=r.config.metadata)===null||o===void 0?void 0:o.mode){case void 0:return gR(e.rawResponse.statusCode);case"Body":return mR(e,r);default:return"running"}}let s=i();return s==="running"&&n===void 0?"succeeded":s}Ft.getStatusFromInitialResponse=uY;async function bCe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:i,setErrorAsResult:s}=t;return(0,rY.initOperation)({init:async()=>{let o=await i.sendInitialRequest(),a=aY({rawResponse:o.rawResponse,requestPath:i.requestPath,requestMethod:i.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:uY,setErrorAsResult:s})}Ft.initHttpOperation=bCe;function dY({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return nY({operationLocation:sY(t),azureAsyncOperation:oY(t)});case"ResourceLocation":return iY(t);default:return}}Ft.getOperationLocation=dY;function mR({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return ICe(t);case"ResourceLocation":return gR(t.statusCode);case"Body":return BCe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}Ft.getOperationStatus=mR;function fY({flatResponse:t,rawResponse:e},r){var n,i;return(n=t?.[r])!==null&&n!==void 0?n:(i=e.body)===null||i===void 0?void 0:i[r]}function hY(t,e){let r=fY(t,"resourceLocation");return r&&typeof r=="string"&&(e.config.resourceLocation=r),e.config.resourceLocation}Ft.getResourceLocation=hY;function gY(t){return t.name==="RestError"}Ft.isOperationError=gY;async function NCe(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:o,state:a,setErrorAsResult:A}=t;return(0,rY.pollOperation)({state:a,stateProxy:r,setDelay:o,processResult:i?({flatResponse:c},l)=>i(c,l):({flatResponse:c})=>c,getError:lY,updateState:s,getPollingInterval:cY,getOperationLocation:dY,getOperationStatus:mR,isOperationError:gY,getResourceLocation:hY,options:n,poll:async(c,l)=>e.sendPollRequest(c,l),setErrorAsResult:A})}Ft.pollHttpOperation=NCe});var mY=h(dC=>{"use strict";Object.defineProperty(dC,"__esModule",{value:!0});dC.buildCreatePoller=void 0;var yR=uC(),wCe=lC(),SCe=Qs(),xCe=()=>({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 RCe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:o,getError:a,resolveOnUnsuccessful:A}=t;return async({init:c,poll:l},u)=>{let{processResult:d,updateState:f,withOperationLocation:g,intervalInMs:m=wCe.POLL_INTERVAL_IN_MS,restoreFrom:E}=u||{},C=xCe(),I=g?(()=>{let Re=!1;return(H,_e)=>{_e?g(H):Re||g(H),Re=!0}})():void 0,N=E?(0,yR.deserializeState)(E):await(0,yR.initOperation)({init:c,stateProxy:C,processResult:d,getOperationStatus:r,withOperationLocation:I,setErrorAsResult:!A}),w,v=new AbortController,T=new Map,U=async()=>T.forEach(Re=>Re(N)),k="Operation was canceled",J=m,be={getOperationState:()=>N,getResult:()=>N.result,isDone:()=>["succeeded","failed","canceled"].includes(N.status),isStopped:()=>w===void 0,stopPolling:()=>{v.abort()},toString:()=>JSON.stringify({state:N}),onProgress:Re=>{let H=Symbol();return T.set(H,Re),()=>T.delete(H)},pollUntilDone:Re=>w??(w=(async()=>{let{abortSignal:H}=Re||{};function _e(){v.abort()}let rt=v.signal;H?.aborted?v.abort():rt.aborted||H?.addEventListener("abort",_e,{once:!0});try{if(!be.isDone())for(await be.poll({abortSignal:rt});!be.isDone();)await(0,SCe.delay)(J,{abortSignal:rt}),await be.poll({abortSignal:rt})}finally{H?.removeEventListener("abort",_e)}if(A)return be.getResult();switch(N.status){case"succeeded":return be.getResult();case"canceled":throw new Error(k);case"failed":throw N.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{w=void 0})),async poll(Re){if(A){if(be.isDone())return}else switch(N.status){case"succeeded":return;case"canceled":throw new Error(k);case"failed":throw N.error}if(await(0,yR.pollOperation)({poll:l,state:N,stateProxy:C,getOperationLocation:e,isOperationError:i,withOperationLocation:I,getPollingInterval:o,getOperationStatus:n,getResourceLocation:s,processResult:d,getError:a,updateState:f,options:Re,setDelay:H=>{J=H},setErrorAsResult:!A}),await U(),!A)switch(N.status){case"canceled":throw new Error(k);case"failed":throw N.error}}};return be}}dC.buildCreatePoller=RCe});var pY=h(fC=>{"use strict";Object.defineProperty(fC,"__esModule",{value:!0});fC.createHttpPoller=void 0;var ia=pR(),vCe=mY();async function _Ce(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:o,withOperationLocation:a,resolveOnUnsuccessful:A=!1}=e||{};return(0,vCe.buildCreatePoller)({getStatusFromInitialResponse:ia.getStatusFromInitialResponse,getStatusFromPollResponse:ia.getOperationStatus,isOperationError:ia.isOperationError,getOperationLocation:ia.getOperationLocation,getResourceLocation:ia.getResourceLocation,getPollingInterval:ia.parseRetryAfter,getError:ia.getErrorFromResponse,resolveOnUnsuccessful:A})({init:async()=>{let c=await t.sendInitialRequest(),l=(0,ia.inferLroMode)({rawResponse:c.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:c,operationLocation:l?.operationLocation,resourceLocation:l?.resourceLocation},l?.mode?{metadata:{mode:l.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:a,restoreFrom:s,updateState:o,processResult:i?({flatResponse:c},l)=>i(c,l):({flatResponse:c})=>c})}fC.createHttpPoller=_Ce});var EY=h(hC=>{"use strict";Object.defineProperty(hC,"__esModule",{value:!0});hC.GenericPollOperation=void 0;var yY=pR(),DCe=cC(),kCe=()=>({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)}),ER=class{constructor(e,r,n,i,s,o,a){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=o,this.isDone=a}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=kCe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await(0,yY.initHttpOperation)({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await(0,yY.pollHttpOperation)({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(o,{rawResponse:a})=>i(o,a):void 0,isDone:s?({flatResponse:o},a)=>s(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 DCe.logger.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}};hC.GenericPollOperation=ER});var IR=h(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.Poller=sa.PollerCancelledError=sa.PollerStoppedError=void 0;var gC=class t extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}};sa.PollerStoppedError=gC;var mC=class t extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}};sa.PollerCancelledError=mC;var CR=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 mC("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 gC("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()}};sa.Poller=CR});var CY=h(pC=>{"use strict";Object.defineProperty(pC,"__esModule",{value:!0});pC.LroEngine=void 0;var PCe=EY(),TCe=lC(),OCe=IR(),LCe=uC(),BR=class extends OCe.Poller{constructor(e,r){let{intervalInMs:n=TCe.POLL_INTERVAL_IN_MS,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:o,lroResourceLocationConfig:a,processResult:A,updateState:c}=r||{},l=i?(0,LCe.deserializeState)(i):{},u=new PCe.GenericPollOperation(l,e,!s,a,A,c,o);super(u),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},u.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};pC.LroEngine=BR});var IY=h(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.LroEngine=void 0;var MCe=CY();Object.defineProperty(yC,"LroEngine",{enumerable:!0,get:function(){return MCe.LroEngine}})});var QY=h(BY=>{"use strict";Object.defineProperty(BY,"__esModule",{value:!0})});var bY=h(BA=>{"use strict";Object.defineProperty(BA,"__esModule",{value:!0});BA.createHttpPoller=void 0;var QR=(mi(),Ui(gi)),FCe=pY();Object.defineProperty(BA,"createHttpPoller",{enumerable:!0,get:function(){return FCe.createHttpPoller}});QR.__exportStar(IY(),BA);QR.__exportStar(IR(),BA);QR.__exportStar(QY(),BA)});var Nv=h(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});var zr=oo(),q=(mi(),Ui(gi)),Ci=Xz(),st=Qs(),PC=zG(),Mh=oR(),xR=XG(),UCe=Hl(),TC=Ax(),sv=require("crypto"),qCe=xx(),ov=require("stream"),HCe=bY(),OY=require("events"),jCe=require("fs"),zCe=require("util"),GCe=require("buffer");function OC(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}}),e.default=t,Object.freeze(e)}var YCe=OC(PC),pu=OC(Mh),av=OC(jCe),JCe=OC(zCe),nr=UCe.createClientLogger("storage-blob"),fu=class{constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}},LY="12.27.0",Av="2025-05-05",bR=256*1024*1024,NR=4e3*1024*1024,EC=5e4,VCe=8*1024*1024,RR=4*1024*1024,WCe=5,$Ce=100*1e3,cv="https://storage.azure.com/.default",Ji={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},KCe={HTTP_ACCEPTED:202},Ie={AUTHORIZATION:"Authorization",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",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version"},Ns="",MY="*",XCe=1*1024*1024,NY=256,ZCe=4*XCe,ao=`\r
|
|
`,FY="HTTP/1.1",eIe="AES256",tIe="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",rIe=["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"],nIe=["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"],iIe="BlobUsesCustomerSpecifiedEncryption",sIe="BlobDoesNotUseCustomerSpecifiedEncryption",oIe=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function aIe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=cIe(r),e.pathname=r,e.toString()}function AIe(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 QA(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}function yu(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=AIe(t),t=tIe);let r=QA(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),o="";if(i=QA(t,"AccountName"),s=Buffer.from(QA(t,"AccountKey"),"base64"),!r){n=QA(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=QA(t,"EndpointSuffix"),!o)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${o}`}if(i){if(s.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:i,accountKey:s,proxyUri:e}}else{let n=QA(t,"SharedAccessSignature"),i=QA(t,"AccountName");if(i||(i=zY(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:i,accountSas:n}}}function cIe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function Pt(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 Ao(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,o=n.search===""?"?":n.search,a=[];for(let A of o.slice(1).split("&"))if(A){let[c]=A.split("=",2);c!==i&&a.push(A)}return s&&a.push(`${i}=${s}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function wY(t,e){var r;return(r=new URL(t).searchParams.get(e))!==null&&r!==void 0?r:void 0}function UY(t,e){let r=new URL(t);return r.hostname=e,r.toString()}function LC(t){try{return new URL(t).pathname}catch{return}}function lIe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}function uIe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}function qY(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(i=>{let s=i.indexOf("="),o=i.lastIndexOf("=");return s>0&&s===o&&o<i.length-1});let n={};for(let i of r){let s=i.split("="),o=s[0],a=s[1];n[o]=a}return n}function Fh(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}function Xe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function dIe(t){return st.isNode?Buffer.from(t).toString("base64"):btoa(t)}function SY(t,e){t.length>42&&(t=t.slice(0,42));let s=t+fIe(e.toString(),48-t.length,"0");return dIe(s)}async function HY(t,e,r){return new Promise((n,i)=>{let s,o=()=>{s!==void 0&&clearTimeout(s),i(r)};s=setTimeout(()=>{e!==void 0&&e.removeEventListener("abort",o),n()},t),e!==void 0&&e.addEventListener("abort",o)})}function fIe(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 jY(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}function zY(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:lv(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}function lv(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&&oIe.includes(t.port)}function NA(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 hIe(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 Th(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}function xY(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 QC(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},o=e.findIndex(a=>a.policyId===n[0]);o>-1?e[o].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}function Uh(t){return t?t.scheme+" "+t.value:void 0}function uu(t){return t.encoded?decodeURIComponent(t.content):t.content}function gIe(t){return Object.assign(Object.assign({},t),{segment:{blobItems:t.segment.blobItems.map(e=>Object.assign(Object.assign({},e),{name:uu(e.name)}))}})}function mIe(t){var e;return Object.assign(Object.assign({},t),{segment:{blobPrefixes:(e=t.segment.blobPrefixes)===null||e===void 0?void 0:e.map(r=>Object.assign(Object.assign({},r),{name:uu(r.name)})),blobItems:t.segment.blobItems.map(r=>Object.assign(Object.assign({},r),{name:uu(r.name)}))}})}function*RY(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n<e.length&&i<r.length;)e[n].start<r[i].start?(yield{start:e[n].start,end:e[n].end,isClear:!1},++n):(yield{start:r[i].start,end:r[i].end,isClear:!0},++i);for(;n<e.length;++n)yield{start:e[n].start,end:e[n].end,isClear:!1};for(;i<r.length;++i)yield{start:r[i].start,end:r[i].end,isClear:!0}}function CC(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}function V(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}se.StorageRetryPolicyType=void 0;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(se.StorageRetryPolicyType||(se.StorageRetryPolicyType={}));var oa={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:se.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},pIe=new TC.AbortError("The operation was aborted."),bC=class extends fu{constructor(e,r,n=oa){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:oa.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):oa.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:oa.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:oa.maxRetryDelayInMs):oa.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:oa.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:oa.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=UY(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=Ao(i.url,Ji.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(nr.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,o))return o;r=r||!s&&o.status===404}catch(a){if(nr.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(s,n,o,a))throw a}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return nr.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let o of s)if(i.name.toUpperCase().includes(o)||i.message.toUpperCase().includes(o)||i.code&&i.code.toString().toUpperCase()===o)return nr.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(n||i){let o=n?n.status:i?i.statusCode:0;if(!e&&o===404)return nr.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return nr.info(`RetryPolicy: Will retry for status code ${o}.`),!0}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(nr.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case se.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case se.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return nr.info(`RetryPolicy: Delay for ${i}ms`),HY(i,n,pIe)}},NC=class{constructor(e){this.retryOptions=e}create(e,r){return new bC(e,r,this.retryOptions)}},qh=class extends fu{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}},yIe=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]),EIe=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]),CIe=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 GY(t,e){return IIe(t,e)?-1:1}function IIe(t,e){let r=[yIe,EIe,CIe],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let o=i<t.length?r[n][t[i].charCodeAt(0)]:1,a=s<e.length?r[n][e[s].charCodeAt(0)]:1;if(o===1&&a===1)i=0,s=0,++n;else if(o===a)++i,++s;else if(o===0)++i;else if(a===0)++s;else return o<a}return!1}var wC=class extends qh{constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(Ie.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Ie.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Ie.CONTENT_ENCODING),this.getHeaderValueToSign(e,Ie.CONTENT_LENGTH),this.getHeaderValueToSign(e,Ie.CONTENT_MD5),this.getHeaderValueToSign(e,Ie.CONTENT_TYPE),this.getHeaderValueToSign(e,Ie.DATE),this.getHeaderValueToSign(e,Ie.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Ie.IF_MATCH),this.getHeaderValueToSign(e,Ie.IF_NONE_MATCH),this.getHeaderValueToSign(e,Ie.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Ie.RANGE)].join(`
|
|
`)+`
|
|
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Ie.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Ie.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(Ie.PREFIX_FOR_STORAGE));r.sort((i,s)=>GY(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,o)=>!(s>0&&i.name.toLowerCase()===o[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
|
|
`}),n}getCanonicalizedResourceString(e){let r=LC(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=qY(e.url),s={};if(i){let o=[];for(let a in i)if(Object.prototype.hasOwnProperty.call(i,a)){let A=a.toLowerCase();s[A]=i[a],o.push(A)}o.sort();for(let a of o)n+=`
|
|
${a}:${decodeURIComponent(s[a])}`}return n}},Hh=class{create(e,r){throw new Error("Method should be implemented in children classes.")}},lt=class extends Hh{constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new wC(e,r,this)}computeHMACSHA256(e){return sv.createHmac("sha256",this.accountKey).update(e,"utf8").digest("base64")}},SC=class extends qh{constructor(e,r){super(e,r)}},dt=class extends Hh{create(e,r){return new SC(e,r)}},wR;function BIe(){return wR||(wR=zr.createDefaultHttpClient()),wR}var QIe="storageBrowserPolicy";function bIe(){return{name:QIe,async sendRequest(t,e){return st.isNode||((t.method==="GET"||t.method==="HEAD")&&(t.url=Ao(t.url,Ji.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ie.COOKIE),t.headers.delete(Ie.CONTENT_LENGTH)),e(t)}}}var NIe="storageRetryPolicy",jh;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(jh||(jh={}));var cu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:jh.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},wIe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],SIe=new TC.AbortError("The operation was aborted.");function xIe(t={}){var e,r,n,i,s,o;let a=(e=t.retryPolicyType)!==null&&e!==void 0?e:cu.retryPolicyType,A=(r=t.maxTries)!==null&&r!==void 0?r:cu.maxTries,c=(n=t.retryDelayInMs)!==null&&n!==void 0?n:cu.retryDelayInMs,l=(i=t.maxRetryDelayInMs)!==null&&i!==void 0?i:cu.maxRetryDelayInMs,u=(s=t.secondaryHost)!==null&&s!==void 0?s:cu.secondaryHost,d=(o=t.tryTimeoutInMs)!==null&&o!==void 0?o:cu.tryTimeoutInMs;function f({isPrimaryRetry:m,attempt:E,response:C,error:I}){var N,w;if(E>=A)return nr.info(`RetryPolicy: Attempt(s) ${E} >= maxTries ${A}, no further try.`),!1;if(I){for(let v of wIe)if(I.name.toUpperCase().includes(v)||I.message.toUpperCase().includes(v)||I.code&&I.code.toString().toUpperCase()===v)return nr.info(`RetryPolicy: Network error ${v} found, will retry.`),!0;if(I?.code==="PARSE_ERROR"&&I?.message.startsWith('Error "Error: Unclosed root tag'))return nr.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(C||I){let v=(w=(N=C?.status)!==null&&N!==void 0?N:I?.statusCode)!==null&&w!==void 0?w:0;if(!m&&v===404)return nr.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(v===503||v===500)return nr.info(`RetryPolicy: Will retry for status code ${v}.`),!0}return!1}function g(m,E){let C=0;if(m)switch(a){case jh.EXPONENTIAL:C=Math.min((Math.pow(2,E-1)-1)*c,l);break;case jh.FIXED:C=c;break}else C=Math.random()*1e3;return nr.info(`RetryPolicy: Delay for ${C}ms`),C}return{name:NIe,async sendRequest(m,E){d&&(m.url=Ao(m.url,Ji.Parameters.TIMEOUT,String(Math.floor(d/1e3))));let C=m.url,I=u?UY(m.url,u):void 0,N=!1,w=1,v=!0,T,U;for(;v;){let k=N||!I||!["GET","HEAD","OPTIONS"].includes(m.method)||w%2===1;m.url=k?C:I,T=void 0,U=void 0;try{nr.info(`RetryPolicy: =====> Try=${w} ${k?"Primary":"Secondary"}`),T=await E(m),N=N||!k&&T.status===404}catch(J){if(zr.isRestError(J))nr.error(`RetryPolicy: Caught error, message: ${J.message}, code: ${J.code}`),U=J;else throw nr.error(`RetryPolicy: Caught error, message: ${st.getErrorMessage(J)}`),J}v=f({isPrimaryRetry:k,attempt:w,response:T,error:U}),v&&await HY(g(k,w),m.abortSignal,SIe),w++}if(T)return T;throw U??new zr.RestError("RetryPolicy failed without known error.")}}}var RIe="storageSharedKeyCredentialPolicy";function YY(t){function e(s){s.headers.set(Ie.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(s.body));let o=[s.method.toUpperCase(),r(s,Ie.CONTENT_LANGUAGE),r(s,Ie.CONTENT_ENCODING),r(s,Ie.CONTENT_LENGTH),r(s,Ie.CONTENT_MD5),r(s,Ie.CONTENT_TYPE),r(s,Ie.DATE),r(s,Ie.IF_MODIFIED_SINCE),r(s,Ie.IF_MATCH),r(s,Ie.IF_NONE_MATCH),r(s,Ie.IF_UNMODIFIED_SINCE),r(s,Ie.RANGE)].join(`
|
|
`)+`
|
|
`+n(s)+i(s),a=sv.createHmac("sha256",t.accountKey).update(o,"utf8").digest("base64");s.headers.set(Ie.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(s,o){let a=s.headers.get(o);return!a||o===Ie.CONTENT_LENGTH&&a==="0"?"":a}function n(s){let o=[];for(let[A,c]of s.headers)A.toLowerCase().startsWith(Ie.PREFIX_FOR_STORAGE)&&o.push({name:A,value:c});o.sort((A,c)=>GY(A.name.toLowerCase(),c.name.toLowerCase())),o=o.filter((A,c,l)=>!(c>0&&A.name.toLowerCase()===l[c-1].name.toLowerCase()));let a="";return o.forEach(A=>{a+=`${A.name.toLowerCase().trimRight()}:${A.value.trimLeft()}
|
|
`}),a}function i(s){let o=LC(s.url)||"/",a="";a+=`/${t.accountName}${o}`;let A=qY(s.url),c={};if(A){let l=[];for(let u in A)if(Object.prototype.hasOwnProperty.call(A,u)){let d=u.toLowerCase();c[d]=A[u],l.push(d)}l.sort();for(let u of l)a+=`
|
|
${u}:${decodeURIComponent(c[u])}`}return a}return{name:RIe,async sendRequest(s,o){return e(s),o(s)}}}var xC=class extends fu{constructor(e,r){super(e,r)}async sendRequest(e){return st.isNode?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=Ao(e.url,Ji.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Ie.COOKIE),e.headers.remove(Ie.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}},RC=class{create(e,r){return new xC(e,r)}},vIe="StorageCorrectContentLengthPolicy";function _Ie(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Ie.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:vIe,async sendRequest(e,r){return t(e),r(e)}}}function Aa(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 zh=class{constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function ut(t,e={}){t||(t=new dt);let r=new zh([],e);return r._credential=t,r}function DIe(t){let e=[kIe,WY,PIe,TIe,OIe,LIe,FIe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>MIe(i));return{wrappedPolicies:PC.createRequestPolicyFactoryPolicy(r),afterRetry:n}}}}function JY(t){var e;let r=t.options,{httpClient:n}=r,i=q.__rest(r,["httpClient"]),s=t._coreHttpClient;s||(s=n?PC.convertHttpClient(n):BIe(),t._coreHttpClient=s);let o=t._corePipeline;if(!o){let a=`azsdk-js-azure-storage-blob/${LY}`,A=i.userAgentOptions&&i.userAgentOptions.userAgentPrefix?`${i.userAgentOptions.userAgentPrefix} ${a}`:`${a}`;o=Mh.createClientPipeline(Object.assign(Object.assign({},i),{loggingOptions:{additionalAllowedHeaderNames:rIe,additionalAllowedQueryParameters:nIe,logger:nr.info},userAgentOptions:{userAgentPrefix:A},serializationOptions:{stringifyXML:xR.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:xR.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}})),o.removePolicy({phase:"Retry"}),o.removePolicy({name:zr.decompressResponsePolicyName}),o.addPolicy(_Ie()),o.addPolicy(xIe(i.retryOptions),{phase:"Retry"}),o.addPolicy(bIe());let c=DIe(t);c&&o.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=VY(t);Ci.isTokenCredential(l)?o.addPolicy(zr.bearerTokenAuthenticationPolicy({credential:l,scopes:(e=i.audience)!==null&&e!==void 0?e:cv,challengeCallbacks:{authorizeRequestOnChallenge:Mh.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof lt&&o.addPolicy(YY({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=o}return Object.assign(Object.assign({},i),{allowInsecureConnection:!0,httpClient:s,pipeline:o})}function VY(t){if(t._credential)return t._credential;let e=new dt;for(let r of t.factories)if(Ci.isTokenCredential(r.credential))e=r.credential;else if(WY(r))return r;return e}function WY(t){return t instanceof lt?!0:t.constructor.name==="StorageSharedKeyCredential"}function kIe(t){return t instanceof dt?!0:t.constructor.name==="AnonymousCredential"}function PIe(t){return Ci.isTokenCredential(t.credential)}function TIe(t){return t instanceof RC?!0:t.constructor.name==="StorageBrowserPolicyFactory"}function OIe(t){return t instanceof NC?!0:t.constructor.name==="StorageRetryPolicyFactory"}function LIe(t){return t.constructor.name==="TelemetryPolicyFactory"}function MIe(t){return t.constructor.name==="InjectorPolicyFactory"}function FIe(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}},s=t.create(r,n).constructor.name;return e.some(o=>s.startsWith(o))}var uv={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"}}}}},UIe={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"}}}}},qIe={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"}}}}},HIe={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"}}}}},jIe={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"}}}}},zIe={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"}}}}},Y={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},$Y={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},GIe={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"}}}}},KY={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"}}}}},YIe={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"}}}}}}},JIe={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"}}}}},XY={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"}}}}},ZY={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"}}}}},dv={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"}}}}},VIe={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"}}}}},fv={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"}}}}}}},WIe={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"}}}}},$Ie={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"}}}}},KIe={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"}}}}},eJ={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"}}}}},XIe={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"}}}}}}},ZIe={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"}}}}},eBe={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"}}}}},tBe={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"}}}}},tJ={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"}}}}},rBe={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"}}}}}}},nBe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},rJ={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"}}}}}}},nJ={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"}}}}}}},iBe={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"}}}}},hv={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"}}}}},sBe={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"}}}}},oBe={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"}}}}},iJ={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"}}}}},aBe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},ABe={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"}}}}}}},cBe={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"}}}}},lBe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},uBe={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"}}}}}}},dBe={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"}}}}},sJ={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"}}}}},oJ={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aJ={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"}}}}},AJ={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cJ={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"}}}}},lJ={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uJ={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"}}}}},dJ={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fJ={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"}}}}},hJ={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gJ={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"}}}}},mJ={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pJ={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"}}}}},yJ={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EJ={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"}}}}},CJ={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IJ={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"}}}}},BJ={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QJ={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"}}}}},bJ={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={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"}}}}},wJ={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SJ={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"}}}}},xJ={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RJ={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"}}}}},vJ={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_J={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"}}}}},DJ={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kJ={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"}}}}},PJ={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TJ={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"}}}}},OJ={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LJ={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"}}}}},MJ={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FJ={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"}}}}},UJ={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qJ={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"}}}}},HJ={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jJ={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"}}}}},zJ={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GJ={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"}}}}},YJ={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JJ={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"}}}}},VJ={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WJ={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"}}}}},$J={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KJ={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"}}}}},XJ={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZJ={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"}}}}},eV={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tV={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"}}}}},rV={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vR={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"}}}}},nV={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iV={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"}}}}},sV={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oV={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"}}}}},aV={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AV={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"}}}}},cV={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lV={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"}}}}},uV={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dV={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"}}}}},fV={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hV={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"]}}}}},gV={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mV={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"}}}}},pV={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yV={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"}}}}},EV={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CV={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"}}}}},IV={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BV={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"}}}}},QV={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bV={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"}}}}},NV={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wV={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"}}}}},SV={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xV={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"}}}}},RV={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vV={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"}}}}},_V={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DV={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"}}}}},kV={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PV={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"}}}}},TV={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OV={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"}}}}},LV={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MV={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"}}}}},FV={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={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"}}}}},UV={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qV={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"}}}}},HV={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DR={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"}}}}},jV={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zV={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"}}}}},GV={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YV={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"}}}}},JV={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VV={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"}}}}},WV={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$V={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"}}}}},KV={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XV={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"}}}}},ZV={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eW={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"}}}}},tW={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rW={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"}}}}},nW={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iW={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"}}}}},sW={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oW={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"}}}}},aW={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AW={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"}}}}},cW={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lW={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"}}}}},uW={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dW={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"}}}}},fW={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hW={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"}}}}},gW={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mW={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"}}}}},pW={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yW={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"}}}}},EW={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CW={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"}}}}},IW={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BW={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"}}}}},QW={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bW={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"}}}}},NW={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wW={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"}}}}},SW={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xW={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"}}}}},RW={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vW={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"}}}}},_W={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Eu=Object.freeze({__proto__:null,AccessPolicy:KIe,AppendBlobAppendBlockExceptionHeaders:gW,AppendBlobAppendBlockFromUrlExceptionHeaders:pW,AppendBlobAppendBlockFromUrlHeaders:mW,AppendBlobAppendBlockHeaders:hW,AppendBlobCreateExceptionHeaders:fW,AppendBlobCreateHeaders:dW,AppendBlobSealExceptionHeaders:EW,AppendBlobSealHeaders:yW,ArrowConfiguration:uBe,ArrowField:dBe,BlobAbortCopyFromURLExceptionHeaders:FV,BlobAbortCopyFromURLHeaders:MV,BlobAcquireLeaseExceptionHeaders:QV,BlobAcquireLeaseHeaders:BV,BlobBreakLeaseExceptionHeaders:_V,BlobBreakLeaseHeaders:vV,BlobChangeLeaseExceptionHeaders:RV,BlobChangeLeaseHeaders:xV,BlobCopyFromURLExceptionHeaders:LV,BlobCopyFromURLHeaders:OV,BlobCreateSnapshotExceptionHeaders:kV,BlobCreateSnapshotHeaders:DV,BlobDeleteExceptionHeaders:aV,BlobDeleteHeaders:oV,BlobDeleteImmutabilityPolicyExceptionHeaders:pV,BlobDeleteImmutabilityPolicyHeaders:mV,BlobDownloadExceptionHeaders:nV,BlobDownloadHeaders:vR,BlobFlatListSegment:XIe,BlobGetAccountInfoExceptionHeaders:HV,BlobGetAccountInfoHeaders:qV,BlobGetPropertiesExceptionHeaders:sV,BlobGetPropertiesHeaders:iV,BlobGetTagsExceptionHeaders:GV,BlobGetTagsHeaders:zV,BlobHierarchyListSegment:rBe,BlobItemInternal:ZIe,BlobName:eBe,BlobPrefix:nBe,BlobPropertiesInternal:tBe,BlobQueryExceptionHeaders:jV,BlobQueryHeaders:DR,BlobReleaseLeaseExceptionHeaders:NV,BlobReleaseLeaseHeaders:bV,BlobRenewLeaseExceptionHeaders:SV,BlobRenewLeaseHeaders:wV,BlobServiceProperties:uv,BlobServiceStatistics:$Y,BlobSetExpiryExceptionHeaders:uV,BlobSetExpiryHeaders:lV,BlobSetHttpHeadersExceptionHeaders:fV,BlobSetHttpHeadersHeaders:dV,BlobSetImmutabilityPolicyExceptionHeaders:gV,BlobSetImmutabilityPolicyHeaders:hV,BlobSetLegalHoldExceptionHeaders:EV,BlobSetLegalHoldHeaders:yV,BlobSetMetadataExceptionHeaders:IV,BlobSetMetadataHeaders:CV,BlobSetTagsExceptionHeaders:JV,BlobSetTagsHeaders:YV,BlobSetTierExceptionHeaders:UV,BlobSetTierHeaders:_R,BlobStartCopyFromURLExceptionHeaders:TV,BlobStartCopyFromURLHeaders:PV,BlobTag:WIe,BlobTags:fv,BlobUndeleteExceptionHeaders:cV,BlobUndeleteHeaders:AV,Block:iBe,BlockBlobCommitBlockListExceptionHeaders:RW,BlockBlobCommitBlockListHeaders:xW,BlockBlobGetBlockListExceptionHeaders:_W,BlockBlobGetBlockListHeaders:vW,BlockBlobPutBlobFromUrlExceptionHeaders:QW,BlockBlobPutBlobFromUrlHeaders:BW,BlockBlobStageBlockExceptionHeaders:NW,BlockBlobStageBlockFromURLExceptionHeaders:SW,BlockBlobStageBlockFromURLHeaders:wW,BlockBlobStageBlockHeaders:bW,BlockBlobUploadExceptionHeaders:IW,BlockBlobUploadHeaders:CW,BlockList:nJ,BlockLookupList:rJ,ClearRange:oBe,ContainerAcquireLeaseExceptionHeaders:HJ,ContainerAcquireLeaseHeaders:qJ,ContainerBreakLeaseExceptionHeaders:VJ,ContainerBreakLeaseHeaders:JJ,ContainerChangeLeaseExceptionHeaders:$J,ContainerChangeLeaseHeaders:WJ,ContainerCreateExceptionHeaders:BJ,ContainerCreateHeaders:IJ,ContainerDeleteExceptionHeaders:wJ,ContainerDeleteHeaders:NJ,ContainerFilterBlobsExceptionHeaders:UJ,ContainerFilterBlobsHeaders:FJ,ContainerGetAccessPolicyExceptionHeaders:vJ,ContainerGetAccessPolicyHeaders:RJ,ContainerGetAccountInfoExceptionHeaders:rV,ContainerGetAccountInfoHeaders:tV,ContainerGetPropertiesExceptionHeaders:bJ,ContainerGetPropertiesHeaders:QJ,ContainerItem:YIe,ContainerListBlobFlatSegmentExceptionHeaders:XJ,ContainerListBlobFlatSegmentHeaders:KJ,ContainerListBlobHierarchySegmentExceptionHeaders:eV,ContainerListBlobHierarchySegmentHeaders:ZJ,ContainerProperties:JIe,ContainerReleaseLeaseExceptionHeaders:zJ,ContainerReleaseLeaseHeaders:jJ,ContainerRenameExceptionHeaders:OJ,ContainerRenameHeaders:TJ,ContainerRenewLeaseExceptionHeaders:YJ,ContainerRenewLeaseHeaders:GJ,ContainerRestoreExceptionHeaders:PJ,ContainerRestoreHeaders:kJ,ContainerSetAccessPolicyExceptionHeaders:DJ,ContainerSetAccessPolicyHeaders:_J,ContainerSetMetadataExceptionHeaders:xJ,ContainerSetMetadataHeaders:SJ,ContainerSubmitBatchExceptionHeaders:MJ,ContainerSubmitBatchHeaders:LJ,CorsRule:jIe,DelimitedTextConfiguration:cBe,FilterBlobItem:VIe,FilterBlobSegment:dv,GeoReplication:GIe,JsonTextConfiguration:lBe,KeyInfo:XY,ListBlobsFlatSegmentResponse:eJ,ListBlobsHierarchySegmentResponse:tJ,ListContainersSegmentResponse:KY,Logging:UIe,Metrics:HIe,PageBlobClearPagesExceptionHeaders:ZV,PageBlobClearPagesHeaders:XV,PageBlobCopyIncrementalExceptionHeaders:uW,PageBlobCopyIncrementalHeaders:lW,PageBlobCreateExceptionHeaders:WV,PageBlobCreateHeaders:VV,PageBlobGetPageRangesDiffExceptionHeaders:sW,PageBlobGetPageRangesDiffHeaders:iW,PageBlobGetPageRangesExceptionHeaders:nW,PageBlobGetPageRangesHeaders:rW,PageBlobResizeExceptionHeaders:aW,PageBlobResizeHeaders:oW,PageBlobUpdateSequenceNumberExceptionHeaders:cW,PageBlobUpdateSequenceNumberHeaders:AW,PageBlobUploadPagesExceptionHeaders:KV,PageBlobUploadPagesFromURLExceptionHeaders:tW,PageBlobUploadPagesFromURLHeaders:eW,PageBlobUploadPagesHeaders:$V,PageList:hv,PageRange:sBe,QueryFormat:ABe,QueryRequest:iJ,QuerySerialization:aBe,RetentionPolicy:qIe,ServiceFilterBlobsExceptionHeaders:CJ,ServiceFilterBlobsHeaders:EJ,ServiceGetAccountInfoExceptionHeaders:mJ,ServiceGetAccountInfoHeaders:gJ,ServiceGetPropertiesExceptionHeaders:AJ,ServiceGetPropertiesHeaders:aJ,ServiceGetStatisticsExceptionHeaders:lJ,ServiceGetStatisticsHeaders:cJ,ServiceGetUserDelegationKeyExceptionHeaders:hJ,ServiceGetUserDelegationKeyHeaders:fJ,ServiceListContainersSegmentExceptionHeaders:dJ,ServiceListContainersSegmentHeaders:uJ,ServiceSetPropertiesExceptionHeaders:oJ,ServiceSetPropertiesHeaders:sJ,ServiceSubmitBatchExceptionHeaders:yJ,ServiceSubmitBatchHeaders:pJ,SignedIdentifier:$Ie,StaticWebsite:zIe,StorageError:Y,UserDelegationKey:ZY}),Cu={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},fBe={parameterPath:"blobServiceProperties",mapper:uv},ca={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},W={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},MC={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},la={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},K={parameterPath:"version",mapper:{defaultValue:"2025-05-05",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},X={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},oe={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},hBe={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gv={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mv={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},SA={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},xA={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},gBe={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},mBe={parameterPath:"keyInfo",mapper:XY},pBe={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pv={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},DW={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},kW={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$n={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},PW={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},TW={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},OW={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Tr={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Wi={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},LW={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},yBe={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},EBe={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},Me={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ke={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Pe={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},MW={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},FW={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},CBe={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},UW={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},IBe={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},BBe={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},QBe={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bBe={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},NBe={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Ss={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qW={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},HW={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},jW={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},zW={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Iu={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},GW={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},YW={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},JW={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},VW={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},WW={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},$W={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"},wBe={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Ii={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},fo={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Zh={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},SBe={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},xBe={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Ir={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Br={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Qr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ze={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},et={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},Ge={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},RBe={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},vBe={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},_Be={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DBe={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},kBe={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},Bu={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Qu={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},bu={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Nu={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},wu={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Su={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},KW={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},RA={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},vA={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},PBe={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},TBe={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Gr={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},OBe={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xu={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"]}}},XW={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},Ru={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},vu={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},_u={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Du={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},ZW={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},FC={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},_A={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},LBe={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},ku={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},MBe={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},eg={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},tg={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},e3={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},FBe={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},UBe={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},qBe={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},HBe={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jBe={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"]}}},zBe={parameterPath:["options","queryRequest"],mapper:iJ},GBe={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},t3={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},YBe={parameterPath:["options","tags"],mapper:fv},ua={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Pu={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},JBe={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},r3={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},n3={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},UC={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},qC={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},HC={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},yv={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},i3={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Ev={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Cv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Iv={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},VBe={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Bv={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},WBe={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Qv={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},$Be={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},s3={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},KBe={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},XBe={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},ZBe={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},eQe={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},tQe={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},o3={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},a3={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},bv={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},A3={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},rQe={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c3={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},nQe={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},l3={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},u3={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},iQe={parameterPath:"blocks",mapper:rJ},d3={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sQe={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}},kR=class{constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},oQe)}getProperties(e){return this.client.sendOperationRequest({options:e},aQe)}getStatistics(e){return this.client.sendOperationRequest({options:e},AQe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},cQe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},lQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},uQe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},dQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},fQe)}},da=pu.createSerializer(Eu,!0),oQe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:sJ},default:{bodyMapper:Y,headersMapper:oJ}},requestBody:fBe,queryParameters:[MC,la,$],urlParameters:[W],headerParameters:[Cu,ca,K,X],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:da},aQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:uv,headersMapper:aJ},default:{bodyMapper:Y,headersMapper:AJ}},queryParameters:[MC,la,$],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:da},AQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:$Y,headersMapper:cJ},default:{bodyMapper:Y,headersMapper:lJ}},queryParameters:[MC,$,hBe],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:da},cQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:KY,headersMapper:uJ},default:{bodyMapper:Y,headersMapper:dJ}},queryParameters:[$,gv,mv,SA,xA,gBe],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:da},lQe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:ZY,headersMapper:fJ},default:{bodyMapper:Y,headersMapper:hJ}},requestBody:mBe,queryParameters:[MC,$,pBe],urlParameters:[W],headerParameters:[Cu,ca,K,X],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:da},uQe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:gJ},default:{bodyMapper:Y,headersMapper:mJ}},queryParameters:[la,$,pv],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:da},dQe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:pJ},default:{bodyMapper:Y,headersMapper:yJ}},requestBody:DW,queryParameters:[$,kW],urlParameters:[W],headerParameters:[ca,K,X,$n,PW],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:da},fQe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:dv,headersMapper:EJ},default:{bodyMapper:Y,headersMapper:CJ}},queryParameters:[$,SA,xA,TW,OW],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:da},PR=class{constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},hQe)}getProperties(e){return this.client.sendOperationRequest({options:e},gQe)}delete(e){return this.client.sendOperationRequest({options:e},mQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},pQe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},yQe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},EQe)}restore(e){return this.client.sendOperationRequest({options:e},CQe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},IQe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},BQe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},QQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},bQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},NQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},wQe)}breakLease(e){return this.client.sendOperationRequest({options:e},SQe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},xQe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},RQe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},vQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},_Qe)}},br=pu.createSerializer(Eu,!0),hQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:IJ},default:{bodyMapper:Y,headersMapper:BJ}},queryParameters:[$,Tr],urlParameters:[W],headerParameters:[K,X,oe,Wi,LW,yBe,EBe],isXML:!0,serializer:br},gQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:QJ},default:{bodyMapper:Y,headersMapper:bJ}},queryParameters:[$,Tr],urlParameters:[W],headerParameters:[K,X,oe,Me],isXML:!0,serializer:br},mQe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:NJ},default:{bodyMapper:Y,headersMapper:wJ}},queryParameters:[$,Tr],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe],isXML:!0,serializer:br},pQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:SJ},default:{bodyMapper:Y,headersMapper:xJ}},queryParameters:[$,Tr,MW],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke],isXML:!0,serializer:br},yQe={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:RJ},default:{bodyMapper:Y,headersMapper:vJ}},queryParameters:[$,Tr,FW],urlParameters:[W],headerParameters:[K,X,oe,Me],isXML:!0,serializer:br},EQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:_J},default:{bodyMapper:Y,headersMapper:DJ}},requestBody:CBe,queryParameters:[$,Tr,FW],urlParameters:[W],headerParameters:[Cu,ca,K,X,LW,Me,ke,Pe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:br},CQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:kJ},default:{bodyMapper:Y,headersMapper:PJ}},queryParameters:[$,Tr,UW],urlParameters:[W],headerParameters:[K,X,oe,IBe,BBe],isXML:!0,serializer:br},IQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:TJ},default:{bodyMapper:Y,headersMapper:OJ}},queryParameters:[$,Tr,QBe],urlParameters:[W],headerParameters:[K,X,oe,bBe,NBe],isXML:!0,serializer:br},BQe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:LJ},default:{bodyMapper:Y,headersMapper:MJ}},requestBody:DW,queryParameters:[$,kW,Tr],urlParameters:[W],headerParameters:[ca,K,X,$n,PW],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:br},QQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:dv,headersMapper:FJ},default:{bodyMapper:Y,headersMapper:UJ}},queryParameters:[$,SA,xA,TW,OW,Tr],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:br},bQe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:qJ},default:{bodyMapper:Y,headersMapper:HJ}},queryParameters:[$,Tr,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,qW,HW,jW],isXML:!0,serializer:br},NQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:jJ},default:{bodyMapper:Y,headersMapper:zJ}},queryParameters:[$,Tr,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,zW,Iu],isXML:!0,serializer:br},wQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:GJ},default:{bodyMapper:Y,headersMapper:YJ}},queryParameters:[$,Tr,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Iu,GW],isXML:!0,serializer:br},SQe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:JJ},default:{bodyMapper:Y,headersMapper:VJ}},queryParameters:[$,Tr,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,YW,JW],isXML:!0,serializer:br},xQe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:WJ},default:{bodyMapper:Y,headersMapper:$J}},queryParameters:[$,Tr,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Iu,VW,WW],isXML:!0,serializer:br},RQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:eJ,headersMapper:KJ},default:{bodyMapper:Y,headersMapper:XJ}},queryParameters:[$,gv,mv,SA,xA,Tr,$W],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:br},vQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:tJ,headersMapper:ZJ},default:{bodyMapper:Y,headersMapper:eV}},queryParameters:[$,gv,mv,SA,xA,Tr,$W,wBe],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:br},_Qe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:tV},default:{bodyMapper:Y,headersMapper:rV}},queryParameters:[la,$,pv],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:br},TR=class{constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},DQe)}getProperties(e){return this.client.sendOperationRequest({options:e},kQe)}delete(e){return this.client.sendOperationRequest({options:e},PQe)}undelete(e){return this.client.sendOperationRequest({options:e},TQe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},OQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},LQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},MQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},FQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},UQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},qQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},HQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},jQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},zQe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},GQe)}breakLease(e){return this.client.sendOperationRequest({options:e},YQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},JQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},VQe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},WQe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},$Qe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},KQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},XQe)}query(e){return this.client.sendOperationRequest({options:e},ZQe)}getTags(e){return this.client.sendOperationRequest({options:e},ebe)}setTags(e){return this.client.sendOperationRequest({options:e},tbe)}},xt=pu.createSerializer(Eu,!0),DQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:vR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:vR},default:{bodyMapper:Y,headersMapper:nV}},queryParameters:[$,Ii,fo],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Zh,SBe,xBe,Ir,Br,Qr,Ze,et,Ge],isXML:!0,serializer:xt},kQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:iV},default:{bodyMapper:Y,headersMapper:sV}},queryParameters:[$,Ii,fo],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge],isXML:!0,serializer:xt},PQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:oV},default:{bodyMapper:Y,headersMapper:aV}},queryParameters:[$,Ii,fo,vBe],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,Ge,RBe],isXML:!0,serializer:xt},TQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:AV},default:{bodyMapper:Y,headersMapper:cV}},queryParameters:[$,UW],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:xt},OQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lV},default:{bodyMapper:Y,headersMapper:uV}},queryParameters:[$,_Be],urlParameters:[W],headerParameters:[K,X,oe,DBe,kBe],isXML:!0,serializer:xt},LQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:dV},default:{bodyMapper:Y,headersMapper:fV}},queryParameters:[la,$],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,Ge,Bu,Qu,bu,Nu,wu,Su],isXML:!0,serializer:xt},MQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:hV},default:{bodyMapper:Y,headersMapper:gV}},queryParameters:[$,Ii,fo,KW],urlParameters:[W],headerParameters:[K,X,oe,Pe,RA,vA],isXML:!0,serializer:xt},FQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:mV},default:{bodyMapper:Y,headersMapper:pV}},queryParameters:[$,Ii,fo,KW],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:xt},UQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yV},default:{bodyMapper:Y,headersMapper:EV}},queryParameters:[$,Ii,fo,PBe],urlParameters:[W],headerParameters:[K,X,oe,TBe],isXML:!0,serializer:xt},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:CV},default:{bodyMapper:Y,headersMapper:IV}},queryParameters:[$,MW],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Gr],isXML:!0,serializer:xt},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BV},default:{bodyMapper:Y,headersMapper:QV}},queryParameters:[$,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,qW,HW,jW,Ze,et,Ge],isXML:!0,serializer:xt},jQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bV},default:{bodyMapper:Y,headersMapper:NV}},queryParameters:[$,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,zW,Iu,Ze,et,Ge],isXML:!0,serializer:xt},zQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wV},default:{bodyMapper:Y,headersMapper:SV}},queryParameters:[$,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Iu,GW,Ze,et,Ge],isXML:!0,serializer:xt},GQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:xV},default:{bodyMapper:Y,headersMapper:RV}},queryParameters:[$,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Iu,VW,WW,Ze,et,Ge],isXML:!0,serializer:xt},YQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:vV},default:{bodyMapper:Y,headersMapper:_V}},queryParameters:[$,Ss],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,YW,JW,Ze,et,Ge],isXML:!0,serializer:xt},JQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DV},default:{bodyMapper:Y,headersMapper:kV}},queryParameters:[$,OBe],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Gr],isXML:!0,serializer:xt},VQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:PV},default:{bodyMapper:Y,headersMapper:TV}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Ze,et,Ge,RA,vA,xu,XW,Ru,vu,_u,Du,ZW,FC,_A,LBe,ku],isXML:!0,serializer:xt},WQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:OV},default:{bodyMapper:Y,headersMapper:LV}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,Wi,Me,ke,Pe,Ze,et,Ge,RA,vA,Gr,xu,Ru,vu,_u,Du,FC,_A,ku,MBe,eg,tg,e3],isXML:!0,serializer:xt},$Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:MV},default:{bodyMapper:Y,headersMapper:FV}},queryParameters:[$,FBe,qBe],urlParameters:[W],headerParameters:[K,X,oe,Me,UBe],isXML:!0,serializer:xt},KQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_R},202:{headersMapper:_R},default:{bodyMapper:Y,headersMapper:UV}},queryParameters:[$,Ii,fo,HBe],urlParameters:[W],headerParameters:[K,X,oe,Me,Ge,XW,jBe],isXML:!0,serializer:xt},XQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:qV},default:{bodyMapper:Y,headersMapper:HV}},queryParameters:[la,$,pv],urlParameters:[W],headerParameters:[K,X,oe],isXML:!0,serializer:xt},ZQe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:DR},default:{bodyMapper:Y,headersMapper:jV}},requestBody:zBe,queryParameters:[$,Ii,GBe],urlParameters:[W],headerParameters:[Cu,ca,K,X,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:xt},ebe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:fv,headersMapper:zV},default:{bodyMapper:Y,headersMapper:GV}},queryParameters:[$,Ii,fo,t3],urlParameters:[W],headerParameters:[K,X,oe,Me,Ge],isXML:!0,serializer:xt},tbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:YV},default:{bodyMapper:Y,headersMapper:JV}},requestBody:YBe,queryParameters:[$,fo,t3],urlParameters:[W],headerParameters:[Cu,ca,K,X,Me,Ge,ua,Pu],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:xt},OR=class{constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},rbe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},nbe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},ibe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},sbe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},obe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},abe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},Abe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},cbe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},lbe)}},ho=pu.createSerializer(Eu,!0),rbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VV},default:{bodyMapper:Y,headersMapper:WV}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,$n,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Bu,Qu,bu,Nu,wu,Su,RA,vA,Gr,xu,_A,ku,JBe,r3,n3],isXML:!0,serializer:ho},nbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$V},default:{bodyMapper:Y,headersMapper:KV}},requestBody:qC,queryParameters:[$,yv],urlParameters:[W],headerParameters:[K,X,$n,Me,ke,Pe,Zh,Ir,Br,Qr,Ze,et,Ge,Gr,ua,Pu,UC,HC,i3,Ev,Cv,Iv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ho},ibe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:XV},default:{bodyMapper:Y,headersMapper:ZV}},queryParameters:[$,yv],urlParameters:[W],headerParameters:[K,X,oe,$n,Me,ke,Pe,Zh,Ir,Br,Qr,Ze,et,Ge,Gr,Ev,Cv,Iv,VBe],isXML:!0,serializer:ho},sbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:eW},default:{bodyMapper:Y,headersMapper:tW}},queryParameters:[$,yv],urlParameters:[W],headerParameters:[K,X,oe,$n,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Gr,Ru,vu,_u,Du,eg,tg,i3,Ev,Cv,Iv,Bv,WBe,Qv,$Be],isXML:!0,serializer:ho},obe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:hv,headersMapper:rW},default:{bodyMapper:Y,headersMapper:nW}},queryParameters:[$,SA,xA,Ii,s3],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Zh,Ze,et,Ge],isXML:!0,serializer:ho},abe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:hv,headersMapper:iW},default:{bodyMapper:Y,headersMapper:sW}},queryParameters:[$,SA,xA,Ii,s3,KBe],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Zh,Ze,et,Ge,XBe],isXML:!0,serializer:ho},Abe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oW},default:{bodyMapper:Y,headersMapper:aW}},queryParameters:[la,$],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Gr,r3],isXML:!0,serializer:ho},cbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:AW},default:{bodyMapper:Y,headersMapper:cW}},queryParameters:[la,$],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,Ge,n3,ZBe],isXML:!0,serializer:ho},lbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:lW},default:{bodyMapper:Y,headersMapper:uW}},queryParameters:[$,eQe],urlParameters:[W],headerParameters:[K,X,oe,ke,Pe,Ze,et,Ge,FC],isXML:!0,serializer:ho},LR=class{constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},ube)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},dbe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},fbe)}seal(e){return this.client.sendOperationRequest({options:e},hbe)}},jC=pu.createSerializer(Eu,!0),ube={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dW},default:{bodyMapper:Y,headersMapper:fW}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,$n,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Bu,Qu,bu,Nu,wu,Su,RA,vA,Gr,_A,ku,tQe],isXML:!0,serializer:jC},dbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hW},default:{bodyMapper:Y,headersMapper:gW}},requestBody:qC,queryParameters:[$,o3],urlParameters:[W],headerParameters:[K,X,$n,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Gr,ua,Pu,UC,HC,a3,bv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:jC},fbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mW},default:{bodyMapper:Y,headersMapper:pW}},queryParameters:[$,o3],urlParameters:[W],headerParameters:[K,X,oe,$n,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Gr,Ru,vu,_u,Du,eg,tg,ua,Bv,Qv,a3,bv,A3],isXML:!0,serializer:jC},hbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:yW},default:{bodyMapper:Y,headersMapper:EW}},queryParameters:[$,rQe],urlParameters:[W],headerParameters:[K,X,oe,Me,ke,Pe,Ze,et,bv],isXML:!0,serializer:jC},MR=class{constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},gbe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},mbe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},pbe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},ybe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},Ebe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},Cbe)}},Tu=pu.createSerializer(Eu,!0),gbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:CW},default:{bodyMapper:Y,headersMapper:IW}},requestBody:qC,queryParameters:[$],urlParameters:[W],headerParameters:[K,X,$n,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Bu,Qu,bu,Nu,wu,Su,RA,vA,Gr,xu,_A,ku,ua,Pu,UC,HC,c3],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Tu},mbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BW},default:{bodyMapper:Y,headersMapper:QW}},queryParameters:[$],urlParameters:[W],headerParameters:[K,X,oe,$n,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Bu,Qu,bu,Nu,wu,Su,Gr,xu,Ru,vu,_u,Du,ZW,FC,_A,eg,tg,e3,ua,c3,nQe],isXML:!0,serializer:Tu},pbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bW},default:{bodyMapper:Y,headersMapper:NW}},requestBody:qC,queryParameters:[$,l3,u3],urlParameters:[W],headerParameters:[K,X,$n,Me,Ir,Br,Qr,Gr,ua,Pu,UC,HC],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Tu},ybe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wW},default:{bodyMapper:Y,headersMapper:SW}},queryParameters:[$,l3,u3],urlParameters:[W],headerParameters:[K,X,oe,$n,Me,Ir,Br,Qr,Gr,Ru,vu,_u,Du,eg,tg,Bv,Qv,A3],isXML:!0,serializer:Tu},Ebe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:xW},default:{bodyMapper:Y,headersMapper:RW}},requestBody:iQe,queryParameters:[$,d3],urlParameters:[W],headerParameters:[Cu,ca,K,X,Wi,Me,ke,Pe,Ir,Br,Qr,Ze,et,Ge,Bu,Qu,bu,Nu,wu,Su,RA,vA,Gr,xu,_A,ku,ua,Pu],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Tu},Cbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:nJ,headersMapper:vW},default:{bodyMapper:Y,headersMapper:_W}},queryParameters:[$,Ii,d3,sQe],urlParameters:[W],headerParameters:[K,X,oe,Me,Ge],isXML:!0,serializer:Tu},Ibe=class extends YCe.ExtendedServiceClient{constructor(e,r){var n,i;if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},o="azsdk-js-azure-storage-blob/12.27.0",a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${o}`:`${o}`,A=Object.assign(Object.assign(Object.assign({},s),r),{userAgentOptions:{userAgentPrefix:a},endpoint:(i=(n=r.endpoint)!==null&&n!==void 0?n:r.baseUri)!==null&&i!==void 0?i:"{url}"});super(A),this.url=e,this.version=r.version||"2025-05-05",this.service=new kR(this),this.container=new PR(this),this.blob=new TR(this),this.pageBlob=new OR(this),this.appendBlob=new LR(this),this.blockBlob=new MR(this)}},vC=class extends Ibe{async sendOperationRequest(e,r){let n=Object.assign({},r);return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}},Gh=class{constructor(e,r){this.url=aIe(e),this.accountName=zY(e),this.pipeline=r,this.storageClientContext=new vC(this.url,JY(r)),this.isHttps=jY(lIe(this.url)||"","https"),this.credential=VY(r);let n=this.storageClientContext;n.requestContentType=void 0}},F=qCe.createTracingClient({packageName:"@azure/storage-blob",packageVersion:LY,namespace:"Microsoft.Storage"}),co=class t{constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}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}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("")}},lo=class t{constructor(){this.read=!1,this.add=!1,this.create=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.tag=!1,this.move=!1,this.execute=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1,this.filterByTags=!1}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}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("")}},FR=class{constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return sv.createHmac("sha256",this.key).update(e,"utf8").digest("base64")}};function uo(t){return t.end?`${t.start}-${t.end}`:t.start}se.SASProtocol=void 0;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(se.SASProtocol||(se.SASProtocol={}));var ws=class{get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,i,s,o,a,A,c,l,u,d,f,g,m,E,C,I,N,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.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=i,this.resourceTypes=s,this.expiresOn=A,this.permissions=n,this.protocol=o,this.startsOn=a,this.ipRangeInner=c,this.encryptionScope=w,this.identifier=l,this.resource=u,this.cacheControl=d,this.contentDisposition=f,this.contentEncoding=g,this.contentLanguage=m,this.contentType=E,C&&(this.signedOid=C.signedObjectId,this.signedTenantId=C.signedTenantId,this.signedStartsOn=C.signedStartsOn,this.signedExpiresOn=C.signedExpiresOn,this.signedService=C.signedService,this.signedVersion=C.signedVersion,this.preauthorizedAgentObjectId=I,this.correlationId=N))}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"],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?Xe(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Xe(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?uo(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?Xe(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Xe(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}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 Yh(t,e,r){return Jh(t,e,r).sasQueryParameters}function Jh(t,e,r){let n=t.version?t.version:Av,i=e instanceof lt?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new FR(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?bbe(t,i):Sbe(t,s);if(n>="2018-11-09")return i!==void 0?Qbe(t,i):n>="2020-02-10"?wbe(t,s):Nbe(t,s);if(n>="2015-04-05"){if(i!==void 0)return Bbe(t,i);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 Bbe(t,e){if(t=Lu(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=co.parse(t.permissions.toString()).toString():n=lo.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Ou(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?uo(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(`
|
|
`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new ws(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}function Qbe(t,e){if(t=Lu(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 i;t.permissions&&(t.blobName?i=co.parse(t.permissions.toString()).toString():i=lo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Ou(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?uo(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(s);return{sasQueryParameters:new ws(t.version,o,i,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 bbe(t,e){if(t=Lu(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 i;t.permissions&&(t.blobName?i=co.parse(t.permissions.toString()).toString():i=lo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Ou(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?uo(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(s);return{sasQueryParameters:new ws(t.version,o,i,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:s}}function Nbe(t,e){if(t=Lu(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 i;t.permissions&&(t.blobName?i=co.parse(t.permissions.toString()).toString():i=lo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Ou(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?uo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new ws(t.version,o,i,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:s}}function wbe(t,e){if(t=Lu(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 i;t.permissions&&(t.blobName?i=co.parse(t.permissions.toString()).toString():i=lo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Ou(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?uo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),o=e.computeHMACSHA256(s);return{sasQueryParameters:new ws(t.version,o,i,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:s}}function Sbe(t,e){if(t=Lu(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 i;t.permissions&&(t.blobName?i=co.parse(t.permissions.toString()).toString():i=lo.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?Xe(t.startsOn,!1):"",t.expiresOn?Xe(t.expiresOn,!1):"",Ou(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?uo(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(s);return{sasQueryParameters:new ws(t.version,o,i,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:s}}function Ou(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}function Lu(t){let e=t.version?t.version:Av;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 Vh=class{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=st.randomUUID()),this._leaseId=r}async acquireLease(e,r={}){var n,i,s,o,a;if(this._isContainer&&(!((n=r.conditions)===null||n===void 0)&&n.ifMatch&&((i=r.conditions)===null||i===void 0?void 0:i.ifMatch)!==Ns||!((s=r.conditions)===null||s===void 0)&&s.ifNoneMatch&&((o=r.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==Ns||!((a=r.conditions)===null||a===void 0)&&a.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 F.withSpan("BlobLeaseClient-acquireLease",r,async A=>{var c;return V(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(c=r.conditions)===null||c===void 0?void 0:c.tagConditions}),proposedLeaseId:this._leaseId,tracingOptions:A.tracingOptions}))})}async changeLease(e,r={}){var n,i,s,o,a;if(this._isContainer&&(!((n=r.conditions)===null||n===void 0)&&n.ifMatch&&((i=r.conditions)===null||i===void 0?void 0:i.ifMatch)!==Ns||!((s=r.conditions)===null||s===void 0)&&s.ifNoneMatch&&((o=r.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==Ns||!((a=r.conditions)===null||a===void 0)&&a.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 F.withSpan("BlobLeaseClient-changeLease",r,async A=>{var c;let l=V(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(c=r.conditions)===null||c===void 0?void 0:c.tagConditions}),tracingOptions:A.tracingOptions}));return this._leaseId=e,l})}async releaseLease(e={}){var r,n,i,s,o;if(this._isContainer&&(!((r=e.conditions)===null||r===void 0)&&r.ifMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifMatch)!==Ns||!((i=e.conditions)===null||i===void 0)&&i.ifNoneMatch&&((s=e.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==Ns||!((o=e.conditions)===null||o===void 0)&&o.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 F.withSpan("BlobLeaseClient-releaseLease",e,async a=>{var A;return V(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(A=e.conditions)===null||A===void 0?void 0:A.tagConditions}),tracingOptions:a.tracingOptions}))})}async renewLease(e={}){var r,n,i,s,o;if(this._isContainer&&(!((r=e.conditions)===null||r===void 0)&&r.ifMatch&&((n=e.conditions)===null||n===void 0?void 0:n.ifMatch)!==Ns||!((i=e.conditions)===null||i===void 0)&&i.ifNoneMatch&&((s=e.conditions)===null||s===void 0?void 0:s.ifNoneMatch)!==Ns||!((o=e.conditions)===null||o===void 0)&&o.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 F.withSpan("BlobLeaseClient-renewLease",e,async a=>{var A;return this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(A=e.conditions)===null||A===void 0?void 0:A.tagConditions}),tracingOptions:a.tracingOptions})})}async breakLease(e,r={}){var n,i,s,o,a;if(this._isContainer&&(!((n=r.conditions)===null||n===void 0)&&n.ifMatch&&((i=r.conditions)===null||i===void 0?void 0:i.ifMatch)!==Ns||!((s=r.conditions)===null||s===void 0)&&s.ifNoneMatch&&((o=r.conditions)===null||o===void 0?void 0:o.ifNoneMatch)!==Ns||!((a=r.conditions)===null||a===void 0)&&a.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 F.withSpan("BlobLeaseClient-breakLease",r,async A=>{var c;let l={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(c=r.conditions)===null||c===void 0?void 0:c.tagConditions}),tracingOptions:A.tracingOptions};return V(await this._containerOrBlobOperation.breakLease(l))})}},UR=class extends ov.Readable{constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.retries=0,this.sourceDataHandler=o=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=o.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(o)||this.source.pause()},this.sourceAbortedHandler=()=>{let o=new TC.AbortError("The operation was aborted.");this.destroy(o)},this.sourceErrorOrEndHandler=o=>{if(o&&o.name==="AbortError"){this.destroy(o);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(a=>{this.source=a,this.setSourceEventHandlers()}).catch(a=>{this.destroy(a)})):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}`))},this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,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)}_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}},qR=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 st.isNode?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new UR(this.originalResponse.readableStreamBody,r,n,i,s)}},vY=16,_Y=new Uint8Array([79,98,106,1]),xbe="avro.codec",Rbe="avro.schema",Ut=class t{static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,o,a;do s=await t.readByte(e,r),o=s&128,n|=(s&127)<<i,i+=7;while(o&&i<28);if(o){n=n,a=268435456;do s=await t.readByte(e,r),n+=(s&127)*a,a*=128;while(s&128);let A=(n%2?-(n+1):n)/2;if(A<Number.MIN_SAFE_INTEGER||A>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return A}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 i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=(a,A={})=>t.readMapPair(a,r,A),s=await t.readArray(e,i,n),o={};for(let a of s)o[a.key]=a.value;return o}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let o=await r(e,n);i.push(o)}return i}},bA;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(bA||(bA={}));var Er;(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"})(Er||(Er={}));var aa=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 Er.NULL:case Er.BOOLEAN:case Er.INT:case Er.LONG:case Er.FLOAT:case Er.DOUBLE:case Er.BYTES:case Er.STRING:return new HR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new zR(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case bA.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 i of e.fields)n[i.name]=t.fromSchema(i.type);return new YR(n,e.name);case bA.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 jR(e.symbols);case bA.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new GR(t.fromSchema(e.values));case bA.ARRAY:case bA.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},HR=class extends aa{constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Er.NULL:return Ut.readNull();case Er.BOOLEAN:return Ut.readBoolean(e,r);case Er.INT:return Ut.readInt(e,r);case Er.LONG:return Ut.readLong(e,r);case Er.FLOAT:return Ut.readFloat(e,r);case Er.DOUBLE:return Ut.readDouble(e,r);case Er.BYTES:return Ut.readBytes(e,r);case Er.STRING:return Ut.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},jR=class extends aa{constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Ut.readInt(e,r);return this._symbols[n]}},zR=class extends aa{constructor(e){super(),this._types=e}async read(e,r={}){let n=await Ut.readInt(e,r);return this._types[n].read(e,r)}},GR=class extends aa{constructor(e){super(),this._itemType=e}read(e,r={}){let n=(i,s)=>this._itemType.read(i,s);return Ut.readMap(e,n,r)}},YR=class extends aa{constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}};function DY(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 JR=class{get blockOffset(){return this._blockOffset}get objectIndex(){return this._objectIndex}constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Ut.readFixedBytes(this._headerStream,_Y.length,{abortSignal:e.abortSignal});if(!DY(r,_Y))throw new Error("Stream is not an Avro file.");this._metadata=await Ut.readMap(this._headerStream,Ut.readString,{abortSignal:e.abortSignal});let n=this._metadata[xbe];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ut.readFixedBytes(this._headerStream,vY,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Rbe]);if(this._itemType=aa.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ut.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ut.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s<this._objectIndex;s++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}parseObjects(){return q.__asyncGenerator(this,arguments,function*(r={}){for(this._initialized||(yield q.__await(this.initialize(r)));this.hasNext();){let n=yield q.__await(this._itemType.read(this._dataStream,{abortSignal:r.abortSignal}));if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let i=yield q.__await(Ut.readFixedBytes(this._dataStream,vY,{abortSignal:r.abortSignal}));if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!DY(this._syncMarker,i))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=yield q.__await(Ut.readLong(this._dataStream,{abortSignal:r.abortSignal}))}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&(yield q.__await(Ut.readLong(this._dataStream,{abortSignal:r.abortSignal})))}yield yield q.__await(n)}})}},VR=class{},kY=new TC.AbortError("Reading from the avro stream was aborted."),WR=class extends VR{toUint8Array(e){return typeof e=="string"?Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){var n;if(!((n=r.abortSignal)===null||n===void 0)&&n.aborted)throw kY;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 i=this._readable.read(e);return i?(this._position+=i.length,this.toUint8Array(i)):new Promise((s,o)=>{let a=()=>{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 u=this._readable.read(e);u&&(this._position+=u.length,a(),s(this.toUint8Array(u)))},c=()=>{a(),o()},l=()=>{a(),o(kY)};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)})}},$R=class extends ov.Readable{constructor(e,r={}){super(),this.avroPaused=!0,this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new JR(new WR(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 i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="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:s,isFatal:i,description:o})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}},KR=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 st.isNode?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new $R(this.originalResponse.readableStreamBody,r)}};se.BlockBlobTier=void 0;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(se.BlockBlobTier||(se.BlockBlobTier={}));se.PremiumPageBlobTier=void 0;(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"})(se.PremiumPageBlobTier||(se.PremiumPageBlobTier={}));function wA(t){if(t!==void 0)return t}function Cr(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=eIe)}se.StorageBlobAudience=void 0;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(se.StorageBlobAudience||(se.StorageBlobAudience={}));function vbe(t){return`https://${t}.blob.core.windows.net/.default`}function SR(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 Object.assign(Object.assign({},t),{pageRange:e,clearRange:r,_response:Object.assign(Object.assign({},t._response),{parsedBody:{pageRange:e,clearRange:r}})})}var XR=class extends HCe.Poller{constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:a}=e,A;o&&(A=JSON.parse(o).state);let c=Oh(Object.assign(Object.assign({},A),{blobClient:r,copySource:n,startCopyFromURLOptions:a}));super(c),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return st.delay(this.intervalInMs)}},_be=async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Oh(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Oh(r)):(r.isCancelled=!0,Oh(r))},Dbe=async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let o=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:a,copyProgress:A}=o,c=r.copyProgress;A&&(r.copyProgress=A),a==="pending"&&A!==c&&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(i,s);r.copyId=o.copyId,o.copyStatus==="success"&&(r.result=o,r.isCompleted=!0)}return Oh(r)},kbe=function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})};function Oh(t){return{state:Object.assign({},t),cancel:_be,toString:kbe,update:Dbe}}function Wn(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 Lh;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Lh||(Lh={}));var _C=class{constructor(e=5){if(this.actives=0,this.completed=0,this.offset=0,this.operations=[],this.state=Lh.Good,e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new OY.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=Lh.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Lh.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}}}},ZR=class extends ov.Readable{constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i<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 i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,o=Math.min(s,i);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===s?(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])}},IC=GCe.constants.MAX_LENGTH,ev=class{get size(){return this._size}constructor(e,r,n){this.buffers=[],this.capacity=e,this._size=0;let i=Math.ceil(e/IC);for(let s=0;s<i;s++){let o=s===i-1?e%IC:IC;o===0&&(o=IC),this.buffers.push(Buffer.allocUnsafe(o))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,i=0,s=0,o=0,a=0;for(;a<this._size;){let A=e[n],c=this.buffers[i],l=A.copy(c,s,o);a+=l,o+=l,s+=l,o===A.length&&(n++,o=0),s===c.length&&(i++,s=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(o))}getReadableStream(){return new ZR(this.buffers,this.size)}},tv=class{constructor(e,r,n,i,s,o){if(this.emitter=new OY.EventEmitter,this.offset=0,this.isStreamEnd=!1,this.isError=!1,this.executingOutgoingHandlers=0,this.numBuffers=0,this.unresolvedDataArray=[],this.unresolvedLength=0,this.incoming=[],this.outgoing=[],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(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,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 ev(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()}};async function Pbe(t,e,r,n,i){let s=0,o=n-r;return new Promise((a,A)=>{let c=setTimeout(()=>A(new Error("The operation cannot be completed in timeout.")),$Ce);t.on("readable",()=>{if(s>=o){clearTimeout(c),a();return}let l=t.read();if(!l)return;typeof l=="string"&&(l=Buffer.from(l,i));let u=s+l.length>o?o-s:l.length;e.fill(l.slice(0,u),r+s,r+s+u),s+=u}),t.on("end",()=>{clearTimeout(c),s<o&&A(new Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${o}`)),a()}),t.on("error",l=>{clearTimeout(c),A(l)})})}async function Tbe(t,e,r){let n=0,i=e.length;return new Promise((s,o)=>{t.on("readable",()=>{let a=t.read();if(a){if(typeof a=="string"&&(a=Buffer.from(a,r)),n+a.length>i){o(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(a,n,n+a.length),n+=a.length}}),t.on("end",()=>{s(n)}),t.on("error",o)})}async function Obe(t,e){return new Promise((r,n)=>{let i=av.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}var Lbe=JCe.promisify(av.stat),Mbe=av.createReadStream,Vi=class t extends Gh{get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,o;if(Aa(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,n&&typeof n!="string"&&(i=n),s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=yu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=zr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,i);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,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=wY(this.url,Ji.Parameters.SNAPSHOT),this._versionId=wY(this.url,Ji.Parameters.VERSIONID)}withSnapshot(e){return new t(Ao(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ao(this.url,Ji.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Wh(this.url,this.pipeline)}getBlockBlobClient(){return new $h(this.url,this.pipeline)}getPageBlobClient(){return new Kh(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Cr(n.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-download",n,async i=>{var s;let o=V(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onDownloadProgress:st.isNode?void 0:n.onProgress},range:e===0&&!r?void 0:Wn({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a=Object.assign(Object.assign({},o),{_response:o._response,objectReplicationDestinationPolicyId:o.objectReplicationPolicyId,objectReplicationSourceProperties:QC(o.objectReplicationRules)});if(!st.isNode)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=WCe),o.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!o.etag)throw new RangeError("File download response doesn't contain valid etag header");return new qR(a,async A=>{var c;let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||o.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:(c=n.conditions)===null||c===void 0?void 0:c.tagConditions},range:Wn({count:e+o.contentLength-A,offset:A}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download(Object.assign({abortSignal:n.abortSignal},l))).readableStreamBody},e,o.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return F.withSpan("BlobClient-exists",e,async r=>{try{return Cr(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===iIe||n.details.errorCode===sIe))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Cr(e.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-getProperties",e,async r=>{var n;let i=V(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return Object.assign(Object.assign({},i),{_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:QC(i.objectReplicationRules)})})}async delete(e={}){return e.conditions=e.conditions||{},F.withSpan("BlobClient-delete",e,async r=>{var n;return V(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:r.tracingOptions}))})}async deleteIfExists(e={}){return F.withSpan("BlobClient-deleteIfExists",e,async r=>{var n,i;try{let s=V(await this.delete(r));return Object.assign(Object.assign({succeeded:!0},s),{_response:s._response})}catch(s){if(((n=s.details)===null||n===void 0?void 0:n.errorCode)==="BlobNotFound")return Object.assign(Object.assign({succeeded:!1},(i=s.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:s.response});throw s}})}async undelete(e={}){return F.withSpan("BlobClient-undelete",e,async r=>V(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Cr(r.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-setHTTPHeaders",r,async n=>{var i;return V(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}))})}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Cr(r.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-setMetadata",r,async n=>{var i;return V(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))})}async setTags(e,r={}){return F.withSpan("BlobClient-setTags",r,async n=>{var i;return V(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions,tags:hIe(e)}))})}async getTags(e={}){return F.withSpan("BlobClient-getTags",e,async r=>{var n;let i=V(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:r.tracingOptions}));return Object.assign(Object.assign({},i),{_response:i._response,tags:Th({blobTagSet:i.blobTagSet})||{}})})}getBlobLeaseClient(e){return new Vh(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Cr(e.customerProvidedKey,this.isHttps),F.withSpan("BlobClient-createSnapshot",e,async r=>{var n;return V(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions}))})}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:(...s)=>this.abortCopyFromURL(...s),getProperties:(...s)=>this.getProperties(...s),startCopyFromURL:(...s)=>this.startCopyFromURL(...s)},i=new XR({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return F.withSpan("BlobClient-abortCopyFromURL",r,async n=>V(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},F.withSpan("BlobClient-syncCopyFromURL",r,async n=>{var i,s,o,a,A,c,l;return V(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(s=r.sourceConditions)===null||s===void 0?void 0:s.ifMatch,sourceIfModifiedSince:(o=r.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(a=r.sourceConditions)===null||a===void 0?void 0:a.ifNoneMatch,sourceIfUnmodifiedSince:(A=r.sourceConditions)===null||A===void 0?void 0:A.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:Uh(r.sourceAuthorization),tier:wA(r.tier),blobTagsString:NA(r.tags),immutabilityPolicyExpiry:(c=r.immutabilityPolicy)===null||c===void 0?void 0:c.expiriesOn,immutabilityPolicyMode:(l=r.immutabilityPolicy)===null||l===void 0?void 0:l.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,tracingOptions:n.tracingOptions}))})}async setAccessTier(e,r={}){return F.withSpan("BlobClient-setAccessTier",r,async n=>{var i;return V(await this.blobContext.setTier(wA(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions}))})}async downloadToBuffer(e,r,n,i={}){var s;let o,a=0,A=0,c=i;e instanceof Buffer?(o=e,a=r||0,A=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,A=typeof r=="number"?r:0,c=n||{});let l=(s=c.blockSize)!==null&&s!==void 0?s:0;if(l<0)throw new RangeError("blockSize option must be >= 0");if(l===0&&(l=RR),a<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={}),F.withSpan("BlobClient-downloadToBuffer",c,async u=>{if(!A){let g=await this.getProperties(Object.assign(Object.assign({},c),{tracingOptions:u.tracingOptions}));if(A=g.contentLength-a,A<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${g.contentLength}`)}if(!o)try{o=Buffer.alloc(A)}catch(g){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". ${g.message}`)}if(o.length<A)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${A}`);let d=0,f=new _C(c.concurrency);for(let g=a;g<a+A;g=g+l)f.addOperation(async()=>{let m=a+A;g+l<m&&(m=g+l);let C=(await this.download(g,m-g,{abortSignal:c.abortSignal,conditions:c.conditions,maxRetryRequests:c.maxRetryRequestsPerBlock,customerProvidedKey:c.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await Pbe(C,o,g-a,m-a),d+=m-g,c.onProgress&&c.onProgress({loadedBytes:d})});return await f.do(),o})}async downloadToFile(e,r=0,n,i={}){return F.withSpan("BlobClient-downloadToFile",i,async s=>{let o=await this.download(r,n,Object.assign(Object.assign({},i),{tracingOptions:s.tracingOptions}));return o.readableStreamBody&&await Obe(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 i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if(lv(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[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 F.withSpan("BlobClient-startCopyFromURL",r,async n=>{var i,s,o;return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},V(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:(s=r.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:wA(r.tier),blobTagsString:NA(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))})}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Yh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).toString();r(Fh(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Jh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=Yh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),r,this.accountName).toString();n(Fh(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return Jh(Object.assign({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId},e),r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return F.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>V(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return F.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>V(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return F.withSpan("BlobClient-setLegalHold",r,async n=>V(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return F.withSpan("BlobClient-getAccountInfo",e,async r=>V(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},Wh=class t extends Vi{constructor(e,r,n,i){let s,o;if(i=i||{},Aa(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=yu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=zr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,i);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,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(Ao(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Cr(e.customerProvidedKey,this.isHttps),F.withSpan("AppendBlobClient-create",e,async r=>{var n,i,s;return V(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:(i=e.immutabilityPolicy)===null||i===void 0?void 0:i.expiriesOn,immutabilityPolicyMode:(s=e.immutabilityPolicy)===null||s===void 0?void 0:s.policyMode,legalHold:e.legalHold,blobTagsString:NA(e.tags),tracingOptions:r.tracingOptions}))})}async createIfNotExists(e={}){let r={ifNoneMatch:MY};return F.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{var i,s;try{let o=V(await this.create(Object.assign(Object.assign({},n),{conditions:r})));return Object.assign(Object.assign({succeeded:!0},o),{_response:o._response})}catch(o){if(((i=o.details)===null||i===void 0?void 0:i.errorCode)==="BlobAlreadyExists")return Object.assign(Object.assign({succeeded:!1},(s=o.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:o.response});throw o}})}async seal(e={}){return e.conditions=e.conditions||{},F.withSpan("AppendBlobClient-seal",e,async r=>{var n;return V(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:Object.assign(Object.assign({},e.conditions),{ifTags:(n=e.conditions)===null||n===void 0?void 0:n.tagConditions}),tracingOptions:r.tracingOptions}))})}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},Cr(n.customerProvidedKey,this.isHttps),F.withSpan("AppendBlobClient-appendBlock",n,async i=>{var s;return V(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}))})}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Cr(i.customerProvidedKey,this.isHttps),F.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>{var o,a,A,c,l;return V(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Wn({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(a=i.sourceConditions)===null||a===void 0?void 0:a.ifMatch,sourceIfModifiedSince:(A=i.sourceConditions)===null||A===void 0?void 0:A.ifModifiedSince,sourceIfNoneMatch:(c=i.sourceConditions)===null||c===void 0?void 0:c.ifNoneMatch,sourceIfUnmodifiedSince:(l=i.sourceConditions)===null||l===void 0?void 0:l.ifUnmodifiedSince},copySourceAuthorization:Uh(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}))})}},$h=class t extends Vi{constructor(e,r,n,i){let s,o;if(i=i||{},Aa(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,n&&typeof n!="string"&&(i=n),s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=yu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=zr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,i);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,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(Ao(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Cr(r.customerProvidedKey,this.isHttps),!st.isNode)throw new Error("This operation currently is only supported in Node.js.");return F.withSpan("BlockBlobClient-query",r,async n=>{var i;let s=V(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:xY(r.inputTextConfiguration),outputSerialization:xY(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new KR(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Cr(n.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-upload",n,async i=>{var s,o,a;return V(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:(o=n.immutabilityPolicy)===null||o===void 0?void 0:o.expiriesOn,immutabilityPolicyMode:(a=n.immutabilityPolicy)===null||a===void 0?void 0:a.policyMode,legalHold:n.legalHold,tier:wA(n.tier),blobTagsString:NA(n.tags),tracingOptions:i.tracingOptions}))})}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Cr(r.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>{var i,s,o,a,A,c;return V(await this.blockBlobContext.putBlobFromUrl(0,e,Object.assign(Object.assign({},r),{blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(s=r.sourceConditions)===null||s===void 0?void 0:s.ifMatch,sourceIfModifiedSince:(o=r.sourceConditions)===null||o===void 0?void 0:o.ifModifiedSince,sourceIfNoneMatch:(a=r.sourceConditions)===null||a===void 0?void 0:a.ifNoneMatch,sourceIfUnmodifiedSince:(A=r.sourceConditions)===null||A===void 0?void 0:A.ifUnmodifiedSince,sourceIfTags:(c=r.sourceConditions)===null||c===void 0?void 0:c.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:Uh(r.sourceAuthorization),tier:wA(r.tier),blobTagsString:NA(r.tags),copySourceTags:r.copySourceTags,tracingOptions:n.tracingOptions})))})}async stageBlock(e,r,n,i={}){return Cr(i.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-stageBlock",i,async s=>V(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return Cr(s.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-stageBlockFromURL",s,async o=>V(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:Wn({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:Uh(s.sourceAuthorization),tracingOptions:o.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Cr(r.customerProvidedKey,this.isHttps),F.withSpan("BlockBlobClient-commitBlockList",r,async n=>{var i,s,o;return V(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(s=r.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:r.legalHold,tier:wA(r.tier),blobTagsString:NA(r.tags),tracingOptions:n.tracingOptions}))})}async getBlockList(e,r={}){return F.withSpan("BlockBlobClient-getBlockList",r,async n=>{var i;let s=V(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}));return s.committedBlocks||(s.committedBlocks=[]),s.uncommittedBlocks||(s.uncommittedBlocks=[]),s})}async uploadData(e,r={}){return F.withSpan("BlockBlobClient-uploadData",r,async n=>{if(st.isNode){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,o)=>i.slice(s,s+o),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,o)=>i.slice(s,s+o),i.size,n)}})}async uploadBrowserData(e,r={}){return F.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,o)=>i.slice(s,s+o),i.size,n)})}async uploadSeekableInternal(e,r,n={}){var i,s;let o=(i=n.blockSize)!==null&&i!==void 0?i:0;if(o<0||o>NR)throw new RangeError(`blockSize option must be >= 0 and <= ${NR}`);let a=(s=n.maxSingleShotSize)!==null&&s!==void 0?s:bR;if(a<0||a>bR)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${bR}`);if(o===0){if(r>NR*EC)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>a&&(o=Math.ceil(r/EC),o<RR&&(o=RR))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),F.withSpan("BlockBlobClient-uploadSeekableInternal",n,async A=>{if(r<=a)return V(await this.upload(e(0,r),r,A));let c=Math.floor((r-1)/o)+1;if(c>EC)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${EC}`);let l=[],u=st.randomUUID(),d=0,f=new _C(n.concurrency);for(let g=0;g<c;g++)f.addOperation(async()=>{let m=SY(u,g),E=o*g,I=(g===c-1?r:E+o)-E;l.push(m),await this.stageBlock(m,e(E,I),I,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:A.tracingOptions}),d+=I,n.onProgress&&n.onProgress({loadedBytes:d})});return await f.do(),this.commitBlockList(l,A)})}async uploadFile(e,r={}){return F.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await Lbe(e)).size;return this.uploadSeekableInternal((s,o)=>()=>Mbe(e,{autoClose:!0,end:o?s+o-1:1/0,start:s}),i,Object.assign(Object.assign({},r),{tracingOptions:n.tracingOptions}))})}async uploadStream(e,r=VCe,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),F.withSpan("BlockBlobClient-uploadStream",i,async s=>{let o=0,a=st.randomUUID(),A=0,c=[];return await new tv(e,r,n,async(u,d)=>{let f=SY(a,o);c.push(f),o++,await this.stageBlock(f,u,d,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),A+=d,i.onProgress&&i.onProgress({loadedBytes:A})},Math.ceil(n/4*3)).do(),V(await this.commitBlockList(c,Object.assign(Object.assign({},i),{tracingOptions:s.tracingOptions})))})}},Kh=class t extends Vi{constructor(e,r,n,i){let s,o;if(i=i||{},Aa(r))o=e,s=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r))o=e,i=n,s=ut(r,i);else if(!r&&typeof r!="string")o=e,s=ut(new dt,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,A=n,c=yu(e);if(c.kind==="AccountConnString")if(st.isNode){let l=new lt(c.accountName,c.accountKey);o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A)),i.proxyOptions||(i.proxyOptions=zr.getDefaultProxySettings(c.proxyUri)),s=ut(l,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")o=Pt(Pt(c.url,encodeURIComponent(a)),encodeURIComponent(A))+"?"+c.accountSas,s=ut(new dt,i);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,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(Ao(this.url,Ji.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Cr(r.customerProvidedKey,this.isHttps),F.withSpan("PageBlobClient-create",r,async n=>{var i,s,o;return V(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:(s=r.immutabilityPolicy)===null||s===void 0?void 0:s.expiriesOn,immutabilityPolicyMode:(o=r.immutabilityPolicy)===null||o===void 0?void 0:o.policyMode,legalHold:r.legalHold,tier:wA(r.tier),blobTagsString:NA(r.tags),tracingOptions:n.tracingOptions}))})}async createIfNotExists(e,r={}){return F.withSpan("PageBlobClient-createIfNotExists",r,async n=>{var i,s;try{let o={ifNoneMatch:MY},a=V(await this.create(e,Object.assign(Object.assign({},r),{conditions:o,tracingOptions:n.tracingOptions})));return Object.assign(Object.assign({succeeded:!0},a),{_response:a._response})}catch(o){if(((i=o.details)===null||i===void 0?void 0:i.errorCode)==="BlobAlreadyExists")return Object.assign(Object.assign({succeeded:!1},(s=o.response)===null||s===void 0?void 0:s.parsedHeaders),{_response:o.response});throw o}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},Cr(i.customerProvidedKey,this.isHttps),F.withSpan("PageBlobClient-uploadPages",i,async s=>{var o;return V(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),requestOptions:{onUploadProgress:i.onProgress},range:Wn({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}))})}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},Cr(s.customerProvidedKey,this.isHttps),F.withSpan("PageBlobClient-uploadPagesFromURL",s,async o=>{var a,A,c,l,u;return V(await this.pageBlobContext.uploadPagesFromURL(e,Wn({offset:r,count:i}),0,Wn({offset:n,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s.conditions),{ifTags:(a=s.conditions)===null||a===void 0?void 0:a.tagConditions}),sourceModifiedAccessConditions:{sourceIfMatch:(A=s.sourceConditions)===null||A===void 0?void 0:A.ifMatch,sourceIfModifiedSince:(c=s.sourceConditions)===null||c===void 0?void 0:c.ifModifiedSince,sourceIfNoneMatch:(l=s.sourceConditions)===null||l===void 0?void 0:l.ifNoneMatch,sourceIfUnmodifiedSince:(u=s.sourceConditions)===null||u===void 0?void 0:u.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:Uh(s.sourceAuthorization),tracingOptions:o.tracingOptions}))})}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},F.withSpan("PageBlobClient-clearPages",n,async i=>{var s;return V(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),range:Wn({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}))})}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},F.withSpan("PageBlobClient-getPageRanges",n,async i=>{var s;let o=V(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),range:Wn({offset:e,count:r}),tracingOptions:i.tracingOptions}));return SR(o)})}async listPageRangesSegment(e=0,r,n,i={}){return F.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>{var o;return V(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),range:Wn({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions}))})}listPageRangeItemSegments(){return q.__asyncGenerator(this,arguments,function*(r=0,n,i,s={}){let o;if(i||i===void 0)do o=yield q.__await(this.listPageRangesSegment(r,n,i,s)),i=o.continuationToken,yield yield q.__await(yield q.__await(o));while(i)})}listPageRangeItems(){return q.__asyncGenerator(this,arguments,function*(r=0,n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.listPageRangeItemSegments(r,n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let f=A;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(RY(f))))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},F.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{var o;let a=V(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),prevsnapshot:n,range:Wn({offset:e,count:r}),tracingOptions:s.tracingOptions}));return SR(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return F.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async o=>{var a;return V(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:Object.assign(Object.assign({},s?.conditions),{ifTags:(a=s?.conditions)===null||a===void 0?void 0:a.tagConditions}),prevsnapshot:n,range:Wn({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:o.tracingOptions}))})}listPageRangeDiffItemSegments(e,r,n,i,s){return q.__asyncGenerator(this,arguments,function*(){let a;if(i||i===void 0)do a=yield q.__await(this.listPageRangesDiffSegment(e,r,n,i,s)),i=a.continuationToken,yield yield q.__await(yield q.__await(a));while(i)})}listPageRangeDiffItems(e,r,n,i){return q.__asyncGenerator(this,arguments,function*(){var o,a,A,c;let l;try{for(var u=!0,d=q.__asyncValues(this.listPageRangeDiffItemSegments(e,r,n,l,i)),f;f=yield q.__await(d.next()),o=f.done,!o;u=!0){c=f.value,u=!1;let g=c;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(RY(g))))}}catch(g){a={error:g}}finally{try{!u&&!o&&(A=d.return)&&(yield q.__await(A.call(d)))}finally{if(a)throw a.error}}})}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,Object.assign({},i));return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listPageRangeDiffItemSegments(e,r,n,o.continuationToken,Object.assign({maxPageSize:o.maxPageSize},i))}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},F.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{var o;let a=V(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:Object.assign(Object.assign({},i.conditions),{ifTags:(o=i.conditions)===null||o===void 0?void 0:o.tagConditions}),prevSnapshotUrl:n,range:Wn({offset:e,count:r}),tracingOptions:s.tracingOptions}));return SR(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},F.withSpan("PageBlobClient-resize",r,async n=>{var i;return V(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))})}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},F.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>{var s;return V(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:Object.assign(Object.assign({},n.conditions),{ifTags:(s=n.conditions)===null||s===void 0?void 0:s.tagConditions}),tracingOptions:i.tracingOptions}))})}async startCopyIncremental(e,r={}){return F.withSpan("PageBlobClient-startCopyIncremental",r,async n=>{var i;return V(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:Object.assign(Object.assign({},r.conditions),{ifTags:(i=r.conditions)===null||i===void 0?void 0:i.tagConditions}),tracingOptions:n.tracingOptions}))})}};async function Fbe(t){let e=Buffer.alloc(ZCe),r=await Tbe(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}function Ube(t){return Buffer.byteLength(t)}var BC=": ",PY=" ",TY=-1,rv=class{constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${ao}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==KCe.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await Fbe(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),s=0,o=0;for(let a=0;a<n;a++){let A=r[a],c={};c.headers=PC.toHttpHeadersLike(zr.createHttpHeaders());let l=A.split(`${ao}`),u=!1,d=!1,f=!1,g=TY;for(let m of l){if(!u){if(m.startsWith(Ie.CONTENT_ID)&&(g=parseInt(m.split(BC)[1])),m.startsWith(FY)){u=!0;let E=m.split(PY);c.status=parseInt(E[1]),c.statusMessage=E.slice(2).join(PY)}continue}if(m.trim()===""){d||(d=!0);continue}if(d)c.bodyAsText||(c.bodyAsText=""),c.bodyAsText+=m;else{if(m.indexOf(BC)===-1)throw new Error(`Invalid state: find non-empty line '${m}' without HTTP header delimiter '${BC}'.`);let E=m.split(BC);c.headers.set(E[0],E[1]),E[0]===Ie.X_MS_ERROR_CODE&&(c.errorCode=E[1],f=!0)}}g!==TY&&Number.isInteger(g)&&g>=0&&g<this.subRequests.size&&i[g]===void 0?(c._request=this.subRequests.get(g),i[g]=c):nr.error(`subResponses[${a}] is dropped as the Content-ID is not found or invalid, Content-ID: ${g}`),f?o++:s++}return{subResponses:i,subResponsesSucceededCount:s,subResponsesFailedCount:o}}},lu;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(lu||(lu={}));var hu=class{static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===lu.UNLOCKED?(this.keys[e]=lu.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=lu.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===lu.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};hu.keys={};hu.listeners={};var du=class{constructor(){this.batch="batch",this.batchRequest=new nv}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await hu.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await hu.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),this.batchType!==e)throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}async deleteBlob(e,r,n){let i,s;if(typeof e=="string"&&(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r)))i=e,s=r;else if(e instanceof Vi)i=e.url,s=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),F.withSpan("BatchDeleteRequest-addSubRequest",n,async o=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new Vi(i,this.batchRequest.createPipeline(s)).delete(o)})})}async setBlobAccessTier(e,r,n,i){let s,o,a;if(typeof e=="string"&&(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r)))s=e,o=r,a=n;else if(e instanceof Vi)s=e.url,o=e.credential,a=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),F.withSpan("BatchSetTierRequest-addSubRequest",i,async A=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:o},async()=>{await new Vi(s,this.batchRequest.createPipeline(o)).setAccessTier(a,A)})})}},nv=class{constructor(){this.operationCount=0,this.body="";let e=st.randomUUID();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${ao}${Ie.CONTENT_TYPE}: application/http${ao}${Ie.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=zr.createEmptyPipeline();r.addPolicy(Mh.serializationPolicy({stringifyXML:xR.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(Hbe()),r.addPolicy(qbe(this),{afterPhase:"Sign"}),Ci.isTokenCredential(e)?r.addPolicy(zr.bearerTokenAuthenticationPolicy({credential:e,scopes:cv,challengeCallbacks:{authorizeRequestOnChallenge:Mh.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof lt&&r.addPolicy(YY({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new zh([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${Ie.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${uIe(e.url)} ${FY}${ao}`].join(ao);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${ao}`;this.body+=ao}preAddSubRequest(e){if(this.operationCount>=NY)throw new RangeError(`Cannot exceed ${NY} sub requests in a single batch`);let r=LC(e.url);if(!r||r==="")throw new RangeError(`Invalid url for sub request: '${e.url}'`)}postAddSubRequest(e){this.subRequests.set(this.operationCount,e),this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${ao}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function qbe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:zr.createHttpHeaders()}}}}function Hbe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)jY(n,Ie.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}var Xh=class{constructor(e,r,n){let i;Aa(r)?i=r:r?i=ut(r,n):i=ut(new dt,n);let s=new vC(e,JY(i)),o=LC(e);o&&o!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new du}async deleteBlobs(e,r,n){let i=new du;for(let s of e)typeof s=="string"?await i.deleteBlob(s,r,n):await i.deleteBlob(s,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let s=new du;for(let o of e)typeof o=="string"?await s.setBlobAccessTier(o,r,n,i):await s.setBlobAccessTier(o,r,n);return this.submitBatch(s)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return F.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=V(await this.serviceOrContainerContext.submitBatch(Ube(i),e.getMultiPartContentType(),i,Object.assign({},n))),a=await new rv(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:a.subResponses,subResponsesSucceededCount:a.subResponsesSucceededCount,subResponsesFailedCount:a.subResponsesFailedCount}})}},DC=class extends Gh{get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},Aa(r))s=e,i=r;else if(st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r))s=e,i=ut(r,n);else if(!r&&typeof r!="string")s=e,i=ut(new dt,n);else if(r&&typeof r=="string"){let o=r,a=yu(e);if(a.kind==="AccountConnString")if(st.isNode){let A=new lt(a.accountName,a.accountKey);s=Pt(a.url,encodeURIComponent(o)),n.proxyOptions||(n.proxyOptions=zr.getDefaultProxySettings(a.proxyUri)),i=ut(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(a.kind==="SASConnString")s=Pt(a.url,encodeURIComponent(o))+"?"+a.accountSas,i=ut(new dt,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName parameter");super(s,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return F.withSpan("ContainerClient-create",e,async r=>V(await this.containerContext.create(r)))}async createIfNotExists(e={}){return F.withSpan("ContainerClient-createIfNotExists",e,async r=>{var n,i;try{let s=await this.create(r);return Object.assign(Object.assign({succeeded:!0},s),{_response:s._response})}catch(s){if(((n=s.details)===null||n===void 0?void 0:n.errorCode)==="ContainerAlreadyExists")return Object.assign(Object.assign({succeeded:!1},(i=s.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:s.response});throw s}})}async exists(e={}){return F.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new Vi(Pt(this.url,CC(e)),this.pipeline)}getAppendBlobClient(e){return new Wh(Pt(this.url,CC(e)),this.pipeline)}getBlockBlobClient(e){return new $h(Pt(this.url,CC(e)),this.pipeline)}getPageBlobClient(e){return new Kh(Pt(this.url,CC(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),F.withSpan("ContainerClient-getProperties",e,async r=>V(await this.containerContext.getProperties(Object.assign(Object.assign({abortSignal:e.abortSignal},e.conditions),{tracingOptions:r.tracingOptions}))))}async delete(e={}){return e.conditions||(e.conditions={}),F.withSpan("ContainerClient-delete",e,async r=>V(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return F.withSpan("ContainerClient-deleteIfExists",e,async r=>{var n,i;try{let s=await this.delete(r);return Object.assign(Object.assign({succeeded:!0},s),{_response:s._response})}catch(s){if(((n=s.details)===null||n===void 0?void 0:n.errorCode)==="ContainerNotFound")return Object.assign(Object.assign({succeeded:!1},(i=s.response)===null||i===void 0?void 0:i.parsedHeaders),{_response:s.response});throw s}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return F.withSpan("ContainerClient-setMetadata",r,async n=>V(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),F.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=V(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let s of n){let o;s.accessPolicy&&(o={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(o.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(o.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:o,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},F.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let o of r||[])s.push({accessPolicy:{expiresOn:o.accessPolicy.expiresOn?Xe(o.accessPolicy.expiresOn):"",permissions:o.accessPolicy.permissions,startsOn:o.accessPolicy.startsOn?Xe(o.accessPolicy.startsOn):""},id:o.id});return V(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new Vh(this,e)}async uploadBlockBlob(e,r,n,i={}){return F.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let o=this.getBlockBlobClient(e),a=await o.upload(r,n,s);return{blockBlobClient:o,response:a}})}async deleteBlob(e,r={}){return F.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return F.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=V(await this.containerContext.listBlobFlatSegment(Object.assign(Object.assign({marker:e},r),{tracingOptions:n.tracingOptions})));return Object.assign(Object.assign({},i),{_response:Object.assign(Object.assign({},i._response),{parsedBody:gIe(i._response.parsedBody)}),segment:Object.assign(Object.assign({},i.segment),{blobItems:i.segment.blobItems.map(o=>Object.assign(Object.assign({},o),{name:uu(o.name),tags:Th(o.blobTags),objectReplicationSourceProperties:QC(o.objectReplicationMetadata)}))})})})}async listBlobHierarchySegment(e,r,n={}){return F.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{var s;let o=V(await this.containerContext.listBlobHierarchySegment(e,Object.assign(Object.assign({marker:r},n),{tracingOptions:i.tracingOptions})));return Object.assign(Object.assign({},o),{_response:Object.assign(Object.assign({},o._response),{parsedBody:mIe(o._response.parsedBody)}),segment:Object.assign(Object.assign({},o.segment),{blobItems:o.segment.blobItems.map(A=>Object.assign(Object.assign({},A),{name:uu(A.name),tags:Th(A.blobTags),objectReplicationSourceProperties:QC(A.objectReplicationMetadata)})),blobPrefixes:(s=o.segment.blobPrefixes)===null||s===void 0?void 0:s.map(A=>Object.assign(Object.assign({},A),{name:uu(A.name)}))})})})}listSegments(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){let s;if(n||n===void 0)do s=yield q.__await(this.listBlobFlatSegment(n,i)),n=s.continuationToken,yield yield q.__await(yield q.__await(s));while(n)})}listItems(){return q.__asyncGenerator(this,arguments,function*(r={}){var n,i,s,o;let a;try{for(var A=!0,c=q.__asyncValues(this.listSegments(a,r)),l;l=yield q.__await(c.next()),n=l.done,!n;A=!0){o=l.value,A=!1;let u=o;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(u.segment.blobItems)))}}catch(u){i={error:u}}finally{try{!A&&!n&&(s=c.return)&&(yield q.__await(s.call(c)))}finally{if(i)throw i.error}}})}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n=Object.assign(Object.assign({},e),r.length>0?{include:r}:{}),i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}listHierarchySegments(e,r){return q.__asyncGenerator(this,arguments,function*(i,s,o={}){let a;if(s||s===void 0)do a=yield q.__await(this.listBlobHierarchySegment(i,s,o)),s=a.continuationToken,yield yield q.__await(yield q.__await(a));while(s)})}listItemsByHierarchy(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.listHierarchySegments(n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let g=A.segment;if(g.blobPrefixes)for(let m of g.blobPrefixes)yield yield q.__await(Object.assign({kind:"prefix"},m));for(let m of g.blobItems)yield yield q.__await(Object.assign({kind:"blob"},m))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i=Object.assign(Object.assign({},r),n.length>0?{include:n}:{}),s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(o={})=>this.listHierarchySegments(e,o.continuationToken,Object.assign({maxPageSize:o.maxPageSize},i))}}async findBlobsByTagsSegment(e,r,n={}){return F.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=V(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(a=>{var A;let c="";return((A=a.tags)===null||A===void 0?void 0:A.blobTagSet.length)===1&&(c=a.tags.blobTagSet[0].value),Object.assign(Object.assign({},a),{tags:Th(a.tags),tagValue:c})})})})}findBlobsByTagsSegments(e,r){return q.__asyncGenerator(this,arguments,function*(i,s,o={}){let a;if(s||s===void 0)do a=yield q.__await(this.findBlobsByTagsSegment(i,s,o)),a.blobs=a.blobs||[],s=a.continuationToken,yield yield q.__await(a);while(s)})}findBlobsByTagsItems(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.findBlobsByTagsSegments(n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let f=A;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(f.blobs)))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}findBlobsByTags(e,r={}){let n=Object.assign({},r),i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}async getAccountInfo(e={}){return F.withSpan("ContainerClient-getAccountInfo",e,async r=>V(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:lv(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Yh(Object.assign({containerName:this._containerName},e),this.credential).toString();r(Fh(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof lt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Jh(Object.assign({containerName:this._containerName},e),this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=Yh(Object.assign({containerName:this._containerName},e),r,this.accountName).toString();n(Fh(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return Jh(Object.assign({containerName:this._containerName},e),r,this.accountName).stringToSign}getBlobBatchClient(){return new Xh(this.url,this.pipeline)}},gu=class t{constructor(){this.read=!1,this.write=!1,this.delete=!1,this.deleteVersion=!1,this.list=!1,this.add=!1,this.create=!1,this.update=!1,this.process=!1,this.tag=!1,this.filter=!1,this.setImmutabilityPolicy=!1,this.permanentDelete=!1}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}},kC=class t{constructor(){this.service=!1,this.container=!1,this.object=!1}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}},mu=class t{constructor(){this.blob=!1,this.file=!1,this.queue=!1,this.table=!1}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};function f3(t,e){return h3(t,e).sasQueryParameters}function h3(t,e){let r=t.version?t.version:Av;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=gu.parse(t.permissions.toString()),i=mu.parse(t.services).toString(),s=kC.parse(t.resourceTypes).toString(),o;r>="2020-12-06"?o=[e.accountName,n,i,s,t.startsOn?Xe(t.startsOn,!1):"",Xe(t.expiresOn,!1),t.ipRange?uo(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(`
|
|
`):o=[e.accountName,n,i,s,t.startsOn?Xe(t.startsOn,!1):"",Xe(t.expiresOn,!1),t.ipRange?uo(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(`
|
|
`);let a=e.computeHMACSHA256(o);return{sasQueryParameters:new ws(r,a,n.toString(),i,s,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:o}}var iv=class t extends Gh{static fromConnectionString(e,r){r=r||{};let n=yu(e);if(n.kind==="AccountConnString")if(st.isNode){let i=new lt(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=zr.getDefaultProxySettings(n.proxyUri));let s=ut(i,r);return new t(n.url,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=ut(new dt,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;Aa(r)?i=r:st.isNode&&r instanceof lt||r instanceof dt||Ci.isTokenCredential(r)?i=ut(r,n):i=ut(new dt,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new DC(Pt(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return F.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),s=await i.create(n);return{containerClient:i,containerCreateResponse:s}})}async deleteContainer(e,r={}){return F.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return F.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),o=s.storageClientContext.container,a=V(await o.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:a}})}async renameContainer(e,r,n={}){return F.withSpan("BlobServiceClient-renameContainer",n,async i=>{var s;let o=this.getContainerClient(r),a=o.storageClientContext.container,A=V(await a.rename(e,Object.assign(Object.assign({},i),{sourceLeaseId:(s=n.sourceCondition)===null||s===void 0?void 0:s.leaseId})));return{containerClient:o,containerRenameResponse:A}})}async getProperties(e={}){return F.withSpan("BlobServiceClient-getProperties",e,async r=>V(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return F.withSpan("BlobServiceClient-setProperties",r,async n=>V(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return F.withSpan("BlobServiceClient-getStatistics",e,async r=>V(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return F.withSpan("BlobServiceClient-getAccountInfo",e,async r=>V(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return F.withSpan("BlobServiceClient-listContainersSegment",r,async n=>V(await this.serviceContext.listContainersSegment(Object.assign(Object.assign({abortSignal:r.abortSignal,marker:e},r),{include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions}))))}async findBlobsByTagsSegment(e,r,n={}){return F.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=V(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return Object.assign(Object.assign({},s),{_response:s._response,blobs:s.blobs.map(a=>{var A;let c="";return((A=a.tags)===null||A===void 0?void 0:A.blobTagSet.length)===1&&(c=a.tags.blobTagSet[0].value),Object.assign(Object.assign({},a),{tags:Th(a.tags),tagValue:c})})})})}findBlobsByTagsSegments(e,r){return q.__asyncGenerator(this,arguments,function*(i,s,o={}){let a;if(s||s===void 0)do a=yield q.__await(this.findBlobsByTagsSegment(i,s,o)),a.blobs=a.blobs||[],s=a.continuationToken,yield yield q.__await(a);while(s)})}findBlobsByTagsItems(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){var s,o,a,A;let c;try{for(var l=!0,u=q.__asyncValues(this.findBlobsByTagsSegments(n,c,i)),d;d=yield q.__await(u.next()),s=d.done,!s;l=!0){A=d.value,l=!1;let f=A;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(f.blobs)))}}catch(f){o={error:f}}finally{try{!l&&!s&&(a=u.return)&&(yield q.__await(a.call(u)))}finally{if(o)throw o.error}}})}findBlobsByTags(e,r={}){let n=Object.assign({},r),i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}listSegments(e){return q.__asyncGenerator(this,arguments,function*(n,i={}){let s;if(n||n===void 0)do s=yield q.__await(this.listContainersSegment(n,i)),s.containerItems=s.containerItems||[],n=s.continuationToken,yield yield q.__await(yield q.__await(s));while(n)})}listItems(){return q.__asyncGenerator(this,arguments,function*(r={}){var n,i,s,o;let a;try{for(var A=!0,c=q.__asyncValues(this.listSegments(a,r)),l;l=yield q.__await(c.next()),n=l.done,!n;A=!0){o=l.value,A=!1;let u=o;yield q.__await(yield*q.__asyncDelegator(q.__asyncValues(u.containerItems)))}}catch(u){i={error:u}}finally{try{!A&&!n&&(s=c.return)&&(yield q.__await(s.call(c)))}finally{if(i)throw i.error}}})}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n=Object.assign(Object.assign({},e),r.length>0?{include:r}:{}),i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,Object.assign({maxPageSize:s.maxPageSize},n))}}async getUserDelegationKey(e,r,n={}){return F.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=V(await this.serviceContext.getUserDelegationKey({startsOn:Xe(e,!1),expiresOn:Xe(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),o={signedObjectId:s.signedObjectId,signedTenantId:s.signedTenantId,signedStartsOn:new Date(s.signedStartsOn),signedExpiresOn:new Date(s.signedExpiresOn),signedService:s.signedService,signedVersion:s.signedVersion,value:s.value};return Object.assign({_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode},o)})}getBlobBatchClient(){return new Xh(this.url,this.pipeline)}generateAccountSasUrl(e,r=gu.parse("r"),n="sco",i={}){if(!(this.credential instanceof lt))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let o=new Date;e=new Date(o.getTime()+3600*1e3)}let s=f3(Object.assign({permissions:r,expiresOn:e,resourceTypes:n,services:mu.parse("b").toString()},i),this.credential).toString();return Fh(this.url,s)}generateSasStringToSign(e,r=gu.parse("r"),n="sco",i={}){if(!(this.credential instanceof lt))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let s=new Date;e=new Date(s.getTime()+3600*1e3)}return h3(Object.assign({permissions:r,expiresOn:e,resourceTypes:n,services:mu.parse("b").toString()},i),this.credential).stringToSign}};se.KnownEncryptionAlgorithmType=void 0;(function(t){t.AES256="AES256"})(se.KnownEncryptionAlgorithmType||(se.KnownEncryptionAlgorithmType={}));Object.defineProperty(se,"RestError",{enumerable:!0,get:function(){return zr.RestError}});se.AccountSASPermissions=gu;se.AccountSASResourceTypes=kC;se.AccountSASServices=mu;se.AnonymousCredential=dt;se.AnonymousCredentialPolicy=SC;se.AppendBlobClient=Wh;se.BaseRequestPolicy=fu;se.BlobBatch=du;se.BlobBatchClient=Xh;se.BlobClient=Vi;se.BlobLeaseClient=Vh;se.BlobSASPermissions=co;se.BlobServiceClient=iv;se.BlockBlobClient=$h;se.ContainerClient=DC;se.ContainerSASPermissions=lo;se.Credential=Hh;se.CredentialPolicy=qh;se.PageBlobClient=Kh;se.Pipeline=zh;se.SASQueryParameters=ws;se.StorageBrowserPolicy=xC;se.StorageBrowserPolicyFactory=RC;se.StorageOAuthScopes=cv;se.StorageRetryPolicy=bC;se.StorageRetryPolicyFactory=NC;se.StorageSharedKeyCredential=lt;se.StorageSharedKeyCredentialPolicy=wC;se.generateAccountSASQueryParameters=f3;se.generateBlobSASQueryParameters=Yh;se.getBlobServiceAccountAudience=vbe;se.isPipelineLike=Aa;se.logger=nr;se.newPipeline=ut});var vv=h(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.UsageError=bn.NetworkError=bn.GHESNotSupportedError=bn.CacheNotFoundError=bn.InvalidResponseError=bn.FilesNotFoundError=void 0;var wv=class extends Error{constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};bn.FilesNotFoundError=wv;var Sv=class extends Error{constructor(e){super(e),this.name="InvalidResponseError"}};bn.InvalidResponseError=Sv;var xv=class extends Error{constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};bn.CacheNotFoundError=xv;var Rv=class extends Error{constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e),this.name="GHESNotSupportedError"}};bn.GHESNotSupportedError=Rv;var zC=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"}};bn.NetworkError=zC;zC.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var GC=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.
|
|
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"}};bn.UsageError=GC;GC.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1});var g3=h(Nn=>{"use strict";var jbe=Nn&&Nn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),zbe=Nn&&Nn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Gbe=Nn&&Nn.__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)&&jbe(e,t,r);return zbe(e,t),e},Ybe=Nn&&Nn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.uploadCacheArchiveSDK=Nn.UploadProgress=void 0;var _v=Gbe(at()),Jbe=Nv(),Vbe=vv(),YC=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,i=(e/(1024*1024)/(n/1e3)).toFixed(1);_v.info(`Sent ${e} of ${this.contentLength} (${r}%), ${i} 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()}};Nn.UploadProgress=YC;function Wbe(t,e,r){var n;return Ybe(this,void 0,void 0,function*(){let i=new Jbe.BlobClient(t),s=i.getBlockBlobClient(),o=new YC((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(),_v.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let A=yield s.uploadFile(e,a);if(A._response.status>=400)throw new Vbe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${A._response.status}`);return A}catch(A){throw _v.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${A.message}`),A}finally{o.stopDisplayTimer()}})}Nn.uploadCacheArchiveSDK=Wbe});var kv=h(qt=>{"use strict";var $be=qt&&qt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Kbe=qt&&qt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Xbe=qt&&qt.__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)&&$be(e,t,r);return Kbe(e,t),e},VC=qt&&qt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(qt,"__esModule",{value:!0});qt.retryHttpClientResponse=qt.retryTypedResponse=qt.retry=qt.isRetryableStatusCode=qt.isServerErrorStatusCode=qt.isSuccessStatusCode=void 0;var m3=Xbe(at()),JC=oA(),Mu=Jf();function Zbe(t){return t?t>=200&&t<300:!1}qt.isSuccessStatusCode=Zbe;function p3(t){return t?t>=500:!0}qt.isServerErrorStatusCode=p3;function y3(t){return t?[JC.HttpCodes.BadGateway,JC.HttpCodes.ServiceUnavailable,JC.HttpCodes.GatewayTimeout].includes(t):!1}qt.isRetryableStatusCode=y3;function e0e(t){return VC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function Dv(t,e,r,n=Mu.DefaultRetryAttempts,i=Mu.DefaultRetryDelay,s=void 0){return VC(this,void 0,void 0,function*(){let o="",a=1;for(;a<=n;){let A,c,l=!1;try{A=yield e()}catch(u){s&&(A=s(u)),l=!0,o=u.message}if(A&&(c=r(A),!p3(c)))return A;if(c&&(l=y3(c),o=`Cache service responded with ${c}`),m3.debug(`${t} - Attempt ${a} of ${n} failed with error: ${o}`),!l){m3.debug(`${t} - Error is not retryable`);break}yield e0e(i),a++}throw Error(`${t} failed: ${o}`)})}qt.retry=Dv;function t0e(t,e,r=Mu.DefaultRetryAttempts,n=Mu.DefaultRetryDelay){return VC(this,void 0,void 0,function*(){return yield Dv(t,e,i=>i.statusCode,r,n,i=>{if(i instanceof JC.HttpClientError)return{statusCode:i.statusCode,result:null,headers:{},error:i}})})}qt.retryTypedResponse=t0e;function r0e(t,e,r=Mu.DefaultRetryAttempts,n=Mu.DefaultRetryDelay){return VC(this,void 0,void 0,function*(){return yield Dv(t,e,i=>i.message.statusCode,r,n)})}qt.retryHttpClientResponse=r0e});var C3=h(ng=>{"use strict";Object.defineProperty(ng,"__esModule",{value:!0});var Fu=new WeakMap,WC=new WeakMap,rg=class t{constructor(){this.onabort=null,Fu.set(this,[]),WC.set(this,!1)}get aborted(){if(!WC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return WC.get(this)}static get none(){return new t}addEventListener(e,r){if(!Fu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Fu.get(this).push(r)}removeEventListener(e,r){if(!Fu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Fu.get(this),i=n.indexOf(r);i>-1&&n.splice(i,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 E3(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Fu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),WC.set(t,!0)}var Pv=class extends Error{constructor(e){super(e),this.name="AbortError"}},Tv=class{constructor(e){if(this._signal=new rg,!!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(){E3(this._signal)}static timeout(e){let r=new rg,n=setTimeout(E3,e,r);return typeof n.unref=="function"&&n.unref(),r}};ng.AbortController=Tv;ng.AbortError=Pv;ng.AbortSignal=rg});var N3=h(Nr=>{"use strict";var n0e=Nr&&Nr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),i0e=Nr&&Nr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Uu=Nr&&Nr.__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)&&n0e(e,t,r);return i0e(e,t),e},Bi=Nr&&Nr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.downloadCacheStorageSDK=Nr.downloadCacheHttpClientConcurrent=Nr.downloadCacheHttpClient=Nr.DownloadProgress=void 0;var sg=Uu(at()),B3=oA(),s0e=Nv(),o0e=Uu(require("buffer")),ig=Uu(require("fs")),a0e=Uu(require("stream")),A0e=Uu(require("util")),c0e=Uu(fl()),I3=Jf(),Ov=kv(),l0e=C3();function u0e(t,e){return Bi(this,void 0,void 0,function*(){yield A0e.promisify(a0e.pipeline)(t.message,e)})}var og=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,sg.debug(`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,i=(e/(1024*1024)/(n/1e3)).toFixed(1);sg.info(`Received ${e} of ${this.contentLength} (${r}%), ${i} 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()}};Nr.DownloadProgress=og;function Q3(t,e){return Bi(this,void 0,void 0,function*(){let r=ig.createWriteStream(e),n=new B3.HttpClient("actions/cache"),i=yield(0,Ov.retryHttpClientResponse)("downloadCache",()=>Bi(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(I3.SocketTimeout,()=>{i.message.destroy(),sg.debug(`Aborting download, socket timed out after ${I3.SocketTimeout} ms`)}),yield u0e(i,r);let s=i.message.headers["content-length"];if(s){let o=parseInt(s),a=c0e.getArchiveFileSizeInBytes(e);if(a!==o)throw new Error(`Incomplete download. Expected file size: ${o}, actual file size: ${a}`)}else sg.debug("Unable to validate download, no Content-Length header")})}Nr.downloadCacheHttpClient=Q3;function d0e(t,e,r){var n;return Bi(this,void 0,void 0,function*(){let i=yield ig.promises.open(e,"w"),s=new B3.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let a=(yield(0,Ov.retryHttpClientResponse)("downloadCacheMetadata",()=>Bi(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(a==null)throw new Error("Content-Length not found on blob response");let A=parseInt(a);if(Number.isNaN(A))throw new Error(`Could not interpret Content-Length: ${A}`);let c=[],l=4*1024*1024;for(let I=0;I<A;I+=l){let N=Math.min(l,A-I);c.push({offset:I,promiseGetter:()=>Bi(this,void 0,void 0,function*(){return yield f0e(s,t,I,N)})})}c.reverse();let u=0,d=0,f=new og(A);f.startDisplayTimer();let g=f.onProgress(),m=[],E,C=()=>Bi(this,void 0,void 0,function*(){let I=yield Promise.race(Object.values(m));yield i.write(I.buffer,0,I.count,I.offset),u--,delete m[I.offset],d+=I.count,g({loadedBytes:d})});for(;E=c.pop();)m[E.offset]=E.promiseGetter(),u++,u>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield C());for(;u>0;)yield C()}finally{s.dispose(),yield i.close()}})}Nr.downloadCacheHttpClientConcurrent=d0e;function f0e(t,e,r,n){return Bi(this,void 0,void 0,function*(){let s=0;for(;;)try{let a=yield b3(3e4,h0e(t,e,r,n));if(typeof a=="string")throw new Error("downloadSegmentRetry failed due to timeout");return a}catch(o){if(s>=5)throw o;s++}})}function h0e(t,e,r,n){return Bi(this,void 0,void 0,function*(){let i=yield(0,Ov.retryHttpClientResponse)("downloadCachePart",()=>Bi(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}function g0e(t,e,r){var n;return Bi(this,void 0,void 0,function*(){let i=new s0e.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),o=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(o<0)sg.debug("Unable to determine content length, downloading file with http-client..."),yield Q3(t,e);else{let a=Math.min(134217728,o0e.constants.MAX_LENGTH),A=new og(o),c=ig.openSync(e,"w");try{A.startDisplayTimer();let l=new l0e.AbortController,u=l.signal;for(;!A.isDone();){let d=A.segmentOffset+A.segmentSize,f=Math.min(a,o-d);A.nextSegment(f);let g=yield b3(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(d,f,{abortSignal:u,concurrency:r.downloadConcurrency,onProgress:A.onProgress()}));if(g==="timeout")throw l.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(g)&&ig.writeFileSync(c,g)}}finally{A.stopDisplayTimer(),ig.closeSync(c)}}})}Nr.downloadCacheStorageSDK=g0e;var b3=(t,e)=>Bi(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))})});var w3=h(Qi=>{"use strict";var m0e=Qi&&Qi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),p0e=Qi&&Qi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),y0e=Qi&&Qi.__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)&&m0e(e,t,r);return p0e(e,t),e};Object.defineProperty(Qi,"__esModule",{value:!0});Qi.getDownloadOptions=Qi.getUploadOptions=void 0;var go=y0e(at());function E0e(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),go.debug(`Use Azure SDK: ${e.useAzureSdk}`),go.debug(`Upload concurrency: ${e.uploadConcurrency}`),go.debug(`Upload chunk size: ${e.uploadChunkSize}`),e}Qi.getUploadOptions=E0e;function C0e(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),go.debug(`Use Azure SDK: ${e.useAzureSdk}`),go.debug(`Download concurrency: ${e.downloadConcurrency}`),go.debug(`Request timeout (ms): ${e.timeoutInMs}`),go.debug(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),go.debug(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),go.debug(`Lookup only: ${e.lookupOnly}`),e}Qi.getDownloadOptions=C0e});var $C=h(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.getCacheServiceURL=fa.getCacheServiceVersion=fa.isGhes=void 0;function S3(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}fa.isGhes=S3;function x3(){return S3()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}fa.getCacheServiceVersion=x3;function I0e(){let t=x3();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}`)}}fa.getCacheServiceURL=I0e});var R3=h((U1e,B0e)=>{B0e.exports={name:"@actions/cache",version:"4.1.0",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",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"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0",semver:"^6.3.1"},devDependencies:{"@types/node":"^22.13.9","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"}}});var Lv=h(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});KC.getUserAgentString=void 0;var Q0e=R3();function b0e(){return`@actions/cache-${Q0e.version}`}KC.getUserAgentString=b0e});var _3=h(wr=>{"use strict";var N0e=wr&&wr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),w0e=wr&&wr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Fv=wr&&wr.__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)&&N0e(e,t,r);return w0e(e,t),e},wn=wr&&wr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(wr,"__esModule",{value:!0});wr.saveCache=wr.reserveCache=wr.downloadCache=wr.getCacheEntry=void 0;var Kn=Fv(at()),S0e=oA(),x0e=by(),Mv=Fv(require("fs")),R0e=require("url"),qu=Fv(fl()),v0e=g3(),XC=N3(),Uv=w3(),ha=kv(),_0e=$C(),D0e=Lv();function ag(t){let e=(0,_0e.getCacheServiceURL)();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return Kn.debug(`Resource Url: ${r}`),r}function k0e(t,e){return`${t};api-version=${e}`}function P0e(){return{headers:{Accept:k0e("application/json","6.0-preview.1")}}}function qv(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new x0e.BearerCredentialHandler(t);return new S0e.HttpClient((0,D0e.getUserAgentString)(),[e],P0e())}function T0e(t,e,r){return wn(this,void 0,void 0,function*(){let n=qv(),i=qu.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,o=yield(0,ha.retryTypedResponse)("getCacheEntry",()=>wn(this,void 0,void 0,function*(){return n.getJson(ag(s))}));if(o.statusCode===204)return Kn.isDebug()&&(yield O0e(t[0],n,i)),null;if(!(0,ha.isSuccessStatusCode)(o.statusCode))throw new Error(`Cache service responded with ${o.statusCode}`);let a=o.result,A=a?.archiveLocation;if(!A)throw new Error("Cache not found.");return Kn.setSecret(A),Kn.debug("Cache Result:"),Kn.debug(JSON.stringify(a)),a})}wr.getCacheEntry=T0e;function O0e(t,e,r){return wn(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,ha.retryTypedResponse)("listCache",()=>wn(this,void 0,void 0,function*(){return e.getJson(ag(n))}));if(i.statusCode===200){let s=i.result,o=s?.totalCount;if(o&&o>0){Kn.debug(`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 s?.artifactCaches||[])Kn.debug(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function L0e(t,e,r){return wn(this,void 0,void 0,function*(){let n=new R0e.URL(t),i=(0,Uv.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,XC.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,XC.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,XC.downloadCacheHttpClient)(t,e):yield(0,XC.downloadCacheHttpClient)(t,e)})}wr.downloadCache=L0e;function M0e(t,e,r){return wn(this,void 0,void 0,function*(){let n=qv(),i=qu.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,ha.retryTypedResponse)("reserveCache",()=>wn(this,void 0,void 0,function*(){return n.postJson(ag("caches"),s)}))})}wr.reserveCache=M0e;function v3(t,e){return`bytes ${t}-${e}/*`}function F0e(t,e,r,n,i){return wn(this,void 0,void 0,function*(){Kn.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${v3(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":v3(n,i)},o=yield(0,ha.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>wn(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,ha.isSuccessStatusCode)(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function U0e(t,e,r,n){return wn(this,void 0,void 0,function*(){let i=qu.getArchiveFileSizeInBytes(r),s=ag(`caches/${e.toString()}`),o=Mv.openSync(r,"r"),a=(0,Uv.getUploadOptions)(n),A=qu.assertDefined("uploadConcurrency",a.uploadConcurrency),c=qu.assertDefined("uploadChunkSize",a.uploadChunkSize),l=[...new Array(A).keys()];Kn.debug("Awaiting all uploads");let u=0;try{yield Promise.all(l.map(()=>wn(this,void 0,void 0,function*(){for(;u<i;){let d=Math.min(i-u,c),f=u,g=u+d-1;u+=c,yield F0e(t,s,()=>Mv.createReadStream(r,{fd:o,start:f,end:g,autoClose:!1}).on("error",m=>{throw new Error(`Cache upload failed because file read failed with ${m.message}`)}),f,g)}})))}finally{Mv.closeSync(o)}})}function q0e(t,e,r){return wn(this,void 0,void 0,function*(){let n={size:r};return yield(0,ha.retryTypedResponse)("commitCache",()=>wn(this,void 0,void 0,function*(){return t.postJson(ag(`caches/${e.toString()}`),n)}))})}function H0e(t,e,r,n){return wn(this,void 0,void 0,function*(){if((0,Uv.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,v0e.uploadCacheArchiveSDK)(r,e,n)}else{let s=qv();Kn.debug("Upload cache"),yield U0e(s,t,e,n),Kn.debug("Commiting cache");let o=qu.getArchiveFileSizeInBytes(e);Kn.info(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield q0e(s,t,o);if(!(0,ha.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);Kn.info("Cache saved successfully")}})}wr.saveCache=H0e});var ZC=h(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.isJsonObject=Hu.typeofJsonValue=void 0;function j0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}Hu.typeofJsonValue=j0e;function z0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}Hu.isJsonObject=z0e});var tI=h(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.base64encode=ju.base64decode=void 0;var mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),eI=[];for(let t=0;t<mo.length;t++)eI[mo[t].charCodeAt(0)]=t;eI[45]=mo.indexOf("+");eI[95]=mo.indexOf("/");function G0e(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,i=0,s,o=0;for(let a=0;a<t.length;a++){if(s=eI[t.charCodeAt(a)],s===void 0)switch(t[a]){case"=":i=0;case`
|
|
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=s,i=1;break;case 1:r[n++]=o<<2|(s&48)>>4,o=s,i=2;break;case 2:r[n++]=(o&15)<<4|(s&60)>>2,o=s,i=3;break;case 3:r[n++]=(o&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}ju.base64decode=G0e;function Y0e(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=mo[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=mo[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=mo[i|n>>6],e+=mo[n&63],r=0;break}return r&&(e+=mo[i],e+="=",r==1&&(e+="=")),e}ju.base64encode=Y0e});var D3=h(rI=>{"use strict";Object.defineProperty(rI,"__esModule",{value:!0});rI.utf8read=void 0;var Hv=t=>String.fromCharCode.apply(String,t);function J0e(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,o=t.length;for(;e<o;)s=t[e++],s<128?n[i++]=s:s>191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(Hv(n)),i=0);return r.length?(i&&r.push(Hv(n.slice(0,i))),r.join("")):Hv(n.slice(0,i))}rI.utf8read=J0e});var Ag=h(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.WireType=xs.mergeBinaryOptions=xs.UnknownFieldHandler=void 0;var V0e;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,o)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:o})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:o,data:a}of t.list(n))i.tag(s,o).raw(a)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=r=>r&&Array.isArray(r[t.symbol])})(V0e=xs.UnknownFieldHandler||(xs.UnknownFieldHandler={}));function W0e(t,e){return Object.assign(Object.assign({},t),e)}xs.mergeBinaryOptions=W0e;var $0e;(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"})($0e=xs.WireType||(xs.WireType={}))});var iI=h(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.varint32read=Sn.varint32write=Sn.int64toString=Sn.int64fromString=Sn.varint64write=Sn.varint64read=void 0;function K0e(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<n,(i&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 i=this.buf[this.pos++];if(e|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}Sn.varint64read=K0e;function X0e(t,e,r){for(let s=0;s<28;s=s+7){let o=t>>>s,a=!(!(o>>>7)&&e==0),A=(a?o|128:o)&255;if(r.push(A),!a)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let o=e>>>s,a=!!(o>>>7),A=(a?o|128:o)&255;if(r.push(A),!a)return}r.push(e>>>31&1)}}Sn.varint64write=X0e;var nI=65536*65536;function Z0e(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(o,a){let A=Number(t.slice(o,a));i*=r,n=n*r+A,n>=nI&&(i=i+(n/nI|0),n=n%nI)}return s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}Sn.int64fromString=Z0e;function eNe(t,e){if(e>>>0<=2097151)return""+(nI*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,o=n+i*8147497,a=i*2,A=1e7;s>=A&&(o+=Math.floor(s/A),s%=A),o>=A&&(a+=Math.floor(o/A),o%=A);function c(l,u){let d=l?String(l):"";return u?"0000000".slice(d.length)+d:d}return c(a,0)+c(o,a)+c(s,1)}Sn.int64toString=eNe;function tNe(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)}}Sn.varint32write=tNe;function rNe(){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}Sn.varint32read=rNe});var ma=h(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.PbLong=ga.PbULong=ga.detectBi=void 0;var cg=iI(),ft;function k3(){let t=new DataView(new ArrayBuffer(8));ft=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}ga.detectBi=k3;k3();function P3(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var T3=/^-?[0-9]+$/,oI=4294967296,sI=2147483648,aI=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*oI+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},lg=class t extends aI{static from(e){if(ft)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ft.C(e);case"number":if(e===0)return this.ZERO;e=ft.C(e);case"bigint":if(!e)return this.ZERO;if(e<ft.UMIN)throw new Error("signed value for ulong");if(e>ft.UMAX)throw new Error("ulong too large");return ft.V.setBigUint64(0,e,!0),new t(ft.V.getInt32(0,!0),ft.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!T3.test(e))throw new Error("string is no integer");let[r,n,i]=cg.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/oI)}throw new Error("unknown value "+typeof e)}toString(){return ft?this.toBigInt().toString():cg.int64toString(this.lo,this.hi)}toBigInt(){return P3(ft),ft.V.setInt32(0,this.lo,!0),ft.V.setInt32(4,this.hi,!0),ft.V.getBigUint64(0,!0)}};ga.PbULong=lg;lg.ZERO=new lg(0,0);var ug=class t extends aI{static from(e){if(ft)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ft.C(e);case"number":if(e===0)return this.ZERO;e=ft.C(e);case"bigint":if(!e)return this.ZERO;if(e<ft.MIN)throw new Error("signed long too small");if(e>ft.MAX)throw new Error("signed long too large");return ft.V.setBigInt64(0,e,!0),new t(ft.V.getInt32(0,!0),ft.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!T3.test(e))throw new Error("string is no integer");let[r,n,i]=cg.int64fromString(e);if(r){if(i>sI||i==sI&&n!=0)throw new Error("signed long too small")}else if(i>=sI)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/oI):new t(-e,-e/oI).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&sI)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ft)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+cg.int64toString(e.lo,e.hi)}return cg.int64toString(this.lo,this.hi)}toBigInt(){return P3(ft),ft.V.setInt32(0,this.lo,!0),ft.V.setInt32(4,this.hi,!0),ft.V.getBigInt64(0,!0)}};ga.PbLong=ug;ug.ZERO=new ug(0,0)});var jv=h(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.BinaryReader=Gu.binaryReadOptions=void 0;var zu=Ag(),dg=ma(),O3=iI(),L3={readUnknownField:!0,readerFactory:t=>new AI(t)};function nNe(t){return t?Object.assign(Object.assign({},L3),t):L3}Gu.binaryReadOptions=nNe;var AI=class{constructor(e,r){this.varint64=O3.varint64read,this.uint32=O3.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 zu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case zu.WireType.Bit64:this.pos+=4;case zu.WireType.Bit32:this.pos+=4;break;case zu.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case zu.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==zu.WireType.EndGroup;)this.skip(i);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 dg.PbLong(...this.varint64())}uint64(){return new dg.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 dg.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 dg.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new dg.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())}};Gu.BinaryReader=AI});var Yu=h(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.assertFloat32=bi.assertUInt32=bi.assertInt32=bi.assertNever=bi.assert=void 0;function iNe(t,e){if(!t)throw new Error(e)}bi.assert=iNe;function sNe(t,e){throw new Error(e??"Unexpected object: "+t)}bi.assertNever=sNe;var oNe=34028234663852886e22,aNe=-34028234663852886e22,ANe=4294967295,cNe=2147483647,lNe=-2147483648;function uNe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>cNe||t<lNe)throw new Error("invalid int 32: "+t)}bi.assertInt32=uNe;function dNe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>ANe||t<0)throw new Error("invalid uint 32: "+t)}bi.assertUInt32=dNe;function fNe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>oNe||t<aNe))throw new Error("invalid float 32: "+t)}bi.assertFloat32=fNe});var zv=h(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.BinaryWriter=Vu.binaryWriteOptions=void 0;var fg=ma(),hg=iI(),Ju=Yu(),M3={writeUnknownFields:!0,writerFactory:()=>new cI};function hNe(t){return t?Object.assign(Object.assign({},M3),t):M3}Vu.binaryWriteOptions=hNe;var cI=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 i=0;i<this.chunks.length;i++)e+=this.chunks[i].length;let r=new Uint8Array(e),n=0;for(let i=0;i<this.chunks.length;i++)r.set(this.chunks[i],n),n+=this.chunks[i].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(Ju.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Ju.assertInt32(e),hg.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){Ju.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){Ju.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Ju.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Ju.assertInt32(e),e=(e<<1^e>>31)>>>0,hg.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=fg.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=fg.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=fg.PbLong.from(e);return hg.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=fg.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return hg.varint64write(i,s,this.buf),this}uint64(e){let r=fg.PbULong.from(e);return hg.varint64write(r.lo,r.hi,this.buf),this}};Vu.BinaryWriter=cI});var Gv=h(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.mergeJsonOptions=pa.jsonWriteOptions=pa.jsonReadOptions=void 0;var F3={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},U3={ignoreUnknownFields:!1};function gNe(t){return t?Object.assign(Object.assign({},U3),t):U3}pa.jsonReadOptions=gNe;function mNe(t){return t?Object.assign(Object.assign({},F3),t):F3}pa.jsonWriteOptions=mNe;function pNe(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}pa.mergeJsonOptions=pNe});var gg=h(lI=>{"use strict";Object.defineProperty(lI,"__esModule",{value:!0});lI.MESSAGE_TYPE=void 0;lI.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var Yv=h(uI=>{"use strict";Object.defineProperty(uI,"__esModule",{value:!0});uI.lowerCamelCase=void 0;function yNe(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let i=t.charAt(n);i=="_"?e=!0:/\d/.test(i)?(r.push(i),e=!0):e?(r.push(i.toUpperCase()),e=!1):n==0?r.push(i.toLowerCase()):r.push(i)}return r.join("")}uI.lowerCamelCase=yNe});var $i=h(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.readMessageOption=Ar.readFieldOption=Ar.readFieldOptions=Ar.normalizeFieldInfo=Ar.RepeatType=Ar.LongType=Ar.ScalarType=void 0;var q3=Yv(),ENe;(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"})(ENe=Ar.ScalarType||(Ar.ScalarType={}));var CNe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(CNe=Ar.LongType||(Ar.LongType={}));var H3;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(H3=Ar.RepeatType||(Ar.RepeatType={}));function INe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:q3.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:q3.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:H3.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}Ar.normalizeFieldInfo=INe;function BNe(t,e,r,n){var i;let s=(i=t.fields.find((o,a)=>o.localName==e||a==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}Ar.readFieldOptions=BNe;function QNe(t,e,r,n){var i;let s=(i=t.fields.find((a,A)=>a.localName==e||A==e))===null||i===void 0?void 0:i.options;if(!s)return;let o=s[r];return o===void 0?o:n?n.fromJson(o):o}Ar.readFieldOption=QNe;function bNe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}Ar.readMessageOption=bNe});var Jv=h(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.getSelectedOneofValue=xn.clearOneofValue=xn.setUnknownOneofValue=xn.setOneofValue=xn.getOneofValue=xn.isOneofGroup=void 0;function NNe(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}}xn.isOneofGroup=NNe;function wNe(t,e){return t[e]}xn.getOneofValue=wNe;function SNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}xn.setOneofValue=SNe;function xNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}xn.setUnknownOneofValue=xNe;function RNe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}xn.clearOneofValue=RNe;function vNe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}xn.getSelectedOneofValue=vNe});var Wv=h(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.ReflectionTypeCheck=void 0;var Ht=$i(),_Ne=Jv(),Vv=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 i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.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 i=Object.keys(e),s=this.data;if(i.length<s.req.length||s.req.some(o=>!i.includes(o))||!n&&i.some(o=>!s.known.includes(o)))return!1;if(r<1)return!0;for(let o of s.oneofs){let a=e[o];if(!_Ne.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let A=this.fields.find(c=>c.localName===a.oneofKind);if(!A||!this.field(a[a.oneofKind],A,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,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,Ht.ScalarType.INT32,i):this.scalar(e,Ht.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Ht.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;s<e.length&&s<i;s++)if(!r.isAssignable(e[s],i-1))return!1}else for(let s=0;s<e.length&&s<i;s++)if(!r.is(e[s],i-1))return!1;return!0}scalar(e,r,n){let i=typeof e;switch(r){case Ht.ScalarType.UINT64:case Ht.ScalarType.FIXED64:case Ht.ScalarType.INT64:case Ht.ScalarType.SFIXED64:case Ht.ScalarType.SINT64:switch(n){case Ht.LongType.BIGINT:return i=="bigint";case Ht.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case Ht.ScalarType.BOOL:return i=="boolean";case Ht.ScalarType.STRING:return i=="string";case Ht.ScalarType.BYTES:return e instanceof Uint8Array;case Ht.ScalarType.DOUBLE:case Ht.ScalarType.FLOAT:return i=="number"&&!isNaN(e);default:return i=="number"&&Number.isInteger(e)}}scalars(e,r,n,i){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let s=0;s<e.length&&s<n;s++)if(!this.scalar(e[s],r,i))return!1}return!0}mapKeys(e,r,n){let i=Object.keys(e);switch(r){case Ht.ScalarType.INT32:case Ht.ScalarType.FIXED32:case Ht.ScalarType.SFIXED32:case Ht.ScalarType.SINT32:case Ht.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case Ht.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,Ht.LongType.STRING)}}};dI.ReflectionTypeCheck=Vv});var hI=h(fI=>{"use strict";Object.defineProperty(fI,"__esModule",{value:!0});fI.reflectionLongConvert=void 0;var j3=$i();function DNe(t,e){switch(e){case j3.LongType.BIGINT:return t.toBigInt();case j3.LongType.NUMBER:return t.toNumber();default:return t.toString()}}fI.reflectionLongConvert=DNe});var Kv=h(pI=>{"use strict";Object.defineProperty(pI,"__esModule",{value:!0});pI.ReflectionJsonReader=void 0;var z3=ZC(),kNe=tI(),cr=$i(),gI=ma(),DA=Yu(),mI=hI(),$v=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 i=z3.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,o]of Object.entries(e)){let a=this.fMap[s];if(!a){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let A=a.localName,c;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(a.oneof),c=r[a.oneof]={oneofKind:A}}else c=r;if(a.kind=="map"){if(o===null)continue;this.assert(z3.isJsonObject(o),a.name,o);let l=c[A];for(let[u,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let f;switch(a.V.kind){case"message":f=a.V.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(a.V.T(),d,a.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(f!==void 0,a.name+" map value",d);let g=u;a.K==cr.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,a.K,cr.LongType.STRING,a.name).toString(),l[g]=f}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let l=c[A];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),l.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}c[A]=a.T().internalJsonRead(o,n,c[A]);break;case"enum":if(o===null)continue;let l=this.enum(a.T(),o,a.name,n.ignoreUnknownFields);if(l===!1)continue;c[A]=l;break;case"scalar":if(o===null)continue;c[A]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&DA.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 DA.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let o=e[1][s];return typeof o>"u"&&i?!1:(DA.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),o)}DA.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case cr.ScalarType.DOUBLE:case cr.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let o=Number(e);if(Number.isNaN(o)){s="not a number";break}if(!Number.isFinite(o)){s="too large or small";break}return r==cr.ScalarType.FLOAT&&DA.assertFloat32(o),o;case cr.ScalarType.INT32:case cr.ScalarType.FIXED32:case cr.ScalarType.SFIXED32:case cr.ScalarType.SINT32:case cr.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":a=Number(e)),a===void 0)break;return r==cr.ScalarType.UINT32?DA.assertUInt32(a):DA.assertInt32(a),a;case cr.ScalarType.INT64:case cr.ScalarType.SFIXED64:case cr.ScalarType.SINT64:if(e===null)return mI.reflectionLongConvert(gI.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return mI.reflectionLongConvert(gI.PbLong.from(e),n);case cr.ScalarType.FIXED64:case cr.ScalarType.UINT64:if(e===null)return mI.reflectionLongConvert(gI.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return mI.reflectionLongConvert(gI.PbULong.from(e),n);case cr.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case cr.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(A){A="invalid UTF8";break}return e;case cr.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return kNe.base64decode(e)}}catch(o){s=o.message}this.assert(!1,i+(s?" - "+s:""),e)}};pI.ReflectionJsonReader=$v});var Zv=h(yI=>{"use strict";Object.defineProperty(yI,"__esModule",{value:!0});yI.ReflectionJsonWriter=void 0;var PNe=tI(),G3=ma(),nn=$i(),Rt=Yu(),Xv=class{constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let c=this.field(s,i[s.localName],r);c!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=c);continue}let o=i[s.oneof];if(o.oneofKind!==s.localName)continue;let a=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,A=this.field(s,o[s.localName],a);Rt.assert(A!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=A}return n}field(e,r,n){let i;if(e.kind=="map"){Rt.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[A,c]of Object.entries(r)){let l=this.scalar(e.V.T,c,e.name,!1,!0);Rt.assert(l!==void 0),s[A.toString()]=l}break;case"message":let o=e.V.T();for(let[A,c]of Object.entries(r)){let l=this.message(o,c,e.name,n);Rt.assert(l!==void 0),s[A.toString()]=l}break;case"enum":let a=e.V.T();for(let[A,c]of Object.entries(r)){Rt.assert(c===void 0||typeof c=="number");let l=this.enum(a,c,e.name,!1,!0,n.enumAsInteger);Rt.assert(l!==void 0),s[A.toString()]=l}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){Rt.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let A=0;A<r.length;A++){let c=this.scalar(e.T,r[A],e.name,e.opt,!0);Rt.assert(c!==void 0),s.push(c)}break;case"enum":let o=e.T();for(let A=0;A<r.length;A++){Rt.assert(r[A]===void 0||typeof r[A]=="number");let c=this.enum(o,r[A],e.name,e.opt,!0,n.enumAsInteger);Rt.assert(c!==void 0),s.push(c)}break;case"message":let a=e.T();for(let A=0;A<r.length;A++){let c=this.message(a,r[A],e.name,n);Rt.assert(c!==void 0),s.push(c)}break}(n.emitDefaultValues||s.length>0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,o){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){Rt.assert(i);return}if(!(r===0&&!s&&!i))return Rt.assert(typeof r=="number"),Rt.assert(Number.isInteger(r)),o||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){Rt.assert(i);return}let o=s||i;switch(e){case nn.ScalarType.INT32:case nn.ScalarType.SFIXED32:case nn.ScalarType.SINT32:return r===0?o?0:void 0:(Rt.assertInt32(r),r);case nn.ScalarType.FIXED32:case nn.ScalarType.UINT32:return r===0?o?0:void 0:(Rt.assertUInt32(r),r);case nn.ScalarType.FLOAT:Rt.assertFloat32(r);case nn.ScalarType.DOUBLE:return r===0?o?0:void 0:(Rt.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case nn.ScalarType.STRING:return r===""?o?"":void 0:(Rt.assert(typeof r=="string"),r);case nn.ScalarType.BOOL:return r===!1?o?!1:void 0:(Rt.assert(typeof r=="boolean"),r);case nn.ScalarType.UINT64:case nn.ScalarType.FIXED64:Rt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=G3.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case nn.ScalarType.INT64:case nn.ScalarType.SFIXED64:case nn.ScalarType.SINT64:Rt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let A=G3.PbLong.from(r);return A.isZero()&&!o?void 0:A.toString();case nn.ScalarType.BYTES:return Rt.assert(r instanceof Uint8Array),r.byteLength?PNe.base64encode(r):o?"":void 0}}};yI.ReflectionJsonWriter=Xv});var CI=h(EI=>{"use strict";Object.defineProperty(EI,"__esModule",{value:!0});EI.reflectionScalarDefault=void 0;var Ki=$i(),Y3=hI(),J3=ma();function TNe(t,e=Ki.LongType.STRING){switch(t){case Ki.ScalarType.BOOL:return!1;case Ki.ScalarType.UINT64:case Ki.ScalarType.FIXED64:return Y3.reflectionLongConvert(J3.PbULong.ZERO,e);case Ki.ScalarType.INT64:case Ki.ScalarType.SFIXED64:case Ki.ScalarType.SINT64:return Y3.reflectionLongConvert(J3.PbLong.ZERO,e);case Ki.ScalarType.DOUBLE:case Ki.ScalarType.FLOAT:return 0;case Ki.ScalarType.BYTES:return new Uint8Array(0);case Ki.ScalarType.STRING:return"";default:return 0}}EI.reflectionScalarDefault=TNe});var t_=h(II=>{"use strict";Object.defineProperty(II,"__esModule",{value:!0});II.ReflectionBinaryReader=void 0;var V3=Ag(),Kt=$i(),mg=hI(),W3=CI(),e_=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,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos<s;){let[o,a]=e.tag(),A=this.fieldNoToField.get(o);if(!A){let d=n.readUnknownField;if(d=="throw")throw new Error(`Unknown field ${o} (wire type ${a}) for ${this.info.typeName}`);let f=e.skip(a);d!==!1&&(d===!0?V3.UnknownFieldHandler.onRead:d)(this.info.typeName,r,o,a,f);continue}let c=r,l=A.repeat,u=A.localName;switch(A.oneof&&(c=c[A.oneof],c.oneofKind!==u&&(c=r[A.oneof]={oneofKind:u})),A.kind){case"scalar":case"enum":let d=A.kind=="enum"?Kt.ScalarType.INT32:A.T,f=A.kind=="scalar"?A.L:void 0;if(l){let E=c[u];if(a==V3.WireType.LengthDelimited&&d!=Kt.ScalarType.STRING&&d!=Kt.ScalarType.BYTES){let C=e.uint32()+e.pos;for(;e.pos<C;)E.push(this.scalar(e,d,f))}else E.push(this.scalar(e,d,f))}else c[u]=this.scalar(e,d,f);break;case"message":if(l){let E=c[u],C=A.T().internalBinaryRead(e,e.uint32(),n);E.push(C)}else c[u]=A.T().internalBinaryRead(e,e.uint32(),n,c[u]);break;case"map":let[g,m]=this.mapEntry(A,e,n);c[u][g]=m;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,o,a;for(;r.pos<s;){let[A,c]=r.tag();switch(A){case 1:e.K==Kt.ScalarType.BOOL?o=r.bool().toString():o=this.scalar(r,e.K,Kt.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 ${A} (wire type ${c}) in map entry for ${this.info.typeName}#${e.name}`)}}if(o===void 0){let A=W3.reflectionScalarDefault(e.K);o=e.K==Kt.ScalarType.BOOL?A.toString():A}if(a===void 0)switch(e.V.kind){case"scalar":a=W3.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 Kt.ScalarType.INT32:return e.int32();case Kt.ScalarType.STRING:return e.string();case Kt.ScalarType.BOOL:return e.bool();case Kt.ScalarType.DOUBLE:return e.double();case Kt.ScalarType.FLOAT:return e.float();case Kt.ScalarType.INT64:return mg.reflectionLongConvert(e.int64(),n);case Kt.ScalarType.UINT64:return mg.reflectionLongConvert(e.uint64(),n);case Kt.ScalarType.FIXED64:return mg.reflectionLongConvert(e.fixed64(),n);case Kt.ScalarType.FIXED32:return e.fixed32();case Kt.ScalarType.BYTES:return e.bytes();case Kt.ScalarType.UINT32:return e.uint32();case Kt.ScalarType.SFIXED32:return e.sfixed32();case Kt.ScalarType.SFIXED64:return mg.reflectionLongConvert(e.sfixed64(),n);case Kt.ScalarType.SINT32:return e.sint32();case Kt.ScalarType.SINT64:return mg.reflectionLongConvert(e.sint64(),n)}}};II.ReflectionBinaryReader=e_});var n_=h(BI=>{"use strict";Object.defineProperty(BI,"__esModule",{value:!0});BI.ReflectionBinaryWriter=void 0;var Xn=Ag(),yt=$i(),Wu=Yu(),pg=ma(),r_=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 s of this.fields){let o,a,A=s.repeat,c=s.localName;if(s.oneof){let l=e[s.oneof];if(l.oneofKind!==c)continue;o=l[c],a=!0}else o=e[c],a=!1;switch(s.kind){case"scalar":case"enum":let l=s.kind=="enum"?yt.ScalarType.INT32:s.T;if(A)if(Wu.assert(Array.isArray(o)),A==yt.RepeatType.PACKED)this.packed(r,l,s.no,o);else for(let u of o)this.scalar(r,l,s.no,u,!0);else o===void 0?Wu.assert(s.opt):this.scalar(r,l,s.no,o,a||s.opt);break;case"message":if(A){Wu.assert(Array.isArray(o));for(let u of o)this.message(r,n,s.T(),s.no,u)}else this.message(r,n,s.T(),s.no,o);break;case"map":Wu.assert(typeof o=="object"&&o!==null);for(let[u,d]of Object.entries(o))this.mapEntry(r,n,s,u,d);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?Xn.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Xn.WireType.LengthDelimited),e.fork();let o=i;switch(n.K){case yt.ScalarType.INT32:case yt.ScalarType.FIXED32:case yt.ScalarType.UINT32:case yt.ScalarType.SFIXED32:case yt.ScalarType.SINT32:o=Number.parseInt(i);break;case yt.ScalarType.BOOL:Wu.assert(i=="true"||i=="false"),o=i=="true";break}switch(this.scalar(e,n.K,1,o,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,yt.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,Xn.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[o,a,A]=this.scalarInfo(r,i);(!A||s)&&(e.tag(n,o),e[a](i))}packed(e,r,n,i){if(!i.length)return;Wu.assert(r!==yt.ScalarType.BYTES&&r!==yt.ScalarType.STRING),e.tag(n,Xn.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let o=0;o<i.length;o++)e[s](i[o]);e.join()}scalarInfo(e,r){let n=Xn.WireType.Varint,i,s=r===void 0,o=r===0;switch(e){case yt.ScalarType.INT32:i="int32";break;case yt.ScalarType.STRING:o=s||!r.length,n=Xn.WireType.LengthDelimited,i="string";break;case yt.ScalarType.BOOL:o=r===!1,i="bool";break;case yt.ScalarType.UINT32:i="uint32";break;case yt.ScalarType.DOUBLE:n=Xn.WireType.Bit64,i="double";break;case yt.ScalarType.FLOAT:n=Xn.WireType.Bit32,i="float";break;case yt.ScalarType.INT64:o=s||pg.PbLong.from(r).isZero(),i="int64";break;case yt.ScalarType.UINT64:o=s||pg.PbULong.from(r).isZero(),i="uint64";break;case yt.ScalarType.FIXED64:o=s||pg.PbULong.from(r).isZero(),n=Xn.WireType.Bit64,i="fixed64";break;case yt.ScalarType.BYTES:o=s||!r.byteLength,n=Xn.WireType.LengthDelimited,i="bytes";break;case yt.ScalarType.FIXED32:n=Xn.WireType.Bit32,i="fixed32";break;case yt.ScalarType.SFIXED32:n=Xn.WireType.Bit32,i="sfixed32";break;case yt.ScalarType.SFIXED64:o=s||pg.PbLong.from(r).isZero(),n=Xn.WireType.Bit64,i="sfixed64";break;case yt.ScalarType.SINT32:i="sint32";break;case yt.ScalarType.SINT64:o=s||pg.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||o]}};BI.ReflectionBinaryWriter=r_});var i_=h(QI=>{"use strict";Object.defineProperty(QI,"__esModule",{value:!0});QI.reflectionCreate=void 0;var ONe=CI(),LNe=gg();function MNe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},LNe.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]=ONe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}QI.reflectionCreate=MNe});var s_=h(bI=>{"use strict";Object.defineProperty(bI,"__esModule",{value:!0});bI.reflectionMergePartial=void 0;function FNe(t,e,r){let n,i=r,s;for(let o of t.fields){let a=o.localName;if(o.oneof){let A=i[o.oneof];if(A?.oneofKind==null)continue;if(n=A[a],s=e[o.oneof],s.oneofKind=A.oneofKind,n==null){delete s[a];continue}}else if(n=i[a],s=e,n==null)continue;switch(o.repeat&&(s[a].length=n.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=n[c];else s[a]=n;break;case"message":let A=o.T();if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=A.create(n[c]);else s[a]===void 0?s[a]=A.create(n):A.mergePartial(s[a],n);break;case"map":switch(o.V.kind){case"scalar":case"enum":Object.assign(s[a],n);break;case"message":let c=o.V.T();for(let l of Object.keys(n))s[a][l]=c.create(n[l]);break}break}}}bI.reflectionMergePartial=FNe});var a_=h(wI=>{"use strict";Object.defineProperty(wI,"__esModule",{value:!0});wI.reflectionEquals=void 0;var o_=$i();function UNe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],o=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let a=n.kind=="enum"?o_.ScalarType.INT32:n.T;if(!(n.repeat?$3(a,s,o):X3(a,s,o)))return!1;break;case"map":if(!(n.V.kind=="message"?K3(n.V.T(),NI(s),NI(o)):$3(n.V.kind=="enum"?o_.ScalarType.INT32:n.V.T,NI(s),NI(o))))return!1;break;case"message":let A=n.T();if(!(n.repeat?K3(A,s,o):A.equals(s,o)))return!1;break}}return!0}wI.reflectionEquals=UNe;var NI=Object.values;function X3(t,e,r){if(e===r)return!0;if(t!==o_.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!=i[s])return!1;return!0}function $3(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!X3(t,e[n],r[n]))return!1;return!0}function K3(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 t4=h(SI=>{"use strict";Object.defineProperty(SI,"__esModule",{value:!0});SI.MessageType=void 0;var qNe=gg(),HNe=$i(),jNe=Wv(),zNe=Kv(),GNe=Zv(),YNe=t_(),JNe=n_(),VNe=i_(),A_=s_(),WNe=ZC(),Z3=Gv(),$Ne=a_(),KNe=zv(),XNe=jv(),e4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),ZNe=e4[qNe.MESSAGE_TYPE]={},c_=class{constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(HNe.normalizeFieldInfo),this.options=n??{},ZNe.value=this,this.messagePrototype=Object.create(null,e4),this.refTypeCheck=new jNe.ReflectionTypeCheck(this),this.refJsonReader=new zNe.ReflectionJsonReader(this),this.refJsonWriter=new GNe.ReflectionJsonWriter(this),this.refBinReader=new YNe.ReflectionBinaryReader(this),this.refBinWriter=new JNe.ReflectionBinaryWriter(this)}create(e){let r=VNe.reflectionCreate(this);return e!==void 0&&A_.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return A_.reflectionMergePartial(this,r,e),r}equals(e,r){return $Ne.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){A_.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=XNe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,Z3.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,Z3.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=KNe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${WNe.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,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};SI.MessageType=c_});var r4=h(xI=>{"use strict";Object.defineProperty(xI,"__esModule",{value:!0});xI.containsMessageType=void 0;var ewe=gg();function twe(t){return t[ewe.MESSAGE_TYPE]!=null}xI.containsMessageType=twe});var i4=h(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.listEnumNumbers=Rs.listEnumNames=Rs.listEnumValues=Rs.isEnumObject=void 0;function n4(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}Rs.isEnumObject=n4;function l_(t){if(!n4(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}Rs.listEnumValues=l_;function rwe(t){return l_(t).map(e=>e.name)}Rs.listEnumNames=rwe;function nwe(t){return l_(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}Rs.listEnumNumbers=nwe});var $u=h(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});var s4=ZC();Object.defineProperty(ce,"typeofJsonValue",{enumerable:!0,get:function(){return s4.typeofJsonValue}});Object.defineProperty(ce,"isJsonObject",{enumerable:!0,get:function(){return s4.isJsonObject}});var o4=tI();Object.defineProperty(ce,"base64decode",{enumerable:!0,get:function(){return o4.base64decode}});Object.defineProperty(ce,"base64encode",{enumerable:!0,get:function(){return o4.base64encode}});var iwe=D3();Object.defineProperty(ce,"utf8read",{enumerable:!0,get:function(){return iwe.utf8read}});var u_=Ag();Object.defineProperty(ce,"WireType",{enumerable:!0,get:function(){return u_.WireType}});Object.defineProperty(ce,"mergeBinaryOptions",{enumerable:!0,get:function(){return u_.mergeBinaryOptions}});Object.defineProperty(ce,"UnknownFieldHandler",{enumerable:!0,get:function(){return u_.UnknownFieldHandler}});var a4=jv();Object.defineProperty(ce,"BinaryReader",{enumerable:!0,get:function(){return a4.BinaryReader}});Object.defineProperty(ce,"binaryReadOptions",{enumerable:!0,get:function(){return a4.binaryReadOptions}});var A4=zv();Object.defineProperty(ce,"BinaryWriter",{enumerable:!0,get:function(){return A4.BinaryWriter}});Object.defineProperty(ce,"binaryWriteOptions",{enumerable:!0,get:function(){return A4.binaryWriteOptions}});var c4=ma();Object.defineProperty(ce,"PbLong",{enumerable:!0,get:function(){return c4.PbLong}});Object.defineProperty(ce,"PbULong",{enumerable:!0,get:function(){return c4.PbULong}});var d_=Gv();Object.defineProperty(ce,"jsonReadOptions",{enumerable:!0,get:function(){return d_.jsonReadOptions}});Object.defineProperty(ce,"jsonWriteOptions",{enumerable:!0,get:function(){return d_.jsonWriteOptions}});Object.defineProperty(ce,"mergeJsonOptions",{enumerable:!0,get:function(){return d_.mergeJsonOptions}});var swe=gg();Object.defineProperty(ce,"MESSAGE_TYPE",{enumerable:!0,get:function(){return swe.MESSAGE_TYPE}});var owe=t4();Object.defineProperty(ce,"MessageType",{enumerable:!0,get:function(){return owe.MessageType}});var kA=$i();Object.defineProperty(ce,"ScalarType",{enumerable:!0,get:function(){return kA.ScalarType}});Object.defineProperty(ce,"LongType",{enumerable:!0,get:function(){return kA.LongType}});Object.defineProperty(ce,"RepeatType",{enumerable:!0,get:function(){return kA.RepeatType}});Object.defineProperty(ce,"normalizeFieldInfo",{enumerable:!0,get:function(){return kA.normalizeFieldInfo}});Object.defineProperty(ce,"readFieldOptions",{enumerable:!0,get:function(){return kA.readFieldOptions}});Object.defineProperty(ce,"readFieldOption",{enumerable:!0,get:function(){return kA.readFieldOption}});Object.defineProperty(ce,"readMessageOption",{enumerable:!0,get:function(){return kA.readMessageOption}});var awe=Wv();Object.defineProperty(ce,"ReflectionTypeCheck",{enumerable:!0,get:function(){return awe.ReflectionTypeCheck}});var Awe=i_();Object.defineProperty(ce,"reflectionCreate",{enumerable:!0,get:function(){return Awe.reflectionCreate}});var cwe=CI();Object.defineProperty(ce,"reflectionScalarDefault",{enumerable:!0,get:function(){return cwe.reflectionScalarDefault}});var lwe=s_();Object.defineProperty(ce,"reflectionMergePartial",{enumerable:!0,get:function(){return lwe.reflectionMergePartial}});var uwe=a_();Object.defineProperty(ce,"reflectionEquals",{enumerable:!0,get:function(){return uwe.reflectionEquals}});var dwe=t_();Object.defineProperty(ce,"ReflectionBinaryReader",{enumerable:!0,get:function(){return dwe.ReflectionBinaryReader}});var fwe=n_();Object.defineProperty(ce,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return fwe.ReflectionBinaryWriter}});var hwe=Kv();Object.defineProperty(ce,"ReflectionJsonReader",{enumerable:!0,get:function(){return hwe.ReflectionJsonReader}});var gwe=Zv();Object.defineProperty(ce,"ReflectionJsonWriter",{enumerable:!0,get:function(){return gwe.ReflectionJsonWriter}});var mwe=r4();Object.defineProperty(ce,"containsMessageType",{enumerable:!0,get:function(){return mwe.containsMessageType}});var yg=Jv();Object.defineProperty(ce,"isOneofGroup",{enumerable:!0,get:function(){return yg.isOneofGroup}});Object.defineProperty(ce,"setOneofValue",{enumerable:!0,get:function(){return yg.setOneofValue}});Object.defineProperty(ce,"getOneofValue",{enumerable:!0,get:function(){return yg.getOneofValue}});Object.defineProperty(ce,"clearOneofValue",{enumerable:!0,get:function(){return yg.clearOneofValue}});Object.defineProperty(ce,"getSelectedOneofValue",{enumerable:!0,get:function(){return yg.getSelectedOneofValue}});var RI=i4();Object.defineProperty(ce,"listEnumValues",{enumerable:!0,get:function(){return RI.listEnumValues}});Object.defineProperty(ce,"listEnumNames",{enumerable:!0,get:function(){return RI.listEnumNames}});Object.defineProperty(ce,"listEnumNumbers",{enumerable:!0,get:function(){return RI.listEnumNumbers}});Object.defineProperty(ce,"isEnumObject",{enumerable:!0,get:function(){return RI.isEnumObject}});var pwe=Yv();Object.defineProperty(ce,"lowerCamelCase",{enumerable:!0,get:function(){return pwe.lowerCamelCase}});var Eg=Yu();Object.defineProperty(ce,"assert",{enumerable:!0,get:function(){return Eg.assert}});Object.defineProperty(ce,"assertNever",{enumerable:!0,get:function(){return Eg.assertNever}});Object.defineProperty(ce,"assertInt32",{enumerable:!0,get:function(){return Eg.assertInt32}});Object.defineProperty(ce,"assertUInt32",{enumerable:!0,get:function(){return Eg.assertUInt32}});Object.defineProperty(ce,"assertFloat32",{enumerable:!0,get:function(){return Eg.assertFloat32}})});var f_=h(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.readServiceOption=vs.readMethodOption=vs.readMethodOptions=vs.normalizeMethodInfo=void 0;var ywe=$u();function Ewe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:ywe.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}vs.normalizeMethodInfo=Ewe;function Cwe(t,e,r,n){var i;let s=(i=t.methods.find((o,a)=>o.localName===e||a===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}vs.readMethodOptions=Cwe;function Iwe(t,e,r,n){var i;let s=(i=t.methods.find((a,A)=>a.localName===e||A===e))===null||i===void 0?void 0:i.options;if(!s)return;let o=s[r];return o===void 0?o:n?n.fromJson(o):o}vs.readMethodOption=Iwe;function Bwe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}vs.readServiceOption=Bwe});var l4=h(vI=>{"use strict";Object.defineProperty(vI,"__esModule",{value:!0});vI.ServiceType=void 0;var Qwe=f_(),h_=class{constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>Qwe.normalizeMethodInfo(i,this)),this.options=n??{}}};vI.ServiceType=h_});var m_=h(_I=>{"use strict";Object.defineProperty(_I,"__esModule",{value:!0});_I.RpcError=void 0;var g_=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,i]of r)e.push(` ${n}: ${i}`)}return e.join(`
|
|
`)}};_I.RpcError=g_});var p_=h(kI=>{"use strict";Object.defineProperty(kI,"__esModule",{value:!0});kI.mergeRpcOptions=void 0;var u4=$u();function bwe(t,e){if(!e)return t;let r={};DI(t,r),DI(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=u4.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=u4.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},DI(t.meta,r.meta),DI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}kI.mergeRpcOptions=bwe;function DI(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}});var E_=h(PA=>{"use strict";Object.defineProperty(PA,"__esModule",{value:!0});PA.Deferred=PA.DeferredState=void 0;var _s;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(_s=PA.DeferredState||(PA.DeferredState={}));var y_=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)}};PA.Deferred=y_});var I_=h(PI=>{"use strict";Object.defineProperty(PI,"__esModule",{value:!0});PI.RpcOutputStreamController=void 0;var d4=E_(),TA=$u(),C_=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){TA.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){TA.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){TA.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(){TA.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;TA.assert(e,"bad state"),TA.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 d4.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;TA.assert(n.state==d4.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};PI.RpcOutputStreamController=C_});var Q_=h(Ku=>{"use strict";var Nwe=Ku&&Ku.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ku,"__esModule",{value:!0});Ku.UnaryCall=void 0;var B_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,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 Nwe(this,void 0,void 0,function*(){let[e,r,n,i]=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:i}})}};Ku.UnaryCall=B_});var N_=h(Xu=>{"use strict";var wwe=Xu&&Xu.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.ServerStreamingCall=void 0;var b_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,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 wwe(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}})}};Xu.ServerStreamingCall=b_});var S_=h(Zu=>{"use strict";var Swe=Zu&&Zu.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Zu,"__esModule",{value:!0});Zu.ClientStreamingCall=void 0;var w_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,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 Swe(this,void 0,void 0,function*(){let[e,r,n,i]=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:i}})}};Zu.ClientStreamingCall=w_});var R_=h(ed=>{"use strict";var xwe=ed&&ed.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(ed,"__esModule",{value:!0});ed.DuplexStreamingCall=void 0;var x_=class{constructor(e,r,n,i,s,o,a){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,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 xwe(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}})}};ed.DuplexStreamingCall=x_});var h4=h(nd=>{"use strict";var Rwe=nd&&nd.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(nd,"__esModule",{value:!0});nd.TestTransport=void 0;var Ni=m_(),TI=$u(),f4=I_(),vwe=p_(),_we=Q_(),Dwe=N_(),kwe=S_(),Pwe=R_(),rd=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 td?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof td?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 Ni.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Ni.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(TI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),TI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Rwe(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)TI.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Ni.RpcError||(TI.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Sr(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Ni.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Sr(this.betweenResponseDelay,n)(void 0)}catch(o){r.notifyError(o);return}}if(this.data.status instanceof Ni.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Ni.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 Ni.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 Ni.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return vwe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},o=this.promiseHeaders().then(Sr(this.headerDelay,n.abort)),a=o.catch(l=>{}).then(Sr(this.responseDelay,n.abort)).then(l=>this.promiseSingleResponse(e)),A=a.catch(l=>{}).then(Sr(this.afterResponseDelay,n.abort)).then(l=>this.promiseStatus()),c=a.catch(l=>{}).then(Sr(this.afterResponseDelay,n.abort)).then(l=>this.promiseTrailers());return this.maybeSuppressUncaught(A,c),this.lastInput={single:r},new _we.UnaryCall(e,s,r,o,a,A,c)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},o=this.promiseHeaders().then(Sr(this.headerDelay,n.abort)),a=new f4.RpcOutputStreamController,A=o.then(Sr(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,n.abort)).then(Sr(this.afterResponseDelay,n.abort)),c=A.then(()=>this.promiseStatus()),l=A.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput={single:r},new Dwe.ServerStreamingCall(e,s,r,o,a,c,l)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Sr(this.headerDelay,r.abort)),o=s.catch(c=>{}).then(Sr(this.responseDelay,r.abort)).then(c=>this.promiseSingleResponse(e)),a=o.catch(c=>{}).then(Sr(this.afterResponseDelay,r.abort)).then(c=>this.promiseStatus()),A=o.catch(c=>{}).then(Sr(this.afterResponseDelay,r.abort)).then(c=>this.promiseTrailers());return this.maybeSuppressUncaught(a,A),this.lastInput=new td(this.data,r.abort),new kwe.ClientStreamingCall(e,i,this.lastInput,s,o,a,A)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Sr(this.headerDelay,r.abort)),o=new f4.RpcOutputStreamController,a=s.then(Sr(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,r.abort)).then(Sr(this.afterResponseDelay,r.abort)),A=a.then(()=>this.promiseStatus()),c=a.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,c),this.lastInput=new td(this.data,r.abort),new Pwe.DuplexStreamingCall(e,i,this.lastInput,s,o,A,c)}};nd.TestTransport=rd;rd.defaultHeaders={responseHeader:"test"};rd.defaultStatus={code:"OK",detail:"all good"};rd.defaultTrailers={responseTrailer:"test"};function Sr(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Ni.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",o=>{clearTimeout(s),i(new Ni.RpcError("user cancel","CANCELLED"))})}})}var td=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 Ni.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(Sr(r,this.abort))}complete(){if(this.data.inputComplete instanceof Ni.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(Sr(e,this.abort))}}});var g4=h(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.stackDuplexStreamingInterceptors=wi.stackClientStreamingInterceptors=wi.stackServerStreamingInterceptors=wi.stackUnaryInterceptors=wi.stackIntercept=void 0;var Twe=$u();function Cg(t,e,r,n,i){var s,o,a,A;if(t=="unary"){let c=(l,u,d)=>e.unary(l,u,d);for(let l of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(u=>u.interceptUnary).reverse()){let u=c;c=(d,f,g)=>l.interceptUnary(u,d,f,g)}return c(r,i,n)}if(t=="serverStreaming"){let c=(l,u,d)=>e.serverStreaming(l,u,d);for(let l of((o=n.interceptors)!==null&&o!==void 0?o:[]).filter(u=>u.interceptServerStreaming).reverse()){let u=c;c=(d,f,g)=>l.interceptServerStreaming(u,d,f,g)}return c(r,i,n)}if(t=="clientStreaming"){let c=(l,u)=>e.clientStreaming(l,u);for(let l of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(u=>u.interceptClientStreaming).reverse()){let u=c;c=(d,f)=>l.interceptClientStreaming(u,d,f)}return c(r,n)}if(t=="duplex"){let c=(l,u)=>e.duplex(l,u);for(let l of((A=n.interceptors)!==null&&A!==void 0?A:[]).filter(u=>u.interceptDuplex).reverse()){let u=c;c=(d,f)=>l.interceptDuplex(u,d,f)}return c(r,n)}Twe.assertNever(t)}wi.stackIntercept=Cg;function Owe(t,e,r,n){return Cg("unary",t,e,n,r)}wi.stackUnaryInterceptors=Owe;function Lwe(t,e,r,n){return Cg("serverStreaming",t,e,n,r)}wi.stackServerStreamingInterceptors=Lwe;function Mwe(t,e,r){return Cg("clientStreaming",t,e,r)}wi.stackClientStreamingInterceptors=Mwe;function Fwe(t,e,r){return Cg("duplex",t,e,r)}wi.stackDuplexStreamingInterceptors=Fwe});var m4=h(OI=>{"use strict";Object.defineProperty(OI,"__esModule",{value:!0});OI.ServerCallContextController=void 0;var v_=class{constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}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)}}};OI.ServerCallContextController=v_});var y4=h(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});var Uwe=l4();Object.defineProperty(jt,"ServiceType",{enumerable:!0,get:function(){return Uwe.ServiceType}});var __=f_();Object.defineProperty(jt,"readMethodOptions",{enumerable:!0,get:function(){return __.readMethodOptions}});Object.defineProperty(jt,"readMethodOption",{enumerable:!0,get:function(){return __.readMethodOption}});Object.defineProperty(jt,"readServiceOption",{enumerable:!0,get:function(){return __.readServiceOption}});var qwe=m_();Object.defineProperty(jt,"RpcError",{enumerable:!0,get:function(){return qwe.RpcError}});var Hwe=p_();Object.defineProperty(jt,"mergeRpcOptions",{enumerable:!0,get:function(){return Hwe.mergeRpcOptions}});var jwe=I_();Object.defineProperty(jt,"RpcOutputStreamController",{enumerable:!0,get:function(){return jwe.RpcOutputStreamController}});var zwe=h4();Object.defineProperty(jt,"TestTransport",{enumerable:!0,get:function(){return zwe.TestTransport}});var p4=E_();Object.defineProperty(jt,"Deferred",{enumerable:!0,get:function(){return p4.Deferred}});Object.defineProperty(jt,"DeferredState",{enumerable:!0,get:function(){return p4.DeferredState}});var Gwe=R_();Object.defineProperty(jt,"DuplexStreamingCall",{enumerable:!0,get:function(){return Gwe.DuplexStreamingCall}});var Ywe=S_();Object.defineProperty(jt,"ClientStreamingCall",{enumerable:!0,get:function(){return Ywe.ClientStreamingCall}});var Jwe=N_();Object.defineProperty(jt,"ServerStreamingCall",{enumerable:!0,get:function(){return Jwe.ServerStreamingCall}});var Vwe=Q_();Object.defineProperty(jt,"UnaryCall",{enumerable:!0,get:function(){return Vwe.UnaryCall}});var Ig=g4();Object.defineProperty(jt,"stackIntercept",{enumerable:!0,get:function(){return Ig.stackIntercept}});Object.defineProperty(jt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Ig.stackDuplexStreamingInterceptors}});Object.defineProperty(jt,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Ig.stackClientStreamingInterceptors}});Object.defineProperty(jt,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Ig.stackServerStreamingInterceptors}});Object.defineProperty(jt,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Ig.stackUnaryInterceptors}});var Wwe=m4();Object.defineProperty(jt,"ServerCallContextController",{enumerable:!0,get:function(){return Wwe.ServerCallContextController}})});var LI=h(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.isJsonObject=id.typeofJsonValue=void 0;function $we(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}id.typeofJsonValue=$we;function Kwe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}id.isJsonObject=Kwe});var FI=h(sd=>{"use strict";Object.defineProperty(sd,"__esModule",{value:!0});sd.base64encode=sd.base64decode=void 0;var po="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),MI=[];for(let t=0;t<po.length;t++)MI[po[t].charCodeAt(0)]=t;MI[45]=po.indexOf("+");MI[95]=po.indexOf("/");function Xwe(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,i=0,s,o=0;for(let a=0;a<t.length;a++){if(s=MI[t.charCodeAt(a)],s===void 0)switch(t[a]){case"=":i=0;case`
|
|
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=s,i=1;break;case 1:r[n++]=o<<2|(s&48)>>4,o=s,i=2;break;case 2:r[n++]=(o&15)<<4|(s&60)>>2,o=s,i=3;break;case 3:r[n++]=(o&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}sd.base64decode=Xwe;function Zwe(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=po[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=po[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=po[i|n>>6],e+=po[n&63],r=0;break}return r&&(e+=po[i],e+="=",r==1&&(e+="=")),e}sd.base64encode=Zwe});var E4=h(UI=>{"use strict";Object.defineProperty(UI,"__esModule",{value:!0});UI.utf8read=void 0;var D_=t=>String.fromCharCode.apply(String,t);function eSe(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,o=t.length;for(;e<o;)s=t[e++],s<128?n[i++]=s:s>191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(D_(n)),i=0);return r.length?(i&&r.push(D_(n.slice(0,i))),r.join("")):D_(n.slice(0,i))}UI.utf8read=eSe});var Bg=h(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.WireType=Ds.mergeBinaryOptions=Ds.UnknownFieldHandler=void 0;var tSe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,o)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:o})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:o,data:a}of t.list(n))i.tag(s,o).raw(a)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=r=>r&&Array.isArray(r[t.symbol])})(tSe=Ds.UnknownFieldHandler||(Ds.UnknownFieldHandler={}));function rSe(t,e){return Object.assign(Object.assign({},t),e)}Ds.mergeBinaryOptions=rSe;var nSe;(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"})(nSe=Ds.WireType||(Ds.WireType={}))});var HI=h(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.varint32read=Rn.varint32write=Rn.int64toString=Rn.int64fromString=Rn.varint64write=Rn.varint64read=void 0;function iSe(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<n,(i&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 i=this.buf[this.pos++];if(e|=(i&127)<<n,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}Rn.varint64read=iSe;function sSe(t,e,r){for(let s=0;s<28;s=s+7){let o=t>>>s,a=!(!(o>>>7)&&e==0),A=(a?o|128:o)&255;if(r.push(A),!a)return}let n=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let o=e>>>s,a=!!(o>>>7),A=(a?o|128:o)&255;if(r.push(A),!a)return}r.push(e>>>31&1)}}Rn.varint64write=sSe;var qI=65536*65536;function oSe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(o,a){let A=Number(t.slice(o,a));i*=r,n=n*r+A,n>=qI&&(i=i+(n/qI|0),n=n%qI)}return s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}Rn.int64fromString=oSe;function aSe(t,e){if(e>>>0<=2097151)return""+(qI*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,o=n+i*8147497,a=i*2,A=1e7;s>=A&&(o+=Math.floor(s/A),s%=A),o>=A&&(a+=Math.floor(o/A),o%=A);function c(l,u){let d=l?String(l):"";return u?"0000000".slice(d.length)+d:d}return c(a,0)+c(o,a)+c(s,1)}Rn.int64toString=aSe;function ASe(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)}}Rn.varint32write=ASe;function cSe(){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}Rn.varint32read=cSe});var Ea=h(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.PbLong=ya.PbULong=ya.detectBi=void 0;var Qg=HI(),ht;function C4(){let t=new DataView(new ArrayBuffer(8));ht=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}ya.detectBi=C4;C4();function I4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var B4=/^-?[0-9]+$/,zI=4294967296,jI=2147483648,GI=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*zI+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},bg=class t extends GI{static from(e){if(ht)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ht.C(e);case"number":if(e===0)return this.ZERO;e=ht.C(e);case"bigint":if(!e)return this.ZERO;if(e<ht.UMIN)throw new Error("signed value for ulong");if(e>ht.UMAX)throw new Error("ulong too large");return ht.V.setBigUint64(0,e,!0),new t(ht.V.getInt32(0,!0),ht.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!B4.test(e))throw new Error("string is no integer");let[r,n,i]=Qg.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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/zI)}throw new Error("unknown value "+typeof e)}toString(){return ht?this.toBigInt().toString():Qg.int64toString(this.lo,this.hi)}toBigInt(){return I4(ht),ht.V.setInt32(0,this.lo,!0),ht.V.setInt32(4,this.hi,!0),ht.V.getBigUint64(0,!0)}};ya.PbULong=bg;bg.ZERO=new bg(0,0);var Ng=class t extends GI{static from(e){if(ht)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ht.C(e);case"number":if(e===0)return this.ZERO;e=ht.C(e);case"bigint":if(!e)return this.ZERO;if(e<ht.MIN)throw new Error("signed long too small");if(e>ht.MAX)throw new Error("signed long too large");return ht.V.setBigInt64(0,e,!0),new t(ht.V.getInt32(0,!0),ht.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!B4.test(e))throw new Error("string is no integer");let[r,n,i]=Qg.int64fromString(e);if(r){if(i>jI||i==jI&&n!=0)throw new Error("signed long too small")}else if(i>=jI)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;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/zI):new t(-e,-e/zI).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&jI)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ht)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Qg.int64toString(e.lo,e.hi)}return Qg.int64toString(this.lo,this.hi)}toBigInt(){return I4(ht),ht.V.setInt32(0,this.lo,!0),ht.V.setInt32(4,this.hi,!0),ht.V.getBigInt64(0,!0)}};ya.PbLong=Ng;Ng.ZERO=new Ng(0,0)});var k_=h(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.BinaryReader=ad.binaryReadOptions=void 0;var od=Bg(),wg=Ea(),Q4=HI(),b4={readUnknownField:!0,readerFactory:t=>new YI(t)};function lSe(t){return t?Object.assign(Object.assign({},b4),t):b4}ad.binaryReadOptions=lSe;var YI=class{constructor(e,r){this.varint64=Q4.varint64read,this.uint32=Q4.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 od.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case od.WireType.Bit64:this.pos+=4;case od.WireType.Bit32:this.pos+=4;break;case od.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case od.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==od.WireType.EndGroup;)this.skip(i);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 wg.PbLong(...this.varint64())}uint64(){return new wg.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 wg.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 wg.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new wg.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())}};ad.BinaryReader=YI});var Ad=h(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.assertFloat32=Si.assertUInt32=Si.assertInt32=Si.assertNever=Si.assert=void 0;function uSe(t,e){if(!t)throw new Error(e)}Si.assert=uSe;function dSe(t,e){throw new Error(e??"Unexpected object: "+t)}Si.assertNever=dSe;var fSe=34028234663852886e22,hSe=-34028234663852886e22,gSe=4294967295,mSe=2147483647,pSe=-2147483648;function ySe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>mSe||t<pSe)throw new Error("invalid int 32: "+t)}Si.assertInt32=ySe;function ESe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>gSe||t<0)throw new Error("invalid uint 32: "+t)}Si.assertUInt32=ESe;function CSe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>fSe||t<hSe))throw new Error("invalid float 32: "+t)}Si.assertFloat32=CSe});var P_=h(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.BinaryWriter=ld.binaryWriteOptions=void 0;var Sg=Ea(),xg=HI(),cd=Ad(),N4={writeUnknownFields:!0,writerFactory:()=>new JI};function ISe(t){return t?Object.assign(Object.assign({},N4),t):N4}ld.binaryWriteOptions=ISe;var JI=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 i=0;i<this.chunks.length;i++)e+=this.chunks[i].length;let r=new Uint8Array(e),n=0;for(let i=0;i<this.chunks.length;i++)r.set(this.chunks[i],n),n+=this.chunks[i].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(cd.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return cd.assertInt32(e),xg.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){cd.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){cd.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){cd.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return cd.assertInt32(e),e=(e<<1^e>>31)>>>0,xg.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Sg.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=Sg.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=Sg.PbLong.from(e);return xg.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=Sg.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return xg.varint64write(i,s,this.buf),this}uint64(e){let r=Sg.PbULong.from(e);return xg.varint64write(r.lo,r.hi,this.buf),this}};ld.BinaryWriter=JI});var T_=h(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.mergeJsonOptions=Ca.jsonWriteOptions=Ca.jsonReadOptions=void 0;var w4={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},S4={ignoreUnknownFields:!1};function BSe(t){return t?Object.assign(Object.assign({},S4),t):S4}Ca.jsonReadOptions=BSe;function QSe(t){return t?Object.assign(Object.assign({},w4),t):w4}Ca.jsonWriteOptions=QSe;function bSe(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}Ca.mergeJsonOptions=bSe});var Rg=h(VI=>{"use strict";Object.defineProperty(VI,"__esModule",{value:!0});VI.MESSAGE_TYPE=void 0;VI.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var O_=h(WI=>{"use strict";Object.defineProperty(WI,"__esModule",{value:!0});WI.lowerCamelCase=void 0;function NSe(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let i=t.charAt(n);i=="_"?e=!0:/\d/.test(i)?(r.push(i),e=!0):e?(r.push(i.toUpperCase()),e=!1):n==0?r.push(i.toLowerCase()):r.push(i)}return r.join("")}WI.lowerCamelCase=NSe});var Xi=h(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.readMessageOption=lr.readFieldOption=lr.readFieldOptions=lr.normalizeFieldInfo=lr.RepeatType=lr.LongType=lr.ScalarType=void 0;var x4=O_(),wSe;(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"})(wSe=lr.ScalarType||(lr.ScalarType={}));var SSe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(SSe=lr.LongType||(lr.LongType={}));var R4;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(R4=lr.RepeatType||(lr.RepeatType={}));function xSe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:x4.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:x4.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:R4.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}lr.normalizeFieldInfo=xSe;function RSe(t,e,r,n){var i;let s=(i=t.fields.find((o,a)=>o.localName==e||a==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}lr.readFieldOptions=RSe;function vSe(t,e,r,n){var i;let s=(i=t.fields.find((a,A)=>a.localName==e||A==e))===null||i===void 0?void 0:i.options;if(!s)return;let o=s[r];return o===void 0?o:n?n.fromJson(o):o}lr.readFieldOption=vSe;function _Se(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}lr.readMessageOption=_Se});var L_=h(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.getSelectedOneofValue=vn.clearOneofValue=vn.setUnknownOneofValue=vn.setOneofValue=vn.getOneofValue=vn.isOneofGroup=void 0;function DSe(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}}vn.isOneofGroup=DSe;function kSe(t,e){return t[e]}vn.getOneofValue=kSe;function PSe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}vn.setOneofValue=PSe;function TSe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}vn.setUnknownOneofValue=TSe;function OSe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}vn.clearOneofValue=OSe;function LSe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}vn.getSelectedOneofValue=LSe});var F_=h($I=>{"use strict";Object.defineProperty($I,"__esModule",{value:!0});$I.ReflectionTypeCheck=void 0;var zt=Xi(),MSe=L_(),M_=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 i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.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 i=Object.keys(e),s=this.data;if(i.length<s.req.length||s.req.some(o=>!i.includes(o))||!n&&i.some(o=>!s.known.includes(o)))return!1;if(r<1)return!0;for(let o of s.oneofs){let a=e[o];if(!MSe.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let A=this.fields.find(c=>c.localName===a.oneofKind);if(!A||!this.field(a[a.oneofKind],A,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,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,zt.ScalarType.INT32,i):this.scalar(e,zt.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),zt.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;s<e.length&&s<i;s++)if(!r.isAssignable(e[s],i-1))return!1}else for(let s=0;s<e.length&&s<i;s++)if(!r.is(e[s],i-1))return!1;return!0}scalar(e,r,n){let i=typeof e;switch(r){case zt.ScalarType.UINT64:case zt.ScalarType.FIXED64:case zt.ScalarType.INT64:case zt.ScalarType.SFIXED64:case zt.ScalarType.SINT64:switch(n){case zt.LongType.BIGINT:return i=="bigint";case zt.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case zt.ScalarType.BOOL:return i=="boolean";case zt.ScalarType.STRING:return i=="string";case zt.ScalarType.BYTES:return e instanceof Uint8Array;case zt.ScalarType.DOUBLE:case zt.ScalarType.FLOAT:return i=="number"&&!isNaN(e);default:return i=="number"&&Number.isInteger(e)}}scalars(e,r,n,i){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let s=0;s<e.length&&s<n;s++)if(!this.scalar(e[s],r,i))return!1}return!0}mapKeys(e,r,n){let i=Object.keys(e);switch(r){case zt.ScalarType.INT32:case zt.ScalarType.FIXED32:case zt.ScalarType.SFIXED32:case zt.ScalarType.SINT32:case zt.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case zt.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,zt.LongType.STRING)}}};$I.ReflectionTypeCheck=M_});var XI=h(KI=>{"use strict";Object.defineProperty(KI,"__esModule",{value:!0});KI.reflectionLongConvert=void 0;var v4=Xi();function FSe(t,e){switch(e){case v4.LongType.BIGINT:return t.toBigInt();case v4.LongType.NUMBER:return t.toNumber();default:return t.toString()}}KI.reflectionLongConvert=FSe});var q_=h(tB=>{"use strict";Object.defineProperty(tB,"__esModule",{value:!0});tB.ReflectionJsonReader=void 0;var _4=LI(),USe=FI(),ur=Xi(),ZI=Ea(),OA=Ad(),eB=XI(),U_=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 i=_4.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,o]of Object.entries(e)){let a=this.fMap[s];if(!a){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let A=a.localName,c;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(a.oneof),c=r[a.oneof]={oneofKind:A}}else c=r;if(a.kind=="map"){if(o===null)continue;this.assert(_4.isJsonObject(o),a.name,o);let l=c[A];for(let[u,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let f;switch(a.V.kind){case"message":f=a.V.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(a.V.T(),d,a.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(f!==void 0,a.name+" map value",d);let g=u;a.K==ur.ScalarType.BOOL&&(g=g=="true"?!0:g=="false"?!1:g),g=this.scalar(g,a.K,ur.LongType.STRING,a.name).toString(),l[g]=f}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let l=c[A];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),l.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}c[A]=a.T().internalJsonRead(o,n,c[A]);break;case"enum":if(o===null)continue;let l=this.enum(a.T(),o,a.name,n.ignoreUnknownFields);if(l===!1)continue;c[A]=l;break;case"scalar":if(o===null)continue;c[A]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&OA.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return OA.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let o=e[1][s];return typeof o>"u"&&i?!1:(OA.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),o)}OA.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case ur.ScalarType.DOUBLE:case ur.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let o=Number(e);if(Number.isNaN(o)){s="not a number";break}if(!Number.isFinite(o)){s="too large or small";break}return r==ur.ScalarType.FLOAT&&OA.assertFloat32(o),o;case ur.ScalarType.INT32:case ur.ScalarType.FIXED32:case ur.ScalarType.SFIXED32:case ur.ScalarType.SINT32:case ur.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":a=Number(e)),a===void 0)break;return r==ur.ScalarType.UINT32?OA.assertUInt32(a):OA.assertInt32(a),a;case ur.ScalarType.INT64:case ur.ScalarType.SFIXED64:case ur.ScalarType.SINT64:if(e===null)return eB.reflectionLongConvert(ZI.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return eB.reflectionLongConvert(ZI.PbLong.from(e),n);case ur.ScalarType.FIXED64:case ur.ScalarType.UINT64:if(e===null)return eB.reflectionLongConvert(ZI.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return eB.reflectionLongConvert(ZI.PbULong.from(e),n);case ur.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case ur.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(A){A="invalid UTF8";break}return e;case ur.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return USe.base64decode(e)}}catch(o){s=o.message}this.assert(!1,i+(s?" - "+s:""),e)}};tB.ReflectionJsonReader=U_});var j_=h(rB=>{"use strict";Object.defineProperty(rB,"__esModule",{value:!0});rB.ReflectionJsonWriter=void 0;var qSe=FI(),D4=Ea(),sn=Xi(),vt=Ad(),H_=class{constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let c=this.field(s,i[s.localName],r);c!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=c);continue}let o=i[s.oneof];if(o.oneofKind!==s.localName)continue;let a=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,A=this.field(s,o[s.localName],a);vt.assert(A!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=A}return n}field(e,r,n){let i;if(e.kind=="map"){vt.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[A,c]of Object.entries(r)){let l=this.scalar(e.V.T,c,e.name,!1,!0);vt.assert(l!==void 0),s[A.toString()]=l}break;case"message":let o=e.V.T();for(let[A,c]of Object.entries(r)){let l=this.message(o,c,e.name,n);vt.assert(l!==void 0),s[A.toString()]=l}break;case"enum":let a=e.V.T();for(let[A,c]of Object.entries(r)){vt.assert(c===void 0||typeof c=="number");let l=this.enum(a,c,e.name,!1,!0,n.enumAsInteger);vt.assert(l!==void 0),s[A.toString()]=l}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){vt.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let A=0;A<r.length;A++){let c=this.scalar(e.T,r[A],e.name,e.opt,!0);vt.assert(c!==void 0),s.push(c)}break;case"enum":let o=e.T();for(let A=0;A<r.length;A++){vt.assert(r[A]===void 0||typeof r[A]=="number");let c=this.enum(o,r[A],e.name,e.opt,!0,n.enumAsInteger);vt.assert(c!==void 0),s.push(c)}break;case"message":let a=e.T();for(let A=0;A<r.length;A++){let c=this.message(a,r[A],e.name,n);vt.assert(c!==void 0),s.push(c)}break}(n.emitDefaultValues||s.length>0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,o){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){vt.assert(i);return}if(!(r===0&&!s&&!i))return vt.assert(typeof r=="number"),vt.assert(Number.isInteger(r)),o||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){vt.assert(i);return}let o=s||i;switch(e){case sn.ScalarType.INT32:case sn.ScalarType.SFIXED32:case sn.ScalarType.SINT32:return r===0?o?0:void 0:(vt.assertInt32(r),r);case sn.ScalarType.FIXED32:case sn.ScalarType.UINT32:return r===0?o?0:void 0:(vt.assertUInt32(r),r);case sn.ScalarType.FLOAT:vt.assertFloat32(r);case sn.ScalarType.DOUBLE:return r===0?o?0:void 0:(vt.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case sn.ScalarType.STRING:return r===""?o?"":void 0:(vt.assert(typeof r=="string"),r);case sn.ScalarType.BOOL:return r===!1?o?!1:void 0:(vt.assert(typeof r=="boolean"),r);case sn.ScalarType.UINT64:case sn.ScalarType.FIXED64:vt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=D4.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case sn.ScalarType.INT64:case sn.ScalarType.SFIXED64:case sn.ScalarType.SINT64:vt.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let A=D4.PbLong.from(r);return A.isZero()&&!o?void 0:A.toString();case sn.ScalarType.BYTES:return vt.assert(r instanceof Uint8Array),r.byteLength?qSe.base64encode(r):o?"":void 0}}};rB.ReflectionJsonWriter=H_});var iB=h(nB=>{"use strict";Object.defineProperty(nB,"__esModule",{value:!0});nB.reflectionScalarDefault=void 0;var Zi=Xi(),k4=XI(),P4=Ea();function HSe(t,e=Zi.LongType.STRING){switch(t){case Zi.ScalarType.BOOL:return!1;case Zi.ScalarType.UINT64:case Zi.ScalarType.FIXED64:return k4.reflectionLongConvert(P4.PbULong.ZERO,e);case Zi.ScalarType.INT64:case Zi.ScalarType.SFIXED64:case Zi.ScalarType.SINT64:return k4.reflectionLongConvert(P4.PbLong.ZERO,e);case Zi.ScalarType.DOUBLE:case Zi.ScalarType.FLOAT:return 0;case Zi.ScalarType.BYTES:return new Uint8Array(0);case Zi.ScalarType.STRING:return"";default:return 0}}nB.reflectionScalarDefault=HSe});var G_=h(sB=>{"use strict";Object.defineProperty(sB,"__esModule",{value:!0});sB.ReflectionBinaryReader=void 0;var T4=Bg(),Xt=Xi(),vg=XI(),O4=iB(),z_=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,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos<s;){let[o,a]=e.tag(),A=this.fieldNoToField.get(o);if(!A){let d=n.readUnknownField;if(d=="throw")throw new Error(`Unknown field ${o} (wire type ${a}) for ${this.info.typeName}`);let f=e.skip(a);d!==!1&&(d===!0?T4.UnknownFieldHandler.onRead:d)(this.info.typeName,r,o,a,f);continue}let c=r,l=A.repeat,u=A.localName;switch(A.oneof&&(c=c[A.oneof],c.oneofKind!==u&&(c=r[A.oneof]={oneofKind:u})),A.kind){case"scalar":case"enum":let d=A.kind=="enum"?Xt.ScalarType.INT32:A.T,f=A.kind=="scalar"?A.L:void 0;if(l){let E=c[u];if(a==T4.WireType.LengthDelimited&&d!=Xt.ScalarType.STRING&&d!=Xt.ScalarType.BYTES){let C=e.uint32()+e.pos;for(;e.pos<C;)E.push(this.scalar(e,d,f))}else E.push(this.scalar(e,d,f))}else c[u]=this.scalar(e,d,f);break;case"message":if(l){let E=c[u],C=A.T().internalBinaryRead(e,e.uint32(),n);E.push(C)}else c[u]=A.T().internalBinaryRead(e,e.uint32(),n,c[u]);break;case"map":let[g,m]=this.mapEntry(A,e,n);c[u][g]=m;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,o,a;for(;r.pos<s;){let[A,c]=r.tag();switch(A){case 1:e.K==Xt.ScalarType.BOOL?o=r.bool().toString():o=this.scalar(r,e.K,Xt.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 ${A} (wire type ${c}) in map entry for ${this.info.typeName}#${e.name}`)}}if(o===void 0){let A=O4.reflectionScalarDefault(e.K);o=e.K==Xt.ScalarType.BOOL?A.toString():A}if(a===void 0)switch(e.V.kind){case"scalar":a=O4.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 Xt.ScalarType.INT32:return e.int32();case Xt.ScalarType.STRING:return e.string();case Xt.ScalarType.BOOL:return e.bool();case Xt.ScalarType.DOUBLE:return e.double();case Xt.ScalarType.FLOAT:return e.float();case Xt.ScalarType.INT64:return vg.reflectionLongConvert(e.int64(),n);case Xt.ScalarType.UINT64:return vg.reflectionLongConvert(e.uint64(),n);case Xt.ScalarType.FIXED64:return vg.reflectionLongConvert(e.fixed64(),n);case Xt.ScalarType.FIXED32:return e.fixed32();case Xt.ScalarType.BYTES:return e.bytes();case Xt.ScalarType.UINT32:return e.uint32();case Xt.ScalarType.SFIXED32:return e.sfixed32();case Xt.ScalarType.SFIXED64:return vg.reflectionLongConvert(e.sfixed64(),n);case Xt.ScalarType.SINT32:return e.sint32();case Xt.ScalarType.SINT64:return vg.reflectionLongConvert(e.sint64(),n)}}};sB.ReflectionBinaryReader=z_});var J_=h(oB=>{"use strict";Object.defineProperty(oB,"__esModule",{value:!0});oB.ReflectionBinaryWriter=void 0;var Zn=Bg(),Et=Xi(),ud=Ad(),_g=Ea(),Y_=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 s of this.fields){let o,a,A=s.repeat,c=s.localName;if(s.oneof){let l=e[s.oneof];if(l.oneofKind!==c)continue;o=l[c],a=!0}else o=e[c],a=!1;switch(s.kind){case"scalar":case"enum":let l=s.kind=="enum"?Et.ScalarType.INT32:s.T;if(A)if(ud.assert(Array.isArray(o)),A==Et.RepeatType.PACKED)this.packed(r,l,s.no,o);else for(let u of o)this.scalar(r,l,s.no,u,!0);else o===void 0?ud.assert(s.opt):this.scalar(r,l,s.no,o,a||s.opt);break;case"message":if(A){ud.assert(Array.isArray(o));for(let u of o)this.message(r,n,s.T(),s.no,u)}else this.message(r,n,s.T(),s.no,o);break;case"map":ud.assert(typeof o=="object"&&o!==null);for(let[u,d]of Object.entries(o))this.mapEntry(r,n,s,u,d);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?Zn.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,Zn.WireType.LengthDelimited),e.fork();let o=i;switch(n.K){case Et.ScalarType.INT32:case Et.ScalarType.FIXED32:case Et.ScalarType.UINT32:case Et.ScalarType.SFIXED32:case Et.ScalarType.SINT32:o=Number.parseInt(i);break;case Et.ScalarType.BOOL:ud.assert(i=="true"||i=="false"),o=i=="true";break}switch(this.scalar(e,n.K,1,o,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Et.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,Zn.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[o,a,A]=this.scalarInfo(r,i);(!A||s)&&(e.tag(n,o),e[a](i))}packed(e,r,n,i){if(!i.length)return;ud.assert(r!==Et.ScalarType.BYTES&&r!==Et.ScalarType.STRING),e.tag(n,Zn.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let o=0;o<i.length;o++)e[s](i[o]);e.join()}scalarInfo(e,r){let n=Zn.WireType.Varint,i,s=r===void 0,o=r===0;switch(e){case Et.ScalarType.INT32:i="int32";break;case Et.ScalarType.STRING:o=s||!r.length,n=Zn.WireType.LengthDelimited,i="string";break;case Et.ScalarType.BOOL:o=r===!1,i="bool";break;case Et.ScalarType.UINT32:i="uint32";break;case Et.ScalarType.DOUBLE:n=Zn.WireType.Bit64,i="double";break;case Et.ScalarType.FLOAT:n=Zn.WireType.Bit32,i="float";break;case Et.ScalarType.INT64:o=s||_g.PbLong.from(r).isZero(),i="int64";break;case Et.ScalarType.UINT64:o=s||_g.PbULong.from(r).isZero(),i="uint64";break;case Et.ScalarType.FIXED64:o=s||_g.PbULong.from(r).isZero(),n=Zn.WireType.Bit64,i="fixed64";break;case Et.ScalarType.BYTES:o=s||!r.byteLength,n=Zn.WireType.LengthDelimited,i="bytes";break;case Et.ScalarType.FIXED32:n=Zn.WireType.Bit32,i="fixed32";break;case Et.ScalarType.SFIXED32:n=Zn.WireType.Bit32,i="sfixed32";break;case Et.ScalarType.SFIXED64:o=s||_g.PbLong.from(r).isZero(),n=Zn.WireType.Bit64,i="sfixed64";break;case Et.ScalarType.SINT32:i="sint32";break;case Et.ScalarType.SINT64:o=s||_g.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||o]}};oB.ReflectionBinaryWriter=Y_});var V_=h(aB=>{"use strict";Object.defineProperty(aB,"__esModule",{value:!0});aB.reflectionCreate=void 0;var jSe=iB(),zSe=Rg();function GSe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},zSe.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]=jSe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}aB.reflectionCreate=GSe});var W_=h(AB=>{"use strict";Object.defineProperty(AB,"__esModule",{value:!0});AB.reflectionMergePartial=void 0;function YSe(t,e,r){let n,i=r,s;for(let o of t.fields){let a=o.localName;if(o.oneof){let A=i[o.oneof];if(A?.oneofKind==null)continue;if(n=A[a],s=e[o.oneof],s.oneofKind=A.oneofKind,n==null){delete s[a];continue}}else if(n=i[a],s=e,n==null)continue;switch(o.repeat&&(s[a].length=n.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=n[c];else s[a]=n;break;case"message":let A=o.T();if(o.repeat)for(let c=0;c<n.length;c++)s[a][c]=A.create(n[c]);else s[a]===void 0?s[a]=A.create(n):A.mergePartial(s[a],n);break;case"map":switch(o.V.kind){case"scalar":case"enum":Object.assign(s[a],n);break;case"message":let c=o.V.T();for(let l of Object.keys(n))s[a][l]=c.create(n[l]);break}break}}}AB.reflectionMergePartial=YSe});var K_=h(lB=>{"use strict";Object.defineProperty(lB,"__esModule",{value:!0});lB.reflectionEquals=void 0;var $_=Xi();function JSe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],o=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let a=n.kind=="enum"?$_.ScalarType.INT32:n.T;if(!(n.repeat?L4(a,s,o):F4(a,s,o)))return!1;break;case"map":if(!(n.V.kind=="message"?M4(n.V.T(),cB(s),cB(o)):L4(n.V.kind=="enum"?$_.ScalarType.INT32:n.V.T,cB(s),cB(o))))return!1;break;case"message":let A=n.T();if(!(n.repeat?M4(A,s,o):A.equals(s,o)))return!1;break}}return!0}lB.reflectionEquals=JSe;var cB=Object.values;function F4(t,e,r){if(e===r)return!0;if(t!==$_.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!=i[s])return!1;return!0}function L4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!F4(t,e[n],r[n]))return!1;return!0}function M4(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 H4=h(uB=>{"use strict";Object.defineProperty(uB,"__esModule",{value:!0});uB.MessageType=void 0;var VSe=Rg(),WSe=Xi(),$Se=F_(),KSe=q_(),XSe=j_(),ZSe=G_(),exe=J_(),txe=V_(),X_=W_(),rxe=LI(),U4=T_(),nxe=K_(),ixe=P_(),sxe=k_(),q4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),oxe=q4[VSe.MESSAGE_TYPE]={},Z_=class{constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(WSe.normalizeFieldInfo),this.options=n??{},oxe.value=this,this.messagePrototype=Object.create(null,q4),this.refTypeCheck=new $Se.ReflectionTypeCheck(this),this.refJsonReader=new KSe.ReflectionJsonReader(this),this.refJsonWriter=new XSe.ReflectionJsonWriter(this),this.refBinReader=new ZSe.ReflectionBinaryReader(this),this.refBinWriter=new exe.ReflectionBinaryWriter(this)}create(e){let r=txe.reflectionCreate(this);return e!==void 0&&X_.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return X_.reflectionMergePartial(this,r,e),r}equals(e,r){return nxe.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){X_.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=sxe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,U4.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,U4.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=ixe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${rxe.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,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};uB.MessageType=Z_});var j4=h(dB=>{"use strict";Object.defineProperty(dB,"__esModule",{value:!0});dB.containsMessageType=void 0;var axe=Rg();function Axe(t){return t[axe.MESSAGE_TYPE]!=null}dB.containsMessageType=Axe});var G4=h(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.listEnumNumbers=ks.listEnumNames=ks.listEnumValues=ks.isEnumObject=void 0;function z4(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}ks.isEnumObject=z4;function eD(t){if(!z4(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}ks.listEnumValues=eD;function cxe(t){return eD(t).map(e=>e.name)}ks.listEnumNames=cxe;function lxe(t){return eD(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}ks.listEnumNumbers=lxe});var Yr=h(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var Y4=LI();Object.defineProperty(le,"typeofJsonValue",{enumerable:!0,get:function(){return Y4.typeofJsonValue}});Object.defineProperty(le,"isJsonObject",{enumerable:!0,get:function(){return Y4.isJsonObject}});var J4=FI();Object.defineProperty(le,"base64decode",{enumerable:!0,get:function(){return J4.base64decode}});Object.defineProperty(le,"base64encode",{enumerable:!0,get:function(){return J4.base64encode}});var uxe=E4();Object.defineProperty(le,"utf8read",{enumerable:!0,get:function(){return uxe.utf8read}});var tD=Bg();Object.defineProperty(le,"WireType",{enumerable:!0,get:function(){return tD.WireType}});Object.defineProperty(le,"mergeBinaryOptions",{enumerable:!0,get:function(){return tD.mergeBinaryOptions}});Object.defineProperty(le,"UnknownFieldHandler",{enumerable:!0,get:function(){return tD.UnknownFieldHandler}});var V4=k_();Object.defineProperty(le,"BinaryReader",{enumerable:!0,get:function(){return V4.BinaryReader}});Object.defineProperty(le,"binaryReadOptions",{enumerable:!0,get:function(){return V4.binaryReadOptions}});var W4=P_();Object.defineProperty(le,"BinaryWriter",{enumerable:!0,get:function(){return W4.BinaryWriter}});Object.defineProperty(le,"binaryWriteOptions",{enumerable:!0,get:function(){return W4.binaryWriteOptions}});var $4=Ea();Object.defineProperty(le,"PbLong",{enumerable:!0,get:function(){return $4.PbLong}});Object.defineProperty(le,"PbULong",{enumerable:!0,get:function(){return $4.PbULong}});var rD=T_();Object.defineProperty(le,"jsonReadOptions",{enumerable:!0,get:function(){return rD.jsonReadOptions}});Object.defineProperty(le,"jsonWriteOptions",{enumerable:!0,get:function(){return rD.jsonWriteOptions}});Object.defineProperty(le,"mergeJsonOptions",{enumerable:!0,get:function(){return rD.mergeJsonOptions}});var dxe=Rg();Object.defineProperty(le,"MESSAGE_TYPE",{enumerable:!0,get:function(){return dxe.MESSAGE_TYPE}});var fxe=H4();Object.defineProperty(le,"MessageType",{enumerable:!0,get:function(){return fxe.MessageType}});var LA=Xi();Object.defineProperty(le,"ScalarType",{enumerable:!0,get:function(){return LA.ScalarType}});Object.defineProperty(le,"LongType",{enumerable:!0,get:function(){return LA.LongType}});Object.defineProperty(le,"RepeatType",{enumerable:!0,get:function(){return LA.RepeatType}});Object.defineProperty(le,"normalizeFieldInfo",{enumerable:!0,get:function(){return LA.normalizeFieldInfo}});Object.defineProperty(le,"readFieldOptions",{enumerable:!0,get:function(){return LA.readFieldOptions}});Object.defineProperty(le,"readFieldOption",{enumerable:!0,get:function(){return LA.readFieldOption}});Object.defineProperty(le,"readMessageOption",{enumerable:!0,get:function(){return LA.readMessageOption}});var hxe=F_();Object.defineProperty(le,"ReflectionTypeCheck",{enumerable:!0,get:function(){return hxe.ReflectionTypeCheck}});var gxe=V_();Object.defineProperty(le,"reflectionCreate",{enumerable:!0,get:function(){return gxe.reflectionCreate}});var mxe=iB();Object.defineProperty(le,"reflectionScalarDefault",{enumerable:!0,get:function(){return mxe.reflectionScalarDefault}});var pxe=W_();Object.defineProperty(le,"reflectionMergePartial",{enumerable:!0,get:function(){return pxe.reflectionMergePartial}});var yxe=K_();Object.defineProperty(le,"reflectionEquals",{enumerable:!0,get:function(){return yxe.reflectionEquals}});var Exe=G_();Object.defineProperty(le,"ReflectionBinaryReader",{enumerable:!0,get:function(){return Exe.ReflectionBinaryReader}});var Cxe=J_();Object.defineProperty(le,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return Cxe.ReflectionBinaryWriter}});var Ixe=q_();Object.defineProperty(le,"ReflectionJsonReader",{enumerable:!0,get:function(){return Ixe.ReflectionJsonReader}});var Bxe=j_();Object.defineProperty(le,"ReflectionJsonWriter",{enumerable:!0,get:function(){return Bxe.ReflectionJsonWriter}});var Qxe=j4();Object.defineProperty(le,"containsMessageType",{enumerable:!0,get:function(){return Qxe.containsMessageType}});var Dg=L_();Object.defineProperty(le,"isOneofGroup",{enumerable:!0,get:function(){return Dg.isOneofGroup}});Object.defineProperty(le,"setOneofValue",{enumerable:!0,get:function(){return Dg.setOneofValue}});Object.defineProperty(le,"getOneofValue",{enumerable:!0,get:function(){return Dg.getOneofValue}});Object.defineProperty(le,"clearOneofValue",{enumerable:!0,get:function(){return Dg.clearOneofValue}});Object.defineProperty(le,"getSelectedOneofValue",{enumerable:!0,get:function(){return Dg.getSelectedOneofValue}});var fB=G4();Object.defineProperty(le,"listEnumValues",{enumerable:!0,get:function(){return fB.listEnumValues}});Object.defineProperty(le,"listEnumNames",{enumerable:!0,get:function(){return fB.listEnumNames}});Object.defineProperty(le,"listEnumNumbers",{enumerable:!0,get:function(){return fB.listEnumNumbers}});Object.defineProperty(le,"isEnumObject",{enumerable:!0,get:function(){return fB.isEnumObject}});var bxe=O_();Object.defineProperty(le,"lowerCamelCase",{enumerable:!0,get:function(){return bxe.lowerCamelCase}});var kg=Ad();Object.defineProperty(le,"assert",{enumerable:!0,get:function(){return kg.assert}});Object.defineProperty(le,"assertNever",{enumerable:!0,get:function(){return kg.assertNever}});Object.defineProperty(le,"assertInt32",{enumerable:!0,get:function(){return kg.assertInt32}});Object.defineProperty(le,"assertUInt32",{enumerable:!0,get:function(){return kg.assertUInt32}});Object.defineProperty(le,"assertFloat32",{enumerable:!0,get:function(){return kg.assertFloat32}})});var Z4=h(hB=>{"use strict";Object.defineProperty(hB,"__esModule",{value:!0});hB.CacheScope=void 0;var K4=Yr(),X4=Yr(),Nxe=Yr(),wxe=Yr(),Sxe=Yr(),nD=class extends Sxe.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,wxe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Nxe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.scope=e.string();break;case 2:s.permission=e.int64().toString();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?X4.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,K4.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,K4.WireType.Varint).int64(e.permission);let i=n.writeUnknownFields;return i!==!1&&(i==!0?X4.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};hB.CacheScope=new nD});var r$=h(gB=>{"use strict";Object.defineProperty(gB,"__esModule",{value:!0});gB.CacheMetadata=void 0;var e$=Yr(),t$=Yr(),xxe=Yr(),Rxe=Yr(),vxe=Yr(),iD=Z4(),sD=class extends vxe.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:()=>iD.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Rxe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,xxe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(iD.CacheScope.internalBinaryRead(e,e.uint32(),n));break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?t$.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,e$.WireType.Varint).int64(e.repositoryId);for(let s=0;s<e.scope.length;s++)iD.CacheScope.internalBinaryWrite(e.scope[s],r.tag(2,e$.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?t$.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};gB.CacheMetadata=new sD});var n$=h(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.CacheService=Gt.GetCacheEntryDownloadURLResponse=Gt.GetCacheEntryDownloadURLRequest=Gt.FinalizeCacheEntryUploadResponse=Gt.FinalizeCacheEntryUploadRequest=Gt.CreateCacheEntryResponse=Gt.CreateCacheEntryRequest=void 0;var _xe=y4(),ir=Yr(),xi=Yr(),dd=Yr(),fd=Yr(),hd=Yr(),yo=r$(),oD=class extends hd.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>yo.CacheMetadata},{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,fd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.metadata=yo.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.version=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?xi.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.metadata&&yo.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,ir.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?xi.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.CreateCacheEntryRequest=new oD;var aD=class extends hd.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,fd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.message=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?xi.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ir.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?xi.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.CreateCacheEntryResponse=new aD;var AD=class extends hd.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>yo.CacheMetadata},{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,fd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.metadata=yo.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.sizeBytes=e.int64().toString();break;case 4:s.version=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?xi.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.metadata&&yo.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,ir.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,ir.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,ir.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?xi.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.FinalizeCacheEntryUploadRequest=new AD;var cD=class extends hd.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,fd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.message=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?xi.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ir.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,ir.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?xi.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.FinalizeCacheEntryUploadResponse=new cD;var lD=class extends hd.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>yo.CacheMetadata},{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,fd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.metadata=yo.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.restoreKeys.push(e.string());break;case 4:s.version=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?xi.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.metadata&&yo.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,ir.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.key);for(let s=0;s<e.restoreKeys.length;s++)r.tag(3,ir.WireType.LengthDelimited).string(e.restoreKeys[s]);e.version!==""&&r.tag(4,ir.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?xi.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.GetCacheEntryDownloadURLRequest=new lD;var uD=class extends hd.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,fd.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,dd.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,A]=e.tag();switch(a){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.matchedKey=e.string();break;default:let c=n.readUnknownField;if(c==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${A}) for ${this.typeName}`);let l=e.skip(A);c!==!1&&(c===!0?xi.UnknownFieldHandler.onRead:c)(this.typeName,s,a,A,l)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ir.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,ir.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,ir.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;return i!==!1&&(i==!0?xi.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};Gt.GetCacheEntryDownloadURLResponse=new uD;Gt.CacheService=new _xe.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:Gt.CreateCacheEntryRequest,O:Gt.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:Gt.FinalizeCacheEntryUploadRequest,O:Gt.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:Gt.GetCacheEntryDownloadURLRequest,O:Gt.GetCacheEntryDownloadURLResponse}])});var i$=h(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.CacheServiceClientProtobuf=gd.CacheServiceClientJSON=void 0;var Ri=n$(),dD=class{constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Ri.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>Ri.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Ri.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>Ri.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Ri.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>Ri.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};gd.CacheServiceClientJSON=dD;var fD=class{constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=Ri.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>Ri.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=Ri.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>Ri.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=Ri.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>Ri.GetCacheEntryDownloadURLResponse.fromBinary(i))}};gd.CacheServiceClientProtobuf=fD});var s$=h(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.maskSecretUrls=md.maskSigUrl=void 0;var mB=at();function hD(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,mB.setSecret)(r),(0,mB.setSecret)(encodeURIComponent(r)))}catch(e){(0,mB.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}md.maskSigUrl=hD;function Dxe(t){if(typeof t!="object"||t===null){(0,mB.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&hD(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&hD(t.signed_download_url)}md.maskSecretUrls=Dxe});var o$=h(Ed=>{"use strict";var pB=Ed&&Ed.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ed,"__esModule",{value:!0});Ed.internalCacheTwirpClient=void 0;var pd=at(),kxe=Lv(),Pg=vv(),Pxe=$C(),Txe=fl(),Oxe=by(),yd=oA(),Lxe=i$(),Mxe=s$(),gD=class{constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,Txe.getRuntimeToken)();this.baseUrl=(0,Pxe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new yd.HttpClient(e,[new Oxe.BearerCredentialHandler(s)])}request(e,r,n,i){return pB(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,pd.debug)(`[Request] ${r} ${s}`);let o={"Content-Type":n};try{let{body:a}=yield this.retryableRequest(()=>pB(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),o)}));return a}catch(a){throw new Error(`Failed to ${r}: ${a.message}`)}})}retryableRequest(e){return pB(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r<this.maxAttempts;){let s=!1;try{let a=yield e(),A=a.message.statusCode;i=yield a.readBody(),(0,pd.debug)(`[Response] - ${a.message.statusCode}`),(0,pd.debug)(`Headers: ${JSON.stringify(a.message.headers,null,2)}`);let c=JSON.parse(i);if((0,Mxe.maskSecretUrls)(c),(0,pd.debug)(`Body: ${JSON.stringify(c,null,2)}`),this.isSuccessStatusCode(A))return{response:a,body:c};if(s=this.isRetryableHttpStatusCode(A),n=`Failed request: (${A}) ${a.message.statusMessage}`,c.msg){if(Pg.UsageError.isUsageErrorMessage(c.msg))throw new Pg.UsageError;n=`${n}: ${c.msg}`}}catch(a){if(a instanceof SyntaxError&&(0,pd.debug)(`Raw Body: ${i}`),a instanceof Pg.UsageError)throw a;if(Pg.NetworkError.isNetworkErrorCode(a?.code))throw new Pg.NetworkError(a?.code);s=!0,n=a.message}if(!s)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);(0,pd.info)(`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?[yd.HttpCodes.BadGateway,yd.HttpCodes.GatewayTimeout,yd.HttpCodes.InternalServerError,yd.HttpCodes.ServiceUnavailable,yd.HttpCodes.TooManyRequests].includes(e):!1}sleep(e){return pB(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 Fxe(t){let e=new gD((0,kxe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new Lxe.CacheServiceClientJSON(e)}Ed.internalCacheTwirpClient=Fxe});var c$=h(Jr=>{"use strict";var Uxe=Jr&&Jr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),qxe=Jr&&Jr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mD=Jr&&Jr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Uxe(e,t,r);return qxe(e,t),e},Eo=Jr&&Jr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.createTar=Jr.extractTar=Jr.listTar=void 0;var Hxe=Tf(),yB=mD(wy()),a$=require("fs"),es=mD(require("path")),pD=mD(fl()),Nt=Jf(),Ia=process.platform==="win32";function jxe(){return Eo(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield pD.getGnuTarPathOnWindows(),e=Nt.SystemTarPathOnWindows;if(t)return{path:t,type:Nt.ArchiveToolType.GNU};if((0,a$.existsSync)(e))return{path:e,type:Nt.ArchiveToolType.BSD};break}case"darwin":{let t=yield yB.which("gtar",!1);return t?{path:t,type:Nt.ArchiveToolType.GNU}:{path:yield yB.which("tar",!0),type:Nt.ArchiveToolType.BSD}}default:break}return{path:yield yB.which("tar",!0),type:Nt.ArchiveToolType.GNU}})}function zxe(t,e,r,n=""){return Eo(this,void 0,void 0,function*(){let i=[`"${t.path}"`],s=pD.getCacheFileName(e),o="cache.tar",a=A$(),A=t.type===Nt.ArchiveToolType.BSD&&e!==Nt.CompressionMethod.Gzip&&Ia;switch(r){case"create":i.push("--posix","-cf",A?o:s.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"--exclude",A?o:s.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"-P","-C",a.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"--files-from",Nt.ManifestFilename);break;case"extract":i.push("-xf",A?o:n.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"-P","-C",a.replace(new RegExp(`\\${es.sep}`,"g"),"/"));break;case"list":i.push("-tf",A?o:n.replace(new RegExp(`\\${es.sep}`,"g"),"/"),"-P");break}if(t.type===Nt.ArchiveToolType.GNU)switch(process.platform){case"win32":i.push("--force-local");break;case"darwin":i.push("--delay-directory-restore");break}return i})}function yD(t,e,r=""){return Eo(this,void 0,void 0,function*(){let n,i=yield jxe(),s=yield zxe(i,t,e,r),o=e!=="create"?yield Gxe(i,t,r):yield Yxe(i,t),a=i.type===Nt.ArchiveToolType.BSD&&t!==Nt.CompressionMethod.Gzip&&Ia;return a&&e!=="create"?n=[[...o].join(" "),[...s].join(" ")]:n=[[...s].join(" "),[...o].join(" ")],a?n:[n.join(" ")]})}function A$(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}function Gxe(t,e,r){return Eo(this,void 0,void 0,function*(){let n=t.type===Nt.ArchiveToolType.BSD&&e!==Nt.CompressionMethod.Gzip&&Ia;switch(e){case Nt.CompressionMethod.Zstd:return n?["zstd -d --long=30 --force -o",Nt.TarFilename,r.replace(new RegExp(`\\${es.sep}`,"g"),"/")]:["--use-compress-program",Ia?'"zstd -d --long=30"':"unzstd --long=30"];case Nt.CompressionMethod.ZstdWithoutLong:return n?["zstd -d --force -o",Nt.TarFilename,r.replace(new RegExp(`\\${es.sep}`,"g"),"/")]:["--use-compress-program",Ia?'"zstd -d"':"unzstd"];default:return["-z"]}})}function Yxe(t,e){return Eo(this,void 0,void 0,function*(){let r=pD.getCacheFileName(e),n=t.type===Nt.ArchiveToolType.BSD&&e!==Nt.CompressionMethod.Gzip&&Ia;switch(e){case Nt.CompressionMethod.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${es.sep}`,"g"),"/"),Nt.TarFilename]:["--use-compress-program",Ia?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Nt.CompressionMethod.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${es.sep}`,"g"),"/"),Nt.TarFilename]:["--use-compress-program",Ia?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}function ED(t,e){return Eo(this,void 0,void 0,function*(){for(let r of t)try{yield(0,Hxe.exec)(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 Jxe(t,e){return Eo(this,void 0,void 0,function*(){let r=yield yD(e,"list",t);yield ED(r)})}Jr.listTar=Jxe;function Vxe(t,e){return Eo(this,void 0,void 0,function*(){let r=A$();yield yB.mkdirP(r);let n=yield yD(e,"extract",t);yield ED(n)})}Jr.extractTar=Vxe;function Wxe(t,e,r){return Eo(this,void 0,void 0,function*(){(0,a$.writeFileSync)(es.join(t,Nt.ManifestFilename),e.join(`
|
|
`));let n=yield yD(r,"create");yield ED(n,t)})}Jr.createTar=Wxe});var BB=h(Yt=>{"use strict";var $xe=Yt&&Yt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Kxe=Yt&&Yt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Og=Yt&&Yt.__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)&&$xe(e,t,r);return Kxe(e,t),e},Id=Yt&&Yt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.saveCache=Yt.restoreCache=Yt.isFeatureAvailable=Yt.FinalizeCacheError=Yt.ReserveCacheError=Yt.ValidationError=void 0;var he=Og(at()),EB=Og(require("path")),_t=Og(fl()),Cd=Og(_3()),l$=Og(o$()),CB=$C(),Ba=c$(),IB=oA(),vi=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};Yt.ValidationError=vi;var MA=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};Yt.ReserveCacheError=MA;var Tg=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};Yt.FinalizeCacheError=Tg;function u$(t){if(!t||t.length===0)throw new vi("Path Validation Error: At least one directory or file path is required")}function CD(t){if(t.length>512)throw new vi(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new vi(`Key Validation Error: ${t} cannot contain commas.`)}function Xxe(){return(0,CB.getCacheServiceVersion)()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}Yt.isFeatureAvailable=Xxe;function Zxe(t,e,r,n,i=!1){return Id(this,void 0,void 0,function*(){let s=(0,CB.getCacheServiceVersion)();return he.debug(`Cache service version: ${s}`),u$(t),s==="v2"?yield tRe(t,e,r,n,i):yield eRe(t,e,r,n,i)})}Yt.restoreCache=Zxe;function eRe(t,e,r,n,i=!1){return Id(this,void 0,void 0,function*(){r=r||[];let s=[e,...r];if(he.debug("Resolved Keys:"),he.debug(JSON.stringify(s)),s.length>10)throw new vi("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of s)CD(A);let o=yield _t.getCompressionMethod(),a="";try{let A=yield Cd.getCacheEntry(s,t,{compressionMethod:o,enableCrossOsArchive:i});if(!A?.archiveLocation)return;if(n?.lookupOnly)return he.info("Lookup only - skipping download"),A.cacheKey;a=EB.join(yield _t.createTempDirectory(),_t.getCacheFileName(o)),he.debug(`Archive Path: ${a}`),yield Cd.downloadCache(A.archiveLocation,a,n),he.isDebug()&&(yield(0,Ba.listTar)(a,o));let c=_t.getArchiveFileSizeInBytes(a);return he.info(`Cache Size: ~${Math.round(c/(1024*1024))} MB (${c} B)`),yield(0,Ba.extractTar)(a,o),he.info("Cache restored successfully"),A.cacheKey}catch(A){let c=A;if(c.name===vi.name)throw A;c instanceof IB.HttpClientError&&typeof c.statusCode=="number"&&c.statusCode>=500?he.error(`Failed to restore: ${A.message}`):he.warning(`Failed to restore: ${A.message}`)}finally{try{yield _t.unlinkFile(a)}catch(A){he.debug(`Failed to delete archive: ${A}`)}}})}function tRe(t,e,r,n,i=!1){return Id(this,void 0,void 0,function*(){n=Object.assign(Object.assign({},n),{useAzureSdk:!0}),r=r||[];let s=[e,...r];if(he.debug("Resolved Keys:"),he.debug(JSON.stringify(s)),s.length>10)throw new vi("Key Validation Error: Keys are limited to a maximum of 10.");for(let a of s)CD(a);let o="";try{let a=l$.internalCacheTwirpClient(),A=yield _t.getCompressionMethod(),c={key:e,restoreKeys:r,version:_t.getCacheVersion(t,A,i)},l=yield a.GetCacheEntryDownloadURL(c);if(!l.ok){he.debug(`Cache not found for version ${c.version} of keys: ${s.join(", ")}`);return}if(c.key!==l.matchedKey?he.info(`Cache hit for restore-key: ${l.matchedKey}`):he.info(`Cache hit for: ${l.matchedKey}`),n?.lookupOnly)return he.info("Lookup only - skipping download"),l.matchedKey;o=EB.join(yield _t.createTempDirectory(),_t.getCacheFileName(A)),he.debug(`Archive path: ${o}`),he.debug(`Starting download of archive to: ${o}`),yield Cd.downloadCache(l.signedDownloadUrl,o,n);let d=_t.getArchiveFileSizeInBytes(o);return he.info(`Cache Size: ~${Math.round(d/(1024*1024))} MB (${d} B)`),he.isDebug()&&(yield(0,Ba.listTar)(o,A)),yield(0,Ba.extractTar)(o,A),he.info("Cache restored successfully"),l.matchedKey}catch(a){let A=a;if(A.name===vi.name)throw a;A instanceof IB.HttpClientError&&typeof A.statusCode=="number"&&A.statusCode>=500?he.error(`Failed to restore: ${a.message}`):he.warning(`Failed to restore: ${a.message}`)}finally{try{o&&(yield _t.unlinkFile(o))}catch(a){he.debug(`Failed to delete archive: ${a}`)}}})}function rRe(t,e,r,n=!1){return Id(this,void 0,void 0,function*(){let i=(0,CB.getCacheServiceVersion)();return he.debug(`Cache service version: ${i}`),u$(t),CD(e),i==="v2"?yield iRe(t,e,r,n):yield nRe(t,e,r,n)})}Yt.saveCache=rRe;function nRe(t,e,r,n=!1){var i,s,o,a,A;return Id(this,void 0,void 0,function*(){let c=yield _t.getCompressionMethod(),l=-1,u=yield _t.resolvePaths(t);if(he.debug("Cache Paths:"),he.debug(`${JSON.stringify(u)}`),u.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield _t.createTempDirectory(),f=EB.join(d,_t.getCacheFileName(c));he.debug(`Archive Path: ${f}`);try{yield(0,Ba.createTar)(d,u,c),he.isDebug()&&(yield(0,Ba.listTar)(f,c));let g=10*1024*1024*1024,m=_t.getArchiveFileSizeInBytes(f);if(he.debug(`File Size: ${m}`),m>g&&!(0,CB.isGhes)())throw new Error(`Cache size of ~${Math.round(m/(1024*1024))} MB (${m} B) is over the 10GB limit, not saving cache.`);he.debug("Reserving Cache");let E=yield Cd.reserveCache(e,t,{compressionMethod:c,enableCrossOsArchive:n,cacheSize:m});if(!((i=E?.result)===null||i===void 0)&&i.cacheId)l=(s=E?.result)===null||s===void 0?void 0:s.cacheId;else throw E?.statusCode===400?new Error((a=(o=E?.error)===null||o===void 0?void 0:o.message)!==null&&a!==void 0?a:`Cache size of ~${Math.round(m/(1024*1024))} MB (${m} B) is over the data cap limit, not saving cache.`):new MA(`Unable to reserve cache with key ${e}, another job may be creating this cache. More details: ${(A=E?.error)===null||A===void 0?void 0:A.message}`);he.debug(`Saving Cache (ID: ${l})`),yield Cd.saveCache(l,f,"",r)}catch(g){let m=g;if(m.name===vi.name)throw g;m.name===MA.name?he.info(`Failed to save: ${m.message}`):m instanceof IB.HttpClientError&&typeof m.statusCode=="number"&&m.statusCode>=500?he.error(`Failed to save: ${m.message}`):he.warning(`Failed to save: ${m.message}`)}finally{try{yield _t.unlinkFile(f)}catch(g){he.debug(`Failed to delete archive: ${g}`)}}return l})}function iRe(t,e,r,n=!1){return Id(this,void 0,void 0,function*(){r=Object.assign(Object.assign({},r),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let i=yield _t.getCompressionMethod(),s=l$.internalCacheTwirpClient(),o=-1,a=yield _t.resolvePaths(t);if(he.debug("Cache Paths:"),he.debug(`${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 A=yield _t.createTempDirectory(),c=EB.join(A,_t.getCacheFileName(i));he.debug(`Archive Path: ${c}`);try{yield(0,Ba.createTar)(A,a,i),he.isDebug()&&(yield(0,Ba.listTar)(c,i));let l=_t.getArchiveFileSizeInBytes(c);he.debug(`File Size: ${l}`),r.archiveSizeBytes=l,he.debug("Reserving Cache");let u=_t.getCacheVersion(t,i,n),d={key:e,version:u},f;try{let E=yield s.CreateCacheEntry(d);if(!E.ok)throw E.message&&he.warning(`Cache reservation failed: ${E.message}`),new Error(E.message||"Response was not ok");f=E.signedUploadUrl}catch(E){throw he.debug(`Failed to reserve cache: ${E}`),new MA(`Unable to reserve cache with key ${e}, another job may be creating this cache.`)}he.debug(`Attempting to upload cache located at: ${c}`),yield Cd.saveCache(o,c,f,r);let g={key:e,version:u,sizeBytes:`${l}`},m=yield s.FinalizeCacheEntryUpload(g);if(he.debug(`FinalizeCacheEntryUploadResponse: ${m.ok}`),!m.ok)throw m.message?new Tg(m.message):new Error(`Unable to finalize cache with key ${e}, another job may be finalizing this cache.`);o=parseInt(m.entryId)}catch(l){let u=l;if(u.name===vi.name)throw l;u.name===MA.name?he.info(`Failed to save: ${u.message}`):u.name===Tg.name?he.warning(u.message):u instanceof IB.HttpClientError&&typeof u.statusCode=="number"&&u.statusCode>=500?he.error(`Failed to save: ${u.message}`):he.warning(`Failed to save: ${u.message}`)}finally{try{yield _t.unlinkFile(c)}catch(l){he.debug(`Failed to delete archive: ${l}`)}}return o})}});var d$=h(Ps=>{"use strict";var sRe=Ps&&Ps.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),oRe=Ps&&Ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),aRe=Ps&&Ps.__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)&&sRe(e,t,r);return oRe(e,t),e};Object.defineProperty(Ps,"__esModule",{value:!0});Ps.getOptions=void 0;var Lg=aRe(at());function ARe(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Lg.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Lg.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Lg.debug(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Lg.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Lg.debug(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}Ps.getOptions=ARe});var bB=h(Jt=>{"use strict";var cRe=Jt&&Jt.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),lRe=Jt&&Jt.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uRe=Jt&&Jt.__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)&&cRe(e,t,r);return lRe(e,t),e},dRe=Jt&&Jt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.safeTrimTrailingSeparator=Jt.normalizeSeparators=Jt.hasRoot=Jt.hasAbsoluteRoot=Jt.ensureAbsoluteRoot=Jt.dirname=void 0;var QB=uRe(require("path")),FA=dRe(require("assert")),Qa=process.platform==="win32";function fRe(t){if(t=BD(t),Qa&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=QB.dirname(t);return Qa&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=BD(e)),e}Jt.dirname=fRe;function hRe(t,e){if((0,FA.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,FA.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),ID(e))return e;if(Qa){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,FA.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(Mg(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,FA.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,FA.default)(ID(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Qa&&t.endsWith("\\")||(t+=QB.sep),t+e}Jt.ensureAbsoluteRoot=hRe;function ID(t){return(0,FA.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Mg(t),Qa?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}Jt.hasAbsoluteRoot=ID;function gRe(t){return(0,FA.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Mg(t),Qa?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}Jt.hasRoot=gRe;function Mg(t){return t=t||"",Qa?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}Jt.normalizeSeparators=Mg;function BD(t){return t?(t=Mg(t),!t.endsWith(QB.sep)||t===QB.sep||Qa&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}Jt.safeTrimTrailingSeparator=BD});var wB=h(NB=>{"use strict";Object.defineProperty(NB,"__esModule",{value:!0});NB.MatchKind=void 0;var f$;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(f$||(NB.MatchKind=f$={}))});var m$=h(_n=>{"use strict";var mRe=_n&&_n.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),pRe=_n&&_n.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yRe=_n&&_n.__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)&&mRe(e,t,r);return pRe(e,t),e};Object.defineProperty(_n,"__esModule",{value:!0});_n.partialMatch=_n.match=_n.getSearchPaths=void 0;var h$=yRe(bB()),ERe=wB(),g$=process.platform==="win32";function CRe(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=g$?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=g$?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,o=i,a=h$.dirname(o);for(;a!==o;){if(e[a]){s=!0;break}o=a,a=h$.dirname(o)}s||(r.push(n.searchPath),e[i]="included")}return r}_n.getSearchPaths=CRe;function IRe(t,e){let r=ERe.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}_n.match=IRe;function BRe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}_n.partialMatch=BRe});var y$=h(_i=>{"use strict";var QRe=_i&&_i.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),bRe=_i&&_i.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),p$=_i&&_i.__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)&&QRe(e,t,r);return bRe(e,t),e},NRe=_i&&_i.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_i,"__esModule",{value:!0});_i.Path=void 0;var Fg=p$(require("path")),ba=p$(bB()),Ug=NRe(require("assert")),wRe=process.platform==="win32",QD=class{constructor(e){if(this.segments=[],typeof e=="string")if((0,Ug.default)(e,"Parameter 'itemPath' must not be empty"),e=ba.safeTrimTrailingSeparator(e),!ba.hasRoot(e))this.segments=e.split(Fg.sep);else{let r=e,n=ba.dirname(r);for(;n!==r;){let i=Fg.basename(r);this.segments.unshift(i),r=n,n=ba.dirname(r)}this.segments.unshift(r)}else{(0,Ug.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,Ug.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=ba.normalizeSeparators(e[r]),r===0&&ba.hasRoot(n)?(n=ba.safeTrimTrailingSeparator(n),(0,Ug.default)(n===ba.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,Ug.default)(!n.includes(Fg.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(Fg.sep)||wRe&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=Fg.sep,e+=this.segments[n];return e}};_i.Path=QD});var E$=h(Di=>{"use strict";var SRe=Di&&Di.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),xRe=Di&&Di.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),wD=Di&&Di.__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)&&SRe(e,t,r);return xRe(e,t),e},RRe=Di&&Di.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Di,"__esModule",{value:!0});Di.Pattern=void 0;var vRe=wD(require("os")),qg=wD(require("path")),Dn=wD(bB()),UA=RRe(require("assert")),_Re=mw(),bD=wB(),SB=y$(),Co=process.platform==="win32",ND=class t{constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],(0,UA.default)(n.length,"Parameter 'segments' must not empty");let c=t.getLiteral(n[0]);(0,UA.default)(c&&Dn.hasAbsoluteRoot(c),"Parameter 'segments' first element must be a root path"),s=new SB.Path(n).toString().trim(),e&&(s=`!${s}`)}for(;s.startsWith("!");)this.negate=!this.negate,s=s.substr(1).trim();s=t.fixupPattern(s,i),this.segments=new SB.Path(s).segments,this.trailingSeparator=Dn.normalizeSeparators(s).endsWith(qg.sep),s=Dn.safeTrimTrailingSeparator(s);let o=!1,a=this.segments.map(c=>t.getLiteral(c)).filter(c=>!o&&!(o=c===""));this.searchPath=new SB.Path(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),Co?"i":""),this.isImplicitPattern=r;let A={dot:!0,nobrace:!0,nocase:Co,nocomment:!0,noext:!0,nonegate:!0};s=Co?s.replace(/\\/g,"/"):s,this.minimatch=new _Re.Minimatch(s,A)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Dn.normalizeSeparators(e),!e.endsWith(qg.sep)&&this.isImplicitPattern===!1&&(e=`${e}${qg.sep}`)):e=Dn.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?bD.MatchKind.Directory:bD.MatchKind.All:bD.MatchKind.None}partialMatch(e){return e=Dn.safeTrimTrailingSeparator(e),Dn.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Co?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Co?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,UA.default)(e,"pattern cannot be empty");let n=new SB.Path(e).segments.map(i=>t.getLiteral(i));if((0,UA.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,UA.default)(!Dn.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Dn.normalizeSeparators(e),e==="."||e.startsWith(`.${qg.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${qg.sep}`))r=r||vRe.homedir(),(0,UA.default)(r,"Unable to determine HOME directory"),(0,UA.default)(Dn.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Co&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Dn.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(Co&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Dn.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Dn.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Dn.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!Co&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",o=-1;for(let a=n+1;a<e.length;a++){let A=e[a];if(A==="\\"&&!Co&&a+1<e.length){s+=e[++a];continue}else if(A==="]"){o=a;break}else s+=A}if(o>=0){if(s.length>1)return"";if(s){r+=s,n=o;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};Di.Pattern=ND});var C$=h(xB=>{"use strict";Object.defineProperty(xB,"__esModule",{value:!0});xB.SearchState=void 0;var SD=class{constructor(e,r){this.path=e,this.level=r}};xB.SearchState=SD});var w$=h(xr=>{"use strict";var DRe=xr&&xr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),kRe=xr&&xr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jg=xr&&xr.__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)&&DRe(e,t,r);return kRe(e,t),e},xD=xr&&xr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},PRe=xr&&xr.__asyncValues||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(s){r[s]=t[s]&&function(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}},Na=xr&&xr.__await||function(t){return this instanceof Na?(this.v=t,this):new Na(t)},TRe=xr&&xr.__asyncGenerator||function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(f){return new Promise(function(g,m){s.push([d,f,g,m])>1||a(d,f)})})}function a(d,f){try{A(n[d](f))}catch(g){u(s[0][3],g)}}function A(d){d.value instanceof Na?Promise.resolve(d.value.v).then(c,l):u(s[0][2],d)}function c(d){a("next",d)}function l(d){a("throw",d)}function u(d,f){d(f),s.shift(),s.length&&a(s[0][0],s[0][1])}};Object.defineProperty(xr,"__esModule",{value:!0});xr.DefaultGlobber=void 0;var RD=jg(at()),Hg=jg(require("fs")),I$=jg(d$()),B$=jg(require("path")),RB=jg(m$()),Q$=wB(),b$=E$(),N$=C$(),ORe=process.platform==="win32",vD=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=I$.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){var e,r,n,i;return xD(this,void 0,void 0,function*(){let s=[];try{for(var o=!0,a=PRe(this.globGenerator()),A;A=yield a.next(),e=A.done,!e;o=!0){i=A.value,o=!1;let c=i;s.push(c)}}catch(c){r={error:c}}finally{try{!o&&!e&&(n=a.return)&&(yield n.call(a))}finally{if(r)throw r.error}}return s})}globGenerator(){return TRe(this,arguments,function*(){let r=I$.getOptions(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 b$.Pattern(o.negate,!0,o.segments.concat("**")));let i=[];for(let o of RB.getSearchPaths(n)){RD.debug(`Search path '${o}'`);try{yield Na(Hg.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}i.unshift(new N$.SearchState(o,1))}let s=[];for(;i.length;){let o=i.pop(),a=RB.match(n,o.path),A=!!a||RB.partialMatch(n,o.path);if(!a&&!A)continue;let c=yield Na(t.stat(o,r,s));if(c&&!(r.excludeHiddenFiles&&B$.basename(o.path).match(/^\./)))if(c.isDirectory()){if(a&Q$.MatchKind.Directory&&r.matchDirectories)yield yield Na(o.path);else if(!A)continue;let l=o.level+1,u=(yield Na(Hg.promises.readdir(o.path))).map(d=>new N$.SearchState(B$.join(o.path,d),l));i.push(...u.reverse())}else a&Q$.MatchKind.File&&(yield yield Na(o.path))}})}static create(e,r){return xD(this,void 0,void 0,function*(){let n=new t(r);ORe&&(e=e.replace(/\r\n/g,`
|
|
`),e=e.replace(/\r/g,`
|
|
`));let i=e.split(`
|
|
`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new b$.Pattern(s));return n.searchPaths.push(...RB.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return xD(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield Hg.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){RD.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield Hg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield Hg.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(o=>o===s)){RD.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};xr.DefaultGlobber=vD});var v$=h(kn=>{"use strict";var LRe=kn&&kn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),MRe=kn&&kn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Bd=kn&&kn.__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)&&LRe(e,t,r);return MRe(e,t),e},FRe=kn&&kn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},URe=kn&&kn.__asyncValues||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(s){r[s]=t[s]&&function(o){return new Promise(function(a,A){o=t[s](o),i(a,A,o.done,o.value)})}}function i(s,o,a,A){Promise.resolve(A).then(function(c){s({value:c,done:a})},o)}};Object.defineProperty(kn,"__esModule",{value:!0});kn.hashFiles=void 0;var S$=Bd(require("crypto")),x$=Bd(at()),R$=Bd(require("fs")),qRe=Bd(require("stream")),HRe=Bd(require("util")),jRe=Bd(require("path"));function zRe(t,e,r=!1){var n,i,s,o,a;return FRe(this,void 0,void 0,function*(){let A=r?x$.info:x$.debug,c=!1,l=e||((a=process.env.GITHUB_WORKSPACE)!==null&&a!==void 0?a:process.cwd()),u=S$.createHash("sha256"),d=0;try{for(var f=!0,g=URe(t.globGenerator()),m;m=yield g.next(),n=m.done,!n;f=!0){o=m.value,f=!1;let E=o;if(A(E),!E.startsWith(`${l}${jRe.sep}`)){A(`Ignore '${E}' since it is not under GITHUB_WORKSPACE.`);continue}if(R$.statSync(E).isDirectory()){A(`Skip directory '${E}'.`);continue}let C=S$.createHash("sha256");yield HRe.promisify(qRe.pipeline)(R$.createReadStream(E),C),u.write(C.digest()),d++,c||(c=!0)}}catch(E){i={error:E}}finally{try{!f&&!n&&(s=g.return)&&(yield s.call(g))}finally{if(i)throw i.error}}return u.end(),c?(A(`Found ${d} files to hash.`),u.digest("hex")):(A("No matches found for glob"),"")})}kn.hashFiles=zRe});var k$=h(wa=>{"use strict";var _$=wa&&wa.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(l){try{c(n.next(l))}catch(u){o(u)}}function A(l){try{c(n.throw(l))}catch(u){o(u)}}function c(l){l.done?s(l.value):i(l.value).then(a,A)}c((n=n.apply(t,e||[])).next())})};Object.defineProperty(wa,"__esModule",{value:!0});wa.hashFiles=wa.create=void 0;var GRe=w$(),YRe=v$();function D$(t,e){return _$(this,void 0,void 0,function*(){return yield GRe.DefaultGlobber.create(t,e)})}wa.create=D$;function JRe(t,e="",r,n=!1){return _$(this,void 0,void 0,function*(){let i=!0;r&&typeof r.followSymbolicLinks=="boolean"&&(i=r.followSymbolicLinks);let s=yield D$(t,{followSymbolicLinks:i});return(0,YRe.hashFiles)(s,e,n)})}wa.hashFiles=JRe});var Y$=h((R2e,G$)=>{"use strict";G$.exports=function(t){if(typeof t!="string")throw new Error("expected a string");return t.split(`
|
|
`).map(KRe).filter(Boolean)};function KRe(t,e){if(!t||!t.length||t.charAt(0)==="#")return null;var r=t.split(":");return{username:r[0],password:r[1],uid:r[2],gid:r[3],gecos:r[4],homedir:r[5],shell:r[6]}}});var V$=h((v2e,J$)=>{"use strict";var XRe=require("fs"),ZRe=Y$();function eve(){if(process.platform==="win32")return process.env.USERPROFILE?process.env.USERPROFILE:process.env.HOMEDRIVE&&process.env.HOMEPATH?process.env.HOMEDRIVE+process.env.HOMEPATH:process.env.HOME?process.env.HOME:null;if(process.env.HOME)return process.env.HOME;var t=nve("/etc/passwd"),e=tve(ZRe(t),rve());if(e)return e;var r=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return r?process.platform==="darwin"?"/Users/"+r:"/home/"+r:null}function tve(t,e){for(var r=t.length,n=0;n<r;n++)if(+t[n].uid===e)return t[n].homedir}function rve(){return typeof process.geteuid=="function"?process.geteuid():process.getuid()}function nve(t){try{return XRe.readFileSync(t,"utf8")}catch{return""}}J$.exports=eve});var $$=h((_2e,_D)=>{"use strict";var W$=require("os");typeof W$.homedir<"u"?_D.exports=W$.homedir:_D.exports=V$()});var Z$=h((D2e,X$)=>{var ive=$$(),K$=require("path");X$.exports=function(e){var r=ive();return e.charCodeAt(0)===126?e.charCodeAt(1)===43?K$.join(process.cwd(),e.slice(2)):r?K$.join(r,e.slice(1)):e:e}});var He=h(Or=>{"use strict";var DD=Symbol.for("yaml.alias"),eK=Symbol.for("yaml.document"),vB=Symbol.for("yaml.map"),tK=Symbol.for("yaml.pair"),kD=Symbol.for("yaml.scalar"),_B=Symbol.for("yaml.seq"),Io=Symbol.for("yaml.node.type"),sve=t=>!!t&&typeof t=="object"&&t[Io]===DD,ove=t=>!!t&&typeof t=="object"&&t[Io]===eK,ave=t=>!!t&&typeof t=="object"&&t[Io]===vB,Ave=t=>!!t&&typeof t=="object"&&t[Io]===tK,rK=t=>!!t&&typeof t=="object"&&t[Io]===kD,cve=t=>!!t&&typeof t=="object"&&t[Io]===_B;function nK(t){if(t&&typeof t=="object")switch(t[Io]){case vB:case _B:return!0}return!1}function lve(t){if(t&&typeof t=="object")switch(t[Io]){case DD:case vB:case kD:case _B:return!0}return!1}var uve=t=>(rK(t)||nK(t))&&!!t.anchor;Or.ALIAS=DD;Or.DOC=eK;Or.MAP=vB;Or.NODE_TYPE=Io;Or.PAIR=tK;Or.SCALAR=kD;Or.SEQ=_B;Or.hasAnchor=uve;Or.isAlias=sve;Or.isCollection=nK;Or.isDocument=ove;Or.isMap=ave;Or.isNode=lve;Or.isPair=Ave;Or.isScalar=rK;Or.isSeq=cve});var zg=h(PD=>{"use strict";var dr=He(),Pn=Symbol("break visit"),iK=Symbol("skip children"),Ts=Symbol("remove node");function DB(t,e){let r=sK(e);dr.isDocument(t)?bd(null,t.contents,r,Object.freeze([t]))===Ts&&(t.contents=null):bd(null,t,r,Object.freeze([]))}DB.BREAK=Pn;DB.SKIP=iK;DB.REMOVE=Ts;function bd(t,e,r,n){let i=oK(t,e,r,n);if(dr.isNode(i)||dr.isPair(i))return aK(t,n,i),bd(t,i,r,n);if(typeof i!="symbol"){if(dr.isCollection(e)){n=Object.freeze(n.concat(e));for(let s=0;s<e.items.length;++s){let o=bd(s,e.items[s],r,n);if(typeof o=="number")s=o-1;else{if(o===Pn)return Pn;o===Ts&&(e.items.splice(s,1),s-=1)}}}else if(dr.isPair(e)){n=Object.freeze(n.concat(e));let s=bd("key",e.key,r,n);if(s===Pn)return Pn;s===Ts&&(e.key=null);let o=bd("value",e.value,r,n);if(o===Pn)return Pn;o===Ts&&(e.value=null)}}return i}async function kB(t,e){let r=sK(e);dr.isDocument(t)?await Nd(null,t.contents,r,Object.freeze([t]))===Ts&&(t.contents=null):await Nd(null,t,r,Object.freeze([]))}kB.BREAK=Pn;kB.SKIP=iK;kB.REMOVE=Ts;async function Nd(t,e,r,n){let i=await oK(t,e,r,n);if(dr.isNode(i)||dr.isPair(i))return aK(t,n,i),Nd(t,i,r,n);if(typeof i!="symbol"){if(dr.isCollection(e)){n=Object.freeze(n.concat(e));for(let s=0;s<e.items.length;++s){let o=await Nd(s,e.items[s],r,n);if(typeof o=="number")s=o-1;else{if(o===Pn)return Pn;o===Ts&&(e.items.splice(s,1),s-=1)}}}else if(dr.isPair(e)){n=Object.freeze(n.concat(e));let s=await Nd("key",e.key,r,n);if(s===Pn)return Pn;s===Ts&&(e.key=null);let o=await Nd("value",e.value,r,n);if(o===Pn)return Pn;o===Ts&&(e.value=null)}}return i}function sK(t){return typeof t=="object"&&(t.Collection||t.Node||t.Value)?Object.assign({Alias:t.Node,Map:t.Node,Scalar:t.Node,Seq:t.Node},t.Value&&{Map:t.Value,Scalar:t.Value,Seq:t.Value},t.Collection&&{Map:t.Collection,Seq:t.Collection},t):t}function oK(t,e,r,n){if(typeof r=="function")return r(t,e,n);if(dr.isMap(e))return r.Map?.(t,e,n);if(dr.isSeq(e))return r.Seq?.(t,e,n);if(dr.isPair(e))return r.Pair?.(t,e,n);if(dr.isScalar(e))return r.Scalar?.(t,e,n);if(dr.isAlias(e))return r.Alias?.(t,e,n)}function aK(t,e,r){let n=e[e.length-1];if(dr.isCollection(n))n.items[t]=r;else if(dr.isPair(n))t==="key"?n.key=r:n.value=r;else if(dr.isDocument(n))n.contents=r;else{let i=dr.isAlias(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}PD.visit=DB;PD.visitAsync=kB});var TD=h(cK=>{"use strict";var AK=He(),dve=zg(),fve={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},hve=t=>t.replace(/[!,[\]{}]/g,e=>fve[e]),Gg=class t{constructor(e,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},t.defaultYaml,e),this.tags=Object.assign({},t.defaultTags,r)}clone(){let e=new t(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new t(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:t.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},t.defaultTags);break}return e}add(e,r){this.atNextDocument&&(this.yaml={explicit:t.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},t.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(r(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[s,o]=n;return this.tags[s]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return r(0,"%YAML directive should contain exactly one part"),!1;let[s]=n;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{let o=/^\d+\.\d+$/.test(s);return r(6,`Unsupported YAML version ${s}`,o),!1}}default:return r(0,`Unknown directive ${i}`,!0),!1}}tagName(e,r){if(e==="!")return"!";if(e[0]!=="!")return r(`Not a valid tag: ${e}`),null;if(e[1]==="<"){let o=e.slice(2,-1);return o==="!"||o==="!!"?(r(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&r("Verbatim tags must end with a >"),o)}let[,n,i]=e.match(/^(.*!)([^!]*)$/s);i||r(`The ${e} tag has no suffix`);let s=this.tags[n];if(s)try{return s+decodeURIComponent(i)}catch(o){return r(String(o)),null}return n==="!"?e:(r(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[r,n]of Object.entries(this.tags))if(e.startsWith(n))return r+hve(e.substring(n.length));return e[0]==="!"?e:`!<${e}>`}toString(e){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags),i;if(e&&n.length>0&&AK.isNode(e.contents)){let s={};dve.visit(e.contents,(o,a)=>{AK.isNode(a)&&a.tag&&(s[a.tag]=!0)}),i=Object.keys(s)}else i=[];for(let[s,o]of n)s==="!!"&&o==="tag:yaml.org,2002:"||(!e||i.some(a=>a.startsWith(o)))&&r.push(`%TAG ${s} ${o}`);return r.join(`
|
|
`)}};Gg.defaultYaml={explicit:!1,version:"1.2"};Gg.defaultTags={"!!":"tag:yaml.org,2002:"};cK.Directives=Gg});var PB=h(Yg=>{"use strict";var lK=He(),gve=zg();function mve(t){if(/[\x00-\x19\s,[\]{}]/.test(t)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(t)}`;throw new Error(r)}return!0}function uK(t){let e=new Set;return gve.visit(t,{Value(r,n){n.anchor&&e.add(n.anchor)}}),e}function dK(t,e){for(let r=1;;++r){let n=`${t}${r}`;if(!e.has(n))return n}}function pve(t,e){let r=[],n=new Map,i=null;return{onAnchor:s=>{r.push(s),i||(i=uK(t));let o=dK(e,i);return i.add(o),o},setAnchors:()=>{for(let s of r){let o=n.get(s);if(typeof o=="object"&&o.anchor&&(lK.isScalar(o.node)||lK.isCollection(o.node)))o.node.anchor=o.anchor;else{let a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=s,a}}},sourceObjects:n}}Yg.anchorIsValid=mve;Yg.anchorNames=uK;Yg.createNodeAnchors=pve;Yg.findNewAnchor=dK});var OD=h(fK=>{"use strict";function Jg(t,e,r,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,s=n.length;i<s;++i){let o=n[i],a=Jg(t,n,String(i),o);a===void 0?delete n[i]:a!==o&&(n[i]=a)}else if(n instanceof Map)for(let i of Array.from(n.keys())){let s=n.get(i),o=Jg(t,n,i,s);o===void 0?n.delete(i):o!==s&&n.set(i,o)}else if(n instanceof Set)for(let i of Array.from(n)){let s=Jg(t,n,i,i);s===void 0?n.delete(i):s!==i&&(n.delete(i),n.add(s))}else for(let[i,s]of Object.entries(n)){let o=Jg(t,n,i,s);o===void 0?delete n[i]:o!==s&&(n[i]=o)}return t.call(e,r,n)}fK.applyReviver=Jg});var Sa=h(gK=>{"use strict";var yve=He();function hK(t,e,r){if(Array.isArray(t))return t.map((n,i)=>hK(n,String(i),r));if(t&&typeof t.toJSON=="function"){if(!r||!yve.hasAnchor(t))return t.toJSON(e,r);let n={aliasCount:0,count:1,res:void 0};r.anchors.set(t,n),r.onCreate=s=>{n.res=s,delete r.onCreate};let i=t.toJSON(e,r);return r.onCreate&&r.onCreate(i),i}return typeof t=="bigint"&&!r?.keep?Number(t):t}gK.toJS=hK});var TB=h(pK=>{"use strict";var Eve=OD(),mK=He(),Cve=Sa(),LD=class{constructor(e){Object.defineProperty(this,mK.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:r,maxAliasCount:n,onAnchor:i,reviver:s}={}){if(!mK.isDocument(e))throw new TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},a=Cve.toJS(this,"",o);if(typeof i=="function")for(let{count:A,res:c}of o.anchors.values())i(c,A);return typeof s=="function"?Eve.applyReviver(s,{"":a},"",a):a}};pK.NodeBase=LD});var Vg=h(EK=>{"use strict";var Ive=PB(),yK=zg(),OB=He(),Bve=TB(),Qve=Sa(),MD=class extends Bve.NodeBase{constructor(e){super(OB.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let r;return yK.visit(e,{Node:(n,i)=>{if(i===this)return yK.visit.BREAK;i.anchor===this.source&&(r=i)}}),r}toJSON(e,r){if(!r)return{source:this.source};let{anchors:n,doc:i,maxAliasCount:s}=r,o=this.resolve(i);if(!o){let A=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(A)}let a=n.get(o);if(a||(Qve.toJS(o,null,r),a=n.get(o)),!a||a.res===void 0){let A="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(A)}if(s>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=LB(i,o,n)),a.count*a.aliasCount>s)){let A="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(A)}return a.res}toString(e,r,n){let i=`*${this.source}`;if(e){if(Ive.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(e.implicitKey)return`${i} `}return i}};function LB(t,e,r){if(OB.isAlias(e)){let n=e.resolve(t),i=r&&n&&r.get(n);return i?i.count*i.aliasCount:0}else if(OB.isCollection(e)){let n=0;for(let i of e.items){let s=LB(t,i,r);s>n&&(n=s)}return n}else if(OB.isPair(e)){let n=LB(t,e.key,r),i=LB(t,e.value,r);return Math.max(n,i)}return 1}EK.Alias=MD});var sr=h(FD=>{"use strict";var bve=He(),Nve=TB(),wve=Sa(),Sve=t=>!t||typeof t!="function"&&typeof t!="object",xa=class extends Nve.NodeBase{constructor(e){super(bve.SCALAR),this.value=e}toJSON(e,r){return r?.keep?this.value:wve.toJS(this.value,e,r)}toString(){return String(this.value)}};xa.BLOCK_FOLDED="BLOCK_FOLDED";xa.BLOCK_LITERAL="BLOCK_LITERAL";xa.PLAIN="PLAIN";xa.QUOTE_DOUBLE="QUOTE_DOUBLE";xa.QUOTE_SINGLE="QUOTE_SINGLE";FD.Scalar=xa;FD.isScalarValue=Sve});var Wg=h(IK=>{"use strict";var xve=Vg(),HA=He(),CK=sr(),Rve="tag:yaml.org,2002:";function vve(t,e,r){if(e){let n=r.filter(s=>s.tag===e),i=n.find(s=>!s.format)??n[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return r.find(n=>n.identify?.(t)&&!n.format)}function _ve(t,e,r){if(HA.isDocument(t)&&(t=t.contents),HA.isNode(t))return t;if(HA.isPair(t)){let u=r.schema[HA.MAP].createNode?.(r.schema,null,r);return u.items.push(t),u}(t instanceof String||t instanceof Number||t instanceof Boolean||typeof BigInt<"u"&&t instanceof BigInt)&&(t=t.valueOf());let{aliasDuplicateObjects:n,onAnchor:i,onTagObj:s,schema:o,sourceObjects:a}=r,A;if(n&&t&&typeof t=="object"){if(A=a.get(t),A)return A.anchor||(A.anchor=i(t)),new xve.Alias(A.anchor);A={anchor:null,node:null},a.set(t,A)}e?.startsWith("!!")&&(e=Rve+e.slice(2));let c=vve(t,e,o.tags);if(!c){if(t&&typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object"){let u=new CK.Scalar(t);return A&&(A.node=u),u}c=t instanceof Map?o[HA.MAP]:Symbol.iterator in Object(t)?o[HA.SEQ]:o[HA.MAP]}s&&(s(c),delete r.onTagObj);let l=c?.createNode?c.createNode(r.schema,t,r):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(r.schema,t,r):new CK.Scalar(t);return e?l.tag=e:c.default||(l.tag=c.tag),A&&(A.node=l),l}IK.createNode=_ve});var FB=h(MB=>{"use strict";var Dve=Wg(),Os=He(),kve=TB();function UD(t,e,r){let n=r;for(let i=e.length-1;i>=0;--i){let s=e[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){let o=[];o[s]=n,n=o}else n=new Map([[s,n]])}return Dve.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:t,sourceObjects:new Map})}var BK=t=>t==null||typeof t=="object"&&!!t[Symbol.iterator]().next().done,qD=class extends kve.NodeBase{constructor(e,r){super(e),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(e){let r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(r.schema=e),r.items=r.items.map(n=>Os.isNode(n)||Os.isPair(n)?n.clone(e):n),this.range&&(r.range=this.range.slice()),r}addIn(e,r){if(BK(e))this.add(r);else{let[n,...i]=e,s=this.get(n,!0);if(Os.isCollection(s))s.addIn(i,r);else if(s===void 0&&this.schema)this.set(n,UD(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(e){let[r,...n]=e;if(n.length===0)return this.delete(r);let i=this.get(r,!0);if(Os.isCollection(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}getIn(e,r){let[n,...i]=e,s=this.get(n,!0);return i.length===0?!r&&Os.isScalar(s)?s.value:s:Os.isCollection(s)?s.getIn(i,r):void 0}hasAllNullValues(e){return this.items.every(r=>{if(!Os.isPair(r))return!1;let n=r.value;return n==null||e&&Os.isScalar(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[r,...n]=e;if(n.length===0)return this.has(r);let i=this.get(r,!0);return Os.isCollection(i)?i.hasIn(n):!1}setIn(e,r){let[n,...i]=e;if(i.length===0)this.set(n,r);else{let s=this.get(n,!0);if(Os.isCollection(s))s.setIn(i,r);else if(s===void 0&&this.schema)this.set(n,UD(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}};MB.Collection=qD;MB.collectionFromPath=UD;MB.isEmptyPath=BK});var $g=h(UB=>{"use strict";var Pve=t=>t.replace(/^(?!$)(?: $)?/gm,"#");function HD(t,e){return/^\n+$/.test(t)?t.substring(1):e?t.replace(/^(?! *$)/gm,e):t}var Tve=(t,e,r)=>t.endsWith(`
|
|
`)?HD(r,e):r.includes(`
|
|
`)?`
|
|
`+HD(r,e):(t.endsWith(" ")?"":" ")+r;UB.indentComment=HD;UB.lineComment=Tve;UB.stringifyComment=Pve});var bK=h(Kg=>{"use strict";var Ove="flow",jD="block",qB="quoted";function Lve(t,e,r="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:s=20,onFold:o,onOverflow:a}={}){if(!i||i<0)return t;i<s&&(s=0);let A=Math.max(1+s,1+i-e.length);if(t.length<=A)return t;let c=[],l={},u=i-e.length;typeof n=="number"&&(n>i-Math.max(2,s)?c.push(0):u=i-n);let d,f,g=!1,m=-1,E=-1,C=-1;r===jD&&(m=QK(t,m,e.length),m!==-1&&(u=m+A));for(let N;N=t[m+=1];){if(r===qB&&N==="\\"){switch(E=m,t[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}C=m}if(N===`
|
|
`)r===jD&&(m=QK(t,m,e.length)),u=m+e.length+A,d=void 0;else{if(N===" "&&f&&f!==" "&&f!==`
|
|
`&&f!==" "){let w=t[m+1];w&&w!==" "&&w!==`
|
|
`&&w!==" "&&(d=m)}if(m>=u)if(d)c.push(d),u=d+A,d=void 0;else if(r===qB){for(;f===" "||f===" ";)f=N,N=t[m+=1],g=!0;let w=m>C+1?m-2:E-1;if(l[w])return t;c.push(w),l[w]=!0,u=w+A,d=void 0}else g=!0}f=N}if(g&&a&&a(),c.length===0)return t;o&&o();let I=t.slice(0,c[0]);for(let N=0;N<c.length;++N){let w=c[N],v=c[N+1]||t.length;w===0?I=`
|
|
${e}${t.slice(0,v)}`:(r===qB&&l[w]&&(I+=`${t[w]}\\`),I+=`
|
|
${e}${t.slice(w+1,v)}`)}return I}function QK(t,e,r){let n=e,i=e+1,s=t[i];for(;s===" "||s===" ";)if(e<i+r)s=t[++e];else{do s=t[++e];while(s&&s!==`
|
|
`);n=e,i=e+1,s=t[i]}return n}Kg.FOLD_BLOCK=jD;Kg.FOLD_FLOW=Ove;Kg.FOLD_QUOTED=qB;Kg.foldFlowLines=Lve});var Zg=h(NK=>{"use strict";var ts=sr(),Ra=bK(),jB=(t,e)=>({indentAtStart:e?t.indent.length:t.indentAtStart,lineWidth:t.options.lineWidth,minContentWidth:t.options.minContentWidth}),zB=t=>/^(%|---|\.\.\.)/m.test(t);function Mve(t,e,r){if(!e||e<0)return!1;let n=e-r,i=t.length;if(i<=n)return!1;for(let s=0,o=0;s<i;++s)if(t[s]===`
|
|
`){if(s-o>n)return!0;if(o=s+1,i-o<=n)return!1}return!0}function Xg(t,e){let r=JSON.stringify(t);if(e.options.doubleQuotedAsJSON)return r;let{implicitKey:n}=e,i=e.options.doubleQuotedMinMultiLineLength,s=e.indent||(zB(t)?" ":""),o="",a=0;for(let A=0,c=r[A];c;c=r[++A])if(c===" "&&r[A+1]==="\\"&&r[A+2]==="n"&&(o+=r.slice(a,A)+"\\ ",A+=1,a=A,c="\\"),c==="\\")switch(r[A+1]){case"u":{o+=r.slice(a,A);let l=r.substr(A+2,4);switch(l){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:l.substr(0,2)==="00"?o+="\\x"+l.substr(2):o+=r.substr(A,6)}A+=5,a=A+1}break;case"n":if(n||r[A+2]==='"'||r.length<i)A+=1;else{for(o+=r.slice(a,A)+`
|
|
|
|
`;r[A+2]==="\\"&&r[A+3]==="n"&&r[A+4]!=='"';)o+=`
|
|
`,A+=2;o+=s,r[A+2]===" "&&(o+="\\"),A+=1,a=A+1}break;default:A+=1}return o=a?o+r.slice(a):r,n?o:Ra.foldFlowLines(o,s,Ra.FOLD_QUOTED,jB(e,!1))}function zD(t,e){if(e.options.singleQuote===!1||e.implicitKey&&t.includes(`
|
|
`)||/[ \t]\n|\n[ \t]/.test(t))return Xg(t,e);let r=e.indent||(zB(t)?" ":""),n="'"+t.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
${r}`)+"'";return e.implicitKey?n:Ra.foldFlowLines(n,r,Ra.FOLD_FLOW,jB(e,!1))}function wd(t,e){let{singleQuote:r}=e.options,n;if(r===!1)n=Xg;else{let i=t.includes('"'),s=t.includes("'");i&&!s?n=zD:s&&!i?n=Xg:n=r?zD:Xg}return n(t,e)}var GD;try{GD=new RegExp(`(^|(?<!
|
|
))
|
|
+(?!
|
|
|$)`,"g")}catch{GD=/\n+(?!\n|$)/g}function HB({comment:t,type:e,value:r},n,i,s){let{blockQuote:o,commentString:a,lineWidth:A}=n.options;if(!o||/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return wd(r,n);let c=n.indent||(n.forceBlockIndent||zB(r)?" ":""),l=o==="literal"?!0:o==="folded"||e===ts.Scalar.BLOCK_FOLDED?!1:e===ts.Scalar.BLOCK_LITERAL?!0:!Mve(r,A,c.length);if(!r)return l?`|
|
|
`:`>
|
|
`;let u,d;for(d=r.length;d>0;--d){let v=r[d-1];if(v!==`
|
|
`&&v!==" "&&v!==" ")break}let f=r.substring(d),g=f.indexOf(`
|
|
`);g===-1?u="-":r===f||g!==f.length-1?(u="+",s&&s()):u="",f&&(r=r.slice(0,-f.length),f[f.length-1]===`
|
|
`&&(f=f.slice(0,-1)),f=f.replace(GD,`$&${c}`));let m=!1,E,C=-1;for(E=0;E<r.length;++E){let v=r[E];if(v===" ")m=!0;else if(v===`
|
|
`)C=E;else break}let I=r.substring(0,C<E?C+1:E);I&&(r=r.substring(I.length),I=I.replace(/\n+/g,`$&${c}`));let w=(m?c?"2":"1":"")+u;if(t&&(w+=" "+a(t.replace(/ ?[\r\n]+/g," ")),i&&i()),!l){let v=r.replace(/\n+/g,`
|
|
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`),T=!1,U=jB(n,!0);o!=="folded"&&e!==ts.Scalar.BLOCK_FOLDED&&(U.onOverflow=()=>{T=!0});let k=Ra.foldFlowLines(`${I}${v}${f}`,c,Ra.FOLD_BLOCK,U);if(!T)return`>${w}
|
|
${c}${k}`}return r=r.replace(/\n+/g,`$&${c}`),`|${w}
|
|
${c}${I}${r}${f}`}function Fve(t,e,r,n){let{type:i,value:s}=t,{actualString:o,implicitKey:a,indent:A,indentStep:c,inFlow:l}=e;if(a&&s.includes(`
|
|
`)||l&&/[[\]{},]/.test(s))return wd(s,e);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||l||!s.includes(`
|
|
`)?wd(s,e):HB(t,e,r,n);if(!a&&!l&&i!==ts.Scalar.PLAIN&&s.includes(`
|
|
`))return HB(t,e,r,n);if(zB(s)){if(A==="")return e.forceBlockIndent=!0,HB(t,e,r,n);if(a&&A===c)return wd(s,e)}let u=s.replace(/\n+/g,`$&
|
|
${A}`);if(o){let d=m=>m.default&&m.tag!=="tag:yaml.org,2002:str"&&m.test?.test(u),{compat:f,tags:g}=e.doc.schema;if(g.some(d)||f?.some(d))return wd(s,e)}return a?u:Ra.foldFlowLines(u,A,Ra.FOLD_FLOW,jB(e,!1))}function Uve(t,e,r,n){let{implicitKey:i,inFlow:s}=e,o=typeof t.value=="string"?t:Object.assign({},t,{value:String(t.value)}),{type:a}=t;a!==ts.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ts.Scalar.QUOTE_DOUBLE);let A=l=>{switch(l){case ts.Scalar.BLOCK_FOLDED:case ts.Scalar.BLOCK_LITERAL:return i||s?wd(o.value,e):HB(o,e,r,n);case ts.Scalar.QUOTE_DOUBLE:return Xg(o.value,e);case ts.Scalar.QUOTE_SINGLE:return zD(o.value,e);case ts.Scalar.PLAIN:return Fve(o,e,r,n);default:return null}},c=A(a);if(c===null){let{defaultKeyType:l,defaultStringType:u}=e.options,d=i&&l||u;if(c=A(d),c===null)throw new Error(`Unsupported default string type ${d}`)}return c}NK.stringifyString=Uve});var em=h(YD=>{"use strict";var qve=PB(),va=He(),Hve=$g(),jve=Zg();function zve(t,e){let r=Object.assign({blockQuote:!0,commentString:Hve.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},t.schema.toStringOptions,e),n;switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:t,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:typeof r.indent=="number"?" ".repeat(r.indent):" ",inFlow:n,options:r}}function Gve(t,e){if(e.tag){let i=t.filter(s=>s.tag===e.tag);if(i.length>0)return i.find(s=>s.format===e.format)??i[0]}let r,n;if(va.isScalar(e)){n=e.value;let i=t.filter(s=>s.identify?.(n));if(i.length>1){let s=i.filter(o=>o.test);s.length>0&&(i=s)}r=i.find(s=>s.format===e.format)??i.find(s=>!s.format)}else n=e,r=t.find(i=>i.nodeClass&&n instanceof i.nodeClass);if(!r){let i=n?.constructor?.name??typeof n;throw new Error(`Tag not resolved for ${i} value`)}return r}function Yve(t,e,{anchors:r,doc:n}){if(!n.directives)return"";let i=[],s=(va.isScalar(t)||va.isCollection(t))&&t.anchor;s&&qve.anchorIsValid(s)&&(r.add(s),i.push(`&${s}`));let o=t.tag?t.tag:e.default?null:e.tag;return o&&i.push(n.directives.tagString(o)),i.join(" ")}function Jve(t,e,r,n){if(va.isPair(t))return t.toString(e,r,n);if(va.isAlias(t)){if(e.doc.directives)return t.toString(e);if(e.resolvedAliases?.has(t))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(t):e.resolvedAliases=new Set([t]),t=t.resolve(e.doc)}let i,s=va.isNode(t)?t:e.doc.createNode(t,{onTagObj:A=>i=A});i||(i=Gve(e.doc.schema.tags,s));let o=Yve(s,i,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);let a=typeof i.stringify=="function"?i.stringify(s,e,r,n):va.isScalar(s)?jve.stringifyString(s,e,r,n):s.toString(e,r,n);return o?va.isScalar(s)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
|
|
${e.indent}${a}`:a}YD.createStringifyContext=zve;YD.stringify=Jve});var RK=h(xK=>{"use strict";var Bo=He(),wK=sr(),SK=em(),tm=$g();function Vve({key:t,value:e},r,n,i){let{allNullValues:s,doc:o,indent:a,indentStep:A,options:{commentString:c,indentSeq:l,simpleKeys:u}}=r,d=Bo.isNode(t)&&t.comment||null;if(u){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(Bo.isCollection(t)||!Bo.isNode(t)&&typeof t=="object"){let U="With simple keys, collection cannot be used as a key value";throw new Error(U)}}let f=!u&&(!t||d&&e==null&&!r.inFlow||Bo.isCollection(t)||(Bo.isScalar(t)?t.type===wK.Scalar.BLOCK_FOLDED||t.type===wK.Scalar.BLOCK_LITERAL:typeof t=="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!f&&(u||!s),indent:a+A});let g=!1,m=!1,E=SK.stringify(t,r,()=>g=!0,()=>m=!0);if(!f&&!r.inFlow&&E.length>1024){if(u)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(r.inFlow){if(s||e==null)return g&&n&&n(),E===""?"?":f?`? ${E}`:E}else if(s&&!u||e==null&&f)return E=`? ${E}`,d&&!g?E+=tm.lineComment(E,r.indent,c(d)):m&&i&&i(),E;g&&(d=null),f?(d&&(E+=tm.lineComment(E,r.indent,c(d))),E=`? ${E}
|
|
${a}:`):(E=`${E}:`,d&&(E+=tm.lineComment(E,r.indent,c(d))));let C,I,N;Bo.isNode(e)?(C=!!e.spaceBefore,I=e.commentBefore,N=e.comment):(C=!1,I=null,N=null,e&&typeof e=="object"&&(e=o.createNode(e))),r.implicitKey=!1,!f&&!d&&Bo.isScalar(e)&&(r.indentAtStart=E.length+1),m=!1,!l&&A.length>=2&&!r.inFlow&&!f&&Bo.isSeq(e)&&!e.flow&&!e.tag&&!e.anchor&&(r.indent=r.indent.substring(2));let w=!1,v=SK.stringify(e,r,()=>w=!0,()=>m=!0),T=" ";if(d||C||I){if(T=C?`
|
|
`:"",I){let U=c(I);T+=`
|
|
${tm.indentComment(U,r.indent)}`}v===""&&!r.inFlow?T===`
|
|
`&&(T=`
|
|
|
|
`):T+=`
|
|
${r.indent}`}else if(!f&&Bo.isCollection(e)){let U=v[0],k=v.indexOf(`
|
|
`),J=k!==-1,be=r.inFlow??e.flow??e.items.length===0;if(J||!be){let Re=!1;if(J&&(U==="&"||U==="!")){let H=v.indexOf(" ");U==="&"&&H!==-1&&H<k&&v[H+1]==="!"&&(H=v.indexOf(" ",H+1)),(H===-1||k<H)&&(Re=!0)}Re||(T=`
|
|
${r.indent}`)}}else(v===""||v[0]===`
|
|
`)&&(T="");return E+=T+v,r.inFlow?w&&n&&n():N&&!w?E+=tm.lineComment(E,r.indent,c(N)):m&&i&&i(),E}xK.stringifyPair=Vve});var VD=h(JD=>{"use strict";var vK=require("node:process");function Wve(t,...e){t==="debug"&&console.log(...e)}function $ve(t,e){(t==="debug"||t==="warn")&&(typeof vK.emitWarning=="function"?vK.emitWarning(e):console.warn(e))}JD.debug=Wve;JD.warn=$ve});var VB=h(JB=>{"use strict";var rm=He(),_K=sr(),GB="<<",YB={identify:t=>t===GB||typeof t=="symbol"&&t.description===GB,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new _K.Scalar(Symbol(GB)),{addToJSMap:DK}),stringify:()=>GB},Kve=(t,e)=>(YB.identify(e)||rm.isScalar(e)&&(!e.type||e.type===_K.Scalar.PLAIN)&&YB.identify(e.value))&&t?.doc.schema.tags.some(r=>r.tag===YB.tag&&r.default);function DK(t,e,r){if(r=t&&rm.isAlias(r)?r.resolve(t.doc):r,rm.isSeq(r))for(let n of r.items)WD(t,e,n);else if(Array.isArray(r))for(let n of r)WD(t,e,n);else WD(t,e,r)}function WD(t,e,r){let n=t&&rm.isAlias(r)?r.resolve(t.doc):r;if(!rm.isMap(n))throw new Error("Merge sources must be maps or map aliases");let i=n.toJSON(null,t,Map);for(let[s,o]of i)e instanceof Map?e.has(s)||e.set(s,o):e instanceof Set?e.add(s):Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}JB.addMergeToJSMap=DK;JB.isMergeKey=Kve;JB.merge=YB});var KD=h(TK=>{"use strict";var Xve=VD(),kK=VB(),Zve=em(),PK=He(),$D=Sa();function e_e(t,e,{key:r,value:n}){if(PK.isNode(r)&&r.addToJSMap)r.addToJSMap(t,e,n);else if(kK.isMergeKey(t,r))kK.addMergeToJSMap(t,e,n);else{let i=$D.toJS(r,"",t);if(e instanceof Map)e.set(i,$D.toJS(n,i,t));else if(e instanceof Set)e.add(i);else{let s=t_e(r,i,t),o=$D.toJS(n,s,t);s in e?Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[s]=o}}return e}function t_e(t,e,r){if(e===null)return"";if(typeof e!="object")return String(e);if(PK.isNode(t)&&r?.doc){let n=Zve.createStringifyContext(r.doc,{});n.anchors=new Set;for(let s of r.anchors.keys())n.anchors.add(s.anchor);n.inFlow=!0,n.inStringifyKey=!0;let i=t.toString(n);if(!r.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),Xve.warn(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return i}return JSON.stringify(e)}TK.addPairToJSMap=e_e});var _a=h(XD=>{"use strict";var OK=Wg(),r_e=RK(),n_e=KD(),WB=He();function i_e(t,e,r){let n=OK.createNode(t,void 0,r),i=OK.createNode(e,void 0,r);return new $B(n,i)}var $B=class t{constructor(e,r=null){Object.defineProperty(this,WB.NODE_TYPE,{value:WB.PAIR}),this.key=e,this.value=r}clone(e){let{key:r,value:n}=this;return WB.isNode(r)&&(r=r.clone(e)),WB.isNode(n)&&(n=n.clone(e)),new t(r,n)}toJSON(e,r){let n=r?.mapAsMap?new Map:{};return n_e.addPairToJSMap(r,n,this)}toString(e,r,n){return e?.doc?r_e.stringifyPair(this,e,r,n):JSON.stringify(this)}};XD.Pair=$B;XD.createPair=i_e});var ZD=h(MK=>{"use strict";var jA=He(),LK=em(),KB=$g();function s_e(t,e,r){return(e.inFlow??t.flow?a_e:o_e)(t,e,r)}function o_e({comment:t,items:e},r,{blockItemPrefix:n,flowChars:i,itemIndent:s,onChompKeep:o,onComment:a}){let{indent:A,options:{commentString:c}}=r,l=Object.assign({},r,{indent:s,type:null}),u=!1,d=[];for(let g=0;g<e.length;++g){let m=e[g],E=null;if(jA.isNode(m))!u&&m.spaceBefore&&d.push(""),XB(r,d,m.commentBefore,u),m.comment&&(E=m.comment);else if(jA.isPair(m)){let I=jA.isNode(m.key)?m.key:null;I&&(!u&&I.spaceBefore&&d.push(""),XB(r,d,I.commentBefore,u))}u=!1;let C=LK.stringify(m,l,()=>E=null,()=>u=!0);E&&(C+=KB.lineComment(C,s,c(E))),u&&E&&(u=!1),d.push(n+C)}let f;if(d.length===0)f=i.start+i.end;else{f=d[0];for(let g=1;g<d.length;++g){let m=d[g];f+=m?`
|
|
${A}${m}`:`
|
|
`}}return t?(f+=`
|
|
`+KB.indentComment(c(t),A),a&&a()):u&&o&&o(),f}function a_e({items:t},e,{flowChars:r,itemIndent:n}){let{indent:i,indentStep:s,flowCollectionPadding:o,options:{commentString:a}}=e;n+=s;let A=Object.assign({},e,{indent:n,inFlow:!0,type:null}),c=!1,l=0,u=[];for(let g=0;g<t.length;++g){let m=t[g],E=null;if(jA.isNode(m))m.spaceBefore&&u.push(""),XB(e,u,m.commentBefore,!1),m.comment&&(E=m.comment);else if(jA.isPair(m)){let I=jA.isNode(m.key)?m.key:null;I&&(I.spaceBefore&&u.push(""),XB(e,u,I.commentBefore,!1),I.comment&&(c=!0));let N=jA.isNode(m.value)?m.value:null;N?(N.comment&&(E=N.comment),N.commentBefore&&(c=!0)):m.value==null&&I?.comment&&(E=I.comment)}E&&(c=!0);let C=LK.stringify(m,A,()=>E=null);g<t.length-1&&(C+=","),E&&(C+=KB.lineComment(C,n,a(E))),!c&&(u.length>l||C.includes(`
|
|
`))&&(c=!0),u.push(C),l=u.length}let{start:d,end:f}=r;if(u.length===0)return d+f;if(!c){let g=u.reduce((m,E)=>m+E.length+2,2);c=e.options.lineWidth>0&&g>e.options.lineWidth}if(c){let g=d;for(let m of u)g+=m?`
|
|
${s}${i}${m}`:`
|
|
`;return`${g}
|
|
${i}${f}`}else return`${d}${o}${u.join(" ")}${o}${f}`}function XB({indent:t,options:{commentString:e}},r,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){let s=KB.indentComment(e(n),t);r.push(s.trimStart())}}MK.stringifyCollection=s_e});var ka=h(tk=>{"use strict";var A_e=ZD(),c_e=KD(),l_e=FB(),Da=He(),ZB=_a(),u_e=sr();function nm(t,e){let r=Da.isScalar(e)?e.value:e;for(let n of t)if(Da.isPair(n)&&(n.key===e||n.key===r||Da.isScalar(n.key)&&n.key.value===r))return n}var ek=class extends l_e.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Da.MAP,e),this.items=[]}static from(e,r,n){let{keepUndefined:i,replacer:s}=n,o=new this(e),a=(A,c)=>{if(typeof s=="function")c=s.call(r,A,c);else if(Array.isArray(s)&&!s.includes(A))return;(c!==void 0||i)&&o.items.push(ZB.createPair(A,c,n))};if(r instanceof Map)for(let[A,c]of r)a(A,c);else if(r&&typeof r=="object")for(let A of Object.keys(r))a(A,r[A]);return typeof e.sortMapEntries=="function"&&o.items.sort(e.sortMapEntries),o}add(e,r){let n;Da.isPair(e)?n=e:!e||typeof e!="object"||!("key"in e)?n=new ZB.Pair(e,e?.value):n=new ZB.Pair(e.key,e.value);let i=nm(this.items,n.key),s=this.schema?.sortMapEntries;if(i){if(!r)throw new Error(`Key ${n.key} already set`);Da.isScalar(i.value)&&u_e.isScalarValue(n.value)?i.value.value=n.value:i.value=n.value}else if(s){let o=this.items.findIndex(a=>s(n,a)<0);o===-1?this.items.push(n):this.items.splice(o,0,n)}else this.items.push(n)}delete(e){let r=nm(this.items,e);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(e,r){let i=nm(this.items,e)?.value;return(!r&&Da.isScalar(i)?i.value:i)??void 0}has(e){return!!nm(this.items,e)}set(e,r){this.add(new ZB.Pair(e,r),!0)}toJSON(e,r,n){let i=n?new n:r?.mapAsMap?new Map:{};r?.onCreate&&r.onCreate(i);for(let s of this.items)c_e.addPairToJSMap(r,i,s);return i}toString(e,r,n){if(!e)return JSON.stringify(this);for(let i of this.items)if(!Da.isPair(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),A_e.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:r})}};tk.YAMLMap=ek;tk.findPair=nm});var Sd=h(UK=>{"use strict";var d_e=He(),FK=ka(),f_e={collection:"map",default:!0,nodeClass:FK.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(t,e){return d_e.isMap(t)||e("Expected a mapping for this tag"),t},createNode:(t,e,r)=>FK.YAMLMap.from(t,e,r)};UK.map=f_e});var Pa=h(qK=>{"use strict";var h_e=Wg(),g_e=ZD(),m_e=FB(),tQ=He(),p_e=sr(),y_e=Sa(),rk=class extends m_e.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(tQ.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let r=eQ(e);return typeof r!="number"?!1:this.items.splice(r,1).length>0}get(e,r){let n=eQ(e);if(typeof n!="number")return;let i=this.items[n];return!r&&tQ.isScalar(i)?i.value:i}has(e){let r=eQ(e);return typeof r=="number"&&r<this.items.length}set(e,r){let n=eQ(e);if(typeof n!="number")throw new Error(`Expected a valid index, not ${e}.`);let i=this.items[n];tQ.isScalar(i)&&p_e.isScalarValue(r)?i.value=r:this.items[n]=r}toJSON(e,r){let n=[];r?.onCreate&&r.onCreate(n);let i=0;for(let s of this.items)n.push(y_e.toJS(s,String(i++),r));return n}toString(e,r,n){return e?g_e.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:n,onComment:r}):JSON.stringify(this)}static from(e,r,n){let{replacer:i}=n,s=new this(e);if(r&&Symbol.iterator in Object(r)){let o=0;for(let a of r){if(typeof i=="function"){let A=r instanceof Set?a:String(o++);a=i.call(r,A,a)}s.items.push(h_e.createNode(a,void 0,n))}}return s}};function eQ(t){let e=tQ.isScalar(t)?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}qK.YAMLSeq=rk});var xd=h(jK=>{"use strict";var E_e=He(),HK=Pa(),C_e={collection:"seq",default:!0,nodeClass:HK.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(t,e){return E_e.isSeq(t)||e("Expected a sequence for this tag"),t},createNode:(t,e,r)=>HK.YAMLSeq.from(t,e,r)};jK.seq=C_e});var im=h(zK=>{"use strict";var I_e=Zg(),B_e={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify(t,e,r,n){return e=Object.assign({actualString:!0},e),I_e.stringifyString(t,e,r,n)}};zK.string=B_e});var rQ=h(JK=>{"use strict";var GK=sr(),YK={identify:t=>t==null,createNode:()=>new GK.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new GK.Scalar(null),stringify:({source:t},e)=>typeof t=="string"&&YK.test.test(t)?t:e.options.nullStr};JK.nullTag=YK});var nk=h(WK=>{"use strict";var Q_e=sr(),VK={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>new Q_e.Scalar(t[0]==="t"||t[0]==="T"),stringify({source:t,value:e},r){if(t&&VK.test.test(t)){let n=t[0]==="t"||t[0]==="T";if(e===n)return t}return e?r.options.trueStr:r.options.falseStr}};WK.boolTag=VK});var Rd=h($K=>{"use strict";function b_e({format:t,minFractionDigits:e,tag:r,value:n}){if(typeof n=="bigint")return String(n);let i=typeof n=="number"?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(n);if(!t&&e&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let o=s.indexOf(".");o<0&&(o=s.length,s+=".");let a=e-(s.length-o-1);for(;a-- >0;)s+="0"}return s}$K.stringifyNumber=b_e});var sk=h(nQ=>{"use strict";var N_e=sr(),ik=Rd(),w_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:ik.stringifyNumber},S_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():ik.stringifyNumber(t)}},x_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(t){let e=new N_e.Scalar(parseFloat(t)),r=t.indexOf(".");return r!==-1&&t[t.length-1]==="0"&&(e.minFractionDigits=t.length-r-1),e},stringify:ik.stringifyNumber};nQ.float=x_e;nQ.floatExp=S_e;nQ.floatNaN=w_e});var ak=h(sQ=>{"use strict";var KK=Rd(),iQ=t=>typeof t=="bigint"||Number.isInteger(t),ok=(t,e,r,{intAsBigInt:n})=>n?BigInt(t):parseInt(t.substring(e),r);function XK(t,e,r){let{value:n}=t;return iQ(n)&&n>=0?r+n.toString(e):KK.stringifyNumber(t)}var R_e={identify:t=>iQ(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(t,e,r)=>ok(t,2,8,r),stringify:t=>XK(t,8,"0o")},v_e={identify:iQ,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(t,e,r)=>ok(t,0,10,r),stringify:KK.stringifyNumber},__e={identify:t=>iQ(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(t,e,r)=>ok(t,2,16,r),stringify:t=>XK(t,16,"0x")};sQ.int=v_e;sQ.intHex=__e;sQ.intOct=R_e});var e9=h(ZK=>{"use strict";var D_e=Sd(),k_e=rQ(),P_e=xd(),T_e=im(),O_e=nk(),Ak=sk(),ck=ak(),L_e=[D_e.map,P_e.seq,T_e.string,k_e.nullTag,O_e.boolTag,ck.intOct,ck.int,ck.intHex,Ak.floatNaN,Ak.floatExp,Ak.float];ZK.schema=L_e});var n9=h(r9=>{"use strict";var M_e=sr(),F_e=Sd(),U_e=xd();function t9(t){return typeof t=="bigint"||Number.isInteger(t)}var oQ=({value:t})=>JSON.stringify(t),q_e=[{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:t=>t,stringify:oQ},{identify:t=>t==null,createNode:()=>new M_e.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:oQ},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:t=>t==="true",stringify:oQ},{identify:t9,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(t,e,{intAsBigInt:r})=>r?BigInt(t):parseInt(t,10),stringify:({value:t})=>t9(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:oQ}],H_e={default:!0,tag:"",test:/^/,resolve(t,e){return e(`Unresolved plain scalar ${JSON.stringify(t)}`),t}},j_e=[F_e.map,U_e.seq].concat(q_e,H_e);r9.schema=j_e});var uk=h(i9=>{"use strict";var sm=require("node:buffer"),lk=sr(),z_e=Zg(),G_e={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(t,e){if(typeof sm.Buffer=="function")return sm.Buffer.from(t,"base64");if(typeof atob=="function"){let r=atob(t.replace(/[\n\r]/g,"")),n=new Uint8Array(r.length);for(let i=0;i<r.length;++i)n[i]=r.charCodeAt(i);return n}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),t},stringify({comment:t,type:e,value:r},n,i,s){let o=r,a;if(typeof sm.Buffer=="function")a=o instanceof sm.Buffer?o.toString("base64"):sm.Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let A="";for(let c=0;c<o.length;++c)A+=String.fromCharCode(o[c]);a=btoa(A)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=lk.Scalar.BLOCK_LITERAL),e!==lk.Scalar.QUOTE_DOUBLE){let A=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),c=Math.ceil(a.length/A),l=new Array(c);for(let u=0,d=0;u<c;++u,d+=A)l[u]=a.substr(d,A);a=l.join(e===lk.Scalar.BLOCK_LITERAL?`
|
|
`:" ")}return z_e.stringifyString({comment:t,type:e,value:a},n,i,s)}};i9.binary=G_e});var cQ=h(AQ=>{"use strict";var aQ=He(),dk=_a(),Y_e=sr(),J_e=Pa();function s9(t,e){if(aQ.isSeq(t))for(let r=0;r<t.items.length;++r){let n=t.items[r];if(!aQ.isPair(n)){if(aQ.isMap(n)){n.items.length>1&&e("Each pair must have its own sequence indicator");let i=n.items[0]||new dk.Pair(new Y_e.Scalar(null));if(n.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${n.commentBefore}
|
|
${i.key.commentBefore}`:n.commentBefore),n.comment){let s=i.value??i.key;s.comment=s.comment?`${n.comment}
|
|
${s.comment}`:n.comment}n=i}t.items[r]=aQ.isPair(n)?n:new dk.Pair(n)}}else e("Expected a sequence for this tag");return t}function o9(t,e,r){let{replacer:n}=r,i=new J_e.YAMLSeq(t);i.tag="tag:yaml.org,2002:pairs";let s=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof n=="function"&&(o=n.call(e,String(s++),o));let a,A;if(Array.isArray(o))if(o.length===2)a=o[0],A=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){let c=Object.keys(o);if(c.length===1)a=c[0],A=o[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=o;i.items.push(dk.createPair(a,A,r))}return i}var V_e={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s9,createNode:o9};AQ.createPairs=o9;AQ.pairs=V_e;AQ.resolvePairs=s9});var gk=h(hk=>{"use strict";var a9=He(),fk=Sa(),om=ka(),W_e=Pa(),A9=cQ(),zA=class t extends W_e.YAMLSeq{constructor(){super(),this.add=om.YAMLMap.prototype.add.bind(this),this.delete=om.YAMLMap.prototype.delete.bind(this),this.get=om.YAMLMap.prototype.get.bind(this),this.has=om.YAMLMap.prototype.has.bind(this),this.set=om.YAMLMap.prototype.set.bind(this),this.tag=t.tag}toJSON(e,r){if(!r)return super.toJSON(e);let n=new Map;r?.onCreate&&r.onCreate(n);for(let i of this.items){let s,o;if(a9.isPair(i)?(s=fk.toJS(i.key,"",r),o=fk.toJS(i.value,s,r)):s=fk.toJS(i,"",r),n.has(s))throw new Error("Ordered maps must not include duplicate keys");n.set(s,o)}return n}static from(e,r,n){let i=A9.createPairs(e,r,n),s=new this;return s.items=i.items,s}};zA.tag="tag:yaml.org,2002:omap";var $_e={collection:"seq",identify:t=>t instanceof Map,nodeClass:zA,default:!1,tag:"tag:yaml.org,2002:omap",resolve(t,e){let r=A9.resolvePairs(t,e),n=[];for(let{key:i}of r.items)a9.isScalar(i)&&(n.includes(i.value)?e(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new zA,r)},createNode:(t,e,r)=>zA.from(t,e,r)};hk.YAMLOMap=zA;hk.omap=$_e});var f9=h(mk=>{"use strict";var c9=sr();function l9({value:t,source:e},r){return e&&(t?u9:d9).test.test(e)?e:t?r.options.trueStr:r.options.falseStr}var u9={identify:t=>t===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new c9.Scalar(!0),stringify:l9},d9={identify:t=>t===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new c9.Scalar(!1),stringify:l9};mk.falseTag=d9;mk.trueTag=u9});var h9=h(lQ=>{"use strict";var K_e=sr(),pk=Rd(),X_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:t=>t.slice(-3).toLowerCase()==="nan"?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:pk.stringifyNumber},Z_e={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify(t){let e=Number(t.value);return isFinite(e)?e.toExponential():pk.stringifyNumber(t)}},eDe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(t){let e=new K_e.Scalar(parseFloat(t.replace(/_/g,""))),r=t.indexOf(".");if(r!==-1){let n=t.substring(r+1).replace(/_/g,"");n[n.length-1]==="0"&&(e.minFractionDigits=n.length)}return e},stringify:pk.stringifyNumber};lQ.float=eDe;lQ.floatExp=Z_e;lQ.floatNaN=X_e});var m9=h(Am=>{"use strict";var g9=Rd(),am=t=>typeof t=="bigint"||Number.isInteger(t);function uQ(t,e,r,{intAsBigInt:n}){let i=t[0];if((i==="-"||i==="+")&&(e+=1),t=t.substring(e).replace(/_/g,""),n){switch(r){case 2:t=`0b${t}`;break;case 8:t=`0o${t}`;break;case 16:t=`0x${t}`;break}let o=BigInt(t);return i==="-"?BigInt(-1)*o:o}let s=parseInt(t,r);return i==="-"?-1*s:s}function yk(t,e,r){let{value:n}=t;if(am(n)){let i=n.toString(e);return n<0?"-"+r+i.substr(1):r+i}return g9.stringifyNumber(t)}var tDe={identify:am,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(t,e,r)=>uQ(t,2,2,r),stringify:t=>yk(t,2,"0b")},rDe={identify:am,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(t,e,r)=>uQ(t,1,8,r),stringify:t=>yk(t,8,"0")},nDe={identify:am,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(t,e,r)=>uQ(t,0,10,r),stringify:g9.stringifyNumber},iDe={identify:am,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(t,e,r)=>uQ(t,2,16,r),stringify:t=>yk(t,16,"0x")};Am.int=nDe;Am.intBin=tDe;Am.intHex=iDe;Am.intOct=rDe});var Ck=h(Ek=>{"use strict";var hQ=He(),dQ=_a(),fQ=ka(),GA=class t extends fQ.YAMLMap{constructor(e){super(e),this.tag=t.tag}add(e){let r;hQ.isPair(e)?r=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?r=new dQ.Pair(e.key,null):r=new dQ.Pair(e,null),fQ.findPair(this.items,r.key)||this.items.push(r)}get(e,r){let n=fQ.findPair(this.items,e);return!r&&hQ.isPair(n)?hQ.isScalar(n.key)?n.key.value:n.key:n}set(e,r){if(typeof r!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);let n=fQ.findPair(this.items,e);n&&!r?this.items.splice(this.items.indexOf(n),1):!n&&r&&this.items.push(new dQ.Pair(e))}toJSON(e,r){return super.toJSON(e,r,Set)}toString(e,r,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),r,n);throw new Error("Set items must all have null values")}static from(e,r,n){let{replacer:i}=n,s=new this(e);if(r&&Symbol.iterator in Object(r))for(let o of r)typeof i=="function"&&(o=i.call(r,o,o)),s.items.push(dQ.createPair(o,null,n));return s}};GA.tag="tag:yaml.org,2002:set";var sDe={collection:"map",identify:t=>t instanceof Set,nodeClass:GA,default:!1,tag:"tag:yaml.org,2002:set",createNode:(t,e,r)=>GA.from(t,e,r),resolve(t,e){if(hQ.isMap(t)){if(t.hasAllNullValues(!0))return Object.assign(new GA,t);e("Set items must all have null values")}else e("Expected a mapping for this tag");return t}};Ek.YAMLSet=GA;Ek.set=sDe});var Bk=h(gQ=>{"use strict";var oDe=Rd();function Ik(t,e){let r=t[0],n=r==="-"||r==="+"?t.substring(1):t,i=o=>e?BigInt(o):Number(o),s=n.replace(/_/g,"").split(":").reduce((o,a)=>o*i(60)+i(a),i(0));return r==="-"?i(-1)*s:s}function p9(t){let{value:e}=t,r=o=>o;if(typeof e=="bigint")r=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return oDe.stringifyNumber(t);let n="";e<0&&(n="-",e*=r(-1));let i=r(60),s=[e%i];return e<60?s.unshift(0):(e=(e-s[0])/i,s.unshift(e%i),e>=60&&(e=(e-s[0])/i,s.unshift(e))),n+s.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var aDe={identify:t=>typeof t=="bigint"||Number.isInteger(t),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(t,e,{intAsBigInt:r})=>Ik(t,r),stringify:p9},ADe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:t=>Ik(t,!1),stringify:p9},y9={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(t){let e=t.match(y9.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,r,n,i,s,o,a]=e.map(Number),A=e[7]?Number((e[7]+"00").substr(1,3)):0,c=Date.UTC(r,n-1,i,s||0,o||0,a||0,A),l=e[8];if(l&&l!=="Z"){let u=Ik(l,!1);Math.abs(u)<30&&(u*=60),c-=6e4*u}return new Date(c)},stringify:({value:t})=>t.toISOString().replace(/(T00:00:00)?\.000Z$/,"")};gQ.floatTime=ADe;gQ.intTime=aDe;gQ.timestamp=y9});var I9=h(C9=>{"use strict";var cDe=Sd(),lDe=rQ(),uDe=xd(),dDe=im(),fDe=uk(),E9=f9(),Qk=h9(),mQ=m9(),hDe=VB(),gDe=gk(),mDe=cQ(),pDe=Ck(),bk=Bk(),yDe=[cDe.map,uDe.seq,dDe.string,lDe.nullTag,E9.trueTag,E9.falseTag,mQ.intBin,mQ.intOct,mQ.int,mQ.intHex,Qk.floatNaN,Qk.floatExp,Qk.float,fDe.binary,hDe.merge,gDe.omap,mDe.pairs,pDe.set,bk.intTime,bk.floatTime,bk.timestamp];C9.schema=yDe});var _9=h(Sk=>{"use strict";var N9=Sd(),EDe=rQ(),w9=xd(),CDe=im(),IDe=nk(),Nk=sk(),wk=ak(),BDe=e9(),QDe=n9(),S9=uk(),cm=VB(),x9=gk(),R9=cQ(),B9=I9(),v9=Ck(),pQ=Bk(),Q9=new Map([["core",BDe.schema],["failsafe",[N9.map,w9.seq,CDe.string]],["json",QDe.schema],["yaml11",B9.schema],["yaml-1.1",B9.schema]]),b9={binary:S9.binary,bool:IDe.boolTag,float:Nk.float,floatExp:Nk.floatExp,floatNaN:Nk.floatNaN,floatTime:pQ.floatTime,int:wk.int,intHex:wk.intHex,intOct:wk.intOct,intTime:pQ.intTime,map:N9.map,merge:cm.merge,null:EDe.nullTag,omap:x9.omap,pairs:R9.pairs,seq:w9.seq,set:v9.set,timestamp:pQ.timestamp},bDe={"tag:yaml.org,2002:binary":S9.binary,"tag:yaml.org,2002:merge":cm.merge,"tag:yaml.org,2002:omap":x9.omap,"tag:yaml.org,2002:pairs":R9.pairs,"tag:yaml.org,2002:set":v9.set,"tag:yaml.org,2002:timestamp":pQ.timestamp};function NDe(t,e,r){let n=Q9.get(e);if(n&&!t)return r&&!n.includes(cm.merge)?n.concat(cm.merge):n.slice();let i=n;if(!i)if(Array.isArray(t))i=[];else{let s=Array.from(Q9.keys()).filter(o=>o!=="yaml11").map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${s} or define customTags array`)}if(Array.isArray(t))for(let s of t)i=i.concat(s);else typeof t=="function"&&(i=t(i.slice()));return r&&(i=i.concat(cm.merge)),i.reduce((s,o)=>{let a=typeof o=="string"?b9[o]:o;if(!a){let A=JSON.stringify(o),c=Object.keys(b9).map(l=>JSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag ${A}; use one of ${c}`)}return s.includes(a)||s.push(a),s},[])}Sk.coreKnownTags=bDe;Sk.getTags=NDe});var vk=h(D9=>{"use strict";var xk=He(),wDe=Sd(),SDe=xd(),xDe=im(),yQ=_9(),RDe=(t,e)=>t.key<e.key?-1:t.key>e.key?1:0,Rk=class t{constructor({compat:e,customTags:r,merge:n,resolveKnownTags:i,schema:s,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(e)?yQ.getTags(e,"compat"):e?yQ.getTags(null,e):null,this.name=typeof s=="string"&&s||"core",this.knownTags=i?yQ.coreKnownTags:{},this.tags=yQ.getTags(r,this.name,n),this.toStringOptions=a??null,Object.defineProperty(this,xk.MAP,{value:wDe.map}),Object.defineProperty(this,xk.SCALAR,{value:xDe.string}),Object.defineProperty(this,xk.SEQ,{value:SDe.seq}),this.sortMapEntries=typeof o=="function"?o:o===!0?RDe:null}clone(){let e=Object.create(t.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}};D9.Schema=Rk});var P9=h(k9=>{"use strict";var vDe=He(),_k=em(),lm=$g();function _De(t,e){let r=[],n=e.directives===!0;if(e.directives!==!1&&t.directives){let A=t.directives.toString(t);A?(r.push(A),n=!0):t.directives.docStart&&(n=!0)}n&&r.push("---");let i=_k.createStringifyContext(t,e),{commentString:s}=i.options;if(t.commentBefore){r.length!==1&&r.unshift("");let A=s(t.commentBefore);r.unshift(lm.indentComment(A,""))}let o=!1,a=null;if(t.contents){if(vDe.isNode(t.contents)){if(t.contents.spaceBefore&&n&&r.push(""),t.contents.commentBefore){let l=s(t.contents.commentBefore);r.push(lm.indentComment(l,""))}i.forceBlockIndent=!!t.comment,a=t.contents.comment}let A=a?void 0:()=>o=!0,c=_k.stringify(t.contents,i,()=>a=null,A);a&&(c+=lm.lineComment(c,"",s(a))),(c[0]==="|"||c[0]===">")&&r[r.length-1]==="---"?r[r.length-1]=`--- ${c}`:r.push(c)}else r.push(_k.stringify(t.contents,i));if(t.directives?.docEnd)if(t.comment){let A=s(t.comment);A.includes(`
|
|
`)?(r.push("..."),r.push(lm.indentComment(A,""))):r.push(`... ${A}`)}else r.push("...");else{let A=t.comment;A&&o&&(A=A.replace(/^\n+/,"")),A&&((!o||a)&&r[r.length-1]!==""&&r.push(""),r.push(lm.indentComment(s(A),"")))}return r.join(`
|
|
`)+`
|
|
`}k9.stringifyDocument=_De});var um=h(T9=>{"use strict";var DDe=Vg(),vd=FB(),Pi=He(),kDe=_a(),PDe=Sa(),TDe=vk(),ODe=P9(),Dk=PB(),LDe=OD(),MDe=Wg(),kk=TD(),Pk=class t{constructor(e,r,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Pi.NODE_TYPE,{value:Pi.DOC});let i=null;typeof r=="function"||Array.isArray(r)?i=r:n===void 0&&r&&(n=r,r=void 0);let s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:o}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new kk.Directives({version:o}),this.setSchema(o,n),this.contents=e===void 0?null:this.createNode(e,i,n)}clone(){let e=Object.create(t.prototype,{[Pi.NODE_TYPE]:{value:Pi.DOC}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=Pi.isNode(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){_d(this.contents)&&this.contents.add(e)}addIn(e,r){_d(this.contents)&&this.contents.addIn(e,r)}createAlias(e,r){if(!e.anchor){let n=Dk.anchorNames(this);e.anchor=!r||n.has(r)?Dk.findNewAnchor(r||"a",n):r}return new DDe.Alias(e.anchor)}createNode(e,r,n){let i;if(typeof r=="function")e=r.call({"":e},"",e),i=r;else if(Array.isArray(r)){let E=I=>typeof I=="number"||I instanceof String||I instanceof Number,C=r.filter(E).map(String);C.length>0&&(r=r.concat(C)),i=r}else n===void 0&&r&&(n=r,r=void 0);let{aliasDuplicateObjects:s,anchorPrefix:o,flow:a,keepUndefined:A,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:f}=Dk.createNodeAnchors(this,o||"a"),g={aliasDuplicateObjects:s??!0,keepUndefined:A??!1,onAnchor:u,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:f},m=MDe.createNode(e,l,g);return a&&Pi.isCollection(m)&&(m.flow=!0),d(),m}createPair(e,r,n={}){let i=this.createNode(e,null,n),s=this.createNode(r,null,n);return new kDe.Pair(i,s)}delete(e){return _d(this.contents)?this.contents.delete(e):!1}deleteIn(e){return vd.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):_d(this.contents)?this.contents.deleteIn(e):!1}get(e,r){return Pi.isCollection(this.contents)?this.contents.get(e,r):void 0}getIn(e,r){return vd.isEmptyPath(e)?!r&&Pi.isScalar(this.contents)?this.contents.value:this.contents:Pi.isCollection(this.contents)?this.contents.getIn(e,r):void 0}has(e){return Pi.isCollection(this.contents)?this.contents.has(e):!1}hasIn(e){return vd.isEmptyPath(e)?this.contents!==void 0:Pi.isCollection(this.contents)?this.contents.hasIn(e):!1}set(e,r){this.contents==null?this.contents=vd.collectionFromPath(this.schema,[e],r):_d(this.contents)&&this.contents.set(e,r)}setIn(e,r){vd.isEmptyPath(e)?this.contents=r:this.contents==null?this.contents=vd.collectionFromPath(this.schema,Array.from(e),r):_d(this.contents)&&this.contents.setIn(e,r)}setSchema(e,r={}){typeof e=="number"&&(e=String(e));let n;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new kk.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new kk.Directives({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let i=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(r.schema instanceof Object)this.schema=r.schema;else if(n)this.schema=new TDe.Schema(Object.assign(n,r));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:r,mapAsMap:n,maxAliasCount:i,onAnchor:s,reviver:o}={}){let a={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},A=PDe.toJS(this.contents,r??"",a);if(typeof s=="function")for(let{count:c,res:l}of a.anchors.values())s(l,c);return typeof o=="function"?LDe.applyReviver(o,{"":A},"",A):A}toJSON(e,r){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:r})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let r=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return ODe.stringifyDocument(this,e)}};function _d(t){if(Pi.isCollection(t))return!0;throw new Error("Expected a YAML collection as document contents")}T9.Document=Pk});var hm=h(fm=>{"use strict";var dm=class extends Error{constructor(e,r,n,i){super(),this.name=e,this.code=n,this.message=i,this.pos=r}},Tk=class extends dm{constructor(e,r,n){super("YAMLParseError",e,r,n)}},Ok=class extends dm{constructor(e,r,n){super("YAMLWarning",e,r,n)}},FDe=(t,e)=>r=>{if(r.pos[0]===-1)return;r.linePos=r.pos.map(a=>e.linePos(a));let{line:n,col:i}=r.linePos[0];r.message+=` at line ${n}, column ${i}`;let s=i-1,o=t.substring(e.lineStarts[n-1],e.lineStarts[n]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){let a=Math.min(s-39,o.length-79);o="\u2026"+o.substring(a),s-=a-1}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),n>1&&/^ *$/.test(o.substring(0,s))){let a=t.substring(e.lineStarts[n-2],e.lineStarts[n-1]);a.length>80&&(a=a.substring(0,79)+`\u2026
|
|
`),o=a+o}if(/[^ ]/.test(o)){let a=1,A=r.linePos[1];A&&A.line===n&&A.col>i&&(a=Math.max(1,Math.min(A.col-i,80-s)));let c=" ".repeat(s)+"^".repeat(a);r.message+=`:
|
|
|
|
${o}
|
|
${c}
|
|
`}};fm.YAMLError=dm;fm.YAMLParseError=Tk;fm.YAMLWarning=Ok;fm.prettifyError=FDe});var gm=h(O9=>{"use strict";function UDe(t,{flow:e,indicator:r,next:n,offset:i,onError:s,parentIndent:o,startOnNewline:a}){let A=!1,c=a,l=a,u="",d="",f=!1,g=!1,m=null,E=null,C=null,I=null,N=null,w=null,v=null;for(let k of t)switch(g&&(k.type!=="space"&&k.type!=="newline"&&k.type!=="comma"&&s(k.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g=!1),m&&(c&&k.type!=="comment"&&k.type!=="newline"&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),k.type){case"space":!e&&(r!=="doc-start"||n?.type!=="flow-collection")&&k.source.includes(" ")&&(m=k),l=!0;break;case"comment":{l||s(k,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let J=k.source.substring(1)||" ";u?u+=d+J:u=J,d="",c=!1;break}case"newline":c?u?u+=k.source:(!w||r!=="seq-item-ind")&&(A=!0):d+=k.source,c=!0,f=!0,(E||C)&&(I=k),l=!0;break;case"anchor":E&&s(k,"MULTIPLE_ANCHORS","A node can have at most one anchor"),k.source.endsWith(":")&&s(k.offset+k.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),E=k,v===null&&(v=k.offset),c=!1,l=!1,g=!0;break;case"tag":{C&&s(k,"MULTIPLE_TAGS","A node can have at most one tag"),C=k,v===null&&(v=k.offset),c=!1,l=!1,g=!0;break}case r:(E||C)&&s(k,"BAD_PROP_ORDER",`Anchors and tags must be after the ${k.source} indicator`),w&&s(k,"UNEXPECTED_TOKEN",`Unexpected ${k.source} in ${e??"collection"}`),w=k,c=r==="seq-item-ind"||r==="explicit-key-ind",l=!1;break;case"comma":if(e){N&&s(k,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),N=k,c=!1,l=!1;break}default:s(k,"UNEXPECTED_TOKEN",`Unexpected ${k.type} token`),c=!1,l=!1}let T=t[t.length-1],U=T?T.offset+T.source.length:i;return g&&n&&n.type!=="space"&&n.type!=="newline"&&n.type!=="comma"&&(n.type!=="scalar"||n.source!=="")&&s(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.indent<=o||n?.type==="block-map"||n?.type==="block-seq")&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:N,found:w,spaceBefore:A,comment:u,hasNewline:f,anchor:E,tag:C,newlineAfterProp:I,end:U,start:v??U}}O9.resolveProps=UDe});var EQ=h(L9=>{"use strict";function Lk(t){if(!t)return null;switch(t.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(t.source.includes(`
|
|
`))return!0;if(t.end){for(let e of t.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(let e of t.items){for(let r of e.start)if(r.type==="newline")return!0;if(e.sep){for(let r of e.sep)if(r.type==="newline")return!0}if(Lk(e.key)||Lk(e.value))return!0}return!1;default:return!0}}L9.containsNewline=Lk});var Mk=h(M9=>{"use strict";var qDe=EQ();function HDe(t,e,r){if(e?.type==="flow-collection"){let n=e.end[0];n.indent===t&&(n.source==="]"||n.source==="}")&&qDe.containsNewline(e)&&r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}M9.flowIndentCheck=HDe});var Fk=h(U9=>{"use strict";var F9=He();function jDe(t,e,r){let{uniqueKeys:n}=t.options;if(n===!1)return!1;let i=typeof n=="function"?n:(s,o)=>s===o||F9.isScalar(s)&&F9.isScalar(o)&&s.value===o.value;return e.some(s=>i(s.key,r))}U9.mapIncludes=jDe});var Y9=h(G9=>{"use strict";var q9=_a(),zDe=ka(),H9=gm(),GDe=EQ(),j9=Mk(),YDe=Fk(),z9="All mapping items must start at the same column";function JDe({composeNode:t,composeEmptyNode:e},r,n,i,s){let o=s?.nodeClass??zDe.YAMLMap,a=new o(r.schema);r.atRoot&&(r.atRoot=!1);let A=n.offset,c=null;for(let l of n.items){let{start:u,key:d,sep:f,value:g}=l,m=H9.resolveProps(u,{indicator:"explicit-key-ind",next:d??f?.[0],offset:A,onError:i,parentIndent:n.indent,startOnNewline:!0}),E=!m.found;if(E){if(d&&(d.type==="block-seq"?i(A,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==n.indent&&i(A,"BAD_INDENT",z9)),!m.anchor&&!m.tag&&!f){c=m.end,m.comment&&(a.comment?a.comment+=`
|
|
`+m.comment:a.comment=m.comment);continue}(m.newlineAfterProp||GDe.containsNewline(d))&&i(d??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else m.found?.indent!==n.indent&&i(A,"BAD_INDENT",z9);r.atKey=!0;let C=m.end,I=d?t(r,d,m,i):e(r,C,u,null,m,i);r.schema.compat&&j9.flowIndentCheck(n.indent,d,i),r.atKey=!1,YDe.mapIncludes(r,a.items,I)&&i(C,"DUPLICATE_KEY","Map keys must be unique");let N=H9.resolveProps(f??[],{indicator:"map-value-ind",next:g,offset:I.range[2],onError:i,parentIndent:n.indent,startOnNewline:!d||d.type==="block-scalar"});if(A=N.end,N.found){E&&(g?.type==="block-map"&&!N.hasNewline&&i(A,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&m.start<N.found.offset-1024&&i(I.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let w=g?t(r,g,N,i):e(r,A,f,null,N,i);r.schema.compat&&j9.flowIndentCheck(n.indent,g,i),A=w.range[2];let v=new q9.Pair(I,w);r.options.keepSourceTokens&&(v.srcToken=l),a.items.push(v)}else{E&&i(I.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),N.comment&&(I.comment?I.comment+=`
|
|
`+N.comment:I.comment=N.comment);let w=new q9.Pair(I);r.options.keepSourceTokens&&(w.srcToken=l),a.items.push(w)}}return c&&c<A&&i(c,"IMPOSSIBLE","Map comment with trailing content"),a.range=[n.offset,A,c??A],a}G9.resolveBlockMap=JDe});var V9=h(J9=>{"use strict";var VDe=Pa(),WDe=gm(),$De=Mk();function KDe({composeNode:t,composeEmptyNode:e},r,n,i,s){let o=s?.nodeClass??VDe.YAMLSeq,a=new o(r.schema);r.atRoot&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let A=n.offset,c=null;for(let{start:l,value:u}of n.items){let d=WDe.resolveProps(l,{indicator:"seq-item-ind",next:u,offset:A,onError:i,parentIndent:n.indent,startOnNewline:!0});if(!d.found)if(d.anchor||d.tag||u)u&&u.type==="block-seq"?i(d.end,"BAD_INDENT","All sequence items must start at the same column"):i(A,"MISSING_CHAR","Sequence item without - indicator");else{c=d.end,d.comment&&(a.comment=d.comment);continue}let f=u?t(r,u,d,i):e(r,d.end,l,null,d,i);r.schema.compat&&$De.flowIndentCheck(n.indent,u,i),A=f.range[2],a.items.push(f)}return a.range=[n.offset,A,c??A],a}J9.resolveBlockSeq=KDe});var Dd=h(W9=>{"use strict";function XDe(t,e,r,n){let i="";if(t){let s=!1,o="";for(let a of t){let{source:A,type:c}=a;switch(c){case"space":s=!0;break;case"comment":{r&&!s&&n(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let l=A.substring(1)||" ";i?i+=o+l:i=l,o="";break}case"newline":i&&(o+=A),s=!0;break;default:n(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}e+=A.length}}return{comment:i,offset:e}}W9.resolveEnd=XDe});var Z9=h(X9=>{"use strict";var ZDe=He(),eke=_a(),$9=ka(),tke=Pa(),rke=Dd(),K9=gm(),nke=EQ(),ike=Fk(),Uk="Block collections are not allowed within flow collections",qk=t=>t&&(t.type==="block-map"||t.type==="block-seq");function ske({composeNode:t,composeEmptyNode:e},r,n,i,s){let o=n.start.source==="{",a=o?"flow map":"flow sequence",A=s?.nodeClass??(o?$9.YAMLMap:tke.YAMLSeq),c=new A(r.schema);c.flow=!0;let l=r.atRoot;l&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let u=n.offset+n.start.source.length;for(let E=0;E<n.items.length;++E){let C=n.items[E],{start:I,key:N,sep:w,value:v}=C,T=K9.resolveProps(I,{flow:a,indicator:"explicit-key-ind",next:N??w?.[0],offset:u,onError:i,parentIndent:n.indent,startOnNewline:!1});if(!T.found){if(!T.anchor&&!T.tag&&!w&&!v){E===0&&T.comma?i(T.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):E<n.items.length-1&&i(T.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),T.comment&&(c.comment?c.comment+=`
|
|
`+T.comment:c.comment=T.comment),u=T.end;continue}!o&&r.options.strict&&nke.containsNewline(N)&&i(N,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(E===0)T.comma&&i(T.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(T.comma||i(T.start,"MISSING_CHAR",`Missing , between ${a} items`),T.comment){let U="";e:for(let k of I)switch(k.type){case"comma":case"space":break;case"comment":U=k.source.substring(1);break e;default:break e}if(U){let k=c.items[c.items.length-1];ZDe.isPair(k)&&(k=k.value??k.key),k.comment?k.comment+=`
|
|
`+U:k.comment=U,T.comment=T.comment.substring(U.length+1)}}if(!o&&!w&&!T.found){let U=v?t(r,v,T,i):e(r,T.end,w,null,T,i);c.items.push(U),u=U.range[2],qk(v)&&i(U.range,"BLOCK_IN_FLOW",Uk)}else{r.atKey=!0;let U=T.end,k=N?t(r,N,T,i):e(r,U,I,null,T,i);qk(N)&&i(k.range,"BLOCK_IN_FLOW",Uk),r.atKey=!1;let J=K9.resolveProps(w??[],{flow:a,indicator:"map-value-ind",next:v,offset:k.range[2],onError:i,parentIndent:n.indent,startOnNewline:!1});if(J.found){if(!o&&!T.found&&r.options.strict){if(w)for(let H of w){if(H===J.found)break;if(H.type==="newline"){i(H,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}T.start<J.found.offset-1024&&i(J.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else v&&("source"in v&&v.source&&v.source[0]===":"?i(v,"MISSING_CHAR",`Missing space after : in ${a}`):i(J.start,"MISSING_CHAR",`Missing , or : between ${a} items`));let be=v?t(r,v,J,i):J.found?e(r,J.end,w,null,J,i):null;be?qk(v)&&i(be.range,"BLOCK_IN_FLOW",Uk):J.comment&&(k.comment?k.comment+=`
|
|
`+J.comment:k.comment=J.comment);let Re=new eke.Pair(k,be);if(r.options.keepSourceTokens&&(Re.srcToken=C),o){let H=c;ike.mapIncludes(r,H.items,k)&&i(U,"DUPLICATE_KEY","Map keys must be unique"),H.items.push(Re)}else{let H=new $9.YAMLMap(r.schema);H.flow=!0,H.items.push(Re);let _e=(be??k).range;H.range=[k.range[0],_e[1],_e[2]],c.items.push(H)}u=be?be.range[2]:J.end}}let d=o?"}":"]",[f,...g]=n.end,m=u;if(f&&f.source===d)m=f.offset+f.source.length;else{let E=a[0].toUpperCase()+a.substring(1),C=l?`${E} must end with a ${d}`:`${E} in block collection must be sufficiently indented and end with a ${d}`;i(u,l?"MISSING_CHAR":"BAD_INDENT",C),f&&f.source.length!==1&&g.unshift(f)}if(g.length>0){let E=rke.resolveEnd(g,m,r.options.strict,i);E.comment&&(c.comment?c.comment+=`
|
|
`+E.comment:c.comment=E.comment),c.range=[n.offset,m,E.offset]}else c.range=[n.offset,m,m];return c}X9.resolveFlowCollection=ske});var t8=h(e8=>{"use strict";var oke=He(),ake=sr(),Ake=ka(),cke=Pa(),lke=Y9(),uke=V9(),dke=Z9();function Hk(t,e,r,n,i,s){let o=r.type==="block-map"?lke.resolveBlockMap(t,e,r,n,s):r.type==="block-seq"?uke.resolveBlockSeq(t,e,r,n,s):dke.resolveFlowCollection(t,e,r,n,s),a=o.constructor;return i==="!"||i===a.tagName?(o.tag=a.tagName,o):(i&&(o.tag=i),o)}function fke(t,e,r,n,i){let s=n.tag,o=s?e.directives.tagName(s.source,d=>i(s,"TAG_RESOLVE_FAILED",d)):null;if(r.type==="block-seq"){let{anchor:d,newlineAfterProp:f}=n,g=d&&s?d.offset>s.offset?d:s:d??s;g&&(!f||f.offset<g.offset)&&i(g,"MISSING_CHAR","Missing newline after block sequence props")}let a=r.type==="block-map"?"map":r.type==="block-seq"?"seq":r.start.source==="{"?"map":"seq";if(!s||!o||o==="!"||o===Ake.YAMLMap.tagName&&a==="map"||o===cke.YAMLSeq.tagName&&a==="seq")return Hk(t,e,r,i,o);let A=e.schema.tags.find(d=>d.tag===o&&d.collection===a);if(!A){let d=e.schema.knownTags[o];if(d&&d.collection===a)e.schema.tags.push(Object.assign({},d,{default:!1})),A=d;else return d?.collection?i(s,"BAD_COLLECTION_TYPE",`${d.tag} used for ${a} collection, but expects ${d.collection}`,!0):i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),Hk(t,e,r,i,o)}let c=Hk(t,e,r,i,o,A),l=A.resolve?.(c,d=>i(s,"TAG_RESOLVE_FAILED",d),e.options)??c,u=oke.isNode(l)?l:new ake.Scalar(l);return u.range=c.range,u.tag=o,A?.format&&(u.format=A.format),u}e8.composeCollection=fke});var zk=h(r8=>{"use strict";var jk=sr();function hke(t,e,r){let n=e.offset,i=gke(e,t.options.strict,r);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};let s=i.mode===">"?jk.Scalar.BLOCK_FOLDED:jk.Scalar.BLOCK_LITERAL,o=e.source?mke(e.source):[],a=o.length;for(let m=o.length-1;m>=0;--m){let E=o[m][1];if(E===""||E==="\r")a=m;else break}if(a===0){let m=i.chomp==="+"&&o.length>0?`
|
|
`.repeat(Math.max(1,o.length-1)):"",E=n+i.length;return e.source&&(E+=e.source.length),{value:m,type:s,comment:i.comment,range:[n,E,E]}}let A=e.indent+i.indent,c=e.offset+i.length,l=0;for(let m=0;m<a;++m){let[E,C]=o[m];if(C===""||C==="\r")i.indent===0&&E.length>A&&(A=E.length);else{E.length<A&&r(c+E.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(A=E.length),l=m,A===0&&!t.atRoot&&r(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=E.length+C.length+1}for(let m=o.length-1;m>=a;--m)o[m][0].length>A&&(a=m+1);let u="",d="",f=!1;for(let m=0;m<l;++m)u+=o[m][0].slice(A)+`
|
|
`;for(let m=l;m<a;++m){let[E,C]=o[m];c+=E.length+C.length+1;let I=C[C.length-1]==="\r";if(I&&(C=C.slice(0,-1)),C&&E.length<A){let w=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;r(c-C.length-(I?2:1),"BAD_INDENT",w),E=""}s===jk.Scalar.BLOCK_LITERAL?(u+=d+E.slice(A)+C,d=`
|
|
`):E.length>A||C[0]===" "?(d===" "?d=`
|
|
`:!f&&d===`
|
|
`&&(d=`
|
|
|
|
`),u+=d+E.slice(A)+C,d=`
|
|
`,f=!0):C===""?d===`
|
|
`?u+=`
|
|
`:d=`
|
|
`:(u+=d+C,d=" ",f=!1)}switch(i.chomp){case"-":break;case"+":for(let m=a;m<o.length;++m)u+=`
|
|
`+o[m][0].slice(A);u[u.length-1]!==`
|
|
`&&(u+=`
|
|
`);break;default:u+=`
|
|
`}let g=n+i.length+e.source.length;return{value:u,type:s,comment:i.comment,range:[n,g,g]}}function gke({offset:t,props:e},r,n){if(e[0].type!=="block-scalar-header")return n(e[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=e[0],s=i[0],o=0,a="",A=-1;for(let d=1;d<i.length;++d){let f=i[d];if(!a&&(f==="-"||f==="+"))a=f;else{let g=Number(f);!o&&g?o=g:A===-1&&(A=t+d)}}A!==-1&&n(A,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,l="",u=i.length;for(let d=1;d<e.length;++d){let f=e[d];switch(f.type){case"space":c=!0;case"newline":u+=f.source.length;break;case"comment":r&&!c&&n(f,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),u+=f.source.length,l=f.source.substring(1);break;case"error":n(f,"UNEXPECTED_TOKEN",f.message),u+=f.source.length;break;default:{let g=`Unexpected token in block scalar header: ${f.type}`;n(f,"UNEXPECTED_TOKEN",g);let m=f.source;m&&typeof m=="string"&&(u+=m.length)}}}return{mode:s,indent:o,chomp:a,comment:l,length:u}}function mke(t){let e=t.split(/\n( *)/),r=e[0],n=r.match(/^( *)/),s=[n?.[1]?[n[1],r.slice(n[1].length)]:["",r]];for(let o=1;o<e.length;o+=2)s.push([e[o],e[o+1]]);return s}r8.resolveBlockScalar=hke});var Yk=h(i8=>{"use strict";var Gk=sr(),pke=Dd();function yke(t,e,r){let{offset:n,type:i,source:s,end:o}=t,a,A,c=(d,f,g)=>r(n+d,f,g);switch(i){case"scalar":a=Gk.Scalar.PLAIN,A=Eke(s,c);break;case"single-quoted-scalar":a=Gk.Scalar.QUOTE_SINGLE,A=Cke(s,c);break;case"double-quoted-scalar":a=Gk.Scalar.QUOTE_DOUBLE,A=Ike(s,c);break;default:return r(t,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[n,n+s.length,n+s.length]}}let l=n+s.length,u=pke.resolveEnd(o,l,e,r);return{value:A,type:a,comment:u.comment,range:[n,l,u.offset]}}function Eke(t,e){let r="";switch(t[0]){case" ":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":{r=`block scalar indicator ${t[0]}`;break}case"@":case"`":{r=`reserved character ${t[0]}`;break}}return r&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),n8(t)}function Cke(t,e){return(t[t.length-1]!=="'"||t.length===1)&&e(t.length,"MISSING_CHAR","Missing closing 'quote"),n8(t.slice(1,-1)).replace(/''/g,"'")}function n8(t){let e,r;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
`,"sy"),r=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
`,"sy")}catch{e=/(.*?)[ \t]*\r?\n/sy,r=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=e.exec(t);if(!n)return t;let i=n[1],s=" ",o=e.lastIndex;for(r.lastIndex=o;n=r.exec(t);)n[1]===""?s===`
|
|
`?i+=s:s=`
|
|
`:(i+=s+n[1],s=" "),o=r.lastIndex;let a=/[ \t]*(.*)/sy;return a.lastIndex=o,n=a.exec(t),i+s+(n?.[1]??"")}function Ike(t,e){let r="";for(let n=1;n<t.length-1;++n){let i=t[n];if(!(i==="\r"&&t[n+1]===`
|
|
`))if(i===`
|
|
`){let{fold:s,offset:o}=Bke(t,n);r+=s,n=o}else if(i==="\\"){let s=t[++n],o=Qke[s];if(o)r+=o;else if(s===`
|
|
`)for(s=t[n+1];s===" "||s===" ";)s=t[++n+1];else if(s==="\r"&&t[n+1]===`
|
|
`)for(s=t[++n+1];s===" "||s===" ";)s=t[++n+1];else if(s==="x"||s==="u"||s==="U"){let a={x:2,u:4,U:8}[s];r+=bke(t,n+1,a,e),n+=a}else{let a=t.substr(n-1,2);e(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),r+=a}}else if(i===" "||i===" "){let s=n,o=t[n+1];for(;o===" "||o===" ";)o=t[++n+1];o!==`
|
|
`&&!(o==="\r"&&t[n+2]===`
|
|
`)&&(r+=n>s?t.slice(s,n+1):i)}else r+=i}return(t[t.length-1]!=='"'||t.length===1)&&e(t.length,"MISSING_CHAR",'Missing closing "quote'),r}function Bke(t,e){let r="",n=t[e+1];for(;(n===" "||n===" "||n===`
|
|
`||n==="\r")&&!(n==="\r"&&t[e+2]!==`
|
|
`);)n===`
|
|
`&&(r+=`
|
|
`),e+=1,n=t[e+1];return r||(r=" "),{fold:r,offset:e}}var Qke={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function bke(t,e,r,n){let i=t.substr(e,r),o=i.length===r&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(o)){let a=t.substr(e-2,r+2);return n(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}i8.resolveFlowScalar=yke});var a8=h(o8=>{"use strict";var YA=He(),s8=sr(),Nke=zk(),wke=Yk();function Ske(t,e,r,n){let{value:i,type:s,comment:o,range:a}=e.type==="block-scalar"?Nke.resolveBlockScalar(t,e,n):wke.resolveFlowScalar(e,t.options.strict,n),A=r?t.directives.tagName(r.source,u=>n(r,"TAG_RESOLVE_FAILED",u)):null,c;t.options.stringKeys&&t.atKey?c=t.schema[YA.SCALAR]:A?c=xke(t.schema,i,A,r,n):e.type==="scalar"?c=Rke(t,i,e,n):c=t.schema[YA.SCALAR];let l;try{let u=c.resolve(i,d=>n(r??e,"TAG_RESOLVE_FAILED",d),t.options);l=YA.isScalar(u)?u:new s8.Scalar(u)}catch(u){let d=u instanceof Error?u.message:String(u);n(r??e,"TAG_RESOLVE_FAILED",d),l=new s8.Scalar(i)}return l.range=a,l.source=i,s&&(l.type=s),A&&(l.tag=A),c.format&&(l.format=c.format),o&&(l.comment=o),l}function xke(t,e,r,n,i){if(r==="!")return t[YA.SCALAR];let s=[];for(let a of t.tags)if(!a.collection&&a.tag===r)if(a.default&&a.test)s.push(a);else return a;for(let a of s)if(a.test?.test(e))return a;let o=t.knownTags[r];return o&&!o.collection?(t.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,r!=="tag:yaml.org,2002:str"),t[YA.SCALAR])}function Rke({atKey:t,directives:e,schema:r},n,i,s){let o=r.tags.find(a=>(a.default===!0||t&&a.default==="key")&&a.test?.test(n))||r[YA.SCALAR];if(r.compat){let a=r.compat.find(A=>A.default&&A.test?.test(n))??r[YA.SCALAR];if(o.tag!==a.tag){let A=e.tagString(o.tag),c=e.tagString(a.tag),l=`Value may be parsed as either ${A} or ${c}`;s(i,"TAG_RESOLVE_FAILED",l,!0)}}return o}o8.composeScalar=Ske});var c8=h(A8=>{"use strict";function vke(t,e,r){if(e){r===null&&(r=e.length);for(let n=r-1;n>=0;--n){let i=e[n];switch(i.type){case"space":case"comment":case"newline":t-=i.source.length;continue}for(i=e[++n];i?.type==="space";)t+=i.source.length,i=e[++n];break}}return t}A8.emptyScalarPosition=vke});var d8=h(Vk=>{"use strict";var _ke=Vg(),Dke=He(),kke=t8(),l8=a8(),Pke=Dd(),Tke=c8(),Oke={composeNode:u8,composeEmptyNode:Jk};function u8(t,e,r,n){let i=t.atKey,{spaceBefore:s,comment:o,anchor:a,tag:A}=r,c,l=!0;switch(e.type){case"alias":c=Lke(t,e,n),(a||A)&&n(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=l8.composeScalar(t,e,A,n),a&&(c.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=kke.composeCollection(Oke,t,e,r,n),a&&(c.anchor=a.source.substring(1));break;default:{let u=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;n(e,"UNEXPECTED_TOKEN",u),c=Jk(t,e.offset,void 0,null,r,n),l=!1}}return a&&c.anchor===""&&n(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&t.options.stringKeys&&(!Dke.isScalar(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&n(A??e,"NON_STRING_KEY","With stringKeys, all keys must be strings"),s&&(c.spaceBefore=!0),o&&(e.type==="scalar"&&e.source===""?c.comment=o:c.commentBefore=o),t.options.keepSourceTokens&&l&&(c.srcToken=e),c}function Jk(t,e,r,n,{spaceBefore:i,comment:s,anchor:o,tag:a,end:A},c){let l={type:"scalar",offset:Tke.emptyScalarPosition(e,r,n),indent:-1,source:""},u=l8.composeScalar(t,l,a,c);return o&&(u.anchor=o.source.substring(1),u.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),s&&(u.comment=s,u.range[2]=A),u}function Lke({options:t},{offset:e,source:r,end:n},i){let s=new _ke.Alias(r.substring(1));s.source===""&&i(e,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(e+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=e+r.length,a=Pke.resolveEnd(n,o,t.strict,i);return s.range=[e,o,a.offset],a.comment&&(s.comment=a.comment),s}Vk.composeEmptyNode=Jk;Vk.composeNode=u8});var g8=h(h8=>{"use strict";var Mke=um(),f8=d8(),Fke=Dd(),Uke=gm();function qke(t,e,{offset:r,start:n,value:i,end:s},o){let a=Object.assign({_directives:e},t),A=new Mke.Document(void 0,a),c={atKey:!1,atRoot:!0,directives:A.directives,options:A.options,schema:A.schema},l=Uke.resolveProps(n,{indicator:"doc-start",next:i??s?.[0],offset:r,onError:o,parentIndent:0,startOnNewline:!0});l.found&&(A.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!l.hasNewline&&o(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),A.contents=i?f8.composeNode(c,i,l,o):f8.composeEmptyNode(c,l.end,n,null,l,o);let u=A.contents.range[2],d=Fke.resolveEnd(s,u,!1,o);return d.comment&&(A.comment=d.comment),A.range=[r,u,d.offset],A}h8.composeDoc=qke});var $k=h(y8=>{"use strict";var Hke=require("node:process"),jke=TD(),zke=um(),mm=hm(),m8=He(),Gke=g8(),Yke=Dd();function pm(t){if(typeof t=="number")return[t,t+1];if(Array.isArray(t))return t.length===2?t:[t[0],t[1]];let{offset:e,source:r}=t;return[e,e+(typeof r=="string"?r.length:1)]}function p8(t){let e="",r=!1,n=!1;for(let i=0;i<t.length;++i){let s=t[i];switch(s[0]){case"#":e+=(e===""?"":n?`
|
|
|
|
`:`
|
|
`)+(s.substring(1)||" "),r=!0,n=!1;break;case"%":t[i+1]?.[0]!=="#"&&(i+=1),r=!1;break;default:r||(n=!0),r=!1}}return{comment:e,afterEmptyLine:n}}var Wk=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(r,n,i,s)=>{let o=pm(r);s?this.warnings.push(new mm.YAMLWarning(o,n,i)):this.errors.push(new mm.YAMLParseError(o,n,i))},this.directives=new jke.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,r){let{comment:n,afterEmptyLine:i}=p8(this.prelude);if(n){let s=e.contents;if(r)e.comment=e.comment?`${e.comment}
|
|
${n}`:n;else if(i||e.directives.docStart||!s)e.commentBefore=n;else if(m8.isCollection(s)&&!s.flow&&s.items.length>0){let o=s.items[0];m8.isPair(o)&&(o=o.key);let a=o.commentBefore;o.commentBefore=a?`${n}
|
|
${a}`:n}else{let o=s.commentBefore;s.commentBefore=o?`${n}
|
|
${o}`:n}}r?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:p8(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,r=!1,n=-1){for(let i of e)yield*this.next(i);yield*this.end(r,n)}*next(e){switch(Hke.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,(r,n,i)=>{let s=pm(e);s[0]+=r,this.onError(s,"BAD_DIRECTIVE",n,i)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let r=Gke.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!r.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(r,!1),this.doc&&(yield this.doc),this.doc=r,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let r=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new mm.YAMLParseError(pm(e),"UNEXPECTED_TOKEN",r);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){let n="Unexpected doc-end without preceding document";this.errors.push(new mm.YAMLParseError(pm(e),"UNEXPECTED_TOKEN",n));break}this.doc.directives.docEnd=!0;let r=Yke.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),r.comment){let n=this.doc.comment;this.doc.comment=n?`${n}
|
|
${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new mm.YAMLParseError(pm(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,r=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let n=Object.assign({_directives:this.directives},this.options),i=new zke.Document(void 0,n);this.atDirectives&&this.onError(r,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,r,r],this.decorate(i,!1),yield i}}};y8.Composer=Wk});var I8=h(CQ=>{"use strict";var Jke=zk(),Vke=Yk(),Wke=hm(),E8=Zg();function $ke(t,e=!0,r){if(t){let n=(i,s,o)=>{let a=typeof i=="number"?i:Array.isArray(i)?i[0]:i.offset;if(r)r(a,s,o);else throw new Wke.YAMLParseError([a,a+1],s,o)};switch(t.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Vke.resolveFlowScalar(t,e,n);case"block-scalar":return Jke.resolveBlockScalar({options:{strict:e}},t,n)}}return null}function Kke(t,e){let{implicitKey:r=!1,indent:n,inFlow:i=!1,offset:s=-1,type:o="PLAIN"}=e,a=E8.stringifyString({type:o,value:t},{implicitKey:r,indent:n>0?" ".repeat(n):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),A=e.end??[{type:"newline",offset:-1,indent:n,source:`
|
|
`}];switch(a[0]){case"|":case">":{let c=a.indexOf(`
|
|
`),l=a.substring(0,c),u=a.substring(c+1)+`
|
|
`,d=[{type:"block-scalar-header",offset:s,indent:n,source:l}];return C8(d,A)||d.push({type:"newline",offset:-1,indent:n,source:`
|
|
`}),{type:"block-scalar",offset:s,indent:n,props:d,source:u}}case'"':return{type:"double-quoted-scalar",offset:s,indent:n,source:a,end:A};case"'":return{type:"single-quoted-scalar",offset:s,indent:n,source:a,end:A};default:return{type:"scalar",offset:s,indent:n,source:a,end:A}}}function Xke(t,e,r={}){let{afterKey:n=!1,implicitKey:i=!1,inFlow:s=!1,type:o}=r,a="indent"in t?t.indent:null;if(n&&typeof a=="number"&&(a+=2),!o)switch(t.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let c=t.props[0];if(c.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=c.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}let A=E8.stringifyString({type:o,value:e},{implicitKey:i||a===null,indent:a!==null&&a>0?" ".repeat(a):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(A[0]){case"|":case">":Zke(t,A);break;case'"':Kk(t,A,"double-quoted-scalar");break;case"'":Kk(t,A,"single-quoted-scalar");break;default:Kk(t,A,"scalar")}}function Zke(t,e){let r=e.indexOf(`
|
|
`),n=e.substring(0,r),i=e.substring(r+1)+`
|
|
`;if(t.type==="block-scalar"){let s=t.props[0];if(s.type!=="block-scalar-header")throw new Error("Invalid block scalar header");s.source=n,t.source=i}else{let{offset:s}=t,o="indent"in t?t.indent:-1,a=[{type:"block-scalar-header",offset:s,indent:o,source:n}];C8(a,"end"in t?t.end:void 0)||a.push({type:"newline",offset:-1,indent:o,source:`
|
|
`});for(let A of Object.keys(t))A!=="type"&&A!=="offset"&&delete t[A];Object.assign(t,{type:"block-scalar",indent:o,props:a,source:i})}}function C8(t,e){if(e)for(let r of e)switch(r.type){case"space":case"comment":t.push(r);break;case"newline":return t.push(r),!0}return!1}function Kk(t,e,r){switch(t.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":t.type=r,t.source=e;break;case"block-scalar":{let n=t.props.slice(1),i=e.length;t.props[0].type==="block-scalar-header"&&(i-=t.props[0].source.length);for(let s of n)s.offset+=i;delete t.props,Object.assign(t,{type:r,source:e,end:n});break}case"block-map":case"block-seq":{let i={type:"newline",offset:t.offset+e.length,indent:t.indent,source:`
|
|
`};delete t.items,Object.assign(t,{type:r,source:e,end:[i]});break}default:{let n="indent"in t?t.indent:-1,i="end"in t&&Array.isArray(t.end)?t.end.filter(s=>s.type==="space"||s.type==="comment"||s.type==="newline"):[];for(let s of Object.keys(t))s!=="type"&&s!=="offset"&&delete t[s];Object.assign(t,{type:r,indent:n,source:e,end:i})}}}CQ.createScalarToken=Kke;CQ.resolveAsScalar=$ke;CQ.setScalarValue=Xke});var Q8=h(B8=>{"use strict";var ePe=t=>"type"in t?BQ(t):IQ(t);function BQ(t){switch(t.type){case"block-scalar":{let e="";for(let r of t.props)e+=BQ(r);return e+t.source}case"block-map":case"block-seq":{let e="";for(let r of t.items)e+=IQ(r);return e}case"flow-collection":{let e=t.start.source;for(let r of t.items)e+=IQ(r);for(let r of t.end)e+=r.source;return e}case"document":{let e=IQ(t);if(t.end)for(let r of t.end)e+=r.source;return e}default:{let e=t.source;if("end"in t&&t.end)for(let r of t.end)e+=r.source;return e}}}function IQ({start:t,key:e,sep:r,value:n}){let i="";for(let s of t)i+=s.source;if(e&&(i+=BQ(e)),r)for(let s of r)i+=s.source;return n&&(i+=BQ(n)),i}B8.stringify=ePe});var S8=h(w8=>{"use strict";var Xk=Symbol("break visit"),tPe=Symbol("skip children"),b8=Symbol("remove item");function JA(t,e){"type"in t&&t.type==="document"&&(t={start:t.start,value:t.value}),N8(Object.freeze([]),t,e)}JA.BREAK=Xk;JA.SKIP=tPe;JA.REMOVE=b8;JA.itemAtPath=(t,e)=>{let r=t;for(let[n,i]of e){let s=r?.[n];if(s&&"items"in s)r=s.items[i];else return}return r};JA.parentCollection=(t,e)=>{let r=JA.itemAtPath(t,e.slice(0,-1)),n=e[e.length-1][0],i=r?.[n];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function N8(t,e,r){let n=r(e,t);if(typeof n=="symbol")return n;for(let i of["key","value"]){let s=e[i];if(s&&"items"in s){for(let o=0;o<s.items.length;++o){let a=N8(Object.freeze(t.concat([[i,o]])),s.items[o],r);if(typeof a=="number")o=a-1;else{if(a===Xk)return Xk;a===b8&&(s.items.splice(o,1),o-=1)}}typeof n=="function"&&i==="key"&&(n=n(e,t))}}return typeof n=="function"?n(e,t):n}w8.visit=JA});var QQ=h(Tn=>{"use strict";var Zk=I8(),rPe=Q8(),nPe=S8(),eP="\uFEFF",tP="",rP="",nP="",iPe=t=>!!t&&"items"in t,sPe=t=>!!t&&(t.type==="scalar"||t.type==="single-quoted-scalar"||t.type==="double-quoted-scalar"||t.type==="block-scalar");function oPe(t){switch(t){case eP:return"<BOM>";case tP:return"<DOC>";case rP:return"<FLOW_END>";case nP:return"<SCALAR>";default:return JSON.stringify(t)}}function aPe(t){switch(t){case eP:return"byte-order-mark";case tP:return"doc-mode";case rP:return"flow-error-end";case nP:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
`:case`\r
|
|
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(t[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}Tn.createScalarToken=Zk.createScalarToken;Tn.resolveAsScalar=Zk.resolveAsScalar;Tn.setScalarValue=Zk.setScalarValue;Tn.stringify=rPe.stringify;Tn.visit=nPe.visit;Tn.BOM=eP;Tn.DOCUMENT=tP;Tn.FLOW_END=rP;Tn.SCALAR=nP;Tn.isCollection=iPe;Tn.isScalar=sPe;Tn.prettyToken=oPe;Tn.tokenType=aPe});var oP=h(R8=>{"use strict";var ym=QQ();function rs(t){switch(t){case void 0:case" ":case`
|
|
`:case"\r":case" ":return!0;default:return!1}}var x8=new Set("0123456789ABCDEFabcdef"),APe=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),bQ=new Set(",[]{}"),cPe=new Set(` ,[]{}
|
|
\r `),iP=t=>!t||cPe.has(t),sP=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,r=!1){if(e){if(typeof e!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!r;let n=this.next??"stream";for(;n&&(r||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,r=this.buffer[e];for(;r===" "||r===" ";)r=this.buffer[++e];return!r||r==="#"||r===`
|
|
`?!0:r==="\r"?this.buffer[e+1]===`
|
|
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let r=this.buffer[e];if(this.indentNext>0){let n=0;for(;r===" ";)r=this.buffer[++n+e];if(r==="\r"){let i=this.buffer[n+e+1];if(i===`
|
|
`||!i&&!this.atEnd)return e+n+1}return r===`
|
|
`||n>=this.indentNext||!r&&!this.atEnd?e+n:-1}if(r==="-"||r==="."){let n=this.buffer.substr(e,3);if((n==="---"||n==="...")&&rs(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
|
|
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===ym.BOM&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let r=e.length,n=e.indexOf("#");for(;n!==-1;){let s=e[n-1];if(s===" "||s===" "){r=n-1;break}else n=e.indexOf("#",n+1)}for(;;){let s=e[r-1];if(s===" "||s===" ")r-=1;else break}let i=(yield*this.pushCount(r))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){let r=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-r),yield*this.pushNewline(),"stream"}return yield ym.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let r=this.peek(3);if((r==="---"||r==="...")&&rs(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,r==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!rs(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&rs(r)){let n=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=n,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(e===null)return this.setNext("doc");let r=yield*this.pushIndicators();switch(e[r]){case"#":yield*this.pushCount(e.length-r);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(iP),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return r+=yield*this.parseBlockScalarHeader(),r+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-r),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,r,n=-1;do e=yield*this.pushNewline(),e>0?(r=yield*this.pushSpaces(!1),this.indentValue=n=r):r=0,r+=yield*this.pushSpaces(!0);while(e+r>0);let i=this.getLine();if(i===null)return this.setNext("flow");if((n!==-1&&n<this.indentNext&&i[0]!=="#"||n===0&&(i.startsWith("---")||i.startsWith("..."))&&rs(i[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield ym.FLOW_END,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(iP),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let o=this.charAt(1);if(this.flowKey||rs(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),r=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;r!==-1&&this.buffer[r+1]==="'";)r=this.buffer.indexOf("'",r+2);else for(;r!==-1;){let s=0;for(;this.buffer[r-1-s]==="\\";)s+=1;if(s%2===0)break;r=this.buffer.indexOf('"',r+1)}let n=this.buffer.substring(0,r),i=n.indexOf(`
|
|
`,this.pos);if(i!==-1){for(;i!==-1;){let s=this.continueScalar(i+1);if(s===-1)break;i=n.indexOf(`
|
|
`,s)}i!==-1&&(r=i-(n[i-1]==="\r"?2:1))}if(r===-1){if(!this.atEnd)return this.setNext("quoted-scalar");r=this.buffer.length}return yield*this.pushToIndex(r+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let r=this.buffer[++e];if(r==="+")this.blockScalarKeep=!0;else if(r>"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if(r!=="-")break}return yield*this.pushUntil(r=>rs(r)||r==="#")}*parseBlockScalar(){let e=this.pos-1,r=0,n;e:for(let s=this.pos;n=this.buffer[s];++s)switch(n){case" ":r+=1;break;case`
|
|
`:e=s,r=0;break;case"\r":{let o=this.buffer[s+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===`
|
|
`)break}default:break e}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=r:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let s=this.continueScalar(e+1);if(s===-1)break;e=this.buffer.indexOf(`
|
|
`,s)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let i=e+1;for(n=this.buffer[i];n===" ";)n=this.buffer[++i];if(n===" "){for(;n===" "||n===" "||n==="\r"||n===`
|
|
`;)n=this.buffer[++i];e=i-1}else if(!this.blockScalarKeep)do{let s=e-1,o=this.buffer[s];o==="\r"&&(o=this.buffer[--s]);let a=s;for(;o===" ";)o=this.buffer[--s];if(o===`
|
|
`&&s>=this.pos&&s+1+r>a)e=s;else break}while(!0);return yield ym.SCALAR,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e=this.flowLevel>0,r=this.pos-1,n=this.pos-1,i;for(;i=this.buffer[++n];)if(i===":"){let s=this.buffer[n+1];if(rs(s)||e&&bQ.has(s))break;r=n}else if(rs(i)){let s=this.buffer[n+1];if(i==="\r"&&(s===`
|
|
`?(n+=1,i=`
|
|
`,s=this.buffer[n+1]):r=n),s==="#"||e&&bQ.has(s))break;if(i===`
|
|
`){let o=this.continueScalar(n+1);if(o===-1)break;n=Math.max(n,o-2)}}else{if(e&&bQ.has(i))break;r=n}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield ym.SCALAR,yield*this.pushToIndex(r+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,r){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(r&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(iP))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,r=this.charAt(1);if(rs(r)||e&&bQ.has(r))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let e=this.pos+2,r=this.buffer[e];for(;!rs(r)&&r!==">";)r=this.buffer[++e];return yield*this.pushToIndex(r===">"?e+1:e,!1)}else{let e=this.pos+1,r=this.buffer[e];for(;r;)if(APe.has(r))r=this.buffer[++e];else if(r==="%"&&x8.has(this.buffer[e+1])&&x8.has(this.buffer[e+2]))r=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===`
|
|
`?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
|
|
`?yield*this.pushCount(2):0}*pushSpaces(e){let r=this.pos-1,n;do n=this.buffer[++r];while(n===" "||e&&n===" ");let i=r-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=r),i}*pushUntil(e){let r=this.pos,n=this.buffer[r];for(;!e(n);)n=this.buffer[++r];return yield*this.pushToIndex(r,!1)}};R8.Lexer=sP});var AP=h(v8=>{"use strict";var aP=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let r=0,n=this.lineStarts.length;for(;r<n;){let s=r+n>>1;this.lineStarts[s]<e?r=s+1:n=s}if(this.lineStarts[r]===e)return{line:r+1,col:1};if(r===0)return{line:0,col:e};let i=this.lineStarts[r-1];return{line:r,col:e-i+1}}}};v8.LineCounter=aP});var lP=h(T8=>{"use strict";var lPe=require("node:process"),_8=QQ(),uPe=oP();function VA(t,e){for(let r=0;r<t.length;++r)if(t[r].type===e)return!0;return!1}function D8(t){for(let e=0;e<t.length;++e)switch(t[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function P8(t){switch(t?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function NQ(t){switch(t.type){case"document":return t.start;case"block-map":{let e=t.items[t.items.length-1];return e.sep??e.start}case"block-seq":return t.items[t.items.length-1].start;default:return[]}}function kd(t){if(t.length===0)return[];let e=t.length;e:for(;--e>=0;)switch(t[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;t[++e]?.type==="space";);return t.splice(e,t.length)}function k8(t){if(t.start.type==="flow-seq-start")for(let e of t.items)e.sep&&!e.value&&!VA(e.start,"explicit-key-ind")&&!VA(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,P8(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}var cP=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new uPe.Lexer,this.onNewLine=e}*parse(e,r=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(e,r))yield*this.next(n);r||(yield*this.end())}*next(e){if(this.source=e,lPe.env.LOG_TOKENS&&console.log("|",_8.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let r=_8.tokenType(e);if(r)if(r==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=r,yield*this.step(),r){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let n=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:n,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if(this.type==="doc-end"&&(!e||e.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let r=e??this.stack.pop();if(!r)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield r;else{let n=this.peek(1);switch(r.type==="block-scalar"?r.indent="indent"in n?n.indent:0:r.type==="flow-collection"&&n.type==="document"&&(r.indent=0),r.type==="flow-collection"&&k8(r),n.type){case"document":n.value=r;break;case"block-scalar":n.props.push(r);break;case"block-map":{let i=n.items[n.items.length-1];if(i.value){n.items.push({start:[],key:r,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=r;else{Object.assign(i,{key:r,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{let i=n.items[n.items.length-1];i.value?n.items.push({start:[],value:r}):i.value=r;break}case"flow-collection":{let i=n.items[n.items.length-1];!i||i.value?n.items.push({start:[],key:r,sep:[]}):i.sep?i.value=r:Object.assign(i,{key:r,sep:[]});return}default:yield*this.pop(),yield*this.pop(r)}if((n.type==="document"||n.type==="block-map"||n.type==="block-seq")&&(r.type==="block-map"||r.type==="block-seq")){let i=r.items[r.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&D8(i.start)===-1&&(r.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<r.indent))&&(n.type==="document"?n.end=i.start:n.items.push({start:i.start}),r.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{D8(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let r=this.startBlockValue(e);r?this.stack.push(r):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){let r=NQ(this.peek(2)),n=kd(r),i;e.end?(i=e.end,i.push(this.sourceToken),delete e.end):i=[this.sourceToken];let s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let r=this.source.indexOf(`
|
|
`)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
|
|
`,r)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let r=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,e.indent)){let i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),e.items.pop();return}}r.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,i=n&&(r.sep||r.explicitKey)&&this.type!=="seq-item-ind",s=[];if(i&&r.sep&&!r.value){let o=[];for(let a=0;a<r.sep.length;++a){let A=r.sep[a];switch(A.type){case"newline":o.push(a);break;case"space":break;case"comment":A.indent>e.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(s=r.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":i||r.value?(s.push(this.sourceToken),e.items.push({start:s}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"explicit-key-ind":!r.sep&&!r.explicitKey?(r.start.push(this.sourceToken),r.explicitKey=!0):i||r.value?(s.push(this.sourceToken),e.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(VA(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(P8(r.key)&&!VA(r.sep,"newline")){let o=kd(r.start),a=r.key,A=r.sep;A.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:a,sep:A}]})}else s.length>0?r.sep=r.sep.concat(s,this.sourceToken):r.sep.push(this.sourceToken);else if(VA(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{let o=kd(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||i?e.items.push({start:s,key:null,sep:[this.sourceToken]}):VA(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let o=this.flowScalar(this.type);i||r.value?(e.items.push({start:s,key:o,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(o):(Object.assign(r,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{let o=this.startBlockValue(e);if(o){n&&o.type!=="block-seq"&&e.items.push({start:s}),this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){let i=e.items[e.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,r.start),i.push(this.sourceToken),e.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;r.value||VA(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return}if(this.indent>e.indent){let n=this.startBlockValue(e);if(n){this.stack.push(n);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let r=e.items[e.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n&&n.type==="flow-collection")}else if(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!r||r.sep?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return;case"map-value-ind":!r||r.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!r||r.value?e.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let i=this.flowScalar(this.type);!r||r.value?e.items.push({start:[],key:i,sep:[]}):r.sep?this.stack.push(i):Object.assign(r,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===e.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){let i=NQ(n),s=kd(i);k8(e);let o=e.end.splice(1,e.end.length);o.push(this.sourceToken);let a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let r=this.source.indexOf(`
|
|
`)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
|
|
`,r)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let r=NQ(e),n=kd(r);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let r=NQ(e),n=kd(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,r){return this.type!=="comment"||this.indent<=r?!1:e.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};T8.Parser=cP});var U8=h(Cm=>{"use strict";var O8=$k(),dPe=um(),Em=hm(),fPe=VD(),hPe=He(),gPe=AP(),L8=lP();function M8(t){let e=t.prettyErrors!==!1;return{lineCounter:t.lineCounter||e&&new gPe.LineCounter||null,prettyErrors:e}}function mPe(t,e={}){let{lineCounter:r,prettyErrors:n}=M8(e),i=new L8.Parser(r?.addNewLine),s=new O8.Composer(e),o=Array.from(s.compose(i.parse(t)));if(n&&r)for(let a of o)a.errors.forEach(Em.prettifyError(t,r)),a.warnings.forEach(Em.prettifyError(t,r));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())}function F8(t,e={}){let{lineCounter:r,prettyErrors:n}=M8(e),i=new L8.Parser(r?.addNewLine),s=new O8.Composer(e),o=null;for(let a of s.compose(i.parse(t),!0,t.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new Em.YAMLParseError(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&r&&(o.errors.forEach(Em.prettifyError(t,r)),o.warnings.forEach(Em.prettifyError(t,r))),o}function pPe(t,e,r){let n;typeof e=="function"?n=e:r===void 0&&e&&typeof e=="object"&&(r=e);let i=F8(t,r);if(!i)return null;if(i.warnings.forEach(s=>fPe.warn(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},r))}function yPe(t,e,r){let n=null;if(typeof e=="function"||Array.isArray(e)?n=e:r===void 0&&e&&(r=e),typeof r=="string"&&(r=r.length),typeof r=="number"){let i=Math.round(r);r=i<1?void 0:i>8?{indent:8}:{indent:i}}if(t===void 0){let{keepUndefined:i}=r??e??{};if(!i)return}return hPe.isDocument(t)&&!n?t.toString(r):new dPe.Document(t,n,r).toString(r)}Cm.parse=pPe;Cm.parseAllDocuments=mPe;Cm.parseDocument=F8;Cm.stringify=yPe});var dP=h(tt=>{"use strict";var EPe=$k(),CPe=um(),IPe=vk(),uP=hm(),BPe=Vg(),Ta=He(),QPe=_a(),bPe=sr(),NPe=ka(),wPe=Pa(),SPe=QQ(),xPe=oP(),RPe=AP(),vPe=lP(),wQ=U8(),q8=zg();tt.Composer=EPe.Composer;tt.Document=CPe.Document;tt.Schema=IPe.Schema;tt.YAMLError=uP.YAMLError;tt.YAMLParseError=uP.YAMLParseError;tt.YAMLWarning=uP.YAMLWarning;tt.Alias=BPe.Alias;tt.isAlias=Ta.isAlias;tt.isCollection=Ta.isCollection;tt.isDocument=Ta.isDocument;tt.isMap=Ta.isMap;tt.isNode=Ta.isNode;tt.isPair=Ta.isPair;tt.isScalar=Ta.isScalar;tt.isSeq=Ta.isSeq;tt.Pair=QPe.Pair;tt.Scalar=bPe.Scalar;tt.YAMLMap=NPe.YAMLMap;tt.YAMLSeq=wPe.YAMLSeq;tt.CST=SPe;tt.Lexer=xPe.Lexer;tt.LineCounter=RPe.LineCounter;tt.Parser=vPe.Parser;tt.parse=wQ.parse;tt.parseAllDocuments=wQ.parseAllDocuments;tt.parseDocument=wQ.parseDocument;tt.stringify=wQ.stringify;tt.visit=q8.visit;tt.visitAsync=q8.visitAsync});var Yd=Ct(at());var F$=Ct(BB()),Qd=Ct(at());var P$=Ct(BB()),ki=Ct(at()),T$=Ct(Tf()),O$=Ct(k$()),L$=Ct(require("os"));async function M$(t){let e=await VRe();(0,ki.saveState)("cache_path",e);let r=await(0,O$.hashFiles)(t.cacheDependencyPath);if(!r)throw new Error("Some specified paths were not resolved, unable to cache dependencies.");let n=`pnpm-cache-${process.env.RUNNER_OS}-${L$.default.arch()}-${r}`;(0,ki.debug)(`Primary key is ${n}`),(0,ki.saveState)("cache_primary_key",n);let i=await(0,P$.restoreCache)([e],n);if((0,ki.setOutput)("cache-hit",!!i),!i){(0,ki.info)("Cache is not found");return}(0,ki.saveState)("cache_restored_key",i),(0,ki.info)(`Cache restored from key: ${i}`)}async function VRe(){let{stdout:t}=await(0,T$.getExecOutput)("pnpm store path --silent"),e=t.trim();return(0,ki.debug)(`Cache folder is set to "${e}"`),e}async function WRe(t){if(t.cache){if(!(0,F$.isFeatureAvailable)()){(0,Qd.warning)("Cache is not available, skipping cache restoration");return}(0,Qd.startGroup)("Restoring cache..."),await M$(t),(0,Qd.endGroup)()}}var U$=WRe;var j$=Ct(at());var q$=Ct(BB()),qA=Ct(at());async function H$(){let t=(0,qA.getState)("cache_restored_key"),e=(0,qA.getState)("cache_primary_key"),r=(0,qA.getState)("cache_path");if(e===t){(0,qA.info)(`Cache hit occurred on the primary key ${e}, not saving cache.`);return}await(0,q$.saveCache)([r],e)!=-1&&(0,qA.info)(`Cache saved with the key: ${e}`)}async function $Re(t){if(t.cache)try{await H$()}catch(e){(0,j$.setFailed)(e.message)}}var z$=$Re;var jd=Ct(at()),nX=Ct(Z$());var Hd=Ct(at()),tX=Ct(dP());var je;(function(t){t.assertEqual=i=>i;function e(i){}t.assertIs=e;function r(i){throw new Error}t.assertNever=r,t.arrayToEnum=i=>{let s={};for(let o of i)s[o]=o;return s},t.getValidEnumValues=i=>{let s=t.objectKeys(i).filter(a=>typeof i[i[a]]!="number"),o={};for(let a of s)o[a]=i[a];return t.objectValues(o)},t.objectValues=i=>t.objectKeys(i).map(function(s){return i[s]}),t.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let s=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},t.find=(i,s)=>{for(let o of i)if(s(o))return o},t.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,s=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}t.joinValues=n,t.jsonStringifyReplacer=(i,s)=>typeof s=="bigint"?s.toString():s})(je||(je={}));var hP;(function(t){t.mergeShapes=(e,r)=>({...e,...r})})(hP||(hP={}));var Z=je.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),bo=t=>{switch(typeof t){case"undefined":return Z.undefined;case"string":return Z.string;case"number":return isNaN(t)?Z.nan:Z.number;case"boolean":return Z.boolean;case"function":return Z.function;case"bigint":return Z.bigint;case"symbol":return Z.symbol;case"object":return Array.isArray(t)?Z.array:t===null?Z.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?Z.promise:typeof Map<"u"&&t instanceof Map?Z.map:typeof Set<"u"&&t instanceof Set?Z.set:typeof Date<"u"&&t instanceof Date?Z.date:Z.object;default:return Z.unknown}},O=je.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),_Pe=t=>JSON.stringify(t,null,2).replace(/"([^"]+)":/g,"$1:"),on=class t extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=e}format(e){let r=e||function(s){return s.message},n={_errors:[]},i=s=>{for(let o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let a=n,A=0;for(;A<o.path.length;){let c=o.path[A];A===o.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(r(o))):a[c]=a[c]||{_errors:[]},a=a[c],A++}}};return i(this),n}static assert(e){if(!(e instanceof t))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,je.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=r=>r.message){let r={},n=[];for(let i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}};on.create=t=>new on(t);var Od=(t,e)=>{let r;switch(t.code){case O.invalid_type:t.received===Z.undefined?r="Required":r=`Expected ${t.expected}, received ${t.received}`;break;case O.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(t.expected,je.jsonStringifyReplacer)}`;break;case O.unrecognized_keys:r=`Unrecognized key(s) in object: ${je.joinValues(t.keys,", ")}`;break;case O.invalid_union:r="Invalid input";break;case O.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${je.joinValues(t.options)}`;break;case O.invalid_enum_value:r=`Invalid enum value. Expected ${je.joinValues(t.options)}, received '${t.received}'`;break;case O.invalid_arguments:r="Invalid function arguments";break;case O.invalid_return_type:r="Invalid function return type";break;case O.invalid_date:r="Invalid date";break;case O.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(r=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?r=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?r=`Invalid input: must end with "${t.validation.endsWith}"`:je.assertNever(t.validation):t.validation!=="regex"?r=`Invalid ${t.validation}`:r="Invalid";break;case O.too_small:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:r="Invalid input";break;case O.too_big:t.type==="array"?r=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?r=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?r=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?r=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?r=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:r="Invalid input";break;case O.custom:r="Invalid input";break;case O.invalid_intersection_types:r="Intersection results could not be merged";break;case O.not_multiple_of:r=`Number must be a multiple of ${t.multipleOf}`;break;case O.not_finite:r="Number must be finite";break;default:r=e.defaultError,je.assertNever(t)}return{message:r}},z8=Od;function DPe(t){z8=t}function SQ(){return z8}var xQ=t=>{let{data:e,path:r,errorMaps:n,issueData:i}=t,s=[...r,...i.path||[]],o={...i,path:s};if(i.message!==void 0)return{...i,path:s,message:i.message};let a="",A=n.filter(c=>!!c).slice().reverse();for(let c of A)a=c(o,{data:e,defaultError:a}).message;return{...i,path:s,message:a}},kPe=[];function G(t,e){let r=SQ(),n=xQ({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,r,r===Od?void 0:Od].filter(i=>!!i)});t.common.issues.push(n)}var Vr=class t{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,r){let n=[];for(let i of r){if(i.status==="aborted")return pe;i.status==="dirty"&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,r){let n=[];for(let i of r){let s=await i.key,o=await i.value;n.push({key:s,value:o})}return t.mergeObjectSync(e,n)}static mergeObjectSync(e,r){let n={};for(let i of r){let{key:s,value:o}=i;if(s.status==="aborted"||o.status==="aborted")return pe;s.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[s.value]=o.value)}return{status:e.value,value:n}}},pe=Object.freeze({status:"aborted"}),Td=t=>({status:"dirty",value:t}),an=t=>({status:"valid",value:t}),gP=t=>t.status==="aborted",mP=t=>t.status==="dirty",WA=t=>t.status==="valid",Qm=t=>typeof Promise<"u"&&t instanceof Promise;function RQ(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function G8(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}var ne;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(ne||(ne={}));var Im,Bm,Oi=class{constructor(e,r,n,i){this._cachedPath=[],this.parent=e,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},H8=(t,e)=>{if(WA(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let r=new on(t.common.issues);return this._error=r,this._error}}};function Be(t){if(!t)return{};let{errorMap:e,invalid_type_error:r,required_error:n,description:i}=t;if(e&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:i}:{errorMap:(o,a)=>{var A,c;let{message:l}=t;return o.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:(A=l??n)!==null&&A!==void 0?A:a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:(c=l??r)!==null&&c!==void 0?c:a.defaultError}},description:i}}var Qe=class{get description(){return this._def.description}_getType(e){return bo(e.data)}_getOrReturnCtx(e,r){return r||{common:e.parent.common,data:e.data,parsedType:bo(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Vr,ctx:{common:e.parent.common,data:e.data,parsedType:bo(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let r=this._parse(e);if(Qm(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(e){let r=this._parse(e);return Promise.resolve(r)}parse(e,r){let n=this.safeParse(e,r);if(n.success)return n.data;throw n.error}safeParse(e,r){var n;let i={common:{issues:[],async:(n=r?.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r?.errorMap},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:bo(e)},s=this._parseSync({data:e,path:i.path,parent:i});return H8(i,s)}"~validate"(e){var r,n;let i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:bo(e)};if(!this["~standard"].async)try{let s=this._parseSync({data:e,path:[],parent:i});return WA(s)?{value:s.value}:{issues:i.common.issues}}catch(s){!((n=(r=s?.message)===null||r===void 0?void 0:r.toLowerCase())===null||n===void 0)&&n.includes("encountered")&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:i}).then(s=>WA(s)?{value:s.value}:{issues:i.common.issues})}async parseAsync(e,r){let n=await this.safeParseAsync(e,r);if(n.success)return n.data;throw n.error}async safeParseAsync(e,r){let n={common:{issues:[],contextualErrorMap:r?.errorMap,async:!0},path:r?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:bo(e)},i=this._parse({data:e,path:n.path,parent:n}),s=await(Qm(i)?i:Promise.resolve(i));return H8(n,s)}refine(e,r){let n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,s)=>{let o=e(i),a=()=>s.addIssue({code:O.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(A=>A?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(e,r){return this._refinement((n,i)=>e(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(e){return new ei({schema:this,typeName:ge.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return Ti.create(this,this._def)}nullable(){return Ms.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return wo.create(this)}promise(){return Ma.create(this,this._def)}or(e){return rc.create([this,e],this._def)}and(e){return nc.create(this,e,this._def)}transform(e){return new ei({...Be(this._def),schema:this,typeName:ge.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let r=typeof e=="function"?e:()=>e;return new Ac({...Be(this._def),innerType:this,defaultValue:r,typeName:ge.ZodDefault})}brand(){return new bm({typeName:ge.ZodBranded,type:this,...Be(this._def)})}catch(e){let r=typeof e=="function"?e:()=>e;return new cc({...Be(this._def),innerType:this,catchValue:r,typeName:ge.ZodCatch})}describe(e){let r=this.constructor;return new r({...this._def,description:e})}pipe(e){return Nm.create(this,e)}readonly(){return lc.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},PPe=/^c[^\s-]{8,}$/i,TPe=/^[0-9a-z]+$/,OPe=/^[0-9A-HJKMNP-TV-Z]{26}$/i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]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,JPe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,VPe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Y8="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",WPe=new RegExp(`^${Y8}$`);function J8(t){let e="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`),e}function $Pe(t){return new RegExp(`^${J8(t)}$`)}function V8(t){let e=`${Y8}T${J8(t)}`,r=[];return r.push(t.local?"Z?":"Z"),t.offset&&r.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${r.join("|")})`,new RegExp(`^${e}$`)}function KPe(t,e){return!!((e==="v4"||!e)&&jPe.test(t)||(e==="v6"||!e)&&GPe.test(t))}function XPe(t,e){if(!FPe.test(t))return!1;try{let[r]=t.split("."),n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));return!(typeof i!="object"||i===null||!i.typ||!i.alg||e&&i.alg!==e)}catch{return!1}}function ZPe(t,e){return!!((e==="v4"||!e)&&zPe.test(t)||(e==="v6"||!e)&&YPe.test(t))}var Oa=class t extends Qe{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Z.string){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_type,expected:Z.string,received:s.parsedType}),pe}let n=new Vr,i;for(let s of this._def.checks)if(s.kind==="min")e.data.length<s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="max")e.data.length>s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),n.dirty());else if(s.kind==="length"){let o=e.data.length>s.value,a=e.data.length<s.value;(o||a)&&(i=this._getOrReturnCtx(e,i),o?G(i,{code:O.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):a&&G(i,{code:O.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),n.dirty())}else if(s.kind==="email")qPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"email",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="emoji")fP||(fP=new RegExp(HPe,"u")),fP.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"emoji",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="uuid")LPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"uuid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="nanoid")MPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"nanoid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid")PPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"cuid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="cuid2")TPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"cuid2",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="ulid")OPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"ulid",code:O.invalid_string,message:s.message}),n.dirty());else if(s.kind==="url")try{new URL(e.data)}catch{i=this._getOrReturnCtx(e,i),G(i,{validation:"url",code:O.invalid_string,message:s.message}),n.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"regex",code:O.invalid_string,message:s.message}),n.dirty())):s.kind==="trim"?e.data=e.data.trim():s.kind==="includes"?e.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),n.dirty()):s.kind==="toLowerCase"?e.data=e.data.toLowerCase():s.kind==="toUpperCase"?e.data=e.data.toUpperCase():s.kind==="startsWith"?e.data.startsWith(s.value)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:{startsWith:s.value},message:s.message}),n.dirty()):s.kind==="endsWith"?e.data.endsWith(s.value)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:{endsWith:s.value},message:s.message}),n.dirty()):s.kind==="datetime"?V8(s).test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:"datetime",message:s.message}),n.dirty()):s.kind==="date"?WPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:"date",message:s.message}),n.dirty()):s.kind==="time"?$Pe(s).test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{code:O.invalid_string,validation:"time",message:s.message}),n.dirty()):s.kind==="duration"?UPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"duration",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="ip"?KPe(e.data,s.version)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"ip",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="jwt"?XPe(e.data,s.alg)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"jwt",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="cidr"?ZPe(e.data,s.version)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"cidr",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="base64"?JPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"base64",code:O.invalid_string,message:s.message}),n.dirty()):s.kind==="base64url"?VPe.test(e.data)||(i=this._getOrReturnCtx(e,i),G(i,{validation:"base64url",code:O.invalid_string,message:s.message}),n.dirty()):je.assertNever(s);return{status:n.value,value:e.data}}_regex(e,r,n){return this.refinement(i=>e.test(i),{validation:r,code:O.invalid_string,...ne.errToObj(n)})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...ne.errToObj(e)})}url(e){return this._addCheck({kind:"url",...ne.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...ne.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...ne.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...ne.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...ne.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...ne.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...ne.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...ne.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...ne.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...ne.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...ne.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...ne.errToObj(e)})}datetime(e){var r,n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(r=e?.offset)!==null&&r!==void 0?r:!1,local:(n=e?.local)!==null&&n!==void 0?n:!1,...ne.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...ne.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...ne.errToObj(e)})}regex(e,r){return this._addCheck({kind:"regex",regex:e,...ne.errToObj(r)})}includes(e,r){return this._addCheck({kind:"includes",value:e,position:r?.position,...ne.errToObj(r?.message)})}startsWith(e,r){return this._addCheck({kind:"startsWith",value:e,...ne.errToObj(r)})}endsWith(e,r){return this._addCheck({kind:"endsWith",value:e,...ne.errToObj(r)})}min(e,r){return this._addCheck({kind:"min",value:e,...ne.errToObj(r)})}max(e,r){return this._addCheck({kind:"max",value:e,...ne.errToObj(r)})}length(e,r){return this._addCheck({kind:"length",value:e,...ne.errToObj(r)})}nonempty(e){return this.min(1,ne.errToObj(e))}trim(){return new t({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new t({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxLength(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}};Oa.create=t=>{var e;return new Oa({checks:[],typeName:ge.ZodString,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...Be(t)})};function eTe(t,e){let r=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,i=r>n?r:n,s=parseInt(t.toFixed(i).replace(".","")),o=parseInt(e.toFixed(i).replace(".",""));return s%o/Math.pow(10,i)}var $A=class t extends Qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Z.number){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_type,expected:Z.number,received:s.parsedType}),pe}let n,i=new Vr;for(let s of this._def.checks)s.kind==="int"?je.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),G(n,{code:O.invalid_type,expected:"integer",received:"float",message:s.message}),i.dirty()):s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="multipleOf"?eTe(e.data,s.value)!==0&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),G(n,{code:O.not_finite,message:s.message}),i.dirty()):je.assertNever(s);return{status:i.value,value:e.data}}gte(e,r){return this.setLimit("min",e,!0,ne.toString(r))}gt(e,r){return this.setLimit("min",e,!1,ne.toString(r))}lte(e,r){return this.setLimit("max",e,!0,ne.toString(r))}lt(e,r){return this.setLimit("max",e,!1,ne.toString(r))}setLimit(e,r,n,i){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:ne.toString(i)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:ne.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ne.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ne.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ne.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ne.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:ne.toString(r)})}finite(e){return this._addCheck({kind:"finite",message:ne.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ne.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ne.toString(e)})}get minValue(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&je.isInteger(e.value))}get isFinite(){let e=null,r=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(e===null||n.value<e)&&(e=n.value)}return Number.isFinite(r)&&Number.isFinite(e)}};$A.create=t=>new $A({checks:[],typeName:ge.ZodNumber,coerce:t?.coerce||!1,...Be(t)});var KA=class t extends Qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==Z.bigint)return this._getInvalidInput(e);let n,i=new Vr;for(let s of this._def.checks)s.kind==="min"?(s.inclusive?e.data<s.value:e.data<=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?e.data>s.value:e.data>=s.value)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),G(n,{code:O.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):je.assertNever(s);return{status:i.value,value:e.data}}_getInvalidInput(e){let r=this._getOrReturnCtx(e);return G(r,{code:O.invalid_type,expected:Z.bigint,received:r.parsedType}),pe}gte(e,r){return this.setLimit("min",e,!0,ne.toString(r))}gt(e,r){return this.setLimit("min",e,!1,ne.toString(r))}lte(e,r){return this.setLimit("max",e,!0,ne.toString(r))}lt(e,r){return this.setLimit("max",e,!1,ne.toString(r))}setLimit(e,r,n,i){return new t({...this._def,checks:[...this._def.checks,{kind:e,value:r,inclusive:n,message:ne.toString(i)}]})}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ne.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ne.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ne.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ne.toString(e)})}multipleOf(e,r){return this._addCheck({kind:"multipleOf",value:e,message:ne.toString(r)})}get minValue(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e}get maxValue(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e}};KA.create=t=>{var e;return new KA({checks:[],typeName:ge.ZodBigInt,coerce:(e=t?.coerce)!==null&&e!==void 0?e:!1,...Be(t)})};var XA=class extends Qe{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Z.boolean){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.boolean,received:n.parsedType}),pe}return an(e.data)}};XA.create=t=>new XA({typeName:ge.ZodBoolean,coerce:t?.coerce||!1,...Be(t)});var ZA=class t extends Qe{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Z.date){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_type,expected:Z.date,received:s.parsedType}),pe}if(isNaN(e.data.getTime())){let s=this._getOrReturnCtx(e);return G(s,{code:O.invalid_date}),pe}let n=new Vr,i;for(let s of this._def.checks)s.kind==="min"?e.data.getTime()<s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),n.dirty()):s.kind==="max"?e.data.getTime()>s.value&&(i=this._getOrReturnCtx(e,i),G(i,{code:O.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),n.dirty()):je.assertNever(s);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new t({...this._def,checks:[...this._def.checks,e]})}min(e,r){return this._addCheck({kind:"min",value:e.getTime(),message:ne.toString(r)})}max(e,r){return this._addCheck({kind:"max",value:e.getTime(),message:ne.toString(r)})}get minDate(){let e=null;for(let r of this._def.checks)r.kind==="min"&&(e===null||r.value>e)&&(e=r.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let r of this._def.checks)r.kind==="max"&&(e===null||r.value<e)&&(e=r.value);return e!=null?new Date(e):null}};ZA.create=t=>new ZA({checks:[],coerce:t?.coerce||!1,typeName:ge.ZodDate,...Be(t)});var Ld=class extends Qe{_parse(e){if(this._getType(e)!==Z.symbol){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.symbol,received:n.parsedType}),pe}return an(e.data)}};Ld.create=t=>new Ld({typeName:ge.ZodSymbol,...Be(t)});var ec=class extends Qe{_parse(e){if(this._getType(e)!==Z.undefined){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.undefined,received:n.parsedType}),pe}return an(e.data)}};ec.create=t=>new ec({typeName:ge.ZodUndefined,...Be(t)});var tc=class extends Qe{_parse(e){if(this._getType(e)!==Z.null){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.null,received:n.parsedType}),pe}return an(e.data)}};tc.create=t=>new tc({typeName:ge.ZodNull,...Be(t)});var La=class extends Qe{constructor(){super(...arguments),this._any=!0}_parse(e){return an(e.data)}};La.create=t=>new La({typeName:ge.ZodAny,...Be(t)});var No=class extends Qe{constructor(){super(...arguments),this._unknown=!0}_parse(e){return an(e.data)}};No.create=t=>new No({typeName:ge.ZodUnknown,...Be(t)});var ns=class extends Qe{_parse(e){let r=this._getOrReturnCtx(e);return G(r,{code:O.invalid_type,expected:Z.never,received:r.parsedType}),pe}};ns.create=t=>new ns({typeName:ge.ZodNever,...Be(t)});var Md=class extends Qe{_parse(e){if(this._getType(e)!==Z.undefined){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.void,received:n.parsedType}),pe}return an(e.data)}};Md.create=t=>new Md({typeName:ge.ZodVoid,...Be(t)});var wo=class t extends Qe{_parse(e){let{ctx:r,status:n}=this._processInputParams(e),i=this._def;if(r.parsedType!==Z.array)return G(r,{code:O.invalid_type,expected:Z.array,received:r.parsedType}),pe;if(i.exactLength!==null){let o=r.data.length>i.exactLength.value,a=r.data.length<i.exactLength.value;(o||a)&&(G(r,{code:o?O.too_big:O.too_small,minimum:a?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(G(r,{code:O.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(G(r,{code:O.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,a)=>i.type._parseAsync(new Oi(r,o,r.path,a)))).then(o=>Vr.mergeArray(n,o));let s=[...r.data].map((o,a)=>i.type._parseSync(new Oi(r,o,r.path,a)));return Vr.mergeArray(n,s)}get element(){return this._def.type}min(e,r){return new t({...this._def,minLength:{value:e,message:ne.toString(r)}})}max(e,r){return new t({...this._def,maxLength:{value:e,message:ne.toString(r)}})}length(e,r){return new t({...this._def,exactLength:{value:e,message:ne.toString(r)}})}nonempty(e){return this.min(1,e)}};wo.create=(t,e)=>new wo({type:t,minLength:null,maxLength:null,exactLength:null,typeName:ge.ZodArray,...Be(e)});function Pd(t){if(t instanceof On){let e={};for(let r in t.shape){let n=t.shape[r];e[r]=Ti.create(Pd(n))}return new On({...t._def,shape:()=>e})}else return t instanceof wo?new wo({...t._def,type:Pd(t.element)}):t instanceof Ti?Ti.create(Pd(t.unwrap())):t instanceof Ms?Ms.create(Pd(t.unwrap())):t instanceof Ls?Ls.create(t.items.map(e=>Pd(e))):t}var On=class t extends Qe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),r=je.objectKeys(e);return this._cached={shape:e,keys:r}}_parse(e){if(this._getType(e)!==Z.object){let c=this._getOrReturnCtx(e);return G(c,{code:O.invalid_type,expected:Z.object,received:c.parsedType}),pe}let{status:n,ctx:i}=this._processInputParams(e),{shape:s,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof ns&&this._def.unknownKeys==="strip"))for(let c in i.data)o.includes(c)||a.push(c);let A=[];for(let c of o){let l=s[c],u=i.data[c];A.push({key:{status:"valid",value:c},value:l._parse(new Oi(i,u,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof ns){let c=this._def.unknownKeys;if(c==="passthrough")for(let l of a)A.push({key:{status:"valid",value:l},value:{status:"valid",value:i.data[l]}});else if(c==="strict")a.length>0&&(G(i,{code:O.unrecognized_keys,keys:a}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let l of a){let u=i.data[l];A.push({key:{status:"valid",value:l},value:c._parse(new Oi(i,u,i.path,l)),alwaysSet:l in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let c=[];for(let l of A){let u=await l.key,d=await l.value;c.push({key:u,value:d,alwaysSet:l.alwaysSet})}return c}).then(c=>Vr.mergeObjectSync(n,c)):Vr.mergeObjectSync(n,A)}get shape(){return this._def.shape()}strict(e){return ne.errToObj,new t({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(r,n)=>{var i,s,o,a;let A=(o=(s=(i=this._def).errorMap)===null||s===void 0?void 0:s.call(i,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code==="unrecognized_keys"?{message:(a=ne.errToObj(e).message)!==null&&a!==void 0?a:A}:{message:A}}}:{}})}strip(){return new t({...this._def,unknownKeys:"strip"})}passthrough(){return new t({...this._def,unknownKeys:"passthrough"})}extend(e){return new t({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new t({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ge.ZodObject})}setKey(e,r){return this.augment({[e]:r})}catchall(e){return new t({...this._def,catchall:e})}pick(e){let r={};return je.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new t({...this._def,shape:()=>r})}omit(e){let r={};return je.objectKeys(this.shape).forEach(n=>{e[n]||(r[n]=this.shape[n])}),new t({...this._def,shape:()=>r})}deepPartial(){return Pd(this)}partial(e){let r={};return je.objectKeys(this.shape).forEach(n=>{let i=this.shape[n];e&&!e[n]?r[n]=i:r[n]=i.optional()}),new t({...this._def,shape:()=>r})}required(e){let r={};return je.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])r[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof Ti;)s=s._def.innerType;r[n]=s}}),new t({...this._def,shape:()=>r})}keyof(){return W8(je.objectKeys(this.shape))}};On.create=(t,e)=>new On({shape:()=>t,unknownKeys:"strip",catchall:ns.create(),typeName:ge.ZodObject,...Be(e)});On.strictCreate=(t,e)=>new On({shape:()=>t,unknownKeys:"strict",catchall:ns.create(),typeName:ge.ZodObject,...Be(e)});On.lazycreate=(t,e)=>new On({shape:t,unknownKeys:"strip",catchall:ns.create(),typeName:ge.ZodObject,...Be(e)});var rc=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n=this._def.options;function i(s){for(let a of s)if(a.result.status==="valid")return a.result;for(let a of s)if(a.result.status==="dirty")return r.common.issues.push(...a.ctx.common.issues),a.result;let o=s.map(a=>new on(a.ctx.common.issues));return G(r,{code:O.invalid_union,unionErrors:o}),pe}if(r.common.async)return Promise.all(n.map(async s=>{let o={...r,common:{...r.common,issues:[]},parent:null};return{result:await s._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(i);{let s,o=[];for(let A of n){let c={...r,common:{...r.common,issues:[]},parent:null},l=A._parseSync({data:r.data,path:r.path,parent:c});if(l.status==="valid")return l;l.status==="dirty"&&!s&&(s={result:l,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(s)return r.common.issues.push(...s.ctx.common.issues),s.result;let a=o.map(A=>new on(A));return G(r,{code:O.invalid_union,unionErrors:a}),pe}}get options(){return this._def.options}};rc.create=(t,e)=>new rc({options:t,typeName:ge.ZodUnion,...Be(e)});var Qo=t=>t instanceof ic?Qo(t.schema):t instanceof ei?Qo(t.innerType()):t instanceof sc?[t.value]:t instanceof oc?t.options:t instanceof ac?je.objectValues(t.enum):t instanceof Ac?Qo(t._def.innerType):t instanceof ec?[void 0]:t instanceof tc?[null]:t instanceof Ti?[void 0,...Qo(t.unwrap())]:t instanceof Ms?[null,...Qo(t.unwrap())]:t instanceof bm||t instanceof lc?Qo(t.unwrap()):t instanceof cc?Qo(t._def.innerType):[],vQ=class t extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==Z.object)return G(r,{code:O.invalid_type,expected:Z.object,received:r.parsedType}),pe;let n=this.discriminator,i=r.data[n],s=this.optionsMap.get(i);return s?r.common.async?s._parseAsync({data:r.data,path:r.path,parent:r}):s._parseSync({data:r.data,path:r.path,parent:r}):(G(r,{code:O.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),pe)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,r,n){let i=new Map;for(let s of r){let o=Qo(s.shape[e]);if(!o.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let a of o){if(i.has(a))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);i.set(a,s)}}return new t({typeName:ge.ZodDiscriminatedUnion,discriminator:e,options:r,optionsMap:i,...Be(n)})}};function pP(t,e){let r=bo(t),n=bo(e);if(t===e)return{valid:!0,data:t};if(r===Z.object&&n===Z.object){let i=je.objectKeys(e),s=je.objectKeys(t).filter(a=>i.indexOf(a)!==-1),o={...t,...e};for(let a of s){let A=pP(t[a],e[a]);if(!A.valid)return{valid:!1};o[a]=A.data}return{valid:!0,data:o}}else if(r===Z.array&&n===Z.array){if(t.length!==e.length)return{valid:!1};let i=[];for(let s=0;s<t.length;s++){let o=t[s],a=e[s],A=pP(o,a);if(!A.valid)return{valid:!1};i.push(A.data)}return{valid:!0,data:i}}else return r===Z.date&&n===Z.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}var nc=class extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e),i=(s,o)=>{if(gP(s)||gP(o))return pe;let a=pP(s.value,o.value);return a.valid?((mP(s)||mP(o))&&r.dirty(),{status:r.value,value:a.data}):(G(n,{code:O.invalid_intersection_types}),pe)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};nc.create=(t,e,r)=>new nc({left:t,right:e,typeName:ge.ZodIntersection,...Be(r)});var Ls=class t extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.array)return G(n,{code:O.invalid_type,expected:Z.array,received:n.parsedType}),pe;if(n.data.length<this._def.items.length)return G(n,{code:O.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),pe;!this._def.rest&&n.data.length>this._def.items.length&&(G(n,{code:O.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());let s=[...n.data].map((o,a)=>{let A=this._def.items[a]||this._def.rest;return A?A._parse(new Oi(n,o,n.path,a)):null}).filter(o=>!!o);return n.common.async?Promise.all(s).then(o=>Vr.mergeArray(r,o)):Vr.mergeArray(r,s)}get items(){return this._def.items}rest(e){return new t({...this._def,rest:e})}};Ls.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Ls({items:t,typeName:ge.ZodTuple,rest:null,...Be(e)})};var _Q=class t extends Qe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.object)return G(n,{code:O.invalid_type,expected:Z.object,received:n.parsedType}),pe;let i=[],s=this._def.keyType,o=this._def.valueType;for(let a in n.data)i.push({key:s._parse(new Oi(n,a,n.path,a)),value:o._parse(new Oi(n,n.data[a],n.path,a)),alwaysSet:a in n.data});return n.common.async?Vr.mergeObjectAsync(r,i):Vr.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(e,r,n){return r instanceof Qe?new t({keyType:e,valueType:r,typeName:ge.ZodRecord,...Be(n)}):new t({keyType:Oa.create(),valueType:e,typeName:ge.ZodRecord,...Be(r)})}},Fd=class extends Qe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.map)return G(n,{code:O.invalid_type,expected:Z.map,received:n.parsedType}),pe;let i=this._def.keyType,s=this._def.valueType,o=[...n.data.entries()].map(([a,A],c)=>({key:i._parse(new Oi(n,a,n.path,[c,"key"])),value:s._parse(new Oi(n,A,n.path,[c,"value"]))}));if(n.common.async){let a=new Map;return Promise.resolve().then(async()=>{for(let A of o){let c=await A.key,l=await A.value;if(c.status==="aborted"||l.status==="aborted")return pe;(c.status==="dirty"||l.status==="dirty")&&r.dirty(),a.set(c.value,l.value)}return{status:r.value,value:a}})}else{let a=new Map;for(let A of o){let c=A.key,l=A.value;if(c.status==="aborted"||l.status==="aborted")return pe;(c.status==="dirty"||l.status==="dirty")&&r.dirty(),a.set(c.value,l.value)}return{status:r.value,value:a}}}};Fd.create=(t,e,r)=>new Fd({valueType:e,keyType:t,typeName:ge.ZodMap,...Be(r)});var Ud=class t extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.parsedType!==Z.set)return G(n,{code:O.invalid_type,expected:Z.set,received:n.parsedType}),pe;let i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(G(n,{code:O.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(G(n,{code:O.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());let s=this._def.valueType;function o(A){let c=new Set;for(let l of A){if(l.status==="aborted")return pe;l.status==="dirty"&&r.dirty(),c.add(l.value)}return{status:r.value,value:c}}let a=[...n.data.values()].map((A,c)=>s._parse(new Oi(n,A,n.path,c)));return n.common.async?Promise.all(a).then(A=>o(A)):o(a)}min(e,r){return new t({...this._def,minSize:{value:e,message:ne.toString(r)}})}max(e,r){return new t({...this._def,maxSize:{value:e,message:ne.toString(r)}})}size(e,r){return this.min(e,r).max(e,r)}nonempty(e){return this.min(1,e)}};Ud.create=(t,e)=>new Ud({valueType:t,minSize:null,maxSize:null,typeName:ge.ZodSet,...Be(e)});var DQ=class t extends Qe{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==Z.function)return G(r,{code:O.invalid_type,expected:Z.function,received:r.parsedType}),pe;function n(a,A){return xQ({data:a,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,SQ(),Od].filter(c=>!!c),issueData:{code:O.invalid_arguments,argumentsError:A}})}function i(a,A){return xQ({data:a,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,SQ(),Od].filter(c=>!!c),issueData:{code:O.invalid_return_type,returnTypeError:A}})}let s={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof Ma){let a=this;return an(async function(...A){let c=new on([]),l=await a._def.args.parseAsync(A,s).catch(f=>{throw c.addIssue(n(A,f)),c}),u=await Reflect.apply(o,this,l);return await a._def.returns._def.type.parseAsync(u,s).catch(f=>{throw c.addIssue(i(u,f)),c})})}else{let a=this;return an(function(...A){let c=a._def.args.safeParse(A,s);if(!c.success)throw new on([n(A,c.error)]);let l=Reflect.apply(o,this,c.data),u=a._def.returns.safeParse(l,s);if(!u.success)throw new on([i(l,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new t({...this._def,args:Ls.create(e).rest(No.create())})}returns(e){return new t({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,r,n){return new t({args:e||Ls.create([]).rest(No.create()),returns:r||No.create(),typeName:ge.ZodFunction,...Be(n)})}},ic=class extends Qe{get schema(){return this._def.getter()}_parse(e){let{ctx:r}=this._processInputParams(e);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}};ic.create=(t,e)=>new ic({getter:t,typeName:ge.ZodLazy,...Be(e)});var sc=class extends Qe{_parse(e){if(e.data!==this._def.value){let r=this._getOrReturnCtx(e);return G(r,{received:r.data,code:O.invalid_literal,expected:this._def.value}),pe}return{status:"valid",value:e.data}}get value(){return this._def.value}};sc.create=(t,e)=>new sc({value:t,typeName:ge.ZodLiteral,...Be(e)});function W8(t,e){return new oc({values:t,typeName:ge.ZodEnum,...Be(e)})}var oc=class t extends Qe{constructor(){super(...arguments),Im.set(this,void 0)}_parse(e){if(typeof e.data!="string"){let r=this._getOrReturnCtx(e),n=this._def.values;return G(r,{expected:je.joinValues(n),received:r.parsedType,code:O.invalid_type}),pe}if(RQ(this,Im,"f")||G8(this,Im,new Set(this._def.values),"f"),!RQ(this,Im,"f").has(e.data)){let r=this._getOrReturnCtx(e),n=this._def.values;return G(r,{received:r.data,code:O.invalid_enum_value,options:n}),pe}return an(e.data)}get options(){return this._def.values}get enum(){let e={};for(let r of this._def.values)e[r]=r;return e}get Values(){let e={};for(let r of this._def.values)e[r]=r;return e}get Enum(){let e={};for(let r of this._def.values)e[r]=r;return e}extract(e,r=this._def){return t.create(e,{...this._def,...r})}exclude(e,r=this._def){return t.create(this.options.filter(n=>!e.includes(n)),{...this._def,...r})}};Im=new WeakMap;oc.create=W8;var ac=class extends Qe{constructor(){super(...arguments),Bm.set(this,void 0)}_parse(e){let r=je.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==Z.string&&n.parsedType!==Z.number){let i=je.objectValues(r);return G(n,{expected:je.joinValues(i),received:n.parsedType,code:O.invalid_type}),pe}if(RQ(this,Bm,"f")||G8(this,Bm,new Set(je.getValidEnumValues(this._def.values)),"f"),!RQ(this,Bm,"f").has(e.data)){let i=je.objectValues(r);return G(n,{received:n.data,code:O.invalid_enum_value,options:i}),pe}return an(e.data)}get enum(){return this._def.values}};Bm=new WeakMap;ac.create=(t,e)=>new ac({values:t,typeName:ge.ZodNativeEnum,...Be(e)});var Ma=class extends Qe{unwrap(){return this._def.type}_parse(e){let{ctx:r}=this._processInputParams(e);if(r.parsedType!==Z.promise&&r.common.async===!1)return G(r,{code:O.invalid_type,expected:Z.promise,received:r.parsedType}),pe;let n=r.parsedType===Z.promise?r.data:Promise.resolve(r.data);return an(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}};Ma.create=(t,e)=>new Ma({type:t,typeName:ge.ZodPromise,...Be(e)});var ei=class extends Qe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ge.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:r,ctx:n}=this._processInputParams(e),i=this._def.effect||null,s={addIssue:o=>{G(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(s.addIssue=s.addIssue.bind(s),i.type==="preprocess"){let o=i.transform(n.data,s);if(n.common.async)return Promise.resolve(o).then(async a=>{if(r.value==="aborted")return pe;let A=await this._def.schema._parseAsync({data:a,path:n.path,parent:n});return A.status==="aborted"?pe:A.status==="dirty"||r.value==="dirty"?Td(A.value):A});{if(r.value==="aborted")return pe;let a=this._def.schema._parseSync({data:o,path:n.path,parent:n});return a.status==="aborted"?pe:a.status==="dirty"||r.value==="dirty"?Td(a.value):a}}if(i.type==="refinement"){let o=a=>{let A=i.refinement(a,s);if(n.common.async)return Promise.resolve(A);if(A instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(n.common.async===!1){let a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?pe:(a.status==="dirty"&&r.dirty(),o(a.value),{status:r.value,value:a.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>a.status==="aborted"?pe:(a.status==="dirty"&&r.dirty(),o(a.value).then(()=>({status:r.value,value:a.value}))))}if(i.type==="transform")if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!WA(o))return o;let a=i.transform(o.value,s);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>WA(o)?Promise.resolve(i.transform(o.value,s)).then(a=>({status:r.value,value:a})):o);je.assertNever(i)}};ei.create=(t,e,r)=>new ei({schema:t,typeName:ge.ZodEffects,effect:e,...Be(r)});ei.createWithPreprocess=(t,e,r)=>new ei({schema:e,effect:{type:"preprocess",transform:t},typeName:ge.ZodEffects,...Be(r)});var Ti=class extends Qe{_parse(e){return this._getType(e)===Z.undefined?an(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Ti.create=(t,e)=>new Ti({innerType:t,typeName:ge.ZodOptional,...Be(e)});var Ms=class extends Qe{_parse(e){return this._getType(e)===Z.null?an(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Ms.create=(t,e)=>new Ms({innerType:t,typeName:ge.ZodNullable,...Be(e)});var Ac=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n=r.data;return r.parsedType===Z.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}};Ac.create=(t,e)=>new Ac({innerType:t,typeName:ge.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Be(e)});var cc=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Qm(i)?i.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new on(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new on(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};cc.create=(t,e)=>new cc({innerType:t,typeName:ge.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Be(e)});var qd=class extends Qe{_parse(e){if(this._getType(e)!==Z.nan){let n=this._getOrReturnCtx(e);return G(n,{code:O.invalid_type,expected:Z.nan,received:n.parsedType}),pe}return{status:"valid",value:e.data}}};qd.create=t=>new qd({typeName:ge.ZodNaN,...Be(t)});var tTe=Symbol("zod_brand"),bm=class extends Qe{_parse(e){let{ctx:r}=this._processInputParams(e),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}},Nm=class t extends Qe{_parse(e){let{status:r,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?pe:s.status==="dirty"?(r.dirty(),Td(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{let i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?pe:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(e,r){return new t({in:e,out:r,typeName:ge.ZodPipeline})}},lc=class extends Qe{_parse(e){let r=this._def.innerType._parse(e),n=i=>(WA(i)&&(i.value=Object.freeze(i.value)),i);return Qm(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}};lc.create=(t,e)=>new lc({innerType:t,typeName:ge.ZodReadonly,...Be(e)});function $8(t,e={},r){return t?La.create().superRefine((n,i)=>{var s,o;if(!t(n)){let a=typeof e=="function"?e(n):typeof e=="string"?{message:e}:e,A=(o=(s=a.fatal)!==null&&s!==void 0?s:r)!==null&&o!==void 0?o:!0,c=typeof a=="string"?{message:a}:a;i.addIssue({code:"custom",...c,fatal:A})}}):La.create()}var rTe={object:On.lazycreate},ge;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(ge||(ge={}));var nTe=(t,e={message:`Input not instance of ${t.name}`})=>$8(r=>r instanceof t,e),K8=Oa.create,X8=$A.create,iTe=qd.create,sTe=KA.create,Z8=XA.create,oTe=ZA.create,aTe=Ld.create,ATe=ec.create,cTe=tc.create,lTe=La.create,uTe=No.create,dTe=ns.create,fTe=Md.create,hTe=wo.create,gTe=On.create,mTe=On.strictCreate,pTe=rc.create,yTe=vQ.create,ETe=nc.create,CTe=Ls.create,ITe=_Q.create,BTe=Fd.create,QTe=Ud.create,bTe=DQ.create,NTe=ic.create,wTe=sc.create,STe=oc.create,xTe=ac.create,RTe=Ma.create,j8=ei.create,vTe=Ti.create,_Te=Ms.create,DTe=ei.createWithPreprocess,kTe=Nm.create,PTe=()=>K8().optional(),TTe=()=>X8().optional(),OTe=()=>Z8().optional(),LTe={string:(t=>Oa.create({...t,coerce:!0})),number:(t=>$A.create({...t,coerce:!0})),boolean:(t=>XA.create({...t,coerce:!0})),bigint:(t=>KA.create({...t,coerce:!0})),date:(t=>ZA.create({...t,coerce:!0}))},MTe=pe,Fs=Object.freeze({__proto__:null,defaultErrorMap:Od,setErrorMap:DPe,getErrorMap:SQ,makeIssue:xQ,EMPTY_PATH:kPe,addIssueToContext:G,ParseStatus:Vr,INVALID:pe,DIRTY:Td,OK:an,isAborted:gP,isDirty:mP,isValid:WA,isAsync:Qm,get util(){return je},get objectUtil(){return hP},ZodParsedType:Z,getParsedType:bo,ZodType:Qe,datetimeRegex:V8,ZodString:Oa,ZodNumber:$A,ZodBigInt:KA,ZodBoolean:XA,ZodDate:ZA,ZodSymbol:Ld,ZodUndefined:ec,ZodNull:tc,ZodAny:La,ZodUnknown:No,ZodNever:ns,ZodVoid:Md,ZodArray:wo,ZodObject:On,ZodUnion:rc,ZodDiscriminatedUnion:vQ,ZodIntersection:nc,ZodTuple:Ls,ZodRecord:_Q,ZodMap:Fd,ZodSet:Ud,ZodFunction:DQ,ZodLazy:ic,ZodLiteral:sc,ZodEnum:oc,ZodNativeEnum:ac,ZodPromise:Ma,ZodEffects:ei,ZodTransformer:ei,ZodOptional:Ti,ZodNullable:Ms,ZodDefault:Ac,ZodCatch:cc,ZodNaN:qd,BRAND:tTe,ZodBranded:bm,ZodPipeline:Nm,ZodReadonly:lc,custom:$8,Schema:Qe,ZodSchema:Qe,late:rTe,get ZodFirstPartyTypeKind(){return ge},coerce:LTe,any:lTe,array:hTe,bigint:sTe,boolean:Z8,date:oTe,discriminatedUnion:yTe,effect:j8,enum:STe,function:bTe,instanceof:nTe,intersection:ETe,lazy:NTe,literal:wTe,map:BTe,nan:iTe,nativeEnum:xTe,never:dTe,null:cTe,nullable:_Te,number:X8,object:gTe,oboolean:OTe,onumber:TTe,optional:vTe,ostring:PTe,pipeline:kTe,preprocess:DTe,promise:RTe,record:ITe,set:QTe,strictObject:mTe,string:K8,symbol:aTe,transformer:j8,tuple:CTe,undefined:ATe,union:pTe,unknown:uTe,void:fTe,NEVER:MTe,ZodIssueCode:O,quotelessJson:_Pe,ZodError:on});var eX=Fs.object({recursive:Fs.boolean().optional(),cwd:Fs.string().optional(),args:Fs.array(Fs.string()).optional()}),FTe=Fs.union([Fs.null(),Fs.boolean(),eX,Fs.array(eX)]);function rX(t){let e=(0,Hd.getInput)(t,{required:!0}),r=(0,tX.parse)(e);try{let n=FTe.parse(r);return n?n===!0?[{recursive:!0}]:Array.isArray(n)?n:[n]:[]}catch(n){(0,Hd.error)(`Error for input "${t}" = ${e}`),n instanceof on?(0,Hd.error)(`Errors: ${n.errors}`):(0,Hd.error)(`Exception: ${n}`),process.exit(1)}}var UTe={required:!0},yP=t=>(0,nX.default)((0,jd.getInput)(t,UTe)),qTe=()=>({version:(0,jd.getInput)("version"),dest:yP("dest"),cache:(0,jd.getBooleanInput)("cache"),cacheDependencyPath:yP("cache_dependency_path"),runInstall:rX("run_install"),packageJsonFile:yP("package_json_file"),standalone:(0,jd.getBooleanInput)("standalone")}),iX=qTe;var Gd=Ct(at());var wm=Ct(at()),oX=require("child_process"),is=require("fs/promises"),zd=require("fs"),fr=Ct(require("path")),aX=Ct(require("util")),AX=Ct(dP());var EP={name:"bootstrap-pnpm",lockfileVersion:3,requires:!0,packages:{"":{dependencies:{pnpm:"latest"}},"node_modules/pnpm":{version:"10.32.1",resolved:"https://registry.npmjs.org/pnpm/-/pnpm-10.32.1.tgz",integrity:"sha512-pwaTjw6JrBRWtlY+q07fHR+vM2jRGR/FxZeQ6W3JGORFarLmfWE94QQ9LoyB+HMD5rQNT/7KnfFe8a1Wc0jyvg==",license:"MIT",bin:{pnpm:"bin/pnpm.cjs",pnpx:"bin/pnpx.cjs"},engines:{node:">=18.12"},funding:{url:"https://opencollective.com/pnpm"}}}};var CP={name:"bootstrap-exe",lockfileVersion:3,requires:!0,packages:{"":{dependencies:{"@pnpm/exe":"10.32.1"}},"node_modules/@pnpm/exe":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/exe/-/exe-10.32.1.tgz",integrity:"sha512-baEtwHeZwmZAdBuuDDL6tbdGg5KpxhPxr3QFfYTGXvY6ws+Z1bN0mQ7ZjcaXBSC1HuLpVXnZ6NsBiaZ2DMv4vg==",hasInstallScript:!0,license:"MIT",bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"},optionalDependencies:{"@pnpm/linux-arm64":"10.32.1","@pnpm/linux-x64":"10.32.1","@pnpm/macos-arm64":"10.32.1","@pnpm/macos-x64":"10.32.1","@pnpm/win-arm64":"10.32.1","@pnpm/win-x64":"10.32.1"}},"node_modules/@pnpm/linux-arm64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/linux-arm64/-/linux-arm64-10.32.1.tgz",integrity:"sha512-6uB0B+XvunQwHGzIMk2JCkl4Ur6BtM4XbJSwB/mgpWmXDoX/KTJmgx2lodcTjgJSGSySCHfIVuTR9sj/F2D4EA==",cpu:["arm64"],license:"MIT",optional:!0,os:["linux"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/linux-x64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/linux-x64/-/linux-x64-10.32.1.tgz",integrity:"sha512-AM2tv23Fg7h+nV+adqA/SkZKUysSIEetHfBwYFl8ArgdgkqbGoQy0rAOdKYQBb920CqfexXfI8OA8kPCzRxYng==",cpu:["x64"],license:"MIT",optional:!0,os:["linux"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/macos-arm64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/macos-arm64/-/macos-arm64-10.32.1.tgz",integrity:"sha512-Zr4JkhRbtGVsYgbuGZO0dq/6FPOn072Pdo0ubmqWtc14cUATKgAJD7efG03yqr3MLgtwFHgdtUzZ1WsaYAtUTA==",cpu:["arm64"],license:"MIT",optional:!0,os:["darwin"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/macos-x64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/macos-x64/-/macos-x64-10.32.1.tgz",integrity:"sha512-Yk6q3oFDu//OniXJxfTSHo+aew1LX81FcbzJAtEkcCeTQ0SLbQT6J3QiOMNikp8n8IjNhsy+bn2bdkUxaw+akA==",cpu:["x64"],license:"MIT",optional:!0,os:["darwin"],bin:{pnpm:"pnpm"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-arm64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/win-arm64/-/win-arm64-10.32.1.tgz",integrity:"sha512-P8rsP5IUetpYjr2iwggoswL2qUukYrJoToXWuMyo8immn58CsYxaXsHVQ1Oq1R3XMfmGGWTXLsiJuQ7H991MRg==",cpu:["arm64"],license:"MIT",optional:!0,os:["win32"],bin:{pnpm:"pnpm.exe"},funding:{url:"https://opencollective.com/pnpm"}},"node_modules/@pnpm/win-x64":{version:"10.32.1",resolved:"https://registry.npmjs.org/@pnpm/win-x64/-/win-x64-10.32.1.tgz",integrity:"sha512-i24GwbtBO8ojrhp8WWimX7NgZs0UKH1171oRt6qcRL+a+FxE0Eggv2y0KP7ZI7F3+LZMarwr3tnYsZryfciUOg==",cpu:["x64"],license:"MIT",optional:!0,os:["win32"],bin:{pnpm:"pnpm.exe"},funding:{url:"https://opencollective.com/pnpm"}}}};var zTe=JSON.stringify({private:!0,dependencies:{pnpm:EP.packages["node_modules/pnpm"].version}}),GTe=JSON.stringify({private:!0,dependencies:{"@pnpm/exe":CP.packages["node_modules/@pnpm/exe"].version}});async function YTe(t){let{version:e,dest:r,packageJsonFile:n,standalone:i}=t;await(0,is.rm)(r,{recursive:!0,force:!0}),await(0,is.mkdir)(r,{recursive:!0});let s=i?CP:EP,o=i?GTe:zTe;await(0,is.writeFile)(fr.default.join(r,"package.json"),o),await(0,is.writeFile)(fr.default.join(r,"package-lock.json"),JSON.stringify(s));let a=await sX("npm",["ci"],{cwd:r});if(a!==0)return a;let A=fr.default.join(r,"node_modules",".bin");(0,wm.addPath)(A),(0,wm.addPath)(fr.default.join(A,"bin")),(0,wm.exportVariable)("PNPM_HOME",A);let c=fr.default.join(A,"pnpm");if(!(0,zd.existsSync)(c)){await(0,is.mkdir)(A,{recursive:!0});let d=i?fr.default.join("..","@pnpm","exe","pnpm"):fr.default.join("..","pnpm","bin","pnpm.cjs");await(0,is.symlink)(d,c)}let l=i?fr.default.join(r,"node_modules","@pnpm","exe","pnpm"):fr.default.join(r,"node_modules","pnpm","bin","pnpm.cjs"),u=JTe({version:e,packageJsonFile:n});if(u){let d=i?l:process.execPath,g=await sX(d,i?["self-update",u]:[l,"self-update",u],{cwd:r});if(g!==0)return g}return await VTe(A,i),0}function JTe(t){let{version:e,packageJsonFile:r}=t,{GITHUB_WORKSPACE:n}=process.env,i;if(n)try{let s=(0,zd.readFileSync)(fr.default.join(n,r),"utf8");({packageManager:i}=r.endsWith(".yaml")?(0,AX.parse)(s,{merge:!0}):JSON.parse(s))}catch(s){if(!aX.default.types.isNativeError(s)||!("code"in s)||s.code!=="ENOENT")throw s}if(e){if(typeof i=="string"&&i.startsWith("pnpm@")&&i.replace("pnpm@","")!==e)throw new Error(`Multiple versions of pnpm specified:
|
|
- version ${e} in the GitHub Action config with the key "version"
|
|
- version ${i} in the package.json with the key "packageManager"
|
|
Remove one of these versions to avoid version mismatch errors like ERR_PNPM_BAD_PM_VERSION`);return e}if(typeof i=="string"&&i.startsWith("pnpm@"))return i.replace("pnpm@","").replace(/\+.*$/,"");throw n?new Error(`No pnpm version is specified.
|
|
Please specify it by one of the following ways:
|
|
- in the GitHub Action config with the key "version"
|
|
- in the package.json with the key "packageManager"`):new Error(`No workspace is found.
|
|
If you've intended to let pnpm/action-setup read preferred pnpm version from the "packageManager" field in the package.json file,
|
|
please run the actions/checkout before pnpm/action-setup.
|
|
Otherwise, please specify the pnpm version in the action configuration.`)}async function VTe(t,e){let r=e?{pn:fr.default.join("..","@pnpm","exe","pn"),pnpx:fr.default.join("..","@pnpm","exe","pnpx"),pnx:fr.default.join("..","@pnpm","exe","pnx")}:{pn:fr.default.join("..","pnpm","bin","pnpm.cjs"),pnpx:fr.default.join("..","pnpm","bin","pnpx.cjs"),pnx:fr.default.join("..","pnpm","bin","pnpx.cjs")};for(let[n,i]of Object.entries(r)){let s=fr.default.join(t,n),o=fr.default.resolve(t,i);!(0,zd.existsSync)(s)&&(0,zd.existsSync)(o)&&await(0,is.symlink)(i,s)}}function sX(t,e,r){return new Promise((n,i)=>{let s=(0,oX.spawn)(t,e,{cwd:r.cwd,stdio:["pipe","inherit","inherit"],shell:process.platform==="win32"});s.on("error",i),s.on("close",n)})}var cX=YTe;async function WTe(t){(0,Gd.startGroup)("Running self-installer...");let e=await cX(t);if((0,Gd.endGroup)(),e)return(0,Gd.setFailed)(`Something went wrong, self-installer exits with code ${e}`)}var lX=WTe;var xm=Ct(at());var Sm=Ct(require("path")),IP=Ct(require("process")),kQ=t=>Sm.default.join(t.dest,"node_modules",".bin"),PQ=t=>({...IP.default.env,PATH:Sm.default.join(kQ(t),"bin")+Sm.default.delimiter+kQ(t)+Sm.default.delimiter+IP.default.env.PATH});function $Te(t){let e=kQ(t);(0,xm.addPath)(e),(0,xm.setOutput)("dest",t.dest),(0,xm.setOutput)("bin_dest",e)}var uX=$Te;var uc=Ct(at()),dX=require("child_process");function KTe(t){let e=PQ(t);for(let r of t.runInstall){let n=["install"];r.recursive&&n.unshift("recursive"),r.args&&n.push(...r.args);let i=["pnpm",...n].join(" ");(0,uc.startGroup)(`Running ${i}...`);let{error:s,status:o}=(0,dX.spawnSync)("pnpm",n,{stdio:"inherit",cwd:r.cwd,shell:!0,env:e});if((0,uc.endGroup)(),s){(0,uc.setFailed)(s);continue}if(o){(0,uc.setFailed)(`Command ${i} (cwd: ${r.cwd}) exits with status ${o}`);continue}}}var fX=KTe;var dc=Ct(at()),hX=require("child_process");function XTe(t){if(t.runInstall.length===0){console.log("Pruning is unnecessary.");return}(0,dc.startGroup)("Running pnpm store prune...");let{error:e,status:r}=(0,hX.spawnSync)("pnpm",["store","prune"],{stdio:"inherit",shell:!0,env:PQ(t)});if((0,dc.endGroup)(),e){(0,dc.warning)(e);return}if(r){(0,dc.warning)(`command pnpm store prune exits with code ${r}`);return}}var gX=XTe;async function ZTe(){let t=iX();(0,Yd.getState)("is_post")==="true"?await tOe(t):await eOe(t)}async function eOe(t){(0,Yd.saveState)("is_post","true"),await lX(t),console.log("Installation Completed!"),uX(t),await U$(t),fX(t)}async function tOe(t){gX(t),await z$(t)}ZTe().catch(t=>{console.error(t),(0,Yd.setFailed)(t)});
|
|
/*! Bundled license information:
|
|
|
|
undici/lib/fetch/body.js:
|
|
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
|
|
undici/lib/websocket/frame.js:
|
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
|
|
expand-tilde/index.js:
|
|
(*!
|
|
* expand-tilde <https://github.com/jonschlinkert/expand-tilde>
|
|
*
|
|
* Copyright (c) 2015 Jon Schlinkert.
|
|
* Licensed under the MIT license.
|
|
*)
|
|
*/
|