@go-hare/claude-agent-sdk 0.3.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -0
- package/README.md +64 -0
- package/agentSdkTypes.d.ts +1 -0
- package/assistant.d.ts +135 -0
- package/assistant.mjs +193 -0
- package/bridge.d.ts +237 -0
- package/bridge.mjs +166 -0
- package/browser-sdk.d.ts +87 -0
- package/browser-sdk.js +97 -0
- package/extractFromBunfs.d.ts +1 -0
- package/extractFromBunfs.js +156 -0
- package/manifest.json +47 -0
- package/package.json +89 -0
- package/sdk-tools.d.ts +3324 -0
- package/sdk.d.ts +6508 -0
- package/sdk.mjs +119 -0
package/bridge.mjs
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
// (c) Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements outlined here: https://code.claude.com/docs/en/legal-and-compliance.
|
|
2
|
+
|
|
3
|
+
// Version: 0.3.177
|
|
4
|
+
import{createRequire as qY}from"node:module";var OY=Object.create;var{getPrototypeOf:PY,defineProperty:mh,getOwnPropertyNames:$Y}=Object;var GY=Object.prototype.hasOwnProperty;function HY(e){return this[e]}var zY,jY,sc=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?zY??=new WeakMap:jY??=new WeakMap,o=i.get(e);if(o)return o}r=e!=null?OY(PY(e)):{};let s=t||!e||!e.__esModule?mh(r,"default",{value:e,enumerable:!0}):r;for(let a of $Y(e))if(!GY.call(s,a))mh(s,a,{get:HY.bind(e,a),enumerable:!0});if(n)i.set(e,s);return s};var C=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var YY=(e)=>e;function JY(e,t){this[e]=YY.bind(null,t)}var Ur=(e,t)=>{for(var r in t)mh(e,r,{get:t[r],enumerable:!0,configurable:!0,set:JY.bind(t,r)})};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var v=qY(import.meta.url),VY=Symbol.dispose||Symbol.for("Symbol.dispose"),WY=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),Fe=(e,t,r)=>{if(t!=null){if(typeof t!=="object"&&typeof t!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var n;if(r)n=t[WY];if(n===void 0)n=t[VY];if(typeof n!=="function")throw TypeError("Object not disposable");e.push([r,n,t])}else if(r)e.push([r]);return t},Ue=(e,t,r)=>{var n=typeof SuppressedError==="function"?SuppressedError:function(s,a,c,u){return u=Error(c),u.name="SuppressedError",u.error=s,u.suppressed=a,u},i=(s)=>t=r?new n(s,t,"An error was suppressed during disposal"):(r=!0,s),o=(s)=>{while(s=e.pop())try{var a=s[1]&&s[1].call(s[2]);if(s[0])return Promise.resolve(a).then(o,(c)=>(i(c),o()))}catch(c){i(c)}if(r)throw t};return o()};var Lw=C((fhe,Mw)=>{var Uw=v("stream").Stream,OJ=v("util");Mw.exports=Lr;function Lr(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}OJ.inherits(Lr,Uw);Lr.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var i=e.emit;if(e.emit=function(){return r._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),r.pauseStream)e.pause();return r};Object.defineProperty(Lr.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Lr.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Lr.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};Lr.prototype.pause=function(){this.source.pause()};Lr.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};Lr.prototype.pipe=function(){var e=Uw.prototype.pipe.apply(this,arguments);return this.resume(),e};Lr.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data")this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(e)};Lr.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(e))}});var Gw=C((ghe,$w)=>{var PJ=v("util"),Pw=v("stream").Stream,Ow=Lw();$w.exports=qe;function qe(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}PJ.inherits(qe,Pw);qe.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};qe.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};qe.prototype.append=function(e){var t=qe.isStreamLike(e);if(t){if(!(e instanceof Ow)){var r=Ow.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}if(this._handleErrors(e),this.pauseStreams)e.pause()}return this._streams.push(e),this};qe.prototype.pipe=function(e,t){return Pw.prototype.pipe.call(this,e,t),this.resume(),e};qe.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};qe.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=qe.isStreamLike(r);if(n)r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r);this._pipeNext(r)}.bind(this))};qe.prototype._pipeNext=function(e){this._currentStream=e;var t=qe.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};qe.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};qe.prototype.write=function(e){this.emit("data",e)};qe.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};qe.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};qe.prototype.end=function(){this._reset(),this.emit("end")};qe.prototype.destroy=function(){this._reset(),this.emit("close")};qe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};qe.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(e))};qe.prototype._updateDataSize=function(){this.dataSize=0;var e=this;if(this._streams.forEach(function(t){if(!t.dataSize)return;e.dataSize+=t.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};qe.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var Hw=C((hhe,$J)=>{$J.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var qw=C((qJ)=>{/*!
|
|
5
|
+
* mime-types
|
|
6
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
7
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
8
|
+
* MIT Licensed
|
|
9
|
+
*/var MA=Hw(),GJ=v("path").extname,zw=/^\s*([^;\s]*)(?:;|\s|$)/,HJ=/^text\//i;qJ.charset=jw;qJ.charsets={lookup:jw};qJ.contentType=zJ;qJ.extension=jJ;qJ.extensions=Object.create(null);qJ.lookup=YJ;qJ.types=Object.create(null);JJ(qJ.extensions,qJ.types);function jw(e){if(!e||typeof e!=="string")return!1;var t=zw.exec(e),r=t&&MA[t[1].toLowerCase()];if(r&&r.charset)return r.charset;if(t&&HJ.test(t[1]))return"UTF-8";return!1}function zJ(e){if(!e||typeof e!=="string")return!1;var t=e.indexOf("/")===-1?qJ.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=qJ.charset(t);if(r)t+="; charset="+r.toLowerCase()}return t}function jJ(e){if(!e||typeof e!=="string")return!1;var t=zw.exec(e),r=t&&qJ.extensions[t[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]}function YJ(e){if(!e||typeof e!=="string")return!1;var t=GJ("x."+e).toLowerCase().substr(1);if(!t)return!1;return qJ.types[t]||!1}function JJ(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(MA).forEach(function(i){var o=MA[i],s=o.extensions;if(!s||!s.length)return;e[i]=s;for(var a=0;a<s.length;a++){var c=s[a];if(t[c]){var u=r.indexOf(MA[t[c]].source),l=r.indexOf(o.source);if(t[c]!=="application/octet-stream"&&(u>l||u===l&&t[c].substr(0,12)==="application/"))continue}t[c]=i}})}});var Ww=C((Ehe,Vw)=>{Vw.exports=KJ;function KJ(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t)t(e);else setTimeout(e,0)}});var yh=C((Ihe,Kw)=>{var Zw=Ww();Kw.exports=XJ;function XJ(e){var t=!1;return Zw(function(){t=!0}),function(n,i){if(t)e(n,i);else Zw(function(){e(n,i)})}}});var Bh=C((Che,Xw)=>{Xw.exports=eq;function eq(e){Object.keys(e.jobs).forEach(tq.bind(e)),e.jobs={}}function tq(e){if(typeof this.jobs[e]=="function")this.jobs[e]()}});var bh=C((yhe,tS)=>{var eS=yh(),rq=Bh();tS.exports=nq;function nq(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=iq(t,i,e[i],function(o,s){if(!(i in r.jobs))return;if(delete r.jobs[i],o)rq(r);else r.results[i]=s;n(o,r.results)})}function iq(e,t,r,n){var i;if(e.length==2)i=e(r,eS(n));else i=e(r,t,eS(n));return i}});var Qh=C((Bhe,rS)=>{rS.exports=oq;function oq(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};if(t)n.keyedList.sort(r?t:function(i,o){return t(e[i],e[o])});return n}});var vh=C((bhe,nS)=>{var sq=Bh(),aq=yh();nS.exports=cq;function cq(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,sq(this),aq(e)(null,this.results)}});var oS=C((Qhe,iS)=>{var lq=bh(),uq=Qh(),Aq=vh();iS.exports=dq;function dq(e,t,r){var n=uq(e);while(n.index<(n.keyedList||e).length)lq(e,t,n,function(i,o){if(i){r(i,o);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return Aq.bind(n,r)}});var xh=C((vhe,LA)=>{var sS=bh(),pq=Qh(),fq=vh();LA.exports=gq;LA.exports.ascending=aS;LA.exports.descending=hq;function gq(e,t,r,n){var i=pq(e,r);return sS(e,t,i,function o(s,a){if(s){n(s,a);return}if(i.index++,i.index<(i.keyedList||e).length){sS(e,t,i,o);return}n(null,i.results)}),fq.bind(i,n)}function aS(e,t){return e<t?-1:e>t?1:0}function hq(e,t){return-1*aS(e,t)}});var lS=C((xhe,cS)=>{var mq=xh();cS.exports=Eq;function Eq(e,t,r){return mq(e,t,null,r)}});var AS=C((whe,uS)=>{uS.exports={parallel:oS(),serial:lS(),serialOrdered:xh()}});var wh=C((She,dS)=>{dS.exports=Object});var fS=C((khe,pS)=>{pS.exports=Error});var hS=C((_he,gS)=>{gS.exports=EvalError});var ES=C((Rhe,mS)=>{mS.exports=RangeError});var CS=C((Dhe,IS)=>{IS.exports=ReferenceError});var BS=C((The,yS)=>{yS.exports=SyntaxError});var OA=C((Nhe,bS)=>{bS.exports=TypeError});var vS=C((Fhe,QS)=>{QS.exports=URIError});var wS=C((Uhe,xS)=>{xS.exports=Math.abs});var kS=C((Mhe,SS)=>{SS.exports=Math.floor});var RS=C((Lhe,_S)=>{_S.exports=Math.max});var TS=C((Ohe,DS)=>{DS.exports=Math.min});var FS=C((Phe,NS)=>{NS.exports=Math.pow});var MS=C(($he,US)=>{US.exports=Math.round});var OS=C((Ghe,LS)=>{LS.exports=Number.isNaN||function(t){return t!==t}});var $S=C((Hhe,PS)=>{var Iq=OS();PS.exports=function(t){if(Iq(t)||t===0)return t;return t<0?-1:1}});var HS=C((zhe,GS)=>{GS.exports=Object.getOwnPropertyDescriptor});var Sh=C((jhe,zS)=>{var PA=HS();if(PA)try{PA([],"length")}catch(e){PA=null}zS.exports=PA});var YS=C((Yhe,jS)=>{var $A=Object.defineProperty||!1;if($A)try{$A({},"a",{value:1})}catch(e){$A=!1}jS.exports=$A});var kh=C((Jhe,JS)=>{JS.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r==="string")return!1;if(Object.prototype.toString.call(r)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var o in t)return!1;if(typeof Object.keys==="function"&&Object.keys(t).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==i||a.enumerable!==!0)return!1}return!0}});var WS=C((qhe,VS)=>{var qS=typeof Symbol<"u"&&Symbol,Cq=kh();VS.exports=function(){if(typeof qS!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof qS("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return Cq()}});var _h=C((Vhe,ZS)=>{ZS.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Rh=C((Whe,KS)=>{var yq=wh();KS.exports=yq.getPrototypeOf||null});var tk=C((Zhe,ek)=>{var Bq="Function.prototype.bind called on incompatible ",bq=Object.prototype.toString,Qq=Math.max,vq="[object Function]",XS=function(t,r){var n=[];for(var i=0;i<t.length;i+=1)n[i]=t[i];for(var o=0;o<r.length;o+=1)n[o+t.length]=r[o];return n},xq=function(t,r){var n=[];for(var i=r||0,o=0;i<t.length;i+=1,o+=1)n[o]=t[i];return n},wq=function(e,t){var r="";for(var n=0;n<e.length;n+=1)if(r+=e[n],n+1<e.length)r+=t;return r};ek.exports=function(t){var r=this;if(typeof r!=="function"||bq.apply(r)!==vq)throw TypeError(Bq+r);var n=xq(arguments,1),i,o=function(){if(this instanceof i){var l=r.apply(this,XS(n,arguments));if(Object(l)===l)return l;return this}return r.apply(t,XS(n,arguments))},s=Qq(0,r.length-n.length),a=[];for(var c=0;c<s;c++)a[c]="$"+c;if(i=Function("binder","return function ("+wq(a,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i}});var Ac=C((Khe,rk)=>{var Sq=tk();rk.exports=Function.prototype.bind||Sq});var GA=C((Xhe,nk)=>{nk.exports=Function.prototype.call});var Dh=C((eme,ik)=>{ik.exports=Function.prototype.apply});var sk=C((tme,ok)=>{ok.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var ck=C((rme,ak)=>{var kq=Ac(),_q=Dh(),Rq=GA(),Dq=sk();ak.exports=Dq||kq.call(Rq,_q)});var uk=C((nme,lk)=>{var Tq=Ac(),Nq=OA(),Fq=GA(),Uq=ck();lk.exports=function(t){if(t.length<1||typeof t[0]!=="function")throw new Nq("a function is required");return Uq(Tq,Fq,t)}});var hk=C((ime,gk)=>{var Mq=uk(),Ak=Sh(),pk;try{pk=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Th=!!pk&&Ak&&Ak(Object.prototype,"__proto__"),fk=Object,dk=fk.getPrototypeOf;gk.exports=Th&&typeof Th.get==="function"?Mq([Th.get]):typeof dk==="function"?function(t){return dk(t==null?t:fk(t))}:!1});var yk=C((ome,Ck)=>{var mk=_h(),Ek=Rh(),Ik=hk();Ck.exports=mk?function(t){return mk(t)}:Ek?function(t){if(!t||typeof t!=="object"&&typeof t!=="function")throw TypeError("getProto: not an object");return Ek(t)}:Ik?function(t){return Ik(t)}:null});var HA=C((sme,Bk)=>{var Lq=Function.prototype.call,Oq=Object.prototype.hasOwnProperty,Pq=Ac();Bk.exports=Pq.call(Lq,Oq)});var Sk=C((ame,wk)=>{var se,$q=wh(),Gq=fS(),Hq=hS(),zq=ES(),jq=CS(),is=BS(),ns=OA(),Yq=vS(),Jq=wS(),qq=kS(),Vq=RS(),Wq=TS(),Zq=FS(),Kq=MS(),Xq=$S(),vk=Function,Nh=function(e){try{return vk('"use strict"; return ('+e+").constructor;")()}catch(t){}},dc=Sh(),eV=YS(),Fh=function(){throw new ns},tV=dc?function(){try{return arguments.callee,Fh}catch(e){try{return dc(arguments,"callee").get}catch(t){return Fh}}}():Fh,ts=WS()(),Et=yk(),rV=Rh(),nV=_h(),xk=Dh(),pc=GA(),rs={},iV=typeof Uint8Array>"u"||!Et?se:Et(Uint8Array),Yi={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":ts&&Et?Et([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":rs,"%AsyncGenerator%":rs,"%AsyncGeneratorFunction%":rs,"%AsyncIteratorPrototype%":rs,"%Atomics%":typeof Atomics>"u"?se:Atomics,"%BigInt%":typeof BigInt>"u"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Gq,"%eval%":eval,"%EvalError%":Hq,"%Float16Array%":typeof Float16Array>"u"?se:Float16Array,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":vk,"%GeneratorFunction%":rs,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ts&&Et?Et(Et([][Symbol.iterator]())):se,"%JSON%":typeof JSON==="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ts||!Et?se:Et(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":$q,"%Object.getOwnPropertyDescriptor%":dc,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":zq,"%ReferenceError%":jq,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ts||!Et?se:Et(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ts&&Et?Et(""[Symbol.iterator]()):se,"%Symbol%":ts?Symbol:se,"%SyntaxError%":is,"%ThrowTypeError%":tV,"%TypedArray%":iV,"%TypeError%":ns,"%Uint8Array%":typeof Uint8Array>"u"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?se:Uint32Array,"%URIError%":Yq,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet,"%Function.prototype.call%":pc,"%Function.prototype.apply%":xk,"%Object.defineProperty%":eV,"%Object.getPrototypeOf%":rV,"%Math.abs%":Jq,"%Math.floor%":qq,"%Math.max%":Vq,"%Math.min%":Wq,"%Math.pow%":Zq,"%Math.round%":Kq,"%Math.sign%":Xq,"%Reflect.getPrototypeOf%":nV};if(Et)try{null.error}catch(e){Uh=Et(Et(e)),Yi["%Error.prototype%"]=Uh}var Uh,oV=function e(t){var r;if(t==="%AsyncFunction%")r=Nh("async function () {}");else if(t==="%GeneratorFunction%")r=Nh("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Nh("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");if(n)r=n.prototype}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");if(i&&Et)r=Et(i.prototype)}return Yi[t]=r,r},bk={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},fc=Ac(),zA=HA(),sV=fc.call(pc,Array.prototype.concat),aV=fc.call(xk,Array.prototype.splice),Qk=fc.call(pc,String.prototype.replace),jA=fc.call(pc,String.prototype.slice),cV=fc.call(pc,RegExp.prototype.exec),lV=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,uV=/\\(\\)?/g,AV=function(t){var r=jA(t,0,1),n=jA(t,-1);if(r==="%"&&n!=="%")throw new is("invalid intrinsic syntax, expected closing `%`");else if(n==="%"&&r!=="%")throw new is("invalid intrinsic syntax, expected opening `%`");var i=[];return Qk(t,lV,function(o,s,a,c){i[i.length]=a?Qk(c,uV,"$1"):s||o}),i},dV=function(t,r){var n=t,i;if(zA(bk,n))i=bk[n],n="%"+i[0]+"%";if(zA(Yi,n)){var o=Yi[n];if(o===rs)o=oV(n);if(typeof o>"u"&&!r)throw new ns("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new is("intrinsic "+t+" does not exist!")};wk.exports=function(t,r){if(typeof t!=="string"||t.length===0)throw new ns("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!=="boolean")throw new ns('"allowMissing" argument must be a boolean');if(cV(/^%?[^%]*%?$/,t)===null)throw new is("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=AV(t),i=n.length>0?n[0]:"",o=dV("%"+i+"%",r),s=o.name,a=o.value,c=!1,u=o.alias;if(u)i=u[0],aV(n,sV([0,1],u));for(var l=1,d=!0;l<n.length;l+=1){var A=n[l],p=jA(A,0,1),f=jA(A,-1);if((p==='"'||p==="'"||p==="`"||(f==='"'||f==="'"||f==="`"))&&p!==f)throw new is("property names with quotes must have matching quotes");if(A==="constructor"||!d)c=!0;if(i+="."+A,s="%"+i+"%",zA(Yi,s))a=Yi[s];else if(a!=null){if(!(A in a)){if(!r)throw new ns("base intrinsic for "+t+" exists, but the property is not available.");return}if(dc&&l+1>=n.length){var h=dc(a,A);if(d=!!h,d&&"get"in h&&!("originalValue"in h.get))a=h.get;else a=a[A]}else d=zA(a,A),a=a[A];if(d&&!c)Yi[s]=a}}return a}});var _k=C((cme,kk)=>{var pV=kh();kk.exports=function(){return pV()&&!!Symbol.toStringTag}});var Tk=C((lme,Dk)=>{var fV=Sk(),Rk=fV("%Object.defineProperty%",!0),gV=_k()(),hV=HA(),mV=OA(),YA=gV?Symbol.toStringTag:null;Dk.exports=function(t,r){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!=="boolean"||typeof i<"u"&&typeof i!=="boolean")throw new mV("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(YA&&(n||!hV(t,YA)))if(Rk)Rk(t,YA,{configurable:!i,enumerable:!1,value:r,writable:!1});else t[YA]=r}});var Fk=C((ume,Nk)=>{Nk.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var Mk=C((Ame,Uk)=>{var Ph=Gw(),EV=v("util"),Mh=v("path"),IV=v("http"),CV=v("https"),yV=v("url").parse,BV=v("fs"),bV=v("stream").Stream,QV=v("crypto"),Lh=qw(),vV=AS(),xV=Tk(),oi=HA(),Oh=Fk();function ue(e){if(!(this instanceof ue))return new ue(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Ph.call(this),e=e||{};for(var t in e)this[t]=e[t]}EV.inherits(ue,Ph);ue.LINE_BREAK=`\r
|
|
10
|
+
`;ue.DEFAULT_CONTENT_TYPE="application/octet-stream";ue.prototype.append=function(e,t,r){if(r=r||{},typeof r==="string")r={filename:r};var n=Ph.prototype.append.bind(this);if(typeof t==="number"||t==null)t=String(t);if(Array.isArray(t)){this._error(Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,r),o=this._multiPartFooter();n(i),n(t),n(o),this._trackLength(i,t,r)};ue.prototype._trackLength=function(e,t,r){var n=0;if(r.knownLength!=null)n+=Number(r.knownLength);else if(Buffer.isBuffer(t))n=t.length;else if(typeof t==="string")n=Buffer.byteLength(t);if(this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+ue.LINE_BREAK.length,!t||!t.path&&!(t.readable&&oi(t,"httpVersion"))&&!(t instanceof bV))return;if(!r.knownLength)this._valuesToMeasure.push(t)};ue.prototype._lengthRetriever=function(e,t){if(oi(e,"fd"))if(e.end!=null&&e.end!=1/0&&e.start!=null)t(null,e.end+1-(e.start?e.start:0));else BV.stat(e.path,function(r,n){if(r){t(r);return}var i=n.size-(e.start?e.start:0);t(null,i)});else if(oi(e,"httpVersion"))t(null,Number(e.headers["content-length"]));else if(oi(e,"httpModule"))e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume();else t("Unknown stream")};ue.prototype._multiPartHeader=function(e,t,r){if(typeof r.header==="string")return r.header;var n=this._getContentDisposition(t,r),i=this._getContentType(t,r),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};if(typeof r.header==="object")Oh(s,r.header);var a;for(var c in s)if(oi(s,c)){if(a=s[c],a==null)continue;if(!Array.isArray(a))a=[a];if(a.length)o+=c+": "+a.join("; ")+ue.LINE_BREAK}return"--"+this.getBoundary()+ue.LINE_BREAK+o+ue.LINE_BREAK};ue.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath==="string")r=Mh.normalize(t.filepath).replace(/\\/g,"/");else if(t.filename||e&&(e.name||e.path))r=Mh.basename(t.filename||e&&(e.name||e.path));else if(e&&e.readable&&oi(e,"httpVersion"))r=Mh.basename(e.client._httpMessage.path||"");if(r)return'filename="'+r+'"'};ue.prototype._getContentType=function(e,t){var r=t.contentType;if(!r&&e&&e.name)r=Lh.lookup(e.name);if(!r&&e&&e.path)r=Lh.lookup(e.path);if(!r&&e&&e.readable&&oi(e,"httpVersion"))r=e.headers["content-type"];if(!r&&(t.filepath||t.filename))r=Lh.lookup(t.filepath||t.filename);if(!r&&e&&typeof e==="object")r=ue.DEFAULT_CONTENT_TYPE;return r};ue.prototype._multiPartFooter=function(){return function(e){var t=ue.LINE_BREAK,r=this._streams.length===0;if(r)t+=this._lastBoundary();e(t)}.bind(this)};ue.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+ue.LINE_BREAK};ue.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)if(oi(e,t))r[t.toLowerCase()]=e[t];return r};ue.prototype.setBoundary=function(e){if(typeof e!=="string")throw TypeError("FormData boundary must be a string");this._boundary=e};ue.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};ue.prototype.getBuffer=function(){var e=new Buffer.alloc(0),t=this.getBoundary();for(var r=0,n=this._streams.length;r<n;r++)if(typeof this._streams[r]!=="function"){if(Buffer.isBuffer(this._streams[r]))e=Buffer.concat([e,this._streams[r]]);else e=Buffer.concat([e,Buffer.from(this._streams[r])]);if(typeof this._streams[r]!=="string"||this._streams[r].substring(2,t.length+2)!==t)e=Buffer.concat([e,Buffer.from(ue.LINE_BREAK)])}return Buffer.concat([e,Buffer.from(this._lastBoundary())])};ue.prototype._generateBoundary=function(){this._boundary="--------------------------"+QV.randomBytes(12).toString("hex")};ue.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length)e+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return e};ue.prototype.hasKnownLength=function(){var e=!0;if(this._valuesToMeasure.length)e=!1;return e};ue.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length)t+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}vV.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};ue.prototype.submit=function(e,t){var r,n,i={method:"post"};if(typeof e==="string")e=yV(e),n=Oh({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i);else if(n=Oh(e,i),!n.port)n.port=n.protocol==="https:"?443:80;if(n.headers=this.getHeaders(e.headers),n.protocol==="https:")r=CV.request(n);else r=IV.request(n);return this.getLength(function(o,s){if(o&&o!=="Unknown stream"){this._error(o);return}if(s)r.setHeader("Content-Length",s);if(this.pipe(r),t){var a,c=function(u,l){return r.removeListener("error",c),r.removeListener("response",a),t.call(this,u,l)};a=c.bind(this,null),r.on("error",c),r.on("response",a)}}.bind(this)),r};ue.prototype._error=function(e){if(!this.error)this.error=e,this.pause(),this.emit("error",e)};ue.prototype.toString=function(){return"[object FormData]"};xV(ue.prototype,"FormData");Uk.exports=ue});var e_=C((pEe,Xk)=>{var as=1000,cs=as*60,ls=cs*60,Vi=ls*24,KV=Vi*7,XV=Vi*365.25;Xk.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return eW(e);else if(r==="number"&&isFinite(e))return t.long?rW(e):tW(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function eW(e){if(e=String(e),e.length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*XV;case"weeks":case"week":case"w":return r*KV;case"days":case"day":case"d":return r*Vi;case"hours":case"hour":case"hrs":case"hr":case"h":return r*ls;case"minutes":case"minute":case"mins":case"min":case"m":return r*cs;case"seconds":case"second":case"secs":case"sec":case"s":return r*as;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function tW(e){var t=Math.abs(e);if(t>=Vi)return Math.round(e/Vi)+"d";if(t>=ls)return Math.round(e/ls)+"h";if(t>=cs)return Math.round(e/cs)+"m";if(t>=as)return Math.round(e/as)+"s";return e+"ms"}function rW(e){var t=Math.abs(e);if(t>=Vi)return WA(e,t,Vi,"day");if(t>=ls)return WA(e,t,ls,"hour");if(t>=cs)return WA(e,t,cs,"minute");if(t>=as)return WA(e,t,as,"second");return e+" ms"}function WA(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var em=C((fEe,t_)=>{function nW(e){r.debug=r,r.default=r,r.coerce=c,r.disable=s,r.enable=i,r.enabled=a,r.humanize=e_(),r.destroy=u,Object.keys(e).forEach((l)=>{r[l]=e[l]}),r.names=[],r.skips=[],r.formatters={};function t(l){let d=0;for(let A=0;A<l.length;A++)d=(d<<5)-d+l.charCodeAt(A),d|=0;return r.colors[Math.abs(d)%r.colors.length]}r.selectColor=t;function r(l){let d,A=null,p,f;function h(...g){if(!h.enabled)return;let m=h,S=Number(new Date),b=S-(d||S);if(m.diff=b,m.prev=d,m.curr=S,d=S,g[0]=r.coerce(g[0]),typeof g[0]!=="string")g.unshift("%O");let I=0;g[0]=g[0].replace(/%([a-zA-Z%])/g,(x,D)=>{if(x==="%%")return"%";I++;let le=r.formatters[D];if(typeof le==="function"){let ie=g[I];x=le.call(m,ie),g.splice(I,1),I--}return x}),r.formatArgs.call(m,g),(m.log||r.log).apply(m,g)}if(h.namespace=l,h.useColors=r.useColors(),h.color=r.selectColor(l),h.extend=n,h.destroy=r.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(A!==null)return A;if(p!==r.namespaces)p=r.namespaces,f=r.enabled(l);return f},set:(g)=>{A=g}}),typeof r.init==="function")r.init(h);return h}function n(l,d){let A=r(this.namespace+(typeof d>"u"?":":d)+l);return A.log=this.log,A}function i(l){r.save(l),r.namespaces=l,r.names=[],r.skips=[];let d=(typeof l==="string"?l:"").trim().replace(" ",",").split(",").filter(Boolean);for(let A of d)if(A[0]==="-")r.skips.push(A.slice(1));else r.names.push(A)}function o(l,d){let A=0,p=0,f=-1,h=0;while(A<l.length)if(p<d.length&&(d[p]===l[A]||d[p]==="*"))if(d[p]==="*")f=p,h=A,p++;else A++,p++;else if(f!==-1)p=f+1,h++,A=h;else return!1;while(p<d.length&&d[p]==="*")p++;return p===d.length}function s(){let l=[...r.names,...r.skips.map((d)=>"-"+d)].join(",");return r.enable(""),l}function a(l){for(let d of r.skips)if(o(l,d))return!1;for(let d of r.names)if(o(l,d))return!0;return!1}function c(l){if(l instanceof Error)return l.stack||l.message;return l}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}t_.exports=nW});var n_=C((r_,KA)=>{r_.formatArgs=oW;r_.save=sW;r_.load=aW;r_.useColors=iW;r_.storage=cW();r_.destroy=(()=>{let e=!1;return()=>{if(!e)e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();r_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function iW(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function oW(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+KA.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,(i)=>{if(i==="%%")return;if(r++,i==="%c")n=r}),e.splice(n,0,t)}r_.log=console.debug||console.log||(()=>{});function sW(e){try{if(e)r_.storage.setItem("debug",e);else r_.storage.removeItem("debug")}catch(t){}}function aW(){let e;try{e=r_.storage.getItem("debug")}catch(t){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function cW(){try{return localStorage}catch(e){}}KA.exports=em()(r_);var{formatters:lW}=KA.exports;lW.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var o_=C((hEe,i_)=>{i_.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}});var c_=C((mEe,a_)=>{var mW=v("os"),s_=v("tty"),yr=o_(),{env:It}=process,XA;if(yr("no-color")||yr("no-colors")||yr("color=false")||yr("color=never"))XA=0;else if(yr("color")||yr("colors")||yr("color=true")||yr("color=always"))XA=1;function EW(){if("FORCE_COLOR"in It){if(It.FORCE_COLOR==="true")return 1;if(It.FORCE_COLOR==="false")return 0;return It.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(It.FORCE_COLOR,10),3)}}function IW(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function CW(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=EW();if(n!==void 0)XA=n;let i=r?XA:n;if(i===0)return 0;if(r){if(yr("color=16m")||yr("color=full")||yr("color=truecolor"))return 3;if(yr("color=256"))return 2}if(e&&!t&&i===void 0)return 0;let o=i||0;if(It.TERM==="dumb")return o;if(process.platform==="win32"){let s=mW.release().split(".");if(Number(s[0])>=10&&Number(s[2])>=10586)return Number(s[2])>=14931?3:2;return 1}if("CI"in It){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((s)=>(s in It))||It.CI_NAME==="codeship")return 1;return o}if("TEAMCITY_VERSION"in It)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(It.TEAMCITY_VERSION)?1:0;if(It.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in It){let s=Number.parseInt((It.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(It.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(It.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(It.TERM))return 1;if("COLORTERM"in It)return 1;return o}function tm(e,t={}){let r=CW(e,{streamIsTTY:e&&e.isTTY,...t});return IW(r)}a_.exports={supportsColor:tm,stdout:tm({isTTY:s_.isatty(1)}),stderr:tm({isTTY:s_.isatty(2)})}});var d_=C((u_,td)=>{var yW=v("tty"),ed=v("util");u_.init=SW;u_.log=vW;u_.formatArgs=bW;u_.save=xW;u_.load=wW;u_.useColors=BW;u_.destroy=ed.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");u_.colors=[6,2,3,4,5,1];try{let e=c_();if(e&&(e.stderr||e).level>=2)u_.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(e){}u_.inspectOpts=Object.keys(process.env).filter((e)=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n))n=!0;else if(/^(no|off|false|disabled)$/i.test(n))n=!1;else if(n==="null")n=null;else n=Number(n);return e[r]=n,e},{});function BW(){return"colors"in u_.inspectOpts?Boolean(u_.inspectOpts.colors):yW.isatty(process.stderr.fd)}function bW(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${t} \x1B[0m`;e[0]=o+e[0].split(`
|
|
11
|
+
`).join(`
|
|
12
|
+
`+o),e.push(i+"m+"+td.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=QW()+t+" "+e[0]}function QW(){if(u_.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function vW(...e){return process.stderr.write(ed.formatWithOptions(u_.inspectOpts,...e)+`
|
|
13
|
+
`)}function xW(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function wW(){return process.env.DEBUG}function SW(e){e.inspectOpts={};let t=Object.keys(u_.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=u_.inspectOpts[t[r]]}td.exports=em()(u_);var{formatters:l_}=td.exports;l_.o=function(e){return this.inspectOpts.colors=this.useColors,ed.inspect(e,this.inspectOpts).split(`
|
|
14
|
+
`).map((t)=>t.trim()).join(" ")};l_.O=function(e){return this.inspectOpts.colors=this.useColors,ed.inspect(e,this.inspectOpts)}});var rd=C((IEe,rm)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)rm.exports=n_();else rm.exports=d_()});var f_=C((CEe,p_)=>{var Ic;p_.exports=function(){if(!Ic){try{Ic=rd()("follow-redirects")}catch(e){}if(typeof Ic!=="function")Ic=function(){}}Ic.apply(null,arguments)}});var I_=C((yEe,fm)=>{var yc=v("url"),Cc=yc.URL,UW=v("http"),MW=v("https"),am=v("stream").Writable,cm=v("assert"),g_=f_();(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=Ki(Error.captureStackTrace);if(!t&&(r||!n))console.warn("The follow-redirects package should be excluded from browser builds.")})();var lm=!1;try{cm(new Cc(""))}catch(e){lm=e.code==="ERR_INVALID_URL"}var LW=["Authorization","Proxy-Authorization","Cookie"],OW=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],um=["abort","aborted","connect","error","socket","timeout"],Am=Object.create(null);um.forEach(function(e){Am[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var im=Bc("ERR_INVALID_URL","Invalid URL",TypeError),om=Bc("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),PW=Bc("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",om),$W=Bc("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),GW=Bc("ERR_STREAM_WRITE_AFTER_END","write after end"),HW=am.prototype.destroy||m_;function zt(e,t){if(am.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t)this.on("response",t);var r=this;this._onNativeResponse=function(n){try{r._processResponse(n)}catch(i){r.emit("error",i instanceof om?i:new om({cause:i}))}},this._headerFilter=new RegExp("^(?:"+LW.concat(e.sensitiveHeaders).map(VW).join("|")+")$","i"),this._performRequest()}zt.prototype=Object.create(am.prototype);zt.prototype.abort=function(){pm(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};zt.prototype.destroy=function(e){return pm(this._currentRequest,e),HW.call(this,e),this};zt.prototype.write=function(e,t,r){if(this._ending)throw new GW;if(!Zi(e)&&!JW(e))throw TypeError("data should be a string, Buffer or Uint8Array");if(Ki(t))r=t,t=null;if(e.length===0){if(r)r();return}if(this._requestBodyLength+e.length<=this._options.maxBodyLength)this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r);else this.emit("error",new $W),this.abort()};zt.prototype.end=function(e,t,r){if(Ki(e))r=e,e=t=null;else if(Ki(t))r=t,t=null;if(!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(e,t,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};zt.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};zt.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};zt.prototype.setTimeout=function(e,t){var r=this;function n(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function i(s){if(r._timeout)clearTimeout(r._timeout);r._timeout=setTimeout(function(){r.emit("timeout"),o()},e),n(s)}function o(){if(r._timeout)clearTimeout(r._timeout),r._timeout=null;if(r.removeListener("abort",o),r.removeListener("error",o),r.removeListener("response",o),r.removeListener("close",o),t)r.removeListener("timeout",t);if(!r.socket)r._currentRequest.removeListener("socket",i)}if(t)this.on("timeout",t);if(this.socket)i(this.socket);else this._currentRequest.once("socket",i);return this.on("socket",n),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){zt.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(zt.prototype,e,{get:function(){return this._currentRequest[e]}})});zt.prototype._sanitizeOptions=function(e){if(!e.headers)e.headers={};if(!YW(e.sensitiveHeaders))e.sensitiveHeaders=[];if(e.host){if(!e.hostname)e.hostname=e.host;delete e.host}if(!e.pathname&&e.path){var t=e.path.indexOf("?");if(t<0)e.pathname=e.path;else e.pathname=e.path.substring(0,t),e.search=e.path.substring(t)}};zt.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw TypeError("Unsupported protocol "+e);if(this._options.agents){var r=e.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of um)n.on(i,Am[i]);if(this._currentUrl=/^\//.test(this._options.path)?yc.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,a=this._requestBodyBuffers;(function c(u){if(n===s._currentRequest){if(u)s.emit("error",u);else if(o<a.length){var l=a[o++];if(!n.finished)n.write(l.data,l.encoding,c)}else if(s._ended)n.end()}})()}};zt.prototype._processResponse=function(e){var t=e.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(pm(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new PW;var n,i=this._options.beforeRedirect;if(i)n=Object.assign({Host:e.req.getHeader("host")},this._options.headers);var o=this._options.method;if((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],nm(/^content-/i,this._options.headers);var s=nm(/^host$/i,this._options.headers),a=dm(this._currentUrl),c=s||a.host,u=/^\w+:/.test(r)?this._currentUrl:yc.format(Object.assign(a,{host:c})),l=zW(r,u);if(g_("redirecting to",l.href),this._isRedirect=!0,sm(l,this._options),l.protocol!==a.protocol&&l.protocol!=="https:"||l.host!==c&&!jW(l.host,c))nm(this._headerFilter,this._options.headers);if(Ki(i)){var d={headers:e.headers,statusCode:t},A={url:u,method:o,headers:n};i(this._options,d,A),this._sanitizeOptions(this._options)}this._performRequest()};function h_(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(n){var i=n+":",o=r[i]=e[n],s=t[n]=Object.create(o);function a(u,l,d){if(qW(u))u=sm(u);else if(Zi(u))u=sm(dm(u));else d=l,l=E_(u),u={protocol:i};if(Ki(l))d=l,l=null;if(l=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},u,l),l.nativeProtocols=r,!Zi(l.host)&&!Zi(l.hostname))l.hostname="::1";return cm.equal(l.protocol,i,"protocol mismatch"),g_("options",l),new zt(l,d)}function c(u,l,d){var A=s.request(u,l,d);return A.end(),A}Object.defineProperties(s,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function m_(){}function dm(e){var t;if(lm)t=new Cc(e);else if(t=E_(yc.parse(e)),!Zi(t.protocol))throw new im({input:e});return t}function zW(e,t){return lm?new Cc(e,t):dm(yc.resolve(t,e))}function E_(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new im({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new im({input:e.href||e});return e}function sm(e,t){var r=t||{};for(var n of OW)r[n]=e[n];if(r.hostname.startsWith("["))r.hostname=r.hostname.slice(1,-1);if(r.port!=="")r.port=Number(r.port);return r.path=r.search?r.pathname+r.search:r.pathname,r}function nm(e,t){var r;for(var n in t)if(e.test(n))r=t[n],delete t[n];return r===null||typeof r>"u"?void 0:String(r).trim()}function Bc(e,t,r){function n(i){if(Ki(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,i||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return n.prototype=Object.create((r||Error).prototype),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}function pm(e,t){for(var r of um)e.removeListener(r,Am[r]);e.on("error",m_),e.destroy(t)}function jW(e,t){cm(Zi(e)&&Zi(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function YW(e){return e instanceof Array}function Zi(e){return typeof e==="string"||e instanceof String}function Ki(e){return typeof e==="function"}function JW(e){return typeof e==="object"&&"length"in e}function qW(e){return Cc&&e instanceof Cc}function VW(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}fm.exports=h_({http:UW,https:MW});fm.exports.wrap=h_});function L4(){this.__data__=[],this.size=0}var o0;var s0=y(()=>{o0=L4});function O4(e,t){return e===t||e!==e&&t!==t}var a0;var c0=y(()=>{a0=O4});function P4(e,t){var r=e.length;while(r--)if(a0(e[r][0],t))return r;return-1}var ui;var Sc=y(()=>{c0();ui=P4});function H4(e){var t=this.__data__,r=ui(t,e);if(r<0)return!1;var n=t.length-1;if(r==n)t.pop();else G4.call(t,r,1);return--this.size,!0}var $4,G4,l0;var u0=y(()=>{Sc();$4=Array.prototype,G4=$4.splice;l0=H4});function z4(e){var t=this.__data__,r=ui(t,e);return r<0?void 0:t[r][1]}var A0;var d0=y(()=>{Sc();A0=z4});function j4(e){return ui(this.__data__,e)>-1}var p0;var f0=y(()=>{Sc();p0=j4});function Y4(e,t){var r=this.__data__,n=ui(r,e);if(n<0)++this.size,r.push([e,t]);else r[n][1]=t;return this}var g0;var h0=y(()=>{Sc();g0=Y4});function ds(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}var m0;var E0=y(()=>{s0();u0();d0();f0();h0();ds.prototype.clear=o0;ds.prototype.delete=l0;ds.prototype.get=A0;ds.prototype.has=p0;ds.prototype.set=g0;m0=ds});var J4,I0;var C0=y(()=>{J4=typeof global=="object"&&global&&global.Object===Object&&global,I0=J4});var q4,V4,ps;var ud=y(()=>{C0();q4=typeof self=="object"&&self&&self.Object===Object&&self,V4=I0||q4||Function("return this")(),ps=V4});var W4,fs;var Sm=y(()=>{ud();W4=ps.Symbol,fs=W4});function X4(e){var t=Z4.call(e,kc),r=e[kc];try{e[kc]=void 0;var n=!0}catch(o){}var i=K4.call(e);if(n)if(t)e[kc]=r;else delete e[kc];return i}var y0,Z4,K4,kc,B0;var b0=y(()=>{Sm();y0=Object.prototype,Z4=y0.hasOwnProperty,K4=y0.toString,kc=fs?fs.toStringTag:void 0;B0=X4});function rZ(e){return tZ.call(e)}var eZ,tZ,Q0;var v0=y(()=>{eZ=Object.prototype,tZ=eZ.toString;Q0=rZ});function oZ(e){if(e==null)return e===void 0?iZ:nZ;return x0&&x0 in Object(e)?B0(e):Q0(e)}var nZ="[object Null]",iZ="[object Undefined]",x0,w0;var S0=y(()=>{Sm();b0();v0();x0=fs?fs.toStringTag:void 0;w0=oZ});function sZ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ad;var km=y(()=>{Ad=sZ});function AZ(e){if(!Ad(e))return!1;var t=w0(e);return t==cZ||t==lZ||t==aZ||t==uZ}var aZ="[object AsyncFunction]",cZ="[object Function]",lZ="[object GeneratorFunction]",uZ="[object Proxy]",k0;var _0=y(()=>{S0();km();k0=AZ});var dZ,dd;var R0=y(()=>{ud();dZ=ps["__core-js_shared__"],dd=dZ});function pZ(e){return!!D0&&D0 in e}var D0,T0;var N0=y(()=>{R0();D0=function(){var e=/[^.]+$/.exec(dd&&dd.keys&&dd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();T0=pZ});function hZ(e){if(e!=null){try{return gZ.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var fZ,gZ,F0;var U0=y(()=>{fZ=Function.prototype,gZ=fZ.toString;F0=hZ});function QZ(e){if(!Ad(e)||T0(e))return!1;var t=k0(e)?bZ:EZ;return t.test(F0(e))}var mZ,EZ,IZ,CZ,yZ,BZ,bZ,M0;var L0=y(()=>{_0();N0();km();U0();mZ=/[\\^$.*+?()[\]{}|]/g,EZ=/^\[object .+?Constructor\]$/,IZ=Function.prototype,CZ=Object.prototype,yZ=IZ.toString,BZ=CZ.hasOwnProperty,bZ=RegExp("^"+yZ.call(BZ).replace(mZ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");M0=QZ});function vZ(e,t){return e==null?void 0:e[t]}var O0;var P0=y(()=>{O0=vZ});function xZ(e,t){var r=O0(e,t);return M0(r)?r:void 0}var pd;var _m=y(()=>{L0();P0();pd=xZ});var wZ,$0;var G0=y(()=>{_m();ud();wZ=pd(ps,"Map"),$0=wZ});var SZ,Qn;var _c=y(()=>{_m();SZ=pd(Object,"create"),Qn=SZ});function kZ(){this.__data__=Qn?Qn(null):{},this.size=0}var H0;var z0=y(()=>{_c();H0=kZ});function _Z(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var j0;var Y0=y(()=>{j0=_Z});function NZ(e){var t=this.__data__;if(Qn){var r=t[e];return r===RZ?void 0:r}return TZ.call(t,e)?t[e]:void 0}var RZ="__lodash_hash_undefined__",DZ,TZ,J0;var q0=y(()=>{_c();DZ=Object.prototype,TZ=DZ.hasOwnProperty;J0=NZ});function MZ(e){var t=this.__data__;return Qn?t[e]!==void 0:UZ.call(t,e)}var FZ,UZ,V0;var W0=y(()=>{_c();FZ=Object.prototype,UZ=FZ.hasOwnProperty;V0=MZ});function OZ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qn&&t===void 0?LZ:t,this}var LZ="__lodash_hash_undefined__",Z0;var K0=y(()=>{_c();Z0=OZ});function gs(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}var Rm;var X0=y(()=>{z0();Y0();q0();W0();K0();gs.prototype.clear=H0;gs.prototype.delete=j0;gs.prototype.get=J0;gs.prototype.has=V0;gs.prototype.set=Z0;Rm=gs});function PZ(){this.size=0,this.__data__={hash:new Rm,map:new($0||m0),string:new Rm}}var eR;var tR=y(()=>{X0();E0();G0();eR=PZ});function $Z(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var rR;var nR=y(()=>{rR=$Z});function GZ(e,t){var r=e.__data__;return rR(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Ai;var Rc=y(()=>{nR();Ai=GZ});function HZ(e){var t=Ai(this,e).delete(e);return this.size-=t?1:0,t}var iR;var oR=y(()=>{Rc();iR=HZ});function zZ(e){return Ai(this,e).get(e)}var sR;var aR=y(()=>{Rc();sR=zZ});function jZ(e){return Ai(this,e).has(e)}var cR;var lR=y(()=>{Rc();cR=jZ});function YZ(e,t){var r=Ai(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var uR;var AR=y(()=>{Rc();uR=YZ});function hs(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}var Dm;var dR=y(()=>{tR();oR();aR();lR();AR();hs.prototype.clear=eR;hs.prototype.delete=iR;hs.prototype.get=sR;hs.prototype.has=cR;hs.prototype.set=uR;Dm=hs});function Tm(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw TypeError(JZ);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(Tm.Cache||Dm),r}var JZ="Expected a function",Pe;var vn=y(()=>{dR();Tm.Cache=Dm;Pe=Tm});import{randomUUID as pR}from"crypto";var fR=()=>{};var gR=()=>{};function Ve(e){if(!e)return!1;if(typeof e==="boolean")return e;let t=String(e).toLowerCase().trim();return["1","true","yes","on"].includes(t)}function fd(e){if(e===void 0)return!1;if(typeof e==="boolean")return!e;let t=String(e).toLowerCase().trim();return["0","false","no","off"].includes(t)}function ms(e){if(!e||e.startsWith("-")||e.startsWith("/"))return!1;if(e.includes(".."))return!1;if(e.split("/").some((t)=>t==="."||t===""))return!1;return/^[a-zA-Z0-9/._+@-]+$/.test(e)}function di(){let e=new Set;return{subscribe(t){return e.add(t),()=>{e.delete(t)}},emit(...t){let r;for(let n of e)try{n(...t)}catch(i){(r??=[]).push(i)}if(r)throw r.length===1?r[0]:AggregateError(r,"Signal listener(s) threw")},clear(){e.clear()}}}var hR=()=>{};var Dc=y(()=>{hR()});var mR=y(()=>{Dc()});function ER(){return{sent:new Set,rejected:new Set}}var IR="[\\w-]{1,63}",ube,Abe;var CR=y(()=>{ube=new RegExp(`^${IR}$`),Abe=new RegExp(`^a(?:${IR}-)?[0-9a-f]{16}$`)});import{realpathSync as yR}from"fs";import{cwd as qZ}from"process";function WZ(){let e="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof yR==="function"){let r=qZ();try{e=BR(yR(r))}catch{e=BR(r)}}return{originalCwd:e,projectRoot:e,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:e,modelUsage:{},mainLoopModelOverride:void 0,refusalFallbackOccurred:!1,refusalFallbackModelLatch:void 0,sdkDialogHostActive:!1,sdkSupportedDialogKinds:void 0,sdkSupportedDialogKindsSource:void 0,replConfigArgv:[],initialMainLoopModel:void 0,modelStrings:null,isInteractive:!1,attacherCaps:null,hasStreamingInput:!1,modelOverrideOptOutForSession:!1,kairosActive:!1,rendererMode:void 0,strictToolResultPairing:!1,memoryToggledOff:!1,teamMemoryServerStatus:void 0,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,searchToolsOptIn:!1,clientType:"cli",sessionSource:void 0,sessionStartType:"fresh",questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,oauthScopesFromFd:void 0,apiKeyFromFd:void 0,gatewayAuth:null,gatewayRefreshInFlight:null,flagSettingsPath:void 0,flagSettingsExpectedContent:void 0,flagSettingsInline:null,parentManagedSettings:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:pR(),mainAgentId:null,parentSessionId:void 0,loggerProvider:null,eventLogger:null,pendingOTelEvents:[],meterProvider:null,tracerProvider:null,cachedTelemetryResource:null,cachedOtlpHttpAgentFactory:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastCancelledAPIMessageId:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],inlinePluginsNoMcp:[],inlinePluginUrls:[],syncedPluginDirs:[],chromeFlagOverride:void 0,onboardingShownThisSession:!1,useCoworkPlugins:!1,disableSlashCommands:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionPrResolved:!1,sessionCronTasks:[],loopChainStartedAt:Object.create(null),loopTickInFlightPrompt:null,loopConsecutiveKeepalives:0,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,lspRecommendationShownThisSession:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,longContext1mCreditsBlocked:!1,sdkOAuthTokenRefreshCallback:null,hostAuthTokenRefreshCallback:null,mainThreadAgentType:void 0,mainThreadAgentHooks:void 0,sessionSkillAllowlist:void 0,caps:VZ,replBridgeActive:!1,directConnectServerUrl:void 0,mcpConnectNonBlocking:!1,strictMcpConfig:!1,activeRoutine:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],activeInputs:new Map,hasDevChannels:!1,sessionProjectDir:null,promptCache1hAllowlist:null,stickyBetas:ER(),thinkingTypeOverrides:new Map,inferenceProfileBackingModels:new Map,promptId:null,promptIndex:0,lastMainRequestId:void 0,lastMainThreadCacheTtlMs:null,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function Tc(){return Nm()?.sessionId??to.sessionId}function bR(){return Nm()?.originalCwd??to.originalCwd}function BR(e){return process.platform==="darwin"?e.normalize("NFC"):e}function QR(){return to.cwd}async function vR(){while(t6)await new Promise((e)=>setTimeout(e,r6))}function xR(){let e=Nm();return e?e.secrets.sessionIngressToken:to.sessionIngressToken}function Es(e){to.sessionIngressToken=e}function wR(){return to.caps}function SR(){return to.caps.workspace==="remote"}var VZ,to,Nm=()=>{return},ZZ,Bbe,KZ,bbe,XZ,Qbe,e6,vbe,t6=!1,r6=150,n6,xbe;var $r=y(()=>{fR();gR();mR();CR();VZ={renderTarget:"ink",workspace:"local",canDrive:!0,transcriptSource:"local-jsonl",remote:null};to=WZ();ZZ=di(),Bbe=ZZ.subscribe;KZ=di(),bbe=KZ.subscribe;XZ=di(),Qbe=XZ.subscribe,e6=di(),vbe=e6.subscribe;n6=di(),xbe=n6.subscribe});import{realpathSync as i6}from"fs";import{dirname as kR,resolve as Fm,sep as _R}from"path";function xn(e){return process.platform==="darwin"?e.normalize("NFC"):e}function Is(e){return/^[\\/]{2}/.test(e)}function TR(e){return/^[\\/]{2}wsl(\$|\.localhost)[\\/]/i.test(e)}function NR(e){if(e.startsWith("\\\\?\\UNC\\"))return"\\\\"+e.slice(8);if(e.startsWith("\\\\?\\")&&e.length>=7&&e[5]===":")return e.slice(4);return e}function FR(e){if(/^\\\\\?\\volume\{/i.test(e))return RR(e);let t=NR(e);if(t!==e&&RR(t))return!0;return Is(t)&&!TR(t)}function RR(e){return/(^|[\\/])\.{1,2}([\\/]|$)/.test(e)||e.includes("/")}function DR(e){try{return NR(i6.native(e))}catch{return null}}function gd(e,t){let r=Fm(t).toLowerCase(),n=Fm(e).toLowerCase();if(kR(n)===r||n.startsWith(r+_R))return!0;let i=DR(t)?.toLowerCase();if(i==null)return!1;let o=DR(kR(Fm(e)))?.toLowerCase();if(o==null)return!0;return o===i||o.startsWith(i+_R)}var ro=()=>{};import{AsyncLocalStorage as o6}from"async_hooks";function a6(){return s6.getStore()?.cwd??QR()}function Qt(){try{return a6()}catch{return bR()}}var s6;var no=y(()=>{$r();ro();s6=new o6});function UR({writeFn:e,flushIntervalMs:t=1000,maxBufferSize:r=100,maxBufferBytes:n=1/0,immediateMode:i=!1}){let o=[],s=0,a=null,c=null;function u(){if(a)clearTimeout(a),a=null}function l(f){try{e(f)}catch{}}function d(){if(c)l(c.join("")),c=null;if(o.length===0)return;l(o.join("")),o=[],s=0,u()}function A(){if(!a)a=setTimeout(d,t)}function p(){if(c){c.push(...o),o=[],s=0,u();return}let f=o;o=[],s=0,u(),c=f,setImmediate(()=>{let h=c;if(c=null,h)l(h.join(""))})}return{write(f){if(i){l(f);return}if(o.push(f),s+=f.length,A(),o.length>=r||s>=n)p()},flush:d,dispose(){d()}}}function c6(e){if(typeof e==="function")return e;if(Symbol.asyncDispose in e)return()=>e[Symbol.asyncDispose]();return()=>e[Symbol.dispose]()}function Nc(e){return l6.register(e)}var MR,l6;var hd=y(()=>{MR=class MR{#e=new Set;register(e){let t=c6(e);this.#e.add(t);let r=()=>{this.#e.delete(t)};return Object.assign(r,{[Symbol.dispose]:r})}async drain(){let e=Array.from(this.#e);this.#e.clear(),await Promise.all(e.map(async(t)=>t()))}async[Symbol.asyncDispose](){await this.drain()}get sizeForTesting(){return this.#e.size}};l6=new MR});function u6(e){let t=[],r=e.match(/^MCP server ["']([^"']+)["']/);if(r&&r[1])t.push("mcp"),t.push(r[1].toLowerCase());else{let o=e.match(/^([^:[]+):/);if(o&&o[1])t.push(o[1].trim().toLowerCase())}let n=e.match(/^\[([^\]]+)]/);if(n&&n[1])t.push(n[1].trim().toLowerCase());if(e.toLowerCase().includes("1p event:"))t.push("1p");let i=e.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(i&&i[1]){let o=i[1].trim().toLowerCase();if(o.length<30&&!o.includes(" "))t.push(o)}return Array.from(new Set(t))}function A6(e,t){if(!t)return!0;if(e.length===0)return!1;if(t.isExclusive)return!e.some((r)=>t.exclude.includes(r));else return e.some((r)=>t.include.includes(r))}function OR(e,t){if(!t)return!0;let r=u6(e);return A6(r,t)}var LR;var PR=y(()=>{vn();LR=Pe((e)=>{if(!e||e.trim()==="")return null;let t=e.split(",").map((o)=>o.trim()).filter(Boolean);if(t.length===0)return null;let r=t.some((o)=>o.startsWith("!")),n=t.some((o)=>!o.startsWith("!"));if(r&&n)return null;let i=t.map((o)=>o.replace(/^!/,"").toLowerCase());return{include:r?[]:i,exclude:r?i:[],isExclusive:r}})});import{homedir as d6}from"os";import{join as p6}from"path";function Um(e){let t=process.env.NODE_OPTIONS;if(!t)return!1;return t.split(/\s+/).includes(e)}var $R,zbe;var wn=y(()=>{Dc();vn();Dc();$R=Pe(()=>(process.env.CLAUDE_CONFIG_DIR??p6(d6(),".claude")).normalize("NFC"),()=>process.env.CLAUDE_CONFIG_DIR);zbe=Pe(()=>Ve(process.env.CLAUDE_CODE_SUPERVISED))});function L(e,t,r,n,i){if(n==="m")throw TypeError("Private method is not writable");if(n==="a"&&!i)throw TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function Q(e,t,r,n){if(r==="a"&&!n)throw TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}var Sn=()=>{};var Mm=function(){let{crypto:e}=globalThis;if(e?.randomUUID)return Mm=e.randomUUID.bind(e),e.randomUUID();let t=new Uint8Array(1),r=e?()=>e.getRandomValues(t)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(n)=>(+n^r()&15>>+n/4).toString(16))};function kn(e){return typeof e==="object"&&e!==null&&(("name"in e)&&e.name==="AbortError"||("message"in e)&&String(e.message).includes("FetchRequestCanceledException"))}var Fc=(e)=>{if(e instanceof Error)return e;if(typeof e==="object"&&e!==null){try{if(Object.prototype.toString.call(e)==="[object Error]"){let t=Error(e.message,e.cause?{cause:e.cause}:{});if(e.stack)t.stack=e.stack;if(e.cause&&!t.cause)t.cause=e.cause;if(e.name)t.name=e.name;return t}}catch{}try{return Error(JSON.stringify(e))}catch{}}return Error(e)};var O,dt,vt,io,Uc,Mc,Lc,Oc,Pc,$c,Gc,Hc,zc;var xt=y(()=>{O=class O extends Error{};dt=class dt extends O{constructor(e,t,r,n,i){super(`${dt.makeMessage(e,t,r)}`);this.status=e,this.headers=n,this.requestID=n?.get("request-id"),this.error=t,this.type=i??null}static makeMessage(e,t,r){let n=t?.message?typeof t.message==="string"?t.message:JSON.stringify(t.message):t?JSON.stringify(t):r;if(e&&n)return`${e} ${n}`;if(e)return`${e} status code (no body)`;if(n)return n;return"(no status code or body)"}static generate(e,t,r,n){if(!e||!n)return new io({message:r,cause:Fc(t)});let i=t,o=i?.error?.type;if(e===400)return new Mc(e,i,r,n,o);if(e===401)return new Lc(e,i,r,n,o);if(e===403)return new Oc(e,i,r,n,o);if(e===404)return new Pc(e,i,r,n,o);if(e===409)return new $c(e,i,r,n,o);if(e===422)return new Gc(e,i,r,n,o);if(e===429)return new Hc(e,i,r,n,o);if(e>=500)return new zc(e,i,r,n,o);return new dt(e,i,r,n,o)}};vt=class vt extends dt{constructor({message:e}={}){super(void 0,void 0,e||"Request was aborted.",void 0)}};io=class io extends dt{constructor({message:e,cause:t}){super(void 0,void 0,e||"Connection error.",void 0);if(t)this.cause=t}};Uc=class Uc extends io{constructor({message:e}={}){super({message:e??"Request timed out."})}};Mc=class Mc extends dt{};Lc=class Lc extends dt{};Oc=class Oc extends dt{};Pc=class Pc extends dt{};$c=class $c extends dt{};Gc=class Gc extends dt{};Hc=class Hc extends dt{};zc=class zc extends dt{}});function md(e){if(typeof e!=="object")return{};return e??{}}function Pm(e){if(!e)return!0;for(let t in e)return!1;return!0}function HR(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var g6,GR=(e)=>g6.test(e),Lm=(e)=>(Lm=Array.isArray,Lm(e)),Om,zR=(e,t)=>{if(typeof t!=="number"||!Number.isInteger(t))throw new O(`${e} must be an integer`);if(t<0)throw new O(`${e} must be a positive integer`);return t},Ed=(e)=>{try{return JSON.parse(e)}catch(t){return}};var pi=y(()=>{xt();g6=/^[a-z][a-z0-9+.-]*:/i,Om=Lm});var jR=(e)=>new Promise((t)=>setTimeout(t,e));var br="0.94.0";function h6(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function E6(){if(typeof navigator>"u"||!navigator)return null;let e=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:t,pattern:r}of e){let n=r.exec(navigator.userAgent);if(n){let i=n[1]||0,o=n[2]||0,s=n[3]||0;return{browser:t,version:`${i}.${o}.${s}`}}}return null}var VR=()=>typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u",m6=()=>{let e=h6();if(e==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":br,"X-Stainless-OS":JR(Deno.build.os),"X-Stainless-Arch":YR(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":br,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(e==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":br,"X-Stainless-OS":JR(globalThis.process.platform??"unknown"),"X-Stainless-Arch":YR(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let t=E6();if(t)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":br,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${t.browser}`,"X-Stainless-Runtime-Version":t.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":br,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},YR=(e)=>{if(e==="x32")return"x32";if(e==="x86_64"||e==="x64")return"x64";if(e==="arm")return"arm";if(e==="aarch64"||e==="arm64")return"arm64";if(e)return`other:${e}`;return"unknown"},JR=(e)=>{if(e=e.toLowerCase(),e.includes("ios"))return"iOS";if(e==="android")return"Android";if(e==="darwin")return"MacOS";if(e==="win32")return"Windows";if(e==="freebsd")return"FreeBSD";if(e==="openbsd")return"OpenBSD";if(e==="linux")return"Linux";if(e)return`Other:${e}`;return"Unknown"},qR,jc=()=>qR??(qR=m6());var Id=()=>{};function WR(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function $m(...e){let t=globalThis.ReadableStream;if(typeof t>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new t(...e)}function Cd(e){let t=Symbol.asyncIterator in e?e[Symbol.asyncIterator]():e[Symbol.iterator]();return $m({start(){},async pull(r){let{done:n,value:i}=await t.next();if(n)r.close();else r.enqueue(i)},async cancel(){await t.return?.()}})}function Yc(e){if(e[Symbol.asyncIterator])return e;let t=e.getReader();return{async next(){try{let r=await t.read();if(r?.done)t.releaseLock();return r}catch(r){throw t.releaseLock(),r}},async return(){let r=t.cancel();return t.releaseLock(),await r,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function ZR(e){if(e===null||typeof e!=="object")return;if(e[Symbol.asyncIterator]){await e[Symbol.asyncIterator]().return?.();return}let t=e.getReader(),r=t.cancel();t.releaseLock(),await r}var KR=({headers:e,body:t})=>({bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(t)});function XR(e){return Object.entries(e).filter(([t,r])=>typeof r<"u").map(([t,r])=>{if(typeof r==="string"||typeof r==="number"||typeof r==="boolean")return`${encodeURIComponent(t)}=${encodeURIComponent(r)}`;if(r===null)return`${encodeURIComponent(t)}=`;throw new O(`Cannot stringify type ${typeof r}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var Gm=y(()=>{xt()});function Bd(e){if(!e)return;let t;try{t=new URL(e)}catch(n){throw new ye(`Invalid token endpoint base URL "${e}": ${n}`)}if(t.protocol==="https:")return;let r=t.hostname.toLowerCase().replace(/^\[|\]$/g,"");if(t.protocol==="http:"&&(r==="localhost"||r==="127.0.0.1"||r==="::1"))return;throw new ye(`Refusing to send credential over non-https token endpoint "${e}"`)}async function bd(e,t){let r=await B6(e),n;try{n=JSON.parse(r)}catch{throw new ye(`Token endpoint returned non-JSON response (status ${e.status})`,e.status,jt(r),t)}if(!n.access_token)throw new ye(`Token endpoint response missing access_token: ${JSON.stringify(jt(n))}`,e.status,jt(n),t);if(n.token_type&&n.token_type.toLowerCase()!=="bearer")throw new ye(`Token endpoint response: unsupported token_type "${n.token_type}" (want Bearer)`,e.status,jt(n),t);return n}function jt(e){if(e==null)return e;if(typeof e==="string"){let t;try{t=JSON.parse(e)}catch{if(e.length<=Hm)return e;return e.slice(0,Hm)+`... <${e.length-Hm} more chars>`}return JSON.stringify(jt(t))}if(typeof e==="object"&&!Array.isArray(e)){let t={};for(let[r,n]of Object.entries(e))if(y6.has(r))t[r]=n;return t}return null}async function Qd(e,t=(r)=>console.warn(`anthropic-sdk: ${r}`)){if(typeof process>"u"||process.platform==="win32")return;let r=await import("node:fs"),n=e,i;try{n=await r.promises.realpath(e),i=await r.promises.stat(n)}catch{return}let o=i.mode&511;if(o&18)throw new ye(`Credentials file at ${n} is group/world-writable (mode 0o${o.toString(8)}); this allows other local users to plant tokens. Run \`chmod 600 ${n}\`.`);if(o&36)throw new ye(`Credentials file at ${n} is group/world-readable (mode 0o${o.toString(8)}); run \`chmod 600 ${n}\` before retrying.`);if(typeof process.getuid==="function"&&i.uid!==process.getuid())t(`credentials file at ${n} is owned by uid ${i.uid} (current process uid ${process.getuid()}); verify this is intentional.`)}async function vd(e,t){let r=await import("node:fs"),i=(await import("node:path")).dirname(e);await r.promises.mkdir(i,{recursive:!0,mode:448});let o=`${e}.${process.pid}.${Math.random().toString(36).slice(2)}.tmp`;try{let s=await r.promises.open(o,"w",384);try{await s.writeFile(JSON.stringify(t,null,2)),await s.sync()}finally{await s.close()}await r.promises.rename(o,e)}catch(s){throw await r.promises.unlink(o).catch(()=>{}),s}try{let s=await r.promises.open(i,"r");try{await s.sync()}finally{await s.close()}}catch{}}async function B6(e){if(!e.body)return"";let t=e.body.getReader(),r=[],n=0;for(;;){let{done:o,value:s}=await t.read();if(o)break;if(n+s.length>eD){let a=eD-n;if(a>0)r.push(s.subarray(0,a));await t.cancel();break}r.push(s),n+=s.length}let i;if(r.length===1)i=r[0];else{i=new Uint8Array(r.reduce((s,a)=>s+a.length,0));let o=0;for(let s of r)i.set(s,o),o+=s.length}return new TextDecoder("utf-8").decode(i)}var tD="urn:ietf:params:oauth:grant-type:jwt-bearer",rD="refresh_token",yd="/v1/oauth/token",oo="oauth-2025-04-20",nD="oidc-federation-2026-04-01",iD=120,Cs=30,oD=5,eD=1048576,Hm=2000,y6,ye;var ys=y(()=>{xt();y6=new Set(["error","error_description","error_uri"]);ye=class ye extends O{constructor(e,t=null,r=null,n=null){super(e);this.statusCode=t,this.body=r,this.requestId=n}}});function Gr(){return Math.floor(Date.now()/1000)}class zm{constructor(e,t){this.cached=null,this.pendingRefresh=null,this.nextForce=!1,this.lastAdvisoryError=0,this.provider=e,this.onAdvisoryRefreshError=t}async getToken(){let e=this.nextForce;this.nextForce=!1;let t=this.cached;if(e||t==null)return(await this.refresh(e)).token;if(t.expiresAt==null)return t.token;let r=t.expiresAt-Gr();if(r>iD)return t.token;if(r>Cs)return this.backgroundRefresh(),t.token;return(await this.refresh()).token}invalidate(){this.cached=null,this.nextForce=!0}refresh(e=!1){if(this.pendingRefresh&&!e)return this.pendingRefresh;return this.doRefresh(e)}backgroundRefresh(){if(this.pendingRefresh)return;if(Gr()-this.lastAdvisoryError<oD)return;this.doRefresh().catch((e)=>{this.lastAdvisoryError=Gr(),this.onAdvisoryRefreshError?.(e)})}doRefresh(e=!1){return this.pendingRefresh=this.provider(e?{forceRefresh:!0}:void 0).then((t)=>(this.cached=t,this.pendingRefresh=null,t),(t)=>{throw this.pendingRefresh=null,t}),this.pendingRefresh}}var sD=y(()=>{ys()});var Ee=(e)=>{if(typeof globalThis.process<"u")return globalThis.process.env?.[e]?.trim()||void 0;if(typeof globalThis.Deno<"u")return globalThis.Deno.env?.get?.(e)?.trim()||void 0;return};function lD(e){let t=0;for(let i of e)t+=i.length;let r=new Uint8Array(t),n=0;for(let i of e)r.set(i,n),n+=i.length;return r}function Bs(e){let t;return(aD??(t=new globalThis.TextEncoder,aD=t.encode.bind(t)))(e)}function jm(e){let t;return(cD??(t=new globalThis.TextDecoder,cD=t.decode.bind(t)))(e)}var aD,cD;var uD=y(()=>{xt()});function Jc(){}function xd(e,t,r){if(!t||wd[e]>wd[r])return Jc;else return t[e].bind(t)}function et(e){let t=e.logger,r=e.logLevel??"off";if(!t)return b6;let n=AD.get(t);if(n&&n[0]===r)return n[1];let i={error:xd("error",t,r),warn:xd("warn",t,r),info:xd("info",t,r),debug:xd("debug",t,r)};return AD.set(t,[r,i]),i}var wd,Ym=(e,t,r)=>{if(!e)return;if(HR(wd,e))return e;et(r).warn(`${t} was set to ${JSON.stringify(e)}, expected one of ${JSON.stringify(Object.keys(wd))}`);return},b6,AD,_n=(e)=>{if(e.options)e.options={...e.options},delete e.options.headers;if(e.headers)e.headers=Object.fromEntries((e.headers instanceof Headers?[...e.headers]:Object.entries(e.headers)).map(([t,r])=>[t,t.toLowerCase()==="x-api-key"||t.toLowerCase()==="authorization"||t.toLowerCase()==="cookie"||t.toLowerCase()==="set-cookie"?"***":r]));if("retryOfRequestLogID"in e){if(e.retryOfRequestLogID)e.retryOf=e.retryOfRequestLogID;delete e.retryOfRequestLogID}return e};var qc=y(()=>{pi();wd={off:0,error:200,warn:300,info:400,debug:500};b6={error:Jc,warn:Jc,info:Jc,debug:Jc},AD=new WeakMap});var dD=y(()=>{pi();uD();qc();Gm()});function pD(e){if(!e)throw Error("profile name is empty");if(e==="."||e==="..")throw Error(`profile name "${e}" is not allowed`);if(e.includes("/")||e.includes("\\"))throw Error(`profile name "${e}" must not contain path separators`);if(!Q6.test(e))throw Error(`profile name "${e}" contains disallowed characters (allowed: letters, digits, '_', '.', '-')`)}var Sd="1.0",Q6,fD=async(e)=>{var t,r;let n=await Jm();if(n===null)return null;let i=e??await hD();if(i===null)return null;pD(i);let o=await import("node:fs"),a=(await import("node:path")).join(n,"configs",`${i}.json`),c;try{c=await o.promises.readFile(a,"utf-8")}catch(d){if(d?.code!=="ENOENT")throw Error(`failed to read config file ${a}: ${d}`);c=null}if(c===null){let d=Ee("ANTHROPIC_ORGANIZATION_ID"),A=Ee("ANTHROPIC_IDENTITY_TOKEN_FILE"),p=Ee("ANTHROPIC_FEDERATION_RULE_ID");if(p&&d)return{fromFile:!1,config:{organization_id:d,workspace_id:Ee("ANTHROPIC_WORKSPACE_ID"),base_url:Ee("ANTHROPIC_BASE_URL"),authentication:{type:"oidc_federation",federation_rule_id:p,service_account_id:Ee("ANTHROPIC_SERVICE_ACCOUNT_ID"),identity_token:A?{source:"file",path:A}:void 0,scope:Ee("ANTHROPIC_SCOPE")}}};return null}let u;try{u=JSON.parse(c)}catch(d){throw Error(`failed to parse config file ${a}: ${d}`)}if(!u.authentication)throw Error(`config file ${a} is missing "authentication"`);let l=u.authentication.type;if(l!=="oidc_federation"&&l!=="user_oauth")throw Error(`authentication.type "${l}" is not a known authentication type`);if(u.organization_id??(u.organization_id=Ee("ANTHROPIC_ORGANIZATION_ID")),u.workspace_id??(u.workspace_id=Ee("ANTHROPIC_WORKSPACE_ID")),u.base_url??(u.base_url=Ee("ANTHROPIC_BASE_URL")),(t=u.authentication).scope??(t.scope=Ee("ANTHROPIC_SCOPE")),u.authentication.type==="oidc_federation"){if(!u.authentication.identity_token){let d=Ee("ANTHROPIC_IDENTITY_TOKEN_FILE");if(d)u.authentication.identity_token={source:"file",path:d}}if(!u.authentication.federation_rule_id)u.authentication.federation_rule_id=Ee("ANTHROPIC_FEDERATION_RULE_ID")??"";(r=u.authentication).service_account_id??(r.service_account_id=Ee("ANTHROPIC_SERVICE_ACCOUNT_ID"))}return{config:u,fromFile:!0}},gD=async(e,t)=>{if(e?.authentication.credentials_path)return e.authentication.credentials_path;let r=await Jm();if(!r)return null;let n=t??await hD();if(!n)return null;return pD(n),(await import("node:path")).join(r,"credentials",`${n}.json`)},Jm=async()=>{if(!v6())return null;let e=await import("node:path"),t=Ee("ANTHROPIC_CONFIG_DIR");if(t)return t;if(jc()["X-Stainless-OS"]==="Windows"){let o=Ee("APPDATA");if(o)return e.join(o,"Anthropic");let s=Ee("USERPROFILE");if(s)return e.join(s,"AppData","Roaming","Anthropic");return null}let n=Ee("XDG_CONFIG_HOME");if(n)return e.join(n,"anthropic");let i=Ee("HOME");if(i)return e.join(i,".config","anthropic");return null},v6=()=>{let e=jc()["X-Stainless-Runtime"];return e==="node"||e==="deno"},hD=async()=>{let e=await Jm();if(!e)return null;let t=Ee("ANTHROPIC_PROFILE");if(t)return t;let r=await import("node:fs"),i=(await import("node:path")).join(e,"active_config");try{return(await r.promises.readFile(i,"utf-8")).trim()||"default"}catch(o){if(o?.code!=="ENOENT")throw Error(`failed to read ${i}: ${o}`);return"default"}};var qm=y(()=>{Id();dD();Q6=/^[A-Za-z0-9_.-]+$/});function Vm(e){if(!e)throw new O("Identity token file path is empty");return async()=>{let t=await import("node:fs"),r;try{r=await t.promises.readFile(e,"utf-8")}catch(i){throw new O(`Failed to read identity token file at ${e}: ${i}`)}let n=r.trim();if(!n)throw new O(`Identity token file at ${e} is empty`);return n}}function mD(e){if(!e)throw new O("Identity token value is empty");return()=>e}var ED=y(()=>{xt()});function ID(e){return async()=>{Bd(e.baseURL);let t=await e.identityTokenProvider();if(t.length>16384)throw new ye(`Identity token is ${Math.ceil(t.length/1024)} KiB, exceeds the 16 KiB assertion limit`);let r={grant_type:tD,assertion:t,federation_rule_id:e.federationRuleId,organization_id:e.organizationId};if(e.serviceAccountId)r.service_account_id=e.serviceAccountId;if(e.workspaceId)r.workspace_id=e.workspaceId;let n=`${e.baseURL}${yd}`,i;try{i=await e.fetch(n,{method:"POST",headers:{"Content-Type":"application/json","anthropic-beta":`${oo},${nD}`,"User-Agent":e.userAgent||`anthropic-sdk-typescript/${br} oidcFederationProvider`},body:JSON.stringify(r)})}catch(c){throw new ye(`Failed to reach token endpoint ${n}: ${c}`)}let o=i.headers.get("Request-Id");if(!i.ok){let c=await i.text().catch(()=>""),u=jt(c),l="";if(i.status===401)l=` Ensure your federation rule matches your identity token. ${e.workspaceId?"":"If your federation rule is scoped to multiple workspaces, set the ANTHROPIC_WORKSPACE_ID environment variable, the 'workspace_id' config key, or the `workspaceId` option. "}View your authentication events in the Workload identity page of Claude Console for more details.`;throw new ye(`Token exchange failed with status ${i.status}${o?` (request-id ${o})`:""}: ${u}${l}`,i.status,u,o)}let s=await bd(i,o),a=Number(s.expires_in);if(!Number.isFinite(a))throw new ye(`Token endpoint response missing required fields: ${JSON.stringify(jt(s))}`,i.status,jt(s),o);return{token:s.access_token,expiresAt:Gr()+a}}}var CD=y(()=>{ys()});function yD(e){return async(t)=>{let r=await import("node:fs");await Qd(e.credentialsPath,e.onSafetyWarning);let n;try{n=await r.promises.readFile(e.credentialsPath,"utf-8")}catch(g){throw new ye(`Credentials file not found at ${e.credentialsPath}: ${g}`)}let i;try{i=JSON.parse(n)}catch(g){throw new ye(`Credentials file at ${e.credentialsPath} is not valid JSON: ${g}`)}let o=i.access_token;if(!o)throw new ye(`Credentials file at ${e.credentialsPath} must include 'access_token'`);let s=i.expires_at;if(!t?.forceRefresh&&(s==null||Gr()<s-Cs))return{token:o,expiresAt:s??null};let a=i.refresh_token;if(!e.clientId||!a)throw new ye(`Access token at ${e.credentialsPath} has expired and no refresh is available (client_id ${e.clientId?"set":"empty"}, refresh_token ${a?"set":"empty"})`);Bd(e.baseURL);let c={grant_type:rD,refresh_token:a,client_id:e.clientId},u=`${e.baseURL}${yd}`,l;try{l=await e.fetch(u,{method:"POST",headers:{"Content-Type":"application/json","anthropic-beta":oo,"User-Agent":e.userAgent||`anthropic-sdk-typescript/${br} userOAuthProvider`},body:JSON.stringify(c)})}catch(g){throw new ye(`User OAuth refresh failed to reach token endpoint: ${g}`)}let d=l.headers.get("Request-Id");if(!l.ok){let g=await l.text().catch(()=>"");throw new ye(`User OAuth refresh failed (HTTP ${l.status}): ${jt(g)}`,l.status,jt(g),d)}let A=await bd(l,d),p=Number(A.expires_in);if(!Number.isFinite(p))throw new ye(`User OAuth refresh response missing or invalid expires_in: ${JSON.stringify(jt(A))}`,l.status,jt(A),d);let f=Gr()+p,h=A.refresh_token||a;return await vd(e.credentialsPath,{...i,version:Sd,type:"oauth_token",access_token:A.access_token,expires_at:f,refresh_token:h}),{token:A.access_token,expiresAt:f}}}var BD=y(()=>{qm();ys()});function Wm(e,t){let r=e.authentication.credentials_path??null,n=(e.base_url||t.baseURL).replace(/\/+$/,""),i=x6(e,r,n,t),o={};if(e.workspace_id&&e.authentication.type==="user_oauth")o["anthropic-workspace-id"]=e.workspace_id;return{provider:i,extraHeaders:o,baseURL:e.base_url||void 0}}async function bD(e,t){let r=await fD(t);if(!r)return null;let{config:n,fromFile:i}=r,o=n.authentication.credentials_path||!i?n:{...n,authentication:{...n.authentication,credentials_path:await gD(n,t)??void 0}};return Wm(o,e)}function x6(e,t,r,n){switch(e.authentication.type){case"oidc_federation":{let i=e.authentication,o=w6(i);if(!o)throw new ye("oidc_federation config requires an identity token (set authentication.identity_token, ANTHROPIC_IDENTITY_TOKEN_FILE, or ANTHROPIC_IDENTITY_TOKEN)");if(!i.federation_rule_id)throw new ye("oidc_federation config requires 'federation_rule_id'. Set it in authentication.federation_rule_id in your profile, or via ANTHROPIC_FEDERATION_RULE_ID (profile takes precedence).");if(!e.organization_id)throw new ye("oidc_federation config requires organization_id (set ANTHROPIC_ORGANIZATION_ID or config.organization_id)");let s=ID({identityTokenProvider:o,federationRuleId:i.federation_rule_id,organizationId:e.organization_id,serviceAccountId:i.service_account_id,workspaceId:e.workspace_id,baseURL:r,fetch:n.fetch,userAgent:n.userAgent});if(t)return S6(s,t,n.onCacheWriteError,n.onSafetyWarning);return s}case"user_oauth":{if(!t)throw new ye("user_oauth config requires authentication.credentials_path (or load via a profile so it defaults to <config_dir>/credentials/<profile>.json)");return yD({credentialsPath:t,clientId:e.authentication.client_id,baseURL:r,fetch:n.fetch,userAgent:n.userAgent,onSafetyWarning:n.onSafetyWarning})}default:{let i=e.authentication.type;throw new ye(`authentication.type "${i}" is not a known authentication type`)}}}function w6(e){if(e.identity_token){let n=e.identity_token.source;if(n!=="file")throw new ye(`identity_token.source "${n}" is not supported by this SDK version (only "file")`);if(!e.identity_token.path)throw new ye('identity_token.source "file" requires a non-empty path');return Vm(e.identity_token.path)}let t=Ee("ANTHROPIC_IDENTITY_TOKEN_FILE");if(t)return Vm(t);let r=Ee("ANTHROPIC_IDENTITY_TOKEN");if(r)return mD(r);return null}function S6(e,t,r,n){return async(i)=>{let o=await import("node:fs");await Qd(t,n);let s;try{let c=await o.promises.readFile(t,"utf-8");s=JSON.parse(c);let u=s?.access_token;if(u&&!i?.forceRefresh){let l=s?.expires_at;if(l==null||Gr()<l-Cs)return{token:u,expiresAt:l??null}}}catch(c){if(c?.code!=="ENOENT"&&!(c instanceof SyntaxError))r?.(c)}let a=await e(i);try{await vd(t,{...s??{},version:Sd,type:"oauth_token",access_token:a.token,expires_at:a.expiresAt})}catch(c){r?.(c)}return a}}var QD=y(()=>{qm();ys();ED();CD();BD()});class fi{constructor(){ir.set(this,void 0),or.set(this,void 0),L(this,ir,new Uint8Array,"f"),L(this,or,null,"f")}decode(e){if(e==null)return[];let t=e instanceof ArrayBuffer?new Uint8Array(e):typeof e==="string"?Bs(e):e;L(this,ir,lD([Q(this,ir,"f"),t]),"f");let r=[],n;while((n=k6(Q(this,ir,"f"),Q(this,or,"f")))!=null){if(n.carriage&&Q(this,or,"f")==null){L(this,or,n.index,"f");continue}if(Q(this,or,"f")!=null&&(n.index!==Q(this,or,"f")+1||n.carriage)){r.push(jm(Q(this,ir,"f").subarray(0,Q(this,or,"f")-1))),L(this,ir,Q(this,ir,"f").subarray(Q(this,or,"f")),"f"),L(this,or,null,"f");continue}let i=Q(this,or,"f")!==null?n.preceding-1:n.preceding,o=jm(Q(this,ir,"f").subarray(0,i));r.push(o),L(this,ir,Q(this,ir,"f").subarray(n.index),"f"),L(this,or,null,"f")}return r}flush(){if(!Q(this,ir,"f").length)return[];return this.decode(`
|
|
15
|
+
`)}}function k6(e,t){for(let i=t??0;i<e.length;i++){if(e[i]===10)return{preceding:i,index:i+1,carriage:!1};if(e[i]===13)return{preceding:i,index:i+1,carriage:!0}}return null}function vD(e){for(let n=0;n<e.length-1;n++){if(e[n]===10&&e[n+1]===10)return n+2;if(e[n]===13&&e[n+1]===13)return n+2;if(e[n]===13&&e[n+1]===10&&n+3<e.length&&e[n+2]===13&&e[n+3]===10)return n+4}return-1}var ir,or;var Zm=y(()=>{Sn();ir=new WeakMap,or=new WeakMap;fi.NEWLINE_CHARS=new Set([`
|
|
16
|
+
`,"\r"]);fi.NEWLINE_REGEXP=/\r\n|[\n\r]/g});async function*_6(e,t){if(!e.body){if(t.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new O("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new O("Attempted to iterate over a response with no body")}let r=new xD,n=new fi,i=Yc(e.body);for await(let o of R6(i))for(let s of n.decode(o)){let a=r.decode(s);if(a)yield a}for(let o of n.flush()){let s=r.decode(o);if(s)yield s}}async function*R6(e){let t=new Uint8Array;for await(let r of e){if(r==null)continue;let n=r instanceof ArrayBuffer?new Uint8Array(r):typeof r==="string"?Bs(r):r,i=new Uint8Array(t.length+n.length);i.set(t),i.set(n,t.length),t=i;let o;while((o=vD(t))!==-1)yield t.slice(0,o),t=t.slice(o)}if(t.length>0)yield t}class xD{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(e){if(e.endsWith("\r"))e=e.substring(0,e.length-1);if(!e){if(!this.event&&!this.data.length)return null;let i={event:this.event,data:this.data.join(`
|
|
17
|
+
`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],i}if(this.chunks.push(e),e.startsWith(":"))return null;let[t,r,n]=D6(e,":");if(n.startsWith(" "))n=n.substring(1);if(t==="event")this.event=n;else if(t==="data")this.data.push(n);return null}}function D6(e,t){let r=e.indexOf(t);if(r!==-1)return[e.substring(0,r),t,e.substring(r+t.length)];return[e,"",""]}var Vc,sr;var Km=y(()=>{Sn();xt();Zm();pi();qc();xt();sr=class sr{constructor(e,t,r){this.iterator=e,Vc.set(this,void 0),this.controller=t,L(this,Vc,r,"f")}static fromSSEResponse(e,t,r){let n=!1,i=r?et(r):console;async function*o(){if(n)throw new O("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let s=!1;try{for await(let a of _6(e,t)){if(a.event==="completion")try{yield JSON.parse(a.data)}catch(c){throw i.error("Could not parse message into JSON:",a.data),i.error("From chunk:",a.raw),c}if(a.event==="message_start"||a.event==="message_delta"||a.event==="message_stop"||a.event==="content_block_start"||a.event==="content_block_delta"||a.event==="content_block_stop"||a.event==="message"||a.event==="user.message"||a.event==="user.interrupt"||a.event==="user.tool_confirmation"||a.event==="user.custom_tool_result"||a.event==="agent.message"||a.event==="agent.thinking"||a.event==="agent.tool_use"||a.event==="agent.tool_result"||a.event==="agent.mcp_tool_use"||a.event==="agent.mcp_tool_result"||a.event==="agent.custom_tool_use"||a.event==="agent.thread_context_compacted"||a.event==="session.status_running"||a.event==="session.status_idle"||a.event==="session.status_rescheduled"||a.event==="session.status_terminated"||a.event==="session.error"||a.event==="session.deleted"||a.event==="span.model_request_start"||a.event==="span.model_request_end")try{yield JSON.parse(a.data)}catch(c){throw i.error("Could not parse message into JSON:",a.data),i.error("From chunk:",a.raw),c}if(a.event==="ping")continue;if(a.event==="error"){let c=Ed(a.data)??a.data,u=c?.error?.type;throw new dt(void 0,c,void 0,e.headers,u)}}s=!0}catch(a){if(kn(a))return;throw a}finally{if(!s)t.abort()}}return new sr(o,t,r)}static fromReadableStream(e,t,r){let n=!1;async function*i(){let s=new fi,a=Yc(e);for await(let c of a)for(let u of s.decode(c))yield u;for(let c of s.flush())yield c}async function*o(){if(n)throw new O("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");n=!0;let s=!1;try{for await(let a of i()){if(s)continue;if(a)yield JSON.parse(a)}s=!0}catch(a){if(kn(a))return;throw a}finally{if(!s)t.abort()}}return new sr(o,t,r)}[(Vc=new WeakMap,Symbol.asyncIterator)](){return this.iterator()}tee(){let e=[],t=[],r=this.iterator(),n=(i)=>({next:()=>{if(i.length===0){let o=r.next();e.push(o),t.push(o)}return i.shift()}});return[new sr(()=>n(e),this.controller,Q(this,Vc,"f")),new sr(()=>n(t),this.controller,Q(this,Vc,"f"))]}toReadableStream(){let e=this,t;return $m({async start(){t=e[Symbol.asyncIterator]()},async pull(r){try{let{value:n,done:i}=await t.next();if(i)return r.close();let o=Bs(JSON.stringify(n)+`
|
|
18
|
+
`);r.enqueue(o)}catch(n){r.error(n)}},async cancel(){await t.return?.()}})}}});async function kd(e,t){let{response:r,requestLogID:n,retryOfRequestLogID:i,startTime:o}=t,s=await(async()=>{if(t.options.stream){if(et(e).debug("response",r.status,r.url,r.headers,r.body),t.options.__streamClass)return t.options.__streamClass.fromSSEResponse(r,t.controller);return sr.fromSSEResponse(r,t.controller)}if(r.status===204)return null;if(t.options.__binaryResponse)return r;let c=r.headers.get("content-type")?.split(";")[0]?.trim();if(c?.includes("application/json")||c?.endsWith("+json")){if(r.headers.get("content-length")==="0")return;let A=await r.json();return Xm(A,r)}return await r.text()})();return et(e).debug(`[${n}] response parsed`,_n({retryOfRequestLogID:i,url:r.url,status:r.status,body:s,durationMs:Date.now()-o})),s}function Xm(e,t){if(!e||typeof e!=="object"||Array.isArray(e))return e;return Object.defineProperty(e,"_request_id",{value:t.headers.get("request-id"),enumerable:!1})}var eE=y(()=>{Km();qc()});var Wc,so;var _d=y(()=>{Sn();eE();so=class so extends Promise{constructor(e,t,r=kd){super((n)=>{n(null)});this.responsePromise=t,this.parseResponse=r,Wc.set(this,void 0),L(this,Wc,e,"f")}_thenUnwrap(e){return new so(Q(this,Wc,"f"),this.responsePromise,async(t,r)=>Xm(e(await this.parseResponse(t,r),r),r.response))}asResponse(){return this.responsePromise.then((e)=>e.response)}async withResponse(){let[e,t]=await Promise.all([this.parse(),this.asResponse()]);return{data:e,response:t,request_id:t.headers.get("request-id")}}parse(){if(!this.parsedPromise)this.parsedPromise=this.responsePromise.then((e)=>this.parseResponse(Q(this,Wc,"f"),e));return this.parsedPromise}then(e,t){return this.parse().then(e,t)}catch(e){return this.parse().catch(e)}finally(e){return this.parse().finally(e)}};Wc=new WeakMap});var Rd,tE,Dd,Hr,Be;var We=y(()=>{Sn();xt();eE();_d();pi();tE=class tE{constructor(e,t,r,n){Rd.set(this,void 0),L(this,Rd,e,"f"),this.options=n,this.response=t,this.body=r}hasNextPage(){if(!this.getPaginatedItems().length)return!1;return this.nextPageRequestOptions()!=null}async getNextPage(){let e=this.nextPageRequestOptions();if(!e)throw new O("No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.");return await Q(this,Rd,"f").requestAPIList(this.constructor,e)}async*iterPages(){let e=this;yield e;while(e.hasNextPage())e=await e.getNextPage(),yield e}async*[(Rd=new WeakMap,Symbol.asyncIterator)](){for await(let e of this.iterPages())for(let t of e.getPaginatedItems())yield t}};Dd=class Dd extends so{constructor(e,t,r){super(e,t,async(n,i)=>new r(n,i.response,await kd(n,i),i.options))}async*[Symbol.asyncIterator](){let e=await this;for await(let t of e)yield t}};Hr=class Hr extends tE{constructor(e,t,r,n){super(e,t,r,n);this.data=r.data||[],this.has_more=r.has_more||!1,this.first_id=r.first_id||null,this.last_id=r.last_id||null}getPaginatedItems(){return this.data??[]}hasNextPage(){if(this.has_more===!1)return!1;return super.hasNextPage()}nextPageRequestOptions(){if(this.options.query?.before_id){let t=this.first_id;if(!t)return null;return{...this.options,query:{...md(this.options.query),before_id:t}}}let e=this.last_id;if(!e)return null;return{...this.options,query:{...md(this.options.query),after_id:e}}}};Be=class Be extends tE{constructor(e,t,r,n){super(e,t,r,n);this.data=r.data||[],this.next_page=r.next_page||null}getPaginatedItems(){return this.data??[]}nextPageRequestOptions(){let e=this.next_page;if(!e)return null;return{...this.options,query:{...md(this.options.query),page:e}}}}});function ao(e,t,r){return nE(),new File(e,t??"unknown_file",r)}function Zc(e,t){let r=typeof e==="object"&&e!==null&&(("name"in e)&&e.name&&String(e.name)||("url"in e)&&e.url&&String(e.url)||("filename"in e)&&e.filename&&String(e.filename)||("path"in e)&&e.path&&String(e.path))||"";return t?r.split(/[\\/]/).pop()||void 0:r}function N6(e){let t=typeof e==="function"?e:e.fetch,r=wD.get(t);if(r)return r;let n=(async()=>{try{let i="Response"in t?t.Response:(await t("data:,")).constructor,o=new FormData;if(o.toString()===await new i(o).text())return!1;return!0}catch{return!0}})();return wD.set(t,n),n}var nE=()=>{if(typeof File>"u"){let{process:e}=globalThis,t=typeof e?.versions?.node==="string"&&parseInt(e.versions.node.split("."))<20;throw Error("`File` is not defined as a global, which is required for file uploads."+(t?" Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`.":""))}},iE=(e)=>e!=null&&typeof e==="object"&&typeof e[Symbol.asyncIterator]==="function",bs=async(e,t,r=!0)=>({...e,body:await F6(e.body,t,r)}),wD,F6=async(e,t,r=!0)=>{if(!await N6(t))throw TypeError("The provided fetch function does not support file uploads with the current global FormData class.");let n=new FormData;return await Promise.all(Object.entries(e||{}).map(([i,o])=>rE(n,i,o,r))),n},U6=(e)=>e instanceof Blob&&("name"in e),rE=async(e,t,r,n)=>{if(r===void 0)return;if(r==null)throw TypeError(`Received null for "${t}"; to pass null in FormData, you must use the string 'null'`);if(typeof r==="string"||typeof r==="number"||typeof r==="boolean")e.append(t,String(r));else if(r instanceof Response){let i={},o=r.headers.get("Content-Type");if(o)i={type:o};e.append(t,ao([await r.blob()],Zc(r,n),i))}else if(iE(r))e.append(t,ao([await new Response(Cd(r)).blob()],Zc(r,n)));else if(U6(r))e.append(t,ao([r],Zc(r,n),{type:r.type}));else if(Array.isArray(r))await Promise.all(r.map((i)=>rE(e,t+"[]",i,n)));else if(typeof r==="object")await Promise.all(Object.entries(r).map(([i,o])=>rE(e,`${t}[${i}]`,o,n)));else throw TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${r} instead`)};var Qs=y(()=>{wD=new WeakMap});async function Td(e,t,r){if(nE(),e=await e,t||(t=Zc(e,!0)),M6(e)){if(e instanceof File&&t==null&&r==null)return e;return ao([await e.arrayBuffer()],t??e.name,{type:e.type,lastModified:e.lastModified,...r})}if(L6(e)){let i=await e.blob();return t||(t=new URL(e.url).pathname.split(/[\\/]/).pop()),ao(await oE(i),t,r)}let n=await oE(e);if(!r?.type){let i=n.find((o)=>typeof o==="object"&&("type"in o)&&o.type);if(typeof i==="string")r={...r,type:i}}return ao(n,t,r)}async function oE(e){let t=[];if(typeof e==="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer)t.push(e);else if(SD(e))t.push(e instanceof Blob?e:await e.arrayBuffer());else if(iE(e))for await(let r of e)t.push(...await oE(r));else{let r=e?.constructor?.name;throw Error(`Unexpected data type: ${typeof e}${r?`; constructor: ${r}`:""}${O6(e)}`)}return t}function O6(e){if(typeof e!=="object"||e===null)return"";return`; props: [${Object.getOwnPropertyNames(e).map((r)=>`"${r}"`).join(", ")}]`}var SD=(e)=>e!=null&&typeof e==="object"&&typeof e.size==="number"&&typeof e.type==="string"&&typeof e.text==="function"&&typeof e.slice==="function"&&typeof e.arrayBuffer==="function",M6=(e)=>e!=null&&typeof e==="object"&&typeof e.name==="string"&&typeof e.lastModified==="number"&&SD(e),L6=(e)=>e!=null&&typeof e==="object"&&typeof e.url==="string"&&typeof e.blob==="function";var kD=y(()=>{Qs();Qs()});var sE=y(()=>{kD()});var _D=()=>{};class W{constructor(e){this._client=e}}function*$6(e){if(!e)return;if(RD in e){let{values:n,nulls:i}=e;yield*n.entries();for(let o of i)yield[o,null];return}let t=!1,r;if(e instanceof Headers)r=e.entries();else if(Om(e))r=e;else t=!0,r=Object.entries(e??{});for(let n of r){let i=n[0];if(typeof i!=="string")throw TypeError("expected header name to be a string");let o=Om(n[1])?n[1]:[n[1]],s=!1;for(let a of o){if(a===void 0)continue;if(t&&!s)s=!0,yield[i,null];yield[i,a]}}}var RD,k=(e)=>{let t=new Headers,r=new Set;for(let n of e){let i=new Set;for(let[o,s]of $6(n)){let a=o.toLowerCase();if(!i.has(a))t.delete(o),i.add(a);if(s===null)t.delete(o),r.add(a);else t.append(o,s),r.delete(a)}}return{[RD]:!0,values:t,nulls:r}};var Me=y(()=>{pi();RD=Symbol.for("brand.privateNullableHeaders")});function TD(e){return e.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g,encodeURIComponent)}var DD,G6=(e=TD)=>function(r,...n){if(r.length===1)return r[0];let i=!1,o=[],s=r.reduce((l,d,A)=>{if(/[?#]/.test(d))i=!0;let p=n[A],f=(i?encodeURIComponent:e)(""+p);if(A!==n.length&&(p==null||typeof p==="object"&&p.toString===Object.getPrototypeOf(Object.getPrototypeOf(p.hasOwnProperty??DD)??DD)?.toString))f=p+"",o.push({start:l.length+d.length,length:f.length,error:`Value of type ${Object.prototype.toString.call(p).slice(8,-1)} is not a valid path parameter`});return l+d+(A===n.length?"":f)},""),a=s.split(/[?#]/,1)[0],c=/(?<=^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi,u;while((u=c.exec(a))!==null)o.push({start:u.index,length:u[0].length,error:`Value "${u[0]}" can't be safely passed as a path parameter`});if(o.sort((l,d)=>l.start-d.start),o.length>0){let l=0,d=o.reduce((A,p)=>{let f=" ".repeat(p.start-l),h="^".repeat(p.length);return l=p.start+p.length,A+f+h},"");throw new O(`Path parameters result in path with invalid segments:
|
|
19
|
+
${o.map((A)=>A.error).join(`
|
|
20
|
+
`)}
|
|
21
|
+
${s}
|
|
22
|
+
${d}`)}return s},F;var ot=y(()=>{xt();DD=Object.freeze(Object.create(null)),F=G6(TD)});var Kc;var aE=y(()=>{We();Me();ot();Kc=class Kc extends W{create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/environments?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/environments/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/environments/${e}?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/environments?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/environments/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}archive(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/environments/${e}/archive?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}}});function Nd(e){return typeof e==="object"&&e!==null&&Xc in e}function cE(e,t){let r=new Set;if(e){for(let n of e)if(Nd(n))r.add(n[Xc])}if(t)for(let n of t){if(Nd(n))r.add(n[Xc]);if(Array.isArray(n.content)){for(let i of n.content)if(Nd(i))r.add(i[Xc])}}return Array.from(r)}function Fd(e,t){let r=cE(e,t);if(r.length===0)return{};return{"x-stainless-helper":r.join(", ")}}function ND(e){if(Nd(e))return{"x-stainless-helper":e[Xc]};return{}}var Xc;var el=y(()=>{Xc=Symbol("anthropic.sdk.stainlessHelper")});var tl;var lE=y(()=>{We();Me();el();Qs();ot();tl=class tl extends W{list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/files?beta=true",Hr,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"files-api-2025-04-14"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/files/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"files-api-2025-04-14"].toString()},r?.headers])})}download(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/files/${e}/content?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"files-api-2025-04-14"].toString(),Accept:"application/binary"},r?.headers]),__binaryResponse:!0})}retrieveMetadata(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/files/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"files-api-2025-04-14"].toString()},r?.headers])})}upload(e,t){let{betas:r,...n}=e;return this._client.post("/v1/files?beta=true",bs({body:n,...t,headers:k([{"anthropic-beta":[...r??[],"files-api-2025-04-14"].toString()},ND(n.file),t?.headers])},this._client))}}});var rl;var uE=y(()=>{We();Me();ot();rl=class rl extends W{retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/models/${e}?beta=true`,{...r,headers:k([{...n?.toString()!=null?{"anthropic-beta":n?.toString()}:void 0},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/models?beta=true",Hr,{query:n,...t,headers:k([{...r?.toString()!=null?{"anthropic-beta":r?.toString()}:void 0},t?.headers])})}}});var nl;var AE=y(()=>{We();Me();ot();nl=class nl extends W{create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/user_profiles?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"user-profiles-2026-03-24"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/user_profiles/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"user-profiles-2026-03-24"].toString()},r?.headers])})}update(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/user_profiles/${e}?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"user-profiles-2026-03-24"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/user_profiles?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"user-profiles-2026-03-24"].toString()},t?.headers])})}createEnrollmentURL(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/user_profiles/${e}/enrollment_url?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"user-profiles-2026-03-24"].toString()},r?.headers])})}}});var il;var dE=y(()=>{We();Me();ot();il=class il extends W{list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/agents/${e}/versions?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}}});var vs;var pE=y(()=>{dE();dE();We();Me();ot();vs=class vs extends W{constructor(){super(...arguments);this.versions=new il(this._client)}create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/agents?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n,...i}=t??{};return this._client.get(F`/v1/agents/${e}?beta=true`,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/agents/${e}?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/agents?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}archive(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/agents/${e}/archive?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}};vs.Versions=il});var ol;var fE=y(()=>{We();Me();ot();ol=class ol extends W{create(e,t,r){let{view:n,betas:i,...o}=t;return this._client.post(F`/v1/memory_stores/${e}/memories?beta=true`,{query:{view:n},body:o,...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}retrieve(e,t,r){let{memory_store_id:n,betas:i,...o}=t;return this._client.get(F`/v1/memory_stores/${n}/memories/${e}?beta=true`,{query:o,...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{memory_store_id:n,view:i,betas:o,...s}=t;return this._client.post(F`/v1/memory_stores/${n}/memories/${e}?beta=true`,{query:{view:i},body:s,...r,headers:k([{"anthropic-beta":[...o??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/memory_stores/${e}/memories?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}delete(e,t,r){let{memory_store_id:n,expected_content_sha256:i,betas:o}=t;return this._client.delete(F`/v1/memory_stores/${n}/memories/${e}?beta=true`,{query:{expected_content_sha256:i},...r,headers:k([{"anthropic-beta":[...o??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}}});var sl;var gE=y(()=>{We();Me();ot();sl=class sl extends W{retrieve(e,t,r){let{memory_store_id:n,betas:i,...o}=t;return this._client.get(F`/v1/memory_stores/${n}/memory_versions/${e}?beta=true`,{query:o,...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/memory_stores/${e}/memory_versions?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}redact(e,t,r){let{memory_store_id:n,betas:i}=t;return this._client.post(F`/v1/memory_stores/${n}/memory_versions/${e}/redact?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}}});var co;var hE=y(()=>{fE();fE();gE();gE();We();Me();ot();co=class co extends W{constructor(){super(...arguments);this.memories=new ol(this._client),this.memoryVersions=new sl(this._client)}create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/memory_stores?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/memory_stores/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/memory_stores/${e}?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/memory_stores?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/memory_stores/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}archive(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/memory_stores/${e}/archive?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}};co.Memories=ol;co.MemoryVersions=sl});var xs=y(()=>{xt()});var ws;var mE=y(()=>{xt();Zm();ws=class ws{constructor(e,t){this.iterator=e,this.controller=t}async*decoder(){let e=new fi;for await(let t of this.iterator)for(let r of e.decode(t))yield JSON.parse(r);for(let t of e.flush())yield JSON.parse(t)}[Symbol.asyncIterator](){return this.decoder()}static fromResponse(e,t){if(!e.body){if(t.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new O("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new O("Attempted to iterate over a response with no body")}return new ws(Yc(e.body),t)}}});var al;var EE=y(()=>{We();Me();mE();xs();ot();al=class al extends W{create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/messages/batches?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"message-batches-2024-09-24"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/messages/batches/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"message-batches-2024-09-24"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/messages/batches?beta=true",Hr,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"message-batches-2024-09-24"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/messages/batches/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"message-batches-2024-09-24"].toString()},r?.headers])})}cancel(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/messages/batches/${e}/cancel?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"message-batches-2024-09-24"].toString()},r?.headers])})}async results(e,t={},r){let n=await this.retrieve(e);if(!n.results_url)throw new O(`No batch \`results_url\`; Has it finished processing? ${n.processing_status} - ${n.id}`);let{betas:i}=t??{};return this._client.get(n.results_url,{...r,headers:k([{"anthropic-beta":[...i??[],"message-batches-2024-09-24"].toString(),Accept:"application/binary"},r?.headers]),stream:!0,__binaryResponse:!0})._thenUnwrap((o,s)=>ws.fromResponse(s.response,s.controller))}}});var Ud;var IE=y(()=>{Ud={"claude-opus-4-20250514":8192,"claude-opus-4-0":8192,"claude-4-opus-20250514":8192,"anthropic.claude-opus-4-20250514-v1:0":8192,"claude-opus-4@20250514":8192,"claude-opus-4-1-20250805":8192,"anthropic.claude-opus-4-1-20250805-v1:0":8192,"claude-opus-4-1@20250805":8192}});function FD(e){return e?.output_format??e?.output_config?.format}function CE(e,t,r){let n=FD(t);if(!t||!("parse"in(n??{})))return{...e,content:e.content.map((i)=>{if(i.type==="text"){let o=Object.defineProperty({...i},"parsed_output",{value:null,enumerable:!1});return Object.defineProperty(o,"parsed",{get(){return r.logger.warn("The `parsed` property on `text` blocks is deprecated, please use `parsed_output` instead."),null},enumerable:!1})}return i}),parsed_output:null};return yE(e,t,r)}function yE(e,t,r){let n=null,i=e.content.map((o)=>{if(o.type==="text"){let s=X6(t,o.text);if(n===null)n=s;let a=Object.defineProperty({...o},"parsed_output",{value:s,enumerable:!1});return Object.defineProperty(a,"parsed",{get(){return r.logger.warn("The `parsed` property on `text` blocks is deprecated, please use `parsed_output` instead."),s},enumerable:!1})}return o});return{...e,content:i,parsed_output:n}}function X6(e,t){let r=FD(e);if(r?.type!=="json_schema")return null;try{if("parse"in r)return r.parse(t);return JSON.parse(t)}catch(n){throw new O(`Failed to parse structured output: ${n}`)}}var BE=y(()=>{xt()});var e9=(e)=>{let t=0,r=[];while(t<e.length){let n=e[t];if(n==="\\"){t++;continue}if(n==="{"){r.push({type:"brace",value:"{"}),t++;continue}if(n==="}"){r.push({type:"brace",value:"}"}),t++;continue}if(n==="["){r.push({type:"paren",value:"["}),t++;continue}if(n==="]"){r.push({type:"paren",value:"]"}),t++;continue}if(n===":"){r.push({type:"separator",value:":"}),t++;continue}if(n===","){r.push({type:"delimiter",value:","}),t++;continue}if(n==='"'){let a="",c=!1;n=e[++t];while(n!=='"'){if(t===e.length){c=!0;break}if(n==="\\"){if(t++,t===e.length){c=!0;break}a+=n+e[t],n=e[++t]}else a+=n,n=e[++t]}if(n=e[++t],!c)r.push({type:"string",value:a});continue}if(n&&/\s/.test(n)){t++;continue}let o=/[0-9]/;if(n&&o.test(n)||n==="-"||n==="."){let a="";if(n==="-")a+=n,n=e[++t];while(n&&o.test(n)||n===".")a+=n,n=e[++t];r.push({type:"number",value:a});continue}let s=/[a-z]/i;if(n&&s.test(n)){let a="";while(n&&s.test(n)){if(t===e.length)break;a+=n,n=e[++t]}if(a=="true"||a=="false"||a==="null")r.push({type:"name",value:a});else{t++;continue}continue}t++}return r},Ss=(e)=>{if(e.length===0)return e;let t=e[e.length-1];switch(t.type){case"separator":return e=e.slice(0,e.length-1),Ss(e);break;case"number":let r=t.value[t.value.length-1];if(r==="."||r==="-")return e=e.slice(0,e.length-1),Ss(e);case"string":let n=e[e.length-2];if(n?.type==="delimiter")return e=e.slice(0,e.length-1),Ss(e);else if(n?.type==="brace"&&n.value==="{")return e=e.slice(0,e.length-1),Ss(e);break;case"delimiter":return e=e.slice(0,e.length-1),Ss(e);break}return e},t9=(e)=>{let t=[];if(e.map((r)=>{if(r.type==="brace")if(r.value==="{")t.push("}");else t.splice(t.lastIndexOf("}"),1);if(r.type==="paren")if(r.value==="[")t.push("]");else t.splice(t.lastIndexOf("]"),1)}),t.length>0)t.reverse().map((r)=>{if(r==="}")e.push({type:"brace",value:"}"});else if(r==="]")e.push({type:"paren",value:"]"})});return e},r9=(e)=>{let t="";return e.map((r)=>{switch(r.type){case"string":t+='"'+r.value+'"';break;default:t+=r.value;break}}),t},Md=(e)=>JSON.parse(r9(t9(Ss(e9(e)))));var bE=()=>{};var QE=y(()=>{Km()});function OD(e){return e.type==="tool_use"||e.type==="server_tool_use"||e.type==="mcp_tool_use"}function PD(e){}var Qr,gi,ks,cl,Ld,ll,ul,Od,Al,Rn,dl,Pd,$d,lo,Gd,Hd,pl,vE,UD,zd,xE,wE,SE,MD,LD="__json_buf",fl;var $D=y(()=>{Sn();bE();xs();QE();BE();fl=class fl{constructor(e,t){Qr.add(this),this.messages=[],this.receivedMessages=[],gi.set(this,void 0),ks.set(this,null),this.controller=new AbortController,cl.set(this,void 0),Ld.set(this,()=>{}),ll.set(this,()=>{}),ul.set(this,void 0),Od.set(this,()=>{}),Al.set(this,()=>{}),Rn.set(this,{}),dl.set(this,!1),Pd.set(this,!1),$d.set(this,!1),lo.set(this,!1),Gd.set(this,void 0),Hd.set(this,void 0),pl.set(this,void 0),zd.set(this,(r)=>{if(L(this,Pd,!0,"f"),kn(r))r=new vt;if(r instanceof vt)return L(this,$d,!0,"f"),this._emit("abort",r);if(r instanceof O)return this._emit("error",r);if(r instanceof Error){let n=new O(r.message);return n.cause=r,this._emit("error",n)}return this._emit("error",new O(String(r)))}),L(this,cl,new Promise((r,n)=>{L(this,Ld,r,"f"),L(this,ll,n,"f")}),"f"),L(this,ul,new Promise((r,n)=>{L(this,Od,r,"f"),L(this,Al,n,"f")}),"f"),Q(this,cl,"f").catch(()=>{}),Q(this,ul,"f").catch(()=>{}),L(this,ks,e,"f"),L(this,pl,t?.logger??console,"f")}get response(){return Q(this,Gd,"f")}get request_id(){return Q(this,Hd,"f")}async withResponse(){L(this,lo,!0,"f");let e=await Q(this,cl,"f");if(!e)throw Error("Could not resolve a `Response` object");return{data:this,response:e,request_id:e.headers.get("request-id")}}static fromReadableStream(e){let t=new fl(null);return t._run(()=>t._fromReadableStream(e)),t}static createMessage(e,t,r,{logger:n}={}){let i=new fl(t,{logger:n});for(let o of t.messages)i._addMessageParam(o);return L(i,ks,{...t,stream:!0},"f"),i._run(()=>i._createMessage(e,{...t,stream:!0},{...r,headers:{...r?.headers,"X-Stainless-Helper-Method":"stream"}})),i}_run(e){e().then(()=>{this._emitFinal(),this._emit("end")},Q(this,zd,"f"))}_addMessageParam(e){this.messages.push(e)}_addMessage(e,t=!0){if(this.receivedMessages.push(e),t)this._emit("message",e)}async _createMessage(e,t,r){let n=r?.signal,i;if(n){if(n.aborted)this.controller.abort();i=this.controller.abort.bind(this.controller),n.addEventListener("abort",i)}try{Q(this,Qr,"m",xE).call(this);let{response:o,data:s}=await e.create({...t,stream:!0},{...r,signal:this.controller.signal}).withResponse();this._connected(o);for await(let a of s)Q(this,Qr,"m",wE).call(this,a);if(s.controller.signal?.aborted)throw new vt;Q(this,Qr,"m",SE).call(this)}finally{if(n&&i)n.removeEventListener("abort",i)}}_connected(e){if(this.ended)return;L(this,Gd,e,"f"),L(this,Hd,e?.headers.get("request-id"),"f"),Q(this,Ld,"f").call(this,e),this._emit("connect")}get ended(){return Q(this,dl,"f")}get errored(){return Q(this,Pd,"f")}get aborted(){return Q(this,$d,"f")}abort(){this.controller.abort()}on(e,t){return(Q(this,Rn,"f")[e]||(Q(this,Rn,"f")[e]=[])).push({listener:t}),this}off(e,t){let r=Q(this,Rn,"f")[e];if(!r)return this;let n=r.findIndex((i)=>i.listener===t);if(n>=0)r.splice(n,1);return this}once(e,t){return(Q(this,Rn,"f")[e]||(Q(this,Rn,"f")[e]=[])).push({listener:t,once:!0}),this}emitted(e){return new Promise((t,r)=>{if(L(this,lo,!0,"f"),e!=="error")this.once("error",r);this.once(e,t)})}async done(){L(this,lo,!0,"f"),await Q(this,ul,"f")}get currentMessage(){return Q(this,gi,"f")}async finalMessage(){return await this.done(),Q(this,Qr,"m",vE).call(this)}async finalText(){return await this.done(),Q(this,Qr,"m",UD).call(this)}_emit(e,...t){if(Q(this,dl,"f"))return;if(e==="end")L(this,dl,!0,"f"),Q(this,Od,"f").call(this);let r=Q(this,Rn,"f")[e];if(r)Q(this,Rn,"f")[e]=r.filter((n)=>!n.once),r.forEach(({listener:n})=>n(...t));if(e==="abort"){let n=t[0];if(!Q(this,lo,"f")&&!r?.length)Promise.reject(n);Q(this,ll,"f").call(this,n),Q(this,Al,"f").call(this,n),this._emit("end");return}if(e==="error"){let n=t[0];if(!Q(this,lo,"f")&&!r?.length)Promise.reject(n);Q(this,ll,"f").call(this,n),Q(this,Al,"f").call(this,n),this._emit("end")}}_emitFinal(){if(this.receivedMessages.at(-1))this._emit("finalMessage",Q(this,Qr,"m",vE).call(this))}async _fromReadableStream(e,t){let r=t?.signal,n;if(r){if(r.aborted)this.controller.abort();n=this.controller.abort.bind(this.controller),r.addEventListener("abort",n)}try{Q(this,Qr,"m",xE).call(this),this._connected(null);let i=sr.fromReadableStream(e,this.controller);for await(let o of i)Q(this,Qr,"m",wE).call(this,o);if(i.controller.signal?.aborted)throw new vt;Q(this,Qr,"m",SE).call(this)}finally{if(r&&n)r.removeEventListener("abort",n)}}[(gi=new WeakMap,ks=new WeakMap,cl=new WeakMap,Ld=new WeakMap,ll=new WeakMap,ul=new WeakMap,Od=new WeakMap,Al=new WeakMap,Rn=new WeakMap,dl=new WeakMap,Pd=new WeakMap,$d=new WeakMap,lo=new WeakMap,Gd=new WeakMap,Hd=new WeakMap,pl=new WeakMap,zd=new WeakMap,Qr=new WeakSet,vE=function(){if(this.receivedMessages.length===0)throw new O("stream ended without producing a Message with role=assistant");return this.receivedMessages.at(-1)},UD=function(){if(this.receivedMessages.length===0)throw new O("stream ended without producing a Message with role=assistant");let t=this.receivedMessages.at(-1).content.filter((r)=>r.type==="text").map((r)=>r.text);if(t.length===0)throw new O("stream ended without producing a content block with type=text");return t.join(" ")},xE=function(){if(this.ended)return;L(this,gi,void 0,"f")},wE=function(t){if(this.ended)return;let r=Q(this,Qr,"m",MD).call(this,t);switch(this._emit("streamEvent",t,r),t.type){case"content_block_delta":{let n=r.content.at(-1);switch(t.delta.type){case"text_delta":{if(n.type==="text")this._emit("text",t.delta.text,n.text||"");break}case"citations_delta":{if(n.type==="text")this._emit("citation",t.delta.citation,n.citations??[]);break}case"input_json_delta":{if(OD(n)&&n.input)this._emit("inputJson",t.delta.partial_json,n.input);break}case"thinking_delta":{if(n.type==="thinking")this._emit("thinking",t.delta.thinking,n.thinking);break}case"signature_delta":{if(n.type==="thinking")this._emit("signature",n.signature);break}case"compaction_delta":{if(n.type==="compaction"&&n.content)this._emit("compaction",n.content);break}default:PD(t.delta)}break}case"message_stop":{this._addMessageParam(r),this._addMessage(CE(r,Q(this,ks,"f"),{logger:Q(this,pl,"f")}),!0);break}case"content_block_stop":{this._emit("contentBlock",r.content.at(-1));break}case"message_start":{L(this,gi,r,"f");break}case"content_block_start":case"message_delta":break}},SE=function(){if(this.ended)throw new O("stream has ended, this shouldn't happen");let t=Q(this,gi,"f");if(!t)throw new O("request ended without sending any chunks");return L(this,gi,void 0,"f"),CE(t,Q(this,ks,"f"),{logger:Q(this,pl,"f")})},MD=function(t){let r=Q(this,gi,"f");if(t.type==="message_start"){if(r)throw new O(`Unexpected event order, got ${t.type} before receiving "message_stop"`);return t.message}if(!r)throw new O(`Unexpected event order, got ${t.type} before "message_start"`);switch(t.type){case"message_stop":return r;case"message_delta":if(r.container=t.delta.container,r.stop_reason=t.delta.stop_reason,r.stop_sequence=t.delta.stop_sequence,r.usage.output_tokens=t.usage.output_tokens,r.context_management=t.context_management,t.usage.input_tokens!=null)r.usage.input_tokens=t.usage.input_tokens;if(t.usage.cache_creation_input_tokens!=null)r.usage.cache_creation_input_tokens=t.usage.cache_creation_input_tokens;if(t.usage.cache_read_input_tokens!=null)r.usage.cache_read_input_tokens=t.usage.cache_read_input_tokens;if(t.usage.server_tool_use!=null)r.usage.server_tool_use=t.usage.server_tool_use;if(t.usage.iterations!=null)r.usage.iterations=t.usage.iterations;return r;case"content_block_start":return r.content.push(t.content_block),r;case"content_block_delta":{let n=r.content.at(t.index);switch(t.delta.type){case"text_delta":{if(n?.type==="text")r.content[t.index]={...n,text:(n.text||"")+t.delta.text};break}case"citations_delta":{if(n?.type==="text")r.content[t.index]={...n,citations:[...n.citations??[],t.delta.citation]};break}case"input_json_delta":{if(n&&OD(n)){let i=n[LD]||"";i+=t.delta.partial_json;let o={...n};if(Object.defineProperty(o,LD,{value:i,enumerable:!1,writable:!0}),i)try{o.input=Md(i)}catch(s){let a=new O(`Unable to parse tool parameter JSON from model. Please retry your request or adjust your prompt. Error: ${s}. JSON: ${i}`);Q(this,zd,"f").call(this,a)}r.content[t.index]=o}break}case"thinking_delta":{if(n?.type==="thinking")r.content[t.index]={...n,thinking:n.thinking+t.delta.thinking};break}case"signature_delta":{if(n?.type==="thinking")r.content[t.index]={...n,signature:t.delta.signature};break}case"compaction_delta":{if(n?.type==="compaction")r.content[t.index]={...n,content:(n.content||"")+t.delta.content};break}default:PD(t.delta)}return r}case"content_block_stop":return r}},Symbol.asyncIterator)](){let e=[],t=[],r=!1;return this.on("streamEvent",(n)=>{let i=t.shift();if(i)i.resolve(n);else e.push(n)}),this.on("end",()=>{r=!0;for(let n of t)n.resolve(void 0);t.length=0}),this.on("abort",(n)=>{r=!0;for(let i of t)i.reject(n);t.length=0}),this.on("error",(n)=>{r=!0;for(let i of t)i.reject(n);t.length=0}),{next:async()=>{if(!e.length){if(r)return{value:void 0,done:!0};return new Promise((i,o)=>t.push({resolve:i,reject:o})).then((i)=>i?{value:i,done:!1}:{value:void 0,done:!0})}return{value:e.shift(),done:!1}},return:async()=>(this.abort(),{value:void 0,done:!0})}}toReadableStream(){return new sr(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}});var _s;var jd=y(()=>{_s=class _s extends Error{constructor(e){let t=typeof e==="string"?e:e.map((r)=>{if(r.type==="text")return r.text;return`[${r.type}]`}).join(" ");super(t);this.name="ToolError",this.content=e}}});var GD=1e5,HD=`You have been working on the task described above but have not yet completed it. Write a continuation summary that will allow you (or another instance of yourself) to resume work efficiently in a future context window where the conversation history will be replaced with this summary. Your summary should be structured, concise, and actionable. Include:
|
|
23
|
+
1. Task Overview
|
|
24
|
+
The user's core request and success criteria
|
|
25
|
+
Any clarifications or constraints they specified
|
|
26
|
+
2. Current State
|
|
27
|
+
What has been completed so far
|
|
28
|
+
Files created, modified, or analyzed (with paths if relevant)
|
|
29
|
+
Key outputs or artifacts produced
|
|
30
|
+
3. Important Discoveries
|
|
31
|
+
Technical constraints or requirements uncovered
|
|
32
|
+
Decisions made and their rationale
|
|
33
|
+
Errors encountered and how they were resolved
|
|
34
|
+
What approaches were tried that didn't work (and why)
|
|
35
|
+
4. Next Steps
|
|
36
|
+
Specific actions needed to complete the task
|
|
37
|
+
Any blockers or open questions to resolve
|
|
38
|
+
Priority order if multiple steps remain
|
|
39
|
+
5. Context to Preserve
|
|
40
|
+
User preferences or style requirements
|
|
41
|
+
Domain-specific details that aren't obvious
|
|
42
|
+
Any promises made to the user
|
|
43
|
+
Be concise but complete—err on the side of including information that would prevent duplicate work or repeated mistakes. Write in a way that enables immediate resumption of the task.
|
|
44
|
+
Wrap your summary in <summary></summary> tags.`;function jD(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}async function n9(e,t=e.messages.at(-1),r){if(!t||t.role!=="assistant"||!t.content||typeof t.content==="string")return null;let n=t.content.filter((o)=>o.type==="tool_use");if(n.length===0)return null;return{role:"user",content:await Promise.all(n.map(async(o)=>{let s=e.tools.find((a)=>("name"in a?a.name:a.mcp_server_name)===o.name);if(!s||!("run"in s))return{type:"tool_result",tool_use_id:o.id,content:`Error: Tool '${o.name}' not found`,is_error:!0};try{let a=o.input;if("parse"in s&&s.parse)a=s.parse(a);let c=await s.run(a,{toolUseBlock:o,signal:r?.signal});return{type:"tool_result",tool_use_id:o.id,content:c}}catch(a){return{type:"tool_result",tool_use_id:o.id,content:a instanceof _s?a.content:`Error: ${a instanceof Error?a.message:String(a)}`,is_error:!0}}}))}}var gl,Rs,uo,pt,Yt,ar,Dn,hi,hl,zD,kE,ml;var _E=y(()=>{Sn();jd();xt();Me();el();ml=class ml{constructor(e,t,r){gl.add(this),this.client=e,Rs.set(this,!1),uo.set(this,!1),pt.set(this,void 0),Yt.set(this,void 0),ar.set(this,void 0),Dn.set(this,void 0),hi.set(this,void 0),hl.set(this,0),L(this,pt,{params:{...t,messages:structuredClone(t.messages)}},"f");let i=["BetaToolRunner",...cE(t.tools,t.messages)].join(", ");if(L(this,Yt,{...r,headers:k([{"x-stainless-helper":i},r?.headers])},"f"),L(this,hi,jD(),"f"),t.compactionControl?.enabled)console.warn('Anthropic: The `compactionControl` parameter is deprecated and will be removed in a future version. Use server-side compaction instead by passing `edits: [{ type: "compact_20260112" }]` in the params passed to `toolRunner()`. See https://platform.claude.com/docs/en/build-with-claude/compaction')}async*[(Rs=new WeakMap,uo=new WeakMap,pt=new WeakMap,Yt=new WeakMap,ar=new WeakMap,Dn=new WeakMap,hi=new WeakMap,hl=new WeakMap,gl=new WeakSet,zD=async function(){let t=Q(this,pt,"f").params.compactionControl;if(!t||!t.enabled)return!1;let r=0;if(Q(this,ar,"f")!==void 0)try{let c=await Q(this,ar,"f");r=c.usage.input_tokens+(c.usage.cache_creation_input_tokens??0)+(c.usage.cache_read_input_tokens??0)+c.usage.output_tokens}catch{return!1}let n=t.contextTokenThreshold??GD;if(r<n)return!1;let i=t.model??Q(this,pt,"f").params.model,o=t.summaryPrompt??HD,s=Q(this,pt,"f").params.messages;if(s[s.length-1].role==="assistant"){let c=s[s.length-1];if(Array.isArray(c.content)){let u=c.content.filter((l)=>l.type!=="tool_use");if(u.length===0)s.pop();else c.content=u}}let a=await this.client.beta.messages.create({model:i,messages:[...s,{role:"user",content:[{type:"text",text:o}]}],max_tokens:Q(this,pt,"f").params.max_tokens},{signal:Q(this,Yt,"f").signal,headers:k([Q(this,Yt,"f").headers,{"x-stainless-helper":"compaction"}])});if(a.content[0]?.type!=="text")throw new O("Expected text response for compaction");return Q(this,pt,"f").params.messages=[{role:"user",content:a.content}],!0},Symbol.asyncIterator)](){var e;if(Q(this,Rs,"f"))throw new O("Cannot iterate over a consumed stream");L(this,Rs,!0,"f"),L(this,uo,!0,"f"),L(this,Dn,void 0,"f");try{while(!0){let t;try{if(Q(this,pt,"f").params.max_iterations&&Q(this,hl,"f")>=Q(this,pt,"f").params.max_iterations)break;L(this,uo,!1,"f"),L(this,Dn,void 0,"f"),L(this,hl,(e=Q(this,hl,"f"),e++,e),"f"),L(this,ar,void 0,"f");let{max_iterations:r,compactionControl:n,...i}=Q(this,pt,"f").params;if(i.stream)t=this.client.beta.messages.stream({...i},Q(this,Yt,"f")),L(this,ar,t.finalMessage(),"f"),Q(this,ar,"f").catch(()=>{}),yield t;else L(this,ar,this.client.beta.messages.create({...i,stream:!1},Q(this,Yt,"f")),"f"),yield Q(this,ar,"f");if(!await Q(this,gl,"m",zD).call(this)){if(!Q(this,uo,"f")){let{role:a,content:c}=await Q(this,ar,"f");Q(this,pt,"f").params.messages.push({role:a,content:c})}let s=await Q(this,gl,"m",kE).call(this,Q(this,pt,"f").params.messages.at(-1));if(s)Q(this,pt,"f").params.messages.push(s);else if(!Q(this,uo,"f"))break}}finally{if(t)t.abort()}}if(!Q(this,ar,"f"))throw new O("ToolRunner concluded without a message from the server");Q(this,hi,"f").resolve(await Q(this,ar,"f"))}catch(t){throw L(this,Rs,!1,"f"),Q(this,hi,"f").promise.catch(()=>{}),Q(this,hi,"f").reject(t),L(this,hi,jD(),"f"),t}}setMessagesParams(e){if(typeof e==="function")Q(this,pt,"f").params=e(Q(this,pt,"f").params);else Q(this,pt,"f").params=e;L(this,uo,!0,"f"),L(this,Dn,void 0,"f")}setRequestOptions(e){if(typeof e==="function")L(this,Yt,e(Q(this,Yt,"f")),"f");else L(this,Yt,{...Q(this,Yt,"f"),...e},"f")}async generateToolResponse(e=Q(this,Yt,"f").signal){let t=await Q(this,ar,"f")??this.params.messages.at(-1);if(!t)return null;return Q(this,gl,"m",kE).call(this,t,e)}done(){return Q(this,hi,"f").promise}async runUntilDone(){if(!Q(this,Rs,"f"))for await(let e of this);return this.done()}get params(){return Q(this,pt,"f").params}pushMessages(...e){this.setMessagesParams((t)=>({...t,messages:[...t.messages,...e]}))}then(e,t){return this.runUntilDone().then(e,t)}};kE=async function(t,r=Q(this,Yt,"f").signal){if(Q(this,Dn,"f")!==void 0)return Q(this,Dn,"f");return L(this,Dn,n9(Q(this,pt,"f").params,t,{...Q(this,Yt,"f"),signal:r}),"f"),Q(this,Dn,"f")}});function JD(e){if(!e.output_format)return e;if(e.output_config?.format)throw new O("Both output_format and output_config.format were provided. Please use only output_config.format (output_format is deprecated).");let{output_format:t,...r}=e;return{...r,output_config:{...e.output_config,format:t}}}var YD,i9,mi;var RE=y(()=>{xs();EE();IE();Me();el();BE();$D();_E();jd();EE();_E();jd();YD={"claude-1.3":"November 6th, 2024","claude-1.3-100k":"November 6th, 2024","claude-instant-1.1":"November 6th, 2024","claude-instant-1.1-100k":"November 6th, 2024","claude-instant-1.2":"November 6th, 2024","claude-3-sonnet-20240229":"July 21st, 2025","claude-3-opus-20240229":"January 5th, 2026","claude-2.1":"July 21st, 2025","claude-2.0":"July 21st, 2025","claude-3-7-sonnet-latest":"February 19th, 2026","claude-3-7-sonnet-20250219":"February 19th, 2026"},i9=["claude-mythos-preview","claude-opus-4-6"];mi=class mi extends W{constructor(){super(...arguments);this.batches=new al(this._client)}create(e,t){let r=JD(e),{betas:n,...i}=r;if(i.model in YD)console.warn(`The model '${i.model}' is deprecated and will reach end-of-life on ${YD[i.model]}
|
|
45
|
+
Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`);if(i9.includes(i.model)&&i.thinking&&i.thinking.type==="enabled")console.warn(`Using Claude with ${i.model} and 'thinking.type=enabled' is deprecated. Use 'thinking.type=adaptive' instead which results in better model performance in our testing: https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking`);let o=this._client._options.timeout;if(!i.stream&&o==null){let a=Ud[i.model]??void 0;o=this._client.calculateNonstreamingTimeout(i.max_tokens,a)}let s=Fd(i.tools,i.messages);return this._client.post("/v1/messages?beta=true",{body:i,timeout:o??600000,...t,headers:k([{...n?.toString()!=null?{"anthropic-beta":n?.toString()}:void 0},s,t?.headers]),stream:r.stream??!1})}parse(e,t){return t={...t,headers:k([{"anthropic-beta":[...e.betas??[],"structured-outputs-2025-12-15"].toString()},t?.headers])},this.create(e,t).then((r)=>yE(r,e,{logger:this._client.logger??console}))}stream(e,t){return fl.createMessage(this,e,t)}countTokens(e,t){let r=JD(e),{betas:n,...i}=r;return this._client.post("/v1/messages/count_tokens?beta=true",{body:i,...t,headers:k([{"anthropic-beta":[...n??[],"token-counting-2024-11-01"].toString()},t?.headers])})}toolRunner(e,t){return new ml(this._client,e,t)}};mi.Batches=al;mi.BetaToolRunner=ml;mi.ToolError=_s});var El;var DE=y(()=>{We();Me();ot();El=class El extends W{list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/sessions/${e}/events?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}send(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/sessions/${e}/events?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}stream(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/sessions/${e}/events/stream?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers]),stream:!0})}}});var Il;var TE=y(()=>{We();Me();ot();Il=class Il extends W{retrieve(e,t,r){let{session_id:n,betas:i}=t;return this._client.get(F`/v1/sessions/${n}/resources/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{session_id:n,betas:i,...o}=t;return this._client.post(F`/v1/sessions/${n}/resources/${e}?beta=true`,{body:o,...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/sessions/${e}/resources?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}delete(e,t,r){let{session_id:n,betas:i}=t;return this._client.delete(F`/v1/sessions/${n}/resources/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}add(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/sessions/${e}/resources?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}}});var Ao;var NE=y(()=>{DE();DE();TE();TE();We();Me();ot();Ao=class Ao extends W{constructor(){super(...arguments);this.events=new El(this._client),this.resources=new Il(this._client)}create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/sessions?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/sessions/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/sessions/${e}?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/sessions?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/sessions/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}archive(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/sessions/${e}/archive?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}};Ao.Events=El;Ao.Resources=Il});var Cl;var FE=y(()=>{We();Me();Qs();ot();Cl=class Cl extends W{create(e,t={},r){let{betas:n,...i}=t??{};return this._client.post(F`/v1/skills/${e}/versions?beta=true`,bs({body:i,...r,headers:k([{"anthropic-beta":[...n??[],"skills-2025-10-02"].toString()},r?.headers])},this._client))}retrieve(e,t,r){let{skill_id:n,betas:i}=t;return this._client.get(F`/v1/skills/${n}/versions/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"skills-2025-10-02"].toString()},r?.headers])})}list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/skills/${e}/versions?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"skills-2025-10-02"].toString()},r?.headers])})}delete(e,t,r){let{skill_id:n,betas:i}=t;return this._client.delete(F`/v1/skills/${n}/versions/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"skills-2025-10-02"].toString()},r?.headers])})}}});var Ds;var UE=y(()=>{FE();FE();We();Me();Qs();ot();Ds=class Ds extends W{constructor(){super(...arguments);this.versions=new Cl(this._client)}create(e={},t){let{betas:r,...n}=e??{};return this._client.post("/v1/skills?beta=true",bs({body:n,...t,headers:k([{"anthropic-beta":[...r??[],"skills-2025-10-02"].toString()},t?.headers])},this._client,!1))}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/skills/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"skills-2025-10-02"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/skills?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"skills-2025-10-02"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/skills/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"skills-2025-10-02"].toString()},r?.headers])})}};Ds.Versions=Cl});var yl;var ME=y(()=>{We();Me();ot();yl=class yl extends W{create(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/vaults/${e}/credentials?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}retrieve(e,t,r){let{vault_id:n,betas:i}=t;return this._client.get(F`/v1/vaults/${n}/credentials/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{vault_id:n,betas:i,...o}=t;return this._client.post(F`/v1/vaults/${n}/credentials/${e}?beta=true`,{body:o,...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e,t={},r){let{betas:n,...i}=t??{};return this._client.getAPIList(F`/v1/vaults/${e}/credentials?beta=true`,Be,{query:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}delete(e,t,r){let{vault_id:n,betas:i}=t;return this._client.delete(F`/v1/vaults/${n}/credentials/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}archive(e,t,r){let{vault_id:n,betas:i}=t;return this._client.post(F`/v1/vaults/${n}/credentials/${e}/archive?beta=true`,{...r,headers:k([{"anthropic-beta":[...i??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}}});var Ts;var LE=y(()=>{ME();ME();We();Me();ot();Ts=class Ts extends W{constructor(){super(...arguments);this.credentials=new yl(this._client)}create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/vaults?beta=true",{body:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/vaults/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}update(e,t,r){let{betas:n,...i}=t;return this._client.post(F`/v1/vaults/${e}?beta=true`,{body:i,...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/vaults?beta=true",Be,{query:n,...t,headers:k([{"anthropic-beta":[...r??[],"managed-agents-2026-04-01"].toString()},t?.headers])})}delete(e,t={},r){let{betas:n}=t??{};return this._client.delete(F`/v1/vaults/${e}?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}archive(e,t={},r){let{betas:n}=t??{};return this._client.post(F`/v1/vaults/${e}/archive?beta=true`,{...r,headers:k([{"anthropic-beta":[...n??[],"managed-agents-2026-04-01"].toString()},r?.headers])})}};Ts.Credentials=yl});var _t;var OE=y(()=>{aE();aE();lE();lE();uE();uE();AE();AE();pE();pE();hE();hE();RE();RE();NE();NE();UE();UE();LE();LE();_t=class _t extends W{constructor(){super(...arguments);this.models=new rl(this._client),this.messages=new mi(this._client),this.agents=new vs(this._client),this.environments=new Kc(this._client),this.sessions=new Ao(this._client),this.vaults=new Ts(this._client),this.memoryStores=new co(this._client),this.files=new tl(this._client),this.skills=new Ds(this._client),this.userProfiles=new nl(this._client)}};_t.Models=rl;_t.Messages=mi;_t.Agents=vs;_t.Environments=Kc;_t.Sessions=Ao;_t.Vaults=Ts;_t.MemoryStores=co;_t.Files=tl;_t.Skills=Ds;_t.UserProfiles=nl});var Ns;var PE=y(()=>{Me();Ns=class Ns extends W{create(e,t){let{betas:r,...n}=e;return this._client.post("/v1/complete",{body:n,timeout:this._client._options.timeout??600000,...t,headers:k([{...r?.toString()!=null?{"anthropic-beta":r?.toString()}:void 0},t?.headers]),stream:e.stream??!1})}}});function qD(e){return e?.output_config?.format}function $E(e,t,r){let n=qD(t);if(!t||!("parse"in(n??{})))return{...e,content:e.content.map((i)=>{if(i.type==="text")return Object.defineProperty({...i},"parsed_output",{value:null,enumerable:!1});return i}),parsed_output:null};return GE(e,t,r)}function GE(e,t,r){let n=null,i=e.content.map((o)=>{if(o.type==="text"){let s=p9(t,o.text);if(n===null)n=s;return Object.defineProperty({...o},"parsed_output",{value:s,enumerable:!1})}return o});return{...e,content:i,parsed_output:n}}function p9(e,t){let r=qD(e);if(r?.type!=="json_schema")return null;try{if("parse"in r)return r.parse(t);return JSON.parse(t)}catch(n){throw new O(`Failed to parse structured output: ${n}`)}}var HE=y(()=>{xt()});function KD(e){return e.type==="tool_use"||e.type==="server_tool_use"}function XD(e){}var vr,Ei,Fs,Bl,Yd,bl,Ql,Jd,vl,Tn,xl,qd,Vd,po,Wd,Zd,wl,zE,VD,jE,YE,JE,qE,WD,ZD="__json_buf",Sl;var eT=y(()=>{Sn();xs();QE();bE();HE();Sl=class Sl{constructor(e,t){vr.add(this),this.messages=[],this.receivedMessages=[],Ei.set(this,void 0),Fs.set(this,null),this.controller=new AbortController,Bl.set(this,void 0),Yd.set(this,()=>{}),bl.set(this,()=>{}),Ql.set(this,void 0),Jd.set(this,()=>{}),vl.set(this,()=>{}),Tn.set(this,{}),xl.set(this,!1),qd.set(this,!1),Vd.set(this,!1),po.set(this,!1),Wd.set(this,void 0),Zd.set(this,void 0),wl.set(this,void 0),jE.set(this,(r)=>{if(L(this,qd,!0,"f"),kn(r))r=new vt;if(r instanceof vt)return L(this,Vd,!0,"f"),this._emit("abort",r);if(r instanceof O)return this._emit("error",r);if(r instanceof Error){let n=new O(r.message);return n.cause=r,this._emit("error",n)}return this._emit("error",new O(String(r)))}),L(this,Bl,new Promise((r,n)=>{L(this,Yd,r,"f"),L(this,bl,n,"f")}),"f"),L(this,Ql,new Promise((r,n)=>{L(this,Jd,r,"f"),L(this,vl,n,"f")}),"f"),Q(this,Bl,"f").catch(()=>{}),Q(this,Ql,"f").catch(()=>{}),L(this,Fs,e,"f"),L(this,wl,t?.logger??console,"f")}get response(){return Q(this,Wd,"f")}get request_id(){return Q(this,Zd,"f")}async withResponse(){L(this,po,!0,"f");let e=await Q(this,Bl,"f");if(!e)throw Error("Could not resolve a `Response` object");return{data:this,response:e,request_id:e.headers.get("request-id")}}static fromReadableStream(e){let t=new Sl(null);return t._run(()=>t._fromReadableStream(e)),t}static createMessage(e,t,r,{logger:n}={}){let i=new Sl(t,{logger:n});for(let o of t.messages)i._addMessageParam(o);return L(i,Fs,{...t,stream:!0},"f"),i._run(()=>i._createMessage(e,{...t,stream:!0},{...r,headers:{...r?.headers,"X-Stainless-Helper-Method":"stream"}})),i}_run(e){e().then(()=>{this._emitFinal(),this._emit("end")},Q(this,jE,"f"))}_addMessageParam(e){this.messages.push(e)}_addMessage(e,t=!0){if(this.receivedMessages.push(e),t)this._emit("message",e)}async _createMessage(e,t,r){let n=r?.signal,i;if(n){if(n.aborted)this.controller.abort();i=this.controller.abort.bind(this.controller),n.addEventListener("abort",i)}try{Q(this,vr,"m",YE).call(this);let{response:o,data:s}=await e.create({...t,stream:!0},{...r,signal:this.controller.signal}).withResponse();this._connected(o);for await(let a of s)Q(this,vr,"m",JE).call(this,a);if(s.controller.signal?.aborted)throw new vt;Q(this,vr,"m",qE).call(this)}finally{if(n&&i)n.removeEventListener("abort",i)}}_connected(e){if(this.ended)return;L(this,Wd,e,"f"),L(this,Zd,e?.headers.get("request-id"),"f"),Q(this,Yd,"f").call(this,e),this._emit("connect")}get ended(){return Q(this,xl,"f")}get errored(){return Q(this,qd,"f")}get aborted(){return Q(this,Vd,"f")}abort(){this.controller.abort()}on(e,t){return(Q(this,Tn,"f")[e]||(Q(this,Tn,"f")[e]=[])).push({listener:t}),this}off(e,t){let r=Q(this,Tn,"f")[e];if(!r)return this;let n=r.findIndex((i)=>i.listener===t);if(n>=0)r.splice(n,1);return this}once(e,t){return(Q(this,Tn,"f")[e]||(Q(this,Tn,"f")[e]=[])).push({listener:t,once:!0}),this}emitted(e){return new Promise((t,r)=>{if(L(this,po,!0,"f"),e!=="error")this.once("error",r);this.once(e,t)})}async done(){L(this,po,!0,"f"),await Q(this,Ql,"f")}get currentMessage(){return Q(this,Ei,"f")}async finalMessage(){return await this.done(),Q(this,vr,"m",zE).call(this)}async finalText(){return await this.done(),Q(this,vr,"m",VD).call(this)}_emit(e,...t){if(Q(this,xl,"f"))return;if(e==="end")L(this,xl,!0,"f"),Q(this,Jd,"f").call(this);let r=Q(this,Tn,"f")[e];if(r)Q(this,Tn,"f")[e]=r.filter((n)=>!n.once),r.forEach(({listener:n})=>n(...t));if(e==="abort"){let n=t[0];if(!Q(this,po,"f")&&!r?.length)Promise.reject(n);Q(this,bl,"f").call(this,n),Q(this,vl,"f").call(this,n),this._emit("end");return}if(e==="error"){let n=t[0];if(!Q(this,po,"f")&&!r?.length)Promise.reject(n);Q(this,bl,"f").call(this,n),Q(this,vl,"f").call(this,n),this._emit("end")}}_emitFinal(){if(this.receivedMessages.at(-1))this._emit("finalMessage",Q(this,vr,"m",zE).call(this))}async _fromReadableStream(e,t){let r=t?.signal,n;if(r){if(r.aborted)this.controller.abort();n=this.controller.abort.bind(this.controller),r.addEventListener("abort",n)}try{Q(this,vr,"m",YE).call(this),this._connected(null);let i=sr.fromReadableStream(e,this.controller);for await(let o of i)Q(this,vr,"m",JE).call(this,o);if(i.controller.signal?.aborted)throw new vt;Q(this,vr,"m",qE).call(this)}finally{if(r&&n)r.removeEventListener("abort",n)}}[(Ei=new WeakMap,Fs=new WeakMap,Bl=new WeakMap,Yd=new WeakMap,bl=new WeakMap,Ql=new WeakMap,Jd=new WeakMap,vl=new WeakMap,Tn=new WeakMap,xl=new WeakMap,qd=new WeakMap,Vd=new WeakMap,po=new WeakMap,Wd=new WeakMap,Zd=new WeakMap,wl=new WeakMap,jE=new WeakMap,vr=new WeakSet,zE=function(){if(this.receivedMessages.length===0)throw new O("stream ended without producing a Message with role=assistant");return this.receivedMessages.at(-1)},VD=function(){if(this.receivedMessages.length===0)throw new O("stream ended without producing a Message with role=assistant");let t=this.receivedMessages.at(-1).content.filter((r)=>r.type==="text").map((r)=>r.text);if(t.length===0)throw new O("stream ended without producing a content block with type=text");return t.join(" ")},YE=function(){if(this.ended)return;L(this,Ei,void 0,"f")},JE=function(t){if(this.ended)return;let r=Q(this,vr,"m",WD).call(this,t);switch(this._emit("streamEvent",t,r),t.type){case"content_block_delta":{let n=r.content.at(-1);switch(t.delta.type){case"text_delta":{if(n.type==="text")this._emit("text",t.delta.text,n.text||"");break}case"citations_delta":{if(n.type==="text")this._emit("citation",t.delta.citation,n.citations??[]);break}case"input_json_delta":{if(KD(n)&&n.input)this._emit("inputJson",t.delta.partial_json,n.input);break}case"thinking_delta":{if(n.type==="thinking")this._emit("thinking",t.delta.thinking,n.thinking);break}case"signature_delta":{if(n.type==="thinking")this._emit("signature",n.signature);break}default:XD(t.delta)}break}case"message_stop":{this._addMessageParam(r),this._addMessage($E(r,Q(this,Fs,"f"),{logger:Q(this,wl,"f")}),!0);break}case"content_block_stop":{this._emit("contentBlock",r.content.at(-1));break}case"message_start":{L(this,Ei,r,"f");break}case"content_block_start":case"message_delta":break}},qE=function(){if(this.ended)throw new O("stream has ended, this shouldn't happen");let t=Q(this,Ei,"f");if(!t)throw new O("request ended without sending any chunks");return L(this,Ei,void 0,"f"),$E(t,Q(this,Fs,"f"),{logger:Q(this,wl,"f")})},WD=function(t){let r=Q(this,Ei,"f");if(t.type==="message_start"){if(r)throw new O(`Unexpected event order, got ${t.type} before receiving "message_stop"`);return t.message}if(!r)throw new O(`Unexpected event order, got ${t.type} before "message_start"`);switch(t.type){case"message_stop":return r;case"message_delta":if(r.stop_reason=t.delta.stop_reason,r.stop_sequence=t.delta.stop_sequence,r.usage.output_tokens=t.usage.output_tokens,t.usage.input_tokens!=null)r.usage.input_tokens=t.usage.input_tokens;if(t.usage.cache_creation_input_tokens!=null)r.usage.cache_creation_input_tokens=t.usage.cache_creation_input_tokens;if(t.usage.cache_read_input_tokens!=null)r.usage.cache_read_input_tokens=t.usage.cache_read_input_tokens;if(t.usage.server_tool_use!=null)r.usage.server_tool_use=t.usage.server_tool_use;return r;case"content_block_start":return r.content.push({...t.content_block}),r;case"content_block_delta":{let n=r.content.at(t.index);switch(t.delta.type){case"text_delta":{if(n?.type==="text")r.content[t.index]={...n,text:(n.text||"")+t.delta.text};break}case"citations_delta":{if(n?.type==="text")r.content[t.index]={...n,citations:[...n.citations??[],t.delta.citation]};break}case"input_json_delta":{if(n&&KD(n)){let i=n[ZD]||"";i+=t.delta.partial_json;let o={...n};if(Object.defineProperty(o,ZD,{value:i,enumerable:!1,writable:!0}),i)o.input=Md(i);r.content[t.index]=o}break}case"thinking_delta":{if(n?.type==="thinking")r.content[t.index]={...n,thinking:n.thinking+t.delta.thinking};break}case"signature_delta":{if(n?.type==="thinking")r.content[t.index]={...n,signature:t.delta.signature};break}default:XD(t.delta)}return r}case"content_block_stop":return r}},Symbol.asyncIterator)](){let e=[],t=[],r=!1;return this.on("streamEvent",(n)=>{let i=t.shift();if(i)i.resolve(n);else e.push(n)}),this.on("end",()=>{r=!0;for(let n of t)n.resolve(void 0);t.length=0}),this.on("abort",(n)=>{r=!0;for(let i of t)i.reject(n);t.length=0}),this.on("error",(n)=>{r=!0;for(let i of t)i.reject(n);t.length=0}),{next:async()=>{if(!e.length){if(r)return{value:void 0,done:!0};return new Promise((i,o)=>t.push({resolve:i,reject:o})).then((i)=>i?{value:i,done:!1}:{value:void 0,done:!0})}return{value:e.shift(),done:!1}},return:async()=>(this.abort(),{value:void 0,done:!0})}}toReadableStream(){return new sr(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}});var kl;var VE=y(()=>{We();Me();mE();xs();ot();kl=class kl extends W{create(e,t){return this._client.post("/v1/messages/batches",{body:e,...t})}retrieve(e,t){return this._client.get(F`/v1/messages/batches/${e}`,t)}list(e={},t){return this._client.getAPIList("/v1/messages/batches",Hr,{query:e,...t})}delete(e,t){return this._client.delete(F`/v1/messages/batches/${e}`,t)}cancel(e,t){return this._client.post(F`/v1/messages/batches/${e}/cancel`,t)}async results(e,t){let r=await this.retrieve(e);if(!r.results_url)throw new O(`No batch \`results_url\`; Has it finished processing? ${r.processing_status} - ${r.id}`);return this._client.get(r.results_url,{...t,headers:k([{Accept:"application/binary"},t?.headers]),stream:!0,__binaryResponse:!0})._thenUnwrap((n,i)=>ws.fromResponse(i.response,i.controller))}}});var fo,tT,g9;var WE=y(()=>{Me();el();eT();HE();VE();VE();IE();fo=class fo extends W{constructor(){super(...arguments);this.batches=new kl(this._client)}create(e,t){if(e.model in tT)console.warn(`The model '${e.model}' is deprecated and will reach end-of-life on ${tT[e.model]}
|
|
46
|
+
Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`);if(g9.includes(e.model)&&e.thinking&&e.thinking.type==="enabled")console.warn(`Using Claude with ${e.model} and 'thinking.type=enabled' is deprecated. Use 'thinking.type=adaptive' instead which results in better model performance in our testing: https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking`);let r=this._client._options.timeout;if(!e.stream&&r==null){let i=Ud[e.model]??void 0;r=this._client.calculateNonstreamingTimeout(e.max_tokens,i)}let n=Fd(e.tools,e.messages);return this._client.post("/v1/messages",{body:e,timeout:r??600000,...t,headers:k([n,t?.headers]),stream:e.stream??!1})}parse(e,t){return this.create(e,t).then((r)=>GE(r,e,{logger:this._client.logger??console}))}stream(e,t){return Sl.createMessage(this,e,t,{logger:this._client.logger??console})}countTokens(e,t){return this._client.post("/v1/messages/count_tokens",{body:e,...t})}};tT={"claude-1.3":"November 6th, 2024","claude-1.3-100k":"November 6th, 2024","claude-instant-1.1":"November 6th, 2024","claude-instant-1.1-100k":"November 6th, 2024","claude-instant-1.2":"November 6th, 2024","claude-3-sonnet-20240229":"July 21st, 2025","claude-3-opus-20240229":"January 5th, 2026","claude-2.1":"July 21st, 2025","claude-2.0":"July 21st, 2025","claude-3-7-sonnet-latest":"February 19th, 2026","claude-3-7-sonnet-20250219":"February 19th, 2026","claude-3-5-haiku-latest":"February 19th, 2026","claude-3-5-haiku-20241022":"February 19th, 2026","claude-opus-4-0":"June 15th, 2026","claude-opus-4-20250514":"June 15th, 2026","claude-sonnet-4-0":"June 15th, 2026","claude-sonnet-4-20250514":"June 15th, 2026"},g9=["claude-mythos-preview","claude-opus-4-6"];fo.Batches=kl});var Us;var ZE=y(()=>{We();Me();ot();Us=class Us extends W{retrieve(e,t={},r){let{betas:n}=t??{};return this._client.get(F`/v1/models/${e}`,{...r,headers:k([{...n?.toString()!=null?{"anthropic-beta":n?.toString()}:void 0},r?.headers])})}list(e={},t){let{betas:r,...n}=e??{};return this._client.getAPIList("/v1/models",Hr,{query:n,...t,headers:k([{...r?.toString()!=null?{"anthropic-beta":r?.toString()}:void 0},t?.headers])})}}});var rT=y(()=>{OE();PE();WE();ZE();_D()});class Ze{get credentials(){return this._authState.provider}constructor({baseURL:e=Ee("ANTHROPIC_BASE_URL"),apiKey:t,authToken:r,...n}={}){if(KE.add(this),this._requestAuthFlags=new WeakMap,Kd.set(this,void 0),t===void 0)t=n.profile!=null?null:Ee("ANTHROPIC_API_KEY")??null;if(r===void 0)r=n.profile!=null?null:Ee("ANTHROPIC_AUTH_TOKEN")??null;if(n.profile!=null&&(n.credentials!=null||n.config!=null))throw TypeError("Pass at most one of `profile`, `credentials`, or `config`.");let i={apiKey:t,authToken:r,...n,baseURL:e||"https://api.anthropic.com"};if(!i.dangerouslyAllowBrowser&&VR())throw new O(`It looks like you're running in a browser-like environment.
|
|
47
|
+
|
|
48
|
+
This is disabled by default, as it risks exposing your secret API credentials to attackers.
|
|
49
|
+
If you understand the risks and have appropriate mitigations in place,
|
|
50
|
+
you can set the \`dangerouslyAllowBrowser\` option to \`true\`, e.g.,
|
|
51
|
+
|
|
52
|
+
new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
|
|
53
|
+
`);this.baseURL=i.baseURL,this._baseURLIsExplicit=n.__baseURLIsExplicit??!!e,this.timeout=i.timeout??XE.DEFAULT_TIMEOUT,this.logger=i.logger??console;let o="warn";this.logLevel=o,this.logLevel=Ym(i.logLevel,"ClientOptions.logLevel",this)??Ym(Ee("ANTHROPIC_LOG"),"process.env['ANTHROPIC_LOG']",this)??o,this.fetchOptions=i.fetchOptions,this.maxRetries=i.maxRetries??2,this.fetch=i.fetch??WR(),L(this,Kd,KR,"f");let s=Ee("ANTHROPIC_CUSTOM_HEADERS");if(s){let c={};for(let u of s.split(`
|
|
54
|
+
`)){let l=u.indexOf(":");if(l>=0)c[u.substring(0,l).trim()]=u.substring(l+1).trim()}i.defaultHeaders={...c,...i.defaultHeaders}}let a=n.__auth;if(delete i.__auth,delete i.__baseURLIsExplicit,this._options=i,this.apiKey=typeof t==="string"?t:null,this.authToken=r,a){if(this._authState=a,!this._baseURLIsExplicit&&a.baseURL)this.baseURL=a.baseURL}else if(this._authState={provider:null,tokenCache:null,resolution:null,error:null,extraHeaders:{}},this.apiKey==null&&this.authToken==null){let c=i.credentials??null;if(c)this._authState.provider=c,this._authState.tokenCache=this._makeTokenCache(c);else if(i.config!=null){let u=Wm(i.config,this._credentialResolverOptions());this._authState.provider=u.provider,this._authState.tokenCache=this._makeTokenCache(u.provider),this._authState.extraHeaders=u.extraHeaders,this._applyCredentialBaseURL(u.baseURL)}else if(i.profile!=null)this._authState.resolution=this._resolveDefaultCredentials(i.profile);else this._authState.resolution=this._resolveDefaultCredentials()}}_applyCredentialBaseURL(e){if(!e)return;let t=e.replace(/\/+$/,"");if(this._authState.baseURL=t,!this._baseURLIsExplicit)this.baseURL=t}_credentialResolverOptions(){return{baseURL:this.baseURL,fetch:this.fetch,userAgent:this.getUserAgent(),onCacheWriteError:(e)=>{et(this).debug("credential cache write failed (best-effort)",e)},onSafetyWarning:(e)=>{et(this).warn(e)}}}_makeTokenCache(e){return new zm(e,(t)=>{et(this).debug("advisory token refresh failed; serving cached token",t)})}withOptions(e){let t="credentials"in e||"config"in e||"profile"in e,r="apiKey"in e||"authToken"in e||t,n={...this._options,...this._baseURLIsExplicit?{baseURL:this.baseURL}:{},maxRetries:this.maxRetries,timeout:this.timeout,logger:this.logger,logLevel:this.logLevel,fetch:this.fetch,fetchOptions:this.fetchOptions,apiKey:this.apiKey,authToken:this.authToken,credentials:this.credentials,...t?{credentials:void 0,config:void 0,profile:void 0}:{},...e,__auth:r?void 0:this._authState,__baseURLIsExplicit:"baseURL"in e?!0:this._baseURLIsExplicit};return new this.constructor(n)}async _resolveDefaultCredentials(e){try{let t=await bD(this._credentialResolverOptions(),e);if(t)this._authState.provider=t.provider,this._authState.tokenCache=this._makeTokenCache(t.provider),this._authState.extraHeaders=t.extraHeaders,this._applyCredentialBaseURL(t.baseURL);else if(e!=null)throw new O(`Profile "${e}" could not be resolved (no <config_dir>/configs/${e}.json found).`)}catch(t){this._authState.error=t}finally{this._authState.resolution=null}}defaultQuery(){return this._options.defaultQuery}validateHeaders({values:e,nulls:t}){if(e.get("x-api-key")||e.get("authorization"))return;if(this._authState.error)throw this._authState.error;if(this._authState.tokenCache||this._authState.resolution)return;if(this.apiKey&&e.get("x-api-key"))return;if(t.has("x-api-key"))return;if(this.authToken&&e.get("authorization"))return;if(t.has("authorization"))return;throw Error('Could not resolve authentication method. Expected one of apiKey, authToken, credentials, config, or profile to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted')}_authFlags(e){let t=this._requestAuthFlags.get(e);if(!t)t={usedTokenCache:!1,didRefreshFor401:!1},this._requestAuthFlags.set(e,t);return t}async authHeaders(e){if(this._authState.resolution)await this._authState.resolution;if(this._authState.error)return;if(this._authState.tokenCache&&this.apiKey==null){let t=await this._authState.tokenCache.getToken();return this._authFlags(e).usedTokenCache=!0,k([{Authorization:`Bearer ${t}`}])}return k([await this.apiKeyAuth(e),await this.bearerAuth(e)])}async apiKeyAuth(e){if(this.apiKey==null)return;return k([{"X-Api-Key":this.apiKey}])}async bearerAuth(e){if(this.authToken==null)return;return k([{Authorization:`Bearer ${this.authToken}`}])}stringifyQuery(e){return XR(e)}getUserAgent(){return`${this.constructor.name}/JS ${br}`}defaultIdempotencyKey(){return`stainless-node-retry-${Mm()}`}makeStatusError(e,t,r,n){return dt.generate(e,t,r,n)}buildURL(e,t,r){let n=!Q(this,KE,"m",nT).call(this)&&r||this.baseURL,i=GR(e)?new URL(e):new URL(n+(n.endsWith("/")&&e.startsWith("/")?e.slice(1):e)),o=this.defaultQuery(),s=Object.fromEntries(i.searchParams);if(!Pm(o)||!Pm(s))t={...s,...o,...t};if(typeof t==="object"&&t&&!Array.isArray(t))i.search=this.stringifyQuery(t);return i.toString()}_calculateNonstreamingTimeout(e){if(3600*e/128000>600)throw new O("Streaming is required for operations that may take longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#streaming-responses for more details");return 600000}async prepareOptions(e){}async prepareRequest(e,{url:t,options:r}){if(this._authState.tokenCache&&this.apiKey==null){let n=e.headers instanceof Headers?e.headers:new Headers(e.headers);for(let[o,s]of Object.entries(this._authState.extraHeaders))if(!n.has(o))n.set(o,s);if(!n.get("anthropic-beta")?.split(",").map((o)=>o.trim())?.includes(oo))n.append("anthropic-beta",oo);e.headers=n}}get(e,t){return this.methodRequest("get",e,t)}post(e,t){return this.methodRequest("post",e,t)}patch(e,t){return this.methodRequest("patch",e,t)}put(e,t){return this.methodRequest("put",e,t)}delete(e,t){return this.methodRequest("delete",e,t)}methodRequest(e,t,r){return this.request(Promise.resolve(r).then((n)=>({method:e,path:t,...n})))}request(e,t=null){return new so(this,this.makeRequest(e,t,void 0))}async makeRequest(e,t,r){let n=await e,i=n.maxRetries??this.maxRetries;if(t==null)t=i,this._requestAuthFlags.delete(n);await this.prepareOptions(n);let{req:o,url:s,timeout:a}=await this.buildRequest(n,{retryCount:i-t});await this.prepareRequest(o,{url:s,options:n});let c="log_"+(Math.random()*16777216|0).toString(16).padStart(6,"0"),u=r===void 0?"":`, retryOf: ${r}`,l=Date.now();if(et(this).debug(`[${c}] sending request`,_n({retryOfRequestLogID:r,method:n.method,url:s,options:n,headers:o.headers})),n.signal?.aborted)throw new vt;let d=new AbortController,A=await this.fetchWithTimeout(s,o,a,d).catch(Fc),p=Date.now();if(A instanceof globalThis.Error){let g=`retrying, ${t} attempts remaining`;if(n.signal?.aborted)throw new vt;let m=kn(A)||/timed? ?out/i.test(String(A)+("cause"in A?String(A.cause):""));if(t)return et(this).info(`[${c}] connection ${m?"timed out":"failed"} - ${g}`),et(this).debug(`[${c}] connection ${m?"timed out":"failed"} (${g})`,_n({retryOfRequestLogID:r,url:s,durationMs:p-l,message:A.message})),this.retryRequest(n,t,r??c);if(et(this).info(`[${c}] connection ${m?"timed out":"failed"} - error; no more retries left`),et(this).debug(`[${c}] connection ${m?"timed out":"failed"} (error; no more retries left)`,_n({retryOfRequestLogID:r,url:s,durationMs:p-l,message:A.message})),m)throw new Uc;throw new io({cause:A})}let f=[...A.headers.entries()].filter(([g])=>g==="request-id").map(([g,m])=>", "+g+": "+JSON.stringify(m)).join(""),h=`[${c}${u}${f}] ${o.method} ${s} ${A.ok?"succeeded":"failed"} with status ${A.status} in ${p-l}ms`;if(!A.ok){let g=await this.shouldRetry(A,n);if(t&&g){let x=`retrying, ${t} attempts remaining`;return await ZR(A.body),et(this).info(`${h} - ${x}`),et(this).debug(`[${c}] response error (${x})`,_n({retryOfRequestLogID:r,url:A.url,status:A.status,headers:A.headers,durationMs:p-l})),this.retryRequest(n,t,r??c,A.headers)}let m=g?"error; no more retries left":"error; not retryable";et(this).info(`${h} - ${m}`);let S=await A.text().catch((x)=>Fc(x).message),b=Ed(S),I=b?void 0:S;throw et(this).debug(`[${c}] response error (${m})`,_n({retryOfRequestLogID:r,url:A.url,status:A.status,headers:A.headers,message:I,durationMs:Date.now()-l})),this.makeStatusError(A.status,b,I,A.headers)}return et(this).info(h),et(this).debug(`[${c}] response start`,_n({retryOfRequestLogID:r,url:A.url,status:A.status,headers:A.headers,durationMs:p-l})),{response:A,options:n,controller:d,requestLogID:c,retryOfRequestLogID:r,startTime:l}}getAPIList(e,t,r){return this.requestAPIList(t,r&&"then"in r?r.then((n)=>({method:"get",path:e,...n})):{method:"get",path:e,...r})}requestAPIList(e,t){let r=this.makeRequest(t,null,void 0);return new Dd(this,r,e)}async fetchWithTimeout(e,t,r,n){let{signal:i,method:o,...s}=t||{},a=this._makeAbort(n);if(i)i.addEventListener("abort",a,{once:!0});let c=setTimeout(a,r),u=globalThis.ReadableStream&&s.body instanceof globalThis.ReadableStream||typeof s.body==="object"&&s.body!==null&&Symbol.asyncIterator in s.body,l={signal:n.signal,...u?{duplex:"half"}:{},method:"GET",...s};if(o)l.method=o.toUpperCase();try{return await this.fetch.call(void 0,e,l)}finally{clearTimeout(c)}}async shouldRetry(e,t){let r=this._authFlags(t);if(e.status===401&&this._authState.tokenCache&&r.usedTokenCache&&!r.didRefreshFor401)return r.didRefreshFor401=!0,this._authState.tokenCache.invalidate(),!0;let n=e.headers.get("x-should-retry");if(n==="true")return!0;if(n==="false")return!1;if(e.status===408)return!0;if(e.status===409)return!0;if(e.status===429)return!0;if(e.status>=500)return!0;return!1}async retryRequest(e,t,r,n){let i,o=n?.get("retry-after-ms");if(o){let a=parseFloat(o);if(!Number.isNaN(a))i=a}let s=n?.get("retry-after");if(s&&!i){let a=parseFloat(s);if(!Number.isNaN(a))i=a*1000;else i=Date.parse(s)-Date.now()}if(i===void 0){let a=e.maxRetries??this.maxRetries;i=this.calculateDefaultRetryTimeoutMillis(t,a)}return await jR(i),this.makeRequest(e,t-1,r)}calculateDefaultRetryTimeoutMillis(e,t){let i=t-e,o=Math.min(0.5*Math.pow(2,i),8),s=1-Math.random()*0.25;return o*s*1000}calculateNonstreamingTimeout(e,t){if(3600000*e/128000>600000||t!=null&&e>t)throw new O("Streaming is required for operations that may take longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#long-requests for more details");return 600000}async buildRequest(e,{retryCount:t=0}={}){let r={...e},{method:n,path:i,query:o,defaultBaseURL:s}=r;if(this._authState.resolution)await this._authState.resolution;if(!this._baseURLIsExplicit&&this._authState.baseURL&&this.baseURL!==this._authState.baseURL)this.baseURL=this._authState.baseURL;let a=this.buildURL(i,o,s);if("timeout"in r)zR("timeout",r.timeout);r.timeout=r.timeout??this.timeout;let{bodyHeaders:c,body:u}=this.buildBody({options:r}),l=await this.buildHeaders({options:e,method:n,bodyHeaders:c,retryCount:t});return{req:{method:n,headers:l,...r.signal&&{signal:r.signal},...globalThis.ReadableStream&&u instanceof globalThis.ReadableStream&&{duplex:"half"},...u&&{body:u},...this.fetchOptions??{},...r.fetchOptions??{}},url:a,timeout:r.timeout}}async buildHeaders({options:e,method:t,bodyHeaders:r,retryCount:n}){let i={};if(this.idempotencyHeader&&t!=="get"){if(!e.idempotencyKey)e.idempotencyKey=this.defaultIdempotencyKey();i[this.idempotencyHeader]=e.idempotencyKey}let o=k([i,{Accept:"application/json","User-Agent":this.getUserAgent(),"X-Stainless-Retry-Count":String(n),...e.timeout?{"X-Stainless-Timeout":String(Math.trunc(e.timeout/1000))}:{},...jc(),...this._options.dangerouslyAllowBrowser?{"anthropic-dangerous-direct-browser-access":"true"}:void 0,"anthropic-version":"2023-06-01"},await this.authHeaders(e),this._options.defaultHeaders,r,e.headers]);return this.validateHeaders(o),o.values}_makeAbort(e){return()=>e.abort()}buildBody({options:{body:e,headers:t}}){if(!e)return{bodyHeaders:void 0,body:void 0};let r=k([t]);if(ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof DataView||typeof e==="string"&&r.values.has("content-type")||globalThis.Blob&&e instanceof globalThis.Blob||e instanceof FormData||e instanceof URLSearchParams||globalThis.ReadableStream&&e instanceof globalThis.ReadableStream)return{bodyHeaders:void 0,body:e};else if(typeof e==="object"&&((Symbol.asyncIterator in e)||(Symbol.iterator in e)&&("next"in e)&&typeof e.next==="function"))return{bodyHeaders:void 0,body:Cd(e)};else if(typeof e==="object"&&r.values.get("content-type")==="application/x-www-form-urlencoded")return{bodyHeaders:{"content-type":"application/x-www-form-urlencoded"},body:this.stringifyQuery(e)};else return Q(this,Kd,"f").call(this,{body:e,headers:r})}}var KE,XE,Kd,nT,iT="\\n\\nHuman:",oT="\\n\\nAssistant:",go;var eI=y(()=>{Sn();pi();Id();Gm();xt();ys();sD();QD();We();sE();rT();_d();PE();ZE();OE();WE();Id();Me();qc();pi();XE=Ze,Kd=new WeakMap,KE=new WeakSet,nT=function(){return this.baseURL!=="https://api.anthropic.com"};Ze.Anthropic=XE;Ze.HUMAN_PROMPT=iT;Ze.AI_PROMPT=oT;Ze.DEFAULT_TIMEOUT=600000;Ze.AnthropicError=O;Ze.APIError=dt;Ze.APIConnectionError=io;Ze.APIConnectionTimeoutError=Uc;Ze.APIUserAbortError=vt;Ze.NotFoundError=Pc;Ze.ConflictError=$c;Ze.RateLimitError=Hc;Ze.BadRequestError=Mc;Ze.AuthenticationError=Lc;Ze.InternalServerError=zc;Ze.PermissionDeniedError=Oc;Ze.UnprocessableEntityError=Gc;Ze.toFile=Td;go=class go extends Ze{constructor(){super(...arguments);this.completions=new Ns(this),this.messages=new fo(this),this.models=new Us(this),this.beta=new _t(this)}};go.Completions=Ns;go.Messages=fo;go.Models=Us;go.Beta=_t});var sT=y(()=>{eI();sE();_d();eI();We();xt()});function m9(e){return e}function Xd(e){return m9(e)}function aT(e){return e instanceof Error?e:Error(String(e))}function de(e){return e instanceof Error?e.message:String(e)}function nn(e){if(e&&typeof e==="object"&&"code"in e&&typeof e.code==="string")return e.code;return}function cT(e){return e!==null&&typeof e==="object"&&"errno"in e&&typeof e.errno==="number"}function ep(e){return nn(e)==="ENOENT"}function tI(e){return nn(e)==="EISDIR"}var Rt=y(()=>{sT()});function I9(){return E9}function st(e,t,r){let i=[];try{const n=Fe(i,$e`JSON.stringify(${e})`,0);return JSON.stringify(e,t,r)}catch(o){var s=o,a=1}finally{Ue(i,s,a)}}var Bke,E9,$e,Ii=(e,t)=>{let n=[];try{const r=Fe(n,$e`JSON.parse(${e})`,0);return typeof t>"u"?JSON.parse(e):JSON.parse(e,t)}catch(i){var o=i,s=1}finally{Ue(n,o,s)}};var Ot=y(()=>{$r();at();Bke=(()=>{let e=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(e!==void 0){let t=Number(e);if(!Number.isNaN(t)&&t>=0)return t}return 1/0})(),E9={[Symbol.dispose](){}};$e=I9});import*as X from"fs";import{lstat as C9,mkdir as y9,open as B9,readdir as b9,readFile as lT,rename as Q9,rmdir as v9,rm as x9,stat as w9,unlink as S9}from"fs/promises";function Ct(){return _9}var k9,_9;var Nn=y(()=>{ro();Rt();Ot();k9={cwd(){return process.cwd()},existsSync(e){let r=[];try{const t=Fe(r,$e`fs.existsSync(${e})`,0);return X.existsSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},async stat(e){return w9(e)},async lstat(e){return C9(e)},async readdir(e){return b9(e,{withFileTypes:!0})},async unlink(e){return S9(e)},async rmdir(e){return v9(e)},async rm(e,t){return x9(e,t)},async mkdir(e,t){try{await y9(e,{recursive:!0,...t})}catch(r){if(nn(r)!=="EEXIST")throw r}},async readFile(e,t){return lT(e,{encoding:t.encoding})},async rename(e,t){return Q9(e,t)},statSync(e){let r=[];try{const t=Fe(r,$e`fs.statSync(${e})`,0);return X.statSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},lstatSync(e){let r=[];try{const t=Fe(r,$e`fs.lstatSync(${e})`,0);return X.lstatSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},readFileSync(e,t){let n=[];try{const r=Fe(n,$e`fs.readFileSync(${e})`,0);return X.readFileSync(e,{encoding:t.encoding})}catch(i){var o=i,s=1}finally{Ue(n,o,s)}},readFileBytesSync(e){let r=[];try{const t=Fe(r,$e`fs.readFileBytesSync(${e})`,0);return X.readFileSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},readSync(e,t){let i=[];try{const r=Fe(i,$e`fs.readSync(${e}, ${t.length} bytes)`,0);let n=void 0;try{n=X.openSync(e,"r");let c=Buffer.alloc(t.length),u=X.readSync(n,c,0,t.length,0);return{buffer:c,bytesRead:u}}finally{if(n)X.closeSync(n)}}catch(o){var s=o,a=1}finally{Ue(i,s,a)}},appendFileSync(e,t,r){let i=[];try{const n=Fe(i,$e`fs.appendFileSync(${e}, ${t.length} chars)`,0);if(r?.mode!==void 0)try{let c=X.openSync(e,"ax",r.mode);try{X.appendFileSync(c,t)}finally{X.closeSync(c)}return}catch(c){if(nn(c)!=="EEXIST")throw c}X.appendFileSync(e,t)}catch(o){var s=o,a=1}finally{Ue(i,s,a)}},copyFileSync(e,t){let n=[];try{const r=Fe(n,$e`fs.copyFileSync(${e} → ${t})`,0);X.copyFileSync(e,t)}catch(i){var o=i,s=1}finally{Ue(n,o,s)}},unlinkSync(e){let r=[];try{const t=Fe(r,$e`fs.unlinkSync(${e})`,0);X.unlinkSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},renameSync(e,t){let n=[];try{const r=Fe(n,$e`fs.renameSync(${e} → ${t})`,0);X.renameSync(e,t)}catch(i){var o=i,s=1}finally{Ue(n,o,s)}},linkSync(e,t){let n=[];try{const r=Fe(n,$e`fs.linkSync(${e} → ${t})`,0);X.linkSync(e,t)}catch(i){var o=i,s=1}finally{Ue(n,o,s)}},symlinkSync(e,t,r){let i=[];try{const n=Fe(i,$e`fs.symlinkSync(${e} → ${t})`,0);X.symlinkSync(e,t,r)}catch(o){var s=o,a=1}finally{Ue(i,s,a)}},readlinkSync(e){let r=[];try{const t=Fe(r,$e`fs.readlinkSync(${e})`,0);return X.readlinkSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},realpathSync(e){let r=[];try{const t=Fe(r,$e`fs.realpathSync(${e})`,0);return xn(X.realpathSync(e))}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},mkdirSync(e,t){let i=[];try{const r=Fe(i,$e`fs.mkdirSync(${e})`,0);let n={recursive:!0};if(t?.mode!==void 0)n.mode=t.mode;try{X.mkdirSync(e,n)}catch(c){if(nn(c)!=="EEXIST")throw c}}catch(o){var s=o,a=1}finally{Ue(i,s,a)}},readdirSync(e){let r=[];try{const t=Fe(r,$e`fs.readdirSync(${e})`,0);return X.readdirSync(e,{withFileTypes:!0})}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},readdirStringSync(e){let r=[];try{const t=Fe(r,$e`fs.readdirStringSync(${e})`,0);return X.readdirSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},isDirEmptySync(e){let n=[];try{const t=Fe(n,$e`fs.isDirEmptySync(${e})`,0);let r=this.readdirSync(e);return r.length===0}catch(i){var o=i,s=1}finally{Ue(n,o,s)}},rmdirSync(e){let r=[];try{const t=Fe(r,$e`fs.rmdirSync(${e})`,0);X.rmdirSync(e)}catch(n){var i=n,o=1}finally{Ue(r,i,o)}},rmSync(e,t){let n=[];try{const r=Fe(n,$e`fs.rmSync(${e})`,0);X.rmSync(e,t)}catch(i){var o=i,s=1}finally{Ue(n,o,s)}},createWriteStream(e){return X.createWriteStream(e)},async readFileBytes(e,t){if(t===void 0)return lT(e);let r=await B9(e,"r");try{let{size:n}=await r.stat(),i=Math.min(n,t),o=Buffer.allocUnsafe(i),s=0;while(s<i){let{bytesRead:a}=await r.read(o,s,i-s,s);if(a===0)break;s+=a}return s<i?o.subarray(0,s):o}finally{await r.close()}}},_9=k9});var uT=()=>{};function R9(e,t){if(e.destroyed)return;e.write(t)}function AT(e){R9(process.stderr,e)}var dT=y(()=>{uT()});function _l(e,t){let r=e.indexOf(t);return r===-1?e:e.slice(0,r)}var Fke,Uke;var Rl=y(()=>{Fke=typeof String.prototype.isWellFormed==="function"?Function.prototype.call.bind(String.prototype.isWellFormed):void 0,Uke=typeof String.prototype.toWellFormed==="function"?Function.prototype.call.bind(String.prototype.toWellFormed):void 0});function U9(e){return F9.map((t)=>({id:t.id,confidence:t.confidence,re:new RegExp(t.source,e?(t.flags??"").replace("g","")+"g":t.flags??"")}))}function mT(e){gT??=U9(!0);for(let t of gT)e=e.replace(t.re,(r,n)=>{if(typeof n!=="string")return"[REDACTED]";let i=n.length>=2&&(n[0]==='"'||n[0]==="'")&&n.at(-1)===n[0]?n[0]:"",o=r.lastIndexOf(n);return`${r.slice(0,o)}${i}[REDACTED]${i}${r.slice(o+n.length)}`});return e}var D9,pT="[^\\s,;&}\\])]+",hT="-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----[\\s\\S-]{64,}?-----END[ A-Z0-9_-]{0,100}PRIVATE KEY(?: BLOCK)?-----",T9,fT,N9,F9,gT=null;var ET=y(()=>{Rl();D9=/api[_-]?key|secret|token|password|passwd|credential|bearer|authorization|auth[_-]?header|cookie|session[_-]?(?:id|key)|connection[_-]?string|(?:private|ssh|encryption|signing|access|deploy|master|license)[_-]?key|client[_-]?secret/i,T9=`[^\\s-]{0,4}${hT}['"\`]?`,fT=`\\[REDACTED\\]|"[^"]*"|'[^']*'|(?:Bearer|Basic)\\s+(?:\\[REDACTED\\]|${pT})|${T9}|${pT}`,N9=["sk","ant","api"].join("-"),F9=[{id:"url-userinfo",source:":\\/\\/([^/@\\s]+)@",confidence:"low"},{id:"gcp-service-account",source:"\\b([a-z0-9-]+@[a-z0-9-]+\\.iam\\.gserviceaccount\\.com)\\b",flags:"i",confidence:"low"},{id:"loose-anthropic-key",source:"\\b(sk-ant-?[\\w-]{10,})",confidence:"low"},{id:"http-auth-scheme",source:"\\b(?:Bearer|Basic)\\s+([A-Za-z0-9+/=._~-]{20,})",flags:"i",confidence:"low"},{id:"loose-jwt",source:"\\b(eyJ[A-Za-z0-9_-]{10,}\\.[A-Za-z0-9_-]{10,}\\.[A-Za-z0-9_-]{10,})",confidence:"low"},{id:"sensitive-assign",source:`(?:${D9.source})[\\w.-]*["']?\\s*[=:]\\s*(${fT})`,flags:"i",confidence:"low"},{id:"cloud-env-var",source:`\\b(?:AWS|GOOGLE|GCP|GCLOUD|AZURE)_\\w+\\s*[=:]\\s*(${fT})`,flags:"i",confidence:"low"},{id:"aws-access-token",source:"\\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z2-7]{16})\\b",confidence:"high"},{id:"gcp-api-key",source:`\\b(AIza[\\w-]{35})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"azure-ad-client-secret",source:`(?:^|[\\\\'"\\x60\\s>=:(,)])([a-zA-Z0-9_~.]{3}\\dQ~[a-zA-Z0-9_~.-]{31,34})(?:$|[\\\\'"\\x60\\s<),])`,confidence:"high"},{id:"digitalocean-pat",source:`\\b(dop_v1_[a-f0-9]{64})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"digitalocean-access-token",source:`\\b(doo_v1_[a-f0-9]{64})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"anthropic-api-key",source:`\\b(${N9}03-[a-zA-Z0-9_\\-]{93}AA)(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"anthropic-admin-api-key",source:`\\b(sk-ant-admin01-[a-zA-Z0-9_\\-]{93}AA)(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"openai-api-key",source:`\\b(sk-(?:proj|svcacct|admin)-(?:[A-Za-z0-9_-]{74}|[A-Za-z0-9_-]{58})T3BlbkFJ(?:[A-Za-z0-9_-]{74}|[A-Za-z0-9_-]{58})\\b|sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"huggingface-access-token",source:`\\b(hf_[a-zA-Z]{34})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"github-pat",source:"ghp_[0-9a-zA-Z]{36}",confidence:"high"},{id:"github-fine-grained-pat",source:"github_pat_\\w{82}",confidence:"high"},{id:"github-app-token",source:"(?:ghu|ghs)_[0-9a-zA-Z]{36}",confidence:"high"},{id:"github-oauth",source:"gho_[0-9a-zA-Z]{36}",confidence:"high"},{id:"github-refresh-token",source:"ghr_[0-9a-zA-Z]{36}",confidence:"high"},{id:"gitlab-pat",source:"glpat-[\\w-]{20}",confidence:"high"},{id:"gitlab-deploy-token",source:"gldt-[0-9a-zA-Z_\\-]{20}",confidence:"high"},{id:"slack-bot-token",source:"xoxb-[0-9]{10,13}-[0-9]{10,13}[a-zA-Z0-9-]*",confidence:"high"},{id:"slack-user-token",source:"xox[pe](?:-[0-9]{10,13}){3}-[a-zA-Z0-9-]{28,34}",confidence:"high"},{id:"slack-app-token",source:"xapp-\\d-[A-Z0-9]+-\\d+-[a-z0-9]+",flags:"i",confidence:"high"},{id:"twilio-api-key",source:"SK[0-9a-fA-F]{32}",confidence:"high"},{id:"sendgrid-api-token",source:`\\b(SG\\.[a-zA-Z0-9=_\\-.]{66})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"npm-access-token",source:`\\b(npm_[a-zA-Z0-9]{36})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"pypi-upload-token",source:"pypi-AgEIcHlwaS5vcmc[\\w-]{50,1000}",confidence:"high"},{id:"databricks-api-token",source:`\\b(dapi[a-f0-9]{32}(?:-\\d)?)(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"hashicorp-tf-api-token",source:"[a-zA-Z0-9]{14}\\.atlasv1\\.[a-zA-Z0-9\\-_=]{60,70}",confidence:"high"},{id:"pulumi-api-token",source:`\\b(pul-[a-f0-9]{40})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"postman-api-token",source:`\\b(PMAK-[a-fA-F0-9]{24}-[a-fA-F0-9]{34})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"grafana-api-key",source:`\\b(eyJrIjoi[A-Za-z0-9+/]{70,400}={0,3})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"grafana-cloud-api-token",source:`\\b(glc_[A-Za-z0-9+/]{32,400}={0,3})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"grafana-service-account-token",source:`\\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"sentry-user-token",source:`\\b(sntryu_[a-f0-9]{64})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"sentry-org-token",source:"\\bsntrys_eyJpYXQiO[a-zA-Z0-9+/]{10,200}(?:LCJyZWdpb25fdXJs|InJlZ2lvbl91cmwi|cmVnaW9uX3VybCI6)[a-zA-Z0-9+/]{10,200}={0,2}_[a-zA-Z0-9+/]{43}",confidence:"high"},{id:"stripe-access-token",source:`\\b((?:sk|rk)_(?:test|live|prod)_[a-zA-Z0-9]{10,99})(?:[\\x60'"\\s;]|\\\\[nr]|$)`,confidence:"high"},{id:"shopify-access-token",source:"shpat_[a-fA-F0-9]{32}",confidence:"high"},{id:"shopify-shared-secret",source:"shpss_[a-fA-F0-9]{32}",confidence:"high"},{id:"private-key",source:hT,flags:"i",confidence:"high"}]});import{appendFile as IT,mkdir as M9,rename as CT,stat as L9,symlink as O9,unlink as iI}from"fs/promises";import{dirname as BT,join as lI,resolve as P9}from"path";function rp(){if(typeof process>"u"||!Array.isArray(process.argv))return[];let e=process.argv.indexOf("--");return e===-1?process.argv:process.argv.slice(0,e)}function yT(e){return FR(e)?null:P9(e)}function z9(e){if(!sI())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let t=H9();return OR(e,t)}async function vT(e,t,r=Y9){if(Dl<0)Dl=await L9(e).then((n)=>n.size).catch(()=>0);else Dl+=t;if(Dl<=r||nI)return;nI=!0;try{let n=e.endsWith(".txt")?`${e.slice(0,-4)}.1.txt`:`${e}.1`;try{await CT(e,n)}catch(i){if(!ep(i))await iI(n).catch(()=>{}),await CT(e,n).catch(()=>iI(e).catch(()=>{}))}Dl=0}finally{nI=!1}}function xT(e){return aI=lI(e,`${Tc()}.txt`),aI}async function J9(e,t,r,n){if(e)await M9(t,{recursive:!0}).catch(()=>{});let i=r;try{await IT(r,n)}catch(o){if(!tI(o))throw o;i=xT(r),await IT(i,n)}await vT(i,Buffer.byteLength(n)).catch(cI),ST()}function cI(){}function q9(){if(!tp){let e=null;tp=UR({writeFn:(t)=>{let r=wT(),n=BT(r),i=e!==n;if(e=n,sI()){if(i)try{Ct().mkdirSync(n)}catch{}let o=r;try{Ct().appendFileSync(r,t)}catch(s){if(!tI(s))throw s;o=xT(r),Ct().appendFileSync(o,t)}vT(o,Buffer.byteLength(t)).catch(cI),ST();return}rI=rI.then(J9.bind(null,i,n,r,t)).catch(cI)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:sI()}),Nc(async()=>{tp?.dispose(),await rI})}return tp}function w(e,{level:t}={level:"debug"}){if(oI[t]<oI[$9()])return;if(!z9(e))return;if(j9&&e.includes(`
|
|
55
|
+
`))e=st(e);let n=`${new Date().toISOString()} [${t.toUpperCase()}] ${mT(e.trim())}
|
|
56
|
+
`;if(bT()){AT(n);return}q9().write(n)}function wT(){return QT()??aI??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??lI($R(),"debug",`${Tc()}.txt`)}var oI,$9,G9=!1,sI,H9,bT,QT,j9=!1,Y9=10485760,tp=null,rI,Dl=-1,nI=!1,aI=null,ST;var at=y(()=>{vn();$r();ro();hd();PR();wn();Rt();Nn();dT();ET();Ot();oI={verbose:0,debug:1,info:2,warn:3,error:4},$9=Pe(()=>{let e=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(e&&Object.hasOwn(oI,e))return e;return"debug"});sI=Pe(()=>{let e=rp();return G9||Ve(process.env.DEBUG)||Ve(process.env.DEBUG_SDK)||e.includes("--debug")||e.includes("-d")||bT()||e.some((t)=>t.startsWith("--debug="))||QT()!==null}),H9=Pe(()=>{let e=rp().find((r)=>r.startsWith("--debug="));if(!e)return null;let t=e.substring(8);return LR(t)}),bT=Pe(()=>{let e=rp();return e.includes("--debug-to-stderr")||e.includes("-d2e")}),QT=Pe(()=>{let e=rp();for(let t=0;t<e.length;t++){let r=e[t];if(r.startsWith("--debug-file="))return yT(r.substring(13));if(r==="--debug-file"&&t+1<e.length)return yT(e[t+1])}return null});rI=Promise.resolve();ST=Pe(async()=>{try{let e=wT(),t=BT(e),r=lI(t,"latest");await iI(r).catch(()=>{}),await O9(e,r)}catch{}})});function V9(){return{eventQueue:[],sink:null}}function on(e,t){let r=W9;if(r.sink===null){r.eventQueue.push({eventName:e,metadata:t,async:!1});return}r.sink.logEvent(e,t)}var W9;var Ls=y(()=>{W9=V9()});var TT=C((u_e,DT)=>{DT.exports=RT;RT.sync=X9;var kT=v("fs");function K9(e,t){var r=t.pathExt!==void 0?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(r=r.split(";"),r.indexOf("")!==-1)return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}function _T(e,t,r){if(!e.isSymbolicLink()&&!e.isFile())return!1;return K9(t,r)}function RT(e,t,r){kT.stat(e,function(n,i){r(n,n?!1:_T(i,e,t))})}function X9(e,t){return _T(kT.statSync(e),e,t)}});var LT=C((A_e,MT)=>{MT.exports=FT;FT.sync=e8;var NT=v("fs");function FT(e,t,r){NT.stat(e,function(n,i){r(n,n?!1:UT(i,t))})}function e8(e,t){return UT(NT.statSync(e),t)}function UT(e,t){return e.isFile()&&t8(e,t)}function t8(e,t){var{mode:r,uid:n,gid:i}=e,o=t.uid!==void 0?t.uid:process.getuid&&process.getuid(),s=t.gid!==void 0?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),u=parseInt("001",8),l=a|c,d=r&u||r&c&&i===s||r&a&&n===o||r&l&&o===0;return d}});var PT=C((p_e,OT)=>{var d_e=v("fs"),np;if(process.platform==="win32"||global.TESTING_WINDOWS)np=TT();else np=LT();OT.exports=AI;AI.sync=r8;function AI(e,t,r){if(typeof t==="function")r=t,t={};if(!r){if(typeof Promise!=="function")throw TypeError("callback not provided");return new Promise(function(n,i){AI(e,t||{},function(o,s){if(o)i(o);else n(s)})})}np(e,t||{},function(n,i){if(n){if(n.code==="EACCES"||t&&t.ignoreErrors)n=null,i=!1}r(n,i)})}function r8(e,t){try{return np.sync(e,t||{})}catch(r){if(t&&t.ignoreErrors||r.code==="EACCES")return!1;else throw r}}});var JT=C((f_e,YT)=>{var Os=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",$T=v("path"),n8=Os?";":":",GT=PT(),HT=(e)=>Object.assign(Error(`not found: ${e}`),{code:"ENOENT"}),zT=(e,t)=>{let r=t.colon||n8,n=e.match(/\//)||Os&&e.match(/\\/)?[""]:[...Os?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],i=Os?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=Os?i.split(r):[""];if(Os){if(e.indexOf(".")!==-1&&o[0]!=="")o.unshift("")}return{pathEnv:n,pathExt:o,pathExtExe:i}},jT=(e,t,r)=>{if(typeof t==="function")r=t,t={};if(!t)t={};let{pathEnv:n,pathExt:i,pathExtExe:o}=zT(e,t),s=[],a=(u)=>new Promise((l,d)=>{if(u===n.length)return t.all&&s.length?l(s):d(HT(e));let A=n[u],p=/^".*"$/.test(A)?A.slice(1,-1):A,f=$T.join(p,e),h=!p&&/^\.[\\\/]/.test(e)?e.slice(0,2)+f:f;l(c(h,u,0))}),c=(u,l,d)=>new Promise((A,p)=>{if(d===i.length)return A(a(l+1));let f=i[d];GT(u+f,{pathExt:o},(h,g)=>{if(!h&&g)if(t.all)s.push(u+f);else return A(u+f);return A(c(u,l,d+1))})});return r?a(0).then((u)=>r(null,u),r):a(0)},i8=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:i}=zT(e,t),o=[];for(let s=0;s<r.length;s++){let a=r[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=$T.join(c,e),l=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let d=0;d<n.length;d++){let A=l+n[d];try{if(GT.sync(A,{pathExt:i}))if(t.all)o.push(A);else return A}catch(p){}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw HT(e)};YT.exports=jT;jT.sync=i8});var VT=C((g_e,dI)=>{var qT=(e={})=>{let t=e.env||process.env;if((e.platform||process.platform)!=="win32")return"PATH";return Object.keys(t).reverse().find((n)=>n.toUpperCase()==="PATH")||"Path"};dI.exports=qT;dI.exports.default=qT});var XT=C((h_e,KT)=>{var WT=v("path"),o8=JT(),s8=VT();function ZT(e,t){let r=e.options.env||process.env,n=process.cwd(),i=e.options.cwd!=null,o=i&&process.chdir!==void 0&&!process.chdir.disabled;if(o)try{process.chdir(e.options.cwd)}catch(a){}let s;try{s=o8.sync(e.command,{path:r[s8({env:r})],pathExt:t?WT.delimiter:void 0})}catch(a){}finally{if(o)process.chdir(n)}if(s)s=WT.resolve(i?e.options.cwd:"",s);return s}function a8(e){return ZT(e)||ZT(e,!0)}KT.exports=a8});var eN=C((u8,fI)=>{var pI=/([()\][%!^"`<>&|;, *?])/g;function c8(e){return e=e.replace(pI,"^$1"),e}function l8(e,t){if(e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,"$1$1\\\""),e=e.replace(/(?=(\\+?)?)\1$/,"$1$1"),e=`"${e}"`,e=e.replace(pI,"^$1"),t)e=e.replace(pI,"^$1");return e}u8.command=c8;u8.argument=l8});var rN=C((m_e,tN)=>{tN.exports=/^#!(.*)/});var iN=C((E_e,nN)=>{var p8=rN();nN.exports=(e="")=>{let t=e.match(p8);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();if(i==="env")return n;return n?`${i} ${n}`:i}});var sN=C((I_e,oN)=>{var gI=v("fs"),f8=iN();function g8(e){let r=Buffer.alloc(150),n;try{n=gI.openSync(e,"r"),gI.readSync(n,r,0,150,0),gI.closeSync(n)}catch(i){}return f8(r.toString())}oN.exports=g8});var uN=C((C_e,lN)=>{var h8=v("path"),aN=XT(),cN=eN(),m8=sN(),E8=process.platform==="win32",I8=/\.(?:com|exe)$/i,C8=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function y8(e){e.file=aN(e);let t=e.file&&m8(e.file);if(t)return e.args.unshift(e.file),e.command=t,aN(e);return e.file}function B8(e){if(!E8)return e;let t=y8(e),r=!I8.test(t);if(e.options.forceShell||r){let n=C8.test(t);e.command=h8.normalize(e.command),e.command=cN.command(e.command),e.args=e.args.map((o)=>cN.argument(o,n));let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function b8(e,t,r){if(t&&!Array.isArray(t))r=t,t=null;t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:B8(n)}lN.exports=b8});var pN=C((y_e,dN)=>{var hI=process.platform==="win32";function mI(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function Q8(e,t){if(!hI)return;let r=e.emit;e.emit=function(n,i){if(n==="exit"){let o=AN(i,t);if(o)return r.call(e,"error",o)}return r.apply(e,arguments)}}function AN(e,t){if(hI&&e===1&&!t.file)return mI(t.original,"spawn");return null}function v8(e,t){if(hI&&e===1&&!t.file)return mI(t.original,"spawnSync");return null}dN.exports={hookChildProcess:Q8,verifyENOENT:AN,verifyENOENTSync:v8,notFoundError:mI}});var hN=C((B_e,Ps)=>{var fN=v("child_process"),EI=uN(),II=pN();function gN(e,t,r){let n=EI(e,t,r),i=fN.spawn(n.command,n.args,n.options);return II.hookChildProcess(i,n),i}function x8(e,t,r){let n=EI(e,t,r),i=fN.spawnSync(n.command,n.args,n.options);return i.error=i.error||II.verifyENOENTSync(i.status,n),i}Ps.exports=gN;Ps.exports.spawn=gN;Ps.exports.sync=x8;Ps.exports._parse=EI;Ps.exports._enoent=II});function CI(e){let t=typeof e==="string"?`
|
|
57
|
+
`:`
|
|
58
|
+
`.charCodeAt(),r=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===t)e=e.slice(0,-1);if(e[e.length-1]===r)e=e.slice(0,-1);return e}function ip(e={}){let{env:t=process.env,platform:r=process.platform}=e;if(r!=="win32")return"PATH";return Object.keys(t).reverse().find((n)=>n.toUpperCase()==="PATH")||"Path"}import op from"node:process";import Tl from"node:path";import{fileURLToPath as mN}from"node:url";var w8=({cwd:e=op.cwd(),path:t=op.env[ip()],preferLocal:r=!0,execPath:n=op.execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?mN(e):e,s=Tl.resolve(o),a=[];if(r)S8(a,s);if(i)k8(a,n,s);return[...a,t].join(Tl.delimiter)},S8=(e,t)=>{let r;while(r!==t)e.push(Tl.join(t,"node_modules/.bin")),r=t,t=Tl.resolve(t,"..")},k8=(e,t,r)=>{let n=t instanceof URL?mN(t):t;e.push(Tl.resolve(r,n,".."))},EN=({env:e=op.env,...t}={})=>{e={...e};let r=ip({env:e});return t.path=e[r],e[r]=w8(t),e};var IN=()=>{};function yI(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let i of Reflect.ownKeys(t))_8(e,t,i,r);return D8(e,t),U8(e,t,n),e}var _8=(e,t,r,n)=>{if(r==="length"||r==="prototype")return;if(r==="arguments"||r==="caller")return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);if(!R8(i,o)&&n)return;Object.defineProperty(e,r,o)},R8=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},D8=(e,t)=>{let r=Object.getPrototypeOf(t);if(r===Object.getPrototypeOf(e))return;Object.setPrototypeOf(e,r)},T8=(e,t)=>`/* Wrapped ${e}*/
|
|
59
|
+
${t}`,N8,F8,U8=(e,t,r)=>{let n=r===""?"":`with ${r.trim()}() `,i=T8.bind(null,n,t.toString());Object.defineProperty(i,"name",F8),Object.defineProperty(e,"toString",{...N8,value:i})};var CN=y(()=>{N8=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),F8=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name")});var sp,yN=(e,t={})=>{if(typeof e!=="function")throw TypeError("Expected a function");let r,n=0,i=e.displayName||e.name||"<anonymous>",o=function(...s){if(sp.set(o,++n),n===1)r=e.apply(this,s),e=null;else if(t.throw===!0)throw Error(`Function \`${i}\` can only be called once`);return r};return yI(o,e),sp.set(o,n),o},BN;var bN=y(()=>{CN();sp=new WeakMap;yN.callCount=(e)=>{if(!sp.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return sp.get(e)};BN=yN});var QN=()=>{let e=BI-vN+1;return Array.from({length:e},M8)},M8=(e,t)=>({name:`SIGRT${t+1}`,number:vN+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),vN=34,BI=64;var xN;var wN=y(()=>{xN=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}]});import{constants as L8}from"node:os";var bI=()=>{let e=QN();return[...xN,...e].map(O8)},O8=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=L8,a=s!==void 0;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o}};var SN=y(()=>{wN()});import{constants as P8}from"node:os";var $8=()=>{let e=bI();return Object.fromEntries(e.map(G8))},G8=({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}],kN,H8=()=>{let e=bI(),t=BI+1,r=Array.from({length:t},(n,i)=>z8(i,e));return Object.assign({},...r)},z8=(e,t)=>{let r=j8(e,t);if(r===void 0)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:c}}},j8=(e,t)=>{let r=t.find(({name:n})=>P8.signals[n]===e);if(r!==void 0)return r;return t.find((n)=>n.number===e)},G_e;var _N=y(()=>{SN();kN=$8(),G_e=H8()});import Y8 from"node:process";var J8=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>{if(e)return`timed out after ${t} milliseconds`;if(s)return"was canceled";if(r!==void 0)return`failed with ${r}`;if(n!==void 0)return`was killed with ${n} (${i})`;if(o!==void 0)return`failed with exit code ${o}`;return"failed"},Nl=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:c,isCanceled:u,killed:l,parsed:{options:{timeout:d,cwd:A=Y8.cwd()}}})=>{o=o===null?void 0:o,i=i===null?void 0:i;let p=i===void 0?void 0:kN[i].description,f=n&&n.code,g=`Command ${J8({timedOut:c,timeout:d,errorCode:f,signal:i,signalDescription:p,exitCode:o,isCanceled:u})}: ${s}`,m=Object.prototype.toString.call(n)==="[object Error]",S=m?`${g}
|
|
60
|
+
${n.message}`:g,b=[S,t,e].filter(Boolean).join(`
|
|
61
|
+
`);if(m)n.originalMessage=n.message,n.message=b;else n=Error(b);if(n.shortMessage=S,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=p,n.stdout=e,n.stderr=t,n.cwd=A,r!==void 0)n.all=r;if("bufferedData"in n)delete n.bufferedData;return n.failed=!0,n.timedOut=Boolean(c),n.isCanceled=u,n.killed=l&&!c,n};var RN=y(()=>{_N()});var ap,q8=(e)=>ap.some((t)=>e[t]!==void 0),DN=(e)=>{if(!e)return;let{stdio:t}=e;if(t===void 0)return ap.map((n)=>e[n]);if(q8(e))throw Error(`It's not possible to provide \`stdio\` in combination with one of ${ap.map((n)=>`\`${n}\``).join(", ")}`);if(typeof t==="string")return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,ap.length);return Array.from({length:r},(n,i)=>t[i])};var TN=y(()=>{ap=["stdin","stdout","stderr"]});var ho;var NN=y(()=>{ho=[];ho.push("SIGHUP","SIGINT","SIGTERM");if(process.platform!=="win32")ho.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");if(process.platform==="linux")ho.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT")});class FN{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(vI[QI])return vI[QI];V8(vI,QI,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){let r=this.listeners[e],n=r.indexOf(t);if(n===-1)return;if(n===0&&r.length===1)r.length=0;else r.splice(n,1)}emit(e,t,r){if(this.emitted[e])return!1;this.emitted[e]=!0;let n=!1;for(let i of this.listeners[e])n=i(t,r)===!0||n;if(e==="exit")n=this.emit("afterExit",t,r)||n;return n}}class wI{}var cp=(e)=>!!e&&typeof e==="object"&&typeof e.removeListener==="function"&&typeof e.emit==="function"&&typeof e.reallyExit==="function"&&typeof e.listeners==="function"&&typeof e.kill==="function"&&typeof e.pid==="number"&&typeof e.on==="function",QI,vI,V8,W8=(e)=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}}),UN,MN,xI,LN,W_e,Z_e;var ON=y(()=>{NN();QI=Symbol.for("signal-exit emitter"),vI=globalThis,V8=Object.defineProperty.bind(Object);UN=class UN extends wI{onExit(){return()=>{}}load(){}unload(){}};MN=class MN extends wI{#e=xI.platform==="win32"?"SIGINT":"SIGHUP";#t=new FN;#r;#n;#i;#a={};#o=!1;constructor(e){super();this.#r=e,this.#a={};for(let t of ho)this.#a[t]=()=>{let r=this.#r.listeners(t),{count:n}=this.#t,i=e;if(typeof i.__signal_exit_emitter__==="object"&&typeof i.__signal_exit_emitter__.count==="number")n+=i.__signal_exit_emitter__.count;if(r.length===n){this.unload();let o=this.#t.emit("exit",null,t),s=t==="SIGHUP"?this.#e:t;if(!o)e.kill(e.pid,s)}};this.#i=e.reallyExit,this.#n=e.emit}onExit(e,t){if(!cp(this.#r))return()=>{};if(this.#o===!1)this.load();let r=t?.alwaysLast?"afterExit":"exit";return this.#t.on(r,e),()=>{if(this.#t.removeListener(r,e),this.#t.listeners.exit.length===0&&this.#t.listeners.afterExit.length===0)this.unload()}}load(){if(this.#o)return;this.#o=!0,this.#t.count+=1;for(let e of ho)try{let t=this.#a[e];if(t)this.#r.on(e,t)}catch(t){}this.#r.emit=(e,...t)=>this.#A(e,...t),this.#r.reallyExit=(e)=>this.#u(e)}unload(){if(!this.#o)return;this.#o=!1,ho.forEach((e)=>{let t=this.#a[e];if(!t)throw Error("Listener not defined for signal: "+e);try{this.#r.removeListener(e,t)}catch(r){}}),this.#r.emit=this.#n,this.#r.reallyExit=this.#i,this.#t.count-=1}#u(e){if(!cp(this.#r))return 0;return this.#r.exitCode=e||0,this.#t.emit("exit",this.#r.exitCode,null),this.#i.call(this.#r,this.#r.exitCode)}#A(e,...t){let r=this.#n;if(e==="exit"&&cp(this.#r)){if(typeof t[0]==="number")this.#r.exitCode=t[0];let n=r.call(this.#r,e,...t);return this.#t.emit("exit",this.#r.exitCode,null),n}else return r.call(this.#r,e,...t)}};xI=globalThis.process,{onExit:LN,load:W_e,unload:Z_e}=W8(cp(xI)?new MN(xI):new UN)});import Z8 from"node:os";var K8=5000,PN=(e,t="SIGTERM",r={})=>{let n=e(t);return X8(e,t,r,n),n},X8=(e,t,r,n)=>{if(!eK(t,r,n))return;let i=rK(r),o=setTimeout(()=>{e("SIGKILL")},i);if(o.unref)o.unref()},eK=(e,{forceKillAfterTimeout:t},r)=>tK(e)&&t!==!1&&r,tK=(e)=>e===Z8.constants.signals.SIGTERM||typeof e==="string"&&e.toUpperCase()==="SIGTERM",rK=({forceKillAfterTimeout:e=!0})=>{if(e===!0)return K8;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},$N=(e,t)=>{if(e.kill())t.isCanceled=!0},nK=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))},GN=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{if(t===0||t===void 0)return n;let i,o=new Promise((a,c)=>{i=setTimeout(()=>{nK(e,r,c)},t)}),s=n.finally(()=>{clearTimeout(i)});return Promise.race([o,s])},HN=({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},zN=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=LN(()=>{e.kill()});return n.finally(()=>{i()})};var jN=y(()=>{ON()});function lp(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"}function SI(e){return lp(e)&&e.writable!==!1&&typeof e._write==="function"&&typeof e._writableState==="object"}import{createWriteStream as iK}from"node:fs";import{ChildProcess as oK}from"node:child_process";var sK=(e)=>e instanceof oK&&typeof e.then==="function",kI=(e,t,r)=>{if(typeof r==="string")return e[t].pipe(iK(r)),e;if(SI(r))return e[t].pipe(r),e;if(!sK(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!SI(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r},YN=(e)=>{if(e.stdout!==null)e.pipeStdout=kI.bind(void 0,e,"stdout");if(e.stderr!==null)e.pipeStderr=kI.bind(void 0,e,"stderr");if(e.all!==void 0)e.pipeAll=kI.bind(void 0,e,"all")};var JN=()=>{};var Fl=async(e,{init:t,convertChunk:r,getSize:n,truncateChunk:i,addChunk:o,getFinalChunk:s,finalize:a},{maxBuffer:c=Number.POSITIVE_INFINITY}={})=>{if(!cK(e))throw Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");let u=t();u.length=0;try{for await(let l of e){let d=lK(l),A=r[d](l,u);WN({convertedChunk:A,state:u,getSize:n,truncateChunk:i,addChunk:o,maxBuffer:c})}return aK({state:u,convertChunk:r,getSize:n,truncateChunk:i,addChunk:o,getFinalChunk:s,maxBuffer:c}),a(u)}catch(l){throw l.bufferedData=a(u),l}},aK=({state:e,getSize:t,truncateChunk:r,addChunk:n,getFinalChunk:i,maxBuffer:o})=>{let s=i(e);if(s!==void 0)WN({convertedChunk:s,state:e,getSize:t,truncateChunk:r,addChunk:n,maxBuffer:o})},WN=({convertedChunk:e,state:t,getSize:r,truncateChunk:n,addChunk:i,maxBuffer:o})=>{let s=r(e),a=t.length+s;if(a<=o){qN(e,t,i,a);return}let c=n(e,o-t.length);if(c!==void 0)qN(c,t,i,o);throw new _I},qN=(e,t,r,n)=>{t.contents=r(e,t,n),t.length=n},cK=(e)=>typeof e==="object"&&e!==null&&typeof e[Symbol.asyncIterator]==="function",lK=(e)=>{let t=typeof e;if(t==="string")return"string";if(t!=="object"||e===null)return"others";if(globalThis.Buffer?.isBuffer(e))return"buffer";let r=VN.call(e);if(r==="[object ArrayBuffer]")return"arrayBuffer";if(r==="[object DataView]")return"dataView";if(Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&VN.call(e.buffer)==="[object ArrayBuffer]")return"typedArray";return"others"},VN,_I;var Ul=y(()=>{({toString:VN}=Object.prototype);_I=class _I extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}}});var RI=(e)=>e,DI=()=>{return},TI=({contents:e})=>e,up=(e)=>{throw Error(`Streams in object mode are not supported: ${String(e)}`)},Ap=(e)=>e.length;var ZN=y(()=>{Ul()});async function NI(e,t){return Fl(e,EK,t)}var uK=()=>({contents:new ArrayBuffer(0)}),AK=(e)=>dK.encode(e),dK,KN=(e)=>new Uint8Array(e),XN=(e)=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),pK=(e,t)=>e.slice(0,t),fK=(e,{contents:t,length:r},n)=>{let i=rF()?hK(t,n):gK(t,n);return new Uint8Array(i).set(e,r),i},gK=(e,t)=>{if(t<=e.byteLength)return e;let r=new ArrayBuffer(tF(t));return new Uint8Array(r).set(new Uint8Array(e),0),r},hK=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;let r=new ArrayBuffer(t,{maxByteLength:tF(t)});return new Uint8Array(r).set(new Uint8Array(e),0),r},tF=(e)=>eF**Math.ceil(Math.log(e)/Math.log(eF)),eF=2,mK=({contents:e,length:t})=>rF()?e:e.slice(0,t),rF=()=>("resize"in ArrayBuffer.prototype),EK;var FI=y(()=>{Ul();dK=new TextEncoder,EK={init:uK,convertChunk:{string:AK,buffer:KN,arrayBuffer:KN,dataView:XN,typedArray:XN,others:up},getSize:Ap,truncateChunk:pK,addChunk:fK,getFinalChunk:DI,finalize:mK}});async function dp(e,t){if(!("Buffer"in globalThis))throw Error("getStreamAsBuffer() is only supported in Node.js");try{return nF(await NI(e,t))}catch(r){if(r.bufferedData!==void 0)r.bufferedData=nF(r.bufferedData);throw r}}var nF=(e)=>globalThis.Buffer.from(e);var iF=y(()=>{FI()});async function UI(e,t){return Fl(e,bK,t)}var IK=()=>({contents:"",textDecoder:new TextDecoder}),pp=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),CK=(e,{contents:t})=>t+e,yK=(e,t)=>e.slice(0,t),BK=({textDecoder:e})=>{let t=e.decode();return t===""?void 0:t},bK;var oF=y(()=>{Ul();bK={init:IK,convertChunk:{string:RI,buffer:pp,arrayBuffer:pp,dataView:pp,typedArray:pp,others:up},getSize:Ap,truncateChunk:yK,addChunk:CK,getFinalChunk:BK,finalize:TI}});var sF=y(()=>{ZN();FI();iF();oF();Ul()});var cF=C((w0e,aF)=>{var{PassThrough:QK}=v("stream");aF.exports=function(){var e=[],t=new QK({objectMode:!0});return t.setMaxListeners(0),t.add=r,t.isEmpty=n,t.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(r),t;function r(o){if(Array.isArray(o))return o.forEach(r),this;return e.push(o),o.once("end",i.bind(null,o)),o.once("error",t.emit.bind(t,"error")),o.pipe(t,{end:!1}),this}function n(){return e.length==0}function i(o){if(e=e.filter(function(s){return s!==o}),!e.length&&t.readable)t.end()}}});import{createReadStream as vK,readFileSync as xK}from"node:fs";import{setTimeout as wK}from"node:timers/promises";var lF,uF=(e)=>{if(e!==void 0)throw TypeError("The `input` and `inputFile` options cannot be both set.")},SK=({input:e,inputFile:t})=>{if(typeof t!=="string")return e;return uF(e),xK(t)},AF=(e)=>{let t=SK(e);if(lp(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t},kK=({input:e,inputFile:t})=>{if(typeof t!=="string")return e;return uF(e),vK(t)},dF=(e,t)=>{let r=kK(t);if(r===void 0)return;if(lp(r))r.pipe(e.stdin);else e.stdin.end(r)},pF=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=lF.default();if(e.stdout)r.add(e.stdout);if(e.stderr)r.add(e.stderr);return r},MI=async(e,t)=>{if(!e||t===void 0)return;await wK(0),e.destroy();try{return await t}catch(r){return r.bufferedData}},LI=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(!e||!r)return;if(t==="utf8"||t==="utf-8")return UI(e,{maxBuffer:n});if(t===null||t==="buffer")return dp(e,{maxBuffer:n});return _K(e,n,t)},_K=async(e,t,r)=>(await dp(e,{maxBuffer:t})).toString(r),fF=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=LI(e,{encoding:n,buffer:i,maxBuffer:o}),c=LI(t,{encoding:n,buffer:i,maxBuffer:o}),u=LI(r,{encoding:n,buffer:i,maxBuffer:o*2});try{return await Promise.all([s,a,c,u])}catch(l){return Promise.all([{error:l,signal:l.signal,timedOut:l.timedOut},MI(e,a),MI(t,c),MI(r,u)])}};var gF=y(()=>{sF();lF=sc(cF(),1)});var RK,DK,OI=(e,t)=>{for(let[r,n]of DK){let i=typeof t==="function"?(...o)=>Reflect.apply(n.value,t(),o):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i})}},hF=(e)=>new Promise((t,r)=>{if(e.on("exit",(n,i)=>{t({exitCode:n,signal:i})}),e.on("error",(n)=>{r(n)}),e.stdin)e.stdin.on("error",(n)=>{r(n)})});var mF=y(()=>{RK=(async()=>{})().constructor.prototype,DK=["then","catch","finally"].map((e)=>[e,Reflect.getOwnPropertyDescriptor(RK,e)])});import{Buffer as TK}from"node:buffer";import{ChildProcess as NK}from"node:child_process";var CF=(e,t=[])=>{if(!Array.isArray(t))return[e];return[e,...t]},FK,UK=(e)=>{if(typeof e!=="string"||FK.test(e))return e;return`"${e.replaceAll('"',"\\\"")}"`},PI=(e,t)=>CF(e,t).join(" "),$I=(e,t)=>CF(e,t).map((r)=>UK(r)).join(" "),MK,EF=(e)=>{let t=typeof e;if(t==="string")return e;if(t==="number")return String(e);if(t==="object"&&e!==null&&!(e instanceof NK)&&"stdout"in e){let r=typeof e.stdout;if(r==="string")return e.stdout;if(TK.isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${r}" stdout in template expression`)}throw TypeError(`Unexpected "${t}" in template expression`)},IF=(e,t,r)=>r||e.length===0||t.length===0?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],LK=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=o.split(MK).filter(Boolean),a=IF(r,s,o.startsWith(" "));if(n===t.length)return a;let c=t[n],u=Array.isArray(c)?c.map((l)=>EF(l)):[EF(c)];return IF(a,u,o.endsWith(" "))},GI=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=LK({templates:e,expressions:t,tokens:r,index:n,template:i});return r};var yF=y(()=>{FK=/^[\w.-]+$/,MK=/ +/g});import{debuglog as OK}from"node:util";import PK from"node:process";var BF,fp=(e,t)=>String(e).padStart(t,"0"),$K=()=>{let e=new Date;return`${fp(e.getHours(),2)}:${fp(e.getMinutes(),2)}:${fp(e.getSeconds(),2)}.${fp(e.getMilliseconds(),3)}`},HI=(e,{verbose:t})=>{if(!t)return;PK.stderr.write(`[${$K()}] ${e}
|
|
62
|
+
`)};var bF=y(()=>{BF=OK("execa").enabled});import{Buffer as GK}from"node:buffer";import HK from"node:path";import zI from"node:child_process";import gp from"node:process";function hp(e,t,r){let n=xF(e,t,r),i=PI(e,t),o=$I(e,t);HI(o,n.options),HN(n.options);let s;try{s=zI.spawn(n.file,n.args,n.options)}catch(p){let f=new zI.ChildProcess,h=Promise.reject(Nl({error:p,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return OI(f,h),f}let a=hF(s),c=GN(s,n.options,a),u=zN(s,n.options,c),l={isCanceled:!1};s.kill=PN.bind(null,s.kill.bind(s)),s.cancel=$N.bind(null,s,l);let A=BN(async()=>{let[{error:p,exitCode:f,signal:h,timedOut:g},m,S,b]=await fF(s,n.options,u),I=Ml(n.options,m),P=Ml(n.options,S),x=Ml(n.options,b);if(p||f!==0||h!==null){let D=Nl({error:p,exitCode:f,signal:h,stdout:I,stderr:P,all:x,command:i,escapedCommand:o,parsed:n,timedOut:g,isCanceled:l.isCanceled||(n.options.signal?n.options.signal.aborted:!1),killed:s.killed});if(!n.options.reject)return D;throw D}return{command:i,escapedCommand:o,exitCode:0,stdout:I,stderr:P,all:x,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return dF(s,n.options),s.all=pF(s,n.options),YN(s),OI(s,A),s}function wF(e,t,r){let n=xF(e,t,r),i=PI(e,t),o=$I(e,t);HI(o,n.options);let s=AF(n.options),a;try{a=zI.spawnSync(n.file,n.args,{...n.options,input:s})}catch(l){throw Nl({error:l,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}let c=Ml(n.options,a.stdout,a.error),u=Ml(n.options,a.stderr,a.error);if(a.error||a.status!==0||a.signal!==null){let l=Nl({stdout:c,stderr:u,error:a.error,signal:a.signal,exitCode:a.status,command:i,escapedCommand:o,parsed:n,timedOut:a.error&&a.error.code==="ETIMEDOUT",isCanceled:!1,killed:a.signal!==null});if(!n.options.reject)return l;throw l}return{command:i,escapedCommand:o,exitCode:0,stdout:c,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}function SF(e){function t(r,...n){if(!Array.isArray(r))return SF({...e,...r});let[i,...o]=GI(r,n);return hp(i,o,QF(e))}return t.sync=(r,...n)=>{if(!Array.isArray(r))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[i,...o]=GI(r,n);return wF(i,o,QF(e))},t}var vF,zK=1e8,jK=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...gp.env,...e}:e;if(r)return EN({env:o,cwd:n,execPath:i});return o},xF=(e,t,r={})=>{let n=vF.default._parse(e,t,r);if(e=n.command,t=n.args,r=n.options,r={maxBuffer:zK,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:r.cwd||gp.cwd(),execPath:gp.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:BF,...r},r.env=jK(r),r.stdio=DN(r),gp.platform==="win32"&&HK.basename(e,".exe")==="cmd")t.unshift("/q");return{file:e,args:t,options:r,parsed:n}},Ml=(e,t,r)=>{if(typeof t!=="string"&&!GK.isBuffer(t))return r===void 0?void 0:"";if(e.stripFinalNewline)return CI(t);return t},YK=({input:e,inputFile:t,stdio:r})=>e===void 0&&t===void 0&&r===void 0?{stdin:"inherit"}:{},QF=(e={})=>({preferLocal:!0,...YK(e),...e}),nRe;var jI=y(()=>{IN();bN();RN();TN();jN();JN();gF();mF();yF();bF();vF=sc(hN(),1);nRe=SF()});var kF=()=>{};import je from"node:path";import _F from"node:os";import YI from"node:process";function qI(e,{suffix:t="nodejs"}={}){if(typeof e!=="string")throw TypeError(`Expected a string, got ${typeof e}`);if(t)e+=`-${t}`;if(YI.platform==="darwin")return JK(e);if(YI.platform==="win32")return qK(e);return VK(e)}var yi,JI,$s,JK=(e)=>{let t=je.join(yi,"Library");return{data:je.join(t,"Application Support",e),config:je.join(t,"Preferences",e),cache:je.join(t,"Caches",e),log:je.join(t,"Logs",e),temp:je.join(JI,e)}},qK=(e)=>{let t=$s.APPDATA||je.join(yi,"AppData","Roaming"),r=$s.LOCALAPPDATA||je.join(yi,"AppData","Local");return{data:je.join(r,e,"Data"),config:je.join(t,e,"Config"),cache:je.join(r,e,"Cache"),log:je.join(r,e,"Log"),temp:je.join(JI,e)}},VK=(e)=>{let t=je.basename(yi);return{data:je.join($s.XDG_DATA_HOME||je.join(yi,".local","share"),e),config:je.join($s.XDG_CONFIG_HOME||je.join(yi,".config"),e),cache:je.join($s.XDG_CACHE_HOME||je.join(yi,".cache"),e),log:je.join($s.XDG_STATE_HOME||je.join(yi,".local","state"),e),temp:je.join(JI,t,e)}};var RF=y(()=>{yi=_F.homedir(),JI=_F.tmpdir(),{env:$s}=YI});var hRe;var DF=y(()=>{RF();Nn();hRe=qI("claude-cli")});var VI=()=>{};function WK(){if(process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC)return"essential-traffic";if(process.env.DISABLE_TELEMETRY)return"no-telemetry";if(Ve(process.env.DO_NOT_TRACK))return"no-telemetry";return"default"}function TF(){return WK()==="essential-traffic"}var NF=y(()=>{wn()});function XK(e){if(WI.length>=KK)WI.shift();WI.push(e)}function UF(e){let t=aT(e);try{if(Ve(process.env.CLAUDE_CODE_USE_BEDROCK)||Ve(process.env.CLAUDE_CODE_USE_VERTEX)||Ve(process.env.CLAUDE_CODE_USE_FOUNDRY)||Ve(process.env.CLAUDE_CODE_USE_ANTHROPIC_AWS)||Ve(process.env.CLAUDE_CODE_USE_MANTLE)||process.env.DISABLE_ERROR_REPORTING||TF())return;let n={error:t.stack||t.message,timestamp:new Date().toISOString()};if(XK(n),FF===null){e3.push({type:"error",error:t});return}FF.logError(t)}catch{}}var KK=100,WI,e3,FF=null,PRe;var MF=y(()=>{vn();$r();kF();DF();VI();wn();Rt();NF();Ot();Rl();WI=[];e3=[],PRe=Pe(()=>process.argv.includes("--hard-fail"))});import{execFileSync as t3}from"child_process";import{lstatSync as r3}from"fs";import{join as n3}from"path";function i3(){return process.platform==="win32"}function LF(e){try{return r3(e,{throwIfNoEntry:!1})===void 0}catch{return!1}}function a3(e){let t=e.toLowerCase().replace(/.*[\\/]/,"").replace(/[. ]+$/,""),r=t.lastIndexOf(".");return r>0&&s3.has(t.slice(r))}function c3(e,t=!1){let r=Gs.get(e);if(r!==void 0)if(r!==null){if(!LF(r))return r;Gs.delete(e)}else{if(!t)return r;Gs.delete(e)}let n=process.env.SYSTEMROOT||"C:\\Windows",i=n3(n,"System32","where.exe");try{let s=t3(i,[e],{stdio:"pipe",encoding:"utf8",timeout:o3,windowsHide:!0,env:process.env}).trim().split(/\r?\n/).filter(Boolean),a=process.cwd(),c=!1;for(let u of s){if(LF(u))continue;if(gd(u,a)){c=!0;continue}if(!a3(u))continue;return Gs.set(e,u),u}if(s.length>0&&!c)Gs.set(e,null);return null}catch(o){if(l3(o))Gs.set(e,null);return null}}function l3(e){if(e===null||typeof e!=="object")return!1;let t="status"in e?e.status:void 0,r="signal"in e?e.signal:void 0,n="code"in e?e.code:void 0;return t===1&&!r&&!n}function ZI(e,t=!1){if(!i3())return e;if(e.includes("/")||e.includes("\\"))return e;return c3(e,t)}var Gs,o3=5000,s3;var KI=y(()=>{ro();Gs=new Map;s3=new Set([".com",".exe",".bat",".cmd"])});var XI=y(()=>{jI();KI()});var OF=y(()=>{no();XI();Ot()});function ft(e,t,r={timeout:10*tC*eC,preserveOutputOnError:!0,useCwd:!0}){return Fn(e,t,{abortSignal:r.abortSignal,timeout:r.timeout,preserveOutputOnError:r.preserveOutputOnError,cwd:r.useCwd?Qt():void 0,env:r.env,stdin:r.stdin,input:r.input})}function u3(e,t){if(e.shortMessage)return e.shortMessage;if(typeof e.signal==="string")return e.signal;return String(t)}function Fn(e,t,{abortSignal:r,timeout:n=10*tC*eC,preserveOutputOnError:i=!0,cwd:o,env:s,maxBuffer:a,shell:c,stdin:u,input:l}={timeout:10*tC*eC,preserveOutputOnError:!0,maxBuffer:1e6}){let d=e;if(process.platform==="win32"&&!c){let A=ZI(e);if(A===null)return Promise.resolve({stdout:"",stderr:`Command '${e}' not found or is in an unsafe location (current directory)`,code:127,error:`Command '${e}' not found or is in an unsafe location (current directory)`});d=A}return new Promise((A)=>{hp(d,t,{maxBuffer:a,signal:r,timeout:n,cwd:o,env:s,shell:c,stdin:u,input:l,reject:!1}).then((p)=>{if(p.failed)if(i){let f=p.exitCode??1;A({stdout:p.stdout||"",stderr:p.stderr||"",code:f,error:u3(p,f)})}else A({stdout:"",stderr:"",code:p.exitCode??1});else A({stdout:p.stdout,stderr:p.stderr,code:0})}).catch((p)=>{if(cT(p))w(`execFileNoThrow spawn failed: ${nn(p)} ${p.message}`,{level:"error"});else UF(p);A({stdout:"",stderr:"",code:1})})})}var eC=1000,tC=60;var rC=y(()=>{jI();no();at();Rt();MF();KI();OF()});function PF(e){let t=e.slice(e.lastIndexOf(".")).toLowerCase();return A3.has(t)}function $F(e){let t=Math.min(e.length,d3),r=0;for(let n=0;n<t;n++){let i=e[n];if(i===0)return!0;if(i<32&&i!==9&&i!==10&&i!==13)r++}return r/t>0.1}var A3,d3=8192;var GF=y(()=>{A3=new Set([".png",".jpg",".jpeg",".gif",".bmp",".ico",".webp",".tiff",".tif",".mp4",".mov",".avi",".mkv",".webm",".wmv",".flv",".m4v",".mpeg",".mpg",".mp3",".wav",".ogg",".flac",".aac",".m4a",".wma",".aiff",".opus",".zip",".tar",".gz",".bz2",".7z",".rar",".xz",".z",".tgz",".iso",".exe",".dll",".so",".dylib",".bin",".o",".a",".obj",".lib",".app",".msi",".deb",".rpm",".pdf",".doc",".docx",".xls",".xlsx",".ppt",".pptx",".odt",".ods",".odp",".ttf",".otf",".woff",".woff2",".eot",".pyc",".pyo",".class",".jar",".war",".ear",".node",".wasm",".rlib",".sqlite",".sqlite3",".db",".mdb",".idx",".psd",".ai",".eps",".sketch",".fig",".xd",".blend",".3ds",".max",".swf",".fla",".lockb",".dat",".data"])});var HF=()=>{};function p3(){return wR().remote}function mp(){return SR()||p3()!==null}var nC=y(()=>{$r();HF()});function zr(e,t){on("tengu_feature_ok",{feature_name:Xd(e),...t})}function Ep(e,t,r){on("tengu_feature_bad",{...r,feature_name:Xd(e),error_code:t})}function jr(e,t,r){on("tengu_feature_sad",{...r,feature_name:Xd(e),error_code:t})}var Ll=y(()=>{Ls()});import{dirname as f3}from"path";function ee(e,t,r){let n=g3();if(!n)return;let i={timestamp:new Date().toISOString(),level:e,event:t,data:r??{}},o=Ct(),s=st(i)+`
|
|
63
|
+
`;try{o.appendFileSync(n,s)}catch{try{o.mkdirSync(f3(n)),o.appendFileSync(n,s)}catch{}}}function g3(){return process.env.CLAUDE_CODE_DIAGNOSTICS_FILE}var Hs=y(()=>{Nn();Ot()});import{readFile as h3}from"fs/promises";import{join as m3}from"path";async function iC(e,t,r,n){try{let i=await h3(m3(e,"config"),"utf-8");return oC(i,t,r,n)}catch{return null}}function oC(e,t,r,n){let i=e.split(`
|
|
64
|
+
`),o=t.toLowerCase(),s=n.toLowerCase(),a=!1;for(let c of i){let u=c.trim();if(u.length===0||u[0]==="#"||u[0]===";")continue;if(u[0]==="["){a=y3(u,o,r);continue}if(!a)continue;let l=E3(u);if(l&&l.key.toLowerCase()===s)return l.value}return null}function E3(e){let t=0;while(t<e.length&&B3(e[t]))t++;if(t===0)return null;let r=e.slice(0,t);while(t<e.length&&(e[t]===" "||e[t]==="\t"))t++;if(t>=e.length||e[t]!=="=")return null;t++;while(t<e.length&&(e[t]===" "||e[t]==="\t"))t++;let n=I3(e,t);return{key:r,value:n}}function I3(e,t){let r="",n=!1,i=t;while(i<e.length){let o=e[i];if(!n&&(o==="#"||o===";"))break;if(o==='"'){n=!n,i++;continue}if(o==="\\"&&i+1<e.length){let s=e[i+1];if(n){switch(s){case"n":r+=`
|
|
65
|
+
`;break;case"t":r+="\t";break;case"b":r+="\b";break;case'"':r+='"';break;case"\\":r+="\\";break;default:r+=s;break}i+=2;continue}if(s==="\\"){r+="\\",i+=2;continue}}r+=o,i++}if(!n)r=C3(r);return r}function C3(e){let t=e.length;while(t>0&&(e[t-1]===" "||e[t-1]==="\t"))t--;return e.slice(0,t)}function y3(e,t,r){let n=1;while(n<e.length&&e[n]!=="]"&&e[n]!==" "&&e[n]!=="\t"&&e[n]!=='"')n++;if(e.slice(1,n).toLowerCase()!==t)return!1;if(r===null)return n<e.length&&e[n]==="]";while(n<e.length&&(e[n]===" "||e[n]==="\t"))n++;if(n>=e.length||e[n]!=='"')return!1;n++;let o="";while(n<e.length&&e[n]!=='"'){if(e[n]==="\\"&&n+1<e.length){let s=e[n+1];if(s==="\\"||s==='"'){o+=s,n+=2;continue}o+=s,n+=2;continue}o+=e[n],n++}if(n>=e.length||e[n]!=='"')return!1;if(n++,n>=e.length||e[n]!=="]")return!1;return o===r}function B3(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="-"}var sC=()=>{};import{open as b3}from"fs/promises";import{join as Q3}from"path";async function YF(e,t){let r=Buffer.from(t,"utf-8"),n=r.length,i=aC;if(i)aC=null;else i=Buffer.allocUnsafe(zF+1);let o,s=0,a=0,c=0,u=0,l=0,d=0,A=0,p=0,f=0,h=0,g=0,m=0,S;try{o=await b3(Q3(e,"packed-refs"),"r"),s=(await o.stat()).size,c=s;while(a<c){if(u=a+Math.floor((c-a)/2),d=Math.max(a,u-v3),A=(await o.read(i,0,Math.min(zF,s-d),d)).bytesRead,l=u-d,l>=A)return null;if(i[A]=mo,p=l>0?i.lastIndexOf(mo,l-1)+1:0,p>1&&i[p]===jF)p=i.lastIndexOf(mo,p-2)+1;if(i[p]===w3){g=i.indexOf(mo,p),a=d+(g<0||g>=A?A:g+1);continue}if(f===0)f=p+40<A&&i[p+40]===x3?40:64;if(h=p+f+1,h>=A)return null;if(m=i.compare(r,0,n,h,Math.min(h+n,A)),m===0){if(h+n<A&&i[h+n]!==mo){c=d+p;continue}return S=i.toString("ascii",p,p+f),S3.test(S)?S:null}if(m<0){if(g=i.indexOf(mo,l),g<0||g>=A)g=A-1;if(g+1<A&&i[g+1]===jF){if(g=i.indexOf(mo,g+1),g<0||g>=A)g=A-1}a=d+g+1}else c=d+p}return null}catch{return null}finally{aC=i,await o?.close()}}var zF=65536,v3=4096,mo=10,x3=32,jF=94,w3=35,S3,aC=null;var JF=y(()=>{S3=/^[0-9a-f]+$/});import{unwatchFile as Ol,watchFile as qF}from"fs";import{readdir as k3,readFile as Gl,stat as KF}from"fs/promises";import{join as Yr,resolve as cC}from"path";async function Jr(e){let t=cC(e??Qt()),r=Pl.get(t);if(r!==void 0)return r;let n=Un(t);if(!n)return Pl.set(t,null),null;let i=Yr(n,".git");try{if((await KF(i)).isFile()){let s=(await Gl(i,"utf-8")).trim();if(s.startsWith("gitdir:")){let a=s.slice(7).trim(),c=cC(n,a);return Pl.set(t,c),c}}return Pl.set(t,i),i}catch{return Pl.set(t,null),null}}function XF(e){return/^[0-9a-f]{40}$/.test(e)||/^[0-9a-f]{64}$/.test(e)}async function Ip(e){try{let t=(await Gl(Yr(e,"HEAD"),"utf-8")).trim();if(t.startsWith("ref:")){let r=t.slice(4).trim();if(r.startsWith("refs/heads/")){let i=r.slice(11);if(!ms(i))return null;return{type:"branch",name:i}}if(!ms(r))return null;let n=await $l(e,r);return n?{type:"detached",sha:n}:{type:"detached",sha:""}}if(!XF(t))return null;return{type:"detached",sha:t}}catch{return null}}async function $l(e,t){let r=await VF(e,t);if(r)return r;let n=await zs(e);if(n&&n!==e)return VF(n,t);return null}async function VF(e,t){try{let r=(await Gl(Yr(e,t),"utf-8")).trim();if(r.startsWith("ref:")){let n=r.slice(4).trim();if(!ms(n))return null;return $l(e,n)}if(!XF(r))return null;return r}catch{}return YF(e,t)}async function zs(e){try{let t=(await Gl(Yr(e,"commondir"),"utf-8")).trim();return cC(e,t)}catch{return null}}async function _3(e,t,r){try{let n=(await Gl(Yr(e,t),"utf-8")).trim();if(n.startsWith("ref:")){let i=n.slice(4).trim();if(i.startsWith(r)){let o=i.slice(r.length);if(!ms(o))return null;return o}}}catch{}return null}class eU{gitDir=null;commonDir=null;initialized=!1;initPromise=null;watchedFiles=[];branchRefPath=null;generation=0;cache=new Map;repoBranches=new Map;repoWatchers=new Map;repoBranchListeners=[];async ensureStarted(){if(this.initialized)return;if(this.initPromise)return this.initPromise;return this.initPromise=this.start(),this.initPromise}cleanupRegistered=!1;async start(){let e=this.generation;if(mp()){this.gitDir=null,this.initialized=!0;return}let t=await Jr();if(e!==this.generation)return;if(this.gitDir=t,this.initialized=!0,!this.cleanupRegistered)this.cleanupRegistered=!0,Nc(async()=>{this.stopWatching()});if(!this.gitDir)return;let r=await zs(this.gitDir);if(e!==this.generation)return;this.commonDir=r,this.watchPath(Yr(this.gitDir,"HEAD"),()=>{this.onHeadChanged()}),this.watchPath(Yr(this.commonDir??this.gitDir,"config"),()=>{this.invalidate()}),await this.watchCurrentBranchRef()}watchPath(e,t){this.watchedFiles.push({path:e,listener:t}),qF(e,{interval:WF},t)}async watchCurrentBranchRef(){if(!this.gitDir)return;let e=this.generation,t=await Ip(this.gitDir);if(e!==this.generation)return;let r=this.commonDir??this.gitDir,n=t?.type==="branch"?Yr(r,"refs","heads",t.name):null;if(n===this.branchRefPath)return;if(this.branchRefPath){for(let{path:i,listener:o}of this.watchedFiles)if(i===this.branchRefPath)Ol(i,o);this.watchedFiles=this.watchedFiles.filter((i)=>i.path!==this.branchRefPath)}if(this.branchRefPath=n,!n)return;this.watchPath(n,()=>{this.invalidate()})}async onHeadChanged(){this.invalidate(),await vR(),await this.watchCurrentBranchRef()}invalidate(){for(let e of this.cache.values())e.dirty=!0}stopWatching(){for(let{path:e,listener:t}of this.watchedFiles)Ol(e,t);for(let{headPath:e,listener:t}of this.repoWatchers.values())Ol(e,t);this.watchedFiles=[],this.branchRefPath=null}async get(e,t){for(;;){let r=this.generation;await this.ensureStarted();let n=this.cache.get(e);if(n&&!n.dirty)return n.value;if(n)n.dirty=!1;let i=await t();if(r!==this.generation)continue;let o=this.cache.get(e);if(o&&!o.dirty)o.value=i;if(!o)this.cache.set(e,{value:i,dirty:!1,compute:t});return i}}async addRepo(e){if(this.repoWatchers.has(e))return;let t=await Jr(e);if(!t)return;if(this.repoWatchers.has(e))return;let r=Yr(t,"HEAD"),n=()=>{this.repoBranches.delete(e);for(let i of this.repoBranchListeners)i()};this.repoWatchers.set(e,{gitDir:t,headPath:r,listener:n}),qF(r,{interval:WF},n)}removeRepo(e){let t=this.repoWatchers.get(e);if(!t)return;Ol(t.headPath,t.listener),this.repoWatchers.delete(e),this.repoBranches.delete(e)}onRepoBranchChange(e){return this.repoBranchListeners.push(e),()=>{let t=this.repoBranchListeners.indexOf(e);if(t!==-1)this.repoBranchListeners.splice(t,1)}}async getBranchForRepo(e){if(this.repoBranches.has(e))return this.repoBranches.get(e);let t=this.repoWatchers.get(e)?.gitDir;if(!t)return;let r=await Ip(t),n=r?.type==="branch"?r.name:null;return this.repoBranches.set(e,n),n}reset(){this.generation++,this.stopWatching(),this.cache.clear(),this.repoBranches.clear(),this.repoWatchers.clear(),this.repoBranchListeners=[],this.initialized=!1,this.initPromise=null,this.gitDir=null,this.commonDir=null}reanchor(){this.generation++;for(let{path:e,listener:t}of this.watchedFiles)Ol(e,t);this.watchedFiles=[],this.branchRefPath=null,this.cache.clear(),this.initialized=!1,this.initPromise=null,this.gitDir=null,this.commonDir=null}}async function R3(){let e=await Jr();if(!e)return"HEAD";let t=await Ip(e);if(!t)return"HEAD";return t.type==="branch"?t.name:"HEAD"}async function D3(){let e=await Jr();if(!e)return"";let t=await Ip(e);if(!t)return"";if(t.type==="branch")return await $l(e,`refs/heads/${t.name}`)??"";return t.sha}async function ZF(e){return await iC(e,"remote","origin","pushurl")||await iC(e,"remote","origin","url")}async function T3(){let e=await Jr();if(!e)return null;let t=await ZF(e);if(t)return t;let r=await zs(e);if(r&&r!==e)return ZF(r);return null}async function N3(){let e=await Jr();if(!e)return"main";let t=await zs(e)??e,r=await _3(t,"refs/remotes/origin/HEAD","refs/remotes/origin/");if(r&&await $l(t,`refs/remotes/origin/${r}`))return r;for(let n of["main","master"])if(await $l(t,`refs/remotes/origin/${n}`))return n;return"main"}function tU(){return Cp.get("branch",R3)}function rU(){return Cp.get("head",D3)}function lC(){return Cp.get("remoteUrl",T3)}function nU(){return Cp.get("defaultBranch",N3)}async function iU(){let e=await Jr();if(!e)return!1;let t=await zs(e)??e;try{return await KF(Yr(t,"shallow")),!0}catch{return!1}}async function oU(){try{let e=await Jr();if(!e)return 0;let t=await zs(e)??e;return(await k3(Yr(t,"worktrees"))).length+1}catch{return 1}}var Pl,WF=1000,Cp;var sU=y(()=>{Dc();$r();nC();hd();no();yp();sC();JF();Pl=new Map;Cp=new eU});class Ys{heap;length;static#e=!1;static create(e){let t=uU(e);if(!t)return[];Ys.#e=!0;let r=new Ys(e,t);return Ys.#e=!1,r}constructor(e,t){if(!Ys.#e)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}var js,cU,uC,lU=(e,t,r,n)=>{typeof uC.emitWarning==="function"?uC.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},Bp,aU,F3=(e)=>!cU.has(e),HDe,Bi=(e)=>e&&e===Math.floor(e)&&e>0&&isFinite(e),uU=(e)=>!Bi(e)?null:e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Hl:null,Hl,bp;var AU=y(()=>{js=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date,cU=new Set,uC=typeof process==="object"&&!!process?process:{},Bp=globalThis.AbortController,aU=globalThis.AbortSignal;if(typeof Bp>"u"){aU=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(n,i){this._onabort.push(i)}},Bp=class{constructor(){t()}signal=new aU;abort(n){if(this.signal.aborted)return;this.signal.reason=n,this.signal.aborted=!0;for(let i of this.signal._onabort)i(n);this.signal.onabort?.(n)}};let e=uC.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",t=()=>{if(!e)return;e=!1,lU("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",t)}}HDe=Symbol("type");Hl=class Hl extends Array{constructor(e){super(e);this.fill(0)}};bp=class bp{#e;#t;#r;#n;#i;#a;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#u;#A;#c;#s;#g;#m;#f;#d;#C;#p;#y;#B;#E;#b;#S;#h;static unsafeExposeInternals(e){return{starts:e.#B,ttls:e.#E,sizes:e.#y,keyMap:e.#A,keyList:e.#c,valList:e.#s,next:e.#g,prev:e.#m,get head(){return e.#f},get tail(){return e.#d},free:e.#C,isBackgroundFetch:(t)=>e.#l(t),backgroundFetch:(t,r,n,i)=>e.#N(t,r,n,i),moveToTail:(t)=>e.#R(t),indexes:(t)=>e.#Q(t),rindexes:(t)=>e.#v(t),isStale:(t)=>e.#I(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#u}get size(){return this.#o}get fetchMethod(){return this.#i}get memoMethod(){return this.#a}get dispose(){return this.#r}get disposeAfter(){return this.#n}constructor(e){let{max:t=0,ttl:r,ttlResolution:n=1,ttlAutopurge:i,updateAgeOnGet:o,updateAgeOnHas:s,allowStale:a,dispose:c,disposeAfter:u,noDisposeOnSet:l,noUpdateTTL:d,maxSize:A=0,maxEntrySize:p=0,sizeCalculation:f,fetchMethod:h,memoMethod:g,noDeleteOnFetchRejection:m,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:b,allowStaleOnFetchAbort:I,ignoreFetchAbort:P}=e;if(t!==0&&!Bi(t))throw TypeError("max option must be a nonnegative integer");let x=t?uU(t):Array;if(!x)throw Error("invalid max value: "+t);if(this.#e=t,this.#t=A,this.maxEntrySize=p||this.#t,this.sizeCalculation=f,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!=="function")throw TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!=="function")throw TypeError("memoMethod must be a function if defined");if(this.#a=g,h!==void 0&&typeof h!=="function")throw TypeError("fetchMethod must be a function if specified");if(this.#i=h,this.#S=!!h,this.#A=new Map,this.#c=Array(t).fill(void 0),this.#s=Array(t).fill(void 0),this.#g=new x(t),this.#m=new x(t),this.#f=0,this.#d=0,this.#C=Ys.create(t),this.#o=0,this.#u=0,typeof c==="function")this.#r=c;if(typeof u==="function")this.#n=u,this.#p=[];else this.#n=void 0,this.#p=void 0;if(this.#b=!!this.#r,this.#h=!!this.#n,this.noDisposeOnSet=!!l,this.noUpdateTTL=!!d,this.noDeleteOnFetchRejection=!!m,this.allowStaleOnFetchRejection=!!b,this.allowStaleOnFetchAbort=!!I,this.ignoreFetchAbort=!!P,this.maxEntrySize!==0){if(this.#t!==0){if(!Bi(this.#t))throw TypeError("maxSize must be a positive integer if specified")}if(!Bi(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!s,this.ttlResolution=Bi(n)||n===0?n:1,this.ttlAutopurge=!!i,this.ttl=r||0,this.ttl){if(!Bi(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#F()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){if(F3("LRU_CACHE_UNBOUNDED"))cU.add("LRU_CACHE_UNBOUNDED"),lU("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning","LRU_CACHE_UNBOUNDED",bp)}}getRemainingTTL(e){return this.#A.has(e)?1/0:0}#F(){let e=new Hl(this.#e),t=new Hl(this.#e);this.#E=e,this.#B=t,this.#U=(i,o,s=js.now())=>{if(t[i]=o!==0?s:0,e[i]=o,o!==0&&this.ttlAutopurge){let a=setTimeout(()=>{if(this.#I(i))this.#x(this.#c[i],"expire")},o+1);if(a.unref)a.unref()}},this.#k=(i)=>{t[i]=e[i]!==0?js.now():0},this.#w=(i,o)=>{if(e[o]){let s=e[o],a=t[o];if(!s||!a)return;i.ttl=s,i.start=a,i.now=r||n();let c=i.now-a;i.remainingTTL=s-c}};let r=0,n=()=>{let i=js.now();if(this.ttlResolution>0){r=i;let o=setTimeout(()=>r=0,this.ttlResolution);if(o.unref)o.unref()}return i};this.getRemainingTTL=(i)=>{let o=this.#A.get(i);if(o===void 0)return 0;let s=e[o],a=t[o];if(!s||!a)return 1/0;let c=(r||n())-a;return s-c},this.#I=(i)=>{let o=t[i],s=e[i];return!!s&&!!o&&(r||n())-o>s}}#k=()=>{};#w=()=>{};#U=()=>{};#I=()=>!1;#$(){let e=new Hl(this.#e);this.#u=0,this.#y=e,this.#_=(t)=>{this.#u-=e[t],e[t]=0},this.#M=(t,r,n,i)=>{if(this.#l(r))return 0;if(!Bi(n))if(i){if(typeof i!=="function")throw TypeError("sizeCalculation must be a function");if(n=i(r,t),!Bi(n))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return n},this.#D=(t,r,n)=>{if(e[t]=r,this.#t){let i=this.#t-e[t];while(this.#u>i)this.#T(!0)}if(this.#u+=e[t],n)n.entrySize=r,n.totalCalculatedSize=this.#u}}#_=(e)=>{};#D=(e,t,r)=>{};#M=(e,t,r,n)=>{if(r||n)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#Q({allowStale:e=this.allowStale}={}){if(this.#o)for(let t=this.#d;;){if(!this.#L(t))break;if(e||!this.#I(t))yield t;if(t===this.#f)break;else t=this.#m[t]}}*#v({allowStale:e=this.allowStale}={}){if(this.#o)for(let t=this.#f;;){if(!this.#L(t))break;if(e||!this.#I(t))yield t;if(t===this.#d)break;else t=this.#g[t]}}#L(e){return e!==void 0&&this.#A.get(this.#c[e])===e}*entries(){for(let e of this.#Q())if(this.#s[e]!==void 0&&this.#c[e]!==void 0&&!this.#l(this.#s[e]))yield[this.#c[e],this.#s[e]]}*rentries(){for(let e of this.#v())if(this.#s[e]!==void 0&&this.#c[e]!==void 0&&!this.#l(this.#s[e]))yield[this.#c[e],this.#s[e]]}*keys(){for(let e of this.#Q()){let t=this.#c[e];if(t!==void 0&&!this.#l(this.#s[e]))yield t}}*rkeys(){for(let e of this.#v()){let t=this.#c[e];if(t!==void 0&&!this.#l(this.#s[e]))yield t}}*values(){for(let e of this.#Q())if(this.#s[e]!==void 0&&!this.#l(this.#s[e]))yield this.#s[e]}*rvalues(){for(let e of this.#v())if(this.#s[e]!==void 0&&!this.#l(this.#s[e]))yield this.#s[e]}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let r of this.#Q()){let n=this.#s[r],i=this.#l(n)?n.__staleWhileFetching:n;if(i===void 0)continue;if(e(i,this.#c[r],this))return this.get(this.#c[r],t)}}forEach(e,t=this){for(let r of this.#Q()){let n=this.#s[r],i=this.#l(n)?n.__staleWhileFetching:n;if(i===void 0)continue;e.call(t,i,this.#c[r],this)}}rforEach(e,t=this){for(let r of this.#v()){let n=this.#s[r],i=this.#l(n)?n.__staleWhileFetching:n;if(i===void 0)continue;e.call(t,i,this.#c[r],this)}}purgeStale(){let e=!1;for(let t of this.#v({allowStale:!0}))if(this.#I(t))this.#x(this.#c[t],"expire"),e=!0;return e}info(e){let t=this.#A.get(e);if(t===void 0)return;let r=this.#s[t],n=this.#l(r)?r.__staleWhileFetching:r;if(n===void 0)return;let i={value:n};if(this.#E&&this.#B){let o=this.#E[t],s=this.#B[t];if(o&&s){let a=o-(js.now()-s);i.ttl=a,i.start=Date.now()}}if(this.#y)i.size=this.#y[t];return i}dump(){let e=[];for(let t of this.#Q({allowStale:!0})){let r=this.#c[t],n=this.#s[t],i=this.#l(n)?n.__staleWhileFetching:n;if(i===void 0||r===void 0)continue;let o={value:i};if(this.#E&&this.#B){o.ttl=this.#E[t];let s=js.now()-this.#B[t];o.start=Math.floor(Date.now()-s)}if(this.#y)o.size=this.#y[t];e.unshift([r,o])}return e}load(e){this.clear();for(let[t,r]of e){if(r.start){let n=Date.now()-r.start;r.start=js.now()-n}this.set(t,r.value,r)}}set(e,t,r={}){if(t===void 0)return this.delete(e),this;let{ttl:n=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:s=this.sizeCalculation,status:a}=r,{noUpdateTTL:c=this.noUpdateTTL}=r,u=this.#M(e,t,r.size||0,s);if(this.maxEntrySize&&u>this.maxEntrySize){if(a)a.set="miss",a.maxEntrySizeExceeded=!0;return this.#x(e,"set"),this}let l=this.#o===0?void 0:this.#A.get(e);if(l===void 0){if(l=this.#o===0?this.#d:this.#C.length!==0?this.#C.pop():this.#o===this.#e?this.#T(!1):this.#o,this.#c[l]=e,this.#s[l]=t,this.#A.set(e,l),this.#g[this.#d]=l,this.#m[l]=this.#d,this.#d=l,this.#o++,this.#D(l,u,a),a)a.set="add";c=!1}else{this.#R(l);let d=this.#s[l];if(t!==d){if(this.#S&&this.#l(d)){d.__abortController.abort(Error("replaced"));let{__staleWhileFetching:A}=d;if(A!==void 0&&!o){if(this.#b)this.#r?.(A,e,"set");if(this.#h)this.#p?.push([A,e,"set"])}}else if(!o){if(this.#b)this.#r?.(d,e,"set");if(this.#h)this.#p?.push([d,e,"set"])}if(this.#_(l),this.#D(l,u,a),this.#s[l]=t,a){a.set="replace";let A=d&&this.#l(d)?d.__staleWhileFetching:d;if(A!==void 0)a.oldValue=A}}else if(a)a.set="update"}if(n!==0&&!this.#E)this.#F();if(this.#E){if(!c)this.#U(l,n,i);if(a)this.#w(a,l)}if(!o&&this.#h&&this.#p){let d=this.#p,A;while(A=d?.shift())this.#n?.(...A)}return this}pop(){try{while(this.#o){let e=this.#s[this.#f];if(this.#T(!0),this.#l(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#p){let e=this.#p,t;while(t=e?.shift())this.#n?.(...t)}}}#T(e){let t=this.#f,r=this.#c[t],n=this.#s[t];if(this.#S&&this.#l(n))n.__abortController.abort(Error("evicted"));else if(this.#b||this.#h){if(this.#b)this.#r?.(n,r,"evict");if(this.#h)this.#p?.push([n,r,"evict"])}if(this.#_(t),e)this.#c[t]=void 0,this.#s[t]=void 0,this.#C.push(t);if(this.#o===1)this.#f=this.#d=0,this.#C.length=0;else this.#f=this.#g[t];return this.#A.delete(r),this.#o--,t}has(e,t={}){let{updateAgeOnHas:r=this.updateAgeOnHas,status:n}=t,i=this.#A.get(e);if(i!==void 0){let o=this.#s[i];if(this.#l(o)&&o.__staleWhileFetching===void 0)return!1;if(!this.#I(i)){if(r)this.#k(i);if(n)n.has="hit",this.#w(n,i);return!0}else if(n)n.has="stale",this.#w(n,i)}else if(n)n.has="miss";return!1}peek(e,t={}){let{allowStale:r=this.allowStale}=t,n=this.#A.get(e);if(n===void 0||!r&&this.#I(n))return;let i=this.#s[n];return this.#l(i)?i.__staleWhileFetching:i}#N(e,t,r,n){let i=t===void 0?void 0:this.#s[t];if(this.#l(i))return i;let o=new Bp,{signal:s}=r;s?.addEventListener("abort",()=>o.abort(s.reason),{signal:o.signal});let a={signal:o.signal,options:r,context:n},c=(f,h=!1)=>{let{aborted:g}=o.signal,m=r.ignoreFetchAbort&&f!==void 0;if(r.status)if(g&&!h){if(r.status.fetchAborted=!0,r.status.fetchError=o.signal.reason,m)r.status.fetchAbortIgnored=!0}else r.status.fetchResolved=!0;if(g&&!m&&!h)return l(o.signal.reason);let S=A;if(this.#s[t]===A)if(f===void 0)if(S.__staleWhileFetching)this.#s[t]=S.__staleWhileFetching;else this.#x(e,"fetch");else{if(r.status)r.status.fetchUpdated=!0;this.set(e,f,a.options)}return f},u=(f)=>{if(r.status)r.status.fetchRejected=!0,r.status.fetchError=f;return l(f)},l=(f)=>{let{aborted:h}=o.signal,g=h&&r.allowStaleOnFetchAbort,m=g||r.allowStaleOnFetchRejection,S=m||r.noDeleteOnFetchRejection,b=A;if(this.#s[t]===A){if(!S||b.__staleWhileFetching===void 0)this.#x(e,"fetch");else if(!g)this.#s[t]=b.__staleWhileFetching}if(m){if(r.status&&b.__staleWhileFetching!==void 0)r.status.returnedStale=!0;return b.__staleWhileFetching}else if(b.__returned===b)throw f},d=(f,h)=>{let g=this.#i?.(e,i,a);if(g&&g instanceof Promise)g.then((m)=>f(m===void 0?void 0:m),h);o.signal.addEventListener("abort",()=>{if(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort){if(f(void 0),r.allowStaleOnFetchAbort)f=(m)=>c(m,!0)}})};if(r.status)r.status.fetchDispatched=!0;let A=new Promise(d).then(c,u),p=Object.assign(A,{__abortController:o,__staleWhileFetching:i,__returned:void 0});if(t===void 0)this.set(e,p,{...a.options,status:void 0}),t=this.#A.get(e);else this.#s[t]=p;return p}#l(e){if(!this.#S)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof Bp}async fetch(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:a=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:A=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:f,forceRefresh:h=!1,status:g,signal:m}=t;if(!this.#S){if(g)g.fetch="get";return this.get(e,{allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:i,status:g})}let S={allowStale:r,updateAgeOnGet:n,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:s,size:a,sizeCalculation:c,noUpdateTTL:u,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:p,ignoreFetchAbort:A,status:g,signal:m},b=this.#A.get(e);if(b===void 0){if(g)g.fetch="miss";let I=this.#N(e,b,S,f);return I.__returned=I}else{let I=this.#s[b];if(this.#l(I)){let ie=r&&I.__staleWhileFetching!==void 0;if(g){if(g.fetch="inflight",ie)g.returnedStale=!0}return ie?I.__staleWhileFetching:I.__returned=I}let P=this.#I(b);if(!h&&!P){if(g)g.fetch="hit";if(this.#R(b),n)this.#k(b);if(g)this.#w(g,b);return I}let x=this.#N(e,b,S,f),le=x.__staleWhileFetching!==void 0&&r;if(g){if(g.fetch=P?"stale":"refresh",le&&P)g.returnedStale=!0}return le?x.__staleWhileFetching:x.__returned=x}}async forceFetch(e,t={}){let r=await this.fetch(e,t);if(r===void 0)throw Error("fetch() returned undefined");return r}memo(e,t={}){let r=this.#a;if(!r)throw Error("no memoMethod provided to constructor");let{context:n,forceRefresh:i,...o}=t,s=this.get(e,o);if(!i&&s!==void 0)return s;let a=r(e,s,{options:o,context:n});return this.set(e,a,o),a}get(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:n=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=t,s=this.#A.get(e);if(s!==void 0){let a=this.#s[s],c=this.#l(a);if(o)this.#w(o,s);if(this.#I(s)){if(o)o.get="stale";if(!c){if(!i)this.#x(e,"expire");if(o&&r)o.returnedStale=!0;return r?a:void 0}else{if(o&&r&&a.__staleWhileFetching!==void 0)o.returnedStale=!0;return r?a.__staleWhileFetching:void 0}}else{if(o)o.get="hit";if(c)return a.__staleWhileFetching;if(this.#R(s),n)this.#k(s);return a}}else if(o)o.get="miss"}#O(e,t){this.#m[t]=e,this.#g[e]=t}#R(e){if(e!==this.#d){if(e===this.#f)this.#f=this.#g[e];else this.#O(this.#m[e],this.#g[e]);this.#O(this.#d,e),this.#d=e}}delete(e){return this.#x(e,"delete")}#x(e,t){let r=!1;if(this.#o!==0){let n=this.#A.get(e);if(n!==void 0)if(r=!0,this.#o===1)this.#P(t);else{this.#_(n);let i=this.#s[n];if(this.#l(i))i.__abortController.abort(Error("deleted"));else if(this.#b||this.#h){if(this.#b)this.#r?.(i,e,t);if(this.#h)this.#p?.push([i,e,t])}if(this.#A.delete(e),this.#c[n]=void 0,this.#s[n]=void 0,n===this.#d)this.#d=this.#m[n];else if(n===this.#f)this.#f=this.#g[n];else{let o=this.#m[n];this.#g[o]=this.#g[n];let s=this.#g[n];this.#m[s]=this.#m[n]}this.#o--,this.#C.push(n)}}if(this.#h&&this.#p?.length){let n=this.#p,i;while(i=n?.shift())this.#n?.(...i)}return r}clear(){return this.#P("delete")}#P(e){for(let t of this.#v({allowStale:!0})){let r=this.#s[t];if(this.#l(r))r.__abortController.abort(Error("deleted"));else{let n=this.#c[t];if(this.#b)this.#r?.(r,n,e);if(this.#h)this.#p?.push([r,n,e])}}if(this.#A.clear(),this.#s.fill(void 0),this.#c.fill(void 0),this.#E&&this.#B)this.#E.fill(0),this.#B.fill(0);if(this.#y)this.#y.fill(0);if(this.#f=0,this.#d=0,this.#C.length=0,this.#u=0,this.#o=0,this.#h&&this.#p){let t=this.#p,r;while(r=t?.shift())this.#n?.(...r)}}}});function Qp(e,t,r=100){let n=new bp({max:r}),i=(...o)=>{let s=t(...o),a=n.get(s);if(a!==void 0)return a;let c=e(...o);return n.set(s,c),c};return i.cache={clear:()=>n.clear(),size:()=>n.size,delete:(o)=>n.delete(o),get:(o)=>n.peek(o),has:(o)=>n.has(o)},i}var dU=y(()=>{AU();at();Ot()});import{isAbsolute as U3}from"path";function M3(e){let t=process.cwd();return e.filter((r)=>!gd(r,t))}function L3(e){let t=Bun.which(e);if(!t||process.platform!=="win32")return t;if(U3(e))return t;return M3([t])[0]??null}var pU;var fU=y(()=>{ro();pU=L3});var TU={};Ur(TU,{stashToCleanState:()=>cX,redactGitRemoteCredentials:()=>Sp,preserveGitStateForIssue:()=>pX,normalizeGitRemoteUrl:()=>pC,isLinkedWorktree:()=>J3,isCurrentDirectoryBareGitRepo:()=>hX,isBranchOnOrigin:()=>X3,isAtGitRoot:()=>Z3,hasUnpushedCommits:()=>sX,gitExe:()=>Se,getWorktreeCount:()=>RU,getRepoRemoteHash:()=>oX,getRemoteUrlForBridge:()=>tX,getRemoteUrl:()=>qs,getIsHeadOnRemote:()=>SU,getIsGit:()=>vU,getIsClean:()=>kU,getHead:()=>xU,getGithubRepo:()=>uX,getGitWorktreeName:()=>q3,getGitState:()=>lX,getGitDir:()=>W3,getFileStatus:()=>_U,getDefaultBranch:()=>eX,getChangedFiles:()=>aX,getBranch:()=>wU,findRepoRemoteSlug:()=>iX,findRemoteBase:()=>DU,findGitRoot:()=>Un,findCanonicalGitRoot:()=>QU,dirIsInGitRepo:()=>K3});import{createHash as O3}from"crypto";import{accessSync as P3,constants as $3,readFileSync as Eo,realpathSync as wp,statSync as gU}from"fs";import{open as G3,readFile as H3,realpath as hU,stat as z3}from"fs/promises";import{homedir as j3}from"os";import{basename as xp,dirname as Js,isAbsolute as AC,join as ct,resolve as zl,sep as cr}from"path";function Y3(){function e(t){let r=mU(t);return r===bU?null:r}return e.cache=mU.cache,e}function J3(e){let t=Un(e);return t!==null&&QU(e)!==t}async function q3(e){if(mp())return null;let t=await Jr(e);if(!t||xp(t)===".git"||xp(Js(t))!=="worktrees")return null;return xp(t)}function V3(){function e(t){let r=Un(t);if(!r)return null;return EU(r)}return e.cache=EU.cache,e}function W3(e){return Jr(e)}async function Z3(){let e=Qt(),t=Un(e);if(!t)return!1;try{let[r,n]=await Promise.all([hU(e),hU(t)]);return r===n}catch{return e===t}}async function X3(e,t){return(await Fn(Se(),["show-ref","--verify","--quiet",`refs/remotes/origin/${e}`],{cwd:t??Qt(),preserveOutputOnError:!1})).code===0}function Sp(e){return e==null?e:e.replace(/:\/\/[^/]*@/,"://***@")}function pC(e){let t=e.trim();if(!t)return null;let r=t.match(/^git@([^:]+):(.+?)(?:\.git)?$/);if(r&&r[1]&&r[2])return`${r[1]}/${r[2]}`.toLowerCase();let n=t.match(/^(?:https?|ssh):\/\/(?:[^@]+@)?([^/]+)\/(.+?)(?:\.git)?$/);if(n&&n[1]&&n[2]){let i=n[1],o=n[2];if(fX(i)&&o.startsWith("git/")){let s=o.slice(4),a=s.split("/");if(a.length>=3&&a[0].includes("."))return s.toLowerCase();return`github.com/${s}`.toLowerCase()}return`${i}/${o}`.toLowerCase()}return null}function rX(e){for(let t of[ct(e,".git","config"),ct(e,"config")])try{return Eo(t,"utf-8")}catch{}return null}function iX(e){let t=nX(e);return t===dC?null:t}async function oX(){let e=await qs();if(!e)return null;let t=pC(e);if(!t)return null;return O3("sha256").update(t).digest("hex").substring(0,16)}async function lX(){try{let[e,t,r,n,i,o]=await Promise.all([xU(),wU(),qs(),SU(),kU(),RU()]);return zr("git_status_fetch"),{commitHash:e,branchName:t,remoteUrl:r,isHeadOnRemote:n,isClean:i,worktreeCount:o}}catch(e){return jr("git_status_fetch","git_status_fetch_failed"),null}}async function uX(){let{parseGitRemote:e}=await Promise.resolve().then(() => (gC(),fC)),t=await qs();if(!t)return w("Local GitHub repo: unknown"),null;let r=e(t);if(r&&r.host==="github.com"){let n=`${r.owner}/${r.name}`;return w(`Local GitHub repo: ${n}`),n}return w("Local GitHub repo: unknown"),null}async function DU(){let{stdout:e,code:t}=await ft(Se(),["rev-parse","--abbrev-ref","--symbolic-full-name","@{u}"],{preserveOutputOnError:!1});if(t===0&&e.trim())return e.trim();let{stdout:r,code:n}=await ft(Se(),["symbolic-ref","--short","refs/remotes/origin/HEAD"],{preserveOutputOnError:!1}),i=["origin/main","origin/staging","origin/master"],o=r.trim();if(n===0&&o)i.unshift(o);for(let s of i){let{code:a}=await ft(Se(),["rev-parse","--verify",s],{preserveOutputOnError:!1});if(a===0)return s}return null}function dX(){return iU()}async function vp(){let{stdout:e,code:t}=await ft(Se(),["ls-files","--others","--exclude-standard"],{preserveOutputOnError:!1}),r=e.trim();if(t!==0||!r)return[];let n=r.split(`
|
|
66
|
+
`).filter(Boolean),i=[],o=0;for(let s of n){if(i.length>=yU){w(`Untracked file capture: reached max file count (${yU})`);break}if(PF(s))continue;try{let c=(await z3(s)).size;if(c>IU){w(`Untracked file capture: skipping ${s} (exceeds ${IU} bytes)`);continue}if(o+c>CU){w(`Untracked file capture: reached total size limit (${CU} bytes)`);break}if(c===0){i.push({path:s,content:""});continue}let u=Math.min(AX,c),l=await G3(s,"r");try{let d=Buffer.alloc(u),{bytesRead:A}=await l.read(d,0,u,0),p=d.subarray(0,A);if($F(p))continue;let f;if(c<=u)f=p.toString("utf-8");else f=await H3(s,"utf-8");i.push({path:s,content:f}),o+=c}finally{await l.close()}}catch(a){w(`Failed to read untracked file ${s}: ${a}`)}}return i}async function pX(){try{if(!await vU())return null;if(await dX()){w("Shallow clone detected, using HEAD-only mode for issue");let[{stdout:p},f]=await Promise.all([ft(Se(),["diff","HEAD"]),vp()]);return{remote_base_sha:null,remote_base:null,patch:p||"",untracked_files:f,format_patch:null,head_sha:null,branch_name:null}}let t=await DU();if(!t){w("No remote found, using HEAD-only mode for issue");let[{stdout:p},f]=await Promise.all([ft(Se(),["diff","HEAD"]),vp()]);return{remote_base_sha:null,remote_base:null,patch:p||"",untracked_files:f,format_patch:null,head_sha:null,branch_name:null}}let{stdout:r,code:n}=await ft(Se(),["merge-base","HEAD",t],{preserveOutputOnError:!1});if(n!==0||!r.trim()){w("Merge-base failed, using HEAD-only mode for issue");let[{stdout:p},f]=await Promise.all([ft(Se(),["diff","HEAD"]),vp()]);return{remote_base_sha:null,remote_base:null,patch:p||"",untracked_files:f,format_patch:null,head_sha:null,branch_name:null}}let i=r.trim(),[{stdout:o},s,{stdout:a,code:c},{stdout:u},{stdout:l}]=await Promise.all([ft(Se(),["diff",i]),vp(),ft(Se(),["format-patch",`${i}..HEAD`,"--stdout"]),ft(Se(),["rev-parse","HEAD"]),ft(Se(),["rev-parse","--abbrev-ref","HEAD"])]),d=null;if(c===0&&a&&a.trim())d=a;let A=l?.trim();return{remote_base_sha:i,remote_base:t,patch:o||"",untracked_files:s,format_patch:d,head_sha:u?.trim()||null,branch_name:A&&A!=="HEAD"?A:null}}catch(e){return w(`Failed to preserve git state for issue: ${e}`,{level:"error"}),null}}function fX(e){let t=_l(e,":");return t==="localhost"||/^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(t)}function BU(e,t){let r=process.platform==="win32"?/[\\/]+/:/\/+/,n=t.split(r),i=n[0]===""?cr:n[0]+cr,o=0;for(let s=1;s<n.length;s++){let a=n[s];if(a===""||a===".")continue;if(a===".."){i=Js(i);continue}let c=i.endsWith(cr)?i+a:i+cr+a,u;try{u=e.lstatSync(c)}catch{return null}if(!u.isSymbolicLink()){i=c;continue}if(++o>64)return null;let l;try{l=e.readlinkSync(c)}catch{return null}if(Is(l))return null;let d=l.split(r);if(AC(l))n.splice(0,s+1,...d),i=d[0]===""?cr:d[0]+cr,s=0;else n.splice(s,1,...d),s--}return i}function hX(){let e=Ct(),t=Qt(),r=BU(e,t)??t;if(process.platform==="win32"||process.platform==="darwin")try{r=wp.native(r)}catch{}r=r.normalize("NFC").toLowerCase();let n=r.endsWith(cr)?r:r+cr,i=(A)=>{let p=A.toLowerCase();return p===r||p.startsWith(n)};function o(A){if(Is(A)){if(!/^[\\/]{2}wsl(\$|\.localhost)[\\/]/i.test(A))return null;if(!Is(t))return{canonical:A.normalize("NFC"),crossOs:!0}}let p=BU(e,A);if(p===null)return null;if(process.platform==="win32"||process.platform==="darwin")try{p=wp.native(p)}catch{return null}return{canonical:p.normalize("NFC"),crossOs:!1}}function s(A,p){if(!p&&i(A))return!0;for(let f of A.split(p?/[\\/]+/:cr))if(f.toLowerCase()===".git")return!1;return!0}function a(A){try{let p=e.lstatSync(ct(A,"HEAD"));if(!p.isFile()||p.size>4096)return!1;let f=Eo(ct(A,"HEAD"),"utf8").slice(0,255);return/^ref:[ \t]*refs\//.test(f)||/^[0-9a-f]{40}([0-9a-f]{24})?[ \t\n\r]*$/.test(f)}catch{return!1}}function c(A){try{let p=ct(A,"HEAD"),f=e.lstatSync(p);if(!f.isFile()||f.size>4096)return!1;let h=Eo(p,"utf8").slice(0,255);if(!/^ref:[ \t]*refs\//.test(h)&&!/^[0-9a-f]{40}([0-9a-f]{24})?[ \t\n\r]*$/.test(h))return!1;for(let g of["objects","refs"]){let m=ct(A,g);if(!e.statSync(m).isDirectory())return!1;P3(m,$3.X_OK)}try{return e.statSync(ct(A,"commondir")),!1}catch{}return!0}catch{return!1}}function u(A){try{let p=e.lstatSync(ct(A,"HEAD"));if(p.isFile()||p.isSymbolicLink())return!0}catch{}for(let p of["objects","refs"])try{return e.statSync(ct(A,p)),!0}catch{}return!1}function l(A){let p=(f)=>{let h=o(f);if(h===null)return jr("git_bare_repo_gate","gitdir_target_uncanonical"),"plantable";if(s(h.canonical,h.crossOs))return jr("git_bare_repo_gate","gitdir_target_plantable"),"plantable";return a(h.canonical)?"trusted":"none"};try{let f=e.lstatSync(ct(A,".git"));if(f.isSymbolicLink()){let h;try{h=e.readlinkSync(ct(A,".git"))}catch{return"plantable"}return p(AC(h)?h:A+cr+h)}if(f.isFile()){if(f.size>gX)return"oversized";try{let h=Eo(ct(A,".git"),"utf8");if(h.includes("\x00"))return"plantable";if(!h.startsWith("gitdir: "))return"none";let g=h.slice(8).replace(/[\r\n]+$/,"");return p(AC(g)?g:A+cr+g)}catch{return"none"}}if(f.isDirectory())return c(ct(A,".git"))?"trusted":"none"}catch{}return"none"}switch(l(t)){case"plantable":return"gitdir-redirect-plantable";case"oversized":return"gitdir-file-oversized";case"trusted":return zr("git_bare_repo_gate"),!1;case"none":break}let d=t;for(;;){if(u(d))return jr("git_bare_repo_gate","bare_indicators"),"bare-indicators";let A=Js(d);if(A===d)break;switch(l(A)){case"trusted":return zr("git_bare_repo_gate"),!1;case"plantable":return"gitdir-redirect-plantable";case"oversized":return"gitdir-file-oversized";case"none":break}d=A}return zr("git_bare_repo_gate"),!1}var bU,mU,Un,EU,QU,Se,vU,K3=async(e)=>Un(e)!==null,xU=async()=>rU(),wU=async(e)=>{if(e===void 0)return tU();let{stdout:t,code:r}=await Fn(Se(),["rev-parse","--abbrev-ref","HEAD"],{cwd:e,preserveOutputOnError:!1});return r===0?t.trim()||"HEAD":"HEAD"},eX=async(e)=>{if(e===void 0)return nU();let{stdout:t,code:r}=await Fn(Se(),["symbolic-ref","--short","refs/remotes/origin/HEAD"],{cwd:e,preserveOutputOnError:!1}),n=r===0?t.trim().replace(/^origin\//,""):"",i=n?[n,"main","master"]:["main","master"];for(let o of i)if((await Fn(Se(),["show-ref","--verify","--quiet",`refs/remotes/origin/${o}`],{cwd:e,preserveOutputOnError:!1})).code===0)return o;return"main"},qs=async()=>lC(),tX=async()=>{let e=Un(Qt());if(e===null)return null;try{let t=j3();if(t&&e===xn(zl(t)))return null}catch{}return lC()},dC,nX,SU=async()=>{let{code:e}=await ft(Se(),["rev-parse","@{u}"],{preserveOutputOnError:!1});return e===0},sX=async(e)=>{let{stdout:t,code:r}=await Fn(Se(),["rev-list","--count","@{u}..HEAD"],{cwd:e,preserveOutputOnError:!1});return r===0&&parseInt(t.trim(),10)>0},kU=async(e)=>{let t=["--no-optional-locks","status","--porcelain"];if(e?.ignoreUntracked)t.push("-uno");let{stdout:r}=await ft(Se(),t,{preserveOutputOnError:!1});return r.trim().length===0},aX=async()=>{let{stdout:e}=await ft(Se(),["--no-optional-locks","status","--porcelain"],{preserveOutputOnError:!1});return e.trim().split(`
|
|
67
|
+
`).map((t)=>t.trim().split(" ",2)[1]?.trim()).filter((t)=>typeof t==="string")},_U=async()=>{let{stdout:e}=await ft(Se(),["--no-optional-locks","status","--porcelain"],{preserveOutputOnError:!1}),t=[],r=[];return e.trim().split(`
|
|
68
|
+
`).filter((n)=>n.length>0).forEach((n)=>{let i=n.substring(0,2),o=n.substring(2).trim();if(i==="??")r.push(o);else if(o)t.push(o)}),{tracked:t,untracked:r}},RU=async()=>oU(),cX=async(e)=>{try{let t=e||`Claude Code auto-stash - ${new Date().toISOString()}`,{untracked:r}=await _U();if(r.length>0){let{code:i}=await ft(Se(),["add","--",...r],{preserveOutputOnError:!1});if(i!==0)return!1}let{code:n}=await ft(Se(),["stash","push","--message",t],{preserveOutputOnError:!1});return n===0}catch(t){return!1}},IU=1048576,CU=52428800,yU=200,AX=65536,gX=4096;var yp=y(()=>{vn();$r();GF();nC();Ll();ro();no();at();Hs();rC();Nn();sC();sU();dU();Rl();fU();bU=Symbol("git-root-not-found"),mU=Qp((e)=>{let t=Date.now();ee("info","find_git_root_started");let r=zl(e),n=r.substring(0,r.indexOf(cr)+1)||cr,i=0;while(r!==n){try{let s=ct(r,".git");i++;let a=gU(s);if(a.isDirectory()||a.isFile())return ee("info","find_git_root_completed",{duration_ms:Date.now()-t,stat_count:i,found:!0}),xn(r)}catch{}let o=Js(r);if(o===r)break;r=o}try{let o=ct(n,".git");i++;let s=gU(o);if(s.isDirectory()||s.isFile())return ee("info","find_git_root_completed",{duration_ms:Date.now()-t,stat_count:i,found:!0}),xn(n)}catch{}return ee("info","find_git_root_completed",{duration_ms:Date.now()-t,stat_count:i,found:!1}),bU},(e)=>e,50),Un=Y3();EU=Qp((e)=>{try{let t=Eo(ct(e,".git"),"utf-8").trim();if(!t.startsWith("gitdir:"))return e;let r=t.slice(7).trim(),n=zl(e,r),i=Eo(ct(n,"commondir"),"utf-8").trim(),o=zl(n,i);if(zl(Js(n))!==ct(o,"worktrees"))return e;if(wp(Eo(ct(n,"gitdir"),"utf-8").trim())!==ct(wp(e),".git"))return e;if(xp(o)!==".git")return xn(o);return xn(Js(o))}catch{return e}},(e)=>e,50),QU=V3();Se=Pe(()=>pU("git")||"git"),vU=Pe(async()=>{let e=Date.now();ee("info","is_git_check_started");let t=Un(Qt())!==null;return ee("info","is_git_check_completed",{duration_ms:Date.now()-e,is_git:t}),t},()=>Tc());dC=Symbol("remote-slug-not-found");nX=Qp((e)=>{let t=rX(e);if(!t)return dC;let r=(n)=>{let i=oC(t,"remote","origin",n);return i?pC(i):null};return r("pushurl")??r("url")??dC},(e)=>e,50)});var fC={};Ur(fC,{parseGitRemote:()=>hC,parseGitHubRepository:()=>yX,getCachedRepositoryHost:()=>CX,getCachedRepository:()=>IX,detectCurrentRepositoryWithHost:()=>FU,detectCurrentRepository:()=>EX,clearRepositoryCaches:()=>mX});function mX(){Vs.clear()}async function EX(){let e=await FU();if(!e)return null;if(e.host!=="github.com")return null;return`${e.owner}/${e.name}`}async function FU(e){let t=e??Qt();if(Vs.has(t))return Vs.get(t)??null;try{let r=e===void 0?await qs():null;if(!r){let{stdout:i,code:o}=await Fn(Se(),["config","--get","remote.origin.url"],{cwd:t,preserveOutputOnError:!1});r=o===0?i.trim()||null:null}if(w(`Git remote URL: ${Sp(r)}`),!r)return w("No git remote URL found"),null;let n=hC(r);if(w(`Parsed repository: ${n?`${n.host}/${n.owner}/${n.name}`:null} from URL: ${Sp(r)}`),n)Vs.set(t,n);return n}catch(r){return w(`Error detecting repository: ${r}`),null}}function IX(){let e=Vs.get(Qt());if(!e||e.host!=="github.com")return null;return`${e.owner}/${e.name}`}function CX(){return Vs.get(Qt())?.host??null}function hC(e){let t=e.trim(),r=t.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(r?.[1]&&r[2]&&r[3]){if(!NU(r[1]))return null;return{host:r[1],owner:r[2],name:r[3]}}let n=t.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(n?.[1]&&n[2]&&n[3]&&n[4]){let i=n[1],o=n[2],s=_l(o,":");if(!NU(s))return null;return{host:i==="https"||i==="http"?o:s,owner:n[3],name:n[4]}}return null}function yX(e){let t=e.trim(),r=hC(t);if(r){if(r.host!=="github.com")return null;return`${r.owner}/${r.name}`}if(!t.includes("://")&&!t.includes("@")&&t.includes("/")){let n=t.split("/");if(n.length===2&&n[0]&&n[1]){let i=n[1].replace(/\.git$/,"");return`${n[0]}/${i}`}}return w(`Could not parse repository from: ${t}`),null}function NU(e){if(!e.includes("."))return!1;let t=e.split(".").pop();if(!t)return!1;return/^[a-zA-Z]+$/.test(t)}var Vs;var gC=y(()=>{no();at();rC();yp();Rl();Vs=new Map});var UU={};Ur(UU,{buildGitSessionContext:()=>BX});async function BX(e,t,r){if(!e)return{sources:[],outcomes:[]};let{parseGitRemote:n,parseGitHubRepository:i}=await Promise.resolve().then(() => (gC(),fC)),{getDefaultBranch:o}=await Promise.resolve().then(() => (yp(),TU)),s=r||await o()||"",a=t||s||void 0,c=a&&a!==s?[a]:[],u=(A,p,f)=>({sources:[{type:"git_repository",url:`https://${A}/${p}/${f}`,revision:a}],outcomes:[{type:"git_repository",git_info:{type:"github",repo:`${p}/${f}`,branches:c}}]}),l=n(e);if(l)return u(l.host,l.owner,l.name);let d=i(e);if(d){let[A,p]=d.split("/");if(A&&p)return u("github.com",A,p)}return{sources:[],outcomes:[]}}var YU=C((Jt)=>{var NX=Jt&&Jt.__createBinding||(Object.create?function(e,t,r,n){if(n===void 0)n=r;var i=Object.getOwnPropertyDescriptor(t,r);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[r]}};Object.defineProperty(e,n,i)}:function(e,t,r,n){if(n===void 0)n=r;e[n]=t[r]}),FX=Jt&&Jt.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zU=Jt&&Jt.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))NX(t,e,r)}return FX(t,e),t};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.req=Jt.json=Jt.toBuffer=void 0;var UX=zU(v("http")),MX=zU(v("https"));async function jU(e){let t=0,r=[];for await(let n of e)t+=n.length,r.push(n);return Buffer.concat(r,t)}Jt.toBuffer=jU;async function LX(e){let r=(await jU(e)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}Jt.json=LX;function OX(e,t={}){let n=((typeof e==="string"?e:e.href).startsWith("https:")?MX:UX).request(e,t),i=new Promise((o,s)=>{n.once("response",o).once("error",s).end()});return n.then=i.then.bind(i),n}Jt.req=OX});var ZU=C((lr)=>{var qU=lr&&lr.__createBinding||(Object.create?function(e,t,r,n){if(n===void 0)n=r;var i=Object.getOwnPropertyDescriptor(t,r);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[r]}};Object.defineProperty(e,n,i)}:function(e,t,r,n){if(n===void 0)n=r;e[n]=t[r]}),PX=lr&&lr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),VU=lr&&lr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))qU(t,e,r)}return PX(t,e),t},$X=lr&&lr.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))qU(t,e,r)};Object.defineProperty(lr,"__esModule",{value:!0});lr.Agent=void 0;var GX=VU(v("net")),JU=VU(v("http")),HX=v("https");$X(YU(),lr);var sn=Symbol("AgentBaseInternalState");class WU extends JU.Agent{constructor(e){super(e);this[sn]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==="boolean")return e.secureEndpoint;if(typeof e.protocol==="string")return e.protocol==="https:"}let{stack:t}=Error();if(typeof t!=="string")return!1;return t.split(`
|
|
69
|
+
`).some((r)=>r.indexOf("(https.js:")!==-1||r.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[e])this.sockets[e]=[];let t=new GX.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||t===null)return;let r=this.sockets[e],n=r.indexOf(t);if(n!==-1){if(r.splice(n,1),this.totalSocketCount--,r.length===0)delete this.sockets[e]}}getName(e){if(typeof e.secureEndpoint==="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))return HX.Agent.prototype.getName.call(this,e);return super.getName(e)}createSocket(e,t,r){let n={...t,secureEndpoint:this.isSecureEndpoint(t)},i=this.getName(n),o=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then((s)=>{if(this.decrementSockets(i,o),s instanceof JU.Agent)try{return s.addRequest(e,n)}catch(a){return r(a)}this[sn].currentSocket=s,super.createSocket(e,t,r)},(s)=>{this.decrementSockets(i,o),r(s)})}createConnection(){let e=this[sn].currentSocket;if(this[sn].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[sn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[sn])this[sn].defaultPort=e}get protocol(){return this[sn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[sn])this[sn].protocol=e}}lr.Agent=WU});var KU=C((Ws)=>{var zX=Ws&&Ws.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ws,"__esModule",{value:!0});Ws.parseProxyResponse=void 0;var jX=zX(rd()),_p=(0,jX.default)("https-proxy-agent:parse-proxy-response");function YX(e){return new Promise((t,r)=>{let n=0,i=[];function o(){let l=e.read();if(l)u(l);else e.once("readable",o)}function s(){e.removeListener("end",a),e.removeListener("error",c),e.removeListener("readable",o)}function a(){s(),_p("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function c(l){s(),_p("onerror %o",l),r(l)}function u(l){i.push(l),n+=l.length;let d=Buffer.concat(i,n),A=d.indexOf(`\r
|
|
70
|
+
\r
|
|
71
|
+
`);if(A===-1){_p("have not received end of HTTP headers yet..."),o();return}let p=d.slice(0,A).toString("ascii").split(`\r
|
|
72
|
+
`),f=p.shift();if(!f)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let h=f.split(" "),g=+h[1],m=h.slice(2).join(" "),S={};for(let b of p){if(!b)continue;let I=b.indexOf(":");if(I===-1)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${b}"`));let P=b.slice(0,I).toLowerCase(),x=b.slice(I+1).trimStart(),D=S[P];if(typeof D==="string")S[P]=[D,x];else if(Array.isArray(D))D.push(x);else S[P]=x}_p("got proxy server response: %o %o",f,S),s(),t({connect:{statusCode:g,statusText:m,headers:S},buffered:d})}e.on("error",c),e.on("end",a),o()})}Ws.parseProxyResponse=YX});var iM=C((xr)=>{var JX=xr&&xr.__createBinding||(Object.create?function(e,t,r,n){if(n===void 0)n=r;var i=Object.getOwnPropertyDescriptor(t,r);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable))i={enumerable:!0,get:function(){return t[r]}};Object.defineProperty(e,n,i)}:function(e,t,r,n){if(n===void 0)n=r;e[n]=t[r]}),qX=xr&&xr.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),rM=xr&&xr.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))JX(t,e,r)}return qX(t,e),t},nM=xr&&xr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xr,"__esModule",{value:!0});xr.HttpsProxyAgent=void 0;var Rp=rM(v("net")),XU=rM(v("tls")),VX=nM(v("assert")),WX=nM(rd()),ZX=ZU(),KX=v("url"),XX=KU(),jl=(0,WX.default)("https-proxy-agent"),eM=(e)=>{if(e.servername===void 0&&e.host&&!Rp.isIP(e.host))return{...e,servername:e.host};return e};class mC extends ZX.Agent{constructor(e,t){super(t);this.options={path:void 0},this.proxy=typeof e==="string"?new KX.URL(e):e,this.proxyHeaders=t?.headers??{},jl("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?tM(t,"headers"):null,host:r,port:n}}async connect(e,t){let{proxy:r}=this;if(!t.host)throw TypeError('No "host" provided');let n;if(r.protocol==="https:")jl("Creating `tls.Socket`: %o",this.connectOpts),n=XU.connect(eM(this.connectOpts));else jl("Creating `net.Socket`: %o",this.connectOpts),n=Rp.connect(this.connectOpts);let i=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},o=Rp.isIPv6(t.host)?`[${t.host}]`:t.host,s=`CONNECT ${o}:${t.port} HTTP/1.1\r
|
|
73
|
+
`;if(r.username||r.password){let d=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}if(i.Host=`${o}:${t.port}`,!i["Proxy-Connection"])i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let d of Object.keys(i))s+=`${d}: ${i[d]}\r
|
|
74
|
+
`;let a=(0,XX.parseProxyResponse)(n);n.write(`${s}\r
|
|
75
|
+
`);let{connect:c,buffered:u}=await a;if(e.emit("proxyConnect",c),this.emit("proxyConnect",c,e),c.statusCode===200){if(e.once("socket",e5),t.secureEndpoint)return jl("Upgrading socket connection to TLS"),XU.connect({...tM(eM(t),"host","path","port"),socket:n});return n}n.destroy();let l=new Rp.Socket({writable:!1});return l.readable=!0,e.once("socket",(d)=>{jl("Replaying proxy buffer for failed request"),(0,VX.default)(d.listenerCount("data")>0),d.push(u),d.push(null)}),l}}mC.protocols=["http","https"];xr.HttpsProxyAgent=mC;function e5(e){e.resume()}function tM(e,...t){let r={},n;for(n in e)if(!t.includes(n))r[n]=e[n];return r}});var Ge=C((mNe,lM)=>{lM.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 fe=C((ENe,rL)=>{var uM=Symbol.for("undici.error.UND_ERR");class Ye extends Error{constructor(e){super(e);this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[uM]===!0}[uM]=!0}var AM=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class NM extends Ye{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[AM]===!0}[AM]=!0}var dM=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class FM extends Ye{constructor(e){super(e);this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[dM]===!0}[dM]=!0}var pM=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class UM extends Ye{constructor(e){super(e);this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[pM]===!0}[pM]=!0}var fM=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class MM extends Ye{constructor(e){super(e);this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[fM]===!0}[fM]=!0}var gM=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class LM extends Ye{constructor(e,t,r,n){super(e);this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=n,this.status=t,this.statusCode=t,this.headers=r}static[Symbol.hasInstance](e){return e&&e[gM]===!0}[gM]=!0}var hM=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class OM extends Ye{constructor(e){super(e);this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[hM]===!0}[hM]=!0}var mM=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class PM extends Ye{constructor(e){super(e);this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[mM]===!0}[mM]=!0}var EM=Symbol.for("undici.error.UND_ERR_ABORT");class IC extends Ye{constructor(e){super(e);this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[EM]===!0}[EM]=!0}var IM=Symbol.for("undici.error.UND_ERR_ABORTED");class $M extends IC{constructor(e){super(e);this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[IM]===!0}[IM]=!0}var CM=Symbol.for("undici.error.UND_ERR_INFO");class GM extends Ye{constructor(e){super(e);this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[CM]===!0}[CM]=!0}var yM=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class HM extends Ye{constructor(e){super(e);this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[yM]===!0}[yM]=!0}var BM=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class zM extends Ye{constructor(e){super(e);this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[BM]===!0}[BM]=!0}var bM=Symbol.for("undici.error.UND_ERR_DESTROYED");class jM extends Ye{constructor(e){super(e);this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[bM]===!0}[bM]=!0}var QM=Symbol.for("undici.error.UND_ERR_CLOSED");class YM extends Ye{constructor(e){super(e);this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[QM]===!0}[QM]=!0}var vM=Symbol.for("undici.error.UND_ERR_SOCKET");class JM extends Ye{constructor(e,t){super(e);this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&e[vM]===!0}[vM]=!0}var xM=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class qM extends Ye{constructor(e){super(e);this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[xM]===!0}[xM]=!0}var wM=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class VM extends Ye{constructor(e){super(e);this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[wM]===!0}[wM]=!0}var SM=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class WM extends Error{constructor(e,t,r){super(e);this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&e[SM]===!0}[SM]=!0}var kM=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ZM extends Ye{constructor(e){super(e);this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[kM]===!0}[kM]=!0}var _M=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class KM extends Ye{constructor(e,t,{headers:r,data:n}){super(e);this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=n,this.headers=r}static[Symbol.hasInstance](e){return e&&e[_M]===!0}[_M]=!0}var RM=Symbol.for("undici.error.UND_ERR_RESPONSE");class XM extends Ye{constructor(e,t,{headers:r,data:n}){super(e);this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.data=n,this.headers=r}static[Symbol.hasInstance](e){return e&&e[RM]===!0}[RM]=!0}var DM=Symbol.for("undici.error.UND_ERR_PRX_TLS");class eL extends Ye{constructor(e,t,r){super(t,{cause:e,...r??{}});this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[DM]===!0}[DM]=!0}var TM=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class tL extends Ye{constructor(e){super(e);this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[TM]===!0}get[TM](){return!0}}rL.exports={AbortError:IC,HTTPParserError:WM,UndiciError:Ye,HeadersTimeoutError:FM,HeadersOverflowError:UM,BodyTimeoutError:MM,RequestContentLengthMismatchError:HM,ConnectTimeoutError:NM,ResponseStatusCodeError:LM,InvalidArgumentError:OM,InvalidReturnValueError:PM,RequestAbortedError:$M,ClientDestroyedError:jM,ClientClosedError:YM,InformationalError:GM,SocketError:JM,NotSupportedError:qM,ResponseContentLengthMismatchError:zM,BalancedPoolMissingUpstreamError:VM,ResponseExceededMaxSizeError:ZM,RequestRetryError:KM,ResponseError:XM,SecureProxyConnectionError:eL,MessageSizeExceededError:tL}});var Np=C((INe,nL)=>{var Tp={},CC=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e<CC.length;++e){let t=CC[e],r=t.toLowerCase();Tp[t]=Tp[r]=r}Object.setPrototypeOf(Tp,null);nL.exports={wellknownHeaderNames:CC,headerNameLowerCasedRecord:Tp}});var aL=C((CNe,sL)=>{var{wellknownHeaderNames:iL,headerNameLowerCasedRecord:a5}=Np();class Ks{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(r===void 0||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");if(e.length!==++r)this.middle=new Ks(e,t,r);else this.value=t}add(e,t){let r=e.length;if(r===0)throw TypeError("Unreachable");let n=0,i=this;while(!0){let o=e.charCodeAt(n);if(o>127)throw TypeError("key must be ascii string");if(i.code===o)if(r===++n){i.value=t;break}else if(i.middle!==null)i=i.middle;else{i.middle=new Ks(e,t,n);break}else if(i.code<o)if(i.left!==null)i=i.left;else{i.left=new Ks(e,t,n);break}else if(i.right!==null)i=i.right;else{i.right=new Ks(e,t,n);break}}}search(e){let t=e.length,r=0,n=this;while(n!==null&&r<t){let i=e[r];if(i<=90&&i>=65)i|=32;while(n!==null){if(i===n.code){if(t===++r)return n;n=n.middle;break}n=n.code<i?n.left:n.right}}return null}}class yC{node=null;insert(e,t){if(this.node===null)this.node=new Ks(e,t,0);else this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}var oL=new yC;for(let e=0;e<iL.length;++e){let t=a5[iL[e]];oL.insert(t,t)}sL.exports={TernarySearchTree:yC,tree:oL}});var oe=C((yNe,bL)=>{var Jl=v("node:assert"),{kDestroyed:lL,kBodyUsed:Xs,kListeners:BC,kBody:cL}=Ge(),{IncomingMessage:c5}=v("node:http"),Up=v("node:stream"),l5=v("node:net"),{Blob:u5}=v("node:buffer"),A5=v("node:util"),{stringify:d5}=v("node:querystring"),{EventEmitter:p5}=v("node:events"),{InvalidArgumentError:yt}=fe(),{headerNameLowerCasedRecord:f5}=Np(),{tree:uL}=aL(),[g5,h5]=process.versions.node.split(".").map((e)=>Number(e));class bC{constructor(e){this[cL]=e,this[Xs]=!1}async*[Symbol.asyncIterator](){Jl(!this[Xs],"disturbed"),this[Xs]=!0,yield*this[cL]}}function m5(e){if(Mp(e)){if(gL(e)===0)e.on("data",function(){Jl(!1)});if(typeof e.readableDidRead!=="boolean")e[Xs]=!1,p5.prototype.on.call(e,"data",function(){this[Xs]=!0});return e}else if(e&&typeof e.pipeTo==="function")return new bC(e);else if(e&&typeof e!=="string"&&!ArrayBuffer.isView(e)&&fL(e))return new bC(e);else return e}function E5(){}function Mp(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function AL(e){if(e===null)return!1;else if(e instanceof u5)return!0;else if(typeof e!=="object")return!1;else{let t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&(("stream"in e)&&typeof e.stream==="function"||("arrayBuffer"in e)&&typeof e.arrayBuffer==="function")}}function I5(e,t){if(e.includes("?")||e.includes("#"))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d5(t);if(r)e+="?"+r;return e}function dL(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function Fp(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function pL(e){if(typeof e==="string"){if(e=new URL(e),!Fp(e.origin||e.protocol))throw new yt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!=="object")throw new yt("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&dL(e.port)===!1)throw new yt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(e.path!=null&&typeof e.path!=="string")throw new yt("Invalid URL path: the path must be a string or null/undefined.");if(e.pathname!=null&&typeof e.pathname!=="string")throw new yt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(e.hostname!=null&&typeof e.hostname!=="string")throw new yt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(e.origin!=null&&typeof e.origin!=="string")throw new yt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Fp(e.origin||e.protocol))throw new yt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=e.port!=null?e.port:e.protocol==="https:"?443:80,r=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r[r.length-1]==="/")r=r.slice(0,r.length-1);if(n&&n[0]!=="/")n=`/${n}`;return new URL(`${r}${n}`)}if(!Fp(e.origin||e.protocol))throw new yt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function C5(e){if(e=pL(e),e.pathname!=="/"||e.search||e.hash)throw new yt("invalid url");return e}function y5(e){if(e[0]==="["){let r=e.indexOf("]");return Jl(r!==-1),e.substring(1,r)}let t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function B5(e){if(!e)return null;Jl(typeof e==="string");let t=y5(e);if(l5.isIP(t))return"";return t}function b5(e){return JSON.parse(JSON.stringify(e))}function Q5(e){return e!=null&&typeof e[Symbol.asyncIterator]==="function"}function fL(e){return e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function")}function gL(e){if(e==null)return 0;else if(Mp(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else if(AL(e))return e.size!=null?e.size:null;else if(EL(e))return e.byteLength;return null}function hL(e){return e&&!!(e.destroyed||e[lL]||Up.isDestroyed?.(e))}function v5(e,t){if(e==null||!Mp(e)||hL(e))return;if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===c5)e.socket=null;e.destroy(t)}else if(t)queueMicrotask(()=>{e.emit("error",t)});if(e.destroyed!==!0)e[lL]=!0}var x5=/timeout=(\d+)/;function w5(e){let t=e.toString().match(x5);return t?parseInt(t[1],10)*1000:null}function mL(e){return typeof e==="string"?f5[e]??e.toLowerCase():uL.lookup(e)??e.toString("latin1").toLowerCase()}function S5(e){return uL.lookup(e)??e.toString("latin1").toLowerCase()}function k5(e,t){if(t===void 0)t={};for(let r=0;r<e.length;r+=2){let n=mL(e[r]),i=t[n];if(i){if(typeof i==="string")i=[i],t[n]=i;i.push(e[r+1].toString("utf8"))}else{let o=e[r+1];if(typeof o==="string")t[n]=o;else t[n]=Array.isArray(o)?o.map((s)=>s.toString("utf8")):o.toString("utf8")}}if("content-length"in t&&"content-disposition"in t)t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1");return t}function _5(e){let t=e.length,r=Array(t),n=!1,i=-1,o,s,a=0;for(let c=0;c<e.length;c+=2){if(o=e[c],s=e[c+1],typeof o!=="string"&&(o=o.toString()),typeof s!=="string"&&(s=s.toString("utf8")),a=o.length,a===14&&o[7]==="-"&&(o==="content-length"||o.toLowerCase()==="content-length"))n=!0;else if(a===19&&o[7]==="-"&&(o==="content-disposition"||o.toLowerCase()==="content-disposition"))i=c+1;r[c]=o,r[c+1]=s}if(n&&i!==-1)r[i]=Buffer.from(r[i]).toString("latin1");return r}function EL(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function R5(e,t,r){if(!e||typeof e!=="object")throw new yt("handler must be an object");if(typeof e.onConnect!=="function")throw new yt("invalid onConnect method");if(typeof e.onError!=="function")throw new yt("invalid onError method");if(typeof e.onBodySent!=="function"&&e.onBodySent!==void 0)throw new yt("invalid onBodySent method");if(r||t==="CONNECT"){if(typeof e.onUpgrade!=="function")throw new yt("invalid onUpgrade method")}else{if(typeof e.onHeaders!=="function")throw new yt("invalid onHeaders method");if(typeof e.onData!=="function")throw new yt("invalid onData method");if(typeof e.onComplete!=="function")throw new yt("invalid onComplete method")}}function D5(e){return!!(e&&(Up.isDisturbed(e)||e[Xs]))}function T5(e){return!!(e&&Up.isErrored(e))}function N5(e){return!!(e&&Up.isReadable(e))}function F5(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}}function U5(e){let t;return new ReadableStream({async start(){t=e[Symbol.asyncIterator]()},async pull(r){let{done:n,value:i}=await t.next();if(n)queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});else{let o=Buffer.isBuffer(i)?i:Buffer.from(i);if(o.byteLength)r.enqueue(new Uint8Array(o))}return r.desiredSize>0},async cancel(r){await t.return()},type:"bytes"})}function M5(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function L5(e,t){if("addEventListener"in e)return e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t);return e.addListener("abort",t),()=>e.removeListener("abort",t)}var O5=typeof String.prototype.toWellFormed==="function",P5=typeof String.prototype.isWellFormed==="function";function IL(e){return O5?`${e}`.toWellFormed():A5.toUSVString(e)}function $5(e){return P5?`${e}`.isWellFormed():IL(e)===`${e}`}function CL(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return e>=33&&e<=126}}function G5(e){if(e.length===0)return!1;for(let t=0;t<e.length;++t)if(!CL(e.charCodeAt(t)))return!1;return!0}var H5=/[^\t\x20-\x7e\x80-\xff]/;function z5(e){return!H5.test(e)}function j5(e){if(e==null||e==="")return{start:0,end:null,size:null};let t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}function Y5(e,t,r){return(e[BC]??=[]).push([t,r]),e.on(t,r),e}function J5(e){for(let[t,r]of e[BC]??[])e.removeListener(t,r);e[BC]=null}function q5(e,t,r){try{t.onError(r),Jl(t.aborted)}catch(n){e.emit("error",n)}}var yL=Object.create(null);yL.enumerable=!0;var QC={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},BL={...QC,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(QC,null);Object.setPrototypeOf(BL,null);bL.exports={kEnumerableProperty:yL,nop:E5,isDisturbed:D5,isErrored:T5,isReadable:N5,toUSVString:IL,isUSVString:$5,isBlobLike:AL,parseOrigin:C5,parseURL:pL,getServerName:B5,isStream:Mp,isIterable:fL,isAsyncIterable:Q5,isDestroyed:hL,headerNameToString:mL,bufferToLowerCasedHeaderName:S5,addListener:Y5,removeAllListeners:J5,errorRequest:q5,parseRawHeaders:_5,parseHeaders:k5,parseKeepAliveTimeout:w5,destroy:v5,bodyLength:gL,deepClone:b5,ReadableStreamFrom:U5,isBuffer:EL,validateHandler:R5,getSocketInfo:F5,isFormDataLike:M5,buildURL:I5,addAbortListener:L5,isValidHTTPToken:G5,isValidHeaderValue:z5,isTokenCharCode:CL,parseRangeHeader:j5,normalizedMethodRecordsBase:QC,normalizedMethodRecords:BL,isValidPort:dL,isHttpOrHttpsPrefixed:Fp,nodeMajor:g5,nodeMinor:h5,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:m5}});var ea=C((BNe,vL)=>{var Ie=v("node:diagnostics_channel"),xC=v("node:util"),Lp=xC.debuglog("undici"),vC=xC.debuglog("fetch"),Io=xC.debuglog("websocket"),QL=!1,V5={beforeConnect:Ie.channel("undici:client:beforeConnect"),connected:Ie.channel("undici:client:connected"),connectError:Ie.channel("undici:client:connectError"),sendHeaders:Ie.channel("undici:client:sendHeaders"),create:Ie.channel("undici:request:create"),bodySent:Ie.channel("undici:request:bodySent"),headers:Ie.channel("undici:request:headers"),trailers:Ie.channel("undici:request:trailers"),error:Ie.channel("undici:request:error"),open:Ie.channel("undici:websocket:open"),close:Ie.channel("undici:websocket:close"),socketError:Ie.channel("undici:websocket:socket_error"),ping:Ie.channel("undici:websocket:ping"),pong:Ie.channel("undici:websocket:pong")};if(Lp.enabled||vC.enabled){let e=vC.enabled?vC:Lp;Ie.channel("undici:client:beforeConnect").subscribe((t)=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=t;e("connecting to %s using %s%s",`${o}${i?`:${i}`:""}`,n,r)}),Ie.channel("undici:client:connected").subscribe((t)=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=t;e("connected to %s using %s%s",`${o}${i?`:${i}`:""}`,n,r)}),Ie.channel("undici:client:connectError").subscribe((t)=>{let{connectParams:{version:r,protocol:n,port:i,host:o},error:s}=t;e("connection to %s using %s%s errored - %s",`${o}${i?`:${i}`:""}`,n,r,s.message)}),Ie.channel("undici:client:sendHeaders").subscribe((t)=>{let{request:{method:r,path:n,origin:i}}=t;e("sending request to %s %s/%s",r,i,n)}),Ie.channel("undici:request:headers").subscribe((t)=>{let{request:{method:r,path:n,origin:i},response:{statusCode:o}}=t;e("received response to %s %s/%s - HTTP %d",r,i,n,o)}),Ie.channel("undici:request:trailers").subscribe((t)=>{let{request:{method:r,path:n,origin:i}}=t;e("trailers received from %s %s/%s",r,i,n)}),Ie.channel("undici:request:error").subscribe((t)=>{let{request:{method:r,path:n,origin:i},error:o}=t;e("request to %s %s/%s errored - %s",r,i,n,o.message)}),QL=!0}if(Io.enabled){if(!QL){let e=Lp.enabled?Lp:Io;Ie.channel("undici:client:beforeConnect").subscribe((t)=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=t;e("connecting to %s%s using %s%s",o,i?`:${i}`:"",n,r)}),Ie.channel("undici:client:connected").subscribe((t)=>{let{connectParams:{version:r,protocol:n,port:i,host:o}}=t;e("connected to %s%s using %s%s",o,i?`:${i}`:"",n,r)}),Ie.channel("undici:client:connectError").subscribe((t)=>{let{connectParams:{version:r,protocol:n,port:i,host:o},error:s}=t;e("connection to %s%s using %s%s errored - %s",o,i?`:${i}`:"",n,r,s.message)}),Ie.channel("undici:client:sendHeaders").subscribe((t)=>{let{request:{method:r,path:n,origin:i}}=t;e("sending request to %s %s/%s",r,i,n)})}Ie.channel("undici:websocket:open").subscribe((e)=>{let{address:{address:t,port:r}}=e;Io("connection opened %s%s",t,r?`:${r}`:"")}),Ie.channel("undici:websocket:close").subscribe((e)=>{let{websocket:t,code:r,reason:n}=e;Io("closed connection to %s - %s %s",t.url,r,n)}),Ie.channel("undici:websocket:socket_error").subscribe((e)=>{Io("connection errored - %s",e.message)}),Ie.channel("undici:websocket:ping").subscribe((e)=>{Io("ping received")}),Ie.channel("undici:websocket:pong").subscribe((e)=>{Io("pong received")})}vL.exports={channels:V5}});var _L=C((bNe,kL)=>{var{InvalidArgumentError:ke,NotSupportedError:W5}=fe(),Mn=v("node:assert"),{isValidHTTPToken:wL,isValidHeaderValue:wC,isStream:Z5,destroy:K5,isBuffer:X5,isFormDataLike:e7,isIterable:t7,isBlobLike:r7,buildURL:n7,validateHandler:i7,getServerName:o7,normalizedMethodRecords:s7}=oe(),{channels:an}=ea(),{headerNameLowerCasedRecord:xL}=Np(),a7=/[^\u0021-\u00ff]/,wr=Symbol("handler");class SL{constructor(e,{path:t,method:r,body:n,headers:i,query:o,idempotent:s,blocking:a,upgrade:c,headersTimeout:u,bodyTimeout:l,reset:d,throwOnError:A,expectContinue:p,servername:f},h){if(typeof t!=="string")throw new ke("path must be a string");else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT")throw new ke("path must be an absolute URL or start with a slash");else if(a7.test(t))throw new ke("invalid request path");if(typeof r!=="string")throw new ke("method must be a string");else if(s7[r]===void 0&&!wL(r))throw new ke("invalid request method");if(c&&typeof c!=="string")throw new ke("upgrade must be a string");if(c&&!wC(c))throw new ke("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new ke("invalid headersTimeout");if(l!=null&&(!Number.isFinite(l)||l<0))throw new ke("invalid bodyTimeout");if(d!=null&&typeof d!=="boolean")throw new ke("invalid reset");if(p!=null&&typeof p!=="boolean")throw new ke("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=l,this.throwOnError=A===!0,this.method=r,this.abort=null,n==null)this.body=null;else if(Z5(n)){this.body=n;let g=this.body._readableState;if(!g||!g.autoDestroy)this.endHandler=function(){K5(this)},this.body.on("end",this.endHandler);this.errorHandler=(m)=>{if(this.abort)this.abort(m);else this.error=m},this.body.on("error",this.errorHandler)}else if(X5(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if(typeof n==="string")this.body=n.length?Buffer.from(n):null;else if(e7(n)||t7(n)||r7(n))this.body=n;else throw new ke("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=c||null,this.path=o?n7(t,o):t,this.origin=e,this.idempotent=s==null?r==="HEAD"||r==="GET":s,this.blocking=a==null?!1:a,this.reset=d==null?null:d,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=p!=null?p:!1,Array.isArray(i)){if(i.length%2!==0)throw new ke("headers array must be even");for(let g=0;g<i.length;g+=2)Op(this,i[g],i[g+1])}else if(i&&typeof i==="object")if(i[Symbol.iterator])for(let g of i){if(!Array.isArray(g)||g.length!==2)throw new ke("headers must be in key-value pair format");Op(this,g[0],g[1])}else{let g=Object.keys(i);for(let m=0;m<g.length;++m)Op(this,g[m],i[g[m]])}else if(i!=null)throw new ke("headers must be an object or an array");if(i7(h,r,c),this.servername=f||o7(this.host),this[wr]=h,an.create.hasSubscribers)an.create.publish({request:this})}onBodySent(e){if(this[wr].onBodySent)try{return this[wr].onBodySent(e)}catch(t){this.abort(t)}}onRequestSent(){if(an.bodySent.hasSubscribers)an.bodySent.publish({request:this});if(this[wr].onRequestSent)try{return this[wr].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Mn(!this.aborted),Mn(!this.completed),this.error)e(this.error);else return this.abort=e,this[wr].onConnect(e)}onResponseStarted(){return this[wr].onResponseStarted?.()}onHeaders(e,t,r,n){if(Mn(!this.aborted),Mn(!this.completed),an.headers.hasSubscribers)an.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:n}});try{return this[wr].onHeaders(e,t,r,n)}catch(i){this.abort(i)}}onData(e){Mn(!this.aborted),Mn(!this.completed);try{return this[wr].onData(e)}catch(t){return this.abort(t),!1}}onUpgrade(e,t,r){return Mn(!this.aborted),Mn(!this.completed),this[wr].onUpgrade(e,t,r)}onComplete(e){if(this.onFinally(),Mn(!this.aborted),this.completed=!0,an.trailers.hasSubscribers)an.trailers.publish({request:this,trailers:e});try{return this[wr].onComplete(e)}catch(t){this.onError(t)}}onError(e){if(this.onFinally(),an.error.hasSubscribers)an.error.publish({request:this,error:e});if(this.aborted)return;return this.aborted=!0,this[wr].onError(e)}onFinally(){if(this.errorHandler)this.body.off("error",this.errorHandler),this.errorHandler=null;if(this.endHandler)this.body.off("end",this.endHandler),this.endHandler=null}addHeader(e,t){return Op(this,e,t),this}}function Op(e,t,r){if(r&&(typeof r==="object"&&!Array.isArray(r)))throw new ke(`invalid ${t} header`);else if(r===void 0)return;let n=xL[t];if(n===void 0){if(n=t.toLowerCase(),xL[n]===void 0&&!wL(n))throw new ke("invalid header key")}if(Array.isArray(r)){let i=[];for(let o=0;o<r.length;o++)if(typeof r[o]==="string"){if(!wC(r[o]))throw new ke(`invalid ${t} header`);i.push(r[o])}else if(r[o]===null)i.push("");else if(typeof r[o]==="object")throw new ke(`invalid ${t} header`);else i.push(`${r[o]}`);r=i}else if(typeof r==="string"){if(!wC(r))throw new ke(`invalid ${t} header`)}else if(r===null)r="";else r=`${r}`;if(n==="host"){if(e.host!==null)throw new ke("duplicate host header");if(typeof r!=="string")throw new ke("invalid host header");e.host=r}else if(n==="content-length"){if(e.contentLength!==null)throw new ke("duplicate content-length header");if(e.contentLength=parseInt(r,10),!Number.isFinite(e.contentLength))throw new ke("invalid content-length header")}else if(e.contentType===null&&n==="content-type")e.contentType=r,e.headers.push(t,r);else if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new ke(`invalid ${n} header`);else if(n==="connection"){let i=typeof r==="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new ke("invalid connection header");if(i==="close")e.reset=!0}else if(n==="expect")throw new W5("expect header not supported");else e.headers.push(t,r)}kL.exports=SL});var ql=C((QNe,DL)=>{var c7=v("node:events");class SC extends c7{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let n of t){if(n==null)continue;if(typeof n!=="function")throw TypeError(`invalid interceptor, expected function received ${typeof n}`);if(r=n(r),r==null||typeof r!=="function"||r.length!==2)throw TypeError("invalid interceptor")}return new RL(this,r)}}class RL extends SC{#e=null;#t=null;constructor(e,t){super();this.#e=e,this.#t=t}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}}DL.exports=SC});var ia=C((vNe,NL)=>{var l7=ql(),{ClientDestroyedError:kC,ClientClosedError:u7,InvalidArgumentError:ta}=fe(),{kDestroy:A7,kClose:d7,kClosed:Vl,kDestroyed:ra,kDispatch:_C,kInterceptors:Co}=Ge(),Ln=Symbol("onDestroyed"),na=Symbol("onClosed"),Pp=Symbol("Intercepted Dispatch");class TL extends l7{constructor(){super();this[ra]=!1,this[Ln]=null,this[Vl]=!1,this[na]=[]}get destroyed(){return this[ra]}get closed(){return this[Vl]}get interceptors(){return this[Co]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--)if(typeof this[Co][t]!=="function")throw new ta("interceptor must be an function")}this[Co]=e}close(e){if(e===void 0)return new Promise((r,n)=>{this.close((i,o)=>i?n(i):r(o))});if(typeof e!=="function")throw new ta("invalid callback");if(this[ra]){queueMicrotask(()=>e(new kC,null));return}if(this[Vl]){if(this[na])this[na].push(e);else queueMicrotask(()=>e(null,null));return}this[Vl]=!0,this[na].push(e);let t=()=>{let r=this[na];this[na]=null;for(let n=0;n<r.length;n++)r[n](null,null)};this[d7]().then(()=>this.destroy()).then(()=>{queueMicrotask(t)})}destroy(e,t){if(typeof e==="function")t=e,e=null;if(t===void 0)return new Promise((n,i)=>{this.destroy(e,(o,s)=>o?i(o):n(s))});if(typeof t!=="function")throw new ta("invalid callback");if(this[ra]){if(this[Ln])this[Ln].push(t);else queueMicrotask(()=>t(null,null));return}if(!e)e=new kC;this[ra]=!0,this[Ln]=this[Ln]||[],this[Ln].push(t);let r=()=>{let n=this[Ln];this[Ln]=null;for(let i=0;i<n.length;i++)n[i](null,null)};this[A7](e).then(()=>{queueMicrotask(r)})}[Pp](e,t){if(!this[Co]||this[Co].length===0)return this[Pp]=this[_C],this[_C](e,t);let r=this[_C].bind(this);for(let n=this[Co].length-1;n>=0;n--)r=this[Co][n](r);return this[Pp]=r,r(e,t)}dispatch(e,t){if(!t||typeof t!=="object")throw new ta("handler must be an object");try{if(!e||typeof e!=="object")throw new ta("opts must be an object.");if(this[ra]||this[Ln])throw new kC;if(this[Vl])throw new u7;return this[Pp](e,t)}catch(r){if(typeof t.onError!=="function")throw new ta("invalid onError method");return t.onError(r),!1}}}NL.exports=TL});var LC=C((xNe,LL)=>{var oa=0,RC=1000,DC=(RC>>1)-1,On,TC=Symbol("kFastTimer"),Pn=[],NC=-2,FC=-1,UL=0,FL=1;function UC(){oa+=DC;let e=0,t=Pn.length;while(e<t){let r=Pn[e];if(r._state===UL)r._idleStart=oa-DC,r._state=FL;else if(r._state===FL&&oa>=r._idleStart+r._idleTimeout)r._state=FC,r._idleStart=-1,r._onTimeout(r._timerArg);if(r._state===FC){if(r._state=NC,--t!==0)Pn[e]=Pn[t]}else++e}if(Pn.length=t,Pn.length!==0)ML()}function ML(){if(On)On.refresh();else if(clearTimeout(On),On=setTimeout(UC,DC),On.unref)On.unref()}class MC{[TC]=!0;_state=NC;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){if(this._state===NC)Pn.push(this);if(!On||Pn.length===1)ML();this._state=UL}clear(){this._state=FC,this._idleStart=-1}}LL.exports={setTimeout(e,t,r){return t<=RC?setTimeout(e,t,r):new MC(e,t,r)},clearTimeout(e){if(e[TC])e.clear();else clearTimeout(e)},setFastTimeout(e,t,r){return new MC(e,t,r)},clearFastTimeout(e){e.clear()},now(){return oa},tick(e=0){oa+=e-RC+1,UC(),UC()},reset(){oa=0,Pn.length=0,clearTimeout(On),On=null},kFastTimer:TC}});var Wl=C((wNe,HL)=>{var p7=v("node:net"),OL=v("node:assert"),GL=oe(),{InvalidArgumentError:f7,ConnectTimeoutError:g7}=fe(),$p=LC();function PL(){}var OC,PC;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG))PC=class{constructor(t){this._maxCachedSessions=t,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry((r)=>{if(this._sessionCache.size<this._maxCachedSessions)return;let n=this._sessionCache.get(r);if(n!==void 0&&n.deref()===void 0)this._sessionCache.delete(r)})}get(t){let r=this._sessionCache.get(t);return r?r.deref():null}set(t,r){if(this._maxCachedSessions===0)return;this._sessionCache.set(t,new WeakRef(r)),this._sessionRegistry.register(r,t)}};else PC=class{constructor(t){this._maxCachedSessions=t,this._sessionCache=new Map}get(t){return this._sessionCache.get(t)}set(t,r){if(this._maxCachedSessions===0)return;if(this._sessionCache.size>=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(t,r)}};function h7({allowH2:e,maxCachedSessions:t,socketPath:r,timeout:n,session:i,...o}){if(t!=null&&(!Number.isInteger(t)||t<0))throw new f7("maxCachedSessions must be a positive integer or zero");let s={path:r,...o},a=new PC(t==null?100:t);return n=n==null?1e4:n,e=e!=null?e:!1,function({hostname:u,host:l,protocol:d,port:A,servername:p,localAddress:f,httpSocket:h},g){let m;if(d==="https:"){if(!OC)OC=v("node:tls");p=p||s.servername||GL.getServerName(l)||null;let b=p||u;OL(b);let I=i||a.get(b)||null;A=A||443,m=OC.connect({highWaterMark:16384,...s,servername:p,session:I,localAddress:f,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:h,port:A,host:u}),m.on("session",function(P){a.set(b,P)})}else OL(!h,"httpSocket can only be sent on TLS update"),A=A||80,m=p7.connect({highWaterMark:65536,...s,localAddress:f,port:A,host:u});if(s.keepAlive==null||s.keepAlive){let b=s.keepAliveInitialDelay===void 0?60000:s.keepAliveInitialDelay;m.setKeepAlive(!0,b)}let S=m7(new WeakRef(m),{timeout:n,hostname:u,port:A});return m.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(S),g){let b=g;g=null,b(null,this)}}).on("error",function(b){if(queueMicrotask(S),g){let I=g;g=null,I(b)}}),m}}var m7=process.platform==="win32"?(e,t)=>{if(!t.timeout)return PL;let r=null,n=null,i=$p.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>$L(e.deref(),t))})},t.timeout);return()=>{$p.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(e,t)=>{if(!t.timeout)return PL;let r=null,n=$p.setFastTimeout(()=>{r=setImmediate(()=>{$L(e.deref(),t)})},t.timeout);return()=>{$p.clearFastTimeout(n),clearImmediate(r)}};function $L(e,t){if(e==null)return;let r="Connect Timeout Error";if(Array.isArray(e.autoSelectFamilyAttemptedAddresses))r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`;else r+=` (attempted address: ${t.hostname}:${t.port},`;r+=` timeout: ${t.timeout}ms)`,GL.destroy(e,new g7(r))}HL.exports=h7});var YL=C((zL)=>{Object.defineProperty(zL,"__esModule",{value:!0});zL.enumToMap=void 0;function E7(e){let t={};return Object.keys(e).forEach((r)=>{let n=e[r];if(typeof n==="number")t[r]=n}),t}zL.enumToMap=E7});var lO=C((eO)=>{Object.defineProperty(eO,"__esModule",{value:!0});eO.SPECIAL_HEADERS=eO.HEADER_STATE=eO.MINOR=eO.MAJOR=eO.CONNECTION_TOKEN_CHARS=eO.HEADER_CHARS=eO.TOKEN=eO.STRICT_TOKEN=eO.HEX=eO.URL_CHAR=eO.STRICT_URL_CHAR=eO.USERINFO_CHARS=eO.MARK=eO.ALPHANUM=eO.NUM=eO.HEX_MAP=eO.NUM_MAP=eO.ALPHA=eO.FINISH=eO.H_METHOD_MAP=eO.METHOD_MAP=eO.METHODS_RTSP=eO.METHODS_ICE=eO.METHODS_HTTP=eO.METHODS=eO.LENIENT_FLAGS=eO.FLAGS=eO.TYPE=eO.ERROR=void 0;var I7=YL(),C7;(function(e){e[e.OK=0]="OK",e[e.INTERNAL=1]="INTERNAL",e[e.STRICT=2]="STRICT",e[e.LF_EXPECTED=3]="LF_EXPECTED",e[e.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",e[e.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",e[e.INVALID_METHOD=6]="INVALID_METHOD",e[e.INVALID_URL=7]="INVALID_URL",e[e.INVALID_CONSTANT=8]="INVALID_CONSTANT",e[e.INVALID_VERSION=9]="INVALID_VERSION",e[e.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",e[e.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",e[e.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",e[e.INVALID_STATUS=13]="INVALID_STATUS",e[e.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",e[e.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",e[e.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",e[e.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",e[e.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",e[e.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",e[e.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",e[e.PAUSED=21]="PAUSED",e[e.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",e[e.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",e[e.USER=24]="USER"})(C7=eO.ERROR||(eO.ERROR={}));var y7;(function(e){e[e.BOTH=0]="BOTH",e[e.REQUEST=1]="REQUEST",e[e.RESPONSE=2]="RESPONSE"})(y7=eO.TYPE||(eO.TYPE={}));var B7;(function(e){e[e.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",e[e.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",e[e.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",e[e.CHUNKED=8]="CHUNKED",e[e.UPGRADE=16]="UPGRADE",e[e.CONTENT_LENGTH=32]="CONTENT_LENGTH",e[e.SKIPBODY=64]="SKIPBODY",e[e.TRAILING=128]="TRAILING",e[e.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(B7=eO.FLAGS||(eO.FLAGS={}));var b7;(function(e){e[e.HEADERS=1]="HEADERS",e[e.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",e[e.KEEP_ALIVE=4]="KEEP_ALIVE"})(b7=eO.LENIENT_FLAGS||(eO.LENIENT_FLAGS={}));var j;(function(e){e[e.DELETE=0]="DELETE",e[e.GET=1]="GET",e[e.HEAD=2]="HEAD",e[e.POST=3]="POST",e[e.PUT=4]="PUT",e[e.CONNECT=5]="CONNECT",e[e.OPTIONS=6]="OPTIONS",e[e.TRACE=7]="TRACE",e[e.COPY=8]="COPY",e[e.LOCK=9]="LOCK",e[e.MKCOL=10]="MKCOL",e[e.MOVE=11]="MOVE",e[e.PROPFIND=12]="PROPFIND",e[e.PROPPATCH=13]="PROPPATCH",e[e.SEARCH=14]="SEARCH",e[e.UNLOCK=15]="UNLOCK",e[e.BIND=16]="BIND",e[e.REBIND=17]="REBIND",e[e.UNBIND=18]="UNBIND",e[e.ACL=19]="ACL",e[e.REPORT=20]="REPORT",e[e.MKACTIVITY=21]="MKACTIVITY",e[e.CHECKOUT=22]="CHECKOUT",e[e.MERGE=23]="MERGE",e[e["M-SEARCH"]=24]="M-SEARCH",e[e.NOTIFY=25]="NOTIFY",e[e.SUBSCRIBE=26]="SUBSCRIBE",e[e.UNSUBSCRIBE=27]="UNSUBSCRIBE",e[e.PATCH=28]="PATCH",e[e.PURGE=29]="PURGE",e[e.MKCALENDAR=30]="MKCALENDAR",e[e.LINK=31]="LINK",e[e.UNLINK=32]="UNLINK",e[e.SOURCE=33]="SOURCE",e[e.PRI=34]="PRI",e[e.DESCRIBE=35]="DESCRIBE",e[e.ANNOUNCE=36]="ANNOUNCE",e[e.SETUP=37]="SETUP",e[e.PLAY=38]="PLAY",e[e.PAUSE=39]="PAUSE",e[e.TEARDOWN=40]="TEARDOWN",e[e.GET_PARAMETER=41]="GET_PARAMETER",e[e.SET_PARAMETER=42]="SET_PARAMETER",e[e.REDIRECT=43]="REDIRECT",e[e.RECORD=44]="RECORD",e[e.FLUSH=45]="FLUSH"})(j=eO.METHODS||(eO.METHODS={}));eO.METHODS_HTTP=[j.DELETE,j.GET,j.HEAD,j.POST,j.PUT,j.CONNECT,j.OPTIONS,j.TRACE,j.COPY,j.LOCK,j.MKCOL,j.MOVE,j.PROPFIND,j.PROPPATCH,j.SEARCH,j.UNLOCK,j.BIND,j.REBIND,j.UNBIND,j.ACL,j.REPORT,j.MKACTIVITY,j.CHECKOUT,j.MERGE,j["M-SEARCH"],j.NOTIFY,j.SUBSCRIBE,j.UNSUBSCRIBE,j.PATCH,j.PURGE,j.MKCALENDAR,j.LINK,j.UNLINK,j.PRI,j.SOURCE];eO.METHODS_ICE=[j.SOURCE];eO.METHODS_RTSP=[j.OPTIONS,j.DESCRIBE,j.ANNOUNCE,j.SETUP,j.PLAY,j.PAUSE,j.TEARDOWN,j.GET_PARAMETER,j.SET_PARAMETER,j.REDIRECT,j.RECORD,j.FLUSH,j.GET,j.POST];eO.METHOD_MAP=I7.enumToMap(j);eO.H_METHOD_MAP={};Object.keys(eO.METHOD_MAP).forEach((e)=>{if(/^H/.test(e))eO.H_METHOD_MAP[e]=eO.METHOD_MAP[e]});var Q7;(function(e){e[e.SAFE=0]="SAFE",e[e.SAFE_WITH_CB=1]="SAFE_WITH_CB",e[e.UNSAFE=2]="UNSAFE"})(Q7=eO.FINISH||(eO.FINISH={}));eO.ALPHA=[];for(let e=65;e<=90;e++)eO.ALPHA.push(String.fromCharCode(e)),eO.ALPHA.push(String.fromCharCode(e+32));eO.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};eO.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};eO.NUM=["0","1","2","3","4","5","6","7","8","9"];eO.ALPHANUM=eO.ALPHA.concat(eO.NUM);eO.MARK=["-","_",".","!","~","*","'","(",")"];eO.USERINFO_CHARS=eO.ALPHANUM.concat(eO.MARK).concat(["%",";",":","&","=","+","$",","]);eO.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(eO.ALPHANUM);eO.URL_CHAR=eO.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++)eO.URL_CHAR.push(e);eO.HEX=eO.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);eO.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(eO.ALPHANUM);eO.TOKEN=eO.STRICT_TOKEN.concat([" "]);eO.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++)if(e!==127)eO.HEADER_CHARS.push(e);eO.CONNECTION_TOKEN_CHARS=eO.HEADER_CHARS.filter((e)=>e!==44);eO.MAJOR=eO.NUM_MAP;eO.MINOR=eO.MAJOR;var sa;(function(e){e[e.GENERAL=0]="GENERAL",e[e.CONNECTION=1]="CONNECTION",e[e.CONTENT_LENGTH=2]="CONTENT_LENGTH",e[e.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",e[e.UPGRADE=4]="UPGRADE",e[e.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",e[e.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",e[e.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",e[e.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(sa=eO.HEADER_STATE||(eO.HEADER_STATE={}));eO.SPECIAL_HEADERS={connection:sa.CONNECTION,"content-length":sa.CONTENT_LENGTH,"proxy-connection":sa.CONNECTION,"transfer-encoding":sa.TRANSFER_ENCODING,upgrade:sa.UPGRADE}});var zC=C((_Ne,uO)=>{var{Buffer:N7}=v("node:buffer");uO.exports=N7.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGVjdXRlABQUbGxodHRwX3NldHRpbmdzX2luaXQAFQ1sbGh0dHBfZmluaXNoABYMbGxodHRwX3BhdXNlABcNbGxodHRwX3Jlc3Vt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An9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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ADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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BAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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wMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var Zl=C((DNe,CO)=>{var pO=["GET","HEAD","POST"],U7=new Set(pO),M7=[101,204,205,304],fO=[301,302,303,307,308],L7=new Set(fO),gO=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],O7=new Set(gO),hO=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],P7=new Set(hO),$7=["follow","manual","error"],mO=["GET","HEAD","OPTIONS","TRACE"],G7=new Set(mO),H7=["navigate","same-origin","no-cors","cors"],z7=["omit","same-origin","include"],j7=["default","no-store","reload","no-cache","force-cache","only-if-cached"],Y7=["content-encoding","content-language","content-location","content-type","content-length"],J7=["half"],EO=["CONNECT","TRACE","TRACK"],q7=new Set(EO),IO=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],V7=new Set(IO);CO.exports={subresource:IO,forbiddenMethods:EO,requestBodyHeader:Y7,referrerPolicy:hO,requestRedirect:$7,requestMode:H7,requestCredentials:z7,requestCache:j7,redirectStatus:fO,corsSafeListedMethods:pO,nullBodyStatus:M7,safeMethods:mO,badPorts:gO,requestDuplex:J7,subresourceSet:V7,badPortsSet:O7,redirectStatusSet:L7,corsSafeListedMethodsSet:U7,safeMethodsSet:G7,forbiddenMethodsSet:q7,referrerPolicySet:P7}});var YC=C((TNe,yO)=>{var jC=Symbol.for("undici.globalOrigin.1");function W7(){return globalThis[jC]}function Z7(e){if(e===void 0){Object.defineProperty(globalThis,jC,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let t=new URL(e);if(t.protocol!=="http:"&&t.protocol!=="https:")throw TypeError(`Only http & https urls are allowed, received ${t.protocol}`);Object.defineProperty(globalThis,jC,{value:t,writable:!0,enumerable:!1,configurable:!1})}yO.exports={getGlobalOrigin:W7,setGlobalOrigin:Z7}});var qt=C((NNe,SO)=>{var jp=v("node:assert"),K7=new TextEncoder,Kl=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,X7=/[\u000A\u000D\u0009\u0020]/,eee=/[\u0009\u000A\u000C\u000D\u0020]/g,tee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function ree(e){jp(e.protocol==="data:");let t=QO(e,!0);t=t.slice(5);let r={position:0},n=aa(",",t,r),i=n.length;if(n=cee(n,!0,!0),r.position>=t.length)return"failure";r.position++;let o=t.slice(i+1),s=vO(o);if(/;(\u0020){0,}base64$/i.test(n)){let c=wO(s);if(s=iee(c),s==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}if(n.startsWith(";"))n="text/plain"+n;let a=JC(n);if(a==="failure")a=JC("text/plain;charset=US-ASCII");return{mimeType:a,body:s}}function QO(e,t=!1){if(!t)return e.href;let r=e.href,n=e.hash.length,i=n===0?r:r.substring(0,r.length-n);if(!n&&r.endsWith("#"))return i.slice(0,-1);return i}function Yp(e,t,r){let n="";while(r.position<t.length&&e(t[r.position]))n+=t[r.position],r.position++;return n}function aa(e,t,r){let n=t.indexOf(e,r.position),i=r.position;if(n===-1)return r.position=t.length,t.slice(i);return r.position=n,t.slice(i,r.position)}function vO(e){let t=K7.encode(e);return nee(t)}function BO(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function bO(e){return e>=48&&e<=57?e-48:(e&223)-55}function nee(e){let t=e.length,r=new Uint8Array(t),n=0;for(let i=0;i<t;++i){let o=e[i];if(o!==37)r[n++]=o;else if(o===37&&!(BO(e[i+1])&&BO(e[i+2])))r[n++]=37;else r[n++]=bO(e[i+1])<<4|bO(e[i+2]),i+=2}return t===n?r:r.subarray(0,n)}function JC(e){e=zp(e,!0,!0);let t={position:0},r=aa("/",e,t);if(r.length===0||!Kl.test(r))return"failure";if(t.position>e.length)return"failure";t.position++;let n=aa(";",e,t);if(n=zp(n,!1,!0),n.length===0||!Kl.test(n))return"failure";let i=r.toLowerCase(),o=n.toLowerCase(),s={type:i,subtype:o,parameters:new Map,essence:`${i}/${o}`};while(t.position<e.length){t.position++,Yp((u)=>X7.test(u),e,t);let a=Yp((u)=>u!==";"&&u!=="=",e,t);if(a=a.toLowerCase(),t.position<e.length){if(e[t.position]===";")continue;t.position++}if(t.position>e.length)break;let c=null;if(e[t.position]==='"')c=xO(e,t,!0),aa(";",e,t);else if(c=aa(";",e,t),c=zp(c,!1,!0),c.length===0)continue;if(a.length!==0&&Kl.test(a)&&(c.length===0||tee.test(c))&&!s.parameters.has(a))s.parameters.set(a,c)}return s}function iee(e){e=e.replace(eee,"");let t=e.length;if(t%4===0){if(e.charCodeAt(t-1)===61){if(--t,e.charCodeAt(t-1)===61)--t}}if(t%4===1)return"failure";if(/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}function xO(e,t,r){let n=t.position,i="";jp(e[t.position]==='"'),t.position++;while(!0){if(i+=Yp((s)=>s!=='"'&&s!=="\\",e,t),t.position>=e.length)break;let o=e[t.position];if(t.position++,o==="\\"){if(t.position>=e.length){i+="\\";break}i+=e[t.position],t.position++}else{jp(o==='"');break}}if(r)return i;return e.slice(n,t.position)}function oee(e){jp(e!=="failure");let{parameters:t,essence:r}=e,n=r;for(let[i,o]of t.entries()){if(n+=";",n+=i,n+="=",!Kl.test(o))o=o.replace(/(\\|")/g,"\\$1"),o='"'+o,o+='"';n+=o}return n}function see(e){return e===13||e===10||e===9||e===32}function zp(e,t=!0,r=!0){return qC(e,t,r,see)}function aee(e){return e===13||e===10||e===9||e===12||e===32}function cee(e,t=!0,r=!0){return qC(e,t,r,aee)}function qC(e,t,r,n){let i=0,o=e.length-1;if(t)while(i<e.length&&n(e.charCodeAt(i)))i++;if(r)while(o>0&&n(e.charCodeAt(o)))o--;return i===0&&o===e.length-1?e:e.slice(i,o+1)}function wO(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",n=0,i=65535;while(n<t){if(n+i>t)i=t-n;r+=String.fromCharCode.apply(null,e.subarray(n,n+=i))}return r}function lee(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(e.subtype.endsWith("+json"))return"application/json";if(e.subtype.endsWith("+xml"))return"application/xml";return""}SO.exports={dataURLProcessor:ree,URLSerializer:QO,collectASequenceOfCodePoints:Yp,collectASequenceOfCodePointsFast:aa,stringPercentDecode:vO,parseMIMEType:JC,collectAnHTTPQuotedString:xO,serializeAMimeType:oee,removeChars:qC,removeHTTPWhitespace:zp,minimizeSupportedMimeType:lee,HTTP_TOKEN_CODEPOINTS:Kl,isomorphicDecode:wO}});var wt=C((FNe,kO)=>{var{types:cn,inspect:uee}=v("node:util"),{markAsUncloneable:Aee}=v("node:worker_threads"),{toUSVString:dee}=oe(),R={};R.converters={};R.util={};R.errors={};R.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)};R.errors.conversionFailed=function(e){let t=e.types.length===1?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return R.errors.exception({header:e.prefix,message:r})};R.errors.invalidArgument=function(e){return R.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};R.brandCheck=function(e,t,r){if(r?.strict!==!1){if(!(e instanceof t)){let n=TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){let n=TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};R.argumentLengthCheck=function({length:e},t,r){if(e<t)throw R.errors.exception({message:`${t} argument${t!==1?"s":""} required, but${e?" only":""} ${e} found.`,header:r})};R.illegalConstructor=function(){throw R.errors.exception({header:"TypeError",message:"Illegal constructor"})};R.util.Type=function(e){switch(typeof e){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(e===null)return"Null";return"Object"}}};R.util.markAsUncloneable=Aee||(()=>{});R.util.ConvertToInt=function(e,t,r,n){let i,o;if(t===64)if(i=Math.pow(2,53)-1,r==="unsigned")o=0;else o=Math.pow(-2,53)+1;else if(r==="unsigned")o=0,i=Math.pow(2,t)-1;else o=Math.pow(-2,t)-1,i=Math.pow(2,t-1)-1;let s=Number(e);if(s===0)s=0;if(n?.enforceRange===!0){if(Number.isNaN(s)||s===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY)throw R.errors.exception({header:"Integer conversion",message:`Could not convert ${R.util.Stringify(e)} to an integer.`});if(s=R.util.IntegerPart(s),s<o||s>i)throw R.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${i}, got ${s}.`});return s}if(!Number.isNaN(s)&&n?.clamp===!0){if(s=Math.min(Math.max(s,o),i),Math.floor(s)%2===0)s=Math.floor(s);else s=Math.ceil(s);return s}if(Number.isNaN(s)||s===0&&Object.is(0,s)||s===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY)return 0;if(s=R.util.IntegerPart(s),s=s%Math.pow(2,t),r==="signed"&&s>=Math.pow(2,t)-1)return s-Math.pow(2,t);return s};R.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));if(e<0)return-1*t;return t};R.util.Stringify=function(e){switch(R.util.Type(e)){case"Symbol":return`Symbol(${e.description})`;case"Object":return uee(e);case"String":return`"${e}"`;default:return`${e}`}};R.sequenceConverter=function(e){return(t,r,n,i)=>{if(R.util.Type(t)!=="Object")throw R.errors.exception({header:r,message:`${n} (${R.util.Stringify(t)}) is not iterable.`});let o=typeof i==="function"?i():t?.[Symbol.iterator]?.(),s=[],a=0;if(o===void 0||typeof o.next!=="function")throw R.errors.exception({header:r,message:`${n} is not iterable.`});while(!0){let{done:c,value:u}=o.next();if(c)break;s.push(e(u,r,`${n}[${a++}]`))}return s}};R.recordConverter=function(e,t){return(r,n,i)=>{if(R.util.Type(r)!=="Object")throw R.errors.exception({header:n,message:`${i} ("${R.util.Type(r)}") is not an Object.`});let o={};if(!cn.isProxy(r)){let a=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let c of a){let u=e(c,n,i),l=t(r[c],n,i);o[u]=l}return o}let s=Reflect.ownKeys(r);for(let a of s)if(Reflect.getOwnPropertyDescriptor(r,a)?.enumerable){let u=e(a,n,i),l=t(r[a],n,i);o[u]=l}return o}};R.interfaceConverter=function(e){return(t,r,n,i)=>{if(i?.strict!==!1&&!(t instanceof e))throw R.errors.exception({header:r,message:`Expected ${n} ("${R.util.Stringify(t)}") to be an instance of ${e.name}.`});return t}};R.dictionaryConverter=function(e){return(t,r,n)=>{let i=R.util.Type(t),o={};if(i==="Null"||i==="Undefined")return o;else if(i!=="Object")throw R.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:a,defaultValue:c,required:u,converter:l}=s;if(u===!0){if(!Object.hasOwn(t,a))throw R.errors.exception({header:r,message:`Missing required key "${a}".`})}let d=t[a],A=Object.hasOwn(s,"defaultValue");if(A&&d!==null)d??=c();if(u||A||d!==void 0){if(d=l(d,r,`${n}.${a}`),s.allowedValues&&!s.allowedValues.includes(d))throw R.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});o[a]=d}}return o}};R.nullableConverter=function(e){return(t,r,n)=>{if(t===null)return t;return e(t,r,n)}};R.converters.DOMString=function(e,t,r,n){if(e===null&&n?.legacyNullToEmptyString)return"";if(typeof e==="symbol")throw R.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)};R.converters.ByteString=function(e,t,r){let n=R.converters.DOMString(e,t,r);for(let i=0;i<n.length;i++)if(n.charCodeAt(i)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};R.converters.USVString=dee;R.converters.boolean=function(e){return Boolean(e)};R.converters.any=function(e){return e};R.converters["long long"]=function(e,t,r){return R.util.ConvertToInt(e,64,"signed",void 0,t,r)};R.converters["unsigned long long"]=function(e,t,r){return R.util.ConvertToInt(e,64,"unsigned",void 0,t,r)};R.converters["unsigned long"]=function(e,t,r){return R.util.ConvertToInt(e,32,"unsigned",void 0,t,r)};R.converters["unsigned short"]=function(e,t,r,n){return R.util.ConvertToInt(e,16,"unsigned",n,t,r)};R.converters.ArrayBuffer=function(e,t,r,n){if(R.util.Type(e)!=="Object"||!cn.isAnyArrayBuffer(e))throw R.errors.conversionFailed({prefix:t,argument:`${r} ("${R.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&cn.isSharedArrayBuffer(e))throw R.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(e.resizable||e.growable)throw R.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return e};R.converters.TypedArray=function(e,t,r,n,i){if(R.util.Type(e)!=="Object"||!cn.isTypedArray(e)||e.constructor.name!==t.name)throw R.errors.conversionFailed({prefix:r,argument:`${n} ("${R.util.Stringify(e)}")`,types:[t.name]});if(i?.allowShared===!1&&cn.isSharedArrayBuffer(e.buffer))throw R.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(e.buffer.resizable||e.buffer.growable)throw R.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return e};R.converters.DataView=function(e,t,r,n){if(R.util.Type(e)!=="Object"||!cn.isDataView(e))throw R.errors.exception({header:t,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&cn.isSharedArrayBuffer(e.buffer))throw R.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(e.buffer.resizable||e.buffer.growable)throw R.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return e};R.converters.BufferSource=function(e,t,r,n){if(cn.isAnyArrayBuffer(e))return R.converters.ArrayBuffer(e,t,r,{...n,allowShared:!1});if(cn.isTypedArray(e))return R.converters.TypedArray(e,e.constructor,t,r,{...n,allowShared:!1});if(cn.isDataView(e))return R.converters.DataView(e,t,r,{...n,allowShared:!1});throw R.errors.conversionFailed({prefix:t,argument:`${r} ("${R.util.Stringify(e)}")`,types:["BufferSource"]})};R.converters["sequence<ByteString>"]=R.sequenceConverter(R.converters.ByteString);R.converters["sequence<sequence<ByteString>>"]=R.sequenceConverter(R.converters["sequence<ByteString>"]);R.converters["record<ByteString, ByteString>"]=R.recordConverter(R.converters.ByteString,R.converters.ByteString);kO.exports={webidl:R}});var ur=C((UNe,YO)=>{var{Transform:pee}=v("node:stream"),_O=v("node:zlib"),{redirectStatusSet:fee,referrerPolicySet:gee,badPortsSet:hee}=Zl(),{getGlobalOrigin:RO}=YC(),{collectASequenceOfCodePoints:yo,collectAnHTTPQuotedString:mee,removeChars:Eee,parseMIMEType:Iee}=qt(),{performance:Cee}=v("node:perf_hooks"),{isBlobLike:yee,ReadableStreamFrom:Bee,isValidHTTPToken:DO,normalizedMethodRecordsBase:bee}=oe(),Bo=v("node:assert"),{isUint8Array:Qee}=v("node:util/types"),{webidl:Xl}=wt(),TO=[],qp;try{qp=v("node:crypto");let e=["sha256","sha384","sha512"];TO=qp.getHashes().filter((t)=>e.includes(t))}catch{}function NO(e){let t=e.urlList,r=t.length;return r===0?null:t[r-1].toString()}function vee(e,t){if(!fee.has(e.status))return null;let r=e.headersList.get("location",!0);if(r!==null&&UO(r)){if(!FO(r))r=xee(r);r=new URL(r,NO(e))}if(r&&!r.hash)r.hash=t;return r}function FO(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function xee(e){return Buffer.from(e,"binary").toString("utf8")}function tu(e){return e.urlList[e.urlList.length-1]}function wee(e){let t=tu(e);if($O(t)&&hee.has(t.port))return"blocked";return"allowed"}function See(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function kee(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0}var _ee=DO;function UO(e){return(e[0]==="\t"||e[0]===" "||e[e.length-1]==="\t"||e[e.length-1]===" "||e.includes(`
|
|
76
|
+
`)||e.includes("\r")||e.includes("\x00"))===!1}function Ree(e,t){let{headersList:r}=t,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let o=n.length;o!==0;o--){let s=n[o-1].trim();if(gee.has(s)){i=s;break}}if(i!=="")e.referrerPolicy=i}function Dee(){return"allowed"}function Tee(){return"success"}function Nee(){return"success"}function Fee(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)}function Uee(e){let t=e.origin;if(t==="client"||t===void 0)return;if(e.responseTainting==="cors"||e.mode==="websocket")e.headersList.append("origin",t,!0);else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&WC(e.origin)&&!WC(tu(e)))t=null;break;case"same-origin":if(!Vp(e,tu(e)))t=null;break;default:}e.headersList.append("origin",t,!0)}}function ca(e,t){return e}function Mee(e,t,r){if(!e?.startTime||e.startTime<t)return{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol};return{domainLookupStartTime:ca(e.domainLookupStartTime,r),domainLookupEndTime:ca(e.domainLookupEndTime,r),connectionStartTime:ca(e.connectionStartTime,r),connectionEndTime:ca(e.connectionEndTime,r),secureConnectionStartTime:ca(e.secureConnectionStartTime,r),ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}}function Lee(e){return ca(Cee.now(),e)}function Oee(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function MO(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function Pee(e){return{referrerPolicy:e.referrerPolicy}}function $ee(e){let t=e.referrerPolicy;Bo(t);let r=null;if(e.referrer==="client"){let a=RO();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else if(e.referrer instanceof URL)r=e.referrer;let n=VC(r),i=VC(r,!0);if(n.toString().length>4096)n=i;let o=Vp(e,n),s=eu(n)&&!eu(e.url);switch(t){case"origin":return i!=null?i:VC(r,!0);case"unsafe-url":return n;case"same-origin":return o?i:"no-referrer";case"origin-when-cross-origin":return o?n:i;case"strict-origin-when-cross-origin":{let a=tu(e);if(Vp(n,a))return n;if(eu(n)&&!eu(a))return"no-referrer";return i}case"strict-origin":case"no-referrer-when-downgrade":default:return s?"no-referrer":i}}function VC(e,t){if(Bo(e instanceof URL),e=new URL(e),e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:")return"no-referrer";if(e.username="",e.password="",e.hash="",t)e.pathname="",e.search="";return e}function eu(e){if(!(e instanceof URL))return!1;if(e.href==="about:blank"||e.href==="about:srcdoc")return!0;if(e.protocol==="data:")return!0;if(e.protocol==="file:")return!0;return t(e.origin);function t(r){if(r==null||r==="null")return!1;let n=new URL(r);if(n.protocol==="https:"||n.protocol==="wss:")return!0;if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||(n.hostname==="localhost"||n.hostname.includes("localhost."))||n.hostname.endsWith(".localhost"))return!0;return!1}}function Gee(e,t){if(qp===void 0)return!0;let r=LO(t);if(r==="no metadata")return!0;if(r.length===0)return!0;let n=zee(r),i=jee(r,n);for(let o of i){let{algo:s,hash:a}=o,c=qp.createHash(s).update(e).digest("base64");if(c[c.length-1]==="=")if(c[c.length-2]==="=")c=c.slice(0,-2);else c=c.slice(0,-1);if(Yee(c,a))return!0}return!1}var Hee=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function LO(e){let t=[],r=!0;for(let n of e.split(" ")){r=!1;let i=Hee.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let o=i.groups.algo.toLowerCase();if(TO.includes(o))t.push(i.groups)}if(r===!0)return"no metadata";return t}function zee(e){let t=e[0].algo;if(t[3]==="5")return t;for(let r=1;r<e.length;++r){let n=e[r];if(n.algo[3]==="5"){t="sha512";break}else if(t[3]==="3")continue;else if(n.algo[3]==="3")t="sha384"}return t}function jee(e,t){if(e.length===1)return e;let r=0;for(let n=0;n<e.length;++n)if(e[n].algo===t)e[r++]=e[n];return e.length=r,e}function Yee(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r]){if(e[r]==="+"&&t[r]==="-"||e[r]==="/"&&t[r]==="_")continue;return!1}return!0}function Jee(e){}function Vp(e,t){if(e.origin===t.origin&&e.origin==="null")return!0;if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port)return!0;return!1}function qee(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function Vee(e){return e.controller.state==="aborted"}function Wee(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function Zee(e){return bee[e.toLowerCase()]??e}function Kee(e){let t=JSON.stringify(e);if(t===void 0)throw TypeError("Value is not JSON serializable");return Bo(typeof t==="string"),t}var Xee=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function OO(e,t,r=0,n=1){class i{#e;#t;#r;constructor(o,s){this.#e=o,this.#t=s,this.#r=0}next(){if(typeof this!=="object"||this===null||!(#e in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let o=this.#r,s=this.#e[t],a=s.length;if(o>=a)return{value:void 0,done:!0};let{[r]:c,[n]:u}=s[o];this.#r=o+1;let l;switch(this.#t){case"key":l=c;break;case"value":l=u;break;case"key+value":l=[c,u];break}return{value:l,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,Xee),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(o,s){return new i(o,s)}}function ete(e,t,r,n=0,i=1){let o=OO(e,r,n,i),s={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Xl.brandCheck(this,t),o(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Xl.brandCheck(this,t),o(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return Xl.brandCheck(this,t),o(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(c,u=globalThis){if(Xl.brandCheck(this,t),Xl.argumentLengthCheck(arguments,1,`${e}.forEach`),typeof c!=="function")throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:l,1:d}of o(this,"key+value"))c.call(u,d,l,this)}}};return Object.defineProperties(t.prototype,{...s,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:s.entries.value}})}async function tte(e,t,r){let n=t,i=r,o;try{o=e.stream.getReader()}catch(s){i(s);return}try{n(await PO(o))}catch(s){i(s)}}function rte(e){return e instanceof ReadableStream||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}function nte(e){try{e.close(),e.byobRequest?.respond(0)}catch(t){if(!t.message.includes("Controller is already closed")&&!t.message.includes("ReadableStream is already closed"))throw t}}var ite=/[^\x00-\xFF]/;function Jp(e){return Bo(!ite.test(e)),e}async function PO(e){let t=[],r=0;while(!0){let{done:n,value:i}=await e.read();if(n)return Buffer.concat(t,r);if(!Qee(i))throw TypeError("Received non-Uint8Array chunk");t.push(i),r+=i.length}}function ote(e){Bo("protocol"in e);let t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function WC(e){return typeof e==="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function $O(e){Bo("protocol"in e);let t=e.protocol;return t==="http:"||t==="https:"}function ste(e,t){let r=e;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(t)yo((c)=>c==="\t"||c===" ",r,n);if(r.charCodeAt(n.position)!==61)return"failure";if(n.position++,t)yo((c)=>c==="\t"||c===" ",r,n);let i=yo((c)=>{let u=c.charCodeAt(0);return u>=48&&u<=57},r,n),o=i.length?Number(i):null;if(t)yo((c)=>c==="\t"||c===" ",r,n);if(r.charCodeAt(n.position)!==45)return"failure";if(n.position++,t)yo((c)=>c==="\t"||c===" ",r,n);let s=yo((c)=>{let u=c.charCodeAt(0);return u>=48&&u<=57},r,n),a=s.length?Number(s):null;if(n.position<r.length)return"failure";if(a===null&&o===null)return"failure";if(o>a)return"failure";return{rangeStartValue:o,rangeEndValue:a}}function ate(e,t,r){let n="bytes ";return n+=Jp(`${e}`),n+="-",n+=Jp(`${t}`),n+="/",n+=Jp(`${r}`),n}class GO extends pee{#e;constructor(e){super();this.#e=e}_transform(e,t,r){if(!this._inflateStream){if(e.length===0){r();return}this._inflateStream=(e[0]&15)===8?_O.createInflate(this.#e):_O.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",(n)=>this.destroy(n))}this._inflateStream.write(e,t,r)}_final(e){if(this._inflateStream)this._inflateStream.end(),this._inflateStream=null;e()}}function cte(e){return new GO(e)}function lte(e){let t=null,r=null,n=null,i=HO("content-type",e);if(i===null)return"failure";for(let o of i){let s=Iee(o);if(s==="failure"||s.essence==="*/*")continue;if(n=s,n.essence!==r){if(t=null,n.parameters.has("charset"))t=n.parameters.get("charset");r=n.essence}else if(!n.parameters.has("charset")&&t!==null)n.parameters.set("charset",t)}if(n==null)return"failure";return n}function ute(e){let t=e,r={position:0},n=[],i="";while(r.position<t.length){if(i+=yo((o)=>o!=='"'&&o!==",",t,r),r.position<t.length)if(t.charCodeAt(r.position)===34){if(i+=mee(t,r),r.position<t.length)continue}else Bo(t.charCodeAt(r.position)===44),r.position++;i=Eee(i,!0,!0,(o)=>o===9||o===32),n.push(i),i=""}return n}function HO(e,t){let r=t.get(e,!0);if(r===null)return null;return ute(r)}var Ate=new TextDecoder;function dte(e){if(e.length===0)return"";if(e[0]===239&&e[1]===187&&e[2]===191)e=e.subarray(3);return Ate.decode(e)}class zO{get baseUrl(){return RO()}get origin(){return this.baseUrl?.origin}policyContainer=MO()}class jO{settingsObject=new zO}var pte=new jO;YO.exports={isAborted:Vee,isCancelled:Wee,isValidEncodedURL:FO,createDeferredPromise:qee,ReadableStreamFrom:Bee,tryUpgradeRequestToAPotentiallyTrustworthyURL:Jee,clampAndCoarsenConnectionTimingInfo:Mee,coarsenedSharedCurrentTime:Lee,determineRequestsReferrer:$ee,makePolicyContainer:MO,clonePolicyContainer:Pee,appendFetchMetadata:Fee,appendRequestOriginHeader:Uee,TAOCheck:Nee,corsCheck:Tee,crossOriginResourcePolicyCheck:Dee,createOpaqueTimingInfo:Oee,setRequestReferrerPolicyOnRedirect:Ree,isValidHTTPToken:DO,requestBadPort:wee,requestCurrentURL:tu,responseURL:NO,responseLocationURL:vee,isBlobLike:yee,isURLPotentiallyTrustworthy:eu,isValidReasonPhrase:kee,sameOrigin:Vp,normalizeMethod:Zee,serializeJavascriptValueToJSONString:Kee,iteratorMixin:ete,createIterator:OO,isValidHeaderName:_ee,isValidHeaderValue:UO,isErrorLike:See,fullyReadBody:tte,bytesMatch:Gee,isReadableStreamLike:rte,readableStreamClose:nte,isomorphicEncode:Jp,urlIsLocal:ote,urlHasHttpsScheme:WC,urlIsHttpHttpsScheme:$O,readAllBytes:PO,simpleRangeHeaderValue:ste,buildContentRange:ate,parseMetadata:LO,createInflate:cte,extractMimeType:lte,getDecodeSplit:HO,utf8DecodeBytes:dte,environmentSettingsObject:pte}});var bi=C((MNe,JO)=>{JO.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var ZC=C((LNe,qO)=>{var{Blob:fte,File:gte}=v("node:buffer"),{kState:$n}=bi(),{webidl:ln}=wt();class un{constructor(e,t,r={}){let n=t,i=r.type,o=r.lastModified??Date.now();this[$n]={blobLike:e,name:n,type:i,lastModified:o}}stream(...e){return ln.brandCheck(this,un),this[$n].blobLike.stream(...e)}arrayBuffer(...e){return ln.brandCheck(this,un),this[$n].blobLike.arrayBuffer(...e)}slice(...e){return ln.brandCheck(this,un),this[$n].blobLike.slice(...e)}text(...e){return ln.brandCheck(this,un),this[$n].blobLike.text(...e)}get size(){return ln.brandCheck(this,un),this[$n].blobLike.size}get type(){return ln.brandCheck(this,un),this[$n].blobLike.type}get name(){return ln.brandCheck(this,un),this[$n].name}get lastModified(){return ln.brandCheck(this,un),this[$n].lastModified}get[Symbol.toStringTag](){return"File"}}ln.converters.Blob=ln.interfaceConverter(fte);function hte(e){return e instanceof gte||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}qO.exports={FileLike:un,isFileLike:hte}});var ru=C((ONe,XO)=>{var{isBlobLike:Wp,iteratorMixin:mte}=ur(),{kState:Pt}=bi(),{kEnumerableProperty:la}=oe(),{FileLike:VO,isFileLike:Ete}=ZC(),{webidl:_e}=wt(),{File:KO}=v("node:buffer"),WO=v("node:util"),ZO=globalThis.File??KO;class An{constructor(e){if(_e.util.markAsUncloneable(this),e!==void 0)throw _e.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Pt]=[]}append(e,t,r=void 0){_e.brandCheck(this,An);let n="FormData.append";if(_e.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Wp(t))throw TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=_e.converters.USVString(e,n,"name"),t=Wp(t)?_e.converters.Blob(t,n,"value",{strict:!1}):_e.converters.USVString(t,n,"value"),r=arguments.length===3?_e.converters.USVString(r,n,"filename"):void 0;let i=KC(e,t,r);this[Pt].push(i)}delete(e){_e.brandCheck(this,An);let t="FormData.delete";_e.argumentLengthCheck(arguments,1,t),e=_e.converters.USVString(e,t,"name"),this[Pt]=this[Pt].filter((r)=>r.name!==e)}get(e){_e.brandCheck(this,An);let t="FormData.get";_e.argumentLengthCheck(arguments,1,t),e=_e.converters.USVString(e,t,"name");let r=this[Pt].findIndex((n)=>n.name===e);if(r===-1)return null;return this[Pt][r].value}getAll(e){_e.brandCheck(this,An);let t="FormData.getAll";return _e.argumentLengthCheck(arguments,1,t),e=_e.converters.USVString(e,t,"name"),this[Pt].filter((r)=>r.name===e).map((r)=>r.value)}has(e){_e.brandCheck(this,An);let t="FormData.has";return _e.argumentLengthCheck(arguments,1,t),e=_e.converters.USVString(e,t,"name"),this[Pt].findIndex((r)=>r.name===e)!==-1}set(e,t,r=void 0){_e.brandCheck(this,An);let n="FormData.set";if(_e.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Wp(t))throw TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=_e.converters.USVString(e,n,"name"),t=Wp(t)?_e.converters.Blob(t,n,"name",{strict:!1}):_e.converters.USVString(t,n,"name"),r=arguments.length===3?_e.converters.USVString(r,n,"name"):void 0;let i=KC(e,t,r),o=this[Pt].findIndex((s)=>s.name===e);if(o!==-1)this[Pt]=[...this[Pt].slice(0,o),i,...this[Pt].slice(o+1).filter((s)=>s.name!==e)];else this[Pt].push(i)}[WO.inspect.custom](e,t){let r=this[Pt].reduce((i,o)=>{if(i[o.name])if(Array.isArray(i[o.name]))i[o.name].push(o.value);else i[o.name]=[i[o.name],o.value];else i[o.name]=o.value;return i},{__proto__:null});t.depth??=e,t.colors??=!0;let n=WO.formatWithOptions(t,r);return`FormData ${n.slice(n.indexOf("]")+2)}`}}mte("FormData",An,Pt,"name","value");Object.defineProperties(An.prototype,{append:la,delete:la,get:la,getAll:la,has:la,set:la,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function KC(e,t,r){if(typeof t==="string");else{if(!Ete(t))t=t instanceof Blob?new ZO([t],"blob",{type:t.type}):new VO(t,"blob",{type:t.type});if(r!==void 0){let n={type:t.type,lastModified:t.lastModified};t=t instanceof KO?new ZO([t],r,n):new VO(t,r,n)}}return{name:e,value:t}}XO.exports={FormData:An,makeEntry:KC}});var oP=C((PNe,iP)=>{var{isUSVString:eP,bufferToLowerCasedHeaderName:Ite}=oe(),{utf8DecodeBytes:Cte}=ur(),{HTTP_TOKEN_CODEPOINTS:yte,isomorphicDecode:tP}=qt(),{isFileLike:Bte}=ZC(),{makeEntry:bte}=ru(),Zp=v("node:assert"),{File:Qte}=v("node:buffer"),vte=globalThis.File??Qte,xte=Buffer.from('form-data; name="'),rP=Buffer.from("; filename"),wte=Buffer.from("--"),Ste=Buffer.from(`--\r
|
|
77
|
+
`);function kte(e){for(let t=0;t<e.length;++t)if((e.charCodeAt(t)&-128)!==0)return!1;return!0}function _te(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let n=e.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}function Rte(e,t){Zp(t!=="failure"&&t.essence==="multipart/form-data");let r=t.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],o={position:0};while(e[o.position]===13&&e[o.position+1]===10)o.position+=2;let s=e.length;while(e[s-1]===10&&e[s-2]===13)s-=2;if(s!==e.length)e=e.subarray(0,s);while(!0){if(e.subarray(o.position,o.position+n.length).equals(n))o.position+=n.length;else return"failure";if(o.position===e.length-2&&Kp(e,wte,o)||o.position===e.length-4&&Kp(e,Ste,o))return i;if(e[o.position]!==13||e[o.position+1]!==10)return"failure";o.position+=2;let a=Dte(e,o);if(a==="failure")return"failure";let{name:c,filename:u,contentType:l,encoding:d}=a;o.position+=2;let A;{let f=e.indexOf(n.subarray(2),o.position);if(f===-1)return"failure";if(A=e.subarray(o.position,f-4),o.position+=A.length,d==="base64")A=Buffer.from(A.toString(),"base64")}if(e[o.position]!==13||e[o.position+1]!==10)return"failure";else o.position+=2;let p;if(u!==null){if(l??="text/plain",!kte(l))l="";p=new vte([A],u,{type:l})}else p=Cte(Buffer.from(A));Zp(eP(c)),Zp(typeof p==="string"&&eP(p)||Bte(p)),i.push(bte(c,p,u))}}function Dte(e,t){let r=null,n=null,i=null,o=null;while(!0){if(e[t.position]===13&&e[t.position+1]===10){if(r===null)return"failure";return{name:r,filename:n,contentType:i,encoding:o}}let s=ua((a)=>a!==10&&a!==13&&a!==58,e,t);if(s=XC(s,!0,!0,(a)=>a===9||a===32),!yte.test(s.toString()))return"failure";if(e[t.position]!==58)return"failure";switch(t.position++,ua((a)=>a===32||a===9,e,t),Ite(s)){case"content-disposition":{if(r=n=null,!Kp(e,xte,t))return"failure";if(t.position+=17,r=nP(e,t),r===null)return"failure";if(Kp(e,rP,t)){let a=t.position+rP.length;if(e[a]===42)t.position+=1,a+=1;if(e[a]!==61||e[a+1]!==34)return"failure";if(t.position+=12,n=nP(e,t),n===null)return"failure"}break}case"content-type":{let a=ua((c)=>c!==10&&c!==13,e,t);a=XC(a,!1,!0,(c)=>c===9||c===32),i=tP(a);break}case"content-transfer-encoding":{let a=ua((c)=>c!==10&&c!==13,e,t);a=XC(a,!1,!0,(c)=>c===9||c===32),o=tP(a);break}default:ua((a)=>a!==10&&a!==13,e,t)}if(e[t.position]!==13&&e[t.position+1]!==10)return"failure";else t.position+=2}}function nP(e,t){Zp(e[t.position-1]===34);let r=ua((n)=>n!==10&&n!==13&&n!==34,e,t);if(e[t.position]!==34)return null;else t.position++;return r=new TextDecoder().decode(r).replace(/%0A/ig,`
|
|
78
|
+
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r}function ua(e,t,r){let n=r.position;while(n<t.length&&e(t[n]))++n;return t.subarray(r.position,r.position=n)}function XC(e,t,r,n){let i=0,o=e.length-1;if(t)while(i<e.length&&n(e[i]))i++;if(r)while(o>0&&n(e[o]))o--;return i===0&&o===e.length-1?e:e.subarray(i,o+1)}function Kp(e,t,r){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[r.position+n])return!1;return!0}iP.exports={multipartFormDataParser:Rte,validateBoundary:_te}});var pa=C(($Ne,gP)=>{var nu=oe(),{ReadableStreamFrom:Tte,isBlobLike:sP,isReadableStreamLike:Nte,readableStreamClose:Fte,createDeferredPromise:Ute,fullyReadBody:Mte,extractMimeType:Lte,utf8DecodeBytes:lP}=ur(),{FormData:aP}=ru(),{kState:da}=bi(),{webidl:Ote}=wt(),{Blob:Pte}=v("node:buffer"),ey=v("node:assert"),{isErrored:uP,isDisturbed:$te}=v("node:stream"),{isArrayBuffer:Gte}=v("node:util/types"),{serializeAMimeType:Hte}=qt(),{multipartFormDataParser:zte}=oP(),ty;try{let e=v("node:crypto");ty=(t)=>e.randomInt(0,t)}catch{ty=(e)=>Math.floor(Math.random(e))}var Xp=new TextEncoder;function jte(){}var AP=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,dP;if(AP)dP=new FinalizationRegistry((e)=>{let t=e.deref();if(t&&!t.locked&&!$te(t)&&!uP(t))t.cancel("Response object has been garbage collected").catch(jte)});function pP(e,t=!1){let r=null;if(e instanceof ReadableStream)r=e;else if(sP(e))r=e.stream();else r=new ReadableStream({async pull(c){let u=typeof i==="string"?Xp.encode(i):i;if(u.byteLength)c.enqueue(u);queueMicrotask(()=>Fte(c))},start(){},type:"bytes"});ey(Nte(r));let n=null,i=null,o=null,s=null;if(typeof e==="string")i=e,s="text/plain;charset=UTF-8";else if(e instanceof URLSearchParams)i=e.toString(),s="application/x-www-form-urlencoded;charset=UTF-8";else if(Gte(e))i=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))i=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(nu.isFormDataLike(e)){let c=`----formdata-undici-0${`${ty(100000000000)}`.padStart(11,"0")}`,u=`--${c}\r
|
|
79
|
+
Content-Disposition: form-data`;/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */let l=(g)=>g.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),d=(g)=>g.replace(/\r?\n|\r/g,`\r
|
|
80
|
+
`),A=[],p=new Uint8Array([13,10]);o=0;let f=!1;for(let[g,m]of e)if(typeof m==="string"){let S=Xp.encode(u+`; name="${l(d(g))}"\r
|
|
81
|
+
\r
|
|
82
|
+
${d(m)}\r
|
|
83
|
+
`);A.push(S),o+=S.byteLength}else{let S=Xp.encode(`${u}; name="${l(d(g))}"`+(m.name?`; filename="${l(m.name)}"`:"")+`\r
|
|
84
|
+
Content-Type: ${m.type||"application/octet-stream"}\r
|
|
85
|
+
\r
|
|
86
|
+
`);if(A.push(S,m,p),typeof m.size==="number")o+=S.byteLength+m.size+p.byteLength;else f=!0}let h=Xp.encode(`--${c}--\r
|
|
87
|
+
`);if(A.push(h),o+=h.byteLength,f)o=null;i=e,n=async function*(){for(let g of A)if(g.stream)yield*g.stream();else yield g},s=`multipart/form-data; boundary=${c}`}else if(sP(e)){if(i=e,o=e.size,e.type)s=e.type}else if(typeof e[Symbol.asyncIterator]==="function"){if(t)throw TypeError("keepalive");if(nu.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=e instanceof ReadableStream?e:Tte(e)}if(typeof i==="string"||nu.isBuffer(i))o=Buffer.byteLength(i);if(n!=null){let c;r=new ReadableStream({async start(){c=n(e)[Symbol.asyncIterator]()},async pull(u){let{value:l,done:d}=await c.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!uP(r)){let A=new Uint8Array(l);if(A.byteLength)u.enqueue(A)}return u.desiredSize>0},async cancel(u){await c.return()},type:"bytes"})}return[{stream:r,source:i,length:o},s]}function Yte(e,t=!1){if(e instanceof ReadableStream)ey(!nu.isDisturbed(e),"The body has already been consumed."),ey(!e.locked,"The stream is locked.");return pP(e,t)}function Jte(e,t){let[r,n]=t.stream.tee();return t.stream=r,{stream:n,length:t.length,source:t.source}}function qte(e){if(e.aborted)throw new DOMException("The operation was aborted.","AbortError")}function Vte(e){return{blob(){return Aa(this,(r)=>{let n=cP(this);if(n===null)n="";else if(n)n=Hte(n);return new Pte([r],{type:n})},e)},arrayBuffer(){return Aa(this,(r)=>new Uint8Array(r).buffer,e)},text(){return Aa(this,lP,e)},json(){return Aa(this,Zte,e)},formData(){return Aa(this,(r)=>{let n=cP(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=zte(r,n);if(i==="failure")throw TypeError("Failed to parse body as FormData.");let o=new aP;return o[da]=i,o}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),o=new aP;for(let[s,a]of i)o.append(s,a);return o}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e)},bytes(){return Aa(this,(r)=>new Uint8Array(r),e)}}}function Wte(e){Object.assign(e.prototype,Vte(e))}async function Aa(e,t,r){if(Ote.brandCheck(e,r),fP(e))throw TypeError("Body is unusable: Body has already been read");qte(e[da]);let n=Ute(),i=(s)=>n.reject(s),o=(s)=>{try{n.resolve(t(s))}catch(a){i(a)}};if(e[da].body==null)return o(Buffer.allocUnsafe(0)),n.promise;return await Mte(e[da].body,o,i),n.promise}function fP(e){let t=e[da].body;return t!=null&&(t.stream.locked||nu.isDisturbed(t.stream))}function Zte(e){return JSON.parse(lP(e))}function cP(e){let t=e[da].headersList,r=Lte(t);if(r==="failure")return null;return r}gP.exports={extractBody:pP,safelyExtractBody:Yte,cloneBody:Jte,mixinBody:Wte,streamRegistry:dP,hasFinalizationRegistry:AP,bodyUnusable:fP}});var wP=C((GNe,xP)=>{var Y=v("node:assert"),te=oe(),{channels:hP}=ea(),ry=LC(),{RequestContentLengthMismatchError:bo,ResponseContentLengthMismatchError:Kte,RequestAbortedError:BP,HeadersTimeoutError:Xte,HeadersOverflowError:ere,SocketError:sf,InformationalError:fa,BodyTimeoutError:tre,HTTPParserError:rre,ResponseExceededMaxSizeError:nre}=fe(),{kUrl:bP,kReset:Vt,kClient:sy,kParser:Ke,kBlocking:su,kRunning:Dt,kPending:ire,kSize:mP,kWriting:vi,kQueue:qr,kNoRef:iu,kKeepAliveDefaultTimeout:ore,kHostHeader:sre,kPendingIdx:are,kRunningIdx:Sr,kError:kr,kPipelining:nf,kSocket:ga,kKeepAliveTimeoutValue:af,kMaxHeadersSize:ny,kKeepAliveMaxTimeout:cre,kKeepAliveTimeoutThreshold:lre,kHeadersTimeout:ure,kBodyTimeout:Are,kStrictContentLength:ay,kMaxRequests:EP,kCounter:dre,kMaxResponseSize:pre,kOnError:fre,kResume:Qi,kHTTPContext:QP}=Ge(),dn=lO(),gre=Buffer.alloc(0),ef=Buffer[Symbol.species],tf=te.addListener,hre=te.removeAllListeners,iy;async function mre(){let e=process.env.JEST_WORKER_ID?zC():void 0,t;try{t=await WebAssembly.compile(dO())}catch(r){t=await WebAssembly.compile(e||zC())}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{Y(gt.ptr===r);let o=n-fn+pn.byteOffset;return gt.onStatus(new ef(pn.buffer,o,i))||0},wasm_on_message_begin:(r)=>(Y(gt.ptr===r),gt.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{Y(gt.ptr===r);let o=n-fn+pn.byteOffset;return gt.onHeaderField(new ef(pn.buffer,o,i))||0},wasm_on_header_value:(r,n,i)=>{Y(gt.ptr===r);let o=n-fn+pn.byteOffset;return gt.onHeaderValue(new ef(pn.buffer,o,i))||0},wasm_on_headers_complete:(r,n,i,o)=>(Y(gt.ptr===r),gt.onHeadersComplete(n,Boolean(i),Boolean(o))||0),wasm_on_body:(r,n,i)=>{Y(gt.ptr===r);let o=n-fn+pn.byteOffset;return gt.onBody(new ef(pn.buffer,o,i))||0},wasm_on_message_complete:(r)=>(Y(gt.ptr===r),gt.onMessageComplete()||0)}})}var oy=null,cy=mre();cy.catch();var gt=null,pn=null,rf=0,fn=null,Ere=0,ou=1,ha=2|ou,of=4|ou,ly=8|Ere;class vP{constructor(e,t,{exports:r}){Y(Number.isFinite(e[ny])&&e[ny]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(dn.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[ny],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[pre]}setTimeout(e,t){if(e!==this.timeoutValue||t&ou^this.timeoutType&ou){if(this.timeout)ry.clearTimeout(this.timeout),this.timeout=null;if(e)if(t&ou)this.timeout=ry.setFastTimeout(IP,e,new WeakRef(this));else this.timeout=setTimeout(IP,e,new WeakRef(this)),this.timeout.unref();this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh)this.timeout.refresh()}this.timeoutType=t}resume(){if(this.socket.destroyed||!this.paused)return;if(Y(this.ptr!=null),Y(gt==null),this.llhttp.llhttp_resume(this.ptr),Y(this.timeoutType===of),this.timeout){if(this.timeout.refresh)this.timeout.refresh()}this.paused=!1,this.execute(this.socket.read()||gre),this.readMore()}readMore(){while(!this.paused&&this.ptr){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){Y(this.ptr!=null),Y(gt==null),Y(!this.paused);let{socket:t,llhttp:r}=this;if(e.length>rf){if(fn)r.free(fn);rf=Math.ceil(e.length/4096)*4096,fn=r.malloc(rf)}new Uint8Array(r.memory.buffer,fn,rf).set(e);try{let n;try{pn=e,gt=this,n=r.llhttp_execute(this.ptr,fn,e.length)}catch(o){throw o}finally{gt=null,pn=null}let i=r.llhttp_get_error_pos(this.ptr)-fn;if(n===dn.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(i));else if(n===dn.ERROR.PAUSED)this.paused=!0,t.unshift(e.slice(i));else if(n!==dn.ERROR.OK){let o=r.llhttp_get_error_reason(this.ptr),s="";if(o){let a=new Uint8Array(r.memory.buffer,o).indexOf(0);s="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,o,a).toString()+")"}throw new rre(s,dn.ERROR[n],e.slice(i))}}catch(n){te.destroy(t,n)}}destroy(){Y(this.ptr!=null),Y(gt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&ry.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return-1;let r=t[qr][t[Sr]];if(!r)return-1;r.onResponseStarted()}onHeaderField(e){let t=this.headers.length;if((t&1)===0)this.headers.push(e);else this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1)this.headers.push(e),t+=1;else this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(r.length===10){let n=te.bufferToLowerCasedHeaderName(r);if(n==="keep-alive")this.keepAlive+=e.toString();else if(n==="connection")this.connection+=e.toString()}else if(r.length===14&&te.bufferToLowerCasedHeaderName(r)==="content-length")this.contentLength+=e.toString();this.trackHeader(e.length)}trackHeader(e){if(this.headersSize+=e,this.headersSize>=this.headersMaxSize)te.destroy(this.socket,new ere)}onUpgrade(e){let{upgrade:t,client:r,socket:n,headers:i,statusCode:o}=this;Y(t),Y(r[ga]===n),Y(!n.destroyed),Y(!this.paused),Y((i.length&1)===0);let s=r[qr][r[Sr]];Y(s),Y(s.upgrade||s.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Ke].destroy(),n[Ke]=null,n[sy]=null,n[kr]=null,hre(n),r[ga]=null,r[QP]=null,r[qr][r[Sr]++]=null,r.emit("disconnect",r[bP],[r],new fa("upgrade"));try{s.onUpgrade(o,i,n)}catch(a){te.destroy(n,a)}r[Qi]()}onHeadersComplete(e,t,r){let{client:n,socket:i,headers:o,statusText:s}=this;if(i.destroyed)return-1;let a=n[qr][n[Sr]];if(!a)return-1;if(Y(!this.upgrade),Y(this.statusCode<200),e===100)return te.destroy(i,new sf("bad response",te.getSocketInfo(i))),-1;if(t&&!a.upgrade)return te.destroy(i,new sf("bad upgrade",te.getSocketInfo(i))),-1;if(Y(this.timeoutType===ha),this.statusCode=e,this.shouldKeepAlive=r||a.method==="HEAD"&&!i[Vt]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=a.bodyTimeout!=null?a.bodyTimeout:n[Are];this.setTimeout(u,of)}else if(this.timeout){if(this.timeout.refresh)this.timeout.refresh()}if(a.method==="CONNECT")return Y(n[Dt]===1),this.upgrade=!0,2;if(t)return Y(n[Dt]===1),this.upgrade=!0,2;if(Y((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[nf]){let u=this.keepAlive?te.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let l=Math.min(u-n[lre],n[cre]);if(l<=0)i[Vt]=!0;else n[af]=l}else n[af]=n[ore]}else i[Vt]=!0;let c=a.onHeaders(e,o,this.resume,s)===!1;if(a.aborted)return-1;if(a.method==="HEAD")return 1;if(e<200)return 1;if(i[su])i[su]=!1,n[Qi]();return c?dn.ERROR.PAUSED:0}onBody(e){let{client:t,socket:r,statusCode:n,maxResponseSize:i}=this;if(r.destroyed)return-1;let o=t[qr][t[Sr]];if(Y(o),Y(this.timeoutType===of),this.timeout){if(this.timeout.refresh)this.timeout.refresh()}if(Y(n>=200),i>-1&&this.bytesRead+e.length>i)return te.destroy(r,new nre),-1;if(this.bytesRead+=e.length,o.onData(e)===!1)return dn.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:n,headers:i,contentLength:o,bytesRead:s,shouldKeepAlive:a}=this;if(t.destroyed&&(!r||a))return-1;if(n)return;Y(r>=100),Y((this.headers.length&1)===0);let c=e[qr][e[Sr]];if(Y(c),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,r<200)return;if(c.method!=="HEAD"&&o&&s!==parseInt(o,10))return te.destroy(t,new Kte),-1;if(c.onComplete(i),e[qr][e[Sr]++]=null,t[vi])return Y(e[Dt]===0),te.destroy(t,new fa("reset")),dn.ERROR.PAUSED;else if(!a)return te.destroy(t,new fa("reset")),dn.ERROR.PAUSED;else if(t[Vt]&&e[Dt]===0)return te.destroy(t,new fa("reset")),dn.ERROR.PAUSED;else if(e[nf]==null||e[nf]===1)setImmediate(()=>e[Qi]());else e[Qi]()}}function IP(e){let{socket:t,timeoutType:r,client:n,paused:i}=e.deref();if(r===ha){if(!t[vi]||t.writableNeedDrain||n[Dt]>1)Y(!i,"cannot be paused while waiting for headers"),te.destroy(t,new Xte)}else if(r===of){if(!i)te.destroy(t,new tre)}else if(r===ly)Y(n[Dt]===0&&n[af]),te.destroy(t,new fa("socket idle timeout"))}async function Ire(e,t){if(e[ga]=t,!oy)oy=await cy,cy=null;t[iu]=!1,t[vi]=!1,t[Vt]=!1,t[su]=!1,t[Ke]=new vP(e,t,oy),tf(t,"error",function(n){Y(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[Ke];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[kr]=n,this[sy][fre](n)}),tf(t,"readable",function(){let n=this[Ke];if(n)n.readMore()}),tf(t,"end",function(){let n=this[Ke];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}te.destroy(this,new sf("other side closed",te.getSocketInfo(this)))}),tf(t,"close",function(){let n=this[sy],i=this[Ke];if(i){if(!this[kr]&&i.statusCode&&!i.shouldKeepAlive)i.onMessageComplete();this[Ke].destroy(),this[Ke]=null}let o=this[kr]||new sf("closed",te.getSocketInfo(this));if(n[ga]=null,n[QP]=null,n.destroyed){Y(n[ire]===0);let s=n[qr].splice(n[Sr]);for(let a=0;a<s.length;a++){let c=s[a];te.errorRequest(n,c,o)}}else if(n[Dt]>0&&o.code!=="UND_ERR_INFO"){let s=n[qr][n[Sr]];n[qr][n[Sr]++]=null,te.errorRequest(n,s,o)}n[are]=n[Sr],Y(n[Dt]===0),n.emit("disconnect",n[bP],[n],o),n[Qi]()});let r=!1;return t.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return Bre(e,...n)},resume(){Cre(e)},destroy(n,i){if(r)queueMicrotask(i);else t.destroy(n).on("close",i)},get destroyed(){return t.destroyed},busy(n){if(t[vi]||t[Vt]||t[su])return!0;if(n){if(e[Dt]>0&&!n.idempotent)return!0;if(e[Dt]>0&&(n.upgrade||n.method==="CONNECT"))return!0;if(e[Dt]>0&&te.bodyLength(n.body)!==0&&(te.isStream(n.body)||te.isAsyncIterable(n.body)||te.isFormDataLike(n.body)))return!0}return!1}}}function Cre(e){let t=e[ga];if(t&&!t.destroyed){if(e[mP]===0){if(!t[iu]&&t.unref)t.unref(),t[iu]=!0}else if(t[iu]&&t.ref)t.ref(),t[iu]=!1;if(e[mP]===0){if(t[Ke].timeoutType!==ly)t[Ke].setTimeout(e[af],ly)}else if(e[Dt]>0&&t[Ke].statusCode<200){if(t[Ke].timeoutType!==ha){let r=e[qr][e[Sr]],n=r.headersTimeout!=null?r.headersTimeout:e[ure];t[Ke].setTimeout(n,ha)}}}}function yre(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function Bre(e,t){let{method:r,path:n,host:i,upgrade:o,blocking:s,reset:a}=t,{body:c,headers:u,contentLength:l}=t,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(te.isFormDataLike(c)){if(!iy)iy=pa().extractBody;let[g,m]=iy(c);if(t.contentType==null)u.push("content-type",m);c=g.stream,l=g.length}else if(te.isBlobLike(c)&&t.contentType==null&&c.type)u.push("content-type",c.type);if(c&&typeof c.read==="function")c.read(0);let A=te.bodyLength(c);if(l=A??l,l===null)l=t.contentLength;if(l===0&&!d)l=null;if(yre(r)&&l>0&&t.contentLength!==null&&t.contentLength!==l){if(e[ay])return te.errorRequest(e,t,new bo),!1;process.emitWarning(new bo)}let p=e[ga],f=(g)=>{if(t.aborted||t.completed)return;te.errorRequest(e,t,g||new BP),te.destroy(c),te.destroy(p,new fa("aborted"))};try{t.onConnect(f)}catch(g){te.errorRequest(e,t,g)}if(t.aborted)return!1;if(r==="HEAD")p[Vt]=!0;if(o||r==="CONNECT")p[Vt]=!0;if(a!=null)p[Vt]=a;if(e[EP]&&p[dre]++>=e[EP])p[Vt]=!0;if(s)p[su]=!0;let h=`${r} ${n} HTTP/1.1\r
|
|
88
|
+
`;if(typeof i==="string")h+=`host: ${i}\r
|
|
89
|
+
`;else h+=e[sre];if(o)h+=`connection: upgrade\r
|
|
90
|
+
upgrade: ${o}\r
|
|
91
|
+
`;else if(e[nf]&&!p[Vt])h+=`connection: keep-alive\r
|
|
92
|
+
`;else h+=`connection: close\r
|
|
93
|
+
`;if(Array.isArray(u))for(let g=0;g<u.length;g+=2){let m=u[g+0],S=u[g+1];if(Array.isArray(S))for(let b=0;b<S.length;b++)h+=`${m}: ${S[b]}\r
|
|
94
|
+
`;else h+=`${m}: ${S}\r
|
|
95
|
+
`}if(hP.sendHeaders.hasSubscribers)hP.sendHeaders.publish({request:t,headers:h,socket:p});if(!c||A===0)CP(f,null,e,t,p,l,h,d);else if(te.isBuffer(c))CP(f,c,e,t,p,l,h,d);else if(te.isBlobLike(c))if(typeof c.stream==="function")yP(f,c.stream(),e,t,p,l,h,d);else Qre(f,c,e,t,p,l,h,d);else if(te.isStream(c))bre(f,c,e,t,p,l,h,d);else if(te.isIterable(c))yP(f,c,e,t,p,l,h,d);else Y(!1);return!0}function bre(e,t,r,n,i,o,s,a){Y(o!==0||r[Dt]===0,"stream body cannot be pipelined");let c=!1,u=new uy({abort:e,socket:i,request:n,contentLength:o,client:r,expectsPayload:a,header:s}),l=function(f){if(c)return;try{if(!u.write(f)&&this.pause)this.pause()}catch(h){te.destroy(this,h)}},d=function(){if(c)return;if(t.resume)t.resume()},A=function(){if(queueMicrotask(()=>{t.removeListener("error",p)}),!c){let f=new BP;queueMicrotask(()=>p(f))}},p=function(f){if(c)return;if(c=!0,Y(i.destroyed||i[vi]&&r[Dt]<=1),i.off("drain",d).off("error",p),t.removeListener("data",l).removeListener("end",p).removeListener("close",A),!f)try{u.end()}catch(h){f=h}if(u.destroy(f),f&&(f.code!=="UND_ERR_INFO"||f.message!=="reset"))te.destroy(t,f);else te.destroy(t)};if(t.on("data",l).on("end",p).on("error",p).on("close",A),t.resume)t.resume();if(i.on("drain",d).on("error",p),t.errorEmitted??t.errored)setImmediate(()=>p(t.errored));else if(t.endEmitted??t.readableEnded)setImmediate(()=>p(null));if(t.closeEmitted??t.closed)setImmediate(A)}function CP(e,t,r,n,i,o,s,a){try{if(!t)if(o===0)i.write(`${s}content-length: 0\r
|
|
96
|
+
\r
|
|
97
|
+
`,"latin1");else Y(o===null,"no body must not have content length"),i.write(`${s}\r
|
|
98
|
+
`,"latin1");else if(te.isBuffer(t)){if(Y(o===t.byteLength,"buffer body must have content length"),i.cork(),i.write(`${s}content-length: ${o}\r
|
|
99
|
+
\r
|
|
100
|
+
`,"latin1"),i.write(t),i.uncork(),n.onBodySent(t),!a&&n.reset!==!1)i[Vt]=!0}n.onRequestSent(),r[Qi]()}catch(c){e(c)}}async function Qre(e,t,r,n,i,o,s,a){Y(o===t.size,"blob body must have content length");try{if(o!=null&&o!==t.size)throw new bo;let c=Buffer.from(await t.arrayBuffer());if(i.cork(),i.write(`${s}content-length: ${o}\r
|
|
101
|
+
\r
|
|
102
|
+
`,"latin1"),i.write(c),i.uncork(),n.onBodySent(c),n.onRequestSent(),!a&&n.reset!==!1)i[Vt]=!0;r[Qi]()}catch(c){e(c)}}async function yP(e,t,r,n,i,o,s,a){Y(o!==0||r[Dt]===0,"iterator body cannot be pipelined");let c=null;function u(){if(c){let A=c;c=null,A()}}let l=()=>new Promise((A,p)=>{if(Y(c===null),i[kr])p(i[kr]);else c=A});i.on("close",u).on("drain",u);let d=new uy({abort:e,socket:i,request:n,contentLength:o,client:r,expectsPayload:a,header:s});try{for await(let A of t){if(i[kr])throw i[kr];if(!d.write(A))await l()}d.end()}catch(A){d.destroy(A)}finally{i.off("close",u).off("drain",u)}}class uy{constructor({abort:e,socket:t,request:r,contentLength:n,client:i,expectsPayload:o,header:s}){this.socket=t,this.request=r,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=o,this.header=s,this.abort=e,t[vi]=!0}write(e){let{socket:t,request:r,contentLength:n,client:i,bytesWritten:o,expectsPayload:s,header:a}=this;if(t[kr])throw t[kr];if(t.destroyed)return!1;let c=Buffer.byteLength(e);if(!c)return!0;if(n!==null&&o+c>n){if(i[ay])throw new bo;process.emitWarning(new bo)}if(t.cork(),o===0){if(!s&&r.reset!==!1)t[Vt]=!0;if(n===null)t.write(`${a}transfer-encoding: chunked\r
|
|
103
|
+
`,"latin1");else t.write(`${a}content-length: ${n}\r
|
|
104
|
+
\r
|
|
105
|
+
`,"latin1")}if(n===null)t.write(`\r
|
|
106
|
+
${c.toString(16)}\r
|
|
107
|
+
`,"latin1");this.bytesWritten+=c;let u=t.write(e);if(t.uncork(),r.onBodySent(e),!u){if(t[Ke].timeout&&t[Ke].timeoutType===ha){if(t[Ke].timeout.refresh)t[Ke].timeout.refresh()}}return u}end(){let{socket:e,contentLength:t,client:r,bytesWritten:n,expectsPayload:i,header:o,request:s}=this;if(s.onRequestSent(),e[vi]=!1,e[kr])throw e[kr];if(e.destroyed)return;if(n===0)if(i)e.write(`${o}content-length: 0\r
|
|
108
|
+
\r
|
|
109
|
+
`,"latin1");else e.write(`${o}\r
|
|
110
|
+
`,"latin1");else if(t===null)e.write(`\r
|
|
111
|
+
0\r
|
|
112
|
+
\r
|
|
113
|
+
`,"latin1");if(t!==null&&n!==t)if(r[ay])throw new bo;else process.emitWarning(new bo);if(e[Ke].timeout&&e[Ke].timeoutType===ha){if(e[Ke].timeout.refresh)e[Ke].timeout.refresh()}r[Qi]()}destroy(e){let{socket:t,client:r,abort:n}=this;if(t[vi]=!1,e)Y(r[Dt]<=1,"pipeline should only contain this request"),n(e)}}xP.exports=Ire});var FP=C((HNe,NP)=>{var _r=v("node:assert"),{pipeline:vre}=v("node:stream"),ae=oe(),{RequestContentLengthMismatchError:Ay,RequestAbortedError:SP,SocketError:au,InformationalError:dy}=fe(),{kUrl:cf,kReset:uf,kClient:ma,kRunning:Af,kPending:xre,kQueue:xi,kPendingIdx:py,kRunningIdx:Vr,kError:Zr,kSocket:Bt,kStrictContentLength:wre,kOnError:fy,kMaxConcurrentStreams:TP,kHTTP2Session:Wr,kResume:wi,kSize:Sre,kHTTPContext:kre}=Ge(),Gn=Symbol("open streams"),kP,_P=!1,lf;try{lf=v("node:http2")}catch{lf={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:_re,HTTP2_HEADER_METHOD:Rre,HTTP2_HEADER_PATH:Dre,HTTP2_HEADER_SCHEME:Tre,HTTP2_HEADER_CONTENT_LENGTH:Nre,HTTP2_HEADER_EXPECT:Fre,HTTP2_HEADER_STATUS:Ure}}=lf;function Mre(e){let t=[];for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let i of n)t.push(Buffer.from(r),Buffer.from(i));else t.push(Buffer.from(r),Buffer.from(n));return t}async function Lre(e,t){if(e[Bt]=t,!_P)_P=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"});let r=lf.connect(e[cf],{createConnection:()=>t,peerMaxConcurrentStreams:e[TP]});r[Gn]=0,r[ma]=e,r[Bt]=t,ae.addListener(r,"error",Pre),ae.addListener(r,"frameError",$re),ae.addListener(r,"end",Gre),ae.addListener(r,"goaway",Hre),ae.addListener(r,"close",function(){let{[ma]:i}=this,{[Bt]:o}=i,s=this[Bt][Zr]||this[Zr]||new au("closed",ae.getSocketInfo(o));if(i[Wr]=null,i.destroyed){_r(i[xre]===0);let a=i[xi].splice(i[Vr]);for(let c=0;c<a.length;c++){let u=a[c];ae.errorRequest(i,u,s)}}}),r.unref(),e[Wr]=r,t[Wr]=r,ae.addListener(t,"error",function(i){_r(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Zr]=i,this[ma][fy](i)}),ae.addListener(t,"end",function(){ae.destroy(this,new au("other side closed",ae.getSocketInfo(this)))}),ae.addListener(t,"close",function(){let i=this[Zr]||new au("closed",ae.getSocketInfo(this));if(e[Bt]=null,this[Wr]!=null)this[Wr].destroy(i);e[py]=e[Vr],_r(e[Af]===0),e.emit("disconnect",e[cf],[e],i),e[wi]()});let n=!1;return t.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return jre(e,...i)},resume(){Ore(e)},destroy(i,o){if(n)queueMicrotask(o);else t.destroy(i).on("close",o)},get destroyed(){return t.destroyed},busy(){return!1}}}function Ore(e){let t=e[Bt];if(t?.destroyed===!1)if(e[Sre]===0&&e[TP]===0)t.unref(),e[Wr].unref();else t.ref(),e[Wr].ref()}function Pre(e){_r(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Bt][Zr]=e,this[ma][fy](e)}function $re(e,t,r){if(r===0){let n=new dy(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[Bt][Zr]=n,this[ma][fy](n)}}function Gre(){let e=new au("other side closed",ae.getSocketInfo(this[Bt]));this.destroy(e),ae.destroy(this[Bt],e)}function Hre(e){let t=this[Zr]||new au(`HTTP/2: "GOAWAY" frame received with code ${e}`,ae.getSocketInfo(this)),r=this[ma];if(r[Bt]=null,r[kre]=null,this[Wr]!=null)this[Wr].destroy(t),this[Wr]=null;if(ae.destroy(this[Bt],t),r[Vr]<r[xi].length){let n=r[xi][r[Vr]];r[xi][r[Vr]++]=null,ae.errorRequest(r,n,t),r[py]=r[Vr]}_r(r[Af]===0),r.emit("disconnect",r[cf],[r],t),r[wi]()}function zre(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function jre(e,t){let r=e[Wr],{method:n,path:i,host:o,upgrade:s,expectContinue:a,signal:c,headers:u}=t,{body:l}=t;if(s)return ae.errorRequest(e,t,Error("Upgrade not supported for H2")),!1;let d={};for(let I=0;I<u.length;I+=2){let P=u[I+0],x=u[I+1];if(Array.isArray(x))for(let D=0;D<x.length;D++)if(d[P])d[P]+=`,${x[D]}`;else d[P]=x[D];else d[P]=x}let A,{hostname:p,port:f}=e[cf];d[_re]=o||`${p}${f?`:${f}`:""}`,d[Rre]=n;let h=(I)=>{if(t.aborted||t.completed)return;if(I=I||new SP,ae.errorRequest(e,t,I),A!=null)ae.destroy(A,I);ae.destroy(l,I),e[xi][e[Vr]++]=null,e[wi]()};try{t.onConnect(h)}catch(I){ae.errorRequest(e,t,I)}if(t.aborted)return!1;if(n==="CONNECT"){if(r.ref(),A=r.request(d,{endStream:!1,signal:c}),A.id&&!A.pending)t.onUpgrade(null,null,A),++r[Gn],e[xi][e[Vr]++]=null;else A.once("ready",()=>{t.onUpgrade(null,null,A),++r[Gn],e[xi][e[Vr]++]=null});return A.once("close",()=>{if(r[Gn]-=1,r[Gn]===0)r.unref()}),!0}d[Dre]=i,d[Tre]="https";let g=n==="PUT"||n==="POST"||n==="PATCH";if(l&&typeof l.read==="function")l.read(0);let m=ae.bodyLength(l);if(ae.isFormDataLike(l)){kP??=pa().extractBody;let[I,P]=kP(l);d["content-type"]=P,l=I.stream,m=I.length}if(m==null)m=t.contentLength;if(m===0||!g)m=null;if(zre(n)&&m>0&&t.contentLength!=null&&t.contentLength!==m){if(e[wre])return ae.errorRequest(e,t,new Ay),!1;process.emitWarning(new Ay)}if(m!=null)_r(l,"no body must not have content length"),d[Nre]=`${m}`;r.ref();let S=n==="GET"||n==="HEAD"||l===null;if(a)d[Fre]="100-continue",A=r.request(d,{endStream:S,signal:c}),A.once("continue",b);else A=r.request(d,{endStream:S,signal:c}),b();return++r[Gn],A.once("response",(I)=>{let{[Ure]:P,...x}=I;if(t.onResponseStarted(),t.aborted){let D=new SP;ae.errorRequest(e,t,D),ae.destroy(A,D);return}if(t.onHeaders(Number(P),Mre(x),A.resume.bind(A),"")===!1)A.pause();A.on("data",(D)=>{if(t.onData(D)===!1)A.pause()})}),A.once("end",()=>{if(A.state?.state==null||A.state.state<6)t.onComplete([]);if(r[Gn]===0)r.unref();h(new dy("HTTP/2: stream half-closed (remote)")),e[xi][e[Vr]++]=null,e[py]=e[Vr],e[wi]()}),A.once("close",()=>{if(r[Gn]-=1,r[Gn]===0)r.unref()}),A.once("error",function(I){h(I)}),A.once("frameError",(I,P)=>{h(new dy(`HTTP/2: "frameError" received - type ${I}, code ${P}`))}),!0;function b(){if(!l||m===0)RP(h,A,null,e,t,e[Bt],m,g);else if(ae.isBuffer(l))RP(h,A,l,e,t,e[Bt],m,g);else if(ae.isBlobLike(l))if(typeof l.stream==="function")DP(h,A,l.stream(),e,t,e[Bt],m,g);else Jre(h,A,l,e,t,e[Bt],m,g);else if(ae.isStream(l))Yre(h,e[Bt],g,A,l,e,t,m);else if(ae.isIterable(l))DP(h,A,l,e,t,e[Bt],m,g);else _r(!1)}}function RP(e,t,r,n,i,o,s,a){try{if(r!=null&&ae.isBuffer(r))_r(s===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),i.onBodySent(r);if(!a)o[uf]=!0;i.onRequestSent(),n[wi]()}catch(c){e(c)}}function Yre(e,t,r,n,i,o,s,a){_r(a!==0||o[Af]===0,"stream body cannot be pipelined");let c=vre(i,n,(l)=>{if(l)ae.destroy(c,l),e(l);else{if(ae.removeAllListeners(c),s.onRequestSent(),!r)t[uf]=!0;o[wi]()}});ae.addListener(c,"data",u);function u(l){s.onBodySent(l)}}async function Jre(e,t,r,n,i,o,s,a){_r(s===r.size,"blob body must have content length");try{if(s!=null&&s!==r.size)throw new Ay;let c=Buffer.from(await r.arrayBuffer());if(t.cork(),t.write(c),t.uncork(),t.end(),i.onBodySent(c),i.onRequestSent(),!a)o[uf]=!0;n[wi]()}catch(c){e(c)}}async function DP(e,t,r,n,i,o,s,a){_r(s!==0||n[Af]===0,"iterator body cannot be pipelined");let c=null;function u(){if(c){let d=c;c=null,d()}}let l=()=>new Promise((d,A)=>{if(_r(c===null),o[Zr])A(o[Zr]);else c=d});t.on("close",u).on("drain",u);try{for await(let d of r){if(o[Zr])throw o[Zr];let A=t.write(d);if(i.onBodySent(d),!A)await l()}if(t.end(),i.onRequestSent(),!a)o[uf]=!0;n[wi]()}catch(d){e(d)}finally{t.off("close",u).off("drain",u)}}NP.exports=Lre});var df=C((zNe,OP)=>{var gn=oe(),{kBodyUsed:cu}=Ge(),hy=v("node:assert"),{InvalidArgumentError:qre}=fe(),Vre=v("node:events"),Wre=[300,301,302,303,307,308],UP=Symbol("body");class gy{constructor(e){this[UP]=e,this[cu]=!1}async*[Symbol.asyncIterator](){hy(!this[cu],"disturbed"),this[cu]=!0,yield*this[UP]}}class LP{constructor(e,t,r,n){if(t!=null&&(!Number.isInteger(t)||t<0))throw new qre("maxRedirections must be a positive number");if(gn.validateHandler(n,r.method,r.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...r,maxRedirections:0},this.maxRedirections=t,this.handler=n,this.history=[],this.redirectionLimitReached=!1,gn.isStream(this.opts.body)){if(gn.bodyLength(this.opts.body)===0)this.opts.body.on("data",function(){hy(!1)});if(typeof this.opts.body.readableDidRead!=="boolean")this.opts.body[cu]=!1,Vre.prototype.on.call(this.opts.body,"data",function(){this[cu]=!0})}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function")this.opts.body=new gy(this.opts.body);else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&gn.isIterable(this.opts.body))this.opts.body=new gy(this.opts.body)}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,n){if(this.location=this.history.length>=this.maxRedirections||gn.isDisturbed(this.opts.body)?null:Zre(e,t),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request)this.request.abort(Error("max redirects"));this.redirectionLimitReached=!0,this.abort(Error("max redirects"));return}if(this.opts.origin)this.history.push(new URL(this.opts.path,this.opts.origin));if(!this.location)return this.handler.onHeaders(e,t,r,n);let{origin:i,pathname:o,search:s}=gn.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),a=s?`${o}${s}`:o;if(this.opts.headers=Kre(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=a,this.opts.origin=i,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD")this.opts.method="GET",this.opts.body=null}onData(e){if(this.location);else return this.handler.onData(e)}onComplete(e){if(this.location)this.location=null,this.abort=null,this.dispatch(this.opts,this);else this.handler.onComplete(e)}onBodySent(e){if(this.handler.onBodySent)this.handler.onBodySent(e)}}function Zre(e,t){if(Wre.indexOf(e)===-1)return null;for(let r=0;r<t.length;r+=2)if(t[r].length===8&&gn.headerNameToString(t[r])==="location")return t[r+1]}function MP(e,t,r){if(e.length===4)return gn.headerNameToString(e)==="host";if(t&&gn.headerNameToString(e).startsWith("content-"))return!0;if(r&&(e.length===13||e.length===6||e.length===19)){let n=gn.headerNameToString(e);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}function Kre(e,t,r){let n=[];if(Array.isArray(e)){for(let i=0;i<e.length;i+=2)if(!MP(e[i],t,r))n.push(e[i],e[i+1])}else if(e&&typeof e==="object"){for(let i of Object.keys(e))if(!MP(i,t,r))n.push(i,e[i])}else hy(e==null,"headers must be an object or an array");return n}OP.exports=LP});var pf=C((jNe,PP)=>{var Xre=df();function ene({maxRedirections:e}){return(t)=>function(n,i){let{maxRedirections:o=e}=n;if(!o)return t(n,i);let s=new Xre(t,o,n,i);return n={...n,maxRedirections:0},t(n,s)}}PP.exports=ene});var Ca=C((YNe,ZP)=>{var Hn=v("node:assert"),YP=v("node:net"),tne=v("node:http"),Qo=oe(),{channels:Ea}=ea(),rne=_L(),nne=ia(),{InvalidArgumentError:tt,InformationalError:ine,ClientDestroyedError:one}=fe(),sne=Wl(),{kUrl:hn,kServerName:Si,kClient:ane,kBusy:my,kConnect:cne,kResuming:vo,kRunning:pu,kPending:fu,kSize:du,kQueue:Kr,kConnected:lne,kConnecting:Ia,kNeedDrain:_i,kKeepAliveDefaultTimeout:$P,kHostHeader:une,kPendingIdx:Xr,kRunningIdx:zn,kError:Ane,kPipelining:ff,kKeepAliveTimeoutValue:dne,kMaxHeadersSize:pne,kKeepAliveMaxTimeout:fne,kKeepAliveTimeoutThreshold:gne,kHeadersTimeout:hne,kBodyTimeout:mne,kStrictContentLength:Ene,kConnector:lu,kMaxRedirections:Ine,kMaxRequests:Ey,kCounter:Cne,kClose:yne,kDestroy:Bne,kDispatch:bne,kInterceptors:GP,kLocalAddress:uu,kMaxResponseSize:Qne,kOnError:vne,kHTTPContext:rt,kMaxConcurrentStreams:xne,kResume:Au}=Ge(),wne=wP(),Sne=FP(),HP=!1,ki=Symbol("kClosedResolve"),zP=()=>{};function JP(e){return e[ff]??e[rt]?.defaultPipelining??1}class qP extends nne{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:n,socketTimeout:i,requestTimeout:o,connectTimeout:s,bodyTimeout:a,idleTimeout:c,keepAlive:u,keepAliveTimeout:l,maxKeepAliveTimeout:d,keepAliveMaxTimeout:A,keepAliveTimeoutThreshold:p,socketPath:f,pipelining:h,tls:g,strictContentLength:m,maxCachedSessions:S,maxRedirections:b,connect:I,maxRequestsPerClient:P,localAddress:x,maxResponseSize:D,autoSelectFamily:le,autoSelectFamilyAttemptTimeout:ie,maxConcurrentStreams:De,allowH2:Mt}={}){super();if(u!==void 0)throw new tt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new tt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(o!==void 0)throw new tt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(c!==void 0)throw new tt("unsupported idleTimeout, use keepAliveTimeout instead");if(d!==void 0)throw new tt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(r!=null&&!Number.isFinite(r))throw new tt("invalid maxHeaderSize");if(f!=null&&typeof f!=="string")throw new tt("invalid socketPath");if(s!=null&&(!Number.isFinite(s)||s<0))throw new tt("invalid connectTimeout");if(l!=null&&(!Number.isFinite(l)||l<=0))throw new tt("invalid keepAliveTimeout");if(A!=null&&(!Number.isFinite(A)||A<=0))throw new tt("invalid keepAliveMaxTimeout");if(p!=null&&!Number.isFinite(p))throw new tt("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new tt("headersTimeout must be a positive integer or zero");if(a!=null&&(!Number.isInteger(a)||a<0))throw new tt("bodyTimeout must be a positive integer or zero");if(I!=null&&typeof I!=="function"&&typeof I!=="object")throw new tt("connect must be a function or an object");if(b!=null&&(!Number.isInteger(b)||b<0))throw new tt("maxRedirections must be a positive number");if(P!=null&&(!Number.isInteger(P)||P<0))throw new tt("maxRequestsPerClient must be a positive number");if(x!=null&&(typeof x!=="string"||YP.isIP(x)===0))throw new tt("localAddress must be valid string IP address");if(D!=null&&(!Number.isInteger(D)||D<-1))throw new tt("maxResponseSize must be a positive number");if(ie!=null&&(!Number.isInteger(ie)||ie<-1))throw new tt("autoSelectFamilyAttemptTimeout must be a positive number");if(Mt!=null&&typeof Mt!=="boolean")throw new tt("allowH2 must be a valid boolean value");if(De!=null&&(typeof De!=="number"||De<1))throw new tt("maxConcurrentStreams must be a positive integer, greater than 0");if(typeof I!=="function")I=sne({...g,maxCachedSessions:S,allowH2:Mt,socketPath:f,timeout:s,...le?{autoSelectFamily:le,autoSelectFamilyAttemptTimeout:ie}:void 0,...I});if(t?.Client&&Array.isArray(t.Client)){if(this[GP]=t.Client,!HP)HP=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}else this[GP]=[kne({maxRedirections:b})];this[hn]=Qo.parseOrigin(e),this[lu]=I,this[ff]=h!=null?h:1,this[pne]=r||tne.maxHeaderSize,this[$P]=l==null?4000:l,this[fne]=A==null?600000:A,this[gne]=p==null?2000:p,this[dne]=this[$P],this[Si]=null,this[uu]=x!=null?x:null,this[vo]=0,this[_i]=0,this[une]=`host: ${this[hn].hostname}${this[hn].port?`:${this[hn].port}`:""}\r
|
|
114
|
+
`,this[mne]=a!=null?a:300000,this[hne]=n!=null?n:300000,this[Ene]=m==null?!0:m,this[Ine]=b,this[Ey]=P,this[ki]=null,this[Qne]=D>-1?D:-1,this[xne]=De!=null?De:100,this[rt]=null,this[Kr]=[],this[zn]=0,this[Xr]=0,this[Au]=(Oe)=>Iy(this,Oe),this[vne]=(Oe)=>VP(this,Oe)}get pipelining(){return this[ff]}set pipelining(e){this[ff]=e,this[Au](!0)}get[fu](){return this[Kr].length-this[Xr]}get[pu](){return this[Xr]-this[zn]}get[du](){return this[Kr].length-this[zn]}get[lne](){return!!this[rt]&&!this[Ia]&&!this[rt].destroyed}get[my](){return Boolean(this[rt]?.busy(null)||this[du]>=(JP(this)||1)||this[fu]>0)}[cne](e){WP(this),this.once("connect",e)}[bne](e,t){let r=e.origin||this[hn].origin,n=new rne(r,e,t);if(this[Kr].push(n),this[vo]);else if(Qo.bodyLength(n.body)==null&&Qo.isIterable(n.body))this[vo]=1,queueMicrotask(()=>Iy(this));else this[Au](!0);if(this[vo]&&this[_i]!==2&&this[my])this[_i]=2;return this[_i]<2}async[yne](){return new Promise((e)=>{if(this[du])this[ki]=e;else e(null)})}async[Bne](e){return new Promise((t)=>{let r=this[Kr].splice(this[Xr]);for(let i=0;i<r.length;i++){let o=r[i];Qo.errorRequest(this,o,e)}let n=()=>{if(this[ki])this[ki](),this[ki]=null;t(null)};if(this[rt])this[rt].destroy(e,n),this[rt]=null;else queueMicrotask(n);this[Au]()})}}var kne=pf();function VP(e,t){if(e[pu]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){Hn(e[Xr]===e[zn]);let r=e[Kr].splice(e[zn]);for(let n=0;n<r.length;n++){let i=r[n];Qo.errorRequest(e,i,t)}Hn(e[du]===0)}}async function WP(e){Hn(!e[Ia]),Hn(!e[rt]);let{host:t,hostname:r,protocol:n,port:i}=e[hn];if(r[0]==="["){let o=r.indexOf("]");Hn(o!==-1);let s=r.substring(1,o);Hn(YP.isIP(s)),r=s}if(e[Ia]=!0,Ea.beforeConnect.hasSubscribers)Ea.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[rt]?.version,servername:e[Si],localAddress:e[uu]},connector:e[lu]});try{let o=await new Promise((s,a)=>{e[lu]({host:t,hostname:r,protocol:n,port:i,servername:e[Si],localAddress:e[uu]},(c,u)=>{if(c)a(c);else s(u)})});if(e.destroyed){Qo.destroy(o.on("error",zP),new one);return}Hn(o);try{e[rt]=o.alpnProtocol==="h2"?await Sne(e,o):await wne(e,o)}catch(s){throw o.destroy().on("error",zP),s}if(e[Ia]=!1,o[Cne]=0,o[Ey]=e[Ey],o[ane]=e,o[Ane]=null,Ea.connected.hasSubscribers)Ea.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[rt]?.version,servername:e[Si],localAddress:e[uu]},connector:e[lu],socket:o});e.emit("connect",e[hn],[e])}catch(o){if(e.destroyed)return;if(e[Ia]=!1,Ea.connectError.hasSubscribers)Ea.connectError.publish({connectParams:{host:t,hostname:r,protocol:n,port:i,version:e[rt]?.version,servername:e[Si],localAddress:e[uu]},connector:e[lu],error:o});if(o.code==="ERR_TLS_CERT_ALTNAME_INVALID"){Hn(e[pu]===0);while(e[fu]>0&&e[Kr][e[Xr]].servername===e[Si]){let s=e[Kr][e[Xr]++];Qo.errorRequest(e,s,o)}}else VP(e,o);e.emit("connectionError",e[hn],[e],o)}e[Au]()}function jP(e){e[_i]=0,e.emit("drain",e[hn],[e])}function Iy(e,t){if(e[vo]===2)return;if(e[vo]=2,_ne(e,t),e[vo]=0,e[zn]>256)e[Kr].splice(0,e[zn]),e[Xr]-=e[zn],e[zn]=0}function _ne(e,t){while(!0){if(e.destroyed){Hn(e[fu]===0);return}if(e[ki]&&!e[du]){e[ki](),e[ki]=null;return}if(e[rt])e[rt].resume();if(e[my])e[_i]=2;else if(e[_i]===2){if(t)e[_i]=1,queueMicrotask(()=>jP(e));else jP(e);continue}if(e[fu]===0)return;if(e[pu]>=(JP(e)||1))return;let r=e[Kr][e[Xr]];if(e[hn].protocol==="https:"&&e[Si]!==r.servername){if(e[pu]>0)return;e[Si]=r.servername,e[rt]?.destroy(new ine("servername changed"),()=>{e[rt]=null,Iy(e)})}if(e[Ia])return;if(!e[rt]){WP(e);return}if(e[rt].destroyed)return;if(e[rt].busy(r))return;if(!r.aborted&&e[rt].write(r))e[Xr]++;else e[Kr].splice(e[Xr],1)}}ZP.exports=qP});var yy=C((JNe,KP)=>{class Cy{constructor(){this.bottom=0,this.top=0,this.list=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];if(e===void 0)return null;return this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e}}KP.exports=class{constructor(){this.head=this.tail=new Cy}isEmpty(){return this.head.isEmpty()}push(t){if(this.head.isFull())this.head=this.head.next=new Cy;this.head.push(t)}shift(){let t=this.tail,r=t.shift();if(t.isEmpty()&&t.next!==null)this.tail=t.next;return r}}});var t$=C((qNe,e$)=>{var{kFree:Rne,kConnected:Dne,kPending:Tne,kQueued:Nne,kRunning:Fne,kSize:Une}=Ge(),xo=Symbol("pool");class XP{constructor(e){this[xo]=e}get connected(){return this[xo][Dne]}get free(){return this[xo][Rne]}get pending(){return this[xo][Tne]}get queued(){return this[xo][Nne]}get running(){return this[xo][Fne]}get size(){return this[xo][Une]}}e$.exports=XP});var xy=C((VNe,d$)=>{var Mne=ia(),Lne=yy(),{kConnected:By,kSize:r$,kRunning:n$,kPending:i$,kQueued:gu,kBusy:One,kFree:Pne,kUrl:$ne,kClose:Gne,kDestroy:Hne,kDispatch:zne}=Ge(),jne=t$(),Wt=Symbol("clients"),$t=Symbol("needDrain"),hu=Symbol("queue"),by=Symbol("closed resolve"),Qy=Symbol("onDrain"),o$=Symbol("onConnect"),s$=Symbol("onDisconnect"),a$=Symbol("onConnectionError"),vy=Symbol("get dispatcher"),l$=Symbol("add client"),u$=Symbol("remove client"),c$=Symbol("stats");class A$ extends Mne{constructor(){super();this[hu]=new Lne,this[Wt]=[],this[gu]=0;let e=this;this[Qy]=function(r,n){let i=e[hu],o=!1;while(!o){let s=i.shift();if(!s)break;e[gu]--,o=!this.dispatch(s.opts,s.handler)}if(this[$t]=o,!this[$t]&&e[$t])e[$t]=!1,e.emit("drain",r,[e,...n]);if(e[by]&&i.isEmpty())Promise.all(e[Wt].map((s)=>s.close())).then(e[by])},this[o$]=(t,r)=>{e.emit("connect",t,[e,...r])},this[s$]=(t,r,n)=>{e.emit("disconnect",t,[e,...r],n)},this[a$]=(t,r,n)=>{e.emit("connectionError",t,[e,...r],n)},this[c$]=new jne(this)}get[One](){return this[$t]}get[By](){return this[Wt].filter((e)=>e[By]).length}get[Pne](){return this[Wt].filter((e)=>e[By]&&!e[$t]).length}get[i$](){let e=this[gu];for(let{[i$]:t}of this[Wt])e+=t;return e}get[n$](){let e=0;for(let{[n$]:t}of this[Wt])e+=t;return e}get[r$](){let e=this[gu];for(let{[r$]:t}of this[Wt])e+=t;return e}get stats(){return this[c$]}async[Gne](){if(this[hu].isEmpty())await Promise.all(this[Wt].map((e)=>e.close()));else await new Promise((e)=>{this[by]=e})}async[Hne](e){while(!0){let t=this[hu].shift();if(!t)break;t.handler.onError(e)}await Promise.all(this[Wt].map((t)=>t.destroy(e)))}[zne](e,t){let r=this[vy]();if(!r)this[$t]=!0,this[hu].push({opts:e,handler:t}),this[gu]++;else if(!r.dispatch(e,t))r[$t]=!0,this[$t]=!this[vy]();return!this[$t]}[l$](e){if(e.on("drain",this[Qy]).on("connect",this[o$]).on("disconnect",this[s$]).on("connectionError",this[a$]),this[Wt].push(e),this[$t])queueMicrotask(()=>{if(this[$t])this[Qy](e[$ne],[this,e])});return this}[u$](e){e.close(()=>{let t=this[Wt].indexOf(e);if(t!==-1)this[Wt].splice(t,1)}),this[$t]=this[Wt].some((t)=>!t[$t]&&t.closed!==!0&&t.destroyed!==!0)}}d$.exports={PoolBase:A$,kClients:Wt,kNeedDrain:$t,kAddClient:l$,kRemoveClient:u$,kGetDispatcher:vy}});var ya=C((WNe,m$)=>{var{PoolBase:Yne,kClients:gf,kNeedDrain:Jne,kAddClient:qne,kGetDispatcher:Vne}=xy(),Wne=Ca(),{InvalidArgumentError:wy}=fe(),p$=oe(),{kUrl:f$,kInterceptors:Zne}=Ge(),Kne=Wl(),Sy=Symbol("options"),ky=Symbol("connections"),g$=Symbol("factory");function Xne(e,t){return new Wne(e,t)}class h$ extends Yne{constructor(e,{connections:t,factory:r=Xne,connect:n,connectTimeout:i,tls:o,maxCachedSessions:s,socketPath:a,autoSelectFamily:c,autoSelectFamilyAttemptTimeout:u,allowH2:l,...d}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0))throw new wy("invalid connections");if(typeof r!=="function")throw new wy("factory must be a function.");if(n!=null&&typeof n!=="function"&&typeof n!=="object")throw new wy("connect must be a function or an object");if(typeof n!=="function")n=Kne({...o,maxCachedSessions:s,allowH2:l,socketPath:a,timeout:i,...c?{autoSelectFamily:c,autoSelectFamilyAttemptTimeout:u}:void 0,...n});this[Zne]=d.interceptors?.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[],this[ky]=t||null,this[f$]=p$.parseOrigin(e),this[Sy]={...p$.deepClone(d),connect:n,allowH2:l},this[Sy].interceptors=d.interceptors?{...d.interceptors}:void 0,this[g$]=r,this.on("connectionError",(A,p,f)=>{for(let h of p){let g=this[gf].indexOf(h);if(g!==-1)this[gf].splice(g,1)}})}[Vne](){for(let e of this[gf])if(!e[Jne])return e;if(!this[ky]||this[gf].length<this[ky]){let e=this[g$](this[f$],this[Sy]);return this[qne](e),e}}}m$.exports=h$});var b$=C((ZNe,B$)=>{var{BalancedPoolMissingUpstreamError:eie,InvalidArgumentError:tie}=fe(),{PoolBase:rie,kClients:Tt,kNeedDrain:mu,kAddClient:nie,kRemoveClient:iie,kGetDispatcher:oie}=xy(),sie=ya(),{kUrl:_y,kInterceptors:aie}=Ge(),{parseOrigin:E$}=oe(),I$=Symbol("factory"),hf=Symbol("options"),C$=Symbol("kGreatestCommonDivisor"),wo=Symbol("kCurrentWeight"),So=Symbol("kIndex"),Rr=Symbol("kWeight"),mf=Symbol("kMaxWeightPerServer"),Ef=Symbol("kErrorPenalty");function cie(e,t){if(e===0)return t;while(t!==0){let r=t;t=e%t,e=r}return e}function lie(e,t){return new sie(e,t)}class y$ extends rie{constructor(e=[],{factory:t=lie,...r}={}){super();if(this[hf]=r,this[So]=-1,this[wo]=0,this[mf]=this[hf].maxWeightPerServer||100,this[Ef]=this[hf].errorPenalty||15,!Array.isArray(e))e=[e];if(typeof t!=="function")throw new tie("factory must be a function.");this[aie]=r.interceptors?.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[],this[I$]=t;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let t=E$(e).origin;if(this[Tt].find((n)=>n[_y].origin===t&&n.closed!==!0&&n.destroyed!==!0))return this;let r=this[I$](t,Object.assign({},this[hf]));this[nie](r),r.on("connect",()=>{r[Rr]=Math.min(this[mf],r[Rr]+this[Ef])}),r.on("connectionError",()=>{r[Rr]=Math.max(1,r[Rr]-this[Ef]),this._updateBalancedPoolStats()}),r.on("disconnect",(...n)=>{let i=n[2];if(i&&i.code==="UND_ERR_SOCKET")r[Rr]=Math.max(1,r[Rr]-this[Ef]),this._updateBalancedPoolStats()});for(let n of this[Tt])n[Rr]=this[mf];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[Tt].length;t++)e=cie(this[Tt][t][Rr],e);this[C$]=e}removeUpstream(e){let t=E$(e).origin,r=this[Tt].find((n)=>n[_y].origin===t&&n.closed!==!0&&n.destroyed!==!0);if(r)this[iie](r);return this}get upstreams(){return this[Tt].filter((e)=>e.closed!==!0&&e.destroyed!==!0).map((e)=>e[_y].origin)}[oie](){if(this[Tt].length===0)throw new eie;if(!this[Tt].find((i)=>!i[mu]&&i.closed!==!0&&i.destroyed!==!0))return;if(this[Tt].map((i)=>i[mu]).reduce((i,o)=>i&&o,!0))return;let r=0,n=this[Tt].findIndex((i)=>!i[mu]);while(r++<this[Tt].length){this[So]=(this[So]+1)%this[Tt].length;let i=this[Tt][this[So]];if(i[Rr]>this[Tt][n][Rr]&&!i[mu])n=this[So];if(this[So]===0){if(this[wo]=this[wo]-this[C$],this[wo]<=0)this[wo]=this[mf]}if(i[Rr]>=this[wo]&&!i[mu])return i}return this[wo]=this[Tt][n][Rr],this[So]=n,this[Tt][n]}}B$.exports=y$});var Ba=C((KNe,R$)=>{var{InvalidArgumentError:If}=fe(),{kClients:Ri,kRunning:Q$,kClose:uie,kDestroy:Aie,kDispatch:die,kInterceptors:pie}=Ge(),fie=ia(),gie=ya(),hie=Ca(),mie=oe(),Eie=pf(),v$=Symbol("onConnect"),x$=Symbol("onDisconnect"),w$=Symbol("onConnectionError"),Iie=Symbol("maxRedirections"),S$=Symbol("onDrain"),k$=Symbol("factory"),Ry=Symbol("options");function Cie(e,t){return t&&t.connections===1?new hie(e,t):new gie(e,t)}class _$ extends fie{constructor({factory:e=Cie,maxRedirections:t=0,connect:r,...n}={}){super();if(typeof e!=="function")throw new If("factory must be a function.");if(r!=null&&typeof r!=="function"&&typeof r!=="object")throw new If("connect must be a function or an object");if(!Number.isInteger(t)||t<0)throw new If("maxRedirections must be a positive number");if(r&&typeof r!=="function")r={...r};this[pie]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[Eie({maxRedirections:t})],this[Ry]={...mie.deepClone(n),connect:r},this[Ry].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Iie]=t,this[k$]=e,this[Ri]=new Map,this[S$]=(i,o)=>{this.emit("drain",i,[this,...o])},this[v$]=(i,o)=>{this.emit("connect",i,[this,...o])},this[x$]=(i,o,s)=>{this.emit("disconnect",i,[this,...o],s)},this[w$]=(i,o,s)=>{this.emit("connectionError",i,[this,...o],s)}}get[Q$](){let e=0;for(let t of this[Ri].values())e+=t[Q$];return e}[die](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL))r=String(e.origin);else throw new If("opts.origin must be a non-empty string or URL.");let n=this[Ri].get(r);if(!n)n=this[k$](e.origin,this[Ry]).on("drain",this[S$]).on("connect",this[v$]).on("disconnect",this[x$]).on("connectionError",this[w$]),this[Ri].set(r,n);return n.dispatch(e,t)}async[uie](){let e=[];for(let t of this[Ri].values())e.push(t.close());this[Ri].clear(),await Promise.all(e)}async[Aie](e){let t=[];for(let r of this[Ri].values())t.push(r.destroy(e));this[Ri].clear(),await Promise.all(t)}}R$.exports=_$});var Ny=C((XNe,z$)=>{var{kProxy:Dy,kClose:M$,kDestroy:L$,kDispatch:D$,kInterceptors:yie}=Ge(),{URL:ko}=v("node:url"),Bie=Ba(),O$=ya(),P$=ia(),{InvalidArgumentError:ba,RequestAbortedError:bie,SecureProxyConnectionError:Qie}=fe(),T$=Wl(),$$=Ca(),Cf=Symbol("proxy agent"),yf=Symbol("proxy client"),Di=Symbol("proxy headers"),Ty=Symbol("request tls settings"),N$=Symbol("proxy tls settings"),F$=Symbol("connect endpoint function"),U$=Symbol("tunnel proxy");function vie(e){return e==="https:"?443:80}function xie(e,t){return new O$(e,t)}var wie=()=>{};function Sie(e,t){if(t.connections===1)return new $$(e,t);return new O$(e,t)}class G$ extends P${#e;constructor(e,{headers:t={},connect:r,factory:n}){super();if(!e)throw new ba("Proxy URL is mandatory");if(this[Di]=t,n)this.#e=n(e,{connect:r});else this.#e=new $$(e,{connect:r})}[D$](e,t){let r=t.onHeaders;t.onHeaders=function(s,a,c){if(s===407){if(typeof t.onError==="function")t.onError(new ba("Proxy Authentication Required (407)"));return}if(r)r.call(this,s,a,c)};let{origin:n,path:i="/",headers:o={}}=e;if(e.path=n+i,!("host"in o)&&!("Host"in o)){let{host:s}=new ko(n);o.host=s}return e.headers={...this[Di],...o},this.#e[D$](e,t)}async[M$](){return this.#e.close()}async[L$](e){return this.#e.destroy(e)}}class H$ extends P${constructor(e){super();if(!e||typeof e==="object"&&!(e instanceof ko)&&!e.uri)throw new ba("Proxy uri is mandatory");let{clientFactory:t=xie}=e;if(typeof t!=="function")throw new ba("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r=!0}=e,n=this.#e(e),{href:i,origin:o,port:s,protocol:a,username:c,password:u,hostname:l}=n;if(this[Dy]={uri:i,protocol:a},this[yie]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[Ty]=e.requestTls,this[N$]=e.proxyTls,this[Di]=e.headers||{},this[U$]=r,e.auth&&e.token)throw new ba("opts.auth cannot be used in combination with opts.token");else if(e.auth)this[Di]["proxy-authorization"]=`Basic ${e.auth}`;else if(e.token)this[Di]["proxy-authorization"]=e.token;else if(c&&u)this[Di]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(c)}:${decodeURIComponent(u)}`).toString("base64")}`;let d=T$({...e.proxyTls});this[F$]=T$({...e.requestTls});let A=e.factory||Sie,p=(f,h)=>{let{protocol:g}=new ko(f);if(!this[U$]&&g==="http:"&&this[Dy].protocol==="http:")return new G$(this[Dy].uri,{headers:this[Di],connect:d,factory:A});return A(f,h)};this[yf]=t(n,{connect:d}),this[Cf]=new Bie({...e,factory:p,connect:async(f,h)=>{let g=f.host;if(!f.port)g+=`:${vie(f.protocol)}`;try{let{socket:m,statusCode:S}=await this[yf].connect({origin:o,port:s,path:g,signal:f.signal,headers:{...this[Di],host:f.host},servername:this[N$]?.servername||l});if(S!==200)m.on("error",wie).destroy(),h(new bie(`Proxy response (${S}) !== 200 when HTTP Tunneling`));if(f.protocol!=="https:"){h(null,m);return}let b;if(this[Ty])b=this[Ty].servername;else b=f.servername;this[F$]({...f,servername:b,httpSocket:m},h)}catch(m){if(m.code==="ERR_TLS_CERT_ALTNAME_INVALID")h(new Qie(m));else h(m)}}})}dispatch(e,t){let r=kie(e.headers);if(_ie(r),r&&!("host"in r)&&!("Host"in r)){let{host:n}=new ko(e.origin);r.host=n}return this[Cf].dispatch({...e,headers:r},t)}#e(e){if(typeof e==="string")return new ko(e);else if(e instanceof ko)return e;else return new ko(e.uri)}async[M$](){await this[Cf].close(),await this[yf].close()}async[L$](){await this[Cf].destroy(),await this[yf].destroy()}}function kie(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}return e}function _ie(e){if(e&&Object.keys(e).find((r)=>r.toLowerCase()==="proxy-authorization"))throw new ba("Proxy-Authorization should be sent in ProxyAgent constructor")}z$.exports=H$});var Z$=C((eFe,W$)=>{var Rie=ia(),{kClose:Die,kDestroy:Tie,kClosed:j$,kDestroyed:Y$,kDispatch:Nie,kNoProxyAgent:Eu,kHttpProxyAgent:Ti,kHttpsProxyAgent:_o}=Ge(),J$=Ny(),Fie=Ba(),Uie={"http:":80,"https:":443},q$=!1;class V$ extends Rie{#e=null;#t=null;#r=null;constructor(e={}){super();if(this.#r=e,!q$)q$=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"});let{httpProxy:t,httpsProxy:r,noProxy:n,...i}=e;this[Eu]=new Fie(i);let o=t??process.env.http_proxy??process.env.HTTP_PROXY;if(o)this[Ti]=new J$({...i,uri:o});else this[Ti]=this[Eu];let s=r??process.env.https_proxy??process.env.HTTPS_PROXY;if(s)this[_o]=new J$({...i,uri:s});else this[_o]=this[Ti];this.#a()}[Nie](e,t){let r=new URL(e.origin);return this.#n(r).dispatch(e,t)}async[Die](){if(await this[Eu].close(),!this[Ti][j$])await this[Ti].close();if(!this[_o][j$])await this[_o].close()}async[Tie](e){if(await this[Eu].destroy(e),!this[Ti][Y$])await this[Ti].destroy(e);if(!this[_o][Y$])await this[_o].destroy(e)}#n(e){let{protocol:t,host:r,port:n}=e;if(r=r.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||Uie[t]||0,!this.#i(r,n))return this[Eu];if(t==="https:")return this[_o];return this[Ti]}#i(e,t){if(this.#o)this.#a();if(this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let r=0;r<this.#t.length;r++){let n=this.#t[r];if(n.port&&n.port!==t)continue;if(!/^[.*]/.test(n.hostname)){if(e===n.hostname)return!1}else if(e.endsWith(n.hostname.replace(/^\*/,"")))return!1}return!0}#a(){let e=this.#r.noProxy??this.#u,t=e.split(/[,\s]/),r=[];for(let n=0;n<t.length;n++){let i=t[n];if(!i)continue;let o=i.match(/^(.+):(\d+)$/);r.push({hostname:(o?o[1]:i).toLowerCase(),port:o?Number.parseInt(o[2],10):0})}this.#e=e,this.#t=r}get#o(){if(this.#r.noProxy!==void 0)return!1;return this.#e!==this.#u}get#u(){return process.env.no_proxy??process.env.NO_PROXY??""}}W$.exports=V$});var Bf=C((tFe,t2)=>{var Qa=v("node:assert"),{kRetryHandlerDefaultRetry:K$}=Ge(),{RequestRetryError:Iu}=fe(),{isDisturbed:X$,parseHeaders:Mie,parseRangeHeader:e2,wrapRequestBody:Lie}=oe();function Oie(e){let t=Date.now();return new Date(e).getTime()-t}class Fy{constructor(e,t){let{retryOptions:r,...n}=e,{retry:i,maxRetries:o,maxTimeout:s,minTimeout:a,timeoutFactor:c,methods:u,errorCodes:l,retryAfter:d,statusCodes:A}=r??{};this.dispatch=t.dispatch,this.handler=t.handler,this.opts={...n,body:Lie(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??Fy[K$],retryAfter:d??!0,maxTimeout:s??30000,minTimeout:a??500,timeoutFactor:c??2,maxRetries:o??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:A??[500,502,503,504,429],errorCodes:l??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect((p)=>{if(this.aborted=!0,this.abort)this.abort(p);else this.reason=p})}onRequestSent(){if(this.handler.onRequestSent)this.handler.onRequestSent()}onUpgrade(e,t,r){if(this.handler.onUpgrade)this.handler.onUpgrade(e,t,r)}onConnect(e){if(this.aborted)e(this.reason);else this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[K$](e,{state:t,opts:r},n){let{statusCode:i,code:o,headers:s}=e,{method:a,retryOptions:c}=r,{maxRetries:u,minTimeout:l,maxTimeout:d,timeoutFactor:A,statusCodes:p,errorCodes:f,methods:h}=c,{counter:g}=t;if(o&&o!=="UND_ERR_REQ_RETRY"&&!f.includes(o)){n(e);return}if(Array.isArray(h)&&!h.includes(a)){n(e);return}if(i!=null&&Array.isArray(p)&&!p.includes(i)){n(e);return}if(g>u){n(e);return}let m=s?.["retry-after"];if(m)m=Number(m),m=Number.isNaN(m)?Oie(m):m*1000;let S=m>0?Math.min(m,d):Math.min(l*A**(g-1),d);setTimeout(()=>n(null),S)}onHeaders(e,t,r,n){let i=Mie(t);if(this.retryCount+=1,e>=300)if(this.retryOpts.statusCodes.includes(e)===!1)return this.handler.onHeaders(e,t,r,n);else return this.abort(new Iu("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new Iu("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let s=e2(i["content-range"]);if(!s)return this.abort(new Iu("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Iu("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let{start:a,size:c,end:u=c-1}=s;return Qa(this.start===a,"content-range mismatch"),Qa(this.end==null||this.end===u,"content-range mismatch"),this.resume=r,!0}if(this.end==null){if(e===206){let s=e2(i["content-range"]);if(s==null)return this.handler.onHeaders(e,t,r,n);let{start:a,size:c,end:u=c-1}=s;Qa(a!=null&&Number.isFinite(a),"content-range mismatch"),Qa(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=a,this.end=u}if(this.end==null){let s=i["content-length"];this.end=s!=null?Number(s)-1:null}if(Qa(Number.isFinite(this.start)),Qa(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=r,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/"))this.etag=null;return this.handler.onHeaders(e,t,r,n)}let o=new Iu("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(o),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||X$(this.opts.body))return this.handler.onError(e);if(this.retryCount-this.retryCountCheckpoint>0)this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint);else this.retryCount+=1;this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},t.bind(this));function t(r){if(r!=null||this.aborted||X$(this.opts.body))return this.handler.onError(r);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null)n["if-match"]=this.etag;this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}}}t2.exports=Fy});var i2=C((rFe,n2)=>{var Pie=ql(),$ie=Bf();class r2 extends Pie{#e=null;#t=null;constructor(e,t={}){super(t);this.#e=e,this.#t=t}dispatch(e,t){let r=new $ie({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:t});return this.#e.dispatch(e,r)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}}n2.exports=r2});var Py=C((nFe,f2)=>{var l2=v("node:assert"),{Readable:Gie}=v("node:stream"),{RequestAbortedError:u2,NotSupportedError:Hie,InvalidArgumentError:zie,AbortError:Uy}=fe(),A2=oe(),{ReadableStreamFrom:jie}=oe(),Ar=Symbol("kConsume"),Cu=Symbol("kReading"),Ni=Symbol("kBody"),o2=Symbol("kAbort"),d2=Symbol("kContentType"),s2=Symbol("kContentLength"),Yie=()=>{};class p2 extends Gie{constructor({resume:e,abort:t,contentType:r="",contentLength:n,highWaterMark:i=65536}){super({autoDestroy:!0,read:e,highWaterMark:i});this._readableState.dataEmitted=!1,this[o2]=t,this[Ar]=null,this[Ni]=null,this[d2]=r,this[s2]=n,this[Cu]=!1}destroy(e){if(!e&&!this._readableState.endEmitted)e=new u2;if(e)this[o2]();return super.destroy(e)}_destroy(e,t){if(!this[Cu])setImmediate(()=>{t(e)});else t(e)}on(e,...t){if(e==="data"||e==="readable")this[Cu]=!0;return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){let r=super.off(e,...t);if(e==="data"||e==="readable")this[Cu]=this.listenerCount("data")>0||this.listenerCount("readable")>0;return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[Ar]&&e!==null)return Ly(this[Ar],e),this[Cu]?super.push(e):!0;return super.push(e)}async text(){return yu(this,"text")}async json(){return yu(this,"json")}async blob(){return yu(this,"blob")}async bytes(){return yu(this,"bytes")}async arrayBuffer(){return yu(this,"arrayBuffer")}async formData(){throw new Hie}get bodyUsed(){return A2.isDisturbed(this)}get body(){if(!this[Ni]){if(this[Ni]=jie(this),this[Ar])this[Ni].getReader(),l2(this[Ni].locked)}return this[Ni]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:131072,r=e?.signal;if(r!=null&&(typeof r!=="object"||!("aborted"in r)))throw new zie("signal must be an AbortSignal");if(r?.throwIfAborted(),this._readableState.closeEmitted)return null;return await new Promise((n,i)=>{if(this[s2]>t)this.destroy(new Uy);let o=()=>{this.destroy(r.reason??new Uy)};r?.addEventListener("abort",o),this.on("close",function(){if(r?.removeEventListener("abort",o),r?.aborted)i(r.reason??new Uy);else n(null)}).on("error",Yie).on("data",function(s){if(t-=s.length,t<=0)this.destroy()}).resume()})}}function Jie(e){return e[Ni]&&e[Ni].locked===!0||e[Ar]}function qie(e){return A2.isDisturbed(e)||Jie(e)}async function yu(e,t){return l2(!e[Ar]),new Promise((r,n)=>{if(qie(e)){let i=e._readableState;if(i.destroyed&&i.closeEmitted===!1)e.on("error",(o)=>{n(o)}).on("close",()=>{n(TypeError("unusable"))});else n(i.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[Ar]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(i){Oy(this[Ar],i)}).on("close",function(){if(this[Ar].body!==null)Oy(this[Ar],new u2)}),Vie(e[Ar])})})}function Vie(e){if(e.body===null)return;let{_readableState:t}=e.stream;if(t.bufferIndex){let r=t.bufferIndex,n=t.buffer.length;for(let i=r;i<n;i++)Ly(e,t.buffer[i])}else for(let r of t.buffer)Ly(e,r);if(t.endEmitted)c2(this[Ar]);else e.stream.on("end",function(){c2(this[Ar])});e.stream.resume();while(e.stream.read()!=null);}function My(e,t){if(e.length===0||t===0)return"";let r=e.length===1?e[0]:Buffer.concat(e,t),n=r.length,i=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}function a2(e,t){if(e.length===0||t===0)return new Uint8Array(0);if(e.length===1)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),n=0;for(let i=0;i<e.length;++i){let o=e[i];r.set(o,n),n+=o.length}return r}function c2(e){let{type:t,body:r,resolve:n,stream:i,length:o}=e;try{if(t==="text")n(My(r,o));else if(t==="json")n(JSON.parse(My(r,o)));else if(t==="arrayBuffer")n(a2(r,o).buffer);else if(t==="blob")n(new Blob(r,{type:i[d2]}));else if(t==="bytes")n(a2(r,o));Oy(e)}catch(s){i.destroy(s)}}function Ly(e,t){e.length+=t.length,e.body.push(t)}function Oy(e,t){if(e.body===null)return;if(t)e.reject(t);else e.resolve();e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null}f2.exports={Readable:p2,chunksDecode:My}});var $y=C((iFe,I2)=>{var Wie=v("node:assert"),{ResponseStatusCodeError:g2}=fe(),{chunksDecode:h2}=Py();async function Zie({callback:e,body:t,contentType:r,statusCode:n,statusMessage:i,headers:o}){Wie(t);let s=[],a=0;try{for await(let d of t)if(s.push(d),a+=d.length,a>131072){s=[],a=0;break}}catch{s=[],a=0}let c=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!a){queueMicrotask(()=>e(new g2(c,n,o)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let l;try{if(m2(r))l=JSON.parse(h2(s,a));else if(E2(r))l=h2(s,a)}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>e(new g2(c,n,o,l)))}var m2=(e)=>e.length>15&&e[11]==="/"&&e[0]==="a"&&e[1]==="p"&&e[2]==="p"&&e[3]==="l"&&e[4]==="i"&&e[5]==="c"&&e[6]==="a"&&e[7]==="t"&&e[8]==="i"&&e[9]==="o"&&e[10]==="n"&&e[12]==="j"&&e[13]==="s"&&e[14]==="o"&&e[15]==="n",E2=(e)=>e.length>4&&e[4]==="/"&&e[0]==="t"&&e[1]==="e"&&e[2]==="x"&&e[3]==="t";I2.exports={getResolveErrorBodyCallback:Zie,isContentTypeApplicationJson:m2,isContentTypeText:E2}});var B2=C((oFe,Hy)=>{var Kie=v("node:assert"),{Readable:Xie}=Py(),{InvalidArgumentError:va,RequestAbortedError:C2}=fe(),dr=oe(),{getResolveErrorBodyCallback:eoe}=$y(),{AsyncResource:toe}=v("node:async_hooks");class Gy extends toe{constructor(e,t){if(!e||typeof e!=="object")throw new va("invalid opts");let{signal:r,method:n,opaque:i,body:o,onInfo:s,responseHeaders:a,throwOnError:c,highWaterMark:u}=e;try{if(typeof t!=="function")throw new va("invalid callback");if(u&&(typeof u!=="number"||u<0))throw new va("invalid highWaterMark");if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function")throw new va("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new va("invalid method");if(s&&typeof s!=="function")throw new va("invalid onInfo callback");super("UNDICI_REQUEST")}catch(l){if(dr.isStream(o))dr.destroy(o.on("error",dr.nop),l);throw l}if(this.method=n,this.responseHeaders=a||null,this.opaque=i||null,this.callback=t,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=s||null,this.throwOnError=c,this.highWaterMark=u,this.signal=r,this.reason=null,this.removeAbortListener=null,dr.isStream(o))o.on("error",(l)=>{this.onError(l)});if(this.signal)if(this.signal.aborted)this.reason=this.signal.reason??new C2;else this.removeAbortListener=dr.addAbortListener(this.signal,()=>{if(this.reason=this.signal.reason??new C2,this.res)dr.destroy(this.res.on("error",dr.nop),this.reason);else if(this.abort)this.abort(this.reason);if(this.removeAbortListener)this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null})}onConnect(e,t){if(this.reason){e(this.reason);return}Kie(this.callback),this.abort=e,this.context=t}onHeaders(e,t,r,n){let{callback:i,opaque:o,abort:s,context:a,responseHeaders:c,highWaterMark:u}=this,l=c==="raw"?dr.parseRawHeaders(t):dr.parseHeaders(t);if(e<200){if(this.onInfo)this.onInfo({statusCode:e,headers:l});return}let d=c==="raw"?dr.parseHeaders(t):l,A=d["content-type"],p=d["content-length"],f=new Xie({resume:r,abort:s,contentType:A,contentLength:this.method!=="HEAD"&&p?Number(p):null,highWaterMark:u});if(this.removeAbortListener)f.on("close",this.removeAbortListener);if(this.callback=null,this.res=f,i!==null)if(this.throwOnError&&e>=400)this.runInAsyncScope(eoe,null,{callback:i,body:f,contentType:A,statusCode:e,statusMessage:n,headers:l});else this.runInAsyncScope(i,null,null,{statusCode:e,headers:l,trailers:this.trailers,opaque:o,body:f,context:a})}onData(e){return this.res.push(e)}onComplete(e){dr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:t,callback:r,body:n,opaque:i}=this;if(r)this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:i})});if(t)this.res=null,queueMicrotask(()=>{dr.destroy(t,e)});if(n)this.body=null,dr.destroy(n,e);if(this.removeAbortListener)t?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null}}function y2(e,t){if(t===void 0)return new Promise((r,n)=>{y2.call(this,e,(i,o)=>i?n(i):r(o))});try{this.dispatch(e,new Gy(e,t))}catch(r){if(typeof t!=="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}Hy.exports=y2;Hy.exports.RequestHandler=Gy});var Bu=C((sFe,v2)=>{var{addAbortListener:roe}=oe(),{RequestAbortedError:noe}=fe(),xa=Symbol("kListener"),mn=Symbol("kSignal");function b2(e){if(e.abort)e.abort(e[mn]?.reason);else e.reason=e[mn]?.reason??new noe;Q2(e)}function ioe(e,t){if(e.reason=null,e[mn]=null,e[xa]=null,!t)return;if(t.aborted){b2(e);return}e[mn]=t,e[xa]=()=>{b2(e)},roe(e[mn],e[xa])}function Q2(e){if(!e[mn])return;if("removeEventListener"in e[mn])e[mn].removeEventListener("abort",e[xa]);else e[mn].removeListener("abort",e[xa]);e[mn]=null,e[xa]=null}v2.exports={addSignal:ioe,removeSignal:Q2}});var _2=C((aFe,k2)=>{var ooe=v("node:assert"),{finished:soe,PassThrough:aoe}=v("node:stream"),{InvalidArgumentError:wa,InvalidReturnValueError:coe}=fe(),en=oe(),{getResolveErrorBodyCallback:loe}=$y(),{AsyncResource:uoe}=v("node:async_hooks"),{addSignal:Aoe,removeSignal:x2}=Bu();class w2 extends uoe{constructor(e,t,r){if(!e||typeof e!=="object")throw new wa("invalid opts");let{signal:n,method:i,opaque:o,body:s,onInfo:a,responseHeaders:c,throwOnError:u}=e;try{if(typeof r!=="function")throw new wa("invalid callback");if(typeof t!=="function")throw new wa("invalid factory");if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function")throw new wa("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new wa("invalid method");if(a&&typeof a!=="function")throw new wa("invalid onInfo callback");super("UNDICI_STREAM")}catch(l){if(en.isStream(s))en.destroy(s.on("error",en.nop),l);throw l}if(this.responseHeaders=c||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=s,this.onInfo=a||null,this.throwOnError=u||!1,en.isStream(s))s.on("error",(l)=>{this.onError(l)});Aoe(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}ooe(this.callback),this.abort=e,this.context=t}onHeaders(e,t,r,n){let{factory:i,opaque:o,context:s,callback:a,responseHeaders:c}=this,u=c==="raw"?en.parseRawHeaders(t):en.parseHeaders(t);if(e<200){if(this.onInfo)this.onInfo({statusCode:e,headers:u});return}this.factory=null;let l;if(this.throwOnError&&e>=400){let p=(c==="raw"?en.parseHeaders(t):u)["content-type"];l=new aoe,this.callback=null,this.runInAsyncScope(loe,null,{callback:a,body:l,contentType:p,statusCode:e,statusMessage:n,headers:u})}else{if(i===null)return;if(l=this.runInAsyncScope(i,null,{statusCode:e,headers:u,opaque:o,context:s}),!l||typeof l.write!=="function"||typeof l.end!=="function"||typeof l.on!=="function")throw new coe("expected Writable");soe(l,{readable:!1},(A)=>{let{callback:p,res:f,opaque:h,trailers:g,abort:m}=this;if(this.res=null,A||!f.readable)en.destroy(f,A);if(this.callback=null,this.runInAsyncScope(p,null,A||null,{opaque:h,trailers:g}),A)m()})}return l.on("drain",r),this.res=l,(l.writableNeedDrain!==void 0?l.writableNeedDrain:l._writableState?.needDrain)!==!0}onData(e){let{res:t}=this;return t?t.write(e):!0}onComplete(e){let{res:t}=this;if(x2(this),!t)return;this.trailers=en.parseHeaders(e),t.end()}onError(e){let{res:t,callback:r,opaque:n,body:i}=this;if(x2(this),this.factory=null,t)this.res=null,en.destroy(t,e);else if(r)this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})});if(i)this.body=null,en.destroy(i,e)}}function S2(e,t,r){if(r===void 0)return new Promise((n,i)=>{S2.call(this,e,t,(o,s)=>o?i(o):n(s))});try{this.dispatch(e,new w2(e,t,r))}catch(n){if(typeof r!=="function")throw n;let i=e?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}k2.exports=S2});var M2=C((cFe,U2)=>{var{Readable:D2,Duplex:doe,PassThrough:poe}=v("node:stream"),{InvalidArgumentError:bu,InvalidReturnValueError:foe,RequestAbortedError:zy}=fe(),Dr=oe(),{AsyncResource:goe}=v("node:async_hooks"),{addSignal:hoe,removeSignal:moe}=Bu(),R2=v("node:assert"),Sa=Symbol("resume");class T2 extends D2{constructor(){super({autoDestroy:!0});this[Sa]=null}_read(){let{[Sa]:e}=this;if(e)this[Sa]=null,e()}_destroy(e,t){this._read(),t(e)}}class N2 extends D2{constructor(e){super({autoDestroy:!0});this[Sa]=e}_read(){this[Sa]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted)e=new zy;t(e)}}class F2 extends goe{constructor(e,t){if(!e||typeof e!=="object")throw new bu("invalid opts");if(typeof t!=="function")throw new bu("invalid handler");let{signal:r,method:n,opaque:i,onInfo:o,responseHeaders:s}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function")throw new bu("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new bu("invalid method");if(o&&typeof o!=="function")throw new bu("invalid onInfo callback");super("UNDICI_PIPELINE");this.opaque=i||null,this.responseHeaders=s||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new T2().on("error",Dr.nop),this.ret=new doe({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:a}=this;if(a?.resume)a.resume()},write:(a,c,u)=>{let{req:l}=this;if(l.push(a,c)||l._readableState.destroyed)u();else l[Sa]=u},destroy:(a,c)=>{let{body:u,req:l,res:d,ret:A,abort:p}=this;if(!a&&!A._readableState.endEmitted)a=new zy;if(p&&a)p();Dr.destroy(u,a),Dr.destroy(l,a),Dr.destroy(d,a),moe(this),c(a)}}).on("prefinish",()=>{let{req:a}=this;a.push(null)}),this.res=null,hoe(this,r)}onConnect(e,t){let{ret:r,res:n}=this;if(this.reason){e(this.reason);return}R2(!n,"pipeline cannot be retried"),R2(!r.destroyed),this.abort=e,this.context=t}onHeaders(e,t,r){let{opaque:n,handler:i,context:o}=this;if(e<200){if(this.onInfo){let a=this.responseHeaders==="raw"?Dr.parseRawHeaders(t):Dr.parseHeaders(t);this.onInfo({statusCode:e,headers:a})}return}this.res=new N2(r);let s;try{this.handler=null;let a=this.responseHeaders==="raw"?Dr.parseRawHeaders(t):Dr.parseHeaders(t);s=this.runInAsyncScope(i,null,{statusCode:e,headers:a,opaque:n,body:this.res,context:o})}catch(a){throw this.res.on("error",Dr.nop),a}if(!s||typeof s.on!=="function")throw new foe("expected Readable");s.on("data",(a)=>{let{ret:c,body:u}=this;if(!c.push(a)&&u.pause)u.pause()}).on("error",(a)=>{let{ret:c}=this;Dr.destroy(c,a)}).on("end",()=>{let{ret:a}=this;a.push(null)}).on("close",()=>{let{ret:a}=this;if(!a._readableState.ended)Dr.destroy(a,new zy)}),this.body=s}onData(e){let{res:t}=this;return t.push(e)}onComplete(e){let{res:t}=this;t.push(null)}onError(e){let{ret:t}=this;this.handler=null,Dr.destroy(t,e)}}function Eoe(e,t){try{let r=new F2(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(r){return new poe().destroy(r)}}U2.exports=Eoe});var z2=C((lFe,H2)=>{var{InvalidArgumentError:jy,SocketError:Ioe}=fe(),{AsyncResource:Coe}=v("node:async_hooks"),L2=oe(),{addSignal:yoe,removeSignal:O2}=Bu(),P2=v("node:assert");class $2 extends Coe{constructor(e,t){if(!e||typeof e!=="object")throw new jy("invalid opts");if(typeof t!=="function")throw new jy("invalid callback");let{signal:r,opaque:n,responseHeaders:i}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function")throw new jy("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE");this.responseHeaders=i||null,this.opaque=n||null,this.callback=t,this.abort=null,this.context=null,yoe(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}P2(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Ioe("bad upgrade",null)}onUpgrade(e,t,r){P2(e===101);let{callback:n,opaque:i,context:o}=this;O2(this),this.callback=null;let s=this.responseHeaders==="raw"?L2.parseRawHeaders(t):L2.parseHeaders(t);this.runInAsyncScope(n,null,null,{headers:s,socket:r,opaque:i,context:o})}onError(e){let{callback:t,opaque:r}=this;if(O2(this),t)this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:r})})}}function G2(e,t){if(t===void 0)return new Promise((r,n)=>{G2.call(this,e,(i,o)=>i?n(i):r(o))});try{let r=new $2(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}H2.exports=G2});var W2=C((uFe,V2)=>{var Boe=v("node:assert"),{AsyncResource:boe}=v("node:async_hooks"),{InvalidArgumentError:Yy,SocketError:Qoe}=fe(),j2=oe(),{addSignal:voe,removeSignal:Y2}=Bu();class J2 extends boe{constructor(e,t){if(!e||typeof e!=="object")throw new Yy("invalid opts");if(typeof t!=="function")throw new Yy("invalid callback");let{signal:r,opaque:n,responseHeaders:i}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function")throw new Yy("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT");this.opaque=n||null,this.responseHeaders=i||null,this.callback=t,this.abort=null,voe(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}Boe(this.callback),this.abort=e,this.context=t}onHeaders(){throw new Qoe("bad connect",null)}onUpgrade(e,t,r){let{callback:n,opaque:i,context:o}=this;Y2(this),this.callback=null;let s=t;if(s!=null)s=this.responseHeaders==="raw"?j2.parseRawHeaders(t):j2.parseHeaders(t);this.runInAsyncScope(n,null,null,{statusCode:e,headers:s,socket:r,opaque:i,context:o})}onError(e){let{callback:t,opaque:r}=this;if(Y2(this),t)this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:r})})}}function q2(e,t){if(t===void 0)return new Promise((r,n)=>{q2.call(this,e,(i,o)=>i?n(i):r(o))});try{let r=new J2(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function")throw r;let n=e?.opaque;queueMicrotask(()=>t(r,{opaque:n}))}}V2.exports=q2});var Z2=C((xoe,ka)=>{xoe.request=B2();xoe.stream=_2();xoe.pipeline=M2();xoe.upgrade=z2();xoe.connect=W2()});var qy=C((AFe,X2)=>{var{UndiciError:Doe}=fe(),K2=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class Jy extends Doe{constructor(e){super(e);Error.captureStackTrace(this,Jy),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[K2]===!0}[K2]=!0}X2.exports={MockNotMatchedError:Jy}});var _a=C((dFe,e1)=>{e1.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}});var Qu=C((pFe,A1)=>{var{MockNotMatchedError:Ro}=qy(),{kDispatches:bf,kMockAgent:Toe,kOriginalDispatch:Noe,kOrigin:Foe,kGetNetConnect:Uoe}=_a(),{buildURL:Moe}=oe(),{STATUS_CODES:Loe}=v("node:http"),{types:{isPromise:Ooe}}=v("node:util");function jn(e,t){if(typeof e==="string")return e===t;if(e instanceof RegExp)return e.test(t);if(typeof e==="function")return e(t)===!0;return!1}function r1(e){return Object.fromEntries(Object.entries(e).map(([t,r])=>[t.toLocaleLowerCase(),r]))}function n1(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}else if(typeof e.get==="function")return e.get(t);else return r1(e)[t.toLocaleLowerCase()]}function Zy(e){let t=e.slice(),r=[];for(let n=0;n<t.length;n+=2)r.push([t[n],t[n+1]]);return Object.fromEntries(r)}function i1(e,t){if(typeof e.headers==="function"){if(Array.isArray(t))t=Zy(t);return e.headers(t?r1(t):{})}if(typeof e.headers>"u")return!0;if(typeof t!=="object"||typeof e.headers!=="object")return!1;for(let[r,n]of Object.entries(e.headers)){let i=n1(t,r);if(!jn(n,i))return!1}return!0}function t1(e){if(typeof e!=="string")return e;let t=e.split("?");if(t.length!==2)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function Poe(e,{path:t,method:r,body:n,headers:i}){let o=jn(e.path,t),s=jn(e.method,r),a=typeof e.body<"u"?jn(e.body,n):!0,c=i1(e,i);return o&&s&&a&&c}function o1(e){if(Buffer.isBuffer(e))return e;else if(e instanceof Uint8Array)return e;else if(e instanceof ArrayBuffer)return e;else if(typeof e==="object")return JSON.stringify(e);else return e.toString()}function s1(e,t){let r=t.query?Moe(t.path,t.query):t.path,n=typeof r==="string"?t1(r):r,i=e.filter(({consumed:o})=>!o).filter(({path:o})=>jn(t1(o),n));if(i.length===0)throw new Ro(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:o})=>jn(o,t.method)),i.length===0)throw new Ro(`Mock dispatch not matched for method '${t.method}' on path '${n}'`);if(i=i.filter(({body:o})=>typeof o<"u"?jn(o,t.body):!0),i.length===0)throw new Ro(`Mock dispatch not matched for body '${t.body}' on path '${n}'`);if(i=i.filter((o)=>i1(o,t.headers)),i.length===0){let o=typeof t.headers==="object"?JSON.stringify(t.headers):t.headers;throw new Ro(`Mock dispatch not matched for headers '${o}' on path '${n}'`)}return i[0]}function $oe(e,t,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r==="function"?{callback:r}:{...r},o={...n,...t,pending:!0,data:{error:null,...i}};return e.push(o),o}function Vy(e,t){let r=e.findIndex((n)=>{if(!n.consumed)return!1;return Poe(n,t)});if(r!==-1)e.splice(r,1)}function a1(e){let{path:t,method:r,body:n,headers:i,query:o}=e;return{path:t,method:r,body:n,headers:i,query:o}}function Wy(e){let t=Object.keys(e),r=[];for(let n=0;n<t.length;++n){let i=t[n],o=e[i],s=Buffer.from(`${i}`);if(Array.isArray(o))for(let a=0;a<o.length;++a)r.push(s,Buffer.from(`${o[a]}`));else r.push(s,Buffer.from(`${o}`))}return r}function c1(e){return Loe[e]||"unknown"}async function Goe(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")}function l1(e,t){let r=a1(e),n=s1(this[bf],r);if(n.timesInvoked++,n.data.callback)n.data={...n.data,...n.data.callback(e)};let{data:{statusCode:i,data:o,headers:s,trailers:a,error:c},delay:u,persist:l}=n,{timesInvoked:d,times:A}=n;if(n.consumed=!l&&d>=A,n.pending=d<A,c!==null)return Vy(this[bf],r),t.onError(c),!0;if(typeof u==="number"&&u>0)setTimeout(()=>{p(this[bf])},u);else p(this[bf]);function p(h,g=o){let m=Array.isArray(e.headers)?Zy(e.headers):e.headers,S=typeof g==="function"?g({...e,headers:m}):g;if(Ooe(S)){S.then((x)=>p(h,x));return}let b=o1(S),I=Wy(s),P=Wy(a);t.onConnect?.((x)=>t.onError(x),null),t.onHeaders?.(i,I,f,c1(i)),t.onData?.(Buffer.from(b)),t.onComplete?.(P),Vy(h,r)}function f(){}return!0}function Hoe(){let e=this[Toe],t=this[Foe],r=this[Noe];return function(i,o){if(e.isMockActive)try{l1.call(this,i,o)}catch(s){if(s instanceof Ro){let a=e[Uoe]();if(a===!1)throw new Ro(`${s.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`);if(u1(a,t))r.call(this,i,o);else throw new Ro(`${s.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}else throw s}else r.call(this,i,o)}}function u1(e,t){let r=new URL(t);if(e===!0)return!0;else if(Array.isArray(e)&&e.some((n)=>jn(n,r.host)))return!0;return!1}function zoe(e){if(e){let{agent:t,...r}=e;return r}}A1.exports={getResponseData:o1,getMockDispatch:s1,addMockDispatch:$oe,deleteMockDispatch:Vy,buildKey:a1,generateKeyValues:Wy,matchValue:jn,getResponse:Goe,getStatusText:c1,mockDispatch:l1,buildMockDispatch:Hoe,checkNetConnect:u1,buildMockOptions:zoe,getHeaderByName:n1,buildHeadersFromArray:Zy}});var nB=C((qoe,rB)=>{var{getResponseData:joe,buildKey:Yoe,addMockDispatch:Ky}=Qu(),{kDispatches:Qf,kDispatchKey:vf,kDefaultHeaders:Xy,kDefaultTrailers:eB,kContentLength:tB,kMockDispatch:xf}=_a(),{InvalidArgumentError:En}=fe(),{buildURL:Joe}=oe();class vu{constructor(e){this[xf]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0)throw new En("waitInMs must be a valid integer > 0");return this[xf].delay=e,this}persist(){return this[xf].persist=!0,this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0)throw new En("repeatTimes must be a valid integer > 0");return this[xf].times=e,this}}class d1{constructor(e,t){if(typeof e!=="object")throw new En("opts must be an object");if(typeof e.path>"u")throw new En("opts.path must be defined");if(typeof e.method>"u")e.method="GET";if(typeof e.path==="string")if(e.query)e.path=Joe(e.path,e.query);else{let r=new URL(e.path,"data://");e.path=r.pathname+r.search}if(typeof e.method==="string")e.method=e.method.toUpperCase();this[vf]=Yoe(e),this[Qf]=t,this[Xy]={},this[eB]={},this[tB]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let n=joe(t),i=this[tB]?{"content-length":n.length}:{},o={...this[Xy],...i,...r.headers},s={...this[eB],...r.trailers};return{statusCode:e,data:t,headers:o,trailers:s}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new En("statusCode must be defined");if(typeof e.responseOptions!=="object"||e.responseOptions===null)throw new En("responseOptions must be an object")}reply(e){if(typeof e==="function"){let i=(s)=>{let a=e(s);if(typeof a!=="object"||a===null)throw new En("reply options callback must return an object");let c={data:"",responseOptions:{},...a};return this.validateReplyParameters(c),{...this.createMockScopeDispatchData(c)}},o=Ky(this[Qf],this[vf],i);return new vu(o)}let t={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t),n=Ky(this[Qf],this[vf],r);return new vu(n)}replyWithError(e){if(typeof e>"u")throw new En("error must be defined");let t=Ky(this[Qf],this[vf],{error:e});return new vu(t)}defaultReplyHeaders(e){if(typeof e>"u")throw new En("headers must be defined");return this[Xy]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new En("trailers must be defined");return this[eB]=e,this}replyContentLength(){return this[tB]=!0,this}}qoe.MockInterceptor=d1;qoe.MockScope=vu});var oB=C((fFe,C1)=>{var{promisify:Zoe}=v("node:util"),Koe=Ca(),{buildMockDispatch:Xoe}=Qu(),{kDispatches:p1,kMockAgent:f1,kClose:g1,kOriginalClose:h1,kOrigin:m1,kOriginalDispatch:ese,kConnected:iB}=_a(),{MockInterceptor:tse}=nB(),E1=Ge(),{InvalidArgumentError:rse}=fe();class I1 extends Koe{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function")throw new rse("Argument opts.agent must implement Agent");this[f1]=t.agent,this[m1]=e,this[p1]=[],this[iB]=1,this[ese]=this.dispatch,this[h1]=this.close.bind(this),this.dispatch=Xoe.call(this),this.close=this[g1]}get[E1.kConnected](){return this[iB]}intercept(e){return new tse(e,this[p1])}async[g1](){await Zoe(this[h1])(),this[iB]=0,this[f1][E1.kClients].delete(this[m1])}}C1.exports=I1});var aB=C((gFe,S1)=>{var{promisify:nse}=v("node:util"),ise=ya(),{buildMockDispatch:ose}=Qu(),{kDispatches:y1,kMockAgent:B1,kClose:b1,kOriginalClose:Q1,kOrigin:v1,kOriginalDispatch:sse,kConnected:sB}=_a(),{MockInterceptor:ase}=nB(),x1=Ge(),{InvalidArgumentError:cse}=fe();class w1 extends ise{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function")throw new cse("Argument opts.agent must implement Agent");this[B1]=t.agent,this[v1]=e,this[y1]=[],this[sB]=1,this[sse]=this.dispatch,this[Q1]=this.close.bind(this),this.dispatch=ose.call(this),this.close=this[b1]}get[x1.kConnected](){return this[sB]}intercept(e){return new ase(e,this[y1])}async[b1](){await nse(this[Q1])(),this[sB]=0,this[B1][x1.kClients].delete(this[v1])}}S1.exports=w1});var _1=C((hFe,k1)=>{var lse={pronoun:"it",is:"is",was:"was",this:"this"},use={pronoun:"they",is:"are",was:"were",this:"these"};k1.exports=class{constructor(t,r){this.singular=t,this.plural=r}pluralize(t){let r=t===1,n=r?lse:use,i=r?this.singular:this.plural;return{...n,count:t,noun:i}}}});var D1=C((mFe,R1)=>{var{Transform:Ase}=v("node:stream"),{Console:dse}=v("node:console"),pse=process.versions.icu?"✅":"Y ",fse=process.versions.icu?"❌":"N ";R1.exports=class{constructor({disableColors:t}={}){this.transform=new Ase({transform(r,n,i){i(null,r)}}),this.logger=new dse({stdout:this.transform,inspectOptions:{colors:!t&&!process.env.CI}})}format(t){let r=t.map(({method:n,path:i,data:{statusCode:o},persist:s,times:a,timesInvoked:c,origin:u})=>({Method:n,Origin:u,Path:i,"Status code":o,Persistent:s?pse:fse,Invocations:c,Remaining:s?1/0:a-c}));return this.logger.table(r),this.transform.read().toString()}}});var M1=C((EFe,U1)=>{var{kClients:Do}=Ge(),gse=Ba(),{kAgent:cB,kMockAgentSet:wf,kMockAgentGet:T1,kDispatches:lB,kIsMockActive:Sf,kNetConnect:To,kGetNetConnect:hse,kOptions:kf,kFactory:_f}=_a(),mse=oB(),Ese=aB(),{matchValue:Ise,buildMockOptions:Cse}=Qu(),{InvalidArgumentError:N1,UndiciError:yse}=fe(),Bse=ql(),bse=_1(),Qse=D1();class F1 extends Bse{constructor(e){super(e);if(this[To]=!0,this[Sf]=!0,e?.agent&&typeof e.agent.dispatch!=="function")throw new N1("Argument opts.agent must implement Agent");let t=e?.agent?e.agent:new gse(e);this[cB]=t,this[Do]=t[Do],this[kf]=Cse(e)}get(e){let t=this[T1](e);if(!t)t=this[_f](e),this[wf](e,t);return t}dispatch(e,t){return this.get(e.origin),this[cB].dispatch(e,t)}async close(){await this[cB].close(),this[Do].clear()}deactivate(){this[Sf]=!1}activate(){this[Sf]=!0}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp)if(Array.isArray(this[To]))this[To].push(e);else this[To]=[e];else if(typeof e>"u")this[To]=!0;else throw new N1("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[To]=!1}get isMockActive(){return this[Sf]}[wf](e,t){this[Do].set(e,t)}[_f](e){let t=Object.assign({agent:this},this[kf]);return this[kf]&&this[kf].connections===1?new mse(e,t):new Ese(e,t)}[T1](e){let t=this[Do].get(e);if(t)return t;if(typeof e!=="string"){let r=this[_f]("http://localhost:9999");return this[wf](e,r),r}for(let[r,n]of Array.from(this[Do]))if(n&&typeof r!=="string"&&Ise(r,e)){let i=this[_f](e);return this[wf](e,i),i[lB]=n[lB],i}}[hse](){return this[To]}pendingInterceptors(){let e=this[Do];return Array.from(e.entries()).flatMap(([t,r])=>r[lB].map((n)=>({...n,origin:t}))).filter(({pending:t})=>t)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Qse}={}){let t=this.pendingInterceptors();if(t.length===0)return;let r=new bse("interceptor","interceptors").pluralize(t.length);throw new yse(`
|
|
115
|
+
${r.count} ${r.noun} ${r.is} pending:
|
|
116
|
+
|
|
117
|
+
${e.format(t)}
|
|
118
|
+
`.trim())}}U1.exports=F1});var Rf=C((IFe,$1)=>{var L1=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:vse}=fe(),xse=Ba();if(P1()===void 0)O1(new xse);function O1(e){if(!e||typeof e.dispatch!=="function")throw new vse("Argument agent must implement Agent");Object.defineProperty(globalThis,L1,{value:e,writable:!0,enumerable:!1,configurable:!1})}function P1(){return globalThis[L1]}$1.exports={setGlobalDispatcher:O1,getGlobalDispatcher:P1}});var Df=C((CFe,G1)=>{G1.exports=class{#e;constructor(t){if(typeof t!=="object"||t===null)throw TypeError("handler must be an object");this.#e=t}onConnect(...t){return this.#e.onConnect?.(...t)}onError(...t){return this.#e.onError?.(...t)}onUpgrade(...t){return this.#e.onUpgrade?.(...t)}onResponseStarted(...t){return this.#e.onResponseStarted?.(...t)}onHeaders(...t){return this.#e.onHeaders?.(...t)}onData(...t){return this.#e.onData?.(...t)}onComplete(...t){return this.#e.onComplete?.(...t)}onBodySent(...t){return this.#e.onBodySent?.(...t)}}});var z1=C((yFe,H1)=>{var wse=df();H1.exports=(e)=>{let t=e?.maxRedirections;return(r)=>function(i,o){let{maxRedirections:s=t,...a}=i;if(!s)return r(i,o);let c=new wse(r,s,i,o);return r(a,c)}}});var Y1=C((BFe,j1)=>{var Sse=Bf();j1.exports=(e)=>(t)=>function(n,i){return t(n,new Sse({...n,retryOptions:{...e,...n.retryOptions}},{handler:i,dispatch:t}))}});var V1=C((bFe,q1)=>{var kse=oe(),{InvalidArgumentError:_se,RequestAbortedError:Rse}=fe(),Dse=Df();class J1 extends Dse{#e=1048576;#t=null;#r=!1;#n=!1;#i=0;#a=null;#o=null;constructor({maxSize:e},t){super(t);if(e!=null&&(!Number.isFinite(e)||e<1))throw new _se("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=t}onConnect(e){this.#t=e,this.#o.onConnect(this.#u.bind(this))}#u(e){this.#n=!0,this.#a=e}onHeaders(e,t,r,n){let o=kse.parseHeaders(t)["content-length"];if(o!=null&&o>this.#e)throw new Rse(`Response size (${o}) larger than maxSize (${this.#e})`);if(this.#n)return!0;return this.#o.onHeaders(e,t,r,n)}onError(e){if(this.#r)return;e=this.#a??e,this.#o.onError(e)}onData(e){if(this.#i=this.#i+e.length,this.#i>=this.#e)if(this.#r=!0,this.#n)this.#o.onError(this.#a);else this.#o.onComplete([]);return!0}onComplete(e){if(this.#r)return;if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}function Tse({maxSize:e}={maxSize:1048576}){return(t)=>function(n,i){let{dumpMaxSize:o=e}=n,s=new J1({maxSize:o},i);return t(n,s)}}q1.exports=Tse});var eG=C((QFe,X1)=>{var{isIP:Nse}=v("node:net"),{lookup:Fse}=v("node:dns"),Use=Df(),{InvalidArgumentError:Ra,InformationalError:Mse}=fe(),W1=Math.pow(2,31)-1;class Z1{#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#n,this.pick=e.pick??this.#i}get full(){return this.#r.size===this.#t}runLookup(e,t,r){let n=this.#r.get(e.hostname);if(n==null&&this.full){r(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(o,s)=>{if(o||s==null||s.length===0){r(o??new Mse("No DNS entries found"));return}this.setRecords(e,s);let a=this.#r.get(e.hostname),c=this.pick(e,a,i.affinity),u;if(typeof c.port==="number")u=`:${c.port}`;else if(e.port!=="")u=`:${e.port}`;else u="";r(null,`${e.protocol}//${c.family===6?`[${c.address}]`:c.address}${u}`)});else{let o=this.pick(e,n,i.affinity);if(o==null){this.#r.delete(e.hostname),this.runLookup(e,t,r);return}let s;if(typeof o.port==="number")s=`:${o.port}`;else if(e.port!=="")s=`:${e.port}`;else s="";r(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${s}`)}}#n(e,t,r){Fse(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return r(n);let o=new Map;for(let s of i)o.set(`${s.address}:${s.family}`,s);r(null,o.values())})}#i(e,t,r){let n=null,{records:i,offset:o}=t,s;if(this.dualStack){if(r==null)if(o==null||o===W1)t.offset=0,r=4;else t.offset++,r=(t.offset&1)===1?6:4;if(i[r]!=null&&i[r].ips.length>0)s=i[r];else s=i[r===4?6:4]}else s=i[r];if(s==null||s.ips.length===0)return n;if(s.offset==null||s.offset===W1)s.offset=0;else s.offset++;let a=s.offset%s.ips.length;if(n=s.ips[a]??null,n==null)return n;if(Date.now()-n.timestamp>n.ttl)return s.ips.splice(a,1),this.pick(e,t,r);return n}setRecords(e,t){let r=Date.now(),n={records:{4:null,6:null}};for(let i of t){if(i.timestamp=r,typeof i.ttl==="number")i.ttl=Math.min(i.ttl,this.#e);else i.ttl=this.#e;let o=n.records[i.family]??{ips:[]};o.ips.push(i),n.records[i.family]=o}this.#r.set(e.hostname,n)}getHandler(e,t){return new K1(this,e,t)}}class K1 extends Use{#e=null;#t=null;#r=null;#n=null;#i=null;constructor(e,{origin:t,handler:r,dispatch:n},i){super(r);this.#i=t,this.#n=r,this.#t={...i},this.#e=e,this.#r=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(t,r)=>{if(t)return this.#n.onError(t);let n={...this.#t,origin:r};this.#r(n,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#i);default:this.#n.onError(e);break}}}X1.exports=(e)=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=="number"||e?.maxTTL<0))throw new Ra("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&(typeof e?.maxItems!=="number"||e?.maxItems<1))throw new Ra("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new Ra("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&typeof e?.dualStack!=="boolean")throw new Ra("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&typeof e?.lookup!=="function")throw new Ra("Invalid lookup. Must be a function");if(e?.pick!=null&&typeof e?.pick!=="function")throw new Ra("Invalid pick. Must be a function");let t=e?.dualStack??!0,r;if(t)r=e?.affinity??null;else r=e?.affinity??4;let n={maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:r,maxItems:e?.maxItems??1/0},i=new Z1(n);return(o)=>function(a,c){let u=a.origin.constructor===URL?a.origin:new URL(a.origin);if(Nse(u.hostname)!==0)return o(a,c);return i.runLookup(u,a,(l,d)=>{if(l)return c.onError(l);let A=null;A={...a,servername:u.hostname,origin:d,headers:{host:u.hostname,...a.headers}},o(A,i.getHandler({origin:u,dispatch:o,handler:c},a))}),!0}}});var No=C((vFe,aG)=>{var{kConstruct:Lse}=Ge(),{kEnumerableProperty:Da}=oe(),{iteratorMixin:Ose,isValidHeaderName:xu,isValidHeaderValue:rG}=ur(),{webidl:Ae}=wt(),uB=v("node:assert"),Tf=v("node:util"),lt=Symbol("headers map"),pr=Symbol("headers map sorted");function tG(e){return e===10||e===13||e===9||e===32}function nG(e){let t=0,r=e.length;while(r>t&&tG(e.charCodeAt(r-1)))--r;while(r>t&&tG(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function iG(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let n=t[r];if(n.length!==2)throw Ae.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});AB(e,n[0],n[1])}else if(typeof t==="object"&&t!==null){let r=Object.keys(t);for(let n=0;n<r.length;++n)AB(e,r[n],t[r[n]])}else throw Ae.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function AB(e,t,r){if(r=nG(r),!xu(t))throw Ae.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});else if(!rG(r))throw Ae.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"});if(sG(e)==="immutable")throw TypeError("immutable");return dB(e).append(t,r,!1)}function oG(e,t){return e[0]<t[0]?-1:1}class Nf{cookies=null;constructor(e){if(e instanceof Nf)this[lt]=new Map(e[lt]),this[pr]=e[pr],this.cookies=e.cookies===null?null:[...e.cookies];else this[lt]=new Map(e),this[pr]=null}contains(e,t){return this[lt].has(t?e:e.toLowerCase())}clear(){this[lt].clear(),this[pr]=null,this.cookies=null}append(e,t,r){this[pr]=null;let n=r?e:e.toLowerCase(),i=this[lt].get(n);if(i){let o=n==="cookie"?"; ":", ";this[lt].set(n,{name:i.name,value:`${i.value}${o}${t}`})}else this[lt].set(n,{name:e,value:t});if(n==="set-cookie")(this.cookies??=[]).push(t)}set(e,t,r){this[pr]=null;let n=r?e:e.toLowerCase();if(n==="set-cookie")this.cookies=[t];this[lt].set(n,{name:e,value:t})}delete(e,t){if(this[pr]=null,!t)e=e.toLowerCase();if(e==="set-cookie")this.cookies=null;this[lt].delete(e)}get(e,t){return this[lt].get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this[lt])yield[e,t]}get entries(){let e={};if(this[lt].size!==0)for(let{name:t,value:r}of this[lt].values())e[t]=r;return e}rawValues(){return this[lt].values()}get entriesList(){let e=[];if(this[lt].size!==0)for(let{0:t,1:{name:r,value:n}}of this[lt])if(t==="set-cookie")for(let i of this.cookies)e.push([r,i]);else e.push([r,n]);return e}toSortedArray(){let e=this[lt].size,t=Array(e);if(e<=32){if(e===0)return t;let r=this[lt][Symbol.iterator](),n=r.next().value;t[0]=[n[0],n[1].value],uB(n[1].value!==null);for(let i=1,o=0,s=0,a=0,c=0,u,l;i<e;++i){l=r.next().value,u=t[i]=[l[0],l[1].value],uB(u[1]!==null),a=0,s=i;while(a<s)if(c=a+(s-a>>1),t[c][0]<=u[0])a=c+1;else s=c;if(i!==c){o=i;while(o>a)t[o]=t[--o];t[a]=u}}if(!r.next().done)throw TypeError("Unreachable");return t}else{let r=0;for(let{0:n,1:{value:i}}of this[lt])t[r++]=[n,i],uB(i!==null);return t.sort(oG)}}}class Nt{#e;#t;constructor(e=void 0){if(Ae.util.markAsUncloneable(this),e===Lse)return;if(this.#t=new Nf,this.#e="none",e!==void 0)e=Ae.converters.HeadersInit(e,"Headers contructor","init"),iG(this,e)}append(e,t){Ae.brandCheck(this,Nt),Ae.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=Ae.converters.ByteString(e,r,"name"),t=Ae.converters.ByteString(t,r,"value"),AB(this,e,t)}delete(e){Ae.brandCheck(this,Nt),Ae.argumentLengthCheck(arguments,1,"Headers.delete");let t="Headers.delete";if(e=Ae.converters.ByteString(e,t,"name"),!xu(e))throw Ae.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw TypeError("immutable");if(!this.#t.contains(e,!1))return;this.#t.delete(e,!1)}get(e){Ae.brandCheck(this,Nt),Ae.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(e=Ae.converters.ByteString(e,t,"name"),!xu(e))throw Ae.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Ae.brandCheck(this,Nt),Ae.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(e=Ae.converters.ByteString(e,t,"name"),!xu(e))throw Ae.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,t){Ae.brandCheck(this,Nt),Ae.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=Ae.converters.ByteString(e,r,"name"),t=Ae.converters.ByteString(t,r,"value"),t=nG(t),!xu(e))throw Ae.errors.invalidArgument({prefix:r,value:e,type:"header name"});else if(!rG(t))throw Ae.errors.invalidArgument({prefix:r,value:t,type:"header value"});if(this.#e==="immutable")throw TypeError("immutable");this.#t.set(e,t,!1)}getSetCookie(){Ae.brandCheck(this,Nt);let e=this.#t.cookies;if(e)return[...e];return[]}get[pr](){if(this.#t[pr])return this.#t[pr];let e=[],t=this.#t.toSortedArray(),r=this.#t.cookies;if(r===null||r.length===1)return this.#t[pr]=t;for(let n=0;n<t.length;++n){let{0:i,1:o}=t[n];if(i==="set-cookie")for(let s=0;s<r.length;++s)e.push([i,r[s]]);else e.push([i,o])}return this.#t[pr]=e}[Tf.inspect.custom](e,t){return t.depth??=e,`Headers ${Tf.formatWithOptions(t,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,t){e.#e=t}static getHeadersList(e){return e.#t}static setHeadersList(e,t){e.#t=t}}var{getHeadersGuard:sG,setHeadersGuard:Pse,getHeadersList:dB,setHeadersList:$se}=Nt;Reflect.deleteProperty(Nt,"getHeadersGuard");Reflect.deleteProperty(Nt,"setHeadersGuard");Reflect.deleteProperty(Nt,"getHeadersList");Reflect.deleteProperty(Nt,"setHeadersList");Ose("Headers",Nt,pr,0,1);Object.defineProperties(Nt.prototype,{append:Da,delete:Da,get:Da,has:Da,set:Da,getSetCookie:Da,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[Tf.inspect.custom]:{enumerable:!1}});Ae.converters.HeadersInit=function(e,t,r){if(Ae.util.Type(e)==="Object"){let n=Reflect.get(e,Symbol.iterator);if(!Tf.types.isProxy(e)&&n===Nt.prototype.entries)try{return dB(e).entriesList}catch{}if(typeof n==="function")return Ae.converters["sequence<sequence<ByteString>>"](e,t,r,n.bind(e));return Ae.converters["record<ByteString, ByteString>"](e,t,r)}throw Ae.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};aG.exports={fill:iG,compareHeaderName:oG,Headers:Nt,HeadersList:Nf,getHeadersGuard:sG,setHeadersGuard:Pse,setHeadersList:$se,getHeadersList:dB}});var Su=C((xFe,IG)=>{var{Headers:pG,HeadersList:cG,fill:Gse,getHeadersGuard:Hse,setHeadersGuard:fG,setHeadersList:gG}=No(),{extractBody:lG,cloneBody:zse,mixinBody:jse,hasFinalizationRegistry:hG,streamRegistry:mG,bodyUnusable:Yse}=pa(),pB=oe(),uG=v("node:util"),{kEnumerableProperty:fr}=pB,{isValidReasonPhrase:Jse,isCancelled:qse,isAborted:Vse,isBlobLike:Wse,serializeJavascriptValueToJSONString:Zse,isErrorLike:Kse,isomorphicEncode:Xse,environmentSettingsObject:eae}=ur(),{redirectStatusSet:tae,nullBodyStatus:rae}=Zl(),{kState:He,kHeaders:Yn}=bi(),{webidl:re}=wt(),{FormData:nae}=ru(),{URLSerializer:AG}=qt(),{kConstruct:Uf}=Ge(),fB=v("node:assert"),{types:iae}=v("node:util"),oae=new TextEncoder("utf-8");class Ft{static error(){return wu(Mf(),"immutable")}static json(e,t={}){if(re.argumentLengthCheck(arguments,1,"Response.json"),t!==null)t=re.converters.ResponseInit(t);let r=oae.encode(Zse(e)),n=lG(r),i=wu(Ta({}),"response");return dG(i,t,{body:n[0],type:"application/json"}),i}static redirect(e,t=302){re.argumentLengthCheck(arguments,1,"Response.redirect"),e=re.converters.USVString(e),t=re.converters["unsigned short"](t);let r;try{r=new URL(e,eae.settingsObject.baseUrl)}catch(o){throw TypeError(`Failed to parse URL from ${e}`,{cause:o})}if(!tae.has(t))throw RangeError(`Invalid status code ${t}`);let n=wu(Ta({}),"immutable");n[He].status=t;let i=Xse(AG(r));return n[He].headersList.append("location",i,!0),n}constructor(e=null,t={}){if(re.util.markAsUncloneable(this),e===Uf)return;if(e!==null)e=re.converters.BodyInit(e);t=re.converters.ResponseInit(t),this[He]=Ta({}),this[Yn]=new pG(Uf),fG(this[Yn],"response"),gG(this[Yn],this[He].headersList);let r=null;if(e!=null){let[n,i]=lG(e);r={body:n,type:i}}dG(this,t,r)}get type(){return re.brandCheck(this,Ft),this[He].type}get url(){re.brandCheck(this,Ft);let e=this[He].urlList,t=e[e.length-1]??null;if(t===null)return"";return AG(t,!0)}get redirected(){return re.brandCheck(this,Ft),this[He].urlList.length>1}get status(){return re.brandCheck(this,Ft),this[He].status}get ok(){return re.brandCheck(this,Ft),this[He].status>=200&&this[He].status<=299}get statusText(){return re.brandCheck(this,Ft),this[He].statusText}get headers(){return re.brandCheck(this,Ft),this[Yn]}get body(){return re.brandCheck(this,Ft),this[He].body?this[He].body.stream:null}get bodyUsed(){return re.brandCheck(this,Ft),!!this[He].body&&pB.isDisturbed(this[He].body.stream)}clone(){if(re.brandCheck(this,Ft),Yse(this))throw re.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=gB(this[He]);if(hG&&this[He].body?.stream)mG.register(this,new WeakRef(this[He].body.stream));return wu(e,Hse(this[Yn]))}[uG.inspect.custom](e,t){if(t.depth===null)t.depth=2;t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${uG.formatWithOptions(t,r)}`}}jse(Ft);Object.defineProperties(Ft.prototype,{type:fr,url:fr,status:fr,ok:fr,redirected:fr,statusText:fr,headers:fr,clone:fr,body:fr,bodyUsed:fr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Ft,{json:fr,redirect:fr,error:fr});function gB(e){if(e.internalResponse)return EG(gB(e.internalResponse),e.type);let t=Ta({...e,body:null});if(e.body!=null)t.body=zse(t,e.body);return t}function Ta(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new cG(e?.headersList):new cG,urlList:e?.urlList?[...e.urlList]:[]}}function Mf(e){let t=Kse(e);return Ta({type:"error",status:0,error:t?e:Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function sae(e){return e.type==="error"&&e.status===0}function Ff(e,t){return t={internalResponse:e,...t},new Proxy(e,{get(r,n){return n in t?t[n]:r[n]},set(r,n,i){return fB(!(n in t)),r[n]=i,!0}})}function EG(e,t){if(t==="basic")return Ff(e,{type:"basic",headersList:e.headersList});else if(t==="cors")return Ff(e,{type:"cors",headersList:e.headersList});else if(t==="opaque")return Ff(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});else if(t==="opaqueredirect")return Ff(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});else fB(!1)}function aae(e,t=null){return fB(qse(e)),Vse(e)?Mf(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):Mf(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function dG(e,t,r){if(t.status!==null&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&t.statusText!=null){if(!Jse(String(t.statusText)))throw TypeError("Invalid statusText")}if("status"in t&&t.status!=null)e[He].status=t.status;if("statusText"in t&&t.statusText!=null)e[He].statusText=t.statusText;if("headers"in t&&t.headers!=null)Gse(e[Yn],t.headers);if(r){if(rae.includes(e.status))throw re.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});if(e[He].body=r.body,r.type!=null&&!e[He].headersList.contains("content-type",!0))e[He].headersList.append("content-type",r.type,!0)}}function wu(e,t){let r=new Ft(Uf);if(r[He]=e,r[Yn]=new pG(Uf),gG(r[Yn],e.headersList),fG(r[Yn],t),hG&&e.body?.stream)mG.register(r,new WeakRef(e.body.stream));return r}re.converters.ReadableStream=re.interfaceConverter(ReadableStream);re.converters.FormData=re.interfaceConverter(nae);re.converters.URLSearchParams=re.interfaceConverter(URLSearchParams);re.converters.XMLHttpRequestBodyInit=function(e,t,r){if(typeof e==="string")return re.converters.USVString(e,t,r);if(Wse(e))return re.converters.Blob(e,t,r,{strict:!1});if(ArrayBuffer.isView(e)||iae.isArrayBuffer(e))return re.converters.BufferSource(e,t,r);if(pB.isFormDataLike(e))return re.converters.FormData(e,t,r,{strict:!1});if(e instanceof URLSearchParams)return re.converters.URLSearchParams(e,t,r);return re.converters.DOMString(e,t,r)};re.converters.BodyInit=function(e,t,r){if(e instanceof ReadableStream)return re.converters.ReadableStream(e,t,r);if(e?.[Symbol.asyncIterator])return e;return re.converters.XMLHttpRequestBodyInit(e,t,r)};re.converters.ResponseInit=re.dictionaryConverter([{key:"status",converter:re.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:re.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:re.converters.HeadersInit}]);IG.exports={isNetworkError:sae,makeNetworkError:Mf,makeResponse:Ta,makeAppropriateNetworkError:aae,filterResponse:EG,Response:Ft,cloneResponse:gB,fromInnerResponse:wu}});var vG=C((wFe,QG)=>{var{kConnected:CG,kSize:yG}=Ge();class BG{constructor(e){this.value=e}deref(){return this.value[CG]===0&&this.value[yG]===0?void 0:this.value}}class bG{constructor(e){this.finalizer=e}register(e,t){if(e.on)e.on("disconnect",()=>{if(e[CG]===0&&e[yG]===0)this.finalizer(t)})}unregister(e){}}QG.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18"))return process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:BG,FinalizationRegistry:bG};return{WeakRef,FinalizationRegistry}}});var Na=C((SFe,PG)=>{var{extractBody:cae,mixinBody:lae,cloneBody:uae,bodyUnusable:xG}=pa(),{Headers:FG,fill:Aae,HeadersList:$f,setHeadersGuard:mB,getHeadersGuard:dae,setHeadersList:UG,getHeadersList:wG}=No(),{FinalizationRegistry:pae}=vG()(),Of=oe(),SG=v("node:util"),{isValidHTTPToken:fae,sameOrigin:kG,environmentSettingsObject:Lf}=ur(),{forbiddenMethodsSet:gae,corsSafeListedMethodsSet:hae,referrerPolicy:mae,requestRedirect:Eae,requestMode:Iae,requestCredentials:Cae,requestCache:yae,requestDuplex:Bae}=Zl(),{kEnumerableProperty:ut,normalizedMethodRecordsBase:bae,normalizedMethodRecords:Qae}=Of,{kHeaders:gr,kSignal:Pf,kState:Le,kDispatcher:hB}=bi(),{webidl:J}=wt(),{URLSerializer:vae}=qt(),{kConstruct:Gf}=Ge(),xae=v("node:assert"),{getMaxListeners:_G,setMaxListeners:RG,getEventListeners:wae,defaultMaxListeners:DG}=v("node:events"),Sae=Symbol("abortController"),MG=new pae(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),Hf=new WeakMap;function TG(e){return t;function t(){let r=e.deref();if(r!==void 0){MG.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let n=Hf.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let o=i.deref();if(o!==void 0)o.abort(this.reason)}n.clear()}Hf.delete(r.signal)}}}}var NG=!1;class xe{constructor(e,t={}){if(J.util.markAsUncloneable(this),e===Gf)return;let r="Request constructor";J.argumentLengthCheck(arguments,1,r),e=J.converters.RequestInfo(e,r,"input"),t=J.converters.RequestInit(t,r,"init");let n=null,i=null,o=Lf.settingsObject.baseUrl,s=null;if(typeof e==="string"){this[hB]=t.dispatcher;let g;try{g=new URL(e,o)}catch(m){throw TypeError("Failed to parse URL from "+e,{cause:m})}if(g.username||g.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=zf({urlList:[g]}),i="cors"}else this[hB]=t.dispatcher||e[hB],xae(e instanceof xe),n=e[Le],s=e[Pf];let a=Lf.settingsObject.origin,c="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&kG(n.window,a))c=n.window;if(t.window!=null)throw TypeError(`'window' option '${c}' must be null`);if("window"in t)c="no-window";n=zf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:Lf.settingsObject,window:c,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let u=Object.keys(t).length!==0;if(u){if(n.mode==="navigate")n.mode="same-origin";n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]}if(t.referrer!==void 0){let g=t.referrer;if(g==="")n.referrer="no-referrer";else{let m;try{m=new URL(g,o)}catch(S){throw TypeError(`Referrer "${g}" is not a valid URL.`,{cause:S})}if(m.protocol==="about:"&&m.hostname==="client"||a&&!kG(m,Lf.settingsObject.baseUrl))n.referrer="client";else n.referrer=m}}if(t.referrerPolicy!==void 0)n.referrerPolicy=t.referrerPolicy;let l;if(t.mode!==void 0)l=t.mode;else l=i;if(l==="navigate")throw J.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(l!=null)n.mode=l;if(t.credentials!==void 0)n.credentials=t.credentials;if(t.cache!==void 0)n.cache=t.cache;if(n.cache==="only-if-cached"&&n.mode!=="same-origin")throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(t.redirect!==void 0)n.redirect=t.redirect;if(t.integrity!=null)n.integrity=String(t.integrity);if(t.keepalive!==void 0)n.keepalive=Boolean(t.keepalive);if(t.method!==void 0){let g=t.method,m=Qae[g];if(m!==void 0)n.method=m;else{if(!fae(g))throw TypeError(`'${g}' is not a valid HTTP method.`);let S=g.toUpperCase();if(gae.has(S))throw TypeError(`'${g}' HTTP method is unsupported.`);g=bae[S]??g,n.method=g}if(!NG&&n.method==="patch")process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),NG=!0}if(t.signal!==void 0)s=t.signal;this[Le]=n;let d=new AbortController;if(this[Pf]=d.signal,s!=null){if(!s||typeof s.aborted!=="boolean"||typeof s.addEventListener!=="function")throw TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(s.aborted)d.abort(s.reason);else{this[Sae]=d;let g=new WeakRef(d),m=TG(g);try{if(typeof _G==="function"&&_G(s)===DG)RG(1500,s);else if(wae(s,"abort").length>=DG)RG(1500,s)}catch{}Of.addAbortListener(s,m),MG.register(d,{signal:s,abort:m},m)}}if(this[gr]=new FG(Gf),UG(this[gr],n.headersList),mB(this[gr],"request"),l==="no-cors"){if(!hae.has(n.method))throw TypeError(`'${n.method} is unsupported in no-cors mode.`);mB(this[gr],"request-no-cors")}if(u){let g=wG(this[gr]),m=t.headers!==void 0?t.headers:new $f(g);if(g.clear(),m instanceof $f){for(let{name:S,value:b}of m.rawValues())g.append(S,b,!1);g.cookies=m.cookies}else Aae(this[gr],m)}let A=e instanceof xe?e[Le].body:null;if((t.body!=null||A!=null)&&(n.method==="GET"||n.method==="HEAD"))throw TypeError("Request with GET/HEAD method cannot have body.");let p=null;if(t.body!=null){let[g,m]=cae(t.body,n.keepalive);if(p=g,m&&!wG(this[gr]).contains("content-type",!0))this[gr].append("content-type",m)}let f=p??A;if(f!=null&&f.source==null){if(p!=null&&t.duplex==null)throw TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let h=f;if(p==null&&A!=null){if(xG(e))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let g=new TransformStream;A.stream.pipeThrough(g),h={source:A.source,length:A.length,stream:g.readable}}this[Le].body=h}get method(){return J.brandCheck(this,xe),this[Le].method}get url(){return J.brandCheck(this,xe),vae(this[Le].url)}get headers(){return J.brandCheck(this,xe),this[gr]}get destination(){return J.brandCheck(this,xe),this[Le].destination}get referrer(){if(J.brandCheck(this,xe),this[Le].referrer==="no-referrer")return"";if(this[Le].referrer==="client")return"about:client";return this[Le].referrer.toString()}get referrerPolicy(){return J.brandCheck(this,xe),this[Le].referrerPolicy}get mode(){return J.brandCheck(this,xe),this[Le].mode}get credentials(){return this[Le].credentials}get cache(){return J.brandCheck(this,xe),this[Le].cache}get redirect(){return J.brandCheck(this,xe),this[Le].redirect}get integrity(){return J.brandCheck(this,xe),this[Le].integrity}get keepalive(){return J.brandCheck(this,xe),this[Le].keepalive}get isReloadNavigation(){return J.brandCheck(this,xe),this[Le].reloadNavigation}get isHistoryNavigation(){return J.brandCheck(this,xe),this[Le].historyNavigation}get signal(){return J.brandCheck(this,xe),this[Pf]}get body(){return J.brandCheck(this,xe),this[Le].body?this[Le].body.stream:null}get bodyUsed(){return J.brandCheck(this,xe),!!this[Le].body&&Of.isDisturbed(this[Le].body.stream)}get duplex(){return J.brandCheck(this,xe),"half"}clone(){if(J.brandCheck(this,xe),xG(this))throw TypeError("unusable");let e=LG(this[Le]),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let r=Hf.get(this.signal);if(r===void 0)r=new Set,Hf.set(this.signal,r);let n=new WeakRef(t);r.add(n),Of.addAbortListener(t.signal,TG(n))}return OG(e,t.signal,dae(this[gr]))}[SG.inspect.custom](e,t){if(t.depth===null)t.depth=2;t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${SG.formatWithOptions(t,r)}`}}lae(xe);function zf(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new $f(e.headersList):new $f}}function LG(e){let t=zf({...e,body:null});if(e.body!=null)t.body=uae(t,e.body);return t}function OG(e,t,r){let n=new xe(Gf);return n[Le]=e,n[Pf]=t,n[gr]=new FG(Gf),UG(n[gr],e.headersList),mB(n[gr],r),n}Object.defineProperties(xe.prototype,{method:ut,url:ut,headers:ut,redirect:ut,clone:ut,signal:ut,duplex:ut,destination:ut,body:ut,bodyUsed:ut,isHistoryNavigation:ut,isReloadNavigation:ut,keepalive:ut,integrity:ut,cache:ut,credentials:ut,attribute:ut,referrerPolicy:ut,referrer:ut,mode:ut,[Symbol.toStringTag]:{value:"Request",configurable:!0}});J.converters.Request=J.interfaceConverter(xe);J.converters.RequestInfo=function(e,t,r){if(typeof e==="string")return J.converters.USVString(e,t,r);if(e instanceof xe)return J.converters.Request(e,t,r);return J.converters.USVString(e,t,r)};J.converters.AbortSignal=J.interfaceConverter(AbortSignal);J.converters.RequestInit=J.dictionaryConverter([{key:"method",converter:J.converters.ByteString},{key:"headers",converter:J.converters.HeadersInit},{key:"body",converter:J.nullableConverter(J.converters.BodyInit)},{key:"referrer",converter:J.converters.USVString},{key:"referrerPolicy",converter:J.converters.DOMString,allowedValues:mae},{key:"mode",converter:J.converters.DOMString,allowedValues:Iae},{key:"credentials",converter:J.converters.DOMString,allowedValues:Cae},{key:"cache",converter:J.converters.DOMString,allowedValues:yae},{key:"redirect",converter:J.converters.DOMString,allowedValues:Eae},{key:"integrity",converter:J.converters.DOMString},{key:"keepalive",converter:J.converters.boolean},{key:"signal",converter:J.nullableConverter((e)=>J.converters.AbortSignal(e,"RequestInit","signal",{strict:!1}))},{key:"window",converter:J.converters.any},{key:"duplex",converter:J.converters.DOMString,allowedValues:Bae},{key:"dispatcher",converter:J.converters.any}]);PG.exports={Request:xe,makeRequest:zf,fromInnerRequest:OG,cloneRequest:LG}});var _u=C((kFe,tH)=>{var{makeNetworkError:be,makeAppropriateNetworkError:jf,filterResponse:EB,makeResponse:Yf,fromInnerResponse:kae}=Su(),{HeadersList:$G}=No(),{Request:_ae,cloneRequest:Rae}=Na(),Fi=v("node:zlib"),{bytesMatch:Dae,makePolicyContainer:Tae,clonePolicyContainer:Nae,requestBadPort:Fae,TAOCheck:Uae,appendRequestOriginHeader:Mae,responseLocationURL:Lae,requestCurrentURL:In,setRequestReferrerPolicyOnRedirect:Oae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Pae,createOpaqueTimingInfo:bB,appendFetchMetadata:$ae,corsCheck:Gae,crossOriginResourcePolicyCheck:Hae,determineRequestsReferrer:zae,coarsenedSharedCurrentTime:ku,createDeferredPromise:jae,isBlobLike:Yae,sameOrigin:BB,isCancelled:Fo,isAborted:GG,isErrorLike:Jae,fullyReadBody:qae,readableStreamClose:Vae,isomorphicEncode:Jf,urlIsLocal:Wae,urlIsHttpHttpsScheme:QB,urlHasHttpsScheme:Zae,clampAndCoarsenConnectionTimingInfo:Kae,simpleRangeHeaderValue:Xae,buildContentRange:ece,createInflate:tce,extractMimeType:rce}=ur(),{kState:YG,kDispatcher:nce}=bi(),Uo=v("node:assert"),{safelyExtractBody:vB,extractBody:HG}=pa(),{redirectStatusSet:JG,nullBodyStatus:qG,safeMethodsSet:ice,requestBodyHeader:oce,subresourceSet:sce}=Zl(),ace=v("node:events"),{Readable:cce,pipeline:lce,finished:uce}=v("node:stream"),{addAbortListener:Ace,isErrored:dce,isReadable:qf,bufferToLowerCasedHeaderName:zG}=oe(),{dataURLProcessor:pce,serializeAMimeType:fce,minimizeSupportedMimeType:gce}=qt(),{getGlobalDispatcher:hce}=Rf(),{webidl:mce}=wt(),{STATUS_CODES:Ece}=v("node:http"),Ice=["GET","HEAD"],Cce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",IB;class xB extends ace{constructor(e){super();this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){if(this.state!=="ongoing")return;this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e)}abort(e){if(this.state!=="ongoing")return;if(this.state="aborted",!e)e=new DOMException("The operation was aborted.","AbortError");this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e)}}function yce(e){VG(e,"fetch")}function Bce(e,t=void 0){mce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=jae(),n;try{n=new _ae(e,t)}catch(l){return r.reject(l),r.promise}let i=n[YG];if(n.signal.aborted)return CB(r,i,null,n.signal.reason),r.promise;if(i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope")i.serviceWorkers="none";let s=null,a=!1,c=null;return Ace(n.signal,()=>{a=!0,Uo(c!=null),c.abort(n.signal.reason);let l=s?.deref();CB(r,i,l,n.signal.reason)}),c=ZG({request:i,processResponseEndOfBody:yce,processResponse:(l)=>{if(a)return;if(l.aborted){CB(r,i,s,c.serializedAbortReason);return}if(l.type==="error"){r.reject(TypeError("fetch failed",{cause:l.error}));return}s=new WeakRef(kae(l,"immutable")),r.resolve(s.deref()),r=null},dispatcher:n[nce]}),r.promise}function VG(e,t="other"){if(e.type==="error"&&e.aborted)return;if(!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;if(!QB(r))return;if(n===null)return;if(!e.timingAllowPassed)n=bB({startTime:n.startTime}),i="";n.endTime=ku(),e.timingInfo=n,WG(n,r.href,t,globalThis,i)}var WG=performance.markResourceTiming;function CB(e,t,r,n){if(e)e.reject(n);if(t.body!=null&&qf(t.body?.stream))t.body.stream.cancel(n).catch((o)=>{if(o.code==="ERR_INVALID_STATE")return;throw o});if(r==null)return;let i=r[YG];if(i.body!=null&&qf(i.body?.stream))i.body.stream.cancel(n).catch((o)=>{if(o.code==="ERR_INVALID_STATE")return;throw o})}function ZG({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:o,useParallelQueue:s=!1,dispatcher:a=hce()}){Uo(a);let c=null,u=!1;if(e.client!=null)c=e.client.globalObject,u=e.client.crossOriginIsolatedCapability;let l=ku(u),d=bB({startTime:l}),A={controller:new xB(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:o,processResponseEndOfBody:i,taskDestination:c,crossOriginIsolatedCapability:u};if(Uo(!e.body||e.body.stream),e.window==="client")e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window";if(e.origin==="client")e.origin=e.client.origin;if(e.policyContainer==="client")if(e.client!=null)e.policyContainer=Nae(e.client.policyContainer);else e.policyContainer=Tae();if(!e.headersList.contains("accept",!0))e.headersList.append("accept","*/*",!0);if(!e.headersList.contains("accept-language",!0))e.headersList.append("accept-language","*",!0);if(e.priority===null);if(sce.has(e.destination));return KG(A).catch((p)=>{A.controller.terminate(p)}),A.controller}async function KG(e,t=!1){let r=e.request,n=null;if(r.localURLsOnly&&!Wae(In(r)))n=be("local URLs only");if(Pae(r),Fae(r)==="blocked")n=be("bad port");if(r.referrerPolicy==="")r.referrerPolicy=r.policyContainer.referrerPolicy;if(r.referrer!=="no-referrer")r.referrer=zae(r);if(n===null)n=await(async()=>{let o=In(r);if(BB(o,r.url)&&r.responseTainting==="basic"||o.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket"))return r.responseTainting="basic",await jG(e);if(r.mode==="same-origin")return be('request mode cannot be "same-origin"');if(r.mode==="no-cors"){if(r.redirect!=="follow")return be('redirect mode cannot be "follow" for "no-cors" request');return r.responseTainting="opaque",await jG(e)}if(!QB(In(r)))return be("URL scheme must be a HTTP(S) scheme");return r.responseTainting="cors",await XG(e)})();if(t)return n;if(n.status!==0&&!n.internalResponse){if(r.responseTainting==="cors");if(r.responseTainting==="basic")n=EB(n,"basic");else if(r.responseTainting==="cors")n=EB(n,"cors");else if(r.responseTainting==="opaque")n=EB(n,"opaque");else Uo(!1)}let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0)i.urlList.push(...r.urlList);if(!r.timingAllowFailed)n.timingAllowPassed=!0;if(n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0))n=i=be();if(n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||qG.includes(i.status)))i.body=null,e.controller.dump=!0;if(r.integrity){let o=(a)=>yB(e,be(a));if(r.responseTainting==="opaque"||n.body==null){o(n.error);return}let s=(a)=>{if(!Dae(a,r.integrity)){o("integrity mismatch");return}n.body=vB(a)[0],yB(e,n)};await qae(n.body,s,o)}else yB(e,n)}function jG(e){if(Fo(e)&&e.request.redirectCount===0)return Promise.resolve(jf(e));let{request:t}=e,{protocol:r}=In(t);switch(r){case"about:":return Promise.resolve(be("about scheme is not supported"));case"blob:":{if(!IB)IB=v("node:buffer").resolveObjectURL;let n=In(t);if(n.search.length!==0)return Promise.resolve(be("NetworkError when attempting to fetch resource."));let i=IB(n.toString());if(t.method!=="GET"||!Yae(i))return Promise.resolve(be("invalid method"));let o=Yf(),s=i.size,a=Jf(`${s}`),c=i.type;if(!t.headersList.contains("range",!0)){let u=HG(i);o.statusText="OK",o.body=u[0],o.headersList.set("content-length",a,!0),o.headersList.set("content-type",c,!0)}else{o.rangeRequested=!0;let u=t.headersList.get("range",!0),l=Xae(u,!0);if(l==="failure")return Promise.resolve(be("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:A}=l;if(d===null)d=s-A,A=d+A-1;else{if(d>=s)return Promise.resolve(be("Range start is greater than the blob's size."));if(A===null||A>=s)A=s-1}let p=i.slice(d,A,c),f=HG(p);o.body=f[0];let h=Jf(`${p.size}`),g=ece(d,A,s);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",h,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",g,!0)}return Promise.resolve(o)}case"data:":{let n=In(t),i=pce(n);if(i==="failure")return Promise.resolve(be("failed to fetch the data URL"));let o=fce(i.mimeType);return Promise.resolve(Yf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:o}]],body:vB(i.body)[0]}))}case"file:":return Promise.resolve(be("not implemented... yet..."));case"http:":case"https:":return XG(e).catch((n)=>be(n));default:return Promise.resolve(be("unknown scheme"))}}function bce(e,t){if(e.request.done=!0,e.processResponseDone!=null)queueMicrotask(()=>e.processResponseDone(t))}function yB(e,t){let r=e.timingInfo,n=()=>{let o=Date.now();if(e.request.destination==="document")e.controller.fullTimingInfo=r;e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!=="https:")return;r.endTime=o;let{cacheState:a,bodyInfo:c}=t;if(!t.timingAllowPassed)r=bB(r),a="";let u=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){u=t.status;let l=rce(t.headersList);if(l!=="failure")c.contentType=gce(l)}if(e.request.initiatorType!=null)WG(r,e.request.url.href,e.request.initiatorType,globalThis,a,c,u)};let s=()=>{if(e.request.done=!0,e.processResponseEndOfBody!=null)queueMicrotask(()=>e.processResponseEndOfBody(t));if(e.request.initiatorType!=null)e.controller.reportTimingSteps()};queueMicrotask(()=>s())};if(e.processResponse!=null)queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let i=t.type==="error"?t:t.internalResponse??t;if(i.body==null)n();else uce(i.body.stream,()=>{n()})}async function XG(e){let t=e.request,r=null,n=null,i=e.timingInfo;if(t.serviceWorkers==="all");if(r===null){if(t.redirect==="follow")t.serviceWorkers="none";if(n=r=await eH(e),t.responseTainting==="cors"&&Gae(t,r)==="failure")return be("cors failure");if(Uae(t,r)==="failure")t.timingAllowFailed=!0}if((t.responseTainting==="opaque"||r.type==="opaque")&&Hae(t.origin,t.client,t.destination,n)==="blocked")return be("blocked");if(JG.has(n.status)){if(t.redirect!=="manual")e.controller.connection.destroy(void 0,!1);if(t.redirect==="error")r=be("unexpected redirect");else if(t.redirect==="manual")r=n;else if(t.redirect==="follow")r=await Qce(e,r);else Uo(!1)}return r.timingInfo=i,r}function Qce(e,t){let r=e.request,n=t.internalResponse?t.internalResponse:t,i;try{if(i=Lae(n,In(r).hash),i==null)return t}catch(s){return Promise.resolve(be(s))}if(!QB(i))return Promise.resolve(be("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(be("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!BB(r,i))return Promise.resolve(be('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(be('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(be());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!Ice.includes(r.method)){r.method="GET",r.body=null;for(let s of oce)r.headersList.delete(s)}if(!BB(In(r),i))r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0);if(r.body!=null)Uo(r.body.source!=null),r.body=vB(r.body.source)[0];let o=e.timingInfo;if(o.redirectEndTime=o.postRedirectStartTime=ku(e.crossOriginIsolatedCapability),o.redirectStartTime===0)o.redirectStartTime=o.startTime;return r.urlList.push(i),Oae(r,n),KG(e,!0)}async function eH(e,t=!1,r=!1){let n=e.request,i=null,o=null,s=null,a=null,c=!1;if(n.window==="no-window"&&n.redirect==="error")i=e,o=n;else o=Rae(n),i={...e},i.request=o;let u=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",l=o.body?o.body.length:null,d=null;if(o.body==null&&["POST","PUT"].includes(o.method))d="0";if(l!=null)d=Jf(`${l}`);if(d!=null)o.headersList.append("content-length",d,!0);if(l!=null&&o.keepalive);if(o.referrer instanceof URL)o.headersList.append("referer",Jf(o.referrer.href),!0);if(Mae(o),$ae(o),!o.headersList.contains("user-agent",!0))o.headersList.append("user-agent",Cce);if(o.cache==="default"&&(o.headersList.contains("if-modified-since",!0)||o.headersList.contains("if-none-match",!0)||o.headersList.contains("if-unmodified-since",!0)||o.headersList.contains("if-match",!0)||o.headersList.contains("if-range",!0)))o.cache="no-store";if(o.cache==="no-cache"&&!o.preventNoCacheCacheControlHeaderModification&&!o.headersList.contains("cache-control",!0))o.headersList.append("cache-control","max-age=0",!0);if(o.cache==="no-store"||o.cache==="reload"){if(!o.headersList.contains("pragma",!0))o.headersList.append("pragma","no-cache",!0);if(!o.headersList.contains("cache-control",!0))o.headersList.append("cache-control","no-cache",!0)}if(o.headersList.contains("range",!0))o.headersList.append("accept-encoding","identity",!0);if(!o.headersList.contains("accept-encoding",!0))if(Zae(In(o)))o.headersList.append("accept-encoding","br, gzip, deflate",!0);else o.headersList.append("accept-encoding","gzip, deflate",!0);if(o.headersList.delete("host",!0),a==null)o.cache="no-store";if(o.cache!=="no-store"&&o.cache!=="reload");if(s==null){if(o.cache==="only-if-cached")return be("only if cached");let A=await vce(i,u,r);if(!ice.has(o.method)&&A.status>=200&&A.status<=399);if(c&&A.status===304);if(s==null)s=A}if(s.urlList=[...o.urlList],o.headersList.contains("range",!0))s.rangeRequested=!0;if(s.requestIncludesCredentials=u,s.status===407){if(n.window==="no-window")return be();if(Fo(e))return jf(e);return be("proxy authentication required")}if(s.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Fo(e))return jf(e);e.controller.connection.destroy(),s=await eH(e,t,!0)}return s}async function vce(e,t=!1,r=!1){Uo(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(f,h=!0){if(!this.destroyed){if(this.destroyed=!0,h)this.abort?.(f??new DOMException("The operation was aborted.","AbortError"))}}};let n=e.request,i=null,o=e.timingInfo;if(!0)n.cache="no-store";let a=r?"yes":"no";if(n.mode==="websocket");let c=null;if(n.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(n.body!=null){let f=async function*(m){if(Fo(e))return;yield m,e.processRequestBodyChunkLength?.(m.byteLength)},h=()=>{if(Fo(e))return;if(e.processRequestEndOfBody)e.processRequestEndOfBody()},g=(m)=>{if(Fo(e))return;if(m.name==="AbortError")e.controller.abort();else e.controller.terminate(m)};c=async function*(){try{for await(let m of n.body.stream)yield*f(m);h()}catch(m){g(m)}}()}try{let{body:f,status:h,statusText:g,headersList:m,socket:S}=await p({body:c});if(S)i=Yf({status:h,statusText:g,headersList:m,socket:S});else{let b=f[Symbol.asyncIterator]();e.controller.next=()=>b.next(),i=Yf({status:h,statusText:g,headersList:m})}}catch(f){if(f.name==="AbortError")return e.controller.connection.destroy(),jf(e,f);return be(f)}let u=async()=>{await e.controller.resume()},l=(f)=>{if(!Fo(e))e.controller.abort(f)},d=new ReadableStream({async start(f){e.controller.controller=f},async pull(f){await u(f)},async cancel(f){await l(f)},type:"bytes"});i.body={stream:d,source:null,length:null},e.controller.onAborted=A,e.controller.on("terminated",A),e.controller.resume=async()=>{while(!0){let f,h;try{let{done:m,value:S}=await e.controller.next();if(GG(e))break;f=m?void 0:S}catch(m){if(e.controller.ended&&!o.encodedBodySize)f=void 0;else f=m,h=!0}if(f===void 0){Vae(e.controller.controller),bce(e,i);return}if(o.decodedBodySize+=f?.byteLength??0,h){e.controller.terminate(f);return}let g=new Uint8Array(f);if(g.byteLength)e.controller.controller.enqueue(g);if(dce(d)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0)return}};function A(f){if(GG(e)){if(i.aborted=!0,qf(d))e.controller.controller.error(e.controller.serializedAbortReason)}else if(qf(d))e.controller.controller.error(TypeError("terminated",{cause:Jae(f)?f:void 0}));e.controller.connection.destroy()}return i;function p({body:f}){let h=In(n),g=e.controller.dispatcher;return new Promise((m,S)=>g.dispatch({path:h.pathname+h.search,origin:h.origin,method:n.method,body:g.isMockActive?n.body&&(n.body.source||n.body.stream):f,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(b){let{connection:I}=e.controller;if(o.finalConnectionTimingInfo=Kae(void 0,o.postRedirectStartTime,e.crossOriginIsolatedCapability),I.destroyed)b(new DOMException("The operation was aborted.","AbortError"));else e.controller.on("terminated",b),this.abort=I.abort=b;o.finalNetworkRequestStartTime=ku(e.crossOriginIsolatedCapability)},onResponseStarted(){o.finalNetworkResponseStartTime=ku(e.crossOriginIsolatedCapability)},onHeaders(b,I,P,x){if(b<200)return;let D="",le=new $G;for(let Oe=0;Oe<I.length;Oe+=2)le.append(zG(I[Oe]),I[Oe+1].toString("latin1"),!0);D=le.get("location",!0),this.body=new cce({read:P});let ie=[],De=D&&n.redirect==="follow"&&JG.has(b);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!qG.includes(b)&&!De){let Oe=le.get("content-encoding",!0),Lt=Oe?Oe.toLowerCase().split(","):[],rr=5;if(Lt.length>5)return S(Error(`too many content-encodings in response: ${Lt.length}, maximum allowed is 5`)),!0;for(let ii=Lt.length-1;ii>=0;--ii){let Te=Lt[ii].trim();if(Te==="x-gzip"||Te==="gzip")ie.push(Fi.createGunzip({flush:Fi.constants.Z_SYNC_FLUSH,finishFlush:Fi.constants.Z_SYNC_FLUSH}));else if(Te==="deflate")ie.push(tce({flush:Fi.constants.Z_SYNC_FLUSH,finishFlush:Fi.constants.Z_SYNC_FLUSH}));else if(Te==="br")ie.push(Fi.createBrotliDecompress({flush:Fi.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fi.constants.BROTLI_OPERATION_FLUSH}));else{ie.length=0;break}}}let Mt=this.onError.bind(this);return m({status:b,statusText:x,headersList:le,body:ie.length?lce(this.body,...ie,(Oe)=>{if(Oe)this.onError(Oe)}).on("error",Mt):this.body.on("error",Mt)}),!0},onData(b){if(e.controller.dump)return;let I=b;return o.encodedBodySize+=I.byteLength,this.body.push(I)},onComplete(){if(this.abort)e.controller.off("terminated",this.abort);if(e.controller.onAborted)e.controller.off("terminated",e.controller.onAborted);e.controller.ended=!0,this.body.push(null)},onError(b){if(this.abort)e.controller.off("terminated",this.abort);this.body?.destroy(b),e.controller.terminate(b),S(b)},onUpgrade(b,I,P){if(b!==101)return;let x=new $G;for(let D=0;D<I.length;D+=2)x.append(zG(I[D]),I[D+1].toString("latin1"),!0);return m({status:b,statusText:Ece[b],headersList:x,socket:P}),!0}}))}}tH.exports={fetch:Bce,Fetch:xB,fetching:ZG,finalizeAndReportTiming:VG}});var wB=C((_Fe,rH)=>{rH.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}});var iH=C((RFe,nH)=>{var{webidl:hr}=wt(),Vf=Symbol("ProgressEvent state");class Ru extends Event{constructor(e,t={}){e=hr.converters.DOMString(e,"ProgressEvent constructor","type"),t=hr.converters.ProgressEventInit(t??{});super(e,t);this[Vf]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){return hr.brandCheck(this,Ru),this[Vf].lengthComputable}get loaded(){return hr.brandCheck(this,Ru),this[Vf].loaded}get total(){return hr.brandCheck(this,Ru),this[Vf].total}}hr.converters.ProgressEventInit=hr.dictionaryConverter([{key:"lengthComputable",converter:hr.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:hr.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:hr.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:hr.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:hr.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:hr.converters.boolean,defaultValue:()=>!1}]);nH.exports={ProgressEvent:Ru}});var sH=C((DFe,oH)=>{function xce(e){if(!e)return"failure";switch(e.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}oH.exports={getEncoding:xce}});var fH=C((TFe,pH)=>{var{kState:Fa,kError:SB,kResult:aH,kAborted:Du,kLastProgressEventFired:kB}=wB(),{ProgressEvent:wce}=iH(),{getEncoding:cH}=sH(),{serializeAMimeType:Sce,parseMIMEType:lH}=qt(),{types:kce}=v("node:util"),{StringDecoder:uH}=v("string_decoder"),{btoa:AH}=v("node:buffer"),_ce={enumerable:!0,writable:!1,configurable:!1};function Rce(e,t,r,n){if(e[Fa]==="loading")throw new DOMException("Invalid state","InvalidStateError");e[Fa]="loading",e[aH]=null,e[SB]=null;let o=t.stream().getReader(),s=[],a=o.read(),c=!0;(async()=>{while(!e[Du])try{let{done:u,value:l}=await a;if(c&&!e[Du])queueMicrotask(()=>{Ui("loadstart",e)});if(c=!1,!u&&kce.isUint8Array(l)){if(s.push(l),(e[kB]===void 0||Date.now()-e[kB]>=50)&&!e[Du])e[kB]=Date.now(),queueMicrotask(()=>{Ui("progress",e)});a=o.read()}else if(u){queueMicrotask(()=>{e[Fa]="done";try{let d=Dce(s,r,t.type,n);if(e[Du])return;e[aH]=d,Ui("load",e)}catch(d){e[SB]=d,Ui("error",e)}if(e[Fa]!=="loading")Ui("loadend",e)});break}}catch(u){if(e[Du])return;queueMicrotask(()=>{if(e[Fa]="done",e[SB]=u,Ui("error",e),e[Fa]!=="loading")Ui("loadend",e)});break}})()}function Ui(e,t){let r=new wce(e,{bubbles:!1,cancelable:!1});t.dispatchEvent(r)}function Dce(e,t,r,n){switch(t){case"DataURL":{let i="data:",o=lH(r||"application/octet-stream");if(o!=="failure")i+=Sce(o);i+=";base64,";let s=new uH("latin1");for(let a of e)i+=AH(s.write(a));return i+=AH(s.end()),i}case"Text":{let i="failure";if(n)i=cH(n);if(i==="failure"&&r){let o=lH(r);if(o!=="failure")i=cH(o.parameters.get("charset"))}if(i==="failure")i="UTF-8";return Tce(e,i)}case"ArrayBuffer":return dH(e).buffer;case"BinaryString":{let i="",o=new uH("latin1");for(let s of e)i+=o.write(s);return i+=o.end(),i}}}function Tce(e,t){let r=dH(e),n=Nce(r),i=0;if(n!==null)t=n,i=n==="UTF-8"?3:2;let o=r.slice(i);return new TextDecoder(t).decode(o)}function Nce(e){let[t,r,n]=e;if(t===239&&r===187&&n===191)return"UTF-8";else if(t===254&&r===255)return"UTF-16BE";else if(t===255&&r===254)return"UTF-16LE";return null}function dH(e){let t=e.reduce((n,i)=>n+i.byteLength,0),r=0;return e.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(t))}pH.exports={staticPropertyDescriptors:_ce,readOperation:Rce,fireAProgressEvent:Ui}});var EH=C((NFe,mH)=>{var{staticPropertyDescriptors:Ua,readOperation:Wf,fireAProgressEvent:gH}=fH(),{kState:Mo,kError:hH,kResult:Zf,kEvents:he,kAborted:Fce}=wB(),{webidl:ve}=wt(),{kEnumerableProperty:Zt}=oe();class Qe extends EventTarget{constructor(){super();this[Mo]="empty",this[Zf]=null,this[hH]=null,this[he]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){ve.brandCheck(this,Qe),ve.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=ve.converters.Blob(e,{strict:!1}),Wf(this,e,"ArrayBuffer")}readAsBinaryString(e){ve.brandCheck(this,Qe),ve.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=ve.converters.Blob(e,{strict:!1}),Wf(this,e,"BinaryString")}readAsText(e,t=void 0){if(ve.brandCheck(this,Qe),ve.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=ve.converters.Blob(e,{strict:!1}),t!==void 0)t=ve.converters.DOMString(t,"FileReader.readAsText","encoding");Wf(this,e,"Text",t)}readAsDataURL(e){ve.brandCheck(this,Qe),ve.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=ve.converters.Blob(e,{strict:!1}),Wf(this,e,"DataURL")}abort(){if(this[Mo]==="empty"||this[Mo]==="done"){this[Zf]=null;return}if(this[Mo]==="loading")this[Mo]="done",this[Zf]=null;if(this[Fce]=!0,gH("abort",this),this[Mo]!=="loading")gH("loadend",this)}get readyState(){switch(ve.brandCheck(this,Qe),this[Mo]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return ve.brandCheck(this,Qe),this[Zf]}get error(){return ve.brandCheck(this,Qe),this[hH]}get onloadend(){return ve.brandCheck(this,Qe),this[he].loadend}set onloadend(e){if(ve.brandCheck(this,Qe),this[he].loadend)this.removeEventListener("loadend",this[he].loadend);if(typeof e==="function")this[he].loadend=e,this.addEventListener("loadend",e);else this[he].loadend=null}get onerror(){return ve.brandCheck(this,Qe),this[he].error}set onerror(e){if(ve.brandCheck(this,Qe),this[he].error)this.removeEventListener("error",this[he].error);if(typeof e==="function")this[he].error=e,this.addEventListener("error",e);else this[he].error=null}get onloadstart(){return ve.brandCheck(this,Qe),this[he].loadstart}set onloadstart(e){if(ve.brandCheck(this,Qe),this[he].loadstart)this.removeEventListener("loadstart",this[he].loadstart);if(typeof e==="function")this[he].loadstart=e,this.addEventListener("loadstart",e);else this[he].loadstart=null}get onprogress(){return ve.brandCheck(this,Qe),this[he].progress}set onprogress(e){if(ve.brandCheck(this,Qe),this[he].progress)this.removeEventListener("progress",this[he].progress);if(typeof e==="function")this[he].progress=e,this.addEventListener("progress",e);else this[he].progress=null}get onload(){return ve.brandCheck(this,Qe),this[he].load}set onload(e){if(ve.brandCheck(this,Qe),this[he].load)this.removeEventListener("load",this[he].load);if(typeof e==="function")this[he].load=e,this.addEventListener("load",e);else this[he].load=null}get onabort(){return ve.brandCheck(this,Qe),this[he].abort}set onabort(e){if(ve.brandCheck(this,Qe),this[he].abort)this.removeEventListener("abort",this[he].abort);if(typeof e==="function")this[he].abort=e,this.addEventListener("abort",e);else this[he].abort=null}}Qe.EMPTY=Qe.prototype.EMPTY=0;Qe.LOADING=Qe.prototype.LOADING=1;Qe.DONE=Qe.prototype.DONE=2;Object.defineProperties(Qe.prototype,{EMPTY:Ua,LOADING:Ua,DONE:Ua,readAsArrayBuffer:Zt,readAsBinaryString:Zt,readAsText:Zt,readAsDataURL:Zt,abort:Zt,readyState:Zt,result:Zt,error:Zt,onloadstart:Zt,onprogress:Zt,onload:Zt,onabort:Zt,onerror:Zt,onloadend:Zt,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Qe,{EMPTY:Ua,LOADING:Ua,DONE:Ua});mH.exports={FileReader:Qe}});var Kf=C((FFe,IH)=>{IH.exports={kConstruct:Ge().kConstruct}});var BH=C((UFe,yH)=>{var Uce=v("node:assert"),{URLSerializer:CH}=qt(),{isValidHeaderName:Mce}=ur();function Lce(e,t,r=!1){let n=CH(e,r),i=CH(t,r);return n===i}function Oce(e){Uce(e!==null);let t=[];for(let r of e.split(","))if(r=r.trim(),Mce(r))t.push(r);return t}yH.exports={urlEquals:Lce,getFieldValues:Oce}});var vH=C((MFe,QH)=>{var{kConstruct:Pce}=Kf(),{urlEquals:$ce,getFieldValues:_B}=BH(),{kEnumerableProperty:Lo,isDisturbed:Gce}=oe(),{webidl:z}=wt(),{Response:Hce,cloneResponse:zce,fromInnerResponse:jce}=Su(),{Request:Jn,fromInnerRequest:Yce}=Na(),{kState:tn}=bi(),{fetching:Jce}=_u(),{urlIsHttpHttpsScheme:Xf,createDeferredPromise:Ma,readAllBytes:qce}=ur(),RB=v("node:assert");class Cn{#e;constructor(){if(arguments[0]!==Pce)z.illegalConstructor();z.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,t={}){z.brandCheck(this,Cn);let r="Cache.match";z.argumentLengthCheck(arguments,1,r),e=z.converters.RequestInfo(e,r,"request"),t=z.converters.CacheQueryOptions(t,r,"options");let n=this.#i(e,t,1);if(n.length===0)return;return n[0]}async matchAll(e=void 0,t={}){z.brandCheck(this,Cn);let r="Cache.matchAll";if(e!==void 0)e=z.converters.RequestInfo(e,r,"request");return t=z.converters.CacheQueryOptions(t,r,"options"),this.#i(e,t)}async add(e){z.brandCheck(this,Cn);let t="Cache.add";z.argumentLengthCheck(arguments,1,t),e=z.converters.RequestInfo(e,t,"request");let r=[e];return await this.addAll(r)}async addAll(e){z.brandCheck(this,Cn);let t="Cache.addAll";z.argumentLengthCheck(arguments,1,t);let r=[],n=[];for(let d of e){if(d===void 0)throw z.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if(d=z.converters.RequestInfo(d),typeof d==="string")continue;let A=d[tn];if(!Xf(A.url)||A.method!=="GET")throw z.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let d of e){let A=new Jn(d)[tn];if(!Xf(A.url))throw z.errors.exception({header:t,message:"Expected http/s scheme."});A.initiator="fetch",A.destination="subresource",n.push(A);let p=Ma();i.push(Jce({request:A,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)p.reject(z.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let h=_B(f.headersList.get("vary"));for(let g of h)if(g==="*"){p.reject(z.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let m of i)m.abort();return}}},processResponseEndOfBody(f){if(f.aborted){p.reject(new DOMException("aborted","AbortError"));return}p.resolve(f)}})),r.push(p.promise)}let s=await Promise.all(r),a=[],c=0;for(let d of s){let A={type:"put",request:n[c],response:d};a.push(A),c++}let u=Ma(),l=null;try{this.#t(a)}catch(d){l=d}return queueMicrotask(()=>{if(l===null)u.resolve(void 0);else u.reject(l)}),u.promise}async put(e,t){z.brandCheck(this,Cn);let r="Cache.put";z.argumentLengthCheck(arguments,2,r),e=z.converters.RequestInfo(e,r,"request"),t=z.converters.Response(t,r,"response");let n=null;if(e instanceof Jn)n=e[tn];else n=new Jn(e)[tn];if(!Xf(n.url)||n.method!=="GET")throw z.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let i=t[tn];if(i.status===206)throw z.errors.exception({header:r,message:"Got 206 status"});if(i.headersList.contains("vary")){let A=_B(i.headersList.get("vary"));for(let p of A)if(p==="*")throw z.errors.exception({header:r,message:"Got * vary field value"})}if(i.body&&(Gce(i.body.stream)||i.body.stream.locked))throw z.errors.exception({header:r,message:"Response body is locked or disturbed"});let o=zce(i),s=Ma();if(i.body!=null){let p=i.body.stream.getReader();qce(p).then(s.resolve,s.reject)}else s.resolve(void 0);let a=[],c={type:"put",request:n,response:o};a.push(c);let u=await s.promise;if(o.body!=null)o.body.source=u;let l=Ma(),d=null;try{this.#t(a)}catch(A){d=A}return queueMicrotask(()=>{if(d===null)l.resolve();else l.reject(d)}),l.promise}async delete(e,t={}){z.brandCheck(this,Cn);let r="Cache.delete";z.argumentLengthCheck(arguments,1,r),e=z.converters.RequestInfo(e,r,"request"),t=z.converters.CacheQueryOptions(t,r,"options");let n=null;if(e instanceof Jn){if(n=e[tn],n.method!=="GET"&&!t.ignoreMethod)return!1}else RB(typeof e==="string"),n=new Jn(e)[tn];let i=[],o={type:"delete",request:n,options:t};i.push(o);let s=Ma(),a=null,c;try{c=this.#t(i)}catch(u){a=u}return queueMicrotask(()=>{if(a===null)s.resolve(!!c?.length);else s.reject(a)}),s.promise}async keys(e=void 0,t={}){z.brandCheck(this,Cn);let r="Cache.keys";if(e!==void 0)e=z.converters.RequestInfo(e,r,"request");t=z.converters.CacheQueryOptions(t,r,"options");let n=null;if(e!==void 0){if(e instanceof Jn){if(n=e[tn],n.method!=="GET"&&!t.ignoreMethod)return[]}else if(typeof e==="string")n=new Jn(e)[tn]}let i=Ma(),o=[];if(e===void 0)for(let s of this.#e)o.push(s[0]);else{let s=this.#r(n,t);for(let a of s)o.push(a[0])}return queueMicrotask(()=>{let s=[];for(let a of o){let c=Yce(a,new AbortController().signal,"immutable");s.push(c)}i.resolve(Object.freeze(s))}),i.promise}#t(e){let t=this.#e,r=[...t],n=[],i=[];try{for(let o of e){if(o.type!=="delete"&&o.type!=="put")throw z.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(o.type==="delete"&&o.response!=null)throw z.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(o.request,o.options,n).length)throw new DOMException("???","InvalidStateError");let s;if(o.type==="delete"){if(s=this.#r(o.request,o.options),s.length===0)return[];for(let a of s){let c=t.indexOf(a);RB(c!==-1),t.splice(c,1)}}else if(o.type==="put"){if(o.response==null)throw z.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let a=o.request;if(!Xf(a.url))throw z.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(a.method!=="GET")throw z.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(o.options!=null)throw z.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});s=this.#r(o.request);for(let c of s){let u=t.indexOf(c);RB(u!==-1),t.splice(u,1)}t.push([o.request,o.response]),n.push([o.request,o.response])}i.push([o.request,o.response])}return i}catch(o){throw this.#e.length=0,this.#e=r,o}}#r(e,t,r){let n=[],i=r??this.#e;for(let o of i){let[s,a]=o;if(this.#n(e,s,a,t))n.push(o)}return n}#n(e,t,r=null,n){let i=new URL(e.url),o=new URL(t.url);if(n?.ignoreSearch)o.search="",i.search="";if(!$ce(i,o,!0))return!1;if(r==null||n?.ignoreVary||!r.headersList.contains("vary"))return!0;let s=_B(r.headersList.get("vary"));for(let a of s){if(a==="*")return!1;let c=t.headersList.get(a),u=e.headersList.get(a);if(c!==u)return!1}return!0}#i(e,t,r=1/0){let n=null;if(e!==void 0){if(e instanceof Jn){if(n=e[tn],n.method!=="GET"&&!t.ignoreMethod)return[]}else if(typeof e==="string")n=new Jn(e)[tn]}let i=[];if(e===void 0)for(let s of this.#e)i.push(s[1]);else{let s=this.#r(n,t);for(let a of s)i.push(a[1])}let o=[];for(let s of i){let a=jce(s,"immutable");if(o.push(a.clone()),o.length>=r)break}return Object.freeze(o)}}Object.defineProperties(Cn.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Lo,matchAll:Lo,add:Lo,addAll:Lo,put:Lo,delete:Lo,keys:Lo});var bH=[{key:"ignoreSearch",converter:z.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:z.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:z.converters.boolean,defaultValue:()=>!1}];z.converters.CacheQueryOptions=z.dictionaryConverter(bH);z.converters.MultiCacheQueryOptions=z.dictionaryConverter([...bH,{key:"cacheName",converter:z.converters.DOMString}]);z.converters.Response=z.interfaceConverter(Hce);z.converters["sequence<RequestInfo>"]=z.sequenceConverter(z.converters.RequestInfo);QH.exports={Cache:Cn}});var wH=C((LFe,xH)=>{var{kConstruct:Tu}=Kf(),{Cache:eg}=vH(),{webidl:Ut}=wt(),{kEnumerableProperty:Nu}=oe();class Mi{#e=new Map;constructor(){if(arguments[0]!==Tu)Ut.illegalConstructor();Ut.util.markAsUncloneable(this)}async match(e,t={}){if(Ut.brandCheck(this,Mi),Ut.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ut.converters.RequestInfo(e),t=Ut.converters.MultiCacheQueryOptions(t),t.cacheName!=null){if(this.#e.has(t.cacheName)){let r=this.#e.get(t.cacheName);return await new eg(Tu,r).match(e,t)}}else for(let r of this.#e.values()){let i=await new eg(Tu,r).match(e,t);if(i!==void 0)return i}}async has(e){Ut.brandCheck(this,Mi);let t="CacheStorage.has";return Ut.argumentLengthCheck(arguments,1,t),e=Ut.converters.DOMString(e,t,"cacheName"),this.#e.has(e)}async open(e){Ut.brandCheck(this,Mi);let t="CacheStorage.open";if(Ut.argumentLengthCheck(arguments,1,t),e=Ut.converters.DOMString(e,t,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new eg(Tu,n)}let r=[];return this.#e.set(e,r),new eg(Tu,r)}async delete(e){Ut.brandCheck(this,Mi);let t="CacheStorage.delete";return Ut.argumentLengthCheck(arguments,1,t),e=Ut.converters.DOMString(e,t,"cacheName"),this.#e.delete(e)}async keys(){return Ut.brandCheck(this,Mi),[...this.#e.keys()]}}Object.defineProperties(Mi.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Nu,has:Nu,open:Nu,delete:Nu,keys:Nu});xH.exports={CacheStorage:Mi}});var kH=C((OFe,SH)=>{SH.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var DB=C((PFe,NH)=>{function Vce(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}function _H(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw Error("Invalid cookie name")}}function RH(e){let t=e.length,r=0;if(e[0]==='"'){if(t===1||e[t-1]!=='"')throw Error("Invalid cookie value");--t,++r}while(r<t){let n=e.charCodeAt(r++);if(n<33||n>126||n===34||n===44||n===59||n===92)throw Error("Invalid cookie value")}}function DH(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r===127||r===59)throw Error("Invalid cookie path")}}function Wce(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-"))throw Error("Invalid cookie domain")}var Zce=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Kce=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],tg=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function TH(e){if(typeof e==="number")e=new Date(e);return`${Zce[e.getUTCDay()]}, ${tg[e.getUTCDate()]} ${Kce[e.getUTCMonth()]} ${e.getUTCFullYear()} ${tg[e.getUTCHours()]}:${tg[e.getUTCMinutes()]}:${tg[e.getUTCSeconds()]} GMT`}function Xce(e){if(e<0)throw Error("Invalid cookie max-age")}function ele(e){if(e.name.length===0)return null;_H(e.name),RH(e.value);let t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-"))e.secure=!0;if(e.name.startsWith("__Host-"))e.secure=!0,e.domain=null,e.path="/";if(e.secure)t.push("Secure");if(e.httpOnly)t.push("HttpOnly");if(typeof e.maxAge==="number")Xce(e.maxAge),t.push(`Max-Age=${e.maxAge}`);if(e.domain)Wce(e.domain),t.push(`Domain=${e.domain}`);if(e.path)DH(e.path),t.push(`Path=${e.path}`);if(e.expires&&e.expires.toString()!=="Invalid Date")t.push(`Expires=${TH(e.expires)}`);if(e.sameSite)t.push(`SameSite=${e.sameSite}`);for(let r of e.unparsed){if(!r.includes("="))throw Error("Invalid unparsed");let[n,...i]=r.split("=");t.push(`${n.trim()}=${i.join("=")}`)}return t.join("; ")}NH.exports={isCTLExcludingHtab:Vce,validateCookieName:_H,validateCookiePath:DH,validateCookieValue:RH,toIMFDate:TH,stringify:ele}});var UH=C(($Fe,FH)=>{var{maxNameValuePairSize:tle,maxAttributeValueSize:rle}=kH(),{isCTLExcludingHtab:nle}=DB(),{collectASequenceOfCodePointsFast:rg}=qt(),ile=v("node:assert");function ole(e){if(nle(e))return null;let t="",r="",n="",i="";if(e.includes(";")){let o={position:0};t=rg(";",e,o),r=e.slice(o.position)}else t=e;if(!t.includes("="))i=t;else{let o={position:0};n=rg("=",t,o),i=t.slice(o.position+1)}if(n=n.trim(),i=i.trim(),n.length+i.length>tle)return null;return{name:n,value:i,...La(r)}}function La(e,t={}){if(e.length===0)return t;ile(e[0]===";"),e=e.slice(1);let r="";if(e.includes(";"))r=rg(";",e,{position:0}),e=e.slice(r.length);else r=e,e="";let n="",i="";if(r.includes("=")){let s={position:0};n=rg("=",r,s),i=r.slice(s.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>rle)return La(e,t);let o=n.toLowerCase();if(o==="expires"){let s=new Date(i);t.expires=s}else if(o==="max-age"){let s=i.charCodeAt(0);if((s<48||s>57)&&i[0]!=="-")return La(e,t);if(!/^\d+$/.test(i))return La(e,t);let a=Number(i);t.maxAge=a}else if(o==="domain"){let s=i;if(s[0]===".")s=s.slice(1);s=s.toLowerCase(),t.domain=s}else if(o==="path"){let s="";if(i.length===0||i[0]!=="/")s="/";else s=i;t.path=s}else if(o==="secure")t.secure=!0;else if(o==="httponly")t.httpOnly=!0;else if(o==="samesite"){let s="Default",a=i.toLowerCase();if(a.includes("none"))s="None";if(a.includes("strict"))s="Strict";if(a.includes("lax"))s="Lax";t.sameSite=s}else t.unparsed??=[],t.unparsed.push(`${n}=${i}`);return La(e,t)}FH.exports={parseSetCookie:ole,parseUnparsedAttributes:La}});var OH=C((GFe,LH)=>{var{parseSetCookie:sle}=UH(),{stringify:ale}=DB(),{webidl:ce}=wt(),{Headers:ng}=No();function cle(e){ce.argumentLengthCheck(arguments,1,"getCookies"),ce.brandCheck(e,ng,{strict:!1});let t=e.get("cookie"),r={};if(!t)return r;for(let n of t.split(";")){let[i,...o]=n.split("=");r[i.trim()]=o.join("=")}return r}function lle(e,t,r){ce.brandCheck(e,ng,{strict:!1});let n="deleteCookie";ce.argumentLengthCheck(arguments,2,n),t=ce.converters.DOMString(t,n,"name"),r=ce.converters.DeleteCookieAttributes(r),MH(e,{name:t,value:"",expires:new Date(0),...r})}function ule(e){ce.argumentLengthCheck(arguments,1,"getSetCookies"),ce.brandCheck(e,ng,{strict:!1});let t=e.getSetCookie();if(!t)return[];return t.map((r)=>sle(r))}function MH(e,t){ce.argumentLengthCheck(arguments,2,"setCookie"),ce.brandCheck(e,ng,{strict:!1}),t=ce.converters.Cookie(t);let r=ale(t);if(r)e.append("Set-Cookie",r)}ce.converters.DeleteCookieAttributes=ce.dictionaryConverter([{converter:ce.nullableConverter(ce.converters.DOMString),key:"path",defaultValue:()=>null},{converter:ce.nullableConverter(ce.converters.DOMString),key:"domain",defaultValue:()=>null}]);ce.converters.Cookie=ce.dictionaryConverter([{converter:ce.converters.DOMString,key:"name"},{converter:ce.converters.DOMString,key:"value"},{converter:ce.nullableConverter((e)=>{if(typeof e==="number")return ce.converters["unsigned long long"](e);return new Date(e)}),key:"expires",defaultValue:()=>null},{converter:ce.nullableConverter(ce.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:ce.nullableConverter(ce.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:ce.nullableConverter(ce.converters.DOMString),key:"path",defaultValue:()=>null},{converter:ce.nullableConverter(ce.converters.boolean),key:"secure",defaultValue:()=>null},{converter:ce.nullableConverter(ce.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:ce.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ce.sequenceConverter(ce.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]);LH.exports={getCookies:cle,deleteCookie:lle,getSetCookies:ule,setCookie:MH}});var Pa=C((HFe,$H)=>{var{webidl:H}=wt(),{kEnumerableProperty:Kt}=oe(),{kConstruct:PH}=Ge(),{MessagePort:Ale}=v("node:worker_threads");class mr extends Event{#e;constructor(e,t={}){if(e===PH){super(arguments[1],arguments[2]);H.util.markAsUncloneable(this);return}let r="MessageEvent constructor";H.argumentLengthCheck(arguments,1,r),e=H.converters.DOMString(e,r,"type"),t=H.converters.MessageEventInit(t,r,"eventInitDict");super(e,t);this.#e=t,H.util.markAsUncloneable(this)}get data(){return H.brandCheck(this,mr),this.#e.data}get origin(){return H.brandCheck(this,mr),this.#e.origin}get lastEventId(){return H.brandCheck(this,mr),this.#e.lastEventId}get source(){return H.brandCheck(this,mr),this.#e.source}get ports(){if(H.brandCheck(this,mr),!Object.isFrozen(this.#e.ports))Object.freeze(this.#e.ports);return this.#e.ports}initMessageEvent(e,t=!1,r=!1,n=null,i="",o="",s=null,a=[]){return H.brandCheck(this,mr),H.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new mr(e,{bubbles:t,cancelable:r,data:n,origin:i,lastEventId:o,source:s,ports:a})}static createFastMessageEvent(e,t){let r=new mr(PH,e,t);return r.#e=t,r.#e.data??=null,r.#e.origin??="",r.#e.lastEventId??="",r.#e.source??=null,r.#e.ports??=[],r}}var{createFastMessageEvent:dle}=mr;delete mr.createFastMessageEvent;class Oa extends Event{#e;constructor(e,t={}){H.argumentLengthCheck(arguments,1,"CloseEvent constructor"),e=H.converters.DOMString(e,"CloseEvent constructor","type"),t=H.converters.CloseEventInit(t);super(e,t);this.#e=t,H.util.markAsUncloneable(this)}get wasClean(){return H.brandCheck(this,Oa),this.#e.wasClean}get code(){return H.brandCheck(this,Oa),this.#e.code}get reason(){return H.brandCheck(this,Oa),this.#e.reason}}class Li extends Event{#e;constructor(e,t){H.argumentLengthCheck(arguments,1,"ErrorEvent constructor");super(e,t);H.util.markAsUncloneable(this),e=H.converters.DOMString(e,"ErrorEvent constructor","type"),t=H.converters.ErrorEventInit(t??{}),this.#e=t}get message(){return H.brandCheck(this,Li),this.#e.message}get filename(){return H.brandCheck(this,Li),this.#e.filename}get lineno(){return H.brandCheck(this,Li),this.#e.lineno}get colno(){return H.brandCheck(this,Li),this.#e.colno}get error(){return H.brandCheck(this,Li),this.#e.error}}Object.defineProperties(mr.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Kt,origin:Kt,lastEventId:Kt,source:Kt,ports:Kt,initMessageEvent:Kt});Object.defineProperties(Oa.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Kt,code:Kt,wasClean:Kt});Object.defineProperties(Li.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Kt,filename:Kt,lineno:Kt,colno:Kt,error:Kt});H.converters.MessagePort=H.interfaceConverter(Ale);H.converters["sequence<MessagePort>"]=H.sequenceConverter(H.converters.MessagePort);var TB=[{key:"bubbles",converter:H.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:H.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:H.converters.boolean,defaultValue:()=>!1}];H.converters.MessageEventInit=H.dictionaryConverter([...TB,{key:"data",converter:H.converters.any,defaultValue:()=>null},{key:"origin",converter:H.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:H.converters.DOMString,defaultValue:()=>""},{key:"source",converter:H.nullableConverter(H.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:H.converters["sequence<MessagePort>"],defaultValue:()=>[]}]);H.converters.CloseEventInit=H.dictionaryConverter([...TB,{key:"wasClean",converter:H.converters.boolean,defaultValue:()=>!1},{key:"code",converter:H.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:H.converters.USVString,defaultValue:()=>""}]);H.converters.ErrorEventInit=H.dictionaryConverter([...TB,{key:"message",converter:H.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:H.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:H.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:H.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:H.converters.any}]);$H.exports={MessageEvent:mr,CloseEvent:Oa,ErrorEvent:Li,createFastMessageEvent:dle}});var Oo=C((zFe,GH)=>{var ple={enumerable:!0,writable:!1,configurable:!1},fle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},gle={NOT_SENT:0,PROCESSING:1,SENT:2},hle={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},mle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Ele=Buffer.allocUnsafe(0),Ile={string:1,typedArray:2,arrayBuffer:3,blob:4};GH.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:gle,staticPropertyDescriptors:ple,states:fle,opcodes:hle,maxUnsigned16Bit:65535,parserStates:mle,emptyBuffer:Ele,sendHints:Ile}});var Fu=C((jFe,HH)=>{HH.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}});var Lu=C((YFe,KH)=>{var{kReadyState:Uu,kController:Cle,kResponse:yle,kBinaryType:Ble,kWebSocketURL:ble}=Fu(),{states:Mu,opcodes:Oi}=Oo(),{ErrorEvent:Qle,createFastMessageEvent:vle}=Pa(),{isUtf8:xle}=v("node:buffer"),{collectASequenceOfCodePointsFast:wle,removeHTTPWhitespace:zH}=qt();function Sle(e){return e[Uu]===Mu.CONNECTING}function kle(e){return e[Uu]===Mu.OPEN}function _le(e){return e[Uu]===Mu.CLOSING}function Rle(e){return e[Uu]===Mu.CLOSED}function NB(e,t,r=(i,o)=>new Event(i,o),n={}){let i=r(e,n);t.dispatchEvent(i)}function Dle(e,t,r){if(e[Uu]!==Mu.OPEN)return;let n;if(t===Oi.TEXT)try{n=ZH(r)}catch{YH(e,"Received invalid UTF-8 in text frame.");return}else if(t===Oi.BINARY)if(e[Ble]==="blob")n=new Blob([r]);else n=Tle(r);NB("message",e,vle,{origin:e[ble].origin,data:n})}function Tle(e){if(e.byteLength===e.buffer.byteLength)return e.buffer;return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function Nle(e){if(e.length===0)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}function Fle(e){if(e>=1000&&e<1015)return e!==1004&&e!==1005&&e!==1006;return e>=3000&&e<=4999}function YH(e,t){let{[Cle]:r,[yle]:n}=e;if(r.abort(),n?.socket&&!n.socket.destroyed)n.socket.destroy();if(t)NB("error",e,(i,o)=>new Qle(i,o),{error:Error(t),message:t})}function JH(e){return e===Oi.CLOSE||e===Oi.PING||e===Oi.PONG}function qH(e){return e===Oi.CONTINUATION}function VH(e){return e===Oi.TEXT||e===Oi.BINARY}function Ule(e){return VH(e)||qH(e)||JH(e)}function Mle(e){let t={position:0},r=new Map;while(t.position<e.length){let n=wle(";",e,t),[i,o=""]=n.split("=");r.set(zH(i,!0,!1),zH(o,!1,!0)),t.position++}return r}function Lle(e){if(e.length===0)return!1;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n<48||n>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15}var WH=typeof process.versions.icu==="string",jH=WH?new TextDecoder("utf-8",{fatal:!0}):void 0,ZH=WH?jH.decode.bind(jH):function(e){if(xle(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")};KH.exports={isConnecting:Sle,isEstablished:kle,isClosing:_le,isClosed:Rle,fireEvent:NB,isValidSubprotocol:Nle,isValidStatusCode:Fle,failWebsocketConnection:YH,websocketMessageReceived:Dle,utf8Decode:ZH,isControlFrame:JH,isContinuationFrame:qH,isTextBinaryFrame:VH,isValidOpcode:Ule,parseExtensions:Mle,isValidClientWindowBits:Lle}});var ig=C((JFe,ez)=>{var{maxUnsigned16Bit:Ole}=Oo(),FB,Ou=null,$a=16386;try{FB=v("node:crypto")}catch{FB={randomFillSync:function(t,r,n){for(let i=0;i<t.length;++i)t[i]=Math.random()*255|0;return t}}}function Ple(){if($a===16386)$a=0,FB.randomFillSync(Ou??=Buffer.allocUnsafe(16386),0,16386);return[Ou[$a++],Ou[$a++],Ou[$a++],Ou[$a++]]}class XH{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=Ple(),n=t?.byteLength??0,i=n,o=6;if(n>Ole)o+=8,i=127;else if(n>125)o+=2,i=126;let s=Buffer.allocUnsafe(n+o);s[0]=s[1]=0,s[0]|=128,s[0]=(s[0]&240)+e;/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */if(s[o-4]=r[0],s[o-3]=r[1],s[o-2]=r[2],s[o-1]=r[3],s[1]=i,i===126)s.writeUInt16BE(n,2);else if(i===127)s[2]=s[3]=0,s.writeUIntBE(n,4,6);s[1]|=128;for(let a=0;a<n;++a)s[o+a]=t[a]^r[a&3];return s}}ez.exports={WebsocketFrameSend:XH}});var MB=C((qFe,az)=>{var{uid:$le,states:Pu,sentCloseFrameState:og,emptyBuffer:Gle,opcodes:Hle}=Oo(),{kReadyState:$u,kSentClose:sg,kByteParser:rz,kReceivedClose:tz,kResponse:nz}=Fu(),{fireEvent:zle,failWebsocketConnection:Pi,isClosing:jle,isClosed:Yle,isEstablished:Jle,parseExtensions:qle}=Lu(),{channels:Ga}=ea(),{CloseEvent:Vle}=Pa(),{makeRequest:Wle}=Na(),{fetching:Zle}=_u(),{Headers:Kle,getHeadersList:Xle}=No(),{getDecodeSplit:eue}=ur(),{WebsocketFrameSend:tue}=ig(),UB;try{UB=v("node:crypto")}catch{}function rue(e,t,r,n,i,o){let s=e;s.protocol=e.protocol==="ws:"?"http:":"https:";let a=Wle({urlList:[s],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(o.headers){let d=Xle(new Kle(o.headers));a.headersList=d}let c=UB.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c),a.headersList.append("sec-websocket-version","13");for(let d of t)a.headersList.append("sec-websocket-protocol",d);let u="permessage-deflate; client_max_window_bits";return a.headersList.append("sec-websocket-extensions",u),Zle({request:a,useParallelQueue:!0,dispatcher:o.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Pi(n,"Received network error or non-101 status code.");return}if(t.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Pi(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Pi(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Pi(n,'Server did not set Connection header to "upgrade".');return}let A=d.headersList.get("Sec-WebSocket-Accept"),p=UB.createHash("sha1").update(c+$le).digest("base64");if(A!==p){Pi(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let f=d.headersList.get("Sec-WebSocket-Extensions"),h;if(f!==null){if(h=qle(f),!h.has("permessage-deflate")){Pi(n,"Sec-WebSocket-Extensions header does not match.");return}}let g=d.headersList.get("Sec-WebSocket-Protocol");if(g!==null){if(!eue("sec-websocket-protocol",a.headersList).includes(g)){Pi(n,"Protocol was not set in the opening handshake.");return}}if(d.socket.on("data",iz),d.socket.on("close",oz),d.socket.on("error",sz),Ga.open.hasSubscribers)Ga.open.publish({address:d.socket.address(),protocol:g,extensions:f});i(d,h)}})}function nue(e,t,r,n){if(jle(e)||Yle(e));else if(!Jle(e))Pi(e,"Connection was closed before it was established."),e[$u]=Pu.CLOSING;else if(e[sg]===og.NOT_SENT){e[sg]=og.PROCESSING;let i=new tue;if(t!==void 0&&r===void 0)i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0);else if(t!==void 0&&r!==void 0)i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8");else i.frameData=Gle;e[nz].socket.write(i.createFrame(Hle.CLOSE)),e[sg]=og.SENT,e[$u]=Pu.CLOSING}else e[$u]=Pu.CLOSING}function iz(e){if(!this.ws[rz].write(e))this.pause()}function oz(){let{ws:e}=this,{[nz]:t}=e;t.socket.off("data",iz),t.socket.off("close",oz),t.socket.off("error",sz);let r=e[sg]===og.SENT&&e[tz],n=1005,i="",o=e[rz].closingInfo;if(o&&!o.error)n=o.code??1005,i=o.reason;else if(!e[tz])n=1006;if(e[$u]=Pu.CLOSED,zle("close",e,(s,a)=>new Vle(s,a),{wasClean:r,code:n,reason:i}),Ga.close.hasSubscribers)Ga.close.publish({websocket:e,code:n,reason:i})}function sz(e){let{ws:t}=this;if(t[$u]=Pu.CLOSING,Ga.socketError.hasSubscribers)Ga.socketError.publish(e);this.destroy()}az.exports={establishWebSocketConnection:rue,closeWebSocketConnection:nue}});var Az=C((VFe,uz)=>{var{createInflateRaw:iue,Z_DEFAULT_WINDOWBITS:oue}=v("node:zlib"),{isValidClientWindowBits:sue}=Lu(),{MessageSizeExceededError:cz}=fe(),aue=Buffer.from([0,0,255,255]),ag=Symbol("kBuffer"),Gu=Symbol("kLength");class lz{#e;#t={};#r=!1;#n=null;constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,t,r){if(this.#r){r(new cz);return}if(!this.#e){let n=oue;if(this.#t.serverMaxWindowBits){if(!sue(this.#t.serverMaxWindowBits)){r(Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=iue({windowBits:n})}catch(i){r(i);return}this.#e[ag]=[],this.#e[Gu]=0,this.#e.on("data",(i)=>{if(this.#r)return;if(this.#e[Gu]+=i.length,this.#e[Gu]>4194304){if(this.#r=!0,this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null,this.#n){let o=this.#n;this.#n=null,o(new cz)}return}this.#e[ag].push(i)}),this.#e.on("error",(i)=>{this.#e=null,r(i)})}if(this.#n=r,this.#e.write(e),t)this.#e.write(aue);this.#e.flush(()=>{if(this.#r||!this.#e)return;let n=Buffer.concat(this.#e[ag],this.#e[Gu]);this.#e[ag].length=0,this.#e[Gu]=0,this.#n=null,r(null,n)})}}uz.exports={PerMessageDeflate:lz}});var Bz=C((WFe,yz)=>{var{Writable:cue}=v("node:stream"),lue=v("node:assert"),{parserStates:Xt,opcodes:Ha,states:uue,emptyBuffer:dz,sentCloseFrameState:pz}=Oo(),{kReadyState:Aue,kSentClose:fz,kResponse:gz,kReceivedClose:hz}=Fu(),{channels:cg}=ea(),{isValidStatusCode:due,isValidOpcode:pue,failWebsocketConnection:Er,websocketMessageReceived:mz,utf8Decode:fue,isControlFrame:Ez,isTextBinaryFrame:LB,isContinuationFrame:gue}=Lu(),{WebsocketFrameSend:Iz}=ig(),{closeWebSocketConnection:hue}=MB(),{PerMessageDeflate:mue}=Az();class Cz extends cue{#e=[];#t=0;#r=!1;#n=Xt.INFO;#i={};#a=[];#o;constructor(e,t){super();if(this.ws=e,this.#o=t==null?new Map:t,this.#o.has("permessage-deflate"))this.#o.set("permessage-deflate",new mue(t))}_write(e,t,r){this.#e.push(e),this.#t+=e.length,this.#r=!0,this.run(r)}run(e){while(this.#r)if(this.#n===Xt.INFO){if(this.#t<2)return e();let t=this.consume(2),r=(t[0]&128)!==0,n=t[0]&15,i=(t[1]&128)===128,o=!r&&n!==Ha.CONTINUATION,s=t[1]&127,a=t[0]&64,c=t[0]&32,u=t[0]&16;if(!pue(n))return Er(this.ws,"Invalid opcode received"),e();if(i)return Er(this.ws,"Frame cannot be masked"),e();if(a!==0&&!this.#o.has("permessage-deflate")){Er(this.ws,"Expected RSV1 to be clear.");return}if(c!==0||u!==0){Er(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(o&&!LB(n)){Er(this.ws,"Invalid frame type was fragmented.");return}if(LB(n)&&this.#a.length>0){Er(this.ws,"Expected continuation frame");return}if(this.#i.fragmented&&o){Er(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((s>125||o)&&Ez(n)){Er(this.ws,"Control frame either too large or fragmented");return}if(gue(n)&&this.#a.length===0&&!this.#i.compressed){Er(this.ws,"Unexpected continuation frame");return}if(s<=125)this.#i.payloadLength=s,this.#n=Xt.READ_DATA;else if(s===126)this.#n=Xt.PAYLOADLENGTH_16;else if(s===127)this.#n=Xt.PAYLOADLENGTH_64;if(LB(n))this.#i.binaryType=n,this.#i.compressed=a!==0;this.#i.opcode=n,this.#i.masked=i,this.#i.fin=r,this.#i.fragmented=o}else if(this.#n===Xt.PAYLOADLENGTH_16){if(this.#t<2)return e();let t=this.consume(2);this.#i.payloadLength=t.readUInt16BE(0),this.#n=Xt.READ_DATA}else if(this.#n===Xt.PAYLOADLENGTH_64){if(this.#t<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),n=t.readUInt32BE(4);if(r!==0||n>2147483647){Er(this.ws,"Received payload length > 2^31 bytes.");return}this.#i.payloadLength=n,this.#n=Xt.READ_DATA}else if(this.#n===Xt.READ_DATA){if(this.#t<this.#i.payloadLength)return e();let t=this.consume(this.#i.payloadLength);if(Ez(this.#i.opcode))this.#r=this.parseControlFrame(t),this.#n=Xt.INFO;else if(!this.#i.compressed){if(this.#a.push(t),!this.#i.fragmented&&this.#i.fin){let r=Buffer.concat(this.#a);mz(this.ws,this.#i.binaryType,r),this.#a.length=0}this.#n=Xt.INFO}else{this.#o.get("permessage-deflate").decompress(t,this.#i.fin,(r,n)=>{if(r){Er(this.ws,r.message);return}if(this.#a.push(n),!this.#i.fin){this.#n=Xt.INFO,this.#r=!0,this.run(e);return}mz(this.ws,this.#i.binaryType,Buffer.concat(this.#a)),this.#r=!0,this.#n=Xt.INFO,this.#a.length=0,this.run(e)}),this.#r=!1;break}}}consume(e){if(e>this.#t)throw Error("Called consume() before buffers satiated.");else if(e===0)return dz;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let t=Buffer.allocUnsafe(e),r=0;while(r!==e){let n=this.#e[0],{length:i}=n;if(i+r===e){t.set(this.#e.shift(),r);break}else if(i+r>e){t.set(n.subarray(0,e-r),r),this.#e[0]=n.subarray(e-r);break}else t.set(this.#e.shift(),r),r+=n.length}return this.#t-=e,t}parseCloseBody(e){lue(e.length!==1);let t;if(e.length>=2)t=e.readUInt16BE(0);if(t!==void 0&&!due(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191)r=r.subarray(3);try{r=fue(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#i;if(t===Ha.CLOSE){if(r===1)return Er(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#i.closeInfo=this.parseCloseBody(e),this.#i.closeInfo.error){let{code:n,reason:i}=this.#i.closeInfo;return hue(this.ws,n,i,i.length),Er(this.ws,i),!1}if(this.ws[fz]!==pz.SENT){let n=dz;if(this.#i.closeInfo.code)n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#i.closeInfo.code,0);let i=new Iz(n);this.ws[gz].socket.write(i.createFrame(Ha.CLOSE),(o)=>{if(!o)this.ws[fz]=pz.SENT})}return this.ws[Aue]=uue.CLOSING,this.ws[hz]=!0,!1}else if(t===Ha.PING){if(!this.ws[hz]){let n=new Iz(e);if(this.ws[gz].socket.write(n.createFrame(Ha.PONG)),cg.ping.hasSubscribers)cg.ping.publish({payload:e})}}else if(t===Ha.PONG){if(cg.pong.hasSubscribers)cg.pong.publish({payload:e})}return!0}get closingInfo(){return this.#i.closeInfo}}yz.exports={ByteParser:Cz}});var Sz=C((ZFe,wz)=>{var{WebsocketFrameSend:Eue}=ig(),{opcodes:bz,sendHints:za}=Oo(),Iue=yy(),Qz=Buffer[Symbol.species];class xz{#e=new Iue;#t=!1;#r;constructor(e){this.#r=e}add(e,t,r){if(r!==za.blob){let i=vz(e,r);if(!this.#t)this.#r.write(i,t);else{let o={promise:null,callback:t,frame:i};this.#e.push(o)}return}let n={promise:e.arrayBuffer().then((i)=>{n.promise=null,n.frame=vz(i,r)}),callback:t,frame:null};if(this.#e.push(n),!this.#t)this.#n()}async#n(){this.#t=!0;let e=this.#e;while(!e.isEmpty()){let t=e.shift();if(t.promise!==null)await t.promise;this.#r.write(t.frame,t.callback),t.callback=t.frame=null}this.#t=!1}}function vz(e,t){return new Eue(Cue(e,t)).createFrame(t===za.string?bz.TEXT:bz.BINARY)}function Cue(e,t){switch(t){case za.string:return Buffer.from(e);case za.arrayBuffer:case za.blob:return new Qz(e);case za.typedArray:return new Qz(e.buffer,e.byteOffset,e.byteLength)}}wz.exports={SendQueue:xz}});var Mz=C((KFe,Uz)=>{var{webidl:Z}=wt(),{URLSerializer:yue}=qt(),{environmentSettingsObject:kz}=ur(),{staticPropertyDescriptors:$i,states:Hu,sentCloseFrameState:Bue,sendHints:lg}=Oo(),{kWebSocketURL:_z,kReadyState:OB,kController:bue,kBinaryType:ug,kResponse:Rz,kSentClose:Que,kByteParser:vue}=Fu(),{isConnecting:xue,isEstablished:wue,isClosing:Sue,isValidSubprotocol:kue,fireEvent:Dz}=Lu(),{establishWebSocketConnection:_ue,closeWebSocketConnection:Tz}=MB(),{ByteParser:Rue}=Bz(),{kEnumerableProperty:Tr,isBlobLike:Nz}=oe(),{getGlobalDispatcher:Due}=Rf(),{types:Fz}=v("node:util"),{ErrorEvent:Tue,CloseEvent:Nue}=Pa(),{SendQueue:Fue}=Sz();class Ce extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#r="";#n="";#i;constructor(e,t=[]){super();Z.util.markAsUncloneable(this);let r="WebSocket constructor";Z.argumentLengthCheck(arguments,1,r);let n=Z.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=Z.converters.USVString(e,r,"url"),t=n.protocols;let i=kz.settingsObject.baseUrl,o;try{o=new URL(e,i)}catch(a){throw new DOMException(a,"SyntaxError")}if(o.protocol==="http:")o.protocol="ws:";else if(o.protocol==="https:")o.protocol="wss:";if(o.protocol!=="ws:"&&o.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${o.protocol}`,"SyntaxError");if(o.hash||o.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof t==="string")t=[t];if(t.length!==new Set(t.map((a)=>a.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(t.length>0&&!t.every((a)=>kue(a)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[_z]=new URL(o.href);let s=kz.settingsObject;this[bue]=_ue(o,t,s,this,(a,c)=>this.#a(a,c),n),this[OB]=Ce.CONNECTING,this[Que]=Bue.NOT_SENT,this[ug]="blob"}close(e=void 0,t=void 0){Z.brandCheck(this,Ce);let r="WebSocket.close";if(e!==void 0)e=Z.converters["unsigned short"](e,r,"code",{clamp:!0});if(t!==void 0)t=Z.converters.USVString(t,r,"reason");if(e!==void 0){if(e!==1000&&(e<3000||e>4999))throw new DOMException("invalid code","InvalidAccessError")}let n=0;if(t!==void 0){if(n=Buffer.byteLength(t),n>123)throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError")}Tz(this,e,t,n)}send(e){Z.brandCheck(this,Ce);let t="WebSocket.send";if(Z.argumentLengthCheck(arguments,1,t),e=Z.converters.WebSocketSendData(e,t,"data"),xue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!wue(this)||Sue(this))return;if(typeof e==="string"){let r=Buffer.byteLength(e);this.#t+=r,this.#i.add(e,()=>{this.#t-=r},lg.string)}else if(Fz.isArrayBuffer(e))this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},lg.arrayBuffer);else if(ArrayBuffer.isView(e))this.#t+=e.byteLength,this.#i.add(e,()=>{this.#t-=e.byteLength},lg.typedArray);else if(Nz(e))this.#t+=e.size,this.#i.add(e,()=>{this.#t-=e.size},lg.blob)}get readyState(){return Z.brandCheck(this,Ce),this[OB]}get bufferedAmount(){return Z.brandCheck(this,Ce),this.#t}get url(){return Z.brandCheck(this,Ce),yue(this[_z])}get extensions(){return Z.brandCheck(this,Ce),this.#n}get protocol(){return Z.brandCheck(this,Ce),this.#r}get onopen(){return Z.brandCheck(this,Ce),this.#e.open}set onopen(e){if(Z.brandCheck(this,Ce),this.#e.open)this.removeEventListener("open",this.#e.open);if(typeof e==="function")this.#e.open=e,this.addEventListener("open",e);else this.#e.open=null}get onerror(){return Z.brandCheck(this,Ce),this.#e.error}set onerror(e){if(Z.brandCheck(this,Ce),this.#e.error)this.removeEventListener("error",this.#e.error);if(typeof e==="function")this.#e.error=e,this.addEventListener("error",e);else this.#e.error=null}get onclose(){return Z.brandCheck(this,Ce),this.#e.close}set onclose(e){if(Z.brandCheck(this,Ce),this.#e.close)this.removeEventListener("close",this.#e.close);if(typeof e==="function")this.#e.close=e,this.addEventListener("close",e);else this.#e.close=null}get onmessage(){return Z.brandCheck(this,Ce),this.#e.message}set onmessage(e){if(Z.brandCheck(this,Ce),this.#e.message)this.removeEventListener("message",this.#e.message);if(typeof e==="function")this.#e.message=e,this.addEventListener("message",e);else this.#e.message=null}get binaryType(){return Z.brandCheck(this,Ce),this[ug]}set binaryType(e){if(Z.brandCheck(this,Ce),e!=="blob"&&e!=="arraybuffer")this[ug]="blob";else this[ug]=e}#a(e,t){this[Rz]=e;let r=new Rue(this,t);r.on("drain",Uue),r.on("error",Mue.bind(this)),e.socket.ws=this,this[vue]=r,this.#i=new Fue(e.socket),this[OB]=Hu.OPEN;let n=e.headersList.get("sec-websocket-extensions");if(n!==null)this.#n=n;let i=e.headersList.get("sec-websocket-protocol");if(i!==null)this.#r=i;Dz("open",this)}}Ce.CONNECTING=Ce.prototype.CONNECTING=Hu.CONNECTING;Ce.OPEN=Ce.prototype.OPEN=Hu.OPEN;Ce.CLOSING=Ce.prototype.CLOSING=Hu.CLOSING;Ce.CLOSED=Ce.prototype.CLOSED=Hu.CLOSED;Object.defineProperties(Ce.prototype,{CONNECTING:$i,OPEN:$i,CLOSING:$i,CLOSED:$i,url:Tr,readyState:Tr,bufferedAmount:Tr,onopen:Tr,onerror:Tr,onclose:Tr,close:Tr,onmessage:Tr,binaryType:Tr,send:Tr,extensions:Tr,protocol:Tr,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Ce,{CONNECTING:$i,OPEN:$i,CLOSING:$i,CLOSED:$i});Z.converters["sequence<DOMString>"]=Z.sequenceConverter(Z.converters.DOMString);Z.converters["DOMString or sequence<DOMString>"]=function(e,t,r){if(Z.util.Type(e)==="Object"&&Symbol.iterator in e)return Z.converters["sequence<DOMString>"](e);return Z.converters.DOMString(e,t,r)};Z.converters.WebSocketInit=Z.dictionaryConverter([{key:"protocols",converter:Z.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:Z.converters.any,defaultValue:()=>Due()},{key:"headers",converter:Z.nullableConverter(Z.converters.HeadersInit)}]);Z.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){if(Z.util.Type(e)==="Object"&&!(Symbol.iterator in e))return Z.converters.WebSocketInit(e);return{protocols:Z.converters["DOMString or sequence<DOMString>"](e)}};Z.converters.WebSocketSendData=function(e){if(Z.util.Type(e)==="Object"){if(Nz(e))return Z.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||Fz.isArrayBuffer(e))return Z.converters.BufferSource(e)}return Z.converters.USVString(e)};function Uue(){this.ws[Rz].socket.resume()}function Mue(e){let t,r;if(e instanceof Nue)t=e.reason,r=e.code;else t=e.message;Dz("error",this,()=>new Tue("error",{error:e,message:t})),Tz(this,r)}Uz.exports={WebSocket:Ce}});var PB=C((XFe,Lz)=>{function Lue(e){return e.indexOf("\x00")===-1}function Oue(e){if(e.length===0)return!1;for(let t=0;t<e.length;t++)if(e.charCodeAt(t)<48||e.charCodeAt(t)>57)return!1;return!0}function Pue(e){return new Promise((t)=>{setTimeout(t,e).unref()})}Lz.exports={isValidLastEventId:Lue,isASCIINumber:Oue,delay:Pue}});var Hz=C((eUe,Gz)=>{var{Transform:$ue}=v("node:stream"),{isASCIINumber:Oz,isValidLastEventId:Pz}=PB(),qn=[239,187,191];class $z extends $ue{state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0;super(e);if(this.state=e.eventSourceSettings||{},e.push)this.push=e.push}_transform(e,t,r){if(e.length===0){r();return}if(this.buffer)this.buffer=Buffer.concat([this.buffer,e]);else this.buffer=e;if(this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===qn[0]){r();return}this.checkBOM=!1,r();return;case 2:if(this.buffer[0]===qn[0]&&this.buffer[1]===qn[1]){r();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===qn[0]&&this.buffer[1]===qn[1]&&this.buffer[2]===qn[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,r();return}this.checkBOM=!1;break;default:if(this.buffer[0]===qn[0]&&this.buffer[1]===qn[1]&&this.buffer[2]===qn[2])this.buffer=this.buffer.subarray(3);this.checkBOM=!1;break}while(this.pos<this.buffer.length){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===10){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===10||this.buffer[this.pos]===13){if(this.buffer[this.pos]===13)this.crlfCheck=!0;if(this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.event.data!==void 0||this.event.event||this.event.id||this.event.retry)this.processEvent(this.event);this.clearEvent();continue}this.eventEndCheck=!1;continue}if(this.buffer[this.pos]===10||this.buffer[this.pos]===13){if(this.buffer[this.pos]===13)this.crlfCheck=!0;this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}r()}parseLine(e,t){if(e.length===0)return;let r=e.indexOf(58);if(r===0)return;let n="",i="";if(r!==-1){n=e.subarray(0,r).toString("utf8");let o=r+1;if(e[o]===32)++o;i=e.subarray(o).toString("utf8")}else n=e.toString("utf8"),i="";switch(n){case"data":if(t[n]===void 0)t[n]=i;else t[n]+=`
|
|
119
|
+
${i}`;break;case"retry":if(Oz(i))t[n]=i;break;case"id":if(Pz(i))t[n]=i;break;case"event":if(i.length>0)t[n]=i;break}}processEvent(e){if(e.retry&&Oz(e.retry))this.state.reconnectionTime=parseInt(e.retry,10);if(e.id&&Pz(e.id))this.state.lastEventId=e.id;if(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}}}Gz.exports={EventSourceStream:$z}});var Zz=C((tUe,Wz)=>{var{pipeline:Gue}=v("node:stream"),{fetching:Hue}=_u(),{makeRequest:zue}=Na(),{webidl:Vn}=wt(),{EventSourceStream:jue}=Hz(),{parseMIMEType:Yue}=qt(),{createFastMessageEvent:Jue}=Pa(),{isNetworkError:zz}=Su(),{delay:que}=PB(),{kEnumerableProperty:Po}=oe(),{environmentSettingsObject:jz}=ur(),Yz=!1,Jz=3000,zu=0,qz=1,ju=2,Vue="anonymous",Wue="use-credentials";class ja extends EventTarget{#e={open:null,error:null,message:null};#t=null;#r=!1;#n=zu;#i=null;#a=null;#o;#u;constructor(e,t={}){super();Vn.util.markAsUncloneable(this);let r="EventSource constructor";if(Vn.argumentLengthCheck(arguments,1,r),!Yz)Yz=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"});e=Vn.converters.USVString(e,r,"url"),t=Vn.converters.EventSourceInitDict(t,r,"eventSourceInitDict"),this.#o=t.dispatcher,this.#u={lastEventId:"",reconnectionTime:Jz};let n=jz,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#u.origin=i.origin}catch(a){throw new DOMException(a,"SyntaxError")}this.#t=i.href;let o=Vue;if(t.withCredentials)o=Wue,this.#r=!0;let s={redirect:"follow",keepalive:!0,mode:"cors",credentials:o==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};s.client=jz.settingsObject,s.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],s.cache="no-store",s.initiator="other",s.urlList=[new URL(this.#t)],this.#i=zue(s),this.#A()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#r}#A(){if(this.#n===ju)return;this.#n=zu;let e={request:this.#i,dispatcher:this.#o},t=(r)=>{if(zz(r))this.dispatchEvent(new Event("error")),this.close();this.#c()};e.processResponseEndOfBody=t,e.processResponse=(r)=>{if(zz(r))if(r.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=r.headersList.get("content-type",!0),i=n!==null?Yue(n):"failure",o=i!=="failure"&&i.essence==="text/event-stream";if(r.status!==200||o===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=qz,this.dispatchEvent(new Event("open")),this.#u.origin=r.urlList[r.urlList.length-1].origin;let s=new jue({eventSourceSettings:this.#u,push:(a)=>{this.dispatchEvent(Jue(a.type,a.options))}});Gue(r.body.stream,s,(a)=>{if(a?.aborted===!1)this.close(),this.dispatchEvent(new Event("error"))})},this.#a=Hue(e)}async#c(){if(this.#n===ju)return;if(this.#n=zu,this.dispatchEvent(new Event("error")),await que(this.#u.reconnectionTime),this.#n!==zu)return;if(this.#u.lastEventId.length)this.#i.headersList.set("last-event-id",this.#u.lastEventId,!0);this.#A()}close(){if(Vn.brandCheck(this,ja),this.#n===ju)return;this.#n=ju,this.#a.abort(),this.#i=null}get onopen(){return this.#e.open}set onopen(e){if(this.#e.open)this.removeEventListener("open",this.#e.open);if(typeof e==="function")this.#e.open=e,this.addEventListener("open",e);else this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){if(this.#e.message)this.removeEventListener("message",this.#e.message);if(typeof e==="function")this.#e.message=e,this.addEventListener("message",e);else this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){if(this.#e.error)this.removeEventListener("error",this.#e.error);if(typeof e==="function")this.#e.error=e,this.addEventListener("error",e);else this.#e.error=null}}var Vz={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:zu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:qz,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:ju,writable:!1}};Object.defineProperties(ja,Vz);Object.defineProperties(ja.prototype,Vz);Object.defineProperties(ja.prototype,{close:Po,onerror:Po,onmessage:Po,onopen:Po,readyState:Po,url:Po,withCredentials:Po});Vn.converters.EventSourceInitDict=Vn.dictionaryConverter([{key:"withCredentials",converter:Vn.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:Vn.converters.any}]);Wz.exports={EventSource:ja,defaultReconnectionTime:Jz}});var tj=C((kAe,V)=>{var Zue=Ca(),Kz=ql(),Kue=ya(),Xue=b$(),eAe=Ba(),tAe=Ny(),rAe=Z$(),nAe=i2(),Xz=fe(),dg=oe(),{InvalidArgumentError:Ag}=Xz,Ya=Z2(),iAe=Wl(),oAe=oB(),sAe=M1(),aAe=aB(),cAe=qy(),lAe=Bf(),{getGlobalDispatcher:ej,setGlobalDispatcher:uAe}=Rf(),AAe=Df(),dAe=df(),pAe=pf();Object.assign(Kz.prototype,Ya);kAe.Dispatcher=Kz;kAe.Client=Zue;kAe.Pool=Kue;kAe.BalancedPool=Xue;kAe.Agent=eAe;kAe.ProxyAgent=tAe;kAe.EnvHttpProxyAgent=rAe;kAe.RetryAgent=nAe;kAe.RetryHandler=lAe;kAe.DecoratorHandler=AAe;kAe.RedirectHandler=dAe;kAe.createRedirectInterceptor=pAe;kAe.interceptors={redirect:z1(),retry:Y1(),dump:V1(),dns:eG()};kAe.buildConnector=iAe;kAe.errors=Xz;kAe.util={parseHeaders:dg.parseHeaders,headerNameToString:dg.headerNameToString};function Yu(e){return(t,r,n)=>{if(typeof r==="function")n=r,r=null;if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL))throw new Ag("invalid url");if(r!=null&&typeof r!=="object")throw new Ag("invalid opts");if(r&&r.path!=null){if(typeof r.path!=="string")throw new Ag("invalid opts.path");let s=r.path;if(!r.path.startsWith("/"))s=`/${s}`;t=new URL(dg.parseOrigin(t).origin+s)}else{if(!r)r=typeof t==="object"?t:{};t=dg.parseURL(t)}let{agent:i,dispatcher:o=ej()}=r;if(i)throw new Ag("unsupported opts.agent. Did you mean opts.client?");return e.call(o,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}kAe.setGlobalDispatcher=uAe;kAe.getGlobalDispatcher=ej;var fAe=_u().fetch;kAe.fetch=async function(t,r=void 0){try{return await fAe(t,r)}catch(n){if(n&&typeof n==="object")Error.captureStackTrace(n);throw n}};kAe.Headers=No().Headers;kAe.Response=Su().Response;kAe.Request=Na().Request;kAe.FormData=ru().FormData;kAe.File=globalThis.File??v("node:buffer").File;kAe.FileReader=EH().FileReader;var{setGlobalOrigin:gAe,getGlobalOrigin:hAe}=YC();kAe.setGlobalOrigin=gAe;kAe.getGlobalOrigin=hAe;var{CacheStorage:mAe}=wH(),{kConstruct:EAe}=Kf();kAe.caches=new mAe(EAe);var{deleteCookie:IAe,getCookies:CAe,getSetCookies:yAe,setCookie:BAe}=OH();kAe.deleteCookie=IAe;kAe.getCookies=CAe;kAe.getSetCookies=yAe;kAe.setCookie=BAe;var{parseMIMEType:bAe,serializeAMimeType:QAe}=qt();kAe.parseMIMEType=bAe;kAe.serializeAMimeType=QAe;var{CloseEvent:vAe,ErrorEvent:xAe,MessageEvent:wAe}=Pa();kAe.WebSocket=Mz().WebSocket;kAe.CloseEvent=vAe;kAe.ErrorEvent=xAe;kAe.MessageEvent=wAe;kAe.request=Yu(Ya.request);kAe.stream=Yu(Ya.stream);kAe.pipeline=Yu(Ya.pipeline);kAe.connect=Yu(Ya.connect);kAe.upgrade=Yu(Ya.upgrade);kAe.MockClient=oAe;kAe.MockPool=aAe;kAe.MockAgent=sAe;kAe.mockErrors=cAe;var{EventSource:SAe}=Zz();kAe.EventSource=SAe});function ac(e,t){return function(){return e.apply(t,arguments)}}var{toString:ZY}=Object.prototype,{getPrototypeOf:TA}=Object,{iterator:NA,toStringTag:kw}=Symbol,FA=((e)=>(t)=>{let r=ZY.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Mr=(e)=>(e=e.toLowerCase(),(t)=>FA(t)===e),UA=(e)=>(t)=>typeof t===e,{isArray:es}=Array,Xo=UA("undefined");function cc(e){return e!==null&&!Xo(e)&&e.constructor!==null&&!Xo(e.constructor)&&Ht(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var _w=Mr("ArrayBuffer");function KY(e){let t;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)t=ArrayBuffer.isView(e);else t=e&&e.buffer&&_w(e.buffer);return t}var XY=UA("string"),Ht=UA("function"),Rw=UA("number"),lc=(e)=>e!==null&&typeof e==="object",eJ=(e)=>e===!0||e===!1,DA=(e)=>{if(FA(e)!=="object")return!1;let t=TA(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(kw in e)&&!(NA in e)},tJ=(e)=>{if(!lc(e)||cc(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},rJ=Mr("Date"),nJ=Mr("File"),iJ=(e)=>!!(e&&typeof e.uri<"u"),oJ=(e)=>e&&typeof e.getParts<"u",sJ=Mr("Blob"),aJ=Mr("FileList"),cJ=(e)=>lc(e)&&Ht(e.pipe);function lJ(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}var xw=lJ(),ww=typeof xw.FormData<"u"?xw.FormData:void 0,uJ=(e)=>{if(!e)return!1;if(ww&&e instanceof ww)return!0;let t=TA(e);if(!t||t===Object.prototype)return!1;if(!Ht(e.append))return!1;let r=FA(e);return r==="formdata"||r==="object"&&Ht(e.toString)&&e.toString()==="[object FormData]"},AJ=Mr("URLSearchParams"),[dJ,pJ,fJ,gJ]=["ReadableStream","Request","Response","Headers"].map(Mr),hJ=(e)=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function uc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!=="object")e=[e];if(es(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(cc(e))return;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length,a;for(n=0;n<s;n++)a=o[n],t.call(null,e[a],a,e)}}function Dw(e,t){if(cc(e))return null;t=t.toLowerCase();let r=Object.keys(e),n=r.length,i;while(n-- >0)if(i=r[n],t===i.toLowerCase())return i;return null}var ji=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),Tw=(e)=>!Xo(e)&&e!==ji;function Eh(){let{caseless:e,skipUndefined:t}=Tw(this)&&this||{},r={},n=(i,o)=>{if(o==="__proto__"||o==="constructor"||o==="prototype")return;let s=e&&Dw(r,o)||o;if(DA(r[s])&&DA(i))r[s]=Eh(r[s],i);else if(DA(i))r[s]=Eh({},i);else if(es(i))r[s]=i.slice();else if(!t||!Xo(i))r[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&uc(arguments[i],n);return r}var mJ=(e,t,r,{allOwnKeys:n}={})=>(uc(t,(i,o)=>{if(r&&Ht(i))Object.defineProperty(e,o,{value:ac(i,r),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(e,o,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),EJ=(e)=>{if(e.charCodeAt(0)===65279)e=e.slice(1);return e},IJ=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},CJ=(e,t,r,n)=>{let i,o,s,a={};if(t=t||{},e==null)return t;do{i=Object.getOwnPropertyNames(e),o=i.length;while(o-- >0)if(s=i[o],(!n||n(s,e,t))&&!a[s])t[s]=e[s],a[s]=!0;e=r!==!1&&TA(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},yJ=(e,t,r)=>{if(e=String(e),r===void 0||r>e.length)r=e.length;r-=t.length;let n=e.indexOf(t,r);return n!==-1&&n===r},BJ=(e)=>{if(!e)return null;if(es(e))return e;let t=e.length;if(!Rw(t))return null;let r=Array(t);while(t-- >0)r[t]=e[t];return r},bJ=((e)=>(t)=>e&&t instanceof e)(typeof Uint8Array<"u"&&TA(Uint8Array)),QJ=(e,t)=>{let n=(e&&e[NA]).call(e),i;while((i=n.next())&&!i.done){let o=i.value;t.call(e,o[0],o[1])}},vJ=(e,t)=>{let r,n=[];while((r=e.exec(t))!==null)n.push(r);return n},xJ=Mr("HTMLFormElement"),wJ=(e)=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),Sw=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),SJ=Mr("RegExp"),Nw=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};uc(r,(i,o)=>{let s;if((s=t(i,o,e))!==!1)n[o]=s||i}),Object.defineProperties(e,n)},kJ=(e)=>{Nw(e,(t,r)=>{if(Ht(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let n=e[r];if(!Ht(n))return;if(t.enumerable=!1,"writable"in t){t.writable=!1;return}if(!t.set)t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}})},_J=(e,t)=>{let r={},n=(i)=>{i.forEach((o)=>{r[o]=!0})};return es(e)?n(e):n(String(e).split(t)),r},RJ=()=>{},DJ=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function TJ(e){return!!(e&&Ht(e.append)&&e[kw]==="FormData"&&e[NA])}var NJ=(e)=>{let t=[,,,,,,,,,,],r=(n,i)=>{if(lc(n)){if(t.indexOf(n)>=0)return;if(cc(n))return n;if(!("toJSON"in n)){t[i]=n;let o=es(n)?[]:{};return uc(n,(s,a)=>{let c=r(s,i+1);!Xo(c)&&(o[a]=c)}),t[i]=void 0,o}}return n};return r(e,0)},FJ=Mr("AsyncFunction"),UJ=(e)=>e&&(lc(e)||Ht(e))&&Ht(e.then)&&Ht(e.catch),Fw=((e,t)=>{if(e)return setImmediate;return t?((r,n)=>(ji.addEventListener("message",({source:i,data:o})=>{if(i===ji&&o===r)n.length&&n.shift()()},!1),(i)=>{n.push(i),ji.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):(r)=>setTimeout(r)})(typeof setImmediate==="function",Ht(ji.postMessage)),MJ=typeof queueMicrotask<"u"?queueMicrotask.bind(ji):typeof process<"u"&&process.nextTick||Fw,LJ=(e)=>e!=null&&Ht(e[NA]),E={isArray:es,isArrayBuffer:_w,isBuffer:cc,isFormData:uJ,isArrayBufferView:KY,isString:XY,isNumber:Rw,isBoolean:eJ,isObject:lc,isPlainObject:DA,isEmptyObject:tJ,isReadableStream:dJ,isRequest:pJ,isResponse:fJ,isHeaders:gJ,isUndefined:Xo,isDate:rJ,isFile:nJ,isReactNativeBlob:iJ,isReactNative:oJ,isBlob:sJ,isRegExp:SJ,isFunction:Ht,isStream:cJ,isURLSearchParams:AJ,isTypedArray:bJ,isFileList:aJ,forEach:uc,merge:Eh,extend:mJ,trim:hJ,stripBOM:EJ,inherits:IJ,toFlatObject:CJ,kindOf:FA,kindOfTest:Mr,endsWith:yJ,toArray:BJ,forEachEntry:QJ,matchAll:vJ,isHTMLForm:xJ,hasOwnProperty:Sw,hasOwnProp:Sw,reduceDescriptors:Nw,freezeMethods:kJ,toObjectSet:_J,toCamelCase:wJ,noop:RJ,toFiniteNumber:DJ,findKey:Dw,global:ji,isContextDefined:Tw,isSpecCompliantForm:TJ,toJSONObject:NJ,isAsyncFn:FJ,isThenable:UJ,setImmediate:Fw,asap:MJ,isIterable:LJ};class kt extends Error{static from(e,t,r,n,i,o){let s=new kt(e.message,t||e.code,r,n,i);if(s.cause=e,s.name=e.name,e.status!=null&&s.status==null)s.status=e.status;return o&&Object.assign(s,o),s}constructor(e,t,r,n,i){super(e);if(Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i)this.response=i,this.status=i.status}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.status}}}kt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";kt.ERR_BAD_OPTION="ERR_BAD_OPTION";kt.ECONNABORTED="ECONNABORTED";kt.ETIMEDOUT="ETIMEDOUT";kt.ERR_NETWORK="ERR_NETWORK";kt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";kt.ERR_DEPRECATED="ERR_DEPRECATED";kt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";kt.ERR_BAD_REQUEST="ERR_BAD_REQUEST";kt.ERR_CANCELED="ERR_CANCELED";kt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";kt.ERR_INVALID_URL="ERR_INVALID_URL";kt.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var T=kt;var Lk=sc(Mk(),1),JA=Lk.default;function Gh(e){return E.isPlainObject(e)||E.isArray(e)}function Ok(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function $h(e,t,r){if(!e)return t;return e.concat(t).map(function(i,o){return i=Ok(i),!r&&o?"["+i+"]":i}).join(r?".":"")}function wV(e){return E.isArray(e)&&!e.some(Gh)}var SV=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function kV(e,t,r){if(!E.isObject(e))throw TypeError("target must be an object");t=t||new(JA||FormData),r=E.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!E.isUndefined(m[g])});let n=r.metaTokens,i=r.visitor||d,o=r.dots,s=r.indexes,a=r.Blob||typeof Blob<"u"&&Blob,c=r.maxDepth===void 0?100:r.maxDepth,u=a&&E.isSpecCompliantForm(t);if(!E.isFunction(i))throw TypeError("visitor must be a function");function l(h){if(h===null)return"";if(E.isDate(h))return h.toISOString();if(E.isBoolean(h))return h.toString();if(!u&&E.isBlob(h))throw new T("Blob is not supported. Use a Buffer instead.");if(E.isArrayBuffer(h)||E.isTypedArray(h))return u&&typeof Blob==="function"?new Blob([h]):Buffer.from(h);return h}function d(h,g,m){let S=h;if(E.isReactNative(t)&&E.isReactNativeBlob(h))return t.append($h(m,g,o),l(h)),!1;if(h&&!m&&typeof h==="object"){if(E.endsWith(g,"{}"))g=n?g:g.slice(0,-2),h=JSON.stringify(h);else if(E.isArray(h)&&wV(h)||(E.isFileList(h)||E.endsWith(g,"[]"))&&(S=E.toArray(h)))return g=Ok(g),S.forEach(function(I,P){!(E.isUndefined(I)||I===null)&&t.append(s===!0?$h([g],P,o):s===null?g:g+"[]",l(I))}),!1}if(Gh(h))return!0;return t.append($h(m,g,o),l(h)),!1}let A=[],p=Object.assign(SV,{defaultVisitor:d,convertValue:l,isVisitable:Gh});function f(h,g,m=0){if(E.isUndefined(h))return;if(m>c)throw new T("Object is too deeply nested ("+m+" levels). Max depth: "+c,T.ERR_FORM_DATA_DEPTH_EXCEEDED);if(A.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));A.push(h),E.forEach(h,function(b,I){if((!(E.isUndefined(b)||b===null)&&i.call(t,b,E.isString(I)?I.trim():I,g,p))===!0)f(b,g?g.concat(I):[I],m+1)}),A.pop()}if(!E.isObject(e))throw TypeError("data must be an object");return f(e),t}var si=kV;function Pk(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function $k(e,t){this._pairs=[],e&&si(e,this,t)}var Gk=$k.prototype;Gk.append=function(t,r){this._pairs.push([t,r])};Gk.toString=function(t){let r=t?function(n){return t.call(this,n,Pk)}:Pk;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var Hk=$k;function _V(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ji(e,t,r){if(!t)return e;let n=r&&r.encode||_V,i=E.isFunction(r)?{serialize:r}:r,o=i&&i.serialize,s;if(o)s=o(t,i);else s=E.isURLSearchParams(t)?t.toString():new Hk(t,i).toString(n);if(s){let a=e.indexOf("#");if(a!==-1)e=e.slice(0,a);e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class zk{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){if(this.handlers[e])this.handlers[e]=null}clear(){if(this.handlers)this.handlers=[]}forEach(e){E.forEach(this.handlers,function(r){if(r!==null)e(r)})}}var Hh=zk;var ai={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};import DV from"crypto";import RV from"url";var jk=RV.URLSearchParams;var zh="abcdefghijklmnopqrstuvwxyz",Yk="0123456789",Jk={DIGIT:Yk,ALPHA:zh,ALPHA_DIGIT:zh+zh.toUpperCase()+Yk},TV=(e=16,t=Jk.ALPHA_DIGIT)=>{let r="",{length:n}=t,i=new Uint32Array(e);DV.randomFillSync(i);for(let o=0;o<e;o++)r+=t[i[o]%n];return r},qk={isNode:!0,classes:{URLSearchParams:jk,FormData:JA,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Jk,generateString:TV,protocols:["http","https","file","data"]};var Jh={};Ur(Jh,{origin:()=>UV,navigator:()=>jh,hasStandardBrowserWebWorkerEnv:()=>FV,hasStandardBrowserEnv:()=>NV,hasBrowserEnv:()=>Yh});var Yh=typeof window<"u"&&typeof document<"u",jh=typeof navigator==="object"&&navigator||void 0,NV=Yh&&(!jh||["ReactNative","NativeScript","NS"].indexOf(jh.product)<0),FV=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")(),UV=Yh&&window.location.href||"http://localhost";var pe={...Jh,...qk};function qh(e,t){return si(e,new pe.classes.URLSearchParams,{visitor:function(r,n,i,o){if(pe.isNode&&E.isBuffer(r))return this.append(n,r.toString("base64")),!1;return o.defaultVisitor.apply(this,arguments)},...t})}function MV(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map((t)=>t[0]==="[]"?"":t[1]||t[0])}function LV(e){let t={},r=Object.keys(e),n,i=r.length,o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}function OV(e){function t(r,n,i,o){let s=r[o++];if(s==="__proto__")return!0;let a=Number.isFinite(+s),c=o>=r.length;if(s=!s&&E.isArray(i)?i.length:s,c){if(E.hasOwnProp(i,s))i[s]=E.isArray(i[s])?i[s].concat(n):[i[s],n];else i[s]=n;return!a}if(!i[s]||!E.isObject(i[s]))i[s]=[];if(t(r,n,i[s],o)&&E.isArray(i[s]))i[s]=LV(i[s]);return!a}if(E.isFormData(e)&&E.isFunction(e.entries)){let r={};return E.forEachEntry(e,(n,i)=>{t(MV(n),i,r,0)}),r}return null}var qA=OV;var os=(e,t)=>e!=null&&E.hasOwnProp(e,t)?e[t]:void 0;function PV(e,t,r){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var Vh={transitional:ai,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=E.isObject(t);if(o&&E.isHTMLForm(t))t=new FormData(t);if(E.isFormData(t))return i?JSON.stringify(qA(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){let c=os(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return qh(t,c).toString();if((a=E.isFileList(t))||n.indexOf("multipart/form-data")>-1){let u=os(this,"env"),l=u&&u.FormData;return si(a?{"files[]":t}:t,l&&new l,c)}}if(o||i)return r.setContentType("application/json",!1),PV(t);return t}],transformResponse:[function(t){let r=os(this,"transitional")||Vh.transitional,n=r&&r.forcedJSONParsing,i=os(this,"responseType"),o=i==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(n&&!i||o)){let a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,os(this,"parseReviver"))}catch(c){if(a){if(c.name==="SyntaxError")throw T.from(c,T.ERR_BAD_RESPONSE,this,null,os(this,"response"));throw c}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],(e)=>{Vh.headers[e]={}});var ss=Vh;var $V=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vk=(e)=>{let t={},r,n,i;return e&&e.split(`
|
|
120
|
+
`).forEach(function(s){if(i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!r||t[r]&&$V[r])return;if(r==="set-cookie")if(t[r])t[r].push(n);else t[r]=[n];else t[r]=t[r]?t[r]+", "+n:n}),t};var Wk=Symbol("internals"),GV=/[^\x09\x20-\x7E\x80-\xFF]/g;function HV(e){let t=0,r=e.length;while(t<r){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}while(r>t){let n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}function gc(e){return e&&String(e).trim().toLowerCase()}function zV(e){return HV(e.replace(GV,""))}function VA(e){if(e===!1||e==null)return e;return E.isArray(e)?e.map(VA):zV(String(e))}function jV(e){let t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;while(n=r.exec(e))t[n[1]]=n[2];return t}var YV=(e)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Wh(e,t,r,n,i){if(E.isFunction(n))return n.call(this,t,r);if(i)t=r;if(!E.isString(t))return;if(E.isString(n))return t.indexOf(n)!==-1;if(E.isRegExp(n))return n.test(t)}function JV(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function qV(e,t){let r=E.toCamelCase(" "+t);["get","set","has"].forEach((n)=>{Object.defineProperty(e,n+r,{value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}class hc{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(s,a,c){let u=gc(a);if(!u)throw Error("header name must be a non-empty string");let l=E.findKey(n,u);if(!l||n[l]===void 0||c===!0||c===void 0&&n[l]!==!1)n[l||a]=VA(s)}let o=(s,a)=>E.forEach(s,(c,u)=>i(c,u,a));if(E.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(E.isString(e)&&(e=e.trim())&&!YV(e))o(Vk(e),t);else if(E.isObject(e)&&E.isIterable(e)){let s={},a,c;for(let u of e){if(!E.isArray(u))throw TypeError("Object iterator must return a key-value pair");s[c=u[0]]=(a=s[c])?E.isArray(a)?[...a,u[1]]:[a,u[1]]:u[1]}o(s,t)}else e!=null&&i(t,e,r);return this}get(e,t){if(e=gc(e),e){let r=E.findKey(this,e);if(r){let n=this[r];if(!t)return n;if(t===!0)return jV(n);if(E.isFunction(t))return t.call(this,n,r);if(E.isRegExp(t))return t.exec(n);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=gc(e),e){let r=E.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||Wh(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(o){if(o=gc(o),o){let s=E.findKey(r,o);if(s&&(!t||Wh(r,r[s],s,t)))delete r[s],n=!0}}if(E.isArray(e))e.forEach(i);else i(e);return n}clear(e){let t=Object.keys(this),r=t.length,n=!1;while(r--){let i=t[r];if(!e||Wh(this,this[i],i,e,!0))delete this[i],n=!0}return n}normalize(e){let t=this,r={};return E.forEach(this,(n,i)=>{let o=E.findKey(r,i);if(o){t[o]=VA(n),delete t[i];return}let s=e?JV(i):String(i).trim();if(s!==i)delete t[i];t[s]=VA(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return E.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=e&&E.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
|
|
121
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach((n)=>r.set(n)),r}static accessor(e){let r=(this[Wk]=this[Wk]={accessors:{}}).accessors,n=this.prototype;function i(o){let s=gc(o);if(!r[s])qV(n,o),r[s]=!0}return E.isArray(e)?e.forEach(i):i(e),this}}hc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(hc.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});E.freezeMethods(hc);var ze=hc;function mc(e,t){let r=this||ss,n=t||r,i=ze.from(n.headers),o=n.data;return E.forEach(e,function(a){o=a.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Ec(e){return!!(e&&e.__CANCEL__)}class Zk extends T{constructor(e,t,r){super(e==null?"canceled":e,T.ERR_CANCELED,t,r);this.name="CanceledError",this.__CANCEL__=!0}}var nr=Zk;function rn(e,t,r){let n=r.config.validateStatus;if(!r.status||!n||n(r.status))e(r);else t(new T("Request failed with status code "+r.status,[T.ERR_BAD_REQUEST,T.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Zh(e){if(typeof e!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Kh(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qi(e,t,r){let n=!Zh(t);if(e&&(n||r===!1))return Kh(e,t);return t}var VV={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function WV(e){try{return new URL(e)}catch{return null}}function Kk(e){var t=(typeof e==="string"?WV(e):e)||{},r=t.protocol,n=t.host,i=t.port;if(typeof n!=="string"||!n||typeof r!=="string")return"";if(r=r.split(":",1)[0],n=n.replace(/:\d*$/,""),i=parseInt(i)||VV[r]||0,!ZV(n,i))return"";var o=Xh(r+"_proxy")||Xh("all_proxy");if(o&&o.indexOf("://")===-1)o=r+"://"+o;return o}function ZV(e,t){var r=Xh("no_proxy").toLowerCase();if(!r)return!0;if(r==="*")return!1;return r.split(/[,\s]/).every(function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),o=i?i[1]:n,s=i?parseInt(i[2]):0;if(s&&s!==t)return!0;if(!/^[.*]/.test(o))return e!==o;if(o.charAt(0)==="*")o=o.slice(1);return!e.endsWith(o)})}function Xh(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var $_=sc(I_(),1);import p4 from"http";import f4 from"https";import O_ from"http2";import P_ from"util";import{resolve as D_}from"path";import ci from"zlib";var Xi="1.15.2";function bc(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}var WW=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function gm(e,t,r){let n=r&&r.Blob||pe.classes.Blob,i=bc(e);if(t===void 0&&n)t=!0;if(i==="data"){e=i.length?e.slice(i.length+1):e;let o=WW.exec(e);if(!o)throw new T("Invalid URL",T.ERR_INVALID_URL);let s=o[1],a=o[2],c=o[3],u=Buffer.from(decodeURIComponent(c),a?"base64":"utf8");if(t){if(!n)throw new T("Blob is not supported",T.ERR_NOT_SUPPORT);return new n([u],{type:s})}return u}throw new T("Unsupported protocol "+i,T.ERR_NOT_SUPPORT)}import Or from"stream";import ZW from"stream";var hm=Symbol("internals");class C_ extends ZW.Transform{constructor(e){e=E.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(r,n)=>!E.isUndefined(n[r]));super({readableHighWaterMark:e.chunkSize});let t=this[hm]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(r)=>{if(r==="progress"){if(!t.isCaptured)t.isCaptured=!0}})}_read(e){let t=this[hm];if(t.onReadCallback)t.onReadCallback();return super._read(e)}_transform(e,t,r){let n=this[hm],i=n.maxRate,o=this.readableHighWaterMark,s=n.timeWindow,a=1000/s,c=i/a,u=n.minChunkSize!==!1?Math.max(n.minChunkSize,c*0.01):0,l=(A,p)=>{let f=Buffer.byteLength(A);if(n.bytesSeen+=f,n.bytes+=f,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(A))process.nextTick(p);else n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(p)}},d=(A,p)=>{let f=Buffer.byteLength(A),h=null,g=o,m,S=0;if(i){let b=Date.now();if(!n.ts||(S=b-n.ts)>=s)n.ts=b,m=c-n.bytes,n.bytes=m<0?-m:0,S=0;m=c-n.bytes}if(i){if(m<=0)return setTimeout(()=>{p(null,A)},s-S);if(m<g)g=m}if(g&&f>g&&f-g>u)h=A.subarray(g),A=A.subarray(0,g);l(A,h?()=>{process.nextTick(p,null,h)}:p)};d(e,function A(p,f){if(p)return r(p);if(f)d(f,A);else r(null)})}}var mm=C_;import{EventEmitter as g4}from"events";import XW from"util";import{Readable as e4}from"stream";var{asyncIterator:y_}=Symbol,KW=async function*(e){if(e.stream)yield*e.stream();else if(e.arrayBuffer)yield await e.arrayBuffer();else if(e[y_])yield*e[y_]();else yield e},nd=KW;var t4=pe.ALPHABET.ALPHA_DIGIT+"-_",Qc=typeof TextEncoder==="function"?new TextEncoder:new XW.TextEncoder,eo=`\r
|
|
122
|
+
`,r4=Qc.encode(eo),n4=2;class B_{constructor(e,t){let{escapeName:r}=this.constructor,n=E.isString(t),i=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}${eo}`;if(n)t=Qc.encode(String(t).replace(/\r?\n|\r\n?/g,eo));else{let o=String(t.type||"application/octet-stream").replace(/[\r\n]/g,"");i+=`Content-Type: ${o}${eo}`}this.headers=Qc.encode(i+eo),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+n4,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;if(E.isTypedArray(e))yield e;else yield*nd(e);yield r4}static escapeName(e){return String(e).replace(/[\r\n"]/g,(t)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}}var i4=(e,t,r)=>{let{tag:n="form-data-boundary",size:i=25,boundary:o=n+"-"+pe.generateString(i,t4)}=r||{};if(!E.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");let s=Qc.encode("--"+o+eo),a=Qc.encode("--"+o+"--"+eo),c=a.byteLength,u=Array.from(e.entries()).map(([d,A])=>{let p=new B_(d,A);return c+=p.size,p});c+=s.byteLength*u.length,c=E.toFiniteNumber(c);let l={"Content-Type":`multipart/form-data; boundary=${o}`};if(Number.isFinite(c))l["Content-Length"]=c;return t&&t(l),e4.from(async function*(){for(let d of u)yield s,yield*d.encode();yield a}())},b_=i4;import o4 from"stream";class Q_ extends o4.Transform{__transform(e,t,r){this.push(e),r()}_transform(e,t,r){if(e.length!==0){if(this._transform=this.__transform,e[0]!==120){let n=Buffer.alloc(2);n[0]=120,n[1]=156,this.push(n,t)}}this.__transform(e,t,r)}}var v_=Q_;var s4=(e,t)=>E.isAsyncFn(e)?function(...r){let n=r.pop();e.apply(this,r).then((i)=>{try{t?n(null,...t(i)):n(null,i)}catch(o){n(o)}},n)}:e,x_=s4;var a4=new Set(["localhost"]),k_=(e)=>{let t=e.split(".");if(t.length!==4)return!1;if(t[0]!=="127")return!1;return t.every((r)=>/^\d+$/.test(r)&&Number(r)>=0&&Number(r)<=255)},c4=(e)=>{if(e==="::1")return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return k_(t[1]);let r=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(r){let i=parseInt(r[1],16);return i>=32512&&i<=32767}let n=e.split(":");if(n.length===8){for(let i=0;i<7;i++)if(!/^0+$/.test(n[i]))return!1;return/^0*1$/.test(n[7])}return!1},w_=(e)=>{if(!e)return!1;if(a4.has(e))return!0;if(k_(e))return!0;return c4(e)},l4={http:80,https:443,ws:80,wss:443,ftp:21},u4=(e)=>{let t=e,r=0;if(t.charAt(0)==="["){let o=t.indexOf("]");if(o!==-1){let s=t.slice(1,o),a=t.slice(o+1);if(a.charAt(0)===":"&&/^\d+$/.test(a.slice(1)))r=Number.parseInt(a.slice(1),10);return[s,r]}}let n=t.indexOf(":"),i=t.lastIndexOf(":");if(n!==-1&&n===i&&/^\d+$/.test(t.slice(i+1)))r=Number.parseInt(t.slice(i+1),10),t=t.slice(0,i);return[t,r]},S_=(e)=>{if(!e)return e;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]")e=e.slice(1,-1);return e.replace(/\.+$/,"")};function Em(e){let t;try{t=new URL(e)}catch(o){return!1}let r=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!r)return!1;if(r==="*")return!0;let n=Number.parseInt(t.port,10)||l4[t.protocol.split(":",1)[0]]||0,i=S_(t.hostname.toLowerCase());return r.split(/[\s,]+/).some((o)=>{if(!o)return!1;let[s,a]=u4(o);if(s=S_(s),!s)return!1;if(a&&a!==n)return!1;if(s.charAt(0)==="*")s=s.slice(1);if(s.charAt(0)===".")return i.endsWith(s);return i===s||w_(i)&&w_(s)})}function A4(e,t){e=e||10;let r=Array(e),n=Array(e),i=0,o=0,s;return t=t!==void 0?t:1000,function(c){let u=Date.now(),l=n[o];if(!s)s=u;r[i]=c,n[i]=u;let d=o,A=0;while(d!==i)A+=r[d++],d=d%e;if(i=(i+1)%e,i===o)o=(o+1)%e;if(u-s<t)return;let p=l&&u-l;return p?Math.round(A*1000/p):void 0}}var __=A4;function d4(e,t){let r=0,n=1000/t,i,o,s=(u,l=Date.now())=>{if(r=l,i=null,o)clearTimeout(o),o=null;e(...u)};return[(...u)=>{let l=Date.now(),d=l-r;if(d>=n)s(u,l);else if(i=u,!o)o=setTimeout(()=>{o=null,s(i)},n-d)},()=>i&&s(i)]}var R_=d4;var bn=(e,t,r=3)=>{let n=0,i=__(50,250);return R_((o)=>{let s=o.loaded,a=o.lengthComputable?o.total:void 0,c=a!=null?Math.min(s,a):s,u=Math.max(0,c-n),l=i(u);n=Math.max(n,c);let d={loaded:c,total:a,progress:a?c/a:void 0,bytes:u,rate:l?l:void 0,estimated:l&&a?(a-c)/l:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},r)},us=(e,t)=>{let r=e!=null;return[(n)=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},As=(e)=>(...t)=>E.asap(()=>e(...t));function Im(e){if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;let t=e.indexOf(",");if(t<0)return 0;let r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let{length:o,length:s}=n;for(let A=0;A<s;A++)if(n.charCodeAt(A)===37&&A+2<s){let p=n.charCodeAt(A+1),f=n.charCodeAt(A+2);if((p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102)&&(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102))o-=2,A+=2}let a=0,c=s-1,u=(A)=>A>=2&&n.charCodeAt(A-2)===37&&n.charCodeAt(A-1)===51&&(n.charCodeAt(A)===68||n.charCodeAt(A)===100);if(c>=0){if(n.charCodeAt(c)===61)a++,c--;else if(u(c))a++,c-=3}if(a===1&&c>=0){if(n.charCodeAt(c)===61)a++;else if(u(c))a++}let d=Math.floor(o/4)*3-(a||0);return d>0?d:0}return Buffer.byteLength(n,"utf8")}var T_={flush:ci.constants.Z_SYNC_FLUSH,finishFlush:ci.constants.Z_SYNC_FLUSH},h4={flush:ci.constants.BROTLI_OPERATION_FLUSH,finishFlush:ci.constants.BROTLI_OPERATION_FLUSH},N_=E.isFunction(ci.createBrotliDecompress),{http:m4,https:E4}=$_.default,I4=/https:?/,F_=Symbol("axios.http.socketListener"),id=Symbol("axios.http.currentReq"),U_=pe.protocols.map((e)=>e+":"),M_=(e,[t,r])=>(e.on("end",r).on("error",r),t);class G_{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1000},t);let r=this.sessions[e];if(r){let u=r.length;for(let l=0;l<u;l++){let[d,A]=r[l];if(!d.destroyed&&!d.closed&&P_.isDeepStrictEqual(A,t))return d}}let n=O_.connect(e,t),i,o=()=>{if(i)return;i=!0;let u=r,l=u.length,d=l;while(d--)if(u[d][0]===n){if(l===1)delete this.sessions[e];else u.splice(d,1);if(!n.closed)n.close();return}},s=n.request,{sessionTimeout:a}=t;if(a!=null){let u,l=0;n.request=function(){let d=s.apply(this,arguments);if(l++,u)clearTimeout(u),u=null;return d.once("close",()=>{if(!--l)u=setTimeout(()=>{u=null,o()},a)}),d}}n.once("close",o);let c=[n,t];return r?r.push(c):r=this.sessions[e]=[c],n}}var C4=new G_;function y4(e,t){if(e.beforeRedirects.proxy)e.beforeRedirects.proxy(e);if(e.beforeRedirects.config)e.beforeRedirects.config(e,t)}function H_(e,t,r){let n=t;if(!n&&n!==!1){let i=Kk(r);if(i){if(!Em(r))n=new URL(i)}}if(n){if(n.username)n.auth=(n.username||"")+":"+(n.password||"");if(n.auth){if(Boolean(n.auth.username||n.auth.password))n.auth=(n.auth.username||"")+":"+(n.auth.password||"");else if(typeof n.auth==="object")throw new T("Invalid proxy authorization",T.ERR_BAD_OPTION,{proxy:n});let s=Buffer.from(n.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+s}e.headers.host=e.hostname+(e.port?":"+e.port:"");let i=n.hostname||n.host;if(e.hostname=i,e.host=i,e.port=n.port,e.path=r,n.protocol)e.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`}e.beforeRedirects.proxy=function(o){H_(o,t,o.href)}}var B4=typeof process<"u"&&E.kindOf(process)==="process",b4=(e)=>new Promise((t,r)=>{let n,i,o=(c,u)=>{if(i)return;i=!0,n&&n(c,u)},s=(c)=>{o(c),t(c)},a=(c)=>{o(c,!0),r(c)};e(s,a,(c)=>n=c).catch(a)}),Q4=({address:e,family:t})=>{if(!E.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},L_=(e,t)=>Q4(E.isObject(e)?e:{address:e,family:t}),v4={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:i}=e,o=C4.getSession(r,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:u}=O_.constants,l={[s]:e.protocol.replace(":",""),[a]:e.method,[c]:e.path};E.forEach(i,(A,p)=>{p.charAt(0)!==":"&&(l[p]=A)});let d=o.request(l);return d.once("response",(A)=>{let p=d;A=Object.assign({},A);let f=A[u];delete A[u],p.headers=A,p.statusCode=+f,t(p)}),d}},z_=B4&&function(t){return b4(async function(n,i,o){let s=(G)=>E.hasOwnProp(t,G)?t[G]:void 0,a=s("data"),c=s("lookup"),u=s("family"),l=s("httpVersion");if(l===void 0)l=1;let d=s("http2Options"),A=s("responseType"),p=s("responseEncoding"),f=t.method.toUpperCase(),h,g=!1,m;if(l=+l,Number.isNaN(l))throw TypeError(`Invalid protocol version: '${t.httpVersion}' is not a number`);if(l!==1&&l!==2)throw TypeError(`Unsupported protocol version '${l}'`);let S=l===2;if(c){let G=x_(c,($)=>E.isArray($)?$:[$]);c=($,ge,Xe)=>{G($,ge,(Ne,Gt,Bn)=>{if(Ne)return Xe(Ne);let nt=E.isArray(Gt)?Gt.map((Ko)=>L_(Ko)):[L_(Gt,Bn)];ge.all?Xe(Ne,nt):Xe(Ne,nt[0].address,nt[0].family)})}}let b=new g4;function I(G){try{b.emit("abort",!G||G.type?new nr(null,t,m):G)}catch($){console.warn("emit error",$)}}b.once("abort",i);let P=()=>{if(t.cancelToken)t.cancelToken.unsubscribe(I);if(t.signal)t.signal.removeEventListener("abort",I);b.removeAllListeners()};if(t.cancelToken||t.signal){if(t.cancelToken&&t.cancelToken.subscribe(I),t.signal)t.signal.aborted?I():t.signal.addEventListener("abort",I)}o((G,$)=>{if(h=!0,$){g=!0,P();return}let{data:ge}=G;if(ge instanceof Or.Readable||ge instanceof Or.Duplex){let Xe=Or.finished(ge,()=>{Xe(),P()})}else P()});let x=qi(t.baseURL,t.url,t.allowAbsoluteUrls),D=new URL(x,pe.hasBrowserEnv?pe.origin:void 0),le=D.protocol||U_[0];if(le==="data:"){if(t.maxContentLength>-1){let $=String(t.url||x||"");if(Im($)>t.maxContentLength)return i(new T("maxContentLength size of "+t.maxContentLength+" exceeded",T.ERR_BAD_RESPONSE,t))}let G;if(f!=="GET")return rn(n,i,{status:405,statusText:"method not allowed",headers:{},config:t});try{G=gm(t.url,A==="blob",{Blob:t.env&&t.env.Blob})}catch($){throw T.from($,T.ERR_BAD_REQUEST,t)}if(A==="text"){if(G=G.toString(p),!p||p==="utf8")G=E.stripBOM(G)}else if(A==="stream")G=Or.Readable.from(G);return rn(n,i,{data:G,status:200,statusText:"OK",headers:new ze,config:t})}if(U_.indexOf(le)===-1)return i(new T("Unsupported protocol "+le,T.ERR_BAD_REQUEST,t));let ie=ze.from(t.headers).normalize();ie.set("User-Agent","axios/"+Xi,!1);let{onUploadProgress:De,onDownloadProgress:Mt}=t,Oe=t.maxRate,Lt=void 0,rr=void 0;if(E.isSpecCompliantForm(a)){let G=ie.getContentType(/boundary=([-_\w\d]{10,70})/i);a=b_(a,($)=>{ie.set($)},{tag:`axios-${Xi}-boundary`,boundary:G&&G[1]||void 0})}else if(E.isFormData(a)&&E.isFunction(a.getHeaders)&&a.getHeaders!==Object.prototype.getHeaders){if(ie.set(a.getHeaders()),!ie.hasContentLength())try{let G=await P_.promisify(a.getLength).call(a);Number.isFinite(G)&&G>=0&&ie.setContentLength(G)}catch(G){}}else if(E.isBlob(a)||E.isFile(a))a.size&&ie.setContentType(a.type||"application/octet-stream"),ie.setContentLength(a.size||0),a=Or.Readable.from(nd(a));else if(a&&!E.isStream(a)){if(Buffer.isBuffer(a));else if(E.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(E.isString(a))a=Buffer.from(a,"utf-8");else return i(new T("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",T.ERR_BAD_REQUEST,t));if(ie.setContentLength(a.length,!1),t.maxBodyLength>-1&&a.length>t.maxBodyLength)return i(new T("Request body larger than maxBodyLength limit",T.ERR_BAD_REQUEST,t))}let ii=E.toFiniteNumber(ie.getContentLength());if(E.isArray(Oe))Lt=Oe[0],rr=Oe[1];else Lt=rr=Oe;if(a&&(De||Lt)){if(!E.isStream(a))a=Or.Readable.from(a,{objectMode:!1});a=Or.pipeline([a,new mm({maxRate:E.toFiniteNumber(Lt)})],E.noop),De&&a.on("progress",M_(a,us(ii,bn(As(De),!1,3))))}let Te=void 0,Zo=s("auth");if(Zo){let G=Zo.username||"",$=Zo.password||"";Te=G+":"+$}if(!Te&&D.username){let{username:G,password:$}=D;Te=G+":"+$}Te&&ie.delete("authorization");let Fr;try{Fr=Ji(D.pathname+D.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(G){let $=Error(G.message);return $.config=t,$.url=t.url,$.exists=!0,i($)}ie.set("Accept-Encoding","gzip, compress, deflate"+(N_?", br":""),!1);let bt=Object.assign(Object.create(null),{path:Fr,method:f,headers:ie.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:Te,protocol:le,family:u,beforeRedirect:y4,beforeRedirects:Object.create(null),http2Options:d});if(!E.isUndefined(c)&&(bt.lookup=c),t.socketPath){if(typeof t.socketPath!=="string")return i(new T("socketPath must be a string",T.ERR_BAD_OPTION_VALUE,t));if(t.allowedSocketPaths!=null){let G=Array.isArray(t.allowedSocketPaths)?t.allowedSocketPaths:[t.allowedSocketPaths],$=D_(t.socketPath);if(!G.some((Xe)=>typeof Xe==="string"&&D_(Xe)===$))return i(new T(`socketPath "${t.socketPath}" is not permitted by allowedSocketPaths`,T.ERR_BAD_OPTION_VALUE,t))}bt.socketPath=t.socketPath}else bt.hostname=D.hostname.startsWith("[")?D.hostname.slice(1,-1):D.hostname,bt.port=D.port,H_(bt,t.proxy,le+"//"+D.hostname+(D.port?":"+D.port:"")+bt.path);let zi,St=I4.test(bt.protocol);if(bt.agent=St?t.httpsAgent:t.httpAgent,S)zi=v4;else{let G=s("transport");if(G)zi=G;else if(t.maxRedirects===0)zi=St?f4:p4;else{if(t.maxRedirects)bt.maxRedirects=t.maxRedirects;let $=s("beforeRedirect");if($)bt.beforeRedirects.config=$;zi=St?E4:m4}}if(t.maxBodyLength>-1)bt.maxBodyLength=t.maxBodyLength;else bt.maxBodyLength=1/0;if(bt.insecureHTTPParser=Boolean(s("insecureHTTPParser")),m=zi.request(bt,function($){if(m.destroyed)return;let ge=[$],Xe=E.toFiniteNumber($.headers["content-length"]);if(Mt||rr){let nt=new mm({maxRate:E.toFiniteNumber(rr)});Mt&&nt.on("progress",M_(nt,us(Xe,bn(As(Mt),!0,3)))),ge.push(nt)}let Ne=$,Gt=$.req||m;if(t.decompress!==!1&&$.headers["content-encoding"]){if(f==="HEAD"||$.statusCode===204)delete $.headers["content-encoding"];switch(($.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":ge.push(ci.createUnzip(T_)),delete $.headers["content-encoding"];break;case"deflate":ge.push(new v_),ge.push(ci.createUnzip(T_)),delete $.headers["content-encoding"];break;case"br":if(N_)ge.push(ci.createBrotliDecompress(h4)),delete $.headers["content-encoding"]}}Ne=ge.length>1?Or.pipeline(ge,E.noop):ge[0];let Bn={status:$.statusCode,statusText:$.statusMessage,headers:new ze($.headers),config:t,request:Gt};if(A==="stream"){if(t.maxContentLength>-1){let nt=t.maxContentLength,Ko=Ne;async function*oc(){let mt=0;for await(let vw of Ko){if(mt+=vw.length,mt>nt)throw new T("maxContentLength size of "+nt+" exceeded",T.ERR_BAD_RESPONSE,t,Gt);yield vw}}Ne=Or.Readable.from(oc(),{objectMode:!1})}Bn.data=Ne,rn(n,i,Bn)}else{let nt=[],Ko=0;Ne.on("data",function(mt){if(nt.push(mt),Ko+=mt.length,t.maxContentLength>-1&&Ko>t.maxContentLength)g=!0,Ne.destroy(),I(new T("maxContentLength size of "+t.maxContentLength+" exceeded",T.ERR_BAD_RESPONSE,t,Gt))}),Ne.on("aborted",function(){if(g)return;let mt=new T("stream has been aborted",T.ERR_BAD_RESPONSE,t,Gt);Ne.destroy(mt),i(mt)}),Ne.on("error",function(mt){if(m.destroyed)return;i(T.from(mt,null,t,Gt))}),Ne.on("end",function(){try{let mt=nt.length===1?nt[0]:Buffer.concat(nt);if(A!=="arraybuffer"){if(mt=mt.toString(p),!p||p==="utf8")mt=E.stripBOM(mt)}Bn.data=mt}catch(mt){return i(T.from(mt,null,t,Bn.request,Bn))}rn(n,i,Bn)})}b.once("abort",(nt)=>{if(!Ne.destroyed)Ne.emit("error",nt),Ne.destroy()})}),b.once("abort",(G)=>{if(m.close)m.close();else m.destroy(G)}),m.on("error",function($){i(T.from($,null,t,m))}),m.on("socket",function($){if($.setKeepAlive(!0,60000),!$[F_])$.on("error",function(Xe){let Ne=$[id];if(Ne&&!Ne.destroyed)Ne.destroy(Xe)}),$[F_]=!0;$[id]=m,m.once("close",function(){if($[id]===m)$[id]=null})}),t.timeout){let G=parseInt(t.timeout,10);if(Number.isNaN(G)){I(new T("error trying to parse `config.timeout` to int",T.ERR_BAD_OPTION_VALUE,t,m));return}m.setTimeout(G,function(){if(h)return;let ge=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",Xe=t.transitional||ai;if(t.timeoutErrorMessage)ge=t.timeoutErrorMessage;I(new T(ge,Xe.clarifyTimeoutError?T.ETIMEDOUT:T.ECONNABORTED,t,m))})}else m.setTimeout(0);if(E.isStream(a)){let G=!1,$=!1;a.on("end",()=>{G=!0}),a.once("error",(Xe)=>{$=!0,m.destroy(Xe)}),a.on("close",()=>{if(!G&&!$)I(new nr("Request stream has been aborted",t,m))});let ge=a;if(t.maxBodyLength>-1&&t.maxRedirects===0){let Xe=t.maxBodyLength,Ne=0;ge=Or.pipeline([a,new Or.Transform({transform(Gt,Bn,nt){if(Ne+=Gt.length,Ne>Xe)return nt(new T("Request body larger than maxBodyLength limit",T.ERR_BAD_REQUEST,t,m));nt(null,Gt)}})],E.noop),ge.on("error",(Gt)=>{if(!m.destroyed)m.destroy(Gt)})}ge.pipe(m)}else a&&m.write(a),m.end()})};var j_=pe.hasStandardBrowserEnv?((e,t)=>(r)=>(r=new URL(r,pe.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(pe.origin),pe.navigator&&/(msie|trident)/i.test(pe.navigator.userAgent)):()=>!0;var Y_=pe.hasStandardBrowserEnv?{write(e,t,r,n,i,o,s){if(typeof document>"u")return;let a=[`${e}=${encodeURIComponent(t)}`];if(E.isNumber(r))a.push(`expires=${new Date(r).toUTCString()}`);if(E.isString(n))a.push(`path=${n}`);if(E.isString(i))a.push(`domain=${i}`);if(o===!0)a.push("secure");if(E.isString(s))a.push(`SameSite=${s}`);document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var J_=(e)=>e instanceof ze?{...e}:e;function Pr(e,t){t=t||{};let r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(u,l,d,A){if(E.isPlainObject(u)&&E.isPlainObject(l))return E.merge.call({caseless:A},u,l);else if(E.isPlainObject(l))return E.merge({},l);else if(E.isArray(l))return l.slice();return l}function i(u,l,d,A){if(!E.isUndefined(l))return n(u,l,d,A);else if(!E.isUndefined(u))return n(void 0,u,d,A)}function o(u,l){if(!E.isUndefined(l))return n(void 0,l)}function s(u,l){if(!E.isUndefined(l))return n(void 0,l);else if(!E.isUndefined(u))return n(void 0,u)}function a(u,l,d){if(E.hasOwnProp(t,d))return n(u,l);else if(E.hasOwnProp(e,d))return n(void 0,u)}let c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:a,headers:(u,l,d)=>i(J_(u),J_(l),d,!0)};return E.forEach(Object.keys({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;let d=E.hasOwnProp(c,l)?c[l]:i,A=E.hasOwnProp(e,l)?e[l]:void 0,p=E.hasOwnProp(t,l)?t[l]:void 0,f=d(A,p,l);E.isUndefined(f)&&d!==a||(r[l]=f)}),r}var od=(e)=>{let t=Pr({},e),r=(A)=>E.hasOwnProp(t,A)?t[A]:void 0,n=r("data"),i=r("withXSRFToken"),o=r("xsrfHeaderName"),s=r("xsrfCookieName"),a=r("headers"),c=r("auth"),u=r("baseURL"),l=r("allowAbsoluteUrls"),d=r("url");if(t.headers=a=ze.from(a),t.url=Ji(qi(u,d,l),e.params,e.paramsSerializer),c)a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));if(E.isFormData(n)){if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(E.isFunction(n.getHeaders)){let A=n.getHeaders(),p=["content-type","content-length"];Object.entries(A).forEach(([f,h])=>{if(p.includes(f.toLowerCase()))a.set(f,h)})}}if(pe.hasStandardBrowserEnv){if(E.isFunction(i))i=i(t);if(i===!0||i==null&&j_(t.url)){let p=o&&s&&Y_.read(s);if(p)a.set(o,p)}}return t};var x4=typeof XMLHttpRequest<"u",q_=x4&&function(e){return new Promise(function(r,n){let i=od(e),o=i.data,s=ze.from(i.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:u}=i,l,d,A,p,f;function h(){p&&p(),f&&f(),i.cancelToken&&i.cancelToken.unsubscribe(l),i.signal&&i.signal.removeEventListener("abort",l)}let g=new XMLHttpRequest;g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout;function m(){if(!g)return;let b=ze.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),P={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:b,config:e,request:g};rn(function(D){r(D),h()},function(D){n(D),h()},P),g=null}if("onloadend"in g)g.onloadend=m;else g.onreadystatechange=function(){if(!g||g.readyState!==4)return;if(g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0))return;setTimeout(m)};if(g.onabort=function(){if(!g)return;n(new T("Request aborted",T.ECONNABORTED,e,g)),g=null},g.onerror=function(I){let P=I&&I.message?I.message:"Network Error",x=new T(P,T.ERR_NETWORK,e,g);x.event=I||null,n(x),g=null},g.ontimeout=function(){let I=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",P=i.transitional||ai;if(i.timeoutErrorMessage)I=i.timeoutErrorMessage;n(new T(I,P.clarifyTimeoutError?T.ETIMEDOUT:T.ECONNABORTED,e,g)),g=null},o===void 0&&s.setContentType(null),"setRequestHeader"in g)E.forEach(s.toJSON(),function(I,P){g.setRequestHeader(P,I)});if(!E.isUndefined(i.withCredentials))g.withCredentials=!!i.withCredentials;if(a&&a!=="json")g.responseType=i.responseType;if(u)[A,f]=bn(u,!0),g.addEventListener("progress",A);if(c&&g.upload)[d,p]=bn(c),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",p);if(i.cancelToken||i.signal){if(l=(b)=>{if(!g)return;n(!b||b.type?new nr(null,e,g):b),g.abort(),g=null},i.cancelToken&&i.cancelToken.subscribe(l),i.signal)i.signal.aborted?l():i.signal.addEventListener("abort",l)}let S=bc(i.url);if(S&&pe.protocols.indexOf(S)===-1){n(new T("Unsupported protocol "+S+":",T.ERR_BAD_REQUEST,e));return}g.send(o||null)})};var w4=(e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,i,o=function(u){if(!i){i=!0,a();let l=u instanceof Error?u:this.reason;n.abort(l instanceof T?l:new nr(l instanceof Error?l.message:l))}},s=t&&setTimeout(()=>{s=null,o(new T(`timeout of ${t}ms exceeded`,T.ETIMEDOUT))},t),a=()=>{if(e)s&&clearTimeout(s),s=null,e.forEach((u)=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null};e.forEach((u)=>u.addEventListener("abort",o));let{signal:c}=n;return c.unsubscribe=()=>E.asap(a),c}},V_=w4;var S4=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,i;while(n<r)i=n+t,yield e.slice(n,i),n=i},k4=async function*(e,t){for await(let r of _4(e))yield*S4(r,t)},_4=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Cm=(e,t,r,n)=>{let i=k4(e,t),o=0,s,a=(c)=>{if(!s)s=!0,n&&n(c)};return new ReadableStream({async pull(c){try{let{done:u,value:l}=await i.next();if(u){a(),c.close();return}let d=l.byteLength;if(r){let A=o+=d;r(A)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),i.return()}},{highWaterMark:2})};var W_=65536,{isFunction:sd}=E,R4=(({Request:e,Response:t})=>({Request:e,Response:t}))(E.global),{ReadableStream:Z_,TextEncoder:K_}=E.global,X_=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},D4=(e)=>{e=E.merge.call({skipUndefined:!0},R4,e);let{fetch:t,Request:r,Response:n}=e,i=t?sd(t):typeof fetch==="function",o=sd(r),s=sd(n);if(!i)return!1;let a=i&&sd(Z_),c=i&&(typeof K_==="function"?((f)=>(h)=>f.encode(h))(new K_):async(f)=>new Uint8Array(await new r(f).arrayBuffer())),u=o&&a&&X_(()=>{let f=!1,h=new r(pe.origin,{body:new Z_,method:"POST",get duplex(){return f=!0,"half"}}),g=h.headers.has("Content-Type");if(h.body!=null)h.body.cancel();return f&&!g}),l=s&&a&&X_(()=>E.isReadableStream(new n("").body)),d={stream:l&&((f)=>f.body)};i&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((f)=>{!d[f]&&(d[f]=(h,g)=>{let m=h&&h[f];if(m)return m.call(h);throw new T(`Response type '${f}' is not supported`,T.ERR_NOT_SUPPORT,g)})})})();let A=async(f)=>{if(f==null)return 0;if(E.isBlob(f))return f.size;if(E.isSpecCompliantForm(f))return(await new r(pe.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(E.isArrayBufferView(f)||E.isArrayBuffer(f))return f.byteLength;if(E.isURLSearchParams(f))f=f+"";if(E.isString(f))return(await c(f)).byteLength},p=async(f,h)=>{let g=E.toFiniteNumber(f.getContentLength());return g==null?A(h):g};return async(f)=>{let{url:h,method:g,data:m,signal:S,cancelToken:b,timeout:I,onDownloadProgress:P,onUploadProgress:x,responseType:D,headers:le,withCredentials:ie="same-origin",fetchOptions:De}=od(f),Mt=t||fetch;D=D?(D+"").toLowerCase():"text";let Oe=V_([S,b&&b.toAbortSignal()],I),Lt=null,rr=Oe&&Oe.unsubscribe&&(()=>{Oe.unsubscribe()}),ii;try{if(x&&u&&g!=="get"&&g!=="head"&&(ii=await p(le,m))!==0){let St=new r(h,{method:"POST",body:m,duplex:"half"}),G;if(E.isFormData(m)&&(G=St.headers.get("content-type")))le.setContentType(G);if(St.body){let[$,ge]=us(ii,bn(As(x)));m=Cm(St.body,W_,$,ge)}}if(!E.isString(ie))ie=ie?"include":"omit";let Te=o&&"credentials"in r.prototype;if(E.isFormData(m)){let St=le.getContentType();if(St&&/^multipart\/form-data/i.test(St)&&!/boundary=/i.test(St))le.delete("content-type")}let Zo={...De,signal:Oe,method:g.toUpperCase(),headers:le.normalize().toJSON(),body:m,duplex:"half",credentials:Te?ie:void 0};Lt=o&&new r(h,Zo);let Fr=await(o?Mt(Lt,De):Mt(h,Zo)),bt=l&&(D==="stream"||D==="response");if(l&&(P||bt&&rr)){let St={};["status","statusText","headers"].forEach((Xe)=>{St[Xe]=Fr[Xe]});let G=E.toFiniteNumber(Fr.headers.get("content-length")),[$,ge]=P&&us(G,bn(As(P),!0))||[];Fr=new n(Cm(Fr.body,W_,$,()=>{ge&&ge(),rr&&rr()}),St)}D=D||"text";let zi=await d[E.findKey(d,D)||"text"](Fr,f);return!bt&&rr&&rr(),await new Promise((St,G)=>{rn(St,G,{data:zi,headers:ze.from(Fr.headers),status:Fr.status,statusText:Fr.statusText,config:f,request:Lt})})}catch(Te){if(rr&&rr(),Te&&Te.name==="TypeError"&&/Load failed|fetch/i.test(Te.message))throw Object.assign(new T("Network Error",T.ERR_NETWORK,f,Lt,Te&&Te.response),{cause:Te.cause||Te});throw T.from(Te,Te&&Te.code,f,Lt,Te&&Te.response)}}},T4=new Map,ym=(e)=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,o=[n,i,r],s=o.length,a=s,c,u,l=T4;while(a--)c=o[a],u=l.get(c),u===void 0&&l.set(c,u=a?new Map:D4(t)),l=u;return u},pCe=ym();var Bm={http:z_,xhr:q_,fetch:{get:ym}};E.forEach(Bm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});var e0=(e)=>`- ${e}`,F4=(e)=>E.isFunction(e)||e===null||e===!1;function U4(e,t){e=E.isArray(e)?e:[e];let{length:r}=e,n,i,o={};for(let s=0;s<r;s++){n=e[s];let a;if(i=n,!F4(n)){if(i=Bm[(a=String(n)).toLowerCase()],i===void 0)throw new T(`Unknown adapter '${a}'`)}if(i&&(E.isFunction(i)||(i=i.get(t))))break;o[a||"#"+s]=i}if(!i){let s=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build")),a=r?s.length>1?`since :
|
|
123
|
+
`+s.map(e0).join(`
|
|
124
|
+
`):" "+e0(s[0]):"as no adapter specified";throw new T("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i}var ad={getAdapter:U4,adapters:Bm};function bm(e){if(e.cancelToken)e.cancelToken.throwIfRequested();if(e.signal&&e.signal.aborted)throw new nr(null,e)}function cd(e){if(bm(e),e.headers=ze.from(e.headers),e.data=mc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1)e.headers.setContentType("application/x-www-form-urlencoded",!1);return ad.getAdapter(e.adapter||ss.adapter,e)(e).then(function(n){return bm(e),n.data=mc.call(e,e.transformResponse,n),n.headers=ze.from(n.headers),n},function(n){if(!Ec(n)){if(bm(e),n&&n.response)n.response.data=mc.call(e,e.transformResponse,n.response),n.response.headers=ze.from(n.response.headers)}return Promise.reject(n)})}var ld={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ld[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var t0={};ld.transitional=function(t,r,n){function i(o,s){return"[Axios v"+Xi+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(t===!1)throw new T(i(s," has been removed"+(r?" in "+r:"")),T.ERR_DEPRECATED);if(r&&!t0[s])t0[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"));return t?t(o,s,a):!0}};ld.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function M4(e,t,r){if(typeof e!=="object")throw new T("options must be an object",T.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;while(i-- >0){let o=n[i],s=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(s){let a=e[o],c=a===void 0||s(a,o,e);if(c!==!0)throw new T("option "+o+" must be "+c,T.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new T("Unknown option "+o,T.ERR_BAD_OPTION)}}var vc={assertOptions:M4,validators:ld};var Br=vc.validators;class xc{constructor(e){this.defaults=e||{},this.interceptors={request:new Hh,response:new Hh}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=Error();let i=(()=>{if(!n.stack)return"";let o=n.stack.indexOf(`
|
|
125
|
+
`);return o===-1?"":n.stack.slice(o+1)})();try{if(!r.stack)r.stack=i;else if(i){let o=i.indexOf(`
|
|
126
|
+
`),s=o===-1?-1:i.indexOf(`
|
|
127
|
+
`,o+1),a=s===-1?"":i.slice(s+1);if(!String(r.stack).endsWith(a))r.stack+=`
|
|
128
|
+
`+i}}catch(o){}}throw r}}_request(e,t){if(typeof e==="string")t=t||{},t.url=e;else t=e||{};t=Pr(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;if(r!==void 0)vc.assertOptions(r,{silentJSONParsing:Br.transitional(Br.boolean),forcedJSONParsing:Br.transitional(Br.boolean),clarifyTimeoutError:Br.transitional(Br.boolean),legacyInterceptorReqResOrdering:Br.transitional(Br.boolean)},!1);if(n!=null)if(E.isFunction(n))t.paramsSerializer={serialize:n};else vc.assertOptions(n,{encode:Br.function,serialize:Br.function},!0);if(t.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else t.allowAbsoluteUrls=!0;vc.assertOptions(t,{baseUrl:Br.spelling("baseURL"),withXsrfToken:Br.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&E.merge(i.common,i[t.method]);i&&E.forEach(["delete","get","head","post","put","patch","common"],(p)=>{delete i[p]}),t.headers=ze.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach(function(f){if(typeof f.runWhen==="function"&&f.runWhen(t)===!1)return;a=a&&f.synchronous;let h=t.transitional||ai;if(h&&h.legacyInterceptorReqResOrdering)s.unshift(f.fulfilled,f.rejected);else s.push(f.fulfilled,f.rejected)});let c=[];this.interceptors.response.forEach(function(f){c.push(f.fulfilled,f.rejected)});let u,l=0,d;if(!a){let p=[cd.bind(this),void 0];p.unshift(...s),p.push(...c),d=p.length,u=Promise.resolve(t);while(l<d)u=u.then(p[l++],p[l++]);return u}d=s.length;let A=t;while(l<d){let p=s[l++],f=s[l++];try{A=p(A)}catch(h){f.call(this,h);break}}try{u=cd.call(this,A)}catch(p){return Promise.reject(p)}l=0,d=c.length;while(l<d)u=u.then(c[l++],c[l++]);return u}getUri(e){e=Pr(this.defaults,e);let t=qi(e.baseURL,e.url,e.allowAbsoluteUrls);return Ji(t,e.params,e.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(t){xc.prototype[t]=function(r,n){return this.request(Pr(n||{},{method:t,url:r,data:(n||{}).data}))}});E.forEach(["post","put","patch"],function(t){function r(n){return function(o,s,a){return this.request(Pr(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}xc.prototype[t]=r(),xc.prototype[t+"Form"]=r(!0)});var wc=xc;class Qm{constructor(e){if(typeof e!=="function")throw TypeError("executor must be a function.");let t;this.promise=new Promise(function(i){t=i});let r=this;this.promise.then((n)=>{if(!r._listeners)return;let i=r._listeners.length;while(i-- >0)r._listeners[i](n);r._listeners=null}),this.promise.then=(n)=>{let i,o=new Promise((s)=>{r.subscribe(s),i=s}).then(n);return o.cancel=function(){r.unsubscribe(i)},o},e(function(i,o,s){if(r.reason)return;r.reason=new nr(i,o,s),t(r.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners)this._listeners.push(e);else this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);if(t!==-1)this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=(r)=>{e.abort(r)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Qm(function(n){e=n}),cancel:e}}}var r0=Qm;function vm(e){return function(r){return e.apply(null,r)}}function xm(e){return E.isObject(e)&&e.isAxiosError===!0}var wm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(wm).forEach(([e,t])=>{wm[t]=e});var n0=wm;function i0(e){let t=new wc(e),r=ac(wc.prototype.request,t);return E.extend(r,wc.prototype,t,{allOwnKeys:!0}),E.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return i0(Pr(e,i))},r}var it=i0(ss);it.Axios=wc;it.CanceledError=nr;it.CancelToken=r0;it.isCancel=Ec;it.VERSION=Xi;it.toFormData=si;it.AxiosError=T;it.Cancel=it.CanceledError;it.all=function(t){return Promise.all(t)};it.spread=vm;it.isAxiosError=xm;it.mergeConfig=Pr;it.AxiosHeaders=ze;it.formToJSON=(e)=>qA(E.isHTMLForm(e)?new FormData(e):e);it.getAdapter=ad.getAdapter;it.HttpStatusCode=n0;it.default=it;var li=it;no();at();Rt();Ot();function Ci(){return"claude-code/0.3.177"}function Ms(){switch(process.env.CLAUDE_CODE_ENTRYPOINT){case"claude-vscode":return"claude_code_vscode";case"remote":case"remote_baku":case"remote_cowork":case"remote_desktop":case"remote_mobile":return"claude_code_remote";case"claude-in-teams":return"claude_code_remote";case"sdk-cli":case"sdk-ts":case"sdk-py":return"claude_code_sdk";case"mcp":return"claude_code_mcp";case"claude-code-github-action":return"claude_code_github_action";case"local-agent":return"claude_code_local_agent";case"claude_in_slack":return"claude_in_slack";case"claude-in-slack":return"claude-in-slack";case"cli":default:return"claude_code_cli"}}Ls();at();Rt();Ot();var Z9=["session_ingress_token","environment_secret","access_token","secret","token"],c_e=new RegExp(`"(${Z9.join("|")})"\\s*:\\s*"([^"]*)"`,"g");function uI(e){if(!e||typeof e!=="object")return;if("message"in e&&typeof e.message==="string")return e.message;if("error"in e&&e.error!==null&&typeof e.error==="object"&&"message"in e.error&&typeof e.error.message==="string")return e.error.message;return}var bX="2023-06-01";function MU(e){return{Authorization:`Bearer ${e}`,"Content-Type":"application/json","anthropic-version":bX,"User-Agent":Ci()}}async function QX(e,t,r,n,i,o,s,a){let c=`${e}/v1/code/sessions`,u={cwd:s??Qt(),...a&&{model:a}};if(o){let{buildGitSessionContext:A}=await Promise.resolve().then(() => UU),{sources:p,outcomes:f}=await A(o.gitRepoUrl,o.branch,o.defaultBranch);if(p.length>0||f.length>0)u.sources=p,u.outcomes=f,u.reuse_outcome_branches=!0}let l;try{l=await li.post(c,{title:r,bridge:{},...i?.length&&{tags:i},config:u},{headers:MU(t),timeout:n,validateStatus:(A)=>A<500})}catch(A){return w(`[code-session] Session create request failed: ${de(A)}`),null}if(l.status!==200&&l.status!==201){let A=uI(l.data);return w(`[code-session] Session create failed ${l.status}${A?`: ${A}`:""}`),null}let d=l.data;if(!d||typeof d!=="object"||!("session"in d)||!d.session||typeof d.session!=="object"||!("id"in d.session)||typeof d.session.id!=="string"||!d.session.id.startsWith("cse_"))return w(`[code-session] No session.id (cse_*) in response: ${st(d).slice(0,200)}`),null;return d.session.id}function vX(e){return e!==null&&"terminal"in e}function xX(e,t){if(e!==null&&typeof e==="object"&&"error"in e&&e.error!==null&&typeof e.error==="object"&&"resource"in e.error){let r=e.error.resource;if(r==="untrusted_device"||r==="session_stale_relogin")return r;return}if(t?.includes("trusted device"))return"untrusted_device";return}async function wX(e,t,r,n,i){let o=`${t}/v1/code/sessions/${e}/bridge`,s=MU(r);if(i)s["X-Trusted-Device-Token"]=i;let a;try{a=await li.post(o,{},{headers:s,timeout:n,validateStatus:(d)=>d<500})}catch(d){return w(`[code-session] /bridge request failed: ${de(d)}`),null}if(a.status!==200){let d=uI(a.data);if(w(`[code-session] /bridge failed ${a.status}${d?`: ${d}`:""}`),a.status===403){let A=xX(a.data,d);if(A)return{terminal:!0,reason:A}}return null}let c=a.data;if(c===null||typeof c!=="object"||!("worker_jwt"in c)||typeof c.worker_jwt!=="string"||!("expires_in"in c)||typeof c.expires_in!=="number"||!("api_base_url"in c)||typeof c.api_base_url!=="string"||!("worker_epoch"in c))return w(`[code-session] /bridge response malformed (need worker_jwt, expires_in, api_base_url, worker_epoch): ${st(c).slice(0,200)}`),null;let u=c.worker_epoch,l=typeof u==="string"?Number(u):u;if(typeof l!=="number"||!Number.isFinite(l)||!Number.isSafeInteger(l))return w(`[code-session] /bridge worker_epoch invalid: ${st(u)}`),null;return{worker_jwt:c.worker_jwt,api_base_url:c.api_base_url,expires_in:c.expires_in,worker_epoch:l}}at();Rt();import{randomUUID as SX}from"crypto";Ll();Ls();var LU={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"};function OU(e){if(e===null||typeof e!=="object")return e;let t=e;if("requestId"in t&&!("request_id"in t))t.request_id=t.requestId,delete t.requestId;if("response"in t&&t.response!==null&&typeof t.response==="object"){let r=t.response;if("requestId"in r&&!("request_id"in r))r.request_id=r.requestId,delete r.requestId}return e}at();VI();Rt();Ot();function kX(e){return e!==null&&typeof e==="object"&&"type"in e&&typeof e.type==="string"}function _X(e){return e!==null&&typeof e==="object"&&"type"in e&&e.type==="control_response"&&"response"in e}function RX(e){return e!==null&&typeof e==="object"&&"type"in e&&e.type==="control_request"&&"request_id"in e&&"request"in e}function PU(e,t,r,n,i,o){try{let s=OU(Ii(e));if(_X(s)){w("[bridge:repl] Ingress message type=control_response"),i?.(s);return}if(RX(s)){w(`[bridge:repl] Inbound control_request subtype=${s.request.subtype}`),o?.(s);return}if(!kX(s))return;let a="uuid"in s&&typeof s.uuid==="string"?s.uuid:void 0;if(a&&t.has(a)){w(`[bridge:repl] Ignoring echo: type=${s.type} uuid=${a}`);return}if(a&&r.has(a)){w(`[bridge:repl] Ignoring re-delivered inbound: type=${s.type} uuid=${a}`);return}if(w(`[bridge:repl] Ingress message type=${s.type}${a?` uuid=${a}`:""}`),s.type==="user"){if(a)r.add(a);on("tengu_bridge_message_received",{is_repl:!0}),zr("bridge_message_receive"),n?.(s)}else w(`[bridge:repl] Ignoring non-user inbound message: type=${s.type}`)}catch(s){w(`[bridge:repl] Failed to parse ingress message: ${de(s)}`),Ep("bridge_message_receive","bridge_message_receive_parse_failed")}}var DX="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function $U(e,t){let{transport:r,sessionId:n,outboundOnly:i,getInitializeState:o,onInterrupt:s,onSetModel:a,onSetMaxThinkingTokens:c,onSetPermissionMode:u,onRenameSession:l,onSetColor:d,onFileSuggestions:A,onReadFile:p,onGetContextUsage:f,onGetUsage:h,onMcpAuthenticate:g,onMcpOauthCallbackUrl:m,onMcpReconnect:S,onMcpStatus:b}=t;if(!r){w("[bridge:repl] Cannot respond to control_request: transport not configured");return}let I;if(i&&e.request.subtype!=="initialize"){I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:DX}};let x={...I,session_id:n};r.write(x),w(`[bridge:repl] Rejected ${e.request.subtype} (outbound-only) request_id=${e.request_id}`);return}switch(e.request.subtype){case"initialize":I={type:"control_response",response:{subtype:"success",request_id:e.request_id,response:{commands:[],agents:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid,...o?.()}}};break;case"set_model":{let x=a?.(e.request.model);if(x&&!x.ok)I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:x.error}};else I={type:"control_response",response:{subtype:"success",request_id:e.request_id}};break}case"set_max_thinking_tokens":c?.(e.request.max_thinking_tokens),I={type:"control_response",response:{subtype:"success",request_id:e.request_id}};break;case"set_permission_mode":{let x=u?.(e.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)I={type:"control_response",response:{subtype:"success",request_id:e.request_id}};else I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:x.error}};break}case"rename_session":{let x=l?.(e.request.title)??{ok:!1,error:"rename_session is not supported in this context (onRenameSession callback not registered)"};if(x.ok)I={type:"control_response",response:{subtype:"success",request_id:e.request_id}};else I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:x.error}};break}case"set_color":{let x=d?.(e.request.color)??{ok:!1,error:"set_color is not supported in this context (onSetColor callback not registered)"};if(x.ok)I={type:"control_response",response:{subtype:"success",request_id:e.request_id}};else I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:x.error}};break}case"file_suggestions":{if(!A){I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:"file_suggestions is not supported in this context (onFileSuggestions callback not registered)"}};break}A(e.request.query).then((x)=>({type:"control_response",response:{subtype:"success",request_id:e.request_id,response:{suggestions:x}}})).catch((x)=>({type:"control_response",response:{subtype:"error",request_id:e.request_id,error:de(x)}})).then((x)=>{let D={...x,session_id:n};r.write(D),w(`[bridge:repl] Sent control_response for file_suggestions request_id=${e.request_id} result=${x.response.subtype}`)});return}case"read_file":{if(!p){I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:"read_file is not supported in this context (onReadFile callback not registered)"}};break}p(e.request.path,e.request.max_bytes,e.request.encoding).then((x)=>({type:"control_response",response:{subtype:"success",request_id:e.request_id,response:x}})).catch((x)=>({type:"control_response",response:{subtype:"error",request_id:e.request_id,error:de(x)}})).then((x)=>{let D={...x,session_id:n};r.write(D),w(`[bridge:repl] Sent control_response for read_file request_id=${e.request_id} result=${x.response.subtype}`)});return}case"get_context_usage":{if(!f){I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:"get_context_usage is not supported in this context (onGetContextUsage callback not registered)"}};break}f().then((x)=>({type:"control_response",response:{subtype:"success",request_id:e.request_id,response:{...x}}})).catch((x)=>({type:"control_response",response:{subtype:"error",request_id:e.request_id,error:de(x)}})).then((x)=>{let D={...x,session_id:n};r.write(D),w(`[bridge:repl] Sent control_response for get_context_usage request_id=${e.request_id} result=${x.response.subtype}`)});return}case"get_usage":{if(!h){I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:"get_usage is not supported in this context (onGetUsage callback not registered)"}};break}h().then((x)=>({type:"control_response",response:{subtype:"success",request_id:e.request_id,response:{...x}}})).catch((x)=>({type:"control_response",response:{subtype:"error",request_id:e.request_id,error:de(x)}})).then((x)=>{let D={...x,session_id:n};r.write(D),w(`[bridge:repl] Sent control_response for get_usage request_id=${e.request_id} result=${x.response.subtype}`)});return}case"mcp_status":I={type:"control_response",response:{subtype:"success",request_id:e.request_id,response:{mcpServers:b?.()??[]}}};break;case"mcp_authenticate":case"mcp_oauth_callback_url":case"mcp_reconnect":{let x=e.request,{subtype:D,serverName:le}=x,ie=x.subtype==="mcp_authenticate"?g&&((De)=>g(De,x.redirectUri)):x.subtype==="mcp_oauth_callback_url"?m&&((De)=>m(De,x.callbackUrl)):S;if(!ie){I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:`${D} is not supported in this context (callback not registered)`}};break}ie(le).then((De)=>({type:"control_response",response:{subtype:"success",request_id:e.request_id,response:De??{}}})).catch((De)=>({type:"control_response",response:{subtype:"error",request_id:e.request_id,error:de(De)}})).then((De)=>{let Mt={...De,session_id:n};r.write(Mt),w(`[bridge:repl] Sent control_response for ${D} request_id=${e.request_id} result=${De.response.subtype}`)});return}case"interrupt":s?.(),I={type:"control_response",response:{subtype:"success",request_id:e.request_id}};break;default:I={type:"control_response",response:{subtype:"error",request_id:e.request_id,error:`REPL bridge does not handle control_request subtype: ${e.request.subtype}`}}}let P={...I,session_id:n};r.write(P),w(`[bridge:repl] Sent control_response for ${e.request.subtype} request_id=${e.request_id} result=${I.response.subtype}`)}function GU(e){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...LU},modelUsage:{},permission_denials:[],session_id:e,uuid:SX()}}class kp{capacity;ring;set=new Set;writeIdx=0;constructor(e){this.capacity=e,this.ring=Array(e)}add(e){if(this.set.has(e))return;let t=this.ring[this.writeIdx];if(t!==void 0)this.set.delete(t);this.ring[this.writeIdx]=e,this.set.add(e),this.writeIdx=(this.writeIdx+1)%this.capacity}has(e){return this.set.has(e)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}import{randomUUID as pj}from"crypto";Ls();at();Hs();Rt();Ot();function TX(e){let r=(e.startsWith("sk-ant-si-")?e.slice(10):e).split(".");if(r.length!==3||!r[1])return null;try{return Ii(Buffer.from(r[1],"base64url").toString("utf8"))}catch{return null}}function HU(e){let t=TX(e);if(t!==null&&typeof t==="object"&&"exp"in t&&typeof t.exp==="number")return t.exp;return null}Ll();Ls();at();Hs();Rt();vn();$r();var Qde=sc(iM(),1);import{isIP as rj}from"net";vn();function oM(e){return[...new Set(e)]}at();wn();Nn();var sM=["bundled","system"];function t5(){let e=process.env.CLAUDE_CODE_CERT_STORE;if(e){let t=[];for(let r of e.split(",")){let n=r.trim().toLowerCase();if(n==="bundled"||n==="system"){if(!t.includes(n))t.push(n)}else if(n)w(`CA certs: unrecognized CLAUDE_CODE_CERT_STORE source '${n}', ignoring`,{level:"warn"})}return t.length>0?t:sM}if(Um("--use-system-ca")||Um("--use-openssl-ca"))return["system"];return sM}var Yl=Pe(()=>{let e=t5(),t=process.env.NODE_EXTRA_CA_CERTS,r=e.includes("bundled"),n=e.includes("system");w(`CA certs: stores=${e.join(",")}, extraCertsPath=${t}`);let i=v("tls"),o=i.getCACertificates;if(!r&&n&&!o){w("CA certs: stores=system but system CA API unavailable, deferring to runtime");return}let s=[];if(r)s.push(...i.rootCertificates),w(`CA certs: Loaded ${i.rootCertificates.length} bundled root certificates`);if(n)try{let a=o?.("system");if(a&&a.length>0)s.push(...a),w(`CA certs: Loaded ${a.length} system CA certificates`);else if(w(`CA certs: system store ${o?"returned empty":"unavailable"}`),!r)s.push(...i.rootCertificates)}catch(a){if(w(`CA certs: Failed to load system CA certificates: ${a}`,{level:"error"}),!r)s.push(...i.rootCertificates)}if(t)try{let a=Ct().readFileSync(t,{encoding:"utf8"});s.push(a),w(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${t})`)}catch(a){w(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${t}): ${a}`,{level:"error"})}return s.length>0?oM(s):void 0});function EC(e,t){let r=t.lastIndexOf("/");if(r<0)return!1;let n=t.slice(0,r),i=t.slice(r+1);if(!/^\d+$/.test(i))return!1;let o=parseInt(i,10),s=aM(n);if(!s)return!1;if(s.zone)return!1;let a=aM(e);if(!a)return!1;let c=n5(a.bytes),u=s.bytes;if(c.length!==u.length)return!1;let l=u.length*8;if(o<0||o>l)return!1;return r5(c,u,o)}function r5(e,t,r){let n=r>>3;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;let i=r&7;if(i===0)return!0;let o=255<<8-i&255;return((e[n]??0)&o)===((t[n]??0)&o)}function n5(e){if(e.length!==16)return e;for(let t=0;t<10;t++)if(e[t]!==0)return e;if(e[10]!==255||e[11]!==255)return e;return e.slice(12)}function aM(e){if(e==="")return null;let t="",r=e,n=e.indexOf("%");if(n>=0)t=e.slice(n+1),r=e.slice(0,n);if(r.includes(":")){let o=i5(r);return o?{bytes:o,zone:t}:null}if(t)return null;let i=cM(r);return i?{bytes:i,zone:""}:null}function cM(e){let t=e.split(".");if(t.length!==4)return null;let r=new Uint8Array(4);for(let n=0;n<4;n++){let i=t[n];if(i===void 0||i===""||!/^\d{1,3}$/.test(i))return null;if(i.length>1&&i.startsWith("0"))return null;let o=parseInt(i,10);if(o>255)return null;r[n]=o}return r}function i5(e){let t=null,r=e,n=e.lastIndexOf(":");if(n>=0&&e.slice(n+1).includes(".")){if(t=cM(e.slice(n+1)),!t)return null;r=e.slice(0,n+1)}let i=r.split("::");if(i.length>2)return null;let o=[],s=(c,u)=>{if(c==="")return[];let l=c.split(":"),d=[];for(let A=0;A<l.length;A++){let p=l[A];if(p===""&&u&&A===l.length-1)continue;if(p===void 0||p===""||!/^[0-9a-fA-F]{1,4}$/.test(p))return null;d.push(parseInt(p,16))}return d};if(i.length===1){let c=i[0]??"",u=s(c,t!==null);if(!u)return null;o.push(...u);let l=t?6:8;if(o.length!==l)return null}else{let c=i[0]??"",u=i[1]??"",l=s(c,!1),d=s(u,t!==null);if(!l||!d)return null;let A=t?2:0,p=8-l.length-d.length-A;if(p<1)return null;o.push(...l);for(let f=0;f<p;f++)o.push(0);if(o.push(...d),o.length+A!==8)return null}let a=new Uint8Array(16);for(let c=0;c<o.length;c++){let u=o[c];if(u===void 0)return null;a[c*2]=u>>8&255,a[c*2+1]=u&255}if(t)a[12]=t[0]??0,a[13]=t[1]??0,a[14]=t[2]??0,a[15]=t[3]??0;return a}at();wn();vn();import{Agent as o5}from"https";at();Nn();var Dp=Pe(()=>{let e={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{e.cert=Ct().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),w("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(t){w(`mTLS: Failed to load client certificate: ${t}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{e.key=Ct().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),w("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(t){w(`mTLS: Failed to load client key: ${t}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)e.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,w("mTLS: Using client key passphrase");if(Object.keys(e).length===0)return;return e}),s5=Pe(()=>{let e=Dp(),t=Yl();if(!e&&!t)return;let r={...e,...t&&{ca:t},keepAlive:!0};return w("mTLS: Creating HTTPS agent with custom certificates"),new o5(r)});function Zs(){let e=Dp(),t=Yl();if(!e&&!t)return{};return{tls:{...e,...t&&{ca:t}}}}XI();var vde=!1;function xde(e=process.env){return e.https_proxy||e.HTTPS_PROXY||e.http_proxy||e.HTTP_PROXY}function ij(e=process.env){return e.no_proxy||e.NO_PROXY}function oj(e,t=ij()){if(!t)return!1;if(t==="*")return!0;try{let r=new URL(e),n=r.hostname.toLowerCase(),i=r.port||(r.protocol==="https:"?"443":"80"),o=`${n}:${i}`;return t.split(/[,\s]+/).filter(Boolean).some((a)=>{if(a=a.toLowerCase().trim(),a.includes(":"))return o===a;if(a.startsWith(".")){let c=a;return n===a.substring(1)||n.endsWith(c)}return n===a})}catch{return!1}}function nj(e,t){if(oj(e,t))return!0;if(!t)return!1;let r;try{r=new URL(e).hostname.replace(/^\[|\]$/g,"")}catch{return!1}if(rj(r)===0)return!1;return t.split(/[,\s]+/).filter(Boolean).some((n)=>{if(n.includes("/"))return EC(r,n);let i=rj(n);if(i===0)return!1;return EC(r,`${n}/${i===4?32:128}`)})}var pUe=Pe((e)=>{let t=tj(),r=Dp(),n=Yl(),i={httpProxy:e,httpsProxy:e,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(r||n){let o={...r&&{cert:r.cert,key:r.key,passphrase:r.passphrase},...n&&{ca:n}};i.connect=o,i.requestTls=o}return new t.EnvHttpProxyAgent(i)});var wde=null;function Sde(){return wde?.value??null}function $B(e){let t=process.env.API_FORCE_IDLE_TIMEOUT,r=e.forAnthropicAPI&&!Ve(t)&&(e.hasBodyIdleWatchdog||fd(t)),n={...vde&&{keepalive:!1},...r&&{timeout:!1}};if(e.forAnthropicAPI){let o=process.env.ANTHROPIC_UNIX_SOCKET;if(o)return{...n,unix:o}}let i=xde();if(i){if(e.url&&oj(e.url))return{...n,...Zs()};let o=Sde();return{...n,proxy:o?{url:i,headers:{"Proxy-Authorization":o}}:i,...Zs()}}if(e.fallbackProxy){if(e.url&&(nj(e.url,e.fallbackProxy.noProxy)||nj(e.url,ij())))return{...n,...Zs()};let o=Zs();return{...n,proxy:e.fallbackProxy.url,...e.fallbackProxy.ca?{tls:{...o.tls,ca:e.fallbackProxy.ca}}:o}}return{...n,...Zs()}}hd();Hs();wn();var kde=30000;function _de(){return{activityCallback:null,refcount:0,mainLoopRefcount:0,activeReasons:new Map,oldestActivityStartedAt:null,heartbeatTimer:null,idleTimer:null,cleanupHandle:null}}var Rde="cli",sj=()=>Rde;var GB=new Map;function Dde(){let e=sj(),t=GB.get(e);if(!t)t=_de(),GB.set(e,t);return t}function Tde(){return GB.get(sj())??null}function Nde(e){aj(e),e.heartbeatTimer=setInterval((t)=>{if(ee("debug","session_keepalive_heartbeat",{refcount:t.refcount}),Ve(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))t.activityCallback?.()},kde,e)}function aj(e){if(e.idleTimer!==null)clearTimeout(e.idleTimer),e.idleTimer=null}function cj(e){let t=Dde();if(t.activityCallback=e,t.refcount>0&&t.heartbeatTimer===null)Nde(t)}function lj(){let e=Tde();if(!e)return;if(e.activityCallback=null,e.heartbeatTimer!==null)clearInterval(e.heartbeatTimer),e.heartbeatTimer=null;aj(e)}$r();import{mkdirSync as Fde,writeFileSync as Ude}from"fs";$r();at();wn();Rt();Nn();var pg="/home/claude/.claude/remote",_Ue=`${pg}/.oauth_token`,RUe=`${pg}/.api_key`,fg=`${pg}/.session_ingress_token`;function uj(e,t,r){if(!Ve(process.env.CLAUDE_CODE_REMOTE))return;try{Fde(pg,{recursive:!0,mode:448}),Ude(e,t,{encoding:"utf8",mode:384}),w(`Persisted ${r} to ${e} for subprocess access`)}catch(n){w(`Failed to persist ${r} to disk (non-fatal): ${de(n)}`,{level:"error"})}}function HB(e,t){try{let n=Ct().readFileSync(e,{encoding:"utf8"}).trim();if(!n)return null;return w(`Read ${t} from well-known file ${e}`),n}catch(r){if(!ep(r))w(`Failed to read ${t} from ${e}: ${de(r)}`,{level:"debug"});return null}}at();Rt();Nn();function Mde(){let e=xR();if(e!==void 0)return e;let t=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!t){let n=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??fg,i=HB(n,"session ingress token");return Es(i),i}let r=parseInt(t,10);if(Number.isNaN(r))return w(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${t}`,{level:"error"}),Es(null),null;try{let n=Ct(),i=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${r}`:`/proc/self/fd/${r}`,o=n.readFileSync(i,{encoding:"utf8"}).trim();if(!o)return w("File descriptor contained empty token",{level:"error"}),Es(null),null;return w(`Successfully read token from file descriptor ${r}`),Es(o),uj(fg,o,"session ingress token"),o}catch(n){w(`Failed to read token from file descriptor ${r}: ${de(n)}`,{level:"error"});let i=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??fg,o=HB(i,"session ingress token");return Es(o),o}}function zB(){let e=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(e)return e;return Mde()}function gg(){let e=zB();if(!e)return{};if(e.startsWith("sk-ant-sid")){let t={Cookie:`sessionKey=${e}`},r=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(r)t["X-Organization-Uuid"]=r;return t}return{Authorization:`Bearer ${e}`}}function Aj(e){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=e}function Wn(e,t,r){return new Promise((n,i)=>{if(t?.aborted){if(r?.throwOnAbort||r?.abortError)i(r.abortError?.()??Error("aborted"));else n();return}let o=setTimeout((a,c,u)=>{a?.removeEventListener("abort",c),u()},e,t,s,n);function s(){if(clearTimeout(o),r?.throwOnAbort||r?.abortError)i(r.abortError?.()??Error("aborted"));else n()}if(t?.addEventListener("abort",s,{once:!0}),r?.unref)o.unref()})}Ot();Ot();class $o extends Error{retryAfterMs;constructor(e,t){super(e);this.retryAfterMs=t}}class Ju{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(e){this.config=e}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(e){if(this.closed)return;let t=Array.isArray(e)?e:[e];if(t.length===0)return;while(this.pending.length+t.length>this.config.maxQueueSize&&!this.closed)await new Promise((r)=>{this.backpressureResolvers.push(r)});if(this.closed)return;this.pending.push(...t),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((e)=>{this.flushResolvers.push(e)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let e of this.backpressureResolvers)e();this.backpressureResolvers=[];for(let e of this.flushResolvers)e();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let e=0;try{while(this.pending.length>0&&!this.closed){let t=this.takeBatch();if(t.length===0)continue;try{await this.config.send(t),e=0}catch(r){if(e++,this.config.maxConsecutiveFailures!==void 0&&e>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(t.length,e),e=0,this.releaseBackpressure();continue}this.pending=t.concat(this.pending);let n=r instanceof $o?r.retryAfterMs:void 0;await this.sleep(this.retryDelay(e,n));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let t of this.flushResolvers)t();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:e,maxBatchBytes:t}=this.config;if(t===void 0)return this.pending.splice(0,e);let r=0,n=0;while(n<this.pending.length&&n<e){let i;try{i=Buffer.byteLength(st(this.pending[n]))}catch{this.pending.splice(n,1);continue}if(n>0&&r+i>t)break;r+=i,n++}return this.pending.splice(0,n)}retryDelay(e,t){let r=Math.random()*this.config.jitterMs;if(t!==void 0)return Math.max(this.config.baseDelayMs,Math.min(t,this.config.maxDelayMs))+r;return Math.min(this.config.baseDelayMs*2**(e-1),this.config.maxDelayMs)+r}releaseBackpressure(){let e=this.backpressureResolvers;this.backpressureResolvers=[];for(let t of e)t()}sleep(e){return new Promise((t)=>{this.sleepResolve=t,setTimeout((r,n)=>{r.sleepResolve=null,n()},e,this,t)})}}class jB{inflight=null;pending=null;closed=!1;config;constructor(e){this.config=e}enqueue(e){if(this.closed)return;this.pending=this.pending?dj(this.pending,e):e,this.drain()}close(){this.closed=!0,this.pending=null}async flush(){while(!this.closed)if(this.inflight)await this.inflight;else if(this.pending)await this.drain();else return}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let e=this.pending;this.pending=null,this.inflight=this.sendWithRetry(e).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(e){let t=e,r=0;while(!this.closed){if(await this.config.send(t))return;if(r++,await Wn(this.retryDelay(r)),this.pending&&!this.closed)t=dj(t,this.pending),this.pending=null}}retryDelay(e){let t=Math.min(this.config.baseDelayMs*2**(e-1),this.config.maxDelayMs),r=Math.random()*this.config.jitterMs;return t+r}}function dj(e,t){let r={...e};for(let[n,i]of Object.entries(t))if((n==="external_metadata"||n==="internal_metadata")&&r[n]&&typeof r[n]==="object"&&typeof i==="object"&&i!==null)r[n]={...r[n],...i};else r[n]=i;return r}var Lde=20000,Ode=100,fj=61440,YB=1536;function Ja(e){return e===400||e===413||e===422}function gj(e){let t=nn(e);if(t)return t;if(e&&typeof e==="object"&&"name"in e&&typeof e.name==="string")return e.name;return}class hg extends Error{reason;httpStatus;constructor(e,t){super(`CCRClient init failed: ${e}`);this.reason=e;this.httpStatus=t}}var Pde=10,$de=3,Gde=1e4;class JB{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;consecutiveNotFound=0;currentState=null;sessionBaseUrl;sessionId;streamEventBuffer=[];streamEventTimer=null;streamedEphemeralSinceLastAssistant=!1;workerState;eventUploader;internalEventUploader;deliveryUploader;pendingProcessingAcks=[];onEpochMismatch;getAuthHeaders;onDiagnostic;constructor(e,t,r){if(this.onEpochMismatch=r?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=r?.heartbeatIntervalMs??Lde,this.heartbeatJitterFraction=r?.heartbeatJitterFraction??0,this.getAuthHeaders=r?.getAuthHeaders??gg,this.onDiagnostic=r?.onDiagnostic,t.protocol!=="http:"&&t.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${t.protocol}`);let n=t.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${t.protocol}//${t.host}${n}`,this.sessionId=n.split("/").pop()||"",this.workerState=new jB({send:async(i)=>{let o=await this.request("put","/worker",{worker_epoch:this.workerEpoch,...i},"PUT worker");if(o.ok)return!0;if(Ja(o.status))return ee("warn","cli_worker_state_4xx_dropped",{status:o.status}),!0;return!1},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new Ju({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(i)=>{let o=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:i},"client events");if(o.ok)return;if(Ja(o.status)){let s=i.filter((c)=>!c.ephemeral),a=i.length-s.length;if(a>0){if(w(`CCRClient: client event POST rejected (${o.status}) — dropping ${a} ephemeral event(s), retrying ${s.length} durable event(s)`,{level:"warn"}),jr("ccr_partial_messages","ephemeral_dropped_on_4xx"),i.splice(0,i.length,...s),s.length===0)return;let c=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:s},"client events (durable retry)");if(c.ok)return;if(!Ja(c.status))throw new $o("client event POST failed",c.retryAfterMs)}if(s.length>0)this.droppedDurableEventBatches++;ee("warn","cli_worker_events_4xx_dropped",{status:o.status,count:s.length});return}throw new $o("client event POST failed",o.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new Ju({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(i)=>{let o=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:i},"internal events");if(o.ok)return;if(Ja(o.status)){ee("warn","cli_worker_internal_events_4xx_dropped",{status:o.status,count:i.length});return}throw new $o("internal event POST failed",o.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new Ju({maxBatchSize:64,maxQueueSize:64,send:async(i)=>{let o=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:i.map((s)=>({event_id:s.eventId,status:s.status}))},"delivery batch");if(o.ok)return;if(Ja(o.status)){ee("warn","cli_worker_delivery_4xx_dropped",{status:o.status,count:i.length});return}throw new $o("delivery POST failed",o.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),e.setOnEvent((i)=>{this.reportDelivery(i.event_id,"received")})}async initialize(e){let t=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new hg("no_auth_headers");if(e===void 0){let u=process.env.CLAUDE_CODE_WORKER_EPOCH;e=u?parseInt(u,10):NaN}if(isNaN(e))throw new hg("missing_epoch");this.workerEpoch=e;let r=this.getWorkerState();await Promise.race([r.catch(()=>null),Wn(Gde)]);let n={ok:!1},i=new Set,o=10,s=0;for(let u=1;u<=o;u++){if(s=u,n=await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)"),n.ok||this.closed)break;if(n.reason)i.add(n.reason);if(this.onDiagnostic?.(`PUT /worker failed (${n.reason??"unknown"}) attempt=${u}/${o}, ${Math.round((Date.now()-t)/1000)}s elapsed`),Ja(n.status))break;if(u<o){let l=Math.min(500*2**(u-1),30000)+Math.random()*500;await Wn(l)}}if(!n.ok){if(!this.closed)ee("error","cli_worker_init_put_retries_exhausted"),this.onDiagnostic?.(`PUT /worker retries exhausted: ${s} attempts over ${Math.round((Date.now()-t)/1000)}s, errors=[${[...i].join(",")||"unknown"}]`);throw new hg("worker_register_failed",n.status)}this.currentState="idle",this.startHeartbeat(),cj(()=>{this.writeEvent({type:"keep_alive"})}),w(`CCRClient: initialized, epoch=${this.workerEpoch}`),ee("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-t});let{metadata:a,durationMs:c}=await r;if(!this.closed)ee("info","cli_worker_state_restored",{duration_ms:c,had_state:a.external!==null||a.internal!==null});return a}async getWorkerState(){let e=Date.now(),t=this.getAuthHeaders();if(Object.keys(t).length===0)return{metadata:{external:null,internal:null},durationMs:0};let r=await this.getWithRetry(`${this.sessionBaseUrl}/worker`,t,"worker_state");return{metadata:{external:r?.worker?.external_metadata??null,internal:r?.worker?.internal_metadata??null},durationMs:Date.now()-e}}async request(e,t,r,n,{timeout:i=1e4}={}){let o=this.getAuthHeaders();if(Object.keys(o).length===0)return{ok:!1,reason:"no_auth_headers"};let s=`${this.sessionBaseUrl}${t}`;try{let a=await fetch(s,{method:e.toUpperCase(),headers:{...o,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-client-platform":Ms(),"User-Agent":Ci()},body:st(r),signal:AbortSignal.timeout(i),...$B({url:s})});if(a.body?.cancel(),a.ok)return this.consecutiveAuthFailures=0,this.consecutiveNotFound=0,{ok:!0};if(a.status===409)this.handleEpochMismatch();if(a.status===404){if(this.consecutiveNotFound++,this.consecutiveNotFound>=$de)w(`CCRClient: ${this.consecutiveNotFound} consecutive 404s — session gone, exiting`,{level:"error"}),ee("error","cli_worker_session_not_found"),this.onDiagnostic?.(`${this.consecutiveNotFound} consecutive 404s on ${t} — session gone, exiting`),this.onEpochMismatch()}if(a.status===401||a.status===403){let c=zB(),u=c?HU(c):null;if(u!==null&&u*1000<Date.now())w(`CCRClient: session_token expired (exp=${new Date(u*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),ee("error","cli_worker_token_expired_no_refresh"),this.onDiagnostic?.(`session_token expired (exp=${new Date(u*1000).toISOString()}) — no refresh delivered, exiting`),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=Pde)w(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),ee("error","cli_worker_auth_failures_exhausted"),this.onDiagnostic?.(`${this.consecutiveAuthFailures} consecutive auth failures (HTTP ${a.status}) with valid-looking token — exiting`),this.onEpochMismatch()}if(w(`CCRClient: ${n} returned ${a.status}`,{level:"warn"}),ee("warn","cli_worker_request_failed",{method:e,path:t,status:a.status}),a.status===429){let c=a.headers.get("retry-after"),u=c?parseInt(c,10):NaN;if(!isNaN(u)&&u>=0)return{ok:!1,retryAfterMs:u*1000,status:a.status,reason:`http_${a.status}`}}return{ok:!1,status:a.status,reason:`http_${a.status}`}}catch(a){return w(`CCRClient: ${n} failed: ${de(a)}`,{level:"warn"}),ee("warn","cli_worker_request_error",{method:e,path:t,error_code:gj(a)}),{ok:!1,reason:`fetch_failed:${gj(a)}`}}}reportState(e,t){if(e===this.currentState&&!t)return;this.currentState=e,this.workerState.enqueue({worker_status:e,requires_action_details:t?{tool_name:t.tool_name,display_tool_name:t.display_tool_name,action_description:t.action_description,raw_command:t.raw_command,request_id:t.request_id,tool_use_id:t.tool_use_id}:null})}reportMetadata(e){this.workerState.enqueue({external_metadata:Hde(e)})}reportInternalMetadata(e){this.workerState.enqueue({internal_metadata:e})}handleEpochMismatch(){w("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),ee("error","cli_worker_epoch_mismatch"),this.onDiagnostic?.(`worker epoch mismatch (409), epoch=${this.workerEpoch} — superseded by a newer worker, exiting`),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let e=()=>{let r=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(t,this.heartbeatIntervalMs+r)},t=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;e()};e()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)w("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(e){if(e.type==="stream_event"){if(this.streamEventBuffer.push(e),this.streamedEphemeralSinceLastAssistant=!0,!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),Ode);return}if(await this.flushStreamEventBuffer(),e.type==="assistant"&&this.streamedEphemeralSinceLastAssistant)zr("ccr_partial_messages"),this.streamedEphemeralSinceLastAssistant=!1;await this.eventUploader.enqueue(this.toClientEvent(e))}toClientEvent(e){let t=e,r=t.historical===!0;return{payload:{...t,uuid:typeof t.uuid==="string"?t.uuid:pj()},...r&&{historical:!0}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let e=this.streamEventBuffer;this.streamEventBuffer=[];let t=e.filter((r)=>{if(Buffer.byteLength(st(r))<=fj)return!0;return w(`CCRClient: dropping oversize ephemeral stream_event (>${fj} bytes)`,{level:"warn"}),jr("ccr_partial_messages","oversize_ephemeral_skipped"),!1});await this.eventUploader.enqueue(t.map((r)=>({payload:r,ephemeral:!0})))}async writeInternalEvent(e,t,{isCompaction:r=!1,agentId:n,preservedEventIds:i}={}){let o=i;if(o&&o.length>YB)on("tengu_ccr_preserved_event_ids_clamped",{originalCount:o.length,cap:YB}),o=o.slice(-YB);let s={payload:{type:e,...t,uuid:typeof t.uuid==="string"?t.uuid:pj()},...r&&{is_compaction:!0},...n&&{session_agent_id:n},...o?.length&&{preserved_event_ids:o}};await this.internalEventUploader.enqueue(s)}flushInternalEvents(){return this.internalEventUploader.flush()}flushDeliveryAcks(){return this.deliveryUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}droppedDurableEventBatches=0;get droppedDurableBatches(){return this.droppedDurableEventBatches}async flushWorkerState(){return this.workerState.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{limit:"1000"},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true",limit:"1000"},"subagent_events")}async paginatedGet(e,t,r){let n=this.getAuthHeaders();if(Object.keys(n).length===0)return null;let i=[],o,s=0,a=0,c=null;do{let u=new URL(`${this.sessionBaseUrl}${e}`);for(let[d,A]of Object.entries(t))u.searchParams.set(d,A);if(o)u.searchParams.set("cursor",o);let l=await this.getWithRetry(u.toString(),n,r,(d)=>{s++,c??=d.headers.get("content-encoding");let A=d.headers.get("content-length");if(A!==null&&a!==null)a+=Number(A);else a=null});if(!l)return null;i.push(...l.data??[]),o=l.next_cursor}while(o);return w(`CCRClient: Read ${i.length} internal events from ${e}${t.subagents?" (subagents)":""}`),{events:i,stats:{pageCount:s,bytesReceived:a,contentEncoding:c??"none"}}}async getWithRetry(e,t,r,n){for(let i=1;i<=10;i++){let o;try{if(o=await fetch(e,{headers:{...t,"anthropic-version":"2023-06-01","anthropic-client-platform":Ms(),"User-Agent":Ci()},signal:AbortSignal.timeout(30000),...$B({url:e})}),o.ok){let s=await o.json();return n?.(o),s}}catch(s){if(w(`CCRClient: GET ${e} failed (attempt ${i}/10): ${de(s)}`,{level:"warn"}),i<10){let a=Math.min(500*2**(i-1),30000)+Math.random()*500;await Wn(a)}continue}if(o.body?.cancel(),o.status===409)this.handleEpochMismatch();if(w(`CCRClient: GET ${e} returned ${o.status} (attempt ${i}/10)`,{level:"warn"}),i<10){let s=Math.min(500*2**(i-1),30000)+Math.random()*500;await Wn(s)}}return w("CCRClient: GET retries exhausted",{level:"error"}),ee("error","cli_worker_get_retries_exhausted",{context:r}),null}reportDelivery(e,t){if(t==="processing"){if(this.closed)return;if(this.pendingProcessingAcks.push(e)===1)queueMicrotask(()=>{let r=this.pendingProcessingAcks;if(this.pendingProcessingAcks=[],this.closed||r.length===0)return;this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:r.map((n)=>({event_id:n,status:"processing"}))},"processing ack")});return}this.deliveryUploader.enqueue({eventId:e,status:t})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),lj(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.pendingProcessingAcks=[],this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}function Hde(e){let t=e.post_turn_summary;if(!zde(t)||t.status_category!=="blocked")return e;return{...e,post_turn_summary:{...t,status_category:"need_input"}}}function zde(e){return e!==null&&typeof e==="object"&&"status_category"in e&&typeof e.status_category==="string"}function qB(e){let t=[],r=0,n;while((n=e.indexOf(`
|
|
129
|
+
|
|
130
|
+
`,r))!==-1){let i=e.slice(r,n);if(r=n+2,!i.trim())continue;let o={},s=!1;for(let a of i.split(`
|
|
131
|
+
`)){if(a.startsWith(":")){s=!0;continue}let c=a.indexOf(":");if(c===-1)continue;let u=a.slice(0,c),l=a[c+1]===" "?a.slice(c+2):a.slice(c+1);switch(u){case"event":o.event=l;break;case"id":o.id=l;break;case"data":o.data=o.data?o.data+`
|
|
132
|
+
`+l:l;break}}if(o.data||s)t.push(o)}return{frames:t,remaining:e.slice(r)}}at();Hs();Rt();Ot();wn();var hj={},jde={};var Yde=!1;function mj(e,t,r){if(Yde)return;if(e==="skills_load_ms"&&hj[e]!==void 0)return;if(hj[e]=Math.round(t),r!==void 0)jde[e]=Math.round(r)}var Jde=1000,qde=30000,Ej=45000,Vde=new Set([401,403,404]),qu=10,Wde=500,Zde=8000,Kde={stream:!0};function Xde(){return!0}class VB{url;state="idle";onData;onCloseCallback;onEventCallback;eventFilter;onDiagnostic;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;connectErrorsSeen=new Set;livenessTimer=null;postUrl;constructor(e,t={},r,n,i,o){this.url=e;if(this.headers=t,this.sessionId=r,this.refreshHeaders=n,this.getAuthHeaders=o??gg,this.postUrl=epe(e),i!==void 0&&i>0)this.lastSequenceNum=i;w(`SSETransport: SSE URL = ${e.href}`),w(`SSETransport: POST URL = ${this.postUrl}`),ee("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){w(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),ee("error","cli_sse_connect_failed");return}this.state="reconnecting";let e=Date.now(),t=new URL(this.url.href);if(this.lastSequenceNum>0)t.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let r=this.getAuthHeaders(),n={...this.headers,...r,Accept:"text/event-stream","anthropic-version":"2023-06-01","anthropic-client-platform":Ms(),"User-Agent":Ci()};if(r.Cookie)delete n.Authorization;if(this.lastSequenceNum>0)n["Last-Event-ID"]=String(this.lastSequenceNum);w(`SSETransport: Opening ${t.href}`),ee("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let i=await fetch(t.href,{headers:n,signal:this.abortController.signal});if(!i.ok){let s=Vde.has(i.status);if(w(`SSETransport: HTTP ${i.status}${s?" (permanent)":""}`,{level:"error"}),ee("error","cli_sse_connect_http_error",{status:i.status}),this.connectErrorsSeen.add(`http_${i.status}`),this.diagConnectFailure(`HTTP ${i.status}${s?" (permanent)":""}`,e),s){this.state="closed",this.onCloseCallback?.(i.status);return}this.handleConnectionError();return}if(!i.body){w("SSETransport: No response body"),this.connectErrorsSeen.add("no_response_body"),this.diagConnectFailure("no response body",e),this.handleConnectionError();return}let o=Date.now()-e;if(w("SSETransport: Connected"),ee("info","cli_sse_connect_connected",{duration_ms:o}),this.reconnectAttempts===0)mj("sse_connect_ms",o,e-performance.timeOrigin);if(this.reconnectAttempts>0){let s=this.reconnectStartTime?Math.round((Date.now()-this.reconnectStartTime)/1000):0;this.onDiagnostic?.(`SSE reconnected after ${this.reconnectAttempts} attempt(s), ${s}s downtime`+(this.connectErrorsSeen.size>0?`, errors=[${[...this.connectErrorsSeen].join(",")}]`:""))}else this.onDiagnostic?.(`SSE connected in ${o}ms`);this.connectErrorsSeen.clear(),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(i.body)}catch(i){if(this.abortController?.signal.aborted)return;w(`SSETransport: Connection error: ${de(i)}`,{level:"error"}),ee("error","cli_sse_connect_error"),this.connectErrorsSeen.add("fetch_failed"),this.diagConnectFailure(de(i),e),this.handleConnectionError()}}diagConnectFailure(e,t){if(!this.onDiagnostic)return;let r=this.reconnectAttempts+1;if(r>3&&r%10!==0)return;let n=Date.now()-t,i=this.reconnectStartTime?`, ${Math.round((Date.now()-this.reconnectStartTime)/1000)}s reconnecting`:"",o=this.connectErrorsSeen.size>1?`, errors=[${[...this.connectErrorsSeen].join(",")}]`:"";this.onDiagnostic(`SSE connect failed (${e}) attempt=${r} took=${n}ms${i}${o}`)}async readStream(e){let t=e.getReader(),r=new TextDecoder,n=[],i=!1;try{while(!0){let{done:o,value:s}=await t.read();if(o)break;let a=r.decode(s,Kde);if(!a)continue;let c=i&&a[0]===`
|
|
133
|
+
`||a.includes(`
|
|
134
|
+
|
|
135
|
+
`);if(n.push(a),!c){i=a.endsWith(`
|
|
136
|
+
`);continue}let{frames:u,remaining:l}=qB(n.join(""));n=l?[l]:[],i=l.endsWith(`
|
|
137
|
+
`);for(let d of u){if(this.resetLivenessTimer(),d.id){let A=parseInt(d.id,10);if(!isNaN(A)){if(this.seenSequenceNums.has(A))w(`SSETransport: DUPLICATE frame seq=${A} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),ee("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(A),this.seenSequenceNums.size>1000){let p=this.lastSequenceNum-200;for(let f of this.seenSequenceNums)if(f<p)this.seenSequenceNums.delete(f)}if(A>this.lastSequenceNum)this.lastSequenceNum=A}}if(d.event&&d.data)this.handleSSEFrame(d.event,d.data);else if(d.data)w("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),ee("warn","cli_sse_frame_missing_event_field")}}}catch(o){if(this.abortController?.signal.aborted)return;w(`SSETransport: Stream read error: ${de(o)}`,{level:"error"}),ee("error","cli_sse_stream_read_error")}finally{t.releaseLock()}if(this.state!=="closing"&&this.state!=="closed"){if(w("SSETransport: Stream ended, reconnecting"),this.state==="connected")this.connectErrorsSeen.add("stream_ended"),this.onDiagnostic?.("SSE stream ended by server, reconnecting");this.handleConnectionError()}}handleSSEFrame(e,t){if(e!=="client_event"){w(`SSETransport: Unexpected SSE event type '${e}' on worker stream`,{level:"warn"}),ee("warn","cli_sse_unexpected_event_type",{event_type:e});return}let r;try{r=Ii(t)}catch(i){w(`SSETransport: Failed to parse client_event data: ${de(i)}`,{level:"error"});return}let n=r.payload;if(n&&typeof n==="object"&&"type"in n){let i=this.sessionId?` session=${this.sessionId}`:"",o=r.device_attestation_status?` attestation=${r.device_attestation_status}`:"";if(w(`SSETransport: Event seq=${r.sequence_num} event_id=${r.event_id} event_type=${r.event_type} payload_type=${String(n.type)}${o}${i}`),ee("info","cli_sse_message_received"),this.eventFilter?.(r))ee("warn","cli_sse_event_filtered");else this.onData?.(st(n)+`
|
|
138
|
+
`)}else w(`SSETransport: Ignoring client_event with no type in payload: event_id=${r.event_id}`);this.onEventCallback?.(r)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let e=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=e;let t=e-this.reconnectStartTime;if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let i=this.refreshHeaders();Object.assign(this.headers,i),w("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let r=Math.min(Jde*Math.pow(2,this.reconnectAttempts-1),qde),n=Math.max(0,r+r*0.25*(2*Math.random()-1));w(`SSETransport: Reconnecting in ${Math.round(n)}ms (attempt ${this.reconnectAttempts}, ${Math.round(t/1000)}s elapsed)`),ee("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},n)}onLivenessTimeout=()=>{this.livenessTimer=null,w("SSETransport: Liveness timeout, reconnecting",{level:"error"}),ee("error","cli_sse_liveness_timeout"),this.connectErrorsSeen.add("liveness_timeout"),this.onDiagnostic?.(`SSE liveness timeout — no frame in ${Ej/1000}s, reconnecting`),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,Ej)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(e){let t=this.getAuthHeaders();if(Object.keys(t).length===0){w("SSETransport: No session token available for POST"),ee("warn","cli_sse_post_no_token");return}let r={...t,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-client-platform":Ms(),"User-Agent":Ci()};w(`SSETransport: POST body keys=${Object.keys(e).join(",")}`);for(let n=1;n<=qu;n++){try{let o=await li.post(this.postUrl,e,{headers:r,validateStatus:Xde});if(o.status===200||o.status===201){w(`SSETransport: POST success type=${e.type}`);return}if(w(`SSETransport: POST ${o.status} body=${st(o.data).slice(0,200)}`),o.status>=400&&o.status<500&&o.status!==429){w(`SSETransport: POST returned ${o.status} (client error), not retrying`),ee("warn","cli_sse_post_client_error",{status:o.status});return}w(`SSETransport: POST returned ${o.status}, attempt ${n}/${qu}`),ee("warn","cli_sse_post_retryable_error",{status:o.status,attempt:n})}catch(o){w(`SSETransport: POST error: ${de(o)}, attempt ${n}/${qu}`),ee("warn","cli_sse_post_network_error",{attempt:n})}if(n===qu){w(`SSETransport: POST failed after ${qu} attempts, continuing`),ee("warn","cli_sse_post_retries_exhausted");return}let i=Math.min(Wde*Math.pow(2,n-1),Zde);await Wn(i)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(e){this.onData=e}setOnClose(e){this.onCloseCallback=e}setOnEvent(e){this.onEventCallback=e}setOnDiagnostic(e){this.onDiagnostic=e}setEventFilter(e){this.eventFilter=e}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}[Symbol.dispose](){this.close()}}function epe(e){let t=e.pathname;if(t.endsWith("/stream"))t=t.slice(0,-7);return`${e.protocol}//${e.host}${t}`}at();Rt();var Wo={};Ur(Wo,{xid:()=>ege,void:()=>yge,uuidv7:()=>Jfe,uuidv6:()=>Yfe,uuidv4:()=>jfe,uuid:()=>zfe,url:()=>qfe,uppercase:()=>mA,unknown:()=>ch,union:()=>gh,undefined:()=>Ige,ulid:()=>Xfe,uint64:()=>mge,uint32:()=>fge,tuple:()=>Sge,trim:()=>bA,treeifyError:()=>cb,transform:()=>mw,toUpperCase:()=>vA,toLowerCase:()=>QA,toJSONSchema:()=>Mx,templateLiteral:()=>Mge,symbol:()=>Ege,superRefine:()=>TY,success:()=>Fge,stringbool:()=>$ge,stringFormat:()=>uge,string:()=>Yx,strictObject:()=>vge,startsWith:()=>IA,size:()=>fA,setErrorMap:()=>jge,set:()=>Rge,safeParseAsync:()=>jx,safeParse:()=>zx,registry:()=>Tg,regexes:()=>jo,regex:()=>gA,refine:()=>DY,record:()=>cY,readonly:()=>xY,property:()=>Sx,promise:()=>Lge,prettifyError:()=>lb,preprocess:()=>Hge,prefault:()=>IY,positive:()=>Qx,pipe:()=>Ah,partialRecord:()=>kge,parseAsync:()=>Hx,parse:()=>Gx,overwrite:()=>ti,optional:()=>lh,object:()=>Qge,number:()=>Jj,nullish:()=>Nge,nullable:()=>uh,null:()=>Kj,normalize:()=>BA,nonpositive:()=>xx,nonoptional:()=>CY,nonnegative:()=>wx,never:()=>dh,negative:()=>vx,nativeEnum:()=>Dge,nanoid:()=>Wfe,nan:()=>Uge,multipleOf:()=>qo,minSize:()=>Vo,minLength:()=>Hi,mime:()=>yA,maxSize:()=>ec,maxLength:()=>tc,map:()=>_ge,lte:()=>Nr,lt:()=>Xn,lowercase:()=>hA,looseObject:()=>xge,locales:()=>AA,literal:()=>pY,length:()=>rc,lazy:()=>kY,ksuid:()=>tge,keyof:()=>bge,jwt:()=>lge,json:()=>Gge,iso:()=>sh,ipv6:()=>nge,ipv4:()=>rge,intersection:()=>sY,int64:()=>hge,int32:()=>pge,int:()=>Jx,instanceof:()=>Pge,includes:()=>EA,guid:()=>Hfe,gte:()=>tr,gt:()=>ei,globalRegistry:()=>yn,getErrorMap:()=>Yge,function:()=>Ux,formatError:()=>oA,float64:()=>dge,float32:()=>Age,flattenError:()=>iA,file:()=>Tge,enum:()=>AY,endsWith:()=>CA,emoji:()=>Vfe,email:()=>Gfe,e164:()=>cge,discriminatedUnion:()=>wge,date:()=>Bge,custom:()=>Oge,cuid2:()=>Kfe,cuid:()=>Zfe,core:()=>ri,config:()=>At,coerce:()=>yw,clone:()=>Ir,cidrv6:()=>oge,cidrv4:()=>ige,check:()=>RY,catch:()=>bY,boolean:()=>qj,bigint:()=>gge,base64url:()=>age,base64:()=>sge,array:()=>pw,any:()=>Cge,_default:()=>mY,_ZodString:()=>qx,ZodXID:()=>rw,ZodVoid:()=>rY,ZodUnknown:()=>eY,ZodUnion:()=>fw,ZodUndefined:()=>Wj,ZodUUID:()=>ni,ZodURL:()=>Wx,ZodULID:()=>tw,ZodType:()=>ne,ZodTuple:()=>aY,ZodTransform:()=>hw,ZodTemplateLiteral:()=>wY,ZodSymbol:()=>Vj,ZodSuccess:()=>yY,ZodStringFormat:()=>Re,ZodString:()=>SA,ZodSet:()=>uY,ZodRecord:()=>gw,ZodRealError:()=>nc,ZodReadonly:()=>vY,ZodPromise:()=>_Y,ZodPrefault:()=>EY,ZodPipe:()=>Cw,ZodOptional:()=>Ew,ZodObject:()=>fh,ZodNumberFormat:()=>ic,ZodNumber:()=>kA,ZodNullable:()=>gY,ZodNull:()=>Zj,ZodNonOptional:()=>Iw,ZodNever:()=>tY,ZodNanoID:()=>Kx,ZodNaN:()=>QY,ZodMap:()=>lY,ZodLiteral:()=>dY,ZodLazy:()=>SY,ZodKSUID:()=>nw,ZodJWT:()=>Aw,ZodIssueCode:()=>zge,ZodIntersection:()=>oY,ZodISOTime:()=>ih,ZodISODuration:()=>oh,ZodISODateTime:()=>rh,ZodISODate:()=>nh,ZodIPv6:()=>ow,ZodIPv4:()=>iw,ZodGUID:()=>ah,ZodFile:()=>fY,ZodError:()=>Pfe,ZodEnum:()=>wA,ZodEmoji:()=>Zx,ZodEmail:()=>Vx,ZodE164:()=>uw,ZodDiscriminatedUnion:()=>iY,ZodDefault:()=>hY,ZodDate:()=>ph,ZodCustomStringFormat:()=>Yj,ZodCustom:()=>hh,ZodCatch:()=>BY,ZodCUID2:()=>ew,ZodCUID:()=>Xx,ZodCIDRv6:()=>aw,ZodCIDRv4:()=>sw,ZodBoolean:()=>_A,ZodBigIntFormat:()=>dw,ZodBigInt:()=>RA,ZodBase64URL:()=>lw,ZodBase64:()=>cw,ZodArray:()=>nY,ZodAny:()=>Xj,TimePrecision:()=>Zv,NEVER:()=>WB,$output:()=>Jv,$input:()=>qv,$brand:()=>ZB});var ri={};Ur(ri,{version:()=>oQ,util:()=>U,treeifyError:()=>cb,toJSONSchema:()=>Mx,toDotPath:()=>yj,safeParseAsync:()=>Ab,safeParse:()=>ub,registry:()=>Tg,regexes:()=>jo,prettifyError:()=>lb,parseAsync:()=>yg,parse:()=>Ig,locales:()=>AA,isValidJWT:()=>Oj,isValidBase64URL:()=>Lj,isValidBase64:()=>xQ,globalRegistry:()=>yn,globalConfig:()=>Vu,function:()=>Ux,formatError:()=>oA,flattenError:()=>iA,config:()=>At,clone:()=>Ir,_xid:()=>jg,_void:()=>Cx,_uuidv7:()=>Lg,_uuidv6:()=>Mg,_uuidv4:()=>Ug,_uuid:()=>Fg,_url:()=>Og,_uppercase:()=>mA,_unknown:()=>Xa,_union:()=>Efe,_undefined:()=>hx,_ulid:()=>zg,_uint64:()=>fx,_uint32:()=>cx,_tuple:()=>kx,_trim:()=>bA,_transform:()=>wfe,_toUpperCase:()=>vA,_toLowerCase:()=>QA,_templateLiteral:()=>Ufe,_symbol:()=>gx,_success:()=>Dfe,_stringbool:()=>Tx,_stringFormat:()=>Nx,_string:()=>Vv,_startsWith:()=>IA,_size:()=>fA,_set:()=>bfe,_safeParseAsync:()=>bg,_safeParse:()=>Bg,_regex:()=>gA,_refine:()=>Dx,_record:()=>yfe,_readonly:()=>Ffe,_property:()=>Sx,_promise:()=>Lfe,_positive:()=>Qx,_pipe:()=>Nfe,_parseAsync:()=>Cg,_parse:()=>Eg,_overwrite:()=>ti,_optional:()=>Sfe,_number:()=>rx,_nullable:()=>kfe,_null:()=>mx,_normalize:()=>BA,_nonpositive:()=>xx,_nonoptional:()=>Rfe,_nonnegative:()=>wx,_never:()=>Ix,_negative:()=>vx,_nativeEnum:()=>vfe,_nanoid:()=>$g,_nan:()=>bx,_multipleOf:()=>qo,_minSize:()=>Vo,_minLength:()=>Hi,_min:()=>tr,_mime:()=>yA,_maxSize:()=>ec,_maxLength:()=>tc,_max:()=>Nr,_map:()=>Bfe,_lte:()=>Nr,_lt:()=>Xn,_lowercase:()=>hA,_literal:()=>xfe,_length:()=>rc,_lazy:()=>Mfe,_ksuid:()=>Yg,_jwt:()=>eh,_isoTime:()=>ex,_isoDuration:()=>tx,_isoDateTime:()=>Kv,_isoDate:()=>Xv,_ipv6:()=>qg,_ipv4:()=>Jg,_intersection:()=>Cfe,_int64:()=>px,_int32:()=>ax,_int:()=>ix,_includes:()=>EA,_guid:()=>pA,_gte:()=>tr,_gt:()=>ei,_float64:()=>sx,_float32:()=>ox,_file:()=>_x,_enum:()=>Qfe,_endsWith:()=>CA,_emoji:()=>Pg,_email:()=>Ng,_e164:()=>Xg,_discriminatedUnion:()=>Ife,_default:()=>_fe,_date:()=>yx,_custom:()=>Rx,_cuid2:()=>Hg,_cuid:()=>Gg,_coercedString:()=>Wv,_coercedNumber:()=>nx,_coercedDate:()=>Bx,_coercedBoolean:()=>ux,_coercedBigint:()=>dx,_cidrv6:()=>Wg,_cidrv4:()=>Vg,_catch:()=>Tfe,_boolean:()=>lx,_bigint:()=>Ax,_base64url:()=>Kg,_base64:()=>Zg,_array:()=>xA,_any:()=>Ex,TimePrecision:()=>Zv,NEVER:()=>WB,JSONSchemaGenerator:()=>th,JSONSchema:()=>Hj,Doc:()=>wg,$output:()=>Jv,$input:()=>qv,$constructor:()=>B,$brand:()=>ZB,$ZodXID:()=>hQ,$ZodVoid:()=>OQ,$ZodUnknown:()=>Ka,$ZodUnion:()=>Dg,$ZodUndefined:()=>FQ,$ZodUUID:()=>cQ,$ZodURL:()=>uQ,$ZodULID:()=>gQ,$ZodType:()=>K,$ZodTuple:()=>Jo,$ZodTransform:()=>cA,$ZodTemplateLiteral:()=>ov,$ZodSymbol:()=>NQ,$ZodSuccess:()=>tv,$ZodStringFormat:()=>we,$ZodString:()=>Yo,$ZodSet:()=>YQ,$ZodRegistry:()=>dA,$ZodRecord:()=>zQ,$ZodRealError:()=>Wa,$ZodReadonly:()=>iv,$ZodPromise:()=>sv,$ZodPrefault:()=>XQ,$ZodPipe:()=>lA,$ZodOptional:()=>WQ,$ZodObject:()=>$Q,$ZodNumberFormat:()=>DQ,$ZodNumber:()=>_g,$ZodNullable:()=>ZQ,$ZodNull:()=>UQ,$ZodNonOptional:()=>ev,$ZodNever:()=>LQ,$ZodNanoID:()=>dQ,$ZodNaN:()=>nv,$ZodMap:()=>jQ,$ZodLiteral:()=>qQ,$ZodLazy:()=>av,$ZodKSUID:()=>mQ,$ZodJWT:()=>_Q,$ZodIntersection:()=>HQ,$ZodISOTime:()=>CQ,$ZodISODuration:()=>yQ,$ZodISODateTime:()=>EQ,$ZodISODate:()=>IQ,$ZodIPv6:()=>bQ,$ZodIPv4:()=>BQ,$ZodGUID:()=>aQ,$ZodFunction:()=>Fx,$ZodFile:()=>VQ,$ZodError:()=>nA,$ZodEnum:()=>JQ,$ZodEmoji:()=>AQ,$ZodEmail:()=>lQ,$ZodE164:()=>kQ,$ZodDiscriminatedUnion:()=>GQ,$ZodDefault:()=>KQ,$ZodDate:()=>PQ,$ZodCustomStringFormat:()=>RQ,$ZodCustom:()=>cv,$ZodCheckUpperCase:()=>Kb,$ZodCheckStringFormat:()=>Za,$ZodCheckStartsWith:()=>eQ,$ZodCheckSizeEquals:()=>Yb,$ZodCheckRegex:()=>Wb,$ZodCheckProperty:()=>rQ,$ZodCheckOverwrite:()=>iQ,$ZodCheckNumberFormat:()=>Gb,$ZodCheckMultipleOf:()=>$b,$ZodCheckMinSize:()=>jb,$ZodCheckMinLength:()=>qb,$ZodCheckMimeType:()=>nQ,$ZodCheckMaxSize:()=>zb,$ZodCheckMaxLength:()=>Jb,$ZodCheckLowerCase:()=>Zb,$ZodCheckLessThan:()=>vg,$ZodCheckLengthEquals:()=>Vb,$ZodCheckIncludes:()=>Xb,$ZodCheckGreaterThan:()=>xg,$ZodCheckEndsWith:()=>tQ,$ZodCheckBigIntFormat:()=>Hb,$ZodCheck:()=>Je,$ZodCatch:()=>rv,$ZodCUID2:()=>fQ,$ZodCUID:()=>pQ,$ZodCIDRv6:()=>vQ,$ZodCIDRv4:()=>QQ,$ZodBoolean:()=>sA,$ZodBigIntFormat:()=>TQ,$ZodBigInt:()=>Rg,$ZodBase64URL:()=>SQ,$ZodBase64:()=>wQ,$ZodAsyncError:()=>Zn,$ZodArray:()=>aA,$ZodAny:()=>MQ});var WB=Object.freeze({status:"aborted"});function B(e,t,r){function n(a,c){var u;Object.defineProperty(a,"_zod",{value:a._zod??{},enumerable:!1}),(u=a._zod).traits??(u.traits=new Set),a._zod.traits.add(e),t(a,c);for(let l in s.prototype)if(!(l in a))Object.defineProperty(a,l,{value:s.prototype[l].bind(a)});a._zod.constr=s,a._zod.def=c}let i=r?.Parent??Object;class o extends i{}Object.defineProperty(o,"name",{value:e});function s(a){var c;let u=r?.Parent?new o:this;n(u,a),(c=u._zod).deferred??(c.deferred=[]);for(let l of u._zod.deferred)l();return u}return Object.defineProperty(s,"init",{value:n}),Object.defineProperty(s,Symbol.hasInstance,{value:(a)=>{if(r?.Parent&&a instanceof r.Parent)return!0;return a?._zod?.traits?.has(e)}}),Object.defineProperty(s,"name",{value:e}),s}var ZB=Symbol("zod_brand");class Zn extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}var Vu={};function At(e){if(e)Object.assign(Vu,e);return Vu}var U={};Ur(U,{unwrapMessage:()=>Wu,stringifyPrimitive:()=>M,required:()=>mpe,randomString:()=>cpe,propertyKeyTypes:()=>eA,promiseAllObject:()=>ape,primitiveTypes:()=>nb,prefixIssues:()=>er,pick:()=>dpe,partial:()=>hpe,optionalKeys:()=>ib,omit:()=>ppe,numKeys:()=>lpe,nullish:()=>Gi,normalizeParams:()=>N,merge:()=>gpe,jsonStringifyReplacer:()=>XB,joinValues:()=>_,issue:()=>ab,isPlainObject:()=>Va,isObject:()=>qa,getSizableOrigin:()=>tA,getParsedType:()=>upe,getLengthableOrigin:()=>rA,getEnumValues:()=>Zu,getElementAtPath:()=>spe,floatSafeRemainder:()=>eb,finalizeIssue:()=>Cr,extend:()=>fpe,escapeRegex:()=>Kn,esc:()=>Go,defineLazy:()=>me,createTransparentProxy:()=>Ape,clone:()=>Ir,cleanRegex:()=>Xu,cleanEnum:()=>Epe,captureStackTrace:()=>mg,cached:()=>Ku,assignProp:()=>tb,assertNotEqual:()=>rpe,assertNever:()=>ipe,assertIs:()=>npe,assertEqual:()=>tpe,assert:()=>ope,allowsEval:()=>rb,aborted:()=>Ho,NUMBER_FORMAT_RANGES:()=>ob,Class:()=>Ij,BIGINT_FORMAT_RANGES:()=>sb});function tpe(e){return e}function rpe(e){return e}function npe(e){}function ipe(e){throw Error()}function ope(e){}function Zu(e){let t=Object.values(e).filter((n)=>typeof n==="number");return Object.entries(e).filter(([n,i])=>t.indexOf(+n)===-1).map(([n,i])=>i)}function _(e,t="|"){return e.map((r)=>M(r)).join(t)}function XB(e,t){if(typeof t==="bigint")return t.toString();return t}function Ku(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw Error("cached value already set")}}}function Gi(e){return e===null||e===void 0}function Xu(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function eb(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n,o=Number.parseInt(e.toFixed(i).replace(".","")),s=Number.parseInt(t.toFixed(i).replace(".",""));return o%s/10**i}function me(e,t,r){Object.defineProperty(e,t,{get(){{let i=r();return e[t]=i,i}throw Error("cached value already set")},set(i){Object.defineProperty(e,t,{value:i})},configurable:!0})}function tb(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function spe(e,t){if(!t)return e;return t.reduce((r,n)=>r?.[n],e)}function ape(e){let t=Object.keys(e),r=t.map((n)=>e[n]);return Promise.all(r).then((n)=>{let i={};for(let o=0;o<t.length;o++)i[t[o]]=n[o];return i})}function cpe(e=10){let r="";for(let n=0;n<e;n++)r+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return r}function Go(e){return JSON.stringify(e)}var mg=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function qa(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}var rb=Ku(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function Va(e){if(qa(e)===!1)return!1;let t=e.constructor;if(t===void 0)return!0;let r=t.prototype;if(qa(r)===!1)return!1;if(Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)return!1;return!0}function lpe(e){let t=0;for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r))t++;return t}var upe=(e)=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(e))return"array";if(e===null)return"null";if(e.then&&typeof e.then==="function"&&e.catch&&typeof e.catch==="function")return"promise";if(typeof Map<"u"&&e instanceof Map)return"map";if(typeof Set<"u"&&e instanceof Set)return"set";if(typeof Date<"u"&&e instanceof Date)return"date";if(typeof File<"u"&&e instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${t}`)}},eA=new Set(["string","number","symbol"]),nb=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Kn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ir(e,t,r){let n=new e._zod.constr(t??e._zod.def);if(!t||r?.parent)n._zod.parent=e;return n}function N(e){let t=e;if(!t)return{};if(typeof t==="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}if(delete t.message,typeof t.error==="string")return{...t,error:()=>t.error};return t}function Ape(e){let t;return new Proxy({},{get(r,n,i){return t??(t=e()),Reflect.get(t,n,i)},set(r,n,i,o){return t??(t=e()),Reflect.set(t,n,i,o)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,i){return t??(t=e()),Reflect.defineProperty(t,n,i)}})}function M(e){if(typeof e==="bigint")return e.toString()+"n";if(typeof e==="string")return`"${e}"`;return`${e}`}function ib(e){return Object.keys(e).filter((t)=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var ob={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},sb={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function dpe(e,t){let r={},n=e._zod.def;for(let i in t){if(!(i in n.shape))throw Error(`Unrecognized key: "${i}"`);if(!t[i])continue;r[i]=n.shape[i]}return Ir(e,{...e._zod.def,shape:r,checks:[]})}function ppe(e,t){let r={...e._zod.def.shape},n=e._zod.def;for(let i in t){if(!(i in n.shape))throw Error(`Unrecognized key: "${i}"`);if(!t[i])continue;delete r[i]}return Ir(e,{...e._zod.def,shape:r,checks:[]})}function fpe(e,t){if(!Va(t))throw Error("Invalid input to extend: expected a plain object");let r={...e._zod.def,get shape(){let n={...e._zod.def.shape,...t};return tb(this,"shape",n),n},checks:[]};return Ir(e,r)}function gpe(e,t){return Ir(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return tb(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function hpe(e,t,r){let n=t._zod.def.shape,i={...n};if(r)for(let o in r){if(!(o in n))throw Error(`Unrecognized key: "${o}"`);if(!r[o])continue;i[o]=e?new e({type:"optional",innerType:n[o]}):n[o]}else for(let o in n)i[o]=e?new e({type:"optional",innerType:n[o]}):n[o];return Ir(t,{...t._zod.def,shape:i,checks:[]})}function mpe(e,t,r){let n=t._zod.def.shape,i={...n};if(r)for(let o in r){if(!(o in i))throw Error(`Unrecognized key: "${o}"`);if(!r[o])continue;i[o]=new e({type:"nonoptional",innerType:n[o]})}else for(let o in n)i[o]=new e({type:"nonoptional",innerType:n[o]});return Ir(t,{...t._zod.def,shape:i,checks:[]})}function Ho(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function er(e,t){return t.map((r)=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Wu(e){return typeof e==="string"?e:e?.message}function Cr(e,t,r){let n={...e,path:e.path??[]};if(!e.message){let i=Wu(e.inst?._zod.def?.error?.(e))??Wu(t?.error?.(e))??Wu(r.customError?.(e))??Wu(r.localeError?.(e))??"Invalid input";n.message=i}if(delete n.inst,delete n.continue,!t?.reportInput)delete n.input;return n}function tA(e){if(e instanceof Set)return"set";if(e instanceof Map)return"map";if(e instanceof File)return"file";return"unknown"}function rA(e){if(Array.isArray(e))return"array";if(typeof e==="string")return"string";return"unknown"}function ab(...e){let[t,r,n]=e;if(typeof t==="string")return{message:t,code:"custom",input:r,inst:n};return{...t}}function Epe(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map((t)=>t[1])}class Ij{constructor(...e){}}var Cj=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,XB,2)},enumerable:!0})},nA=B("$ZodError",Cj),Wa=B("$ZodError",Cj,{Parent:Error});function iA(e,t=(r)=>r.message){let r={},n=[];for(let i of e.issues)if(i.path.length>0)r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i));else n.push(t(i));return{formErrors:n,fieldErrors:r}}function oA(e,t){let r=t||function(o){return o.message},n={_errors:[]},i=(o)=>{for(let s of o.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map((a)=>i({issues:a}));else if(s.code==="invalid_key")i({issues:s.issues});else if(s.code==="invalid_element")i({issues:s.issues});else if(s.path.length===0)n._errors.push(r(s));else{let a=n,c=0;while(c<s.path.length){let u=s.path[c];if(c!==s.path.length-1)a[u]=a[u]||{_errors:[]};else a[u]=a[u]||{_errors:[]},a[u]._errors.push(r(s));a=a[u],c++}}};return i(e),n}function cb(e,t){let r=t||function(o){return o.message},n={errors:[]},i=(o,s=[])=>{var a,c;for(let u of o.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map((l)=>i({issues:l},u.path));else if(u.code==="invalid_key")i({issues:u.issues},u.path);else if(u.code==="invalid_element")i({issues:u.issues},u.path);else{let l=[...s,...u.path];if(l.length===0){n.errors.push(r(u));continue}let d=n,A=0;while(A<l.length){let p=l[A],f=A===l.length-1;if(typeof p==="string")d.properties??(d.properties={}),(a=d.properties)[p]??(a[p]={errors:[]}),d=d.properties[p];else d.items??(d.items=[]),(c=d.items)[p]??(c[p]={errors:[]}),d=d.items[p];if(f)d.errors.push(r(u));A++}}};return i(e),n}function yj(e){let t=[];for(let r of e)if(typeof r==="number")t.push(`[${r}]`);else if(typeof r==="symbol")t.push(`[${JSON.stringify(String(r))}]`);else if(/[^\w$]/.test(r))t.push(`[${JSON.stringify(r)}]`);else{if(t.length)t.push(".");t.push(r)}return t.join("")}function lb(e){let t=[],r=[...e.issues].sort((n,i)=>n.path.length-i.path.length);for(let n of r)if(t.push(`✖ ${n.message}`),n.path?.length)t.push(` → at ${yj(n.path)}`);return t.join(`
|
|
139
|
+
`)}var Eg=(e)=>(t,r,n,i)=>{let o=n?Object.assign(n,{async:!1}):{async:!1},s=t._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new Zn;if(s.issues.length){let a=new(i?.Err??e)(s.issues.map((c)=>Cr(c,o,At())));throw mg(a,i?.callee),a}return s.value},Ig=Eg(Wa),Cg=(e)=>async(t,r,n,i)=>{let o=n?Object.assign(n,{async:!0}):{async:!0},s=t._zod.run({value:r,issues:[]},o);if(s instanceof Promise)s=await s;if(s.issues.length){let a=new(i?.Err??e)(s.issues.map((c)=>Cr(c,o,At())));throw mg(a,i?.callee),a}return s.value},yg=Cg(Wa),Bg=(e)=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},i);if(o instanceof Promise)throw new Zn;return o.issues.length?{success:!1,error:new(e??nA)(o.issues.map((s)=>Cr(s,i,At())))}:{success:!0,data:o.value}},ub=Bg(Wa),bg=(e)=>async(t,r,n)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},o=t._zod.run({value:r,issues:[]},i);if(o instanceof Promise)o=await o;return o.issues.length?{success:!1,error:new e(o.issues.map((s)=>Cr(s,i,At())))}:{success:!0,data:o.value}},Ab=bg(Wa);var jo={};Ur(jo,{xid:()=>gb,uuid7:()=>bpe,uuid6:()=>Bpe,uuid4:()=>ype,uuid:()=>zo,uppercase:()=>Pb,unicodeEmail:()=>xpe,undefined:()=>Lb,ulid:()=>fb,time:()=>_b,string:()=>Db,rfc5322Email:()=>vpe,number:()=>Fb,null:()=>Mb,nanoid:()=>mb,lowercase:()=>Ob,ksuid:()=>hb,ipv6:()=>bb,ipv4:()=>Bb,integer:()=>Nb,html5Email:()=>Qpe,hostname:()=>wb,guid:()=>Ib,extendedDuration:()=>Cpe,emoji:()=>yb,email:()=>Cb,e164:()=>Sb,duration:()=>Eb,domain:()=>kpe,datetime:()=>Rb,date:()=>kb,cuid2:()=>pb,cuid:()=>db,cidrv6:()=>vb,cidrv4:()=>Qb,browserEmail:()=>wpe,boolean:()=>Ub,bigint:()=>Tb,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.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vpe=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,xpe=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,wpe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Spe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function yb(){return new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}var Bb=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,bb=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,Qb=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,vb=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,xb=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Qg=/^[A-Za-z0-9_-]*$/,wb=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,kpe=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Sb=/^\+(?:[0-9]){6,14}[0-9]$/,Bj="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",kb=new RegExp(`^${Bj}$`);function bj(e){return typeof e.precision==="number"?e.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":e.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${e.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function _b(e){return new RegExp(`^${bj(e)}$`)}function Rb(e){let t=bj({precision:e.precision}),r=["Z"];if(e.local)r.push("");if(e.offset)r.push("([+-]\\d{2}:\\d{2})");let n=`${t}(?:${r.join("|")})`;return new RegExp(`^${Bj}T(?:${n})$`)}var Db=(e)=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Tb=/^\d+n?$/,Nb=/^\d+$/,Fb=/^-?\d+(?:\.\d+)?/i,Ub=/true|false/i,Mb=/null/i;var Lb=/undefined/i;var Ob=/^[^A-Z]*$/,Pb=/^[^a-z]*$/;var Je=B("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),vj={number:"number",bigint:"bigint",object:"date"},vg=B("$ZodCheckLessThan",(e,t)=>{Je.init(e,t);let r=vj[typeof t.value];e._zod.onattach.push((n)=>{let i=n._zod.bag,o=(t.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(t.value<o)if(t.inclusive)i.maximum=t.value;else i.exclusiveMaximum=t.value}),e._zod.check=(n)=>{if(t.inclusive?n.value<=t.value:n.value<t.value)return;n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xg=B("$ZodCheckGreaterThan",(e,t)=>{Je.init(e,t);let r=vj[typeof t.value];e._zod.onattach.push((n)=>{let i=n._zod.bag,o=(t.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(t.value>o)if(t.inclusive)i.minimum=t.value;else i.exclusiveMinimum=t.value}),e._zod.check=(n)=>{if(t.inclusive?n.value>=t.value:n.value>t.value)return;n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),$b=B("$ZodCheckMultipleOf",(e,t)=>{Je.init(e,t),e._zod.onattach.push((r)=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=(r)=>{if(typeof r.value!==typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof r.value==="bigint"?r.value%t.value===BigInt(0):eb(r.value,t.value)===0)return;r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),Gb=B("$ZodCheckNumberFormat",(e,t)=>{Je.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[i,o]=ob[t.format];e._zod.onattach.push((s)=>{let a=s._zod.bag;if(a.format=t.format,a.minimum=i,a.maximum=o,r)a.pattern=Nb}),e._zod.check=(s)=>{let a=s.value;if(r){if(!Number.isInteger(a)){s.issues.push({expected:n,format:t.format,code:"invalid_type",input:a,inst:e});return}if(!Number.isSafeInteger(a)){if(a>0)s.issues.push({input:a,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort});else s.issues.push({input:a,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort});return}}if(a<i)s.issues.push({origin:"number",input:a,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort});if(a>o)s.issues.push({origin:"number",input:a,code:"too_big",maximum:o,inst:e})}}),Hb=B("$ZodCheckBigIntFormat",(e,t)=>{Je.init(e,t);let[r,n]=sb[t.format];e._zod.onattach.push((i)=>{let o=i._zod.bag;o.format=t.format,o.minimum=r,o.maximum=n}),e._zod.check=(i)=>{let o=i.value;if(o<r)i.issues.push({origin:"bigint",input:o,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort});if(o>n)i.issues.push({origin:"bigint",input:o,code:"too_big",maximum:n,inst:e})}}),zb=B("$ZodCheckMaxSize",(e,t)=>{Je.init(e,t),e._zod.when=(r)=>{let n=r.value;return!Gi(n)&&n.size!==void 0},e._zod.onattach.push((r)=>{let n=r._zod.bag.maximum??Number.POSITIVE_INFINITY;if(t.maximum<n)r._zod.bag.maximum=t.maximum}),e._zod.check=(r)=>{let n=r.value;if(n.size<=t.maximum)return;r.issues.push({origin:tA(n),code:"too_big",maximum:t.maximum,input:n,inst:e,continue:!t.abort})}}),jb=B("$ZodCheckMinSize",(e,t)=>{Je.init(e,t),e._zod.when=(r)=>{let n=r.value;return!Gi(n)&&n.size!==void 0},e._zod.onattach.push((r)=>{let n=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(t.minimum>n)r._zod.bag.minimum=t.minimum}),e._zod.check=(r)=>{let n=r.value;if(n.size>=t.minimum)return;r.issues.push({origin:tA(n),code:"too_small",minimum:t.minimum,input:n,inst:e,continue:!t.abort})}}),Yb=B("$ZodCheckSizeEquals",(e,t)=>{Je.init(e,t),e._zod.when=(r)=>{let n=r.value;return!Gi(n)&&n.size!==void 0},e._zod.onattach.push((r)=>{let n=r._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=(r)=>{let n=r.value,i=n.size;if(i===t.size)return;let o=i>t.size;r.issues.push({origin:tA(n),...o?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),Jb=B("$ZodCheckMaxLength",(e,t)=>{Je.init(e,t),e._zod.when=(r)=>{let n=r.value;return!Gi(n)&&n.length!==void 0},e._zod.onattach.push((r)=>{let n=r._zod.bag.maximum??Number.POSITIVE_INFINITY;if(t.maximum<n)r._zod.bag.maximum=t.maximum}),e._zod.check=(r)=>{let n=r.value;if(n.length<=t.maximum)return;let o=rA(n);r.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),qb=B("$ZodCheckMinLength",(e,t)=>{Je.init(e,t),e._zod.when=(r)=>{let n=r.value;return!Gi(n)&&n.length!==void 0},e._zod.onattach.push((r)=>{let n=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(t.minimum>n)r._zod.bag.minimum=t.minimum}),e._zod.check=(r)=>{let n=r.value;if(n.length>=t.minimum)return;let o=rA(n);r.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Vb=B("$ZodCheckLengthEquals",(e,t)=>{Je.init(e,t),e._zod.when=(r)=>{let n=r.value;return!Gi(n)&&n.length!==void 0},e._zod.onattach.push((r)=>{let n=r._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=(r)=>{let n=r.value,i=n.length;if(i===t.length)return;let o=rA(n),s=i>t.length;r.issues.push({origin:o,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),Za=B("$ZodCheckStringFormat",(e,t)=>{var r,n;if(Je.init(e,t),e._zod.onattach.push((i)=>{let o=i._zod.bag;if(o.format=t.format,t.pattern)o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern)}),t.pattern)(r=e._zod).check??(r.check=(i)=>{if(t.pattern.lastIndex=0,t.pattern.test(i.value))return;i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})});else(n=e._zod).check??(n.check=()=>{})}),Wb=B("$ZodCheckRegex",(e,t)=>{Za.init(e,t),e._zod.check=(r)=>{if(t.pattern.lastIndex=0,t.pattern.test(r.value))return;r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Zb=B("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Ob),Za.init(e,t)}),Kb=B("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Pb),Za.init(e,t)}),Xb=B("$ZodCheckIncludes",(e,t)=>{Je.init(e,t);let r=Kn(t.includes),n=new RegExp(typeof t.position==="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push((i)=>{let o=i._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(n)}),e._zod.check=(i)=>{if(i.value.includes(t.includes,t.position))return;i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:i.value,inst:e,continue:!t.abort})}}),eQ=B("$ZodCheckStartsWith",(e,t)=>{Je.init(e,t);let r=new RegExp(`^${Kn(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push((n)=>{let i=n._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=(n)=>{if(n.value.startsWith(t.prefix))return;n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),tQ=B("$ZodCheckEndsWith",(e,t)=>{Je.init(e,t);let r=new RegExp(`.*${Kn(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push((n)=>{let i=n._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(r)}),e._zod.check=(n)=>{if(n.value.endsWith(t.suffix))return;n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});function Qj(e,t,r){if(e.issues.length)t.issues.push(...er(r,e.issues))}var rQ=B("$ZodCheckProperty",(e,t)=>{Je.init(e,t),e._zod.check=(r)=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then((i)=>Qj(i,r,t.property));Qj(n,r,t.property);return}}),nQ=B("$ZodCheckMimeType",(e,t)=>{Je.init(e,t);let r=new Set(t.mime);e._zod.onattach.push((n)=>{n._zod.bag.mime=t.mime}),e._zod.check=(n)=>{if(r.has(n.value.type))return;n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e})}}),iQ=B("$ZodCheckOverwrite",(e,t)=>{Je.init(e,t),e._zod.check=(r)=>{r.value=t.tx(r.value)}});class wg{constructor(e=[]){if(this.content=[],this.indent=0,this)this.args=e}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e==="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let r=e.split(`
|
|
140
|
+
`).filter((o)=>o),n=Math.min(...r.map((o)=>o.length-o.trimStart().length)),i=r.map((o)=>o.slice(n)).map((o)=>" ".repeat(this.indent*2)+o);for(let o of i)this.content.push(o)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[""]).map((i)=>` ${i}`)];return new e(...t,n.join(`
|
|
141
|
+
`))}}var oQ={major:4,minor:0,patch:0};var K=B("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=oQ;let n=[...e._zod.def.checks??[]];if(e._zod.traits.has("$ZodCheck"))n.unshift(e);for(let i of n)for(let o of i._zod.onattach)o(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(o,s,a)=>{let c=Ho(o),u;for(let l of s){if(l._zod.when){if(!l._zod.when(o))continue}else if(c)continue;let d=o.issues.length,A=l._zod.check(o);if(A instanceof Promise&&a?.async===!1)throw new Zn;if(u||A instanceof Promise)u=(u??Promise.resolve()).then(async()=>{if(await A,o.issues.length===d)return;if(!c)c=Ho(o,d)});else{if(o.issues.length===d)continue;if(!c)c=Ho(o,d)}}if(u)return u.then(()=>o);return o};e._zod.run=(o,s)=>{let a=e._zod.parse(o,s);if(a instanceof Promise){if(s.async===!1)throw new Zn;return a.then((c)=>i(c,n,s))}return i(a,n,s)}}e["~standard"]={validate:(i)=>{try{let o=ub(e,i);return o.success?{value:o.data}:{issues:o.error?.issues}}catch(o){return Ab(e,i).then((s)=>s.success?{value:s.data}:{issues:s.error?.issues})}},vendor:"zod",version:1}}),Yo=B("$ZodString",(e,t)=>{K.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Db(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(i){}if(typeof r.value==="string")return r;return r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),we=B("$ZodStringFormat",(e,t)=>{Za.init(e,t),Yo.init(e,t)}),aQ=B("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Ib),we.init(e,t)}),cQ=B("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=zo(n))}else t.pattern??(t.pattern=zo());we.init(e,t)}),lQ=B("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Cb),we.init(e,t)}),uQ=B("$ZodURL",(e,t)=>{we.init(e,t),e._zod.check=(r)=>{try{let n=r.value,i=new URL(n),o=i.href;if(t.hostname){if(t.hostname.lastIndex=0,!t.hostname.test(i.hostname))r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:wb.source,input:r.value,inst:e,continue:!t.abort})}if(t.protocol){if(t.protocol.lastIndex=0,!t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol))r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})}if(!n.endsWith("/")&&o.endsWith("/"))r.value=o.slice(0,-1);else r.value=o;return}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),AQ=B("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=yb()),we.init(e,t)}),dQ=B("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=mb),we.init(e,t)}),pQ=B("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=db),we.init(e,t)}),fQ=B("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=pb),we.init(e,t)}),gQ=B("$ZodULID",(e,t)=>{t.pattern??(t.pattern=fb),we.init(e,t)}),hQ=B("$ZodXID",(e,t)=>{t.pattern??(t.pattern=gb),we.init(e,t)}),mQ=B("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=hb),we.init(e,t)}),EQ=B("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Rb(t)),we.init(e,t)}),IQ=B("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=kb),we.init(e,t)}),CQ=B("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=_b(t)),we.init(e,t)}),yQ=B("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Eb),we.init(e,t)}),BQ=B("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Bb),we.init(e,t),e._zod.onattach.push((r)=>{let n=r._zod.bag;n.format="ipv4"})}),bQ=B("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=bb),we.init(e,t),e._zod.onattach.push((r)=>{let n=r._zod.bag;n.format="ipv6"}),e._zod.check=(r)=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),QQ=B("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Qb),we.init(e,t)}),vQ=B("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=vb),we.init(e,t),e._zod.check=(r)=>{let[n,i]=r.value.split("/");try{if(!i)throw Error();let o=Number(i);if(`${o}`!==i)throw Error();if(o<0||o>128)throw Error();new URL(`http://[${n}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function xQ(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var wQ=B("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=xb),we.init(e,t),e._zod.onattach.push((r)=>{r._zod.bag.contentEncoding="base64"}),e._zod.check=(r)=>{if(xQ(r.value))return;r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function Lj(e){if(!Qg.test(e))return!1;let t=e.replace(/[-_]/g,(n)=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return xQ(r)}var SQ=B("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Qg),we.init(e,t),e._zod.onattach.push((r)=>{r._zod.bag.contentEncoding="base64url"}),e._zod.check=(r)=>{if(Lj(r.value))return;r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),kQ=B("$ZodE164",(e,t)=>{t.pattern??(t.pattern=Sb),we.init(e,t)});function Oj(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let i=JSON.parse(atob(n));if("typ"in i&&i?.typ!=="JWT")return!1;if(!i.alg)return!1;if(t&&(!("alg"in i)||i.alg!==t))return!1;return!0}catch{return!1}}var _Q=B("$ZodJWT",(e,t)=>{we.init(e,t),e._zod.check=(r)=>{if(Oj(r.value,t.alg))return;r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),RQ=B("$ZodCustomStringFormat",(e,t)=>{we.init(e,t),e._zod.check=(r)=>{if(t.fn(r.value))return;r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),_g=B("$ZodNumber",(e,t)=>{K.init(e,t),e._zod.pattern=e._zod.bag.pattern??Fb,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch(s){}let i=r.value;if(typeof i==="number"&&!Number.isNaN(i)&&Number.isFinite(i))return r;let o=typeof i==="number"?Number.isNaN(i)?"NaN":!Number.isFinite(i)?"Infinity":void 0:void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...o?{received:o}:{}}),r}}),DQ=B("$ZodNumber",(e,t)=>{Gb.init(e,t),_g.init(e,t)}),sA=B("$ZodBoolean",(e,t)=>{K.init(e,t),e._zod.pattern=Ub,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Boolean(r.value)}catch(o){}let i=r.value;if(typeof i==="boolean")return r;return r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}}),Rg=B("$ZodBigInt",(e,t)=>{K.init(e,t),e._zod.pattern=Tb,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch(i){}if(typeof r.value==="bigint")return r;return r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),TQ=B("$ZodBigInt",(e,t)=>{Hb.init(e,t),Rg.init(e,t)}),NQ=B("$ZodSymbol",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(typeof i==="symbol")return r;return r.issues.push({expected:"symbol",code:"invalid_type",input:i,inst:e}),r}}),FQ=B("$ZodUndefined",(e,t)=>{K.init(e,t),e._zod.pattern=Lb,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(r,n)=>{let i=r.value;if(typeof i>"u")return r;return r.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:e}),r}}),UQ=B("$ZodNull",(e,t)=>{K.init(e,t),e._zod.pattern=Mb,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let i=r.value;if(i===null)return r;return r.issues.push({expected:"null",code:"invalid_type",input:i,inst:e}),r}}),MQ=B("$ZodAny",(e,t)=>{K.init(e,t),e._zod.parse=(r)=>r}),Ka=B("$ZodUnknown",(e,t)=>{K.init(e,t),e._zod.parse=(r)=>r}),LQ=B("$ZodNever",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),OQ=B("$ZodVoid",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(typeof i>"u")return r;return r.issues.push({expected:"void",code:"invalid_type",input:i,inst:e}),r}}),PQ=B("$ZodDate",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch(a){}let i=r.value,o=i instanceof Date;if(o&&!Number.isNaN(i.getTime()))return r;return r.issues.push({expected:"date",code:"invalid_type",input:i,...o?{received:"Invalid Date"}:{},inst:e}),r}});function wj(e,t,r){if(e.issues.length)t.issues.push(...er(r,e.issues));t.value[r]=e.value}var aA=B("$ZodArray",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let o=[];for(let s=0;s<i.length;s++){let a=i[s],c=t.element._zod.run({value:a,issues:[]},n);if(c instanceof Promise)o.push(c.then((u)=>wj(u,r,s)));else wj(c,r,s)}if(o.length)return Promise.all(o).then(()=>r);return r}});function Sg(e,t,r){if(e.issues.length)t.issues.push(...er(r,e.issues));t.value[r]=e.value}function Sj(e,t,r,n){if(e.issues.length)if(n[r]===void 0)if(r in n)t.value[r]=void 0;else t.value[r]=e.value;else t.issues.push(...er(r,e.issues));else if(e.value===void 0){if(r in n)t.value[r]=void 0}else t.value[r]=e.value}var $Q=B("$ZodObject",(e,t)=>{K.init(e,t);let r=Ku(()=>{let d=Object.keys(t.shape);for(let p of d)if(!(t.shape[p]instanceof K))throw Error(`Invalid element at key "${p}": expected a Zod schema`);let A=ib(t.shape);return{shape:t.shape,keys:d,keySet:new Set(d),numKeys:d.length,optionalKeys:new Set(A)}});me(e._zod,"propValues",()=>{let d=t.shape,A={};for(let p in d){let f=d[p]._zod;if(f.values){A[p]??(A[p]=new Set);for(let h of f.values)A[p].add(h)}}return A});let n=(d)=>{let A=new wg(["shape","payload","ctx"]),p=r.value,f=(S)=>{let b=Go(S);return`shape[${b}]._zod.run({ value: input[${b}], issues: [] }, ctx)`};A.write("const input = payload.value;");let h=Object.create(null),g=0;for(let S of p.keys)h[S]=`key_${g++}`;A.write("const newResult = {}");for(let S of p.keys)if(p.optionalKeys.has(S)){let b=h[S];A.write(`const ${b} = ${f(S)};`);let I=Go(S);A.write(`
|
|
142
|
+
if (${b}.issues.length) {
|
|
143
|
+
if (input[${I}] === undefined) {
|
|
144
|
+
if (${I} in input) {
|
|
145
|
+
newResult[${I}] = undefined;
|
|
146
|
+
}
|
|
147
|
+
} else {
|
|
148
|
+
payload.issues = payload.issues.concat(
|
|
149
|
+
${b}.issues.map((iss) => ({
|
|
150
|
+
...iss,
|
|
151
|
+
path: iss.path ? [${I}, ...iss.path] : [${I}],
|
|
152
|
+
}))
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
} else if (${b}.value === undefined) {
|
|
156
|
+
if (${I} in input) newResult[${I}] = undefined;
|
|
157
|
+
} else {
|
|
158
|
+
newResult[${I}] = ${b}.value;
|
|
159
|
+
}
|
|
160
|
+
`)}else{let b=h[S];A.write(`const ${b} = ${f(S)};`),A.write(`
|
|
161
|
+
if (${b}.issues.length) payload.issues = payload.issues.concat(${b}.issues.map(iss => ({
|
|
162
|
+
...iss,
|
|
163
|
+
path: iss.path ? [${Go(S)}, ...iss.path] : [${Go(S)}]
|
|
164
|
+
})));`),A.write(`newResult[${Go(S)}] = ${b}.value`)}A.write("payload.value = newResult;"),A.write("return payload;");let m=A.compile();return(S,b)=>m(d,S,b)},i,o=qa,s=!Vu.jitless,c=s&&rb.value,u=t.catchall,l;e._zod.parse=(d,A)=>{l??(l=r.value);let p=d.value;if(!o(p))return d.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),d;let f=[];if(s&&c&&A?.async===!1&&A.jitless!==!0){if(!i)i=n(t.shape);d=i(d,A)}else{d.value={};let b=l.shape;for(let I of l.keys){let P=b[I],x=P._zod.run({value:p[I],issues:[]},A),D=P._zod.optin==="optional"&&P._zod.optout==="optional";if(x instanceof Promise)f.push(x.then((le)=>D?Sj(le,d,I,p):Sg(le,d,I)));else if(D)Sj(x,d,I,p);else Sg(x,d,I)}}if(!u)return f.length?Promise.all(f).then(()=>d):d;let h=[],g=l.keySet,m=u._zod,S=m.def.type;for(let b of Object.keys(p)){if(g.has(b))continue;if(S==="never"){h.push(b);continue}let I=m.run({value:p[b],issues:[]},A);if(I instanceof Promise)f.push(I.then((P)=>Sg(P,d,b)));else Sg(I,d,b)}if(h.length)d.issues.push({code:"unrecognized_keys",keys:h,input:p,inst:e});if(!f.length)return d;return Promise.all(f).then(()=>d)}});function kj(e,t,r,n){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map((i)=>i.issues.map((o)=>Cr(o,n,At())))}),t}var Dg=B("$ZodUnion",(e,t)=>{K.init(e,t),me(e._zod,"optin",()=>t.options.some((r)=>r._zod.optin==="optional")?"optional":void 0),me(e._zod,"optout",()=>t.options.some((r)=>r._zod.optout==="optional")?"optional":void 0),me(e._zod,"values",()=>{if(t.options.every((r)=>r._zod.values))return new Set(t.options.flatMap((r)=>Array.from(r._zod.values)));return}),me(e._zod,"pattern",()=>{if(t.options.every((r)=>r._zod.pattern)){let r=t.options.map((n)=>n._zod.pattern);return new RegExp(`^(${r.map((n)=>Xu(n.source)).join("|")})$`)}return}),e._zod.parse=(r,n)=>{let i=!1,o=[];for(let s of t.options){let a=s._zod.run({value:r.value,issues:[]},n);if(a instanceof Promise)o.push(a),i=!0;else{if(a.issues.length===0)return a;o.push(a)}}if(!i)return kj(o,r,e,n);return Promise.all(o).then((s)=>kj(s,r,e,n))}}),GQ=B("$ZodDiscriminatedUnion",(e,t)=>{Dg.init(e,t);let r=e._zod.parse;me(e._zod,"propValues",()=>{let i={};for(let o of t.options){let s=o._zod.propValues;if(!s||Object.keys(s).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[a,c]of Object.entries(s)){if(!i[a])i[a]=new Set;for(let u of c)i[a].add(u)}}return i});let n=Ku(()=>{let i=t.options,o=new Map;for(let s of i){let a=s._zod.propValues[t.discriminator];if(!a||a.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(let c of a){if(o.has(c))throw Error(`Duplicate discriminator value "${String(c)}"`);o.set(c,s)}}return o});e._zod.parse=(i,o)=>{let s=i.value;if(!qa(s))return i.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),i;let a=n.value.get(s?.[t.discriminator]);if(a)return a._zod.run(i,o);if(t.unionFallback)return r(i,o);return i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:s,path:[t.discriminator],inst:e}),i}}),HQ=B("$ZodIntersection",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value,o=t.left._zod.run({value:i,issues:[]},n),s=t.right._zod.run({value:i,issues:[]},n);if(o instanceof Promise||s instanceof Promise)return Promise.all([o,s]).then(([c,u])=>_j(r,c,u));return _j(r,o,s)}});function sQ(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(Va(e)&&Va(t)){let r=Object.keys(t),n=Object.keys(e).filter((o)=>r.indexOf(o)!==-1),i={...e,...t};for(let o of n){let s=sQ(e[o],t[o]);if(!s.valid)return{valid:!1,mergeErrorPath:[o,...s.mergeErrorPath]};i[o]=s.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let i=e[n],o=t[n],s=sQ(i,o);if(!s.valid)return{valid:!1,mergeErrorPath:[n,...s.mergeErrorPath]};r.push(s.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function _j(e,t,r){if(t.issues.length)e.issues.push(...t.issues);if(r.issues.length)e.issues.push(...r.issues);if(Ho(e))return e;let n=sQ(t.value,r.value);if(!n.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}var Jo=B("$ZodTuple",(e,t)=>{K.init(e,t);let r=t.items,n=r.length-[...r].reverse().findIndex((i)=>i._zod.optin!=="optional");e._zod.parse=(i,o)=>{let s=i.value;if(!Array.isArray(s))return i.issues.push({input:s,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let a=[];if(!t.rest){let u=s.length>r.length,l=s.length<n-1;if(u||l)return i.issues.push({input:s,inst:e,origin:"array",...u?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length}}),i}let c=-1;for(let u of r){if(c++,c>=s.length){if(c>=n)continue}let l=u._zod.run({value:s[c],issues:[]},o);if(l instanceof Promise)a.push(l.then((d)=>kg(d,i,c)));else kg(l,i,c)}if(t.rest){let u=s.slice(r.length);for(let l of u){c++;let d=t.rest._zod.run({value:l,issues:[]},o);if(d instanceof Promise)a.push(d.then((A)=>kg(A,i,c)));else kg(d,i,c)}}if(a.length)return Promise.all(a).then(()=>i);return i}});function kg(e,t,r){if(e.issues.length)t.issues.push(...er(r,e.issues));t.value[r]=e.value}var zQ=B("$ZodRecord",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Va(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let o=[];if(t.keyType._zod.values){let s=t.keyType._zod.values;r.value={};for(let c of s)if(typeof c==="string"||typeof c==="number"||typeof c==="symbol"){let u=t.valueType._zod.run({value:i[c],issues:[]},n);if(u instanceof Promise)o.push(u.then((l)=>{if(l.issues.length)r.issues.push(...er(c,l.issues));r.value[c]=l.value}));else{if(u.issues.length)r.issues.push(...er(c,u.issues));r.value[c]=u.value}}let a;for(let c in i)if(!s.has(c))a=a??[],a.push(c);if(a&&a.length>0)r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:a})}else{r.value={};for(let s of Reflect.ownKeys(i)){if(s==="__proto__")continue;let a=t.keyType._zod.run({value:s,issues:[]},n);if(a instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(a.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:a.issues.map((u)=>Cr(u,n,At())),input:s,path:[s],inst:e}),r.value[a.value]=a.value;continue}let c=t.valueType._zod.run({value:i[s],issues:[]},n);if(c instanceof Promise)o.push(c.then((u)=>{if(u.issues.length)r.issues.push(...er(s,u.issues));r.value[a.value]=u.value}));else{if(c.issues.length)r.issues.push(...er(s,c.issues));r.value[a.value]=c.value}}}if(o.length)return Promise.all(o).then(()=>r);return r}}),jQ=B("$ZodMap",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),r;let o=[];r.value=new Map;for(let[s,a]of i){let c=t.keyType._zod.run({value:s,issues:[]},n),u=t.valueType._zod.run({value:a,issues:[]},n);if(c instanceof Promise||u instanceof Promise)o.push(Promise.all([c,u]).then(([l,d])=>{Rj(l,d,r,s,i,e,n)}));else Rj(c,u,r,s,i,e,n)}if(o.length)return Promise.all(o).then(()=>r);return r}});function Rj(e,t,r,n,i,o,s){if(e.issues.length)if(eA.has(typeof n))r.issues.push(...er(n,e.issues));else r.issues.push({origin:"map",code:"invalid_key",input:i,inst:o,issues:e.issues.map((a)=>Cr(a,s,At()))});if(t.issues.length)if(eA.has(typeof n))r.issues.push(...er(n,t.issues));else r.issues.push({origin:"map",code:"invalid_element",input:i,inst:o,key:n,issues:t.issues.map((a)=>Cr(a,s,At()))});r.value.set(e.value,t.value)}var YQ=B("$ZodSet",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Set))return r.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),r;let o=[];r.value=new Set;for(let s of i){let a=t.valueType._zod.run({value:s,issues:[]},n);if(a instanceof Promise)o.push(a.then((c)=>Dj(c,r)));else Dj(a,r)}if(o.length)return Promise.all(o).then(()=>r);return r}});function Dj(e,t){if(e.issues.length)t.issues.push(...e.issues);t.value.add(e.value)}var JQ=B("$ZodEnum",(e,t)=>{K.init(e,t);let r=Zu(t.entries);e._zod.values=new Set(r),e._zod.pattern=new RegExp(`^(${r.filter((n)=>eA.has(typeof n)).map((n)=>typeof n==="string"?Kn(n):n.toString()).join("|")})$`),e._zod.parse=(n,i)=>{let o=n.value;if(e._zod.values.has(o))return n;return n.issues.push({code:"invalid_value",values:r,input:o,inst:e}),n}}),qQ=B("$ZodLiteral",(e,t)=>{K.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map((r)=>typeof r==="string"?Kn(r):r?r.toString():String(r)).join("|")})$`),e._zod.parse=(r,n)=>{let i=r.value;if(e._zod.values.has(i))return r;return r.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),r}}),VQ=B("$ZodFile",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(i instanceof File)return r;return r.issues.push({expected:"file",code:"invalid_type",input:i,inst:e}),r}}),cA=B("$ZodTransform",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=t.transform(r.value,r);if(n.async)return(i instanceof Promise?i:Promise.resolve(i)).then((s)=>(r.value=s,r));if(i instanceof Promise)throw new Zn;return r.value=i,r}}),WQ=B("$ZodOptional",(e,t)=>{K.init(e,t),e._zod.optin="optional",e._zod.optout="optional",me(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),me(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${Xu(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional")return t.innerType._zod.run(r,n);if(r.value===void 0)return r;return t.innerType._zod.run(r,n)}}),ZQ=B("$ZodNullable",(e,t)=>{K.init(e,t),me(e._zod,"optin",()=>t.innerType._zod.optin),me(e._zod,"optout",()=>t.innerType._zod.optout),me(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${Xu(r.source)}|null)$`):void 0}),me(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>{if(r.value===null)return r;return t.innerType._zod.run(r,n)}}),KQ=B("$ZodDefault",(e,t)=>{K.init(e,t),e._zod.optin="optional",me(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(r.value===void 0)return r.value=t.defaultValue,r;let i=t.innerType._zod.run(r,n);if(i instanceof Promise)return i.then((o)=>Tj(o,t));return Tj(i,t)}});function Tj(e,t){if(e.value===void 0)e.value=t.defaultValue;return e}var XQ=B("$ZodPrefault",(e,t)=>{K.init(e,t),e._zod.optin="optional",me(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(r.value===void 0)r.value=t.defaultValue;return t.innerType._zod.run(r,n)}}),ev=B("$ZodNonOptional",(e,t)=>{K.init(e,t),me(e._zod,"values",()=>{let r=t.innerType._zod.values;return r?new Set([...r].filter((n)=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);if(i instanceof Promise)return i.then((o)=>Nj(o,e));return Nj(i,e)}});function Nj(e,t){if(!e.issues.length&&e.value===void 0)e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t});return e}var tv=B("$ZodSuccess",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);if(i instanceof Promise)return i.then((o)=>(r.value=o.issues.length===0,r));return r.value=i.issues.length===0,r}}),rv=B("$ZodCatch",(e,t)=>{K.init(e,t),e._zod.optin="optional",me(e._zod,"optout",()=>t.innerType._zod.optout),me(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);if(i instanceof Promise)return i.then((o)=>{if(r.value=o.value,o.issues.length)r.value=t.catchValue({...r,error:{issues:o.issues.map((s)=>Cr(s,n,At()))},input:r.value}),r.issues=[];return r});if(r.value=i.value,i.issues.length)r.value=t.catchValue({...r,error:{issues:i.issues.map((o)=>Cr(o,n,At()))},input:r.value}),r.issues=[];return r}}),nv=B("$ZodNaN",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>{if(typeof r.value!=="number"||!Number.isNaN(r.value))return r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r;return r}}),lA=B("$ZodPipe",(e,t)=>{K.init(e,t),me(e._zod,"values",()=>t.in._zod.values),me(e._zod,"optin",()=>t.in._zod.optin),me(e._zod,"optout",()=>t.out._zod.optout),e._zod.parse=(r,n)=>{let i=t.in._zod.run(r,n);if(i instanceof Promise)return i.then((o)=>Fj(o,t,n));return Fj(i,t,n)}});function Fj(e,t,r){if(Ho(e))return e;return t.out._zod.run({value:e.value,issues:e.issues},r)}var iv=B("$ZodReadonly",(e,t)=>{K.init(e,t),me(e._zod,"propValues",()=>t.innerType._zod.propValues),me(e._zod,"values",()=>t.innerType._zod.values),me(e._zod,"optin",()=>t.innerType._zod.optin),me(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);if(i instanceof Promise)return i.then(Uj);return Uj(i)}});function Uj(e){return e.value=Object.freeze(e.value),e}var ov=B("$ZodTemplateLiteral",(e,t)=>{K.init(e,t);let r=[];for(let n of t.parts)if(n instanceof K){if(!n._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);let i=n._zod.pattern instanceof RegExp?n._zod.pattern.source:n._zod.pattern;if(!i)throw Error(`Invalid template literal part: ${n._zod.traits}`);let o=i.startsWith("^")?1:0,s=i.endsWith("$")?i.length-1:i.length;r.push(i.slice(o,s))}else if(n===null||nb.has(typeof n))r.push(Kn(`${n}`));else throw Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(n,i)=>{if(typeof n.value!=="string")return n.issues.push({input:n.value,inst:e,expected:"template_literal",code:"invalid_type"}),n;if(e._zod.pattern.lastIndex=0,!e._zod.pattern.test(n.value))return n.issues.push({input:n.value,inst:e,code:"invalid_format",format:"template_literal",pattern:e._zod.pattern.source}),n;return n}}),sv=B("$ZodPromise",(e,t)=>{K.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then((i)=>t.innerType._zod.run({value:i,issues:[]},n))}),av=B("$ZodLazy",(e,t)=>{K.init(e,t),me(e._zod,"innerType",()=>t.getter()),me(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),me(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),me(e._zod,"optin",()=>e._zod.innerType._zod.optin),me(e._zod,"optout",()=>e._zod.innerType._zod.optout),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),cv=B("$ZodCustom",(e,t)=>{Je.init(e,t),K.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=(r)=>{let n=r.value,i=t.fn(n);if(i instanceof Promise)return i.then((o)=>Mj(o,r,n,e));Mj(i,r,n,e);return}});function Mj(e,t,r,n){if(!e){let i={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};if(n._zod.def.params)i.params=n._zod.def.params;t.issues.push(ab(i))}}var AA={};Ur(AA,{zhTW:()=>Yv,zhCN:()=>jv,vi:()=>zv,ur:()=>Hv,ua:()=>Gv,tr:()=>$v,th:()=>Pv,ta:()=>Ov,sv:()=>Lv,sl:()=>Mv,ru:()=>Uv,pt:()=>Fv,ps:()=>Tv,pl:()=>Nv,ota:()=>Dv,no:()=>Rv,nl:()=>_v,ms:()=>kv,mk:()=>Sv,ko:()=>wv,kh:()=>xv,ja:()=>vv,it:()=>Qv,id:()=>bv,hu:()=>Bv,he:()=>yv,frCA:()=>Cv,fr:()=>Iv,fi:()=>Ev,fa:()=>mv,es:()=>hv,eo:()=>gv,en:()=>uA,de:()=>fv,cs:()=>pv,ca:()=>dv,be:()=>Av,az:()=>uv,ar:()=>lv});var _pe=()=>{let e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"};return(i)=>{switch(i.code){case"invalid_type":return`مدخلات غير مقبولة: يفترض إدخال ${i.expected}، ولكن تم إدخال ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${M(i.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return` أكبر من اللازم: يفترض أن تكون ${i.origin??"القيمة"} ${o} ${i.maximum.toString()} ${s.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${i.origin??"القيمة"} ${o} ${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`أصغر من اللازم: يفترض لـ ${i.origin} أن يكون ${o} ${i.minimum.toString()} ${s.unit}`;return`أصغر من اللازم: يفترض لـ ${i.origin} أن يكون ${o} ${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${i.prefix}"`;if(o.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${o.suffix}"`;if(o.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${o.includes}"`;if(o.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${o.pattern}`;return`${n[o.format]??i.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${i.divisor}`;case"unrecognized_keys":return`معرف${i.keys.length>1?"ات":""} غريب${i.keys.length>1?"ة":""}: ${_(i.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${i.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${i.origin}`;default:return"مدخل غير مقبول"}}};function lv(){return{localeError:_pe()}}var Rpe=()=>{let e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return(i)=>{switch(i.code){case"invalid_type":return`Yanlış dəyər: gözlənilən ${i.expected}, daxil olan ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Yanlış dəyər: gözlənilən ${M(i.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Çox böyük: gözlənilən ${i.origin??"dəyər"} ${o}${i.maximum.toString()} ${s.unit??"element"}`;return`Çox böyük: gözlənilən ${i.origin??"dəyər"} ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Çox kiçik: gözlənilən ${i.origin} ${o}${i.minimum.toString()} ${s.unit}`;return`Çox kiçik: gözlənilən ${i.origin} ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Yanlış mətn: "${o.prefix}" ilə başlamalıdır`;if(o.format==="ends_with")return`Yanlış mətn: "${o.suffix}" ilə bitməlidir`;if(o.format==="includes")return`Yanlış mətn: "${o.includes}" daxil olmalıdır`;if(o.format==="regex")return`Yanlış mətn: ${o.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${n[o.format]??i.format}`}case"not_multiple_of":return`Yanlış ədəd: ${i.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${i.keys.length>1?"lar":""}: ${_(i.keys,", ")}`;case"invalid_key":return`${i.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${i.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function uv(){return{localeError:Rpe()}}function $j(e,t,r,n){let i=Math.abs(e),o=i%10,s=i%100;if(s>=11&&s<=19)return n;if(o===1)return t;if(o>=2&&o<=4)return r;return n}var Dpe=()=>{let e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"лік";case"object":{if(Array.isArray(i))return"масіў";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"};return(i)=>{switch(i.code){case"invalid_type":return`Няправільны ўвод: чакаўся ${i.expected}, атрымана ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Няправільны ўвод: чакалася ${M(i.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s){let a=Number(i.maximum),c=$j(a,s.unit.one,s.unit.few,s.unit.many);return`Занадта вялікі: чакалася, што ${i.origin??"значэнне"} павінна ${s.verb} ${o}${i.maximum.toString()} ${c}`}return`Занадта вялікі: чакалася, што ${i.origin??"значэнне"} павінна быць ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s){let a=Number(i.minimum),c=$j(a,s.unit.one,s.unit.few,s.unit.many);return`Занадта малы: чакалася, што ${i.origin} павінна ${s.verb} ${o}${i.minimum.toString()} ${c}`}return`Занадта малы: чакалася, што ${i.origin} павінна быць ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${o.prefix}"`;if(o.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${o.suffix}"`;if(o.format==="includes")return`Няправільны радок: павінен змяшчаць "${o.includes}"`;if(o.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${o.pattern}`;return`Няправільны ${n[o.format]??i.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${i.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${i.keys.length>1?"ключы":"ключ"}: ${_(i.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${i.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${i.origin}`;default:return"Няправільны ўвод"}}};function Av(){return{localeError:Dpe()}}var Tpe=()=>{let e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return(i)=>{switch(i.code){case"invalid_type":return`Tipus invàlid: s'esperava ${i.expected}, s'ha rebut ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Valor invàlid: s'esperava ${M(i.values[0])}`;return`Opció invàlida: s'esperava una de ${_(i.values," o ")}`;case"too_big":{let o=i.inclusive?"com a màxim":"menys de",s=t(i.origin);if(s)return`Massa gran: s'esperava que ${i.origin??"el valor"} contingués ${o} ${i.maximum.toString()} ${s.unit??"elements"}`;return`Massa gran: s'esperava que ${i.origin??"el valor"} fos ${o} ${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?"com a mínim":"més de",s=t(i.origin);if(s)return`Massa petit: s'esperava que ${i.origin} contingués ${o} ${i.minimum.toString()} ${s.unit}`;return`Massa petit: s'esperava que ${i.origin} fos ${o} ${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Format invàlid: ha de començar amb "${o.prefix}"`;if(o.format==="ends_with")return`Format invàlid: ha d'acabar amb "${o.suffix}"`;if(o.format==="includes")return`Format invàlid: ha d'incloure "${o.includes}"`;if(o.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${o.pattern}`;return`Format invàlid per a ${n[o.format]??i.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${i.divisor}`;case"unrecognized_keys":return`Clau${i.keys.length>1?"s":""} no reconeguda${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${i.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${i.origin}`;default:return"Entrada invàlida"}}};function dv(){return{localeError:Tpe()}}var Npe=()=>{let e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"číslo";case"string":return"řetězec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(i))return"pole";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"};return(i)=>{switch(i.code){case"invalid_type":return`Neplatný vstup: očekáváno ${i.expected}, obdrženo ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Neplatný vstup: očekáváno ${M(i.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Hodnota je příliš velká: ${i.origin??"hodnota"} musí mít ${o}${i.maximum.toString()} ${s.unit??"prvků"}`;return`Hodnota je příliš velká: ${i.origin??"hodnota"} musí být ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Hodnota je příliš malá: ${i.origin??"hodnota"} musí mít ${o}${i.minimum.toString()} ${s.unit??"prvků"}`;return`Hodnota je příliš malá: ${i.origin??"hodnota"} musí být ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Neplatný řetězec: musí začínat na "${o.prefix}"`;if(o.format==="ends_with")return`Neplatný řetězec: musí končit na "${o.suffix}"`;if(o.format==="includes")return`Neplatný řetězec: musí obsahovat "${o.includes}"`;if(o.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${o.pattern}`;return`Neplatný formát ${n[o.format]??i.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${i.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${_(i.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${i.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${i.origin}`;default:return"Neplatný vstup"}}};function pv(){return{localeError:Npe()}}var Fpe=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"Zahl";case"object":{if(Array.isArray(i))return"Array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"};return(i)=>{switch(i.code){case"invalid_type":return`Ungültige Eingabe: erwartet ${i.expected}, erhalten ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Ungültige Eingabe: erwartet ${M(i.values[0])}`;return`Ungültige Option: erwartet eine von ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Zu groß: erwartet, dass ${i.origin??"Wert"} ${o}${i.maximum.toString()} ${s.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${i.origin??"Wert"} ${o}${i.maximum.toString()} ist`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Zu klein: erwartet, dass ${i.origin} ${o}${i.minimum.toString()} ${s.unit} hat`;return`Zu klein: erwartet, dass ${i.origin} ${o}${i.minimum.toString()} ist`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Ungültiger String: muss mit "${o.prefix}" beginnen`;if(o.format==="ends_with")return`Ungültiger String: muss mit "${o.suffix}" enden`;if(o.format==="includes")return`Ungültiger String: muss "${o.includes}" enthalten`;if(o.format==="regex")return`Ungültiger String: muss dem Muster ${o.pattern} entsprechen`;return`Ungültig: ${n[o.format]??i.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${i.divisor} sein`;case"unrecognized_keys":return`${i.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${_(i.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${i.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${i.origin}`;default:return"Ungültige Eingabe"}}};function fv(){return{localeError:Fpe()}}var Upe=(e)=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},Mpe=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function t(n){return e[n]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return(n)=>{switch(n.code){case"invalid_type":return`Invalid input: expected ${n.expected}, received ${Upe(n.input)}`;case"invalid_value":if(n.values.length===1)return`Invalid input: expected ${M(n.values[0])}`;return`Invalid option: expected one of ${_(n.values,"|")}`;case"too_big":{let i=n.inclusive?"<=":"<",o=t(n.origin);if(o)return`Too big: expected ${n.origin??"value"} to have ${i}${n.maximum.toString()} ${o.unit??"elements"}`;return`Too big: expected ${n.origin??"value"} to be ${i}${n.maximum.toString()}`}case"too_small":{let i=n.inclusive?">=":">",o=t(n.origin);if(o)return`Too small: expected ${n.origin} to have ${i}${n.minimum.toString()} ${o.unit}`;return`Too small: expected ${n.origin} to be ${i}${n.minimum.toString()}`}case"invalid_format":{let i=n;if(i.format==="starts_with")return`Invalid string: must start with "${i.prefix}"`;if(i.format==="ends_with")return`Invalid string: must end with "${i.suffix}"`;if(i.format==="includes")return`Invalid string: must include "${i.includes}"`;if(i.format==="regex")return`Invalid string: must match pattern ${i.pattern}`;return`Invalid ${r[i.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${_(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}};function uA(){return{localeError:Mpe()}}var Lpe=(e)=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"nombro";case"object":{if(Array.isArray(e))return"tabelo";if(e===null)return"senvalora";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},Ope=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(n){return e[n]??null}let r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"};return(n)=>{switch(n.code){case"invalid_type":return`Nevalida enigo: atendiĝis ${n.expected}, riceviĝis ${Lpe(n.input)}`;case"invalid_value":if(n.values.length===1)return`Nevalida enigo: atendiĝis ${M(n.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${_(n.values,"|")}`;case"too_big":{let i=n.inclusive?"<=":"<",o=t(n.origin);if(o)return`Tro granda: atendiĝis ke ${n.origin??"valoro"} havu ${i}${n.maximum.toString()} ${o.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${n.origin??"valoro"} havu ${i}${n.maximum.toString()}`}case"too_small":{let i=n.inclusive?">=":">",o=t(n.origin);if(o)return`Tro malgranda: atendiĝis ke ${n.origin} havu ${i}${n.minimum.toString()} ${o.unit}`;return`Tro malgranda: atendiĝis ke ${n.origin} estu ${i}${n.minimum.toString()}`}case"invalid_format":{let i=n;if(i.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${i.prefix}"`;if(i.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${i.suffix}"`;if(i.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${i.includes}"`;if(i.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`;return`Nevalida ${r[i.format]??n.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} ŝlosilo${n.keys.length>1?"j":""}: ${_(n.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${n.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`;default:return"Nevalida enigo"}}};function gv(){return{localeError:Ope()}}var Ppe=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"número";case"object":{if(Array.isArray(i))return"arreglo";if(i===null)return"nulo";if(Object.getPrototypeOf(i)!==Object.prototype)return i.constructor.name}}return o},n={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return(i)=>{switch(i.code){case"invalid_type":return`Entrada inválida: se esperaba ${i.expected}, recibido ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Entrada inválida: se esperaba ${M(i.values[0])}`;return`Opción inválida: se esperaba una de ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Demasiado grande: se esperaba que ${i.origin??"valor"} tuviera ${o}${i.maximum.toString()} ${s.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${i.origin??"valor"} fuera ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Demasiado pequeño: se esperaba que ${i.origin} tuviera ${o}${i.minimum.toString()} ${s.unit}`;return`Demasiado pequeño: se esperaba que ${i.origin} fuera ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Cadena inválida: debe comenzar con "${o.prefix}"`;if(o.format==="ends_with")return`Cadena inválida: debe terminar en "${o.suffix}"`;if(o.format==="includes")return`Cadena inválida: debe incluir "${o.includes}"`;if(o.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${o.pattern}`;return`Inválido ${n[o.format]??i.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${i.divisor}`;case"unrecognized_keys":return`Llave${i.keys.length>1?"s":""} desconocida${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Llave inválida en ${i.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${i.origin}`;default:return"Entrada inválida"}}};function hv(){return{localeError:Ppe()}}var $pe=()=>{let e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"عدد";case"object":{if(Array.isArray(i))return"آرایه";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"};return(i)=>{switch(i.code){case"invalid_type":return`ورودی نامعتبر: میبایست ${i.expected} میبود، ${r(i.input)} دریافت شد`;case"invalid_value":if(i.values.length===1)return`ورودی نامعتبر: میبایست ${M(i.values[0])} میبود`;return`گزینه نامعتبر: میبایست یکی از ${_(i.values,"|")} میبود`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`خیلی بزرگ: ${i.origin??"مقدار"} باید ${o}${i.maximum.toString()} ${s.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${i.origin??"مقدار"} باید ${o}${i.maximum.toString()} باشد`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`خیلی کوچک: ${i.origin} باید ${o}${i.minimum.toString()} ${s.unit} باشد`;return`خیلی کوچک: ${i.origin} باید ${o}${i.minimum.toString()} باشد`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`رشته نامعتبر: باید با "${o.prefix}" شروع شود`;if(o.format==="ends_with")return`رشته نامعتبر: باید با "${o.suffix}" تمام شود`;if(o.format==="includes")return`رشته نامعتبر: باید شامل "${o.includes}" باشد`;if(o.format==="regex")return`رشته نامعتبر: باید با الگوی ${o.pattern} مطابقت داشته باشد`;return`${n[o.format]??i.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${i.divisor} باشد`;case"unrecognized_keys":return`کلید${i.keys.length>1?"های":""} ناشناس: ${_(i.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${i.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${i.origin}`;default:return"ورودی نامعتبر"}}};function mv(){return{localeError:$pe()}}var Gpe=()=>{let e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"};return(i)=>{switch(i.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${i.expected}, oli ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Virheellinen syöte: täytyy olla ${M(i.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Liian suuri: ${s.subject} täytyy olla ${o}${i.maximum.toString()} ${s.unit}`.trim();return`Liian suuri: arvon täytyy olla ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Liian pieni: ${s.subject} täytyy olla ${o}${i.minimum.toString()} ${s.unit}`.trim();return`Liian pieni: arvon täytyy olla ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${o.prefix}"`;if(o.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${o.suffix}"`;if(o.format==="includes")return`Virheellinen syöte: täytyy sisältää "${o.includes}"`;if(o.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${o.pattern}`;return`Virheellinen ${n[o.format]??i.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${i.divisor} monikerta`;case"unrecognized_keys":return`${i.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${_(i.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function Ev(){return{localeError:Gpe()}}var Hpe=()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"nombre";case"object":{if(Array.isArray(i))return"tableau";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return(i)=>{switch(i.code){case"invalid_type":return`Entrée invalide : ${i.expected} attendu, ${r(i.input)} reçu`;case"invalid_value":if(i.values.length===1)return`Entrée invalide : ${M(i.values[0])} attendu`;return`Option invalide : une valeur parmi ${_(i.values,"|")} attendue`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Trop grand : ${i.origin??"valeur"} doit ${s.verb} ${o}${i.maximum.toString()} ${s.unit??"élément(s)"}`;return`Trop grand : ${i.origin??"valeur"} doit être ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Trop petit : ${i.origin} doit ${s.verb} ${o}${i.minimum.toString()} ${s.unit}`;return`Trop petit : ${i.origin} doit être ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Chaîne invalide : doit commencer par "${o.prefix}"`;if(o.format==="ends_with")return`Chaîne invalide : doit se terminer par "${o.suffix}"`;if(o.format==="includes")return`Chaîne invalide : doit inclure "${o.includes}"`;if(o.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${o.pattern}`;return`${n[o.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${i.divisor}`;case"unrecognized_keys":return`Clé${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${_(i.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${i.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entrée invalide"}}};function Iv(){return{localeError:Hpe()}}var zpe=()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"};return(i)=>{switch(i.code){case"invalid_type":return`Entrée invalide : attendu ${i.expected}, reçu ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Entrée invalide : attendu ${M(i.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"≤":"<",s=t(i.origin);if(s)return`Trop grand : attendu que ${i.origin??"la valeur"} ait ${o}${i.maximum.toString()} ${s.unit}`;return`Trop grand : attendu que ${i.origin??"la valeur"} soit ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?"≥":">",s=t(i.origin);if(s)return`Trop petit : attendu que ${i.origin} ait ${o}${i.minimum.toString()} ${s.unit}`;return`Trop petit : attendu que ${i.origin} soit ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Chaîne invalide : doit commencer par "${o.prefix}"`;if(o.format==="ends_with")return`Chaîne invalide : doit se terminer par "${o.suffix}"`;if(o.format==="includes")return`Chaîne invalide : doit inclure "${o.includes}"`;if(o.format==="regex")return`Chaîne invalide : doit correspondre au motif ${o.pattern}`;return`${n[o.format]??i.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${i.divisor}`;case"unrecognized_keys":return`Clé${i.keys.length>1?"s":""} non reconnue${i.keys.length>1?"s":""} : ${_(i.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${i.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${i.origin}`;default:return"Entrée invalide"}}};function Cv(){return{localeError:zpe()}}var jpe=()=>{let e={string:{unit:"אותיות",verb:"לכלול"},file:{unit:"בייטים",verb:"לכלול"},array:{unit:"פריטים",verb:"לכלול"},set:{unit:"פריטים",verb:"לכלול"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"קלט",email:"כתובת אימייל",url:"כתובת רשת",emoji:"אימוג'י",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"תאריך וזמן ISO",date:"תאריך ISO",time:"זמן ISO",duration:"משך זמן ISO",ipv4:"כתובת IPv4",ipv6:"כתובת IPv6",cidrv4:"טווח IPv4",cidrv6:"טווח IPv6",base64:"מחרוזת בבסיס 64",base64url:"מחרוזת בבסיס 64 לכתובות רשת",json_string:"מחרוזת JSON",e164:"מספר E.164",jwt:"JWT",template_literal:"קלט"};return(i)=>{switch(i.code){case"invalid_type":return`קלט לא תקין: צריך ${i.expected}, התקבל ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`קלט לא תקין: צריך ${M(i.values[0])}`;return`קלט לא תקין: צריך אחת מהאפשרויות ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`גדול מדי: ${i.origin??"value"} צריך להיות ${o}${i.maximum.toString()} ${s.unit??"elements"}`;return`גדול מדי: ${i.origin??"value"} צריך להיות ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`קטן מדי: ${i.origin} צריך להיות ${o}${i.minimum.toString()} ${s.unit}`;return`קטן מדי: ${i.origin} צריך להיות ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`מחרוזת לא תקינה: חייבת להתחיל ב"${o.prefix}"`;if(o.format==="ends_with")return`מחרוזת לא תקינה: חייבת להסתיים ב "${o.suffix}"`;if(o.format==="includes")return`מחרוזת לא תקינה: חייבת לכלול "${o.includes}"`;if(o.format==="regex")return`מחרוזת לא תקינה: חייבת להתאים לתבנית ${o.pattern}`;return`${n[o.format]??i.format} לא תקין`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${i.divisor}`;case"unrecognized_keys":return`מפתח${i.keys.length>1?"ות":""} לא מזוה${i.keys.length>1?"ים":"ה"}: ${_(i.keys,", ")}`;case"invalid_key":return`מפתח לא תקין ב${i.origin}`;case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${i.origin}`;default:return"קלט לא תקין"}}};function yv(){return{localeError:jpe()}}var Ype=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"szám";case"object":{if(Array.isArray(i))return"tömb";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"};return(i)=>{switch(i.code){case"invalid_type":return`Érvénytelen bemenet: a várt érték ${i.expected}, a kapott érték ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Érvénytelen bemenet: a várt érték ${M(i.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Túl nagy: ${i.origin??"érték"} mérete túl nagy ${o}${i.maximum.toString()} ${s.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${i.origin??"érték"} túl nagy: ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Túl kicsi: a bemeneti érték ${i.origin} mérete túl kicsi ${o}${i.minimum.toString()} ${s.unit}`;return`Túl kicsi: a bemeneti érték ${i.origin} túl kicsi ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Érvénytelen string: "${o.prefix}" értékkel kell kezdődnie`;if(o.format==="ends_with")return`Érvénytelen string: "${o.suffix}" értékkel kell végződnie`;if(o.format==="includes")return`Érvénytelen string: "${o.includes}" értéket kell tartalmaznia`;if(o.format==="regex")return`Érvénytelen string: ${o.pattern} mintának kell megfelelnie`;return`Érvénytelen ${n[o.format]??i.format}`}case"not_multiple_of":return`Érvénytelen szám: ${i.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${i.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${i.origin}`;default:return"Érvénytelen bemenet"}}};function Bv(){return{localeError:Ype()}}var Jpe=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"};return(i)=>{switch(i.code){case"invalid_type":return`Input tidak valid: diharapkan ${i.expected}, diterima ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Input tidak valid: diharapkan ${M(i.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Terlalu besar: diharapkan ${i.origin??"value"} memiliki ${o}${i.maximum.toString()} ${s.unit??"elemen"}`;return`Terlalu besar: diharapkan ${i.origin??"value"} menjadi ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Terlalu kecil: diharapkan ${i.origin} memiliki ${o}${i.minimum.toString()} ${s.unit}`;return`Terlalu kecil: diharapkan ${i.origin} menjadi ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`String tidak valid: harus dimulai dengan "${o.prefix}"`;if(o.format==="ends_with")return`String tidak valid: harus berakhir dengan "${o.suffix}"`;if(o.format==="includes")return`String tidak valid: harus menyertakan "${o.includes}"`;if(o.format==="regex")return`String tidak valid: harus sesuai pola ${o.pattern}`;return`${n[o.format]??i.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${i.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${i.origin}`;default:return"Input tidak valid"}}};function bv(){return{localeError:Jpe()}}var qpe=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"numero";case"object":{if(Array.isArray(i))return"vettore";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"};return(i)=>{switch(i.code){case"invalid_type":return`Input non valido: atteso ${i.expected}, ricevuto ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Input non valido: atteso ${M(i.values[0])}`;return`Opzione non valida: atteso uno tra ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Troppo grande: ${i.origin??"valore"} deve avere ${o}${i.maximum.toString()} ${s.unit??"elementi"}`;return`Troppo grande: ${i.origin??"valore"} deve essere ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Troppo piccolo: ${i.origin} deve avere ${o}${i.minimum.toString()} ${s.unit}`;return`Troppo piccolo: ${i.origin} deve essere ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Stringa non valida: deve iniziare con "${o.prefix}"`;if(o.format==="ends_with")return`Stringa non valida: deve terminare con "${o.suffix}"`;if(o.format==="includes")return`Stringa non valida: deve includere "${o.includes}"`;if(o.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${o.pattern}`;return`Invalid ${n[o.format]??i.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${i.divisor}`;case"unrecognized_keys":return`Chiav${i.keys.length>1?"i":"e"} non riconosciut${i.keys.length>1?"e":"a"}: ${_(i.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${i.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${i.origin}`;default:return"Input non valido"}}};function Qv(){return{localeError:qpe()}}var Vpe=()=>{let e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"数値";case"object":{if(Array.isArray(i))return"配列";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"};return(i)=>{switch(i.code){case"invalid_type":return`無効な入力: ${i.expected}が期待されましたが、${r(i.input)}が入力されました`;case"invalid_value":if(i.values.length===1)return`無効な入力: ${M(i.values[0])}が期待されました`;return`無効な選択: ${_(i.values,"、")}のいずれかである必要があります`;case"too_big":{let o=i.inclusive?"以下である":"より小さい",s=t(i.origin);if(s)return`大きすぎる値: ${i.origin??"値"}は${i.maximum.toString()}${s.unit??"要素"}${o}必要があります`;return`大きすぎる値: ${i.origin??"値"}は${i.maximum.toString()}${o}必要があります`}case"too_small":{let o=i.inclusive?"以上である":"より大きい",s=t(i.origin);if(s)return`小さすぎる値: ${i.origin}は${i.minimum.toString()}${s.unit}${o}必要があります`;return`小さすぎる値: ${i.origin}は${i.minimum.toString()}${o}必要があります`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`無効な文字列: "${o.prefix}"で始まる必要があります`;if(o.format==="ends_with")return`無効な文字列: "${o.suffix}"で終わる必要があります`;if(o.format==="includes")return`無効な文字列: "${o.includes}"を含む必要があります`;if(o.format==="regex")return`無効な文字列: パターン${o.pattern}に一致する必要があります`;return`無効な${n[o.format]??i.format}`}case"not_multiple_of":return`無効な数値: ${i.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${i.keys.length>1?"群":""}: ${_(i.keys,"、")}`;case"invalid_key":return`${i.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${i.origin}内の無効な値`;default:return"無効な入力"}}};function vv(){return{localeError:Vpe()}}var Wpe=()=>{let e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"មិនមែនជាលេខ (NaN)":"លេខ";case"object":{if(Array.isArray(i))return"អារេ (Array)";if(i===null)return"គ្មានតម្លៃ (null)";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"};return(i)=>{switch(i.code){case"invalid_type":return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${i.expected} ប៉ុន្តែទទួលបាន ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${M(i.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`ធំពេក៖ ត្រូវការ ${i.origin??"តម្លៃ"} ${o} ${i.maximum.toString()} ${s.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${i.origin??"តម្លៃ"} ${o} ${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`តូចពេក៖ ត្រូវការ ${i.origin} ${o} ${i.minimum.toString()} ${s.unit}`;return`តូចពេក៖ ត្រូវការ ${i.origin} ${o} ${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${o.prefix}"`;if(o.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${o.suffix}"`;if(o.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${o.includes}"`;if(o.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${o.pattern}`;return`មិនត្រឹមត្រូវ៖ ${n[o.format]??i.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${i.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${_(i.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${i.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${i.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function xv(){return{localeError:Wpe()}}var Zpe=()=>{let e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"};return(i)=>{switch(i.code){case"invalid_type":return`잘못된 입력: 예상 타입은 ${i.expected}, 받은 타입은 ${r(i.input)}입니다`;case"invalid_value":if(i.values.length===1)return`잘못된 입력: 값은 ${M(i.values[0])} 이어야 합니다`;return`잘못된 옵션: ${_(i.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let o=i.inclusive?"이하":"미만",s=o==="미만"?"이어야 합니다":"여야 합니다",a=t(i.origin),c=a?.unit??"요소";if(a)return`${i.origin??"값"}이 너무 큽니다: ${i.maximum.toString()}${c} ${o}${s}`;return`${i.origin??"값"}이 너무 큽니다: ${i.maximum.toString()} ${o}${s}`}case"too_small":{let o=i.inclusive?"이상":"초과",s=o==="이상"?"이어야 합니다":"여야 합니다",a=t(i.origin),c=a?.unit??"요소";if(a)return`${i.origin??"값"}이 너무 작습니다: ${i.minimum.toString()}${c} ${o}${s}`;return`${i.origin??"값"}이 너무 작습니다: ${i.minimum.toString()} ${o}${s}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`잘못된 문자열: "${o.prefix}"(으)로 시작해야 합니다`;if(o.format==="ends_with")return`잘못된 문자열: "${o.suffix}"(으)로 끝나야 합니다`;if(o.format==="includes")return`잘못된 문자열: "${o.includes}"을(를) 포함해야 합니다`;if(o.format==="regex")return`잘못된 문자열: 정규식 ${o.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${n[o.format]??i.format}`}case"not_multiple_of":return`잘못된 숫자: ${i.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${_(i.keys,", ")}`;case"invalid_key":return`잘못된 키: ${i.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${i.origin}`;default:return"잘못된 입력"}}};function wv(){return{localeError:Zpe()}}var Kpe=()=>{let e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"број";case"object":{if(Array.isArray(i))return"низа";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"};return(i)=>{switch(i.code){case"invalid_type":return`Грешен внес: се очекува ${i.expected}, примено ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Invalid input: expected ${M(i.values[0])}`;return`Грешана опција: се очекува една ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Премногу голем: се очекува ${i.origin??"вредноста"} да има ${o}${i.maximum.toString()} ${s.unit??"елементи"}`;return`Премногу голем: се очекува ${i.origin??"вредноста"} да биде ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Премногу мал: се очекува ${i.origin} да има ${o}${i.minimum.toString()} ${s.unit}`;return`Премногу мал: се очекува ${i.origin} да биде ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Неважечка низа: мора да започнува со "${o.prefix}"`;if(o.format==="ends_with")return`Неважечка низа: мора да завршува со "${o.suffix}"`;if(o.format==="includes")return`Неважечка низа: мора да вклучува "${o.includes}"`;if(o.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${o.pattern}`;return`Invalid ${n[o.format]??i.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${_(i.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${i.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${i.origin}`;default:return"Грешен внес"}}};function Sv(){return{localeError:Kpe()}}var Xpe=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"nombor";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"};return(i)=>{switch(i.code){case"invalid_type":return`Input tidak sah: dijangka ${i.expected}, diterima ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Input tidak sah: dijangka ${M(i.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Terlalu besar: dijangka ${i.origin??"nilai"} ${s.verb} ${o}${i.maximum.toString()} ${s.unit??"elemen"}`;return`Terlalu besar: dijangka ${i.origin??"nilai"} adalah ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Terlalu kecil: dijangka ${i.origin} ${s.verb} ${o}${i.minimum.toString()} ${s.unit}`;return`Terlalu kecil: dijangka ${i.origin} adalah ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`String tidak sah: mesti bermula dengan "${o.prefix}"`;if(o.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${o.suffix}"`;if(o.format==="includes")return`String tidak sah: mesti mengandungi "${o.includes}"`;if(o.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${o.pattern}`;return`${n[o.format]??i.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${i.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${_(i.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${i.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${i.origin}`;default:return"Input tidak sah"}}};function kv(){return{localeError:Xpe()}}var efe=()=>{let e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"getal";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"};return(i)=>{switch(i.code){case"invalid_type":return`Ongeldige invoer: verwacht ${i.expected}, ontving ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Ongeldige invoer: verwacht ${M(i.values[0])}`;return`Ongeldige optie: verwacht één van ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Te lang: verwacht dat ${i.origin??"waarde"} ${o}${i.maximum.toString()} ${s.unit??"elementen"} bevat`;return`Te lang: verwacht dat ${i.origin??"waarde"} ${o}${i.maximum.toString()} is`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Te kort: verwacht dat ${i.origin} ${o}${i.minimum.toString()} ${s.unit} bevat`;return`Te kort: verwacht dat ${i.origin} ${o}${i.minimum.toString()} is`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Ongeldige tekst: moet met "${o.prefix}" beginnen`;if(o.format==="ends_with")return`Ongeldige tekst: moet op "${o.suffix}" eindigen`;if(o.format==="includes")return`Ongeldige tekst: moet "${o.includes}" bevatten`;if(o.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`;return`Ongeldig: ${n[o.format]??i.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${i.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${i.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${i.origin}`;default:return"Ongeldige invoer"}}};function _v(){return{localeError:efe()}}var tfe=()=>{let e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"tall";case"object":{if(Array.isArray(i))return"liste";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"};return(i)=>{switch(i.code){case"invalid_type":return`Ugyldig input: forventet ${i.expected}, fikk ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Ugyldig verdi: forventet ${M(i.values[0])}`;return`Ugyldig valg: forventet en av ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`For stor(t): forventet ${i.origin??"value"} til å ha ${o}${i.maximum.toString()} ${s.unit??"elementer"}`;return`For stor(t): forventet ${i.origin??"value"} til å ha ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`For lite(n): forventet ${i.origin} til å ha ${o}${i.minimum.toString()} ${s.unit}`;return`For lite(n): forventet ${i.origin} til å ha ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Ugyldig streng: må starte med "${o.prefix}"`;if(o.format==="ends_with")return`Ugyldig streng: må ende med "${o.suffix}"`;if(o.format==="includes")return`Ugyldig streng: må inneholde "${o.includes}"`;if(o.format==="regex")return`Ugyldig streng: må matche mønsteret ${o.pattern}`;return`Ugyldig ${n[o.format]??i.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${_(i.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${i.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${i.origin}`;default:return"Ugyldig input"}}};function Rv(){return{localeError:tfe()}}var rfe=()=>{let e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"numara";case"object":{if(Array.isArray(i))return"saf";if(i===null)return"gayb";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"};return(i)=>{switch(i.code){case"invalid_type":return`Fâsit giren: umulan ${i.expected}, alınan ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Fâsit giren: umulan ${M(i.values[0])}`;return`Fâsit tercih: mûteberler ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Fazla büyük: ${i.origin??"value"}, ${o}${i.maximum.toString()} ${s.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${i.origin??"value"}, ${o}${i.maximum.toString()} olmalıydı.`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Fazla küçük: ${i.origin}, ${o}${i.minimum.toString()} ${s.unit} sahip olmalıydı.`;return`Fazla küçük: ${i.origin}, ${o}${i.minimum.toString()} olmalıydı.`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Fâsit metin: "${o.prefix}" ile başlamalı.`;if(o.format==="ends_with")return`Fâsit metin: "${o.suffix}" ile bitmeli.`;if(o.format==="includes")return`Fâsit metin: "${o.includes}" ihtivâ etmeli.`;if(o.format==="regex")return`Fâsit metin: ${o.pattern} nakşına uymalı.`;return`Fâsit ${n[o.format]??i.format}`}case"not_multiple_of":return`Fâsit sayı: ${i.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`${i.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${i.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function Dv(){return{localeError:rfe()}}var nfe=()=>{let e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"عدد";case"object":{if(Array.isArray(i))return"ارې";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"};return(i)=>{switch(i.code){case"invalid_type":return`ناسم ورودي: باید ${i.expected} وای, مګر ${r(i.input)} ترلاسه شو`;case"invalid_value":if(i.values.length===1)return`ناسم ورودي: باید ${M(i.values[0])} وای`;return`ناسم انتخاب: باید یو له ${_(i.values,"|")} څخه وای`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`ډیر لوی: ${i.origin??"ارزښت"} باید ${o}${i.maximum.toString()} ${s.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${i.origin??"ارزښت"} باید ${o}${i.maximum.toString()} وي`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`ډیر کوچنی: ${i.origin} باید ${o}${i.minimum.toString()} ${s.unit} ولري`;return`ډیر کوچنی: ${i.origin} باید ${o}${i.minimum.toString()} وي`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`ناسم متن: باید د "${o.prefix}" سره پیل شي`;if(o.format==="ends_with")return`ناسم متن: باید د "${o.suffix}" سره پای ته ورسيږي`;if(o.format==="includes")return`ناسم متن: باید "${o.includes}" ولري`;if(o.format==="regex")return`ناسم متن: باید د ${o.pattern} سره مطابقت ولري`;return`${n[o.format]??i.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${i.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${i.keys.length>1?"کلیډونه":"کلیډ"}: ${_(i.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${i.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${i.origin} کې`;default:return"ناسمه ورودي"}}};function Tv(){return{localeError:nfe()}}var ife=()=>{let e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"liczba";case"object":{if(Array.isArray(i))return"tablica";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"};return(i)=>{switch(i.code){case"invalid_type":return`Nieprawidłowe dane wejściowe: oczekiwano ${i.expected}, otrzymano ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${M(i.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Za duża wartość: oczekiwano, że ${i.origin??"wartość"} będzie mieć ${o}${i.maximum.toString()} ${s.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${i.origin??"wartość"} będzie wynosić ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Za mała wartość: oczekiwano, że ${i.origin??"wartość"} będzie mieć ${o}${i.minimum.toString()} ${s.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${i.origin??"wartość"} będzie wynosić ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${o.prefix}"`;if(o.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${o.suffix}"`;if(o.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${o.includes}"`;if(o.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${o.pattern}`;return`Nieprawidłow(y/a/e) ${n[o.format]??i.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${i.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${i.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${i.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function Nv(){return{localeError:ife()}}var ofe=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"número";case"object":{if(Array.isArray(i))return"array";if(i===null)return"nulo";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"};return(i)=>{switch(i.code){case"invalid_type":return`Tipo inválido: esperado ${i.expected}, recebido ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Entrada inválida: esperado ${M(i.values[0])}`;return`Opção inválida: esperada uma das ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Muito grande: esperado que ${i.origin??"valor"} tivesse ${o}${i.maximum.toString()} ${s.unit??"elementos"}`;return`Muito grande: esperado que ${i.origin??"valor"} fosse ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Muito pequeno: esperado que ${i.origin} tivesse ${o}${i.minimum.toString()} ${s.unit}`;return`Muito pequeno: esperado que ${i.origin} fosse ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Texto inválido: deve começar com "${o.prefix}"`;if(o.format==="ends_with")return`Texto inválido: deve terminar com "${o.suffix}"`;if(o.format==="includes")return`Texto inválido: deve incluir "${o.includes}"`;if(o.format==="regex")return`Texto inválido: deve corresponder ao padrão ${o.pattern}`;return`${n[o.format]??i.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${i.divisor}`;case"unrecognized_keys":return`Chave${i.keys.length>1?"s":""} desconhecida${i.keys.length>1?"s":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Chave inválida em ${i.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${i.origin}`;default:return"Campo inválido"}}};function Fv(){return{localeError:ofe()}}function Gj(e,t,r,n){let i=Math.abs(e),o=i%10,s=i%100;if(s>=11&&s<=19)return n;if(o===1)return t;if(o>=2&&o<=4)return r;return n}var sfe=()=>{let e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"число";case"object":{if(Array.isArray(i))return"массив";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"};return(i)=>{switch(i.code){case"invalid_type":return`Неверный ввод: ожидалось ${i.expected}, получено ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Неверный ввод: ожидалось ${M(i.values[0])}`;return`Неверный вариант: ожидалось одно из ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s){let a=Number(i.maximum),c=Gj(a,s.unit.one,s.unit.few,s.unit.many);return`Слишком большое значение: ожидалось, что ${i.origin??"значение"} будет иметь ${o}${i.maximum.toString()} ${c}`}return`Слишком большое значение: ожидалось, что ${i.origin??"значение"} будет ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s){let a=Number(i.minimum),c=Gj(a,s.unit.one,s.unit.few,s.unit.many);return`Слишком маленькое значение: ожидалось, что ${i.origin} будет иметь ${o}${i.minimum.toString()} ${c}`}return`Слишком маленькое значение: ожидалось, что ${i.origin} будет ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Неверная строка: должна начинаться с "${o.prefix}"`;if(o.format==="ends_with")return`Неверная строка: должна заканчиваться на "${o.suffix}"`;if(o.format==="includes")return`Неверная строка: должна содержать "${o.includes}"`;if(o.format==="regex")return`Неверная строка: должна соответствовать шаблону ${o.pattern}`;return`Неверный ${n[o.format]??i.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${i.divisor}`;case"unrecognized_keys":return`Нераспознанн${i.keys.length>1?"ые":"ый"} ключ${i.keys.length>1?"и":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${i.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${i.origin}`;default:return"Неверные входные данные"}}};function Uv(){return{localeError:sfe()}}var afe=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"število";case"object":{if(Array.isArray(i))return"tabela";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"};return(i)=>{switch(i.code){case"invalid_type":return`Neveljaven vnos: pričakovano ${i.expected}, prejeto ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Neveljaven vnos: pričakovano ${M(i.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Preveliko: pričakovano, da bo ${i.origin??"vrednost"} imelo ${o}${i.maximum.toString()} ${s.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${i.origin??"vrednost"} ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Premajhno: pričakovano, da bo ${i.origin} imelo ${o}${i.minimum.toString()} ${s.unit}`;return`Premajhno: pričakovano, da bo ${i.origin} ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Neveljaven niz: mora se začeti z "${o.prefix}"`;if(o.format==="ends_with")return`Neveljaven niz: mora se končati z "${o.suffix}"`;if(o.format==="includes")return`Neveljaven niz: mora vsebovati "${o.includes}"`;if(o.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`;return`Neveljaven ${n[o.format]??i.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${i.divisor}`;case"unrecognized_keys":return`Neprepoznan${i.keys.length>1?"i ključi":" ključ"}: ${_(i.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${i.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${i.origin}`;default:return"Neveljaven vnos"}}};function Mv(){return{localeError:afe()}}var cfe=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"antal";case"object":{if(Array.isArray(i))return"lista";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return(i)=>{switch(i.code){case"invalid_type":return`Ogiltig inmatning: förväntat ${i.expected}, fick ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Ogiltig inmatning: förväntat ${M(i.values[0])}`;return`Ogiltigt val: förväntade en av ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`För stor(t): förväntade ${i.origin??"värdet"} att ha ${o}${i.maximum.toString()} ${s.unit??"element"}`;return`För stor(t): förväntat ${i.origin??"värdet"} att ha ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`För lite(t): förväntade ${i.origin??"värdet"} att ha ${o}${i.minimum.toString()} ${s.unit}`;return`För lite(t): förväntade ${i.origin??"värdet"} att ha ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Ogiltig sträng: måste börja med "${o.prefix}"`;if(o.format==="ends_with")return`Ogiltig sträng: måste sluta med "${o.suffix}"`;if(o.format==="includes")return`Ogiltig sträng: måste innehålla "${o.includes}"`;if(o.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${o.pattern}"`;return`Ogiltig(t) ${n[o.format]??i.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${i.divisor}`;case"unrecognized_keys":return`${i.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${_(i.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${i.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${i.origin??"värdet"}`;default:return"Ogiltig input"}}};function Lv(){return{localeError:cfe()}}var lfe=()=>{let e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"எண் அல்லாதது":"எண்";case"object":{if(Array.isArray(i))return"அணி";if(i===null)return"வெறுமை";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"};return(i)=>{switch(i.code){case"invalid_type":return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${i.expected}, பெறப்பட்டது ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${M(i.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${_(i.values,"|")} இல் ஒன்று`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${i.origin??"மதிப்பு"} ${o}${i.maximum.toString()} ${s.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${i.origin??"மதிப்பு"} ${o}${i.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${i.origin} ${o}${i.minimum.toString()} ${s.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${i.origin} ${o}${i.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`தவறான சரம்: "${o.prefix}" இல் தொடங்க வேண்டும்`;if(o.format==="ends_with")return`தவறான சரம்: "${o.suffix}" இல் முடிவடைய வேண்டும்`;if(o.format==="includes")return`தவறான சரம்: "${o.includes}" ஐ உள்ளடக்க வேண்டும்`;if(o.format==="regex")return`தவறான சரம்: ${o.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${n[o.format]??i.format}`}case"not_multiple_of":return`தவறான எண்: ${i.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${i.keys.length>1?"கள்":""}: ${_(i.keys,", ")}`;case"invalid_key":return`${i.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${i.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function Ov(){return{localeError:lfe()}}var ufe=()=>{let e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"ไม่ใช่ตัวเลข (NaN)":"ตัวเลข";case"object":{if(Array.isArray(i))return"อาร์เรย์ (Array)";if(i===null)return"ไม่มีค่า (null)";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"};return(i)=>{switch(i.code){case"invalid_type":return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${i.expected} แต่ได้รับ ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${M(i.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"ไม่เกิน":"น้อยกว่า",s=t(i.origin);if(s)return`เกินกำหนด: ${i.origin??"ค่า"} ควรมี${o} ${i.maximum.toString()} ${s.unit??"รายการ"}`;return`เกินกำหนด: ${i.origin??"ค่า"} ควรมี${o} ${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?"อย่างน้อย":"มากกว่า",s=t(i.origin);if(s)return`น้อยกว่ากำหนด: ${i.origin} ควรมี${o} ${i.minimum.toString()} ${s.unit}`;return`น้อยกว่ากำหนด: ${i.origin} ควรมี${o} ${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${o.prefix}"`;if(o.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${o.suffix}"`;if(o.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${o.includes}" อยู่ในข้อความ`;if(o.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${o.pattern}`;return`รูปแบบไม่ถูกต้อง: ${n[o.format]??i.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${i.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${_(i.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${i.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${i.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function Pv(){return{localeError:ufe()}}var Afe=(e)=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},dfe=()=>{let e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function t(n){return e[n]??null}let r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"};return(n)=>{switch(n.code){case"invalid_type":return`Geçersiz değer: beklenen ${n.expected}, alınan ${Afe(n.input)}`;case"invalid_value":if(n.values.length===1)return`Geçersiz değer: beklenen ${M(n.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${_(n.values,"|")}`;case"too_big":{let i=n.inclusive?"<=":"<",o=t(n.origin);if(o)return`Çok büyük: beklenen ${n.origin??"değer"} ${i}${n.maximum.toString()} ${o.unit??"öğe"}`;return`Çok büyük: beklenen ${n.origin??"değer"} ${i}${n.maximum.toString()}`}case"too_small":{let i=n.inclusive?">=":">",o=t(n.origin);if(o)return`Çok küçük: beklenen ${n.origin} ${i}${n.minimum.toString()} ${o.unit}`;return`Çok küçük: beklenen ${n.origin} ${i}${n.minimum.toString()}`}case"invalid_format":{let i=n;if(i.format==="starts_with")return`Geçersiz metin: "${i.prefix}" ile başlamalı`;if(i.format==="ends_with")return`Geçersiz metin: "${i.suffix}" ile bitmeli`;if(i.format==="includes")return`Geçersiz metin: "${i.includes}" içermeli`;if(i.format==="regex")return`Geçersiz metin: ${i.pattern} desenine uymalı`;return`Geçersiz ${r[i.format]??n.format}`}case"not_multiple_of":return`Geçersiz sayı: ${n.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${n.keys.length>1?"lar":""}: ${_(n.keys,", ")}`;case"invalid_key":return`${n.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${n.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function $v(){return{localeError:dfe()}}var pfe=()=>{let e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"число";case"object":{if(Array.isArray(i))return"масив";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"};return(i)=>{switch(i.code){case"invalid_type":return`Неправильні вхідні дані: очікується ${i.expected}, отримано ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Неправильні вхідні дані: очікується ${M(i.values[0])}`;return`Неправильна опція: очікується одне з ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Занадто велике: очікується, що ${i.origin??"значення"} ${s.verb} ${o}${i.maximum.toString()} ${s.unit??"елементів"}`;return`Занадто велике: очікується, що ${i.origin??"значення"} буде ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Занадто мале: очікується, що ${i.origin} ${s.verb} ${o}${i.minimum.toString()} ${s.unit}`;return`Занадто мале: очікується, що ${i.origin} буде ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Неправильний рядок: повинен починатися з "${o.prefix}"`;if(o.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${o.suffix}"`;if(o.format==="includes")return`Неправильний рядок: повинен містити "${o.includes}"`;if(o.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${o.pattern}`;return`Неправильний ${n[o.format]??i.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${i.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${i.keys.length>1?"і":""}: ${_(i.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${i.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${i.origin}`;default:return"Неправильні вхідні дані"}}};function Gv(){return{localeError:pfe()}}var ffe=()=>{let e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"نمبر";case"object":{if(Array.isArray(i))return"آرے";if(i===null)return"نل";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"};return(i)=>{switch(i.code){case"invalid_type":return`غلط ان پٹ: ${i.expected} متوقع تھا، ${r(i.input)} موصول ہوا`;case"invalid_value":if(i.values.length===1)return`غلط ان پٹ: ${M(i.values[0])} متوقع تھا`;return`غلط آپشن: ${_(i.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`بہت بڑا: ${i.origin??"ویلیو"} کے ${o}${i.maximum.toString()} ${s.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${i.origin??"ویلیو"} کا ${o}${i.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`بہت چھوٹا: ${i.origin} کے ${o}${i.minimum.toString()} ${s.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${i.origin} کا ${o}${i.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`غلط سٹرنگ: "${o.prefix}" سے شروع ہونا چاہیے`;if(o.format==="ends_with")return`غلط سٹرنگ: "${o.suffix}" پر ختم ہونا چاہیے`;if(o.format==="includes")return`غلط سٹرنگ: "${o.includes}" شامل ہونا چاہیے`;if(o.format==="regex")return`غلط سٹرنگ: پیٹرن ${o.pattern} سے میچ ہونا چاہیے`;return`غلط ${n[o.format]??i.format}`}case"not_multiple_of":return`غلط نمبر: ${i.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${i.keys.length>1?"ز":""}: ${_(i.keys,"، ")}`;case"invalid_key":return`${i.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${i.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function Hv(){return{localeError:ffe()}}var gfe=()=>{let e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"số";case"object":{if(Array.isArray(i))return"mảng";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"};return(i)=>{switch(i.code){case"invalid_type":return`Đầu vào không hợp lệ: mong đợi ${i.expected}, nhận được ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${M(i.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`Quá lớn: mong đợi ${i.origin??"giá trị"} ${s.verb} ${o}${i.maximum.toString()} ${s.unit??"phần tử"}`;return`Quá lớn: mong đợi ${i.origin??"giá trị"} ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`Quá nhỏ: mong đợi ${i.origin} ${s.verb} ${o}${i.minimum.toString()} ${s.unit}`;return`Quá nhỏ: mong đợi ${i.origin} ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${o.prefix}"`;if(o.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${o.suffix}"`;if(o.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${o.includes}"`;if(o.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${o.pattern}`;return`${n[o.format]??i.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${i.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${_(i.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${i.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${i.origin}`;default:return"Đầu vào không hợp lệ"}}};function zv(){return{localeError:gfe()}}var hfe=()=>{let e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"非数字(NaN)":"数字";case"object":{if(Array.isArray(i))return"数组";if(i===null)return"空值(null)";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"};return(i)=>{switch(i.code){case"invalid_type":return`无效输入:期望 ${i.expected},实际接收 ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`无效输入:期望 ${M(i.values[0])}`;return`无效选项:期望以下之一 ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`数值过大:期望 ${i.origin??"值"} ${o}${i.maximum.toString()} ${s.unit??"个元素"}`;return`数值过大:期望 ${i.origin??"值"} ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`数值过小:期望 ${i.origin} ${o}${i.minimum.toString()} ${s.unit}`;return`数值过小:期望 ${i.origin} ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`无效字符串:必须以 "${o.prefix}" 开头`;if(o.format==="ends_with")return`无效字符串:必须以 "${o.suffix}" 结尾`;if(o.format==="includes")return`无效字符串:必须包含 "${o.includes}"`;if(o.format==="regex")return`无效字符串:必须满足正则表达式 ${o.pattern}`;return`无效${n[o.format]??i.format}`}case"not_multiple_of":return`无效数字:必须是 ${i.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${_(i.keys,", ")}`;case"invalid_key":return`${i.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${i.origin} 中包含无效值(value)`;default:return"无效输入"}}};function jv(){return{localeError:hfe()}}var mfe=()=>{let e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function t(i){return e[i]??null}let r=(i)=>{let o=typeof i;switch(o){case"number":return Number.isNaN(i)?"NaN":"number";case"object":{if(Array.isArray(i))return"array";if(i===null)return"null";if(Object.getPrototypeOf(i)!==Object.prototype&&i.constructor)return i.constructor.name}}return o},n={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"};return(i)=>{switch(i.code){case"invalid_type":return`無效的輸入值:預期為 ${i.expected},但收到 ${r(i.input)}`;case"invalid_value":if(i.values.length===1)return`無效的輸入值:預期為 ${M(i.values[0])}`;return`無效的選項:預期為以下其中之一 ${_(i.values,"|")}`;case"too_big":{let o=i.inclusive?"<=":"<",s=t(i.origin);if(s)return`數值過大:預期 ${i.origin??"值"} 應為 ${o}${i.maximum.toString()} ${s.unit??"個元素"}`;return`數值過大:預期 ${i.origin??"值"} 應為 ${o}${i.maximum.toString()}`}case"too_small":{let o=i.inclusive?">=":">",s=t(i.origin);if(s)return`數值過小:預期 ${i.origin} 應為 ${o}${i.minimum.toString()} ${s.unit}`;return`數值過小:預期 ${i.origin} 應為 ${o}${i.minimum.toString()}`}case"invalid_format":{let o=i;if(o.format==="starts_with")return`無效的字串:必須以 "${o.prefix}" 開頭`;if(o.format==="ends_with")return`無效的字串:必須以 "${o.suffix}" 結尾`;if(o.format==="includes")return`無效的字串:必須包含 "${o.includes}"`;if(o.format==="regex")return`無效的字串:必須符合格式 ${o.pattern}`;return`無效的 ${n[o.format]??i.format}`}case"not_multiple_of":return`無效的數字:必須為 ${i.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${i.keys.length>1?"們":""}:${_(i.keys,"、")}`;case"invalid_key":return`${i.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${i.origin} 中有無效的值`;default:return"無效的輸入值"}}};function Yv(){return{localeError:mfe()}}var Jv=Symbol("ZodOutput"),qv=Symbol("ZodInput");class dA{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let r=t[0];if(this._map.set(e,r),r&&typeof r==="object"&&"id"in r){if(this._idmap.has(r.id))throw Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}remove(e){return this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};return delete r.id,{...r,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}}function Tg(){return new dA}var yn=Tg();function Vv(e,t){return new e({type:"string",...N(t)})}function Wv(e,t){return new e({type:"string",coerce:!0,...N(t)})}function Ng(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...N(t)})}function pA(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...N(t)})}function Fg(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...N(t)})}function Ug(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...N(t)})}function Mg(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...N(t)})}function Lg(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...N(t)})}function Og(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...N(t)})}function Pg(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...N(t)})}function $g(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...N(t)})}function Gg(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...N(t)})}function Hg(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...N(t)})}function zg(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...N(t)})}function jg(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...N(t)})}function Yg(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...N(t)})}function Jg(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...N(t)})}function qg(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...N(t)})}function Vg(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...N(t)})}function Wg(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...N(t)})}function Zg(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...N(t)})}function Kg(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...N(t)})}function Xg(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...N(t)})}function eh(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...N(t)})}var Zv={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Kv(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...N(t)})}function Xv(e,t){return new e({type:"string",format:"date",check:"string_format",...N(t)})}function ex(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...N(t)})}function tx(e,t){return new e({type:"string",format:"duration",check:"string_format",...N(t)})}function rx(e,t){return new e({type:"number",checks:[],...N(t)})}function nx(e,t){return new e({type:"number",coerce:!0,checks:[],...N(t)})}function ix(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...N(t)})}function ox(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...N(t)})}function sx(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...N(t)})}function ax(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...N(t)})}function cx(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...N(t)})}function lx(e,t){return new e({type:"boolean",...N(t)})}function ux(e,t){return new e({type:"boolean",coerce:!0,...N(t)})}function Ax(e,t){return new e({type:"bigint",...N(t)})}function dx(e,t){return new e({type:"bigint",coerce:!0,...N(t)})}function px(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...N(t)})}function fx(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...N(t)})}function gx(e,t){return new e({type:"symbol",...N(t)})}function hx(e,t){return new e({type:"undefined",...N(t)})}function mx(e,t){return new e({type:"null",...N(t)})}function Ex(e){return new e({type:"any"})}function Xa(e){return new e({type:"unknown"})}function Ix(e,t){return new e({type:"never",...N(t)})}function Cx(e,t){return new e({type:"void",...N(t)})}function yx(e,t){return new e({type:"date",...N(t)})}function Bx(e,t){return new e({type:"date",coerce:!0,...N(t)})}function bx(e,t){return new e({type:"nan",...N(t)})}function Xn(e,t){return new vg({check:"less_than",...N(t),value:e,inclusive:!1})}function Nr(e,t){return new vg({check:"less_than",...N(t),value:e,inclusive:!0})}function ei(e,t){return new xg({check:"greater_than",...N(t),value:e,inclusive:!1})}function tr(e,t){return new xg({check:"greater_than",...N(t),value:e,inclusive:!0})}function Qx(e){return ei(0,e)}function vx(e){return Xn(0,e)}function xx(e){return Nr(0,e)}function wx(e){return tr(0,e)}function qo(e,t){return new $b({check:"multiple_of",...N(t),value:e})}function ec(e,t){return new zb({check:"max_size",...N(t),maximum:e})}function Vo(e,t){return new jb({check:"min_size",...N(t),minimum:e})}function fA(e,t){return new Yb({check:"size_equals",...N(t),size:e})}function tc(e,t){return new Jb({check:"max_length",...N(t),maximum:e})}function Hi(e,t){return new qb({check:"min_length",...N(t),minimum:e})}function rc(e,t){return new Vb({check:"length_equals",...N(t),length:e})}function gA(e,t){return new Wb({check:"string_format",format:"regex",...N(t),pattern:e})}function hA(e){return new Zb({check:"string_format",format:"lowercase",...N(e)})}function mA(e){return new Kb({check:"string_format",format:"uppercase",...N(e)})}function EA(e,t){return new Xb({check:"string_format",format:"includes",...N(t),includes:e})}function IA(e,t){return new eQ({check:"string_format",format:"starts_with",...N(t),prefix:e})}function CA(e,t){return new tQ({check:"string_format",format:"ends_with",...N(t),suffix:e})}function Sx(e,t,r){return new rQ({check:"property",property:e,schema:t,...N(r)})}function yA(e,t){return new nQ({check:"mime_type",mime:e,...N(t)})}function ti(e){return new iQ({check:"overwrite",tx:e})}function BA(e){return ti((t)=>t.normalize(e))}function bA(){return ti((e)=>e.trim())}function QA(){return ti((e)=>e.toLowerCase())}function vA(){return ti((e)=>e.toUpperCase())}function xA(e,t,r){return new e({type:"array",element:t,...N(r)})}function Efe(e,t,r){return new e({type:"union",options:t,...N(r)})}function Ife(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...N(n)})}function Cfe(e,t,r){return new e({type:"intersection",left:t,right:r})}function kx(e,t,r,n){let i=r instanceof K;return new e({type:"tuple",items:t,rest:i?r:null,...N(i?n:r)})}function yfe(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...N(n)})}function Bfe(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...N(n)})}function bfe(e,t,r){return new e({type:"set",valueType:t,...N(r)})}function Qfe(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map((i)=>[i,i])):t;return new e({type:"enum",entries:n,...N(r)})}function vfe(e,t,r){return new e({type:"enum",entries:t,...N(r)})}function xfe(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...N(r)})}function _x(e,t){return new e({type:"file",...N(t)})}function wfe(e,t){return new e({type:"transform",transform:t})}function Sfe(e,t){return new e({type:"optional",innerType:t})}function kfe(e,t){return new e({type:"nullable",innerType:t})}function _fe(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r==="function"?r():r}})}function Rfe(e,t,r){return new e({type:"nonoptional",innerType:t,...N(r)})}function Dfe(e,t){return new e({type:"success",innerType:t})}function Tfe(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r==="function"?r:()=>r})}function Nfe(e,t,r){return new e({type:"pipe",in:t,out:r})}function Ffe(e,t){return new e({type:"readonly",innerType:t})}function Ufe(e,t,r){return new e({type:"template_literal",parts:t,...N(r)})}function Mfe(e,t){return new e({type:"lazy",getter:t})}function Lfe(e,t){return new e({type:"promise",innerType:t})}function Rx(e,t,r){let n=N(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function Dx(e,t,r){return new e({type:"custom",check:"custom",fn:t,...N(r)})}function Tx(e,t){let r=N(t),n=r.truthy??["true","1","yes","on","y","enabled"],i=r.falsy??["false","0","no","off","n","disabled"];if(r.case!=="sensitive")n=n.map((f)=>typeof f==="string"?f.toLowerCase():f),i=i.map((f)=>typeof f==="string"?f.toLowerCase():f);let o=new Set(n),s=new Set(i),a=e.Pipe??lA,c=e.Boolean??sA,u=e.String??Yo,d=new(e.Transform??cA)({type:"transform",transform:(f,h)=>{let g=f;if(r.case!=="sensitive")g=g.toLowerCase();if(o.has(g))return!0;else if(s.has(g))return!1;else return h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...s],input:h.value,inst:d}),{}},error:r.error}),A=new a({type:"pipe",in:new u({type:"string",error:r.error}),out:d,error:r.error});return new a({type:"pipe",in:A,out:new c({type:"boolean",error:r.error}),error:r.error})}function Nx(e,t,r,n={}){let i=N(n),o={...N(n),check:"string_format",type:"string",format:t,fn:typeof r==="function"?r:(a)=>r.test(a),...i};if(r instanceof RegExp)o.pattern=r;return new e(o)}class Fx{constructor(e){this._def=e,this.def=e}implement(e){if(typeof e!=="function")throw Error("implement() must be called with a function");let t=(...r)=>{let n=this._def.input?Ig(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let i=e(...n);return this._def.output?Ig(this._def.output,i,void 0,{callee:t}):i};return t}implementAsync(e){if(typeof e!=="function")throw Error("implement() must be called with a function");let t=async(...r)=>{let n=this._def.input?await yg(this._def.input,r,void 0,{callee:t}):r;if(!Array.isArray(n))throw Error("Invalid arguments schema: not an array or tuple schema.");let i=await e(...n);return this._def.output?yg(this._def.output,i,void 0,{callee:t}):i};return t}input(...e){let t=this.constructor;if(Array.isArray(e[0]))return new t({type:"function",input:new Jo({type:"tuple",items:e[0],rest:e[1]}),output:this._def.output});return new t({type:"function",input:e[0],output:this._def.output})}output(e){return new this.constructor({type:"function",input:this._def.input,output:e})}}function Ux(e){return new Fx({type:"function",input:Array.isArray(e?.input)?kx(Jo,e?.input):e?.input??xA(aA,Xa(Ka)),output:e?.output??Xa(Ka)})}class th{constructor(e){this.counter=0,this.metadataRegistry=e?.metadata??yn,this.target=e?.target??"draft-2020-12",this.unrepresentable=e?.unrepresentable??"throw",this.override=e?.override??(()=>{}),this.io=e?.io??"output",this.seen=new Map}process(e,t={path:[],schemaPath:[]}){var r;let n=e._zod.def,i={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},o=this.seen.get(e);if(o){if(o.count++,t.schemaPath.includes(e))o.cycle=t.path;return o.schema}let s={schema:{},count:1,cycle:void 0,path:t.path};this.seen.set(e,s);let a=e._zod.toJSONSchema?.();if(a)s.schema=a;else{let l={...t,schemaPath:[...t.schemaPath,e],path:t.path},d=e._zod.parent;if(d)s.ref=d,this.process(d,l),this.seen.get(d).isParent=!0;else{let A=s.schema;switch(n.type){case"string":{let p=A;p.type="string";let{minimum:f,maximum:h,format:g,patterns:m,contentEncoding:S}=e._zod.bag;if(typeof f==="number")p.minLength=f;if(typeof h==="number")p.maxLength=h;if(g){if(p.format=i[g]??g,p.format==="")delete p.format}if(S)p.contentEncoding=S;if(m&&m.size>0){let b=[...m];if(b.length===1)p.pattern=b[0].source;else if(b.length>1)s.schema.allOf=[...b.map((I)=>({...this.target==="draft-7"?{type:"string"}:{},pattern:I.source}))]}break}case"number":{let p=A,{minimum:f,maximum:h,format:g,multipleOf:m,exclusiveMaximum:S,exclusiveMinimum:b}=e._zod.bag;if(typeof g==="string"&&g.includes("int"))p.type="integer";else p.type="number";if(typeof b==="number")p.exclusiveMinimum=b;if(typeof f==="number"){if(p.minimum=f,typeof b==="number")if(b>=f)delete p.minimum;else delete p.exclusiveMinimum}if(typeof S==="number")p.exclusiveMaximum=S;if(typeof h==="number"){if(p.maximum=h,typeof S==="number")if(S<=h)delete p.maximum;else delete p.exclusiveMaximum}if(typeof m==="number")p.multipleOf=m;break}case"boolean":{let p=A;p.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema");break}case"null":{A.type="null";break}case"any":break;case"unknown":break;case"undefined":case"never":{A.not={};break}case"void":{if(this.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema");break}case"date":{if(this.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema");break}case"array":{let p=A,{minimum:f,maximum:h}=e._zod.bag;if(typeof f==="number")p.minItems=f;if(typeof h==="number")p.maxItems=h;p.type="array",p.items=this.process(n.element,{...l,path:[...l.path,"items"]});break}case"object":{let p=A;p.type="object",p.properties={};let f=n.shape;for(let m in f)p.properties[m]=this.process(f[m],{...l,path:[...l.path,"properties",m]});let h=new Set(Object.keys(f)),g=new Set([...h].filter((m)=>{let S=n.shape[m]._zod;if(this.io==="input")return S.optin===void 0;else return S.optout===void 0}));if(g.size>0)p.required=Array.from(g);if(n.catchall?._zod.def.type==="never")p.additionalProperties=!1;else if(!n.catchall){if(this.io==="output")p.additionalProperties=!1}else if(n.catchall)p.additionalProperties=this.process(n.catchall,{...l,path:[...l.path,"additionalProperties"]});break}case"union":{let p=A;p.anyOf=n.options.map((f,h)=>this.process(f,{...l,path:[...l.path,"anyOf",h]}));break}case"intersection":{let p=A,f=this.process(n.left,{...l,path:[...l.path,"allOf",0]}),h=this.process(n.right,{...l,path:[...l.path,"allOf",1]}),g=(S)=>("allOf"in S)&&Object.keys(S).length===1,m=[...g(f)?f.allOf:[f],...g(h)?h.allOf:[h]];p.allOf=m;break}case"tuple":{let p=A;p.type="array";let f=n.items.map((m,S)=>this.process(m,{...l,path:[...l.path,"prefixItems",S]}));if(this.target==="draft-2020-12")p.prefixItems=f;else p.items=f;if(n.rest){let m=this.process(n.rest,{...l,path:[...l.path,"items"]});if(this.target==="draft-2020-12")p.items=m;else p.additionalItems=m}if(n.rest)p.items=this.process(n.rest,{...l,path:[...l.path,"items"]});let{minimum:h,maximum:g}=e._zod.bag;if(typeof h==="number")p.minItems=h;if(typeof g==="number")p.maxItems=g;break}case"record":{let p=A;p.type="object",p.propertyNames=this.process(n.keyType,{...l,path:[...l.path,"propertyNames"]}),p.additionalProperties=this.process(n.valueType,{...l,path:[...l.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema");break}case"enum":{let p=A,f=Zu(n.entries);if(f.every((h)=>typeof h==="number"))p.type="number";if(f.every((h)=>typeof h==="string"))p.type="string";p.enum=f;break}case"literal":{let p=A,f=[];for(let h of n.values)if(h===void 0){if(this.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof h==="bigint")if(this.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else f.push(Number(h));else f.push(h);if(f.length===0);else if(f.length===1){let h=f[0];p.type=h===null?"null":typeof h,p.const=h}else{if(f.every((h)=>typeof h==="number"))p.type="number";if(f.every((h)=>typeof h==="string"))p.type="string";if(f.every((h)=>typeof h==="boolean"))p.type="string";if(f.every((h)=>h===null))p.type="null";p.enum=f}break}case"file":{let p=A,f={type:"string",format:"binary",contentEncoding:"binary"},{minimum:h,maximum:g,mime:m}=e._zod.bag;if(h!==void 0)f.minLength=h;if(g!==void 0)f.maxLength=g;if(m)if(m.length===1)f.contentMediaType=m[0],Object.assign(p,f);else p.anyOf=m.map((S)=>({...f,contentMediaType:S}));else Object.assign(p,f);break}case"transform":{if(this.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let p=this.process(n.innerType,l);A.anyOf=[p,{type:"null"}];break}case"nonoptional":{this.process(n.innerType,l),s.ref=n.innerType;break}case"success":{let p=A;p.type="boolean";break}case"default":{this.process(n.innerType,l),s.ref=n.innerType,A.default=JSON.parse(JSON.stringify(n.defaultValue));break}case"prefault":{if(this.process(n.innerType,l),s.ref=n.innerType,this.io==="input")A._prefault=JSON.parse(JSON.stringify(n.defaultValue));break}case"catch":{this.process(n.innerType,l),s.ref=n.innerType;let p;try{p=n.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}A.default=p;break}case"nan":{if(this.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let p=A,f=e._zod.pattern;if(!f)throw Error("Pattern not found in template literal");p.type="string",p.pattern=f.source;break}case"pipe":{let p=this.io==="input"?n.in._zod.def.type==="transform"?n.out:n.in:n.out;this.process(p,l),s.ref=p;break}case"readonly":{this.process(n.innerType,l),s.ref=n.innerType,A.readOnly=!0;break}case"promise":{this.process(n.innerType,l),s.ref=n.innerType;break}case"optional":{this.process(n.innerType,l),s.ref=n.innerType;break}case"lazy":{let p=e._zod.innerType;this.process(p,l),s.ref=p;break}case"custom":{if(this.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema");break}default:}}}let c=this.metadataRegistry.get(e);if(c)Object.assign(s.schema,c);if(this.io==="input"&&ht(e))delete s.schema.examples,delete s.schema.default;if(this.io==="input"&&s.schema._prefault)(r=s.schema).default??(r.default=s.schema._prefault);return delete s.schema._prefault,this.seen.get(e).schema}emit(e,t){let r={cycles:t?.cycles??"ref",reused:t?.reused??"inline",external:t?.external??void 0},n=this.seen.get(e);if(!n)throw Error("Unprocessed schema. This is a bug in Zod.");let i=(u)=>{let l=this.target==="draft-2020-12"?"$defs":"definitions";if(r.external){let f=r.external.registry.get(u[0])?.id;if(f)return{ref:r.external.uri(f)};let h=u[1].defId??u[1].schema.id??`schema${this.counter++}`;return u[1].defId=h,{defId:h,ref:`${r.external.uri("__shared")}#/${l}/${h}`}}if(u[1]===n)return{ref:"#"};let A=`${"#"}/${l}/`,p=u[1].schema.id??`__schema${this.counter++}`;return{defId:p,ref:A+p}},o=(u)=>{if(u[1].schema.$ref)return;let l=u[1],{ref:d,defId:A}=i(u);if(l.def={...l.schema},A)l.defId=A;let p=l.schema;for(let f in p)delete p[f];p.$ref=d};for(let u of this.seen.entries()){let l=u[1];if(e===u[0]){o(u);continue}if(r.external){let A=r.external.registry.get(u[0])?.id;if(e!==u[0]&&A){o(u);continue}}if(this.metadataRegistry.get(u[0])?.id){o(u);continue}if(l.cycle){if(r.cycles==="throw")throw Error(`Cycle detected: #/${l.cycle?.join("/")}/<root>
|
|
165
|
+
|
|
166
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);else if(r.cycles==="ref")o(u);continue}if(l.count>1){if(r.reused==="ref"){o(u);continue}}}let s=(u,l)=>{let d=this.seen.get(u),A=d.def??d.schema,p={...A};if(d.ref===null)return;let f=d.ref;if(d.ref=null,f){s(f,l);let h=this.seen.get(f).schema;if(h.$ref&&l.target==="draft-7")A.allOf=A.allOf??[],A.allOf.push(h);else Object.assign(A,h),Object.assign(A,p)}if(!d.isParent)this.override({zodSchema:u,jsonSchema:A,path:d.path??[]})};for(let u of[...this.seen.entries()].reverse())s(u[0],{target:this.target});let a={};if(this.target==="draft-2020-12")a.$schema="https://json-schema.org/draft/2020-12/schema";else if(this.target==="draft-7")a.$schema="http://json-schema.org/draft-07/schema#";else console.warn(`Invalid target: ${this.target}`);Object.assign(a,n.def);let c=r.external?.defs??{};for(let u of this.seen.entries()){let l=u[1];if(l.def&&l.defId)c[l.defId]=l.def}if(!r.external&&Object.keys(c).length>0)if(this.target==="draft-2020-12")a.$defs=c;else a.definitions=c;try{return JSON.parse(JSON.stringify(a))}catch(u){throw Error("Error converting schema to JSON.")}}}function Mx(e,t){if(e instanceof dA){let n=new th(t),i={};for(let a of e._idmap.entries()){let[c,u]=a;n.process(u)}let o={},s={registry:e,uri:t?.uri||((a)=>a),defs:i};for(let a of e._idmap.entries()){let[c,u]=a;o[c]=n.emit(u,{...t,external:s})}if(Object.keys(i).length>0){let a=n.target==="draft-2020-12"?"$defs":"definitions";o.__shared={[a]:i}}return{schemas:o}}let r=new th(t);return r.process(e),r.emit(e,t)}function ht(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let i=e._zod.def;switch(i.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return ht(i.element,r);case"object":{for(let o in i.shape)if(ht(i.shape[o],r))return!0;return!1}case"union":{for(let o of i.options)if(ht(o,r))return!0;return!1}case"intersection":return ht(i.left,r)||ht(i.right,r);case"tuple":{for(let o of i.items)if(ht(o,r))return!0;if(i.rest&&ht(i.rest,r))return!0;return!1}case"record":return ht(i.keyType,r)||ht(i.valueType,r);case"map":return ht(i.keyType,r)||ht(i.valueType,r);case"set":return ht(i.valueType,r);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return ht(i.innerType,r);case"lazy":return ht(i.getter(),r);case"default":return ht(i.innerType,r);case"prefault":return ht(i.innerType,r);case"custom":return!1;case"transform":return!0;case"pipe":return ht(i.in,r)||ht(i.out,r);case"success":return!1;case"catch":return!1;default:}throw Error(`Unknown schema type: ${i.type}`)}var Hj={};var sh={};Ur(sh,{time:()=>Px,duration:()=>$x,datetime:()=>Lx,date:()=>Ox,ZodISOTime:()=>ih,ZodISODuration:()=>oh,ZodISODateTime:()=>rh,ZodISODate:()=>nh});var rh=B("ZodISODateTime",(e,t)=>{EQ.init(e,t),Re.init(e,t)});function Lx(e){return Kv(rh,e)}var nh=B("ZodISODate",(e,t)=>{IQ.init(e,t),Re.init(e,t)});function Ox(e){return Xv(nh,e)}var ih=B("ZodISOTime",(e,t)=>{CQ.init(e,t),Re.init(e,t)});function Px(e){return ex(ih,e)}var oh=B("ZodISODuration",(e,t)=>{yQ.init(e,t),Re.init(e,t)});function $x(e){return tx(oh,e)}var jj=(e,t)=>{nA.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:(r)=>oA(e,r)},flatten:{value:(r)=>iA(e,r)},addIssue:{value:(r)=>e.issues.push(r)},addIssues:{value:(r)=>e.issues.push(...r)},isEmpty:{get(){return e.issues.length===0}}})},Pfe=B("ZodError",jj),nc=B("ZodError",jj,{Parent:Error});var Gx=Eg(nc),Hx=Cg(nc),zx=Bg(nc),jx=bg(nc);var ne=B("ZodType",(e,t)=>(K.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map((n)=>typeof n==="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),e.clone=(r,n)=>Ir(e,r,n),e.brand=()=>e,e.register=(r,n)=>(r.add(e,n),e),e.parse=(r,n)=>Gx(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>zx(e,r,n),e.parseAsync=async(r,n)=>Hx(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>jx(e,r,n),e.spa=e.safeParseAsync,e.refine=(r,n)=>e.check(DY(r,n)),e.superRefine=(r)=>e.check(TY(r)),e.overwrite=(r)=>e.check(ti(r)),e.optional=()=>lh(e),e.nullable=()=>uh(e),e.nullish=()=>lh(uh(e)),e.nonoptional=(r)=>CY(e,r),e.array=()=>pw(e),e.or=(r)=>gh([e,r]),e.and=(r)=>sY(e,r),e.transform=(r)=>Ah(e,mw(r)),e.default=(r)=>mY(e,r),e.prefault=(r)=>IY(e,r),e.catch=(r)=>bY(e,r),e.pipe=(r)=>Ah(e,r),e.readonly=()=>xY(e),e.describe=(r)=>{let n=e.clone();return yn.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return yn.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return yn.get(e);let n=e.clone();return yn.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),qx=B("_ZodString",(e,t)=>{Yo.init(e,t),ne.init(e,t);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(gA(...n)),e.includes=(...n)=>e.check(EA(...n)),e.startsWith=(...n)=>e.check(IA(...n)),e.endsWith=(...n)=>e.check(CA(...n)),e.min=(...n)=>e.check(Hi(...n)),e.max=(...n)=>e.check(tc(...n)),e.length=(...n)=>e.check(rc(...n)),e.nonempty=(...n)=>e.check(Hi(1,...n)),e.lowercase=(n)=>e.check(hA(n)),e.uppercase=(n)=>e.check(mA(n)),e.trim=()=>e.check(bA()),e.normalize=(...n)=>e.check(BA(...n)),e.toLowerCase=()=>e.check(QA()),e.toUpperCase=()=>e.check(vA())}),SA=B("ZodString",(e,t)=>{Yo.init(e,t),qx.init(e,t),e.email=(r)=>e.check(Ng(Vx,r)),e.url=(r)=>e.check(Og(Wx,r)),e.jwt=(r)=>e.check(eh(Aw,r)),e.emoji=(r)=>e.check(Pg(Zx,r)),e.guid=(r)=>e.check(pA(ah,r)),e.uuid=(r)=>e.check(Fg(ni,r)),e.uuidv4=(r)=>e.check(Ug(ni,r)),e.uuidv6=(r)=>e.check(Mg(ni,r)),e.uuidv7=(r)=>e.check(Lg(ni,r)),e.nanoid=(r)=>e.check($g(Kx,r)),e.guid=(r)=>e.check(pA(ah,r)),e.cuid=(r)=>e.check(Gg(Xx,r)),e.cuid2=(r)=>e.check(Hg(ew,r)),e.ulid=(r)=>e.check(zg(tw,r)),e.base64=(r)=>e.check(Zg(cw,r)),e.base64url=(r)=>e.check(Kg(lw,r)),e.xid=(r)=>e.check(jg(rw,r)),e.ksuid=(r)=>e.check(Yg(nw,r)),e.ipv4=(r)=>e.check(Jg(iw,r)),e.ipv6=(r)=>e.check(qg(ow,r)),e.cidrv4=(r)=>e.check(Vg(sw,r)),e.cidrv6=(r)=>e.check(Wg(aw,r)),e.e164=(r)=>e.check(Xg(uw,r)),e.datetime=(r)=>e.check(Lx(r)),e.date=(r)=>e.check(Ox(r)),e.time=(r)=>e.check(Px(r)),e.duration=(r)=>e.check($x(r))});function Yx(e){return Vv(SA,e)}var Re=B("ZodStringFormat",(e,t)=>{we.init(e,t),qx.init(e,t)}),Vx=B("ZodEmail",(e,t)=>{lQ.init(e,t),Re.init(e,t)});function Gfe(e){return Ng(Vx,e)}var ah=B("ZodGUID",(e,t)=>{aQ.init(e,t),Re.init(e,t)});function Hfe(e){return pA(ah,e)}var ni=B("ZodUUID",(e,t)=>{cQ.init(e,t),Re.init(e,t)});function zfe(e){return Fg(ni,e)}function jfe(e){return Ug(ni,e)}function Yfe(e){return Mg(ni,e)}function Jfe(e){return Lg(ni,e)}var Wx=B("ZodURL",(e,t)=>{uQ.init(e,t),Re.init(e,t)});function qfe(e){return Og(Wx,e)}var Zx=B("ZodEmoji",(e,t)=>{AQ.init(e,t),Re.init(e,t)});function Vfe(e){return Pg(Zx,e)}var Kx=B("ZodNanoID",(e,t)=>{dQ.init(e,t),Re.init(e,t)});function Wfe(e){return $g(Kx,e)}var Xx=B("ZodCUID",(e,t)=>{pQ.init(e,t),Re.init(e,t)});function Zfe(e){return Gg(Xx,e)}var ew=B("ZodCUID2",(e,t)=>{fQ.init(e,t),Re.init(e,t)});function Kfe(e){return Hg(ew,e)}var tw=B("ZodULID",(e,t)=>{gQ.init(e,t),Re.init(e,t)});function Xfe(e){return zg(tw,e)}var rw=B("ZodXID",(e,t)=>{hQ.init(e,t),Re.init(e,t)});function ege(e){return jg(rw,e)}var nw=B("ZodKSUID",(e,t)=>{mQ.init(e,t),Re.init(e,t)});function tge(e){return Yg(nw,e)}var iw=B("ZodIPv4",(e,t)=>{BQ.init(e,t),Re.init(e,t)});function rge(e){return Jg(iw,e)}var ow=B("ZodIPv6",(e,t)=>{bQ.init(e,t),Re.init(e,t)});function nge(e){return qg(ow,e)}var sw=B("ZodCIDRv4",(e,t)=>{QQ.init(e,t),Re.init(e,t)});function ige(e){return Vg(sw,e)}var aw=B("ZodCIDRv6",(e,t)=>{vQ.init(e,t),Re.init(e,t)});function oge(e){return Wg(aw,e)}var cw=B("ZodBase64",(e,t)=>{wQ.init(e,t),Re.init(e,t)});function sge(e){return Zg(cw,e)}var lw=B("ZodBase64URL",(e,t)=>{SQ.init(e,t),Re.init(e,t)});function age(e){return Kg(lw,e)}var uw=B("ZodE164",(e,t)=>{kQ.init(e,t),Re.init(e,t)});function cge(e){return Xg(uw,e)}var Aw=B("ZodJWT",(e,t)=>{_Q.init(e,t),Re.init(e,t)});function lge(e){return eh(Aw,e)}var Yj=B("ZodCustomStringFormat",(e,t)=>{RQ.init(e,t),Re.init(e,t)});function uge(e,t,r={}){return Nx(Yj,e,t,r)}var kA=B("ZodNumber",(e,t)=>{_g.init(e,t),ne.init(e,t),e.gt=(n,i)=>e.check(ei(n,i)),e.gte=(n,i)=>e.check(tr(n,i)),e.min=(n,i)=>e.check(tr(n,i)),e.lt=(n,i)=>e.check(Xn(n,i)),e.lte=(n,i)=>e.check(Nr(n,i)),e.max=(n,i)=>e.check(Nr(n,i)),e.int=(n)=>e.check(Jx(n)),e.safe=(n)=>e.check(Jx(n)),e.positive=(n)=>e.check(ei(0,n)),e.nonnegative=(n)=>e.check(tr(0,n)),e.negative=(n)=>e.check(Xn(0,n)),e.nonpositive=(n)=>e.check(Nr(0,n)),e.multipleOf=(n,i)=>e.check(qo(n,i)),e.step=(n,i)=>e.check(qo(n,i)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??0.5),e.isFinite=!0,e.format=r.format??null});function Jj(e){return rx(kA,e)}var ic=B("ZodNumberFormat",(e,t)=>{DQ.init(e,t),kA.init(e,t)});function Jx(e){return ix(ic,e)}function Age(e){return ox(ic,e)}function dge(e){return sx(ic,e)}function pge(e){return ax(ic,e)}function fge(e){return cx(ic,e)}var _A=B("ZodBoolean",(e,t)=>{sA.init(e,t),ne.init(e,t)});function qj(e){return lx(_A,e)}var RA=B("ZodBigInt",(e,t)=>{Rg.init(e,t),ne.init(e,t),e.gte=(n,i)=>e.check(tr(n,i)),e.min=(n,i)=>e.check(tr(n,i)),e.gt=(n,i)=>e.check(ei(n,i)),e.gte=(n,i)=>e.check(tr(n,i)),e.min=(n,i)=>e.check(tr(n,i)),e.lt=(n,i)=>e.check(Xn(n,i)),e.lte=(n,i)=>e.check(Nr(n,i)),e.max=(n,i)=>e.check(Nr(n,i)),e.positive=(n)=>e.check(ei(BigInt(0),n)),e.negative=(n)=>e.check(Xn(BigInt(0),n)),e.nonpositive=(n)=>e.check(Nr(BigInt(0),n)),e.nonnegative=(n)=>e.check(tr(BigInt(0),n)),e.multipleOf=(n,i)=>e.check(qo(n,i));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function gge(e){return Ax(RA,e)}var dw=B("ZodBigIntFormat",(e,t)=>{TQ.init(e,t),RA.init(e,t)});function hge(e){return px(dw,e)}function mge(e){return fx(dw,e)}var Vj=B("ZodSymbol",(e,t)=>{NQ.init(e,t),ne.init(e,t)});function Ege(e){return gx(Vj,e)}var Wj=B("ZodUndefined",(e,t)=>{FQ.init(e,t),ne.init(e,t)});function Ige(e){return hx(Wj,e)}var Zj=B("ZodNull",(e,t)=>{UQ.init(e,t),ne.init(e,t)});function Kj(e){return mx(Zj,e)}var Xj=B("ZodAny",(e,t)=>{MQ.init(e,t),ne.init(e,t)});function Cge(){return Ex(Xj)}var eY=B("ZodUnknown",(e,t)=>{Ka.init(e,t),ne.init(e,t)});function ch(){return Xa(eY)}var tY=B("ZodNever",(e,t)=>{LQ.init(e,t),ne.init(e,t)});function dh(e){return Ix(tY,e)}var rY=B("ZodVoid",(e,t)=>{OQ.init(e,t),ne.init(e,t)});function yge(e){return Cx(rY,e)}var ph=B("ZodDate",(e,t)=>{PQ.init(e,t),ne.init(e,t),e.min=(n,i)=>e.check(tr(n,i)),e.max=(n,i)=>e.check(Nr(n,i));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function Bge(e){return yx(ph,e)}var nY=B("ZodArray",(e,t)=>{aA.init(e,t),ne.init(e,t),e.element=t.element,e.min=(r,n)=>e.check(Hi(r,n)),e.nonempty=(r)=>e.check(Hi(1,r)),e.max=(r,n)=>e.check(tc(r,n)),e.length=(r,n)=>e.check(rc(r,n)),e.unwrap=()=>e.element});function pw(e,t){return xA(nY,e,t)}function bge(e){let t=e._zod.def.shape;return pY(Object.keys(t))}var fh=B("ZodObject",(e,t)=>{$Q.init(e,t),ne.init(e,t),U.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>AY(Object.keys(e._zod.def.shape)),e.catchall=(r)=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:ch()}),e.loose=()=>e.clone({...e._zod.def,catchall:ch()}),e.strict=()=>e.clone({...e._zod.def,catchall:dh()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=(r)=>U.extend(e,r),e.merge=(r)=>U.merge(e,r),e.pick=(r)=>U.pick(e,r),e.omit=(r)=>U.omit(e,r),e.partial=(...r)=>U.partial(Ew,e,r[0]),e.required=(...r)=>U.required(Iw,e,r[0])});function Qge(e,t){let r={type:"object",get shape(){return U.assignProp(this,"shape",{...e}),this.shape},...U.normalizeParams(t)};return new fh(r)}function vge(e,t){return new fh({type:"object",get shape(){return U.assignProp(this,"shape",{...e}),this.shape},catchall:dh(),...U.normalizeParams(t)})}function xge(e,t){return new fh({type:"object",get shape(){return U.assignProp(this,"shape",{...e}),this.shape},catchall:ch(),...U.normalizeParams(t)})}var fw=B("ZodUnion",(e,t)=>{Dg.init(e,t),ne.init(e,t),e.options=t.options});function gh(e,t){return new fw({type:"union",options:e,...U.normalizeParams(t)})}var iY=B("ZodDiscriminatedUnion",(e,t)=>{fw.init(e,t),GQ.init(e,t)});function wge(e,t,r){return new iY({type:"union",options:t,discriminator:e,...U.normalizeParams(r)})}var oY=B("ZodIntersection",(e,t)=>{HQ.init(e,t),ne.init(e,t)});function sY(e,t){return new oY({type:"intersection",left:e,right:t})}var aY=B("ZodTuple",(e,t)=>{Jo.init(e,t),ne.init(e,t),e.rest=(r)=>e.clone({...e._zod.def,rest:r})});function Sge(e,t,r){let n=t instanceof K,i=n?r:t;return new aY({type:"tuple",items:e,rest:n?t:null,...U.normalizeParams(i)})}var gw=B("ZodRecord",(e,t)=>{zQ.init(e,t),ne.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function cY(e,t,r){return new gw({type:"record",keyType:e,valueType:t,...U.normalizeParams(r)})}function kge(e,t,r){return new gw({type:"record",keyType:gh([e,dh()]),valueType:t,...U.normalizeParams(r)})}var lY=B("ZodMap",(e,t)=>{jQ.init(e,t),ne.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function _ge(e,t,r){return new lY({type:"map",keyType:e,valueType:t,...U.normalizeParams(r)})}var uY=B("ZodSet",(e,t)=>{YQ.init(e,t),ne.init(e,t),e.min=(...r)=>e.check(Vo(...r)),e.nonempty=(r)=>e.check(Vo(1,r)),e.max=(...r)=>e.check(ec(...r)),e.size=(...r)=>e.check(fA(...r))});function Rge(e,t){return new uY({type:"set",valueType:e,...U.normalizeParams(t)})}var wA=B("ZodEnum",(e,t)=>{JQ.init(e,t),ne.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(n,i)=>{let o={};for(let s of n)if(r.has(s))o[s]=t.entries[s];else throw Error(`Key ${s} not found in enum`);return new wA({...t,checks:[],...U.normalizeParams(i),entries:o})},e.exclude=(n,i)=>{let o={...t.entries};for(let s of n)if(r.has(s))delete o[s];else throw Error(`Key ${s} not found in enum`);return new wA({...t,checks:[],...U.normalizeParams(i),entries:o})}});function AY(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map((n)=>[n,n])):e;return new wA({type:"enum",entries:r,...U.normalizeParams(t)})}function Dge(e,t){return new wA({type:"enum",entries:e,...U.normalizeParams(t)})}var dY=B("ZodLiteral",(e,t)=>{qQ.init(e,t),ne.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function pY(e,t){return new dY({type:"literal",values:Array.isArray(e)?e:[e],...U.normalizeParams(t)})}var fY=B("ZodFile",(e,t)=>{VQ.init(e,t),ne.init(e,t),e.min=(r,n)=>e.check(Vo(r,n)),e.max=(r,n)=>e.check(ec(r,n)),e.mime=(r,n)=>e.check(yA(Array.isArray(r)?r:[r],n))});function Tge(e){return _x(fY,e)}var hw=B("ZodTransform",(e,t)=>{cA.init(e,t),ne.init(e,t),e._zod.parse=(r,n)=>{r.addIssue=(o)=>{if(typeof o==="string")r.issues.push(U.issue(o,r.value,t));else{let s=o;if(s.fatal)s.continue=!1;s.code??(s.code="custom"),s.input??(s.input=r.value),s.inst??(s.inst=e),s.continue??(s.continue=!0),r.issues.push(U.issue(s))}};let i=t.transform(r.value,r);if(i instanceof Promise)return i.then((o)=>(r.value=o,r));return r.value=i,r}});function mw(e){return new hw({type:"transform",transform:e})}var Ew=B("ZodOptional",(e,t)=>{WQ.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType});function lh(e){return new Ew({type:"optional",innerType:e})}var gY=B("ZodNullable",(e,t)=>{ZQ.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType});function uh(e){return new gY({type:"nullable",innerType:e})}function Nge(e){return lh(uh(e))}var hY=B("ZodDefault",(e,t)=>{KQ.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function mY(e,t){return new hY({type:"default",innerType:e,get defaultValue(){return typeof t==="function"?t():t}})}var EY=B("ZodPrefault",(e,t)=>{XQ.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType});function IY(e,t){return new EY({type:"prefault",innerType:e,get defaultValue(){return typeof t==="function"?t():t}})}var Iw=B("ZodNonOptional",(e,t)=>{ev.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType});function CY(e,t){return new Iw({type:"nonoptional",innerType:e,...U.normalizeParams(t)})}var yY=B("ZodSuccess",(e,t)=>{tv.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Fge(e){return new yY({type:"success",innerType:e})}var BY=B("ZodCatch",(e,t)=>{rv.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function bY(e,t){return new BY({type:"catch",innerType:e,catchValue:typeof t==="function"?t:()=>t})}var QY=B("ZodNaN",(e,t)=>{nv.init(e,t),ne.init(e,t)});function Uge(e){return bx(QY,e)}var Cw=B("ZodPipe",(e,t)=>{lA.init(e,t),ne.init(e,t),e.in=t.in,e.out=t.out});function Ah(e,t){return new Cw({type:"pipe",in:e,out:t})}var vY=B("ZodReadonly",(e,t)=>{iv.init(e,t),ne.init(e,t)});function xY(e){return new vY({type:"readonly",innerType:e})}var wY=B("ZodTemplateLiteral",(e,t)=>{ov.init(e,t),ne.init(e,t)});function Mge(e,t){return new wY({type:"template_literal",parts:e,...U.normalizeParams(t)})}var SY=B("ZodLazy",(e,t)=>{av.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.getter()});function kY(e){return new SY({type:"lazy",getter:e})}var _Y=B("ZodPromise",(e,t)=>{sv.init(e,t),ne.init(e,t),e.unwrap=()=>e._zod.def.innerType});function Lge(e){return new _Y({type:"promise",innerType:e})}var hh=B("ZodCustom",(e,t)=>{cv.init(e,t),ne.init(e,t)});function RY(e,t){let r=new Je({check:"custom",...U.normalizeParams(t)});return r._zod.check=e,r}function Oge(e,t){return Rx(hh,e??(()=>!0),t)}function DY(e,t={}){return Dx(hh,e,t)}function TY(e,t){let r=RY((n)=>(n.addIssue=(i)=>{if(typeof i==="string")n.issues.push(U.issue(i,n.value,r._zod.def));else{let o=i;if(o.fatal)o.continue=!1;o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),n.issues.push(U.issue(o))}},e(n.value,n)),t);return r}function Pge(e,t={error:`Input not instance of ${e.name}`}){let r=new hh({type:"custom",check:"custom",fn:(n)=>n instanceof e,abort:!0,...U.normalizeParams(t)});return r._zod.bag.Class=e,r}var $ge=(...e)=>Tx({Pipe:Cw,Boolean:_A,String:SA,Transform:hw},...e);function Gge(e){let t=kY(()=>gh([Yx(e),Jj(),qj(),Kj(),pw(t),cY(Yx(),t)]));return t}function Hge(e,t){return Ah(mw(e),t)}var zge={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function jge(e){At({customError:e})}function Yge(){return At().customError}var yw={};Ur(yw,{string:()=>Jge,number:()=>qge,date:()=>Zge,boolean:()=>Vge,bigint:()=>Wge});function Jge(e){return Wv(SA,e)}function qge(e){return nx(kA,e)}function Vge(e){return ux(_A,e)}function Wge(e){return dx(RA,e)}function Zge(e){return Bx(ph,e)}At(uA());Ll();at();Rt();function NY(e){let t;return()=>t??=e()}var Kge=["UNSPECIFIED","ABSENT","VERIFIED","VERIFIED_BY_GATE","INVALID","UNCHECKED","VERIFIED_KEYLESS_DEVICE","SERVICE_VOUCHED"],FY="DEVICE_ATTESTATION_STATUS_",Xge=["UNSPECIFIED","ABSENT","VERIFIED","VERIFIED_BY_GATE","INVALID","UNCHECKED"];function ehe(e){if(e===void 0||e===null)return"UNSPECIFIED";if(typeof e==="number")return Xge[e]??"UNSPECIFIED";if(typeof e!=="string")return"UNSPECIFIED";let t=e.startsWith(FY)?e.slice(FY.length):e;return Kge.find((r)=>r===t)??"UNSPECIFIED"}var Bw=["VERIFIED","VERIFIED_KEYLESS_DEVICE","VERIFIED_BY_GATE"];function the(e,t){if(e==="SERVICE_VOUCHED")return!0;let r=Bw.findIndex((n)=>n===e);return r!==-1&&r<=Bw.indexOf(t)}var rhe={enforce:!1,acceptLevel:"VERIFIED",acceptStatuses:new Set},nhe=["UNSPECIFIED","ABSENT","INVALID","UNCHECKED"],GOe=NY(()=>Wo.object({accept_level:Wo.enum(Bw).default("VERIFIED"),accept_statuses:Wo.array(Wo.enum(nhe)).default([])}));var ihe;var ohe;function UY(e){let t=typeof e.payload?.type==="string"?e.payload.type:e.event_type,r=t==="user"||t==="control_response",n=ehe(e.device_attestation_status),i=ihe?.()??rhe;if(the(n,i.acceptLevel)){if(r)zr("bridge_event_attestation");return!1}if(!i.enforce){if(n==="UNSPECIFIED")return!1;if(r)w(`[bridge:attestation] accepting unverified ${t} event_id=${e.event_id} status=${n}`,{level:"info"}),jr("bridge_event_attestation",`${n.toLowerCase()}_${t}`);return!1}let o=i.acceptStatuses.has(n);if(r){let s=`${n.toLowerCase()}_${t}`;if(w(`[bridge:attestation] ${o?"accepting (config exception)":"DROPPING"} unverified ${t} event_id=${e.event_id} status=${n}`,{level:o?"info":"warn"}),o)jr("bridge_event_attestation",s);else{Ep("bridge_event_attestation",s);try{ohe?.({status:n,payloadType:t})}catch(a){w(`[bridge:attestation] drop notifier threw: ${de(a)}`,{level:"error"})}}}return!o}Ot();function bw(e,t){return`${e.replace(/\/+$/,"")}/v1/code/sessions/${t}`}async function MY(e,t){let r=await li.post(`${e}/worker/register`,{},{headers:{Authorization:`Bearer ${t}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),n=r.data?.worker_epoch,i=typeof n==="string"?Number(n):n;if(typeof i!=="number"||!Number.isFinite(i)||!Number.isSafeInteger(i))throw Error(`registerWorker: invalid worker_epoch in response: ${st(r.data)}`);return i}async function Qw(e){let{sessionUrl:t,ingressToken:r,sessionId:n,initialSequenceNum:i,getAuthToken:o}=e,s;if(o)s=()=>{let h=o();if(!h)return{};return{Authorization:`Bearer ${h}`}};else Aj(r);let a=e.epoch??await MY(t,r);w(`[bridge:repl] CCR v2: worker sessionId=${n} epoch=${a}${e.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let c=new URL(t);c.pathname=c.pathname.replace(/\/$/,"")+"/worker/events/stream";let u=new VB(c,{},n,void 0,i,s),l,d=new JB(u,new URL(t),{getAuthHeaders:s,heartbeatIntervalMs:e.heartbeatIntervalMs,heartbeatJitterFraction:e.heartbeatJitterFraction,onEpochMismatch:()=>{w("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{d.close(),u.close(),l?.(4090)}catch(h){w(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${de(h)}`,{level:"error"})}throw Error("epoch superseded")}});u.setOnEvent((h)=>{d.reportDelivery(h.event_id,"received"),d.reportDelivery(h.event_id,"processed")}),u.setEventFilter(UY);let A,p=!1,f=!1;return{write(h){return d.writeEvent(h)},async writeBatch(h){for(let g of h){if(f)break;await d.writeEvent(g)}},close(){f=!0,d.close(),u.close()},isConnectedStatus(){return p},getStateLabel(){if(u.isClosedStatus())return"closed";if(u.isConnectedStatus())return p?"connected":"init";return"connecting"},setOnData(h){u.setOnData(h)},setOnClose(h){l=h,u.setOnClose((g)=>{d.close(),h(g??4092)})},setOnConnect(h){A=h},getLastSequenceNum(){return u.getLastSequenceNum()},droppedBatchCount:0,reportState(h,g){d.reportState(h,g)},reportMetadata(h){d.reportMetadata(h)},reportDelivery(h,g){d.reportDelivery(h,g)},flush(){return d.flush()},getInternalEventWriter(){return(h,g,m)=>d.writeInternalEvent(h,g,m)},getInternalEventReaders(){return{readMain:()=>d.readInternalEvents(),readSubagents:()=>d.readSubagentInternalEvents()}},connect(){if(!e.outboundOnly)u.connect();d.initialize(a).then(()=>{p=!0,w(`[bridge:repl] v2 transport ready for writes (epoch=${a}, sse=${u.isConnectedStatus()?"open":"opening"})`),A?.()},(h)=>{w(`[bridge:repl] CCR v2 initialize failed: ${de(h)}`,{level:"error"}),d.close(),u.close(),l?.(4091)})}}}var LY=2000;async function she(e){let{sessionId:t,apiBaseUrl:r,epoch:n,initialSequenceNum:i,heartbeatIntervalMs:o,outboundOnly:s,onInboundMessage:a,onPermissionResponse:c,onInterrupt:u,onSetModel:l,onSetMaxThinkingTokens:d,onSetPermissionMode:A,onRenameSession:p,onClose:f}=e,h=e.ingressToken,g=()=>h,m=new kp(LY),S=new kp(LY),b=!1,I=await Qw({sessionUrl:bw(r,t),ingressToken:h,sessionId:t,epoch:n,initialSequenceNum:i,heartbeatIntervalMs:o,outboundOnly:s,getAuthToken:g});function P(){I.setOnConnect(()=>{w(`[bridge:session] Transport connected session=${t}`)}),I.setOnData((x)=>{PU(x,m,S,s?void 0:a,c,(D)=>$U(D,{transport:I,sessionId:t,outboundOnly:s,onInterrupt:u,onSetModel:l,onSetMaxThinkingTokens:d,onSetPermissionMode:A,onRenameSession:p}))}),I.setOnClose((x)=>{if(b)return;w(`[bridge:session] Transport closed session=${t} code=${x}`),f?.(x)})}return P(),I.connect(),{sessionId:t,getSequenceNum(){return I.getLastSequenceNum()},isConnected(){return I.isConnectedStatus()},write(x){if(b)return;if(x.uuid&&m.has(x.uuid))return;if(x.uuid)m.add(x.uuid);I.write({...x,session_id:t})},sendResult(){if(b)return;I.write(GU(t))},sendControlRequest(x){if(b)return;let D={...x,session_id:t};I.write(D)},sendControlResponse(x){if(b)return;let D={...x,session_id:t};I.write(D)},sendControlCancelRequest(x){if(b)return;let D={type:"control_cancel_request",request_id:x,session_id:t};I.write(D)},async reconnectTransport(x){if(b)return;h=x.ingressToken;let D=I.getLastSequenceNum();I.close();try{I=await Qw({sessionUrl:bw(x.apiBaseUrl,t),ingressToken:x.ingressToken,sessionId:t,epoch:x.epoch,initialSequenceNum:D,heartbeatIntervalMs:o,outboundOnly:s,getAuthToken:g})}catch(le){throw w(`[bridge:session] Transport rebuild failed session=${t}: ${de(le)}`,{level:"error"}),b=!0,le}if(b){I.close();return}P(),I.connect()},reportState(x){if(b)return;I.reportState(x)},reportMetadata(x){if(b)return;I.reportMetadata(x)},reportDelivery(x,D){if(b)return;I.reportDelivery(x,D)},flush(){return I.flush()},close(){if(b)return;b=!0,I.close()}}}process.env.NoDefaultCurrentDirectoryInExePath="1";export{vX as isCredentialsFailure,wX as fetchRemoteCredentials,QX as createCodeSession,she as attachBridgeSession};
|