Files
setup-buildx-action/dist/index.cjs

322 lines
2.6 MiB
JavaScript
Raw Normal View History

2026-05-28 08:24:44 +00:00
var RDe=Object.create;var XD=Object.defineProperty;var TDe=Object.getOwnPropertyDescriptor;var _De=Object.getOwnPropertyNames;var QDe=Object.getPrototypeOf,PDe=Object.prototype.hasOwnProperty;var ODe=(t,e)=>()=>(t&&(e=t(t=0)),e);var A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),BK=(t,e)=>{for(var r in e)XD(t,r,{get:e[r],enumerable:!0})},DDe=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _De(e))!PDe.call(t,i)&&i!==r&&XD(t,i,{get:()=>e[i],enumerable:!(s=TDe(e,i))||s.enumerable});return t};var O=(t,e,r)=>(r=t!=null?RDe(QDe(t)):{},DDe(e||!t||!t.__esModule?XD(r,"default",{value:t,enumerable:!0}):r,t));var CX=A(jA=>{"use strict";var lkt=require("net"),uLe=require("tls"),gk=require("http"),gX=require("https"),hLe=require("events"),ukt=require("assert"),dLe=require("util");jA.httpOverHttp=fLe;jA.httpsOverHttp=pLe;jA.httpOverHttps=ALe;jA.httpsOverHttps=mLe;function fLe(t){var e=new eu(t);return e.request=gk.request,e}function pLe(t){var e=new eu(t);return e.request=gk.request,e.createSocket=yX,e.defaultPort=443,e}function ALe(t){var e=new eu(t);return e.request=gX.request,e}function mLe(t){var e=new eu(t);return e.request=gX.request,e.createSocket=yX,e.defaultPort=443,e}function eu(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||gk.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(s,i,n,o){for(var a=EX(i,n,o),c=0,l=e.requests.length;c<l;++c){var u=e.requests[c];if(u.host===a.host&&u.port===a.port){e.requests.splice(c,1),u.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)})}dLe.inherits(eu,hLe.EventEmitter);eu.prototype.addRequest=function(e,r,s,i){var n=this,o=yk({request:e},n.options,EX(r,s,i));if(n.sockets.length>=this.maxSockets){n.requests.push(o);return}n.createSocket(o,function(a){a.on("free",c),a.on("close",l),a.on("agentRemove",l),e.onSocket(a);function c(){n.emit("free",a,o)}function l(u){n.removeSocket(a),a.removeListener("free",c),a.removeListener("close",l),a.removeListener("agentRemove",l)}})};eu.prototype.createSocket=function(e,r){var s=this,i={};s.sockets.push(i);var n=yk({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),Ph("making CONNECT request");var o=s.request(n);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",l),o.once("error",u),o.end();function a(h){h.upgrade=!0}function c(h,d,f){process.nextTick(function(){l(h,d,f)})}function l(h,d,f){if(o.removeAllListeners(),d.removeAllListeners(),h.statusCode!==200){Ph("tunneling socket could not be established, statusCode=%d",h.statusCode),d.destroy();var p=new Error("tunneling socket could not be established, statusCode="+h.statusCode);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(i);return}if(f.length>0){Ph("got illegal response body from proxy"),d.destroy();var p=new Error("got illegal response body from proxy");p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(i);return}return Ph("tunneling connection has established"),s.sockets[s.sockets.indexOf(i)]=d,r(d)}function u(h){o.removeAllListeners(),Ph(`tunneling socket could not be established, cause=%s
`,h.message,h.stack);var d=new Error("tunneling socket could not be established, cause="+h.message);d.code="ECONNRESET",e.request.emit("error",d),s.removeSocket(i)}};eu.prototype.removeSocket=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(i){s.request.onSocket(i)})}};function yX(t,e){var r=this;eu.prototype.createSocket.call(r,t,function(s){var i=t.request.getHeader("host"),n=yk({},r.options,{socket:s,servername:i?i.replace(/:.*$/,""):t.host}),o=uLe.connect(0,n);r.sockets[r.sockets.indexOf(s)]=o,e(o)})}function EX(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function yk(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var i=Object.keys(s),n=0,o=i.length;n<o;++n){var a=i[n];s[a]!==void 0&&(t[a]=s[a])}}return t}var Ph;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Ph=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)}:Ph=function(){};jA.debug=Ph});var zS=A((dkt,IX)=>{IX.exports=CX()});var nr=A((fkt,bX)=>{bX.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 yt=A((pkt,jX)=>{"use strict";var wX=Symbol.for("undici.error.UND_ERR"),or=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[wX]===!0}[wX]=!0},SX=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),Ek=class extends or{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[SX]===!0}[SX]=!0},BX=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),Ck=class extends or{constructor(e){super(e),this.name="HeadersTimeoutError",this.m
`)||t.includes("\r")||t.includes("\0"))===!1}function QFe(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),i="";if(s.length>0)for(let n=s.length;n!==0;n--){let o=s[n-1].trim();if(mFe.has(o)){i=o;break}}i!==""&&(t.referrerPolicy=i)}function PFe(){return"allowed"}function OFe(){return"success"}function DFe(){return"success"}function kFe(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function MFe(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&&pM(t.origin)&&!pM(fC(t))&&(e=null);break;case"same-origin":dB(t,fC(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function sm(t,e){return t}function LFe(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:sm(t.domainLookupStartTime,r),domainLookupEndTime:sm(t.domainLookupEndTime,r),connectionStartTime:sm(t.connectionStartTime,r),connectionEndTime:sm(t.connectionEndTime,r),secureConnectionStartTime:sm(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}function FFe(t){return sm(IFe.now(),t)}function UFe(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function c7(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function qFe(t){return{referrerPolicy:t.referrerPolicy}}function GFe(t){let e=t.referrerPolicy;Cf(e);let r=null;if(t.referrer==="client"){let a=r7();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else t.referrer instanceof URL&&(r=t.referrer);let s=fM(r),i=fM(r,!0);s.toString().length>4096&&(s=i);let n=dB(t,s),o=dC(s)&&!dC(t.url);switch(e){case"origin":return i??fM(r,!0);case"unsafe-url":return s;case"same-origin":return n?i:"no-referrer";case"origin-when-cross-origin":return n?s:i;case"strict-origin-when-cross-origin":{let a=fC(t);return dB(s,a)?s:dC(s)&&!dC(a)?"no-referrer":i}default:return o?"no-referrer":i}}function fM(t,e){return Cf(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function dC(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"))}}function HFe(t,e){if(hB===void 0)return!0;let r=l7(e);if(r==="no metadata"||r.length===0)return!0;let s=zFe(r),i=$Fe(r,s);for(let n of i){let o=n.algo,a=n.hash,c=hB.createHash(o).update(t).digest("base64");if(c[c.length-1]==="="&&(c[c.length-2]==="="?c=c.slice(0,-2):c=c.slice(0,-1)),jFe(c,a))return!0}return!1}var VFe=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function l7(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let i=VFe.exec(s);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let n=i.groups.algo.toLowerCase();i7.includes(n)&&e.push(i.groups)}return r===!0?"no metadata":e}function zFe(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let s=t[r];if(s.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;s.algo[3]==="3"&&(e="sha384")}}return e}function $Fe(t,e){if(t.length===1)return t;let r=0;for(let s=0;s<t.length
`);function TUe(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}function _Ue(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}function QUe(t,e){pB(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"),i=[],n={position:0};for(;t[n.position]===13&&t[n.position+1]===10;)n.position+=2;let o=t.length;for(;t[o-1]===10&&t[o-2]===13;)o-=2;for(o!==t.length&&(t=t.subarray(0,o));;){if(t.subarray(n.position,n.position+s.length).equals(s))n.position+=s.length;else return"failure";if(n.position===t.length-2&&AB(t,vUe,n)||n.position===t.length-4&&AB(t,RUe,n))return i;if(t[n.position]!==13||t[n.position+1]!==10)return"failure";n.position+=2;let a=PUe(t,n);if(a==="failure")return"failure";let{name:c,filename:l,contentType:u,encoding:h}=a;n.position+=2;let d;{let p=t.indexOf(s.subarray(2),n.position);if(p===-1)return"failure";d=t.subarray(n.position,p-4),n.position+=d.length,h==="base64"&&(d=Buffer.from(d.toString(),"base64"))}if(t[n.position]!==13||t[n.position+1]!==10)return"failure";n.position+=2;let f;l!==null?(u??="text/plain",TUe(u)||(u=""),f=new xUe([d],l,{type:u})):f=IUe(Buffer.from(d)),pB(b7(c)),pB(typeof f=="string"&&b7(f)||wUe(f)),i.push(SUe(c,f,l))}}function PUe(t,e){let r=null,s=null,i=null,n=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:i,encoding:n};let o=nm(a=>a!==10&&a!==13&&a!==58,t,e);if(o=IM(o,!0,!0,a=>a===9||a===32),!bUe.test(o.toString())||t[e.position]!==58)return"failure";switch(e.position++,nm(a=>a===32||a===9,t,e),CUe(o)){case"content-disposition":{if(r=s=null,!AB(t,NUe,e)||(e.position+=17,r=B7(t,e),r===null))return"failure";if(AB(t,S7,e)){let a=e.position+S7.length;if(t[a]===42&&(e.position+=1,a+=1),t[a]!==61||t[a+1]!==34||(e.position+=12,s=B7(t,e),s===null))return"failure"}break}case"content-type":{let a=nm(c=>c!==10&&c!==13,t,e);a=IM(a,!1,!0,c=>c===9||c===32),i=w7(a);break}case"content-transfer-encoding":{let a=nm(c=>c!==10&&c!==13,t,e);a=IM(a,!1,!0,c=>c===9||c===32),n=w7(a);break}default:nm(a=>a!==10&&a!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}function B7(t,e){pB(t[e.position-1]===34);let r=nm(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)}function nm(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}function IM(t,e,r,s){let i=0,n=t.length-1;if(e)for(;i<t.length&&s(t[i]);)i++;if(r)for(;n>0&&s(t[n]);)n--;return i===0&&n===t.length-1?t:t.subarray(i,n+1)}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}x7.exports={multipartFormDataParser:QUe,validateBoundary:_Ue}});var cm=A((Fkt,M7)=>{"use strict";var mC=it(),{ReadableStreamFrom:OUe,isBlobLike:v7,isReadableStreamLike:DUe,readableStreamClose:kUe,createDeferredPromise:MUe,fullyReadBody:LUe,extractMimeType:FUe,utf8DecodeBytes:_7}=Un(),{FormData:R7}=AC(),{kState:am}=Oh(),{webidl:UUe}=Us(),{Blob:qUe}=require("node:buffer"),bM=require("node:assert"),{isErrored:Q7,isDisturbed:GUe}=require("node:stream"),{isArrayBuffer:HUe}=require("node:util/types"),{serializeAMimeType:VUe}=on(),{multipartFormDataParser:zUe}=N7(),wM;try{let t=require("node:crypto");wM=e=>t.randomInt(0,e)}catch{wM=t=>Math.floor(Math.random(t))}var mB=new TextEncoder;function $Ue(){}var P7=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,O7;P7&&(O7=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!GUe(e)&&!Q7(e)&&e.cancel("Response object has been garbage collected").catch($Ue)}));function D7(t,e=!1){let r=null;t instanceof ReadableStream?r=t:v7(t)?r=t.stream():r=new ReadableStream({async pull(c){let l=typeof i=="string"?mB.encode(i):i;l.byteLength&&c.enqueue(l),queueMicrotask(()=>kUe(c))},start(){},type:"bytes"}),bM(DUe(r));let s=null,i=null,n=null,o=null;if(typeof t=="string")i=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(HUe(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(mC.isFormDataLike(t)){let c=`----formdata-undici-0${`${wM(1e11)}`.padStart(11,"0")}`,l=`--${c}\r
2026-05-22 14:44:02 +00:00
Content-Disposition: form-data`;let u=E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),h=E=>E.replace(/\r?\n|\r/g,`\r
2026-05-28 08:24:44 +00:00
`),d=[],f=new Uint8Array([13,10]);n=0;let p=!1;for(let[E,y]of t)if(typeof y=="string"){let C=mB.encode(l+`; name="${u(h(E))}"\r
\r
2026-05-22 14:44:02 +00:00
${h(y)}\r
2026-05-28 08:24:44 +00:00
`);d.push(C),n+=C.byteLength}else{let C=mB.encode(`${l}; name="${u(h(E))}"`+(y.name?`; filename="${u(y.name)}"`:"")+`\r
Content-Type: ${y.type||"application/octet-stream"}\r
\r
2026-05-28 08:24:44 +00:00
`);d.push(C,y,f),typeof y.size=="number"?n+=C.byteLength+y.size+f.byteLength:p=!0}let m=mB.encode(`--${c}--\r
`);d.push(m),n+=m.byteLength,p&&(n=null),i=t,s=async function*(){for(let E of d)E.stream?yield*E.stream():yield E},o=`multipart/form-data; boundary=${c}`}else if(v7(t))i=t,n=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(mC.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:OUe(t)}if((typeof i=="string"||mC.isBuffer(i))&&(n=Buffer.byteLength(i)),s!=null){let c;r=new ReadableStream({async start(){c=s(t)[Symbol.asyncIterator]()},async pull(l){let{value:u,done:h}=await c.next();if(h)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!Q7(r)){let d=new Uint8Array(u);d.byteLength&&l.enqueue(d)}return l.desiredSize>0},async cancel(l){await c.return()},type:"bytes"})}return[{stream:r,source:i,length:n},o]}function jUe(t,e=!1){return t instanceof ReadableStream&&(bM(!mC.isDisturbed(t),"The body has already been consumed."),bM(!t.locked,"The stream is locked.")),D7(t,e)}function JUe(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}function YUe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function WUe(t){return{blob(){return om(this,r=>{let s=T7(this);return s===null?s="":s&&(s=VUe(s)),new qUe([r],{type:s})},t)},arrayBuffer(){return om(this,r=>new Uint8Array(r).buffer,t)},text(){return om(this,_7,t)},json(){return om(this,XUe,t)},formData(){return om(this,r=>{let s=T7(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let i=zUe(r,s);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let n=new R7;return n[am]=i,n}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),n=new R7;for(let[o,a]of i)n.append(o,a);return n}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return om(this,r=>new Uint8Array(r),t)}}}function KUe(t){Object.assign(t.prototype,WUe(t))}async function om(t,e,r){if(UUe.brandCheck(t,r),k7(t))throw new TypeError("Body is unusable: Body has already been read");YUe(t[am]);let s=MUe(),i=o=>s.reject(o),n=o=>{try{s.resolve(e(o))}catch(a){i(a)}};return t[am].body==null?(n(Buffer.allocUnsafe(0)),s.promise):(await LUe(t[am].body,n,i),s.promise)}function k7(t){let e=t[am].body;return e!=null&&(e.stream.locked||mC.isDisturbed(e.stream))}function XUe(t){return JSON.parse(_7(t))}function T7(t){let e=t[am].headersList,r=FUe(e);return r==="failure"?null:r}M7.exports={extractBody:D7,safelyExtractBody:jUe,cloneBody:JUe,mixinBody:KUe,streamRegistry:O7,hasFinalizationRegistry:P7,bodyUnusable:k7}});var J7=A((Ukt,j7)=>{"use strict";var Pe=require("node:assert"),Ge=it(),{channels:L7}=YA(),SM=nM(),{RequestContentLengthMismatchError:If,ResponseContentLengthMismatchError:ZUe,RequestAbortedError:V7,HeadersTimeoutError:eqe,HeadersOverflowError:tqe,SocketError:bB,InformationalError:lm,BodyTimeoutError:rqe,HTTPParserError:sqe,ResponseExceededMaxSizeError:iqe}=yt(),{kUrl:z7,kReset:an,kClient:vM,kParser:gr,kBlocking:EC,kRunning:Ks,kPending:nqe,kSize:F7,kWriting:kh,kQueue:va,kNoRef:gC,kKeepAliveDefaultTimeout:oqe,kHostHeader:aqe,kPendingIdx:cqe,kRunningIdx:To,kError:_o,kPipelining:CB,kSocket:um,kKeepAliveTimeoutValue:wB,kMaxHeadersSize:BM,kKeepAliveMaxTimeout:lqe,kKeepAliveTimeoutThreshold:uqe,kHeadersTimeout:hqe,kBodyTimeout:dqe,kStrictContentLength:RM,kMaxRequests:U7,kCounter:fqe,kMaxResponseSize:pqe,kOnError:Aqe,kResume:Dh,kHTTPContext:$7}=nr(),Ac=OZ(),mqe=Buffer.alloc(0),gB=Buffer[Symbol.species],yB=Ge.addListener,gqe=Ge.removeAllListeners,xM;async function yqe(){let t=process.env.JEST_WORKER_ID?cM():void 0,e;try{e=await WebAssembly.compile(MZ())}catch{e=await WebAssembly.compile(t||cM())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,s,i)=>0,wasm_on_status:(r,s,i)=>{Pe(is.ptr===r);let n=s-gc+mc.byteOffset;return is.onStatus(new gB(mc.buffer,n,i))||0},wasm_on_message_begin:r=>(Pe(is.ptr===r),is.onMessageBegin()||0),wasm_on_header_field:(r,s,i)=>{Pe(is.
2026-05-22 14:44:02 +00:00
`;if(typeof i=="string"?m+=`host: ${i}\r
2026-05-28 08:24:44 +00:00
`:m+=t[aqe],n?m+=`connection: upgrade\r
upgrade: ${n}\r
2026-05-28 08:24:44 +00:00
`:t[CB]&&!f[an]?m+=`connection: keep-alive\r
2026-05-22 14:44:02 +00:00
`:m+=`connection: close\r
`,Array.isArray(l))for(let E=0;E<l.length;E+=2){let y=l[E+0],C=l[E+1];if(Array.isArray(C))for(let w=0;w<C.length;w++)m+=`${y}: ${C[w]}\r
`;else m+=`${y}: ${C}\r
2026-05-28 08:24:44 +00:00
`}return L7.sendHeaders.hasSubscribers&&L7.sendHeaders.publish({request:e,headers:m,socket:f}),!c||d===0?G7(p,null,t,e,f,u,m,h):Ge.isBuffer(c)?G7(p,c,t,e,f,u,m,h):Ge.isBlobLike(c)?typeof c.stream=="function"?H7(p,c.stream(),t,e,f,u,m,h):Bqe(p,c,t,e,f,u,m,h):Ge.isStream(c)?Sqe(p,c,t,e,f,u,m,h):Ge.isIterable(c)?H7(p,c,t,e,f,u,m,h):Pe(!1),!0}function Sqe(t,e,r,s,i,n,o,a){Pe(n!==0||r[Ks]===0,"stream body cannot be pipelined");let c=!1,l=new SB({abort:t,socket:i,request:s,contentLength:n,client:r,expectsPayload:a,header:o}),u=function(p){if(!c)try{!l.write(p)&&this.pause&&this.pause()}catch(m){Ge.destroy(this,m)}},h=function(){c||e.resume&&e.resume()},d=function(){if(queueMicrotask(()=>{e.removeListener("error",f)}),!c){let p=new V7;queueMicrotask(()=>f(p))}},f=function(p){if(!c){if(c=!0,Pe(i.destroyed||i[kh]&&r[Ks]<=1),i.off("drain",h).off("error",f),e.removeListener("data",u).removeListener("end",f).removeListener("close",d),!p)try{l.end()}catch(m){p=m}l.destroy(p),p&&(p.code!=="UND_ERR_INFO"||p.message!=="reset")?Ge.destroy(e,p):Ge.destroy(e)}};e.on("data",u).on("end",f).on("error",f).on("close",d),e.resume&&e.resume(),i.on("drain",h).on("error",f),e.errorEmitted??e.errored?setImmediate(()=>f(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>f(null)),(e.closeEmitted??e.closed)&&setImmediate(d)}function G7(t,e,r,s,i,n,o,a){try{e?Ge.isBuffer(e)&&(Pe(n===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${o}content-length: ${n}\r
\r
2026-05-28 08:24:44 +00:00
`,"latin1"),i.write(e),i.uncork(),s.onBodySent(e),!a&&s.reset!==!1&&(i[an]=!0)):n===0?i.write(`${o}content-length: 0\r
\r
2026-05-22 14:44:02 +00:00
`,"latin1"):(Pe(n===null,"no body must not have content length"),i.write(`${o}\r
2026-05-28 08:24:44 +00:00
`,"latin1")),s.onRequestSent(),r[Dh]()}catch(c){t(c)}}async function Bqe(t,e,r,s,i,n,o,a){Pe(n===e.size,"blob body must have content length");try{if(n!=null&&n!==e.size)throw new If;let c=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${o}content-length: ${n}\r
\r
2026-05-28 08:24:44 +00:00
`,"latin1"),i.write(c),i.uncork(),s.onBodySent(c),s.onRequestSent(),!a&&s.reset!==!1&&(i[an]=!0),r[Dh]()}catch(c){t(c)}}async function H7(t,e,r,s,i,n,o,a){Pe(n!==0||r[Ks]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let d=c;c=null,d()}}let u=()=>new Promise((d,f)=>{Pe(c===null),i[_o]?f(i[_o]):c=d});i.on("close",l).on("drain",l);let h=new SB({abort:t,socket:i,request:s,contentLength:n,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(i[_o])throw i[_o];h.write(d)||await u()}h.end()}catch(d){h.destroy(d)}finally{i.off("close",l).off("drain",l)}}var SB=class{constructor({abort:e,socket:r,request:s,contentLength:i,client:n,expectsPayload:o,header:a}){this.socket=r,this.request=s,this.contentLength=i,this.client=n,this.bytesWritten=0,this.expectsPayload=o,this.header=a,this.abort=e,r[kh]=!0}write(e){let{socket:r,request:s,contentLength:i,client:n,bytesWritten:o,expectsPayload:a,header:c}=this;if(r[_o])throw r[_o];if(r.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(i!==null&&o+l>i){if(n[RM])throw new If;process.emitWarning(new If)}r.cork(),o===0&&(!a&&s.reset!==!1&&(r[an]=!0),i===null?r.write(`${c}transfer-encoding: chunked\r
`,"latin1"):r.write(`${c}content-length: ${i}\r
\r
`,"latin1")),i===null&&r.write(`\r
${l.toString(16)}\r
2026-05-28 08:24:44 +00:00
`,"latin1"),this.bytesWritten+=l;let u=r.write(e);return r.uncork(),s.onBodySent(e),u||r[gr].timeout&&r[gr].timeoutType===hm&&r[gr].timeout.refresh&&r[gr].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:s,bytesWritten:i,expectsPayload:n,header:o,request:a}=this;if(a.onRequestSent(),e[kh]=!1,e[_o])throw e[_o];if(!e.destroyed){if(i===0?n?e.write(`${o}content-length: 0\r
\r
`,"latin1"):e.write(`${o}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
2026-05-28 08:24:44 +00:00
`,"latin1"),r!==null&&i!==r){if(s[RM])throw new If;process.emitWarning(new If)}e[gr].timeout&&e[gr].timeoutType===hm&&e[gr].timeout.refresh&&e[gr].timeout.refresh(),s[Dh]()}}destroy(e){let{socket:r,client:s,abort:i}=this;r[kh]=!1,e&&(Pe(s[Ks]<=1,"pipeline should only contain this request"),i(e))}};j7.exports=Cqe});var ree=A((qkt,tee)=>{"use strict";var Qo=require("node:assert"),{pipeline:xqe}=require("node:stream"),lt=it(),{RequestContentLengthMismatchError:PM,RequestAbortedError:Y7,SocketError:CC,InformationalError:OM}=yt(),{kUrl:BB,kReset:NB,kClient:dm,kRunning:vB,kPending:Nqe,kQueue:Mh,kPendingIdx:DM,kRunningIdx:Ra,kError:_a,kSocket:ms,kStrictContentLength:vqe,kOnError:kM,kMaxConcurrentStreams:eee,kHTTP2Session:Ta,kResume:Lh,kSize:Rqe,kHTTPContext:Tqe}=nr(),ou=Symbol("open streams"),W7,K7=!1,xB;try{xB=require("node:http2")}catch{xB={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:_qe,HTTP2_HEADER_METHOD:Qqe,HTTP2_HEADER_PATH:Pqe,HTTP2_HEADER_SCHEME:Oqe,HTTP2_HEADER_CONTENT_LENGTH:Dqe,HTTP2_HEADER_EXPECT:kqe,HTTP2_HEADER_STATUS:Mqe}}=xB;function Lqe(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let i of s)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(s));return e}async function Fqe(t,e){t[ms]=e,K7||(K7=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=xB.connect(t[BB],{createConnection:()=>e,peerMaxConcurrentStreams:t[eee]});r[ou]=0,r[dm]=t,r[ms]=e,lt.addListener(r,"error",qqe),lt.addListener(r,"frameError",Gqe),lt.addListener(r,"end",Hqe),lt.addListener(r,"goaway",Vqe),lt.addListener(r,"close",function(){let{[dm]:i}=this,{[ms]:n}=i,o=this[ms][_a]||this[_a]||new CC("closed",lt.getSocketInfo(n));if(i[Ta]=null,i.destroyed){Qo(i[Nqe]===0);let a=i[Mh].splice(i[Ra]);for(let c=0;c<a.length;c++){let l=a[c];lt.errorRequest(i,l,o)}}}),r.unref(),t[Ta]=r,e[Ta]=r,lt.addListener(e,"error",function(i){Qo(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[_a]=i,this[dm][kM](i)}),lt.addListener(e,"end",function(){lt.destroy(this,new CC("other side closed",lt.getSocketInfo(this)))}),lt.addListener(e,"close",function(){let i=this[_a]||new CC("closed",lt.getSocketInfo(this));t[ms]=null,this[Ta]!=null&&this[Ta].destroy(i),t[DM]=t[Ra],Qo(t[vB]===0),t.emit("disconnect",t[BB],[t],i),t[Lh]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return $qe(t,...i)},resume(){Uqe(t)},destroy(i,n){s?queueMicrotask(n):e.destroy(i).on("close",n)},get destroyed(){return e.destroyed},busy(){return!1}}}function Uqe(t){let e=t[ms];e?.destroyed===!1&&(t[Rqe]===0&&t[eee]===0?(e.unref(),t[Ta].unref()):(e.ref(),t[Ta].ref()))}function qqe(t){Qo(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[ms][_a]=t,this[dm][kM](t)}function Gqe(t,e,r){if(r===0){let s=new OM(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[ms][_a]=s,this[dm][kM](s)}}function Hqe(){let t=new CC("other side closed",lt.getSocketInfo(this[ms]));this.destroy(t),lt.destroy(this[ms],t)}function Vqe(t){let e=this[_a]||new CC(`HTTP/2: "GOAWAY" frame received with code ${t}`,lt.getSocketInfo(this)),r=this[dm];if(r[ms]=null,r[Tqe]=null,this[Ta]!=null&&(this[Ta].destroy(e),this[Ta]=null),lt.destroy(this[ms],e),r[Ra]<r[Mh].length){let s=r[Mh][r[Ra]];r[Mh][r[Ra]++]=null,lt.errorRequest(r,s,e),r[DM]=r[Ra]}Qo(r[vB]===0),r.emit("disconnect",r[BB],[r],e),r[Lh]()}function zqe(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function $qe(t,e){let r=t[Ta],{method:s,path:i,host:n,upgrade:o,expectContinue:a,signal:c,headers:l}=e,{body:u}=e;if(o)return lt.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let h={};for(let B=0;B<l.length;B+=2){let N=l[B+0],P=l[B+1];if(Array.isArray(P))for(let Q=0;Q<P.length;Q++)h[N]?h[N]+=`,${P[Q]}`:h[N]=P[Q];else h[N]=P}let d,{hostname:f,port:p}=t[BB];h[_qe]=n||`${f}${p?`:${p}`:""}`,h[Qqe]=s;let m=B=>{e.aborted||e.completed||(B=B||new Y7,lt.errorRequest(t,e,B),d!=null&&lt.destroy(d,B),lt.destroy(u,B),t[Mh][t[Ra]++]=null,t[Lh]())};try{e.onConnect(m)}catch(B){lt.errorRequest(t,e,B)
`,this[yGe]=c??3e5,this[gGe]=i??3e5,this[EGe]=C??!0,this[CGe]=B,this[UM]=P,this[Uh]=null,this[BGe]=k>-1?k:-1,this[NGe]=L??100,this[Qr]=null,this[Qa]=[],this[cu]=0,this[Pa]=0,this[SC]=$=>GM(this,$),this[xGe]=$=>pee(this,$)}get pipelining(){return this[QB]}set pipelining(e){this[QB]=e,this[SC](!0)}get[NC](){return this[Qa].length-this[Pa]}get[xC](){return this[Pa]-this[cu]}get[BC](){return this[Qa].length-this[cu]}get[uGe](){return!!this[Qr]&&!this[pm]&&!this[Qr].destroyed}get[FM](){return!!(this[Qr]?.busy(null)||this[BC]>=(fee(this)||1)||this[NC]>0)}[lGe](e){Aee(this),this.once("connect",e)}[SGe](e,r){let s=e.origin||this[Ec].origin,i=new sGe(s,e,r);return this[Qa].push(i),this[wf]||(bf.bodyLength(i.body)==null&&bf.isIterable(i.body)?(this[wf]=1,queueMicrotask(()=>GM(this))):this[SC](!0)),this[wf]&&this[qh]!==2&&this[FM]&&(this[qh]=2),this[qh]<2}async[bGe](){return new Promise(e=>{this[BC]?this[Uh]=e:e(null)})}async[wGe](e){return new Promise(r=>{let s=this[Qa].splice(this[Pa]);for(let n=0;n<s.length;n++){let o=s[n];bf.errorRequest(this,o,e)}let i=()=>{this[Uh]&&(this[Uh](),this[Uh]=null),r(null)};this[Qr]?(this[Qr].destroy(e,i),this[Qr]=null):queueMicrotask(i),this[SC]()})}},TGe=_B();function pee(t,e){if(t[xC]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){au(t[Pa]===t[cu]);let r=t[Qa].splice(t[cu]);for(let s=0;s<r.length;s++){let i=r[s];bf.errorRequest(t,i,e)}au(t[BC]===0)}}async function Aee(t){au(!t[pm]),au(!t[Qr]);let{host:e,hostname:r,protocol:s,port:i}=t[Ec];if(r[0]==="["){let n=r.indexOf("]");au(n!==-1);let o=r.substring(1,n);au(dee.isIP(o)),r=o}t[pm]=!0,fm.beforeConnect.hasSubscribers&&fm.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:i,version:t[Qr]?.version,servername:t[Fh],localAddress:t[wC]},connector:t[bC]});try{let n=await new Promise((o,a)=>{t[bC]({host:e,hostname:r,protocol:s,port:i,servername:t[Fh],localAddress:t[wC]},(c,l)=>{c?a(c):o(l)})});if(t.destroyed){bf.destroy(n.on("error",uee),new oGe);return}au(n);try{t[Qr]=n.alpnProtocol==="h2"?await RGe(t,n):await vGe(t,n)}catch(o){throw n.destroy().on("error",uee),o}t[pm]=!1,n[IGe]=0,n[UM]=t[UM],n[cGe]=t,n[dGe]=null,fm.connected.hasSubscribers&&fm.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:i,version:t[Qr]?.version,servername:t[Fh],localAddress:t[wC]},connector:t[bC],socket:n}),t.emit("connect",t[Ec],[t])}catch(n){if(t.destroyed)return;if(t[pm]=!1,fm.connectError.hasSubscribers&&fm.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:i,version:t[Qr]?.version,servername:t[Fh],localAddress:t[wC]},connector:t[bC],error:n}),n.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(au(t[xC]===0);t[NC]>0&&t[Qa][t[Pa]].servername===t[Fh];){let o=t[Qa][t[Pa]++];bf.errorRequest(t,o,n)}else pee(t,n);t.emit("connectionError",t[Ec],[t],n)}t[SC]()}function hee(t){t[qh]=0,t.emit("drain",t[Ec],[t])}function GM(t,e){t[wf]!==2&&(t[wf]=2,_Ge(t,e),t[wf]=0,t[cu]>256&&(t[Qa].splice(0,t[cu]),t[Pa]-=t[cu],t[cu]=0))}function _Ge(t,e){for(;;){if(t.destroyed){au(t[NC]===0);return}if(t[Uh]&&!t[BC]){t[Uh](),t[Uh]=null;return}if(t[Qr]&&t[Qr].resume(),t[FM])t[qh]=2;else if(t[qh]===2){e?(t[qh]=1,queueMicrotask(()=>hee(t))):hee(t);continue}if(t[NC]===0||t[xC]>=(fee(t)||1))return;let r=t[Qa][t[Pa]];if(t[Ec].protocol==="https:"&&t[Fh]!==r.servername){if(t[xC]>0)return;t[Fh]=r.servername,t[Qr]?.destroy(new nGe("servername changed"),()=>{t[Qr]=null,GM(t)})}if(t[pm])return;if(!t[Qr]){Aee(t);return}if(t[Qr].destroyed||t[Qr].busy(r))return;!r.aborted&&t[Qr].write(r)?t[Pa]++:t[Qa].splice(t[Pa],1)}}mee.exports=qM});var HM=A(($kt,gee)=>{"use strict";var PB=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};gee.exports=class{constructor(){this.head=this.tail=new PB}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head
${s.count} ${s.noun} ${s.is} pending:
${e.format(r)}
2026-05-28 08:24:44 +00:00
`.trim())}};Dre.exports=WL});var KB=A((bMt,Ure)=>{"use strict";var Mre=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:y8e}=yt(),E8e=gm();Fre()===void 0&&Lre(new E8e);function Lre(t){if(!t||typeof t.dispatch!="function")throw new y8e("Argument agent must implement Agent");Object.defineProperty(globalThis,Mre,{value:t,writable:!0,enumerable:!1,configurable:!1})}function Fre(){return globalThis[Mre]}Ure.exports={setGlobalDispatcher:Lre,getGlobalDispatcher:Fre}});var XB=A((SMt,qre)=>{"use strict";qre.exports=class{#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var Hre=A((BMt,Gre)=>{"use strict";var C8e=TB();Gre.exports=t=>{let e=t?.maxRedirections;return r=>function(i,n){let{maxRedirections:o=e,...a}=i;if(!o)return r(i,n);let c=new C8e(r,o,i,n);return r(a,c)}}});var zre=A((xMt,Vre)=>{"use strict";var I8e=qB();Vre.exports=t=>e=>function(s,i){return e(s,new I8e({...s,retryOptions:{...t,...s.retryOptions}},{handler:i,dispatch:e}))}});var jre=A((NMt,$re)=>{"use strict";var b8e=it(),{InvalidArgumentError:w8e,RequestAbortedError:S8e}=yt(),B8e=XB(),KL=class extends B8e{#e=1024*1024;#t=null;#s=!1;#r=!1;#i=0;#n=null;#u=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new w8e("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#u=r}onConnect(e){this.#t=e,this.#u.onConnect(this.#l.bind(this))}#l(e){this.#r=!0,this.#n=e}onHeaders(e,r,s,i){let o=b8e.parseHeaders(r)["content-length"];if(o!=null&&o>this.#e)throw new S8e(`Response size (${o}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#u.onHeaders(e,r,s,i)}onError(e){this.#s||(e=this.#n??e,this.#u.onError(e))}onData(e){return this.#i=this.#i+e.length,this.#i>=this.#e&&(this.#s=!0,this.#r?this.#u.onError(this.#n):this.#u.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#u.onError(this.reason);return}this.#u.onComplete(e)}}};function x8e({maxSize:t}={maxSize:1024*1024}){return e=>function(s,i){let{dumpMaxSize:n=t}=s,o=new KL({maxSize:n},i);return e(s,o)}}$re.exports=x8e});var Wre=A((vMt,Yre)=>{"use strict";var{isIP:N8e}=require("node:net"),{lookup:v8e}=require("node:dns"),R8e=XB(),{InvalidArgumentError:Nm,InformationalError:T8e}=yt(),Jre=Math.pow(2,31)-1,XL=class{#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.#i}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let i=this.#s.get(e.hostname);if(i==null&&this.full){s(null,e.origin);return}let n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,n,(o,a)=>{if(o||a==null||a.length===0){s(o??new T8e("No DNS entries found"));return}this.setRecords(e,a);let c=this.#s.get(e.hostname),l=this.pick(e,c,n.affinity),u;typeof l.port=="number"?u=`:${l.port}`:e.port!==""?u=`:${e.port}`:u="",s(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${u}`)});else{let o=this.pick(e,i,n.affinity);if(o==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let a;typeof o.port=="number"?a=`:${o.port}`:e.port!==""?a=`:${e.port}`:a="",s(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)}}#r(e,r,s){v8e(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,n)=>{if(i)return s(i);let o=new Map;for(let a of n)o.set(`${a.address}:${a.family}`,a);s(null,o.values())})}#i(e,r,s){let i=null,{records:n,offset:o}=r,a;if(this.dualStack?(s==null&&(o==null||o===Jre?(r.offset=0,s=4):(r
${n}`;break;case"retry":Rne(n)&&(r[i]=n);break;case"id":Tne(n)&&(r[i]=n);break;case"event":n.length>0&&(r[i]=n);break}}processEvent(e){e.retry&&Rne(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&Tne(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}}};_ne.exports={EventSourceStream:F2}});var Une=A((nLt,Fne)=>{"use strict";var{pipeline:F5e}=require("node:stream"),{fetching:U5e}=GC(),{makeRequest:q5e}=Tm(),{webidl:fu}=Us(),{EventSourceStream:G5e}=Qne(),{parseMIMEType:H5e}=on(),{createFastMessageEvent:V5e}=km(),{isNetworkError:Pne}=UC(),{delay:z5e}=M2(),{kEnumerableProperty:Ff}=it(),{environmentSettingsObject:One}=Un(),Dne=!1,kne=3e3,tI=0,Mne=1,rI=2,$5e="anonymous",j5e="use-credentials",qm=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#s=!1;#r=tI;#i=null;#n=null;#u;#l;constructor(e,r={}){super(),fu.util.markAsUncloneable(this);let s="EventSource constructor";fu.argumentLengthCheck(arguments,1,s),Dne||(Dne=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=fu.converters.USVString(e,s,"url"),r=fu.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#u=r.dispatcher,this.#l={lastEventId:"",reconnectionTime:kne};let i=One,n;try{n=new URL(e,i.settingsObject.baseUrl),this.#l.origin=n.origin}catch(c){throw new DOMException(c,"SyntaxError")}this.#t=n.href;let o=$5e;r.withCredentials&&(o=j5e,this.#s=!0);let a={redirect:"follow",keepalive:!0,mode:"cors",credentials:o==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=One.settingsObject,a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],a.cache="no-store",a.initiator="other",a.urlList=[new URL(this.#t)],this.#i=q5e(a),this.#a()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#a(){if(this.#r===rI)return;this.#r=tI;let e={request:this.#i,dispatcher:this.#u},r=s=>{Pne(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#f()};e.processResponseEndOfBody=r,e.processResponse=s=>{if(Pne(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#f();return}let i=s.headersList.get("content-type",!0),n=i!==null?H5e(i):"failure",o=n!=="failure"&&n.essence==="text/event-stream";if(s.status!==200||o===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=Mne,this.dispatchEvent(new Event("open")),this.#l.origin=s.urlList[s.urlList.length-1].origin;let a=new G5e({eventSourceSettings:this.#l,push:c=>{this.dispatchEvent(V5e(c.type,c.options))}});F5e(s.body.stream,a,c=>{c?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=U5e(e)}async#f(){this.#r!==rI&&(this.#r=tI,this.dispatchEvent(new Event("error")),await z5e(this.#l.reconnectionTime),this.#r===tI&&(this.#l.lastEventId.length&&this.#i.headersList.set("last-event-id",this.#l.lastEventId,!0),this.#a()))}close(){fu.brandCheck(this,t),this.#r!==rI&&(this.#r=rI,this.#n.abort(),this.#i=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}},Lne={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:tI,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Mne,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:rI,writable:!1}};Object.defineProperties(qm,Lne);Object.definePropert
%s`,N,N,C,s);var P=C.type==="*"?jF:C.type==="?"?$F:"\\"+C.type;i=!0,s=s.slice(0,C.reStart)+P+"\\("+N}p(),n&&(s+="\\\\");var Q=!1;switch(s.charAt(0)){case"[":case".":case"(":Q=!0}for(var k=a.length-1;k>-1;k--){var G=a[k],Z=s.slice(0,G.reStart),L=s.slice(G.reStart,G.reEnd-8),F=s.slice(G.reEnd-8,G.reEnd),q=s.slice(G.reEnd);F+=q;var $=Z.split("(").length-1,re=q;for(m=0;m<$;m++)re=re.replace(/\)[+*?]?/,"");q=re;var Qe="";q===""&&e!==cN&&(Qe="$");var we=Z+L+q+Qe+F;s=we}if(s!==""&&i&&(s="(?=.)"+s),Q&&(s=d+s),e===cN)return[s,i];if(!i)return kYe(t);var le=r.nocase?"i":"";try{var ct=new RegExp("^"+s+"$",le)}catch{return new RegExp("$.")}return ct._glob=t,ct._src=s,ct}Wn.makeRe=function(t,e){return new Wr(t,e||{}).makeRe()};Wr.prototype.makeRe=DYe;function DYe(){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?jF:e.dot?NYe:vYe,s=e.nocase?"i":"",i=t.map(function(n){return n.map(function(o){return o===$f?r:typeof o=="string"?MYe(o):o._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,s)}catch{this.regexp=!1}return this.regexp}Wn.match=function(t,e,r){r=r||{};var s=new Wr(e,r);return t=t.filter(function(i){return s.match(i)}),s.options.nonull&&!t.length&&t.push(e),t};Wr.prototype.match=function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var s=this.options;RI.sep!=="/"&&(e=e.split(RI.sep).join("/")),e=e.split(Xce),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var n,o;for(o=e.length-1;o>=0&&(n=e[o],!n);o--);for(o=0;o<i.length;o++){var a=i[o],c=e;s.matchBase&&a.length===1&&(c=[n]);var l=this.matchOne(c,a,r);if(l)return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate};Wr.prototype.matchOne=function(t,e,r){return e.indexOf($f)!==-1?this._matchGlobstar(t,e,r,0,0):this._matchOne(t,e,r,0,0)};Wr.prototype._matchGlobstar=function(t,e,r,s,i){var n,o=-1;for(n=i;n<e.length;n++)if(e[n]===$f){o=n;break}var a=-1;for(n=e.length-1;n>=0;n--)if(e[n]===$f){a=n;break}var c=e.slice(i,o),l=r?e.slice(o+1):e.slice(o+1,a),u=r?[]:e.slice(a+1);if(c.length){var h=t.slice(s,s+c.length);if(!this._matchOne(h,c,r,0,0))return!1;s+=c.length}var d=0;if(u.length){if(u.length+s>t.length)return!1;var f=t.length-u.length;if(this._matchOne(t,u,r,f,0))d=u.length;else{if(t[t.length-1]!==""||s+u.length===t.length||(f--,!this._matchOne(t,u,r,f,0)))return!1;d=u.length+1}}if(!l.length){var p=!!d;for(n=s;n<t.length-d;n++){var m=String(t[n]);if(p=!0,m==="."||m===".."||!this.options.dot&&m.charAt(0)===".")return!1}return r||p}for(var E=[[[],0]],y=E[0],C=0,w=[0],B=0;B<l.length;B++){var N=l[B];N===$f?(w.push(C),y=[[],0],E.push(y)):(y[0].push(N),C++)}for(var P=E.length-1,Q=t.length-d,k=0;k<E.length;k++)E[k][1]=Q-(w[P--]+E[k][0].length);return!!this._matchGlobStarBodySections(t,E,s,0,r,0,!!d)};Wr.prototype._matchGlobStarBodySections=function(t,e,r,s,i,n,o){var a=e[s];if(!a){for(var c=r;c<t.length;c++){o=!0;var l=t[c];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)===".")return!1}return o}for(var u=a[0],h=a[1];r<=h;){var d=this._matchOne(t.slice(0,r+u.length),u,i,r,0);if(d&&n<this.maxGlobstarRecursion){var f=this._matchGlobStarBodySections(t,e,r+u.length,s+1,i,n+1,o);if(f!==!1)return f}var l=t[r];if(l==="."||l===".."||!this.options.dot&&l.charAt(0)===".")return!1;r++}return i||null};Wr.prototype._matchOne=function(t,e,r,s,i){var n,o,a,c;for(n=s,o=i,a=t.length,c=e.length;n<a&&o<c;n++,o++){this.debug("matchOne loop");var l=e[o],u=t[n];if(this.debug(e,l,u),l===!1||l===$f)return!1;var h;if(typeof l=="string"?(h=u===l,this.debug("string match",l,u,h)):(h=u.match(l),this.debug("pattern match",l,u,h)),!h)return!1}if(n===a&&o===c)return!0;if(n===a)return r;if(o===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function kYe(t){return t.replace(/\\(.)/g,"$1")}function MYe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var QI=A((kUt,nle)=>{"use strict";var zYe="2.0.0"
`).join(`
2026-05-28 08:24:44 +00:00
`+n),t.push(i+"m+"+WN.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=RXe()+e+" "+t[0]}function RXe(){return Hs.inspectOpts.hideDate?"":new Date().toISOString()+" "}function TXe(...t){return process.stderr.write(YN.format(...t)+`
`)}function _Xe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function QXe(){return process.env.DEBUG}function PXe(t){t.inspectOpts={};let e=Object.keys(Hs.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Hs.inspectOpts[e[r]]}WN.exports=DU()(Hs);var{formatters:qhe}=WN.exports;qhe.o=function(t){return this.inspectOpts.colors=this.useColors,YN.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};qhe.O=function(t){return this.inspectOpts.colors=this.useColors,YN.inspect(t,this.inspectOpts)}});var sp=A((ZGt,FU)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?FU.exports=khe():FU.exports=Ghe()});var zhe=A(pn=>{"use strict";var OXe=pn&&pn.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),DXe=pn&&pn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Hhe=pn&&pn.__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)&&OXe(e,t,r);return DXe(e,t),e};Object.defineProperty(pn,"__esModule",{value:!0});pn.req=pn.json=pn.toBuffer=void 0;var kXe=Hhe(require("http")),MXe=Hhe(require("https"));async function Vhe(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}pn.toBuffer=Vhe;async function LXe(t){let r=(await Vhe(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let i=s;throw i.message+=` (input: ${r})`,i}}pn.json=LXe;function FXe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?MXe:kXe).request(t,e),i=new Promise((n,o)=>{s.once("response",n).once("error",o).end()});return s.then=i.then.bind(i),s}pn.req=FXe});var Yhe=A(eo=>{"use strict";var jhe=eo&&eo.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),UXe=eo&&eo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Jhe=eo&&eo.__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)&&jhe(e,t,r);return UXe(e,t),e},qXe=eo&&eo.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&jhe(e,t,r)};Object.defineProperty(eo,"__esModule",{value:!0});eo.Agent=void 0;var GXe=Jhe(require("net")),$he=Jhe(require("http")),HXe=require("https");qXe(zhe(),eo);var Qc=Symbol("AgentBaseInternalState"),UU=class extends $he.Agent{constructor(e){super(e),this[Qc]={}}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 GXe.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],i=s.indexOf(r);i!==-1&&(s.splice(i,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?HXe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},n=this.getName(i),o=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(n,o),a instanceof $he.Agent)try{return a.addRequest(e,i)}catch(c){return s(c)}this[Qc].currentSocket=a,super.createSocket(e,r,s)},a=>{this.decrementSockets(n,o),s(a)})}createConnection(){let e=this[Qc].currentSocket;if(this[Qc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Qc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Qc]&&(this[Qc].defaultPort=e)}get protocol(){return this[Qc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Qc]&&(this[Qc].protocol=e)}};eo.Agent=UU});var Whe=A(ug=>{"use strict";var VXe=ug&&ug.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ug,"__esModule",{value:!0});ug.parseProxyResponse=void 0;var zXe=VXe(sp()),KN=(0,zXe.default)("https-proxy-agent:parse-proxy-response");function $Xe(t){return new Promise((e,r)=>{let s=0,i=[];function n(){let u=t.read();u?l(u):t.once("readable",n)}function o(){t.removeListener("end",a),t.removeListener("error",c),t.removeListener("readable",n)}function a(){o(),KN("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function c(u){o(),KN("onerror %o",u),r(u)}function l(u){i.push(u),s+=u.length;let h=Buffer.concat(i,s),d=h.indexOf(`\r
\r
2026-05-22 14:44:02 +00:00
`);if(d===-1){KN("have not received end of HTTP headers yet..."),n();return}let f=h.slice(0,d).toString("ascii").split(`\r
2026-05-28 08:24:44 +00:00
`),p=f.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=p.split(" "),E=+m[1],y=m.slice(2).join(" "),C={};for(let w of f){if(!w)continue;let B=w.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let N=w.slice(0,B).toLowerCase(),P=w.slice(B+1).trimStart(),Q=C[N];typeof Q=="string"?C[N]=[Q,P]:Array.isArray(Q)?Q.push(P):C[N]=P}KN("got proxy server response: %o %o",p,C),o(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:h})}t.on("error",c),t.on("end",a),n()})}ug.parseProxyResponse=$Xe});var rde=A(zo=>{"use strict";var jXe=zo&&zo.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),JXe=zo&&zo.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ede=zo&&zo.__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)&&jXe(e,t,r);return JXe(e,t),e},tde=zo&&zo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(zo,"__esModule",{value:!0});zo.HttpsProxyAgent=void 0;var XN=ede(require("net")),Khe=ede(require("tls")),YXe=tde(require("assert")),WXe=tde(sp()),KXe=Yhe(),XXe=require("url"),ZXe=Whe(),jI=(0,WXe.default)("https-proxy-agent"),Xhe=t=>t.servername===void 0&&t.host&&!XN.isIP(t.host)?{...t,servername:t.host}:t,ZN=class extends KXe.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new XXe.URL(e):e,this.proxyHeaders=r?.headers??{},jI("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?Zhe(r,"headers"):null,host:s,port:i}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let i;s.protocol==="https:"?(jI("Creating `tls.Socket`: %o",this.connectOpts),i=Khe.connect(Xhe(this.connectOpts))):(jI("Creating `net.Socket`: %o",this.connectOpts),i=XN.connect(this.connectOpts));let n=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=XN.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
2026-05-22 14:44:02 +00:00
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}n.Host=`${o}:${r.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(n))a+=`${d}: ${n[d]}\r
2026-05-28 08:24:44 +00:00
`;let c=(0,ZXe.parseProxyResponse)(i);i.write(`${a}\r
`);let{connect:l,buffered:u}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200)return e.once("socket",eZe),r.secureEndpoint?(jI("Upgrading socket connection to TLS"),Khe.connect({...Zhe(Xhe(r),"host","path","port"),socket:i})):i;i.destroy();let h=new XN.Socket({writable:!1});return h.readable=!0,e.once("socket",d=>{jI("Replaying proxy buffer for failed request"),(0,YXe.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),h}};ZN.protocols=["http","https"];zo.HttpsProxyAgent=ZN;function eZe(t){t.resume()}function Zhe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var nde=A(An=>{"use strict";var tZe=An&&An.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),rZe=An&&An.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),sde=An&&An.__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)&&tZe(e,t,r);return rZe(e,t),e};Object.defineProperty(An,"__esModule",{value:!0});An.req=An.json=An.toBuffer=void 0;var sZe=sde(require("http")),iZe=sde(require("https"));async function ide(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}An.toBuffer=ide;async function nZe(t){let r=(await ide(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let i=s;throw i.message+=` (input: ${r})`,i}}An.json=nZe;function oZe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?iZe:sZe).request(t,e),i=new Promise((n,o)=>{s.once("response",n).once("error",o).end()});return s.then=i.then.bind(i),s}An.req=oZe});var JI=A(to=>{"use strict";var ade=to&&to.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),aZe=to&&to.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cde=to&&to.__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)&&ade(e,t,r);return aZe(e,t),e},cZe=to&&to.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&ade(e,t,r)};Object.defineProperty(to,"__esModule",{value:!0});to.Agent=void 0;var lZe=cde(require("net")),ode=cde(require("http")),uZe=require("https");cZe(nde(),to);var Pc=Symbol("AgentBaseInternalState"),qU=class extends ode.Agent{constructor(e){super(e),this[Pc]={}}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 lZe.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],i=s.indexOf(r);i!==-1&&(s.splice(i,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?uZe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},n=this.getName(i),o=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(n,o),a instanceof ode.Agent)return a.addRequest(e,i);this[Pc].currentSocket=a,super.createSocket(e,r,s)},a=>{this.decrementSockets(n,o),s(a)})}createConnection(){let e=this[Pc].currentSocket;if(this[Pc].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Pc].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Pc]&&(this[Pc].defaultPort=e)}get protocol(){return this[Pc].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Pc]&&(this[Pc].protocol=e)}};to.Agent=qU});var GU=A($o=>{"use strict";var hZe=$o&&$o.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),dZe=$o&&$o.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ude=$o&&$o.__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)&&hZe(e,t,r);return dZe(e,t),e},fZe=$o&&$o.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty($o,"__esModule",{value:!0});$o.HttpProxyAgent=void 0;var pZe=ude(require("net")),AZe=ude(require("tls")),mZe=fZe(sp()),gZe=require("events"),yZe=JI(),lde=require("url"),hg=(0,mZe.default)("http-proxy-agent"),ev=class extends yZe.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new lde.URL(e):e,this.proxyHeaders=r?.headers??{},hg("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?EZe(r,"headers"):null,host:s,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,i=r.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",o=`${i}//${n}`,a=new lde.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let c=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let l=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;c["Proxy-Authorization"]=`Basic ${Buffer.from(l).toString("base64")}`}c["Proxy-Connection"]||(c["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let l of Object.keys(c)){let u=c[l];u&&e.setHeader(l,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,i;hg("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(hg("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,i=s.indexOf(`\r
\r
2026-05-28 08:24:44 +00:00
`)+4,e.outputData[0].data=e._header+s.substring(i),hg("Output buffer: %o",e.outputData[0].data));let n;return this.proxy.protocol==="https:"?(hg("Creating `tls.Socket`: %o",this.connectOpts),n=AZe.connect(this.connectOpts)):(hg("Creating `net.Socket`: %o",this.connectOpts),n=pZe.connect(this.connectOpts)),await(0,gZe.once)(n,"connect"),n}};ev.protocols=["http","https"];$o.HttpProxyAgent=ev;function EZe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var Qde=A(pv=>{"use strict";Object.defineProperty(pv,"__esModule",{value:!0});pv.state=void 0;pv.state={instrumenterImplementation:void 0}});var Yde=A(Ev=>{"use strict";Object.defineProperty(Ev,"__esModule",{value:!0});Ev.state=void 0;Ev.state={operationRequestMap:new WeakMap}});var NAe=A(Rg=>{"use strict";Object.defineProperty(Rg,"__esModule",{value:!0});var qst=require("os"),Gst=require("util");function Hst(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Vst=Hst(Gst);function zst(t,...e){process.stderr.write(`${Vst.default.format(t,...e)}${qst.EOL}`)}var gAe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,EAe,C8=[],I8=[],LR=[];gAe&&b8(gAe);var CAe=Object.assign(t=>IAe(t),{enable:b8,enabled:w8,disable:$st,log:zst});function b8(t){EAe=t,C8=[],I8=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?I8.push(new RegExp(`^${s.substr(1)}$`)):C8.push(new RegExp(`^${s}$`));for(let s of LR)s.enabled=w8(s.namespace)}function w8(t){if(t.endsWith("*"))return!0;for(let e of I8)if(e.test(t))return!1;for(let e of C8)if(e.test(t))return!0;return!1}function $st(){let t=EAe||"";return b8(""),t}function IAe(t){let e=Object.assign(r,{enabled:w8(t),destroy:jst,log:CAe.log,namespace:t,extend:Jst});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return LR.push(e),e}function jst(){let t=LR.indexOf(this);return t>=0?(LR.splice(t,1),!0):!1}function Jst(t){let e=IAe(`${this.namespace}:${t}`);return e.log=this.log,e}var D0=CAe,bAe=new Set,kR=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,FR,UR=D0("azure");UR.log=(...t)=>{D0.log(...t)};var S8=["verbose","info","warning","error"];kR&&(xAe(kR)?wAe(kR):console.error(`AZURE_LOG_LEVEL set to unknown log level '${kR}'; logging is not enabled. Acceptable values: ${S8.join(", ")}.`));function wAe(t){if(t&&!xAe(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${S8.join(",")}`);FR=t;let e=[];for(let r of bAe)BAe(r)&&e.push(r.namespace);D0.enable(e.join(","))}function Yst(){return FR}var yAe={verbose:400,info:300,warning:200,error:100};function Wst(t){let e=UR.extend(t);return SAe(UR,e),{error:MR(e,"error"),warning:MR(e,"warning"),info:MR(e,"info"),verbose:MR(e,"verbose")}}function SAe(t,e){e.log=(...r)=>{t.log(...r)}}function MR(t,e){let r=Object.assign(t.extend(e),{level:e});if(SAe(t,r),BAe(r)){let s=D0.disable();D0.enable(s+","+r.namespace)}return bAe.add(r),r}function BAe(t){return!!(FR&&yAe[t.level]<=yAe[FR])}function xAe(t){return S8.includes(t)}Rg.AzureLogger=UR;Rg.createClientLogger=Wst;Rg.getLogLevel=Yst;Rg.setLogLevel=wAe});var N8=A(M0=>{"use strict";Object.defineProperty(M0,"__esModule",{value:!0});var Tg=new WeakMap,qR=new WeakMap,k0=class t{constructor(){this.onabort=null,Tg.set(this,[]),qR.set(this,!1)}get aborted(){if(!qR.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return qR.get(this)}static get none(){return new t}addEventListener(e,r){if(!Tg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Tg.get(this).push(r)}removeEventListener(e,r){if(!Tg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Tg.get(this),i=s.indexOf(r);i>-1&&s.splice(i,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function vAe(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Tg.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),qR.set(t,!0)}var B8=class extends Error{constructor(e){super(e),t
Polling from: ${r.config.operationLocation}
Operation status: ${u}
2026-05-28 08:24:44 +00:00
Polling status: ${MAe.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let h=o(l,r);if(h!==void 0)return{response:await e(h).catch(DAe({state:r,stateProxy:s,isOperationError:a})),status:u}}return{response:l,status:u}}async function qAe(t){let{poll:e,state:r,stateProxy:s,options:i,getOperationStatus:n,getResourceLocation:o,getOperationLocation:a,isOperationError:c,withOperationLocation:l,getPollingInterval:u,processResult:h,getError:d,updateState:f,setDelay:p,isDone:m,setErrorAsResult:E}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:C,status:w}=await fit({poll:e,getOperationStatus:n,state:r,stateProxy:s,operationLocation:y,getResourceLocation:o,isOperationError:c,options:i});if(FAe({status:w,response:C,state:r,stateProxy:s,isDone:m,processResult:h,getError:d,setErrorAsResult:E}),!MAe.includes(w)){let B=u?.(C);B&&p(B);let N=a?.(C,r);if(N!==void 0){let P=y!==N;r.config.operationLocation=N,l?.(N,P)}else l?.(y,!1)}f?.(r,C)}}function GAe(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function HAe(t){return t.headers.location}function VAe(t){return t.headers["operation-location"]}function zAe(t){return t.headers["azure-asyncoperation"]}function pit(t){let{location:e,requestMethod:r,requestPath:s,resourceLocationConfig:i}=t;switch(r){case"PUT":return s;case"DELETE":return;default:switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return e}}}function $Ae(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:i}=t,n=VAe(e),o=zAe(e),a=GAe({operationLocation:n,azureAsyncOperation:o}),c=HAe(e),l=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:pit({requestMethod:l,location:c,requestPath:s,resourceLocationConfig:i})}:c!==void 0?{mode:"ResourceLocation",operationLocation:c}:l==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}function jAe(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 D8(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 Ip.verbose(`LRO: unrecognized operation status: ${e}`),e}}function Ait(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return jAe({status:r,statusCode:t.statusCode})}function mit(t){var e,r;let{properties:s,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},n=(r=s?.provisioningState)!==null&&r!==void 0?r:i;return jAe({status:n,statusCode:t.statusCode})}function D8(t){return t===202?"running":t<300?"succeeded":"failed"}function JAe({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?git(new Date(e)):r*1e3}}function YAe(t){let e=t.flatResponse.error;if(!e){Ip.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Ip.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}function git(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}function WAe(t){let{response:e,state:r,operationLocation:s}=t;function i(){var o;switch((o=r.config.metadata)===null||o===void 0?void 0:o.mode){case void 0:return D8(e.rawResponse.statusCode);case"Body":return k8(e,r);default:return"running"}}let n=i();return n==="running"&&s===void 0?"succeeded":n}async function yit(t){let{stateProxy:e,resourceLocationConfig:r,processResult:s,lro:i,setErrorAsResult:n}=t;return UAe({init:async()=>{let o=await i.sendInitialRequest(),a=$Ae({rawResponse:o.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:o,operat
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:o=n,i=1;break;case 1:r[s++]=o<<2|(n&48)>>4,o=n,i=2;break;case 2:r[s++]=(o&15)<<4|(n&60)>>2,o=n,i=3;break;case 3:r[s++]=(o&3)<<6|n,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,s)}kg.base64decode=tnt;function rnt(t){let e="",r=0,s,i=0;for(let n=0;n<t.length;n++)switch(s=t[n],r){case 0:e+=Qu[s>>2],i=(s&3)<<4,r=1;break;case 1:e+=Qu[i|s>>4],i=(s&15)<<2,r=2;break;case 2:e+=Qu[i|s>>6],e+=Qu[s&63],r=0;break}return r&&(e+=Qu[i],e+="=",r==1&&(e+="=")),e}kg.base64encode=rnt});var Nme=A(oT=>{"use strict";Object.defineProperty(oT,"__esModule",{value:!0});oT.utf8read=void 0;var $8=t=>String.fromCharCode.apply(String,t);function snt(t){if(t.length<1)return"";let e=0,r=[],s=[],i=0,n,o=t.length;for(;e<o;)n=t[e++],n<128?s[i++]=n:n>191&&n<224?s[i++]=(n&31)<<6|t[e++]&63:n>239&&n<365?(n=((n&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[i++]=55296+(n>>10),s[i++]=56320+(n&1023)):s[i++]=(n&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push($8(s)),i=0);return r.length?(i&&r.push($8(s.slice(0,i))),r.join("")):$8(s.slice(0,i))}oT.utf8read=snt});var z0=A(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.WireType=nl.mergeBinaryOptions=nl.UnknownFieldHandler=void 0;var int;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,i,n,o)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:i,wireType:n,data:o})},t.onWrite=(r,s,i)=>{for(let{no:n,wireType:o,data:a}of t.list(s))i.tag(n,o).raw(a)},t.list=(r,s)=>{if(e(r)){let i=r[t.symbol];return s?i.filter(n=>n.no==s):i}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=r=>r&&Array.isArray(r[t.symbol])})(int=nl.UnknownFieldHandler||(nl.UnknownFieldHandler={}));function nnt(t,e){return Object.assign(Object.assign({},t),e)}nl.mergeBinaryOptions=nnt;var ont;(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"})(ont=nl.WireType||(nl.WireType={}))});var cT=A(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.varint32read=bn.varint32write=bn.int64toString=bn.int64fromString=bn.varint64write=bn.varint64read=void 0;function ant(){let t=0,e=0;for(let s=0;s<28;s+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<s,(i&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<s,(i&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}bn.varint64read=ant;function cnt(t,e,r){for(let n=0;n<28;n=n+7){let o=t>>>n,a=!(!(o>>>7)&&e==0),c=(a?o|128:o)&255;if(r.push(c),!a)return}let s=t>>>28&15|(e&7)<<4,i=e>>3!=0;if(r.push((i?s|128:s)&255),!!i){for(let n=3;n<31;n=n+7){let o=e>>>n,a=!!(o>>>7),c=(a?o|128:o)&255;if(r.push(c),!a)return}r.push(e>>>31&1)}}bn.varint64write=cnt;var aT=65536*65536;function lnt(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,i=0;function n(o,a){let c=Number(t.slice(o,a));i*=r,s=s*r+c,s>=aT&&(i=i+(s/aT|0),s=s%aT)}return n(-24,-18),n(-18,-12),n(-12,-6),n(-6),[e,s,i]}bn.int64fromString=lnt;function unt(t,e){if(e>>>0<=2097151)return""+(aT*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,n=r+s*6777216+i*6710656,o=s+i*8147497,a=i*2,c=1e7;n>=c&&(o+=Math.floor(n/c),n%=c),o>=c&&(a+=Math.floor(o/c),o%=c);function l(u,h){let d=u?String(u):"";return h?"0000000".slice(d.length)+d:d}return l(a,0)+l(o,a)+l(n,1)}bn.int64toString=unt;function hnt(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)}}bn.varint32write=hnt;function dnt(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.bu
`)}};DT.RpcError=EV});var IV=A(MT=>{"use strict";Object.defineProperty(MT,"__esModule",{value:!0});MT.mergeRpcOptions=void 0;var oge=Mr();function Oot(t,e){if(!e)return t;let r={};kT(t,r),kT(e,r);for(let s of Object.keys(e)){let i=e[s];switch(s){case"jsonOptions":r.jsonOptions=oge.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=oge.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},kT(t.meta,r.meta),kT(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}MT.mergeRpcOptions=Oot;function kT(t,e){if(!t)return;let r=e;for(let[s,i]of Object.entries(t))i instanceof Date?r[s]=new Date(i.getTime()):Array.isArray(i)?r[s]=i.concat():r[s]=i}});var wV=A(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});xp.Deferred=xp.DeferredState=void 0;var cl;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(cl=xp.DeferredState||(xp.DeferredState={}));var bV=class{constructor(e=!0){this._state=cl.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!==cl.PENDING)throw new Error(`cannot resolve ${cl[this.state].toLowerCase()}`);this._resolve(e),this._state=cl.RESOLVED}reject(e){if(this.state!==cl.PENDING)throw new Error(`cannot reject ${cl[this.state].toLowerCase()}`);this._reject(e),this._state=cl.REJECTED}resolvePending(e){this._state===cl.PENDING&&this.resolve(e)}rejectPending(e){this._state===cl.PENDING&&this.reject(e)}};xp.Deferred=bV});var BV=A(LT=>{"use strict";Object.defineProperty(LT,"__esModule",{value:!0});LT.RpcOutputStreamController=void 0;var age=wV(),Np=Mr(),SV=class{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let 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){Np.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){Np.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){Np.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(){Np.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;Np.assert(e,"bad state"),Np.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 age.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Np.assert(s.state==age.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};LT.RpcOutputStreamController=SV});var NV=A(Hg=>{"use strict";var Dot=Hg&&Hg.__awaiter||function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};Object.defineProperty(Hg,"__esModule",{value:!0});Hg.UnaryCall=void 0;var xV=class{constructor(e,r,s,i,n,o,a){this.method=e,this.requestHeaders=r,this.request=s,this.headers=i,this.response=n,
2026-05-22 14:44:02 +00:00
You can add a runtime option to disable the check or this warning:
2026-05-28 08:24:44 +00:00
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function Mht(){Object.keys(E_).forEach(function(t){delete E_[t]})}});var I_=A(dl=>{"use strict";dl.__esModule=!0;dl.HandlebarsEnvironment=Jz;function hCe(t){return t&&t.__esModule?t:{default:t}}var Qp=Fi(),Lht=ho(),$z=hCe(Lht),Fht=Gz(),Uht=aCe(),qht=Vz(),C_=hCe(qht),Ght=zz(),Hht="4.7.9";dl.VERSION=Hht;var Vht=8;dl.COMPILER_REVISION=Vht;var zht=7;dl.LAST_COMPATIBLE_COMPILER_REVISION=zht;var $ht={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"};dl.REVISION_CHANGES=$ht;var jz="[object Object]";function Jz(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Fht.registerDefaultHelpers(this),Uht.registerDefaultDecorators(this)}Jz.prototype={constructor:Jz,logger:C_.default,log:C_.default.log,registerHelper:function(e,r){if(Qp.toString.call(e)===jz){if(r)throw new $z.default("Arg not supported with multiple helpers");Qp.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Qp.toString.call(e)===jz)Qp.extend(this.partials,e);else{if(typeof r>"u")throw new $z.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(Qp.toString.call(e)===jz){if(r)throw new $z.default("Arg not supported with multiple decorators");Qp.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){Ght.resetLoggedProperties()}};var jht=C_.default.log;dl.log=jht;dl.createFrame=Qp.createFrame;dl.logger=C_.default});var fCe=A((b_,dCe)=>{"use strict";b_.__esModule=!0;function Yz(t){this.string=t}Yz.prototype.toString=Yz.prototype.toHTML=function(){return""+this.string};b_.default=Yz;dCe.exports=b_.default});var pCe=A(Wz=>{"use strict";Wz.__esModule=!0;Wz.wrapHelper=Jht;function Jht(t,e){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)};return r}});var CCe=A(wd=>{"use strict";wd.__esModule=!0;wd.checkRevision=edt;wd.template=tdt;wd.wrapProgram=w_;wd.resolvePartial=rdt;wd.invokePartial=sdt;wd.noop=yCe;function Yht(t){return t&&t.__esModule?t:{default:t}}function Wht(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var Kht=Fi(),sy=Wht(Kht),Xht=ho(),Du=Yht(Xht),ku=I_(),ACe=Gz(),Zht=pCe(),mCe=zz();function edt(t){var e=t&&t[0]||1,r=ku.COMPILER_REVISION;if(!(e>=ku.LAST_COMPATIBLE_COMPILER_REVISION&&e<=ku.COMPILER_REVISION))if(e<ku.LAST_COMPATIBLE_COMPILER_REVISION){var s=ku.REVISION_CHANGES[r],i=ku.REVISION_CHANGES[e];throw new Du.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 ("+i+").")}else throw new Du.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function tdt(t,e){if(!e)throw new Du.default("No environment passed to template");if(!t||!t.main)throw new Du.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(o,a,c){c.hash&&(a=sy.extend({},a,c.hash),c.ids&&(c.ids[0]=!0)),o=e.VM.resolvePartial.call(this,o,a,c),c.hooks=this.hooks,c.protoAccessControl=this.protoAccessControl;var l=e.VM.invokePartial.call(this,o,a,c);if(l==null&&e.compile&&(c.partials[c.name]=e.compile(o,t.compilerOptions,e),l=c.partials[c.name](a,c)),l!=null){if(c.indent){for(var u=l.split(`
2026-05-22 14:44:02 +00:00
`),h=0,d=u.length;h<d&&!(!u[h]&&h+1===d);h++)u[h]=c.indent+u[h];l=u.join(`
2026-05-28 08:24:44 +00:00
`)}return l}else throw new Du.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(a,c,l){if(!a||!(c in a))throw new Du.default('"'+c+'" not defined in '+a,{loc:l});return i.lookupProperty(a,c)},lookupProperty:function(a,c){var l=a[c];if(l==null||Object.prototype.hasOwnProperty.call(a,c)||mCe.resultIsAllowed(l,i.protoAccessControl,c))return l},lookup:function(a,c){for(var l=a.length,u=0;u<l;u++){var h=a[u]&&i.lookupProperty(a[u],c);if(h!=null)return h}},lambda:function(a,c){return typeof a=="function"?a.call(c):a},escapeExpression:sy.escapeExpression,invokePartial:s,fn:function(a){var c=t[a];return c.decorator=t[a+"_d"],c},programs:[],program:function(a,c,l,u,h){var d=this.programs[a],f=this.fn(a);return c||h||u||l?d=w_(this,a,f,c,l,u,h):d||(d=this.programs[a]=w_(this,a,f)),d},data:function(a,c){for(;a&&c--;)a=a._parent;return a},mergeIfNeeded:function(a,c){var l=a||c;return a&&c&&a!==c&&(l=sy.extend({},c,a)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function n(o){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=a.data;n._setup(a),!a.partial&&t.useData&&(c=idt(o,c));var l=void 0,u=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?l=o!=a.depths[0]?[o].concat(a.depths):a.depths:l=[o]);function h(d){return""+t.main(i,d,i.helpers,i.partials,c,u,l)}return h=ECe(t.main,h,i,a.depths||[],c,u),h(o,a)}return n.isTop=!0,n._setup=function(o){if(o.partial)i.protoAccessControl=o.protoAccessControl,i.helpers=o.helpers,i.partials=o.partials,i.decorators=o.decorators,i.hooks=o.hooks;else{var a={};gCe(a,e.helpers,i),gCe(a,o.helpers,i),i.helpers=a,t.usePartial&&(i.partials=i.mergeIfNeeded(o.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=sy.extend({},e.decorators,o.decorators)),i.hooks={},i.protoAccessControl=mCe.createProtoAccessControl(o);var c=o.allowCallsToHelperMissing||r;ACe.moveHelperToHooks(i,"helperMissing",c),ACe.moveHelperToHooks(i,"blockHelperMissing",c)}},n._child=function(o,a,c,l){if(t.useBlockParams&&!c)throw new Du.default("must pass block params");if(t.useDepths&&!l)throw new Du.default("must pass parent depths");return w_(i,o,t[o],a,0,c,l)},n}function w_(t,e,r,s,i,n,o){function a(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=o;return o&&c!=o[0]&&!(c===t.nullContext&&o[0]===null)&&(u=[c].concat(o)),r(t,c,t.helpers,t.partials,l.data||s,n&&[l.blockParams].concat(n),u)}return a=ECe(r,a,t,o,s,n),a.program=e,a.depth=o?o.length:0,a.blockParams=i||0,a}function rdt(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=S_(r.partials,t)):r.name==="@partial-block"?t=S_(r.data,"partial-block"):t=S_(r.partials,r.name),t}function sdt(t,e,r){var s=S_(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var i=void 0;if(r.fn&&r.fn!==yCe&&(function(){r.data=ku.createFrame(r.data);var n=r.fn;i=r.data["partial-block"]=function(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=ku.createFrame(c.data),c.data["partial-block"]=s,n(a,c)},n.partials&&(r.partials=sy.extend({},r.partials,n.partials))})(),t===void 0&&i&&(t=i),t===void 0)throw new Du.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function yCe(){return""}function S_(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}function idt(t,e){return(!e||!("root"in e))&&(e=e?ku.createFrame(e):{},e.root=t),e}function ECe(t,e,r,s,i,n){if(t.decorator){var o={};e=t.decorator(e,o,r,s&&s[0],i,n,s),sy.extend(e,o)}return e}function gCe(t,e,r){e&&Object.keys(e).forEach(function(s){var i=e[s];t[s]=ndt(i,r)})}function ndt(t,e){var r=e.lookupProperty;return Zht.wrapHelper(t,function(s){return s.lookupProperty=r,s})}});var Kz=A((B_,ICe)=>{"use strict";B_.__esModule=!0;B_.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis
2026-05-22 14:44:02 +00:00
`+this.lexer.showPosition()+`
2026-05-28 08:24:44 +00:00
Expecting `+$.join(", ")+", got '"+(this.terminals_[B]||B)+"'":re="Parse error on line "+(h+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(re,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:E,expected:$})}}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+B);switch(Q[0]){case 1:o.push(B),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),o.push(Q[1]),B=null,N?(B=N,N=null):(d=this.lexer.yyleng,u=this.lexer.yytext,h=this.lexer.yylineno,E=this.lexer.yylloc,f>0&&f--);break;case 2:if(F=this.productions_[Q[1]][1],Z.$=a[a.length-F],Z._$={first_line:c[c.length-(F||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(F||1)].first_column,last_column:c[c.length-1].last_column},y&&(Z._$.range=[c[c.length-(F||1)].range[0],c[c.length-1].range[1]]),G=this.performAction.call(Z,u,d,h,this.yy,Q[1],a,c),typeof G<"u")return G;F&&(o=o.slice(0,-1*F*2),a=a.slice(0,-1*F),c=c.slice(0,-1*F)),o.push(this.productions_[Q[1]][0]),a.push(Z.$),c.push(Z._$),q=l[o[o.length-2]][o[o.length-1]],o.push(q);break;case 3:return!0}}return!0}},e=(function(){var s={EOF:1,parseError:function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},setInput:function(n){return this._input=n,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var o=n.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var o=n.length,a=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),o=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
2026-05-22 14:44:02 +00:00
`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var n,o,a,c,l,u;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),d=0;d<h.length&&(a=this._input.match(this.rules[h[d]]),!(a&&(!o||a[0].length>o[0].length)&&(o=a,c=d,!this.options.flex)));d++);return o?(u=o[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],n=this.performAction.call(this,this.yy,this,h[c],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
2026-05-28 08:24:44 +00:00
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return typeof n<"u"?n:this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(n){this.begin(n)}};return s.options={},s.performAction=function(n,o,a,c){function l(h,d){return o.yytext=o.yytext.substring(h,o.yyleng-d+h)}var u=c;switch(a){case 0:if(o.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),o.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(o.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return o.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},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 r.prototype=t,t.Parser=r,new r})();v_.default=Adt;RCe.exports=v_.default});var Q_=A((__,PCe)=>{"use strict";__.__esModule=!0;function mdt(t){return t&&t.__esModule?t:{default:t}}var gdt=ho(),r3=mdt(gdt);function R_(){this.parents=[]}R_.prototype={constructor:R_,mutating:!1,acceptKey:function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!R_.prototype[s.type])throw new r3.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new r3.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,s=e.length;r<s;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,s--)},accept:function(e){if(
`])}),e},each:function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},empty:function(){var e=this.currentLocation||{start:{}};return new kp(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof kp?e:(e=S3(e,this,r),new kp(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,s=[];Object.keys(e).forEach(function(n){var o=S3(e[n],r);o!=="undefined"&&s.push([r.quotedString(n),":",o])});var i=this.generateList(s);return i.prepend("{"),i.add("}"),i},generateList:function(e){for(var r=this.empty(),s=0,i=e.length;s<i;s++)s&&r.add(","),r.add(S3(e[s],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};U_.default=pIe;AIe.exports=U_.default});var IIe=A((q_,CIe)=>{"use strict";q_.__esModule=!0;function EIe(t){return t&&t.__esModule?t:{default:t}}var gIe=I_(),pft=ho(),x3=EIe(pft),Aft=Fi(),mft=mIe(),yIe=EIe(mft);function ly(t){this.value=t}function uy(){}uy.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=gIe.COMPILER_REVISION,r=gIe.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,s){return Aft.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,r,s,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,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 n=e.opcodes,o=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=n.length;c<l;c++)o=n[c],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new x3.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
2026-05-22 14:44:02 +00:00
`]),this.decorators.push("return fn;"),i?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-05-28 08:24:44 +00:00
`),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(i);if(this.isChild)return u;var h={compiler:this.compilerInfo(),main:u};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,f=d.programs,p=d.decorators;for(c=0,l=f.length;c<l;c++)h[c]=f[c],p[c]&&(h[c+"_d"]=p[c],h.useDecorators=!0);return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),i?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),r.srcName?(h=h.toStringWithSourceMap({file:r.destName}),h.map=h.map&&h.map.toString()):h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new yIe.default(this.options.srcName),this.decorators=new yIe.default(this.options.srcName)},createFunctionContext:function(e){var r=this,s="",i=this.stackVars.concat(this.registers.list);i.length>0&&(s+=", "+i.join(", "));var n=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(s+=", alias"+ ++n+"="+c,l.children[0]="alias"+n)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(s);return e?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) {
2026-05-22 14:44:02 +00:00
`,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,s=!this.forceBuffer,i=void 0,n=void 0,o=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(o?c.prepend(" + "):o=c,a=c):(o&&(n?o.prepend("buffer += "):i=!0,a.add(";"),o=a=void 0),n=!0,r||(s=!1))}),s?o?(o.prepend("return "),a.add(";")):n||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":`;
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
2026-05-28 08:24:44 +00:00
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var i=this.popStack();s.splice(1,0,i),this.push(this.source.functionCall(r,"call",s))},ambiguousBlockValue: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),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,s,i){var n=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[n++])):this.pushContext(),this.resolvePath("context",e,n,r,s)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},resolvePath:function(e,r,s,i,n){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(gft(this.options.strict&&n,this,r,s,e));return}for(var a=r.length,c=function(u){o.replaceStack(function(h){var d=o.nameLookup(h,r[u],e);return i?[" && ",d]:[" != null ? ",d," : ",h]})},l=s;l<a;l++)c(l)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var s=this.nameLookup("decorators",r,"decorator"),i=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",i])," || fn;"])},invokeHelper:function(e,r,s){var i=this.popStack(),n=this.setupHelper(e,r),o=[];s&&o.push(n.name),o.push(i),this.options.strict||o.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(o,"||"),")"],c=this.source.functionCall(a,"call",n.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var s=[];s.push(e[0]);for(var i=1;i<e.length;i++)s.push(r,e[i]);return s},invokeKnownHelper:function(e,r){var s=this.setupHelper(e,r);this.push(this.source.functionCall(s.name,"call",s.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper")
`,e};Br.prototype.Program=function(t){var e="",r=t.body,s=void 0,i=void 0;if(t.blockParams){var n="BLOCK PARAMS: [";for(s=0,i=t.blockParams.length;s<i;s++)n+=" "+t.blockParams[s];n+=" ]",e+=this.pad(n)}for(s=0,i=r.length;s<i;s++)e+=this.accept(r[s]);return this.padding--,e};Br.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};Br.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};Br.prototype.BlockStatement=Br.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};Br.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+" }}")};Br.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+" }}")};Br.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Br.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Br.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,i=0,n=e.length;i<n;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};Br.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};Br.prototype.StringLiteral=function(t){return'"'+t.value+'"'};Br.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};Br.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};Br.prototype.UndefinedLiteral=function(){return"UNDEFINED"};Br.prototype.NullLiteral=function(){return"NULL"};Br.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,i=e.length;s<i;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};Br.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var RIe=A((Eer,vIe)=>{var V_=SIe().default,NIe=BIe();V_.PrintVisitor=NIe.PrintVisitor;V_.print=NIe.print;vIe.exports=V_;function xIe(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=V_.compile(s)}typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=xIe,require.extensions[".hbs"]=xIe)});var qIe=A(J_=>{"use strict";Object.defineProperty(J_,"__esModule",{value:!0});J_.getProxyUrl=Uft;J_.checkBypass=UIe;function Uft(t){let e=t.protocol==="https:";if(UIe(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 j_(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new j_(`http://${r}`)}else return}function UIe(t){if(!t.hostname)return!1;let e=t.hostname;if(qft(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 i=[t.hostname.toUpperCase()];typeof s=="number"&&i.push(`${i[0]}:${s}`);for(let n of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(n==="*"||i.some(o=>o===n||o.endsWith(`.${n}`)||n.startsWith(".")&&o.endsWith(`${n}`)))return!0;return!1}function qft(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var j_=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var HIe=A(hr=>{"use strict";var Gft=hr&&hr.__createBinding||(Object.create?(fun
`).forEach(r=>{r.match(XAt)||r.match(ZAt)||(e+=r)}),Buffer.from(e,"base64")}function tmt(t,e="CERTIFICATE"){let s=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...s,`-----END ${e}-----`].join(`
`).concat(`
2026-05-28 08:24:44 +00:00
`)}});var QQ=A(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.SHA2_HASH_ALGOS=Od.RSA_SIGNATURE_ALGOS=Od.ECDSA_SIGNATURE_ALGOS=void 0;Od.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"};Od.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"};Od.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 B5=A(PQ=>{"use strict";Object.defineProperty(PQ,"__esModule",{value:!0});PQ.RFC3161TimestampVerificationError=void 0;var S5=class extends Error{};PQ.RFC3161TimestampVerificationError=S5});var xbe=A(yl=>{"use strict";var rmt=yl&&yl.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),smt=yl&&yl.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),imt=yl&&yl.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&rmt(r,e,s[i]);return smt(r,e),r}})();Object.defineProperty(yl,"__esModule",{value:!0});yl.TSTInfo=void 0;var Bbe=imt(Iy()),nmt=QQ(),omt=B5(),x5=class{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 nmt.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=Bbe.digest(this.messageImprintHashAlgorithm,e);if(!Bbe.bufferEqual(r,this.messageImprintHashedMessage))throw new omt.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};yl.TSTInfo=x5});var vbe=A(El=>{"use strict";var amt=El&&El.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),cmt=El&&El.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),lmt=El&&El.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&amt(r,e,s[i]);return cmt(r,e),r}})();Object.defineProperty(El,"__esModule",{value:!0});El.RFC3161Timestamp=void 0;var umt=RQ(),N5=lmt(Iy()),Nbe=QQ(),Mb=B5(),hmt=xbe(),dmt="1.2.840.113549.1.7.2",fmt="1.2.840.113549.1.9.16.1.4",pmt="1.2.840.113549.1.9.4",v5=class t{root;constructor(e){this.root=e}static parse(e){let r=umt.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 signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return Nbe.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return Nbe
\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-05-28 08:24:44 +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 Gwe=A(qwe=>{"use strict";var mj=Wu().Buffer;qwe._dbcs=Xu;var js=-1,Uwe=-2,da=-10,Ki=-1e3,Dy=new Array(256),rw=-1;for(y1=0;y1<256;y1++)Dy[y1]=js;var y1;function Xu(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=[]
Wanted: ${this.expectedSize}
2026-05-28 08:24:44 +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))}},sh=class{get isHash(){return!0}constructor(e,r){let s=r?.strict;this.source=e.trim(),this.digest="",this.algorithm="",this.options=[];let i=this.source.match(s?xEt:BEt);if(!i||s&&!Uj.includes(i[1])||!JSe.includes(i[1]))return;this.algorithm=i[1],this.digest=i[2];let n=i[3];n&&(this.options=n.slice(1).split("?"))}hexDigest(){return this.digest&&Buffer.from(this.digest,"base64").toString("hex")}toJSON(){return this.toString()}match(e,r){let s=Eo(e,r);if(!s)return!1;if(s.isIntegrity){let i=s.pickAlgorithm(r,[this.algorithm]);if(!i)return!1;let n=s[i].find(o=>o.digest===this.digest);return n||!1}return s.digest===this.digest?s:!1}toString(e){return e?.strict&&!(Uj.includes(this.algorithm)&&this.digest.match(SEt)&&this.options.every(r=>r.match(NEt)))?"":`${this.algorithm}-${this.digest}${uw(this.options)}`}};function jSe(t,e,r,s){let i=t!=="",n=!1,o="",a=s.length-1;for(let l=0;l<a;l++){let u=sh.prototype.toString.call(s[l],r);u&&(n=!0,o+=u,o+=e)}let c=sh.prototype.toString.call(s[a],r);return c&&(n=!0,o+=c),i&&n?t+e+o:t+o}var nA=class{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 i of Uj)this[i]&&(s=jSe(s,r,e,this[i]))}else for(let i of Object.keys(this))s=jSe(s,r,e,this[i]);return s}concat(e,r){let s=typeof e=="string"?e:cw(e,r);return Eo(`${this.toString(r)} ${s}`,r)}hexDigest(){return Eo(this,{single:!0}).hexDigest()}merge(e,r){let s=Eo(e,r);for(let i in s)if(this[i]){if(!this[i].find(n=>s[i].find(o=>n.digest===o.digest)))throw new Error("hashes do not match, cannot update integrity")}else this[i]=s[i]}match(e,r){let s=Eo(e,r);if(!s)return!1;let i=s.pickAlgorithm(r,Object.keys(this));return!!i&&this[i].find(n=>s[i].find(o=>n.digest===o.digest))||!1}pickAlgorithm(e,r){let s=e?.pickAlgorithm||OEt,i=Object.keys(this);return r?.length&&(i=i.filter(n=>r.includes(n))),i.length?i.reduce((n,o)=>s(n,o)||n):null}};Rl.exports.parse=Eo;function Eo(t,e){if(!t)return null;if(typeof t=="string")return Fj(t,e);if(t.algorithm&&t.digest){let r=new nA;return r[t.algorithm]=[t],Fj(cw(r,e),e)}else return Fj(cw(t,e),e)}function Fj(t,e){if(e?.single)return new sh(t,e);let r=t.trim().split(/\s+/).reduce((s,i)=>{let n=new sh(i,e);if(n.algorithm&&n.digest){let o=n.algorithm;Object.keys(s).includes(o)||(s[o]=[]),s[o].push(n)}return s},new nA);return r.isEmpty()?null:r}Rl.exports.stringify=cw;function cw(t,e){return t.algorithm&&t.digest?sh.prototype.toString.call(t,e):typeof t=="string"?cw(Eo(t,e),e):nA.prototype.toString.call(t,e)}Rl.exports.fromHex=vEt;function vEt(t,e,r){let s=uw(r?.options);return Eo(`${e}-${Buffer.from(t,"hex").toString("base64")}${s}`,r)}Rl.exports.fromData=REt;function REt(t,e){let r=e?.algorithms||[...Gj],s=uw(e?.options);return r.reduce((i,n)=>{let o=lw.createHash(n).update(t).digest("base64"),a=new sh(`${n}-${o}${s}`,e);if(a.algorithm&&a.digest){let c=a.algorithm;i[c]||(i[c]=[]),i[c].push(a)}return i},new nA)}Rl.exports.fromStream=TEt;function TEt(t,e){let r=Hj(e);return new Promise((s,i)=>{t.pipe(r),t.on("error",i),r.on("error",i);let n;r.on("integrity",o=>{n=o}),r.on("end",()=>s(n)),r.resume()})}Rl.exports.checkData=_Et;function _Et(t,e,r){if(e=Eo(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.pickAlgorithm(r),i=lw.createHash(s).update(t).digest("base64"),n=Eo({algorithm:s,digest:i}),o=n.match(e,r);if(r=r||{},o||!r.error)return o;if(typeof r.size=
Wanted: ${r.size}
2026-05-28 08:24:44 +00:00
Found: ${t.length}`);throw a.code="EBADSIZE",a.found=t.length,a.expected=r.size,a.sri=e,a}else{let a=new Error(`Integrity checksum failed when using ${s}: Wanted ${e}, but got ${n}. (${t.length} bytes)`);throw a.code="EINTEGRITY",a.found=n,a.expected=e,a.algorithm=s,a.sri=e,a}}Rl.exports.checkStream=QEt;function QEt(t,e,r){if(r=r||Object.create(null),r.integrity=e,e=Eo(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=Hj(r);return new Promise((i,n)=>{t.pipe(s),t.on("error",n),s.on("error",n);let o;s.on("verified",a=>{o=a}),s.on("end",()=>i(o)),s.resume()})}Rl.exports.integrityStream=Hj;function Hj(t=Object.create(null)){return new qj(t)}Rl.exports.create=PEt;function PEt(t){let e=t?.algorithms||[...Gj],r=uw(t?.options),s=e.map(lw.createHash);return{update:function(i,n){return s.forEach(o=>o.update(i,n)),this},digest:function(){return e.reduce((n,o)=>{let a=s.shift().digest("base64"),c=new sh(`${o}-${a}${r}`,t);return n[c.algorithm]||(n[c.algorithm]=[]),n[c.algorithm].push(c),n},new nA)}}}function OEt(t,e){return $Se.indexOf(t.toLowerCase())>=$Se.indexOf(e.toLowerCase())?t:e}});var zj=A((nir,ZSe)=>{var YSe=Qj(),WSe=Lj(),DEt=Tl(),KSe={shared:!1,ignoreCargoCult:!0},kEt={status:200,headers:{}},Ly=t=>{let e={method:t.method,url:t.url,headers:{},compress:t.compress};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},XSe=t=>{let e={status:t.status,headers:{}};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},Vj=class{constructor({entry:e,request:r,response:s,options:i}){this.entry=e,this.request=Ly(r),this.response=XSe(s),this.options=i,this.policy=new YSe(this.request,this.response,KSe),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 YSe(Ly(e),kEt,KSe).storable()}satisfies(e){let r=Ly(e);if(this.request.headers.host!==r.headers.host||this.request.compress!==r.compress)return!1;let s=new WSe(this.request),i=new WSe(r);return JSON.stringify(s.mediaTypes())!==JSON.stringify(i.mediaTypes())||JSON.stringify(s.languages())!==JSON.stringify(i.languages())||JSON.stringify(s.encodings())!==JSON.stringify(i.encodings())?!1:this.options.integrity?DEt.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=Ly(e);return r.method="GET",!this.policy.satisfiesWithoutRevalidation(r)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(e){let r=Ly(e);return this.policy.revalidationHeaders(r)}revalidated(e,r){let s=Ly(e),i=XSe(r);return!this.policy.revalidatedPolicy(s,i).modified}};ZSe.exports=Vj});var tBe=A((oir,eBe)=>{var $j=class extends Error{constructor(e){super(`request to ${e} failed: cache mode is 'only-if-cached' but no cached response is available.`),this.code="ENOTCACHED"}};eBe.exports={NotCachedError:$j}});var hBe=A((air,uBe)=>{"use strict";var rBe=typeof process=="object"&&process?process:{stdout:null,stderr:null},MEt=require("events"),sBe=require("stream"),iBe=require("string_decoder").StringDecoder,ih=Symbol("EOF"),nh=Symbol("maybeEmitEnd"),Gd=Symbol("emittedEnd"),_1=Symbol("emittingEnd"),hw=Symbol("emittedError"),Q1=Symbol("closed"),nBe=Symbol("read"),P1=Symbol("flush"),oBe=Symbol("flushChunk"),Rn=Symbol("encoding"),oh=Symbol("decoder"),O1=Symbol("flowing"),dw=Symbol("paused"),Fy=Symbol("resume"),Ps=Symbol("bufferLength"),jj=Symbol("bufferPush"),Jj=Symbol("bufferShift"),pi=Symbol("objectMode"),Ai=Symbol("destroyed"),Yj=Symbol("emitData"),aBe=Symbol("emitEnd"),Wj=Symbol("emitEnd2"),ah=Symbol("async"),fw=t=>Promise.resolve().then(t),cBe=global._MP_NO_ITERATOR_SYMBOLS_!=="1",LEt=cBe&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),FEt=cBe&&Symbol.iterator||Symbol("iterator not implemented"),UEt=t=>t==="end"||t==="finish"||t==="prefinish",qEt=t=>t instanceof ArrayBuffer||typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayB
2026-05-22 14:44:02 +00:00
`+o.map(d=>{let f=JSON.stringify(d);return`${oP(f)} ${f}`}).join(`
2026-05-28 08:24:44 +00:00
`),c=async()=>{let d=Ewt(Ql.join(t,"tmp"),s.tmpPrefix);return await $6(Ql.dirname(d),{recursive:!0}),{target:d,moved:!1}},l=async d=>{if(!d.moved)return Ive(d.target,{recursive:!0,force:!0})},u=async d=>{await mwt(d.target,a,{flag:"wx"}),await $6(Ql.dirname(i),{recursive:!0}),await wwt(d.target,i),d.moved=!0},h=await c();try{await u(h)}finally{await l(h)}return o.reverse().map(d=>aP(t,d,!0))}Io.exports.insert=bve;async function bve(t,e,r,s={}){let{metadata:i,size:n,time:o}=s,a=Tw(t,e),c={key:e,integrity:r&&ywt.stringify(r),time:o||Date.now(),size:n,metadata:i};try{await $6(Ql.dirname(a),{recursive:!0});let l=JSON.stringify(c);await fwt(a,`
${oP(l)} ${l}`)}catch(l){if(l.code==="ENOENT")return;throw l}return aP(t,c)}Io.exports.find=Bwt;async function Bwt(t,e){let r=Tw(t,e);try{return(await nP(r)).reduce((i,n)=>n&&n.key===e?aP(t,n):i,null)}catch(s){if(s.code==="ENOENT")return null;throw s}}Io.exports.delete=xwt;function xwt(t,e,r={}){if(!r.removeFully)return bve(t,e,null,r);let s=Tw(t,e);return Ive(s,{recursive:!0,force:!0})}Io.exports.lsStream=wve;function wve(t){let e=j6(t),r=new gwt({objectMode:!0});return Promise.resolve().then(async()=>{let{default:s}=await Promise.resolve().then(()=>(iP(),sP)),i=await z6(e);return await s(i,async n=>{let o=Ql.join(e,n),a=await z6(o);await s(a,async c=>{let l=Ql.join(o,c),u=await z6(l);await s(u,async h=>{let d=Ql.join(l,h);try{let p=(await nP(d)).reduce((m,E)=>(m.set(E.key,E),m),new Map);for(let m of p.values()){let E=aP(t,m);E&&r.write(E)}}catch(f){if(f.code==="ENOENT")return;throw f}},{concurrency:V6})},{concurrency:V6})},{concurrency:V6}),r.end(),r}).catch(s=>r.emit("error",s)),r}Io.exports.ls=Nwt;async function Nwt(t){return(await wve(t).collect()).reduce((r,s)=>(r[s.key]=s,r),{})}Io.exports.bucketEntries=nP;async function nP(t,e){let r=await pwt(t,"utf8");return vwt(r,e)}function vwt(t){let e=[];return t.split(`
`).forEach(r=>{if(!r)return;let s=r.split(" ");if(!s[1]||oP(s[1])!==s[0])return;let i;try{i=JSON.parse(s[1])}catch{}i&&e.push(i)}),e}Io.exports.bucketDir=j6;function j6(t){return Ql.join(t,`index-v${bwt}`)}Io.exports.bucketPath=Tw;function Tw(t,e){let r=Sve(e);return Ql.join.apply(Ql,[j6(t)].concat(Iwt(r)))}Io.exports.hashKey=Sve;function Sve(t){return Bve(t,"sha256")}Io.exports.hashEntry=oP;function oP(t){return Bve(t,"sha1")}function Bve(t,e){return dwt.createHash(e).update(t).digest("hex")}function aP(t,e,r){return!e.integrity&&!r?null:{key:e.key,integrity:e.integrity,path:e.integrity?Cwt(t,e.integrity):void 0,size:e.size,time:e.time,metadata:e.metadata}}function z6(t){return Awt(t).catch(e=>{if(e.code==="ENOENT"||e.code==="ENOTDIR")return[];throw e})}});var Qw=A(uP=>{"use strict";Object.defineProperty(uP,"__esModule",{value:!0});uP.LRUCache=void 0;var Rwt=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Nve=new Set,J6=typeof process=="object"&&process?process:{},vve=(t,e,r,s)=>{typeof J6.emitWarning=="function"?J6.emitWarning(t,e,r,s):console.error(`[${r}] ${e}: ${t}`)},lP=globalThis.AbortController,xve=globalThis.AbortSignal;if(typeof lP>"u"){xve=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(r,s){this._onabort.push(s)}},lP=class{constructor(){e()}signal=new xve;abort(r){if(!this.signal.aborted){this.signal.reason=r,this.signal.aborted=!0;for(let s of this.signal._onabort)s(r);this.signal.onabort?.(r)}}};let t=J6.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,vve("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))}}var Twt=t=>!Nve.has(t),Vd=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Rve=t=>Vd(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?cP:null:null,cP=class extends Array{constructor(t){super(t),this.fill(0)}},_wt=class _w{heap;length;static#e=!1;static create(e){let r=Rve(e);if(!r)return[];_w.#e=!0;let s=new _w(e,r);return _w.#e=!1,s}constructor(e,r){if(!_w.#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]}},Qwt=class Tve{#e;#t;#s;#r;#i;#n;#u;#l;get perf(){return this.#l}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#a;#f;#p;#h;#o;#y;#I;#g;#A;#x;#m;#S;#B;#E;#C;#b;#v;#c;#O;static unsafeExposeInternals(e){return{starts:e.#B,ttls:e.#E,autopurgeTimers:e.#C,sizes:e.#S,keyMap:e.#p,keyList:e.#h,valList:e.#o,next:e.#y,prev:e.#I,get head(){return e.#g},get tail(){return e.#A},free:e.#x,isBackgroundFetch:r=>e.#d(r),backgroundFetch:(r,s,i,n)=>e.#G(r,s,i,n),moveToTail:r=>e.#P(r),indexes:r=>e.#R(r),rindexes:r=>e.#T(r),isStale:r=>e.#w(r)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#f}get size(){return this.#a}get fetchMethod(){return this.#n}get memoMethod(){return this.#u}get dispose(){return this.#s}get onInsert(){return this.#r}get disposeAfter(){return this.#i}constructor(e){let{max:r=0,ttl:s,ttlResolution:i=1,ttlAutopurge:n,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:c,dispose:l,onInsert:u,disposeAfter:h,noDisposeOnSet:d,noUpdateTTL:f,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:E,fetchMethod:y,memoMethod:C,noDeleteOnFetchRejection:w,noDeleteOnStaleGet:B,allowStaleOnFetchRejection:N,allowStaleOnFetchAbort:P,ignoreFetchAbort:Q,perf:k}=e;if(k!==void 0&&typeof k?.now!="function")throw new TypeError("perf option must have a now() method if s
Wanted: ${t}
2026-05-28 08:24:44 +00:00
Found: ${e}`);return r.code="EINTEGRITY",r.expected=t,r.found=e,r}});var Xve=A((Qnr,cJ)=>{"use strict";var Jve=Yy(),Yve=Pw(),Wve=jve(),pSt=pw(),{PassThrough:ASt}=r6(),mSt=aA(),Kve=t=>({algorithms:["sha512"],...t});cJ.exports=gSt;async function gSt(t,e,r,s={}){let{memoize:i}=s;s=Kve(s);let n=await Wve(t,r,s),o=await Jve.insert(t,e,n.integrity,{...s,size:n.size});return i&&Yve.put(t,o,r,s),n.integrity}cJ.exports.stream=ySt;function ySt(t,e,r={}){let{memoize:s}=r;r=Kve(r);let i,n,o,a,c=new mSt;if(s){let u=new ASt().on("collect",h=>{a=h});c.push(u)}let l=Wve.stream(t,r).on("integrity",u=>{i=u}).on("size",u=>{n=u}).on("error",u=>{o=u});return c.push(l),c.push(new pSt({async flush(){if(!o){let u=await Jve.insert(t,e,i,{...r,size:n});s&&a&&Yve.put(t,u,a,r),c.emit("integrity",i),c.emit("size",n)}}})),c}});var ARe=A(ht=>{"use strict";var Js=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ESt=Js(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=t.balanced=void 0;var e=(i,n,o)=>{let a=i instanceof RegExp?r(i,o):i,c=n instanceof RegExp?r(n,o):n,l=a!==null&&c!=null&&(0,t.range)(a,c,o);return l&&{start:l[0],end:l[1],pre:o.slice(0,l[0]),body:o.slice(l[0]+a.length,l[1]),post:o.slice(l[1]+c.length)}};t.balanced=e;var r=(i,n)=>{let o=n.match(i);return o?o[0]:null},s=(i,n,o)=>{let a,c,l,u,h,d=o.indexOf(i),f=o.indexOf(n,d+1),p=d;if(d>=0&&f>0){if(i===n)return[d,f];for(a=[],l=o.length;p>=0&&!h;){if(p===d)a.push(p),d=o.indexOf(i,p+1);else if(a.length===1){let m=a.pop();m!==void 0&&(h=[m,f])}else c=a.pop(),c!==void 0&&c<l&&(l=c,u=f),f=o.indexOf(n,p+1);p=d<f&&d>=0?d:f}a.length&&u!==void 0&&(h=[l,u])}return h};t.range=s}),CSt=Js(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPANSION_MAX=void 0,t.expand=N;var e=ESt(),r="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",n="\0COMMA"+Math.random()+"\0",o="\0PERIOD"+Math.random()+"\0",a=new RegExp(r,"g"),c=new RegExp(s,"g"),l=new RegExp(i,"g"),u=new RegExp(n,"g"),h=new RegExp(o,"g"),d=/\\\\/g,f=/\\{/g,p=/\\}/g,m=/\\,/g,E=/\\./g;t.EXPANSION_MAX=1e5;function y(L){return isNaN(L)?L.charCodeAt(0):parseInt(L,10)}function C(L){return L.replace(d,r).replace(f,s).replace(p,i).replace(m,n).replace(E,o)}function w(L){return L.replace(a,"\\").replace(c,"{").replace(l,"}").replace(u,",").replace(h,".")}function B(L){if(!L)return[""];let F=[],q=(0,e.balanced)("{","}",L);if(!q)return L.split(",");let{pre:$,body:re,post:Qe}=q,we=$.split(",");we[we.length-1]+="{"+re+"}";let le=B(Qe);return Qe.length&&(we[we.length-1]+=le.shift(),we.push.apply(we,le)),F.push.apply(F,we),F}function N(L,F={}){if(!L)return[];let{max:q=t.EXPANSION_MAX}=F;return L.slice(0,2)==="{}"&&(L="\\{\\}"+L.slice(2)),Z(C(L),q,!0).map(w)}function P(L){return"{"+L+"}"}function Q(L){return/^-?0\d/.test(L)}function k(L,F){return L<=F}function G(L,F){return L>=F}function Z(L,F,q){let $=[],re=(0,e.balanced)("{","}",L);if(!re)return[L];let Qe=re.pre,we=re.post.length?Z(re.post,F,!1):[""];if(/\$$/.test(re.pre))for(let le=0;le<we.length&&le<F;le++){let ct=Qe+"{"+re.body+"}"+we[le];$.push(ct)}else{let le=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(re.body),ct=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(re.body),et=le||ct,Ct=re.body.indexOf(",")>=0;if(!et&&!Ct)return re.post.match(/,(?!,).*\}/)?(L=re.pre+"{"+re.body+i+re.post,Z(L,F,!0)):[L];let De;if(et)De=re.body.split(/\.\./);else if(De=B(re.body),De.length===1&&De[0]!==void 0&&(De=Z(De[0],F,!1).map(P),De.length===1))return we.map(Gt=>re.pre+De[0]+Gt);let dt;if(et&&De[0]!==void 0&&De[1]!==void 0){let Gt=y(De[0]),rs=y(De[1]),Mn=Math.max(De[0].length,De[1].length),Nt=De.length===3&&De[2]!==void 0?Math.abs(y(De[2])):1,Bo=k;rs<Gt&&(Nt*=-1,Bo=G);let R=De.some(Q);dt=[];for(let _=Gt;Bo(_,rs);_+=Nt){let D;if(ct)D=String.fromCharCode(_),D==="\\"&&(D="");else if(D=String(_),R){let U=Mn-D.length;if(U>0){let Y=new Array(U+1).join("0");_<0?D="-"+Y+D.slice(1):D=Y+D}}dt.push(D)}}else{dt=[];for(let Gt=0;Gt<De.length;Gt++)dt.push.apply(dt,Z(De[Gt],F,!1))}for(let Gt=0;Gt<dt.length;Gt++)for(let rs=0;rs<we.length&&$.length<F;rs++){let Mn=
globstar while`,R,ee,_,ke,ot),this.matchOne(R.slice(ee),_.slice(ke),D))return this.debug("globstar found match!",ee,v,ot),!0;if(ot==="."||ot===".."||!U.dot&&ot.charAt(0)==="."){this.debug("dot detected!",R,ee,_,ke);break}this.debug("globstar swallow a segment, and continue"),ee++}return!!(D&&(this.debug(`
>>> no match, partial?`,R,ee,_,ke),ee===v))}let st;if(typeof j=="string"?(st=ge===j,this.debug("string match",j,ge,st)):(st=j.test(ge),this.debug("pattern match",j,ge,st)),!st)return!1}if(g===v&&S===M)return!0;if(g===v)return D;if(S===M)return g===v-1&&R[g]==="";throw new Error("wtf?")}braceExpand(){return(0,t.braceExpand)(this.pattern,this.options)}parse(R){(0,r.assertValidPattern)(R);let _=this.options;if(R==="**")return t.GLOBSTAR;if(R==="")return"";let D,U=null;(D=R.match(y))?U=_.dot?w:C:(D=R.match(a))?U=(_.nocase?_.dot?h:u:_.dot?l:c)(D[1]):(D=R.match(B))?U=(_.nocase?_.dot?P:N:_.dot?Q:k)(D):(D=R.match(d))?U=_.dot?p:f:(D=R.match(m))&&(U=E);let Y=s.AST.fromGlob(R,this.options).toMMPattern();return U&&typeof Y=="object"&&Reflect.defineProperty(Y,"test",{value:U}),Y}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let R=this.set;if(!R.length)return this.regexp=!1,this.regexp;let _=this.options,D=_.noglobstar?$:_.dot?re:Qe,U=new Set(_.nocase?["i"]:[]),Y=R.map(v=>{let M=v.map(ge=>{if(ge instanceof RegExp)for(let ee of ge.flags.split(""))U.add(ee);return typeof ge=="string"?Gt(ge):ge===t.GLOBSTAR?t.GLOBSTAR:ge._src});M.forEach((ge,ee)=>{let ke=M[ee+1],ot=M[ee-1];ge!==t.GLOBSTAR||ot===t.GLOBSTAR||(ot===void 0?ke!==void 0&&ke!==t.GLOBSTAR?M[ee+1]="(?:\\/|"+D+"\\/)?"+ke:M[ee]=D:ke===void 0?M[ee-1]=ot+"(?:\\/|\\/"+D+")?":ke!==t.GLOBSTAR&&(M[ee-1]=ot+"(?:\\/|\\/"+D+"\\/)"+ke,M[ee+1]=t.GLOBSTAR))});let j=M.filter(ge=>ge!==t.GLOBSTAR);if(this.partial&&j.length>=1){let ge=[];for(let ee=1;ee<=j.length;ee++)ge.push(j.slice(0,ee).join("/"));return"(?:"+ge.join("|")+")"}return j.join("/")}).join("|"),[g,S]=R.length>1?["(?:",")"]:["",""];Y="^"+g+Y+S+"$",this.partial&&(Y="^(?:\\/|"+g+Y.slice(1,-1)+S+")$"),this.negate&&(Y="^(?!"+Y+").+$");try{this.regexp=new RegExp(Y,[...U].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(R){return this.preserveMultipleSlashes?R.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(R)?["",...R.split(/\/+/)]:R.split(/\/+/)}match(R,_=this.partial){if(this.debug("match",R,this.pattern),this.comment)return!1;if(this.empty)return R==="";if(R==="/"&&_)return!0;let D=this.options;this.isWindows&&(R=R.split("\\").join("/"));let U=this.slashSplit(R);this.debug(this.pattern,"split",U);let Y=this.set;this.debug(this.pattern,"set",Y);let g=U[U.length-1];if(!g)for(let S=U.length-2;!g&&S>=0;S--)g=U[S];for(let S=0;S<Y.length;S++){let v=Y[S],M=U;if(D.matchBase&&v.length===1&&(M=[g]),this.matchOne(M,v,_))return D.flipNegate?!0:!this.negate}return D.flipNegate?!1:this.negate}static defaults(R){return t.minimatch.defaults(R).Minimatch}};t.Minimatch=rs;var Mn=Zve();Object.defineProperty(t,"AST",{enumerable:!0,get:function(){return Mn.AST}});var Nt=eRe();Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return Nt.escape}});var Bo=lJ();Object.defineProperty(t,"unescape",{enumerable:!0,get:function(){return Bo.unescape}}),t.minimatch.AST=s.AST,t.minimatch.Minimatch=rs,t.minimatch.escape=i.escape,t.minimatch.unescape=n.unescape}),wSt=Js(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=void 0;var e=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,r=new Set,s=typeof process=="object"&&process?process:{},i=(f,p,m,E)=>{typeof s.emitWarning=="function"?s.emitWarning(f,p,m,E):console.error(`[${m}] ${p}: ${f}`)},n=globalThis.AbortController,o=globalThis.AbortSignal;if(typeof n>"u"){o=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(m,E){this._onabort.push(E)}},n=class{constructor(){p()}signal=new o;abort(m){if(!this.signal.aborted){this.signal.reason=m,this.signal.aborted=!0;for(let E of this.signal._onabort)E(m);this.signal.onabort?.(m)}}};let f=s.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",p=()=>{f&&(f=!1,i("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
\r
2026-05-22 14:44:02 +00:00
`);if(d===-1){NP("have not received end of HTTP headers yet..."),n();return}let f=h.slice(0,d).toString("ascii").split(`\r
2026-05-28 08:24:44 +00:00
`),p=f.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let m=p.split(" "),E=+m[1],y=m.slice(2).join(" "),C={};for(let w of f){if(!w)continue;let B=w.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${w}"`));let N=w.slice(0,B).toLowerCase(),P=w.slice(B+1).trimStart(),Q=C[N];typeof Q=="string"?C[N]=[Q,P]:Array.isArray(Q)?Q.push(P):C[N]=P}NP("got proxy server response: %o %o",p,C),o(),e({connect:{statusCode:E,statusText:y,headers:C},buffered:h})}t.on("error",c),t.on("end",a),n()})}aE.parseProxyResponse=ZBt});var nTe=A(ma=>{"use strict";var ext=ma&&ma.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),txt=ma&&ma.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),sTe=ma&&ma.__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)&&ext(e,t,r);return txt(e,t),e},iTe=ma&&ma.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ma,"__esModule",{value:!0});ma.HttpsProxyAgent=void 0;var Vw=sTe(require("net")),tTe=sTe(require("tls")),rxt=iTe(require("assert")),sxt=iTe(sp()),ixt=JI(),nxt=require("url"),oxt=eTe(),zw=(0,sxt.default)("https-proxy-agent"),vP=class extends ixt.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new nxt.URL(e):e,this.proxyHeaders=r?.headers??{},zw("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?rTe(r,"headers"):null,host:s,port:i}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let i;if(s.protocol==="https:"){zw("Creating `tls.Socket`: %o",this.connectOpts);let d=this.connectOpts.servername||this.connectOpts.host;i=tTe.connect({...this.connectOpts,servername:d&&Vw.isIP(d)?void 0:d})}else zw("Creating `net.Socket`: %o",this.connectOpts),i=Vw.connect(this.connectOpts);let n=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=Vw.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
2026-05-22 14:44:02 +00:00
`;if(s.username||s.password){let d=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}n.Host=`${o}:${r.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(n))a+=`${d}: ${n[d]}\r
2026-05-28 08:24:44 +00:00
`;let c=(0,oxt.parseProxyResponse)(i);i.write(`${a}\r
`);let{connect:l,buffered:u}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200){if(e.once("socket",axt),r.secureEndpoint){zw("Upgrading socket connection to TLS");let d=r.servername||r.host;return tTe.connect({...rTe(r,"host","path","port"),socket:i,servername:Vw.isIP(d)?void 0:d})}return i}i.destroy();let h=new Vw.Socket({writable:!1});return h.readable=!0,e.once("socket",d=>{zw("Replaying proxy buffer for failed request"),(0,rxt.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),h}};vP.protocols=["http","https"];ma.HttpsProxyAgent=vP;function axt(t){t.resume()}function rTe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}});var lTe=A(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});var oTe=require("buffer"),EA={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."};Ch.ERRORS=EA;function cxt(t){if(!oTe.Buffer.isEncoding(t))throw new Error(EA.INVALID_ENCODING)}Ch.checkEncoding=cxt;function aTe(t){return typeof t=="number"&&isFinite(t)&&dxt(t)}Ch.isFiniteInteger=aTe;function cTe(t,e){if(typeof t=="number"){if(!aTe(t)||t<0)throw new Error(e?EA.INVALID_OFFSET:EA.INVALID_LENGTH)}else throw new Error(e?EA.INVALID_OFFSET_NON_NUMBER:EA.INVALID_LENGTH_NON_NUMBER)}function lxt(t){cTe(t,!1)}Ch.checkLengthValue=lxt;function uxt(t){cTe(t,!0)}Ch.checkOffsetValue=uxt;function hxt(t,e){if(t<0||t>e.length)throw new Error(EA.INVALID_TARGET_OFFSET)}Ch.checkTargetOffset=hxt;function dxt(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t}function fxt(t){if(typeof BigInt>"u")throw new Error("Platform does not support JS BigInt type.");if(typeof oTe.Buffer.prototype[t]>"u")throw new Error(`Platform does not support Buffer.prototype.${t}.`)}Ch.bigIntAndBufferInt64Check=fxt});var hTe=A(PJ=>{"use strict";Object.defineProperty(PJ,"__esModule",{value:!0});var rt=lTe(),uTe=4096,pxt="utf8",QJ=class t{constructor(e){if(this.length=0,this._encoding=pxt,this._writeOffset=0,this._readOffset=0,t.isSmartBufferOptions(e))if(e.encoding&&(rt.checkEncoding(e.encoding),this._encoding=e.encoding),e.size)if(rt.isFiniteInteger(e.size)&&e.size>0)this._buff=Buffer.allocUnsafe(e.size);else throw new Error(rt.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(rt.ERRORS.INVALID_SMARTBUFFER_BUFFER);else this._buff=Buffer.allocUnsafe(uTe);else{if(typeof e<"u")throw new Error(rt.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(uTe)}}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)}readInt8(e){return this._readNumberValue(Buffer.prototype.readInt8,1,e)}readInt16BE(e){return this._readNumberValue(Buffer.prototype.readInt16BE,2,e)}readInt16LE(e){return this._readNumberValue(Buffer.prototype.readInt16LE,2,e)}readInt32BE(e){return this._readNumberValue(Buffe
`).join(`
2026-05-28 08:24:44 +00:00
`+n),t.push(i+"m+"+qO.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=FQt()+e+" "+t[0]}function FQt(){return Ls.inspectOpts.hideDate?"":new Date().toISOString()+" "}function UQt(...t){return process.stderr.write(UO.formatWithOptions(Ls.inspectOpts,...t)+`
`)}function qQt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function GQt(){return process.env.DEBUG}function HQt(t){t.inspectOpts={};let e=Object.keys(Ls.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Ls.inspectOpts[e[r]]}qO.exports=T9()(Ls);var{formatters:e1e}=qO.exports;e1e.o=function(t){return this.inspectOpts.colors=this.useColors,UO.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};e1e.O=function(t){return this.inspectOpts.colors=this.useColors,UO.inspect(t,this.inspectOpts)}});var Q9=A((scr,_9)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?_9.exports=ZQe():_9.exports=t1e()});var s1e=A((icr,r1e)=>{var VQt=require("dns"),zQt=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"],$Qt=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:VQt.lookup,...r.dns},r.cache=r.cache||"default",r.cache==="default"&&Object.keys(r.headers||{}).some(i=>zQt.includes(i.toLowerCase()))&&(r.cache="no-store"),r.cacheAdditionalHeaders=r.cacheAdditionalHeaders||[],r.cacheManager&&!r.cachePath&&(r.cachePath=r.cacheManager),r};r1e.exports=$Qt});var O9=A((ncr,c1e)=>{var i1e=Qj(),n1e=Lj(),jQt=Tl(),o1e={shared:!1,ignoreCargoCult:!0},JQt={status:200,headers:{}},DE=t=>{let e={method:t.method,url:t.url,headers:{},compress:t.compress};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},a1e=t=>{let e={status:t.status,headers:{}};return t.headers.forEach((r,s)=>{e.headers[s]=r}),e},P9=class{constructor({entry:e,request:r,response:s,options:i}){this.entry=e,this.request=DE(r),this.response=a1e(s),this.options=i,this.policy=new i1e(this.request,this.response,o1e),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 i1e(DE(e),JQt,o1e).storable()}satisfies(e){let r=DE(e);if(this.request.headers.host!==r.headers.host||this.request.compress!==r.compress)return!1;let s=new n1e(this.request),i=new n1e(r);return JSON.stringify(s.mediaTypes())!==JSON.stringify(i.mediaTypes())||JSON.stringify(s.languages())!==JSON.stringify(i.languages())||JSON.stringify(s.encodings())!==JSON.stringify(i.encodings())?!1:this.options.integrity?jQt.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=DE(e);return r.method="GET",!this.policy.satisfiesWithoutRevalidation(r)}responseHeaders(){return this.policy.responseHeaders()}revalidationHeaders(e){let r=DE(e);return this.policy.revalidationHeaders(r)}revalidated(e,r){let s=DE(e),i=a1e(r);return!this.policy.revalidatedPolicy(s,i).modified}};c1e.exports=P9});var u1e=A((ocr,l1e)=>{var D9=class extends Error{constructor(e){super(`request to ${e} failed: cache mode is 'only-if-cached' but no cached response is available.`),this.code="ENOTCACHED"}};l1e.exports={NotCachedError:D9}});var M9=A((acr,h1e)=>{"use strict";var YQt=aA(),k9=class extends YQt{#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)}};h1e.exports=k9});var f1e=A((ccr,d1e)=>{var{URL:WQt,format:KQt}=require("url"),XQt={auth:!1,fragment:!1,search:!0,unicode:!1},ZQt=t=>{let e=new WQt(t.url);return`make-fetch-happen:request-cache:${KQt(e,XQt)}`};d1e.exports=ZQt});var p1e=A((lcr,e1t)=>{e1t.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-apply":"template-oss-apply --force"},repository:{type:"git",url:"git+https://github.com/npm/make-fetch-happen.git"},keywords:["http","request","fetch","mean girls","caching","cache","subre
`).forEach(r=>{r.match(GPt)||r.match(HPt)||(e+=r)}),Buffer.from(e,"base64")}function zPt(t,e="CERTIFICATE"){let s=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...s,`-----END ${e}-----`].join(`
2026-05-22 14:44:02 +00:00
`).concat(`
2026-05-28 08:24:44 +00:00
`)}});var fD=A(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.SHA2_HASH_ALGOS=cf.RSA_SIGNATURE_ALGOS=cf.ECDSA_SIGNATURE_ALGOS=void 0;cf.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"};cf.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"};cf.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 SW=A(pD=>{"use strict";Object.defineProperty(pD,"__esModule",{value:!0});pD.RFC3161TimestampVerificationError=void 0;var wW=class extends Error{};pD.RFC3161TimestampVerificationError=wW});var dPe=A(Hl=>{"use strict";var $Pt=Hl&&Hl.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),jPt=Hl&&Hl.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),JPt=Hl&&Hl.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&$Pt(r,e,s[i]);return jPt(r,e),r}})();Object.defineProperty(Hl,"__esModule",{value:!0});Hl.TSTInfo=void 0;var hPe=JPt(GE()),YPt=fD(),WPt=SW(),BW=class{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 YPt.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=hPe.digest(this.messageImprintHashAlgorithm,e);if(!hPe.bufferEqual(r,this.messageImprintHashedMessage))throw new WPt.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};Hl.TSTInfo=BW});var pPe=A(Vl=>{"use strict";var KPt=Vl&&Vl.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,s,i)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),XPt=Vl&&Vl.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ZPt=Vl&&Vl.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(s[s.length]=i);return s},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),i=0;i<s.length;i++)s[i]!=="default"&&KPt(r,e,s[i]);return XPt(r,e),r}})();Object.defineProperty(Vl,"__esModule",{value:!0});Vl.RFC3161Timestamp=void 0;var eOt=uD(),xW=ZPt(GE()),fPe=fD(),ES=SW(),tOt=dPe(),rOt="1.2.840.113549.1.7.2",sOt="1.2.840.113549.1.9.16.1.4",iOt="1.2.840.113549.1.9.4",NW=class t{root;constructor(e){this.root=e}static parse(e){let r=eOt.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 signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return fPe.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return fPe
2026-05-28 08:24:44 +00:00
`,EDt=/\u2014 (\S+) (\S+)\n/g;function CDt(t,e){let r=t.inclusionProof,s=eK.fromString(r.checkpoint.envelope),i=ND.fromString(s.note);if(!IDt(s,e))throw new SS.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return i}function IDt(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(s=>{let i=e.find(n=>qPe.crypto.bufferEqual(n.logID.subarray(0,4),s.keyHint)&&n.baseURL.match(s.name));return i?qPe.crypto.verify(r,i.publicKey,s.signature):!1})}var eK=class t{note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(ZW))throw new SS.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(ZW),s=e.slice(0,r+1),n=e.slice(r+ZW.length).matchAll(EDt),o=Array.from(n,a=>{let[,c,l]=a,u=Buffer.from(l,"base64");if(u.length<5)throw new SS.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:c,keyHint:u.subarray(0,4),signature:u.subarray(4)}});if(o.length===0)throw new SS.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(s,o)}},ND=class t{origin;logSize;logHash;rest;constructor(e,r,s,i){this.origin=e,this.logSize=r,this.logHash=s,this.rest=i}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new SS.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let s=r[0],i=BigInt(r[1]),n=Buffer.from(r[2],"base64"),o=r.slice(3);return new t(s,i,n,o)}};BS.LogCheckpoint=ND});var HPe=A(iK=>{"use strict";Object.defineProperty(iK,"__esModule",{value:!0});iK.verifyMerkleInclusion=SDt;var sK=cc(),tK=Ii(),bDt=Buffer.from([0]),wDt=Buffer.from([1]);function SDt(t,e){let r=t.inclusionProof,s=BigInt(r.logIndex),i=BigInt(e.logSize);if(s<0n||s>=i)throw new tK.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${s}`});let{inner:n,border:o}=BDt(s,i);if(r.hashes.length!==n+o)throw new tK.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let a=r.hashes.slice(0,n),c=r.hashes.slice(n),l=_Dt(t.canonicalizedBody),u=NDt(xDt(l,a,s),c);if(!sK.crypto.bufferEqual(u,e.logHash))throw new tK.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}function BDt(t,e){let r=vDt(t,e),s=RDt(t>>BigInt(r));return{inner:r,border:s}}function xDt(t,e,r){return e.reduce((s,i,n)=>r>>BigInt(n)&BigInt(1)?rK(i,s):rK(s,i),t)}function NDt(t,e){return e.reduce((r,s)=>rK(s,r),t)}function vDt(t,e){return TDt(t^e-BigInt(1))}function RDt(t){return t.toString(2).split("1").length-1}function TDt(t){return t===0n?0:t.toString(2).length}function rK(t,e){return sK.crypto.digest("sha256",wDt,t,e)}function _Dt(t){return sK.crypto.digest("sha256",bDt,t)}});var zPe=A(nK=>{"use strict";Object.defineProperty(nK,"__esModule",{value:!0});nK.verifyTLogSET=ODt;var VPe=cc(),QDt=Ii(),PDt=zE();function ODt(t,e){if(!(0,PDt.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(i=>{let n=DDt(t),o=Buffer.from(VPe.json.canonicalize(n),"utf8"),a=t.inclusionPromise.signedEntryTimestamp;return VPe.crypto.verify(o,i.publicKey,a)}))throw new QDt.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}function DDt(t){let{integratedTime:e,logIndex:r,logId:s,canonicalizedBody:i}=t;return{body:i.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:s.keyId.toString("hex")}}});var jPe=A(vD=>{"use strict";Object.defineProperty(vD,"__esModule",{value:!0});vD.verifyTLogBody=UDt;vD.verifyTLogInclusion=qDt;var $Pe=NY(),cK=Ii(),oK=LPe(),aK=FPe(),kDt=UPe(),MDt=GPe(),LDt=HPe(),FDt=zPe();function UDt(t,e){let{kind:r,version:s}=t.kindVersion,i=JSON.parse(t.canonicalizedBody.toString("utf8"));if(r!==i.kind||s!==i.apiVersion)throw new cK.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${s}, received: ${i.kind}/${i.apiVersion}`});switch(r){case"dsse":if(s==oK.DSSE_API_VERSION_V1)return(0,oK.verifyDSSETLogBody)(i,e);{let n=$Pe.Entry.fromJSON(i);return(0,oK.verifyDSSETLogBodyV2)(n,e)}case"intoto":return(0,kDt.verifyIntotoTLogBody)(i,e);case"hashedrekord":if(s==aK.HASHEDREKORD_API_VERSION_V1)return(0,aK.verifyHashedRekordTLogBody)(i,e);{let n=$Pe.Entry.fromJSON(i);return(0,aK.verifyHashedRekordTLogBodyV2)(n,e)}default:throw new cK.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}function qDt(t,e){let r=!1;if(GDt(t)&&((0,FDt.verifyTLogSET)(t,e),r=!0),HDt(t)){let s=(0,MDt.verifyCheckpoint)(t,e);(0,LDt.verifyMerkleInclusion)(t,s),r=!0}if(!r)throw new cK.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}function GDt(t){return t.inclusionPromise!==void 0}function HDt(t){return t.inclusionProof!==void 0}});var ZPe=A(RD=>{"use strict";Object.defineProperty(RD,"__esModule",{value:!0});RD.Verifier=void 0;var VDt=require("util"),$E=Ii(),JPe=QPe(),YPe=OPe(),WPe=MPe(),KPe=jPe(),lK=class{trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let s=this.verifyTimestamps(e),i=this.verifySigningKey(e,s);return this.verifyTLogs(e),this.verifyS
2026-05-28 08:24:44 +00:00
`+t.mark.snippet),s+" "+r):s}function tC(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=GK(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}tC.prototype=Object.create(Error.prototype);tC.prototype.constructor=tC;tC.prototype.toString=function(e){return this.name+": "+GK(this,e)};var sn=tC;function ZD(t,e,r,s,i){var n="",o="",a=Math.floor(i/2)-1;return s-e>a&&(n=" ... ",e=s-a+n.length),r-s>a&&(o=" ...",r=s+a-o.length),{str:n+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:s-e+n.length}}function ek(t,e){return ss.repeat(" ",e-t.length)+t}function jDe(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,s=[0],i=[],n,o=-1;n=r.exec(t.buffer);)i.push(n.index),s.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=s.length-2);o<0&&(o=s.length-1);var a="",c,l,u=Math.min(t.line+e.linesAfter,i.length).toString().length,h=e.maxLength-(e.indent+u+3);for(c=1;c<=e.linesBefore&&!(o-c<0);c++)l=ZD(t.buffer,s[o-c],i[o-c],t.position-(s[o]-s[o-c]),h),a=ss.repeat(" ",e.indent)+ek((t.line-c+1).toString(),u)+" | "+l.str+`
`+a;for(l=ZD(t.buffer,s[o],i[o],t.position,h),a+=ss.repeat(" ",e.indent)+ek((t.line+1).toString(),u)+" | "+l.str+`
`,a+=ss.repeat("-",e.indent+u+3+l.pos)+`^
`,c=1;c<=e.linesAfter&&!(o+c>=i.length);c++)l=ZD(t.buffer,s[o+c],i[o+c],t.position-(s[o]-s[o+c]),h),a+=ss.repeat(" ",e.indent)+ek((t.line+c+1).toString(),u)+" | "+l.str+`
`;return a.replace(/\n$/,"")}var JDe=jDe,YDe=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],WDe=["scalar","sequence","mapping"];function KDe(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(s){e[String(s)]=r})}),e}function XDe(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(YDe.indexOf(r)===-1)throw new sn('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=KDe(e.styleAliases||null),WDe.indexOf(this.kind)===-1)throw new sn('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var Ys=XDe;function xK(t,e){var r=[];return t[e].forEach(function(s){var i=r.length;r.forEach(function(n,o){n.tag===s.tag&&n.kind===s.kind&&n.multi===s.multi&&(i=o)}),r[i]=s}),r}function ZDe(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function s(i){i.multi?(t.multi[i.kind].push(i),t.multi.fallback.push(i)):t[i.kind][i.tag]=t.fallback[i.tag]=i}for(e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(s);return t}function rk(t){return this.extend(t)}rk.prototype.extend=function(e){var r=[],s=[];if(e instanceof Ys)s.push(e);else if(Array.isArray(e))s=s.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(s=s.concat(e.explicit));else throw new sn("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(n){if(!(n instanceof Ys))throw new sn("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(n.loadKind&&n.loadKind!=="scalar")throw new sn("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(n.multi)throw new sn("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),s.forEach(function(n){if(!(n instanceof Ys))throw new sn("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(rk.prototype);return i.implicit=(this.implicit||[]).concat(r),i.explicit=(this.explicit||[]).concat(s),i.compiledImplicit=xK(i,"implicit"),i.compiledExplicit=xK(i,"explicit"),i.compiledTypeMap=ZDe(i.compiledImplicit,i.compiledExplicit),i};var eke=rk,tke=new Ys("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),rke=new Ys("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),ske=new Ys("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),ike=new eke({explicit:[tke,rke,ske]});function nke(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function oke(){return null}function ake(t){return t===null}var cke=new Ys("tag:yaml.org,2002:null",{kind:"scalar",resolve:nke,construct:oke,predicate:ake,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function lke(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function uke(t){return t==="true"||t==="True"||t==="TRUE"}function hke(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var dke=new Ys("tag:yaml.org,2002:bool",{kind:"scalar",resolve:lke,construct:uke,predicate:hke,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}}
\r`;function Dke(t){if(t===null)return!1;var e,r,s=0,i=t.length,n=ak;for(r=0;r<i;r++)if(e=n.indexOf(t.charAt(r)),!(e>64)){if(e<0)return!1;s+=6}return s%8===0}function kke(t){var e,r,s=t.replace(/[\r\n=]/g,""),i=s.length,n=ak,o=0,a=[];for(e=0;e<i;e++)e%4===0&&e&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|n.indexOf(s.charAt(e));return r=i%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function Mke(t){var e="",r=0,s,i,n=t.length,o=ak;for(s=0;s<n;s++)s%3===0&&s&&(e+=o[r>>18&63],e+=o[r>>12&63],e+=o[r>>6&63],e+=o[r&63]),r=(r<<8)+t[s];return i=n%3,i===0?(e+=o[r>>18&63],e+=o[r>>12&63],e+=o[r>>6&63],e+=o[r&63]):i===2?(e+=o[r>>10&63],e+=o[r>>4&63],e+=o[r<<2&63],e+=o[64]):i===1&&(e+=o[r>>2&63],e+=o[r<<4&63],e+=o[64],e+=o[64]),e}function Lke(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var Fke=new Ys("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Dke,construct:kke,predicate:Lke,represent:Mke}),Uke=Object.prototype.hasOwnProperty,qke=Object.prototype.toString;function Gke(t){if(t===null)return!0;var e=[],r,s,i,n,o,a=t;for(r=0,s=a.length;r<s;r+=1){if(i=a[r],o=!1,qke.call(i)!=="[object Object]")return!1;for(n in i)if(Uke.call(i,n))if(!o)o=!0;else return!1;if(!o)return!1;if(e.indexOf(n)===-1)e.push(n);else return!1}return!0}function Hke(t){return t!==null?t:[]}var Vke=new Ys("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Gke,construct:Hke}),zke=Object.prototype.toString;function $ke(t){if(t===null)return!0;var e,r,s,i,n,o=t;for(n=new Array(o.length),e=0,r=o.length;e<r;e+=1){if(s=o[e],zke.call(s)!=="[object Object]"||(i=Object.keys(s),i.length!==1))return!1;n[e]=[i[0],s[i[0]]]}return!0}function jke(t){if(t===null)return[];var e,r,s,i,n,o=t;for(n=new Array(o.length),e=0,r=o.length;e<r;e+=1)s=o[e],i=Object.keys(s),n[e]=[i[0],s[i[0]]];return n}var Jke=new Ys("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:$ke,construct:jke}),Yke=Object.prototype.hasOwnProperty;function Wke(t){if(t===null)return!0;var e,r=t;for(e in r)if(Yke.call(r,e)&&r[e]!==null)return!1;return!0}function Kke(t){return t!==null?t:{}}var Xke=new Ys("tag:yaml.org,2002:set",{kind:"mapping",resolve:Wke,construct:Kke}),zK=vke.extend({implicit:[Qke,Oke],explicit:[Fke,Vke,Jke,Xke]}),Qh=Object.prototype.hasOwnProperty,DS=1,$K=2,jK=3,kS=4,tk=1,Zke=2,NK=3,eMe=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tMe=/[\x85\u2028\u2029]/,rMe=/[,\[\]\{\}]/,JK=/^(?:!|!!|![a-z\-]+!)$/i,YK=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function vK(t){return Object.prototype.toString.call(t)}function hc(t){return t===10||t===13}function mf(t){return t===9||t===32}function nn(t){return t===9||t===32||t===10||t===13}function VA(t){return t===44||t===91||t===93||t===123||t===125}function sMe(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function iMe(t){return t===120?2:t===117?4:t===85?8:0}function nMe(t){return 48<=t&&t<=57?t-48:-1}function RK(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"\x85":t===95?"\xA0":t===76?"\u2028":t===80?"\u2029":""}function oMe(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function WK(t,e,r){e==="__proto__"?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}var KK=new Array(256),XK=new Array(256);for(Af=0;Af<256;Af++)KK[Af]=RK(Af)?1:0,XK[Af]=RK(Af);var Af;function aMe(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||zK,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function ZK(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=JDe(r),new sn(e,r)}function Be(t,e){throw ZK(t,e)}function MS(t,e){t.onWarning&&t.onWarning.call(null,ZK(t,e))}var TK={YAML:function(e,r,s){var i,n,o;e.version!==null&&Be(e,"duplication of %YAML directive"),s.length!==1&&Be(e,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(s[0]),i===null&&Be(e,"ill-formed argument of the YAML directive"),n=parseInt(i[1],10),o=parseInt(i[2],10),n!==1&&Be(e,"unacceptable YAML version of the document"),e.version=s[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&MS(e,"unsupported YAML version of the document")},TAG:function(e,r,s){var i,n;s.length!==2&&Be(e,"TAG directive accepts exactly two arguments"),i=s[0],n=s[1],JK.test(i)||Be(e,"ill-formed tag handle (first argument) of the TAG directive"),Qh.call(e.tagMap,i)&&Be(e,'there is a previously declared suffix for "'+i+'" tag handle'),YK.test(n)||Be(e,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch{Be(e,"tag prefix is malformed: "+n)}e.tagMap[i]=n}};function _h(t,e,r,s){var i,n,o,a;if(e<r){if(a=t.input.slice(e,r),s)for(i=0,n=a.length;i<n;i+=1)o=a.charCodeAt(i),o===9||32<=o&&o<=1114111||Be(t,"expected valid JSON character");else eMe.test(a)&&Be(t,"the stream contains non-printable characters");t.result+=a}}function _K(t,e,r,s){var i,n,o,a;for(ss.isObject(r)||Be(t,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),o=0,a=i.length;o<a;o+=1)n=i[o],Qh.call(e,n)||(WK(e,n,r[n]),s[n]=!0)}function zA(t,e,r,s,i,n,o,a,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&Be(t,"nested arrays are not supported inside keys"),typeof i=="object"&&vK(i[l])==="[object Object]"&&(i[l]="[object Object]");if(typeof i=="object"&&vK(i)==="[object Object]"&&(i="[object Object]"),i=String(i),e===null&&(e={}),s==="tag:yaml.org,2002:merge")if(Array.isArray(n))for(l=0,u=n.length;l<u;l+=1)_K(t,e,n[l],r);else _K(t,e,n,r);else!t.json&&!Qh.call(r,i)&&Qh.call(e,i)&&(t.line=o||t.line,t.lineStart=a||t.lineStart,t.position=c||t.position,Be(t,"duplicated mapping key")),WK(e,i,n),delete r[i];return e}function ck(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):Be(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function $r(t,e,r){for(var s=0,i=t.input.charCodeAt(t.position);i!==0;){for(;mf(i);)i===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&i===35)do i=t.input.charCodeAt(++t.position);while(i!==10&&i!==13&&i!==0);if(hc(i))for(ck(t),i=t.input.charCodeAt(t.position),s++,t.lineIndent=0;i===32;)t.lineIndent++,i=t.input.charCodeAt(++t.position);else break}return r!==-1&&s!==0&&t.lineIndent<r&&MS(t,"deficient indentation"),s}function US(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||nn(r)))}functio
`,e-1))}function cMe(t,e,r){var s,i,n,o,a,c,l,u,h=t.kind,d=t.result,f;if(f=t.input.charCodeAt(t.position),nn(f)||VA(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(i=t.input.charCodeAt(t.position+1),nn(i)||r&&VA(i)))return!1;for(t.kind="scalar",t.result="",n=o=t.position,a=!1;f!==0;){if(f===58){if(i=t.input.charCodeAt(t.position+1),nn(i)||r&&VA(i))break}else if(f===35){if(s=t.input.charCodeAt(t.position-1),nn(s))break}else{if(t.position===t.lineStart&&US(t)||r&&VA(f))break;if(hc(f))if(c=t.line,l=t.lineStart,u=t.lineIndent,$r(t,!1,-1),t.lineIndent>=e){a=!0,f=t.input.charCodeAt(t.position);continue}else{t.position=o,t.line=c,t.lineStart=l,t.lineIndent=u;break}}a&&(_h(t,n,o,!1),lk(t,t.line-c),n=o=t.position,a=!1),mf(f)||(o=t.position+1),f=t.input.charCodeAt(++t.position)}return _h(t,n,o,!1),t.result?!0:(t.kind=h,t.result=d,!1)}function lMe(t,e){var r,s,i;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,s=i=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(_h(t,s,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)s=t.position,t.position++,i=t.position;else return!0;else hc(r)?(_h(t,s,i,!0),lk(t,$r(t,!1,e)),s=i=t.position):t.position===t.lineStart&&US(t)?Be(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Be(t,"unexpected end of the stream within a single quoted scalar")}function uMe(t,e){var r,s,i,n,o,a;if(a=t.input.charCodeAt(t.position),a!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=s=t.position;(a=t.input.charCodeAt(t.position))!==0;){if(a===34)return _h(t,r,t.position,!0),t.position++,!0;if(a===92){if(_h(t,r,t.position,!0),a=t.input.charCodeAt(++t.position),hc(a))$r(t,!1,e);else if(a<256&&KK[a])t.result+=XK[a],t.position++;else if((o=iMe(a))>0){for(i=o,n=0;i>0;i--)a=t.input.charCodeAt(++t.position),(o=sMe(a))>=0?n=(n<<4)+o:Be(t,"expected hexadecimal character");t.result+=oMe(n),t.position++}else Be(t,"unknown escape sequence");r=s=t.position}else hc(a)?(_h(t,r,s,!0),lk(t,$r(t,!1,e)),r=s=t.position):t.position===t.lineStart&&US(t)?Be(t,"unexpected end of the document within a double quoted scalar"):(t.position++,s=t.position)}Be(t,"unexpected end of the stream within a double quoted scalar")}function hMe(t,e){var r=!0,s,i,n,o=t.tag,a,c=t.anchor,l,u,h,d,f,p=Object.create(null),m,E,y,C;if(C=t.input.charCodeAt(t.position),C===91)u=93,f=!1,a=[];else if(C===123)u=125,f=!0,a={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=a),C=t.input.charCodeAt(++t.position);C!==0;){if($r(t,!0,e),C=t.input.charCodeAt(t.position),C===u)return t.position++,t.tag=o,t.anchor=c,t.kind=f?"mapping":"sequence",t.result=a,!0;r?C===44&&Be(t,"expected the node content, but found ','"):Be(t,"missed comma between flow collection entries"),E=m=y=null,h=d=!1,C===63&&(l=t.input.charCodeAt(t.position+1),nn(l)&&(h=d=!0,t.position++,$r(t,!0,e))),s=t.line,i=t.lineStart,n=t.position,$A(t,e,DS,!1,!0),E=t.tag,m=t.result,$r(t,!0,e),C=t.input.charCodeAt(t.position),(d||t.line===s)&&C===58&&(h=!0,C=t.input.charCodeAt(++t.position),$r(t,!0,e),$A(t,e,DS,!1,!0),y=t.result),f?zA(t,a,p,E,m,y,s,i,n):h?a.push(zA(t,null,p,E,m,y,s,i,n)):a.push(m),$r(t,!0,e),C=t.input.charCodeAt(t.position),C===44?(r=!0,C=t.input.charCodeAt(++t.position)):r=!1}Be(t,"unexpected end of the stream within a flow collection")}function dMe(t,e){var r,s,i=tk,n=!1,o=!1,a=e,c=0,l=!1,u,h;if(h=t.input.charCodeAt(t.position),h===124)s=!1;else if(h===62)s=!0;else return!1;for(t.kind="scalar",t.result="";h!==0;)if(h=t.input.charCodeAt(++t.position),h===43||h===45)tk===i?i=h===43?NK:Zke:Be(t,"repeat of a chomping mode identifier");else if((u=nMe(h))>=0)u===0?Be(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Be(t,"repeat of an indentation width identifier"):(a=e+u-1,o=!0);else break;if(mf(h)){do h=t.input.charCodeAt(++t.position);while(mf(h));if(h===35)do h=t.input.charCodeAt(++t.position);while(!hc(h)&&h!==0)}for(;h!==0;){for(ck(t),t.lineIndent=0,h=t.input.charCodeAt(t.p
2026-05-22 14:44:02 +00:00
`,n?1+c:c):i===tk&&n&&(t.result+=`
2026-05-28 08:24:44 +00:00
`);break}for(s?mf(h)?(l=!0,t.result+=ss.repeat(`
`,n?1+c:c)):l?(l=!1,t.result+=ss.repeat(`
`,c+1)):c===0?n&&(t.result+=" "):t.result+=ss.repeat(`
`,c):t.result+=ss.repeat(`
`,n?1+c:c),n=!0,o=!0,c=0,r=t.position;!hc(h)&&h!==0;)h=t.input.charCodeAt(++t.position);_h(t,r,t.position,!1)}return!0}function QK(t,e){var r,s=t.tag,i=t.anchor,n=[],o,a=!1,c;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=n),c=t.input.charCodeAt(t.position);c!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Be(t,"tab characters must not be used in indentation")),!(c!==45||(o=t.input.charCodeAt(t.position+1),!nn(o))));){if(a=!0,t.position++,$r(t,!0,-1)&&t.lineIndent<=e){n.push(null),c=t.input.charCodeAt(t.position);continue}if(r=t.line,$A(t,e,jK,!1,!0),n.push(t.result),$r(t,!0,-1),c=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&c!==0)Be(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return a?(t.tag=s,t.anchor=i,t.kind="sequence",t.result=n,!0):!1}function fMe(t,e,r){var s,i,n,o,a,c,l=t.tag,u=t.anchor,h={},d=Object.create(null),f=null,p=null,m=null,E=!1,y=!1,C;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=h),C=t.input.charCodeAt(t.position);C!==0;){if(!E&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Be(t,"tab characters must not be used in indentation")),s=t.input.charCodeAt(t.position+1),n=t.line,(C===63||C===58)&&nn(s))C===63?(E&&(zA(t,h,d,f,p,null,o,a,c),f=p=m=null),y=!0,E=!0,i=!0):E?(E=!1,i=!0):Be(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,C=s;else{if(o=t.line,a=t.lineStart,c=t.position,!$A(t,r,$K,!1,!0))break;if(t.line===n){for(C=t.input.charCodeAt(t.position);mf(C);)C=t.input.charCodeAt(++t.position);if(C===58)C=t.input.charCodeAt(++t.position),nn(C)||Be(t,"a whitespace character is expected after the key-value separator within a block mapping"),E&&(zA(t,h,d,f,p,null,o,a,c),f=p=m=null),y=!0,E=!1,i=!1,f=t.tag,p=t.result;else if(y)Be(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=l,t.anchor=u,!0}else if(y)Be(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=l,t.anchor=u,!0}if((t.line===n||t.lineIndent>e)&&(E&&(o=t.line,a=t.lineStart,c=t.position),$A(t,e,kS,!0,i)&&(E?p=t.result:m=t.result),E||(zA(t,h,d,f,p,m,o,a,c),f=p=m=null),$r(t,!0,-1),C=t.input.charCodeAt(t.position)),(t.line===n||t.lineIndent>e)&&C!==0)Be(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return E&&zA(t,h,d,f,p,null,o,a,c),y&&(t.tag=l,t.anchor=u,t.kind="mapping",t.result=h),y}function pMe(t){var e,r=!1,s=!1,i,n,o;if(o=t.input.charCodeAt(t.position),o!==33)return!1;if(t.tag!==null&&Be(t,"duplication of a tag property"),o=t.input.charCodeAt(++t.position),o===60?(r=!0,o=t.input.charCodeAt(++t.position)):o===33?(s=!0,i="!!",o=t.input.charCodeAt(++t.position)):i="!",e=t.position,r){do o=t.input.charCodeAt(++t.position);while(o!==0&&o!==62);t.position<t.length?(n=t.input.slice(e,t.position),o=t.input.charCodeAt(++t.position)):Be(t,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!nn(o);)o===33&&(s?Be(t,"tag suffix cannot contain exclamation marks"):(i=t.input.slice(e-1,t.position+1),JK.test(i)||Be(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),o=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),rMe.test(n)&&Be(t,"tag suffix cannot contain flow indicator characters")}n&&!YK.test(n)&&Be(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{Be(t,"tag name is malformed: "+n)}return r?t.tag=n:Qh.call(t.tagMap,i)?t.tag=t.tagMap[i]+n:i==="!"?t.tag="!"+n:i==="!!"?t.tag="tag:yaml.org,2002:"+n:Be(t,'undeclared tag handle "'+i+'"'),!0}function AMe(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&Be(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!nn(r)&&!VA(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Be(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function mMe(t){var e,r,s;if(s=t.input.charCodeAt(t.position),s!==42)return!1;for(s=
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new aMe(t,e),s=t.indexOf("\0");for(s!==-1&&(r.position=s,Be(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)gMe(r);return r.documents}function yMe(t,e,r){e!==null&&typeof e=="object"&&typeof r>"u"&&(r=e,e=null);var s=eX(t,r);if(typeof e!="function")return s;for(var i=0,n=s.length;i<n;i+=1)e(s[i])}function EMe(t,e){var r=eX(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new sn("expected a single document in the stream, but found more")}}var CMe=yMe,IMe=EMe,tX={loadAll:CMe,load:IMe},rX=Object.prototype.toString,sX=Object.prototype.hasOwnProperty,uk=65279,bMe=9,rC=10,wMe=13,SMe=32,BMe=33,xMe=34,sk=35,NMe=37,vMe=38,RMe=39,TMe=42,iX=44,_Me=45,LS=58,QMe=61,PMe=62,OMe=63,DMe=64,nX=91,oX=93,kMe=96,aX=123,MMe=124,cX=125,Ws={};Ws[0]="\\0";Ws[7]="\\a";Ws[8]="\\b";Ws[9]="\\t";Ws[10]="\\n";Ws[11]="\\v";Ws[12]="\\f";Ws[13]="\\r";Ws[27]="\\e";Ws[34]='\\"';Ws[92]="\\\\";Ws[133]="\\N";Ws[160]="\\_";Ws[8232]="\\L";Ws[8233]="\\P";var LMe=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],FMe=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function UMe(t,e){var r,s,i,n,o,a,c;if(e===null)return{};for(r={},s=Object.keys(e),i=0,n=s.length;i<n;i+=1)o=s[i],a=String(e[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),c=t.compiledTypeMap.fallback[o],c&&sX.call(c.styleAliases,a)&&(a=c.styleAliases[a]),r[o]=a;return r}function qMe(t){var e,r,s;if(e=t.toString(16).toUpperCase(),t<=255)r="x",s=2;else if(t<=65535)r="u",s=4;else if(t<=4294967295)r="U",s=8;else throw new sn("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+ss.repeat("0",s-e.length)+e}var GMe=1,sC=2;function HMe(t){this.schema=t.schema||zK,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=ss.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=UMe(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?sC:GMe,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function PK(t,e){for(var r=ss.repeat(" ",e),s=0,i=-1,n="",o,a=t.length;s<a;)i=t.indexOf(`
`,s),i===-1?(o=t.slice(s),s=a):(o=t.slice(s,i+1),s=i+1),o.length&&o!==`
2026-05-22 14:44:02 +00:00
`&&(n+=r),n+=o;return n}function ik(t,e){return`
2026-05-28 08:24:44 +00:00
`+ss.repeat(" ",t.indent*e)}function VMe(t,e){var r,s,i;for(r=0,s=t.implicitTypes.length;r<s;r+=1)if(i=t.implicitTypes[r],i.resolve(e))return!0;return!1}function FS(t){return t===SMe||t===bMe}function iC(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==uk||65536<=t&&t<=1114111}function OK(t){return iC(t)&&t!==uk&&t!==wMe&&t!==rC}function DK(t,e,r){var s=OK(t),i=s&&!FS(t);return(r?s:s&&t!==iX&&t!==nX&&t!==oX&&t!==aX&&t!==cX)&&t!==sk&&!(e===LS&&!i)||OK(e)&&!FS(e)&&t===sk||e===LS&&i}function zMe(t){return iC(t)&&t!==uk&&!FS(t)&&t!==_Me&&t!==OMe&&t!==LS&&t!==iX&&t!==nX&&t!==oX&&t!==aX&&t!==cX&&t!==sk&&t!==vMe&&t!==TMe&&t!==BMe&&t!==MMe&&t!==QMe&&t!==PMe&&t!==RMe&&t!==xMe&&t!==NMe&&t!==DMe&&t!==kMe}function $Me(t){return!FS(t)&&t!==LS}function eC(t,e){var r=t.charCodeAt(e),s;return r>=55296&&r<=56319&&e+1<t.length&&(s=t.charCodeAt(e+1),s>=56320&&s<=57343)?(r-55296)*1024+s-56320+65536:r}function lX(t){var e=/^\n* /;return e.test(t)}var uX=1,nk=2,hX=3,dX=4,HA=5;function jMe(t,e,r,s,i,n,o,a){var c,l=0,u=null,h=!1,d=!1,f=s!==-1,p=-1,m=zMe(eC(t,0))&&$Me(eC(t,t.length-1));if(e||o)for(c=0;c<t.length;l>=65536?c+=2:c++){if(l=eC(t,c),!iC(l))return HA;m=m&&DK(l,u,a),u=l}else{for(c=0;c<t.length;l>=65536?c+=2:c++){if(l=eC(t,c),l===rC)h=!0,f&&(d=d||c-p-1>s&&t[p+1]!==" ",p=c);else if(!iC(l))return HA;m=m&&DK(l,u,a),u=l}d=d||f&&c-p-1>s&&t[p+1]!==" "}return!h&&!d?m&&!o&&!i(t)?uX:n===sC?HA:nk:r>9&&lX(t)?HA:o?n===sC?HA:nk:d?dX:hX}function JMe(t,e,r,s,i){t.dump=(function(){if(e.length===0)return t.quotingType===sC?'""':"''";if(!t.noCompatMode&&(LMe.indexOf(e)!==-1||FMe.test(e)))return t.quotingType===sC?'"'+e+'"':"'"+e+"'";var n=t.indent*Math.max(1,r),o=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-n),a=s||t.flowLevel>-1&&r>=t.flowLevel;function c(l){return VMe(t,l)}switch(jMe(e,a,t.indent,o,c,t.quotingType,t.forceQuotes&&!s,i)){case uX:return e;case nk:return"'"+e.replace(/'/g,"''")+"'";case hX:return"|"+kK(e,t.indent)+MK(PK(e,n));case dX:return">"+kK(e,t.indent)+MK(PK(YMe(e,o),n));case HA:return'"'+WMe(e)+'"';default:throw new sn("impossible error: invalid scalar style")}})()}function kK(t,e){var r=lX(t)?String(e):"",s=t[t.length-1]===`
`,i=s&&(t[t.length-2]===`
`||t===`
`),n=i?"+":s?"":"-";return r+n+`
2026-05-28 08:24:44 +00:00
`}function MK(t){return t[t.length-1]===`
`?t.slice(0,-1):t}function YMe(t,e){for(var r=/(\n+)([^\n]*)/g,s=(function(){var l=t.indexOf(`
`);return l=l!==-1?l:t.length,r.lastIndex=l,LK(t.slice(0,l),e)})(),i=t[0]===`
`||t[0]===" ",n,o;o=r.exec(t);){var a=o[1],c=o[2];n=c[0]===" ",s+=a+(!i&&!n&&c!==""?`
2026-05-28 08:24:44 +00:00
`:"")+LK(c,e),i=n}return s}function LK(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,s,i=0,n,o=0,a=0,c="";s=r.exec(t);)a=s.index,a-i>e&&(n=o>i?o:a,c+=`
`+t.slice(i,n),i=n+1),o=a;return c+=`
`,t.length-i>e&&o>i?c+=t.slice(i,o)+`
2026-05-28 08:24:44 +00:00
`+t.slice(o+1):c+=t.slice(i),c.slice(1)}function WMe(t){for(var e="",r=0,s,i=0;i<t.length;r>=65536?i+=2:i++)r=eC(t,i),s=Ws[r],!s&&iC(r)?(e+=t[i],r>=65536&&(e+=t[i+1])):e+=s||qMe(r);return e}function KMe(t,e,r){var s="",i=t.tag,n,o,a;for(n=0,o=r.length;n<o;n+=1)a=r[n],t.replacer&&(a=t.replacer.call(r,String(n),a)),(Kl(t,e,a,!1,!1)||typeof a>"u"&&Kl(t,e,null,!1,!1))&&(s!==""&&(s+=","+(t.condenseFlow?"":" ")),s+=t.dump);t.tag=i,t.dump="["+s+"]"}function FK(t,e,r,s){var i="",n=t.tag,o,a,c;for(o=0,a=r.length;o<a;o+=1)c=r[o],t.replacer&&(c=t.replacer.call(r,String(o),c)),(Kl(t,e+1,c,!0,!0,!1,!0)||typeof c>"u"&&Kl(t,e+1,null,!0,!0,!1,!0))&&((!s||i!=="")&&(i+=ik(t,e)),t.dump&&rC===t.dump.charCodeAt(0)?i+="-":i+="- ",i+=t.dump);t.tag=n,t.dump=i||"[]"}function XMe(t,e,r){var s="",i=t.tag,n=Object.keys(r),o,a,c,l,u;for(o=0,a=n.length;o<a;o+=1)u="",s!==""&&(u+=", "),t.condenseFlow&&(u+='"'),c=n[o],l=r[c],t.replacer&&(l=t.replacer.call(r,c,l)),Kl(t,e,c,!1,!1)&&(t.dump.length>1024&&(u+="? "),u+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Kl(t,e,l,!1,!1)&&(u+=t.dump,s+=u));t.tag=i,t.dump="{"+s+"}"}function ZMe(t,e,r,s){var i="",n=t.tag,o=Object.keys(r),a,c,l,u,h,d;if(t.sortKeys===!0)o.sort();else if(typeof t.sortKeys=="function")o.sort(t.sortKeys);else if(t.sortKeys)throw new sn("sortKeys must be a boolean or a function");for(a=0,c=o.length;a<c;a+=1)d="",(!s||i!=="")&&(d+=ik(t,e)),l=o[a],u=r[l],t.replacer&&(u=t.replacer.call(r,l,u)),Kl(t,e+1,l,!0,!0,!0)&&(h=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,h&&(t.dump&&rC===t.dump.charCodeAt(0)?d+="?":d+="? "),d+=t.dump,h&&(d+=ik(t,e)),Kl(t,e+1,u,!0,h)&&(t.dump&&rC===t.dump.charCodeAt(0)?d+=":":d+=": ",d+=t.dump,i+=d));t.tag=n,t.dump=i||"{}"}function UK(t,e,r){var s,i,n,o,a,c;for(i=r?t.explicitTypes:t.implicitTypes,n=0,o=i.length;n<o;n+=1)if(a=i[n],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof e=="object"&&e instanceof a.instanceOf)&&(!a.predicate||a.predicate(e))){if(r?a.multi&&a.representName?t.tag=a.representName(e):t.tag=a.tag:t.tag="?",a.represent){if(c=t.styleMap[a.tag]||a.defaultStyle,rX.call(a.represent)==="[object Function]")s=a.represent(e,c);else if(sX.call(a.represent,c))s=a.represent[c](e,c);else throw new sn("!<"+a.tag+'> tag resolver accepts not "'+c+'" style');t.dump=s}return!0}return!1}function Kl(t,e,r,s,i,n,o){t.tag=null,t.dump=r,UK(t,r,!1)||UK(t,r,!0);var a=rX.call(t.dump),c=s,l;s&&(s=t.flowLevel<0||t.flowLevel>e);var u=a==="[object Object]"||a==="[object Array]",h,d;if(u&&(h=t.duplicates.indexOf(r),d=h!==-1),(t.tag!==null&&t.tag!=="?"||d||t.indent!==2&&e>0)&&(i=!1),d&&t.usedDuplicates[h])t.dump="*ref_"+h;else{if(u&&d&&!t.usedDuplicates[h]&&(t.usedDuplicates[h]=!0),a==="[object Object]")s&&Object.keys(t.dump).length!==0?(ZMe(t,e,t.dump,i),d&&(t.dump="&ref_"+h+t.dump)):(XMe(t,e,t.dump),d&&(t.dump="&ref_"+h+" "+t.dump));else if(a==="[object Array]")s&&t.dump.length!==0?(t.noArrayIndent&&!o&&e>0?FK(t,e-1,t.dump,i):FK(t,e,t.dump,i),d&&(t.dump="&ref_"+h+t.dump)):(KMe(t,e,t.dump),d&&(t.dump="&ref_"+h+" "+t.dump));else if(a==="[object String]")t.tag!=="?"&&JMe(t,t.dump,e,n,c);else{if(a==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new sn("unacceptable kind of an object to dump "+a)}t.tag!==null&&t.tag!=="?"&&(l=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?l="!"+l:l.slice(0,18)==="tag:yaml.org,2002:"?l="!!"+l.slice(18):l="!<"+l+">",t.dump=l+" "+t.dump)}return!0}function eLe(t,e){var r=[],s=[],i,n;for(ok(t,r,s),i=0,n=s.length;i<n;i+=1)e.duplicates.push(r[s[i]]);e.usedDuplicates=new Array(n)}function ok(t,e,r){var s,i,n;if(t!==null&&typeof t=="object")if(i=e.indexOf(t),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(e.push(t),Array.isArray(t))for(i=0,n=t.length;i<n;i+=1)ok(t[i],e,r);else for(s=Object.keys(t),i=0,n=s.length;i<n;i+=1)ok(t[s[i]],e,r)}function tLe(t,e){e=e||{};var r=new HMe(e);r.noRefs||eLe(t,r);var s=t;return r.replacer&&(s=r.replacer.call({"":s},"",s)),Kl(r,0,s,!0,!0)?r.dump+`
`:""}var rLe=tLe,sLe={dump:rLe};function hk(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var fX=tX.load,ZDt=tX.loadAll,ekt=sLe.dump;var tkt=hk("safeLoad","load"),rkt=hk("safeLoadAll","loadAll"),skt=hk("safeDump","dump");var AX=O(require("os"),1);function Xl(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function dk(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function Zl(t,e,r){let s=new fk(t,e,r);process.stdout.write(s.toString()+AX.EOL)}function pk(t,e=""){Zl(t,{},e)}var pX="::",fk=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=pX+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 i=this.properties[s];i&&(r?r=!1:e+=",",e+=`${s}=${oLe(i)}`)}}return e+=`${pX}${nLe(this.message)}`,e}};function nLe(t){return Xl(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function oLe(t){return Xl(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var mX=O(require("crypto"),1),GS=O(require("fs"),1),qS=O(require("os"),1);function HS(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!GS.existsSync(r))throw new Error(`Missing file at path: ${r}`);GS.appendFileSync(r,`${Xl(e)}${qS.EOL}`,{encoding:"utf8"})}function Ak(t,e){let r=`ghadelimiter_${mX.randomUUID()}`,s=Xl(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${qS.EOL}${s}${qS.EOL}${r}`}var eF=O(require("os"),1),uoe=O(require("path"),1);var oI=O(require("http"),1),q2=O(require("https"),1);function mk(t){let e=t.protocol==="https:";if(aLe(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 VS(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new VS(`http://${r}`)}else return}function aLe(t){if(!t.hostname)return!1;let e=t.hostname;if(cLe(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 i=[t.hostname.toUpperCase()];typeof s=="number"&&i.push(`${i[0]}:${s}`);for(let n of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(n==="*"||i.some(o=>o===n||o.endsWith(`.${n}`)||n.startsWith(".")&&o.endsWith(`${n}`)))return!0;return!1}function cLe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var VS=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Xh=O(zS(),1),Vne=O(iI(),1),Pr=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},yr;(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
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function hI(t,e){if(process.env.GITHUB_OUTPUT||"")return HS("OUTPUT",Ak(t,e));process.stdout.write(eF.EOL),Zl("set-output",{name:t},Xl(e))}function hoe(t){process.exitCode=Z2.Failure,H$e(t)}function doe(){return process.env.RUNNER_DEBUG==="1"}function z(t){Zl("debug",{},t)}function H$e(t,e={}){Zl("error",dk(e),t instanceof Error?t.toString():t)}function Gs(t,e={}){Zl("warning",dk(e),t instanceof Error?t.toString():t)}function V(t){process.stdout.write(t+eF.EOL)}function V$e(t){pk("group",t)}function z$e(){pk("endgroup")}function Kt(t,e){return G$e(this,void 0,void 0,function*(){V$e(t);let r;try{r=yield e()}finally{z$e()}return r})}function dn(t,e){if(process.env.GITHUB_STATE||"")return HS("STATE",Ak(t,e));Zl("save-state",{name:t},Xl(e))}function foe(t){return process.env[`STATE_${t}`]||""}var $T=O(require("fs"),1),lz=O(require("os"),1),uz=O(require("path"),1);var Aoe=O(require("os"),1);function dI(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function moe(t,e,r){let s=new tF(t,e,r);process.stdout.write(s.toString()+Aoe.EOL)}var poe="::",tF=class{constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=poe+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 i=this.properties[s];i&&(r?r=!1:e+=",",e+=`${s}=${j$e(i)}`)}}return e+=`${poe}${$$e(this.message)}`,e}};function $$e(t){return dI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function j$e(t){return dI(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var Coe=O(require("os"),1);var yoe=require("os"),fI=require("fs"),rF=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},{access:J$e,appendFile:Y$e,writeFile:W$e}=fI.promises,goe="GITHUB_STEP_SUMMARY";var sF=class{constructor(){this._buffer=""}filePath(){return rF(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[goe];if(!e)throw new Error(`Unable to find environment variable for $${goe}. Check if your runtime environment supports job summaries.`);try{yield J$e(e,fI.constants.R_OK|fI.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 i=Object.entries(s).map(([n,o])=>` ${n}="${o}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return rF(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?W$e:Y$e)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return rF(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(yoe.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(i).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",i=e.map(o=>this.wrap("li",o)).join(""),n=this.wrap(s,i);return this.addRaw(n).addEOL()}addTable(e){let r=e.map(i=>{let n=i.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:u}=o,h=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),u&&{rowspan:u});return this.wrap(h,c,d)}).join("");return this.wrap("tr",n)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:i,height:n}=s||{},o=Object.assign(Object.assign
`),e=e.replace(/\r/g,`
`));let i=e.split(`
2026-05-28 08:24:44 +00:00
`).map(n=>n.trim());for(let n of i)!n||n.startsWith("#")||s.patterns.push(new TI(n));return s.searchPaths.push(...HF(s.patterns)),s})}static stat(e,r,s){return JF(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield eg.promises.stat(e.path)}catch(n){if(n.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Uo(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}else i=yield eg.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let n=yield eg.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(o=>o===n)){Uo(`Symlink cycle detected for path '${e.path}' and realpath '${n}'`);return}s.push(n)}return i})}};var HYe=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function ile(t,e){return HYe(this,void 0,void 0,function*(){return yield uN.create(t,e)})}var xN=O(require("crypto"),1),sg=O(require("fs"),1),Wf=O(require("path"),1),Yue=O(jue(),1),Wue=O(require("util"),1);var FI;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(FI||(FI={}));var _i;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(_i||(_i={}));var Kn;(function(t){t.GNU="gnu",t.BSD="bsd"})(Kn||(Kn={}));var SN=2,BN=5e3,pU=5e3,AU=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,Jue=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,UI="cache.tar",mU="manifest.txt",xqt=10*Math.pow(1024,3);var rg=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},UKe=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(n){r[n]=t[n]&&function(o){return new Promise(function(a,c){o=t[n](o),i(a,c,o.done,o.value)})}}function i(n,o,a,c){Promise.resolve(c).then(function(l){n({value:l,done:a})},o)}},qKe="1.0";function qI(){return rg(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=Wf.join(s,"actions","temp")}let r=Wf.join(e,xN.randomUUID());return yield Au(r),r})}function Tc(t){return sg.statSync(t).size}function gU(t){return rg(this,void 0,void 0,function*(){var e,r,s,i,n;let o=[],a=(n=process.env.GITHUB_WORKSPACE)!==null&&n!==void 0?n:process.cwd(),c=yield ile(t.join(`
`),{implicitDescendants:!1});try{for(var l=!0,u=UKe(c.globGenerator()),h;h=yield u.next(),e=h.done,!e;l=!0){i=h.value,l=!1;let f=Wf.relative(a,i).replace(new RegExp(`\\${Wf.sep}`,"g"),"/");se(`Matched: ${f}`),f===""?o.push("."):o.push(`${f}`)}}catch(d){r={error:d}}finally{try{!l&&!e&&(s=u.return)&&(yield s.call(u))}finally{if(r)throw r.error}}return o})}function GI(t){return rg(this,void 0,void 0,function*(){return Wue.promisify(sg.unlink)(t)})}function Kue(t){return rg(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),se(`Checking ${e} ${r.join(" ")}`);try{yield Yn(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>s+=i.toString(),stderr:i=>s+=i.toString()}})}catch(i){se(i.message)}return s=s.trim(),se(s),s})}function HI(){return rg(this,void 0,void 0,function*(){let t=yield Kue("zstd",["--quiet"]),e=Yue.clean(t);return se(`zstd version: ${e}`),t===""?_i.Gzip:_i.ZstdWithoutLong})}function nd(t){return t===_i.Gzip?FI.Gzip:FI.Zstd}function Xue(){return rg(this,void 0,void 0,function*(){return sg.existsSync(AU)?AU:(yield Kue("tar")).toLowerCase().includes("gnu tar")?qs("tar"):""})}function yU(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}function ig(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(qKe),xN.createHash("sha256").update(s.join("|")).digest("hex")}function Zue(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}var Og=O(require("fs"),1),Sme=require("url");var _c=class extends Error{constructor(e){super(e),this.name="AbortError"}};var ehe=require("node:os"),the=O(require("node:util"),1),rhe=O(require("node:process"),1);function she(t,...e){rhe.default.stderr.write(`${the.default.format(t,...e)}${ehe.EOL}`)}var ihe=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,ohe,EU=[],CU=[],vN=[];ihe&&IU(ihe);var ahe=Object.assign(t=>che(t),{enable:IU,enabled:bU,disable:GKe,log:she});function IU(t){ohe=t,EU=[],CU=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?CU.push(r.substring(1)):EU.push(r);for(let r of vN)r.enabled=bU(r.namespace)}function bU(t){if(t.endsWith("*"))return!0;for(let e of CU)if(nhe(t,e))return!1;for(let e of EU)if(nhe(t,e))return!0;return!1}function nhe(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let d=[],f="";for(let p of e)p==="*"&&f==="*"||(f=p,d.push(p));r=d.join("")}let s=0,i=0,n=r.length,o=t.length,a=-1,c=-1;for(;s<o&&i<n;)if(r[i]==="*"){if(a=i,i++,i===n)return!0;for(;t[s]!==r[i];)if(s++,s===o)return!1;c=s,s++,i++;continue}else if(r[i]===t[s])i++,s++;else if(a>=0){if(i=a+1,s=c+1,s===o)return!1;for(;t[s]!==r[i];)if(s++,s===o)return!1;c=s,s++,i++;continue}else return!1;let l=s===t.length,u=i===r.length,h=i===r.length-1&&r[i]==="*";return l&&(u||h)}function GKe(){let t=ohe||"";return IU(""),t}function che(t){let e=Object.assign(r,{enabled:bU(t),destroy:HKe,log:ahe.log,namespace:t,extend:VKe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return vN.push(e),e}function HKe(){let t=vN.indexOf(this);return t>=0?(vN.splice(t,1),!0):!1}function VKe(t){let e=che(`${this.namespace}:${t}`);return e.log=this.log,e}var ng=ahe;var wU=["verbose","info","warning","error"],lhe={verbose:400,info:300,warning:200,error:100};function uhe(t,e){e.log=(...r)=>{t.log(...r)}}function hhe(t){return wU.includes(t)}function RN(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,i=ng(t.namespace);i.log=(...u)=>{ng.log(...u)};function n(u){if(u&&!hhe(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${wU.join(",")}`);s=u;let h=[];for(let d of e)o(d)&&h.push(d.namespace);ng.enable(h.join(","))}r&&(hhe(r)?n(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${wU.join(", ")}.`));function o(u){return!!(s&&lhe[u.level]<=lhe[s])}function a(u,h){let d=Object.assign(u.extend(h),{level:h});if(uhe(u,d),o(d)){let f=ng.disable();ng
${YKe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function PN(t){return t instanceof Qi?!0:Xf(t)&&t.name==="RestError"}function fn(t,e){return Buffer.from(t,e)}var ON=O(require("node:http"),1),DN=O(require("node:https"),1),vU=O(require("node:zlib"),1),ghe=require("node:stream");var Ho=VI("ts-http-runtime");var WKe={};function zI(t){return t&&typeof t.pipe=="function"}function mhe(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)};t.on("close",r),t.on("end",r),t.on("error",r)})}function yhe(t){return t&&typeof t.byteLength=="number"}var kN=class extends ghe.Transform{loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(i){s(i)}}constructor(e){super(),this.progressCallback=e}},RU=class{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new _c("The operation was aborted. Request has already been canceled.");s=l=>{l.type==="abort"&&r.abort()},e.abortSignal.addEventListener("abort",s)}let i;e.timeout>0&&(i=setTimeout(()=>{let l=new Ga;Ho.info(`request to '${l.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let n=e.headers.get("Accept-Encoding"),o=n?.includes("gzip")||n?.includes("deflate"),a=typeof e.body=="function"?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let l=eXe(a);l!==null&&e.headers.set("Content-Length",l)}let c;try{if(a&&e.onUploadProgress){let p=e.onUploadProgress,m=new kN(p);m.on("error",E=>{Ho.error("Error in upload progress",E)}),zI(a)?a.pipe(m):m.end(a),a=m}let l=await this.makeRequest(e,r,a);i!==void 0&&clearTimeout(i);let u=KKe(l),d={status:l.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return l.resume(),d;c=o?XKe(l,u):l;let f=e.onDownloadProgress;if(f){let p=new kN(f);p.on("error",m=>{Ho.error("Error in download progress",m)}),c.pipe(p),c=p}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(d.status)?d.readableStreamBody=c:d.bodyAsText=await ZKe(c),d}finally{if(e.abortSignal&&s){let l=Promise.resolve();zI(a)&&(l=mhe(a));let u=Promise.resolve();zI(c)&&(u=mhe(c)),Promise.all([l,u]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(h=>{Ho.warning("Error when cleaning up abortListener on httpRequest",h)})}}}makeRequest(e,r,s){let i=new URL(e.url),n=i.protocol!=="https:";if(n&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((c,l)=>{let u=n?ON.default.request(a,c):DN.default.request(a,c);u.once("error",h=>{l(new Qi(h.message,{code:h.code??Qi.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let h=new _c("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(h),l(h)}),s&&zI(s)?s.pipe(u):s?typeof s=="string"||Buffer.isBuffer(s)?u.end(s):yhe(s)?u.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Ho.error("Unrecognized body type",s),l(new Qi("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?ON.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new ON.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return DN.default.globalAgent;let i=e.tlsSettings??WKe,n=this.cachedHttpsAgents.get(i);return n&&n.options.keepAlive===!s||(Ho.info("No cached TLS Agent exist, creating a new Agent"),n=new DN.default.Agent({keepAlive:!s,...i}),this.cachedHttpsAgents.set(i,n)),n}}};function KKe(t){let e=Xn();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(
`;return e}function QZe(t){return t instanceof Uint8Array?t.byteLength:nv(t)?t.size===-1?void 0:t.size:void 0}function PZe(t){let e=0;for(let r of t){let s=QZe(r);if(s===void 0)return;e+=s}return e}async function OZe(t,e,r){let s=[fn(`--${r}`,"utf-8"),...e.flatMap(n=>[fn(`\r
`,"utf-8"),fn(_Ze(n.headers),"utf-8"),fn(`\r
`,"utf-8"),n.body,fn(`\r
--${r}`,"utf-8")]),fn(`--\r
\r
2026-05-28 08:24:44 +00:00
`,"utf-8")],i=PZe(s);i&&t.headers.set("Content-Length",i),t.body=await Cde(s)}var YI="multipartPolicy",DZe=70,kZe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function MZe(t){if(t.length>DZe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!kZe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function av(){return{name:YI,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",i=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,n,o]=i;if(o&&r&&o!==r)throw new Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);return r??=o,r?MZe(r):r=TZe(),t.headers.set("Content-Type",`${n}; boundary=${r}`),await OZe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}function cv(){return QN()}var Ide=RN({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),l8t=Ide.logger;function Oc(t){return Ide.createClientLogger(t)}var Dc=Oc("core-rest-pipeline");function YU(t={}){return LN({logger:Dc.info,...t})}var WU=FN;function KU(t={}){return UN(t)}var lv=O(require("node:os"),1),uv=O(require("node:process"),1);function bde(){return"User-Agent"}async function wde(t){if(uv.default&&uv.default.versions){let e=`${lv.default.type()} ${lv.default.release()}; ${lv.default.arch()}`,r=uv.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}var hv="1.22.2";function zZe(t){let e=[];for(let[r,s]of t){let i=s?`${r}/${s}`:r;e.push(i)}return e.join(" ")}function Sde(){return bde()}async function dv(t){let e=new Map;e.set("core-rest-pipeline",hv),await wde(e);let r=zZe(e);return t?`${t} ${r}`:r}var Bde=Sde(),xde="userAgentPolicy";function XU(t={}){let e=dv(t.userAgentPrefix);return{name:xde,async sendRequest(r,s){return r.headers.has(Bde)||r.headers.set(Bde,await e),s(r)}}}var ro=class extends Error{constructor(e){super(e),this.name="AbortError"}};function ZU(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:i}=e??{};return new Promise((n,o)=>{function a(){o(new ro(i??"The operation was aborted."))}function c(){s?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(s?.aborted)return a();try{t(u=>{c(),n(u)},u=>{c(),o(u)})}catch(u){o(u)}s?.addEventListener("abort",l)})}var WZe="The delay was aborted.";function WI(t,e){let r,{abortSignal:s,abortErrorMsg:i}=e??{};return ZU(n=>{r=setTimeout(n,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:s,abortErrorMsg:i??WZe})}function ad(t){if(Xf(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}function Nde(t){return Xf(t)}function dg(){return Kf()}var Bt=tp;var vde=Symbol("rawContent");function tq(t){return typeof t[vde]=="function"}function Rde(t){return tq(t)?t[vde]():t}var fv=YI;function rq(){let t=av();return{name:fv,sendRequest:async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)tq(s.body)&&(s.body=Rde(s.body));return t.sendRequest(e,r)}}}var sq=qN;function iq(){return GN()}function nq(t={}){return zN(t)}function oq(){return $N()}function cd(t){return VU(t)}function aq(t,e){return rv(t,e)}var Tde="setClientRequestIdPolicy";function cq(t="x-ms-client-request-id"){return{name:Tde,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}function lq(t){return sv(t)}function uq(t){return iv(t)}var fg={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function _de(t={}){let e=new hq(t.parentContext);return t.span&&(e=e.setValue(fg.span,t.span)),t.namespace&&(e=e.setValue(fg.namespace,t.namespace)),e}var hq=class t{_contextMap;constructor(e){this._contextMap=e instanceof t
`&&t[n]!=="\r";n++)c+=t[n];if(c=c.trim(),c[c.length-1]==="/"&&(c=c.substring(0,c.length-1),n--),!Iet(c)){let h;return c.trim().length===0?h="Invalid space after '<'.":h="Tag '"+c+"' is an invalid name.",Or("InvalidTag",h,Pi(t,n))}let l=met(t,n);if(l===!1)return Or("InvalidAttr","Attributes for '"+c+"' have open quote.",Pi(t,n));let u=l.value;if(n=l.index,u[u.length-1]==="/"){let h=n-u.length;u=u.substring(0,u.length-1);let d=pfe(u,e);if(d===!0)s=!0;else return Or(d.err.code,d.err.msg,Pi(t,h+d.err.line))}else if(a)if(l.tagClosed){if(u.trim().length>0)return Or("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",Pi(t,o));if(r.length===0)return Or("InvalidTag","Closing tag '"+c+"' has not been opened.",Pi(t,o));{let h=r.pop();if(c!==h.tagName){let d=Pi(t,h.tagStartPos);return Or("InvalidTag","Expected closing tag '"+h.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+c+"'.",Pi(t,o))}r.length==0&&(i=!0)}}else return Or("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",Pi(t,n));else{let h=pfe(u,e);if(h!==!0)return Or(h.err.code,h.err.msg,Pi(t,n-u.length+h.err.line));if(i===!0)return Or("InvalidXml","Multiple possible root nodes found.",Pi(t,n));e.unpairedTags.indexOf(c)!==-1||r.push({tagName:c,tagStartPos:o}),s=!0}for(n++;n<t.length;n++)if(t[n]==="<")if(t[n+1]==="!"){n++,n=ffe(t,n);continue}else if(t[n+1]==="?"){if(n=dfe(t,++n),n.err)return n}else break;else if(t[n]==="&"){let h=Eet(t,n);if(h==-1)return Or("InvalidChar","char '&' is not expected.",Pi(t,n));n=h}else if(i===!0&&!hfe(t[n]))return Or("InvalidXml","Extra text at the end",Pi(t,n));t[n]==="<"&&n--}}else{if(hfe(t[n]))continue;return Or("InvalidChar","char '"+t[n]+"' is not expected.",Pi(t,n))}if(s){if(r.length==1)return Or("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Pi(t,r[0].tagStartPos));if(r.length>0)return Or("InvalidXml","Invalid '"+JSON.stringify(r.map(n=>n.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Or("InvalidXml","Start tag expected.",1);return!0}function hfe(t){return t===" "||t===" "||t===`
`||t==="\r"}function dfe(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 Or("InvalidXml","XML declaration allowed only at the start of the document.",Pi(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function ffe(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}var pet='"',Aet="'";function met(t,e){let r="",s="",i=!1;for(;e<t.length;e++){if(t[e]===pet||t[e]===Aet)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){i=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:i}}var get=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function pfe(t,e){let r=Sv(t,get),s={};for(let i=0;i<r.length;i++){if(r[i][1].length===0)return Or("InvalidAttr","Attribute '"+r[i][2]+"' has no space in starting.",c0(r[i]));if(r[i][3]!==void 0&&r[i][4]===void 0)return Or("InvalidAttr","Attribute '"+r[i][2]+"' is without value.",c0(r[i]));if(r[i][3]===void 0&&!e.allowBooleanAttributes)return Or("InvalidAttr","boolean attribute '"+r[i][2]+"' is not allowed.",c0(r[i]));let n=r[i][2];if(!Cet(n))return Or("InvalidAttr","Attribute '"+n+"' is an invalid name.",c0(r[i]));if(!Object.prototype.hasOwnProperty.call(s,n))s[n]=1;else return Or("InvalidAttr","Attribute '"+n+"' is repeated.",c0(r[i]))}return!0}function yet(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}function Eet(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,yet(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}function Or(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}function Cet(t){return Rq(t)}function Iet(t){return Rq(t)}function Pi(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function c0(t){return t.startIndex+t[1].length}var Afe={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"},mfe={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",tho
`);let e=new gn("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let i=this.options,n=new h0(i.processEntities),o=t.length;for(let a=0;a<o;a++)if(t[a]==="<"){let l=t.charCodeAt(a+1);if(l===47){let u=yg(t,">",a,"Closing Tag is not closed."),h=t.substring(a+2,u).trim();if(i.removeNSPrefix){let f=h.indexOf(":");f!==-1&&(h=h.substr(f+1))}h=Mq(i.transformTagName,h,"",i).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let d=this.matcher.getCurrentTag();if(h&&i.unpairedTagsSet.has(h))throw new Error(`Unpaired tag can not be used as closing tag: </${h}>`);d&&i.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",a=u}else if(l===63){let u=Lq(t,a,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let h=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(h){let d=h[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1),n.setXmlVersion(Number(d)||1)}if(!(i.ignoreDeclaration&&u.tagName==="?xml"||i.ignorePiTags)){let d=new gn(u.tagName);d.add(i.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&i.ignoreAttributes!==!0&&(d[":@"]=h),this.addChild(r,d,this.readonlyMatcher,a)}a=u.closeIndex+1}else if(l===33&&t.charCodeAt(a+2)===45&&t.charCodeAt(a+3)===45){let u=yg(t,"-->",a+4,"Comment is not closed.");if(i.commentPropName){let h=t.substring(a+4,u-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(i.commentPropName,[{[i.textNodeName]:h}])}a=u}else if(l===33&&t.charCodeAt(a+2)===68){let u=n.readDocType(t,a);this.entityDecoder.addInputEntities(u.entities),a=u.i}else if(l===33&&t.charCodeAt(a+2)===91){let u=yg(t,"]]>",a,"CDATA is not closed.")-2,h=t.substring(a+9,u);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.parseTextData(h,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),i.cdataPropName?r.add(i.cdataPropName,[{[i.textNodeName]:h}]):r.add(i.textNodeName,d),a=u+2}else{let u=Lq(t,a,i.removeNSPrefix);if(!u){let P=t.substring(Math.max(0,a-50),Math.min(o,a+50));throw new Error(`readTagExp returned undefined at position ${a}. Context: "${P}"`)}let h=u.tagName,d=u.rawTagName,f=u.tagExp,p=u.attrExpPresent,m=u.closeIndex;if({tagName:h,tagExp:f}=Mq(i.transformTagName,h,f,i),i.strictReservedNames&&(h===i.commentPropName||h===i.cdataPropName||h===i.textNodeName||h===i.attributesGroupName))throw new Error(`Invalid tag name: ${h}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let E=r;E&&i.unpairedTagsSet.has(E.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;f.length>0&&f.lastIndexOf("/")===f.length-1&&(y=!0,h[h.length-1]==="/"?(h=h.substr(0,h.length-1),f=h):f=f.substr(0,f.length-1),p=h!==f);let C=null,w={},B;B=zet(d),h!==e.tagname&&this.matcher.push(h,{},B),h!==f&&p&&(C=this.buildAttributesMap(f,this.matcher,h),C&&(w=Vet(C,i))),h!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=a;if(this.isCurrentNodeStopNode){let P="";if(y)a=u.closeIndex;else if(i.unpairedTagsSet.has(h))a=u.closeIndex;else{let k=this.readStopNodeData(t,d,m+1);if(!k)throw new Error(`Unexpected end of ${d}`);a=k.i,P=k.tagContent}let Q=new gn(h);C&&(Q[":@"]=C),Q.add(i.textNodeName,P),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,Q,this.readonlyMatcher,N)}else{if(y){({tagName:h,tagExp:f}=Mq(i.transformTagName,h,f,i));let P=new gn(h);C&&(P[":@"]=C),this.addChild(r,P,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(h)){let P=new gn(h);C&&(P[":@"]=C),this.addChild(r,P,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=u.closeIndex;continue}else{let P=new gn(h);if(this.tagsNodeStack.length>i.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),C&&(P[":@"]=C),this.addChild(r,P,this.readonlyMatcher,N),r=P}s="",a=m}}}else s+=t[a];return e.child};function K
`;function ltt(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(Vq(r)==="?xml"){let i=r[":@"];if(i){let n=e.attributeNamePrefix+"version";if(i[n])return i[n]}}return"1.0"}function Mfe(t,e,r,s,i){return!r.sanitizeName||ap(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}function Hq(t,e){let r="";e.format&&(r=ctt);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let o=0;o<e.stopNodes.length;o++){let a=e.stopNodes[o];typeof a=="string"?s.push(new no(a)):a instanceof no&&s.push(a)}let i=ltt(t,e),n=new Lc;return Lfe(t,e,r,n,s,i)}function Lfe(t,e,r,s,i,n){let o="",a=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let c=t.toString();return c=Gq(c,e),c}return""}for(let c=0;c<t.length;c++){let l=t[c],u=Vq(l);if(u===void 0)continue;let d=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:Mfe(u,!1,e,s,n),f=utt(l[":@"],e);s.push(d,f);let p=dtt(s,i);if(d===e.textNodeName){let w=l[u];p||(w=e.tagValueProcessor(d,w),w=Gq(w,e)),a&&(o+=r),o+=w,a=!1,s.pop();continue}else if(d===e.cdataPropName){a&&(o+=r);let w=l[u][0][e.textNodeName],B=_v(w);o+=`<![CDATA[${B}]]>`,a=!1,s.pop();continue}else if(d===e.commentPropName){let w=l[u][0][e.textNodeName],B=Tv(w);o+=r+`<!--${B}-->`,a=!0,s.pop();continue}else if(d[0]==="?"){let w=kfe(l[":@"],e,p,s,n);o+=(d==="?xml"?"":r)+`<${d}${w}?>`,a=!0,s.pop();continue}let m=r;m!==""&&(m+=e.indentBy);let E=kfe(l[":@"],e,p,s,n),y=r+`<${d}${E}`,C;p?C=Ffe(l[u],e):C=Lfe(l[u],e,m,s,i,n),e.unpairedTags.indexOf(d)!==-1?e.suppressUnpairedNode?o+=y+">":o+=y+"/>":(!C||C.length===0)&&e.suppressEmptyNode?o+=y+"/>":C&&C.endsWith(">")?o+=y+`>${C}${r}</${d}>`:(o+=y+">",C&&r!==""&&(C.includes("/>")||C.includes("</"))?o+=r+e.indentBy+C+r:o+=C,o+=`</${d}>`),a=!0,s.pop()}return o}function utt(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;let n=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[n]=hd(t[i]),s=!0}return s?r:null}function Ffe(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let i=t[s],n=Vq(i);if(n===e.textNodeName)r+=i[n];else if(n===e.cdataPropName)r+=i[n][0][e.textNodeName];else if(n===e.commentPropName)r+=i[n][0][e.textNodeName];else{if(n&&n[0]==="?")continue;if(n){let o=htt(i[":@"],e),a=Ffe(i[n],e);!a||a.length===0?r+=`<${n}${o}/>`:r+=`<${n}${o}>${a}</${n}>`}}}return r}function htt(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=t[s];i===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${hd(i)}"`}return r}function Vq(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}}function kfe(t,e,r,s,i){let n="";if(t&&!e.ignoreAttributes)for(let o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;let a=o.substr(e.attributeNamePrefix.length),c=r?a:Mfe(a,!0,e,s,i),l;r?l=t[o]:(l=e.attributeValueProcessor(o,t[o]),l=Gq(l,e)),l===!0&&e.suppressBooleanAttributes?n+=` ${c}`:n+=` ${c}="${hd(l)}"`}return n}function dtt(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}function Gq(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}function zq(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}var ftt={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","
`,this.newLine=`
2026-05-28 08:24:44 +00:00
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ptt(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let i=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(i)return i}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}function $q(t,e,r,s,i){return!r.sanitizeName||ap(t,{xmlVersion:i})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}En.prototype.build=function(t){if(this.options.preserveOrder)return Hq(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Lc,r=ptt(t,this.options);return this.j2x(t,0,e,r).val}};En.prototype.j2x=function(t,e,r,s){let i="",n="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let c in t){if(!Object.prototype.hasOwnProperty.call(t,c))continue;let u=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]==="?"?c:$q(c,!1,this.options,r,s);if(typeof t[c]>"u")this.isAttribute(c)&&(n+="");else if(t[c]===null)this.isAttribute(c)||u===this.options.cdataPropName||u===this.options.commentPropName?n+="":u[0]==="?"?n+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[c]instanceof Date)n+=this.buildTextValNode(t[c],u,"",e,r);else if(typeof t[c]!="object"){let h=this.isAttribute(c);if(h&&!this.ignoreAttributesFn(h,o)){let d=$q(h,!0,this.options,r,s);i+=this.buildAttrPairStr(d,""+t[c],a)}else if(!h)if(c===this.options.textNodeName){let d=this.options.tagValueProcessor(c,""+t[c]);n+=this.replaceEntitiesValue(d)}else{r.push(u);let d=this.checkStopNode(r);if(r.pop(),d){let f=""+t[c];f===""?n+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:n+=this.indentate(e)+"<"+u+">"+f+"</"+u+this.tagEndChar}else n+=this.buildTextValNode(t[c],u,"",e,r)}}else if(Array.isArray(t[c])){let h=t[c].length,d="",f="";for(let p=0;p<h;p++){let m=t[c][p];if(!(typeof m>"u"))if(m===null)u[0]==="?"?n+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof m=="object")if(this.options.oneListGroup){r.push(u);let E=this.j2x(m,e+1,r,s);r.pop(),d+=E.val,this.options.attributesGroupName&&m.hasOwnProperty(this.options.attributesGroupName)&&(f+=E.attrStr)}else d+=this.processTextOrObjNode(m,u,e,r,s);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(u,m);E=this.replaceEntitiesValue(E),d+=E}else{r.push(u);let E=this.checkStopNode(r);if(r.pop(),E){let y=""+m;y===""?d+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:d+=this.indentate(e)+"<"+u+">"+y+"</"+u+this.tagEndChar}else d+=this.buildTextValNode(m,u,"",e,r)}}this.options.oneListGroup&&(d=this.buildObjectNode(d,u,f,e)),n+=d}else if(this.options.attributesGroupName&&c===this.options.attributesGroupName){let h=Object.keys(t[c]),d=h.length;for(let f=0;f<d;f++){let p=$q(h[f],!0,this.options,r,s);i+=this.buildAttrPairStr(p,""+t[c][h[f]],a)}}else n+=this.processTextOrObjNode(t[c],u,e,r,s)}return{attrStr:i,val:n}};En.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+'="'+hd(e)+'"'};function Att(t,e,r,s,i){let n=this.extractAttributes(t);if(s.push(e,n),this.checkStopNode(s)){let c=this.buildRawContent(t),l=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(c,e,l,r)}let a=this.j2x(t,r+1,s,i);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,a.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,a.attrStr,r,s):this.buildObjectNode(a.val,e,a.attrStr,r)}En.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e
`)+`
2026-05-22 14:44:02 +00:00
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(qe.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===qe.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(qe.PREFIX_FOR_STORAGE));r.sort((i,n)=>Gv(i.name.toLowerCase(),n.name.toLowerCase())),r=r.filter((i,n,o)=>!(n>0&&i.name.toLowerCase()===o[n-1].name.toLowerCase()));let s="";return r.forEach(i=>{s+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=Fv(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let i=Uv(e.url),n={};if(i){let o=[];for(let a in i)if(Object.prototype.hasOwnProperty.call(i,a)){let c=a.toLowerCase();n[c]=i[a],o.push(c)}o.sort();for(let a of o)s+=`
2026-05-28 08:24:44 +00:00
${a}:${decodeURIComponent(n[a])}`}return s}};var Er=class extends up{accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new m0(e,r,this)}computeHMACSHA256(e){return(0,jfe.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var os=Oc("storage-common");var jo;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(jo||(jo={}));var fd={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:jo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Stt=new ro("The operation was aborted."),g0=class extends Fc{retryOptions;constructor(e,r,s=fd){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:fd.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):fd.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:fd.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:fd.maxRetryDelayInMs):fd.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:fd.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:fd.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let i=e.clone(),n=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;n||(i.url=Lv(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=dd(i.url,bu.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(os.info(`RetryPolicy: =====> Try=${s} ${n?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(i),!this.shouldRetry(n,s,o))return o;r=r||!n&&o.status===404}catch(a){if(os.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(n,s,o,a))throw a}return await this.delay(n,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,i){if(r>=this.retryOptions.maxTries)return os.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let n=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let o of n)if(i.name.toUpperCase().includes(o)||i.message.toUpperCase().includes(o)||i.code&&i.code.toString().toUpperCase()===o)return os.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(s||i){let o=s?s.status:i?i.statusCode:0;if(!e&&o===404)return os.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return os.info(`RetryPolicy: Will retry for status code ${o}.`),!0}if(s&&s?.status>=400){let o=s.headers.get(qe.X_MS_CopySourceErrorCode);if(o!==void 0)switch(o){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(os.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case jo.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case jo.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return os.info(`RetryPolicy: Delay for ${i}ms`),qv(i,s,Stt)}};var y0=class{retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new g0(e,r,this.retryOptions)}};var Btt="storageBrowserPolicy";function Jfe(){return{name:Btt,async sendRequest(t,e){return Bt||((t.method==="GET"||t.method==="HEAD")&&(t.url=dd(t.url,bu.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(qe.COOKIE),t.headers.delete(qe.CONTENT_LENGTH)),e(t)}}}var xtt="StorageCorrectContentLengthPolicy";function Yfe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(qe.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:xtt,async send
`)+`
2026-05-28 08:24:44 +00:00
`+s(n)+i(n),a=(0,Kfe.createHmac)("sha256",t.accountKey).update(o,"utf8").digest("base64");n.headers.set(qe.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(n,o){let a=n.headers.get(o);return!a||o===qe.CONTENT_LENGTH&&a==="0"?"":a}function s(n){let o=[];for(let[c,l]of n.headers)c.toLowerCase().startsWith(qe.PREFIX_FOR_STORAGE)&&o.push({name:c,value:l});o.sort((c,l)=>Gv(c.name.toLowerCase(),l.name.toLowerCase())),o=o.filter((c,l,u)=>!(l>0&&c.name.toLowerCase()===u[l-1].name.toLowerCase()));let a="";return o.forEach(c=>{a+=`${c.name.toLowerCase().trimRight()}:${c.value.trimLeft()}
2026-05-22 14:44:02 +00:00
`}),a}function i(n){let o=Fv(n.url)||"/",a="";a+=`/${t.accountName}${o}`;let c=Uv(n.url),l={};if(c){let u=[];for(let h in c)if(Object.prototype.hasOwnProperty.call(c,h)){let d=h.toLowerCase();l[d]=c[h],u.push(d)}u.sort();for(let h of u)a+=`
2026-05-28 08:24:44 +00:00
${h}:${decodeURIComponent(l[h])}`}return a}return{name:Ttt,async sendRequest(n,o){return e(n),o(n)}}}var _tt="storageRequestFailureDetailsParserPolicy";function Xfe(){return{name:_tt,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
`),r}}}}var Zfe=require("node:crypto"),Hv=class{accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,Zfe.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Vv="12.31.0",zv="2026-02-06";var $v="https://storage.azure.com/.default",wu={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Ha="",Xq="*",Qtt=1*1024*1024;var Ptt=4*Qtt;var epe="AES256",tpe="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",rpe=["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"],spe=["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"],ipe="BlobUsesCustomerSpecifiedEncryption",npe="BlobDoesNotUseCustomerSpecifiedEncryption",ope=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Su(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}var E0=class{factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function Dr(t,e={}){t||(t=new cr);let r=new E0([],e);return r._credential=t,r}function Ott(t){let e=[Dtt,ape,ktt,Mtt,Ltt,Ftt,qtt];if(t.factories.length){let r=t.factories.filter(s=>!e.some(i=>i(s)));if(r.length){let s=r.some(i=>Utt(i));return{wrappedPolicies:Nq(r),afterRetry:s}}}}function Zq(t)
`),n=e.computeHMACSHA256(i);return{sasQueryParameters:new Ja(t.version,n,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}function Dst(t,e){if(t=Ep(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 i;t.permissions&&(t.blobName?i=rl.parse(t.permissions.toString()).toString():i=sl.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?xt(t.startsOn,!1):"",t.expiresOn?xt(t.expiresOn,!1):"",yp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ja(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(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Ja(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}function kst(t,e){if(t=Ep(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 i;t.permissions&&(t.blobName?i=rl.parse(t.permissions.toString()).toString():i=sl.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?xt(t.startsOn,!1):"",t.expiresOn?xt(t.expiresOn,!1):"",yp(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?ja(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(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Ja(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:n}}function Mst(t,e){if(t=Ep(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 i;t.permissions&&(t.blobName?i=rl.parse(t.permissions.toString()).toString():i=sl.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?xt(t.startsOn,!1):"",t.expiresOn?xt(t.expiresOn,!1):"",yp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?ja(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Ja(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:n}}function Lst(t,e){if(t=Ep(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 i;t.permissions&&(t.blobName?i=rl.parse(t.permissions.toString()).toString():i=sl.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?xt(t.startsOn,!1):"",t.expiresOn?xt(t.expiresOn,!1):"",yp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ja(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Ja(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:n}}function Fst(t,e){if(t=Ep(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 i;t.permissions&&(t.blobName?i=rl.parse(t.permissions.toString()).toString():i=sl.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?xt(t.startsOn,!1):"",t.expiresOn?xt(t.expiresOn,!1):"",yp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?ja(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Ja(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:n}}function Ust(t,e){if(t=Ep(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 i;t.permissions&&(t.blobName?i=rl.parse(t.permissions.toString()).toString():i=sl.parse(t.permissions.toString()).toString());let n=[i||"",t.startsOn?xt(t.startsOn,!1):"",t.expiresOn?xt(t.expiresOn,!1):"",yp(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xt(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xt(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?ja(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),o=e.computeHMACSHA256(n);return{sasQueryParameters:new Ja(t.version,o,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:n}}function yp(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}function Ep(t){let e=t.version?t.version:zv;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}var _0=class{_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=dg()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Ha||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ha||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 Se.withSpan("BlobLeaseClient-acquireLease",r,async s=>ve(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!==Ha||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Ha||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 Se.withSpan("BlobLeaseClient-changeLease",r,async s=>{let i=ve(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Ha||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Ha||e.conditions?.tagConditions))throw new RangeError("The IfMatch,
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"}};Qg.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var wp=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};wp.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var q0=class extends Error{constructor(e){super(e),this.name="RateLimitError"}};var Mit=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},U8=class{constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,i=(e/(1024*1024)/(s/1e3)).toFixed(1);Yr(`Sent ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function ume(t,e,r){return Mit(this,void 0,void 0,function*(){var s;let i=new _u(t),n=i.getBlockBlobClient(),o=new U8((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),a={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer(),se(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let c=yield n.uploadFile(e,a);if(c._response.status>=400)throw new WR(`uploadCacheArchiveSDK: upload failed with status code ${c._response.status}`);return c}catch(c){throw Fa(`uploadCacheArchiveSDK: internal error uploading cache archive: ${c.message}`),c}finally{o.stopDisplayTimer()}})}var dme=O(require("buffer"),1),il=O(require("fs"),1),fme=O(require("stream"),1),pme=O(require("util"),1);var KR=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function XR(t){return t?t>=200&&t<300:!1}function Lit(t){return t?t>=500:!0}function Fit(t){return t?[yr.BadGateway,yr.ServiceUnavailable,yr.GatewayTimeout].includes(t):!1}function Uit(t){return KR(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function hme(t,e,r){return KR(this,arguments,void 0,function*(s,i,n,o=SN,a=BN,c=void 0){let l="",u=1;for(;u<=o;){let h,d,f=!1;try{h=yield i()}catch(p){c&&(h=c(p)),f=!0,l=p.message}if(h&&(d=n(h),!Lit(d)))return h;if(d&&(f=Fit(d),l=`Cache service responded with ${d}`),se(`${s} - Attempt ${u} of ${o} failed with error: ${l}`),!f){se(`${s} - Error is not retryable`);break}yield Uit(a),u++}throw Error(`${s} failed: ${l}`)})}function G0(t,e){return KR(this,arguments,void 0,function*(r,s,i=SN,n=BN){return yield hme(r,s,o=>o.statusCode,i,n,o=>{if(o instanceof wc)return{statusCode:o.statusCode,result:null,headers:{},error:o}})})}function Pg(t,e){return KR(this,arguments,void 0,function*(r,s,i=SN,n=BN){return yield hme(r,s,o=>o.message.statusCode,i,n)})}var Xo=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})};function qit(t,e){return Xo(this,void 0,void 0,function*(){yield pme.promisify(fme.pipeline)(t.message,e)})}var ZR=class{constructor(e){this.contentLength=e,this.segmentIndex=0,th
Other caches with similar key:`);for(let a of n?.artifactCaches||[])se(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function V8(t,e,r){return In(this,void 0,void 0,function*(){let s=new Sme.URL(t),i=yme(r);s.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield mme(t,e,i):i.concurrentBlobDownloads?yield Ame(t,e,i):yield eT(t,e):yield eT(t,e)})}function xme(t,e,r){return In(this,void 0,void 0,function*(){let s=H8(),i=ig(e,r?.compressionMethod,r?.enableCrossOsArchive),n={key:t,version:i,cacheSize:r?.cacheSize};return yield G0("reserveCache",()=>In(this,void 0,void 0,function*(){return s.postJson(V0("caches"),n)}))})}function wme(t,e){return`bytes ${t}-${e}/*`}function Yit(t,e,r,s,i){return In(this,void 0,void 0,function*(){se(`Uploading chunk of size ${i-s+1} bytes at offset ${s} with content range: ${wme(s,i)}`);let n={"Content-Type":"application/octet-stream","Content-Range":wme(s,i)},o=yield Pg(`uploadChunk (start: ${s}, end: ${i})`,()=>In(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),n)}));if(!XR(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function Wit(t,e,r,s){return In(this,void 0,void 0,function*(){let i=Tc(r),n=V0(`caches/${e.toString()}`),o=Og.openSync(r,"r"),a=q8(s),c=yU("uploadConcurrency",a.uploadConcurrency),l=yU("uploadChunkSize",a.uploadChunkSize),u=[...new Array(c).keys()];se("Awaiting all uploads");let h=0;try{yield Promise.all(u.map(()=>In(this,void 0,void 0,function*(){for(;h<i;){let d=Math.min(i-h,l),f=h,p=h+d-1;h+=l,yield Yit(t,n,()=>Og.createReadStream(r,{fd:o,start:f,end:p,autoClose:!1}).on("error",m=>{throw new Error(`Cache upload failed because file read failed with ${m.message}`)}),f,p)}})))}finally{Og.closeSync(o)}})}function Kit(t,e,r){return In(this,void 0,void 0,function*(){let s={size:r};return yield G0("commitCache",()=>In(this,void 0,void 0,function*(){return t.postJson(V0(`caches/${e.toString()}`),s)}))})}function z8(t,e,r,s){return In(this,void 0,void 0,function*(){if(q8(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield ume(r,e,s)}else{let n=H8();se("Upload cache"),yield Wit(n,t,e,s),se("Commiting cache");let o=Tc(e);Yr(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield Kit(n,t,o);if(!XR(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);Yr("Cache saved successfully")}})}var Cge=O(fge(),1),Lr=O(Mr(),1),co=O(Mr(),1),vp=O(Mr(),1),Rp=O(Mr(),1),Tp=O(Mr(),1);var FV=O(Mr(),1),UV=O(Mr(),1),gge=O(Mr(),1),yge=O(Mr(),1),Ege=O(Mr(),1);var kV=O(Mr(),1),MV=O(Mr(),1),pge=O(Mr(),1),Age=O(Mr(),1),mge=O(Mr(),1),LV=class extends mge.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,Age.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,pge.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,i){let n=i??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:n.scope=e.string();break;case 2:n.permission=e.int64().toString();break;default:let l=s.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let u=e.skip(c);l!==!1&&(l===!0?MV.UnknownFieldHandler.onRead:l)(this.typeName,n,a,c,u)}}return n}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,kV.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,kV.WireType.Varint).int64(e.permission);let i=s.writeUnknownFields;return i!==!1&&(i==!0?MV.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}},qT=new LV;var qV=class extends Ege.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>qT}])}create(e){let r={repositoryId:"0",sco
`));let s=yield rz(r,"create");yield sz(s,t)})}var Kg=function(t,e,r,s){function i(n){return n instanceof r?n:new r(function(o){o(n)})}return new(r||(r=Promise))(function(n,o){function a(u){try{l(s.next(u))}catch(h){o(h)}}function c(u){try{l(s.throw(u))}catch(h){o(h)}}function l(u){u.done?n(u.value):i(u.value).then(a,c)}l((s=s.apply(t,e||[])).next())})},Ka=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Wg=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},zT=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Sge(t){if(!t||t.length===0)throw new Ka("Path Validation Error: At least one directory or file path is required")}function oz(t){if(t.length>512)throw new Ka(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ka(`Key Validation Error: ${t} cannot contain commas.`)}function az(){return H0()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}function Bge(t,e,r,s){return Kg(this,arguments,void 0,function*(i,n,o,a,c=!1){let l=H0();return se(`Cache service version: ${l}`),Sge(i),l==="v2"?yield dat(i,n,o,a,c):yield hat(i,n,o,a,c)})}function hat(t,e,r,s){return Kg(this,arguments,void 0,function*(i,n,o,a,c=!1){o=o||[];let l=[n,...o];if(se("Resolved Keys:"),se(JSON.stringify(l)),l.length>10)throw new Ka("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of l)oz(d);let u=yield HI(),h="";try{let d=yield Bme(l,i,{compressionMethod:u,enableCrossOsArchive:c});if(!d?.archiveLocation)return;if(a?.lookupOnly)return Yr("Lookup only - skipping download"),d.cacheKey;h=ob.join(yield qI(),nd(u)),se(`Archive Path: ${h}`),yield V8(d.archiveLocation,h,a),Vf()&&(yield nb(h,u));let f=Tc(h);return Yr(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),yield iz(h,u),Yr("Cache restored successfully"),d.cacheKey}catch(d){let f=d;if(f.name===Ka.name)throw d;f instanceof wc&&typeof f.statusCode=="number"&&f.statusCode>=500?SI(`Failed to restore: ${d.message}`):Fa(`Failed to restore: ${d.message}`)}finally{try{yield GI(h)}catch(d){se(`Failed to delete archive: ${d}`)}}})}function dat(t,e,r,s){return Kg(this,arguments,void 0,function*(i,n,o,a,c=!1){a=Object.assign(Object.assign({},a),{useAzureSdk:!0}),o=o||[];let l=[n,...o];if(se("Resolved Keys:"),se(JSON.stringify(l)),l.length>10)throw new Ka("Key Validation Error: Keys are limited to a maximum of 10.");for(let h of l)oz(h);let u="";try{let h=tz(),d=yield HI(),f={key:n,restoreKeys:o,version:ig(i,d,c)},p=yield h.GetCacheEntryDownloadURL(f);if(!p.ok){se(`Cache not found for version ${f.version} of keys: ${l.join(", ")}`);return}if(f.key!==p.matchedKey?Yr(`Cache hit for restore-key: ${p.matchedKey}`):Yr(`Cache hit for: ${p.matchedKey}`),a?.lookupOnly)return Yr("Lookup only - skipping download"),p.matchedKey;u=ob.join(yield qI(),nd(d)),se(`Archive path: ${u}`),se(`Starting download of archive to: ${u}`),yield V8(p.signedDownloadUrl,u,a);let E=Tc(u);return Yr(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),Vf()&&(yield nb(u,d)),yield iz(u,d),Yr("Cache restored successfully"),p.matchedKey}catch(h){let d=h;if(d.name===Ka.name)throw h;d instanceof wc&&typeof d.statusCode=="number"&&d.statusCode>=500?SI(`Failed to restore: ${h.message}`):Fa(`Failed to restore: ${h.message}`)}finally{try{u&&(yield GI(u))}catch(h){se(`Failed to delete archive: ${h}`)}}})}function cz(t,e,r){return Kg(this,arguments,void 0,function*(s,i,n,o=!1){let a=H0();return se(`Cache service version: ${a}`),Sge(s),oz(i),a==="v2"?yield pat(s,i,n,o):yield fat(s,i,n,o)})}function fat(t,e,r){return Kg(this,arguments,void 0,function*(s,i,n,o=!1){var a,c,l,u,h;let d=yield HI(),f=-1,p=yield gU(s);if(se("Cache Paths:"),se(`${JSON.stringify(p)}`),p.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let m=yield qI(),E=ob.join(m,nd(d));se(`Archi
`,o).length:h,l?(a===null?0:a.length)+c.length:0,l?c.length+h:0);return d<f},parse:function(s,i,n,o){let{bom:a,comment_no_infix:c,encoding:l,from_line:u,ltrim:h,max_record_size:d,raw:f,relax_quotes:p,rtrim:m,skip_empty_lines:E,to:y,to_line:C}=this.options,{comment:w,escape:B,quote:N,record_delimiter:P}=this.options,{bomSkipped:Q,previousBuf:k,rawBuffer:G,escapeIsQuote:Z}=this.state,L;if(k===void 0)if(s===void 0){o();return}else L=s;else k!==void 0&&s===void 0?L=k:L=Buffer.concat([k,s]);if(Q===!1)if(a===!1)this.state.bomSkipped=!0;else if(L.length<3){if(i===!1){this.state.previousBuf=L;return}}else{for(let $ in dy)if(dy[$].compare(L,0,dy[$].length)===0){let re=dy[$].length;this.state.bufBytesStart+=re,L=L.slice(re);let Qe=_3({...this.original_options,encoding:$});for(let we in Qe)this.options[we]=Qe[we];({comment:w,escape:B,quote:N}=this.options);break}this.state.bomSkipped=!0}let F=L.length,q;for(q=0;q<F&&!this.__needMoreData(q,F,i);q++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),C!==-1&&this.info.lines>C){this.state.stop=!0,o();return}this.state.quoting===!1&&P.length===0&&this.__autoDiscoverRecordDelimiter(L,q)&&(P=this.options.record_delimiter);let $=L[q];if(f===!0&&G.append($),($===Lft||$===Fft)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(B!==null&&this.state.quoting===!0&&this.__isEscape(L,q,$)&&q+B.length<F)if(Z){if(this.__isQuote(L,q+B.length)){this.state.escaping=!0,q+=B.length-1;continue}}else{this.state.escaping=!0,q+=B.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(L,q))if(this.state.quoting===!0){let we=L[q+N.length],le=m&&this.__isCharTrimable(L,q+N.length),ct=w!==null&&this.__compareBytes(w,L,q+N.length,we),et=this.__isDelimiter(L,q+N.length,we),Ct=P.length===0?this.__autoDiscoverRecordDelimiter(L,q+N.length):this.__isRecordDelimiter(we,L,q+N.length);if(B!==null&&this.__isEscape(L,q,$)&&this.__isQuote(L,q+B.length))q+=B.length-1;else if(!we||et||Ct||ct||le){this.state.quoting=!1,this.state.wasQuoting=!0,q+=N.length-1;continue}else if(p===!1){let De=this.__error(new gt("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(we)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(De!==void 0)return De}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(N),q+=N.length-1}else if(this.state.field.length!==0){if(p===!1){let we=this.__infoField(),le=Object.keys(dy).map(et=>dy[et].equals(this.state.field.toString())?et:!1).filter(Boolean)[0],ct=this.__error(new gt("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(we.column)} at line ${we.lines}, value is ${JSON.stringify(this.state.field.toString(l))}`,le?`(${le} bom)`:void 0],this.options,we,{field:this.state.field}));if(ct!==void 0)return ct}}else{this.state.quoting=!0,q+=N.length-1;continue}if(this.state.quoting===!1){let we=this.__isRecordDelimiter($,L,q);if(we!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),q+=we-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,q+=we-1;continue}this.info.bytes=this.state.bufBytesStart+q;let et=this.__onField();if(et!==void 0)return et;this.info.bytes=this.state.bufBytesStart+q+we;let Ct=this.__onRecord(n);if(Ct!==void 0)return Ct;if(y!==-1&&this.info.records>=y){this.state.stop=!0,o();return}}this.state.commenting=!1,q+=we-1;continue}if(this.state.commenting)continue;if(w!==null&&(c===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(w,L,q,$)!==0){this.state.commenting=!0;continue}let le=this.__isDelimiter(L,q,$);if(le!==0){this.inf
`,n),Buffer.from(`
2026-05-28 08:24:44 +00:00
`,n),Buffer.from("\r",n)];e:for(let a=0;a<o.length;a++){let c=o[a].length;for(let l=0;l<c;l++)if(o[a][l]!==s[i+l])continue e;return this.options.record_delimiter.push(o[a]),this.state.recordDelimiterMaxLength=o[a].length,o[a].length}return 0},__error:function(s){let{encoding:i,raw:n,skip_records_with_error:o}=this.options,a=typeof s=="string"?new Error(s):s;if(o){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(a,n?this.state.rawBuffer.toString(i):void 0)}catch(c){return c}return}else return a},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){let{columns:s,raw:i,encoding:n}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:i?this.state.rawBuffer.toString(n):void 0}},__infoField:function(){let{columns:s}=this.options,i=Array.isArray(s),n=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:n,column:i===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};var po=function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],s=OIe(e),i=a=>{s.options.objname===void 0?r.push(a):r[a[0]]=a[1]},n=()=>{},o=s.parse(t,!0,i,n);if(o!==void 0)throw o;return r};var bt=class t{static getInputList(e,r){return this.getList(ti(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let i=po(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let n of i)n.length==1?r?.ignoreComma?s.push(n[0]):s.push(...n[0].split(",")):r?.ignoreComma?s.push(n.join(",")):s.push(...n);return s.filter(n=>n).map(n=>r?.trimWhitespace===!1?n:n.trim())}static getInputNumber(e){let r=ti(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 qs("powershell",!0),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=[];if(r)for(let o in r)n.push(`-${o} '${r[o].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${i}' ${n.join(" ")}`]}}static isDirectory(e){try{return DIe.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 Q3.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"],i=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,i)).toFixed(2))+" "+s[i]}static generateRandomString(e=10){return Q3.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return kIe.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=xb.default.resolve(e);return xb.default.resolve(r).startsWith(s.endsWith(xb.default.sep)?s:`${s}${xb.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Ma
2026-05-22 14:44:02 +00:00
`+t.errors.map(e=>` - ${e.message}`).join(`
2026-05-28 08:24:44 +00:00
`)}var Qpt=class extends Error{constructor(t,e,r){super(_pt(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},Ppt=["method","baseUrl","url","headers","request","query","mediaType","operationName"],Opt=["query","method","url"],I0e=/\/api\/v3\/?$/;function Dpt(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 o in r)if(Opt.includes(o))return Promise.reject(new Error(`[@octokit/graphql] "${o}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,i=Object.keys(s).reduce((o,a)=>Ppt.includes(a)?(o[a]=s[a],o):(o.variables||(o.variables={}),o.variables[a]=s[a],o),{}),n=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return I0e.test(n)&&(i.url=n.replace(I0e,"/api/graphql")),t(i).then(o=>{if(o.data.errors){let a={};for(let c of Object.keys(o.headers))a[c]=o.headers[c];throw new Qpt(i,a,o.data)}return o.data.data})}function V3(t,e){let r=t.defaults(e);return Object.assign((i,n)=>Dpt(r,i,n),{defaults:V3.bind(null,r),endpoint:r.endpoint})}var Atr=V3(_b,{headers:{"user-agent":`octokit-graphql.js/${Tpt} ${Bd()}`},method:"POST",url:"/graphql"});function b0e(t){return V3(t,{method:"POST",url:"/graphql"})}var z3="(?:[a-zA-Z0-9_-]+)",w0e="\\.",S0e=new RegExp(`^${z3}${w0e}${z3}${w0e}${z3}$`),kpt=S0e.test.bind(S0e);async function Mpt(t){let e=kpt(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"}}function Lpt(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}async function Fpt(t,e,r,s){let i=e.endpoint.merge(r,s);return i.headers.authorization=Lpt(t),e(i)}var B0e=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(Mpt.bind(null,e),{hook:Fpt.bind(null,e)})};var $3="7.0.6";var x0e=()=>{},Upt=console.warn.bind(console),qpt=console.error.bind(console);function Gpt(t={}){return typeof t.debug!="function"&&(t.debug=x0e),typeof t.info!="function"&&(t.info=x0e),typeof t.warn!="function"&&(t.warn=Upt),typeof t.error!="function"&&(t.error=qpt),t}var N0e=`octokit-core.js/${$3} ${Bd()}`,sQ=class{static VERSION=$3;static defaults(e){return class extends this{constructor(...s){let i=s[0]||{};if(typeof e=="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static plugins=r.concat(e.filter(i=>!r.includes(i)))}}constructor(e={}){let r=new e0e.Collection,s={baseUrl:_b.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} ${N0e}`:N0e,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=_b.defaults(s),this.graphql=b0e(this.request).defaults(s),this.log=Gpt(e.log),this.hook=r,e.authStrategy){let{authStrategy:n,...o}=e,a=n(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:o},e.auth));r.wrap("request",a.hook),this.auth=a}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let n=B0e(e.auth);r.wrap("request",n.hook),this.auth=n}let i=this.constructor;for(let n=0;n<i.plugins.length;++n)Object.assign(this,i.plugins[n](this,e))}request;graphql;log;hook;auth};var j3="17.0.0";var Hpt={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /or
More info: ${c.url}`);let f=c.range&&c.range.length>0?c.range[0]?.start.line:void 0,p=!1;for(let m of o)if(m.remote||m.path.endsWith(l)&&m.content===u){a.push({title:h,message:d,file:m.path,startLine:f}),p=!0;break}p||z(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${l}: ${h}`)}return a}};var Nd=class t{buildx;constructor(e){this.buildx=e?.buildx||new Et}async exists(e){let r=await this.buildx.getCommand(["inspect",e]),s=await Re.getExecOutput(r.command,r.args,{ignoreReturnCode:!0,silent:!0}).then(i=>i.stderr.length>0&&i.exitCode!=0?(z(`Builder.exists cmd err: ${i.stderr.trim()}`),!1):i.exitCode==0).catch(i=>(z(`Builder.exists error: ${i}`),!1));return z(`Builder.exists: ${s}`),s}async inspect(e){let r=Object.assign({},process.env,{DEBUG:"1"}),s=["inspect"];e&&s.push(e);let i=await this.buildx.getCommand(s);return await Re.getExecOutput(i.command,i.args,{ignoreReturnCode:!0,silent:!0,env:r}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return t.parseInspect(n.stdout)})}static parseInspect(e){let r={nodes:[]},s,i={},n,o,a;for(let c of e.trim().split(`
2026-05-22 14:44:02 +00:00
`)){let[l,...u]=c.split(":"),h=l.toLowerCase(),d=u.map(f=>f.trim()).join(":");if(l.length!=0)switch(!0){case h=="name":s=void 0,r.name==null?r.name=d:(n&&i.gcPolicy&&(i.gcPolicy.push(n),n=void 0),i.name&&r.nodes.push(i),i={name:d});break;case h=="driver":s=void 0,r.driver=d;break;case h=="last activity":s=void 0,r.lastActivity=new Date(d);break;case h=="endpoint":s=void 0,i.endpoint=d;break;case h=="driver options":s=void 0,i["driver-opts"]=(d.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(f=>f.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case h=="status":s=void 0,i.status=d;break;case h=="buildkit daemon flags":case h=="flags":s=void 0,i["buildkitd-flags"]=d;break;case h=="buildkit version":case h=="buildkit":s=void 0,i.buildkit=d;break;case h=="platforms":{if(s=void 0,!d)break;let f=[];if(d.includes("*"))for(let p of d.split(", "))p.includes("*")&&f.push(p.replace(/\*/g,""));else f=d.split(", ");i.platforms=f.join(",");break}case h=="features":s="features",i.features={};break;case h=="labels":s="label",i.labels={};break;case h=="devices":s="devices",i.devices=i.devices||[];break;case h.startsWith("gc policy rule#"):s="gcpolicy",i.gcPolicy&&n&&(i.gcPolicy.push(n),n=void 0);break;case h.startsWith("file#"):s="file",a=l.split("#")[1],i.files=i.files||{},i.files[a]="";break;default:switch(s&&s!=="devices"&&i.devices&&o&&(i.devices.push(o),o=void 0),s||""){case"features":{i.features=i.features||{},i.features[l.trim()]=!!d;break}case"label":{i.labels=i.labels||{},i.labels[l.trim()]=d;break}case"devices":{switch(h.trim()){case"name":{i.devices&&o&&i.devices.push(o),o={},o.name=d;break}case"on-demand":{o&&d&&(o.onDemand=d=="true");break}case"automatically allowed":{o&&d&&(o.autoAllow=d=="true");break}case"annotations":{o&&(o.annotations=o.annotations||{});break}default:o&&o.annotations&&(o.annotations[l.trim()]=d)}break}case"gcpolicy":{switch(i.gcPolicy=i.gcPolicy||[],n=n||{},h.trim()){case"all":{n.all=d=="true";break}case"filters":{d&&(n.filter=d.split(","));break}case"keep duration":{n.keepDuration=d;break}case"keep bytes":{n.keepBytes=d;break}case"reserved space":{n.reservedSpace=d;break}case"max used space":{n.maxUsedSpace=d;break}case"min free space":{n.minFreeSpace=d;break}}break}case"file":{a&&i.files&&(i.files[a].length>0&&(i.files[a]+=`
2026-05-28 08:24:44 +00:00
`),i.files[a]+=c.replace(/^\s>\s?/,""));break}}}}return o&&i.devices&&i.devices.push(o),n&&i.gcPolicy&&i.gcPolicy.push(n),i.name&&r.nodes.push(i),r}};var qp=O(require("fs"),1),i5=O(require("path"),1);var aQ=class t{buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new Et,this.iidFilename=`build-iidfile-${bt.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${bt.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),s=e?.attrs||{},i=Object.entries(s).filter(([f])=>!r.has(f)),n=bt.parseBoolOrDefault(s["fetch-by-commit"]),o=e?.ref||s.ref||qi.ref;o.startsWith("refs/")?o.startsWith("refs/pull/")&&bt.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(o=o.replace(/\/merge$/g,"/head")):o=`refs/heads/${o}`;let a=`${Dt.serverURL}/${qi.repo.owner}/${qi.repo.repo}.git`,c=e?.checksum||s.checksum,l=e?.subdir||s.subdir,u=e?.format;if(!u){if(u="fragment",i.length>0)u="query";else if(bt.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(u="query")}catch{}}let h=qi.sha||o;o.startsWith("refs/pull/")&&o.endsWith("/head")&&(h=typeof qi.payload.pull_request?.head?.sha=="string"?qi.payload.pull_request.head.sha:o);let d=c||h;if(u==="query"){let f=[`ref=${n||c?o:d}`],p=n?d:c;p&&f.push(`checksum=${p}`),l&&l!=="."&&f.push(`subdir=${l}`);for(let[m,E]of i)f.push(`${m}=${E}`);return`${a}?${f.join("&")}`}return`${a}#${d}${l&&l!=="."?`:${l}`:""}`}getImageIDFilePath(){return i5.default.join(It.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(qp.default.existsSync(e))return qp.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return i5.default.join(It.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!qp.default.existsSync(e))return;let r=qp.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,i]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!qp.default.existsSync(i))throw new Error(`secret file ${i} not found`);return[s,i]}let n=It.tmpName({tmpdir:It.tmpDir()});return qp.default.writeFileSync(n,i),[s,n]}static getProvenanceInput(e){let r=ti(e);if(!r)return r;try{return Gf(e)?`builder-id=${Dt.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${Dt.workflowRunURL(!0)}`;let r=po(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let s of r)if(s.toString().split(/(?<=^[^=]+?)=/).map(n=>n.trim())[0]=="builder-id")return e;return`${e},builder-id=${Dt.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let s="registry",i="",n="",o=po(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let a of o){let c=a.toString().split(/(?<=^[^=]+?)=/).map(l=>l.trim());c[0]==="type"?s=c[1]:c[0]==="repository"?i=c[1]:c[0]==="ghtoken"&&(n=c[1])}return s==="gha"&&(i||(e=`${e},repository=${Dt.repository}`),!n&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let s=po(r.join(`
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of s){if(i.length==1&&!i[0].startsWith("type="))return e=="local";for(let[n,o]of i.map(a=>a.split("=").map(c=>c.trim())))if(n=="type"&&o==e)return!0}return!1}static hasAttestationType(e,r){let s=po(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let i of s)for(let[n,o]of i.map(a=>a.split("=").map(c=>c.trim())))if(n=="type"&&o==e)return!0;return!1}static resolveAttestationAttrs(e){let r=po(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),s=[];for(let i of r)for(let n of i)try{let o=bt.parseBool(n);s.push(`disabled=${!o}`)}catch{s.push(n)}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("="),i=e.substring(0,s),n=e.substring(s+1);if(i.length==0||n.length==0)throw new Error(`${e} is not a valid secret`);return r&&aI(n),[i,n]}};var n5=O(require("fs"),1),M0e=O(require("path"),1);var cQ=class t{buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new Et,this.metadataFilename=`bake-metadata-${bt.generateRandomString()}.json`}getMetadataFilePath(){return M0e.default.join(It.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!n5.default.existsSync(e))return;let r=n5.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"],i,n=[],o=[...e.files||[],e.source];if(o){for(let c of o.map(l=>l?l.trim():""))if(c.length!=0){if(!bt.isValidRef(c)){n.push(c);continue}if(i)throw new Error("Only one remote bake definition can be defined");i=c}}i&&s.push(i);for(let c of n)s.push("--file",c);if(e.overrides)for(let c of e.overrides)s.push("--set",c);if(e.vars)for(let c of e.vars)s.push("--var",c);if(e.allow)for(let c of e.allow)s.push("--allow",c);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 a=await this.buildx.getCommand([...s,"--print",...e.targets||[]]);return await Re.getExecOutput(a.command,a.args,r).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(`cannot parse bake definitions: ${c.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return t.parseDefinition(c.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let s in r.target){let i=r.target[s];i.attest&&Array.isArray(i.attest)&&(i.attest=i.attest.map(n=>t.parseAttestEntry(n))),i["cache-from"]&&Array.isArray(i["cache-from"])&&(i["cache-from"]=i["cache-from"].map(n=>t.parseCacheEntry(n))),i["cache-to"]&&Array.isArray(i["cache-to"])&&(i["cache-to"]=i["cache-to"].map(n=>t.parseCacheEntry(n))),i.output&&Array.isArray(i.output)&&(i.output=i.output.map(n=>t.parseExportEntry(n))),i.secret&&Array.isArray(i.secret)&&(i.secret=i.secret.map(n=>t.parseSecretEntry(n))),i.ssh&&Array.isArray(i.ssh)&&(i.ssh=i.ssh.map(n=>t.parseSSHEntry(n)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},s=po(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of s){let[n,o]=i.toString().split(/(?<=^[^=]+?)=/).map(a=>a.trim());switch(n){case"type":r.type=o;break;case"disabled":r.disabled=bt.parseBool(o);break;default:r[n]=o}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},s=po(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(s.length===1&&!s[0].includes("="))return r.type="registry",r.ref=s[0],r;for(let i of s){let[n,o]=i.toString().split(/(?<=^[^=]+?)=/)
`)[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"]);z(`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 i=s[1].trim();if(i.startsWith("tag: "))return`refs/tags/${i.split(":")[1].trim()}`;if(i.match(/^pull\/\d+\/(head|merge)$/))return`refs/${i}`;let o=i.match(/^[^/]+\/[^/]+, (.+)$/);if(o)return`refs/heads/${o[1].trim()}`;let a=i.match(/^[^/]+\/(.+)$/);if(a)return`refs/heads/${a[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${e}"`)}static async exec(e=[]){return await Re.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 n=r.match(/^refs\/remotes\/[^/]+\/(.+)$/);return n?`refs/heads/${n[1]}`:r}let s=await t.exec(["tag","--contains","HEAD"]),[i]=s.split(`
`).map(n=>n.trim()).filter(n=>n.length>0);if(i)return`refs/tags/${i}`;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-05-28 08:24:44 +00:00
`).map(i=>i.trim()).filter(i=>i.length>0);return s}static async commitDate(e){return new Date(await t.exec(["show","-s",'--format="%ci"',e]))}};var cOe=require("crypto"),$l=O(require("fs"),1),hf=O(require("path"),1);var xS=O(Db(),1),jl=O(Y_e(),1),lOe=O(hW(),1),jE=O(tOe(),1);var uK=O(Db(),1);var sOe=O(Xa(),1);var rOe="application/vnd.oci.empty.v1+json";var xh=class{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await Re.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(z(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(z(`Cosign.isAvailable error: ${r}`),!1));return z(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Re.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 Re.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return z("Cosign.versionSatisfies false: undefined version"),!1;let i=sOe.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return z(`Cosign.versionSatisfies ${s} statisfies ${e}: ${i}`),i}static parseCommandOutput(e){let r,s,i,n;for(let o of e.split(/\r?\n/)){let a=o.trim();if(!a.startsWith("{")||!a.endsWith("}"))continue;let c;try{c=JSON.parse(a)}catch{continue}if(c&&Array.isArray(c.errors)&&c.errors.length>0&&(n=c.errors),!r&&c&&Array.isArray(c.manifests)&&c.manifests.length>0){let l=c.manifests[0];l?.artifactType===uK.BUNDLE_V03_MEDIA_TYPE&&typeof l.digest=="string"?r=l.digest:l?.artifactType===rOe&&typeof l.digest=="string"&&(s=l.digest)}if(!i&&c&&c.mediaType===uK.BUNDLE_V03_MEDIA_TYPE&&(i=c),i&&(r||s)){n=void 0;break}}return{bundle:i,signatureManifestDigest:r||s,errors:n}}};var hK=O(require("fs"),1);var TD=class t{buildx;constructor(e){this.buildx=e?.buildx||new Et}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(o=>o.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return s;let i=e.platform,n=new Map;for(let o of r.manifests)o.digest&&n.set(o.digest,o);return s.filter(o=>{let a=o.annotations?.["vnd.docker.reference.digest"];if(!a)return!1;let c=n.get(a);return c?c.platform?.os===i.os&&c.platform?.architecture===i.architecture&&(c.platform?.variant??"")===(i.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],s=It.tmpName({tmpdir:It.tmpDir(),template:"imagetools-metadata-XXXXXX"}),i=[],n=[];for(let a of e.sources){if(a.startsWith("cwd://")){let c=a.substring(6);c.length>0&&i.push(c);continue}n.push(a)}if(e.tags)for(let a of e.tags)r.push("--tag",a);if(e.platforms)for(let a of e.platforms)r.push("--platform",a);if(e.annotations)for(let a of e.annotations)r.push("--annotation",a);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",s);for(let a of i)r.push("--file",a);for(let a of n)r.push(a);let o=await this.getCreateComm
${o.message}`),await new Promise(l=>setTimeout(l,Math.pow(2,a)*100))}throw o??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,s){return await Re.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(i=>{if(i.stderr.length>0&&i.exitCode!=0)throw new Error(i.stderr.trim());return s(JSON.parse(i.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown|not found: not found)/i.test(e)}};var iOe="application/vnd.in-toto+json";var nOe="https://fulcio.sigstore.dev",oOe="https://rekor.sigstore.dev",aOe="https://timestamp.sigstore.dev",UA="https://search.sigstore.dev";var JDt="slsaprovenance1",df=class t{cosign;imageTools;constructor(e){this.cosign=e?.cosign||new xh,this.imageTools=e?.imageTools||new TD}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);V(`Using Sigstore signing endpoint: ${s.fulcioURL}`);let i=t.noTransparencyLog(e.noTransparencyLog),n=[];await this.cosign.versionSatisfies(">=3.0.4")?await Kt("Creating Sigstore protobuf signing config",async()=>{let o=It.tmpName({template:"signing-config-XXXXXX.json",tmpdir:It.tmpDir()}),a=["signing-config","create","--with-default-services=true",`--out=${o}`];i&&a.push("--no-default-rekor=true"),await Re.exec(this.cosign.binPath,a,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),V(JSON.stringify(JSON.parse($l.default.readFileSync(o,{encoding:"utf-8"})),null,2)),n.push(`--signing-config=${o}`)}):(n.push("--use-signing-config"),i&&n.push("--tlog-upload=false"));for(let o of e.imageNames){let a=await this.imageTools.attestationDigests({name:`${o}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let c of a){let l=`${o}@${c}`;await Kt(`Signing attestation manifest ${l}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format",...n];V(`[command]${this.cosign.binPath} ${[...u,l].join(" ")}`);let h=await Re.getExecOutput(this.cosign.binPath,["--verbose",...u,l],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),d=xh.parseCommandOutput(h.stderr.trim());if(h.exitCode!=0)if(d.errors&&d.errors.length>0){let p=d.errors.map(m=>`- [${m.code}] ${m.message} : ${m.detail}`).join(`
`);throw new Error(`Cosign sign command failed with errors:
2026-05-28 08:24:44 +00:00
${p}`)}else throw new Error(`Cosign sign command failed with: ${h.stderr.trim().split(/\r?\n/).filter(p=>p.length>0).pop()??"unknown error"}`);let f=t.parseBundle((0,xS.bundleFromJSON)(d.bundle));f.tlogID&&V(`Uploaded to Rekor transparency log: ${UA}?logIndex=${f.tlogID}`),V(`Signature manifest pushed: https://oci.dag.dev/?referrers=${l}`),r[l]={...f,imageName:o}})}}}catch(s){throw new Error(`Signing BuildKit attestation manifests failed: ${s.message}`)}return r}async verifySignedManifests(e,r){let s={};for(let[i,n]of Object.entries(e))await Kt(`Verifying signature of ${i}`,async()=>{let o=await this.verifyImageAttestation(i,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!n.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown});V(`Signature manifest verified: https://oci.dag.dev/?image=${n.imageName}@${o.signatureManifestDigest}`),s[i]=o});return s}async verifyImageAttestations(e,r){let s={},i=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(i.length===0)throw new Error(`No attestation manifests found for ${e}`);let n=e.split(":",1)[0];for(let o of i){let a=`${n}@${o}`,c=await this.verifyImageAttestation(a,r);V(`Signature manifest verified: https://oci.dag.dev/?image=${n}@${c.signatureManifestDigest}`),s[a]=c}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){V(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);let o=await Re.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(o.exitCode!==0)throw new Error(`Cosign verify command failed with: ${o.stderr.trim().split(/\r?\n/).filter(c=>c.length>0).pop()??"unknown error"}`);let a=xh.parseCommandOutput(o.stderr.trim());return{cosignArgs:s,signatureManifestDigest:a.signatureManifestDigest}}let i=r.retryLimit??15,n;V(`[command]${this.cosign.binPath} ${[...s,e].join(" ")}`);for(let o=0;o<i;o++){let a=await Re.getExecOutput(this.cosign.binPath,["--verbose",...s,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),c=xh.parseCommandOutput(a.stderr.trim());if(a.exitCode===0)return{cosignArgs:s,signatureManifestDigest:c.signatureManifestDigest};if(c.errors&&c.errors.length>0){let l=c.errors.map(u=>`- [${u.code}] ${u.message} : ${u.detail}`).join(`
`);if(n=new Error(`Cosign verify command failed with errors:
2026-05-28 08:24:44 +00:00
${l}`),c.errors.some(u=>u.code==="MANIFEST_UNKNOWN"))V(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${o+1}/${i}...
${l}`),await new Promise(u=>setTimeout(u,Math.pow(2,o)*100));else throw n}else throw new Error(`Cosign verify command failed with: ${a.stderr.trim().split(/\r?\n/).filter(l=>l.length>0).pop()??"unknown error"}`)}throw n}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);V(`Using Sigstore signing endpoint: ${s.fulcioURL}`);let i=t.getProvenanceBlobs(e);for(let n of Object.keys(i))await Kt(`Signing ${n}`,async()=>{let o=i[n],a=hf.default.join(hf.default.dirname(n),`${e.name??"provenance"}.sigstore.json`),c=t.getProvenanceSubjects(o);if(c.length===0){Gs(`No subjects found in provenance ${n}, skip signing.`);return}let l=await t.signPayload({data:o,type:iOe},s),u=t.parseBundle(l);V("Provenance blob signed for:");for(let h of c){let[d,f]=Object.entries(h.digest)[0]||[];V(` - ${h.name} (${d}:${f})`)}u.tlogID&&V(`Attestation signature uploaded to Rekor transparency log: ${UA}?logIndex=${u.tlogID}`),V(`Writing Sigstore bundle to: ${a}`),$l.default.writeFileSync(a,JSON.stringify(u.payload,null,2),{encoding:"utf-8"}),r[n]={...u,bundlePath:a,subjects:c}})}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[i,n]of Object.entries(e)){let o=hf.default.dirname(i);await Kt(`Verifying signature bundle ${n.bundlePath}`,async()=>{for(let a of n.subjects){let c=hf.default.join(o,a.name);V(`Verifying signed artifact ${c}`);let l=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??JDt];(r.noTransparencyLog||!n.tlogID)&&l.push("--use-signed-timestamps","--insecure-ignore-tlog");let u=await Re.getExecOutput(this.cosign.binPath,[...l,"--bundle",n.bundlePath,c],{ignoreReturnCode:!0});if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);s[c]={bundlePath:n.bundlePath,cosignArgs:l}}})}return s}async verifyArtifact(e,r,s){V("Verifying keyless verification bundle signature");let i=JSON.parse($l.default.readFileSync(r,"utf-8")),n=(0,xS.bundleFromJSON)(i);V("Fetching Sigstore TUF trusted root metadata");let o=await lOe.getTrustedRoot(),a=(0,jE.toTrustMaterial)(o);try{V("Verifying artifact signature");let c=(0,jE.toSignedEntity)(n,$l.default.readFileSync(e)),l=t.parseCertificate(n),u=n.verificationMaterial.tlogEntries,h=u.length>0?u[0].logIndex:void 0;if(s?.subjectAlternativeName&&s?.subjectAlternativeName instanceof RegExp){let p=l.subjectAltName?.replace(/^uri:/i,"");if(p){if(!p.match(s.subjectAlternativeName))throw new Error(`Signing certificate subjectAlternativeName "${p}" does not match expected pattern`)}else throw new Error("Signing certificate does not contain subjectAltName")}let f=new jE.Verifier(a).verify(c,{subjectAlternativeName:s?.subjectAlternativeName&&typeof s.subjectAlternativeName=="string"?s.subjectAlternativeName:void 0,extensions:s?.issuer?{issuer:s.issuer}:void 0});return z(`Sigstore.verifyArtifact signer: ${JSON.stringify(f)}`),{payload:i,certificate:l.toString(),tlogID:h}}catch(c){throw new Error(`Failed to verify artifact signature: ${c}`)}}signingEndpoints(e){return e=t.noTransparencyLog(e),V(`Upload to transparency log: ${e?"disabled":"enabled"}`),{fulcioURL:nOe,rekorURL:e?void 0:oOe,tsaServerURL:aOe}}static noTransparencyLog(e){return e??Dt.context.payload.repository?.private}static getProvenanceBlobs(e){let r=hf.default.join(e.localExportDir,"provenance.json");if($l.default.existsSync(r))return{[r]:$l.default.readFileSync(r)};let s=$l.default.readdirSync(e.localExportDir,{withFileTypes:!0}),i=s.filter(n=>n.isDirectory());if(i.length>0&&i.length===s.length&&i.every(n=>$l.default.existsSync(hf.default.join(e.localExportDir,n.name,"provenance.json")))){let n={};for(let o of i){let a=
# 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-05-28 08:24:44 +00:00
`;var LD=class t{githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new Et,this.sigstore=e?.sigstore||new df}async download(e){let r=await t.getDownloadVersion(e.version);z(`Install.download version: ${r.version}`);let s=await t.getRelease(r,this.githubToken);z(`Install.download release tag name: ${s.tag_name}`);let i=await this.vspec(s.tag_name);z(`Install.download vspec: ${i}`);let n=KE.clean(i)||"";if(!KE.valid(n))throw new Error(`Invalid Cosign version "${i}".`);let o=new ws({htcName:"cosign-dl-bin",htcVersion:i,baseCacheDir:WE.default.join(lc.default.homedir(),".bin"),cacheFile:lc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),a=await o.find();if(a)return V(`Cosign binary found in ${a}`),a;let c=pK.format(r.downloadURL,i,this.filename());V(`Downloading ${c}`);let l=await Fo(c,void 0,this.githubToken);z(`Install.download htcDownloadPath: ${l}`),e.verifySignature&&KE.satisfies(i,">=3.0.1")&&await this.verifySignature(l,c);let u=await o.save(l,e.skipState);return V(`Cached to ${u}`),u}async build(e,r,s){let i=await this.vspec(e);z(`Install.build vspec: ${i}`);let n=new ws({htcName:"cosign-build-bin",htcVersion:i,baseCacheDir:WE.default.join(lc.default.homedir(),".bin"),cacheFile:lc.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),o=await n.find();if(o)return V(`Cosign binary found in ${o}`),o;let a=WE.default.join(It.tmpDir(),"cosign-build-cache"),c=await this.buildCommand(e,a),l=await Re.getExecOutput(c.command,c.args,{ignoreReturnCode:!0,input:Buffer.from(hOe)}).then(h=>{if(h.stderr.length>0&&h.exitCode!=0)throw new Error(`build failed with: ${h.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${a}/cosign`}),u=await n.save(l,s);return V(`Cached to ${u}`),u}async install(e,r){r=r||It.tmpDir();let s=WE.default.join(r,"cosign-bin");NS.default.existsSync(s)||NS.default.mkdirSync(s,{recursive:!0});let i=lc.default.platform()=="win32"?"cosign.exe":"cosign",n=WE.default.join(s,i);return NS.default.copyFileSync(e,n),V("Fixing perms"),NS.default.chmodSync(n,"0755"),xc(s),V("Added Cosign to PATH"),V(`Binary path: ${n}`),n}async buildCommand(e,r){let s=await new Et({standalone:!0}).isAvailable(),i=await new Et({standalone:!1}).isAvailable(),n=!1;if(await this.buildx.isStandalone()&&s)z("Install.buildCommand: Buildx standalone found, build with it"),n=!0;else if(!await this.buildx.isStandalone()&&i)z("Install.buildCommand: Buildx plugin found, build with it"),n=!1;else if(s)z("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),n=!0;else if(i)z("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),n=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let o=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&o.push("--secret","id=GIT_AUTH_TOKEN"),o.push("-f-",e),await new Et({standalone:n}).getCommand(o)}async verifySignature(e,r){let s=`${r}.sigstore.json`;V(`Downloading keyless verification bundle at ${s}`);let i=await Fo(s,void 0,this.githubToken);z(`Install.verifySignature bundlePath: ${i}`);let n=await this.sigstore.verifyArtifact(e,i,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});V(`Cosign binary signature verified! ${n.tlogID?`${UA}?logIndex=${n.tlogID}`:""}`)}filename(){let e;switch(lc.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=lc.default.arch();break}}let r=lc.default.platform()=="win32"?"windows":lc.default.platform(),s=lc.default.platform()=="win32"?".exe":"";return pK.format("cosign-%s-%s%s",r,e,s)}async vspec(e){if(!bt.isValidRef(e)){let l=e.replace(/^v+|v+$/g,"");return V(`Use ${l} version spec cache key for ${e}`),l}let[r,s]=e.split("#");s.length==0&&(s="master");let i;s.match(/^[0-9a-fA-F]{40}$/)?i=s:i=await my.remoteSha(r,s,process.env.GIT_AUTH
/*! 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 14:44:02 +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.
*)
js-yaml/dist/js-yaml.mjs:
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
@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