varn5=Object.create;varkm=Object.defineProperty;vars5=Object.getOwnPropertyDescriptor;vari5=Object.getOwnPropertyNames;varo5=Object.getPrototypeOf,a5=Object.prototype.hasOwnProperty;varo=(t,e)=>km(t,"name",{value:e,configurable:!0});varf=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),c5=(t,e)=>{for(varrine)km(t,r,{get:e[r],enumerable:!0})},l5=(t,e,r,n)=>{if(e&&typeofe=="object"||typeofe=="function")for(letsofi5(e))!a5.call(t,s)&&s!==r&&km(t,s,{get:()=>e[s],enumerable:!(n=s5(e,s))||n.enumerable});returnt};varQ=(t,e,r)=>(r=t!=null?n5(o5(t)):{},l5(e||!t||!t.__esModule?km(r,"default",{value:t,enumerable:!0}):r,t));varDD=f(ec=>{"use strict";varKwe=require("net"),m5=require("tls"),DC=require("http"),RD=require("https"),p5=require("events"),Xwe=require("assert"),h5=require("util");ec.httpOverHttp=f5;ec.httpsOverHttp=g5;ec.httpOverHttps=y5;ec.httpsOverHttps=E5;functionf5(t){vare=newri(t);returne.request=DC.request,e}o(f5,"httpOverHttp");functiong5(t){vare=newri(t);returne.request=DC.request,e.createSocket=PD,e.defaultPort=443,e}o(g5,"httpsOverHttp");functiony5(t){vare=newri(t);returne.request=RD.request,e}o(y5,"httpOverHttps");functionE5(t){vare=newri(t);returne.request=RD.request,e.createSocket=PD,e.defaultPort=443,e}o(E5,"httpsOverHttps");functionri(t){vare=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||DC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(varc=vD(s,i,a),l=0,A=e.requests.length;l<A;++l){varu=e.requests[l];if(u.host===c.host&&u.port===c.port){e.requests.splice(l,1),u.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(ri,"TunnelingAgent");h5.inherits(ri,p5.EventEmitter);ri.prototype.addRequest=o(function(e,r,n,s){vari=this,a=kC({request:e},i.options,vD(r,n,s));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);functionl(){i.emit("free",c,a)}o(l,"onFree");functionA(u){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");ri.prototype.createSocket=o(function(e,r){varn=this,s={};n.sockets.push(s);vari=kC({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+newBuffer(i.proxyAuth).toString("base64")),qi("making CONNECT request");vara=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();functionc(d){d.upgrade=!0}o(c,"onResponse");functionl(d,m,p){process.nextTick(function(){A(d,m,p)})}o(l,"onUpgrade");functionA(d,m,p){if(a.removeAllListeners(),m.removeAllListeners(),d.statusCode!==200){qi("tunneling socket could not be established, statusCode=%d",d.statusCode),m.destroy();varh=newError("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}if(p.length>0){qi("got illegal response body from proxy"),m.destroy();varh=newError("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}returnqi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");functionu(d){a.removeAllListeners(),qi(`tunneling socket could not be established, cause=%s
`);m.push(g),i+=g.byteLength,h&&(i=null),s=t,n=o(async function*(){for(let C of m)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(OT(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(vA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Fj(t)}if((typeof s=="string"||vA.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!GT(r)){let m=new Uint8Array(u);m.byteLength&&A.enqueue(m)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:s,length:i},a]}o(JT,"extractBody");function jj(t,e=!1){return t instanceof ReadableStream&&(_I(!vA.isDisturbed(t),"The body has already been consumed."),_I(!t.locked,"The stream is locked.")),JT(t,e)}o(jj,"safelyExtractBody");function Kj(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(Kj,"cloneBody");function Xj(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Xj,"throwIfAborted");function Zj(t){return{blob(){return mc(this,r=>{let n=HT(this);return n===null?n="":n&&(n=Jj(n)),new Gj([r],{type:n})},t)},arrayBuffer(){return mc(this,r=>new Uint8Array(r).buffer,t)},text(){return mc(this,zT,t)},json(){return mc(this,tK,t)},formData(){return mc(this,r=>{let n=HT(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=Wj(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new qT;return i[pc]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new qT;for(let[a,c]of s)i.append(a,c);return i}}throw new TypeError('Content-Typewasnotoneof"multipart/form-data"or"application/x-www-form-urlencoded".')},t)},bytes(){return mc(this,r=>new Uint8Array(r),t)}}}o(Zj,"bodyMixinMethods");function eK(t){Object.assign(t.prototype,Zj(t))}o(eK,"mixinBody");async function mc(t,e,r){if(zj.brandCheck(t,r),WT(t))throw new TypeError("Body is unusable: Body has already been read");Xj(t[pc]);let n=Oj(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[pc].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await qj(t[pc].body,i,s),n.promise)}o(mc,"consumeBody");function WT(t){let e=t[pc].body;return e!=null&&(e.stream.locked||vA.isDisturbed(e.stream))}o(WT,"bodyUnusable");function tK(t){return JSON.parse(zT(t))}o(tK,"parseJSONFromBytes");function HT(t){let e=t[pc].headersList,r=Hj(e);return r==="failure"?null:r}o(HT,"bodyMimeType");$T.exports={extractBody:JT,safelyExtractBody:jj,cloneBody:Kj,mixinBody:eK,streamRegistry:VT,hasFinalizationRegistry:YT,bodyUnusable:WT}});var lM=f((YNe,cM)=>{"use strict";var J=require("node:assert"),ee=le(),{channels:jT}=rc(),OI=II(),{RequestContentLengthMismatchError:Oo,ResponseContentLengthMismatchError:KT,RequestAbortedError:iM,HeadersTimeoutError:rK,HeadersOverflowError:nK,SocketError:mp,InformationalError:fc,BodyTimeoutError:sK,HTTPParserError:iK,ResponseExceededMaxSizeError:oK}=Ce(),{kUrl:oM,kReset:cr,kClient:Ap,kParser:Ve,kBlocking:TA,kRunning:Lt,kPending:aK,kSize:XT,kWriting:Gi,kQueue:Pn,kNoRef:DA,kKeepAliveDefaultTimeout:cK,kHostHeader:lK,kPendingIdx:AK,kRunningIdx:nn,kError:Jt,kPipelining:up,kSocket:gc,kKeepAliveTimeoutValue:pp,kMaxHeadersSize:qI,kKeepAliveMaxTimeout:uK,kKeepAliveTimeoutThreshold:dK,kHeadersTimeout:mK,kBodyTimeout:pK,kStrictContentLength:GI,kMaxRequests:ZT,kCounter:hK,kMaxResponseSize:fK,kOnError:eM,kResume:zi,kHTTPContext:aM}=Fe(),Pr=Vk(),tM=Buffer.alloc(0),ap=Buffer[Symbol.species],cp=ee.addListener,gK=ee.removeAllListeners,HI;async function yK(){let t=process.env.JEST_WORKER_ID?xI():void 0,e;try{e=await WebAssembly.compile($k())}catch{e=await WebAssembly.compile(t||xI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:
`}return jT.sendHeaders.hasSubscribers&&jT.sendHeaders.publish({request:e,headers:g,socket:p}),!l||m===0?nM(h,null,t,e,p,u,g,d):ee.isBuffer(l)?nM(h,l,t,e,p,u,g,d):ee.isBlobLike(l)?typeof l.stream=="function"?sM(h,l.stream(),t,e,p,u,g,d):bK(h,l,t,e,p,u,g,d):ee.isStream(l)?xK(h,l,t,e,p,u,g,d):ee.isIterable(l)?sM(h,l,t,e,p,u,g,d):J(!1),!0}o(QK,"writeH1");function xK(t,e,r,n,s,i,a,c){J(i!==0||r[Lt]===0,"stream body cannot be pipelined");let l=!1,A=new hp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),u=o(function(h){if(!l)try{!A.write(h)&&this.pause&&this.pause()}catch(g){ee.destroy(this,g)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),m=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let h=new iM;queueMicrotask(()=>p(h))}},"onClose"),p=o(function(h){if(!l){if(l=!0,J(s.destroyed||s[Gi]&&r[Lt]<=1),s.off("drain",d).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",m),!h)try{A.end()}catch(g){h=g}A.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?ee.destroy(e,h):ee.destroy(e)}},"onFinished");e.on("data",u).on("end",p).on("error",p).on("close",m),e.resume&&e.resume(),s.on("drain",d).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(m)}o(xK,"writeStream");function nM(t,e,r,n,s,i,a,c){try{e?ee.isBuffer(e)&&(J(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r
`,"latin1"):(J(i===null,"no body must not have content length"),s.write(`${a}\r
`,"latin1")),n.onRequestSent(),r[zi]()}catch(l){t(l)}}o(nM,"writeBuffer");async function bK(t,e,r,n,s,i,a,c){J(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Oo;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r
`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[cr]=!0),r[zi]()}catch(l){t(l)}}o(bK,"writeBlob");async function sM(t,e,r,n,s,i,a,c){J(i!==0||r[Lt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let m=l;l=null,m()}}o(A,"onDrain");let u=o(()=>new Promise((m,p)=>{J(l===null),s[Jt]?p(s[Jt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new hp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Jt])throw s[Jt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(sM,"writeIterable");var hp=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Gi]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Jt])throw r[Jt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[GI])throw new Oo;process.emitWarning(new Oo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[cr]=!0),s===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"),r!==null&&s!==r){if(n[GI])throw new Oo;process.emitWarning(new Oo)}e[Ve].timeout&&e[Ve].timeoutType===yc&&e[Ve].timeout.refresh&&e[Ve].timeout.refresh(),n[zi]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[Gi]=!1,e&&(J(n[Lt]<=1,"pipeline should only contain this request"),s(e))}};cM.exports=CK});var gM=f((JNe,fM)=>{"use strict";var sn=require("node:assert"),{pipeline:wK}=require("node:stream"),ue=le(),{RequestContentLengthMismatchError:WI,RequestAbortedError:AM,SocketError:MA,InformationalError:$I}=Ce(),{kUrl:fp,kReset:yp,kClient:Ec,kRunning:Ep,kPending:NK,kQueue:Yi,kPendingIdx:jI,kRunningIdx:vn,kError:kn,kSocket:bt,kStrictContentLength:SK,kOnError:KI,kMaxConcurrentStreams:hM,kHTTP2Session:Dn,kResume:Vi,kSize:RK,kHTTPContext:PK}=Fe(),ci=Symbol("open streams"),uM,dM=!1,gp;try{gp=require("node:http2")}catch{gp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:vK,HTTP2_HEADER_METHOD:DK,HTTP2_HEADER_PATH:kK,HTTP2_HEADER_SCHEME:TK,HTTP2_HEADER_CONTENT_LENGTH:MK,HTTP2_HEADER_EXPECT:LK,HTTP2_HEADER_STATUS:FK}}=gp;function _K(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.push(Buffer.from(r),Buffer.from(s));else e.push(Buffer.from(r),Buffer.from(n));return e}o(_K,"parseH2Headers");async function UK(t,e){t[bt]=e,dM||(dM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=gp.connect(t[fp],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[hM]});r[ci]=0,r[Ec]=t,r[bt]=e,ue.addListener(r,"error",qK),ue.addListener(r,"frameError",HK),ue.addListener(r,"end",zK),ue.addListener(r,"goaway",GK),ue.addListener(r,"close",function(){let{[Ec]:s}=this,{[bt]:i}=s,a=this[bt][kn]||this[kn]||new MA("closed",ue.getSocketInfo(i));if(s[Dn]=null,s.destroyed){sn(s[NK]===0);let c=s[Yi].splice(s[vn]);for(let l=0;l<c.length;l++){let A=c[l];ue.errorRequest(s,A,a)}}}),r.unref(),t[Dn]=r,e[Dn]=r,ue.addListener(e,"error",function(s){sn(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[kn]=s,this[Ec][KI](s)}),ue.addListener(e,"end",function(){ue.destroy(this,new MA("other side closed",ue.getSocketInfo(this)))}),ue.addListener(e,"close",function(){let s=this[kn]||new MA("closed",ue.getSocketInfo(this));t[bt]=null,this[Dn]!=null&&this[Dn].destroy(s),t[jI]=t[vn],sn(t[Ep]===0),t.emit("disconnect",t[fp],[t],s),t[Vi]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return VK(t,...s)},resume(){OK(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(UK,"connectH2");function OK(t){let e=t[bt];e?.destroyed===!1&&(t[RK]===0&&t[hM]===0?(e.unref(),t[Dn].unref()):(e.ref(),t[Dn].ref()))}o(OK,"resumeH2");function qK(t){sn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[bt][kn]=t,this[Ec][KI](t)}o(qK,"onHttp2SessionError");function HK(t,e,r){if(r===0){let n=new $I(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[bt][kn]=n,this[Ec][KI](n)}}o(HK,"onHttp2FrameError");function zK(){let t=new MA("other side closed",ue.getSocketInfo(this[bt]));this.destroy(t),ue.destroy(this[bt],t)}o(zK,"onHttp2SessionEnd");function GK(t){let e=this[kn]||new MA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ue.getSocketInfo(this)),r=this[Ec];if(r[bt]=null,r[PK]=null,this[Dn]!=null&&(this[Dn].destroy(e),this[Dn]=null),ue.destroy(this[bt],e),r[vn]<r[Yi].length){let n=r[Yi][r[vn]];r[Yi][r[vn]++]=null,ue.errorRequest(r,n,e),r[jI]=r[vn]}sn(r[Ep]===0),r.emit("disconnect",r[fp],[r],e),r[Vi]()}o(GK,"onHTTP2GoAway");function YK(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(YK,"shouldSendContentLength");function VK(t,e){let r=t[Dn],{method:n,path:s,host:i,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return ue.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let B=0;B<A.length;B+=2){let N=A[B+0],k=A[B+1];if(Array.isArray(k))for(let _=0;_<k.length;_++)d[N]?d[N]+=`,${k[_]}`:d[N]=k[_];else d[N]=k}let m,{hostname:p,port:h}=t[fp];d[vK]=i||`${p}${h?`:${h}`:""}`,d[DK]=n;let g=o(B=>{e.ab
globstar while`,t,u,e,d,m),this.matchOne(t.slice(u),e.slice(d),r))return this.debug("globstar found match!",u,a,m),!0;if(m==="."||m===".."||!n.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,u,e,d);break}this.debug("globstar swallow a segment, and continue"),u++}return!!(r&&(this.debug(`
`);if(m===-1){Gf("have not received end of HTTP headers yet..."),i();return}let p=d.slice(0,m).toString("ascii").split(`\r
`),h=p.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=h.split(" "),C=+g[1],y=g.slice(2).join(" "),E={};for(let I of p){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),k=I.slice(B+1).trimStart(),_=E[N];typeof _=="string"?E[N]=[_,k]:Array.isArray(_)?_.push(k):E[N]=k}Gf("got proxy server response: %o %o",h,E),a(),e({connect:{statusCode:C,statusText:y,headers:E},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),i()})}o(Ome,"parseProxyResponse");gl.parseProxyResponse=Ome});var aY=f(gn=>{"use strict";var qme=gn&&gn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Hme=gn&&gn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iY=gn&&gn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&qme(e,t,r);return Hme(e,t),e},oY=gn&&gn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gn,"__esModule",{value:!0});gn.HttpsProxyAgent=void 0;var Yf=iY(require("net")),rY=iY(require("tls")),zme=oY(require("assert")),Gme=oY(zf()),Yme=eY(),Vme=require("url"),Jme=tY(),nd=(0,Gme.default)("https-proxy-agent"),nY=o(t=>t.servername===void 0&&t.host&&!Yf.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Vf=class extends Yme.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Vme.URL(e):e,this.proxyHeaders=r?.headers??{},nd("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?sY(r,"headers"):null,host:n,port:s}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No"host"provided');let s;n.protocol==="https:"?(nd("Creating `tls.Socket`: %o",this.connectOpts),s=rY.connect(nY(this.connectOpts))):(nd("Creating `net.Socket`: %o",this.connectOpts),s=Yf.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Yf.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(n.username||n.password){let m=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(m).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let m of Object.keys(i))c+=`${m}: ${i[m]}\r
`)+4,e.outputData[0].data=e._header+n.substring(s),yl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(yl("Creating `tls.Socket`: %o",this.connectOpts),i=lpe.connect(this.connectOpts)):(yl("Creating `net.Socket`: %o",this.connectOpts),i=cpe.connect(this.connectOpts)),await(0,upe.once)(i,"connect"),i}};Jf.protocols=["http","https"];yn.HttpProxyAgent=Jf;function mpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(mpe,"omit")});var UY=f(ag=>{"use strict";Object.defineProperty(ag,"__esModule",{value:!0});ag.state=void 0;ag.state={instrumenterImplementation:void 0}});var rV=f(dg=>{"use strict";Object.defineProperty(dg,"__esModule",{value:!0});dg.state=void 0;dg.state={operationRequestMap:new WeakMap}});var T3=f(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var kEe=require("os"),TEe=require("util");function MEe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(MEe,"_interopDefaultLegacy");var LEe=MEe(TEe);function FEe(t,...e){process.stderr.write(`${LEe.default.format(t,...e)}${kEe.EOL}`)}o(FEe,"log");var x3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,w3,RR=[],PR=[],vy=[];x3&&vR(x3);var N3=Object.assign(t=>S3(t),{enable:vR,enabled:DR,disable:_Ee,log:FEe});function vR(t){w3=t,RR=[],PR=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?PR.push(new RegExp(`^${n.substr(1)}$`)):RR.push(new RegExp(`^${n}$`));for(let n of vy)n.enabled=DR(n.namespace)}o(vR,"enable");function DR(t){if(t.endsWith("*"))return!0;for(let e of PR)if(e.test(t))return!1;for(let e of RR)if(e.test(t))return!0;return!1}o(DR,"enabled");function _Ee(){let t=w3||"";return vR(""),t}o(_Ee,"disable");function S3(t){let e=Object.assign(r,{enabled:DR(t),destroy:UEe,log:N3.log,namespace:t,extend:OEe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),vy.push(e),e}o(S3,"createDebugger");function UEe(){let t=vy.indexOf(this);return t>=0?(vy.splice(t,1),!0):!1}o(UEe,"destroy");function OEe(t){let e=S3(`${this.namespace}:${t}`);return e.log=this.log,e}o(OEe,"extend");var Gd=N3,R3=new Set,Ry=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Dy,ky=Gd("azure");ky.log=(...t)=>{Gd.log(...t)};var kR=["verbose","info","warning","error"];Ry&&(k3(Ry)?P3(Ry):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Ry}'; logging is not enabled. Acceptable values: ${kR.join(", ")}.`));function P3(t){if(t&&!k3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${kR.join(",")}`);Dy=t;let e=[];for(let r of R3)D3(r)&&e.push(r.namespace);Gd.enable(e.join(","))}o(P3,"setLogLevel");function qEe(){return Dy}o(qEe,"getLogLevel");var b3={verbose:400,info:300,warning:200,error:100};function HEe(t){let e=ky.extend(t);return v3(ky,e),{error:Py(e,"error"),warning:Py(e,"warning"),info:Py(e,"info"),verbose:Py(e,"verbose")}}o(HEe,"createClientLogger");function v3(t,e){e.log=(...r)=>{t.log(...r)}}o(v3,"patchLogMethod");function Py(t,e){let r=Object.assign(t.extend(e),{level:e});if(v3(t,r),D3(r)){let n=Gd.disable();Gd.enable(n+","+r.namespace)}return R3.add(r),r}o(Py,"createLogger");function D3(t){return!!(Dy&&b3[t.level]<=b3[Dy])}o(D3,"shouldEnable");function k3(t){return kR.includes(t)}o(k3,"isAzureLogLevel");Ll.AzureLogger=ky;Ll.createClientLogger=HEe;Ll.getLogLevel=qEe;Ll.setLogLevel=P3});var LR=f(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});var Fl=new WeakMap,Ty=new WeakMap,Yd=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Fl.set(this,[]),Ty.set(this,!1)}get aborted(){if(!Ty.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Ty.get(this)}static get none(){return new t}addEventListener(e,r){if(!Fl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Fl.get(this).push(r)}removeEventListener(e,r){if(!Fl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Fl.get(this),s=n.indexOf(r);s>-1&&n.splice(s,1)}dispatchEvent(e){thro
Polling status: ${G3.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(H3({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(yCe,"pollOperationHelper");async function W3(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:m,updateState:p,setDelay:h,isDone:g,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await yCe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(V3({status:I,response:E,state:r,stateProxy:n,isDone:g,processResult:d,getError:m,setErrorAsResult:C}),!G3.includes(I)){let B=u?.(E);B&&h(B);let N=c?.(E,r);if(N!==void 0){let k=y!==N;r.config.operationLocation=N,A?.(N,k)}else A?.(y,!1)}p?.(r,E)}}o(W3,"pollOperation");function $3(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o($3,"getOperationLocationPollingUrl");function j3(t){return t.headers.location}o(j3,"getLocationHeader");function K3(t){return t.headers["operation-location"]}o(K3,"getOperationLocationHeader");function X3(t){return t.headers["azure-asyncoperation"]}o(X3,"getAzureAsyncOperationHeader");function ECe(t){var e;let{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:i}=t;switch(n){case"PUT":return s;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:s;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return r}}o(a,"getDefault")}o(ECe,"findResourceLocation");function Z3(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=K3(e),a=X3(e),c=$3({operationLocation:i,azureAsyncOperation:a}),l=j3(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:ECe({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:s})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(Z3,"inferLroMode");function e4(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn'tnecessarilyindicatetheoperationhasfailed.CheckyourAzuresubscriptionorresourcestatusformoreinformation.`);switch(e?.toLocaleLowerCase()){case void 0:return JR(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return Fa.verbose(`LRO:unrecognizedoperationstatus:${e}`),e}}o(e4,"transformStatus");function CCe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return e4({status:r,statusCode:t.statusCode})}o(CCe,"getStatus");function ICe(t){var e,r;let{properties:n,provisioningState:s}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=n?.provisioningState)!==null&&r!==void 0?r:s;return e4({status:i,statusCode:t.statusCode})}o(ICe,"getProvisioningState");function JR(t){return t===202?"running":t<300?"succeeded":"failed"}o(JR,"toOperationStatus");function t4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?BCe(new Date(e)):r*1e3}}o(t4,"parseRetryAfter");function r4(t){let e=t.flatResponse.error;if(!e){Fa.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Fa.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(r4,"getErrorFromResponse");function BCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(BCe,"calculatePollingIntervalFromDate");function n4(t){let{response:e,state:r,operationLocation:n}=t;function s(){var a;switch((a=r.config.metadata)===null
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(Lxe,"logUnexpecedPropertyAccessOnce");functionFxe(){Object.keys(eC).forEach(function(t){deleteeC[t]})}o(Fxe,"resetLoggedProperties")});varrC=f(Xs=>{"use strict";Xs.__esModule=!0;Xs.HandlebarsEnvironment=Ov;functionSW(t){returnt&&t.__esModule?t:{default:t}}o(SW,"_interopRequireDefault");varWa=or(),_xe=en(),_v=SW(_xe),Uxe=Tv(),Oxe=xW(),qxe=Lv(),tC=SW(qxe),Hxe=Fv(),zxe="4.7.9";Xs.VERSION=zxe;varGxe=8;Xs.COMPILER_REVISION=Gxe;varYxe=7;Xs.LAST_COMPATIBLE_COMPILER_REVISION=Yxe;varVxe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Xs.REVISION_CHANGES=Vxe;varUv="[object Object]";functionOv(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Uxe.registerDefaultHelpers(this),Oxe.registerDefaultDecorators(this)}o(Ov,"HandlebarsEnvironment");Ov.prototype={constructor:Ov,logger:tC.default,log:tC.default.log,registerHelper:o(function(e,r){if(Wa.toString.call(e)===Uv){if(r)thrownew_v.default("Arg not supported with multiple helpers");Wa.extend(this.helpers,e)}elsethis.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){deletethis.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(Wa.toString.call(e)===Uv)Wa.extend(this.partials,e);else{if(typeofr>"u")thrownew_v.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){deletethis.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Wa.toString.call(e)===Uv){if(r)thrownew_v.default("Arg not supported with multiple decorators");Wa.extend(this.decorators,e)}elsethis.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){deletethis.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Hxe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};varJxe=tC.default.log;Xs.log=Jxe;Xs.createFrame=Wa.createFrame;Xs.logger=tC.default});varPW=f((nC,RW)=>{"use strict";nC.__esModule=!0;functionqv(t){this.string=t}o(qv,"SafeString");qv.prototype.toString=qv.prototype.toHTML=function(){return""+this.string};nC.default=qv;RW.exports=nC.default});varvW=f(Hv=>{"use strict";Hv.__esModule=!0;Hv.wrapHelper=Wxe;functionWxe(t,e){if(typeoft!="function")returnt;varr=o(function(){vars=arguments[arguments.length-1];returnarguments[arguments.length-1]=e(s),t.apply(this,arguments)},"wrapper");returnr}o(Wxe,"wrapHelper")});varFW=f(ko=>{"use strict";ko.__esModule=!0;ko.checkRevision=ebe;ko.template=tbe;ko.wrapProgram=sC;ko.resolvePartial=rbe;ko.invokePartial=nbe;ko.noop=MW;function$xe(t){returnt&&t.__esModule?t:{default:t}}o($xe,"_interopRequireDefault");functionjxe(t){if(t&&t.__esModule)returnt;vare={};if(t!=null)for(varrint)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);returne.default=t,e}o(jxe,"_interopRequireWildcard");varKxe=or(),lA=jxe(Kxe),Xxe=en(),Fi=$xe(Xxe),_i=rC(),DW=Tv(),Zxe=vW(),kW=Fv();functionebe(t){vare=t&&t[0]||1,r=_i.COMPILER_REVISION;if(!(e>=_i.LAST_COMPATIBLE_COMPILER_REVISION&&e<=_i.COMPILER_REVISION))if(e<_i.LAST_COMPATIBLE_COMPILER_REVISION){varn=_i.REVISION_CHANGES[r],s=_i.REVISION_CHANGES[e];thrownewFi.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")}elsethrownewFi.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(ebe,"checkRevision");functiontbe(t,e){if(!e)thrownewFi.default("No environment passed to template");if(!t||!t.main)thrownewFi.default("Unknown template object: "+typeoft);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);varr=t.compiler&&t.compiler[0]===7;functionn(a,c,l){l.hash&&(c=lA.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.ca
Expecting `+me.join(", ")+", got '"+(this.terminals_[B]||B)+"'":ut="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(ut,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:me})}}if(_[0]instanceofArray&&_.length>1)thrownewError("Parse Error: multiple actions possible at state: "+k+", token: "+B);switch(_[0]){case1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(_[1]),B=null,N?(B=N,N=null):(m=this.lexer.yyleng,u=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,p>0&&p--);break;case2:if(te=this.productions_[_[1]][1],xe.$=c[c.length-te],xe._$={first_line:l[l.length-(te||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(te||1)].first_column,last_column:l[l.length-1].last_column},y&&(xe._$.range=[l[l.length-(te||1)].range[0],l[l.length-1].range[1]]),Ee=this.performAction.call(xe,u,m,d,this.yy,_[1],c,l),typeofEe<"u")returnEe;te&&(a=a.slice(0,-1*te*2),c=c.slice(0,-1*te),l=l.slice(0,-1*te)),a.push(this.productions_[_[1]][0]),c.push(xe.$),l.push(xe._$),U=A[a[a.length-2]][a[a.length-1]],a.push(U);break;case3:return!0}}return!0},"parse")},e=(function(){varn={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);elsethrownewError(i)},"parseError"),setInput:o(function(i){returnthis._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){vari=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;vara=i.match(/(?:\r\n?|\n).*/g);returna?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){vara=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;varl=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);varA=this.yylloc.range;returnthis.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-a]),this},"unput"),more:o(function(){returnthis._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){vari=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){vari=this.match;returni.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){vari=this.pastInput(),a=newArray(i.length+1).join("-");returni+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)returnthis.EOF;this._input||(this.done=!0);vari,a,c,l,A,u;this._more||(this.yytext="",this.match="");for(vard=this._currentRules(),m=0;m<d.length&&(c=this._input.match(this.rules[d[m]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=m,!this.options.flex)));m++);returna?(u=a[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){vari=this.next();returntypeofi<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){returnthis.conditionStack.pop()},"popState"),_currentRules:o(function(){returnthis.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){returnthis.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};returnn.options={},n.performAction=o(function(i,a,c,l){functionA(d,m){returna.yytext=a.yytext.substring(d,a.yyleng-m+d)}o(A,"strip");varu=l;switch(c){case0:if(a.yytext.slice(-2)==="\\\\"?(A(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(A(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return15;break;case1:return15;case2:returnthis.popState(),15;break;case3:returnthis.begin("raw"),15;break;case4:returnthis.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(A(5,9),"END_RAW_BLOCK");case5:return15;case6:returnthis.popState(),14;break;case7:return65;case8:return68;case9:return19;case10:returnthis.popState(),this.begin("raw"),23;break;case11:return55;case12:return60;case13:return29;case14:return47;case15:returnthis.popState(),44;break;case16:returnthis.popState(),44;break;case17:return34;case18:return39;case19:return51;case20:return48;case21:this.unput(a.yytext),this.popState(),this.begin("com");break;case22:returnthis.popState(),14;break;case23:return48;case24:return73;case25:return72;case26:return72;case27:return87;case28:break;case29:returnthis.popState(),54;break;case30:returnthis.popState(),33;break;case31:returna.yytext=A(1,2).replace(/\\"/g,'"'),80;break;case32:returna.yytext=A(1,2).replace(/\\'/g,"'"),80;break;case33:return85;case34:return82;case35:return82;case36:return83;case37:return84;case38:return81;case39:return75;case40:return77;case41:return72;case42:returna.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case43:return"INVALID";case44:return5}},"anonymous"),n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n})();t.lexer=e;functionr(){this.yy={}}returno(r,"Parser"),r.prototype=t,t.Parser=r,newr})();lC.default=hbe;VW.exports=lC.default});varmC=f((dC,jW)=>{"use strict";dC.__esModule=!0;functionfbe(t){returnt&&t.__esModule?t:{default:t}}o(fbe,"_interopRequireDefault");vargbe=en(),Wv=fbe(gbe);functionAC(){this.parents=[]}o(AC,"Visitor");AC.prototype={constructor:AC,mutating:!1,acceptKey:o(function(e,r){varn=this.accept(e[r]);if(this.mutating){if(n&&!AC.prototype[n.type])thrownewWv.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acc
`])}),e},"merge"),each:o(function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new Xa(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Xa?e:(e=fD(e,this,r),new Xa(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var a=fD(e[i],r);a!=="undefined"&&n.push([r.quotedString(i),":",a])});var s=this.generateList(n);return s.prepend("{"),s.add("}"),s},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),n=0,s=e.length;n<s;n++)n&&r.add(","),r.add(fD(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};IC.default=v$;D$.exports=IC.default});var _$=f((BC,F$)=>{"use strict";BC.__esModule=!0;function L$(t){return t&&t.__esModule?t:{default:t}}o(L$,"_interopRequireDefault");var T$=rC(),pwe=en(),yD=L$(pwe),hwe=or(),fwe=k$(),M$=L$(fwe);function hA(t){this.value=t}o(hA,"Literal");function fA(){}o(fA,"JavaScriptCompiler");fA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=T$.COMPILER_REVISION,r=T$.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return hwe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,n,s){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,A=void 0;for(l=0,A=i.length;l<A;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new yD.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
Supportbooleaninputlist:\`true | True | TRUE | false | False | FALSE\``)}o(gx,"getBooleanInput");functionN1(t,e){if(process.env.GITHUB_OUTPUT||"")returnPC("OUTPUT",vC(t,e));process.stdout.write(fx.EOL),Oi("set-output",{name:t},ti(e))}o(N1,"setOutput");functionS1(t){process.exitCode=hx.Failure,el(t)}o(S1,"setFailed");functionca(){returnprocess.env.RUNNER_DEBUG==="1"}o(ca,"isDebug");functionb(t){Oi("debug",{},t)}o(b,"debug");functionel(t,e={}){Oi("error",NC(e),tinstanceofError?t.toString():t)}o(el,"error");functionft(t,e={}){Oi("warning",NC(e),tinstanceofError?t.toString():t)}o(ft,"warning");functionhe(t){process.stdout.write(t+fx.EOL)}o(he,"info");function_ie(t){RC("group",t)}o(_ie,"startGroup");functionUie(){RC("endgroup")}o(Uie,"endGroup");functionms(t,e){returnFie(this,void0,void0,function*(){_ie(t);letr;try{r=yielde()}finally{Uie()}returnr})}o(ms,"group");functionLh(t,e){if(process.env.GITHUB_STATE||"")returnPC("STATE",vC(t,e));Oi("save-state",{name:t},ti(e))}o(Lh,"saveState");functionR1(t){returnprocess.env[`STATE_${t}`]||""}o(R1,"getState");varUE=Q(require("fs"),1),Iv=Q(require("os"),1),Bv=Q(require("path"),1);varv1=Q(require("os"),1);functionxu(t){returnt==null?"":typeoft=="string"||tinstanceofString?t:JSON.stringify(t)}o(xu,"toCommandValue");functionD1(t,e,r){letn=newyx(t,e,r);process.stdout.write(n.toString()+v1.EOL)}o(D1,"issueCommand");varP1="::",yx=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){lete=P1+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";letr=!0;for(letninthis.properties)if(this.properties.hasOwnProperty(n)){lets=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${qie(s)}`)}}returne+=`${P1}${Oie(this.message)}`,e}};functionOie(t){returnxu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Oie,"escapeData");functionqie(t){returnxu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(qie,"escapeProperty");varT1=require("os"),bu=require("fs");varEx=function(t,e,r,n){functions(i){returniinstanceofr?i:newr(function(a){a(i)})}returno(s,"adopt"),new(r||(r=Promise))(function(i,a){functionc(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");functionl(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");functionA(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Hie,appendFile:zie,writeFile:Gie}=bu.promises,k1="GITHUB_STEP_SUMMARY";varCx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){returnEx(this,void0,void0,function*(){if(this._filePath)returnthis._filePath;lete=process.env[k1];if(!e)thrownewError(`Unable to find environment variable for $${k1}. Check if your runtime environment supports job summaries.`);try{yieldHie(e,bu.constants.R_OK|bu.constants.W_OK)}catch{thrownewError(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}returnthis._filePath=e,this._filePath})}wrap(e,r,n={}){lets=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");returnr?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){returnEx(this,void0,void0,function*(){letr=!!e?.overwrite,n=yieldthis.filePath();returnyield(r?Gie:zie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){returnEx(this,void0,void0,function*(){returnthis.emptyBuffer().write({overwrite:!0})})}stringify(){returnthis._buffer}isEmptyBuffer(){returnthis._buffer.length===0}emptyBuffer(){returnthis._buffer="",this}addRaw(e,r=!1){returnthis._buffer+=e,r?this.addEOL():this}addEOL(){returnthis.addRaw(T1.EOL)}addCodeBlock(e,r){letn=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);returnthis.addRaw(s).addEOL()}addList(e,r=!1){letn=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);returnthis.addRaw(i).addEOL()}addTable(e){letr=e.map(s=>{leti=s.map(a=>{if(typeofa=="string")returnthis.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a
`,"utf-8")],s=Npe(n);s&&t.headers.set("Content-Length",s),t.body=awaitNY(n)}o(Spe,"buildRequestBody");varsd="multipartPolicy",Rpe=70,Ppe=newSet("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");functionvpe(t){if(t.length>Rpe)thrownewError(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Ppe.has(e)))thrownewError(`Multipart boundary "${t}" contains invalid characters`)}o(vpe,"assertValidBoundary");functioneg(){return{name:sd,asyncsendRequest(t,e){if(!t.multipartBody)returne(t);if(t.body)thrownewError("multipartBody and regular body cannot be set at the same time");letr=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)thrownewError(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=s;if(a&&r&&a!==r)thrownewError(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);returnr??=a,r?vpe(r):r=xpe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),awaitSpe(t,t.multipartBody.parts,r),t.multipartBody=void0,e(t)}}}o(eg,"multipartPolicy");functiontg(){returnxf()}o(tg,"createEmptyPipeline");varSY=If({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),DUe=SY.logger;functionIs(t){returnSY.createClientLogger(t)}o(Is,"createClientLogger");varBs=Is("core-rest-pipeline");functionsw(t={}){returnPf({logger:Bs.info,...t})}o(sw,"logPolicy");variw=vf;functionow(t={}){returnDf(t)}o(ow,"redirectPolicy");varrg=Q(require("node:os"),1),ng=Q(require("node:process"),1);functionRY(){return"User-Agent"}o(RY,"getHeaderName");asyncfunctionPY(t){if(ng.default&&ng.default.versions){lete=`${rg.default.type()}${rg.default.release()}; ${rg.default.arch()}`,r=ng.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(PY,"setPlatformSpecificData");varsg="1.22.2";functionUpe(t){lete=[];for(let[r,n]oft){lets=n?`${r}/${n}`:r;e.push(s)}returne.join(" ")}o(Upe,"getUserAgentString");functionvY(){returnRY()}o(vY,"getUserAgentHeaderName");asyncfunctionig(t){lete=newMap;e.set("core-rest-pipeline",sg),awaitPY(e);letr=Upe(e);returnt?`${t}${r}`:r}o(ig,"getUserAgentValue");varDY=vY(),kY="userAgentPolicy";functionaw(t={}){lete=ig(t.userAgentPrefix);return{name:kY,asyncsendRequest(r,n){returnr.headers.has(DY)||r.headers.set(DY,awaite),n(r)}}}o(aw,"userAgentPolicy");varYr=classextendsError{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};functioncw(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};returnnewPromise((i,a)=>{functionc(){a(newYr(s??"The operation was aborted."))}o(c,"rejectOnAbort");functionl(){n?.removeEventListener("abort",A)}o(l,"removeListeners");functionA(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)returnc();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(cw,"createAbortablePromise");varGpe="The delay was aborted.";functionid(t,e){letr,{abortSignal:n,abortErrorMsg:s}=e??{};returncw(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??Gpe})}o(id,"delay");functionyo(t){if(ha(t))returnt.message;{lete;try{typeoft=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(yo,"getErrorMessage");functionTY(t){returnha(t)}o(TY,"isError");functionEl(){returnpa()}o(El,"randomUUID");varBe=ya;varMY=Symbol("rawContent");functionAw(t){returntypeoft[MY]=="function"}o(Aw,"hasRawContent");functionLY(t){returnAw(t)?t[MY]():t}o(LY,"getRawContent");varog=sd;functionuw(){lett=eg();return{name:og,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(letnofe.multipartBody.parts)Aw(n.body)&&(n.body=LY(n.body));returnt.sendRequest(e,r)},"sendRequest")}}o(uw,"multipartPolicy");vardw=kf;functionmw(){returnTf()}o(mw,"decompressResponsePolicy");functionpw(t={}){returnFf(t
`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!pfe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",ot("InvalidTag",d,nr(t,i))}let A=lfe(t,i);if(A===!1)return ot("InvalidAttr","Attributes for '"+l+"' have open quote.",nr(t,i));let u=A.value;if(i=A.index,u[u.length-1]==="/"){let d=i-u.length;u=u.substring(0,u.length-1);let m=IV(u,e);if(m===!0)n=!0;else return ot(m.err.code,m.err.msg,nr(t,d+m.err.line))}else if(c)if(A.tagClosed){if(u.trim().length>0)return ot("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",nr(t,a));if(r.length===0)return ot("InvalidTag","Closing tag '"+l+"' has not been opened.",nr(t,a));{let d=r.pop();if(l!==d.tagName){let m=nr(t,d.tagStartPos);return ot("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+l+"'.",nr(t,a))}r.length==0&&(s=!0)}}else return ot("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",nr(t,i));else{let d=IV(u,e);if(d!==!0)return ot(d.err.code,d.err.msg,nr(t,i-u.length+d.err.line));if(s===!0)return ot("InvalidXml","Multiple possible root nodes found.",nr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=CV(t,i);continue}else if(t[i+1]==="?"){if(i=EV(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=dfe(t,i);if(d==-1)return ot("InvalidChar","char '&' is not expected.",nr(t,i));i=d}else if(s===!0&&!yV(t[i]))return ot("InvalidXml","Extra text at the end",nr(t,i));t[i]==="<"&&i--}}else{if(yV(t[i]))continue;return ot("InvalidChar","char '"+t[i]+"' is not expected.",nr(t,i))}if(n){if(r.length==1)return ot("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",nr(t,r[0].tagStartPos));if(r.length>0)return ot("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ot("InvalidXml","Start tag expected.",1);return!0}o(Eg,"validate");function yV(t){return t===" "||t===" "||t===`
`||t==="\r"}o(yV,"isWhiteSpace");function EV(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(r,e-r);if(e>5&&n==="xml")return ot("InvalidXml","XML declaration allowed only at the start of the document.",nr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(EV,"readPI");function CV(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(CV,"readCommentAndCDATA");var afe='"',cfe="'";function lfe(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===afe||t[e]===cfe)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){s=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:s}}o(lfe,"readAttributeStr");var Afe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function IV(t,e){let r=gg(t,Afe),n={};for(let s=0;s<r.length;s++){if(r[s][1].length===0)return ot("InvalidAttr","Attribute '"+r[s][2]+"' has no space in starting.",gd(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return ot("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",gd(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return ot("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",gd(r[s]));let i=r[s][2];if(!mfe(i))return ot("InvalidAttr","Attribute '"+i+"' is an invalid name.",gd(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return ot("InvalidAttr","Attribute '"+i+"' is repeated.",gd(r[s]))}return!0}o(IV,"validateAttributeString");function ufe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(ufe,"validateNumberAmpersand");function dfe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,ufe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(dfe,"validateAmpersand");function ot(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(ot,"getErrorObject");function mfe(t){return _w(t)}o(mfe,"validateAttrName");function pfe(t){return _w(t)}o(pfe,"validateTagName");function nr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(nr,"getLineNumberForPosition");function gd(t){return t.startIndex+t[1].length}o(gd,"getPositionFromMatch");var BV={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},QV={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1"
`);let e=new Cr("!xml"),r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let s=this.options,i=new Cd(s.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let A=t.charCodeAt(c+1);if(A===47){let u=bl(t,">",c,"ClosingTagisnotclosed."),d=t.substring(c+2,u).trim();if(s.removeNSPrefix){let p=d.indexOf(":");p!==-1&&(d=d.substr(p+1))}d=Vw(s.transformTagName,d,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let m=this.matcher.getCurrentTag();if(d&&s.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: </${d}>`);m&&s.unpairedTagsSet.has(m)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=u}else if(A===63){let u=Jw(t,c,!1,"?>");if(!u)throw new Error("PiTagisnotclosed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(d){let m=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(m)||1),i.setXmlVersion(Number(m)||1)}if(!(s.ignoreDeclaration&&u.tagName==="?xml"||s.ignorePiTags)){let m=new Cr(u.tagName);m.add(s.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&s.ignoreAttributes!==!0&&(m[":@"]=d),this.addChild(r,m,this.readonlyMatcher,c)}c=u.closeIndex+1}else if(A===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let u=bl(t,"-->",c+4,"Commentisnotclosed.");if(s.commentPropName){let d=t.substring(c+4,u-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:d}])}c=u}else if(A===33&&t.charCodeAt(c+2)===68){let u=i.readDocType(t,c);this.entityDecoder.addInputEntities(u.entities),c=u.i}else if(A===33&&t.charCodeAt(c+2)===91){let u=bl(t,"]]>",c,"CDATAisnotclosed.")-2,d=t.substring(c+9,u);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let m=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);m==null&&(m=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:d}]):r.add(s.textNodeName,m),c=u+2}else{let u=Jw(t,c,s.removeNSPrefix);if(!u){let k=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${k}"`)}let d=u.tagName,m=u.rawTagName,p=u.tagExp,h=u.attrExpPresent,g=u.closeIndex;if({tagName:d,tagExp:p}=Vw(s.transformTagName,d,p,s),s.strictReservedNames&&(d===s.commentPropName||d===s.cdataPropName||d===s.textNodeName||d===s.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let C=r;C&&s.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),p=d):p=p.substr(0,p.length-1),h=d!==p);let E=null,I={},B;B=Ffe(m),d!==e.tagname&&this.matcher.push(d,{},B),d!==p&&h&&(E=this.buildAttributesMap(p,this.matcher,d),E&&(I=Lfe(E,s))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let k="";if(y)c=u.closeIndex;else if(s.unpairedTagsSet.has(d))c=u.closeIndex;else{let ce=this.readStopNodeData(t,m,g+1);if(!ce)throw new Error(`Unexpected end of ${m}`);c=ce.i,k=ce.tagContent}let _=new Cr(d);E&&(_[":@"]=E),_.add(s.textNodeName,k),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,_,this.readonlyMatcher,N)}else{if(y){({tagName:d,tagExp:p}=Vw(s.transformTagName,d,p,s));let k=new Cr(d);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(d)){let k=new Cr(d);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=u.closeIndex;continue}else{let k=new Cr(d);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximumnestedtagsexceeded");this.tagsNodeStack.push(r),E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),r=k}n="",c=g}}}else n+=t[c];return e.child},"parse
${c}:${decodeURIComponent(i[c])}`}returnn}};varWe=classextendswa{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){returnnewbd(e,r,this)}computeHMACSHA256(e){return(0,eJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};varyt=Is("storage-common");varEn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(En||(En={}));varxo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:En.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void0},fge=newYr("The operation was aborted."),wd=classextendsws{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=xo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:xo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):xo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:xo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:xo.maxRetryDelayInMs):xo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:xo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:xo.secondaryHost}}asyncsendRequest(e){returnthis.attemptSendRequest(e,!1,1)}asyncattemptSendRequest(e,r,n){lets=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=vg(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=Qo(s.url,xi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));leta;try{if(yt.info(`RetryPolicy: =====> Try=${n}${i?"Primary":"Secondary"}`),a=awaitthis._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,a))returna;r=r||!i&&a.status===404}catch(c){if(yt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throwc}returnawaitthis.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)returnyt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;leti=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(s){for(letaofi)if(s.name.toUpperCase().includes(a)||s.message.toUpperCase().includes(a)||s.code&&s.code.toString().toUpperCase()===a)returnyt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||s){leta=n?n.status:s?s.statusCode:0;if(!e&&a===404)returnyt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)returnyt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){leta=n.headers.get(Z.X_MS_CopySourceErrorCode);if(a!==void0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}returns?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(yt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}asyncdelay(e,r,n){lets=0;if(e)switch(this.retryOptions.retryPolicyType){caseEn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;caseEn.FIXED:s=this.retryOptions.retryDelayInMs;break}elses=Math.random()*1e3;returnyt.info(`RetryPolicy: Delay for ${s}ms`),Tg(s,n,fge)}};varNd=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){returnnewwd(e,r,this.retryOptions)}};vargge="storageBrowserPolicy";functiontJ(){return{name:gge,asyncsendRequest(t,e){returnBe||((t.method==="GET"||t.method==="HEAD")&&(t.url=Qo(t.url,xi.Parameters.FORCE_BROWSER_NO_CACHE,newDate().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(tJ,"storageBrowserPolicy");varyge="StorageCorrectContentLengthPolicy";functionrJ(){functiont(e){e.body&&(typeof
`}),c}o(n,"getCanonicalizedHeadersString");function s(i){let a=Dg(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=kg(i.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let m=d.toLowerCase();A[m]=l[d],u.push(m)}u.sort();for(let d of u)c+=`
`),i=e.computeHMACSHA256(s);return{sasQueryParameters:newWn(t.version,i,n,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(wEe,"generateBlobSASQueryParameters20150405");functionNEe(t,e){if(t=Ma(t),!t.identifier&&!(t.permissions&&t.expiresOn))thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newWn(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(NEe,"generateBlobSASQueryParameters20181109");functionSEe(t,e){if(t=Ma(t),!t.identifier&&!(t.permissions&&t.expiresOn))thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newWn(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void0,void0,void0,t.encryptionScope),stringToSign:i}}o(SEe,"generateBlobSASQueryParameters20201206");functionREe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newWn(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(REe,"generateBlobSASQueryParametersUDK20181109");functionPEe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void0,t.correlationId,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newWn(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(PEe,"generateBlobSASQueryParametersUDK20200210");functionvEe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void0,t.correlationId,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newWn(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(vEe,"generateBlobSASQueryParametersUDK20201206");functionDEe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)thrownewRangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");letr="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));lets;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());leti=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void0,t.correlationId,void0,t.delegatedUserObjectId,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:newWn(t.version,a,s,void0,void0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(DEe,"generateBlobSASQueryParametersUDK20250705");functionTa(t,e,r){letn=[`/blob/${t}/${e}`];returnr&&n.push(`/${r}`),n.join("")}o(Ta,"getCanonicalName");functionMa(t){lete=t.version?t.version:_g;if(t.snapshotTime&&e<"2018-11-09")throwRangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void0&&t.snapshotTime)throwRangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throwRangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void0&&t.versionId)throwRangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throwRangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throwRangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throwRangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throwRangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throwRangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throwRangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throwRangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throwRangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");returnt.version=e,t}o(Ma,"SASSignatureValuesSanityCheckAndAutofill");varOd=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;getleaseId(){returnthis._leaseId}geturl(){returnthis._url}constructor(e,r){letn=e.storageClientContext;this._url=e.url,e.name===void0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=El()),this._leaseId=r}asyncacquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||r.conditions?.tagConditions))thrownewRangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");returnH.withSpan("BlobLeaseClient-acquireLease",r,asyncn=>V(awaitthis._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}asyncchangeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||r.conditions?.tagConditions))thrownewRangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");returnH.withSpan("BlobLeaseClient-changeLease",r,asyncn=>{lets=V(awaitthis._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));returnthis._leaseId=e,s})}asyncreleaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMat
Ifyouareusingself-hostedrunners,pleasemakesureyourrunnerhasaccesstoallGitHubendpoints:https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Ul.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ua=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
Moreinfoonstoragelimits:https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Ua.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var jd=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var HCe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},XR=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);he(`Sent ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function g4(t,e,r){return HCe(this,void 0,void 0,function*(){var n;let s=new ki(t),i=s.getBlockBlobClient(),a=new XR((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new zy(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ft(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(g4,"uploadCacheArchiveSDK");var E4=Q(require("buffer"),1),Ys=Q(require("fs"),1),C4=Q(require("stream"),1),I4=Q(require("util"),1);var Gy=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function Yy(t){return t?t>=200&&t<300:!1}o(Yy,"isSuccessStatusCode");function zCe(t){return t?t>=500:!0}o(zCe,"isServerErrorStatusCode");function GCe(t){return t?[Je.BadGateway,Je.ServiceUnavailable,Je.GatewayTimeout].includes(t):!1}o(GCe,"isRetryableStatusCode");function YCe(t){return Gy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(YCe,"sleep");function y4(t,e,r){return Gy(this,arguments,void 0,function*(n,s,i,a=hf,c=ff,l=void 0){let A="",u=1;for(;u<=a;){let d,m,p=!1;try{d=yield s()}catch(h){l&&(d=l(h)),p=!0,A=h.message}if(d&&(m=i(d),!zCe(m)))return d;if(m&&(p=GCe(m),A=`Cache service responded with ${m}`),b(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!p){b(`${n} - Error is not retryable`);break}yield YCe(c),u++}throw Error(`${n} failed: ${A}`)})}o(y4,"retry");function Kd(t,e){return Gy(this,arguments,void 0,function*(r,n,s=hf,i=ff){return yield y4(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof gs)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Kd,"retryTypedResponse");function Ol(t,e){return Gy(this,arguments,void 0,function*(r,n,s=hf,i=ff){return yield y4(r,n,a=>a.message.statusCode,s,i)})}o(Ol,"retryHttpClientResponse");var xn=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})
Othercacheswithsimilarkey:`);for(let c of i?.artifactCaches||[])b(`CacheKey:${c?.cacheKey},CacheVersion:${c?.cacheVersion},CacheScope:${c?.scope},CacheCreated:${c?.creationTime}`)}}})}o(ZCe,"printCachesListForDiagnostics");function rP(t,e,r){return xr(this,void 0,void 0,function*(){let n=new v4.URL(t),s=b4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield Q4(t,e,s):s.concurrentBlobDownloads?yield B4(t,e,s):yield Jy(t,e):yield Jy(t,e)})}o(rP,"downloadCache");function k4(t,e,r){return xr(this,void 0,void 0,function*(){let n=tP(),s=Al(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield Kd("reserveCache",()=>xr(this,void 0,void 0,function*(){return n.postJson(Zd("caches"),i)}))})}o(k4,"reserveCache");function P4(t,e){return`bytes${t}-${e}/*`}o(P4,"getContentRange");function eIe(t,e,r,n,s){return xr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${P4(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":P4(n,s)},a=yield Ol(`uploadChunk (start: ${n}, end: ${s})`,()=>xr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!Yy(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(eIe,"uploadChunk");function tIe(t,e,r,n){return xr(this,void 0,void 0,function*(){let s=fs(r),i=Zd(`caches/${e.toString()}`),a=ql.openSync(r,"r"),c=ZR(n),l=wb("uploadConcurrency",c.uploadConcurrency),A=wb("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>xr(this,void 0,void 0,function*(){for(;d<s;){let m=Math.min(s-d,A),p=d,h=d+m-1;d+=A,yield eIe(t,i,()=>ql.createReadStream(r,{fd:a,start:p,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,h)}})))}finally{ql.closeSync(a)}})}o(tIe,"uploadFile");function rIe(t,e,r){return xr(this,void 0,void 0,function*(){let n={size:r};return yield Kd("commitCache",()=>xr(this,void 0,void 0,function*(){return t.postJson(Zd(`caches/${e.toString()}`),n)}))})}o(rIe,"commitCache");function nP(t,e,r,n){return xr(this,void 0,void 0,function*(){if(ZR(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield g4(r,e,n)}else{let i=tP();b("Upload cache"),yield tIe(i,t,e,n),b("Commiting cache");let a=fs(e);he(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield rIe(i,t,a);if(!Yy(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);he("Cache saved successfully")}})}o(nP,"saveCache");var N8=Q(C8(),1),At=Q(lt(),1),Kr=Q(lt(),1),Ga=Q(lt(),1),Ya=Q(lt(),1),Va=Q(lt(),1);var KP=Q(lt(),1),XP=Q(lt(),1),x8=Q(lt(),1),b8=Q(lt(),1),w8=Q(lt(),1);var WP=Q(lt(),1),$P=Q(lt(),1),I8=Q(lt(),1),B8=Q(lt(),1),Q8=Q(lt(),1);var jP=class extends Q8.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,B8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,I8.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?$P.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,WP.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,WP.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$P.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},TE=new jP;var ZP=class extends w8.MessageType{static{o(this
`));let n=yield pv(r,"create");yield hv(n,t)})}o(gv,"createTar");var sA=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Kn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},nA=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},_E=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function v8(t){if(!t||t.length===0)throw new Kn("Path Validation Error: At least one directory or file path is required")}o(v8,"checkPaths");function yv(t){if(t.length>512)throw new Kn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Kn(`Key Validation Error: ${t} cannot contain commas.`)}o(yv,"checkKey");function Ev(){return Xd()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Ev,"isFeatureAvailable");function D8(t,e,r,n){return sA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=Xd();return b(`Cache service version: ${A}`),v8(s),A==="v2"?yield gQe(s,i,a,c,l):yield fQe(s,i,a,c,l)})}o(D8,"restoreCache");function fQe(t,e,r,n){return sA(this,arguments,void 0,function*(s,i,a,c,l=!1){a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Kn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)yv(m);let u=yield Ku(),d="";try{let m=yield D4(A,s,{compressionMethod:u,enableCrossOsArchive:l});if(!m?.archiveLocation)return;if(c?.lookupOnly)return he("Lookup only - skipping download"),m.cacheKey;d=hm.join(yield $u(),ho(u)),b(`Archive Path: ${d}`),yield rP(m.archiveLocation,d,c),ca()&&(yield pm(d,u));let p=fs(d);return he(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield fv(d,u),he("Cache restored successfully"),m.cacheKey}catch(m){let p=m;if(p.name===Kn.name)throw m;p instanceof gs&&typeof p.statusCode=="number"&&p.statusCode>=500?el(`Failed to restore: ${m.message}`):ft(`Failed to restore: ${m.message}`)}finally{try{yield ju(d)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(fQe,"restoreCacheV1");function gQe(t,e,r,n){return sA(this,arguments,void 0,function*(s,i,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Kn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)yv(d);let u="";try{let d=mv(),m=yield Ku(),p={key:i,restoreKeys:a,version:Al(s,m,l)},h=yield d.GetCacheEntryDownloadURL(p);if(!h.ok){b(`Cache not found for version ${p.version} of keys: ${A.join(", ")}`);return}if(p.key!==h.matchedKey?he(`Cache hit for restore-key: ${h.matchedKey}`):he(`Cache hit for: ${h.matchedKey}`),c?.lookupOnly)return he("Lookup only - skipping download"),h.matchedKey;u=hm.join(yield $u(),ho(m)),b(`Archive path: ${u}`),b(`Starting download of archive to: ${u}`),yield rP(h.signedDownloadUrl,u,c);let C=fs(u);return he(`Cache Size: ~${Math.round(C/(1024*1024))} MB (${C} B)`),ca()&&(yield pm(u,m)),yield fv(u,m),he("Cache restored successfully"),h.matchedKey}catch(d){let m=d;if(m.name===Kn.name)throw d;m instanceof gs&&typeof m.statusCode=="number"&&m.statusCode>=500?el(`Failed to restore: ${d.message}`):ft(`Failed to restore: ${d.message}`)}finally{try{u&&(yield ju(u))}catch(d){b(`Failed to delete archive: ${d}`)}}})}o(gQe,"restoreCacheV2");function Cv(t,e,r){return sA(this,arguments,void 0,function*(n,s,i,a=!1){let c=Xd();return b(`Cache service version: ${c}`),v8(n),yv(s),c==="v2"?yield EQe(n,s,i,a):yield yQe(n,s,i,a)})}o(Cv,"saveCache");function yQe(t,e,r){return sA(this,arguments,void 0,f
`,a).length:d,A?(c===null?0:c.length)+l.length:0,A?l.length+d:0);return m<p},"__needMoreData"),parse:o(function(n,s,i,a){let{bom:c,comment_no_infix:l,encoding:A,from_line:u,ltrim:d,max_record_size:m,raw:p,relax_quotes:h,rtrim:g,skip_empty_lines:C,to:y,to_line:E}=this.options,{comment:I,escape:B,quote:N,record_delimiter:k}=this.options,{bomSkipped:_,previousBuf:ce,rawBuffer:Ee,escapeIsQuote:xe}=this.state,z;if(ce===void 0)if(n===void 0){a();return}else z=n;else ce!==void 0&&n===void 0?z=ce:z=Buffer.concat([ce,n]);if(_===!1)if(c===!1)this.state.bomSkipped=!0;else if(z.length<3){if(s===!1){this.state.previousBuf=z;return}}else{for(let me in yA)if(yA[me].compare(z,0,yA[me].length)===0){let ut=yA[me].length;this.state.bufBytesStart+=ut,z=z.slice(ut);let ze=QD({...this.original_options,encoding:me});for(let rt in ze)this.options[rt]=ze[rt];({comment:I,escape:B,quote:N}=this.options);break}this.state.bomSkipped=!0}let te=z.length,U;for(U=0;U<te&&!this.__needMoreData(U,te,s);U++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),E!==-1&&this.info.lines>E){this.state.stop=!0,a();return}this.state.quoting===!1&&k.length===0&&this.__autoDiscoverRecordDelimiter(z,U)&&(k=this.options.record_delimiter);let me=z[U];if(p===!0&&Ee.append(me),(me===_we||me===Uwe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(B!==null&&this.state.quoting===!0&&this.__isEscape(z,U,me)&&U+B.length<te)if(xe){if(this.__isQuote(z,U+B.length)){this.state.escaping=!0,U+=B.length-1;continue}}else{this.state.escaping=!0,U+=B.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(z,U))if(this.state.quoting===!0){let rt=z[U+N.length],ei=g&&this.__isCharTrimable(z,U+N.length),Sr=I!==null&&this.__compareBytes(I,z,U+N.length,rt),es=this.__isDelimiter(z,U+N.length,rt),Mo=k.length===0?this.__autoDiscoverRecordDelimiter(z,U+N.length):this.__isRecordDelimiter(rt,z,U+N.length);if(B!==null&&this.__isEscape(z,U,me)&&this.__isQuote(z,U+B.length))U+=B.length-1;else if(!rt||es||Mo||Sr||ei){this.state.quoting=!1,this.state.wasQuoting=!0,U+=N.length-1;continue}else if(h===!1){let Za=this.__error(new ye("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(rt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Za!==void 0)return Za}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(N),U+=N.length-1}else if(this.state.field.length!==0){if(h===!1){let rt=this.__infoField(),ei=Object.keys(yA).map(es=>yA[es].equals(this.state.field.toString())?es:!1).filter(Boolean)[0],Sr=this.__error(new ye("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rt.column)} at line ${rt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,ei?`(${ei} bom)`:void 0],this.options,rt,{field:this.state.field}));if(Sr!==void 0)return Sr}}else{this.state.quoting=!0,U+=N.length-1;continue}if(this.state.quoting===!1){let rt=this.__isRecordDelimiter(me,z,U);if(rt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),U+=rt-1;continue}if(C===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,U+=rt-1;continue}this.info.bytes=this.state.bufBytesStart+U;let es=this.__onField();if(es!==void 0)return es;this.info.bytes=this.state.bufBytesStart+U+rt;let Mo=this.__onRecord(i);if(Mo!==void 0)return Mo;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,U+=rt-1;continue}if(this.state.commenting)continue;if(I!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(I,z,U,me)!==0){this.state.commenting=!0;continue}let ei