Files
metadata-action/dist/index.cjs

375 lines
3.6 MiB
JavaScript
Raw Normal View History

2026-06-29 14:17:37 +00:00
var PXe=Object.create;var _4=Object.defineProperty;var kXe=Object.getOwnPropertyDescriptor;var UXe=Object.getOwnPropertyNames;var GXe=Object.getPrototypeOf,HXe=Object.prototype.hasOwnProperty;var o=(t,e)=>_4(t,"name",{value:e,configurable:!0});var XXe=(t,e)=>()=>(t&&(e=t(t=0)),e);var b=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),wre=(t,e)=>{for(var r in e)_4(t,r,{get:e[r],enumerable:!0})},VXe=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of UXe(e))!HXe.call(t,n)&&n!==r&&_4(t,n,{get:()=>e[n],enumerable:!(s=kXe(e,n))||s.enumerable});return t};var x=(t,e,r)=>(r=t!=null?PXe(GXe(t)):{},VXe(e||!t||!t.__esModule?_4(r,"default",{value:t,enumerable:!0}):r,t));var Wre=b(Zf=>{"use strict";var f1t=require("net"),ZXe=require("tls"),vx=require("http"),vre=require("https"),eVe=require("events"),h1t=require("assert"),tVe=require("util");Zf.httpOverHttp=rVe;Zf.httpsOverHttp=sVe;Zf.httpOverHttps=nVe;Zf.httpsOverHttps=iVe;function rVe(t){var e=new su(t);return e.request=vx.request,e}o(rVe,"httpOverHttp");function sVe(t){var e=new su(t);return e.request=vx.request,e.createSocket=Tre,e.defaultPort=443,e}o(sVe,"httpsOverHttp");function nVe(t){var e=new su(t);return e.request=vre.request,e}o(nVe,"httpOverHttps");function iVe(t){var e=new su(t);return e.request=vre.request,e.createSocket=Tre,e.defaultPort=443,e}o(iVe,"httpsOverHttps");function su(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||vx.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=xre(n,i,a),u=0,p=e.requests.length;u<p;++u){var l=e.requests[u];if(l.host===c.host&&l.port===c.port){e.requests.splice(u,1),l.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)},"onFree"))}o(su,"TunnelingAgent");tVe.inherits(su,eVe.EventEmitter);su.prototype.addRequest=o(function(e,r,s,n){var i=this,a=Tx({request:e},i.options,xre(r,s,n));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",u),c.on("close",p),c.on("agentRemove",p),e.onSocket(c);function u(){i.emit("free",c,a)}o(u,"onFree");function p(l){i.removeSocket(c),c.removeListener("free",u),c.removeListener("close",p),c.removeListener("agentRemove",p)}o(p,"onCloseOrRemove")})},"addRequest");su.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=Tx({},s.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")),tl("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",u),a.once("connect",p),a.once("error",l),a.end();function c(A){A.upgrade=!0}o(c,"onResponse");function u(A,d,h){process.nextTick(function(){p(A,d,h)})}o(u,"onUpgrade");function p(A,d,h){if(a.removeAllListeners(),d.removeAllListeners(),A.statusCode!==200){tl("tunneling socket could not be established, statusCode=%d",A.statusCode),d.destroy();var m=new Error("tunneling socket could not be established, statusCode="+A.statusCode);m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}if(h.length>0){tl("got illegal response body from proxy"),d.destroy();var m=new Error("got illegal response body from proxy");m.code="ECONNRESET",e.request.emit("error",m),s.removeSocket(n);return}return tl("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=d,r(d)}o(p,"onConnect");function l(A){a.removeAllListeners(),tl(`tunneling socket could not be established, cause=%s
`,A.message,A.stack);var d=new Error("tunneling socket could not be established, cause="+A.message);d.code="ECONNRESET",e.request.emit("error",d),s.removeSocket(n)}o(l,"onError")},"createSocket");su.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function Tre(t,e){var r=this;su.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=Tx({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=ZXe.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(Tre,"createSecureSocket");function xre(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(xre,"toOptions");function Tx(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var n=Object.keys(s),i=0,a=n.length;i<a;++i){var c=n[i];s[c]!==void 0&&(t[c]=s[c])}}return t}o(Tx,"mergeOptions");var tl;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?tl=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"):tl=o(function(){},"debug");Zf.debug=tl});var _g=b((m1t,_re)=>{_re.exports=Wre()});var ut=b((g1t,Lre)=>{Lre.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 g0=b((z1t,pse)=>{"use strict";var Qre=Symbol.for("undici.error.UND_ERR"),pt=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[Qre]===!0}[Qre]=!0},Pre=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),xx=class extends pt{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_E
`)||t.includes("\r")||t.includes("\0"))===!1}o(Cne,"isValidHeaderValue");function O$e(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(i$e.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(O$e,"setRequestReferrerPolicyOnRedirect");function E$e(){return"allowed"}o(E$e,"crossOriginResourcePolicyCheck");function y$e(){return"success"}o(y$e,"corsCheck");function C$e(){return"success"}o(C$e,"TAOCheck");function B$e(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(B$e,"appendFetchMetadata");function D$e(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&&SW(t.origin)&&!SW(Vg(t))&&(e=null);break;case"same-origin":uB(t,Vg(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(D$e,"appendRequestOriginHeader");function uh(t,e){return t}o(uh,"coarsenTime");function q$e(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:uh(t.domainLookupStartTime,r),domainLookupEndTime:uh(t.domainLookupEndTime,r),connectionStartTime:uh(t.connectionStartTime,r),connectionEndTime:uh(t.connectionEndTime,r),secureConnectionStartTime:uh(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(q$e,"clampAndCoarsenConnectionTimingInfo");function I$e(t){return uh(p$e.now(),t)}o(I$e,"coarsenedSharedCurrentTime");function R$e(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(R$e,"createOpaqueTimingInfo");function Bne(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(Bne,"makePolicyContainer");function w$e(t){return{referrerPolicy:t.referrerPolicy}}o(w$e,"clonePolicyContainer");function S$e(t){let e=t.referrerPolicy;ZA(e);let r=null;if(t.referrer==="client"){let c=gne();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let s=wW(r),n=wW(r,!0);s.toString().length>4096&&(s=n);let i=uB(t,s),a=Xg(s)&&!Xg(t.url);switch(e){case"origin":return n??wW(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=Vg(t);return uB(s,c)?s:Xg(s)&&!Xg(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(S$e,"determineRequestsReferrer");function wW(t,e){return ZA(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(wW,"stripURLForReferrer");function Xg(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 s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(Xg,"isURLPotentiallyTrustworthy");function N$e(t,e){if(cB===void 0)return!0;let r=Dne(e);if(r==="no metadata"||r.length===0)return!0;let s=v$e(r),n=T$e(r,s);for(let i of n){let a=i.algo,c=i.hash,u=cB.createHash(a).update(t).digest("base64");if(u[u.length-1]==="="&&(u[u.length-2]==="="?u=u.slice(0,-2):u=u.slice(0,-1)),x$e(u,c))return!0}return!1}o(N$e,"bytesMatch");var F$e=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)(
`);function gYe(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(gYe,"isAsciiString");function zYe(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let s=t.charCodeAt(r);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(zYe,"validateBoundary");function OYe(t,e){lB(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],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+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&AB(t,MYe,i)||i.position===t.length-4&&AB(t,mYe,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=EYe(t,i);if(c==="failure")return"failure";let{name:u,filename:p,contentType:l,encoding:A}=c;i.position+=2;let d;{let m=t.indexOf(s.subarray(2),i.position);if(m===-1)return"failure";d=t.subarray(i.position,m-4),i.position+=d.length,A==="base64"&&(d=Buffer.from(d.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let h;p!==null?(l??="text/plain",gYe(l)||(l=""),h=new hYe([d],p,{type:l})):h=pYe(Buffer.from(d)),lB(Lne(u)),lB(typeof h=="string"&&Lne(h)||AYe(h)),n.push(dYe(u,h,p))}}o(OYe,"multipartFormDataParser");function EYe(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=lh(c=>c!==10&&c!==13&&c!==58,t,e);if(a=_W(a,!0,!0,c=>c===9||c===32),!lYe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,lh(c=>c===32||c===9,t,e),uYe(a)){case"content-disposition":{if(r=s=null,!AB(t,bYe,e)||(e.position+=17,r=kne(t,e),r===null))return"failure";if(AB(t,Pne,e)){let c=e.position+Pne.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=kne(t,e),s===null))return"failure"}break}case"content-type":{let c=lh(u=>u!==10&&u!==13,t,e);c=_W(c,!1,!0,u=>u===9||u===32),n=Qne(c);break}case"content-transfer-encoding":{let c=lh(u=>u!==10&&u!==13,t,e);c=_W(c,!1,!0,u=>u===9||u===32),i=Qne(c);break}default:lh(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(EYe,"parseMultipartFormDataHeaders");function kne(t,e){lB(t[e.position-1]===34);let r=lh(s=>s!==10&&s!==13&&s!==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(kne,"parseMultipartFormDataName");function lh(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}o(lh,"collectASequenceOfBytes");function _W(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n<t.length&&s(t[n]);)n++;if(r)for(;i>0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(_W,"removeChars");function AB(t,e,r){if(t.length<e.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[r.position+s])return!1;return!0}o(AB,"bufferStartsWith");Une.exports={multipartFormDataParser:OYe,validateBoundary:zYe}});var fh=b((ort,eie)=>{"use strict";var Yg=r0(),{ReadableStreamFrom:yYe,isBlobLike:Hne,isReadableStreamLike:CYe,readableStreamClose:BYe,createDeferredPromise:DYe,fullyReadBody:qYe,extractMimeType:IYe,utf8DecodeBytes:jne}=bn(),{FormData:Xne}=$g(),{kState:dh}=rl(),{webidl:RYe}=or(),{Blob:wYe}=require("node:buffer"),LW=require("node:assert"),{isErrored:$ne,isDisturbed:SYe}=require("node:stream"),{isArrayBuffer:NYe}=require("node:util/types"),{serializeAMimeType:FYe}=ws(),{multipartFormDataParser:vYe}=Gne(),QW;try{let t=require("node:crypto");QW=o(e=>t.randomInt(0,e),"random")}catch{QW=o(t=>Math.floor(Math.random(t)),"random")}var dB=new TextEncoder;function TYe(){}o(TYe,"noop");var Yne=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,Jne;Yne&&(Jne=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!SYe(e)&&!$ne(e)&&e.cancel("Response object has been garbage collected").catch(TYe)}));function Kne(t,e=!1){let r=null;t instanceof ReadableStream?r=t:Hne(t)?r=t.stream():r=new ReadableStream({async pull(u){let p=typeof n=="string"?dB.encode(n):n;p.byteLength&&u.enqueue(p),queueMicrotask(()=>BYe(u))},start(){},type:"bytes"}),LW(CYe(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(NYe(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(Yg.isFormDataLike(t)){let u=`----formdata-undici-0${`${QW(1e11)}`.padStart(11,"0")}`,p=`--${u}\r
Content-Disposition: form-data`;let l=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),A=o(C=>C.replace(/\r?\n|\r/g,`\r
2026-06-29 14:17:37 +00:00
`),"normalizeLinefeeds"),d=[],h=new Uint8Array([13,10]);i=0;let m=!1;for(let[C,E]of t)if(typeof E=="string"){let D=dB.encode(p+`; name="${l(A(C))}"\r
\r
${A(E)}\r
2026-06-29 14:17:37 +00:00
`);d.push(D),i+=D.byteLength}else{let D=dB.encode(`${p}; name="${l(A(C))}"`+(E.name?`; filename="${l(E.name)}"`:"")+`\r
Content-Type: ${E.type||"application/octet-stream"}\r
\r
2026-06-29 14:17:37 +00:00
`);d.push(D,E,h),typeof E.size=="number"?i+=D.byteLength+E.size+h.byteLength:m=!0}let z=dB.encode(`--${u}--\r
`);d.push(z),i+=z.byteLength,m&&(i=null),n=t,s=o(async function*(){for(let C of d)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${u}`}else if(Hne(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Yg.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:yYe(t)}if((typeof n=="string"||Yg.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let u;r=new ReadableStream({async start(){u=s(t)[Symbol.asyncIterator]()},async pull(p){let{value:l,done:A}=await u.next();if(A)queueMicrotask(()=>{p.close(),p.byobRequest?.respond(0)});else if(!$ne(r)){let d=new Uint8Array(l);d.byteLength&&p.enqueue(d)}return p.desiredSize>0},async cancel(p){await u.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(Kne,"extractBody");function xYe(t,e=!1){return t instanceof ReadableStream&&(LW(!Yg.isDisturbed(t),"The body has already been consumed."),LW(!t.locked,"The stream is locked.")),Kne(t,e)}o(xYe,"safelyExtractBody");function WYe(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(WYe,"cloneBody");function _Ye(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(_Ye,"throwIfAborted");function LYe(t){return{blob(){return Ah(this,r=>{let s=Vne(this);return s===null?s="":s&&(s=FYe(s)),new wYe([r],{type:s})},t)},arrayBuffer(){return Ah(this,r=>new Uint8Array(r).buffer,t)},text(){return Ah(this,jne,t)},json(){return Ah(this,PYe,t)},formData(){return Ah(this,r=>{let s=Vne(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=vYe(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new Xne;return i[dh]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new Xne;for(let[a,c]of n)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 Ah(this,r=>new Uint8Array(r),t)}}}o(LYe,"bodyMixinMethods");function QYe(t){Object.assign(t.prototype,LYe(t))}o(QYe,"mixinBody");async function Ah(t,e,r){if(RYe.brandCheck(t,r),Zne(t))throw new TypeError("Body is unusable: Body has already been read");_Ye(t[dh]);let s=DYe(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[dh].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await qYe(t[dh].body,i,n),s.promise)}o(Ah,"consumeBody");function Zne(t){let e=t[dh].body;return e!=null&&(e.stream.locked||Yg.isDisturbed(e.stream))}o(Zne,"bodyUnusable");function PYe(t){return JSON.parse(jne(t))}o(PYe,"parseJSONFromBytes");function Vne(t){let e=t[dh].headersList,r=IYe(e);return r==="failure"?null:r}o(Vne,"bodyMimeType");eie.exports={extractBody:Kne,safelyExtractBody:xYe,cloneBody:WYe,mixinBody:QYe,streamRegistry:Jne,hasFinalizationRegistry:Yne,bodyUnusable:Zne}});var lie=b((crt,pie)=>{"use strict";var we=require("node:assert"),Pe=r0(),{channels:tie}=th(),PW=EW(),{RequestContentLengthMismatchError:ed,ResponseContentLengthMismatchError:kYe,RequestAbortedError:aie,HeadersTimeoutError:UYe,HeadersOverflowError:GYe,SocketError:gB,InformationalError:hh,BodyTimeoutError:HYe,HTTPParserError:XYe,ResponseExceededMaxSizeError:VYe}=g0(),{kUrl:cie,kReset:Ss,kClient:HW,kParser:Bt,kBlocking:Zg,kRunning:Mr,kPending:jYe,kSize:rie,kWriting:nl,kQueue:ho,kNoRef:Jg,kKeepAliveDefaultTimeout:$Ye,kHostHeader:YYe,kPendingIdx:JYe,kRunningIdx:ai,kError:ci,kPipelining:MB,kSocket:bh,kKeepAliveTimeoutValue:zB,kMaxHeadersSize:kW,kKeepAliveMaxTimeout:KYe,kKeepAliveTimeoutThreshold:ZYe,kHeadersTimeout:eJe,kBodyTimeout:tJe,kStrictContentLength:XW,kMaxRequests:sie,kCounter:rJe,kMaxResponseSize:sJe,kOnError:nJe,kResume:sl,kHTTPContext:uie}=ut(),ua=Jse(),iJe=Buffer.alloc(0),fB=Buffer[Symbol.species],hB=Pe.addListener,oJe=Pe.removeAllListeners,UW;async function aJe(){let t=process.env.JEST_WORKER_ID?BW():void 0,e;try{e=await WebAssembly.compile(ene())}catch{e=await WebAssemb
`;if(typeof n=="string"?z+=`host: ${n}\r
2026-06-29 14:17:37 +00:00
`:z+=t[YYe],i?z+=`connection: upgrade\r
upgrade: ${i}\r
2026-06-29 14:17:37 +00:00
`:t[MB]&&!h[Ss]?z+=`connection: keep-alive\r
`:z+=`connection: close\r
`,Array.isArray(p))for(let C=0;C<p.length;C+=2){let E=p[C+0],D=p[C+1];if(Array.isArray(D))for(let R=0;R<D.length;R++)z+=`${E}: ${D[R]}\r
`;else z+=`${E}: ${D}\r
2026-06-29 14:17:37 +00:00
`}return tie.sendHeaders.hasSubscribers&&tie.sendHeaders.publish({request:e,headers:z,socket:h}),!u||d===0?iie(m,null,t,e,h,l,z,A):Pe.isBuffer(u)?iie(m,u,t,e,h,l,z,A):Pe.isBlobLike(u)?typeof u.stream=="function"?oie(m,u.stream(),t,e,h,l,z,A):fJe(m,u,t,e,h,l,z,A):Pe.isStream(u)?dJe(m,u,t,e,h,l,z,A):Pe.isIterable(u)?oie(m,u,t,e,h,l,z,A):we(!1),!0}o(AJe,"writeH1");function dJe(t,e,r,s,n,i,a,c){we(i!==0||r[Mr]===0,"stream body cannot be pipelined");let u=!1,p=new OB({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a}),l=o(function(m){if(!u)try{!p.write(m)&&this.pause&&this.pause()}catch(z){Pe.destroy(this,z)}},"onData"),A=o(function(){u||e.resume&&e.resume()},"onDrain"),d=o(function(){if(queueMicrotask(()=>{e.removeListener("error",h)}),!u){let m=new aie;queueMicrotask(()=>h(m))}},"onClose"),h=o(function(m){if(!u){if(u=!0,we(n.destroyed||n[nl]&&r[Mr]<=1),n.off("drain",A).off("error",h),e.removeListener("data",l).removeListener("end",h).removeListener("close",d),!m)try{p.end()}catch(z){m=z}p.destroy(m),m&&(m.code!=="UND_ERR_INFO"||m.message!=="reset")?Pe.destroy(e,m):Pe.destroy(e)}},"onFinished");e.on("data",l).on("end",h).on("error",h).on("close",d),e.resume&&e.resume(),n.on("drain",A).on("error",h),e.errorEmitted??e.errored?setImmediate(()=>h(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>h(null)),(e.closeEmitted??e.closed)&&setImmediate(d)}o(dJe,"writeStream");function iie(t,e,r,s,n,i,a,c){try{e?Pe.isBuffer(e)&&(we(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r
\r
2026-06-29 14:17:37 +00:00
`,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[Ss]=!0)):i===0?n.write(`${a}content-length: 0\r
\r
`,"latin1"):(we(i===null,"no body must not have content length"),n.write(`${a}\r
2026-06-29 14:17:37 +00:00
`,"latin1")),s.onRequestSent(),r[sl]()}catch(u){t(u)}}o(iie,"writeBuffer");async function fJe(t,e,r,s,n,i,a,c){we(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new ed;let u=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r
\r
2026-06-29 14:17:37 +00:00
`,"latin1"),n.write(u),n.uncork(),s.onBodySent(u),s.onRequestSent(),!c&&s.reset!==!1&&(n[Ss]=!0),r[sl]()}catch(u){t(u)}}o(fJe,"writeBlob");async function oie(t,e,r,s,n,i,a,c){we(i!==0||r[Mr]===0,"iterator body cannot be pipelined");let u=null;function p(){if(u){let d=u;u=null,d()}}o(p,"onDrain");let l=o(()=>new Promise((d,h)=>{we(u===null),n[ci]?h(n[ci]):u=d}),"waitForDrain");n.on("close",p).on("drain",p);let A=new OB({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let d of e){if(n[ci])throw n[ci];A.write(d)||await l()}A.end()}catch(d){A.destroy(d)}finally{n.off("close",p).off("drain",p)}}o(oie,"writeIterable");var OB=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[nl]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:u}=this;if(r[ci])throw r[ci];if(r.destroyed)return!1;let p=Buffer.byteLength(e);if(!p)return!0;if(n!==null&&a+p>n){if(i[XW])throw new ed;process.emitWarning(new ed)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[Ss]=!0),n===null?r.write(`${u}transfer-encoding: chunked\r
`,"latin1"):r.write(`${u}content-length: ${n}\r
\r
`,"latin1")),n===null&&r.write(`\r
${p.toString(16)}\r
2026-06-29 14:17:37 +00:00
`,"latin1"),this.bytesWritten+=p;let l=r.write(e);return r.uncork(),s.onBodySent(e),l||r[Bt].timeout&&r[Bt].timeoutType===Mh&&r[Bt].timeout.refresh&&r[Bt].timeout.refresh(),l}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[nl]=!1,e[ci])throw e[ci];if(!e.destroyed){if(n===0?i?e.write(`${a}content-length: 0\r
\r
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
2026-06-29 14:17:37 +00:00
`,"latin1"),r!==null&&n!==r){if(s[XW])throw new ed;process.emitWarning(new ed)}e[Bt].timeout&&e[Bt].timeoutType===Mh&&e[Bt].timeout.refresh&&e[Bt].timeout.refresh(),s[sl]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[nl]=!1,e&&(we(s[Mr]<=1,"pipeline should only contain this request"),n(e))}};pie.exports=uJe});var gie=b((prt,mie)=>{"use strict";var ui=require("node:assert"),{pipeline:hJe}=require("node:stream"),o0=r0(),{RequestContentLengthMismatchError:YW,RequestAbortedError:Aie,SocketError:ez,InformationalError:JW}=g0(),{kUrl:EB,kReset:CB,kClient:mh,kRunning:BB,kPending:bJe,kQueue:il,kPendingIdx:KW,kRunningIdx:bo,kError:mo,kSocket:I1,kStrictContentLength:MJe,kOnError:ZW,kMaxConcurrentStreams:Mie,kHTTP2Session:Mo,kResume:ol,kSize:mJe,kHTTPContext:gJe}=ut(),uu=Symbol("open streams"),die,fie=!1,yB;try{yB=require("node:http2")}catch{yB={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:zJe,HTTP2_HEADER_METHOD:OJe,HTTP2_HEADER_PATH:EJe,HTTP2_HEADER_SCHEME:yJe,HTTP2_HEADER_CONTENT_LENGTH:CJe,HTTP2_HEADER_EXPECT:BJe,HTTP2_HEADER_STATUS:DJe}}=yB;function qJe(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(qJe,"parseH2Headers");async function IJe(t,e){t[I1]=e,fie||(fie=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=yB.connect(t[EB],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[Mie]});r[uu]=0,r[mh]=t,r[I1]=e,o0.addListener(r,"error",wJe),o0.addListener(r,"frameError",SJe),o0.addListener(r,"end",NJe),o0.addListener(r,"goaway",FJe),o0.addListener(r,"close",function(){let{[mh]:n}=this,{[I1]:i}=n,a=this[I1][mo]||this[mo]||new ez("closed",o0.getSocketInfo(i));if(n[Mo]=null,n.destroyed){ui(n[bJe]===0);let c=n[il].splice(n[bo]);for(let u=0;u<c.length;u++){let p=c[u];o0.errorRequest(n,p,a)}}}),r.unref(),t[Mo]=r,e[Mo]=r,o0.addListener(e,"error",function(n){ui(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[mo]=n,this[mh][ZW](n)}),o0.addListener(e,"end",function(){o0.destroy(this,new ez("other side closed",o0.getSocketInfo(this)))}),o0.addListener(e,"close",function(){let n=this[mo]||new ez("closed",o0.getSocketInfo(this));t[I1]=null,this[Mo]!=null&&this[Mo].destroy(n),t[KW]=t[bo],ui(t[BB]===0),t.emit("disconnect",t[EB],[t],n),t[ol]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return TJe(t,...n)},resume(){RJe(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(IJe,"connectH2");function RJe(t){let e=t[I1];e?.destroyed===!1&&(t[mJe]===0&&t[Mie]===0?(e.unref(),t[Mo].unref()):(e.ref(),t[Mo].ref()))}o(RJe,"resumeH2");function wJe(t){ui(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[I1][mo]=t,this[mh][ZW](t)}o(wJe,"onHttp2SessionError");function SJe(t,e,r){if(r===0){let s=new JW(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[I1][mo]=s,this[mh][ZW](s)}}o(SJe,"onHttp2FrameError");function NJe(){let t=new ez("other side closed",o0.getSocketInfo(this[I1]));this.destroy(t),o0.destroy(this[I1],t)}o(NJe,"onHttp2SessionEnd");function FJe(t){let e=this[mo]||new ez(`HTTP/2: "GOAWAY" frame received with code ${t}`,o0.getSocketInfo(this)),r=this[mh];if(r[I1]=null,r[gJe]=null,this[Mo]!=null&&(this[Mo].destroy(e),this[Mo]=null),o0.destroy(this[I1],e),r[bo]<r[il].length){let s=r[il][r[bo]];r[il][r[bo]++]=null,o0.errorRequest(r,s,e),r[KW]=r[bo]}ui(r[BB]===0),r.emit("disconnect",r[EB],[r],e),r[ol]()}o(FJe,"onHTTP2GoAway");function vJe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(vJe,"shouldSendContentLength");function TJe(t,e){let r=t[Mo],{method:s,path:n,host:i,upgrade:a,expectContinue:c,signal:u,headers:p}=e,{body:l}=e;if(a)return o0.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let A={};for(let w=0;w<p.length;w+=2){let F=p[w+0],W=p[w+1];if(Array.isArray(W))for(let Q=0;Q<W.length;Q++)A[F]?A[F]+=`,${W[Q]}`:A[F]=W[Q];else A[F]=W}let d,{hostname:h,port:m}=t[EB];A[zJ
`,this[aKe]=u??3e5,this[oKe]=n??3e5,this[cKe]=D??!0,this[uKe]=w,this[s_]=W,this[cl]=null,this[fKe]=$>-1?$:-1,this[bKe]=Z??100,this[Ht]=null,this[go]=[],this[lu]=0,this[zo]=0,this[nz]=Ie=>i_(this,Ie),this[hKe]=Ie=>Sie(this,Ie)}get pipelining(){return this[RB]}set pipelining(e){this[RB]=e,this[nz](!0)}get[az](){return this[go].length-this[zo]}get[oz](){return this[zo]-this[lu]}get[iz](){return this[go].length-this[lu]}get[ZJe](){return!!this[Ht]&&!this[zh]&&!this[Ht].destroyed}get[r_](){return!!(this[Ht]?.busy(null)||this[iz]>=(wie(this)||1)||this[az]>0)}[KJe](e){Nie(this),this.once("connect",e)}[dKe](e,r){let s=e.origin||this[da].origin,n=new XJe(s,e,r);return this[go].push(n),this[rd]||(td.bodyLength(n.body)==null&&td.isIterable(n.body)?(this[rd]=1,queueMicrotask(()=>i_(this))):this[nz](!0)),this[rd]&&this[ul]!==2&&this[r_]&&(this[ul]=2),this[ul]<2}async[lKe](){return new Promise(e=>{this[iz]?this[cl]=e:e(null)})}async[AKe](e){return new Promise(r=>{let s=this[go].splice(this[zo]);for(let i=0;i<s.length;i++){let a=s[i];td.errorRequest(this,a,e)}let n=o(()=>{this[cl]&&(this[cl](),this[cl]=null),r(null)},"callback");this[Ht]?(this[Ht].destroy(e,n),this[Ht]=null):queueMicrotask(n),this[nz]()})}},gKe=IB();function Sie(t,e){if(t[oz]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){pu(t[zo]===t[lu]);let r=t[go].splice(t[lu]);for(let s=0;s<r.length;s++){let n=r[s];td.errorRequest(t,n,e)}pu(t[iz]===0)}}o(Sie,"onError");async function Nie(t){pu(!t[zh]),pu(!t[Ht]);let{host:e,hostname:r,protocol:s,port:n}=t[da];if(r[0]==="["){let i=r.indexOf("]");pu(i!==-1);let a=r.substring(1,i);pu(Rie.isIP(a)),r=a}t[zh]=!0,gh.beforeConnect.hasSubscribers&&gh.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[Ht]?.version,servername:t[al],localAddress:t[sz]},connector:t[rz]});try{let i=await new Promise((a,c)=>{t[rz]({host:e,hostname:r,protocol:s,port:n,servername:t[al],localAddress:t[sz]},(u,p)=>{u?c(u):a(p)})});if(t.destroyed){td.destroy(i.on("error",qie),new $Je);return}pu(i);try{t[Ht]=i.alpnProtocol==="h2"?await mKe(t,i):await MKe(t,i)}catch(a){throw i.destroy().on("error",qie),a}t[zh]=!1,i[pKe]=0,i[s_]=t[s_],i[JJe]=t,i[tKe]=null,gh.connected.hasSubscribers&&gh.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[Ht]?.version,servername:t[al],localAddress:t[sz]},connector:t[rz],socket:i}),t.emit("connect",t[da],[t])}catch(i){if(t.destroyed)return;if(t[zh]=!1,gh.connectError.hasSubscribers&&gh.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[Ht]?.version,servername:t[al],localAddress:t[sz]},connector:t[rz],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(pu(t[oz]===0);t[az]>0&&t[go][t[zo]].servername===t[al];){let a=t[go][t[zo]++];td.errorRequest(t,a,i)}else Sie(t,i);t.emit("connectionError",t[da],[t],i)}t[nz]()}o(Nie,"connect");function Iie(t){t[ul]=0,t.emit("drain",t[da],[t])}o(Iie,"emitDrain");function i_(t,e){t[rd]!==2&&(t[rd]=2,zKe(t,e),t[rd]=0,t[lu]>256&&(t[go].splice(0,t[lu]),t[zo]-=t[lu],t[lu]=0))}o(i_,"resume");function zKe(t,e){for(;;){if(t.destroyed){pu(t[az]===0);return}if(t[cl]&&!t[iz]){t[cl](),t[cl]=null;return}if(t[Ht]&&t[Ht].resume(),t[r_])t[ul]=2;else if(t[ul]===2){e?(t[ul]=1,queueMicrotask(()=>Iie(t))):Iie(t);continue}if(t[az]===0||t[oz]>=(wie(t)||1))return;let r=t[go][t[zo]];if(t[da].protocol==="https:"&&t[al]!==r.servername){if(t[oz]>0)return;t[al]=r.servername,t[Ht]?.destroy(new jJe("servername changed"),()=>{t[Ht]=null,i_(t)})}if(t[zh])return;if(!t[Ht]){Nie(t);return}if(t[Ht].destroyed||t[Ht].busy(r))return;!r.aborted&&t[Ht].write(r)?t[zo]++:t[go].splice(t[zo],1)}}o(zKe,"_resume");Fie.exports=n_});var o_=b((grt,vie)=>{"use strict";var wB=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
${s.count} ${s.noun} ${s.is} pending:
${e.format(r)}
2026-06-29 14:17:37 +00:00
`.trim())}};Kae.exports=dL});var jB=b((Ost,sce)=>{"use strict";var ece=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:a00}=g0(),c00=yh();rce()===void 0&&tce(new c00);function tce(t){if(!t||typeof t.dispatch!="function")throw new a00("Argument agent must implement Agent");Object.defineProperty(globalThis,ece,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(tce,"setGlobalDispatcher");function rce(){return globalThis[ece]}o(rce,"getGlobalDispatcher");sce.exports={setGlobalDispatcher:tce,getGlobalDispatcher:rce}});var $B=b((Cst,nce)=>{"use strict";nce.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 oce=b((Dst,ice)=>{"use strict";var u00=qB();ice.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let u=new u00(r,a,n,i);return r(c,u)},"redirectInterceptor")}});var cce=b((Ist,ace)=>{"use strict";var p00=_B();ace.exports=t=>e=>o(function(s,n){return e(s,new p00({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var pce=b((wst,uce)=>{"use strict";var l00=r0(),{InvalidArgumentError:A00,RequestAbortedError:d00}=g0(),f00=$B(),fL=class extends f00{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#s=!1;#r=!1;#n=0;#i=null;#c=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new A00("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#c=r}onConnect(e){this.#t=e,this.#c.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#i=e}onHeaders(e,r,s,n){let a=l00.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new d00(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#c.onHeaders(e,r,s,n)}onError(e){this.#s||(e=this.#i??e,this.#c.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#s=!0,this.#r?this.#c.onError(this.#i):this.#c.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#c.onError(this.reason);return}this.#c.onComplete(e)}}};function h00({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new fL({maxSize:i},n);return e(s,a)},"Intercept")}o(h00,"createDumpInterceptor");uce.exports=h00});var dce=b((Nst,Ace)=>{"use strict";var{isIP:b00}=require("node:net"),{lookup:M00}=require("node:dns"),m00=$B(),{InvalidArgumentError:Fh,InformationalError:g00}=g0(),lce=Math.pow(2,31)-1,hL=class{static{o(this,"DNSInstance")}#e=0;#t=0;#s=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.#r,this.pick=e.pick??this.#n}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let n=this.#s.get(e.hostname);if(n==null&&this.full){s(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(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new g00("No DNS entries found"));return}this.setRecords(e,c);let u=this.#s.get(e.hostname),p=this.pick(e,u,i.affinity),l;typeof p.port=="number"?l=`:${p.port}`:e.port!==""?l=`:${e.port}`:l="",s(null,`${e.protocol}//${p.family===6?`[${p.address}]`:p.address}${l}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,s){M00(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:
${i}`;break;case"retry":Xpe(i)&&(r[n]=i);break;case"id":Vpe(i)&&(r[n]=i);break;case"event":i.length>0&&(r[n]=i);break}}processEvent(e){e.retry&&Xpe(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Vpe(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}}};jpe.exports={EventSourceStream:r8}});var sle=b((Tnt,rle)=>{"use strict";var{pipeline:Is0}=require("node:stream"),{fetching:Rs0}=Ez(),{makeRequest:ws0}=xh(),{webidl:bu}=or(),{EventSourceStream:Ss0}=$pe(),{parseMIMEType:Ns0}=ws(),{createFastMessageEvent:Fs0}=kh(),{isNetworkError:Ype}=zz(),{delay:vs0}=e8(),{kEnumerableProperty:md}=r0(),{environmentSettingsObject:Jpe}=bn(),Kpe=!1,Zpe=3e3,Tz=0,ele=1,xz=2,Ts0="anonymous",xs0="use-credentials",Vh=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#s=!1;#r=Tz;#n=null;#i=null;#c;#a;constructor(e,r={}){super(),bu.util.markAsUncloneable(this);let s="EventSource constructor";bu.argumentLengthCheck(arguments,1,s),Kpe||(Kpe=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=bu.converters.USVString(e,s,"url"),r=bu.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#c=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Zpe};let n=Jpe,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(u){throw new DOMException(u,"SyntaxError")}this.#t=i.href;let a=Ts0;r.withCredentials&&(a=xs0,this.#s=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Jpe.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=ws0(c),this.#o()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#o(){if(this.#r===xz)return;this.#r=Tz;let e={request:this.#n,dispatcher:this.#c},r=o(s=>{Ype(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(Ype(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let n=s.headersList.get("content-type",!0),i=n!==null?Ns0(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=ele,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new Ss0({eventSourceSettings:this.#a,push:o(u=>{this.dispatchEvent(Fs0(u.type,u.options))},"push")});Is0(s.body.stream,c,u=>{u?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=Rs0(e)}async#l(){this.#r!==xz&&(this.#r=Tz,this.dispatchEvent(new Event("error")),await vs0(this.#a.reconnectionTime),this.#r===Tz&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#o()))}close(){bu.brandCheck(this,t),this.#r!==xz&&(this.#r=xz,this.#i.abort(),this.#n=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}},tle={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Tz,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:ele,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,val
%s`,F,F,D,s);var W=D.type==="*"?aQ:D.type==="?"?oQ:"\\"+D.type;n=!0,s=s.slice(0,D.reStart)+W+"\\("+F}m(),i&&(s+="\\\\");var Q=!1;switch(s.charAt(0)){case"[":case".":case"(":Q=!0}for(var $=c.length-1;$>-1;$--){var he=c[$],Re=s.slice(0,he.reStart),Z=s.slice(he.reStart,he.reEnd-8),De=s.slice(he.reEnd-8,he.reEnd),J=s.slice(he.reEnd);De+=J;var Ie=Re.split("(").length-1,Le=J;for(z=0;z<Ie;z++)Le=Le.replace(/\)[+*?]?/,"");J=Le;var m0="";J===""&&e!==oq&&(m0="$");var l0=Re+Z+J+m0+De;s=l0}if(s!==""&&n&&(s="(?=.)"+s),Q&&(s=d+s),e===oq)return[s,n];if(!n)return hc0(t);var v0=r.nocase?"i":"";try{var gt=new RegExp("^"+s+"$",v0)}catch{return new RegExp("$.")}return gt._glob=t,gt._src=s,gt}o(dc0,"parse");qn.makeRe=function(t,e){return new ur(t,e||{}).makeRe()};ur.prototype.makeRe=fc0;function fc0(){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?aQ:e.dot?oc0:ac0,s=e.nocase?"i":"",n=t.map(function(i){return i.map(function(a){return a===cQ?r:typeof a=="string"?bc0(a):a._src}).join("\\/")}).join("|");n="^(?:"+n+")$",this.negate&&(n="^(?!"+n+").*$");try{this.regexp=new RegExp(n,s)}catch{this.regexp=!1}return this.regexp}o(fc0,"makeRe");qn.match=function(t,e,r){r=r||{};var s=new ur(e,r);return t=t.filter(function(n){return s.match(n)}),s.options.nonull&&!t.length&&t.push(e),t};ur.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 s=this.options;nO.sep!=="/"&&(e=e.split(nO.sep).join("/")),e=e.split(l2e),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a<n.length;a++){var c=n[a],u=e;s.matchBase&&c.length===1&&(u=[i]);var p=this.matchOne(u,c,r);if(p)return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate},"match");ur.prototype.matchOne=function(t,e,r){var s=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var n=0,i=0,a=t.length,c=e.length;n<a&&i<c;n++,i++){this.debug("matchOne loop");var u=e[i],p=t[n];if(this.debug(e,u,p),u===!1)return!1;if(u===cQ){this.debug("GLOBSTAR",[e,u,p]);var l=n,A=i+1;if(A===c){for(this.debug("** at the end");n<a;n++)if(t[n]==="."||t[n]===".."||!s.dot&&t[n].charAt(0)===".")return!1;return!0}for(;l<a;){var d=t[l];if(this.debug(`
globstar while`,t,l,e,A,d),this.matchOne(t.slice(l),e.slice(A),r))return this.debug("globstar found match!",l,a,d),!0;if(d==="."||d===".."||!s.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,l,e,A);break}this.debug("globstar swallow a segment, and continue"),l++}return!!(r&&(this.debug(`
2026-06-29 14:17:37 +00:00
>>> no match, partial?`,t,l,e,A),l===a))}var h;if(typeof u=="string"?(h=p===u,this.debug("string match",u,p,h)):(h=p.match(u),this.debug("pattern match",u,p,h)),!h)return!1}if(n===a&&i===c)return!0;if(n===a)return r;if(i===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function hc0(t){return t.replace(/\\(.)/g,"$1")}o(hc0,"globUnescape");function bc0(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(bc0,"regExpEscape")});var ob=b((dut,m2e)=>{"use strict";var Cc0="2.0.0",Bc0=Number.MAX_SAFE_INTEGER||9007199254740991,Dc0=16,qc0=250,Ic0=["major","premajor","minor","preminor","patch","prepatch","prerelease"];m2e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Dc0,MAX_SAFE_BUILD_LENGTH:qc0,MAX_SAFE_INTEGER:Bc0,RELEASE_TYPES:Ic0,SEMVER_SPEC_VERSION:Cc0,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var aO=b((fut,g2e)=>{"use strict";var Rc0=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};g2e.exports=Rc0});var ab=b((Ea,z2e)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:pQ,MAX_SAFE_BUILD_LENGTH:wc0,MAX_LENGTH:Sc0}=ob(),Nc0=aO();Ea=z2e.exports={};var Fc0=Ea.re=[],vc0=Ea.safeRe=[],le=Ea.src=[],Tc0=Ea.safeSrc=[],Ae=Ea.t={},xc0=0,lQ="[a-zA-Z0-9-]",Wc0=[["\\s",1],["\\d",Sc0],[lQ,wc0]],_c0=o(t=>{for(let[e,r]of Wc0)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Ve=o((t,e,r)=>{let s=_c0(e),n=xc0++;Nc0(t,n,e),Ae[t]=n,le[n]=e,Tc0[n]=s,Fc0[n]=new RegExp(e,r?"g":void 0),vc0[n]=new RegExp(s,r?"g":void 0)},"createToken");Ve("NUMERICIDENTIFIER","0|[1-9]\\d*");Ve("NUMERICIDENTIFIERLOOSE","\\d+");Ve("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${lQ}*`);Ve("MAINVERSION",`(${le[Ae.NUMERICIDENTIFIER]})\\.(${le[Ae.NUMERICIDENTIFIER]})\\.(${le[Ae.NUMERICIDENTIFIER]})`);Ve("MAINVERSIONLOOSE",`(${le[Ae.NUMERICIDENTIFIERLOOSE]})\\.(${le[Ae.NUMERICIDENTIFIERLOOSE]})\\.(${le[Ae.NUMERICIDENTIFIERLOOSE]})`);Ve("PRERELEASEIDENTIFIER",`(?:${le[Ae.NONNUMERICIDENTIFIER]}|${le[Ae.NUMERICIDENTIFIER]})`);Ve("PRERELEASEIDENTIFIERLOOSE",`(?:${le[Ae.NONNUMERICIDENTIFIER]}|${le[Ae.NUMERICIDENTIFIERLOOSE]})`);Ve("PRERELEASE",`(?:-(${le[Ae.PRERELEASEIDENTIFIER]}(?:\\.${le[Ae.PRERELEASEIDENTIFIER]})*))`);Ve("PRERELEASELOOSE",`(?:-?(${le[Ae.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${le[Ae.PRERELEASEIDENTIFIERLOOSE]})*))`);Ve("BUILDIDENTIFIER",`${lQ}+`);Ve("BUILD",`(?:\\+(${le[Ae.BUILDIDENTIFIER]}(?:\\.${le[Ae.BUILDIDENTIFIER]})*))`);Ve("FULLPLAIN",`v?${le[Ae.MAINVERSION]}${le[Ae.PRERELEASE]}?${le[Ae.BUILD]}?`);Ve("FULL",`^${le[Ae.FULLPLAIN]}$`);Ve("LOOSEPLAIN",`[v=\\s]*${le[Ae.MAINVERSIONLOOSE]}${le[Ae.PRERELEASELOOSE]}?${le[Ae.BUILD]}?`);Ve("LOOSE",`^${le[Ae.LOOSEPLAIN]}$`);Ve("GTLT","((?:<|>)?=?)");Ve("XRANGEIDENTIFIERLOOSE",`${le[Ae.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Ve("XRANGEIDENTIFIER",`${le[Ae.NUMERICIDENTIFIER]}|x|X|\\*`);Ve("XRANGEPLAIN",`[v=\\s]*(${le[Ae.XRANGEIDENTIFIER]})(?:\\.(${le[Ae.XRANGEIDENTIFIER]})(?:\\.(${le[Ae.XRANGEIDENTIFIER]})(?:${le[Ae.PRERELEASE]})?${le[Ae.BUILD]}?)?)?`);Ve("XRANGEPLAINLOOSE",`[v=\\s]*(${le[Ae.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[Ae.XRANGEIDENTIFIERLOOSE]})(?:\\.(${le[Ae.XRANGEIDENTIFIERLOOSE]})(?:${le[Ae.PRERELEASELOOSE]})?${le[Ae.BUILD]}?)?)?`);Ve("XRANGE",`^${le[Ae.GTLT]}\\s*${le[Ae.XRANGEPLAIN]}$`);Ve("XRANGELOOSE",`^${le[Ae.GTLT]}\\s*${le[Ae.XRANGEPLAINLOOSE]}$`);Ve("COERCEPLAIN",`(^|[^\\d])(\\d{1,${pQ}})(?:\\.(\\d{1,${pQ}}))?(?:\\.(\\d{1,${pQ}}))?`);Ve("COERCE",`${le[Ae.COERCEPLAIN]}(?:$|[^\\d])`);Ve("COERCEFULL",le[Ae.COERCEPLAIN]+`(?:${le[Ae.PRERELEASE]})?(?:${le[Ae.BUILD]})?(?:$|[^\\d])`);Ve("COERCERTL",le[Ae.COERCE],!0);Ve("COERCERTLFULL",le[Ae.COERCEFULL],!0);Ve("LONETILDE","(?:~>?)");Ve("TILDETRIM",`(\\s*)${le[Ae.LONETILDE]}\\s+`,!0);Ea.tildeTrimReplace="$1~";Ve("TILDE",`^${le[Ae.LONETILDE]}${le[Ae.XRANGEPLAIN]}$`);Ve("TILDELOOSE",`^${le[Ae.LONETILDE]}${le[Ae.XRANGEPLAINLOOSE]}$`);Ve("LONECARET","(?:\\^)");Ve("CARETTRIM",`(\\s*)${le[Ae.LONECARET]}\\s+`,!0);Ea.caretTrimReplace="$1^";Ve("CARET",`^${le[Ae.LONECARET]}${le[Ae.XRANGEPLAIN]}$`);Ve("CARETLOOSE",`^${le[Ae.LONECAR
`).join(`
2026-06-29 14:17:37 +00:00
`+i),t.push(n+"m+"+$q.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=qA0()+e+" "+t[0]}o(DA0,"formatArgs");function qA0(){return Ar.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(qA0,"getDate");function IA0(...t){return process.stderr.write(jq.format(...t)+`
`)}o(IA0,"log");function RA0(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(RA0,"save");function wA0(){return process.env.DEBUG}o(wA0,"load");function SA0(t){t.inspectOpts={};let e=Object.keys(Ar.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Ar.inspectOpts[e[r]]}o(SA0,"init");$q.exports=eP()(Ar);var{formatters:rbe}=$q.exports;rbe.o=function(t){return this.inspectOpts.colors=this.useColors,jq.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};rbe.O=function(t){return this.inspectOpts.colors=this.useColors,jq.inspect(t,this.inspectOpts)}});var vd=b((idt,nP)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?nP.exports=Jhe():nP.exports=sbe()});var obe=b(Ws=>{"use strict";var NA0=Ws&&Ws.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),FA0=Ws&&Ws.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),nbe=Ws&&Ws.__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)&&NA0(e,t,r);return FA0(e,t),e};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.req=Ws.json=Ws.toBuffer=void 0;var vA0=nbe(require("http")),TA0=nbe(require("https"));async function ibe(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(ibe,"toBuffer");Ws.toBuffer=ibe;async function xA0(t){let r=(await ibe(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(xA0,"json");Ws.json=xA0;function WA0(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?TA0:vA0).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(WA0,"req");Ws.req=WA0});var pbe=b(Nn=>{"use strict";var cbe=Nn&&Nn.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),_A0=Nn&&Nn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ube=Nn&&Nn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&cbe(e,t,r);return _A0(e,t),e},LA0=Nn&&Nn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&cbe(e,t,r)};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.Agent=void 0;var QA0=ube(require("net")),abe=ube(require("http")),PA0=require("https");LA0(obe(),Nn);var Da=Symbol("AgentBaseInternalState"),iP=class extends abe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Da]={}}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(s=>s.indexOf("(https.js:")!==-1||s.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 QA0.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?PA0.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof abe.Agent)try{return c.addRequest(e,n)}catch(u){return s(u)}this[Da].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Da].currentSocket;if(this[Da].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Da].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Da]&&(this[Da].defaultPort=e)}get protocol(){return this[Da].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Da]&&(this[Da].protocol=e)}};Nn.Agent=iP});var lbe=b(Mb=>{"use strict";var kA0=Mb&&Mb.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Mb,"__esModule",{value:!0});Mb.parseProxyResponse=void 0;var UA0=kA0(vd()),Yq=(0,UA0.default)("https-proxy-agent:parse-proxy-response");function GA0(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let l=t.read();l?p(l):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",u),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),Yq("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function u(l){a(),Yq("onerror %o",l),r(l)}o(u,"onerror");function p(l){n.push(l),s+=l.length;let A=Buffer.concat(n,s),d=A.indexOf(`\r
\r
2026-06-29 14:17:37 +00:00
`);if(d===-1){Yq("have not received end of HTTP headers yet..."),i();return}let h=A.slice(0,d).toString("ascii").split(`\r
`),m=h.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let z=m.split(" "),C=+z[1],E=z.slice(2).join(" "),D={};for(let R of h){if(!R)continue;let w=R.indexOf(":");if(w===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${R}"`));let F=R.slice(0,w).toLowerCase(),W=R.slice(w+1).trimStart(),Q=D[F];typeof Q=="string"?D[F]=[Q,W]:Array.isArray(Q)?Q.push(W):D[F]=W}Yq("got proxy server response: %o %o",m,D),a(),e({connect:{statusCode:C,statusText:E,headers:D},buffered:A})}o(p,"ondata"),t.on("error",u),t.on("end",c),i()})}o(GA0,"parseProxyResponse");Mb.parseProxyResponse=GA0});var Mbe=b(yi=>{"use strict";var HA0=yi&&yi.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),XA0=yi&&yi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hbe=yi&&yi.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&HA0(e,t,r);return XA0(e,t),e},bbe=yi&&yi.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yi,"__esModule",{value:!0});yi.HttpsProxyAgent=void 0;var Jq=hbe(require("net")),Abe=hbe(require("tls")),VA0=bbe(require("assert")),jA0=bbe(vd()),$A0=pbe(),YA0=require("url"),JA0=lbe(),EO=(0,jA0.default)("https-proxy-agent"),dbe=o(t=>t.servername===void 0&&t.host&&!Jq.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Kq=class extends $A0.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new YA0.URL(e):e,this.proxyHeaders=r?.headers??{},EO("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?fbe(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;s.protocol==="https:"?(EO("Creating `tls.Socket`: %o",this.connectOpts),n=Abe.connect(dbe(this.connectOpts))):(EO("Creating `net.Socket`: %o",this.connectOpts),n=Jq.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Jq.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(i))c+=`${d}: ${i[d]}\r
2026-06-29 14:17:37 +00:00
`;let u=(0,JA0.parseProxyResponse)(n);n.write(`${c}\r
`);let{connect:p,buffered:l}=await u;if(e.emit("proxyConnect",p),this.emit("proxyConnect",p,e),p.statusCode===200)return e.once("socket",KA0),r.secureEndpoint?(EO("Upgrading socket connection to TLS"),Abe.connect({...fbe(dbe(r),"host","path","port"),socket:n})):n;n.destroy();let A=new Jq.Socket({writable:!1});return A.readable=!0,e.once("socket",d=>{EO("Replaying proxy buffer for failed request"),(0,VA0.default)(d.listenerCount("data")>0),d.push(l),d.push(null)}),A}};Kq.protocols=["http","https"];yi.HttpsProxyAgent=Kq;function KA0(t){t.resume()}o(KA0,"resume");function fbe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(fbe,"omit")});var zbe=b(_s=>{"use strict";var ZA0=_s&&_s.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),ed0=_s&&_s.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mbe=_s&&_s.__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)&&ZA0(e,t,r);return ed0(e,t),e};Object.defineProperty(_s,"__esModule",{value:!0});_s.req=_s.json=_s.toBuffer=void 0;var td0=mbe(require("http")),rd0=mbe(require("https"));async function gbe(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(gbe,"toBuffer");_s.toBuffer=gbe;async function sd0(t){let r=(await gbe(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(sd0,"json");_s.json=sd0;function nd0(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?rd0:td0).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(nd0,"req");_s.req=nd0});var yO=b(Fn=>{"use strict";var Ebe=Fn&&Fn.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),id0=Fn&&Fn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ybe=Fn&&Fn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Ebe(e,t,r);return id0(e,t),e},od0=Fn&&Fn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Ebe(e,t,r)};Object.defineProperty(Fn,"__esModule",{value:!0});Fn.Agent=void 0;var ad0=ybe(require("net")),Obe=ybe(require("http")),cd0=require("https");od0(zbe(),Fn);var qa=Symbol("AgentBaseInternalState"),oP=class extends Obe.Agent{static{o(this,"Agent")}constructor(e){super(e),this[qa]={}}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(s=>s.indexOf("(https.js:")!==-1||s.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 ad0.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?cd0.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof Obe.Agent)return c.addRequest(e,n);this[qa].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[qa].currentSocket;if(this[qa].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[qa].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[qa]&&(this[qa].defaultPort=e)}get protocol(){return this[qa].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[qa]&&(this[qa].protocol=e)}};Fn.Agent=oP});var aP=b(Ci=>{"use strict";var ud0=Ci&&Ci.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),pd0=Ci&&Ci.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Bbe=Ci&&Ci.__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)&&ud0(e,t,r);return pd0(e,t),e},ld0=Ci&&Ci.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.HttpProxyAgent=void 0;var Ad0=Bbe(require("net")),dd0=Bbe(require("tls")),fd0=ld0(vd()),hd0=require("events"),bd0=yO(),Cbe=require("url"),mb=(0,fd0.default)("http-proxy-agent"),Zq=class extends bd0.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new Cbe.URL(e):e,this.proxyHeaders=r?.headers??{},mb("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Md0(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new Cbe.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let u=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let p=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;u["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}u["Proxy-Connection"]||(u["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(u)){let l=u[p];l&&e.setHeader(p,l)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;mb("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(mb("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r
\r
2026-06-29 14:17:37 +00:00
`)+4,e.outputData[0].data=e._header+s.substring(n),mb("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(mb("Creating `tls.Socket`: %o",this.connectOpts),i=dd0.connect(this.connectOpts)):(mb("Creating `net.Socket`: %o",this.connectOpts),i=Ad0.connect(this.connectOpts)),await(0,hd0.once)(i,"connect"),i}};Zq.protocols=["http","https"];Ci.HttpProxyAgent=Zq;function Md0(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(Md0,"omit")});var Vbe=b(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.state=void 0;dI.state={instrumenterImplementation:void 0}});var pMe=b(mI=>{"use strict";Object.defineProperty(mI,"__esModule",{value:!0});mI.state=void 0;mI.state={operationRequestMap:new WeakMap}});var kge=b(xb=>{"use strict";Object.defineProperty(xb,"__esModule",{value:!0});var WM0=require("os"),_M0=require("util");function LM0(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(LM0,"_interopDefaultLegacy");var QM0=LM0(_M0);function PM0(t,...e){process.stderr.write(`${QM0.default.format(t,...e)}${WM0.EOL}`)}o(PM0,"log");var Nge=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,vge,LU=[],QU=[],W5=[];Nge&&PU(Nge);var Tge=Object.assign(t=>xge(t),{enable:PU,enabled:kU,disable:kM0,log:PM0});function PU(t){vge=t,LU=[],QU=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?QU.push(new RegExp(`^${s.substr(1)}$`)):LU.push(new RegExp(`^${s}$`));for(let s of W5)s.enabled=kU(s.namespace)}o(PU,"enable");function kU(t){if(t.endsWith("*"))return!0;for(let e of QU)if(e.test(t))return!1;for(let e of LU)if(e.test(t))return!0;return!1}o(kU,"enabled");function kM0(){let t=vge||"";return PU(""),t}o(kM0,"disable");function xge(t){let e=Object.assign(r,{enabled:kU(t),destroy:UM0,log:Tge.log,namespace:t,extend:GM0});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),W5.push(e),e}o(xge,"createDebugger");function UM0(){let t=W5.indexOf(this);return t>=0?(W5.splice(t,1),!0):!1}o(UM0,"destroy");function GM0(t){let e=xge(`${this.namespace}:${t}`);return e.log=this.log,e}o(GM0,"extend");var p3=Tge,Wge=new Set,T5=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,_5,L5=p3("azure");L5.log=(...t)=>{p3.log(...t)};var UU=["verbose","info","warning","error"];T5&&(Pge(T5)?_ge(T5):console.error(`AZURE_LOG_LEVEL set to unknown log level '${T5}'; logging is not enabled. Acceptable values: ${UU.join(", ")}.`));function _ge(t){if(t&&!Pge(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${UU.join(",")}`);_5=t;let e=[];for(let r of Wge)Qge(r)&&e.push(r.namespace);p3.enable(e.join(","))}o(_ge,"setLogLevel");function HM0(){return _5}o(HM0,"getLogLevel");var Fge={verbose:400,info:300,warning:200,error:100};function XM0(t){let e=L5.extend(t);return Lge(L5,e),{error:x5(e,"error"),warning:x5(e,"warning"),info:x5(e,"info"),verbose:x5(e,"verbose")}}o(XM0,"createClientLogger");function Lge(t,e){e.log=(...r)=>{t.log(...r)}}o(Lge,"patchLogMethod");function x5(t,e){let r=Object.assign(t.extend(e),{level:e});if(Lge(t,r),Qge(r)){let s=p3.disable();p3.enable(s+","+r.namespace)}return Wge.add(r),r}o(x5,"createLogger");function Qge(t){return!!(_5&&Fge[t.level]<=Fge[_5])}o(Qge,"shouldEnable");function Pge(t){return UU.includes(t)}o(Pge,"isAzureLogLevel");xb.AzureLogger=L5;xb.createClientLogger=XM0;xb.getLogLevel=HM0;xb.setLogLevel=_ge});var XU=b(A3=>{"use strict";Object.defineProperty(A3,"__esModule",{value:!0});var Wb=new WeakMap,Q5=new WeakMap,l3=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Wb.set(this,[]),Q5.set(this,!1)}get aborted(){if(!Q5.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Q5.get(this)}static get none(){return new t}addEventListener(e,r){if(!Wb.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Wb.get(this).push(r)}removeEventListener(e,r){if(!Wb.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Wb.get(this),n=s.indexOf(r);n>-
Polling from: ${r.config.operationLocation}
Operation status: ${l}
2026-06-29 14:17:37 +00:00
Polling status: ${Kge.includes(l)?"Stopped":"Running"}`),l==="succeeded"){let A=a(p,r);if(A!==void 0)return{response:await e(A).catch(Yge({state:r,stateProxy:s,isOperationError:c})),status:l}}return{response:p,status:l}}o(Em0,"pollOperationHelper");async function rze(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:u,withOperationLocation:p,getPollingInterval:l,processResult:A,getError:d,updateState:h,setDelay:m,isDone:z,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:D,status:R}=await Em0({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:u,options:n});if(eze({status:R,response:D,state:r,stateProxy:s,isDone:z,processResult:A,getError:d,setErrorAsResult:C}),!Kge.includes(R)){let w=l?.(D);w&&m(w);let F=c?.(D,r);if(F!==void 0){let W=E!==F;r.config.operationLocation=F,p?.(F,W)}else p?.(E,!1)}h?.(r,D)}}o(rze,"pollOperation");function sze(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(sze,"getOperationLocationPollingUrl");function nze(t){return t.headers.location}o(nze,"getLocationHeader");function ize(t){return t.headers["operation-location"]}o(ize,"getOperationLocationHeader");function oze(t){return t.headers["azure-asyncoperation"]}o(oze,"getAzureAsyncOperationHeader");function ym0(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(ym0,"findResourceLocation");function aze(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=ize(e),a=oze(e),c=sze({operationLocation:i,azureAsyncOperation:a}),u=nze(e),p=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:ym0({requestMethod:p,location:u,requestPath:s,resourceLocationConfig:n})}:u!==void 0?{mode:"ResourceLocation",operationLocation:u}:p==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(aze,"inferLroMode");function cze(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 sG(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 Kd.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(cze,"transformStatus");function Cm0(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return cze({status:r,statusCode:t.statusCode})}o(Cm0,"getStatus");function Bm0(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return cze({status:i,statusCode:t.statusCode})}o(Bm0,"getProvisioningState");function sG(t){return t===202?"running":t<300?"succeeded":"failed"}o(sG,"toOperationStatus");function uze({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Dm0(new Date(e)):r*1e3}}o(uze,"parseRetryAfter");function pze(t){let e=t.flatResponse.error;if(!e){Kd.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Kd.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(pze,"getErrorFromResponse");function Dm0(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(Dm0,"calculatePollingIntervalFromDate");function lze(t){let{response:e,state:r,operationLocation:s}=t;function n(){var a;switch
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(n){case 0:a=i,n=1;break;case 1:r[s++]=a<<2|(i&48)>>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(pg0,"base64decode");Ub.base64decode=pg0;function lg0(t){let e="",r=0,s,n=0;for(let i=0;i<t.length;i++)switch(s=t[i],r){case 0:e+=_u[s>>2],n=(s&3)<<4,r=1;break;case 1:e+=_u[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=_u[n|s>>6],e+=_u[s&63],r=0;break}return r&&(e+=_u[n],e+="=",r==1&&(e+="=")),e}o(lg0,"base64encode");Ub.base64encode=lg0});var kze=b(iR=>{"use strict";Object.defineProperty(iR,"__esModule",{value:!0});iR.utf8read=void 0;var fG=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function Ag0(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?s[n++]=i:i>191&&i<224?s[n++]=(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,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(fG(s)),n=0);return r.length?(n&&r.push(fG(s.slice(0,n))),r.join("")):fG(s.slice(0,n))}o(Ag0,"utf8read");iR.utf8read=Ag0});var z3=b(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.WireType=Za.mergeBinaryOptions=Za.UnknownFieldHandler=void 0;var dg0;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(dg0=Za.UnknownFieldHandler||(Za.UnknownFieldHandler={}));function fg0(t,e){return Object.assign(Object.assign({},t),e)}o(fg0,"mergeBinaryOptions");Za.mergeBinaryOptions=fg0;var hg0;(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"})(hg0=Za.WireType||(Za.WireType={}))});var aR=b(Hs=>{"use strict";Object.defineProperty(Hs,"__esModule",{value:!0});Hs.varint32read=Hs.varint32write=Hs.int64toString=Hs.int64fromString=Hs.varint64write=Hs.varint64read=void 0;function bg0(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<<s,(n&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 s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(bg0,"varint64read");Hs.varint64read=bg0;function Mg0(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),u=(c?a|128:a)&255;if(r.push(u),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),u=(c?a|128:a)&255;if(r.push(u),!c)return}r.push(e>>>31&1)}}o(Mg0,"varint64write");Hs.varint64write=Mg0;var oR=65536*65536;function mg0(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let u=Number(t.slice(a,c));n*=r,s=s*r+u,s>=oR&&(n=n+(s/oR|0),s=s%oR)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(mg0,"int64fromString");Hs.int64fromString=mg0;function gg0(t,e){if(e>>>0<=2097151)return""+(oR*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,u=1e7;i>=u&&(a+=Math.floor(i/u),i%=u),a>=u&&(c+=Math.floor(a/u),a%=u);function p(l,A){let d=l?String(l):"";return A?"0000000".slice(d.length)+d:d}return o(p,"decimalFrom1e7"),p(c,0)+p(a,c)+p(i,1)}o(gg0,"int64toString");Hs.int64toString=gg0;function zg0(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(zg0,"varint32write");Hs.varint32write=zg0;function Og0(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return
`)}};vR.RpcError=PG});var UG=b(xR=>{"use strict";Object.defineProperty(xR,"__esModule",{value:!0});xR.mergeRpcOptions=void 0;var OOe=Jt();function Uz0(t,e){if(!e)return t;let r={};TR(t,r),TR(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=OOe.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=OOe.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},TR(t.meta,r.meta),TR(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(Uz0,"mergeRpcOptions");xR.mergeRpcOptions=Uz0;function TR(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(TR,"copy")});var HG=b(s2=>{"use strict";Object.defineProperty(s2,"__esModule",{value:!0});s2.Deferred=s2.DeferredState=void 0;var rc;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(rc=s2.DeferredState||(s2.DeferredState={}));var GG=class{static{o(this,"Deferred")}constructor(e=!0){this._state=rc.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==rc.PENDING)throw new Error(`cannot resolve ${rc[this.state].toLowerCase()}`);this._resolve(e),this._state=rc.RESOLVED}reject(e){if(this.state!==rc.PENDING)throw new Error(`cannot reject ${rc[this.state].toLowerCase()}`);this._reject(e),this._state=rc.REJECTED}resolvePending(e){this._state===rc.PENDING&&this.resolve(e)}rejectPending(e){this._state===rc.PENDING&&this.reject(e)}};s2.Deferred=GG});var VG=b(WR=>{"use strict";Object.defineProperty(WR,"__esModule",{value:!0});WR.RpcOutputStreamController=void 0;var EOe=HG(),n2=Jt(),XG=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 s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){n2.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){n2.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){n2.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(){n2.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;n2.assert(e,"bad state"),n2.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 EOe.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;n2.assert(s.state==EOe.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};WR.RpcOutputStreamController=XG});var $G=b(Yb=>{"use strict";var Gz0=Yb&&Yb.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})};Object.definePrope
You can add a runtime option to disable the check or this warning:
2026-06-29 14:17:37 +00:00
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(oy0,"logUnexpecedPropertyAccessOnce");function ay0(){Object.keys(Ow).forEach(function(t){delete Ow[t]})}o(ay0,"resetLoggedProperties")});var yw=b(ic=>{"use strict";ic.__esModule=!0;ic.HandlebarsEnvironment=zX;function vEe(t){return t&&t.__esModule?t:{default:t}}o(vEe,"_interopRequireDefault");var d2=cs(),cy0=Un(),mX=vEe(cy0),uy0=fX(),py0=wEe(),ly0=bX(),Ew=vEe(ly0),Ay0=MX(),dy0="4.7.9";ic.VERSION=dy0;var fy0=8;ic.COMPILER_REVISION=fy0;var hy0=7;ic.LAST_COMPATIBLE_COMPILER_REVISION=hy0;var by0={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"};ic.REVISION_CHANGES=by0;var gX="[object Object]";function zX(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},uy0.registerDefaultHelpers(this),py0.registerDefaultDecorators(this)}o(zX,"HandlebarsEnvironment");zX.prototype={constructor:zX,logger:Ew.default,log:Ew.default.log,registerHelper:o(function(e,r){if(d2.toString.call(e)===gX){if(r)throw new mX.default("Arg not supported with multiple helpers");d2.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(d2.toString.call(e)===gX)d2.extend(this.partials,e);else{if(typeof r>"u")throw new mX.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(d2.toString.call(e)===gX){if(r)throw new mX.default("Arg not supported with multiple decorators");d2.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Ay0.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var My0=Ew.default.log;ic.log=My0;ic.createFrame=d2.createFrame;ic.logger=Ew.default});var xEe=b((Cw,TEe)=>{"use strict";Cw.__esModule=!0;function OX(t){this.string=t}o(OX,"SafeString");OX.prototype.toString=OX.prototype.toHTML=function(){return""+this.string};Cw.default=OX;TEe.exports=Cw.default});var WEe=b(EX=>{"use strict";EX.__esModule=!0;EX.wrapHelper=my0;function my0(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(my0,"wrapHelper")});var UEe=b(jl=>{"use strict";jl.__esModule=!0;jl.checkRevision=Cy0;jl.template=By0;jl.wrapProgram=Bw;jl.resolvePartial=Dy0;jl.invokePartial=qy0;jl.noop=PEe;function gy0(t){return t&&t.__esModule?t:{default:t}}o(gy0,"_interopRequireDefault");function zy0(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(zy0,"_interopRequireWildcard");var Oy0=cs(),lM=zy0(Oy0),Ey0=Un(),Uu=gy0(Ey0),Gu=yw(),_Ee=fX(),yy0=WEe(),LEe=MX();function Cy0(t){var e=t&&t[0]||1,r=Gu.COMPILER_REVISION;if(!(e>=Gu.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Gu.COMPILER_REVISION))if(e<Gu.LAST_COMPATIBLE_COMPILER_REVISION){var s=Gu.REVISION_CHANGES[r],n=Gu.REVISION_CHANGES[e];throw new Uu.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+n+").")}else throw new Uu.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(Cy0,"checkRevision");function By0(t,e){if(!e)throw new Uu.default("No environment passed to template");if(!t||!t.main)throw new Uu.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 s(a,c,u){u.hash&&(c=lM.extend({},c,u.hash),u.ids&&(u.ids[0]=!0)),a=e.VM.res
`),A=0,d=l.length;A<d&&!(!l[A]&&A+1===d);A++)l[A]=u.indent+l[A];p=l.join(`
2026-06-29 14:17:37 +00:00
`)}return p}else throw new Uu.default("The partial "+u.name+" could not be compiled when running in runtime-only mode")}o(s,"invokePartialWrapper");var n={strict:o(function(c,u,p){if(!c||!(u in c))throw new Uu.default('"'+u+'" not defined in '+c,{loc:p});return n.lookupProperty(c,u)},"strict"),lookupProperty:o(function(c,u){var p=c[u];if(p==null||Object.prototype.hasOwnProperty.call(c,u)||LEe.resultIsAllowed(p,n.protoAccessControl,u))return p},"lookupProperty"),lookup:o(function(c,u){for(var p=c.length,l=0;l<p;l++){var A=c[l]&&n.lookupProperty(c[l],u);if(A!=null)return A}},"lookup"),lambda:o(function(c,u){return typeof c=="function"?c.call(u):c},"lambda"),escapeExpression:lM.escapeExpression,invokePartial:s,fn:o(function(c){var u=t[c];return u.decorator=t[c+"_d"],u},"fn"),programs:[],program:o(function(c,u,p,l,A){var d=this.programs[c],h=this.fn(c);return u||A||l||p?d=Bw(this,c,h,u,p,l,A):d||(d=this.programs[c]=Bw(this,c,h)),d},"program"),data:o(function(c,u){for(;c&&u--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,u){var p=c||u;return c&&u&&c!==u&&(p=lM.extend({},u,c)),p},"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],u=c.data;i._setup(c),!c.partial&&t.useData&&(u=Iy0(a,u));var p=void 0,l=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?p=a!=c.depths[0]?[a].concat(c.depths):c.depths:p=[a]);function A(d){return""+t.main(n,d,n.helpers,n.partials,u,l,p)}return o(A,"main"),A=kEe(t.main,A,n,c.depths||[],u,l),A(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)n.protoAccessControl=a.protoAccessControl,n.helpers=a.helpers,n.partials=a.partials,n.decorators=a.decorators,n.hooks=a.hooks;else{var c={};QEe(c,e.helpers,n),QEe(c,a.helpers,n),n.helpers=c,t.usePartial&&(n.partials=n.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(n.decorators=lM.extend({},e.decorators,a.decorators)),n.hooks={},n.protoAccessControl=LEe.createProtoAccessControl(a);var u=a.allowCallsToHelperMissing||r;_Ee.moveHelperToHooks(n,"helperMissing",u),_Ee.moveHelperToHooks(n,"blockHelperMissing",u)}},i._child=function(a,c,u,p){if(t.useBlockParams&&!u)throw new Uu.default("must pass block params");if(t.useDepths&&!p)throw new Uu.default("must pass parent depths");return Bw(n,a,t[a],c,0,u,p)},i}o(By0,"template");function Bw(t,e,r,s,n,i,a){function c(u){var p=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=a;return a&&u!=a[0]&&!(u===t.nullContext&&a[0]===null)&&(l=[u].concat(a)),r(t,u,t.helpers,t.partials,p.data||s,i&&[p.blockParams].concat(i),l)}return o(c,"prog"),c=kEe(r,c,t,a,s,i),c.program=e,c.depth=a?a.length:0,c.blockParams=n||0,c}o(Bw,"wrapProgram");function Dy0(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=Dw(r.partials,t)):r.name==="@partial-block"?t=Dw(r.data,"partial-block"):t=Dw(r.partials,r.name),t}o(Dy0,"resolvePartial");function qy0(t,e,r){var s=Dw(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var n=void 0;if(r.fn&&r.fn!==PEe&&(function(){r.data=Gu.createFrame(r.data);var i=r.fn;n=r.data["partial-block"]=o(function(c){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return u.data=Gu.createFrame(u.data),u.data["partial-block"]=s,i(c,u)},"partialBlockWrapper"),i.partials&&(r.partials=lM.extend({},r.partials,i.partials))})(),t===void 0&&n&&(t=n),t===void 0)throw new Uu.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(qy0,"invokePartial");function PEe(){return""}o(PEe,"noop");function Dw(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(Dw,"lookupOwnProperty");function Iy0(t,e){return(!e||!("root"in e))&&(e=e?Gu.createFrame(e):{},e.root=t),e}o(Iy0,"initData");function kEe(t,e,r,s,n,i){if(t.decorator){var a={};e=t.decorator(e,a,r,s&&s[0],n,i,s),lM.extend(e,a)}return e}o(kEe,"executeDecorators");function QEe(t,e,r){e&&Object.keys(e).forEach(function(s){var n=e[s];t[s]=Ry0(n,r)})}o(QEe,"addHelpers");function Ry0(t,e){var r=e.lookupProperty;return yy0
`+this.lexer.showPosition()+`
2026-06-29 14:17:37 +00:00
Expecting `+Ie.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Le="Parse error on line "+(A+1)+": Unexpected "+(w==1?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Le,{text:this.lexer.match,token:this.terminals_[w]||w,line:this.lexer.yylineno,loc:C,expected:Ie})}}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+w);switch(Q[0]){case 1:a.push(w),c.push(this.lexer.yytext),u.push(this.lexer.yylloc),a.push(Q[1]),w=null,F?(w=F,F=null):(d=this.lexer.yyleng,l=this.lexer.yytext,A=this.lexer.yylineno,C=this.lexer.yylloc,h>0&&h--);break;case 2:if(De=this.productions_[Q[1]][1],Re.$=c[c.length-De],Re._$={first_line:u[u.length-(De||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(De||1)].first_column,last_column:u[u.length-1].last_column},E&&(Re._$.range=[u[u.length-(De||1)].range[0],u[u.length-1].range[1]]),he=this.performAction.call(Re,l,d,A,this.yy,Q[1],c,u),typeof he<"u")return he;De&&(a=a.slice(0,-1*De*2),c=c.slice(0,-1*De),u=u.slice(0,-1*De)),a.push(this.productions_[Q[1]][0]),c.push(Re.$),u.push(Re._$),J=p[a[a.length-2]][a[a.length-1]],a.push(J);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={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 u=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 p=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===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[p[0],p[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,u,p,l;this._more||(this.yytext="",this.match="");for(var A=this._currentRules(),d=0;d<A.length&&(c=this._input.match(this.rules[A[d]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,u=d,!this.options.flex)));d++);return a?(l=a[0].match(/(?:\r\n?|\n).*/g),l&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.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,A[u],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.
2026-06-29 14:17:37 +00:00
`+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 s.options={},s.performAction=o(function(i,a,c,u){function p(A,d){return a.yytext=a.yytext.substring(A,a.yyleng-d+A)}o(p,"strip");var l=u;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(p(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(p(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:(p(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=p(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=p(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"),s.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.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}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();ww.default=Ly0;KEe.exports=ww.default});var vw=b((Fw,rye)=>{"use strict";Fw.__esModule=!0;function Qy0(t){return t&&t.__esModule?t:{default:t}}o(Qy0,"_interopRequireDefault");var Py0=Un(),IX=Qy0(Py0);function Sw(){this.parents=[]}o(Sw,"Visitor");Sw.prototype={constructor:Sw,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!Sw.prototype[s.type])throw new IX.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.a
`])}),e},"merge"),each:o(function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new M2(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 M2?e:(e=YX(e,this,r),new M2(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},"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,s=[];Object.keys(e).forEach(function(i){var a=YX(e[i],r);a!=="undefined"&&s.push([r.quotedString(i),":",a])});var n=this.generateList(s);return n.prepend("{"),n.add("}"),n},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),s=0,n=e.length;s<n;s++)s&&r.add(","),r.add(YX(e[s],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};kw.default=Wye;_ye.exports=kw.default});var Gye=b((Uw,Uye)=>{"use strict";Uw.__esModule=!0;function kye(t){return t&&t.__esModule?t:{default:t}}o(kye,"_interopRequireDefault");var Qye=yw(),_C0=Un(),KX=kye(_C0),LC0=cs(),QC0=Lye(),Pye=kye(QC0);function MM(t){this.value=t}o(MM,"Literal");function mM(){}o(mM,"JavaScriptCompiler");mM.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=Qye.COMPILER_REVISION,r=Qye.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return LC0.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["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,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{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,u=void 0,p=void 0;for(u=0,p=i.length;u<p;u++)a=i[u],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 KX.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`]),this.decorators.push("return fn;"),n?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:17:37 +00:00
`),this.decorators=this.decorators.merge()));var l=this.createFunctionContext(n);if(this.isChild)return l;var A={compiler:this.compilerInfo(),main:l};this.decorators&&(A.main_d=this.decorators,A.useDecorators=!0);var d=this.context,h=d.programs,m=d.decorators;for(u=0,p=h.length;u<p;u++)A[u]=h[u],m[u]&&(A[u+"_d"]=m[u],A.useDecorators=!0);return this.environment.usePartial&&(A.usePartial=!0),this.options.data&&(A.useData=!0),this.useDepths&&(A.useDepths=!0),this.useBlockParams&&(A.useBlockParams=!0),this.options.compat&&(A.compat=!0),n?A.compilerOptions=this.options:(A.compiler=JSON.stringify(A.compiler),this.source.currentLocation={start:{line:1,column:0}},A=this.objectLiteral(A),r.srcName?(A=A.toStringWithSourceMap({file:r.destName}),A.map=A.map&&A.map.toString()):A=A.toString()),A},"compile"),preamble:o(function(){this.lastContext=0,this.source=new Pye.default(this.options.srcName),this.decorators=new Pye.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,s="",n=this.stackVars.concat(this.registers.list);n.length>0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(u){var p=r.aliases[u];p.children&&p.referenceCount>1&&(s+=", alias"+ ++i+"="+u,p.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+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(s);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,s=!this.forceBuffer,n=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(u){u.appendToBuffer?(a?u.prepend(" + "):a=u,c=u):(a&&(i?a.prepend("buffer += "):n=!0,c.add(";"),a=c=void 0),i=!0,r||(s=!1))}),s?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
2026-06-29 14:17:37 +00:00
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",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,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"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,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(PC0(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,u=o(function(l){a.replaceStack(function(A){var d=a.nameLookup(A,r[l],e);return n?[" && ",d]:[" != null ? ",d," : ",A]})},"_loop"),p=s;p<c;p++)u(p)},"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 s=this.nameLookup("decorators",r,"decorator"),n=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",s,";"]),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",n])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,s){var n=this.popStack(),i=this.setupHelper(e,r),a=[];s&&a.push(i.name),a.push(n),this.options.strict||a.push(this.aliasable("container.hoo
`,e};vt.prototype.Program=function(t){var e="",r=t.body,s=void 0,n=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(s=0,n=t.blockParams.length;s<n;s++)i+=" "+t.blockParams[s];i+=" ]",e+=this.pad(i)}for(s=0,n=r.length;s<n;s++)e+=this.accept(r[s]);return this.padding--,e};vt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};vt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};vt.prototype.BlockStatement=vt.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};vt.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+" }}")};vt.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+" }}")};vt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};vt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};vt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};vt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};vt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};vt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};vt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};vt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};vt.prototype.NullLiteral=function(){return"NULL"};vt.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,n=e.length;s<n;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};vt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var tV=b((B6t,Jye)=>{var Xw=Vye().default,Yye=jye();Xw.PrintVisitor=Yye.PrintVisitor;Xw.print=Yye.print;Jye.exports=Xw;function $ye(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=Xw.compile(s)}o($ye,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=$ye,require.extensions[".hbs"]=$ye)});var Jw=b(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.Signature=Yl.Envelope=void 0;Yl.Envelope={fromJSON(t){return{payload:Yw(t.payload)?Buffer.from(cCe(t.payload)):Buffer.alloc(0),payloadType:Yw(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>Yl.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=uCe(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>Yl.Signature.toJSON(r))),e}};Yl.Signature={fromJSON(t){return{sig:Yw(t.sig)?Buffer.from(cCe(t.sig)):Buffer.alloc(0),keyid:Yw(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=uCe(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function cCe(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}o(cCe,"bytesFromBase64");function uCe(t){return globalThis.Buffer.from(t).toString("base64")}o(uCe,"base64FromBytes");function Yw(t){return t!=null}o(Yw,"isSet")});var lCe=b(Kw=>{"use strict";Object.defineProperty(Kw,"__esModule",{value:!0});Kw.Timestamp=void 0;Kw.Timestamp={fromJSON(t){return{seconds:pCe(t.seconds)?globalThis.String(t.seconds):"0",nanos:pCe(t.nanos)?globalThis.Number(t.nanos):0}},toJSON(t){let e={};return t.seconds!=="0"&&(e.seconds=t.s
`).forEach(r=>{r.match(rB0)||r.match(sB0)||(e+=r)}),Buffer.from(e,"base64")}o(nB0,"toDER");function iB0(t,e="CERTIFICATE"){let s=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...s,`-----END ${e}-----`].join(`
2026-05-22 12:36:07 +00:00
`).concat(`
2026-06-29 14:17:37 +00:00
`)}o(iB0,"fromDER")});var gS=b(rA=>{"use strict";Object.defineProperty(rA,"__esModule",{value:!0});rA.SHA2_HASH_ALGOS=rA.RSA_SIGNATURE_ALGOS=rA.ECDSA_SIGNATURE_ALGOS=void 0;rA.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};rA.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};rA.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var IV=b(zS=>{"use strict";Object.defineProperty(zS,"__esModule",{value:!0});zS.RFC3161TimestampVerificationError=void 0;var qV=class extends Error{static{o(this,"RFC3161TimestampVerificationError")}};zS.RFC3161TimestampVerificationError=qV});var YCe=b(lc=>{"use strict";var oB0=lc&&lc.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),aB0=lc&&lc.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cB0=lc&&lc.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;n<s.length;n++)s[n]!=="default"&&oB0(r,e,s[n]);return aB0(r,e),r}})();Object.defineProperty(lc,"__esModule",{value:!0});lc.TSTInfo=void 0;var $Ce=cB0(BM()),uB0=gS(),pB0=IV(),RV=class{static{o(this,"TSTInfo")}root;constructor(e){this.root=e}get version(){return this.root.subs[0].toInteger()}get genTime(){return this.root.subs[4].toDate()}get messageImprintHashAlgorithm(){let e=this.messageImprintObj.subs[0].subs[0].toOID();return uB0.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=$Ce.digest(this.messageImprintHashAlgorithm,e);if(!$Ce.bufferEqual(r,this.messageImprintHashedMessage))throw new pB0.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};lc.TSTInfo=RV});var KCe=b(Ac=>{"use strict";var lB0=Ac&&Ac.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),AB0=Ac&&Ac.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),dB0=Ac&&Ac.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;n<s.length;n++)s[n]!=="default"&&lB0(r,e,s[n]);return AB0(r,e),r}})();Object.defineProperty(Ac,"__esModule",{value:!0});Ac.RFC3161Timestamp=void 0;var fB0=bS(),wV=dB0(BM()),JCe=gS(),aE=IV(),hB0=YCe(),bB0="1.2.840.113549.1.7.2",MB0="1.2.840.113549.1.9.16.1.4",mB0="1.2.840.113549.1.9.4",SV=class t{static{o(this,"RFC3161Timestamp")}root;constructor(e){this.root=e}static parse(e){let r=fB0.ASN1Obj.parseBuffer(e);return new t(r)}get status(){return this.pkiStatusInfoObj.subs[0].toInteger()}get contentType(){return this.contentTypeObj.toOID()}get eContentType(){return this.eContentTypeObj.toOID()}get signingTime(){return this.tstInfo.genTime}get signerIssuer(){return this.signerSidObj.subs[0].value}get signerSerialNumber(){return this.signerSidObj.subs[1].value}get signerDigestAlgorith
2026-05-22 12:36:07 +00:00
\v\f\r\x1B !"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xA4\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0386\uFFFD\xB7\xAC\xA6\u2018\u2019\u0388\u2015\u0389\u038A\u03AA\u038C\uFFFD\uFFFD\u038E\u03AB\xA9\u038F\xB2\xB3\u03AC\xA3\u03AD\u03AE\u03AF\u03CA\u0390\u03CC\u03CD\u0391\u0392\u0393\u0394\u0395\u0396\u0397\xBD\u0398\u0399\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u039A\u039B\u039C\u039D\u2563\u2551\u2557\u255D\u039E\u039F\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u03A0\u03A1\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u2518\u250C\u2588\u2584\u03B4\u03B5\u2580\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u0384\xAD\xB1\u03C5\u03C6\u03C7\xA7\u03C8\u0385\xB0\xA8\u03C9\u03CB\u03B0\u03CE\u25A0\xA0"},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\u203E\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0160\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\u017D\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0161\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\u017E\xFF"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"\uFE88\xD7\xF7\uF8F6\uF8F5\uF8F4\uF8F7\uFE71\x88\u25A0\u2502\u2500\u2510\u250C\u2514\u2518\uFE79\uFE7B\uFE7D\uFE7F\uFE77\uFE8A\uFEF0\uFEF3\uFEF2\uFECE\uFECF\uFED0\uFEF6\uFEF8\uFEFA\uFEFC\xA0\uF8FA\uF8F9\uF8F8\xA4\uF8FB\uFE8B\uFE91\uFE9
\v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0`},georgianacademy:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10EF\u10F0\u10F1\u10F2\u10F3\u10F4\u10F5\u10F6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},georgianps:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10F1\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10F2\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10F3\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10F4\u10EF\u10F0\u10F5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},pt154:{type:"_sbcs",chars:"\u0496\u0492\u04EE\u0493\u201E\u2026\u04B6\u04AE\u04B2\u04AF\u04A0\u04E2\u04A2\u049A\u04BA\u04B8\u0497\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u04B3\u04B7\u04A1\u04E3\u04A3\u049B\u04BB\u04B9\xA0\u040E\u045E\u0408\u04E8\u0498\u04B0\xA7\u0401\xA9\u04D8\xAB\xAC\u04EF\xAE\u049C\xB0\u04B1\u0406\u0456\u0499\u04E9\xB6\xB7\u0451\u2116\u04D9\xBB\u0458\u04AA\u04AB\u049D\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},viscii:{type:"_sbcs",chars:`\0\u1EB2\u1EB4\u1EAA\x07\b
\v\f\r\u1EF6\u1EF8\x1B\u1EF4 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE`},iso646cn:{type:"_sbcs",chars:`\0\x07\b
\v\f\r\x1B !"#\xA5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},iso646jp:{type:"_sbcs",chars:`\0\x07\b
2026-06-29 14:17:37 +00:00
\v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xA5]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},hproman8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xC0\xC2\xC8\xCA\xCB\xCE\xCF\xB4\u02CB\u02C6\xA8\u02DC\xD9\xDB\u20A4\xAF\xDD\xFD\xB0\xC7\xE7\xD1\xF1\xA1\xBF\xA4\xA3\xA5\xA7\u0192\xA2\xE2\xEA\xF4\xFB\xE1\xE9\xF3\xFA\xE0\xE8\xF2\xF9\xE4\xEB\xF6\xFC\xC5\xEE\xD8\xC6\xE5\xED\xF8\xE6\xC4\xEC\xD6\xDC\xC9\xEF\xDF\xD4\xC1\xC3\xE3\xD0\xF0\xCD\xCC\xD3\xD2\xD5\xF5\u0160\u0161\xDA\u0178\xFF\xDE\xFE\xB7\xB5\xB6\xBE\u2014\xBC\xBD\xAA\xBA\xAB\u25A0\xBB\xB1\uFFFD"},macintosh:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},ascii:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},tis620:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"}}});var ABe=b(lBe=>{"use strict";var m$=sp().Buffer;lBe._dbcs=ip;var fr=-1,pBe=-2,ki=-10,bs=-1e3,LM=new Array(256),DE=-1;for(iN=0;iN<256;iN++)LM[iN]=fr;var iN;function ip(t,e){if(this.encodingName=t.encodingName,!t)throw new Error("DBCS codec is called without the data.");if(!t.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var r=t.table();this.decodeTables=[]
2026-05-22 12:36:07 +00:00
Wanted: ${this.expectedSize}
2026-06-29 14:17:37 +00:00
Found: ${this.size}`);s.code="EBADSIZE",s.found=this.size,s.expected=this.expectedSize,s.sri=this.sri,this.emit("error",s)}else if(this.sri&&!r){let s=new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${e}. (${this.size} bytes)`);s.code="EINTEGRITY",s.found=e,s.expected=this.digests,s.algorithm=this.algorithm,s.sri=this.sri,this.emit("error",s)}else this.#t=this.size,this.emit("size",this.size),this.#e=e,this.emit("integrity",e),r&&(this.#s=r,this.emit("verified",r))}},pp=class{static{o(this,"Hash")}get isHash(){return!0}constructor(e,r){let s=r?.strict;this.source=e.trim(),this.digest="",this.algorithm="",this.options=[];let n=this.source.match(s?wI0:RI0);if(!n||s&&!k$.includes(n[1])||!mDe.includes(n[1]))return;this.algorithm=n[1],this.digest=n[2];let i=n[3];i&&(this.options=i.slice(1).split("?"))}hexDigest(){return this.digest&&Buffer.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}match(e,r){let s=Yn(e,r);if(!s)return!1;if(s.isIntegrity){let n=s.pickAlgorithm(r,[this.algorithm]);if(!n)return!1;let i=s[n].find(a=>a.digest===this.digest);return i||!1}return s.digest===this.digest?s:!1}toString(e){return e?.strict&&!(k$.includes(this.algorithm)&&this.digest.match(II0)&&this.options.every(r=>r.match(SI0)))?"":`${this.algorithm}-${this.digest}${vE(this.options)}`}};function MDe(t,e,r,s){let n=t!=="",i=!1,a="",c=s.length-1;for(let p=0;p<c;p++){let l=pp.prototype.toString.call(s[p],r);l&&(i=!0,a+=l,a+=e)}let u=pp.prototype.toString.call(s[c],r);return u&&(i=!0,a+=u),n&&i?t+e+a:t+a}o(MDe,"integrityHashToString");var x2=class{static{o(this,"Integrity")}get isIntegrity(){return!0}toJSON(){return this.toString()}isEmpty(){return Object.keys(this).length===0}toString(e){let r=e?.sep||" ",s="";if(e?.strict){r=r.replace(/\S+/g," ");for(let n of k$)this[n]&&(s=MDe(s,r,e,this[n]))}else for(let n of Object.keys(this))s=MDe(s,r,e,this[n]);return s}concat(e,r){let s=typeof e=="string"?e:NE(e,r);return Yn(`${this.toString(r)} ${s}`,r)}hexDigest(){return Yn(this,{single:!0}).hexDigest()}merge(e,r){let s=Yn(e,r);for(let n in s)if(this[n]){if(!this[n].find(i=>s[n].find(a=>i.digest===a.digest)))throw new Error("hashes do not match, cannot update integrity")}else this[n]=s[n]}match(e,r){let s=Yn(e,r);if(!s)return!1;let n=s.pickAlgorithm(r,Object.keys(this));return!!n&&this[n].find(i=>s[n].find(a=>i.digest===a.digest))||!1}pickAlgorithm(e,r){let s=e?.pickAlgorithm||_I0,n=Object.keys(this);return r?.length&&(n=n.filter(i=>r.includes(i))),n.length?n.reduce((i,a)=>s(i,a)||i):null}};Ec.exports.parse=Yn;function Yn(t,e){if(!t)return null;if(typeof t=="string")return P$(t,e);if(t.algorithm&&t.digest){let r=new x2;return r[t.algorithm]=[t],P$(NE(r,e),e)}else return P$(NE(t,e),e)}o(Yn,"parse");function P$(t,e){if(e?.single)return new pp(t,e);let r=t.trim().split(/\s+/).reduce((s,n)=>{let i=new pp(n,e);if(i.algorithm&&i.digest){let a=i.algorithm;Object.keys(s).includes(a)||(s[a]=[]),s[a].push(i)}return s},new x2);return r.isEmpty()?null:r}o(P$,"_parse");Ec.exports.stringify=NE;function NE(t,e){return t.algorithm&&t.digest?pp.prototype.toString.call(t,e):typeof t=="string"?NE(Yn(t,e),e):x2.prototype.toString.call(t,e)}o(NE,"stringify");Ec.exports.fromHex=NI0;function NI0(t,e,r){let s=vE(r?.options);return Yn(`${e}-${Buffer.from(t,"hex").toString("base64")}${s}`,r)}o(NI0,"fromHex");Ec.exports.fromData=FI0;function FI0(t,e){let r=e?.algorithms||[...G$],s=vE(e?.options);return r.reduce((n,i)=>{let a=FE.createHash(i).update(t).digest("base64"),c=new pp(`${i}-${a}${s}`,e);if(c.algorithm&&c.digest){let u=c.algorithm;n[u]||(n[u]=[]),n[u].push(c)}return n},new x2)}o(FI0,"fromData");Ec.exports.fromStream=vI0;function vI0(t,e){let r=H$(e);return new Promise((s,n)=>{t.pipe(r),t.on("error",n),r.on("error",n);let i;r.on("integrity",a=>{i=a}),r.on("end",()=>s(i)),r.resume()})}o(vI0,"fromStream");Ec.exports.checkData=TI0;function TI0(t,e,r){if(e=Yn(e,r),!e||!Object.keys(e).length){if(r?.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTE
2026-05-22 12:36:07 +00:00
Wanted: ${r.size}
2026-06-29 14:17:37 +00:00
Found: ${t.length}`);throw c.code="EBADSIZE",c.found=t.length,c.expected=r.size,c.sri=e,c}else{let c=new Error(`Integrity checksum failed when using ${s}: Wanted ${e}, but got ${i}. (${t.length} bytes)`);throw c.code="EINTEGRITY",c.found=i,c.expected=e,c.algorithm=s,c.sri=e,c}}o(TI0,"checkData");Ec.exports.checkStream=xI0;function xI0(t,e,r){if(r=r||Object.create(null),r.integrity=e,e=Yn(e,r),!e||!Object.keys(e).length)return Promise.reject(Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"}));let s=H$(r);return new Promise((n,i)=>{t.pipe(s),t.on("error",i),s.on("error",i);let a;s.on("verified",c=>{a=c}),s.on("end",()=>n(a)),s.resume()})}o(xI0,"checkStream");Ec.exports.integrityStream=H$;function H$(t=Object.create(null)){return new U$(t)}o(H$,"integrityStream");Ec.exports.create=WI0;function WI0(t){let e=t?.algorithms||[...G$],r=vE(t?.options),s=e.map(FE.createHash);return{update:o(function(n,i){return s.forEach(a=>a.update(n,i)),this},"update"),digest:o(function(){return e.reduce((i,a)=>{let c=s.shift().digest("base64"),u=new pp(`${a}-${c}${r}`,t);return i[u.algorithm]||(i[u.algorithm]=[]),i[u.algorithm].push(u),i},new x2)},"digest")}}o(WI0,"createIntegrity");function _I0(t,e){return bDe.indexOf(t.toLowerCase())>=bDe.indexOf(e.toLowerCase())?t:e}o(_I0,"getPrioritizedHash")});var V$=b((jxt,yDe)=>{var gDe=v$(),zDe=Q$(),LI0=TE(),ODe={shared:!1,ignoreCargoCult:!0},QI0={status:200,headers:{}},kM=o(t=>{let e={method:t.method,url:t.url,headers:{},compress:t.compress};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},"requestObject"),EDe=o(t=>{let e={status:t.status,headers:{}};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},"responseObject"),X$=class{static{o(this,"CachePolicy")}constructor({entry:e,request:r,response:s,options:n}){this.entry=e,this.request=kM(r),this.response=EDe(s),this.options=n,this.policy=new gDe(this.request,this.response,ODe),this.entry&&(this.policy._responseTime=this.entry.metadata.time)}static storable(e,r){return!r.cachePath||r.cache==="no-store"||!["GET","HEAD"].includes(e.method)?!1:new gDe(kM(e),QI0,ODe).storable()}satisfies(e){let r=kM(e);if(this.request.headers.host!==r.headers.host||this.request.compress!==r.compress)return!1;let s=new zDe(this.request),n=new zDe(r);return JSON.stringify(s.mediaTypes())!==JSON.stringify(n.mediaTypes())||JSON.stringify(s.languages())!==JSON.stringify(n.languages())||JSON.stringify(s.encodings())!==JSON.stringify(n.encodings())?!1:this.options.integrity?LI0.parse(this.options.integrity).match(this.entry.integrity):!0}storable(){return this.policy.storable()}get mustRevalidate(){return!!this.policy._rescc["must-revalidate"]}needsRevalidation(e){let r=kM(e);return r.method="GET",!this.policy.satisfiesWithoutRevalidation(r)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(e){let r=kM(e);return this.policy.revalidationHeaders(r)}revalidated(e,r){let s=kM(e),n=EDe(r);return!this.policy.revalidatedPolicy(s,n).modified}};yDe.exports=X$});var BDe=b((Yxt,CDe)=>{var j$=class extends Error{static{o(this,"NotCachedError")}constructor(e){super(`request to ${e} failed: cache mode is 'only-if-cached' but no cached response is available.`),this.code="ENOTCACHED"}};CDe.exports={NotCachedError:j$}});var TDe=b((Kxt,vDe)=>{"use strict";var DDe=typeof process=="object"&&process?process:{stdout:null,stderr:null},PI0=require("events"),qDe=require("stream"),IDe=require("string_decoder").StringDecoder,lp=Symbol("EOF"),Ap=Symbol("maybeEmitEnd"),pA=Symbol("emittedEnd"),mN=Symbol("emittingEnd"),xE=Symbol("emittedError"),gN=Symbol("closed"),RDe=Symbol("read"),zN=Symbol("flush"),wDe=Symbol("flushChunk"),Ks=Symbol("encoding"),dp=Symbol("decoder"),ON=Symbol("flowing"),WE=Symbol("paused"),UM=Symbol("resume"),H1=Symbol("bufferLength"),$$=Symbol("bufferPush"),Y$=Symbol("bufferShift"),Fr=Symbol("objectMode"),vr=Symbol("destroyed"),J$=Symbol("emitData"),SDe=Symbol("emitEnd"),K$=Symbol("emitEnd2"),fp=Symbol("async"),_E=o(t=>Promise.resolve().then(t),"defer"),NDe=global._MP_NO_ITERATOR_SYMBOLS_!=="1",kI0=NDe&&Symbol.asyncIter
2026-05-22 12:36:07 +00:00
Wanted: ${this.expectedSize}
2026-06-29 14:17:37 +00:00
Found: ${this.size}`);s.code="EBADSIZE",s.found=this.size,s.expected=this.expectedSize,s.sri=this.sri,this.emit("error",s)}else if(this.sri&&!r){let s=new Error(`${this.sri} integrity checksum failed when using ${this.algorithm}: wanted ${this.digests} but got ${e}. (${this.size} bytes)`);s.code="EINTEGRITY",s.found=e,s.expected=this.digests,s.algorithm=this.algorithm,s.sri=this.sri,this.emit("error",s)}else this.#t=this.size,this.emit("size",this.size),this.#e=e,this.emit("integrity",e),r&&(this.#s=r,this.emit("verified",r))}},gp=class{static{o(this,"Hash")}get isHash(){return!0}constructor(e,r){let s=r?.strict;this.source=e.trim(),this.digest="",this.algorithm="",this.options=[];let n=this.source.match(s?o50:i50);if(!n||s&&!bY.includes(n[1]))return;this.algorithm=n[1],this.digest=n[2];let i=n[3];i&&(this.options=i.slice(1).split("?"))}hexDigest(){return this.digest&&Buffer.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}match(e,r){let s=Kn(e,r);if(!s)return!1;if(s.isIntegrity){let n=s.pickAlgorithm(r,[this.algorithm]);if(!n)return!1;let i=s[n].find(a=>a.digest===this.digest);return i||!1}return s.digest===this.digest?s:!1}toString(e){return e?.strict&&!(bY.includes(this.algorithm)&&this.digest.match(n50)&&this.options.every(r=>r.match(a50)))?"":`${this.algorithm}-${this.digest}${HE(this.options)}`}};function tqe(t,e,r,s){let n=t!=="",i=!1,a="",c=s.length-1;for(let p=0;p<c;p++){let l=gp.prototype.toString.call(s[p],r);l&&(i=!0,a+=l,a+=e)}let u=gp.prototype.toString.call(s[c],r);return u&&(i=!0,a+=u),n&&i?t+e+a:t+a}o(tqe,"integrityHashToString");var L2=class{static{o(this,"Integrity")}get isIntegrity(){return!0}toJSON(){return this.toString()}isEmpty(){return Object.keys(this).length===0}toString(e){let r=e?.sep||" ",s="";if(e?.strict){r=r.replace(/\S+/g," ");for(let n of bY)this[n]&&(s=tqe(s,r,e,this[n]))}else for(let n of Object.keys(this))s=tqe(s,r,e,this[n]);return s}concat(e,r){let s=typeof e=="string"?e:UE(e,r);return Kn(`${this.toString(r)} ${s}`,r)}hexDigest(){return Kn(this,{single:!0}).hexDigest()}merge(e,r){let s=Kn(e,r);for(let n in s)if(this[n]){if(!this[n].find(i=>s[n].find(a=>i.digest===a.digest)))throw new Error("hashes do not match, cannot update integrity")}else this[n]=s[n]}match(e,r){let s=Kn(e,r);if(!s)return!1;let n=s.pickAlgorithm(r,Object.keys(this));return!!n&&this[n]&&s[n]&&this[n].find(i=>s[n].find(a=>i.digest===a.digest))||!1}pickAlgorithm(e,r){let s=e?.pickAlgorithm||h50,n=Object.keys(this).filter(i=>r?.length?r.includes(i):!0);return n.length?n.reduce((i,a)=>s(i,a)||i):null}};yc.exports.parse=Kn;function Kn(t,e){if(!t)return null;if(typeof t=="string")return hY(t,e);if(t.algorithm&&t.digest){let r=new L2;return r[t.algorithm]=[t],hY(UE(r,e),e)}else return hY(UE(t,e),e)}o(Kn,"parse");function hY(t,e){if(e?.single)return new gp(t,e);let r=t.trim().split(/\s+/).reduce((s,n)=>{let i=new gp(n,e);if(i.algorithm&&i.digest){let a=i.algorithm;s[a]||(s[a]=[]),s[a].push(i)}return s},new L2);return r.isEmpty()?null:r}o(hY,"_parse");yc.exports.stringify=UE;function UE(t,e){return t.algorithm&&t.digest?gp.prototype.toString.call(t,e):typeof t=="string"?UE(Kn(t,e),e):L2.prototype.toString.call(t,e)}o(UE,"stringify");yc.exports.fromHex=c50;function c50(t,e,r){let s=HE(r?.options);return Kn(`${e}-${Buffer.from(t,"hex").toString("base64")}${s}`,r)}o(c50,"fromHex");yc.exports.fromData=u50;function u50(t,e){let r=e?.algorithms||[...mY],s=HE(e?.options);return r.reduce((n,i)=>{let a=GE.createHash(i).update(t).digest("base64"),c=new gp(`${i}-${a}${s}`,e);if(c.algorithm&&c.digest){let u=c.algorithm;n[u]||(n[u]=[]),n[u].push(c)}return n},new L2)}o(u50,"fromData");yc.exports.fromStream=p50;function p50(t,e){let r=gY(e);return new Promise((s,n)=>{t.pipe(r),t.on("error",n),r.on("error",n);let i;r.on("integrity",a=>{i=a}),r.on("end",()=>s(i)),r.resume()})}o(p50,"fromStream");yc.exports.checkData=l50;function l50(t,e,r){if(e=Kn(e,r),!e||!Object.keys(e).length){if(r?.error)throw Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"});return!1}let s=e.pickAl
2026-05-22 12:36:07 +00:00
Wanted: ${r.size}
2026-06-29 14:17:37 +00:00
Found: ${t.length}`);throw c.code="EBADSIZE",c.found=t.length,c.expected=r.size,c.sri=e,c}else{let c=new Error(`Integrity checksum failed when using ${s}: Wanted ${e}, but got ${i}. (${t.length} bytes)`);throw c.code="EINTEGRITY",c.found=i,c.expected=e,c.algorithm=s,c.sri=e,c}}o(l50,"checkData");yc.exports.checkStream=A50;function A50(t,e,r){if(r=r||Object.create(null),r.integrity=e,e=Kn(e,r),!e||!Object.keys(e).length)return Promise.reject(Object.assign(new Error("No valid integrity hashes to check against"),{code:"EINTEGRITY"}));let s=gY(r);return new Promise((n,i)=>{t.pipe(s),t.on("error",i),s.on("error",i);let a;s.on("verified",c=>{a=c}),s.on("end",()=>n(a)),s.resume()})}o(A50,"checkStream");yc.exports.integrityStream=gY;function gY(t=Object.create(null)){return new MY(t)}o(gY,"integrityStream");yc.exports.create=d50;function d50(t){let e=t?.algorithms||[...mY],r=HE(t?.options),s=e.map(GE.createHash);return{update:o(function(n,i){return s.forEach(a=>a.update(n,i)),this},"update"),digest:o(function(){return e.reduce((i,a)=>{let c=s.shift().digest("base64"),u=new gp(`${a}-${c}${r}`,t);if(u.algorithm&&u.digest){let p=u.algorithm;i[p]||(i[p]=[]),i[p].push(u)}return i},new L2)},"digest")}}o(d50,"createIntegrity");var f50=GE.getHashes(),rqe=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter(t=>f50.includes(t));function h50(t,e){return rqe.indexOf(t.toLowerCase())>=rqe.indexOf(e.toLowerCase())?t:e}o(h50,"getPrioritizedHash")});var sqe=b((pWt,zY)=>{(function(){var t;function e(r,s){var n=this instanceof e?this:t;if(n.reset(s),typeof r=="string"&&r.length>0&&n.hash(r),n!==this)return n}o(e,"MurmurHash3"),e.prototype.hash=function(r){var s,n,i,a,c;switch(c=r.length,this.len+=c,n=this.k1,i=0,this.rem){case 0:n^=c>i?r.charCodeAt(i++)&65535:0;case 1:n^=c>i?(r.charCodeAt(i++)&65535)<<8:0;case 2:n^=c>i?(r.charCodeAt(i++)&65535)<<16:0;case 3:n^=c>i?(r.charCodeAt(i)&255)<<24:0,n^=c>i?(r.charCodeAt(i++)&65280)>>8:0}if(this.rem=c+this.rem&3,c-=this.rem,c>0){for(s=this.h1;n=n*11601+(n&65535)*3432906752&4294967295,n=n<<15|n>>>17,n=n*13715+(n&65535)*461832192&4294967295,s^=n,s=s<<13|s>>>19,s=s*5+3864292196&4294967295,!(i>=c);)n=r.charCodeAt(i++)&65535^(r.charCodeAt(i++)&65535)<<8^(r.charCodeAt(i++)&65535)<<16,a=r.charCodeAt(i++),n^=(a&255)<<24^(a&65280)>>8;switch(n=0,this.rem){case 3:n^=(r.charCodeAt(i+2)&65535)<<16;case 2:n^=(r.charCodeAt(i+1)&65535)<<8;case 1:n^=r.charCodeAt(i)&65535}this.h1=s}return this.k1=n,this},e.prototype.result=function(){var r,s;return r=this.k1,s=this.h1,r>0&&(r=r*11601+(r&65535)*3432906752&4294967295,r=r<<15|r>>>17,r=r*13715+(r&65535)*461832192&4294967295,s^=r),s^=this.len,s^=s>>>16,s=s*51819+(s&65535)*2246770688&4294967295,s^=s>>>13,s=s*44597+(s&65535)*3266445312&4294967295,s^=s>>>16,s>>>0},e.prototype.reset=function(r){return this.h1=typeof r=="number"?r:0,this.rem=this.k1=this.len=0,this},t=new e,typeof zY<"u"?zY.exports=e:this.MurmurHash3=e})()});var iqe=b((AWt,nqe)=>{"use strict";var b50=sqe();nqe.exports=function(t){if(t){var e=new b50(t);return("00000000"+e.result().toString(16)).slice(-8)}else return(Math.random().toString(16)+"0000000").slice(2,10)}});var OY=b((dWt,oqe)=>{var M50=require("path"),m50=iqe();oqe.exports=function(t,e,r){return M50.join(t,(e?e+"-":"")+m50(r))}});var EY=b((fWt,g50)=>{g50.exports={name:"cacache",version:"20.0.1","cache-version":{content:"2",index:"5"},description:"Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.",main:"lib/index.js",files:["bin/","lib/"],scripts:{test:"tap",snap:"tap",coverage:"tap","test-docker":'docker run -it --rm --name pacotest -v "$PWD":/tmp -w /tmp node:latest npm test',lint:"npm run eslint",npmclilint:"npmcli-lint",lintfix:"npm run eslint -- --fix",postsnap:"npm run lintfix --",postlint:"template-oss-check",posttest:"npm run lint","template-oss-apply":"template-oss-apply --force",eslint:'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"'},repository:{type:"git",url:"git+https://github.com/npm/cacache.git"},keywords:["cache","c
`+a.map(d=>{let h=JSON.stringify(d);return`${VN(h)} ${h}`}).join(`
`),u=o(async()=>{let d=xN0(Bc.join(t,"tmp"),s.tmpPrefix);return await ZY(Bc.dirname(d),{recursive:!0}),{target:d,moved:!1}},"setup"),p=o(async d=>{if(!d.moved)return V5e(d.target,{recursive:!0,force:!0})},"teardown"),l=o(async d=>{await FN0(d.target,c,{flag:"wx"}),await ZY(Bc.dirname(n),{recursive:!0}),await QN0(d.target,n),d.moved=!0},"write"),A=await u();try{await l(A)}finally{await p(A)}return a.reverse().map(d=>jN(t,d,!0))}o(PN0,"compact");Zn.exports.insert=j5e;async function j5e(t,e,r,s={}){let{metadata:n,size:i,time:a}=s,c=ny(t,e),u={key:e,integrity:r&&TN0.stringify(r),time:a||Date.now(),size:i,metadata:n};try{await ZY(Bc.dirname(c),{recursive:!0});let p=JSON.stringify(u);await wN0(c,`
${VN(p)} ${p}`)}catch(p){if(p.code==="ENOENT")return;throw p}return jN(t,u)}o(j5e,"insert");Zn.exports.find=kN0;async function kN0(t,e){let r=ny(t,e);try{return(await XN(r)).reduce((n,i)=>i&&i.key===e?jN(t,i):n,null)}catch(s){if(s.code==="ENOENT")return null;throw s}}o(kN0,"find");Zn.exports.delete=UN0;function UN0(t,e,r={}){if(!r.removeFully)return j5e(t,e,null,r);let s=ny(t,e);return V5e(s,{recursive:!0,force:!0})}o(UN0,"del");Zn.exports.lsStream=$5e;function $5e(t){let e=eJ(t),r=new vN0({objectMode:!0});return Promise.resolve().then(async()=>{let{default:s}=await Promise.resolve().then(()=>(HN(),GN)),n=await KY(e);return await s(n,async i=>{let a=Bc.join(e,i),c=await KY(a);await s(c,async u=>{let p=Bc.join(a,u),l=await KY(p);await s(l,async A=>{let d=Bc.join(p,A);try{let m=(await XN(d)).reduce((z,C)=>(z.set(C.key,C),z),new Map);for(let z of m.values()){let C=jN(t,z);C&&r.write(C)}}catch(h){if(h.code==="ENOENT")return;throw h}},{concurrency:JY})},{concurrency:JY})},{concurrency:JY}),r.end(),r}).catch(s=>r.emit("error",s)),r}o($5e,"lsStream");Zn.exports.ls=GN0;async function GN0(t){return(await $5e(t).collect()).reduce((r,s)=>(r[s.key]=s,r),{})}o(GN0,"ls");Zn.exports.bucketEntries=XN;async function XN(t,e){let r=await SN0(t,"utf8");return HN0(r,e)}o(XN,"bucketEntries");function HN0(t){let e=[];return t.split(`
`).forEach(r=>{if(!r)return;let s=r.split(" ");if(!s[1]||VN(s[1])!==s[0])return;let n;try{n=JSON.parse(s[1])}catch{}n&&e.push(n)}),e}o(HN0,"_bucketEntries");Zn.exports.bucketDir=eJ;function eJ(t){return Bc.join(t,`index-v${LN0}`)}o(eJ,"bucketDir");Zn.exports.bucketPath=ny;function ny(t,e){let r=Y5e(e);return Bc.join.apply(Bc,[eJ(t)].concat(_N0(r)))}o(ny,"bucketPath");Zn.exports.hashKey=Y5e;function Y5e(t){return J5e(t,"sha256")}o(Y5e,"hashKey");Zn.exports.hashEntry=VN;function VN(t){return J5e(t,"sha1")}o(VN,"hashEntry");function J5e(t,e){return RN0.createHash(e).update(t).digest("hex")}o(J5e,"hash");function jN(t,e,r){return!e.integrity&&!r?null:{key:e.key,integrity:e.integrity,path:e.integrity?WN0(t,e.integrity):void 0,size:e.size,time:e.time,metadata:e.metadata}}o(jN,"formatEntry");function KY(t){return NN0(t).catch(e=>{if(e.code==="ENOENT"||e.code==="ENOTDIR")return[];throw e})}o(KY,"readdirOrEmpty")});var rm=b(YN=>{"use strict";Object.defineProperty(YN,"__esModule",{value:!0});YN.LRUCache=void 0;var XN0=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Z5e=new Set,tJ=typeof process=="object"&&process?process:{},eRe=o((t,e,r,s)=>{typeof tJ.emitWarning=="function"?tJ.emitWarning(t,e,r,s):console.error(`[${r}] ${e}: ${t}`)},"emitWarning"),$N=globalThis.AbortController,K5e=globalThis.AbortSignal;if(typeof $N>"u"){K5e=class{static{o(this,"AbortSignal")}onabort;_onabort=[];reason;aborted=!1;addEventListener(s,n){this._onabort.push(n)}},$N=class{static{o(this,"AbortController")}constructor(){e()}signal=new K5e;abort(s){if(!this.signal.aborted){this.signal.reason=s,this.signal.aborted=!0;for(let n of this.signal._onabort)n(s);this.signal.onabort?.(s)}}};let t=tJ.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=o(()=>{t&&(t=!1,eRe("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))},"warnACPolyfill")}var VN0=o(t=>!Z5e.has(t),"shouldWarn"),AA=o(t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),"isPosInt"),tRe=o(t=>AA(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?tm:null:null,"getUintArray"),tm=class extends Array{static{o(this,"ZeroArray")}constructor(e){super(e),this.fill(0)}},rJ=class t{static{o(this,"Stack")}heap;length;static#e=!1;static create(e){let r=tRe(e);if(!r)return[];t.#e=!0;let s=new t(e,r);return t.#e=!1,s}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},sJ=class t{static{o(this,"LRUCache")}#e;#t;#s;#r;#n;#i;#c;#a;get perf(){return this.#a}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#l;#d;#A;#u;#b;#O;#M;#m;#B;#g;#y;#C;#h;#E;#D;#z;#p;static unsafeExposeInternals(e){return{starts:e.#C,ttls:e.#h,sizes:e.#y,keyMap:e.#d,keyList:e.#A,valList:e.#u,next:e.#b,prev:e.#O,get head(){return e.#M},get tail(){return e.#m},free:e.#B,isBackgroundFetch:o(r=>e.#f(r),"isBackgroundFetch"),backgroundFetch:o((r,s,n,i)=>e.#U(r,s,n,i),"backgroundFetch"),moveToTail:o(r=>e.#W(r),"moveToTail"),indexes:o(r=>e.#w(r),"indexes"),rindexes:o(r=>e.#N(r),"rindexes"),isStale:o(r=>e.#I(r),"isStale")}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#l}get size(){return this.#o}get fetchMethod(){return this.#i}get memoMethod(){return this.#c}get dispose(){return this.#s}get onInsert(){return this.#r}get disposeAfter(){return this.#n}constructor(e){let{max:r=0,ttl:s,ttlResolution
2026-05-22 12:36:07 +00:00
Wanted: ${t}
2026-06-29 14:17:37 +00:00
Found: ${e}`);return r.code="EINTEGRITY",r.expected=t,r.found=e,r}o(I60,"checksumError")});var yRe=b((xLt,MJ)=>{"use strict";var gRe=em(),zRe=iy(),ORe=mRe(),R60=LE(),{PassThrough:w60}=nY(),S60=_2(),ERe=o(t=>({algorithms:["sha512"],...t}),"putOpts");MJ.exports=N60;async function N60(t,e,r,s={}){let{memoize:n}=s;s=ERe(s);let i=await ORe(t,r,s),a=await gRe.insert(t,e,i.integrity,{...s,size:i.size});return n&&zRe.put(t,a,r,s),i.integrity}o(N60,"putData");MJ.exports.stream=F60;function F60(t,e,r={}){let{memoize:s}=r;r=ERe(r);let n,i,a,c,u=new S60;if(s){let l=new w60().on("collect",A=>{c=A});u.push(l)}let p=ORe.stream(t,r).on("integrity",l=>{n=l}).on("size",l=>{i=l}).on("error",l=>{a=l});return u.push(p),u.push(new R60({async flush(){if(!a){let l=await gRe.insert(t,e,n,{...r,size:i});s&&c&&zRe.put(t,l,c,r),u.emit("integrity",n),u.emit("size",i)}}})),u}o(F60,"putStream")});var BRe=b(j2=>{"use strict";Object.defineProperty(j2,"__esModule",{value:!0});j2.range=j2.balanced=void 0;var v60=o((t,e,r)=>{let s=t instanceof RegExp?CRe(t,r):t,n=e instanceof RegExp?CRe(e,r):e,i=s!==null&&n!=null&&(0,j2.range)(s,n,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+s.length,i[1]),post:r.slice(i[1]+n.length)}},"balanced");j2.balanced=v60;var CRe=o((t,e)=>{let r=e.match(t);return r?r[0]:null},"maybeMatch"),T60=o((t,e,r)=>{let s,n,i,a,c,u=r.indexOf(t),p=r.indexOf(e,u+1),l=u;if(u>=0&&p>0){if(t===e)return[u,p];for(s=[],i=r.length;l>=0&&!c;){if(l===u)s.push(l),u=r.indexOf(t,l+1);else if(s.length===1){let A=s.pop();A!==void 0&&(c=[A,p])}else n=s.pop(),n!==void 0&&n<i&&(i=n,a=p),p=r.indexOf(e,l+1);l=u<p&&u>=0?u:p}s.length&&a!==void 0&&(c=[i,a])}return c},"range");j2.range=T60});var NRe=b(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.EXPANSION_MAX=void 0;lm.expand=j60;var DRe=BRe(),qRe="\0SLASH"+Math.random()+"\0",IRe="\0OPEN"+Math.random()+"\0",gJ="\0CLOSE"+Math.random()+"\0",RRe="\0COMMA"+Math.random()+"\0",wRe="\0PERIOD"+Math.random()+"\0",x60=new RegExp(qRe,"g"),W60=new RegExp(IRe,"g"),_60=new RegExp(gJ,"g"),L60=new RegExp(RRe,"g"),Q60=new RegExp(wRe,"g"),P60=/\\\\/g,k60=/\\{/g,U60=/\\}/g,G60=/\\,/g,H60=/\\./g;lm.EXPANSION_MAX=1e5;function mJ(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}o(mJ,"numeric");function X60(t){return t.replace(P60,qRe).replace(k60,IRe).replace(U60,gJ).replace(G60,RRe).replace(H60,wRe)}o(X60,"escapeBraces");function V60(t){return t.replace(x60,"\\").replace(W60,"{").replace(_60,"}").replace(L60,",").replace(Q60,".")}o(V60,"unescapeBraces");function SRe(t){if(!t)return[""];let e=[],r=(0,DRe.balanced)("{","}",t);if(!r)return t.split(",");let{pre:s,body:n,post:i}=r,a=s.split(",");a[a.length-1]+="{"+n+"}";let c=SRe(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(SRe,"parseCommaParts");function j60(t,e={}){if(!t)return[];let{max:r=lm.EXPANSION_MAX}=e;return t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),Ay(X60(t),r,!0).map(V60)}o(j60,"expand");function $60(t){return"{"+t+"}"}o($60,"embrace");function Y60(t){return/^-?0\d/.test(t)}o(Y60,"isPadded");function J60(t,e){return t<=e}o(J60,"lte");function K60(t,e){return t>=e}o(K60,"gte");function Ay(t,e,r){let s=[],n=(0,DRe.balanced)("{","}",t);if(!n)return[t];let i=n.pre,a=n.post.length?Ay(n.post,e,!1):[""];if(/\$$/.test(n.pre))for(let c=0;c<a.length&&c<e;c++){let u=i+"{"+n.body+"}"+a[c];s.push(u)}else{let c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),p=c||u,l=n.body.indexOf(",")>=0;if(!p&&!l)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+gJ+n.post,Ay(t,e,!0)):[t];let A;if(p)A=n.body.split(/\.\./);else if(A=SRe(n.body),A.length===1&&A[0]!==void 0&&(A=Ay(A[0],e,!1).map($60),A.length===1))return a.map(h=>n.pre+A[0]+h);let d;if(p&&A[0]!==void 0&&A[1]!==void 0){let h=mJ(A[0]),m=mJ(A[1]),z=Math.max(A[0].length,A[1].length),C=A.length===3&&A[2]!==void 0?Math.abs(mJ(A[2])):1,E=J60;m<h&&(C*=-1,E=K60);let R=A.some(Y60);d=[];for(let w=h;E(w,m);w+=C){let F;if(u)F=String.fromCharCode(w),F==="\\"&&(F="");else if(F=String(w),R){let W=z-F.lengt
globstar while`,e,d,r,h,m),this.matchOne(e.slice(d),r.slice(h),s))return this.debug("globstar found match!",d,u,m),!0;if(m==="."||m===".."||!n.dot&&m.charAt(0)==="."){this.debug("dot detected!",e,d,r,h);break}this.debug("globstar swallow a segment, and continue"),d++}return!!(s&&(this.debug(`
>>> no match, partial?`,e,d,r,h),d===u))}let z;if(typeof l=="string"?(z=A===l,this.debug("string match",l,A,z)):(z=l.test(A),this.debug("pattern match",l,A,z)),!z)return!1}if(a===u&&c===p)return!0;if(a===u)return s;if(c===p)return a===u-1&&e[a]==="";throw new Error("wtf?")}braceExpand(){return(0,Oe.braceExpand)(this.pattern,this.options)}parse(e){(0,h6.assertValidPattern)(e);let r=this.options;if(e==="**")return Oe.GLOBSTAR;if(e==="")return"";let s,n=null;(s=e.match(qF0))?n=r.dot?RF0:IF0:(s=e.match(MF0))?n=(r.nocase?r.dot?OF0:zF0:r.dot?gF0:mF0)(s[1]):(s=e.match(wF0))?n=(r.nocase?r.dot?NF0:SF0:r.dot?FF0:vF0)(s):(s=e.match(EF0))?n=r.dot?CF0:yF0:(s=e.match(BF0))&&(n=DF0);let i=PRe.AST.fromGlob(e,this.options).toMMPattern();return n&&typeof i=="object"&&Reflect.defineProperty(i,"test",{value:n}),i}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,s=r.noglobstar?xF0:r.dot?WF0:_F0,n=new Set(r.nocase?["i"]:[]),i=e.map(u=>{let p=u.map(A=>{if(A instanceof RegExp)for(let d of A.flags.split(""))n.add(d);return typeof A=="string"?GF0(A):A===Oe.GLOBSTAR?Oe.GLOBSTAR:A._src});p.forEach((A,d)=>{let h=p[d+1],m=p[d-1];A!==Oe.GLOBSTAR||m===Oe.GLOBSTAR||(m===void 0?h!==void 0&&h!==Oe.GLOBSTAR?p[d+1]="(?:\\/|"+s+"\\/)?"+h:p[d]=s:h===void 0?p[d-1]=m+"(?:\\/|\\/"+s+")?":h!==Oe.GLOBSTAR&&(p[d-1]=m+"(?:\\/|\\/"+s+"\\/)"+h,p[d+1]=Oe.GLOBSTAR))});let l=p.filter(A=>A!==Oe.GLOBSTAR);if(this.partial&&l.length>=1){let A=[];for(let d=1;d<=l.length;d++)A.push(l.slice(0,d).join("/"));return"(?:"+A.join("|")+")"}return l.join("/")}).join("|"),[a,c]=e.length>1?["(?:",")"]:["",""];i="^"+a+i+c+"$",this.partial&&(i="^(?:\\/|"+a+i.slice(1,-1)+c+")$"),this.negate&&(i="^(?!"+i+").+$");try{this.regexp=new RegExp(i,[...n].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let s=this.options;this.isWindows&&(e=e.split("\\").join("/"));let n=this.slashSplit(e);this.debug(this.pattern,"split",n);let i=this.set;this.debug(this.pattern,"set",i);let a=n[n.length-1];if(!a)for(let c=n.length-2;!a&&c>=0;c--)a=n[c];for(let c=0;c<i.length;c++){let u=i[c],p=n;if(s.matchBase&&u.length===1&&(p=[a]),this.matchOne(p,u,r))return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate}static defaults(e){return Oe.minimatch.defaults(e).Minimatch}};Oe.Minimatch=$2;var HF0=EJ();Object.defineProperty(Oe,"AST",{enumerable:!0,get:o(function(){return HF0.AST},"get")});var XF0=yJ();Object.defineProperty(Oe,"escape",{enumerable:!0,get:o(function(){return XF0.escape},"get")});var VF0=p6();Object.defineProperty(Oe,"unescape",{enumerable:!0,get:o(function(){return VF0.unescape},"get")});Oe.minimatch.AST=PRe.AST;Oe.minimatch.Minimatch=$2;Oe.minimatch.escape=fF0.escape;Oe.minimatch.unescape=hF0.unescape});var YRe=b(zs=>{"use strict";var jF0=zs&&zs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(zs,"__esModule",{value:!0});zs.Minipass=zs.isWritable=zs.isReadable=zs.isStream=void 0;var HRe=typeof process=="object"&&process?process:{stdout:null,stderr:null},wJ=require("node:events"),$Re=jF0(require("node:stream")),$F0=require("node:string_decoder"),YF0=o(t=>!!t&&typeof t=="object"&&(t instanceof E6||t instanceof $Re.default||(0,zs.isReadable)(t)||(0,zs.isWritable)(t)),"isStream");zs.isStream=YF0;var JF0=o(t=>!!t&&typeof t=="object"&&t instanceof wJ.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==$Re.default.Writable.prototype.pipe,"isReadable");zs.isReadable=JF0;var KF0=o(t=>!!t&&typeof t=="object"&&t instanceof wJ.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function","isWritable");zs.isWritable=KF0;var Ip=Symbol("EOF"),Rp=Symbol("maybeEmitEnd"),MA=Symbol("emittedEnd"),b6=Symbol("emittingEnd"),fy=Symbol("emittedError"),M6=Symbol("closed"),XRe=Symbol("read"),m6=Symbol("flush"),
2026-05-22 12:36:07 +00:00
\r
2026-06-29 14:17:37 +00:00
`);if(d===-1){K6("have not received end of HTTP headers yet..."),i();return}let h=A.slice(0,d).toString("ascii").split(`\r
`),m=h.shift();if(!m)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let z=m.split(" "),C=+z[1],E=z.slice(2).join(" "),D={};for(let R of h){if(!R)continue;let w=R.indexOf(":");if(w===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${R}"`));let F=R.slice(0,w).toLowerCase(),W=R.slice(w+1).trimStart(),Q=D[F];typeof Q=="string"?D[F]=[Q,W]:Array.isArray(Q)?Q.push(W):D[F]=W}K6("got proxy server response: %o %o",m,D),a(),e({connect:{statusCode:C,statusText:E,headers:D},buffered:A})}o(p,"ondata"),t.on("error",u),t.on("end",c),i()})}o(px0,"parseProxyResponse");gm.parseProxyResponse=px0});var MSe=b($i=>{"use strict";var lx0=$i&&$i.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),Ax0=$i&&$i.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),hSe=$i&&$i.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&lx0(e,t,r);return Ax0(e,t),e},bSe=$i&&$i.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($i,"__esModule",{value:!0});$i.HttpsProxyAgent=void 0;var Wy=hSe(require("net")),dSe=hSe(require("tls")),dx0=bSe(require("assert")),fx0=bSe(vd()),hx0=yO(),bx0=require("url"),Mx0=ASe(),_y=(0,fx0.default)("https-proxy-agent"),Z6=class extends hx0.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new bx0.URL(e):e,this.proxyHeaders=r?.headers??{},_y("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?fSe(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;if(s.protocol==="https:"){_y("Creating `tls.Socket`: %o",this.connectOpts);let d=this.connectOpts.servername||this.connectOpts.host;n=dSe.connect({...this.connectOpts,servername:d&&Wy.isIP(d)?void 0:d})}else _y("Creating `net.Socket`: %o",this.connectOpts),n=Wy.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Wy.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(i))c+=`${d}: ${i[d]}\r
2026-06-29 14:17:37 +00:00
`;let u=(0,Mx0.parseProxyResponse)(n);n.write(`${c}\r
`);let{connect:p,buffered:l}=await u;if(e.emit("proxyConnect",p),this.emit("proxyConnect",p,e),p.statusCode===200){if(e.once("socket",mx0),r.secureEndpoint){_y("Upgrading socket connection to TLS");let d=r.servername||r.host;return dSe.connect({...fSe(r,"host","path","port"),socket:n,servername:Wy.isIP(d)?void 0:d})}return n}n.destroy();let A=new Wy.Socket({writable:!1});return A.readable=!0,e.once("socket",d=>{_y("Replaying proxy buffer for failed request"),(0,dx0.default)(d.listenerCount("data")>0),d.push(l),d.push(null)}),A}};Z6.protocols=["http","https"];$i.HttpsProxyAgent=Z6;function mx0(t){t.resume()}o(mx0,"resume");function fSe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(fSe,"omit")});var OSe=b(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});var mSe=require("buffer"),tf={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};Np.ERRORS=tf;function gx0(t){if(!mSe.Buffer.isEncoding(t))throw new Error(tf.INVALID_ENCODING)}o(gx0,"checkEncoding");Np.checkEncoding=gx0;function gSe(t){return typeof t=="number"&&isFinite(t)&&yx0(t)}o(gSe,"isFiniteInteger");Np.isFiniteInteger=gSe;function zSe(t,e){if(typeof t=="number"){if(!gSe(t)||t<0)throw new Error(e?tf.INVALID_OFFSET:tf.INVALID_LENGTH)}else throw new Error(e?tf.INVALID_OFFSET_NON_NUMBER:tf.INVALID_LENGTH_NON_NUMBER)}o(zSe,"checkOffsetOrLengthValue");function zx0(t){zSe(t,!1)}o(zx0,"checkLengthValue");Np.checkLengthValue=zx0;function Ox0(t){zSe(t,!0)}o(Ox0,"checkOffsetValue");Np.checkOffsetValue=Ox0;function Ex0(t,e){if(t<0||t>e.length)throw new Error(tf.INVALID_TARGET_OFFSET)}o(Ex0,"checkTargetOffset");Np.checkTargetOffset=Ex0;function yx0(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}o(yx0,"isInteger");function Cx0(t){if(typeof BigInt>"u")throw new Error("Platform does not support JS BigInt type.");if(typeof mSe.Buffer.prototype[t]>"u")throw new Error(`Platform does not support Buffer.prototype.${t}.`)}o(Cx0,"bigIntAndBufferInt64Check");Np.bigIntAndBufferInt64Check=Cx0});var ySe=b(gK=>{"use strict";Object.defineProperty(gK,"__esModule",{value:!0});var e0=OSe(),ESe=4096,Bx0="utf8",mK=class t{static{o(this,"SmartBuffer")}constructor(e){if(this.length=0,this._encoding=Bx0,this._writeOffset=0,this._readOffset=0,t.isSmartBufferOptions(e))if(e.encoding&&(e0.checkEncoding(e.encoding),this._encoding=e.encoding),e.size)if(e0.isFiniteInteger(e.size)&&e.size>0)this._buff=Buffer.allocUnsafe(e.size);else throw new Error(e0.ERRORS.INVALID_SMARTBUFFER_SIZE);else if(e.buff)if(Buffer.isBuffer(e.buff))this._buff=e.buff,this.length=e.buff.length;else throw new Error(e0.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(ESe);else{if(typeof e<"u")throw new Error(e0.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(ESe)}}static fromSize(e,r){return new this({size:e,encoding:r})}static fromBuffer(e,r){return new this({buff:e,encoding:r})}static fromOptions(e){return new this(e)}static isSmartBufferOptions(e){let r=e;return r&&(r.encoding!==void 0||r.size!==void 0||r.buff!==void 0)}read
2026-05-22 12:36:07 +00:00
`).join(`
2026-06-29 14:17:37 +00:00
`+i),t.push(n+"m+"+Av.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=YP0()+e+" "+t[0]}o($P0,"formatArgs");function YP0(){return rr.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(YP0,"getDate");function JP0(...t){return process.stderr.write(lv.formatWithOptions(rr.inspectOpts,...t)+`
`)}o(JP0,"log");function KP0(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(KP0,"save");function ZP0(){return process.env.DEBUG}o(ZP0,"load");function ek0(t){t.inspectOpts={};let e=Object.keys(rr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=rr.inspectOpts[e[r]]}o(ek0,"init");Av.exports=bee()(rr);var{formatters:AFe}=Av.exports;AFe.o=function(t){return this.inspectOpts.colors=this.useColors,lv.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};AFe.O=function(t){return this.inspectOpts.colors=this.useColors,lv.inspect(t,this.inspectOpts)}});var mee=b((d7t,Mee)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Mee.exports=lFe():Mee.exports=dFe()});var hFe=b((f7t,fFe)=>{var tk0=require("dns"),rk0=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"],sk0=o(t=>{let{strictSSL:e,...r}={...t};if(r.method=r.method?r.method.toUpperCase():"GET",e==null?r.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0":r.rejectUnauthorized=e!==!1,!r.retry)r.retry={retries:0};else if(typeof r.retry=="string"){let s=parseInt(r.retry,10);isFinite(s)?r.retry={retries:s}:r.retry={retries:0}}else typeof r.retry=="number"?r.retry={retries:r.retry}:r.retry={retries:0,...r.retry};return r.dns={ttl:300*1e3,lookup:tk0.lookup,...r.dns},r.cache=r.cache||"default",r.cache==="default"&&Object.keys(r.headers||{}).some(n=>rk0.includes(n.toLowerCase()))&&(r.cache="no-store"),r.cacheAdditionalHeaders=r.cacheAdditionalHeaders||[],r.cacheManager&&!r.cachePath&&(r.cachePath=r.cacheManager),r},"configureOptions");fFe.exports=sk0});var zee=b((b7t,zFe)=>{var bFe=v$(),MFe=Q$(),nk0=TE(),mFe={shared:!1,ignoreCargoCult:!0},ik0={status:200,headers:{}},Vm=o(t=>{let e={method:t.method,url:t.url,headers:{},compress:t.compress};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},"requestObject"),gFe=o(t=>{let e={status:t.status,headers:{}};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},"responseObject"),gee=class{static{o(this,"CachePolicy")}constructor({entry:e,request:r,response:s,options:n}){this.entry=e,this.request=Vm(r),this.response=gFe(s),this.options=n,this.policy=new bFe(this.request,this.response,mFe),this.entry&&(this.policy._responseTime=this.entry.metadata.time)}static storable(e,r){return!r.cachePath||r.cache==="no-store"||!["GET","HEAD"].includes(e.method)?!1:new bFe(Vm(e),ik0,mFe).storable()}satisfies(e){let r=Vm(e);if(this.request.headers.host!==r.headers.host||this.request.compress!==r.compress)return!1;let s=new MFe(this.request),n=new MFe(r);return JSON.stringify(s.mediaTypes())!==JSON.stringify(n.mediaTypes())||JSON.stringify(s.languages())!==JSON.stringify(n.languages())||JSON.stringify(s.encodings())!==JSON.stringify(n.encodings())?!1:this.options.integrity?nk0.parse(this.options.integrity).match(this.entry.integrity):!0}storable(){return this.policy.storable()}get mustRevalidate(){return!!this.policy._rescc["must-revalidate"]}needsRevalidation(e){let r=Vm(e);return r.method="GET",!this.policy.satisfiesWithoutRevalidation(r)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(e){let r=Vm(e);return this.policy.revalidationHeaders(r)}revalidated(e,r){let s=Vm(e),n=gFe(r);return!this.policy.revalidatedPolicy(s,n).modified}};zFe.exports=gee});var EFe=b((m7t,OFe)=>{var Oee=class extends Error{static{o(this,"NotCachedError")}constructor(e){super(`request to ${e} failed: cache mode is 'only-if-cached' but no cached response is available.`),this.code="ENOTCACHED"}};OFe.exports={NotCachedError:Oee}});var yee=b((z7t,yFe)=>{"use strict";var ok0=_2(),Eee=class extends ok0{static{o(this,"CachingMinipassPipeline")}#e=[];#t=new Map;constructor(e,...r){super(),this.#e=e.events,r.length&&this.push(...r)}on(e,r){return this.#e.includes(e)&&this.#t.has(e)?r(...this.#t.get(e)):super.on(e,r)}emit(e,...r){return this.#e.includes(e)&&this.#t.set(e,r),super.emit(e,...r)}};yFe.exports=Eee});var BFe=b((E7t,CFe)=>{var{URL:ak0,format:ck0}=require("url"),uk0={auth:!1,fragment:!1,search:!0,unicode:!1},pk0=o(t=>{let e=new ak0(t.url);return`make-fetch-happen:request-cache:${ck0(e,uk0)}`},"cacheKey");CFe.exports=pk0});var DFe=b((C7t,lk0)=>{lk0.exports={name:"make-fetch-happen",version:"15.0.4",description:"Opinionated, caching, retrying fetch client",main:"lib/index.js",files:["bin/","lib/"],scripts:{test:"tap",posttest:"npm run lint",eslint:'eslint "**/*.{js,cjs,ts,mjs,jsx,tsx}"',lint:"npm run eslint",lintfix:"npm run eslint -- --fix",postlint:"template-oss-check",snap:"tap","template-oss
2026-05-22 12:36:07 +00:00
2026-06-29 14:17:37 +00:00
`,q90=/\u2014 (\S+) (\S+)\n/g;function I90(t,e){let r=t.inclusionProof,s=f0e.fromString(r.checkpoint.envelope),n=_v.fromString(s.note);if(!R90(s,e))throw new fC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return n}o(I90,"verifyCheckpoint");function R90(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(s=>{let n=e.find(i=>Bve.crypto.bufferEqual(i.logID.subarray(0,4),s.keyHint)&&i.baseURL.match(s.name));return n?Bve.crypto.verify(r,n.publicKey,s.signature):!1})}o(R90,"verifySignedNote");var f0e=class t{static{o(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(d0e))throw new fC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(d0e),s=e.slice(0,r+1),i=e.slice(r+d0e.length).matchAll(q90),a=Array.from(i,c=>{let[,u,p]=c,l=Buffer.from(p,"base64");if(l.length<5)throw new fC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:u,keyHint:l.subarray(0,4),signature:l.subarray(4)}});if(a.length===0)throw new fC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(s,a)}},_v=class t{static{o(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,s,n){this.origin=e,this.logSize=r,this.logHash=s,this.rest=n}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new fC.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let s=r[0],n=BigInt(r[1]),i=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(s,n,i,a)}};hC.LogCheckpoint=_v});var qve=b(m0e=>{"use strict";Object.defineProperty(m0e,"__esModule",{value:!0});m0e.verifyMerkleInclusion=N90;var M0e=Xn(),h0e=Pr(),w90=Buffer.from([0]),S90=Buffer.from([1]);function N90(t,e){let r=t.inclusionProof,s=BigInt(r.logIndex),n=BigInt(e.logSize);if(s<0n||s>=n)throw new h0e.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${s}`});let{inner:i,border:a}=F90(s,n);if(r.hashes.length!==i+a)throw new h0e.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,i),u=r.hashes.slice(i),p=L90(t.canonicalizedBody),l=T90(v90(p,c,s),u);if(!M0e.crypto.bufferEqual(l,e.logHash))throw new h0e.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}o(N90,"verifyMerkleInclusion");function F90(t,e){let r=x90(t,e),s=W90(t>>BigInt(r));return{inner:r,border:s}}o(F90,"decompInclProof");function v90(t,e,r){return e.reduce((s,n,i)=>r>>BigInt(i)&BigInt(1)?b0e(n,s):b0e(s,n),t)}o(v90,"chainInner");function T90(t,e){return e.reduce((r,s)=>b0e(s,r),t)}o(T90,"chainBorderRight");function x90(t,e){return _90(t^e-BigInt(1))}o(x90,"innerProofSize");function W90(t){return t.toString(2).split("1").length-1}o(W90,"onesCount");function _90(t){return t===0n?0:t.toString(2).length}o(_90,"bitLength");function b0e(t,e){return M0e.crypto.digest("sha256",S90,t,e)}o(b0e,"hashChildren");function L90(t){return M0e.crypto.digest("sha256",w90,t)}o(L90,"hashLeaf")});var Rve=b(g0e=>{"use strict";Object.defineProperty(g0e,"__esModule",{value:!0});g0e.verifyTLogSET=k90;var Ive=Xn(),Q90=Pr(),P90=eg();function k90(t,e){if(!(0,P90.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(n=>{let i=U90(t),a=Buffer.from(Ive.json.canonicalize(i),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return Ive.crypto.verify(a,n.publicKey,c)}))throw new Q90.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}o(k90,"verifyTLogSET");function U90(t){let{integratedTime:e,logIndex:r,logId:s,canonicalizedBody:n}=t;return{body:n.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:s.keyId.toString("hex")}}o(U90,"toVerificationPayload")});var Sve=b(Lv=>{"use strict";Object.defineProperty(Lv,"__esModule",{value:!0});Lv.verifyTLogBody=j90;Lv.verifyTLogInclusion=$90;var wve=dZ(),E0e=Pr(),z0e=Eve(),O0e=yve(),G90=Cve(),H90=Dve(),X90=qve(),V90=Rve();function j90(t,e){let{kind:r,version:s}=t.kindVersion,n=JSON.parse(t.canonicalizedBody.toString("utf8"));if(r!==n.kind||s!==n.apiVersion)throw new E0e.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${s}, received: ${n.kind}/${n.apiVersion}`});switch(r){case"dsse":if(s==z0e.DSSE_API_VERSION_V1)return(0,z0e.verifyDSSETLogBody)(n,e);{let i=wve.Entry.fromJSON(n);return(0,z0e.verifyDSSETLogBodyV2)(i,e)}case"intoto":return(0,G90.verifyIntotoTLogBody)(n,e);case"hashedrekord":if(s==O0e.HASHEDREKORD_API_VERSION_V1)return(0,O0e.verifyHashedRekordTLogBody)(n,e);{let i=wve.Entry.fromJSON(n);return(0,O0e.verifyHashedRekordTLogBodyV2)(i,e)}default:throw new E0e.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}o(j90,"verifyTLogBody");function $90(t,e){let r=!1;if(Y90(t)&&((0,V90.verifyTLogSET)(t,e),r=!0),J90(t)){let s=(0,H90.verifyCheckpoint)(t,e);(0,X90.verifyMerkleInclusion)(t,s),r=!0}if(!r)throw new E0e.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}o($90,"verifyTLogInclusion");function Y90(t){return t.inclusionPromise!==void 0}o(Y90,"isTLogEntryWithInclusionPromise");function J90(t){return t.inclusionProof!==void 0}o(J90,"isTLogEntryWithInclusionProof")});var xve=b(Qv=>{"use strict";Object.defineProperty(Qv,"__esModule",{value:!0});Qv.Verifier=v
[`+S+"] ";for(L in arguments[0])i(arguments[0],L)&&(q+=L+": "+arguments[0][L]+", ");q=q.slice(0,-2)}else q=arguments[S];O.push(q)}Q(f+`
Arguments: `+Array.prototype.slice.call(O).join("")+`
2026-06-29 14:17:37 +00:00
`+new Error().stack),g=!1}return M.apply(this,arguments)},M)}o($,"deprecate");var he={};function Re(f,M){e.deprecationHandler!=null&&e.deprecationHandler(f,M),he[f]||(Q(M),he[f]=!0)}o(Re,"deprecateSimple"),e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;function Z(f){return typeof Function<"u"&&f instanceof Function||Object.prototype.toString.call(f)==="[object Function]"}o(Z,"isFunction");function De(f){var M,g;for(g in f)i(f,g)&&(M=f[g],Z(M)?this[g]=M:this["_"+g]=M);this._config=f,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}o(De,"set");function J(f,M){var g=A({},f),O;for(O in M)i(M,O)&&(n(f[O])&&n(M[O])?(g[O]={},A(g[O],f[O]),A(g[O],M[O])):M[O]!=null?g[O]=M[O]:delete g[O]);for(O in f)i(f,O)&&!i(M,O)&&n(f[O])&&(g[O]=A({},g[O]));return g}o(J,"mergeConfigs");function Ie(f){f!=null&&this.set(f)}o(Ie,"Locale");var Le;Object.keys?Le=Object.keys:Le=o(function(f){var M,g=[];for(M in f)i(f,M)&&g.push(M);return g},"keys");var m0={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function l0(f,M,g){var O=this._calendar[f]||this._calendar.sameElse;return Z(O)?O.call(M,g):O}o(l0,"calendar");function v0(f,M,g){var O=""+Math.abs(f),q=M-O.length,S=f>=0;return(S?g?"+":"":"-")+Math.pow(10,Math.max(0,q)).toString().substr(1)+O}o(v0,"zeroFill");var gt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P0=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,nr={},Pt={};function ze(f,M,g,O){var q=O;typeof O=="string"&&(q=o(function(){return this[O]()},"func")),f&&(Pt[f]=q),M&&(Pt[M[0]]=function(){return v0(q.apply(this,arguments),M[1],M[2])}),g&&(Pt[g]=function(){return this.localeData().ordinal(q.apply(this,arguments),f)})}o(ze,"addFormatToken");function PA(f){return f.match(/\[[\s\S]/)?f.replace(/^\[|\]$/g,""):f.replace(/\\/g,"")}o(PA,"removeFormattingTokens");function ao(f){var M=f.match(gt),g,O;for(g=0,O=M.length;g<O;g++)Pt[M[g]]?M[g]=Pt[M[g]]:M[g]=PA(M[g]);return function(q){var S="",L;for(L=0;L<O;L++)S+=Z(M[L])?M[L].call(q,f):M[L];return S}}o(ao,"makeFormatFunction");function y0(f,M){return f.isValid()?(M=Ct(M,f.localeData()),nr[M]=nr[M]||ao(M),nr[M](f)):f.localeData().invalidDate()}o(y0,"formatMoment");function Ct(f,M){var g=5;function O(q){return M.longDateFormat(q)||q}for(o(O,"replaceLongDateFormatTokens"),P0.lastIndex=0;g>=0&&P0.test(f);)f=f.replace(P0,O),P0.lastIndex=0,g-=1;return f}o(Ct,"expandFormat");var Tf={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xf(f){var M=this._longDateFormat[f],g=this._longDateFormat[f.toUpperCase()];return M||!g?M:(this._longDateFormat[f]=g.match(gt).map(function(O){return O==="MMMM"||O==="MM"||O==="DD"||O==="dddd"?O.slice(1):O}).join(""),this._longDateFormat[f])}o(xf,"longDateFormat");var Dg="Invalid date";function Yc(){return this._invalidDate}o(Yc,"invalidDate");var N="%d",k=/\d{1,2}/;function U(f){return this._ordinal.replace("%d",f)}o(U,"ordinal");var Y={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fe(f,M,g,O){var q=this._relativeTime[g];return Z(q)?q(f,M,g,O):q.replace(/%d/i,f)}o(Fe,"relativeTime");function i0(f,M){var g=this._relativeTime[f>0?"future":"past"];return Z(g)?g(M):g.replace(/%s/i,M)}o(i0,"pastFuture");var et={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minu
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}o($K0,"_nonIterableRest");jC.exports=$K0,jC.exports.__esModule=!0,jC.exports.default=jC.exports});var rke=b((iJt,$C)=>{var YK0=QQe(),JK0=SPe(),KK0=eke(),ZK0=tke();function eZ0(t,e){return YK0(t)||JK0(t,e)||KK0(t,e)||ZK0()}o(eZ0,"_slicedToArray");$C.exports=eZ0,$C.exports.__esModule=!0,$C.exports.default=$C.exports});var nke=b((aJt,ske)=>{"use strict";var tZ0=xT().forEach,rZ0=UC(),sZ0=rZ0("forEach");ske.exports=sZ0?[].forEach:o(function(e){return tZ0(this,e,arguments.length>1?arguments[1]:void 0)},"forEach")});var oke=b(()=>{"use strict";var nZ0=Z0(),ike=nke();nZ0({target:"Array",proto:!0,forced:[].forEach!==ike},{forEach:ike})});var cke=b((lJt,ake)=>{"use strict";oke();var iZ0=ra();ake.exports=iZ0("Array","forEach")});var pke=b((AJt,uke)=>{"use strict";var oZ0=cke();uke.exports=oZ0});var lke=b(()=>{});var dke=b((hJt,Ake)=>{"use strict";var aZ0=mg(),cZ0=Ds(),uZ0=cn(),pZ0=pke();lke();var O1e=Array.prototype,lZ0={DOMTokenList:!0,NodeList:!0};Ake.exports=function(t){var e=t.forEach;return t===O1e||uZ0(O1e,t)&&e===O1e.forEach||cZ0(lZ0,aZ0(t))?pZ0:e}});var E1e=b((bJt,fke)=>{fke.exports=dke()});var hke=b(()=>{"use strict";var AZ0=Z0(),dZ0=gT().includes,fZ0=Lt(),hZ0=rte(),bZ0=fZ0(function(){return!Array(1).includes()});AZ0({target:"Array",proto:!0,forced:bZ0},{includes:o(function(e){return dZ0(this,e,arguments.length>1?arguments[1]:void 0)},"includes")});hZ0("includes")});var Mke=b((zJt,bke)=>{"use strict";hke();var MZ0=ra();bke.exports=MZ0("Array","includes")});var gke=b((OJt,mke)=>{"use strict";var mZ0=si(),gZ0=Pp(),zZ0=a1(),OZ0=zZ0("match");mke.exports=function(t){var e;return mZ0(t)&&((e=t[OZ0])!==void 0?!!e:gZ0(t)==="RegExp")}});var Oke=b((EJt,zke)=>{"use strict";var EZ0=gke(),yZ0=TypeError;zke.exports=function(t){if(EZ0(t))throw new yZ0("The method doesn't accept regular expressions");return t}});var yke=b((yJt,Eke)=>{"use strict";var CZ0=a1(),BZ0=CZ0("match");Eke.exports=function(t){var e=/./;try{"/./"[t](e)}catch{try{return e[BZ0]=!1,"/./"[t](e)}catch{}}return!1}});var Bke=b(()=>{"use strict";var DZ0=Z0(),qZ0=yt(),IZ0=Oke(),RZ0=Of(),Cke=jc(),wZ0=yke(),SZ0=qZ0("".indexOf);DZ0({target:"String",proto:!0,forced:!wZ0("includes")},{includes:o(function(e){return!!~SZ0(Cke(RZ0(this)),Cke(IZ0(e)),arguments.length>1?arguments[1]:void 0)},"includes")})});var qke=b((qJt,Dke)=>{"use strict";Bke();var NZ0=ra();Dke.exports=NZ0("String","includes")});var wke=b((IJt,Rke)=>{"use strict";var Ike=cn(),FZ0=Mke(),vZ0=qke(),y1e=Array.prototype,C1e=String.prototype;Rke.exports=function(t){var e=t.includes;return t===y1e||Ike(y1e,t)&&e===y1e.includes?FZ0:typeof t=="string"||t===C1e||Ike(C1e,t)&&e===C1e.includes?vZ0:e}});var Nke=b((RJt,Ske)=>{"use strict";var TZ0=wke();Ske.exports=TZ0});var YC=b((wJt,Fke)=>{Fke.exports=Nke()});var B1e=b((SJt,vke)=>{"use strict";vke.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Wke=b((NJt,xke)=>{"use strict";var xZ0=yt(),WZ0=Of(),_Z0=jc(),q1e=B1e(),Tke=xZ0("".replace),LZ0=RegExp("^["+q1e+"]+"),QZ0=RegExp("(^|[^"+q1e+"])["+q1e+"]+$"),D1e=o(function(t){return function(e){var r=_Z0(WZ0(e));return t&1&&(r=Tke(r,LZ0,"")),t&2&&(r=Tke(r,QZ0,"$1")),r}},"createMethod");xke.exports={start:D1e(1),end:D1e(2),trim:D1e(3)}});var Gke=b((vJt,Uke)=>{"use strict";var Pke=B1(),PZ0=Lt(),kZ0=yt(),UZ0=jc(),GZ0=Wke().trim,_ke=B1e(),JC=Pke.parseInt,Lke=Pke.Symbol,Qke=Lke&&Lke.iterator,kke=/^[+-]?0x/i,HZ0=kZ0(kke.exec),XZ0=JC(_ke+"08")!==8||JC(_ke+"0x16")!==22||Qke&&!PZ0(function(){JC(Object(Qke))});Uke.exports=XZ0?o(function(e,r){var s=GZ0(UZ0(e));return JC(s,r>>>0||(HZ0(kke,s)?16:10))},"parseInt"):JC});var Xke=b(()=>{"use strict";var VZ0=Z0(),Hke=Gke();VZ0({global:!0,forced:parseInt!==Hke},{parseInt:Hke})});var jke=b((_Jt,Vke)=>{"use strict";Xke();var jZ0=Ko();Vke.exports=jZ0.parseInt});var Yke=b((LJt,$ke)=>{"use strict";var $Z0=jke();$ke.exports=$Z0});var Kke=b((QJt,Jke)=>{Jke.exports=Yke()});var HT=b((PJt,Zke)=>{Zke.exports=z1e()});var r7e=b((kJt,t7e)=>{"use strict";var e7e=CC(),YZ0=TypeError;t7e.exports=function(t,e){if(!delete t[e])throw new YZ0("Cannot delete property "+e7e(e)+" of "+e7e(t))}});var i7e=b((UJt,n7e)=>{"use strict";var s7e=xC(),JZ0=Math.floor,I1e=o(function(t,e){var r=t.length;if(r<8)for(var s=1,n,i;s<r;){for(i=s,n=t[s];i&&e(t[i-1],n)>0;)t[i]=t[--i];i!==s++&&(t[i]=n)}else for(var a=JZ0(r/2),c=I1e(s7e(t,0,a),e),u=I1e(s7e(t,a),e),p=c.length,l=u.length,A=0,d=0;A<p||d<l;)t[A+d]=A<p&&d<l?e(c[A],u[d])<=0?c[A++]:u[d++]:A<p?c[A++]:u[d++];return t},"sort");n7e.exports=I1e});var c7e=b((HJt,a7e)=>{"use strict";var KZ0=pg(),o7e=KZ0.match(/firefox\/(\d+)/i);a7e.exports=!!o7e&&+o7e[1]});var p7e=b((XJt,u7e)=>{"use strict";var ZZ0=pg();u7e.exports=/MSIE|Trident/.test(ZZ0)});var d7e=b((VJt,A7e)=>{"use strict";var eet=pg(),l7e=eet.match(/AppleWebKit\/(\d+)\./);A7e.exports=!!l7e&&+l7e[1]});var E7e=b(()=>{"use strict";var tet=Z0(),z7e=yt(),ret=yf(),set=Xc(),f7e=Gp(),net=r7e(),h7e=jc(),R1e=Lt(),iet=i7e(),oet=UC(),b7e=c7e(),aet=p7e(),M7e=lg(),m7e=d7e(),WA=[],g7e=z7e(WA.sort),cet=z7e(WA.push),uet=R1e(function(){WA.sort(void 0)}),pet=R1e(function(){WA.sort(null)}),Aet=oet("sort"),O7e=!R1e(function(){if(M7e)return M7e<70;if(!(b7e&&b7e>3)){if(aet)return!0;if(m7e)return m7e<603;var t="",e,r,s,n;for(e=65;e<76;e++){switch(r=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:s=3;break;case 68:case 71:s=4;break;default:s=2}for(n=0;n<47;n++)WA.push({k:r+n,v:s})}for(WA.sort(function(i,a){return a.v-i.v}),n=0;n<WA.length;n++)r=WA[n].k.charAt(0),t.charAt(t.length-1)!==r&&(t+=r);return t!=="DGBEFHACIJK"}}),det=uet||!pet||!Aet||!O7e,fet=o(function(t){return function(e,r){return r===void 0?-1:e===void 0?1:t!==void 0?+t(e,r)||0:h7e(e)>h7e(r)?1:-1}},"getSortCompare");tet({target:"Array",proto:!0,forced:det},{sort:o(function(e){e!==void 0&&ret(e);var r=set(this);if(O7e)return e===void 0?g7e(r):g7e(r,e);var s=[],n=f7e(r),i,a;for(a=0;a<n;a++)a in r&&cet(s,r[a]);for(iet(s,fet(e)),i=f7e(s),a=0;a<i;)r[a]=s[a++];for(;a<n;)net(r,a++);return r},"sort")})});var C7e=b((JJt,y7e)=>{"use strict";E7e();var het=ra();y7e.exports=het("Array","sort")});var D7e=b((KJt,B7e)=>{"use strict";var bet=cn(),Met=C7e(),w1e=Array.prototype;B7e.exports=function(t){var e=t.sort;return t===w1e||bet(w1e,t)&&e===w1e.sort?Met:e}});var I7e=b((ZJt,q7e)=>{"use strict";var met=D7e();q7e.exports=met});var w7e=b((eKt,R7e)=>{R7e.exports=I7e()});var S7e=b(()=>{});var v7e=b((sKt,F7e)=>{"use strict";var get=B1(),zet=Lt(),N7e=get.RegExp,Oet=!zet(function(){var t=!0;try{N7e(".","d")}catch{t=!1}var e={},r="",s=t?"dgimsy":"gimsy",n=o(function(u,p){Object.defineProperty(e,u,{get:o(function(){return r+=p,!0},"get")})},"addGetter"),i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};t&&(i.hasIndices="d");for(var a in i)n(a,i[a]);var c=Object.getOwnPropertyDescriptor(N7e.prototype,"flags").get.call(e);return c!==s||r!==s});F7e.exports={correct:
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,c;return{s:o(function(){r=(0,vet.default)(t)},"s"),n:o(function(){var p=r.next();return i=p.done,p},"n"),e:o(function(p){a=!0,c=p},"e"),f:o(function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw c}},"f")}}o(e4,"_createForOfIteratorHelper");function ket(t,e){var r;if(t){if(typeof t=="string")return $7e(t,e);var s=(0,oo.default)(r=Object.prototype.toString.call(t)).call(r,8,-1);if(s==="Object"&&t.constructor&&(s=t.constructor.name),s==="Map"||s==="Set")return(0,_et.default)(t);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return $7e(t,e)}}o(ket,"_unsupportedIterableToArray");function $7e(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,s=new Array(e);r<e;r++)s[r]=t[r];return s}o($7e,"_arrayLikeToArray");var at="xregexp",Nf={astral:!1,namespacing:!1},Qt={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},$c={},KC={},Eg={},S1e=[],yg="default",Y7e="class",Uet={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},Get=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g,Het=Qt.exec.call(/()??/,"")[1]===void 0,Xet=(0,Sf.default)(/x/)!==void 0,Vet={},t9e=Vet.toString;function F1e(t){var e=!0;try{if(new RegExp("",t),t==="y"){var r=(function(){return"gy"})(),s=".a".replace(new RegExp("a",r),".")==="..";s&&(e=!1)}}catch{e=!1}return e}o(F1e,"hasNativeFlag");var r9e=F1e("u"),v1e=F1e("y"),s9e={g:!0,i:!0,m:!0,u:r9e,y:v1e};function n9e(t,e,r,s,n){var i;if(t[at]={captureNames:e},n)return t;if(t.__proto__)t.__proto__=ae.prototype;else for(var a in ae.prototype)t[a]=ae.prototype[a];return t[at].source=r,t[at].flags=s&&(0,Pet.default)(i=s.split("")).call(i).join(""),t}o(n9e,"augment");function ZC(t){return Qt.replace.call(t,/([\s\S])(?=[\s\S]*\1)/g,"")}o(ZC,"clipDuplicates");function vf(t,e){var r;if(!ae.isRegExp(t))throw new TypeError("Type RegExp expected");var s=t[at]||{},n=jet(t),i="",a="",c=null,u=null;return e=e||{},e.removeG&&(a+="g"),e.removeY&&(a+="y"),a&&(n=Qt.replace.call(n,new RegExp("[".concat(a,"]+"),"g"),"")),e.addG&&(i+="g"),e.addY&&(i+="y"),i&&(n=ZC(n+i)),e.isInternalOnly||(s.source!==void 0&&(c=s.source),(0,Sf.default)(s)!=null&&(u=i?ZC((0,Sf.default)(s)+i):(0,Sf.default)(s))),t=n9e(new RegExp(e.source||t.source,n),$et(t)?(0,oo.default)(r=s.captureNames).call(r,0):null,c,u,e.isInternalOnly),t}o(vf,"copyRegex");function i9e(t){return(0,e9e.default)(t,16)}o(i9e,"dec");function o9e(t,e,r){return t.input[t.index-1]==="("||t.input[t.index+t[0].length]===")"||t.input[t.index-1]==="|"||t.input[t.index+t[0].length]==="|"||t.index<1||t.index+t[0].length>=t.input.length||Qt.test.call(/^\(\?[:=!]/,t.input.substr(t.index-3,3))||Yet(t.input,t.index+t[0].length,r)?"":"(?:)"}o(o9e,"getContextualTokenSeparator");function jet(t){return Xet?(0,Sf.default)(t):Qt.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(t))[1]}o(jet,"getNativeFlags");function $et(t){return!!(t[at]&&t[at].captureNames)}o($et,"hasNamedCapture");function a9e(t){return(0,e9e.default)(t,10).toString(16)}o(a9e,"hex");function Yet(t,e,r){var s="\\(\\?#[^)]*\\)",n="#[^#\\n]*",i="[?*+]|{\\d+(?:,\\d*)?}";return Qt.test.call((0,Ff.default)(r).call(r,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,(0,oo.default)(t).call(t,e))}o(Yet,"isQuantifierNext");function T1e(t,e){return t9e.call(t)==="[object ".concat(e,"]")}o(T1e,"isType");function c9e(t){for(;t.length<4;)t="0".concat(t);return t}o(c9e,"pad4");function Jet(t,e){if(ZC(e)!==e)throw new SyntaxError("Invalid duplicate regex flag ".concat(e));t=Qt.replace.call(t,/^\(\?([\w$]+)\)/,function(i,a){if(Qt.test.call(/[gy]/,a))throw new SyntaxError("Cannot use flag g or y in mode modifier ".concat(i));return e=ZC(e
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,c;return{s:o(function(){r=(0,F0t.default)(t)},"s"),n:o(function(){var p=r.next();return i=p.done,p},"n"),e:o(function(p){a=!0,c=p},"e"),f:o(function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw c}},"f")}}o(P0t,"_createForOfIteratorHelper");function k0t(t,e){var r;if(t){if(typeof t=="string")return $9e(t,e);var s=(0,_0t.default)(r=Object.prototype.toString.call(t)).call(r,8,-1);if(s==="Object"&&t.constructor&&(s=t.constructor.name),s==="Map"||s==="Set")return(0,W0t.default)(t);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return $9e(t,e)}}o(k0t,"_unsupportedIterableToArray");function $9e(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,s=new Array(e);r<e;r++)s[r]=t[r];return s}o($9e,"_arrayLikeToArray");var U0t=o(function(e){var r={},s=e._dec,n=e._hex,i=e._pad4;function a(d){return d.replace(/[- _]+/g,"").toLowerCase()}o(a,"normalize");function c(d){var h=/^\\[xu](.+)/.exec(d);return h?s(h[1]):d.charCodeAt(d[0]==="\\"?1:0)}o(c,"charCode");function u(d){var h="",m=-1;return(0,Q0t.default)(e).call(e,d,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(z){var C=c(z[1]);C>m+1&&(h+="\\u".concat(i(n(m+1))),C>m+2&&(h+="-\\u".concat(i(n(C-1))))),m=c(z[2]||z[1])}),m<65535&&(h+="\\u".concat(i(n(m+1))),m<65534&&(h+="-\\uFFFF")),h}o(u,"invertBmp");function p(d){var h="b!";return r[d][h]||(r[d][h]=u(r[d].bmp))}o(p,"cacheInvertedBmp");function l(d,h){var m=r[d],z="";if(m.bmp&&!m.isBmpLast){var C;z=(0,L1e.default)(C="[".concat(m.bmp,"]")).call(C,m.astral?"|":"")}if(m.astral&&(z+=m.astral),m.isBmpLast&&m.bmp){var E;z+=(0,L1e.default)(E="".concat(m.astral?"|":"","[")).call(E,m.bmp,"]")}return h?"(?:(?!".concat(z,")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))"):"(?:".concat(z,")")}o(l,"buildAstral");function A(d,h){var m=h?"a!":"a=";return r[d][m]||(r[d][m]=l(d,h))}o(A,"cacheAstral"),e.addToken(/\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,function(d,h,m){var z="Invalid double negation ",C="Unknown Unicode token ",E="Unicode token missing data ",D="Astral mode required for Unicode token ",R="Astral mode does not support Unicode tokens within character classes",w=d[1]==="P"||!!d[2],F=(0,L0t.default)(m).call(m,"A"),W=a(d[4]||d[3]),Q=r[W];if(d[1]==="P"&&d[2])throw new SyntaxError(z+d[0]);if(!r.hasOwnProperty(W))throw new SyntaxError(C+d[0]);if(Q.inverseOf){if(W=a(Q.inverseOf),!r.hasOwnProperty(W)){var $;throw new ReferenceError((0,L1e.default)($="".concat(E+d[0]," -> ")).call($,Q.inverseOf))}Q=r[W],w=!w}if(!(Q.bmp||F))throw new SyntaxError(D+d[0]);if(F){if(h==="class")throw new SyntaxError(R);return A(W,w)}return h==="class"?w?p(W):Q.bmp:"".concat((w?"[^":"[")+Q.bmp,"]")},{scope:"all",optionalFlags:"A",leadChar:"\\"}),e.addUnicodeData=function(d){var h="Unicode token requires name",m="Unicode token has no character data ",z=P0t(d),C;try{for(z.s();!(C=z.n()).done;){var E=C.value;if(!E.name)throw new Error(h);if(!(E.inverseOf||E.bmp||E.astral))throw new Error(m+E.name);r[a(E.name)]=E,E.alias&&(r[a(E.alias)]=E)}}catch(D){z.e(D)}finally{z.f()}e.cache.flush("patterns")},e._getUnicodeProperty=function(d){var h=a(d);return r[h]}},"_default");o4.default=U0t;Y9e.exports=o4.default});var Z9e=b((vKt,K9e)=>{K9e.exports=[{name:"InAdlam",astral:"\uD83A[\uDD00-\uDD5F]"},{name:"InAegean_Numbers",astral:"\uD800[\uDD00-\uDD3F]"},{name:"InAhom",astral:"\uD805[\uDF00-\uDF3F]"},{name:"InAlchemical_Symbols",astral:"\uD83D[\uDF00-\uDF7F]"},{name:"InAlphabetic_Presentation_Forms",bmp:"\uFB00-\uFB4F"},{name:"InAnatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE7F]"},{name:"InAncient_Greek_Musical_Notation",astral:"\uD834[\uDE00-\uDE4F]"},{name:"InAncient_Greek_Numbers",astral:"\uD800[\uDD40-\uDD8F]"},{name:"InAncient_Symbols",astral:"\uD800[\uDD90-\uDDCF]"},{name:"InArabic",bmp:"\u0600-\u06FF"},{name:"InArabic_Extended_A",bmp:"\u08A0-\u08FF"},{name:"InArabic_Mathematical_Alphabetic_Symbols",astral:"\uD83B[\uDE00-\uDEFF]"},{name:"InArabic_Presentation_Forms_A",bmp:"\uFB50-\uFDFF"},{name:"InArabic_Presentation_Forms_B",
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(wle,"getBooleanInput");function g8(t,e){if(process.env.GITHUB_OUTPUT||"")return Wg("OUTPUT",P4(t,e));process.stdout.write(m8.EOL),ia("set-output",{name:t},na(e))}o(g8,"setOutput");function Sle(t){process.exitCode=M8.Failure,Kh(t)}o(Sle,"setFailed");function gu(){return process.env.RUNNER_DEBUG==="1"}o(gu,"isDebug");function T(t){ia("debug",{},t)}o(T,"debug");function Kh(t,e={}){ia("error",wx(e),t instanceof Error?t.toString():t)}o(Kh,"error");function z0(t,e={}){ia("warning",wx(e),t instanceof Error?t.toString():t)}o(z0,"warning");function _(t){process.stdout.write(t+m8.EOL)}o(_,"info");function Ed(t){Nx("group",t)}o(Ed,"startGroup");function yd(){Nx("endgroup")}o(yd,"endGroup");function cr(t,e){return wn0(this,void 0,void 0,function*(){Ed(t);let r;try{r=yield e()}finally{yd()}return r})}o(cr,"group");function kD(t,e){if(process.env.GITHUB_STATE||"")return Wg("STATE",P4(t,e));ia("save-state",{name:t},na(e))}o(kD,"saveState");function Nle(t){return process.env[`STATE_${t}`]||""}o(Nle,"getState");var HR=x(require("fs"),1),SH=x(require("os"),1),NH=x(require("path"),1);var vle=x(require("os"),1);function Hz(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Hz,"toCommandValue");function Tle(t,e,r){let s=new z8(t,e,r);process.stdout.write(s.toString()+vle.EOL)}o(Tle,"issueCommand");var Fle="::",z8=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=Fle+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${Nn0(n)}`)}}return e+=`${Fle}${Sn0(this.message)}`,e}};function Sn0(t){return Hz(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Sn0,"escapeData");function Nn0(t){return Hz(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Nn0,"escapeProperty");var Lle=x(require("os"),1);var Wle=require("os"),Xz=require("fs");var O8=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})},{access:Fn0,appendFile:vn0,writeFile:Tn0}=Xz.promises,xle="GITHUB_STEP_SUMMARY";var E8=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return O8(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[xle];if(!e)throw new Error(`Unable to find environment variable for $${xle}. Check if your runtime environment supports job summaries.`);try{yield Fn0(e,Xz.constants.R_OK|Xz.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,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return O8(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Tn0:vn0)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return O8(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(Wle.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{he
`),e=e.replace(/\r/g,`
`));let n=e.split(`
2026-06-29 14:17:37 +00:00
`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new iO(i));return s.searchPaths.push(...sQ(s.patterns)),s})}static stat(e,r,s){return uQ(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield ib.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){mi(`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 n=yield ib.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield ib.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){mi(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var Ec0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})};function M2e(t,e){return Ec0(this,void 0,void 0,function*(){return yield cq.create(t,e)})}o(M2e,"create");var Cq=x(require("crypto"),1),ub=x(require("fs"),1),qd=x(require("path"),1),uhe=x(In(),1),phe=x(require("util"),1);var AO;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(AO||(AO={}));var Zr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Zr||(Zr={}));var Rn;(function(t){t.GNU="gnu",t.BSD="bsd"})(Rn||(Rn={}));var Eq=2,yq=5e3,wQ=5e3,SQ=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,che=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,dO="cache.tar",NQ="manifest.txt",Xpt=10*Math.pow(1024,3);var cb=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})},Rl0=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={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,u){a=t[i](a),n(c,u,a.done,a.value)})}}function n(i,a,c,u){Promise.resolve(u).then(function(p){i({value:p,done:c})},a)}},wl0="1.0";function fO(){return cb(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=qd.join(s,"actions","temp")}let r=qd.join(e,Cq.randomUUID());return yield mu(r),r})}o(fO,"createTempDirectory");function ya(t){return ub.statSync(t).size}o(ya,"getArchiveFileSizeInBytes");function FQ(t){return cb(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),u=yield M2e(t.join(`
`),{implicitDescendants:!1});try{for(var p=!0,l=Rl0(u.globGenerator()),A;A=yield l.next(),e=A.done,!e;p=!0){n=A.value,p=!1;let h=qd.relative(c,n).replace(new RegExp(`\\${qd.sep}`,"g"),"/");T(`Matched: ${h}`),h===""?a.push("."):a.push(`${h}`)}}catch(d){r={error:d}}finally{try{!p&&!e&&(s=l.return)&&(yield s.call(l))}finally{if(r)throw r.error}}return a})}o(FQ,"resolvePaths");function hO(t){return cb(this,void 0,void 0,function*(){return phe.promisify(ub.unlink)(t)})}o(hO,"unlinkFile");function lhe(t){return cb(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),T(`Checking ${e} ${r.join(" ")}`);try{yield Bn(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){T(n.message)}return s=s.trim(),T(s),s})}o(lhe,"getVersion");function bO(){return cb(this,void 0,void 0,function*(){let t=yield lhe("zstd",["--quiet"]),e=uhe.clean(t);return T(`zstd version: ${e}`),t===""?Zr.Gzip:Zr.ZstdWithoutLong})}o(bO,"getCompressionMethod");function Il(t){return t===Zr.Gzip?AO.Gzip:AO.Zstd}o(Il,"getCacheFileName");function Ahe(){return cb(this,void 0,void 0,function*(){return ub.existsSync(SQ)?SQ:(yield lhe("tar")).toLowerCase().includes("gnu tar")?ar("tar"):""})}o(Ahe,"getGnuTarPathOnWindows");function vQ(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(vQ,"assertDefined");function pb(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(wl0),Cq.createHash("sha256").update(s.join("|")).digest("hex")}o(pb,"getCacheVersion");function dhe(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(dhe,"getRuntimeToken");var mO=x(require("http"),1),WQ=x(require("https"),1);function TQ(t){let e=t.protocol==="https:";if(Sl0(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 Dq(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Dq(`http://${r}`)}else return}o(TQ,"getProxyUrl");function Sl0(t){if(!t.hostname)return!1;let e=t.hostname;if(Nl0(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Sl0,"checkBypass");function Nl0(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(Nl0,"isLoopbackAddress");var Dq=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 Rl=x(_g(),1),fhe=x($h(),1);var Vt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})},Dt;(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]="MethodNotAllo
${Vl0.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Nq(t){return t instanceof ts?!0:Rd(t)&&t.name==="RestError"}o(Nq,"isRestError");function xs(t,e){return Buffer.from(t,e)}o(xs,"stringToUint8Array");var Fq=x(require("node:http"),1),vq=x(require("node:https"),1),VQ=x(require("node:zlib"),1),Nhe=require("node:stream");var Oi=gO("ts-http-runtime");var jl0={};function zO(t){return t&&typeof t.pipe=="function"}o(zO,"isReadableStream");function She(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(She,"isStreamComplete");function Fhe(t){return t&&typeof t.byteLength=="number"}o(Fhe,"isArrayBuffer");var Tq=class extends Nhe.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},jQ=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Ba("The operation was aborted. Request has already been canceled.");s=o(p=>{p.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let p=new Io;Oi.info(`request to '${p.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 p=Kl0(c);p!==null&&e.headers.set("Content-Length",p)}let u;try{if(c&&e.onUploadProgress){let m=e.onUploadProgress,z=new Tq(m);z.on("error",C=>{Oi.error("Error in upload progress",C)}),zO(c)?c.pipe(z):z.end(c),c=z}let p=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let l=$l0(p),d={status:p.statusCode??0,headers:l,request:e};if(e.method==="HEAD")return p.resume(),d;u=a?Yl0(p,l):p;let h=e.onDownloadProgress;if(h){let m=new Tq(h);m.on("error",z=>{Oi.error("Error in download progress",z)}),u.pipe(m),u=m}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(d.status)?d.readableStreamBody=u:d.bodyAsText=await Jl0(u),d}finally{if(e.abortSignal&&s){let p=Promise.resolve();zO(c)&&(p=She(c));let l=Promise.resolve();zO(u)&&(l=She(u)),Promise.all([p,l]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(A=>{Oi.warning("Error when cleaning up abortListener on httpRequest",A)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.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:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((u,p)=>{let l=i?Fq.default.request(c,u):vq.default.request(c,u);l.once("error",A=>{p(new ts(A.message,{code:A.code??ts.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let A=new Ba("The operation was aborted. Rejecting from abort signal callback while making request.");l.destroy(A),p(A)}),s&&zO(s)?s.pipe(l):s?typeof s=="string"||Buffer.isBuffer(s)?l.end(s):Fhe(s)?l.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Oi.error("Unrecognized body type",s),p(new ts("Unrecognized body type"))):l.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?Fq.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Fq.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return vq.default.globalAgent;let n=e.tlsSettings??jl0,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Oi.info("No cached TLS Agent exi
`;return e}o(Rd0,"encodeHeaders");function wd0(t){return t instanceof Uint8Array?t.byteLength:nI(t)?t.size===-1?void 0:t.size:void 0}o(wd0,"getLength");function Sd0(t){let e=0;for(let r of t){let s=wd0(r);if(s===void 0)return;e+=s}return e}o(Sd0,"getTotalLength");async function Nd0(t,e,r){let s=[xs(`--${r}`,"utf-8"),...e.flatMap(i=>[xs(`\r
`,"utf-8"),xs(Rd0(i.headers),"utf-8"),xs(`\r
`,"utf-8"),i.body,xs(`\r
--${r}`,"utf-8")]),xs(`--\r
\r
2026-06-29 14:17:37 +00:00
`,"utf-8")],n=Sd0(s);n&&t.headers.set("Content-Length",n),t.body=await Tbe(s)}o(Nd0,"buildRequestBody");var CO="multipartPolicy",Fd0=70,vd0=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Td0(t){if(t.length>Fd0)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!vd0.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Td0,"assertValidBoundary");function oI(){return{name:CO,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,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;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?Td0(r):r=Id0(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Nd0(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(oI,"multipartPolicy");function aI(){return Sq()}o(aI,"createEmptyPipeline");var xbe=Iq({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),Gft=xbe.logger;function Ia(t){return xbe.createClientLogger(t)}o(Ia,"createClientLogger");var Ra=Ia("core-rest-pipeline");function fP(t={}){return Wq({logger:Ra.info,...t})}o(fP,"logPolicy");var hP=_q;function bP(t={}){return Lq(t)}o(bP,"redirectPolicy");var cI=x(require("node:os"),1),uI=x(require("node:process"),1);function Wbe(){return"User-Agent"}o(Wbe,"getHeaderName");async function _be(t){if(uI.default&&uI.default.versions){let e=`${cI.default.type()} ${cI.default.release()}; ${cI.default.arch()}`,r=uI.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(_be,"setPlatformSpecificData");var pI="1.22.2";function Ud0(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(Ud0,"getUserAgentString");function Lbe(){return Wbe()}o(Lbe,"getUserAgentHeaderName");async function lI(t){let e=new Map;e.set("core-rest-pipeline",pI),await _be(e);let r=Ud0(e);return t?`${t} ${r}`:r}o(lI,"getUserAgentValue");var Qbe=Lbe(),Pbe="userAgentPolicy";function MP(t={}){let e=lI(t.userAgentPrefix);return{name:Pbe,async sendRequest(r,s){return r.headers.has(Qbe)||r.headers.set(Qbe,await e),s(r)}}}o(MP,"userAgentPolicy");var vn=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function mP(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new vn(n??"The operation was aborted."))}o(c,"rejectOnAbort");function u(){s?.removeEventListener("abort",p)}o(u,"removeListeners");function p(){r?.(),u(),c()}if(o(p,"onAbort"),s?.aborted)return c();try{t(l=>{u(),i(l)},l=>{u(),a(l)})}catch(l){a(l)}s?.addEventListener("abort",p)})}o(mP,"createAbortablePromise");var jd0="The delay was aborted.";function BO(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return mP(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??jd0})}o(BO,"delay");function Sl(t){if(Rd(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(Sl,"getErrorMessage");function kbe(t){return Rd(t)}o(kbe,"isError");function gb(){return Id()}o(gb,"randomUUID");var q0=Nd;var Ube=Symbol("rawContent");function zP(t){return typeof t[Ube]=="function"}o(zP,"hasRawContent");function Gbe(t){return zP(t)?t[Ube]():t}o(Gbe,"getRawContent");var AI=CO;function OP(){let t=oI();return{name:AI,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)zP(s.body)&&(s.body=Gbe(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(OP,"multipartPolicy");var EP=Qq;function yP(){return Pq()}o(yP,"decompressResponsePolicy");fun
`&&t[i]!=="\r";i++)u+=t[i];if(u=u.trim(),u[u.length-1]==="/"&&(u=u.substring(0,u.length-1),i--),!mf0(u)){let A;return u.trim().length===0?A="Invalid space after '<'.":A="Tag '"+u+"' is an invalid name.",jt("InvalidTag",A,rs(t,i))}let p=df0(t,i);if(p===!1)return jt("InvalidAttr","Attributes for '"+u+"' have open quote.",rs(t,i));let l=p.value;if(i=p.index,l[l.length-1]==="/"){let A=i-l.length;l=l.substring(0,l.length-1);let d=RMe(l,e);if(d===!0)s=!0;else return jt(d.err.code,d.err.msg,rs(t,A+d.err.line))}else if(c)if(p.tagClosed){if(l.trim().length>0)return jt("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",rs(t,a));if(r.length===0)return jt("InvalidTag","Closing tag '"+u+"' has not been opened.",rs(t,a));{let A=r.pop();if(u!==A.tagName){let d=rs(t,A.tagStartPos);return jt("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+u+"'.",rs(t,a))}r.length==0&&(n=!0)}}else return jt("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",rs(t,i));else{let A=RMe(l,e);if(A!==!0)return jt(A.err.code,A.err.msg,rs(t,i-l.length+A.err.line));if(n===!0)return jt("InvalidXml","Multiple possible root nodes found.",rs(t,i));e.unpairedTags.indexOf(u)!==-1||r.push({tagName:u,tagStartPos:a}),s=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=IMe(t,i);continue}else if(t[i+1]==="?"){if(i=qMe(t,++i),i.err)return i}else break;else if(t[i]==="&"){let A=bf0(t,i);if(A==-1)return jt("InvalidChar","char '&' is not expected.",rs(t,i));i=A}else if(n===!0&&!DMe(t[i]))return jt("InvalidXml","Extra text at the end",rs(t,i));t[i]==="<"&&i--}}else{if(DMe(t[i]))continue;return jt("InvalidChar","char '"+t[i]+"' is not expected.",rs(t,i))}if(s){if(r.length==1)return jt("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",rs(t,r[0].tagStartPos));if(r.length>0)return jt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return jt("InvalidXml","Start tag expected.",1);return!0}o(BI,"validate");function DMe(t){return t===" "||t===" "||t===`
`||t==="\r"}o(DMe,"isWhiteSpace");function qMe(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let s=t.substr(r,e-r);if(e>5&&s==="xml")return jt("InvalidXml","XML declaration allowed only at the start of the document.",rs(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(qMe,"readPI");function IMe(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(IMe,"readCommentAndCDATA");var lf0='"',Af0="'";function df0(t,e){let r="",s="",n=!1;for(;e<t.length;e++){if(t[e]===lf0||t[e]===Af0)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(df0,"readAttributeStr");var ff0=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function RMe(t,e){let r=yI(t,ff0),s={};for(let n=0;n<r.length;n++){if(r[n][1].length===0)return jt("InvalidAttr","Attribute '"+r[n][2]+"' has no space in starting.",WO(r[n]));if(r[n][3]!==void 0&&r[n][4]===void 0)return jt("InvalidAttr","Attribute '"+r[n][2]+"' is without value.",WO(r[n]));if(r[n][3]===void 0&&!e.allowBooleanAttributes)return jt("InvalidAttr","boolean attribute '"+r[n][2]+"' is not allowed.",WO(r[n]));let i=r[n][2];if(!Mf0(i))return jt("InvalidAttr","Attribute '"+i+"' is an invalid name.",WO(r[n]));if(!Object.prototype.hasOwnProperty.call(s,i))s[i]=1;else return jt("InvalidAttr","Attribute '"+i+"' is repeated.",WO(r[n]))}return!0}o(RMe,"validateAttributeString");function hf0(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(hf0,"validateNumberAmpersand");function bf0(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,hf0(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(bf0,"validateAmpersand");function jt(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(jt,"getErrorObject");function Mf0(t){return jP(t)}o(Mf0,"validateAttrName");function mf0(t){return jP(t)}o(mf0,"validateTagName");function rs(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(rs,"getLineNumberForPosition");function WO(t){return t.startIndex+t[1].length}o(WO,"getPositionFromMatch");var wMe={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"},SMe={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",ntil
`);let e=new Qs("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let n=this.options,i=new QO(n.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let p=t.charCodeAt(c+1);if(p===47){let l=Bb(t,">",c,"Closing Tag is not closed."),A=t.substring(c+2,l).trim();if(n.removeNSPrefix){let h=A.indexOf(":");h!==-1&&(A=A.substr(h+1))}A=rk(n.transformTagName,A,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let d=this.matcher.getCurrentTag();if(A&&n.unpairedTagsSet.has(A))throw new Error(`Unpaired tag can not be used as closing tag: </${A}>`);d&&n.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=l}else if(p===63){let l=sk(t,c,!1,"?>");if(!l)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let A=this.buildAttributesMap(l.tagExp,this.matcher,l.tagName,!0);if(A){let d=A[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1),i.setXmlVersion(Number(d)||1)}if(!(n.ignoreDeclaration&&l.tagName==="?xml"||n.ignorePiTags)){let d=new Qs(l.tagName);d.add(n.textNodeName,""),l.tagName!==l.tagExp&&l.attrExpPresent&&n.ignoreAttributes!==!0&&(d[":@"]=A),this.addChild(r,d,this.readonlyMatcher,c)}c=l.closeIndex+1}else if(p===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let l=Bb(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let A=t.substring(c+4,l-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:A}])}c=l}else if(p===33&&t.charCodeAt(c+2)===68){let l=i.readDocType(t,c);this.entityDecoder.addInputEntities(l.entities),c=l.i}else if(p===33&&t.charCodeAt(c+2)===91){let l=Bb(t,"]]>",c,"CDATA is not closed.")-2,A=t.substring(c+9,l);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.parseTextData(A,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:A}]):r.add(n.textNodeName,d),c=l+2}else{let l=sk(t,c,n.removeNSPrefix);if(!l){let W=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${W}"`)}let A=l.tagName,d=l.rawTagName,h=l.tagExp,m=l.attrExpPresent,z=l.closeIndex;if({tagName:A,tagExp:h}=rk(n.transformTagName,A,h,n),n.strictReservedNames&&(A===n.commentPropName||A===n.cdataPropName||A===n.textNodeName||A===n.attributesGroupName))throw new Error(`Invalid tag name: ${A}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;h.length>0&&h.lastIndexOf("/")===h.length-1&&(E=!0,A[A.length-1]==="/"?(A=A.substr(0,A.length-1),h=A):h=h.substr(0,h.length-1),m=A!==h);let D=null,R={},w;w=Pf0(d),A!==e.tagname&&this.matcher.push(A,{},w),A!==h&&m&&(D=this.buildAttributesMap(h,this.matcher,A),D&&(R=Qf0(D,n))),A!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let F=c;if(this.isCurrentNodeStopNode){let W="";if(E)c=l.closeIndex;else if(n.unpairedTagsSet.has(A))c=l.closeIndex;else{let $=this.readStopNodeData(t,d,z+1);if(!$)throw new Error(`Unexpected end of ${d}`);c=$.i,W=$.tagContent}let Q=new Qs(A);D&&(Q[":@"]=D),Q.add(n.textNodeName,W),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,Q,this.readonlyMatcher,F)}else{if(E){({tagName:A,tagExp:h}=rk(n.transformTagName,A,h,n));let W=new Qs(A);D&&(W[":@"]=D),this.addChild(r,W,this.readonlyMatcher,F),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(A)){let W=new Qs(A);D&&(W[":@"]=D),this.addChild(r,W,this.readonlyMatcher,F),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=l.closeIndex;continue}else{let W=new Qs(A);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),D&&(W[":@"]=D),this.addChild(r,W,this.readonlyMatcher,F),r=W}s="",c=z}}}else s+=t[c];return e.child},"parseXml"
`;function ih0(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(uk(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(ih0,"detectXmlVersionFromArray");function KMe(t,e,r,s,n){return!r.sanitizeName||_d(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(KMe,"resolveTagName");function ck(t,e){let r="";e.format&&(r=nh0);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?s.push(new Wn(c)):c instanceof Wn&&s.push(c)}let n=ih0(t,e),i=new Na;return ZMe(t,e,r,i,s,n)}o(ck,"toXml");function ZMe(t,e,r,s,n,i){let a="",c=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let u=t.toString();return u=ak(u,e),u}return""}for(let u=0;u<t.length;u++){let p=t[u],l=uk(p);if(l===void 0)continue;let d=l===e.textNodeName||l===e.cdataPropName||l===e.commentPropName||l[0]==="?"?l:KMe(l,!1,e,s,i),h=oh0(p[":@"],e);s.push(d,h);let m=ch0(s,n);if(d===e.textNodeName){let R=p[l];m||(R=e.tagValueProcessor(d,R),R=ak(R,e)),c&&(a+=r),a+=R,c=!1,s.pop();continue}else if(d===e.cdataPropName){c&&(a+=r);let R=p[l][0][e.textNodeName],w=wI(R);a+=`<![CDATA[${w}]]>`,c=!1,s.pop();continue}else if(d===e.commentPropName){let R=p[l][0][e.textNodeName],w=RI(R);a+=r+`<!--${w}-->`,c=!0,s.pop();continue}else if(d[0]==="?"){let R=JMe(p[":@"],e,m,s,i);a+=(d==="?xml"?"":r)+`<${d}${R}?>`,c=!0,s.pop();continue}let z=r;z!==""&&(z+=e.indentBy);let C=JMe(p[":@"],e,m,s,i),E=r+`<${d}${C}`,D;m?D=eme(p[l],e):D=ZMe(p[l],e,z,s,n,i),e.unpairedTags.indexOf(d)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!D||D.length===0)&&e.suppressEmptyNode?a+=E+"/>":D&&D.endsWith(">")?a+=E+`>${D}${r}</${d}>`:(a+=E+">",D&&r!==""&&(D.includes("/>")||D.includes("</"))?a+=r+e.indentBy+D+r:a+=D,a+=`</${d}>`),c=!0,s.pop()}return a}o(ZMe,"arrToStr");function oh0(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=Tl(t[n]),s=!0}return s?r:null}o(oh0,"extractAttributeValues");function eme(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let n=t[s],i=uk(n);if(i===e.textNodeName)r+=n[i];else if(i===e.cdataPropName)r+=n[i][0][e.textNodeName];else if(i===e.commentPropName)r+=n[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=ah0(n[":@"],e),c=eme(n[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(eme,"getRawContent");function ah0(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${Tl(n)}"`}return r}o(ah0,"attr_to_str_raw");function uk(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(Object.prototype.hasOwnProperty.call(t,s)&&s!==":@")return s}}o(uk,"propName");function JMe(t,e,r,s,n){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),u=r?c:KMe(c,!0,e,s,n),p;r?p=t[a]:(p=e.attributeValueProcessor(a,t[a]),p=ak(p,e)),p===!0&&e.suppressBooleanAttributes?i+=` ${u}`:i+=` ${u}="${Tl(p)}"`}return i}o(JMe,"attr_to_str");function ch0(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(ch0,"checkStopNode");function ak(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let s=e.entities[r];t=t.replace(s.regex,s.val)}return t}o(ak,"replaceEntitiesValue");function pk(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(pk,"getIgnoreAttributesFn");var uh0={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0
`,this.newLine=`
2026-06-29 14:17:37 +00:00
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(ks,"Builder");function ph0(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(ph0,"detectXmlVersionFromObj");function lk(t,e,r,s,n){return!r.sanitizeName||_d(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(lk,"resolveTagName");ks.prototype.build=function(t){if(this.options.preserveOrder)return ck(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Na,r=ph0(t,this.options);return this.j2x(t,0,e,r).val}};ks.prototype.j2x=function(t,e,r,s){let n="",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 u in t){if(!Object.prototype.hasOwnProperty.call(t,u))continue;let l=u===this.options.textNodeName||u===this.options.cdataPropName||u===this.options.commentPropName||this.options.attributesGroupName&&u===this.options.attributesGroupName||this.isAttribute(u)||u[0]==="?"?u:lk(u,!1,this.options,r,s);if(typeof t[u]>"u")this.isAttribute(u)&&(i+="");else if(t[u]===null)this.isAttribute(u)||l===this.options.cdataPropName||l===this.options.commentPropName?i+="":l[0]==="?"?i+=this.indentate(e)+"<"+l+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+l+"/"+this.tagEndChar;else if(t[u]instanceof Date)i+=this.buildTextValNode(t[u],l,"",e,r);else if(typeof t[u]!="object"){let A=this.isAttribute(u);if(A&&!this.ignoreAttributesFn(A,a)){let d=lk(A,!0,this.options,r,s);n+=this.buildAttrPairStr(d,""+t[u],c)}else if(!A)if(u===this.options.textNodeName){let d=this.options.tagValueProcessor(u,""+t[u]);i+=this.replaceEntitiesValue(d)}else{r.push(l);let d=this.checkStopNode(r);if(r.pop(),d){let h=""+t[u];h===""?i+=this.indentate(e)+"<"+l+this.closeTag(l)+this.tagEndChar:i+=this.indentate(e)+"<"+l+">"+h+"</"+l+this.tagEndChar}else i+=this.buildTextValNode(t[u],l,"",e,r)}}else if(Array.isArray(t[u])){let A=t[u].length,d="",h="";for(let m=0;m<A;m++){let z=t[u][m];if(!(typeof z>"u"))if(z===null)l[0]==="?"?i+=this.indentate(e)+"<"+l+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+l+"/"+this.tagEndChar;else if(typeof z=="object")if(this.options.oneListGroup){r.push(l);let C=this.j2x(z,e+1,r,s);r.pop(),d+=C.val,this.options.attributesGroupName&&z.hasOwnProperty(this.options.attributesGroupName)&&(h+=C.attrStr)}else d+=this.processTextOrObjNode(z,l,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(l,z);C=this.replaceEntitiesValue(C),d+=C}else{r.push(l);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+z;E===""?d+=this.indentate(e)+"<"+l+this.closeTag(l)+this.tagEndChar:d+=this.indentate(e)+"<"+l+">"+E+"</"+l+this.tagEndChar}else d+=this.buildTextValNode(z,l,"",e,r)}}this.options.oneListGroup&&(d=this.buildObjectNode(d,l,h,e)),i+=d}else if(this.options.attributesGroupName&&u===this.options.attributesGroupName){let A=Object.keys(t[u]),d=A.length;for(let h=0;h<d;h++){let m=lk(A[h],!0,this.options,r,s);n+=this.buildAttrPairStr(m,""+t[u][A[h]],c)}}else i+=this.processTextOrObjNode(t[u],l,e,r,s)}return{attrStr:n,val:i}};ks.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+'="'+Tl(e)+'"'};function lh0(t,e,r,s,n){let i=this.extractAttributes(t);if(s.push(e,i),this.checkStopNode(s)){let u=this.buildRawContent(t),p=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(u,e,p,r)}let c=this.j2x(t,r+1,s,n);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,s):this.buildObjectNode(c.val,e,c.attrStr,r)}o(lh0,"process
`)+`
2026-06-29 14:17:37 +00:00
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(_e.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===_e.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(_e.PREFIX_FOR_STORAGE));r.sort((n,i)=>PI(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=_I(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=LI(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let u=c.toLowerCase();i[u]=n[c],a.push(u)}a.sort();for(let c of a)s+=`
${c}:${decodeURIComponent(i[c])}`}return s}};var qt=class extends Pd{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new HO(e,r,this)}computeHMACSHA256(e){return(0,cme.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var g1=Ia("storage-common");var Bi;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Bi||(Bi={}));var Wl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Bi.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},zh0=new vn("The operation was aborted."),XO=class extends Fa{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=Wl){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:Wl.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):Wl.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:Wl.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:Wl.maxRetryDelayInMs):Wl.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:Wl.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:Wl.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=WI(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=xl(n.url,Iu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(g1.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(g1.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return g1.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(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return g1.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return g1.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return g1.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(_e.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(g1.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case Bi.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Bi.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return g1.info(`RetryPolicy: Delay for ${n}ms`),QI(n,s,zh0)}};var VO=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new XO(e,r,this.retryOptions)}};var Oh0="storageBrowserPolicy";function ume(){return{name:Oh0,async sendRequest(t,e){return q0||((t.method==="GET"||t.method==="HEAD")&&(t.url=xl(t.url,Iu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(_e.COOKIE),t.headers.delete(_e.CONTENT_LENGTH)),e(t)}}}o(ume,"storageBrowserPolicy");var Eh0="StorageCorrectContentLengthPolicy";function pme(){function t(e){e.body&&(
`)+`
2026-06-29 14:17:37 +00:00
`+s(i)+n(i),c=(0,Ame.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(_e.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===_e.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[u,p]of i.headers)u.toLowerCase().startsWith(_e.PREFIX_FOR_STORAGE)&&a.push({name:u,value:p});a.sort((u,p)=>PI(u.name.toLowerCase(),p.name.toLowerCase())),a=a.filter((u,p,l)=>!(p>0&&u.name.toLowerCase()===l[p-1].name.toLowerCase()));let c="";return a.forEach(u=>{c+=`${u.name.toLowerCase().trimRight()}:${u.value.trimLeft()}
`}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=_I(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let u=LI(i.url),p={};if(u){let l=[];for(let A in u)if(Object.prototype.hasOwnProperty.call(u,A)){let d=A.toLowerCase();p[d]=u[A],l.push(d)}l.sort();for(let A of l)c+=`
${A}:${decodeURIComponent(p[A])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:Dh0,async sendRequest(i,a){return e(i),a(i)}}}o(bk,"storageSharedKeyCredentialPolicy");var qh0="storageRequestFailureDetailsParserPolicy";function dme(){return{name:qh0,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(dme,"storageRequestFailureDetailsParserPolicy");var fme=require("node:crypto");var kI=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,fme.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var UI="12.31.0",GI="2026-02-06";var HI="https://storage.azure.com/.default",Ru={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Ro="",Mk="*",Ih0=1*1024*1024;var Rh0=4*Ih0;var hme="AES256",bme="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Mme=["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"],mme=["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"],gme="BlobUsesCustomerSpecifiedEncryption",zme="BlobDoesNotUseCustomerSpecifiedEncryption",Ome=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function wu(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(wu,"isPipelineLike");var jO=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 $t(t,e={}){t||(t=new At);let r=new jO([],e);return r._credential=t,r}o($t,"newPipeline");function wh0(t){let e=[Sh0,Eme,Nh0,Fh0,vh0,Th0,Wh
`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new vo(t.version,i,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:n}}o(wM0,"generateBlobSASQueryParameters20150405");function SM0(t,e){if(t=Yd(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ya.parse(t.permissions.toString()).toString():n=Ja.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?I0(t.startsOn,!1):"",t.expiresOn?I0(t.expiresOn,!1):"",$d(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Fo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,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 vo(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(SM0,"generateBlobSASQueryParameters20181109");function NM0(t,e){if(t=Yd(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ya.parse(t.permissions.toString()).toString():n=Ja.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?I0(t.startsOn,!1):"",t.expiresOn?I0(t.expiresOn,!1):"",$d(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Fo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,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 vo(t.version,a,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,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(NM0,"generateBlobSASQueryParameters20201206");function FM0(t,e){if(t=Yd(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ya.parse(t.permissions.toString()).toString():n=Ja.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?I0(t.startsOn,!1):"",t.expiresOn?I0(t.expiresOn,!1):"",$d(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?I0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?I0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Fo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new vo(t.version,a,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,e.userDelegationKey),stringToSign:i}}o(FM0,"generateBlobSASQueryParametersUDK20181109");function vM0(t,e){if(t=Yd(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ya.parse(t.permissions.toString()).toString():n=Ja.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?I0(t.startsOn,!1):"",t.expiresOn?I0(t.expiresOn,!1):"",$d(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?I0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?I0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Fo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new vo(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(vM0,"generateBlobSASQueryParametersUDK20200210");function TM0(t,e){if(t=Yd(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ya.parse(t.permissions.toString()).toString():n=Ja.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?I0(t.startsOn,!1):"",t.expiresOn?I0(t.expiresOn,!1):"",$d(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?I0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?I0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Fo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new vo(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(TM0,"generateBlobSASQueryParametersUDK20201206");function xM0(t,e){if(t=Yd(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Ya.parse(t.permissions.toString()).toString():n=Ja.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?I0(t.startsOn,!1):"",t.expiresOn?I0(t.expiresOn,!1):"",$d(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?I0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?I0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Fo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new vo(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(xM0,"generateBlobSASQueryParametersUDK20250705");function $d(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o($d,"getCanonicalName");function Yd(t){let e=t.version?t.version:GI;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(Yd,"SASSignatureValuesSanityCheckAndAutofill");var o3=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=gb()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ro||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ro||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 ge.withSpan("BlobLeaseClient-acquireLease",r,async s=>Ce(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ro||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ro||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 ge.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=Ce(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.i
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"}};Lb.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var e2=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"}};e2.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var b3=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var Xm0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})},cG=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),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);_(`Sent ${e} of ${this.contentLength} (${r}%), ${n} 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 Bze(t,e,r){return Xm0(this,void 0,void 0,function*(){var s;let n=new Wu(t),i=n.getBlockBlobClient(),a=new cG((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),T(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let u=yield i.uploadFile(e,c);if(u._response.status>=400)throw new $5(`uploadCacheArchiveSDK: upload failed with status code ${u._response.status}`);return u}catch(u){throw z0(`uploadCacheArchiveSDK: internal error uploading cache archive: ${u.message}`),u}finally{a.stopDisplayTimer()}})}o(Bze,"uploadCacheArchiveSDK");var qze=x(require("buffer"),1),Ka=x(require("fs"),1),Ize=x(require("stream"),1),Rze=x(require("util"),1);var Y5=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})};function J5(t){return t?t>=200&&t<300:!1}o(J5,"isSuccessStatusCode");function Vm0(t){return t?t>=500:!0}o(Vm0,"isServerErrorStatusCode");function jm0(t){return t?[Dt.BadGateway,Dt.ServiceUnavailable,Dt.GatewayTimeout].includes(t):!1}o(jm0,"isRetryableStatusCode");function $m0(t){return Y5(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o($m0,"sleep");function Dze(t,e,r){return Y5(this,arguments,void 0,function*(s,n,i,a=Eq,c=yq,u=void 0){let p="",l=1;for(;l<=a;){let A,d,h=!1;try{A=yield n()}catch(m){u&&(A=u(m)),h=!0,p=m.message}if(A&&(d=i(A),!Vm0(d)))return A;if(d&&(h=jm0(d),p=`Cache service responded with ${d}`),T(`${s} - Attempt ${l} of ${a} failed with error: ${p}`),!h){T(`${s} - Error is not retryable`);break}yield $m0(c),l++}throw Error(`${s} failed: ${p}`)})}o(Dze,"retry");function M3(t,e){return Y5(this,arguments,void 0,function*(r,s,n=Eq,i=yq){return yield Dze(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Ca)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(M3,"retryTypedResponse");function Qb(t,e){return Y5(this,arguments,void 0,function*(r,s,n=Eq,i=yq){return yield Dze(r,s,a=>a.message.statusCode,n,i)})}o(Qb,"retryHttpClientResponse");var wi=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a
Other caches with similar key:`);for(let c of i?.artifactCaches||[])T(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(sg0,"printCachesListForDiagnostics");function AG(t,e,r){return Gs(this,void 0,void 0,function*(){let s=new Lze.URL(t),n=Fze(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield Sze(t,e,n):n.concurrentBlobDownloads?yield wze(t,e,n):yield Z5(t,e):yield Z5(t,e)})}o(AG,"downloadCache");function Pze(t,e,r){return Gs(this,void 0,void 0,function*(){let s=lG(),n=pb(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield M3("reserveCache",()=>Gs(this,void 0,void 0,function*(){return s.postJson(g3("caches"),i)}))})}o(Pze,"reserveCache");function _ze(t,e){return`bytes ${t}-${e}/*`}o(_ze,"getContentRange");function ng0(t,e,r,s,n){return Gs(this,void 0,void 0,function*(){T(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${_ze(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":_ze(s,n)},a=yield Qb(`uploadChunk (start: ${s}, end: ${n})`,()=>Gs(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!J5(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(ng0,"uploadChunk");function ig0(t,e,r,s){return Gs(this,void 0,void 0,function*(){let n=ya(r),i=g3(`caches/${e.toString()}`),a=Pb.openSync(r,"r"),c=uG(s),u=vQ("uploadConcurrency",c.uploadConcurrency),p=vQ("uploadChunkSize",c.uploadChunkSize),l=[...new Array(u).keys()];T("Awaiting all uploads");let A=0;try{yield Promise.all(l.map(()=>Gs(this,void 0,void 0,function*(){for(;A<n;){let d=Math.min(n-A,p),h=A,m=A+d-1;A+=p,yield ng0(t,i,()=>Pb.createReadStream(r,{fd:a,start:h,end:m,autoClose:!1}).on("error",z=>{throw new Error(`Cache upload failed because file read failed with ${z.message}`)}),h,m)}})))}finally{Pb.closeSync(a)}})}o(ig0,"uploadFile");function og0(t,e,r){return Gs(this,void 0,void 0,function*(){let s={size:r};return yield M3("commitCache",()=>Gs(this,void 0,void 0,function*(){return t.postJson(g3(`caches/${e.toString()}`),s)}))})}o(og0,"commitCache");function dG(t,e,r,s){return Gs(this,void 0,void 0,function*(){if(uG(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Bze(r,e,s)}else{let i=lG();T("Upload cache"),yield ig0(i,t,e,s),T("Commiting cache");let a=ya(e);_(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield og0(i,t,a);if(!J5(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);_("Cache saved successfully")}})}o(dG,"saveCache");var TOe=x(IOe(),1),Kt=x(Jt(),1),Qn=x(Jt(),1),i2=x(Jt(),1),o2=x(Jt(),1),a2=x(Jt(),1);var aH=x(Jt(),1),cH=x(Jt(),1),NOe=x(Jt(),1),FOe=x(Jt(),1),vOe=x(Jt(),1);var nH=x(Jt(),1),iH=x(Jt(),1),ROe=x(Jt(),1),wOe=x(Jt(),1),SOe=x(Jt(),1);var oH=class extends SOe.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,wOe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ROe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,u]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let p=s.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${u}) for ${this.typeName}`);let l=e.skip(u);p!==!1&&(p===!0?iH.UnknownFieldHandler.onRead:p)(this.typeName,i,c,u,l)}}return i}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,nH.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,nH.WireType.Varint).int64(e.permission);let n=s.writeUnknownFields;return n!==!1&&(n==!0?iH.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},QR=new oH;var uH=class extends vOe.Mess
`));let s=yield CH(r,"create");yield BH(s,t)})}o(qH,"createTar");var nM=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(l){try{p(s.next(l))}catch(A){a(A)}}o(c,"fulfilled");function u(l){try{p(s.throw(l))}catch(A){a(A)}}o(u,"rejected");function p(l){l.done?i(l.value):n(l.value).then(c,u)}o(p,"step"),p((s=s.apply(t,e||[])).next())})},Wo=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},sM=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},GR=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function LOe(t){if(!t||t.length===0)throw new Wo("Path Validation Error: At least one directory or file path is required")}o(LOe,"checkPaths");function IH(t){if(t.length>512)throw new Wo(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Wo(`Key Validation Error: ${t} cannot contain commas.`)}o(IH,"checkKey");function RH(){return m3()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(RH,"isFeatureAvailable");function QOe(t,e,r,s){return nM(this,arguments,void 0,function*(n,i,a,c,u=!1){let p=m3();return T(`Cache service version: ${p}`),LOe(n),p==="v2"?yield OO0(n,i,a,c,u):yield zO0(n,i,a,c,u)})}o(QOe,"restoreCache");function zO0(t,e,r,s){return nM(this,arguments,void 0,function*(n,i,a,c,u=!1){a=a||[];let p=[i,...a];if(T("Resolved Keys:"),T(JSON.stringify(p)),p.length>10)throw new Wo("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of p)IH(d);let l=yield bO(),A="";try{let d=yield Qze(p,n,{compressionMethod:l,enableCrossOsArchive:u});if(!d?.archiveLocation)return;if(c?.lookupOnly)return _("Lookup only - skipping download"),d.cacheKey;A=T3.join(yield fO(),Il(l)),T(`Archive Path: ${A}`),yield AG(d.archiveLocation,A,c),gu()&&(yield v3(A,l));let h=ya(A);return _(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield DH(A,l),_("Cache restored successfully"),d.cacheKey}catch(d){let h=d;if(h.name===Wo.name)throw d;h instanceof Ca&&typeof h.statusCode=="number"&&h.statusCode>=500?Kh(`Failed to restore: ${d.message}`):z0(`Failed to restore: ${d.message}`)}finally{try{yield hO(A)}catch(d){T(`Failed to delete archive: ${d}`)}}})}o(zO0,"restoreCacheV1");function OO0(t,e,r,s){return nM(this,arguments,void 0,function*(n,i,a,c,u=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let p=[i,...a];if(T("Resolved Keys:"),T(JSON.stringify(p)),p.length>10)throw new Wo("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of p)IH(A);let l="";try{let A=yH(),d=yield bO(),h={key:i,restoreKeys:a,version:pb(n,d,u)},m=yield A.GetCacheEntryDownloadURL(h);if(!m.ok){T(`Cache not found for version ${h.version} of keys: ${p.join(", ")}`);return}if(h.key!==m.matchedKey?_(`Cache hit for restore-key: ${m.matchedKey}`):_(`Cache hit for: ${m.matchedKey}`),c?.lookupOnly)return _("Lookup only - skipping download"),m.matchedKey;l=T3.join(yield fO(),Il(d)),T(`Archive path: ${l}`),T(`Starting download of archive to: ${l}`),yield AG(m.signedDownloadUrl,l,c);let C=ya(l);return _(`Cache Size: ~${Math.round(C/(1024*1024))} MB (${C} B)`),gu()&&(yield v3(l,d)),yield DH(l,d),_("Cache restored successfully"),m.matchedKey}catch(A){let d=A;if(d.name===Wo.name)throw A;d instanceof Ca&&typeof d.statusCode=="number"&&d.statusCode>=500?Kh(`Failed to restore: ${A.message}`):z0(`Failed to restore: ${A.message}`)}finally{try{l&&(yield hO(l))}catch(A){T(`Failed to delete archive: ${A}`)}}})}o(OO0,"restoreCacheV2");function wH(t,e,r){return nM(this,arguments,void 0,function*(s,n,i,a=!1){let c=m3();return T(`Cache service version: ${c}`),LOe(s),IH(n),c==="v2"?yield yO0(s,n,i,a):yield EO0(s,n,i,a)})}o(wH,"saveCache");function EO0(t,e,r){return nM(this,arguments,void 0,fu
`+t.errors.map(e=>` - ${e.message}`).join(`
2026-06-29 14:17:37 +00:00
`)}o(M30,"_buildMessageForResponseErrors");var m30=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(M30(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},g30=["method","baseUrl","url","headers","request","query","mediaType","operationName"],z30=["query","method","url"],q3e=/\/api\/v3\/?$/;function O30(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(z30.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>g30.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return q3e.test(i)&&(n.url=i.replace(q3e,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let u of Object.keys(a.headers))c[u]=a.headers[u];throw new m30(n,c,a.data)}return a.data.data})}o(O30,"graphql");function UH(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>O30(r,n,i),"newApi"),{defaults:UH.bind(null,r),endpoint:r.endpoint})}o(UH,"withDefaults");var ESt=UH(L3,{headers:{"user-agent":`octokit-graphql.js/${b30} ${Xl()}`},method:"POST",url:"/graphql"});function I3e(t){return UH(t,{method:"POST",url:"/graphql"})}o(I3e,"withCustomRequest");var GH="(?:[a-zA-Z0-9_-]+)",R3e="\\.",w3e=new RegExp(`^${GH}${R3e}${GH}${R3e}${GH}$`),E30=w3e.test.bind(w3e);async function y30(t){let e=E30(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(y30,"auth");function C30(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(C30,"withAuthorizationPrefix");async function B30(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=C30(t),e(n)}o(B30,"hook");var S3e=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(y30.bind(null,e),{hook:B30.bind(null,e)})},"createTokenAuth2");var HH="7.0.6";var N3e=o(()=>{},"noop"),D30=console.warn.bind(console),q30=console.error.bind(console);function I30(t={}){return typeof t.debug!="function"&&(t.debug=N3e),typeof t.info!="function"&&(t.info=N3e),typeof t.warn!="function"&&(t.warn=D30),typeof t.error!="function"&&(t.error=q30),t}o(I30,"createLogger");var F3e=`octokit-core.js/${HH} ${Xl()}`,sw=class{static{o(this,"Octokit")}static VERSION=HH;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new o3e.Collection,s={baseUrl:L3.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${F3e}`:F3e,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=L3.defaults(s),this.graphql=I3e(this.request).defaults(s),this.log=I30(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=S3e(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i<n.plugins.length;++i)
`,a).length:A,p?(c===null?0:c.length)+u.length:0,p?u.length+A:0);return d<h},"__needMoreData"),parse:o(function(s,n,i,a){let{bom:c,comment_no_infix:u,encoding:p,from_line:l,ltrim:A,max_record_size:d,raw:h,relax_quotes:m,rtrim:z,skip_empty_lines:C,to:E,to_line:D}=this.options,{comment:R,escape:w,quote:F,record_delimiter:W}=this.options,{bomSkipped:Q,previousBuf:$,rawBuffer:he,escapeIsQuote:Re}=this.state,Z;if($===void 0)if(s===void 0){a();return}else Z=s;else $!==void 0&&s===void 0?Z=$:Z=Buffer.concat([$,s]);if(Q===!1)if(c===!1)this.state.bomSkipped=!0;else if(Z.length<3){if(n===!1){this.state.previousBuf=Z;return}}else{for(let Ie in zM)if(zM[Ie].compare(Z,0,zM[Ie].length)===0){let Le=zM[Ie].length;this.state.bufBytesStart+=Le,Z=Z.slice(Le);let m0=nV({...this.original_options,encoding:Ie});for(let l0 in m0)this.options[l0]=m0[l0];({comment:R,escape:w,quote:F}=this.options);break}this.state.bomSkipped=!0}let De=Z.length,J;for(J=0;J<De&&!this.__needMoreData(J,De,n);J++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),D!==-1&&this.info.lines>D){this.state.stop=!0,a();return}this.state.quoting===!1&&W.length===0&&this.__autoDiscoverRecordDelimiter(Z,J)&&(W=this.options.record_delimiter);let Ie=Z[J];if(h===!0&&he.append(Ie),(Ie===c40||Ie===u40)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(w!==null&&this.state.quoting===!0&&this.__isEscape(Z,J,Ie)&&J+w.length<De)if(Re){if(this.__isQuote(Z,J+w.length)){this.state.escaping=!0,J+=w.length-1;continue}}else{this.state.escaping=!0,J+=w.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(Z,J))if(this.state.quoting===!0){let l0=Z[J+F.length],v0=z&&this.__isCharTrimable(Z,J+F.length),gt=R!==null&&this.__compareBytes(R,Z,J+F.length,l0),P0=this.__isDelimiter(Z,J+F.length,l0),nr=W.length===0?this.__autoDiscoverRecordDelimiter(Z,J+F.length):this.__isRecordDelimiter(l0,Z,J+F.length);if(w!==null&&this.__isEscape(Z,J,Ie)&&this.__isQuote(Z,J+w.length))J+=w.length-1;else if(!l0||P0||nr||gt||v0){this.state.quoting=!1,this.state.wasQuoting=!0,J+=F.length-1;continue}else if(m===!1){let Pt=this.__error(new M0("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(l0)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Pt!==void 0)return Pt}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(F),J+=F.length-1}else if(this.state.field.length!==0){if(m===!1){let l0=this.__infoField(),v0=Object.keys(zM).map(P0=>zM[P0].equals(this.state.field.toString())?P0:!1).filter(Boolean)[0],gt=this.__error(new M0("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(l0.column)} at line ${l0.lines}, value is ${JSON.stringify(this.state.field.toString(p))}`,v0?`(${v0} bom)`:void 0],this.options,l0,{field:this.state.field}));if(gt!==void 0)return gt}}else{this.state.quoting=!0,J+=F.length-1;continue}if(this.state.quoting===!1){let l0=this.__isRecordDelimiter(Ie,Z,J);if(l0!==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)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),J+=l0-1;continue}if(C===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,J+=l0-1;continue}this.info.bytes=this.state.bufBytesStart+J;let P0=this.__onField();if(P0!==void 0)return P0;this.info.bytes=this.state.bufBytesStart+J+l0;let nr=this.__onRecord(i);if(nr!==void 0)return nr;if(E!==-1&&this.info.records>=E){this.state.stop=!0,a();return}}this.state.commenting=!1,J+=l0-1;continue}if(this.state.commenting)continue;if(R!==null&&(u===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(R,Z,J,Ie)!==0){this.state.commenting=!0;continue}let v0=this
`,i),Buffer.from(`
2026-06-29 14:17:37 +00:00
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let u=a[c].length;for(let p=0;p<u;p++)if(a[c][p]!==s[n+p])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(s){let{encoding:n,raw:i,skip_records_with_error:a}=this.options,c=typeof s=="string"?new Error(s):s;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(n):void 0)}catch(u){return u}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:s,raw:n,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:n?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:s}=this.options,n=Array.isArray(s),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:n===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var d1=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],s=rCe(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var E0=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(Dn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=d1(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=Dn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,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 s=await ar("powershell",!0),n=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:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${n}' ${i.join(" ")}`]}}static isDirectory(e){try{return sCe.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 s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return iV.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,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return iV.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return nCe.default.compile(e,r)(s)}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 s=rE
More info: ${u.url}`);let h=u.range&&u.range.length>0?u.range[0]?.start.line:void 0,m=!1;for(let z of a)if(z.remote||z.path.endsWith(p)&&z.content===l){c.push({title:A,message:d,file:z.path,startLine:h}),m=!0;break}m||T(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${p}: ${A}`)}return c}};var m2=x(require("fs"),1),aV=x(require("path"),1);var jw=class t{static{o(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new Y0,this.iidFilename=`build-iidfile-${E0.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${E0.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),s=e?.attrs||{},n=Object.entries(s).filter(([h])=>!r.has(h)),i=E0.parseBoolOrDefault(s["fetch-by-commit"]),a=e?.ref||s.ref||os.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&E0.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;let c=`${O0.serverURL}/${os.repo.owner}/${os.repo.repo}.git`,u=e?.checksum||s.checksum,p=e?.subdir||s.subdir,l=e?.format;if(!l){if(l="fragment",n.length>0)l="query";else if(E0.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(l="query")}catch{}}let A=os.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(A=typeof os.payload.pull_request?.head?.sha=="string"?os.payload.pull_request.head.sha:a);let d=u||A;if(l==="query"){let h=[`ref=${i||u?a:d}`],m=i?d:u;m&&h.push(`checksum=${m}`),p&&p!=="."&&h.push(`subdir=${p}`);for(let[z,C]of n)h.push(`${z}=${C}`);return`${c}?${h.join("&")}`}return`${c}#${d}${p&&p!=="."?`:${p}`:""}`}getImageIDFilePath(){return aV.default.join(b0.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(m2.default.existsSync(e))return m2.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return aV.default.join(b0.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!m2.default.existsSync(e))return;let r=m2.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,s]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${s}`}static resolveSecretFile(e){let[r,s]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${s}`}static resolveSecretEnv(e){let[r,s]=t.parseSecretKvp(e);return`id=${r},env=${s}`}static resolveSecret(e,r){let[s,n]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!m2.default.existsSync(n))throw new Error(`secret file ${n} not found`);return[s,n]}let i=b0.tmpName({tmpdir:b0.tmpDir()});return m2.default.writeFileSync(i,n),[s,i]}static getProvenanceInput(e){let r=Dn(e);if(!r)return r;try{return wle(e)?`builder-id=${O0.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${O0.workflowRunURL(!0)}`;let r=d1(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let s of r)if(s.toString().split(/(?<=^[^=]+?)=/).map(i=>i.trim())[0]=="builder-id")return e;return`${e},builder-id=${O0.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let s="registry",n="",i="",a=d1(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of a){let u=c.toString().split(/(?<=^[^=]+?)=/).map(p=>p.trim());u[0]==="type"?s=u[1]:u[0]==="repository"?n=u[1]:u[0]==="ghtoken"&&(i=u[1])}return s==="gha"&&(n||(e=`${e},repository=${O0.repository}`),!i&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExp
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let n of s){if(n.length==1&&!n[0].startsWith("type="))return e=="local";for(let[i,a]of n.map(c=>c.split("=").map(u=>u.trim())))if(i=="type"&&a==e)return!0}return!1}static hasAttestationType(e,r){let s=d1(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let n of s)for(let[i,a]of n.map(c=>c.split("=").map(u=>u.trim())))if(i=="type"&&a==e)return!0;return!1}static resolveAttestationAttrs(e){let r=d1(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),s=[];for(let n of r)for(let i of n)try{let a=E0.parseBool(i);s.push(`disabled=${!a}`)}catch{s.push(i)}return s.join(",")}static hasGitAuthTokenSecret(e,r){for(let s of e){if(r&&s.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(s.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let s=e.indexOf("="),n=e.substring(0,s),i=e.substring(s+1);if(n.length==0||i.length==0)throw new Error(`${e} is not a valid secret`);return r&&Ma(i),[n,i]}};var cV=x(require("fs"),1),aCe=x(require("path"),1);var $w=class t{static{o(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new Y0,this.metadataFilename=`bake-metadata-${E0.generateRandomString()}.json`}getMetadataFilePath(){return aCe.default.join(b0.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!cV.default.existsSync(e))return;let r=cV.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let s in e)"buildx.build.ref"in e[s]&&r.push(e[s]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let s=["bake"],n,i=[],a=[...e.files||[],e.source];if(a){for(let u of a.map(p=>p?p.trim():""))if(u.length!=0){if(!E0.isValidRef(u)){i.push(u);continue}if(n)throw new Error("Only one remote bake definition can be defined");n=u}}n&&s.push(n);for(let u of i)s.push("--file",u);if(e.overrides)for(let u of e.overrides)s.push("--set",u);if(e.vars)for(let u of e.vars)s.push("--var",u);if(e.allow)for(let u of e.allow)s.push("--allow",u);e.call&&s.push("--call",e.call),e.load&&s.push("--load"),e.noCache&&s.push("--no-cache"),e.provenance&&s.push("--provenance",e.provenance),e.push&&s.push("--push"),e.sbom&&s.push("--sbom",e.sbom);let c=await this.buildx.getCommand([...s,"--print",...e.targets||[]]);return await ve.getExecOutput(c.command,c.args,r).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(`cannot parse bake definitions: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return t.parseDefinition(u.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let s in r.target){let n=r.target[s];n.attest&&Array.isArray(n.attest)&&(n.attest=n.attest.map(i=>t.parseAttestEntry(i))),n["cache-from"]&&Array.isArray(n["cache-from"])&&(n["cache-from"]=n["cache-from"].map(i=>t.parseCacheEntry(i))),n["cache-to"]&&Array.isArray(n["cache-to"])&&(n["cache-to"]=n["cache-to"].map(i=>t.parseCacheEntry(i))),n.output&&Array.isArray(n.output)&&(n.output=n.output.map(i=>t.parseExportEntry(i))),n.secret&&Array.isArray(n.secret)&&(n.secret=n.secret.map(i=>t.parseSecretEntry(i))),n.ssh&&Array.isArray(n.ssh)&&(n.ssh=n.ssh.map(i=>t.parseSSHEntry(i)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},s=d1(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of s){let[i,a]=n.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(i){case"type":r.type=a;break;case"disabled":r.disabled=E0.parseBool(a);break;default:r[i]=a}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},s=d1(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(s.length===1&&!s[0].includes("="))return r.type="registry",r.ref=s[0],r;for(let n of s){let[i,a]=n.toString().
`)[0])}static async isHeadDetached(){return await t.exec(["branch","--show-current"]).then(e=>e.length==0)}static async getDetachedRef(){let e=await t.exec(["show","-s","--pretty=%D"]);T(`detached HEAD ref: ${e}`);let r=e.replace(/^grafted, /,"").trim();if(r==="HEAD")return await t.inferRefFromHead();let s=r.match(/^HEAD, (.*)$/);if(!s||!s[1])throw new Error(`Cannot find detached HEAD ref in "${e}"`);let n=s[1].trim();if(n.startsWith("tag: "))return`refs/tags/${n.split(":")[1].trim()}`;if(n.match(/^pull\/\d+\/(head|merge)$/))return`refs/${n}`;let a=n.match(/^[^/]+\/[^/]+, (.+)$/);if(a)return`refs/heads/${a[1].trim()}`;let c=n.match(/^[^/]+\/(.+)$/);if(c)return`refs/heads/${c[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${e}"`)}static async exec(e=[]){return await ve.getExecOutput("git",e,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr);return r.stdout.trim()})}static async inferRefFromHead(){let e=await t.findContainingRef("refs/heads/");if(e)return e;let r=await t.findContainingRef("refs/remotes/");if(r){let i=r.match(/^refs\/remotes\/[^/]+\/(.+)$/);return i?`refs/heads/${i[1]}`:r}let s=await t.exec(["tag","--contains","HEAD"]),[n]=s.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);if(n)return`refs/tags/${n}`;throw new Error("Cannot infer ref from detached HEAD")}static async findContainingRef(e){let r=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e]),[s]=r.split(`
2026-06-29 14:17:37 +00:00
`).map(n=>n.trim()).filter(n=>n.length>0);return s}static async commitDate(e){return new Date(await t.exec(["show","-s",'--format="%ci"',e]))}};var Hve=require("crypto"),Qc=x(require("fs"),1),NA=x(require("path"),1);var bC=x(iE(),1),Pc=x(a6e(),1),Xve=x(Jee(),1),rg=x(_ve(),1);var B0e=x(iE(),1);var Qve=x(In(),1);var Lve="application/vnd.oci.empty.v1+json";var Wp=class{static{o(this,"Cosign")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await ve.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(T(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(T(`Cosign.isAvailable error: ${r}`),!1));return T(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await ve.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await ve.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return T("Cosign.versionSatisfies false: undefined version"),!1;let n=Qve.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return T(`Cosign.versionSatisfies ${s} statisfies ${e}: ${n}`),n}static parseCommandOutput(e){let r,s,n,i;for(let a of e.split(/\r?\n/)){let c=a.trim();if(!c.startsWith("{")||!c.endsWith("}"))continue;let u;try{u=JSON.parse(c)}catch{continue}if(u&&Array.isArray(u.errors)&&u.errors.length>0&&(i=u.errors),!r&&u&&Array.isArray(u.manifests)&&u.manifests.length>0){let p=u.manifests[0];p?.artifactType===B0e.BUNDLE_V03_MEDIA_TYPE&&typeof p.digest=="string"?r=p.digest:p?.artifactType===Lve&&typeof p.digest=="string"&&(s=p.digest)}if(!n&&u&&u.mediaType===B0e.BUNDLE_V03_MEDIA_TYPE&&(n=u),n&&(r||s)){i=void 0;break}}return{bundle:n,signatureManifestDigest:r||s,errors:i}}};var D0e=x(require("fs"),1);var Pv=class t{static{o(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new Y0}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let s=r.manifests.filter(a=>a.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return s;let n=e.platform,i=new Map;for(let a of r.manifests)a.digest&&i.set(a.digest,a);return s.filter(a=>{let c=a.annotations?.["vnd.docker.reference.digest"];if(!c)return!1;let u=i.get(c);return u?u.platform?.os===n.os&&u.platform?.architecture===n.architecture&&(u.platform?.variant??"")===(n.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],s=b0.tmpName({tmpdir:b0.tmpDir(),template:"imagetools-metadata-XXXXXX"}),n=[],i=[];for(let c of e.sources){if(c.startsWith("cwd://")){let u=c.substring(6);u.length>0&&n.push(u);continue}i.push(c)}if(e.tags)for(let c of e.tags)r.push("--tag",c);if(e.platforms)for(let c of e.platforms)r.push("--platform",c);if(e.annotations)for(let c of e.annotations)r.push("--annotation",c);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",s);for(let c of n)r.push("--file",c
${a.message}`),await new Promise(p=>setTimeout(p,Math.pow(2,c)*100))}throw a??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,s){return await ve.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return s(JSON.parse(n.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown|not found: not found)/i.test(e)}};var Pve="application/vnd.in-toto+json";var kve="https://fulcio.sigstore.dev",Uve="https://rekor.sigstore.dev",Gve="https://timestamp.sigstore.dev",zf="https://search.sigstore.dev";var rU0="slsaprovenance1",FA=class t{static{o(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new Wp,this.imageTools=e?.imageTools||new Pv}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let s=this.signingEndpoints(e.noTransparencyLog);_(`Using Sigstore signing endpoint: ${s.fulcioURL}`);let n=t.noTransparencyLog(e.noTransparencyLog),i=[];await this.cosign.versionSatisfies(">=3.0.4")?await cr("Creating Sigstore protobuf signing config",async()=>{let a=b0.tmpName({template:"signing-config-XXXXXX.json",tmpdir:b0.tmpDir()}),c=["signing-config","create","--with-default-services=true",`--out=${a}`];n&&c.push("--no-default-rekor=true"),await ve.exec(this.cosign.binPath,c,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),_(JSON.stringify(JSON.parse(Qc.default.readFileSync(a,{encoding:"utf-8"})),null,2)),i.push(`--signing-config=${a}`)}):(i.push("--use-signing-config"),n&&i.push("--tlog-upload=false"));for(let a of e.imageNames){let c=await this.imageTools.attestationDigests({name:`${a}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let u of c){let p=`${a}@${u}`;await cr(`Signing attestation manifest ${p}`,async()=>{let l=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format",...i];_(`[command]${this.cosign.binPath} ${[...l,p].join(" ")}`);let A=await ve.getExecOutput(this.cosign.binPath,["--verbose",...l,p],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),d=Wp.parseCommandOutput(A.stderr.trim());if(A.exitCode!=0)if(d.errors&&d.errors.length>0){let m=d.errors.map(z=>`- [${z.code}] ${z.message} : ${z.detail}`).join(`
`);throw new Error(`Cosign sign command failed with errors:
2026-06-29 14:17:37 +00:00
${m}`)}else throw new Error(`Cosign sign command failed with: ${A.stderr.trim().split(/\r?\n/).filter(m=>m.length>0).pop()??"unknown error"}`);let h=t.parseBundle((0,bC.bundleFromJSON)(d.bundle));h.tlogID&&_(`Uploaded to Rekor transparency log: ${zf}?logIndex=${h.tlogID}`),_(`Signature manifest pushed: https://oci.dag.dev/?referrers=${p}`),r[p]={...h,imageName:a}})}}}catch(s){throw new Error(`Signing BuildKit attestation manifests failed: ${s.message}`)}return r}async verifySignedManifests(e,r){let s={};for(let[n,i]of Object.entries(e))await cr(`Verifying signature of ${n}`,async()=>{let a=await this.verifyImageAttestation(n,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!i.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown});_(`Signature manifest verified: https://oci.dag.dev/?image=${i.imageName}@${a.signatureManifestDigest}`),s[n]=a});return s}async verifyImageAttestations(e,r){let s={},n=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(n.length===0)throw new Error(`No attestation manifests found for ${e}`);let i=e.split(":",1)[0];for(let a of n){let c=`${i}@${a}`,u=await this.verifyImageAttestation(c,r);_(`Signature manifest verified: https://oci.dag.dev/?image=${i}@${u.signatureManifestDigest}`),s[c]=u}return s}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let s=["verify","--experimental-oci11","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&s.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){_(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);let a=await ve.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(a.exitCode!==0)throw new Error(`Cosign verify command failed with: ${a.stderr.trim().split(/\r?\n/).filter(u=>u.length>0).pop()??"unknown error"}`);let c=Wp.parseCommandOutput(a.stderr.trim());return{cosignArgs:s,signatureManifestDigest:c.signatureManifestDigest}}let n=r.retryLimit??15,i;_(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);for(let a=0;a<n;a++){let c=await ve.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),u=Wp.parseCommandOutput(c.stderr.trim());if(c.exitCode===0)return{cosignArgs:s,signatureManifestDigest:u.signatureManifestDigest};if(u.errors&&u.errors.length>0){let p=u.errors.map(l=>`- [${l.code}] ${l.message} : ${l.detail}`).join(`
`);if(i=new Error(`Cosign verify command failed with errors:
${p}`),u.errors.some(l=>l.code==="MANIFEST_UNKNOWN"))_(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${a+1}/${n}...
2026-06-29 14:17:37 +00:00
${p}`),await new Promise(l=>setTimeout(l,Math.pow(2,a)*100));else throw i}else throw new Error(`Cosign verify command failed with: ${c.stderr.trim().split(/\r?\n/).filter(p=>p.length>0).pop()??"unknown error"}`)}throw i}async signProvenanceBlobs(e){let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let s=this.signingEndpoints(e.noTransparencyLog);_(`Using Sigstore signing endpoint: ${s.fulcioURL}`);let n=t.getProvenanceBlobs(e);for(let i of Object.keys(n))await cr(`Signing ${i}`,async()=>{let a=n[i],c=NA.default.join(NA.default.dirname(i),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(a);if(u.length===0){z0(`No subjects found in provenance ${i}, skip signing.`);return}let p=await t.signPayload({data:a,type:Pve},s),l=t.parseBundle(p);_("Provenance blob signed for:");for(let A of u){let[d,h]=Object.entries(A.digest)[0]||[];_(` - ${A.name} (${d}:${h})`)}l.tlogID&&_(`Attestation signature uploaded to Rekor transparency log: ${zf}?logIndex=${l.tlogID}`),_(`Writing Sigstore bundle to: ${c}`),Qc.default.writeFileSync(c,JSON.stringify(l.payload,null,2),{encoding:"utf-8"}),r[i]={...l,bundlePath:c,subjects:u}})}catch(s){throw new Error(`Signing BuildKit provenance blobs failed: ${s.message}`)}return r}async verifySignedArtifacts(e,r){let s={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[n,i]of Object.entries(e)){let a=NA.default.dirname(n);await cr(`Verifying signature bundle ${i.bundlePath}`,async()=>{for(let c of i.subjects){let u=NA.default.join(a,c.name);_(`Verifying signed artifact ${u}`);let p=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??rU0];(r.noTransparencyLog||!i.tlogID)&&p.push("--use-signed-timestamps","--insecure-ignore-tlog");let l=await ve.getExecOutput(this.cosign.binPath,[...p,"--bundle",i.bundlePath,u],{ignoreReturnCode:!0});if(l.stderr.length>0&&l.exitCode!=0)throw new Error(l.stderr);s[u]={bundlePath:i.bundlePath,cosignArgs:p}}})}return s}async verifyArtifact(e,r,s){_("Verifying keyless verification bundle signature");let n=JSON.parse(Qc.default.readFileSync(r,"utf-8")),i=(0,bC.bundleFromJSON)(n);_("Fetching Sigstore TUF trusted root metadata");let a=await Xve.getTrustedRoot(),c=(0,rg.toTrustMaterial)(a);try{_("Verifying artifact signature");let u=(0,rg.toSignedEntity)(i,Qc.default.readFileSync(e)),p=t.parseCertificate(i),l=i.verificationMaterial.tlogEntries,A=l.length>0?l[0].logIndex:void 0;if(s?.subjectAlternativeName&&s?.subjectAlternativeName instanceof RegExp){let m=p.subjectAltName?.replace(/^uri:/i,"");if(m){if(!m.match(s.subjectAlternativeName))throw new Error(`Signing certificate subjectAlternativeName "${m}" does not match expected pattern`)}else throw new Error("Signing certificate does not contain subjectAltName")}let h=new rg.Verifier(c).verify(u,{subjectAlternativeName:s?.subjectAlternativeName&&typeof s.subjectAlternativeName=="string"?s.subjectAlternativeName:void 0,extensions:s?.issuer?{issuer:s.issuer}:void 0});return T(`Sigstore.verifyArtifact signer: ${JSON.stringify(h)}`),{payload:n,certificate:p.toString(),tlogID:A}}catch(u){throw new Error(`Failed to verify artifact signature: ${u}`)}}signingEndpoints(e){return e=t.noTransparencyLog(e),_(`Upload to transparency log: ${e?"disabled":"enabled"}`),{fulcioURL:kve,rekorURL:e?void 0:Uve,tsaServerURL:Gve}}static noTransparencyLog(e){return e??O0.context.payload.repository?.private}static getProvenanceBlobs(e){let r=NA.default.join(e.localExportDir,"provenance.json");if(Qc.default.existsSync(r))return{[r]:Qc.default.readFileSync(r)};let s=Qc.default.readdirSync(e.localExportDir,{withFileTypes:!0}),n=s.filter(i=>i.isDirectory());if(n.length>0&&n.length===s.length&&n.every(i=>Qc.default.existsSync(NA.default.join(e.localExportDir,i.name,"provenance.json")))){let i={};for(let a of n){let c=
`)){let[p,...l]=u.split(":"),A=p.toLowerCase(),d=l.map(h=>h.trim()).join(":");if(p.length!=0)switch(!0){case A=="name":s=void 0,r.name==null?r.name=d:(i&&n.gcPolicy&&(n.gcPolicy.push(i),i=void 0),n.name&&r.nodes.push(n),n={name:d});break;case A=="driver":s=void 0,r.driver=d;break;case A=="last activity":s=void 0,r.lastActivity=new Date(d);break;case A=="endpoint":s=void 0,n.endpoint=d;break;case A=="driver options":s=void 0,n["driver-opts"]=(d.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(h=>h.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case A=="status":s=void 0,n.status=d;break;case A=="buildkit daemon flags":case A=="flags":s=void 0,n["buildkitd-flags"]=d;break;case A=="buildkit version":case A=="buildkit":s=void 0,n.buildkit=d;break;case A=="platforms":{if(s=void 0,!d)break;let h=[];if(d.includes("*"))for(let m of d.split(", "))m.includes("*")&&h.push(m.replace(/\*/g,""));else h=d.split(", ");n.platforms=h.join(",");break}case A=="features":s="features",n.features={};break;case A=="labels":s="label",n.labels={};break;case A=="devices":s="devices",n.devices=n.devices||[];break;case A.startsWith("gc policy rule#"):s="gcpolicy",n.gcPolicy&&i&&(n.gcPolicy.push(i),i=void 0);break;case A.startsWith("file#"):s="file",c=p.split("#")[1],n.files=n.files||{},n.files[c]="";break;default:switch(s&&s!=="devices"&&n.devices&&a&&(n.devices.push(a),a=void 0),s||""){case"features":{n.features=n.features||{},n.features[p.trim()]=!!d;break}case"label":{n.labels=n.labels||{},n.labels[p.trim()]=d;break}case"devices":{switch(A.trim()){case"name":{n.devices&&a&&n.devices.push(a),a={},a.name=d;break}case"on-demand":{a&&d&&(a.onDemand=d=="true");break}case"automatically allowed":{a&&d&&(a.autoAllow=d=="true");break}case"annotations":{a&&(a.annotations=a.annotations||{});break}default:a&&a.annotations&&(a.annotations[p.trim()]=d)}break}case"gcpolicy":{switch(n.gcPolicy=n.gcPolicy||[],i=i||{},A.trim()){case"all":{i.all=d=="true";break}case"filters":{d&&(i.filter=d.split(","));break}case"keep duration":{i.keepDuration=d;break}case"keep bytes":{i.keepBytes=d;break}case"reserved space":{i.reservedSpace=d;break}case"max used space":{i.maxUsedSpace=d;break}case"min free space":{i.minFreeSpace=d;break}}break}case"file":{c&&n.files&&(n.files[c].length>0&&(n.files[c]+=`
`),n.files[c]+=u.replace(/^\s>\s?/,""));break}}}}return a&&n.devices&&n.devices.push(a),i&&n.gcPolicy&&n.gcPolicy.push(i),n.name&&r.nodes.push(n),r}};var Vve=x(In(),1);var Uv=x(require("fs"),1);var Gv=class{static{o(this,"Config")}resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!Uv.default.existsSync(e))throw new Error(`config file ${e} not found`);e=Uv.default.readFileSync(e,{encoding:"utf-8"})}let s=b0.tmpName({tmpdir:b0.tmpDir()});return Uv.default.writeFileSync(s,e),s}};var Hv=class{static{o(this,"BuildKit")}buildx;config;constructor(e){this.config=new Gv,this.buildx=e?.buildx||new Y0}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){z0(r)}return e.buildkit}async getVersionWithinImage(e){return T(`BuildKit.getVersionWithinImage nodeName: ${e}`),Dr.getExecOutput(["inspect","--format","{{.Config.Image}}",`${Y0.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return T(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),Dr.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.exitCode==0&&s.stdout.length>0)return`${r.stdout.trim()} => ${s.stdout.trim()}`;if(s.stderr.length>0)throw new Error(r.stderr.trim());return s.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,s){s||(s=await new ng({buildx:this.buildx}).inspect(e));for(let n of s.nodes){let i=n.buildkit;if(T(`BuildKit.versionSatisfies ${i}: ${r}`),!i)try{i=await this.getVersionWithinImage(n.name||"")}catch{return T(`BuildKit.versionSatisfies ${n.name}: can't get version`),!1}if(T(`BuildKit.versionSatisfies ${n.name}: version ${i}`),s.driver=="docker"&&!i.endsWith("-moby")||!Vve.satisfies(i.replace(/-moby$/,""),r))return!1}return!0}};var Xv=class t{static{o(this,"Compose")}_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await Dr.isAvailable();return T(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await ve.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(s=>s.stderr.length>0&&s.exitCode!=0?(T(`Compose.isAvailable cmd err: ${s.stderr.trim()}`),!1):s.exitCode==0).catch(s=>(T(`Compose.isAvailable error: ${s}`),!1));return T(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await ve.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await ve.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse compose version");return r[1]}};var Lp=x(require("fs"),1),Uc=x(require("os"),1),ig=x(require("path"),1);var jv=x(In(),1),I0e=x(require("util"),1);var Vv=class t{static{o(this,"Install")}standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);T(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);T(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);T(`Install.download vspec: ${i}`);let a=jv.clean(i)||"";if(!jv.valid(a))throw new Error(`Invalid Compose version "${i}".`);let c=new T1({htcName:s.key!="official"?`compose-dl-bin-${s.key}`:"compose-dl-bin",htcVersion:i,baseCacheDir:ig.default.join(Uc.default.homedir(),".bin","docker-compose"),cacheFile:Uc.default.platform()=="win32"?"docker-compose.e
# syntax=docker/dockerfile:1
ARG GO_VERSION="1.24"
ARG ALPINE_VERSION="3.22"
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.7.0 AS xx
FROM --platform=$BUILDPLATFORM golang:\${GO_VERSION}-alpine\${ALPINE_VERSION} AS builder-base
COPY --from=xx / /
RUN apk add --no-cache git
ENV GOTOOLCHAIN=auto
ENV CGO_ENABLED=0
WORKDIR /src
RUN --mount=type=cache,target=/go/pkg/mod \\
--mount=type=bind,source=go.mod,target=go.mod \\
--mount=type=bind,source=go.sum,target=go.sum \\
go mod download
FROM builder-base AS version
RUN --mount=type=bind,target=. <<'EOT'
git rev-parse HEAD 2>/dev/null || {
echo >&2 "Failed to get git revision, make sure --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 is set when building from Git directly"
exit 1
}
set -ex
export PKG=sigs.k8s.io BUILDDATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") TREESTATE=$(if ! git diff --no-ext-diff --quiet --exit-code; then echo dirty; else echo clean; fi) VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags) COMMIT=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi);
echo "-X \${PKG}/release-utils/version.gitVersion=\${VERSION} -X \${PKG}/release-utils/version.gitCommit=\${COMMIT} -X \${PKG}/release-utils/version.gitTreeState=\${TREESTATE} -X \${PKG}/release-utils/version.buildDate=\${BUILDDATE}" > /tmp/.ldflags;
echo -n "\${VERSION}" > /tmp/.version;
EOT
FROM builder-base AS builder
ARG TARGETPLATFORM
RUN --mount=type=bind,target=. \\
--mount=type=cache,target=/root/.cache,id=cosign-$TARGETPLATFORM \\
--mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=version \\
--mount=type=cache,target=/go/pkg/mod <<EOT
set -ex
xx-go build -trimpath -ldflags "-s -w $(cat /tmp/.ldflags)" -o /out/cosign ./cmd/cosign
xx-verify --static /out/cosign
EOT
FROM scratch
COPY --from=builder /out /
2026-06-29 14:17:37 +00:00
`;var $v=class t{static{o(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new Y0,this.sigstore=e?.sigstore||new FA}async download(e){let r=await t.getDownloadVersion(e.version);T(`Install.download version: ${r.version}`);let s=await t.getRelease(r,this.githubToken);T(`Install.download release tag name: ${s.tag_name}`);let n=await this.vspec(s.tag_name);T(`Install.download vspec: ${n}`);let i=ag.clean(n)||"";if(!ag.valid(i))throw new Error(`Invalid Cosign version "${n}".`);let a=new T1({htcName:"cosign-dl-bin",htcVersion:n,baseCacheDir:og.default.join(Yo.default.homedir(),".bin"),cacheFile:Yo.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return _(`Cosign binary found in ${c}`),c;let u=R0e.format(r.downloadURL,n,this.filename());_(`Downloading ${u}`);let p=await Mi(u,void 0,this.githubToken);T(`Install.download htcDownloadPath: ${p}`),e.verifySignature&&ag.satisfies(n,">=3.0.1")&&await this.verifySignature(p,u);let l=await a.save(p,e.skipState);return _(`Cached to ${l}`),l}async build(e,r,s){let n=await this.vspec(e);T(`Install.build vspec: ${n}`);let i=new T1({htcName:"cosign-build-bin",htcVersion:n,baseCacheDir:og.default.join(Yo.default.homedir(),".bin"),cacheFile:Yo.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await i.find();if(a)return _(`Cosign binary found in ${a}`),a;let c=og.default.join(b0.tmpDir(),"cosign-build-cache"),u=await this.buildCommand(e,c),p=await ve.getExecOutput(u.command,u.args,{ignoreReturnCode:!0,input:Buffer.from(jve)}).then(A=>{if(A.stderr.length>0&&A.exitCode!=0)throw new Error(`build failed with: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${c}/cosign`}),l=await i.save(p,s);return _(`Cached to ${l}`),l}async install(e,r){r=r||b0.tmpDir();let s=og.default.join(r,"cosign-bin");MC.default.existsSync(s)||MC.default.mkdirSync(s,{recursive:!0});let n=Yo.default.platform()=="win32"?"cosign.exe":"cosign",i=og.default.join(s,n);return MC.default.copyFileSync(e,i),_("Fixing perms"),MC.default.chmodSync(i,"0755"),ga(s),_("Added Cosign to PATH"),_(`Binary path: ${i}`),i}async buildCommand(e,r){let s=await new Y0({standalone:!0}).isAvailable(),n=await new Y0({standalone:!1}).isAvailable(),i=!1;if(await this.buildx.isStandalone()&&s)T("Install.buildCommand: Buildx standalone found, build with it"),i=!0;else if(!await this.buildx.isStandalone()&&n)T("Install.buildCommand: Buildx plugin found, build with it"),i=!1;else if(s)T("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),i=!0;else if(n)T("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),i=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push("-f-",e),await new Y0({standalone:i}).getCommand(a)}async verifySignature(e,r){let s=`${r}.sigstore.json`;_(`Downloading keyless verification bundle at ${s}`);let n=await Mi(s,void 0,this.githubToken);T(`Install.verifySignature bundlePath: ${n}`);let i=await this.sigstore.verifyArtifact(e,n,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});_(`Cosign binary signature verified! ${i.tlogID?`${zf}?logIndex=${i.tlogID}`:""}`)}filename(){let e;switch(Yo.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=Yo.default.arch();break}}let r=Yo.default.platform()=="win32"?"windows":Yo.default.platform(),s=Yo.default.platform()=="win32"?".exe":"";return R0e.format("cosign-%s-%s%s",r,e,s)}async vspec(e){if(!E0.isValidRef(e)){let p=e.replace(/^v+|v+$/g,"");return _(`Use ${p} version spec cache key for ${e}`),p}let[r,s]=e.split("#");s.length==0&&(s="master");let n;s.match(/^[0-9a-fA-F]{40}$/)?n=s:n=await Xu.remoteS
`,sepLabels:Dn("sep-labels",{trimWhitespace:!1})||`
`,sepAnnotations:Dn("sep-annotations",{trimWhitespace:!1})||`
`,bakeTarget:Dn("bake-target")||"docker-metadata-action",githubToken:Dn("github-token")}}o(Jve,"getInputs");async function Kve(t,e){switch(t){case"workflow":return await sU0(e);case"git":return await nU0();default:throw new Error(`Invalid context source: ${t}`)}}o(Kve,"getContext");async function sU0(t){let e=O0.context;return/pull_request_target/.test(e.eventName)&&(e.ref=`refs/pull/${e.payload.number}/merge`),/true/i.test(process.env.DOCKER_METADATA_PR_HEAD_SHA||"")&&(/pull_request/.test(e.eventName)||/pull_request_target/.test(e.eventName))&&e.payload?.pull_request?.head?.sha!=null&&(e.sha=e.payload.pull_request.head.sha),{commitDate:await iU0(e.sha,t),...e}}o(sU0,"getContextFromWorkflow");async function nU0(){let t=await Xu.context();return{commitDate:await Xu.commitDate(t.sha),...t}}o(nU0,"getContextFromGit");async function iU0(t,e){let r=O0.context.payload;if(r.commits){let s=r.commits.find(n=>n.id===t)?.timestamp;if(s)return new Date(s)}if(r.head_commit&&r.head_commit.id===t)return new Date(r.head_commit.timestamp);try{let s=await e.github.octokit.rest.repos.getCommit({owner:O0.context.repo.owner,repo:O0.context.repo.repo,ref:t});if(s.data.commit.committer?.date)return new Date(s.data.commit.committer.date);throw new Error("Committer date not found")}catch(s){return T(`Failed to get commit date from GitHub API: ${s.message}`),new Date}}o(iU0,"getCommitDateFromWorkflow");var jp=x(tV(),1),GUe=x(require("fs"),1),HUe=x(require("path"),1),d4=x(nTe(),1),ni=x(LUe(),1),Bg=x(In(),1);function PUe(t){let e=[];if(t.length==1){let r=!1,s=d1(t[0],{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of s){let i=n.toString().split("=").map(a=>a.trim());if(i.length==1)e.push({name:i[0],enable:!0});else{r=!0;break}}if(!r)return QUe(e)}e=[];for(let r of t){let s={name:"",enable:!0},n=d1(r,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of n){let a=i.toString().split("=").map(c=>c.trim());if(a.length==1)s.name=a[0];else{let c=a[0].toLowerCase(),u=a[1];switch(c){case"name":{s.name=u;break}case"enable":{if(!["true","false"].includes(u))throw new Error(`Invalid enable attribute value: ${r}`);s.enable=/true/i.test(u);break}default:throw new Error(`Unknown image attribute: ${r}`)}}}if(s.name.length==0)throw new Error(`Image name attribute empty: ${r}`);e.push(s)}return QUe(e)}o(PUe,"Transform");function QUe(t){Ed("Processing images input");for(let e of t)_(`name=${e.name},enable=${e.enable}`);return yd(),t}o(QUe,"output");var Z1e=(u=>(u.Schedule="schedule",u.Semver="semver",u.Pep440="pep440",u.Match="match",u.Edge="edge",u.Ref="ref",u.Raw="raw",u.Sha="sha",u))(Z1e||{}),$T=(s=>(s.Branch="branch",s.Tag="tag",s.PR="pr",s))($T||{}),YT=(r=>(r.Short="short",r.Long="long",r))(YT||{}),K1e=class{static{o(this,"Tag")}type;attrs;constructor(){this.attrs={}}toString(){let e=[`type=${this.type}`];for(let r in this.attrs)e.push(`${r}=${this.attrs[r]}`);return e.join(",")}},Jtt={schedule:"1000",semver:"900",pep440:"900",match:"800",edge:"700",ref:"600",raw:"200",sha:"100"};function kUe(t){let e=[];t.length==0&&(t=["type=schedule","type=ref,event=branch","type=ref,event=tag","type=ref,event=pr"]);for(let s of t)e.push(Ktt(s));let r=e.sort((s,n)=>Number(s.attrs.priority)<Number(n.attrs.priority)?1:Number(s.attrs.priority)>Number(n.attrs.priority)?-1:0);Ed("Processing tags input");for(let s of r)_(s.toString());return yd(),r}o(kUe,"Transform");function Ktt(t){let e=d1(t,{relaxColumnCount:!0,skipEmptyLines:!0})[0],r=new K1e;for(let s of e){let n=s.toString().split(/(?<=^[^=]+?)=/).map(i=>i.trim());if(n.length==1)r.attrs.value=n[0];else{let i=n[0].toLowerCase(),a=n[1];switch(i){case"type":{if(!Object.values(Z1e).includes(a))throw new Error(`Unknown tag type attribute: ${a}`);r.type=a;break}default:{r.attrs[i]=a;break}}}}switch(r.type==null&&(r.type="raw"),r.type){case"schedule":{Object.prototype.hasOwnProperty.call(r.attrs,"pattern")||(r.attrs.pattern="nightly");break}case"semver":case"pep440":{if(!Object.prototype.hasOwnProperty.call(r.attrs,"pattern"))throw new Error(`Missing pattern attribute for ${t}`);Object.prototype.hasOwnProperty.call(r.attrs
/*! 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
*)
negotiator/index.js:
(*!
* negotiator
* Copyright(c) 2012 Federico Romero
* Copyright(c) 2012-2014 Isaac Z. Schlueter
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*)
imurmurhash/imurmurhash.js:
(**
* @preserve
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
*
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
* @see http://github.com/homebrewing/brauhaus-diff
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
* @see http://github.com/garycourt/murmurhash-js
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
* @see http://sites.google.com/site/murmurhash/
*)
2026-05-22 12:36:07 +00:00
make-fetch-happen/lib/fetch.js:
make-fetch-happen/lib/fetch.js:
(**
* @license
* Copyright (c) 2010-2012 Mikeal Rogers
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an "AS
* IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*)
moment/moment.js:
(*! moment.js *)
(*! version : 2.30.1 *)
(*! authors : Tim Wood, Iskren Chernev, Moment.js contributors *)
(*! license : MIT *)
(*! momentjs.com *)
moment-timezone/moment-timezone.js:
(*! moment-timezone.js *)
2026-05-28 08:28:29 +00:00
(*! version : 0.6.2 *)
(*! Copyright (c) JS Foundation and other contributors *)
(*! license : MIT *)
(*! github.com/moment/moment-timezone *)
xregexp/lib/xregexp.js:
(*!
* XRegExp 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2007-present MIT License
*)
xregexp/lib/addons/build.js:
(*!
* XRegExp.build 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2012-present MIT License
*)
xregexp/lib/addons/matchrecursive.js:
(*!
* XRegExp.matchRecursive 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2009-present MIT License
*)
xregexp/lib/addons/unicode-base.js:
(*!
* XRegExp Unicode Base 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2008-present MIT License
*)
xregexp/lib/addons/unicode-blocks.js:
(*!
* XRegExp Unicode Blocks 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
xregexp/lib/addons/unicode-categories.js:
(*!
* XRegExp Unicode Categories 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
xregexp/lib/addons/unicode-properties.js:
(*!
* XRegExp Unicode Properties 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2012-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
xregexp/lib/addons/unicode-scripts.js:
(*!
* XRegExp Unicode Scripts 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
@octokit/request-error/dist-src/index.js:
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
@octokit/request/dist-bundle/index.js:
(* v8 ignore next -- @preserve *)
(* v8 ignore else -- @preserve *)
*/
//# sourceMappingURL=index.cjs.map