1
0
Files
setup-qemu-action/dist/index.cjs
T

150 lines
1.3 MiB
JavaScript
Raw Normal View History

2026-06-29 14:38:30 +02:00
var n5=Object.create;var km=Object.defineProperty;var s5=Object.getOwnPropertyDescriptor;var i5=Object.getOwnPropertyNames;var o5=Object.getPrototypeOf,a5=Object.prototype.hasOwnProperty;var o=(t,e)=>km(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),c5=(t,e)=>{for(var r in e)km(t,r,{get:e[r],enumerable:!0})},l5=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i5(e))!a5.call(t,s)&&s!==r&&km(t,s,{get:()=>e[s],enumerable:!(n=s5(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?n5(o5(t)):{},l5(e||!t||!t.__esModule?km(r,"default",{value:t,enumerable:!0}):r,t));var DD=f(ec=>{"use strict";var Kwe=require("net"),m5=require("tls"),DC=require("http"),RD=require("https"),p5=require("events"),Xwe=require("assert"),h5=require("util");ec.httpOverHttp=f5;ec.httpsOverHttp=g5;ec.httpOverHttps=y5;ec.httpsOverHttps=E5;function f5(t){var e=new ri(t);return e.request=DC.request,e}o(f5,"httpOverHttp");function g5(t){var e=new ri(t);return e.request=DC.request,e.createSocket=PD,e.defaultPort=443,e}o(g5,"httpsOverHttp");function y5(t){var e=new ri(t);return e.request=RD.request,e}o(y5,"httpOverHttps");function E5(t){var e=new ri(t);return e.request=RD.request,e.createSocket=PD,e.defaultPort=443,e}o(E5,"httpsOverHttps");function ri(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||DC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=vD(s,i,a),l=0,A=e.requests.length;l<A;++l){var u=e.requests[l];if(u.host===c.host&&u.port===c.port){e.requests.splice(l,1),u.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(ri,"TunnelingAgent");h5.inherits(ri,p5.EventEmitter);ri.prototype.addRequest=o(function(e,r,n,s){var i=this,a=kC({request:e},i.options,vD(r,n,s));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function A(u){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");ri.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=kC({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),qi("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,m,p){process.nextTick(function(){A(d,m,p)})}o(l,"onUpgrade");function A(d,m,p){if(a.removeAllListeners(),m.removeAllListeners(),d.statusCode!==200){qi("tunneling socket could not be established, statusCode=%d",d.statusCode),m.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}if(p.length>0){qi("got illegal response body from proxy"),m.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}return qi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),qi(`tunneling socket could not be established, cause=%s
`,d.message,d.stack);var m=new Error("tunneling socket could not be established, cause="+d.message);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(s)}o(u,"onError")},"createSocket");ri.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(s){n.request.onSocket(s)})}},"removeSocket");function PD(t,e){var r=this;ri.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=kC({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=m5.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(PD,"createSecureSocket");function vD(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(vD,"toOptions");function kC(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var s=Object.keys(n),i=0,a=s.length;i<a;++i){var c=s[i];n[c]!==void 0&&(t[c]=n[c])}}return t}o(kC,"mergeOptions");var qi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?qi=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):qi=o(function(){},"debug");ec.debug=qi});var TC=f((tNe,kD)=>{kD.exports=DD()});var Fe=f((rNe,TD)=>{TD.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var Ce=f((nNe,ik)=>{"use strict";var MD=Symbol.for("undici.error.UND_ERR"),_e=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[MD]===!0}[MD]=!0},LD=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),MC=class extends _e{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIME
`)||t.includes("\r")||t.includes("\0"))===!1}o(ET,"isValidHeaderValue");function M6(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),s="";if(n.length>0)for(let i=n.length;i!==0;i--){let a=n[i-1].trim();if(E6.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(M6,"setRequestReferrerPolicyOnRedirect");function L6(){return"allowed"}o(L6,"crossOriginResourcePolicyCheck");function F6(){return"success"}o(F6,"corsCheck");function _6(){return"success"}o(_6,"TAOCheck");function U6(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(U6,"appendFetchMetadata");function O6(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&PI(t.origin)&&!PI(SA(t))&&(e=null);break;case"same-origin":rp(t,SA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(O6,"appendRequestOriginHeader");function Ac(t,e){return t}o(Ac,"coarsenTime");function q6(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:Ac(t.domainLookupStartTime,r),domainLookupEndTime:Ac(t.domainLookupEndTime,r),connectionStartTime:Ac(t.connectionStartTime,r),connectionEndTime:Ac(t.connectionEndTime,r),secureConnectionStartTime:Ac(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(q6,"clampAndCoarsenConnectionTimingInfo");function H6(t){return Ac(x6.now(),t)}o(H6,"coarsenedSharedCurrentTime");function z6(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(z6,"createOpaqueTimingInfo");function CT(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(CT,"makePolicyContainer");function G6(t){return{referrerPolicy:t.referrerPolicy}}o(G6,"clonePolicyContainer");function Y6(t){let e=t.referrerPolicy;Uo(e);let r=null;if(t.referrer==="client"){let c=pT();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=RI(r),s=RI(r,!0);n.toString().length>4096&&(n=s);let i=rp(t,n),a=NA(n)&&!NA(t.url);switch(e){case"origin":return s??RI(r,!0);case"unsafe-url":return n;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?n:s;case"strict-origin-when-cross-origin":{let c=SA(t);return rp(n,c)?n:NA(n)&&!NA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(Y6,"determineRequestsReferrer");function RI(t,e){return Uo(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(RI,"stripURLForReferrer");function NA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(NA,"isURLPotentiallyTrustworthy");function V6(t,e){if(tp===void 0)return!0;let r=IT(e);if(r==="no metadata"||r.length===0)return!0;let n=W6(r),s=$6(r,n);for(let i of s){let a=i.algo,c=i.hash,l=tp.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),j6(l,c))return!0}return!1}o(V6,"bytesMatch");var J6=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function IT(t){let e
`);function kj(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(kj,"isAsciiString");function Tj(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let n=t.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(Tj,"validateBoundary");function Mj(t,e){sp(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),s=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+n.length).equals(n))i.position+=n.length;else return"failure";if(i.position===t.length-2&&ip(t,vj,i)||i.position===t.length-4&&ip(t,Dj,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Lj(t,i);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;i.position+=2;let m;{let h=t.indexOf(n.subarray(2),i.position);if(h===-1)return"failure";m=t.subarray(i.position,h-4),i.position+=m.length,d==="base64"&&(m=Buffer.from(m.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let p;A!==null?(u??="text/plain",kj(u)||(u=""),p=new Rj([m],A,{type:u})):p=xj(Buffer.from(m)),sp(TT(l)),sp(typeof p=="string"&&TT(p)||wj(p)),s.push(Nj(l,p,A))}}o(Mj,"multipartFormDataParser");function Lj(t,e){let r=null,n=null,s=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:s,encoding:i};let a=dc(c=>c!==10&&c!==13&&c!==58,t,e);if(a=FI(a,!0,!0,c=>c===9||c===32),!bj.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,dc(c=>c===32||c===9,t,e),Qj(a)){case"content-disposition":{if(r=n=null,!ip(t,Pj,e)||(e.position+=17,r=FT(t,e),r===null))return"failure";if(ip(t,LT,e)){let c=e.position+LT.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=FT(t,e),n===null))return"failure"}break}case"content-type":{let c=dc(l=>l!==10&&l!==13,t,e);c=FI(c,!1,!0,l=>l===9||l===32),s=MT(c);break}case"content-transfer-encoding":{let c=dc(l=>l!==10&&l!==13,t,e);c=FI(c,!1,!0,l=>l===9||l===32),i=MT(c);break}default:dc(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Lj,"parseMultipartFormDataHeaders");function FT(t,e){sp(t[e.position-1]===34);let r=dc(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(FT,"parseMultipartFormDataName");function dc(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(dc,"collectASequenceOfBytes");function FI(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s<t.length&&n(t[s]);)s++;if(r)for(;i>0&&n(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}o(FI,"removeChars");function ip(t,e,r){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[r.position+n])return!1;return!0}o(ip,"bufferStartsWith");_T.exports={multipartFormDataParser:Mj,validateBoundary:Tj}});var hc=f((zNe,$T)=>{"use strict";var vA=le(),{ReadableStreamFrom:Fj,isBlobLike:OT,isReadableStreamLike:_j,readableStreamClose:Uj,createDeferredPromise:Oj,fullyReadBody:qj,extractMimeType:Hj,utf8DecodeBytes:zT}=Rr(),{FormData:qT}=PA(),{kState:pc}=Hi(),{webidl:zj}=Dt(),{Blob:Gj}=require("node:buffer"),_I=require("node:assert"),{isErrored:GT,isDisturbed:Yj}=require("node:stream"),{isArrayBuffer:Vj}=require("node:util/types"),{serializeAMimeType:Jj}=ar(),{multipartFormDataParser:Wj}=UT(),UI;try{let t=require("node:crypto");UI=o(e=>t.randomInt(0,e),"random")}catch{UI=o(t=>Math.floor(Math.random(t)),"random")}var op=new TextEncoder;function $j(){}o($j,"noop");var YT=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,VT;YT&&(VT=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Yj(e)&&!GT(e)&&e.cancel("Response object has been garbage collected").catch($j)}));function JT(t,e=!1){let r=null;t instanceof ReadableStream?r=t:OT(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?op.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>Uj(l))},start(){},type:"bytes"}),_I(_j(r));let n=null,s=null,i=null,a=null;if(typeof t=="string")s=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)s=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(Vj(t))s=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))s=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(vA.isFormDataLike(t)){let l=`----formdata-undici-0${`${UI(1e11)}`.padStart(11,"0")}`,A=`--${l}\r
Content-Disposition: form-data`;let u=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(C=>C.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),m=[],p=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,y]of t)if(typeof y=="string"){let E=op.encode(A+`; name="${u(d(C))}"\r
\r
2026-06-29 14:38:30 +02:00
${d(y)}\r
`);m.push(E),i+=E.byteLength}else{let E=op.encode(`${A}; name="${u(d(C))}"`+(y.name?`; filename="${u(y.name)}"`:"")+`\r
Content-Type: ${y.type||"application/octet-stream"}\r
\r
2026-06-29 14:38:30 +02:00
`);m.push(E,y,p),typeof y.size=="number"?i+=E.byteLength+y.size+p.byteLength:h=!0}let g=op.encode(`--${l}--\r
`);m.push(g),i+=g.byteLength,h&&(i=null),s=t,n=o(async function*(){for(let C of m)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(OT(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(vA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Fj(t)}if((typeof s=="string"||vA.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!GT(r)){let m=new Uint8Array(u);m.byteLength&&A.enqueue(m)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:s,length:i},a]}o(JT,"extractBody");function jj(t,e=!1){return t instanceof ReadableStream&&(_I(!vA.isDisturbed(t),"The body has already been consumed."),_I(!t.locked,"The stream is locked.")),JT(t,e)}o(jj,"safelyExtractBody");function Kj(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(Kj,"cloneBody");function Xj(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Xj,"throwIfAborted");function Zj(t){return{blob(){return mc(this,r=>{let n=HT(this);return n===null?n="":n&&(n=Jj(n)),new Gj([r],{type:n})},t)},arrayBuffer(){return mc(this,r=>new Uint8Array(r).buffer,t)},text(){return mc(this,zT,t)},json(){return mc(this,tK,t)},formData(){return mc(this,r=>{let n=HT(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=Wj(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new qT;return i[pc]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new qT;for(let[a,c]of s)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return mc(this,r=>new Uint8Array(r),t)}}}o(Zj,"bodyMixinMethods");function eK(t){Object.assign(t.prototype,Zj(t))}o(eK,"mixinBody");async function mc(t,e,r){if(zj.brandCheck(t,r),WT(t))throw new TypeError("Body is unusable: Body has already been read");Xj(t[pc]);let n=Oj(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[pc].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await qj(t[pc].body,i,s),n.promise)}o(mc,"consumeBody");function WT(t){let e=t[pc].body;return e!=null&&(e.stream.locked||vA.isDisturbed(e.stream))}o(WT,"bodyUnusable");function tK(t){return JSON.parse(zT(t))}o(tK,"parseJSONFromBytes");function HT(t){let e=t[pc].headersList,r=Hj(e);return r==="failure"?null:r}o(HT,"bodyMimeType");$T.exports={extractBody:JT,safelyExtractBody:jj,cloneBody:Kj,mixinBody:eK,streamRegistry:VT,hasFinalizationRegistry:YT,bodyUnusable:WT}});var lM=f((YNe,cM)=>{"use strict";var J=require("node:assert"),ee=le(),{channels:jT}=rc(),OI=II(),{RequestContentLengthMismatchError:Oo,ResponseContentLengthMismatchError:KT,RequestAbortedError:iM,HeadersTimeoutError:rK,HeadersOverflowError:nK,SocketError:mp,InformationalError:fc,BodyTimeoutError:sK,HTTPParserError:iK,ResponseExceededMaxSizeError:oK}=Ce(),{kUrl:oM,kReset:cr,kClient:Ap,kParser:Ve,kBlocking:TA,kRunning:Lt,kPending:aK,kSize:XT,kWriting:Gi,kQueue:Pn,kNoRef:DA,kKeepAliveDefaultTimeout:cK,kHostHeader:lK,kPendingIdx:AK,kRunningIdx:nn,kError:Jt,kPipelining:up,kSocket:gc,kKeepAliveTimeoutValue:pp,kMaxHeadersSize:qI,kKeepAliveMaxTimeout:uK,kKeepAliveTimeoutThreshold:dK,kHeadersTimeout:mK,kBodyTimeout:pK,kStrictContentLength:GI,kMaxRequests:ZT,kCounter:hK,kMaxResponseSize:fK,kOnError:eM,kResume:zi,kHTTPContext:aM}=Fe(),Pr=Vk(),tM=Buffer.alloc(0),ap=Buffer[Symbol.species],cp=ee.addListener,gK=ee.removeAllListeners,HI;async function yK(){let t=process.env.JEST_WORKER_ID?xI():void 0,e;try{e=await WebAssembly.compile($k())}catch{e=await WebAssembly.compile(t||xI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:
`;if(typeof s=="string"?g+=`host: ${s}\r
`:g+=t[lK],i?g+=`connection: upgrade\r
upgrade: ${i}\r
2026-06-29 14:38:30 +02:00
`:t[up]&&!p[cr]?g+=`connection: keep-alive\r
`:g+=`connection: close\r
`,Array.isArray(A))for(let C=0;C<A.length;C+=2){let y=A[C+0],E=A[C+1];if(Array.isArray(E))for(let I=0;I<E.length;I++)g+=`${y}: ${E[I]}\r
`;else g+=`${y}: ${E}\r
`}return jT.sendHeaders.hasSubscribers&&jT.sendHeaders.publish({request:e,headers:g,socket:p}),!l||m===0?nM(h,null,t,e,p,u,g,d):ee.isBuffer(l)?nM(h,l,t,e,p,u,g,d):ee.isBlobLike(l)?typeof l.stream=="function"?sM(h,l.stream(),t,e,p,u,g,d):bK(h,l,t,e,p,u,g,d):ee.isStream(l)?xK(h,l,t,e,p,u,g,d):ee.isIterable(l)?sM(h,l,t,e,p,u,g,d):J(!1),!0}o(QK,"writeH1");function xK(t,e,r,n,s,i,a,c){J(i!==0||r[Lt]===0,"stream body cannot be pipelined");let l=!1,A=new hp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),u=o(function(h){if(!l)try{!A.write(h)&&this.pause&&this.pause()}catch(g){ee.destroy(this,g)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),m=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let h=new iM;queueMicrotask(()=>p(h))}},"onClose"),p=o(function(h){if(!l){if(l=!0,J(s.destroyed||s[Gi]&&r[Lt]<=1),s.off("drain",d).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",m),!h)try{A.end()}catch(g){h=g}A.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?ee.destroy(e,h):ee.destroy(e)}},"onFinished");e.on("data",u).on("end",p).on("error",p).on("close",m),e.resume&&e.resume(),s.on("drain",d).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(m)}o(xK,"writeStream");function nM(t,e,r,n,s,i,a,c){try{e?ee.isBuffer(e)&&(J(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r
\r
2026-06-29 14:38:30 +02:00
`,"latin1"),s.write(e),s.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(s[cr]=!0)):i===0?s.write(`${a}content-length: 0\r
\r
2026-06-29 14:38:30 +02:00
`,"latin1"):(J(i===null,"no body must not have content length"),s.write(`${a}\r
`,"latin1")),n.onRequestSent(),r[zi]()}catch(l){t(l)}}o(nM,"writeBuffer");async function bK(t,e,r,n,s,i,a,c){J(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Oo;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r
\r
2026-06-29 14:38:30 +02:00
`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[cr]=!0),r[zi]()}catch(l){t(l)}}o(bK,"writeBlob");async function sM(t,e,r,n,s,i,a,c){J(i!==0||r[Lt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let m=l;l=null,m()}}o(A,"onDrain");let u=o(()=>new Promise((m,p)=>{J(l===null),s[Jt]?p(s[Jt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new hp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Jt])throw s[Jt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(sM,"writeIterable");var hp=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Gi]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Jt])throw r[Jt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[GI])throw new Oo;process.emitWarning(new Oo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[cr]=!0),s===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"):r.write(`${l}content-length: ${s}\r
\r
2026-05-27 14:58:54 +00:00
`,"latin1")),s===null&&r.write(`\r
2026-06-29 14:38:30 +02:00
${A.toString(16)}\r
`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[Ve].timeout&&r[Ve].timeoutType===yc&&r[Ve].timeout.refresh&&r[Ve].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[Gi]=!1,e[Jt])throw e[Jt];if(!e.destroyed){if(s===0?i?e.write(`${a}content-length: 0\r
\r
2026-06-29 14:38:30 +02:00
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
2026-06-29 14:38:30 +02:00
`,"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
`,this[yX]=l??3e5,this[gX]=s??3e5,this[EX]=E??!0,this[CX]=B,this[tB]=k,this[Wi]=null,this[bX]=ce>-1?ce:-1,this[NX]=z??100,this[st]=null,this[Tn]=[],this[Ai]=0,this[Mn]=0,this[UA]=me=>nB(this,me),this[wX]=me=>RM(this,me)}get pipelining(){return this[Qp]}set pipelining(e){this[Qp]=e,this[UA](!0)}get[HA](){return this[Tn].length-this[Mn]}get[qA](){return this[Mn]-this[Ai]}get[OA](){return this[Tn].length-this[Ai]}get[AX](){return!!this[st]&&!this[Ic]&&!this[st].destroyed}get[eB](){return!!(this[st]?.busy(null)||this[OA]>=(SM(this)||1)||this[HA]>0)}[lX](e){PM(this),this.once("connect",e)}[xX](e,r){let n=e.origin||this[as].origin,s=new nX(n,e,r);return this[Tn].push(s),this[Ho]||(qo.bodyLength(s.body)==null&&qo.isIterable(s.body)?(this[Ho]=1,queueMicrotask(()=>nB(this))):this[UA](!0)),this[Ho]&&this[$i]!==2&&this[eB]&&(this[$i]=2),this[$i]<2}async[BX](){return new Promise(e=>{this[OA]?this[Wi]=e:e(null)})}async[QX](e){return new Promise(r=>{let n=this[Tn].splice(this[Mn]);for(let i=0;i<n.length;i++){let a=n[i];qo.errorRequest(this,a,e)}let s=o(()=>{this[Wi]&&(this[Wi](),this[Wi]=null),r(null)},"callback");this[st]?(this[st].destroy(e,s),this[st]=null):queueMicrotask(s),this[UA]()})}},PX=Bp();function RM(t,e){if(t[qA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){li(t[Mn]===t[Ai]);let r=t[Tn].splice(t[Ai]);for(let n=0;n<r.length;n++){let s=r[n];qo.errorRequest(t,s,e)}li(t[OA]===0)}}o(RM,"onError");async function PM(t){li(!t[Ic]),li(!t[st]);let{host:e,hostname:r,protocol:n,port:s}=t[as];if(r[0]==="["){let i=r.indexOf("]");li(i!==-1);let a=r.substring(1,i);li(NM.isIP(a)),r=a}t[Ic]=!0,Cc.beforeConnect.hasSubscribers&&Cc.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[st]?.version,servername:t[Ji],localAddress:t[_A]},connector:t[FA]});try{let i=await new Promise((a,c)=>{t[FA]({host:e,hostname:r,protocol:n,port:s,servername:t[Ji],localAddress:t[_A]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){qo.destroy(i.on("error",bM),new oX);return}li(i);try{t[st]=i.alpnProtocol==="h2"?await RX(t,i):await SX(t,i)}catch(a){throw i.destroy().on("error",bM),a}t[Ic]=!1,i[IX]=0,i[tB]=t[tB],i[cX]=t,i[dX]=null,Cc.connected.hasSubscribers&&Cc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[st]?.version,servername:t[Ji],localAddress:t[_A]},connector:t[FA],socket:i}),t.emit("connect",t[as],[t])}catch(i){if(t.destroyed)return;if(t[Ic]=!1,Cc.connectError.hasSubscribers&&Cc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[st]?.version,servername:t[Ji],localAddress:t[_A]},connector:t[FA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(li(t[qA]===0);t[HA]>0&&t[Tn][t[Mn]].servername===t[Ji];){let a=t[Tn][t[Mn]++];qo.errorRequest(t,a,i)}else RM(t,i);t.emit("connectionError",t[as],[t],i)}t[UA]()}o(PM,"connect");function wM(t){t[$i]=0,t.emit("drain",t[as],[t])}o(wM,"emitDrain");function nB(t,e){t[Ho]!==2&&(t[Ho]=2,vX(t,e),t[Ho]=0,t[Ai]>256&&(t[Tn].splice(0,t[Ai]),t[Mn]-=t[Ai],t[Ai]=0))}o(nB,"resume");function vX(t,e){for(;;){if(t.destroyed){li(t[HA]===0);return}if(t[Wi]&&!t[OA]){t[Wi](),t[Wi]=null;return}if(t[st]&&t[st].resume(),t[eB])t[$i]=2;else if(t[$i]===2){e?(t[$i]=1,queueMicrotask(()=>wM(t))):wM(t);continue}if(t[HA]===0||t[qA]>=(SM(t)||1))return;let r=t[Tn][t[Mn]];if(t[as].protocol==="https:"&&t[Ji]!==r.servername){if(t[qA]>0)return;t[Ji]=r.servername,t[st]?.destroy(new iX("servername changed"),()=>{t[st]=null,nB(t)})}if(t[Ic])return;if(!t[st]){PM(t);return}if(t[st].destroyed||t[st].busy(r))return;!r.aborted&&t[st].write(r)?t[Mn]++:t[Tn].splice(t[Mn],1)}}o(vX,"_resume");vM.exports=rB});var sB=f((r0e,DM)=>{"use strict";var xp=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};DM.exports=class{static{o(this,"Fix
2026-05-27 14:58:54 +00:00
${n.count} ${n.noun} ${n.is} pending:
${e.format(r)}
2026-06-29 14:38:30 +02:00
`.trim())}};jF.exports=uQ});var Hp=f((sSe,t2)=>{"use strict";var XF=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:yee}=Ce(),Eee=xc();e2()===void 0&&ZF(new Eee);function ZF(t){if(!t||typeof t.dispatch!="function")throw new yee("Argument agent must implement Agent");Object.defineProperty(globalThis,XF,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(ZF,"setGlobalDispatcher");function e2(){return globalThis[XF]}o(e2,"getGlobalDispatcher");t2.exports={setGlobalDispatcher:ZF,getGlobalDispatcher:e2}});var zp=f((aSe,r2)=>{"use strict";r2.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var s2=f((lSe,n2)=>{"use strict";var Cee=Ip();n2.exports=t=>{let e=t?.maxRedirections;return r=>o(function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)return r(s,i);let l=new Cee(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var o2=f((uSe,i2)=>{"use strict";var Iee=Dp();i2.exports=t=>e=>o(function(n,s){return e(n,new Iee({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var c2=f((mSe,a2)=>{"use strict";var Bee=le(),{InvalidArgumentError:Qee,RequestAbortedError:xee}=Ce(),bee=zp(),dQ=class extends bee{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#s=0;#n=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Qee("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#i=!0,this.#n=e}onHeaders(e,r,n,s){let a=Bee.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new xee(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,n,s)}onError(e){this.#r||(e=this.#n??e,this.#o.onError(e))}onData(e){return this.#s=this.#s+e.length,this.#s>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#n):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function wee({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=new dQ({maxSize:i},s);return e(n,a)},"Intercept")}o(wee,"createDumpInterceptor");a2.exports=wee});var u2=f((hSe,A2)=>{"use strict";var{isIP:Nee}=require("node:net"),{lookup:See}=require("node:dns"),Ree=zp(),{InvalidArgumentError:Tc,InformationalError:Pee}=Ce(),l2=Math.pow(2,31)-1,mQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#i,this.pick=e.pick??this.#s}get full(){return this.#r.size===this.#t}runLookup(e,r,n){let s=this.#r.get(e.hostname);if(s==null&&this.full){n(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){n(a??new Pee("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.get(e.hostname),A=this.pick(e,l,i.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,s,i.affinity);if(a==null){this.#r.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#i(e,r,n){See(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>
${i}`;break;case"retry":GU(i)&&(r[s]=i);break;case"id":YU(i)&&(r[s]=i);break;case"event":i.length>0&&(r[s]=i);break}}processEvent(e){e.retry&&GU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&YU(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};VU.exports={EventSourceStream:ex}});var t1=f((yRe,e1)=>{"use strict";var{pipeline:Use}=require("node:stream"),{fetching:Ose}=nu(),{makeRequest:qse}=Fc(),{webidl:hi}=Dt(),{EventSourceStream:Hse}=JU(),{parseMIMEType:zse}=ar(),{createFastMessageEvent:Gse}=zc(),{isNetworkError:WU}=tu(),{delay:Yse}=XQ(),{kEnumerableProperty:sa}=le(),{environmentSettingsObject:$U}=Rr(),jU=!1,KU=3e3,fu=0,XU=1,gu=2,Vse="anonymous",Jse="use-credentials",Wc=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=fu;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),hi.util.markAsUncloneable(this);let n="EventSource constructor";hi.argumentLengthCheck(arguments,1,n),jU||(jU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=hi.converters.USVString(e,n,"url"),r=hi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:KU};let s=$U,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=Vse;r.withCredentials&&(a=Jse,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=$U.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#s=qse(c),this.#c()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#c(){if(this.#i===gu)return;this.#i=fu;let e={request:this.#s,dispatcher:this.#o},r=o(n=>{WU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(WU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let s=n.headersList.get("content-type",!0),i=s!==null?zse(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=XU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Hse({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(Gse(l.type,l.options))},"push")});Use(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=Ose(e)}async#l(){this.#i!==gu&&(this.#i=fu,this.dispatchEvent(new Event("error")),await Yse(this.#a.reconnectionTime),this.#i===fu&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){hi.brandCheck(this,t),this.#i!==gu&&(this.#i=gu,this.#n.abort(),this.#s=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},ZU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:fu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:XU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:gu,writable:!1}};Obj
%s`,N,N,E,n);var k=E.type==="*"?eb:E.type==="?"?Zx:"\\"+E.type;s=!0,n=n.slice(0,E.reStart)+k+"\\("+N}h(),i&&(n+="\\\\");var _=!1;switch(n.charAt(0)){case"[":case".":case"(":_=!0}for(var ce=c.length-1;ce>-1;ce--){var Ee=c[ce],xe=n.slice(0,Ee.reStart),z=n.slice(Ee.reStart,Ee.reEnd-8),te=n.slice(Ee.reEnd-8,Ee.reEnd),U=n.slice(Ee.reEnd);te+=U;var me=xe.split("(").length-1,ut=U;for(g=0;g<me;g++)ut=ut.replace(/\)[+*?]?/,"");U=ut;var ze="";U===""&&e!==Xh&&(ze="$");var rt=xe+z+U+ze+te;n=rt}if(n!==""&&s&&(n="(?=.)"+n),_&&(n=m+n),e===Xh)return[n,s];if(!s)return Ile(t);var ei=r.nocase?"i":"";try{var Sr=new RegExp("^"+n+"$",ei)}catch{return new RegExp("$.")}return Sr._glob=t,Sr._src=n,Sr}o(Ele,"parse");Ur.makeRe=function(t,e){return new kt(t,e||{}).makeRe()};kt.prototype.makeRe=Cle;function Cle(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?eb:e.dot?dle:mle,n=e.nocase?"i":"",s=t.map(function(i){return i.map(function(a){return a===tb?r:typeof a=="string"?Ble(a):a._src}).join("\\/")}).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch{this.regexp=!1}return this.regexp}o(Cle,"makeRe");Ur.match=function(t,e,r){r=r||{};var n=new kt(e,r);return t=t.filter(function(s){return n.match(s)}),n.options.nonull&&!t.length&&t.push(e),t};kt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Fu.sep!=="/"&&(e=e.split(Fu.sep).join("/")),e=e.split(tH),this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a<s.length;a++){var c=s[a],l=e;n.matchBase&&c.length===1&&(l=[i]);var A=this.matchOne(l,c,r);if(A)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");kt.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,i=0,a=t.length,c=e.length;s<a&&i<c;s++,i++){this.debug("matchOne loop");var l=e[i],A=t[s];if(this.debug(e,l,A),l===!1)return!1;if(l===tb){this.debug("GLOBSTAR",[e,l,A]);var u=s,d=i+1;if(d===c){for(this.debug("** at the end");s<a;s++)if(t[s]==="."||t[s]===".."||!n.dot&&t[s].charAt(0)===".")return!1;return!0}for(;u<a;){var m=t[u];if(this.debug(`
globstar while`,t,u,e,d,m),this.matchOne(t.slice(u),e.slice(d),r))return this.debug("globstar found match!",u,a,m),!0;if(m==="."||m===".."||!n.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,u,e,d);break}this.debug("globstar swallow a segment, and continue"),u++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,u,e,d),u===a))}var p;if(typeof l=="string"?(p=A===l,this.debug("string match",l,A,p)):(p=A.match(l),this.debug("pattern match",l,A,p)),!p)return!1}if(s===a&&i===c)return!0;if(s===a)return r;if(i===c)return s===a-1&&t[s]==="";throw new Error("wtf?")};function Ile(t){return t.replace(/\\(.)/g,"$1")}o(Ile,"globUnescape");function Ble(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(Ble,"regExpEscape")});var Ou=f((nTe,cH)=>{"use strict";var Ple="2.0.0",vle=Number.MAX_SAFE_INTEGER||9007199254740991,Dle=16,kle=250,Tle=["major","premajor","minor","preminor","patch","prepatch","prerelease"];cH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Dle,MAX_SAFE_BUILD_LENGTH:kle,MAX_SAFE_INTEGER:vle,RELEASE_TYPES:Tle,SEMVER_SPEC_VERSION:Ple,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var qu=f((sTe,lH)=>{"use strict";var Mle=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};lH.exports=Mle});var al=f((hs,AH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:nb,MAX_SAFE_BUILD_LENGTH:Lle,MAX_LENGTH:Fle}=Ou(),_le=qu();hs=AH.exports={};var Ule=hs.re=[],Ole=hs.safeRe=[],L=hs.src=[],qle=hs.safeSrc=[],F=hs.t={},Hle=0,sb="[a-zA-Z0-9-]",zle=[["\\s",1],["\\d",Fle],[sb,Lle]],Gle=o(t=>{for(let[e,r]of zle)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let n=Gle(e),s=Hle++;_le(t,s,e),F[t]=s,L[s]=e,qle[s]=n,Ule[s]=new RegExp(e,r?"g":void 0),Ole[s]=new RegExp(n,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${sb}*`);ne("MAINVERSION",`(${L[F.NUMERICIDENTIFIER]})\\.(${L[F.NUMERICIDENTIFIER]})\\.(${L[F.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${L[F.NUMERICIDENTIFIERLOOSE]})\\.(${L[F.NUMERICIDENTIFIERLOOSE]})\\.(${L[F.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${L[F.NONNUMERICIDENTIFIER]}|${L[F.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${L[F.NONNUMERICIDENTIFIER]}|${L[F.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${L[F.PRERELEASEIDENTIFIER]}(?:\\.${L[F.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${L[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[F.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${sb}+`);ne("BUILD",`(?:\\+(${L[F.BUILDIDENTIFIER]}(?:\\.${L[F.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${L[F.MAINVERSION]}${L[F.PRERELEASE]}?${L[F.BUILD]}?`);ne("FULL",`^${L[F.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${L[F.MAINVERSIONLOOSE]}${L[F.PRERELEASELOOSE]}?${L[F.BUILD]}?`);ne("LOOSE",`^${L[F.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${L[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${L[F.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${L[F.XRANGEIDENTIFIER]})(?:\\.(${L[F.XRANGEIDENTIFIER]})(?:\\.(${L[F.XRANGEIDENTIFIER]})(?:${L[F.PRERELEASE]})?${L[F.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${L[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[F.XRANGEIDENTIFIERLOOSE]})(?:${L[F.PRERELEASELOOSE]})?${L[F.BUILD]}?)?)?`);ne("XRANGE",`^${L[F.GTLT]}\\s*${L[F.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${L[F.GTLT]}\\s*${L[F.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${nb}})(?:\\.(\\d{1,${nb}}))?(?:\\.(\\d{1,${nb}}))?`);ne("COERCE",`${L[F.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",L[F.COERCEPLAIN]+`(?:${L[F.PRERELEASE]})?(?:${L[F.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",L[F.COERCE],!0);ne("COERCERTLFULL",L[F.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${L[F.LONETILDE]}\\s+`,!0);hs.tildeTrimReplace="$1~";ne("TILDE",`^${L[F.LONETILDE]}${L[F.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${L[F.LONETILDE]}${L[F.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${L[F.LONECARET]}\\s+`,!0);hs.caretTrimReplace="$1^";ne("CARET",`^${L[F.LONECARET]}${L[F.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${L[F.LONECARET]}${L[F.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${L[F.GTLT]}\\s*(${L[F.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${L[
`).join(`
2026-06-29 14:38:30 +02:00
`+i),t.push(s+"m+"+Hf.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Qme()+e+" "+t[0]}o(Bme,"formatArgs");function Qme(){return Tt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Qme,"getDate");function xme(...t){return process.stderr.write(qf.format(...t)+`
`)}o(xme,"log");function bme(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(bme,"save");function wme(){return process.env.DEBUG}o(wme,"load");function Nme(t){t.inspectOpts={};let e=Object.keys(Tt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Tt.inspectOpts[e[r]]}o(Nme,"init");Hf.exports=Vb()(Tt);var{formatters:VG}=Hf.exports;VG.o=function(t){return this.inspectOpts.colors=this.useColors,qf.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};VG.O=function(t){return this.inspectOpts.colors=this.useColors,qf.inspect(t,this.inspectOpts)}});var zf=f((JFe,$b)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?$b.exports=OG():$b.exports=JG()});var jG=f(gr=>{"use strict";var Sme=gr&&gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Rme=gr&&gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),WG=gr&&gr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Sme(e,t,r);return Rme(e,t),e};Object.defineProperty(gr,"__esModule",{value:!0});gr.req=gr.json=gr.toBuffer=void 0;var Pme=WG(require("http")),vme=WG(require("https"));async function $G(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o($G,"toBuffer");gr.toBuffer=$G;async function Dme(t){let r=(await $G(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Dme,"json");gr.json=Dme;function kme(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?vme:Pme).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(kme,"req");gr.req=kme});var eY=f(zr=>{"use strict";var XG=zr&&zr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Tme=zr&&zr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ZG=zr&&zr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&XG(e,t,r);return Tme(e,t),e},Mme=zr&&zr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&XG(e,t,r)};Object.defineProperty(zr,"__esModule",{value:!0});zr.Agent=void 0;var Lme=ZG(require("net")),KG=ZG(require("http")),Fme=require("https");Mme(jG(),zr);var Es=Symbol("AgentBaseInternalState"),jb=class extends KG.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Es]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Lme.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?Fme.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof KG.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[Es].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Es].currentSocket;if(this[Es].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Es].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Es]&&(this[Es].defaultPort=e)}get protocol(){return this[Es].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Es]&&(this[Es].protocol=e)}};zr.Agent=jb});var tY=f(gl=>{"use strict";var _me=gl&&gl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gl,"__esModule",{value:!0});gl.parseProxyResponse=void 0;var Ume=_me(zf()),Gf=(0,Ume.default)("https-proxy-agent:parse-proxy-response");function Ome(t){return new Promise((e,r)=>{let n=0,s=[];function i(){let u=t.read();u?A(u):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),Gf("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),Gf("onerror %o",u),r(u)}o(l,"onerror");function A(u){s.push(u),n+=u.length;let d=Buffer.concat(s,n),m=d.indexOf(`\r
\r
2026-06-29 14:38:30 +02:00
`);if(m===-1){Gf("have not received end of HTTP headers yet..."),i();return}let p=d.slice(0,m).toString("ascii").split(`\r
`),h=p.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=h.split(" "),C=+g[1],y=g.slice(2).join(" "),E={};for(let I of p){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),k=I.slice(B+1).trimStart(),_=E[N];typeof _=="string"?E[N]=[_,k]:Array.isArray(_)?_.push(k):E[N]=k}Gf("got proxy server response: %o %o",h,E),a(),e({connect:{statusCode:C,statusText:y,headers:E},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),i()})}o(Ome,"parseProxyResponse");gl.parseProxyResponse=Ome});var aY=f(gn=>{"use strict";var qme=gn&&gn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Hme=gn&&gn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iY=gn&&gn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&qme(e,t,r);return Hme(e,t),e},oY=gn&&gn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gn,"__esModule",{value:!0});gn.HttpsProxyAgent=void 0;var Yf=iY(require("net")),rY=iY(require("tls")),zme=oY(require("assert")),Gme=oY(zf()),Yme=eY(),Vme=require("url"),Jme=tY(),nd=(0,Gme.default)("https-proxy-agent"),nY=o(t=>t.servername===void 0&&t.host&&!Yf.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Vf=class extends Yme.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Vme.URL(e):e,this.proxyHeaders=r?.headers??{},nd("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?sY(r,"headers"):null,host:n,port:s}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let s;n.protocol==="https:"?(nd("Creating `tls.Socket`: %o",this.connectOpts),s=rY.connect(nY(this.connectOpts))):(nd("Creating `net.Socket`: %o",this.connectOpts),s=Yf.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Yf.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(n.username||n.password){let m=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(m).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let m of Object.keys(i))c+=`${m}: ${i[m]}\r
`;let l=(0,Jme.parseProxyResponse)(s);s.write(`${c}\r
`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",Wme),r.secureEndpoint?(nd("Upgrading socket connection to TLS"),rY.connect({...sY(nY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new Yf.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{nd("Replaying proxy buffer for failed request"),(0,zme.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};Vf.protocols=["http","https"];gn.HttpsProxyAgent=Vf;function Wme(t){t.resume()}o(Wme,"resume");function sY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(sY,"omit")});var AY=f(yr=>{"use strict";var $me=yr&&yr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),jme=yr&&yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cY=yr&&yr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&$me(e,t,r);return jme(e,t),e};Object.defineProperty(yr,"__esModule",{value:!0});yr.req=yr.json=yr.toBuffer=void 0;var Kme=cY(require("http")),Xme=cY(require("https"));async function lY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(lY,"toBuffer");yr.toBuffer=lY;async function Zme(t){let r=(await lY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Zme,"json");yr.json=Zme;function epe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Xme:Kme).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(epe,"req");yr.req=epe});var pY=f(Gr=>{"use strict";var dY=Gr&&Gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),tpe=Gr&&Gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mY=Gr&&Gr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&dY(e,t,r);return tpe(e,t),e},rpe=Gr&&Gr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&dY(e,t,r)};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.Agent=void 0;var npe=mY(require("net")),uY=mY(require("http")),spe=require("https");rpe(AY(),Gr);var Cs=Symbol("AgentBaseInternalState"),Kb=class extends uY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Cs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new npe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?spe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof uY.Agent)return c.addRequest(e,s);this[Cs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Cs].currentSocket;if(this[Cs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Cs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Cs]&&(this[Cs].defaultPort=e)}get protocol(){return this[Cs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Cs]&&(this[Cs].protocol=e)}};Gr.Agent=Kb});var gY=f(yn=>{"use strict";var ipe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ope=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fY=yn&&yn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&ipe(e,t,r);return ope(e,t),e},ape=yn&&yn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yn,"__esModule",{value:!0});yn.HttpProxyAgent=void 0;var cpe=fY(require("net")),lpe=fY(require("tls")),Ape=ape(zf()),upe=require("events"),dpe=pY(),hY=require("url"),yl=(0,Ape.default)("http-proxy-agent"),Jf=class extends dpe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new hY.URL(e):e,this.proxyHeaders=r?.headers??{},yl("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?mpe(r,"headers"):null,host:n,port:s}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,s=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${s}//${i}`,c=new hY.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,s;yl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(yl("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,s=n.indexOf(`\r
\r
2026-06-29 14:38:30 +02:00
`)+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 from: ${r.config.operationLocation}
2026-06-29 14:38:30 +02:00
Operation status: ${u}
Polling status: ${G3.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(H3({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(yCe,"pollOperationHelper");async function W3(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:m,updateState:p,setDelay:h,isDone:g,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await yCe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(V3({status:I,response:E,state:r,stateProxy:n,isDone:g,processResult:d,getError:m,setErrorAsResult:C}),!G3.includes(I)){let B=u?.(E);B&&h(B);let N=c?.(E,r);if(N!==void 0){let k=y!==N;r.config.operationLocation=N,A?.(N,k)}else A?.(y,!1)}p?.(r,E)}}o(W3,"pollOperation");function $3(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o($3,"getOperationLocationPollingUrl");function j3(t){return t.headers.location}o(j3,"getLocationHeader");function K3(t){return t.headers["operation-location"]}o(K3,"getOperationLocationHeader");function X3(t){return t.headers["azure-asyncoperation"]}o(X3,"getAzureAsyncOperationHeader");function ECe(t){var e;let{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:i}=t;switch(n){case"PUT":return s;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:s;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return r}}o(a,"getDefault")}o(ECe,"findResourceLocation");function Z3(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=K3(e),a=X3(e),c=$3({operationLocation:i,azureAsyncOperation:a}),l=j3(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:ECe({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:s})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(Z3,"inferLroMode");function e4(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return JR(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return Fa.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(e4,"transformStatus");function CCe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return e4({status:r,statusCode:t.statusCode})}o(CCe,"getStatus");function ICe(t){var e,r;let{properties:n,provisioningState:s}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=n?.provisioningState)!==null&&r!==void 0?r:s;return e4({status:i,statusCode:t.statusCode})}o(ICe,"getProvisioningState");function JR(t){return t===202?"running":t<300?"succeeded":"failed"}o(JR,"toOperationStatus");function t4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?BCe(new Date(e)):r*1e3}}o(t4,"parseRetryAfter");function r4(t){let e=t.flatResponse.error;if(!e){Fa.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Fa.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(r4,"getErrorFromResponse");function BCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(BCe,"calculatePollingIntervalFromDate");function n4(t){let{response:e,state:r,operationLocation:n}=t;function s(){var a;switch((a=r.config.metadata)===null
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(s){case 0:a=i,s=1;break;case 1:r[n++]=a<<2|(i&48)>>4,a=i,s=2;break;case 2:r[n++]=(a&15)<<4|(i&60)>>2,a=i,s=3;break;case 3:r[n++]=(a&3)<<6|i,s=0;break}}if(s==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(oIe,"base64decode");zl.base64decode=oIe;function aIe(t){let e="",r=0,n,s=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=Ti[n>>2],s=(n&3)<<4,r=1;break;case 1:e+=Ti[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=Ti[s|n>>6],e+=Ti[n&63],r=0;break}return r&&(e+=Ti[s],e+="=",r==1&&(e+="=")),e}o(aIe,"base64encode");zl.base64encode=aIe});var T4=f(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});Zy.utf8read=void 0;var sP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function cIe(t){if(t.length<1)return"";let e=0,r=[],n=[],s=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?n[s++]=i:i>191&&i<224?n[s++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[s++]=55296+(i>>10),n[s++]=56320+(i&1023)):n[s++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,s>8191&&(r.push(sP(n)),s=0);return r.length?(s&&r.push(sP(n.slice(0,s))),r.join("")):sP(n.slice(0,s))}o(cIe,"utf8read");Zy.utf8read=cIe});var em=f(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.WireType=Vs.mergeBinaryOptions=Vs.UnknownFieldHandler=void 0;var lIe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,s,i,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:s,wireType:i,data:a})},t.onWrite=(r,n,s)=>{for(let{no:i,wireType:a,data:c}of t.list(n))s.tag(i,a).raw(c)},t.list=(r,n)=>{if(e(r)){let s=r[t.symbol];return n?s.filter(i=>i.no==n):s}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(lIe=Vs.UnknownFieldHandler||(Vs.UnknownFieldHandler={}));function AIe(t,e){return Object.assign(Object.assign({},t),e)}o(AIe,"mergeBinaryOptions");Vs.mergeBinaryOptions=AIe;var uIe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(uIe=Vs.WireType||(Vs.WireType={}))});var tE=f(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.varint32read=br.varint32write=br.int64toString=br.int64fromString=br.varint64write=br.varint64read=void 0;function dIe(){let t=0,e=0;for(let n=0;n<28;n+=7){let s=this.buf[this.pos++];if(t|=(s&127)<<n,(s&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let s=this.buf[this.pos++];if(e|=(s&127)<<n,(s&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(dIe,"varint64read");br.varint64read=dIe;function mIe(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,s=e>>3!=0;if(r.push((s?n|128:n)&255),!!s){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(mIe,"varint64write");br.varint64write=mIe;var eE=65536*65536;function pIe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,s=0;function i(a,c){let l=Number(t.slice(a,c));s*=r,n=n*r+l,n>=eE&&(s=s+(n/eE|0),n=n%eE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o(pIe,"int64fromString");br.int64fromString=pIe;function hIe(t,e){if(e>>>0<=2097151)return""+(eE*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,s=e>>16&65535,i=r+n*6777216+s*6710656,a=n+s*8147497,c=s*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let m=u?String(u):"";return d?"0000000".slice(m.length)+m:m}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(i,1)}o(hIe,"int64toString");br.int64toString=hIe;function fIe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(fIe,"varint32write");br.varint32write=fIe;function gIe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return
`)}};SE.RpcError=vP});var kP=f(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.mergeRpcOptions=void 0;var m8=lt();function UBe(t,e){if(!e)return t;let r={};RE(t,r),RE(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=m8.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=m8.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},RE(t.meta,r.meta),RE(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(UBe,"mergeRpcOptions");PE.mergeRpcOptions=UBe;function RE(t,e){if(!t)return;let r=e;for(let[n,s]of Object.entries(t))s instanceof Date?r[n]=new Date(s.getTime()):Array.isArray(s)?r[n]=s.concat():r[n]=s}o(RE,"copy")});var MP=f(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.Deferred=Ha.DeferredState=void 0;var $s;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})($s=Ha.DeferredState||(Ha.DeferredState={}));var TP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=$s.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==$s.PENDING)throw new Error(`cannot resolve ${$s[this.state].toLowerCase()}`);this._resolve(e),this._state=$s.RESOLVED}reject(e){if(this.state!==$s.PENDING)throw new Error(`cannot reject ${$s[this.state].toLowerCase()}`);this._reject(e),this._state=$s.REJECTED}resolvePending(e){this._state===$s.PENDING&&this.resolve(e)}rejectPending(e){this._state===$s.PENDING&&this.reject(e)}};Ha.Deferred=TP});var FP=f(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.RpcOutputStreamController=void 0;var p8=MP(),za=lt(),LP=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){za.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){za.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){za.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){za.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:o(()=>{let e=this._itState;za.assert(e,"bad state"),za.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new p8.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;za.assert(n.state==p8.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};vE.RpcOutputStreamController=LP});var UP=f(jl=>{"use strict";var OBe=jl&&jl.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(jl
2026-05-27 14:58:54 +00:00
You can add a runtime option to disable the check or this warning:
2026-06-29 14:38:30 +02:00
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(Lxe,"logUnexpecedPropertyAccessOnce");function Fxe(){Object.keys(eC).forEach(function(t){delete eC[t]})}o(Fxe,"resetLoggedProperties")});var rC=f(Xs=>{"use strict";Xs.__esModule=!0;Xs.HandlebarsEnvironment=Ov;function SW(t){return t&&t.__esModule?t:{default:t}}o(SW,"_interopRequireDefault");var Wa=or(),_xe=en(),_v=SW(_xe),Uxe=Tv(),Oxe=xW(),qxe=Lv(),tC=SW(qxe),Hxe=Fv(),zxe="4.7.9";Xs.VERSION=zxe;var Gxe=8;Xs.COMPILER_REVISION=Gxe;var Yxe=7;Xs.LAST_COMPATIBLE_COMPILER_REVISION=Yxe;var Vxe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Xs.REVISION_CHANGES=Vxe;var Uv="[object Object]";function Ov(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Uxe.registerDefaultHelpers(this),Oxe.registerDefaultDecorators(this)}o(Ov,"HandlebarsEnvironment");Ov.prototype={constructor:Ov,logger:tC.default,log:tC.default.log,registerHelper:o(function(e,r){if(Wa.toString.call(e)===Uv){if(r)throw new _v.default("Arg not supported with multiple helpers");Wa.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(Wa.toString.call(e)===Uv)Wa.extend(this.partials,e);else{if(typeof r>"u")throw new _v.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Wa.toString.call(e)===Uv){if(r)throw new _v.default("Arg not supported with multiple decorators");Wa.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Hxe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var Jxe=tC.default.log;Xs.log=Jxe;Xs.createFrame=Wa.createFrame;Xs.logger=tC.default});var PW=f((nC,RW)=>{"use strict";nC.__esModule=!0;function qv(t){this.string=t}o(qv,"SafeString");qv.prototype.toString=qv.prototype.toHTML=function(){return""+this.string};nC.default=qv;RW.exports=nC.default});var vW=f(Hv=>{"use strict";Hv.__esModule=!0;Hv.wrapHelper=Wxe;function Wxe(t,e){if(typeof t!="function")return t;var r=o(function(){var s=arguments[arguments.length-1];return arguments[arguments.length-1]=e(s),t.apply(this,arguments)},"wrapper");return r}o(Wxe,"wrapHelper")});var FW=f(ko=>{"use strict";ko.__esModule=!0;ko.checkRevision=ebe;ko.template=tbe;ko.wrapProgram=sC;ko.resolvePartial=rbe;ko.invokePartial=nbe;ko.noop=MW;function $xe(t){return t&&t.__esModule?t:{default:t}}o($xe,"_interopRequireDefault");function jxe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(jxe,"_interopRequireWildcard");var Kxe=or(),lA=jxe(Kxe),Xxe=en(),Fi=$xe(Xxe),_i=rC(),DW=Tv(),Zxe=vW(),kW=Fv();function ebe(t){var e=t&&t[0]||1,r=_i.COMPILER_REVISION;if(!(e>=_i.LAST_COMPATIBLE_COMPILER_REVISION&&e<=_i.COMPILER_REVISION))if(e<_i.LAST_COMPATIBLE_COMPILER_REVISION){var n=_i.REVISION_CHANGES[r],s=_i.REVISION_CHANGES[e];throw new Fi.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")}else throw new Fi.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(ebe,"checkRevision");function tbe(t,e){if(!e)throw new Fi.default("No environment passed to template");if(!t||!t.main)throw new Fi.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(a,c,l){l.hash&&(c=lA.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.ca
`),d=0,m=u.length;d<m&&!(!u[d]&&d+1===m);d++)u[d]=l.indent+u[d];A=u.join(`
`)}return A}else throw new Fi.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(n,"invokePartialWrapper");var s={strict:o(function(c,l,A){if(!c||!(l in c))throw new Fi.default('"'+l+'" not defined in '+c,{loc:A});return s.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var A=c[l];if(A==null||Object.prototype.hasOwnProperty.call(c,l)||kW.resultIsAllowed(A,s.protoAccessControl,l))return A},"lookupProperty"),lookup:o(function(c,l){for(var A=c.length,u=0;u<A;u++){var d=c[u]&&s.lookupProperty(c[u],l);if(d!=null)return d}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:lA.escapeExpression,invokePartial:n,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,A,u,d){var m=this.programs[c],p=this.fn(c);return l||d||u||A?m=sC(this,c,p,l,A,u,d):m||(m=this.programs[c]=sC(this,c,p)),m},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var A=c||l;return c&&l&&c!==l&&(A=lA.extend({},l,c)),A},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;i._setup(c),!c.partial&&t.useData&&(l=sbe(a,l));var A=void 0,u=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?A=a!=c.depths[0]?[a].concat(c.depths):c.depths:A=[a]);function d(m){return""+t.main(s,m,s.helpers,s.partials,l,u,A)}return o(d,"main"),d=LW(t.main,d,s,c.depths||[],l,u),d(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)s.protoAccessControl=a.protoAccessControl,s.helpers=a.helpers,s.partials=a.partials,s.decorators=a.decorators,s.hooks=a.hooks;else{var c={};TW(c,e.helpers,s),TW(c,a.helpers,s),s.helpers=c,t.usePartial&&(s.partials=s.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=lA.extend({},e.decorators,a.decorators)),s.hooks={},s.protoAccessControl=kW.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;DW.moveHelperToHooks(s,"helperMissing",l),DW.moveHelperToHooks(s,"blockHelperMissing",l)}},i._child=function(a,c,l,A){if(t.useBlockParams&&!l)throw new Fi.default("must pass block params");if(t.useDepths&&!A)throw new Fi.default("must pass parent depths");return sC(s,a,t[a],c,0,l,A)},i}o(tbe,"template");function sC(t,e,r,n,s,i,a){function c(l){var A=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(u=[l].concat(a)),r(t,l,t.helpers,t.partials,A.data||n,i&&[A.blockParams].concat(i),u)}return o(c,"prog"),c=LW(r,c,t,a,n,i),c.program=e,c.depth=a?a.length:0,c.blockParams=s||0,c}o(sC,"wrapProgram");function rbe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=iC(r.partials,t)):r.name==="@partial-block"?t=iC(r.data,"partial-block"):t=iC(r.partials,r.name),t}o(rbe,"resolvePartial");function nbe(t,e,r){var n=iC(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var s=void 0;if(r.fn&&r.fn!==MW&&(function(){r.data=_i.createFrame(r.data);var i=r.fn;s=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=_i.createFrame(l.data),l.data["partial-block"]=n,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=lA.extend({},r.partials,i.partials))})(),t===void 0&&s&&(t=s),t===void 0)throw new Fi.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(nbe,"invokePartial");function MW(){return""}o(MW,"noop");function iC(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(iC,"lookupOwnProperty");function sbe(t,e){return(!e||!("root"in e))&&(e=e?_i.createFrame(e):{},e.root=t),e}o(sbe,"initData");function LW(t,e,r,n,s,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],s,i,n),lA.extend(e,a)}return e}o(LW,"executeDecorators");function TW(t,e,r){e&&Object.keys(e).forEach(function(n){var s=e[n];t[n]=ibe(s,r)})}o(TW,"addHelpers");function ibe(t,e){var r=e.lookupProperty;return Zxe.wrapHelper(t,f
2026-05-27 14:58:54 +00:00
`+this.lexer.showPosition()+`
2026-06-29 14:38:30 +02:00
Expecting `+me.join(", ")+", got '"+(this.terminals_[B]||B)+"'":ut="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(ut,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:me})}}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+B);switch(_[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(_[1]),B=null,N?(B=N,N=null):(m=this.lexer.yyleng,u=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,p>0&&p--);break;case 2:if(te=this.productions_[_[1]][1],xe.$=c[c.length-te],xe._$={first_line:l[l.length-(te||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(te||1)].first_column,last_column:l[l.length-1].last_column},y&&(xe._$.range=[l[l.length-(te||1)].range[0],l[l.length-1].range[1]]),Ee=this.performAction.call(xe,u,m,d,this.yy,_[1],c,l),typeof Ee<"u")return Ee;te&&(a=a.slice(0,-1*te*2),c=c.slice(0,-1*te),l=l.slice(0,-1*te)),a.push(this.productions_[_[1]][0]),c.push(xe.$),l.push(xe._$),U=A[a[a.length-2]][a[a.length-1]],a.push(U);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,A,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),m=0;m<d.length&&(c=this._input.match(this.rules[d[m]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=m,!this.options.flex)));m++);return a?(u=a[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return n.options={},n.performAction=o(function(i,a,c,l){function A(d,m){return a.yytext=a.yytext.substring(d,a.yyleng-m+d)}o(A,"strip");var u=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(A(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(A(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(A(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=A(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=A(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();lC.default=hbe;VW.exports=lC.default});var mC=f((dC,jW)=>{"use strict";dC.__esModule=!0;function fbe(t){return t&&t.__esModule?t:{default:t}}o(fbe,"_interopRequireDefault");var gbe=en(),Wv=fbe(gbe);function AC(){this.parents=[]}o(AC,"Visitor");AC.prototype={constructor:AC,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!AC.prototype[n.type])throw new Wv.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.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(),`;
2026-05-27 14:58:54 +00:00
`]),this.decorators.push("return fn;"),s?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
`),this.decorators.push(`}
2026-06-29 14:38:30 +02:00
`),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(s);if(this.isChild)return u;var d={compiler:this.compilerInfo(),main:u};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var m=this.context,p=m.programs,h=m.decorators;for(l=0,A=p.length;l<A;l++)d[l]=p[l],h[l]&&(d[l+"_d"]=h[l],d.useDecorators=!0);return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),s?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),r.srcName?(d=d.toStringWithSourceMap({file:r.destName}),d.map=d.map&&d.map.toString()):d=d.toString()),d},"compile"),preamble:o(function(){this.lastContext=0,this.source=new M$.default(this.options.srcName),this.decorators=new M$.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,n="",s=this.stackVars.concat(this.registers.list);s.length>0&&(n+=", "+s.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var A=r.aliases[l];A.children&&A.referenceCount>1&&(n+=", alias"+ ++i+"="+l,A.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(n);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,n=!this.forceBuffer,s=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):s=!0,c.add(";"),a=c=void 0),i=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(s?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(s?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return`
2026-05-27 14:58:54 +00:00
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
2026-06-29 14:38:30 +02:00
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var s=this.popStack();n.splice(1,0,s),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,n,s){var i=0;!s&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,s,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(gwe(this.options.strict&&i,this,r,n,e));return}for(var c=r.length,l=o(function(u){a.replaceStack(function(d){var m=a.nameLookup(d,r[u],e);return s?[" && ",m]:[" != null ? ",m," : ",d]})},"_loop"),A=n;A<c;A++)l(A)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var n=this.nameLookup("decorators",r,"decorator"),s=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",n,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",s])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,n){var s=this.popStack(),i=this.setupHelper(e,r),a=[];n&&a.push(i.name),a.push(s),this.options.strict||a.push(this.aliasable("container.hoo
`,e};tt.prototype.Program=function(t){var e="",r=t.body,n=void 0,s=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,s=t.blockParams.length;n<s;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,s=r.length;n<s;n++)e+=this.accept(r[n]);return this.padding--,e};tt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};tt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};tt.prototype.BlockStatement=tt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};tt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};tt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};tt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};tt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};tt.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,s=0,i=e.length;s<i;s++)r.push(this.accept(e[s]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};tt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};tt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};tt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};tt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};tt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};tt.prototype.NullLiteral=function(){return"NULL"};tt.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,s=e.length;n<s;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};tt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var V$=f((_Xe,Y$)=>{var bC=q$().default,G$=H$();bC.PrintVisitor=G$.PrintVisitor;bC.print=G$.print;Y$.exports=bC;function z$(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=bC.compile(n)}o(z$,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=z$,require.extensions[".hbs"]=z$)});var ND=Q(require("os"),1);function ti(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(ti,"toCommandValue");function NC(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(NC,"toCommandProperties");function Oi(t,e,r){let n=new SC(t,e,r);process.stdout.write(n.toString()+ND.EOL)}o(Oi,"issueCommand");function RC(t,e=""){Oi(t,{},e)}o(RC,"issue");var wD="::",SC=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=wD+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${u5(s)}`)}}return e+=`${wD}${A5(this.message)}`,e}};function A5(t){return ti(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(A5,"escapeData");function u5(t){return ti(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(u5,"escapeProperty");var SD=Q(require("crypto"),1),Mm=Q(require("fs"),1),Tm=Q(require("os"),1);function PC(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Mm.exis
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(gx,"getBooleanInput");function N1(t,e){if(process.env.GITHUB_OUTPUT||"")return PC("OUTPUT",vC(t,e));process.stdout.write(fx.EOL),Oi("set-output",{name:t},ti(e))}o(N1,"setOutput");function S1(t){process.exitCode=hx.Failure,el(t)}o(S1,"setFailed");function ca(){return process.env.RUNNER_DEBUG==="1"}o(ca,"isDebug");function b(t){Oi("debug",{},t)}o(b,"debug");function el(t,e={}){Oi("error",NC(e),t instanceof Error?t.toString():t)}o(el,"error");function ft(t,e={}){Oi("warning",NC(e),t instanceof Error?t.toString():t)}o(ft,"warning");function he(t){process.stdout.write(t+fx.EOL)}o(he,"info");function _ie(t){RC("group",t)}o(_ie,"startGroup");function Uie(){RC("endgroup")}o(Uie,"endGroup");function ms(t,e){return Fie(this,void 0,void 0,function*(){_ie(t);let r;try{r=yield e()}finally{Uie()}return r})}o(ms,"group");function Lh(t,e){if(process.env.GITHUB_STATE||"")return PC("STATE",vC(t,e));Oi("save-state",{name:t},ti(e))}o(Lh,"saveState");function R1(t){return process.env[`STATE_${t}`]||""}o(R1,"getState");var UE=Q(require("fs"),1),Iv=Q(require("os"),1),Bv=Q(require("path"),1);var v1=Q(require("os"),1);function xu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(xu,"toCommandValue");function D1(t,e,r){let n=new yx(t,e,r);process.stdout.write(n.toString()+v1.EOL)}o(D1,"issueCommand");var P1="::",yx=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=P1+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${qie(s)}`)}}return e+=`${P1}${Oie(this.message)}`,e}};function Oie(t){return xu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Oie,"escapeData");function qie(t){return xu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(qie,"escapeProperty");var T1=require("os"),bu=require("fs");var Ex=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Hie,appendFile:zie,writeFile:Gie}=bu.promises,k1="GITHUB_STEP_SUMMARY";var Cx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Ex(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[k1];if(!e)throw new Error(`Unable to find environment variable for $${k1}. Check if your runtime environment supports job summaries.`);try{yield Hie(e,bu.constants.R_OK|bu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return Ex(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Gie:zie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ex(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(T1.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a
`),e=e.replace(/\r/g,`
2026-05-27 14:58:54 +00:00
`));let s=e.split(`
2026-06-29 14:38:30 +02:00
`).map(i=>i.trim());for(let i of s)!i||i.startsWith("#")||n.patterns.push(new _u(i));return n.searchPaths.push(...jx(n.patterns)),n})}static stat(e,r,n){return rb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield ol.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){dn(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else s=yield ol.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield ol.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){dn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var Sle=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function aH(t,e){return Sle(this,void 0,void 0,function*(){return yield ef.create(t,e)})}o(aH,"create");var gf=Q(require("crypto"),1),ll=Q(require("fs"),1),ma=Q(require("path"),1),Xz=Q(jz(),1),Zz=Q(require("util"),1);var Ju;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Ju||(Ju={}));var er;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(er||(er={}));var Or;(function(t){t.GNU="gnu",t.BSD="bsd"})(Or||(Or={}));var hf=2,ff=5e3,Bb=5e3,Qb=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,Kz=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Wu="cache.tar",xb="manifest.txt",TMe=10*Math.pow(1024,3);var cl=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},bde=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},wde="1.0";function $u(){return cl(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=ma.join(n,"actions","temp")}let r=ma.join(e,gf.randomUUID());return yield aa(r),r})}o($u,"createTempDirectory");function fs(t){return ll.statSync(t).size}o(fs,"getArchiveFileSizeInBytes");function bb(t){return cl(this,void 0,void 0,function*(){var e,r,n,s,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield aH(t.join(`
`),{implicitDescendants:!1});try{for(var A=!0,u=bde(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let p=ma.relative(c,s).replace(new RegExp(`\\${ma.sep}`,"g"),"/");b(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(m){r={error:m}}finally{try{!A&&!e&&(n=u.return)&&(yield n.call(u))}finally{if(r)throw r.error}}return a})}o(bb,"resolvePaths");function ju(t){return cl(this,void 0,void 0,function*(){return Zz.promisify(ll.unlink)(t)})}o(ju,"unlinkFile");function eG(t){return cl(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield ao(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(s=>n+=s.toString(),"stdout"),stderr:o(s=>n+=s.toString(),"stderr")}})}catch(s){b(s.message)}return n=n.trim(),b(n),n})}o(eG,"getVersion");function Ku(){return cl(this,void 0,void 0,function*(){let t=yield eG("zstd",["--quiet"]),e=Xz.clean(t);return b(`zstd version: ${e}`),t===""?er.Gzip:er.ZstdWithoutLong})}o(Ku,"getCompressionMethod");function ho(t){return t===er.Gzip?Ju.Gzip:Ju.Zstd}o(ho,"getCacheFileName");function tG(){return cl(this,void 0,void 0,function*(){return ll.existsSync(Qb)?Qb:(yield eG("tar")).toLowerCase().includes("gnu tar")?mr("tar"):""})}o(tG,"getGnuTarPathOnWindows");function wb(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(wb,"assertDefined");function Al(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(wde),gf.createHash("sha256").update(n.join("|")).digest("hex")}o(Al,"getCacheVersion");function rG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(rG,"getRuntimeToken");var Zu=Q(require("http"),1),Rb=Q(require("https"),1);function Nb(t){let e=t.protocol==="https:";if(Nde(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new Ef(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Ef(`http://${r}`)}else return}o(Nb,"getProxyUrl");function Nde(t){if(!t.hostname)return!1;let e=t.hostname;if(Sde(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let s=[t.hostname.toUpperCase()];typeof n=="number"&&s.push(`${s[0]}:${n}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||s.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Nde,"checkBypass");function Sde(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Sde,"isLoopbackAddress");var Ef=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var fo=Q(TC(),1),nG=Q(tx(),1);var it=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Je;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.No
${zde.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function bf(t){return t instanceof rr?!0:ha(t)&&t.name==="RestError"}o(bf,"isRestError");function fr(t,e){return Buffer.from(t,e)}o(fr,"stringToUint8Array");var wf=Q(require("node:http"),1),Nf=Q(require("node:https"),1),Ub=Q(require("node:zlib"),1),IG=require("node:stream");var hn=ed("ts-http-runtime");var Gde={};function td(t){return t&&typeof t.pipe=="function"}o(td,"isReadableStream");function CG(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(CG,"isStreamComplete");function BG(t){return t&&typeof t.byteLength=="number"}o(BG,"isArrayBuffer");var Sf=class extends IG.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(s){n(s)}}constructor(e){super(),this.progressCallback=e}},Ob=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new ys("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let s;e.timeout>0&&(s=setTimeout(()=>{let A=new Hn;hn.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=Wde(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new Sf(h);g.on("error",C=>{hn.error("Error in upload progress",C)}),td(c)?c.pipe(g):g.end(c),c=g}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=Yde(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Vde(A,u):A;let p=e.onDownloadProgress;if(p){let h=new Sf(p);h.on("error",g=>{hn.error("Error in download progress",g)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(m.status)?m.readableStreamBody=l:m.bodyAsText=await Jde(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();td(c)&&(A=CG(c));let u=Promise.resolve();td(l)&&(u=CG(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{hn.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let s=new URL(e.url),i=s.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:s.hostname,path:`${s.pathname}${s.search}`,port:s.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=i?wf.default.request(c,l):Nf.default.request(c,l);u.once("error",d=>{A(new rr(d.message,{code:d.code??rr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new ys("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&td(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):BG(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(hn.error("Unrecognized body type",n),A(new rr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?wf.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new wf.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Nf.default.globalAgent;let s=e.tlsSettings??Gde,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(hn.info("No cached TLS Agent exist, creat
`;return e}o(bpe,"encodeHeaders");function wpe(t){return t instanceof Uint8Array?t.byteLength:Xf(t)?t.size===-1?void 0:t.size:void 0}o(wpe,"getLength");function Npe(t){let e=0;for(let r of t){let n=wpe(r);if(n===void 0)return;e+=n}return e}o(Npe,"getTotalLength");async function Spe(t,e,r){let n=[fr(`--${r}`,"utf-8"),...e.flatMap(i=>[fr(`\r
`,"utf-8"),fr(bpe(i.headers),"utf-8"),fr(`\r
`,"utf-8"),i.body,fr(`\r
--${r}`,"utf-8")]),fr(`--\r
\r
2026-06-29 14:38:30 +02:00
`,"utf-8")],s=Npe(n);s&&t.headers.set("Content-Length",s),t.body=await NY(n)}o(Spe,"buildRequestBody");var sd="multipartPolicy",Rpe=70,Ppe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function vpe(t){if(t.length>Rpe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Ppe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(vpe,"assertValidBoundary");function eg(){return{name:sd,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=s;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?vpe(r):r=xpe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Spe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(eg,"multipartPolicy");function tg(){return xf()}o(tg,"createEmptyPipeline");var SY=If({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),DUe=SY.logger;function Is(t){return SY.createClientLogger(t)}o(Is,"createClientLogger");var Bs=Is("core-rest-pipeline");function sw(t={}){return Pf({logger:Bs.info,...t})}o(sw,"logPolicy");var iw=vf;function ow(t={}){return Df(t)}o(ow,"redirectPolicy");var rg=Q(require("node:os"),1),ng=Q(require("node:process"),1);function RY(){return"User-Agent"}o(RY,"getHeaderName");async function PY(t){if(ng.default&&ng.default.versions){let e=`${rg.default.type()} ${rg.default.release()}; ${rg.default.arch()}`,r=ng.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(PY,"setPlatformSpecificData");var sg="1.22.2";function Upe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(Upe,"getUserAgentString");function vY(){return RY()}o(vY,"getUserAgentHeaderName");async function ig(t){let e=new Map;e.set("core-rest-pipeline",sg),await PY(e);let r=Upe(e);return t?`${t} ${r}`:r}o(ig,"getUserAgentValue");var DY=vY(),kY="userAgentPolicy";function aw(t={}){let e=ig(t.userAgentPrefix);return{name:kY,async sendRequest(r,n){return r.headers.has(DY)||r.headers.set(DY,await e),n(r)}}}o(aw,"userAgentPolicy");var Yr=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function cw(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new Yr(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(cw,"createAbortablePromise");var Gpe="The delay was aborted.";function id(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return cw(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??Gpe})}o(id,"delay");function yo(t){if(ha(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(yo,"getErrorMessage");function TY(t){return ha(t)}o(TY,"isError");function El(){return pa()}o(El,"randomUUID");var Be=ya;var MY=Symbol("rawContent");function Aw(t){return typeof t[MY]=="function"}o(Aw,"hasRawContent");function LY(t){return Aw(t)?t[MY]():t}o(LY,"getRawContent");var og=sd;function uw(){let t=eg();return{name:og,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)Aw(n.body)&&(n.body=LY(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(uw,"multipartPolicy");var dw=kf;function mw(){return Tf()}o(mw,"decompressResponsePolicy");function pw(t={}){return Ff(t
`&&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,"Closing Tag is not closed."),d=t.substring(c+2,u).trim();if(s.removeNSPrefix){let p=d.indexOf(":");p!==-1&&(d=d.substr(p+1))}d=Vw(s.transformTagName,d,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let m=this.matcher.getCurrentTag();if(d&&s.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: </${d}>`);m&&s.unpairedTagsSet.has(m)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=u}else if(A===63){let u=Jw(t,c,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(d){let m=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(m)||1),i.setXmlVersion(Number(m)||1)}if(!(s.ignoreDeclaration&&u.tagName==="?xml"||s.ignorePiTags)){let m=new Cr(u.tagName);m.add(s.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&s.ignoreAttributes!==!0&&(m[":@"]=d),this.addChild(r,m,this.readonlyMatcher,c)}c=u.closeIndex+1}else if(A===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let u=bl(t,"-->",c+4,"Comment is not closed.");if(s.commentPropName){let d=t.substring(c+4,u-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:d}])}c=u}else if(A===33&&t.charCodeAt(c+2)===68){let u=i.readDocType(t,c);this.entityDecoder.addInputEntities(u.entities),c=u.i}else if(A===33&&t.charCodeAt(c+2)===91){let u=bl(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,u);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let m=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);m==null&&(m=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:d}]):r.add(s.textNodeName,m),c=u+2}else{let u=Jw(t,c,s.removeNSPrefix);if(!u){let k=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${k}"`)}let d=u.tagName,m=u.rawTagName,p=u.tagExp,h=u.attrExpPresent,g=u.closeIndex;if({tagName:d,tagExp:p}=Vw(s.transformTagName,d,p,s),s.strictReservedNames&&(d===s.commentPropName||d===s.cdataPropName||d===s.textNodeName||d===s.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let C=r;C&&s.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),p=d):p=p.substr(0,p.length-1),h=d!==p);let E=null,I={},B;B=Ffe(m),d!==e.tagname&&this.matcher.push(d,{},B),d!==p&&h&&(E=this.buildAttributesMap(p,this.matcher,d),E&&(I=Lfe(E,s))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let k="";if(y)c=u.closeIndex;else if(s.unpairedTagsSet.has(d))c=u.closeIndex;else{let ce=this.readStopNodeData(t,m,g+1);if(!ce)throw new Error(`Unexpected end of ${m}`);c=ce.i,k=ce.tagContent}let _=new Cr(d);E&&(_[":@"]=E),_.add(s.textNodeName,k),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,_,this.readonlyMatcher,N)}else{if(y){({tagName:d,tagExp:p}=Vw(s.transformTagName,d,p,s));let k=new Cr(d);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(d)){let k=new Cr(d);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=u.closeIndex;continue}else{let k=new Cr(d);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),r=k}n="",c=g}}}else n+=t[c];return e.child},"parse
`;function tge(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(Zw(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(tge,"detectXmlVersionFromArray");function GV(t,e,r,n,s){return!r.sanitizeName||Qa(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(GV,"resolveTagName");function Xw(t,e){let r="";e.format&&(r=ege);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?n.push(new Wr(c)):c instanceof Wr&&n.push(c)}let s=tge(t,e),i=new bs;return YV(t,e,r,i,n,s)}o(Xw,"toXml");function YV(t,e,r,n,s,i){let a="",c=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=Kw(l,e),l}return""}for(let l=0;l<t.length;l++){let A=t[l],u=Zw(A);if(u===void 0)continue;let m=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:GV(u,!1,e,n,i),p=rge(A[":@"],e);n.push(m,p);let h=sge(n,s);if(m===e.textNodeName){let I=A[u];h||(I=e.tagValueProcessor(m,I),I=Kw(I,e)),c&&(a+=r),a+=I,c=!1,n.pop();continue}else if(m===e.cdataPropName){c&&(a+=r);let I=A[u][0][e.textNodeName],B=xg(I);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=Qg(I);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(m[0]==="?"){let I=zV(A[":@"],e,h,n,i);a+=(m==="?xml"?"":r)+`<${m}${I}?>`,c=!0,n.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let C=zV(A[":@"],e,h,n,i),y=r+`<${m}${C}`,E;h?E=VV(A[u],e):E=YV(A[u],e,g,n,s,i),e.unpairedTags.indexOf(m)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!E||E.length===0)&&e.suppressEmptyNode?a+=y+"/>":E&&E.endsWith(">")?a+=y+`>${E}${r}</${m}>`:(a+=y+">",E&&r!==""&&(E.includes("/>")||E.includes("</"))?a+=r+e.indentBy+E+r:a+=E,a+=`</${m}>`),c=!0,n.pop()}return a}o(YV,"arrToStr");function rge(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s;r[i]=Bo(t[s]),n=!0}return n?r:null}o(rge,"extractAttributeValues");function VV(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n<t.length;n++){let s=t[n],i=Zw(s);if(i===e.textNodeName)r+=s[i];else if(i===e.cdataPropName)r+=s[i][0][e.textNodeName];else if(i===e.commentPropName)r+=s[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=nge(s[":@"],e),c=VV(s[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(VV,"getRawContent");function nge(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];s===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${Bo(s)}"`}return r}o(nge,"attr_to_str_raw");function Zw(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(Object.prototype.hasOwnProperty.call(t,n)&&n!==":@")return n}}o(Zw,"propName");function zV(t,e,r,n,s){let i="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:GV(c,!0,e,n,s),A;r?A=t[a]:(A=e.attributeValueProcessor(a,t[a]),A=Kw(A,e)),A===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${Bo(A)}"`}return i}o(zV,"attr_to_str");function sge(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(sge,"checkStopNode");function Kw(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let n=e.entities[r];t=t.replace(n.regex,n.val)}return t}o(Kw,"replaceEntitiesValue");function eN(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(eN,"getIgnoreAttributesFn");var ige={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!
`,this.newLine=`
2026-06-29 14:38:30 +02:00
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Br,"Builder");function oge(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let s=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(s)return s}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(oge,"detectXmlVersionFromObj");function tN(t,e,r,n,s){return!r.sanitizeName||Qa(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(tN,"resolveTagName");Br.prototype.build=function(t){if(this.options.preserveOrder)return Xw(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new bs,r=oge(t,this.options);return this.j2x(t,0,e,r).val}};Br.prototype.j2x=function(t,e,r,n){let s="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let u=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:tN(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||u===this.options.cdataPropName||u===this.options.commentPropName?i+="":u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],u,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let m=tN(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let p=""+t[l];p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+"</"+u+this.tagEndChar}else i+=this.buildTextValNode(t[l],u,"",e,r)}}else if(Array.isArray(t[l])){let d=t[l].length,m="",p="";for(let h=0;h<d;h++){let g=t[l][h];if(!(typeof g>"u"))if(g===null)u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(u);let C=this.j2x(g,e+1,r,n);r.pop(),m+=C.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(p+=C.attrStr)}else m+=this.processTextOrObjNode(g,u,e,r,n);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(u,g);C=this.replaceEntitiesValue(C),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=""+g;y===""?m+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:m+=this.indentate(e)+"<"+u+">"+y+"</"+u+this.tagEndChar}else m+=this.buildTextValNode(g,u,"",e,r)}}this.options.oneListGroup&&(m=this.buildObjectNode(m,u,p,e)),i+=m}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let d=Object.keys(t[l]),m=d.length;for(let p=0;p<m;p++){let h=tN(d[p],!0,this.options,r,n);s+=this.buildAttrPairStr(h,""+t[l][d[p]],c)}}else i+=this.processTextOrObjNode(t[l],u,e,r,n)}return{attrStr:s,val:i}};Br.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+Bo(e)+'"'};function age(t,e,r,n,s){let i=this.extractAttributes(t);if(n.push(e,i),this.checkStopNode(n)){let l=this.buildRawContent(t),A=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(l,e,A,r)}let c=this.j2x(t,r+1,n,s);return n.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,n):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,n):this.buildObjectNode(c.val,e,c.attrStr,r)}o(age,"process
`)+`
2026-06-29 14:38:30 +02:00
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Z.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Z.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(s=>s.name.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE));r.sort((s,i)=>Mg(s.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((s,i,a)=>!(i>0&&s.name.toLowerCase()===a[i-1].name.toLowerCase()));let n="";return r.forEach(s=>{n+=`${s.name.toLowerCase().trimRight()}:${s.value.trimLeft()}
`}),n}getCanonicalizedResourceString(e){let r=Dg(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=kg(e.url),i={};if(s){let a=[];for(let c in s)if(Object.prototype.hasOwnProperty.call(s,c)){let l=c.toLowerCase();i[l]=s[c],a.push(l)}a.sort();for(let c of a)n+=`
${c}:${decodeURIComponent(i[c])}`}return n}};var We=class extends wa{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new bd(e,r,this)}computeHMACSHA256(e){return(0,eJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var yt=Is("storage-common");var En;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(En||(En={}));var xo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:En.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},fge=new Yr("The operation was aborted."),wd=class extends ws{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=xo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:xo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):xo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:xo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:xo.maxRetryDelayInMs):xo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:xo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:xo.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let s=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=vg(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=Qo(s.url,xi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(yt.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,a))return a;r=r||!i&&a.status===404}catch(c){if(yt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throw c}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)return yt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(s){for(let a of i)if(s.name.toUpperCase().includes(a)||s.message.toUpperCase().includes(a)||s.code&&s.code.toString().toUpperCase()===a)return yt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||s){let a=n?n.status:s?s.statusCode:0;if(!e&&a===404)return yt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return yt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Z.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(yt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let s=0;if(e)switch(this.retryOptions.retryPolicyType){case En.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case En.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return yt.info(`RetryPolicy: Delay for ${s}ms`),Tg(s,n,fge)}};var Nd=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new wd(e,r,this.retryOptions)}};var gge="storageBrowserPolicy";function tJ(){return{name:gge,async sendRequest(t,e){return Be||((t.method==="GET"||t.method==="HEAD")&&(t.url=Qo(t.url,xi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(tJ,"storageBrowserPolicy");var yge="StorageCorrectContentLengthPolicy";function rJ(){function t(e){e.body&&(typeof
`)+`
2026-06-29 14:38:30 +02:00
`+n(i)+s(i),c=(0,sJ.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(Z.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===Z.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(i){let a=[];for(let[l,A]of i.headers)l.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>Mg(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(n,"getCanonicalizedHeadersString");function s(i){let a=Dg(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=kg(i.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let m=d.toLowerCase();A[m]=l[d],u.push(m)}u.sort();for(let d of u)c+=`
${d}:${decodeURIComponent(A[d])}`}return c}return o(s,"getCanonicalizedResourceString"),{name:Bge,async sendRequest(i,a){return e(i),a(i)}}}o(oN,"storageSharedKeyCredentialPolicy");var Qge="storageRequestFailureDetailsParserPolicy";function iJ(){return{name:Qge,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}o(iJ,"storageRequestFailureDetailsParserPolicy");var oJ=require("node:crypto");var Lg=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,oJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Fg="12.31.0",_g="2026-02-06";var Ug="https://storage.azure.com/.default",bi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var zn="",aN="*",xge=1*1024*1024;var bge=4*xge;var aJ="AES256",cJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",lJ=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],AJ=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],uJ="BlobUsesCustomerSpecifiedEncryption",dJ="BlobDoesNotUseCustomerSpecifiedEncryption",mJ=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function wi(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(wi,"isPipelineLike");var Sd=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function at(t,e={}){t||(t=new Oe);let r=new Sd([],e);return r._credential=t,r}o(at,"newPipeline");function wge(t){let e=[Nge,pJ,Sge,Rge,Pge,vge,kge];if(t.fac
`),i=e.computeHMACSHA256(s);return{sasQueryParameters:new Wn(t.version,i,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(wEe,"generateBlobSASQueryParameters20150405");function NEe(t,e){if(t=Ma(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Wn(t.version,a,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(NEe,"generateBlobSASQueryParameters20181109");function SEe(t,e){if(t=Ma(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Wn(t.version,a,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(SEe,"generateBlobSASQueryParameters20201206");function REe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Wn(t.version,a,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(REe,"generateBlobSASQueryParametersUDK20181109");function PEe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Wn(t.version,a,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(PEe,"generateBlobSASQueryParametersUDK20200210");function vEe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Wn(t.version,a,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(vEe,"generateBlobSASQueryParametersUDK20201206");function DEe(t,e){if(t=Ma(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Jn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Wn(t.version,a,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(DEe,"generateBlobSASQueryParametersUDK20250705");function Ta(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Ta,"getCanonicalName");function Ma(t){let e=t.version?t.version:_g;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Ma,"SASSignatureValuesSanityCheckAndAutofill");var Od=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=El()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-acquireLease",r,async n=>V(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return H.withSpan("BlobLeaseClient-changeLease",r,async n=>{let s=V(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,s})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMat
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};Ul.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ua=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};Ua.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var jd=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var HCe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},XR=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);he(`Sent ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function g4(t,e,r){return HCe(this,void 0,void 0,function*(){var n;let s=new ki(t),i=s.getBlockBlobClient(),a=new XR((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new zy(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ft(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(g4,"uploadCacheArchiveSDK");var E4=Q(require("buffer"),1),Ys=Q(require("fs"),1),C4=Q(require("stream"),1),I4=Q(require("util"),1);var Gy=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function Yy(t){return t?t>=200&&t<300:!1}o(Yy,"isSuccessStatusCode");function zCe(t){return t?t>=500:!0}o(zCe,"isServerErrorStatusCode");function GCe(t){return t?[Je.BadGateway,Je.ServiceUnavailable,Je.GatewayTimeout].includes(t):!1}o(GCe,"isRetryableStatusCode");function YCe(t){return Gy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(YCe,"sleep");function y4(t,e,r){return Gy(this,arguments,void 0,function*(n,s,i,a=hf,c=ff,l=void 0){let A="",u=1;for(;u<=a;){let d,m,p=!1;try{d=yield s()}catch(h){l&&(d=l(h)),p=!0,A=h.message}if(d&&(m=i(d),!zCe(m)))return d;if(m&&(p=GCe(m),A=`Cache service responded with ${m}`),b(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!p){b(`${n} - Error is not retryable`);break}yield YCe(c),u++}throw Error(`${n} failed: ${A}`)})}o(y4,"retry");function Kd(t,e){return Gy(this,arguments,void 0,function*(r,n,s=hf,i=ff){return yield y4(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof gs)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Kd,"retryTypedResponse");function Ol(t,e){return Gy(this,arguments,void 0,function*(r,n,s=hf,i=ff){return yield y4(r,n,a=>a.message.statusCode,s,i)})}o(Ol,"retryHttpClientResponse");var xn=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})
Other caches with similar key:`);for(let c of i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(ZCe,"printCachesListForDiagnostics");function rP(t,e,r){return xr(this,void 0,void 0,function*(){let n=new v4.URL(t),s=b4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield Q4(t,e,s):s.concurrentBlobDownloads?yield B4(t,e,s):yield Jy(t,e):yield Jy(t,e)})}o(rP,"downloadCache");function k4(t,e,r){return xr(this,void 0,void 0,function*(){let n=tP(),s=Al(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield Kd("reserveCache",()=>xr(this,void 0,void 0,function*(){return n.postJson(Zd("caches"),i)}))})}o(k4,"reserveCache");function P4(t,e){return`bytes ${t}-${e}/*`}o(P4,"getContentRange");function eIe(t,e,r,n,s){return xr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${P4(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":P4(n,s)},a=yield Ol(`uploadChunk (start: ${n}, end: ${s})`,()=>xr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!Yy(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(eIe,"uploadChunk");function tIe(t,e,r,n){return xr(this,void 0,void 0,function*(){let s=fs(r),i=Zd(`caches/${e.toString()}`),a=ql.openSync(r,"r"),c=ZR(n),l=wb("uploadConcurrency",c.uploadConcurrency),A=wb("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>xr(this,void 0,void 0,function*(){for(;d<s;){let m=Math.min(s-d,A),p=d,h=d+m-1;d+=A,yield eIe(t,i,()=>ql.createReadStream(r,{fd:a,start:p,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,h)}})))}finally{ql.closeSync(a)}})}o(tIe,"uploadFile");function rIe(t,e,r){return xr(this,void 0,void 0,function*(){let n={size:r};return yield Kd("commitCache",()=>xr(this,void 0,void 0,function*(){return t.postJson(Zd(`caches/${e.toString()}`),n)}))})}o(rIe,"commitCache");function nP(t,e,r,n){return xr(this,void 0,void 0,function*(){if(ZR(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield g4(r,e,n)}else{let i=tP();b("Upload cache"),yield tIe(i,t,e,n),b("Commiting cache");let a=fs(e);he(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield rIe(i,t,a);if(!Yy(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);he("Cache saved successfully")}})}o(nP,"saveCache");var N8=Q(C8(),1),At=Q(lt(),1),Kr=Q(lt(),1),Ga=Q(lt(),1),Ya=Q(lt(),1),Va=Q(lt(),1);var KP=Q(lt(),1),XP=Q(lt(),1),x8=Q(lt(),1),b8=Q(lt(),1),w8=Q(lt(),1);var WP=Q(lt(),1),$P=Q(lt(),1),I8=Q(lt(),1),B8=Q(lt(),1),Q8=Q(lt(),1);var jP=class extends Q8.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,B8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,I8.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?$P.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,WP.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,WP.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$P.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},TE=new jP;var ZP=class extends w8.MessageType{static{o(this
`));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
`,i),Buffer.from(`
2026-06-29 14:38:30 +02:00
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let A=0;A<l;A++)if(a[c][A]!==n[s+A])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(n){let{encoding:s,raw:i,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(s):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:n,raw:s,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:s?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:n}=this.options,s=Array.isArray(n),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:s===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var X$=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],n=K$(e),s=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=n.parse(t,!0,s,i);if(a!==void 0)throw a;return r},"parse");var EA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(Zc(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=X$(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of s)i.length==1?r?.ignoreComma?n.push(i[0]):n.push(...i[0].split(",")):r?.ignoreComma?n.push(i.join(",")):n.push(...i);return n.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=Zc(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;n<e.length;n++)await r(e[n],n,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let n=await mr("powershell",!0),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${s}' ${i.join(" ")}`]}}static isDirectory(e){try{return Z$.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let n=e.lastIndexOf(r);return n===-1||n+r.length!==e.length?e:e.substring(0,n)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return xD.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,s)).toFixed(2))+" "+n[s]}static generateRandomString(e=10){return xD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return e5.default.compile(e,r)(n)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let n=vm.de
/*! Bundled license information:
undici/lib/web/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
tmp/lib/tmp.js:
(*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*)
*/
//# sourceMappingURL=index.cjs.map