@liflig/cdk-cloudfront-auth 1.10.13 → 1.10.15

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.
@@ -1,37 +1,40 @@
1
- var Wq=Object.create;var{getPrototypeOf:Kq,defineProperty:Za,getOwnPropertyNames:Dd,getOwnPropertyDescriptor:_q}=Object,Ld=Object.prototype.hasOwnProperty;function Bd(i){return this[i]}var Jq,hq,Q=(i,n,c)=>{var a=i!=null&&typeof i==="object";if(a){var p=n?Jq??=new WeakMap:hq??=new WeakMap,s=p.get(i);if(s)return s}c=i!=null?Wq(Kq(i)):{};let e=n||!i||!i.__esModule?Za(c,"default",{value:i,enumerable:!0}):c;for(let u of Dd(i))if(!Ld.call(e,u))Za(e,u,{get:Bd.bind(i,u),enumerable:!0});if(a)p.set(i,e);return e},Fd=(i)=>{var n=(Td??=new WeakMap).get(i),c;if(n)return n;if(n=Za({},"__esModule",{value:!0}),i&&typeof i==="object"||typeof i==="function"){for(var a of Dd(i))if(!Ld.call(n,a))Za(n,a,{get:Bd.bind(i,a),enumerable:!(c=_q(i,a))||c.enumerable})}return Td.set(i,n),n},Td,r=(i,n)=>()=>(n||i((n={exports:{}}).exports,n),n.exports);var $q=(i)=>i;function zq(i,n){this[i]=$q.bind(null,n)}var ou=(i,n)=>{for(var c in n)Za(i,c,{get:n[c],enumerable:!0,configurable:!0,set:zq.bind(n,c)})};var Zq=(i,n)=>()=>(i&&(n=i(i=0)),n);var xx=r((bM,dx)=>{var mx=require("stream").Stream,HW=require("util");dx.exports=pn;function pn(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}HW.inherits(pn,mx);pn.create=function(i,n){var c=new this;n=n||{};for(var a in n)c[a]=n[a];c.source=i;var p=i.emit;if(i.emit=function(){return c._handleEmit(arguments),p.apply(i,arguments)},i.on("error",function(){}),c.pauseStream)i.pause();return c};Object.defineProperty(pn.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});pn.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};pn.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};pn.prototype.pause=function(){this.source.pause()};pn.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(i){this.emit.apply(this,i)}.bind(this)),this._bufferedEvents=[]};pn.prototype.pipe=function(){var i=mx.prototype.pipe.apply(this,arguments);return this.resume(),i};pn.prototype._handleEmit=function(i){if(this._released){this.emit.apply(this,i);return}if(i[0]==="data")this.dataSize+=i[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(i)};pn.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(i))}});var vx=r((qM,fx)=>{var MW=require("util"),lx=require("stream").Stream,rx=xx();fx.exports=ii;function ii(){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}MW.inherits(ii,lx);ii.create=function(i){var n=new this;i=i||{};for(var c in i)n[c]=i[c];return n};ii.isStreamLike=function(i){return typeof i!=="function"&&typeof i!=="string"&&typeof i!=="boolean"&&typeof i!=="number"&&!Buffer.isBuffer(i)};ii.prototype.append=function(i){var n=ii.isStreamLike(i);if(n){if(!(i instanceof rx)){var c=rx.create(i,{maxDataSize:1/0,pauseStream:this.pauseStreams});i.on("data",this._checkDataSize.bind(this)),i=c}if(this._handleErrors(i),this.pauseStreams)i.pause()}return this._streams.push(i),this};ii.prototype.pipe=function(i,n){return lx.prototype.pipe.call(this,i,n),this.resume(),i};ii.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}};ii.prototype._realGetNext=function(){var i=this._streams.shift();if(typeof i>"u"){this.end();return}if(typeof i!=="function"){this._pipeNext(i);return}var n=i;n(function(c){var a=ii.isStreamLike(c);if(a)c.on("data",this._checkDataSize.bind(this)),this._handleErrors(c);this._pipeNext(c)}.bind(this))};ii.prototype._pipeNext=function(i){this._currentStream=i;var n=ii.isStreamLike(i);if(n){i.on("end",this._getNext.bind(this)),i.pipe(this,{end:!1});return}var c=i;this.write(c),this._getNext()};ii.prototype._handleErrors=function(i){var n=this;i.on("error",function(c){n._emitError(c)})};ii.prototype.write=function(i){this.emit("data",i)};ii.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};ii.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")};ii.prototype.end=function(){this._reset(),this.emit("end")};ii.prototype.destroy=function(){this._reset(),this.emit("close")};ii.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ii.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(i))};ii.prototype._updateDataSize=function(){this.dataSize=0;var i=this;if(this._streams.forEach(function(n){if(!n.dataSize)return;i.dataSize+=n.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};ii.prototype._emitError=function(i){this._reset(),this.emit("error",i)}});var wx=r((WM,VW)=>{VW.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 qx=r((KM,bx)=>{/*!
1
+ var EE=Object.create;var{getPrototypeOf:SE,defineProperty:Tn,getOwnPropertyNames:Bu,getOwnPropertyDescriptor:AE}=Object,Ku=Object.prototype.hasOwnProperty;function Hu(e){return this[e]}var RE,TE,pe=(e,t,r)=>{var n=e!=null&&typeof e==="object";if(n){var i=t?RE??=new WeakMap:TE??=new WeakMap,o=i.get(e);if(o)return o}r=e!=null?EE(SE(e)):{};let s=t||!e||!e.__esModule?Tn(r,"default",{value:e,enumerable:!0}):r;if(e&&typeof e==="object"||typeof e==="function"){for(let a of Bu(e))if(!Ku.call(s,a))Tn(s,a,{get:Hu.bind(e,a),enumerable:!0})}if(n)i.set(e,s);return s},Di=(e)=>{var t=($u??=new WeakMap).get(e),r;if(t)return t;if(t=Tn({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var n of Bu(e))if(!Ku.call(t,n))Tn(t,n,{get:Hu.bind(e,n),enumerable:!(r=AE(e,n))||r.enumerable})}return $u.set(e,t),t},$u,y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var _E=(e)=>e;function kE(e,t){this[e]=_E.bind(null,t)}var Ar=(e,t)=>{for(var r in t)Tn(e,r,{get:t[r],enumerable:!0,configurable:!0,set:kE.bind(t,r)})};var j=(e,t)=>()=>(e&&(t=e(e=0)),t);var sl=y(function(ZN,ol){var il=require("stream").Stream,NS=require("util");ol.exports=tt;function tt(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}NS.inherits(tt,il);tt.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(tt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});tt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};tt.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};tt.prototype.pause=function(){this.source.pause()};tt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};tt.prototype.pipe=function(){var e=il.prototype.pipe.apply(this,arguments);return this.resume(),e};tt.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)};tt.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 ul=y(function(QN,pl){var qS=require("util"),cl=require("stream").Stream,al=sl();pl.exports=ue;function ue(){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}qS.inherits(ue,cl);ue.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};ue.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};ue.prototype.append=function(e){var t=ue.isStreamLike(e);if(t){if(!(e instanceof al)){var r=al.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};ue.prototype.pipe=function(e,t){return cl.prototype.pipe.call(this,e,t),this.resume(),e};ue.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}};ue.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=ue.isStreamLike(r);if(n)r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r);this._pipeNext(r)}.bind(this))};ue.prototype._pipeNext=function(e){this._currentStream=e;var t=ue.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()};ue.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};ue.prototype.write=function(e){this.emit("data",e)};ue.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};ue.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")};ue.prototype.end=function(){this._reset(),this.emit("end")};ue.prototype.destroy=function(){this._reset(),this.emit("close")};ue.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ue.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(e))};ue.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};ue.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var ll=y(function(e2,DS){DS.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 fl=y(function(t2,dl){/*!
2
2
  * mime-db
3
3
  * Copyright(c) 2014 Jonathan Ong
4
4
  * Copyright(c) 2015-2022 Douglas Christopher Wilson
5
5
  * MIT Licensed
6
- */bx.exports=wx()});var _x=r((Pi)=>{/*!
6
+ */dl.exports=ll()});var xl=y(function(Ne){/*!
7
7
  * mime-types
8
8
  * Copyright(c) 2014 Jonathan Ong
9
9
  * Copyright(c) 2015 Douglas Christopher Wilson
10
10
  * MIT Licensed
11
- */var Rp=qx(),CW=require("path").extname,Wx=/^\s*([^;\s]*)(?:;|\s|$)/,OW=/^text\//i;Pi.charset=Kx;Pi.charsets={lookup:Kx};Pi.contentType=AW;Pi.extension=NW;Pi.extensions=Object.create(null);Pi.lookup=yW;Pi.types=Object.create(null);EW(Pi.extensions,Pi.types);function Kx(i){if(!i||typeof i!=="string")return!1;var n=Wx.exec(i),c=n&&Rp[n[1].toLowerCase()];if(c&&c.charset)return c.charset;if(n&&OW.test(n[1]))return"UTF-8";return!1}function AW(i){if(!i||typeof i!=="string")return!1;var n=i.indexOf("/")===-1?Pi.lookup(i):i;if(!n)return!1;if(n.indexOf("charset")===-1){var c=Pi.charset(n);if(c)n+="; charset="+c.toLowerCase()}return n}function NW(i){if(!i||typeof i!=="string")return!1;var n=Wx.exec(i),c=n&&Pi.extensions[n[1].toLowerCase()];if(!c||!c.length)return!1;return c[0]}function yW(i){if(!i||typeof i!=="string")return!1;var n=CW("x."+i).toLowerCase().substr(1);if(!n)return!1;return Pi.types[n]||!1}function EW(i,n){var c=["nginx","apache",void 0,"iana"];Object.keys(Rp).forEach(function(p){var s=Rp[p],e=s.extensions;if(!e||!e.length)return;i[p]=e;for(var u=0;u<e.length;u++){var o=e[u];if(n[o]){var t=c.indexOf(Rp[n[o]].source),m=c.indexOf(s.source);if(n[o]!=="application/octet-stream"&&(t>m||t===m&&n[o].substr(0,12)==="application/"))continue}n[o]=p}})}});var hx=r((JM,Jx)=>{Jx.exports=RW;function RW(i){var n=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(n)n(i);else setTimeout(i,0)}});var lu=r((hM,zx)=>{var $x=hx();zx.exports=jW;function jW(i){var n=!1;return $x(function(){n=!0}),function(a,p){if(n)i(a,p);else $x(function(){i(a,p)})}}});var fu=r(($M,Zx)=>{Zx.exports=TW;function TW(i){Object.keys(i.jobs).forEach(DW.bind(i)),i.jobs={}}function DW(i){if(typeof this.jobs[i]=="function")this.jobs[i]()}});var vu=r((zM,Yx)=>{var Gx=lu(),LW=fu();Yx.exports=BW;function BW(i,n,c,a){var p=c.keyedList?c.keyedList[c.index]:c.index;c.jobs[p]=FW(n,p,i[p],function(s,e){if(!(p in c.jobs))return;if(delete c.jobs[p],s)LW(c);else c.results[p]=e;a(s,c.results)})}function FW(i,n,c,a){var p;if(i.length==2)p=i(c,Gx(a));else p=i(c,n,Gx(a));return p}});var wu=r((ZM,Xx)=>{Xx.exports=gW;function gW(i,n){var c=!Array.isArray(i),a={index:0,keyedList:c||n?Object.keys(i):null,jobs:{},results:c?{}:[],size:c?Object.keys(i).length:i.length};if(n)a.keyedList.sort(c?n:function(p,s){return n(i[p],i[s])});return a}});var bu=r((GM,Sx)=>{var kW=fu(),UW=lu();Sx.exports=QW;function QW(i){if(!Object.keys(this.jobs).length)return;this.index=this.size,kW(this),UW(i)(null,this.results)}});var Px=r((YM,Ix)=>{var i5=vu(),n5=wu(),c5=bu();Ix.exports=a5;function a5(i,n,c){var a=n5(i);while(a.index<(a.keyedList||i).length)i5(i,n,a,function(p,s){if(p){c(p,s);return}if(Object.keys(a.jobs).length===0){c(null,a.results);return}}),a.index++;return c5.bind(a,c)}});var qu=r((XM,jp)=>{var Hx=vu(),p5=wu(),s5=bu();jp.exports=e5;jp.exports.ascending=Mx;jp.exports.descending=u5;function e5(i,n,c,a){var p=p5(i,c);return Hx(i,n,p,function s(e,u){if(e){a(e,u);return}if(p.index++,p.index<(p.keyedList||i).length){Hx(i,n,p,s);return}a(null,p.results)}),s5.bind(p,a)}function Mx(i,n){return i<n?-1:i>n?1:0}function u5(i,n){return-1*Mx(i,n)}});var Cx=r((SM,Vx)=>{var o5=qu();Vx.exports=t5;function t5(i,n,c){return o5(i,n,null,c)}});var Ax=r((IM,Ox)=>{Ox.exports={parallel:Px(),serial:Cx(),serialOrdered:qu()}});var Wu=r((PM,Nx)=>{Nx.exports=Object});var Ex=r((HM,yx)=>{yx.exports=Error});var jx=r((MM,Rx)=>{Rx.exports=EvalError});var Dx=r((VM,Tx)=>{Tx.exports=RangeError});var Bx=r((CM,Lx)=>{Lx.exports=ReferenceError});var gx=r((OM,Fx)=>{Fx.exports=SyntaxError});var Tp=r((AM,kx)=>{kx.exports=TypeError});var Qx=r((NM,Ux)=>{Ux.exports=URIError});var n1=r((yM,i1)=>{i1.exports=Math.abs});var a1=r((EM,c1)=>{c1.exports=Math.floor});var s1=r((RM,p1)=>{p1.exports=Math.max});var u1=r((jM,e1)=>{e1.exports=Math.min});var t1=r((TM,o1)=>{o1.exports=Math.pow});var d1=r((DM,m1)=>{m1.exports=Math.round});var r1=r((LM,x1)=>{x1.exports=Number.isNaN||function(n){return n!==n}});var f1=r((BM,l1)=>{var m5=r1();l1.exports=function(n){if(m5(n)||n===0)return n;return n<0?-1:1}});var w1=r((FM,v1)=>{v1.exports=Object.getOwnPropertyDescriptor});var Ku=r((gM,b1)=>{var Dp=w1();if(Dp)try{Dp([],"length")}catch(i){Dp=null}b1.exports=Dp});var W1=r((kM,q1)=>{var Lp=Object.defineProperty||!1;if(Lp)try{Lp({},"a",{value:1})}catch(i){Lp=!1}q1.exports=Lp});var _u=r((UM,K1)=>{K1.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var n={},c=Symbol("test"),a=Object(c);if(typeof c==="string")return!1;if(Object.prototype.toString.call(c)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var p=42;n[c]=p;for(var s in n)return!1;if(typeof Object.keys==="function"&&Object.keys(n).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var e=Object.getOwnPropertySymbols(n);if(e.length!==1||e[0]!==c)return!1;if(!Object.prototype.propertyIsEnumerable.call(n,c))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var u=Object.getOwnPropertyDescriptor(n,c);if(u.value!==p||u.enumerable!==!0)return!1}return!0}});var h1=r((QM,J1)=>{var _1=typeof Symbol<"u"&&Symbol,d5=_u();J1.exports=function(){if(typeof _1!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof _1("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return d5()}});var Ju=r((iV,$1)=>{$1.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var hu=r((nV,z1)=>{var x5=Wu();z1.exports=x5.getPrototypeOf||null});var Y1=r((cV,G1)=>{var r5="Function.prototype.bind called on incompatible ",l5=Object.prototype.toString,f5=Math.max,v5="[object Function]",Z1=function(n,c){var a=[];for(var p=0;p<n.length;p+=1)a[p]=n[p];for(var s=0;s<c.length;s+=1)a[s+n.length]=c[s];return a},w5=function(n,c){var a=[];for(var p=c||0,s=0;p<n.length;p+=1,s+=1)a[s]=n[p];return a},b5=function(i,n){var c="";for(var a=0;a<i.length;a+=1)if(c+=i[a],a+1<i.length)c+=n;return c};G1.exports=function(n){var c=this;if(typeof c!=="function"||l5.apply(c)!==v5)throw TypeError(r5+c);var a=w5(arguments,1),p,s=function(){if(this instanceof p){var m=c.apply(this,Z1(a,arguments));if(Object(m)===m)return m;return this}return c.apply(n,Z1(a,arguments))},e=f5(0,c.length-a.length),u=[];for(var o=0;o<e;o++)u[o]="$"+o;if(p=Function("binder","return function ("+b5(u,",")+"){ return binder.apply(this,arguments); }")(s),c.prototype){var t=function(){};t.prototype=c.prototype,p.prototype=new t,t.prototype=null}return p}});var Ma=r((aV,X1)=>{var q5=Y1();X1.exports=Function.prototype.bind||q5});var Bp=r((pV,S1)=>{S1.exports=Function.prototype.call});var $u=r((sV,I1)=>{I1.exports=Function.prototype.apply});var H1=r((eV,P1)=>{P1.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var V1=r((uV,M1)=>{var W5=Ma(),K5=$u(),_5=Bp(),J5=H1();M1.exports=J5||W5.call(_5,K5)});var O1=r((oV,C1)=>{var h5=Ma(),$5=Tp(),z5=Bp(),Z5=V1();C1.exports=function(n){if(n.length<1||typeof n[0]!=="function")throw new $5("a function is required");return Z5(h5,z5,n)}});var j1=r((tV,R1)=>{var G5=O1(),A1=Ku(),y1;try{y1=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!=="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var zu=!!y1&&A1&&A1(Object.prototype,"__proto__"),E1=Object,N1=E1.getPrototypeOf;R1.exports=zu&&typeof zu.get==="function"?G5([zu.get]):typeof N1==="function"?function(n){return N1(n==null?n:E1(n))}:!1});var F1=r((mV,B1)=>{var T1=Ju(),D1=hu(),L1=j1();B1.exports=T1?function(n){return T1(n)}:D1?function(n){if(!n||typeof n!=="object"&&typeof n!=="function")throw TypeError("getProto: not an object");return D1(n)}:L1?function(n){return L1(n)}:null});var Fp=r((dV,g1)=>{var Y5=Function.prototype.call,X5=Object.prototype.hasOwnProperty,S5=Ma();g1.exports=S5.call(Y5,X5)});var cr=r((xV,nr)=>{var M,I5=Wu(),P5=Ex(),H5=jx(),M5=Dx(),V5=Bx(),Vc=gx(),Mc=Tp(),C5=Qx(),O5=n1(),A5=a1(),N5=s1(),y5=u1(),E5=t1(),R5=d1(),j5=f1(),Q1=Function,Zu=function(i){try{return Q1('"use strict"; return ('+i+").constructor;")()}catch(n){}},Va=Ku(),T5=W1(),Gu=function(){throw new Mc},D5=Va?function(){try{return arguments.callee,Gu}catch(i){try{return Va(arguments,"callee").get}catch(n){return Gu}}}():Gu,Pc=h1()(),li=F1(),L5=hu(),B5=Ju(),ir=$u(),Ca=Bp(),Hc={},F5=typeof Uint8Array>"u"||!li?M:li(Uint8Array),pc={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?M:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?M:ArrayBuffer,"%ArrayIteratorPrototype%":Pc&&li?li([][Symbol.iterator]()):M,"%AsyncFromSyncIteratorPrototype%":M,"%AsyncFunction%":Hc,"%AsyncGenerator%":Hc,"%AsyncGeneratorFunction%":Hc,"%AsyncIteratorPrototype%":Hc,"%Atomics%":typeof Atomics>"u"?M:Atomics,"%BigInt%":typeof BigInt>"u"?M:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?M:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?M:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?M:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":P5,"%eval%":eval,"%EvalError%":H5,"%Float16Array%":typeof Float16Array>"u"?M:Float16Array,"%Float32Array%":typeof Float32Array>"u"?M:Float32Array,"%Float64Array%":typeof Float64Array>"u"?M:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?M:FinalizationRegistry,"%Function%":Q1,"%GeneratorFunction%":Hc,"%Int8Array%":typeof Int8Array>"u"?M:Int8Array,"%Int16Array%":typeof Int16Array>"u"?M:Int16Array,"%Int32Array%":typeof Int32Array>"u"?M:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Pc&&li?li(li([][Symbol.iterator]())):M,"%JSON%":typeof JSON==="object"?JSON:M,"%Map%":typeof Map>"u"?M:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Pc||!li?M:li(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":I5,"%Object.getOwnPropertyDescriptor%":Va,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?M:Promise,"%Proxy%":typeof Proxy>"u"?M:Proxy,"%RangeError%":M5,"%ReferenceError%":V5,"%Reflect%":typeof Reflect>"u"?M:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?M:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Pc||!li?M:li(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?M:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Pc&&li?li(""[Symbol.iterator]()):M,"%Symbol%":Pc?Symbol:M,"%SyntaxError%":Vc,"%ThrowTypeError%":D5,"%TypedArray%":F5,"%TypeError%":Mc,"%Uint8Array%":typeof Uint8Array>"u"?M:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?M:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?M:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?M:Uint32Array,"%URIError%":C5,"%WeakMap%":typeof WeakMap>"u"?M:WeakMap,"%WeakRef%":typeof WeakRef>"u"?M:WeakRef,"%WeakSet%":typeof WeakSet>"u"?M:WeakSet,"%Function.prototype.call%":Ca,"%Function.prototype.apply%":ir,"%Object.defineProperty%":T5,"%Object.getPrototypeOf%":L5,"%Math.abs%":O5,"%Math.floor%":A5,"%Math.max%":N5,"%Math.min%":y5,"%Math.pow%":E5,"%Math.round%":R5,"%Math.sign%":j5,"%Reflect.getPrototypeOf%":B5};if(li)try{null.error}catch(i){Yu=li(li(i)),pc["%Error.prototype%"]=Yu}var Yu,g5=function i(n){var c;if(n==="%AsyncFunction%")c=Zu("async function () {}");else if(n==="%GeneratorFunction%")c=Zu("function* () {}");else if(n==="%AsyncGeneratorFunction%")c=Zu("async function* () {}");else if(n==="%AsyncGenerator%"){var a=i("%AsyncGeneratorFunction%");if(a)c=a.prototype}else if(n==="%AsyncIteratorPrototype%"){var p=i("%AsyncGenerator%");if(p&&li)c=li(p.prototype)}return pc[n]=c,c},k1={__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"]},Oa=Ma(),gp=Fp(),k5=Oa.call(Ca,Array.prototype.concat),U5=Oa.call(ir,Array.prototype.splice),U1=Oa.call(Ca,String.prototype.replace),kp=Oa.call(Ca,String.prototype.slice),Q5=Oa.call(Ca,RegExp.prototype.exec),iK=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,nK=/\\(\\)?/g,cK=function(n){var c=kp(n,0,1),a=kp(n,-1);if(c==="%"&&a!=="%")throw new Vc("invalid intrinsic syntax, expected closing `%`");else if(a==="%"&&c!=="%")throw new Vc("invalid intrinsic syntax, expected opening `%`");var p=[];return U1(n,iK,function(s,e,u,o){p[p.length]=u?U1(o,nK,"$1"):e||s}),p},aK=function(n,c){var a=n,p;if(gp(k1,a))p=k1[a],a="%"+p[0]+"%";if(gp(pc,a)){var s=pc[a];if(s===Hc)s=g5(a);if(typeof s>"u"&&!c)throw new Mc("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:p,name:a,value:s}}throw new Vc("intrinsic "+n+" does not exist!")};nr.exports=function(n,c){if(typeof n!=="string"||n.length===0)throw new Mc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof c!=="boolean")throw new Mc('"allowMissing" argument must be a boolean');if(Q5(/^%?[^%]*%?$/,n)===null)throw new Vc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=cK(n),p=a.length>0?a[0]:"",s=aK("%"+p+"%",c),e=s.name,u=s.value,o=!1,t=s.alias;if(t)p=t[0],U5(a,k5([0,1],t));for(var m=1,d=!0;m<a.length;m+=1){var l=a[m],f=kp(l,0,1),v=kp(l,-1);if((f==='"'||f==="'"||f==="`"||(v==='"'||v==="'"||v==="`"))&&f!==v)throw new Vc("property names with quotes must have matching quotes");if(l==="constructor"||!d)o=!0;if(p+="."+l,e="%"+p+"%",gp(pc,e))u=pc[e];else if(u!=null){if(!(l in u)){if(!c)throw new Mc("base intrinsic for "+n+" exists, but the property is not available.");return}if(Va&&m+1>=a.length){var b=Va(u,l);if(d=!!b,d&&"get"in b&&!("originalValue"in b.get))u=b.get;else u=u[l]}else d=gp(u,l),u=u[l];if(d&&!o)pc[e]=u}}return u}});var pr=r((rV,ar)=>{var pK=_u();ar.exports=function(){return pK()&&!!Symbol.toStringTag}});var ur=r((lV,er)=>{var sK=cr(),sr=sK("%Object.defineProperty%",!0),eK=pr()(),uK=Fp(),oK=Tp(),Up=eK?Symbol.toStringTag:null;er.exports=function(n,c){var a=arguments.length>2&&!!arguments[2]&&arguments[2].force,p=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof a<"u"&&typeof a!=="boolean"||typeof p<"u"&&typeof p!=="boolean")throw new oK("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Up&&(a||!uK(n,Up)))if(sr)sr(n,Up,{configurable:!p,enumerable:!1,value:c,writable:!1});else n[Up]=c}});var tr=r((fV,or)=>{or.exports=function(i,n){return Object.keys(n).forEach(function(c){i[c]=i[c]||n[c]}),i}});var xr=r((vV,dr)=>{var Pu=vx(),tK=require("util"),Xu=require("path"),mK=require("http"),dK=require("https"),xK=require("url").parse,rK=require("fs"),lK=require("stream").Stream,fK=require("crypto"),Su=_x(),vK=Ax(),wK=ur(),Mn=Fp(),Iu=tr();function mr(i){return String(i).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function O(i){if(!(this instanceof O))return new O(i);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Pu.call(this),i=i||{};for(var n in i)this[n]=i[n]}tK.inherits(O,Pu);O.LINE_BREAK=`\r
12
- `;O.DEFAULT_CONTENT_TYPE="application/octet-stream";O.prototype.append=function(i,n,c){if(c=c||{},typeof c==="string")c={filename:c};var a=Pu.prototype.append.bind(this);if(typeof n==="number"||n==null)n=String(n);if(Array.isArray(n)){this._error(Error("Arrays are not supported."));return}var p=this._multiPartHeader(i,n,c),s=this._multiPartFooter();a(p),a(n),a(s),this._trackLength(p,n,c)};O.prototype._trackLength=function(i,n,c){var a=0;if(c.knownLength!=null)a+=Number(c.knownLength);else if(Buffer.isBuffer(n))a=n.length;else if(typeof n==="string")a=Buffer.byteLength(n);if(this._valueLength+=a,this._overheadLength+=Buffer.byteLength(i)+O.LINE_BREAK.length,!n||!n.path&&!(n.readable&&Mn(n,"httpVersion"))&&!(n instanceof lK))return;if(!c.knownLength)this._valuesToMeasure.push(n)};O.prototype._lengthRetriever=function(i,n){if(Mn(i,"fd"))if(i.end!=null&&i.end!=1/0&&i.start!=null)n(null,i.end+1-(i.start?i.start:0));else rK.stat(i.path,function(c,a){if(c){n(c);return}var p=a.size-(i.start?i.start:0);n(null,p)});else if(Mn(i,"httpVersion"))n(null,Number(i.headers["content-length"]));else if(Mn(i,"httpModule"))i.on("response",function(c){i.pause(),n(null,Number(c.headers["content-length"]))}),i.resume();else n("Unknown stream")};O.prototype._multiPartHeader=function(i,n,c){if(typeof c.header==="string")return c.header;var a=this._getContentDisposition(n,c),p=this._getContentType(n,c),s="",e={"Content-Disposition":["form-data",'name="'+mr(i)+'"'].concat(a||[]),"Content-Type":[].concat(p||[])};if(typeof c.header==="object")Iu(e,c.header);var u;for(var o in e)if(Mn(e,o)){if(u=e[o],u==null)continue;if(!Array.isArray(u))u=[u];if(u.length)s+=o+": "+u.join("; ")+O.LINE_BREAK}return"--"+this.getBoundary()+O.LINE_BREAK+s+O.LINE_BREAK};O.prototype._getContentDisposition=function(i,n){var c;if(typeof n.filepath==="string")c=Xu.normalize(n.filepath).replace(/\\/g,"/");else if(n.filename||i&&(i.name||i.path))c=Xu.basename(n.filename||i&&(i.name||i.path));else if(i&&i.readable&&Mn(i,"httpVersion"))c=Xu.basename(i.client._httpMessage.path||"");if(c)return'filename="'+mr(c)+'"'};O.prototype._getContentType=function(i,n){var c=n.contentType;if(!c&&i&&i.name)c=Su.lookup(i.name);if(!c&&i&&i.path)c=Su.lookup(i.path);if(!c&&i&&i.readable&&Mn(i,"httpVersion"))c=i.headers["content-type"];if(!c&&(n.filepath||n.filename))c=Su.lookup(n.filepath||n.filename);if(!c&&i&&typeof i==="object")c=O.DEFAULT_CONTENT_TYPE;return c};O.prototype._multiPartFooter=function(){return function(i){var n=O.LINE_BREAK,c=this._streams.length===0;if(c)n+=this._lastBoundary();i(n)}.bind(this)};O.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+O.LINE_BREAK};O.prototype.getHeaders=function(i){var n,c={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in i)if(Mn(i,n))c[n.toLowerCase()]=i[n];return c};O.prototype.setBoundary=function(i){if(typeof i!=="string")throw TypeError("FormData boundary must be a string");this._boundary=i};O.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};O.prototype.getBuffer=function(){var i=new Buffer.alloc(0),n=this.getBoundary();for(var c=0,a=this._streams.length;c<a;c++)if(typeof this._streams[c]!=="function"){if(Buffer.isBuffer(this._streams[c]))i=Buffer.concat([i,this._streams[c]]);else i=Buffer.concat([i,Buffer.from(this._streams[c])]);if(typeof this._streams[c]!=="string"||this._streams[c].substring(2,n.length+2)!==n)i=Buffer.concat([i,Buffer.from(O.LINE_BREAK)])}return Buffer.concat([i,Buffer.from(this._lastBoundary())])};O.prototype._generateBoundary=function(){this._boundary="--------------------------"+fK.randomBytes(12).toString("hex")};O.prototype.getLengthSync=function(){var i=this._overheadLength+this._valueLength;if(this._streams.length)i+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return i};O.prototype.hasKnownLength=function(){var i=!0;if(this._valuesToMeasure.length)i=!1;return i};O.prototype.getLength=function(i){var n=this._overheadLength+this._valueLength;if(this._streams.length)n+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(i.bind(this,null,n));return}vK.parallel(this._valuesToMeasure,this._lengthRetriever,function(c,a){if(c){i(c);return}a.forEach(function(p){n+=p}),i(null,n)})};O.prototype.submit=function(i,n){var c,a,p={method:"post"};if(typeof i==="string")i=xK(i),a=Iu({port:i.port,path:i.pathname,host:i.hostname,protocol:i.protocol},p);else if(a=Iu(i,p),!a.port)a.port=a.protocol==="https:"?443:80;if(a.headers=this.getHeaders(i.headers),a.protocol==="https:")c=dK.request(a);else c=mK.request(a);return this.getLength(function(s,e){if(s&&s!=="Unknown stream"){this._error(s);return}if(e)c.setHeader("Content-Length",e);if(this.pipe(c),n){var u,o=function(t,m){return c.removeListener("error",o),c.removeListener("response",u),n.call(this,t,m)};u=o.bind(this,null),c.on("error",o),c.on("response",u)}}.bind(this)),c};O.prototype._error=function(i){if(!this.error)this.error=i,this.pause(),this.emit("error",i)};O.prototype.toString=function(){return"[object FormData]"};wK(O.prototype,"FormData");dr.exports=O});var Lu=r((vC,Sr)=>{var Ac=1000,Nc=Ac*60,yc=Nc*60,uc=yc*24,AK=uc*7,NK=uc*365.25;Sr.exports=function(i,n){n=n||{};var c=typeof i;if(c==="string"&&i.length>0)return yK(i);else if(c==="number"&&isFinite(i))return n.long?RK(i):EK(i);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function yK(i){if(i=String(i),i.length>100)return;var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!n)return;var c=parseFloat(n[1]),a=(n[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return c*NK;case"weeks":case"week":case"w":return c*AK;case"days":case"day":case"d":return c*uc;case"hours":case"hour":case"hrs":case"hr":case"h":return c*yc;case"minutes":case"minute":case"mins":case"min":case"m":return c*Nc;case"seconds":case"second":case"secs":case"sec":case"s":return c*Ac;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}function EK(i){var n=Math.abs(i);if(n>=uc)return Math.round(i/uc)+"d";if(n>=yc)return Math.round(i/yc)+"h";if(n>=Nc)return Math.round(i/Nc)+"m";if(n>=Ac)return Math.round(i/Ac)+"s";return i+"ms"}function RK(i){var n=Math.abs(i);if(n>=uc)return cs(i,n,uc,"day");if(n>=yc)return cs(i,n,yc,"hour");if(n>=Nc)return cs(i,n,Nc,"minute");if(n>=Ac)return cs(i,n,Ac,"second");return i+" ms"}function cs(i,n,c,a){var p=n>=c*1.5;return Math.round(i/c)+" "+a+(p?"s":"")}});var Bu=r((wC,Ir)=>{function jK(i){c.debug=c,c.default=c,c.coerce=o,c.disable=e,c.enable=p,c.enabled=u,c.humanize=Lu(),c.destroy=t,Object.keys(i).forEach((m)=>{c[m]=i[m]}),c.names=[],c.skips=[],c.formatters={};function n(m){let d=0;for(let l=0;l<m.length;l++)d=(d<<5)-d+m.charCodeAt(l),d|=0;return c.colors[Math.abs(d)%c.colors.length]}c.selectColor=n;function c(m){let d,l=null,f,v;function b(...q){if(!b.enabled)return;let w=b,_=Number(new Date),K=_-(d||_);if(w.diff=K,w.prev=d,w.curr=_,d=_,q[0]=c.coerce(q[0]),typeof q[0]!=="string")q.unshift("%O");let G=0;q[0]=q[0].replace(/%([a-zA-Z%])/g,(S,oi)=>{if(S==="%%")return"%";G++;let Si=c.formatters[oi];if(typeof Si==="function"){let Oi=q[G];S=Si.call(w,Oi),q.splice(G,1),G--}return S}),c.formatArgs.call(w,q),(w.log||c.log).apply(w,q)}if(b.namespace=m,b.useColors=c.useColors(),b.color=c.selectColor(m),b.extend=a,b.destroy=c.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(l!==null)return l;if(f!==c.namespaces)f=c.namespaces,v=c.enabled(m);return v},set:(q)=>{l=q}}),typeof c.init==="function")c.init(b);return b}function a(m,d){let l=c(this.namespace+(typeof d>"u"?":":d)+m);return l.log=this.log,l}function p(m){c.save(m),c.namespaces=m,c.names=[],c.skips=[];let d=(typeof m==="string"?m:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let l of d)if(l[0]==="-")c.skips.push(l.slice(1));else c.names.push(l)}function s(m,d){let l=0,f=0,v=-1,b=0;while(l<m.length)if(f<d.length&&(d[f]===m[l]||d[f]==="*"))if(d[f]==="*")v=f,b=l,f++;else l++,f++;else if(v!==-1)f=v+1,b++,l=b;else return!1;while(f<d.length&&d[f]==="*")f++;return f===d.length}function e(){let m=[...c.names,...c.skips.map((d)=>"-"+d)].join(",");return c.enable(""),m}function u(m){for(let d of c.skips)if(s(m,d))return!1;for(let d of c.names)if(s(m,d))return!0;return!1}function o(m){if(m instanceof Error)return m.stack||m.message;return m}function t(){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 c.enable(c.load()),c}Ir.exports=jK});var Pr=r((Hi,as)=>{Hi.formatArgs=DK;Hi.save=LK;Hi.load=BK;Hi.useColors=TK;Hi.storage=FK();Hi.destroy=(()=>{let i=!1;return()=>{if(!i)i=!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`.")}})();Hi.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 TK(){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 i;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&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function DK(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+as.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;i.splice(1,0,n,"color: inherit");let c=0,a=0;i[0].replace(/%[a-zA-Z%]/g,(p)=>{if(p==="%%")return;if(c++,p==="%c")a=c}),i.splice(a,0,n)}Hi.log=console.debug||console.log||(()=>{});function LK(i){try{if(i)Hi.storage.setItem("debug",i);else Hi.storage.removeItem("debug")}catch(n){}}function BK(){let i;try{i=Hi.storage.getItem("debug")||Hi.storage.getItem("DEBUG")}catch(n){}if(!i&&typeof process<"u"&&"env"in process)i=process.env.DEBUG;return i}function FK(){try{return localStorage}catch(i){}}as.exports=Bu()(Hi);var{formatters:gK}=as.exports;gK.j=function(i){try{return JSON.stringify(i)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}});var Mr={};ou(Mr,{default:()=>n_,createSupportsColor:()=>gu});function ji(i,n=globalThis.Deno?globalThis.Deno.args:ss.default.argv){let c=i.startsWith("-")?"":i.length===1?"-":"--",a=n.indexOf(c+i),p=n.indexOf("--");return a!==-1&&(p===-1||a<p)}function kK(){if(!("FORCE_COLOR"in g))return;if(g.FORCE_COLOR==="true")return 1;if(g.FORCE_COLOR==="false")return 0;if(g.FORCE_COLOR.length===0)return 1;let i=Math.min(Number.parseInt(g.FORCE_COLOR,10),3);if(![0,1,2,3].includes(i))return;return i}function UK(i){if(i===0)return!1;return{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3}}function QK(i,{streamIsTTY:n,sniffFlags:c=!0}={}){let a=kK();if(a!==void 0)ps=a;let p=c?ps:a;if(p===0)return 0;if(c){if(ji("color=16m")||ji("color=full")||ji("color=truecolor"))return 3;if(ji("color=256"))return 2}if("TF_BUILD"in g&&"AGENT_NAME"in g)return 1;if(i&&!n&&p===void 0)return 0;let s=p||0;if(g.TERM==="dumb")return s;if(ss.default.platform==="win32"){let e=Hr.default.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586)return Number(e[2])>=14931?3:2;return 1}if("CI"in g){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((e)=>(e in g)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((e)=>(e in g))||g.CI_NAME==="codeship")return 1;return s}if("TEAMCITY_VERSION"in g)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0;if(g.COLORTERM==="truecolor")return 3;if(g.TERM==="xterm-kitty")return 3;if(g.TERM==="xterm-ghostty")return 3;if(g.TERM==="wezterm")return 3;if("TERM_PROGRAM"in g){let e=Number.parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(g.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM))return 1;if("COLORTERM"in g)return 1;return s}function gu(i,n={}){let c=QK(i,{streamIsTTY:i&&i.isTTY,...n});return UK(c)}var ss,Hr,Fu,g,ps,i_,n_;var Vr=Zq(()=>{ss=Q(require("node:process")),Hr=Q(require("node:os")),Fu=Q(require("node:tty"));({env:g}=ss.default);if(ji("no-color")||ji("no-colors")||ji("color=false")||ji("color=never"))ps=0;else if(ji("color")||ji("colors")||ji("color=true")||ji("color=always"))ps=1;i_={stdout:gu({isTTY:Fu.default.isatty(1)}),stderr:gu({isTTY:Fu.default.isatty(2)})},n_=i_});var Or=r((fi,us)=>{var c_=require("tty"),es=require("util");fi.init=t_;fi.log=e_;fi.formatArgs=p_;fi.save=u_;fi.load=o_;fi.useColors=a_;fi.destroy=es.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");fi.colors=[6,2,3,4,5,1];try{let i=(Vr(),Fd(Mr));if(i&&(i.stderr||i).level>=2)fi.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(i){}fi.inspectOpts=Object.keys(process.env).filter((i)=>{return/^debug_/i.test(i)}).reduce((i,n)=>{let c=n.substring(6).toLowerCase().replace(/_([a-z])/g,(p,s)=>{return s.toUpperCase()}),a=process.env[n];if(/^(yes|on|true|enabled)$/i.test(a))a=!0;else if(/^(no|off|false|disabled)$/i.test(a))a=!1;else if(a==="null")a=null;else a=Number(a);return i[c]=a,i},{});function a_(){return"colors"in fi.inspectOpts?Boolean(fi.inspectOpts.colors):c_.isatty(process.stderr.fd)}function p_(i){let{namespace:n,useColors:c}=this;if(c){let a=this.color,p="\x1B[3"+(a<8?a:"8;5;"+a),s=` ${p};1m${n} \x1B[0m`;i[0]=s+i[0].split(`
11
+ */var Ki=fl(),US=require("path").extname,ml=/^\s*([^;\s]*)(?:;|\s|$)/,FS=/^text\//i;Ne.charset=hl;Ne.charsets={lookup:hl};Ne.contentType=$S;Ne.extension=BS;Ne.extensions=Object.create(null);Ne.lookup=KS;Ne.types=Object.create(null);HS(Ne.extensions,Ne.types);function hl(e){if(!e||typeof e!=="string")return!1;var t=ml.exec(e),r=t&&Ki[t[1].toLowerCase()];if(r&&r.charset)return r.charset;if(t&&FS.test(t[1]))return"UTF-8";return!1}function $S(e){if(!e||typeof e!=="string")return!1;var t=e.indexOf("/")===-1?Ne.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=Ne.charset(t);if(r)t+="; charset="+r.toLowerCase()}return t}function BS(e){if(!e||typeof e!=="string")return!1;var t=ml.exec(e),r=t&&Ne.extensions[t[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]}function KS(e){if(!e||typeof e!=="string")return!1;var t=US("x."+e).toLowerCase().substr(1);if(!t)return!1;return Ne.types[t]||!1}function HS(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Ki).forEach(function(i){var o=Ki[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 p=r.indexOf(Ki[t[c]].source),u=r.indexOf(o.source);if(t[c]!=="application/octet-stream"&&(p>u||p===u&&t[c].substr(0,12)==="application/"))continue}t[c]=i}})}});var gl=y(function(n2,yl){yl.exports=JS;function JS(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 ia=y(function(i2,bl){var vl=gl();bl.exports=WS;function WS(e){var t=!1;return vl(function(){t=!0}),function(n,i){if(t)e(n,i);else vl(function(){e(n,i)})}}});var oa=y(function(o2,wl){wl.exports=zS;function zS(e){Object.keys(e.jobs).forEach(MS.bind(e)),e.jobs={}}function MS(e){if(typeof this.jobs[e]=="function")this.jobs[e]()}});var sa=y(function(s2,Sl){var El=ia(),GS=oa();Sl.exports=VS;function VS(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=XS(t,i,e[i],function(o,s){if(!(i in r.jobs))return;if(delete r.jobs[i],o)GS(r);else r.results[i]=s;n(o,r.results)})}function XS(e,t,r,n){var i;if(e.length==2)i=e(r,El(n));else i=e(r,t,El(n));return i}});var aa=y(function(a2,Al){Al.exports=YS;function YS(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 ca=y(function(c2,Rl){var ZS=oa(),QS=ia();Rl.exports=e0;function e0(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,ZS(this),QS(e)(null,this.results)}});var _l=y(function(p2,Tl){var t0=sa(),r0=aa(),n0=ca();Tl.exports=i0;function i0(e,t,r){var n=r0(e);while(n.index<(n.keyedList||e).length)t0(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 n0.bind(n,r)}});var pa=y(function(u2,Hi){var kl=sa(),o0=aa(),s0=ca();Hi.exports=a0;Hi.exports.ascending=Ol;Hi.exports.descending=c0;function a0(e,t,r,n){var i=o0(e,r);return kl(e,t,i,function o(s,a){if(s){n(s,a);return}if(i.index++,i.index<(i.keyedList||e).length){kl(e,t,i,o);return}n(null,i.results)}),s0.bind(i,n)}function Ol(e,t){return e<t?-1:e>t?1:0}function c0(e,t){return-1*Ol(e,t)}});var Pl=y(function(l2,Cl){var p0=pa();Cl.exports=u0;function u0(e,t,r){return p0(e,t,null,r)}});var jl=y(function(d2,Il){Il.exports={parallel:_l(),serial:Pl(),serialOrdered:pa()}});var ua=y(function(f2,Ll){Ll.exports=Object});var ql=y(function(m2,Nl){Nl.exports=Error});var Ul=y(function(h2,Dl){Dl.exports=EvalError});var $l=y(function(x2,Fl){Fl.exports=RangeError});var Kl=y(function(y2,Bl){Bl.exports=ReferenceError});var Jl=y(function(g2,Hl){Hl.exports=SyntaxError});var Ji=y(function(v2,Wl){Wl.exports=TypeError});var Ml=y(function(b2,zl){zl.exports=URIError});var Vl=y(function(w2,Gl){Gl.exports=Math.abs});var Yl=y(function(E2,Xl){Xl.exports=Math.floor});var Ql=y(function(S2,Zl){Zl.exports=Math.max});var td=y(function(A2,ed){ed.exports=Math.min});var nd=y(function(R2,rd){rd.exports=Math.pow});var od=y(function(T2,id){id.exports=Math.round});var ad=y(function(_2,sd){sd.exports=Number.isNaN||function(t){return t!==t}});var pd=y(function(k2,cd){var l0=ad();cd.exports=function(t){if(l0(t)||t===0)return t;return t<0?-1:1}});var ld=y(function(O2,ud){ud.exports=Object.getOwnPropertyDescriptor});var la=y(function(C2,dd){var Wi=ld();if(Wi)try{Wi([],"length")}catch(e){Wi=null}dd.exports=Wi});var md=y(function(P2,fd){var zi=Object.defineProperty||!1;if(zi)try{zi({},"a",{value:1})}catch(e){zi=!1}fd.exports=zi});var da=y(function(I2,hd){hd.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 gd=y(function(j2,yd){var xd=typeof Symbol<"u"&&Symbol,d0=da();yd.exports=function(){if(typeof xd!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof xd("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return d0()}});var fa=y(function(L2,vd){vd.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var ma=y(function(N2,bd){var f0=ua();bd.exports=f0.getPrototypeOf||null});var Sd=y(function(q2,Ed){var m0="Function.prototype.bind called on incompatible ",h0=Object.prototype.toString,x0=Math.max,y0="[object Function]",wd=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},g0=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},v0=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};Ed.exports=function(t){var r=this;if(typeof r!=="function"||h0.apply(r)!==y0)throw TypeError(m0+r);var n=g0(arguments,1),i,o=function(){if(this instanceof i){var u=r.apply(this,wd(n,arguments));if(Object(u)===u)return u;return this}return r.apply(t,wd(n,arguments))},s=x0(0,r.length-n.length),a=[];for(var c=0;c<s;c++)a[c]="$"+c;if(i=Function("binder","return function ("+v0(a,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var p=function(){};p.prototype=r.prototype,i.prototype=new p,p.prototype=null}return i}});var Ln=y(function(D2,Ad){var b0=Sd();Ad.exports=Function.prototype.bind||b0});var Mi=y(function(U2,Rd){Rd.exports=Function.prototype.call});var ha=y(function(F2,Td){Td.exports=Function.prototype.apply});var kd=y(function($2,_d){_d.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Cd=y(function(B2,Od){var w0=Ln(),E0=ha(),S0=Mi(),A0=kd();Od.exports=A0||w0.call(S0,E0)});var Id=y(function(K2,Pd){var R0=Ln(),T0=Ji(),_0=Mi(),k0=Cd();Pd.exports=function(t){if(t.length<1||typeof t[0]!=="function")throw new T0("a function is required");return k0(R0,_0,t)}});var Ud=y(function(H2,Dd){var O0=Id(),jd=la(),Nd;try{Nd=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var xa=!!Nd&&jd&&jd(Object.prototype,"__proto__"),qd=Object,Ld=qd.getPrototypeOf;Dd.exports=xa&&typeof xa.get==="function"?O0([xa.get]):typeof Ld==="function"?function(t){return Ld(t==null?t:qd(t))}:!1});var Hd=y(function(J2,Kd){var Fd=fa(),$d=ma(),Bd=Ud();Kd.exports=Fd?function(t){return Fd(t)}:$d?function(t){if(!t||typeof t!=="object"&&typeof t!=="function")throw TypeError("getProto: not an object");return $d(t)}:Bd?function(t){return Bd(t)}:null});var Gi=y(function(W2,Jd){var C0=Function.prototype.call,P0=Object.prototype.hasOwnProperty,I0=Ln();Jd.exports=I0.call(C0,P0)});var Xd=y(function(z2,Vd){var U,j0=ua(),L0=ql(),N0=Ul(),q0=$l(),D0=Kl(),Ir=Jl(),Pr=Ji(),U0=Ml(),F0=Vl(),$0=Yl(),B0=Ql(),K0=td(),H0=nd(),J0=od(),W0=pd(),Md=Function,ya=function(e){try{return Md('"use strict"; return ('+e+").constructor;")()}catch(t){}},Nn=la(),z0=md(),ga=function(){throw new Pr},M0=Nn?function(){try{return arguments.callee,ga}catch(e){try{return Nn(arguments,"callee").get}catch(t){return ga}}}():ga,Or=gd()(),Ee=Hd(),G0=ma(),V0=fa(),Gd=ha(),qn=Mi(),Cr={},X0=typeof Uint8Array>"u"||!Ee?U:Ee(Uint8Array),Zt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":Or&&Ee?Ee([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":Cr,"%AsyncGenerator%":Cr,"%AsyncGeneratorFunction%":Cr,"%AsyncIteratorPrototype%":Cr,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":L0,"%eval%":eval,"%EvalError%":N0,"%Float16Array%":typeof Float16Array>"u"?U:Float16Array,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":Md,"%GeneratorFunction%":Cr,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Or&&Ee?Ee(Ee([][Symbol.iterator]())):U,"%JSON%":typeof JSON==="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Or||!Ee?U:Ee(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":j0,"%Object.getOwnPropertyDescriptor%":Nn,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":q0,"%ReferenceError%":D0,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Or||!Ee?U:Ee(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Or&&Ee?Ee(""[Symbol.iterator]()):U,"%Symbol%":Or?Symbol:U,"%SyntaxError%":Ir,"%ThrowTypeError%":M0,"%TypedArray%":X0,"%TypeError%":Pr,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":U0,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet,"%Function.prototype.call%":qn,"%Function.prototype.apply%":Gd,"%Object.defineProperty%":z0,"%Object.getPrototypeOf%":G0,"%Math.abs%":F0,"%Math.floor%":$0,"%Math.max%":B0,"%Math.min%":K0,"%Math.pow%":H0,"%Math.round%":J0,"%Math.sign%":W0,"%Reflect.getPrototypeOf%":V0};if(Ee)try{null.error}catch(e){va=Ee(Ee(e)),Zt["%Error.prototype%"]=va}var va,Y0=function e(t){var r;if(t==="%AsyncFunction%")r=ya("async function () {}");else if(t==="%GeneratorFunction%")r=ya("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=ya("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&&Ee)r=Ee(i.prototype)}return Zt[t]=r,r},Wd={__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"]},Dn=Ln(),Vi=Gi(),Z0=Dn.call(qn,Array.prototype.concat),Q0=Dn.call(Gd,Array.prototype.splice),zd=Dn.call(qn,String.prototype.replace),Xi=Dn.call(qn,String.prototype.slice),eA=Dn.call(qn,RegExp.prototype.exec),tA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rA=/\\(\\)?/g,nA=function(t){var r=Xi(t,0,1),n=Xi(t,-1);if(r==="%"&&n!=="%")throw new Ir("invalid intrinsic syntax, expected closing `%`");else if(n==="%"&&r!=="%")throw new Ir("invalid intrinsic syntax, expected opening `%`");var i=[];return zd(t,tA,function(o,s,a,c){i[i.length]=a?zd(c,rA,"$1"):s||o}),i},iA=function(t,r){var n=t,i;if(Vi(Wd,n))i=Wd[n],n="%"+i[0]+"%";if(Vi(Zt,n)){var o=Zt[n];if(o===Cr)o=Y0(n);if(typeof o>"u"&&!r)throw new Pr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Ir("intrinsic "+t+" does not exist!")};Vd.exports=function(t,r){if(typeof t!=="string"||t.length===0)throw new Pr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!=="boolean")throw new Pr('"allowMissing" argument must be a boolean');if(eA(/^%?[^%]*%?$/,t)===null)throw new Ir("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=nA(t),i=n.length>0?n[0]:"",o=iA("%"+i+"%",r),s=o.name,a=o.value,c=!1,p=o.alias;if(p)i=p[0],Q0(n,Z0([0,1],p));for(var u=1,l=!0;u<n.length;u+=1){var f=n[u],m=Xi(f,0,1),g=Xi(f,-1);if((m==='"'||m==="'"||m==="`"||(g==='"'||g==="'"||g==="`"))&&m!==g)throw new Ir("property names with quotes must have matching quotes");if(f==="constructor"||!l)c=!0;if(i+="."+f,s="%"+i+"%",Vi(Zt,s))a=Zt[s];else if(a!=null){if(!(f in a)){if(!r)throw new Pr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Nn&&u+1>=n.length){var x=Nn(a,f);if(l=!!x,l&&"get"in x&&!("originalValue"in x.get))a=x.get;else a=a[f]}else l=Vi(a,f),a=a[f];if(l&&!c)Zt[s]=a}}return a}});var Zd=y(function(M2,Yd){var oA=da();Yd.exports=function(){return oA()&&!!Symbol.toStringTag}});var tf=y(function(G2,ef){var sA=Xd(),Qd=sA("%Object.defineProperty%",!0),aA=Zd()(),cA=Gi(),pA=Ji(),Yi=aA?Symbol.toStringTag:null;ef.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 pA("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Yi&&(n||!cA(t,Yi)))if(Qd)Qd(t,Yi,{configurable:!i,enumerable:!1,value:r,writable:!1});else t[Yi]=r}});var nf=y(function(V2,rf){rf.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var af=y(function(X2,sf){var Sa=ul(),uA=require("util"),ba=require("path"),lA=require("http"),dA=require("https"),fA=require("url").parse,mA=require("fs"),hA=require("stream").Stream,xA=require("crypto"),wa=xl(),yA=jl(),gA=tf(),Ot=Gi(),Ea=nf();function of(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}function H(e){if(!(this instanceof H))return new H(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Sa.call(this),e=e||{};for(var t in e)this[t]=e[t]}uA.inherits(H,Sa);H.LINE_BREAK=`\r
12
+ `;H.DEFAULT_CONTENT_TYPE="application/octet-stream";H.prototype.append=function(e,t,r){if(r=r||{},typeof r==="string")r={filename:r};var n=Sa.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)};H.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)+H.LINE_BREAK.length,!t||!t.path&&!(t.readable&&Ot(t,"httpVersion"))&&!(t instanceof hA))return;if(!r.knownLength)this._valuesToMeasure.push(t)};H.prototype._lengthRetriever=function(e,t){if(Ot(e,"fd"))if(e.end!=null&&e.end!=1/0&&e.start!=null)t(null,e.end+1-(e.start?e.start:0));else mA.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(Ot(e,"httpVersion"))t(null,Number(e.headers["content-length"]));else if(Ot(e,"httpModule"))e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume();else t("Unknown stream")};H.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="'+of(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};if(typeof r.header==="object")Ea(s,r.header);var a;for(var c in s)if(Ot(s,c)){if(a=s[c],a==null)continue;if(!Array.isArray(a))a=[a];if(a.length)o+=c+": "+a.join("; ")+H.LINE_BREAK}return"--"+this.getBoundary()+H.LINE_BREAK+o+H.LINE_BREAK};H.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath==="string")r=ba.normalize(t.filepath).replace(/\\/g,"/");else if(t.filename||e&&(e.name||e.path))r=ba.basename(t.filename||e&&(e.name||e.path));else if(e&&e.readable&&Ot(e,"httpVersion"))r=ba.basename(e.client._httpMessage.path||"");if(r)return'filename="'+of(r)+'"'};H.prototype._getContentType=function(e,t){var r=t.contentType;if(!r&&e&&e.name)r=wa.lookup(e.name);if(!r&&e&&e.path)r=wa.lookup(e.path);if(!r&&e&&e.readable&&Ot(e,"httpVersion"))r=e.headers["content-type"];if(!r&&(t.filepath||t.filename))r=wa.lookup(t.filepath||t.filename);if(!r&&e&&typeof e==="object")r=H.DEFAULT_CONTENT_TYPE;return r};H.prototype._multiPartFooter=function(){return function(e){var t=H.LINE_BREAK,r=this._streams.length===0;if(r)t+=this._lastBoundary();e(t)}.bind(this)};H.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+H.LINE_BREAK};H.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)if(Ot(e,t))r[t.toLowerCase()]=e[t];return r};H.prototype.setBoundary=function(e){if(typeof e!=="string")throw TypeError("FormData boundary must be a string");this._boundary=e};H.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};H.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(H.LINE_BREAK)])}return Buffer.concat([e,Buffer.from(this._lastBoundary())])};H.prototype._generateBoundary=function(){this._boundary="--------------------------"+xA.randomBytes(12).toString("hex")};H.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};H.prototype.hasKnownLength=function(){var e=!0;if(this._valuesToMeasure.length)e=!1;return e};H.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}yA.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};H.prototype.submit=function(e,t){var r,n,i={method:"post"};if(typeof e==="string")e=fA(e),n=Ea({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i);else if(n=Ea(e,i),!n.port)n.port=n.protocol==="https:"?443:80;if(n.headers=this.getHeaders(e.headers),n.protocol==="https:")r=dA.request(n);else r=lA.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(p,u){return r.removeListener("error",c),r.removeListener("response",a),t.call(this,p,u)};a=c.bind(this,null),r.on("error",c),r.on("response",a)}}.bind(this)),r};H.prototype._error=function(e){if(!this.error)this.error=e,this.pause(),this.emit("error",e)};H.prototype.toString=function(){return"[object FormData]"};gA(H.prototype,"FormData");sf.exports=H});var Da=y(function(Xq,Tf){var Nr=1000,qr=Nr*60,Dr=qr*60,tr=Dr*24,$A=tr*7,BA=tr*365.25;Tf.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return KA(e);else if(r==="number"&&isFinite(e))return t.long?JA(e):HA(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function KA(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*BA;case"weeks":case"week":case"w":return r*$A;case"days":case"day":case"d":return r*tr;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Dr;case"minutes":case"minute":case"mins":case"min":case"m":return r*qr;case"seconds":case"second":case"secs":case"sec":case"s":return r*Nr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}function HA(e){var t=Math.abs(e);if(t>=tr)return Math.round(e/tr)+"d";if(t>=Dr)return Math.round(e/Dr)+"h";if(t>=qr)return Math.round(e/qr)+"m";if(t>=Nr)return Math.round(e/Nr)+"s";return e+"ms"}function JA(e){var t=Math.abs(e);if(t>=tr)return to(e,t,tr,"day");if(t>=Dr)return to(e,t,Dr,"hour");if(t>=qr)return to(e,t,qr,"minute");if(t>=Nr)return to(e,t,Nr,"second");return e+" ms"}function to(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var Ua=y(function(Yq,_f){function WA(e){r.debug=r,r.default=r,r.coerce=c,r.disable=s,r.enable=i,r.enabled=a,r.humanize=Da(),r.destroy=p,Object.keys(e).forEach((u)=>{r[u]=e[u]}),r.names=[],r.skips=[],r.formatters={};function t(u){let l=0;for(let f=0;f<u.length;f++)l=(l<<5)-l+u.charCodeAt(f),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=t;function r(u){let l,f=null,m,g;function x(...v){if(!x.enabled)return;let h=x,b=Number(new Date),E=b-(l||b);if(h.diff=E,h.prev=l,h.curr=b,l=b,v[0]=r.coerce(v[0]),typeof v[0]!=="string")v.unshift("%O");let A=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(C,K)=>{if(C==="%%")return"%";A++;let te=r.formatters[K];if(typeof te==="function"){let F=v[A];C=te.call(h,F),v.splice(A,1),A--}return C}),r.formatArgs.call(h,v),(h.log||r.log).apply(h,v)}if(x.namespace=u,x.useColors=r.useColors(),x.color=r.selectColor(u),x.extend=n,x.destroy=r.destroy,Object.defineProperty(x,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(f!==null)return f;if(m!==r.namespaces)m=r.namespaces,g=r.enabled(u);return g},set:(v)=>{f=v}}),typeof r.init==="function")r.init(x);return x}function n(u,l){let f=r(this.namespace+(typeof l>"u"?":":l)+u);return f.log=this.log,f}function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let l=(typeof u==="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of l)if(f[0]==="-")r.skips.push(f.slice(1));else r.names.push(f)}function o(u,l){let f=0,m=0,g=-1,x=0;while(f<u.length)if(m<l.length&&(l[m]===u[f]||l[m]==="*"))if(l[m]==="*")g=m,x=f,m++;else f++,m++;else if(g!==-1)m=g+1,x++,f=x;else return!1;while(m<l.length&&l[m]==="*")m++;return m===l.length}function s(){let u=[...r.names,...r.skips.map((l)=>"-"+l)].join(",");return r.enable(""),u}function a(u){for(let l of r.skips)if(o(u,l))return!1;for(let l of r.names)if(o(u,l))return!0;return!1}function c(u){if(u instanceof Error)return u.stack||u.message;return u}function p(){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}_f.exports=WA});var kf=y(function(qe,ro){qe.formatArgs=MA;qe.save=GA;qe.load=VA;qe.useColors=zA;qe.storage=XA();qe.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`.")}})();qe.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 zA(){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 MA(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+ro.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)}qe.log=console.debug||console.log||(()=>{});function GA(e){try{if(e)qe.storage.setItem("debug",e);else qe.storage.removeItem("debug")}catch(t){}}function VA(){let e;try{e=qe.storage.getItem("debug")||qe.storage.getItem("DEBUG")}catch(t){}if(!e&&typeof process<"u"&&"env"in process)e=process.env.DEBUG;return e}function XA(){try{return localStorage}catch(e){}}ro.exports=Ua()(qe);var{formatters:YA}=ro.exports;YA.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Cf={};Ar(Cf,{createSupportsColor:()=>$a,default:()=>rR});function We(e,t=globalThis.Deno?globalThis.Deno.args:io.default.argv){let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}function ZA(){if(!("FORCE_COLOR"in ie))return;if(ie.FORCE_COLOR==="true")return 1;if(ie.FORCE_COLOR==="false")return 0;if(ie.FORCE_COLOR.length===0)return 1;let e=Math.min(Number.parseInt(ie.FORCE_COLOR,10),3);if(![0,1,2,3].includes(e))return;return e}function QA(e){if(e===0)return!1;return{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function eR(e,{streamIsTTY:t,sniffFlags:r=!0}={}){let n=ZA();if(n!==void 0)no=n;let i=r?no:n;if(i===0)return 0;if(r){if(We("color=16m")||We("color=full")||We("color=truecolor"))return 3;if(We("color=256"))return 2}if("TF_BUILD"in ie&&"AGENT_NAME"in ie)return 1;if(e&&!t&&i===void 0)return 0;let o=i||0;if(ie.TERM==="dumb")return o;if(io.default.platform==="win32"){let s=Of.default.release().split(".");if(Number(s[0])>=10&&Number(s[2])>=10586)return Number(s[2])>=14931?3:2;return 1}if("CI"in ie){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((s)=>(s in ie)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((s)=>(s in ie))||ie.CI_NAME==="codeship")return 1;return o}if("TEAMCITY_VERSION"in ie)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ie.TEAMCITY_VERSION)?1:0;if(ie.COLORTERM==="truecolor")return 3;if(ie.TERM==="xterm-kitty")return 3;if(ie.TERM==="xterm-ghostty")return 3;if(ie.TERM==="wezterm")return 3;if("TERM_PROGRAM"in ie){let s=Number.parseInt((ie.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ie.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ie.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ie.TERM))return 1;if("COLORTERM"in ie)return 1;return o}function $a(e,t={}){let r=eR(e,{streamIsTTY:e&&e.isTTY,...t});return QA(r)}var io,Of,Fa,ie,no,tR,rR;var Pf=j(()=>{io=pe(require("node:process")),Of=pe(require("node:os")),Fa=pe(require("node:tty"));({env:ie}=io.default);if(We("no-color")||We("no-colors")||We("color=false")||We("color=never"))no=0;else if(We("color")||We("colors")||We("color=true")||We("color=always"))no=1;tR={stdout:$a({isTTY:Fa.default.isatty(1)}),stderr:$a({isTTY:Fa.default.isatty(2)})},rR=tR});var jf=y(function(Se,so){var nR=require("tty"),oo=require("util");Se.init=uR;Se.log=aR;Se.formatArgs=oR;Se.save=cR;Se.load=pR;Se.useColors=iR;Se.destroy=oo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Se.colors=[6,2,3,4,5,1];try{let e=(Pf(),Di(Cf));if(e&&(e.stderr||e).level>=2)Se.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){}Se.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 iR(){return"colors"in Se.inspectOpts?Boolean(Se.inspectOpts.colors):nR.isatty(process.stderr.fd)}function oR(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(`
13
13
  `).join(`
14
- `+s),i.push(p+"m+"+us.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=s_()+n+" "+i[0]}function s_(){if(fi.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function e_(...i){return process.stderr.write(es.formatWithOptions(fi.inspectOpts,...i)+`
15
- `)}function u_(i){if(i)process.env.DEBUG=i;else delete process.env.DEBUG}function o_(){return process.env.DEBUG}function t_(i){i.inspectOpts={};let n=Object.keys(fi.inspectOpts);for(let c=0;c<n.length;c++)i.inspectOpts[n[c]]=fi.inspectOpts[n[c]]}us.exports=Bu()(fi);var{formatters:Cr}=us.exports;Cr.o=function(i){return this.inspectOpts.colors=this.useColors,es.inspect(i,this.inspectOpts).split(`
16
- `).map((n)=>n.trim()).join(" ")};Cr.O=function(i){return this.inspectOpts.colors=this.useColors,es.inspect(i,this.inspectOpts)}});var On=r((bC,ku)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)ku.exports=Pr();else ku.exports=Or()});var Ar=r((Uu)=>{Object.defineProperty(Uu,"__esModule",{value:!0});function m_(i){return function(n,c){return new Promise((a,p)=>{i.call(this,n,c,(s,e)=>{if(s)p(s);else a(e)})})}}Uu.default=m_});var Er=r((io,yr)=>{var Nr=io&&io.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},d_=require("events"),x_=Nr(On()),r_=Nr(Ar()),ya=x_.default("agent-base");function l_(i){return Boolean(i)&&typeof i.addRequest==="function"}function Qu(){let{stack:i}=Error();if(typeof i!=="string")return!1;return i.split(`
17
- `).some((n)=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}function os(i,n){return new os.Agent(i,n)}(function(i){class n extends d_.EventEmitter{constructor(c,a){super();let p=a;if(typeof c==="function")this.callback=c;else if(c)p=c;if(this.timeout=null,p&&typeof p.timeout==="number")this.timeout=p.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return Qu()?443:80}set defaultPort(c){this.explicitDefaultPort=c}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return Qu()?"https:":"http:"}set protocol(c){this.explicitProtocol=c}callback(c,a,p){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(c,a){let p=Object.assign({},a);if(typeof p.secureEndpoint!=="boolean")p.secureEndpoint=Qu();if(p.host==null)p.host="localhost";if(p.port==null)p.port=p.secureEndpoint?443:80;if(p.protocol==null)p.protocol=p.secureEndpoint?"https:":"http:";if(p.host&&p.path)delete p.path;delete p.agent,delete p.hostname,delete p._defaultAgent,delete p.defaultPort,delete p.createConnection,c._last=!0,c.shouldKeepAlive=!1;let s=!1,e=null,u=p.timeout||this.timeout,o=(l)=>{if(c._hadError)return;c.emit("error",l),c._hadError=!0},t=()=>{e=null,s=!0;let l=Error(`A "socket" was not created for HTTP request before ${u}ms`);l.code="ETIMEOUT",o(l)},m=(l)=>{if(s)return;if(e!==null)clearTimeout(e),e=null;o(l)},d=(l)=>{if(s)return;if(e!=null)clearTimeout(e),e=null;if(l_(l)){ya("Callback returned another Agent instance %o",l.constructor.name),l.addRequest(c,p);return}if(l){l.once("free",()=>{this.freeSocket(l,p)}),c.onSocket(l);return}let f=Error(`no Duplex stream was returned to agent-base for \`${c.method} ${c.path}\``);o(f)};if(typeof this.callback!=="function"){o(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)ya("Converting legacy callback function to promise"),this.promisifiedCallback=r_.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof u==="number"&&u>0)e=setTimeout(t,u);if("port"in p&&typeof p.port!=="number")p.port=Number(p.port);try{ya("Resolving socket for %o request: %o",p.protocol,`${c.method} ${c.path}`),Promise.resolve(this.promisifiedCallback(c,p)).then(d,m)}catch(l){Promise.reject(l).catch(m)}}freeSocket(c,a){ya("Freeing socket %o %o",c.constructor.name,a),c.destroy()}destroy(){ya("Destroying agent %o",this.constructor.name)}}i.Agent=n,i.prototype=i.Agent.prototype})(os||(os={}));yr.exports=os});var Rr=r((Ra)=>{var f_=Ra&&Ra.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ra,"__esModule",{value:!0});var v_=f_(On()),Ea=v_.default("https-proxy-agent:parse-proxy-response");function w_(i){return new Promise((n,c)=>{let a=0,p=[];function s(){let d=i.read();if(d)m(d);else i.once("readable",s)}function e(){i.removeListener("end",o),i.removeListener("error",t),i.removeListener("close",u),i.removeListener("readable",s)}function u(d){Ea("onclose had error %o",d)}function o(){Ea("onend")}function t(d){e(),Ea("onerror %o",d),c(d)}function m(d){p.push(d),a+=d.length;let l=Buffer.concat(p,a);if(l.indexOf(`\r
14
+ `+o),e.push(i+"m+"+so.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=sR()+t+" "+e[0]}function sR(){if(Se.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function aR(...e){return process.stderr.write(oo.formatWithOptions(Se.inspectOpts,...e)+`
15
+ `)}function cR(e){if(e)process.env.DEBUG=e;else delete process.env.DEBUG}function pR(){return process.env.DEBUG}function uR(e){e.inspectOpts={};let t=Object.keys(Se.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=Se.inspectOpts[t[r]]}so.exports=Ua()(Se);var{formatters:If}=so.exports;If.o=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts).split(`
16
+ `).map((t)=>t.trim()).join(" ")};If.O=function(e){return this.inspectOpts.colors=this.useColors,oo.inspect(e,this.inspectOpts)}});var It=y(function(Zq,Ba){if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Ba.exports=kf();else Ba.exports=jf()});var Lf=y(function(Ka){Object.defineProperty(Ka,"__esModule",{value:!0});function lR(e){return function(t,r){return new Promise((n,i)=>{e.call(this,t,r,(o,s)=>{if(o)i(o);else n(s)})})}}Ka.default=lR});var Df=y(function(Ja,qf){var Nf=Ja&&Ja.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},dR=require("events"),fR=Nf(It()),mR=Nf(Lf()),$n=fR.default("agent-base");function hR(e){return Boolean(e)&&typeof e.addRequest==="function"}function Ha(){let{stack:e}=Error();if(typeof e!=="string")return!1;return e.split(`
17
+ `).some((t)=>t.indexOf("(https.js:")!==-1||t.indexOf("node:https:")!==-1)}function ao(e,t){return new ao.Agent(e,t)}(function(e){class t extends dR.EventEmitter{constructor(r,n){super();let i=n;if(typeof r==="function")this.callback=r;else if(r)i=r;if(this.timeout=null,i&&typeof i.timeout==="number")this.timeout=i.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return Ha()?443:80}set defaultPort(r){this.explicitDefaultPort=r}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return Ha()?"https:":"http:"}set protocol(r){this.explicitProtocol=r}callback(r,n,i){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(r,n){let i=Object.assign({},n);if(typeof i.secureEndpoint!=="boolean")i.secureEndpoint=Ha();if(i.host==null)i.host="localhost";if(i.port==null)i.port=i.secureEndpoint?443:80;if(i.protocol==null)i.protocol=i.secureEndpoint?"https:":"http:";if(i.host&&i.path)delete i.path;delete i.agent,delete i.hostname,delete i._defaultAgent,delete i.defaultPort,delete i.createConnection,r._last=!0,r.shouldKeepAlive=!1;let o=!1,s=null,a=i.timeout||this.timeout,c=(f)=>{if(r._hadError)return;r.emit("error",f),r._hadError=!0},p=()=>{s=null,o=!0;let f=Error(`A "socket" was not created for HTTP request before ${a}ms`);f.code="ETIMEOUT",c(f)},u=(f)=>{if(o)return;if(s!==null)clearTimeout(s),s=null;c(f)},l=(f)=>{if(o)return;if(s!=null)clearTimeout(s),s=null;if(hR(f)){$n("Callback returned another Agent instance %o",f.constructor.name),f.addRequest(r,i);return}if(f){f.once("free",()=>{this.freeSocket(f,i)}),r.onSocket(f);return}let m=Error(`no Duplex stream was returned to agent-base for \`${r.method} ${r.path}\``);c(m)};if(typeof this.callback!=="function"){c(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)$n("Converting legacy callback function to promise"),this.promisifiedCallback=mR.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof a==="number"&&a>0)s=setTimeout(p,a);if("port"in i&&typeof i.port!=="number")i.port=Number(i.port);try{$n("Resolving socket for %o request: %o",i.protocol,`${r.method} ${r.path}`),Promise.resolve(this.promisifiedCallback(r,i)).then(l,u)}catch(f){Promise.reject(f).catch(u)}}freeSocket(r,n){$n("Freeing socket %o %o",r.constructor.name,n),r.destroy()}destroy(){$n("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype})(ao||(ao={}));qf.exports=ao});var Uf=y(function(Kn){var xR=Kn&&Kn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Kn,"__esModule",{value:!0});var yR=xR(It()),Bn=yR.default("https-proxy-agent:parse-proxy-response");function gR(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",c),e.removeListener("error",p),e.removeListener("close",a),e.removeListener("readable",o)}function a(l){Bn("onclose had error %o",l)}function c(){Bn("onend")}function p(l){s(),Bn("onerror %o",l),r(l)}function u(l){i.push(l),n+=l.length;let f=Buffer.concat(i,n);if(f.indexOf(`\r
18
18
  \r
19
- `)===-1){Ea("have not received end of HTTP headers yet..."),s();return}let v=l.toString("ascii",0,l.indexOf(`\r
20
- `)),b=+v.split(" ")[1];Ea("got proxy server response: %o",v),n({statusCode:b,buffered:l})}i.on("error",t),i.on("close",u),i.on("end",o),s()})}Ra.default=w_});var Lr=r((oc)=>{var b_=oc&&oc.__awaiter||function(i,n,c,a){function p(s){return s instanceof c?s:new c(function(e){e(s)})}return new(c||(c=Promise))(function(s,e){function u(m){try{t(a.next(m))}catch(d){e(d)}}function o(m){try{t(a.throw(m))}catch(d){e(d)}}function t(m){m.done?s(m.value):p(m.value).then(u,o)}t((a=a.apply(i,n||[])).next())})},Ec=oc&&oc.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(oc,"__esModule",{value:!0});var jr=Ec(require("net")),Tr=Ec(require("tls")),q_=Ec(require("url")),W_=Ec(require("assert")),K_=Ec(On()),__=Er(),J_=Ec(Rr()),ja=K_.default("https-proxy-agent:agent");class Dr extends __.Agent{constructor(i){let n;if(typeof i==="string")n=q_.default.parse(i);else n=i;if(!n)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");ja("creating new HttpsProxyAgent instance: %o",n);super(n);let c=Object.assign({},n);if(this.secureProxy=n.secureProxy||z_(c.protocol),c.host=c.hostname||c.host,typeof c.port==="string")c.port=parseInt(c.port,10);if(!c.port&&c.host)c.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in c))c.ALPNProtocols=["http 1.1"];if(c.host&&c.path)delete c.path,delete c.pathname;this.proxy=c}callback(i,n){return b_(this,void 0,void 0,function*(){let{proxy:c,secureProxy:a}=this,p;if(a)ja("Creating `tls.Socket`: %o",c),p=Tr.default.connect(c);else ja("Creating `net.Socket`: %o",c),p=jr.default.connect(c);let s=Object.assign({},c.headers),u=`CONNECT ${`${n.host}:${n.port}`} HTTP/1.1\r
21
- `;if(c.auth)s["Proxy-Authorization"]=`Basic ${Buffer.from(c.auth).toString("base64")}`;let{host:o,port:t,secureEndpoint:m}=n;if(!$_(t,m))o+=`:${t}`;s.Host=o,s.Connection="close";for(let b of Object.keys(s))u+=`${b}: ${s[b]}\r
22
- `;let d=J_.default(p);p.write(`${u}\r
23
- `);let{statusCode:l,buffered:f}=yield d;if(l===200){if(i.once("socket",h_),n.secureEndpoint){ja("Upgrading socket connection to TLS");let b=n.servername||n.host;return Tr.default.connect(Object.assign(Object.assign({},Z_(n,"host","hostname","path","port")),{socket:p,servername:b}))}return p}p.destroy();let v=new jr.default.Socket({writable:!1});return v.readable=!0,i.once("socket",(b)=>{ja("replaying proxy buffer for failed request"),W_.default(b.listenerCount("data")>0),b.push(f),b.push(null)}),v})}}oc.default=Dr;function h_(i){i.resume()}function $_(i,n){return Boolean(!n&&i===80||n&&i===443)}function z_(i){return typeof i==="string"?/^https:?$/i.test(i):!1}function Z_(i,...n){let c={},a;for(a in i)if(!n.includes(a))c[a]=i[a];return c}});var Fr=r((ao,Br)=>{var G_=ao&&ao.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},no=G_(Lr());function co(i){return new no.default(i)}(function(i){i.HttpsProxyAgent=no.default,i.prototype=no.default.prototype})(co||(co={}));Br.exports=co});var kr=r((_C,gr)=>{var Ta;gr.exports=function(){if(!Ta){try{Ta=On()("follow-redirects")}catch(i){}if(typeof Ta!=="function")Ta=function(){}}Ta.apply(null,arguments)}});var cl=r((JC,vo)=>{var La=require("url"),Da=La.URL,Y_=require("http"),X_=require("https"),oo=require("stream").Writable,to=require("assert"),Ur=kr();(function(){var n=typeof process<"u",c=typeof window<"u"&&typeof document<"u",a=mc(Error.captureStackTrace);if(!n&&(c||!a))console.warn("The follow-redirects package should be excluded from browser builds.")})();var mo=!1;try{to(new Da(""))}catch(i){mo=i.code==="ERR_INVALID_URL"}var S_=["Authorization","Proxy-Authorization","Cookie"],I_=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],xo=["abort","aborted","connect","error","socket","timeout"],ro=Object.create(null);xo.forEach(function(i){ro[i]=function(n,c,a){this._redirectable.emit(i,n,c,a)}});var so=Ba("ERR_INVALID_URL","Invalid URL",TypeError),eo=Ba("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),P_=Ba("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",eo),H_=Ba("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),M_=Ba("ERR_STREAM_WRITE_AFTER_END","write after end"),V_=oo.prototype.destroy||il;function Mi(i,n){if(oo.call(this),this._sanitizeOptions(i),this._options=i,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n)this.on("response",n);var c=this;this._onNativeResponse=function(a){try{c._processResponse(a)}catch(p){c.emit("error",p instanceof eo?p:new eo({cause:p}))}},this._headerFilter=new RegExp("^(?:"+S_.concat(i.sensitiveHeaders).map(E_).join("|")+")$","i"),this._performRequest()}Mi.prototype=Object.create(oo.prototype);Mi.prototype.abort=function(){fo(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Mi.prototype.destroy=function(i){return fo(this._currentRequest,i),V_.call(this,i),this};Mi.prototype.write=function(i,n,c){if(this._ending)throw new M_;if(!tc(i)&&!N_(i))throw TypeError("data should be a string, Buffer or Uint8Array");if(mc(n))c=n,n=null;if(i.length===0){if(c)c();return}if(this._requestBodyLength+i.length<=this._options.maxBodyLength)this._requestBodyLength+=i.length,this._requestBodyBuffers.push({data:i,encoding:n}),this._currentRequest.write(i,n,c);else this.emit("error",new H_),this.abort()};Mi.prototype.end=function(i,n,c){if(mc(i))c=i,i=n=null;else if(mc(n))c=n,n=null;if(!i)this._ended=this._ending=!0,this._currentRequest.end(null,null,c);else{var a=this,p=this._currentRequest;this.write(i,n,function(){a._ended=!0,p.end(null,null,c)}),this._ending=!0}};Mi.prototype.setHeader=function(i,n){this._options.headers[i]=n,this._currentRequest.setHeader(i,n)};Mi.prototype.removeHeader=function(i){delete this._options.headers[i],this._currentRequest.removeHeader(i)};Mi.prototype.setTimeout=function(i,n){var c=this;function a(e){e.setTimeout(i),e.removeListener("timeout",e.destroy),e.addListener("timeout",e.destroy)}function p(e){if(c._timeout)clearTimeout(c._timeout);c._timeout=setTimeout(function(){c.emit("timeout"),s()},i),a(e)}function s(){if(c._timeout)clearTimeout(c._timeout),c._timeout=null;if(c.removeListener("abort",s),c.removeListener("error",s),c.removeListener("response",s),c.removeListener("close",s),n)c.removeListener("timeout",n);if(!c.socket)c._currentRequest.removeListener("socket",p)}if(n)this.on("timeout",n);if(this.socket)p(this.socket);else this._currentRequest.once("socket",p);return this.on("socket",a),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(i){Mi.prototype[i]=function(n,c){return this._currentRequest[i](n,c)}});["aborted","connection","socket"].forEach(function(i){Object.defineProperty(Mi.prototype,i,{get:function(){return this._currentRequest[i]}})});Mi.prototype._sanitizeOptions=function(i){if(!i.headers)i.headers={};if(!A_(i.sensitiveHeaders))i.sensitiveHeaders=[];if(i.host){if(!i.hostname)i.hostname=i.host;delete i.host}if(!i.pathname&&i.path){var n=i.path.indexOf("?");if(n<0)i.pathname=i.path;else i.pathname=i.path.substring(0,n),i.search=i.path.substring(n)}};Mi.prototype._performRequest=function(){var i=this._options.protocol,n=this._options.nativeProtocols[i];if(!n)throw TypeError("Unsupported protocol "+i);if(this._options.agents){var c=i.slice(0,-1);this._options.agent=this._options.agents[c]}var a=this._currentRequest=n.request(this._options,this._onNativeResponse);a._redirectable=this;for(var p of xo)a.on(p,ro[p]);if(this._currentUrl=/^\//.test(this._options.path)?La.format(this._options):this._options.path,this._isRedirect){var s=0,e=this,u=this._requestBodyBuffers;(function o(t){if(a===e._currentRequest){if(t)e.emit("error",t);else if(s<u.length){var m=u[s++];if(!a.finished)a.write(m.data,m.encoding,o)}else if(e._ended)a.end()}})()}};Mi.prototype._processResponse=function(i){var n=i.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:i.headers,statusCode:n});var c=i.headers.location;if(!c||this._options.followRedirects===!1||n<300||n>=400){i.responseUrl=this._currentUrl,i.redirects=this._redirects,this.emit("response",i),this._requestBodyBuffers=[];return}if(fo(this._currentRequest),i.destroy(),++this._redirectCount>this._options.maxRedirects)throw new P_;var a,p=this._options.beforeRedirect;if(p)a=Object.assign({Host:i.req.getHeader("host")},this._options.headers);var s=this._options.method;if((n===301||n===302)&&this._options.method==="POST"||n===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],po(/^content-/i,this._options.headers);var e=po(/^host$/i,this._options.headers),u=lo(this._currentUrl),o=e||u.host,t=/^\w+:/.test(c)?this._currentUrl:La.format(Object.assign(u,{host:o})),m=C_(c,t);if(Ur("redirecting to",m.href),this._isRedirect=!0,uo(m,this._options),m.protocol!==u.protocol&&m.protocol!=="https:"||m.host!==o&&!O_(m.host,o))po(this._headerFilter,this._options.headers);if(mc(p)){var d={headers:i.headers,statusCode:n},l={url:t,method:s,headers:a};p(this._options,d,l),this._sanitizeOptions(this._options)}this._performRequest()};function Qr(i){var n={maxRedirects:21,maxBodyLength:10485760},c={};return Object.keys(i).forEach(function(a){var p=a+":",s=c[p]=i[a],e=n[a]=Object.create(s);function u(t,m,d){if(y_(t))t=uo(t);else if(tc(t))t=uo(lo(t));else d=m,m=nl(t),t={protocol:p};if(mc(m))d=m,m=null;if(m=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},t,m),m.nativeProtocols=c,!tc(m.host)&&!tc(m.hostname))m.hostname="::1";return to.equal(m.protocol,p,"protocol mismatch"),Ur("options",m),new Mi(m,d)}function o(t,m,d){var l=e.request(t,m,d);return l.end(),l}Object.defineProperties(e,{request:{value:u,configurable:!0,enumerable:!0,writable:!0},get:{value:o,configurable:!0,enumerable:!0,writable:!0}})}),n}function il(){}function lo(i){var n;if(mo)n=new Da(i);else if(n=nl(La.parse(i)),!tc(n.protocol))throw new so({input:i});return n}function C_(i,n){return mo?new Da(i,n):lo(La.resolve(n,i))}function nl(i){if(/^\[/.test(i.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(i.hostname))throw new so({input:i.href||i});if(/^\[/.test(i.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(i.host))throw new so({input:i.href||i});return i}function uo(i,n){var c=n||{};for(var a of I_)c[a]=i[a];if(c.hostname.startsWith("["))c.hostname=c.hostname.slice(1,-1);if(c.port!=="")c.port=Number(c.port);return c.path=c.search?c.pathname+c.search:c.pathname,c}function po(i,n){var c;for(var a in n)if(i.test(a))c=n[a],delete n[a];return c===null||typeof c>"u"?void 0:String(c).trim()}function Ba(i,n,c){function a(p){if(mc(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,p||{}),this.code=i,this.message=this.cause?n+": "+this.cause.message:n}return a.prototype=new(c||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+i+"]",enumerable:!1}}),a}function fo(i,n){for(var c of xo)i.removeListener(c,ro[c]);i.on("error",il),i.destroy(n)}function O_(i,n){to(tc(i)&&tc(n));var c=i.length-n.length-1;return c>0&&i[c]==="."&&i.endsWith(n)}function A_(i){return i instanceof Array}function tc(i){return typeof i==="string"||i instanceof String}function mc(i){return typeof i==="function"}function N_(i){return typeof i==="object"&&"length"in i}function y_(i){return Da&&i instanceof Da}function E_(i){return i.replace(/[\]\\/()*+?.$]/g,"\\$&")}vo.exports=Qr({http:Y_,https:X_});vo.exports.wrap=Qr});var Tc=r((Eo,bf)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var ws=require("buffer"),wn=ws.Buffer;function wf(i,n){for(var c in i)n[c]=i[c]}if(wn.from&&wn.alloc&&wn.allocUnsafe&&wn.allocUnsafeSlow)bf.exports=ws;else wf(ws,Eo),Eo.Buffer=xc;function xc(i,n,c){return wn(i,n,c)}xc.prototype=Object.create(wn.prototype);wf(wn,xc);xc.from=function(i,n,c){if(typeof i==="number")throw TypeError("Argument must not be a number");return wn(i,n,c)};xc.alloc=function(i,n,c){if(typeof i!=="number")throw TypeError("Argument must be a number");var a=wn(i);if(n!==void 0)if(typeof c==="string")a.fill(n,c);else a.fill(n);else a.fill(0);return a};xc.allocUnsafe=function(i){if(typeof i!=="number")throw TypeError("Argument must be a number");return wn(i)};xc.allocUnsafeSlow=function(i){if(typeof i!=="number")throw TypeError("Argument must be a number");return ws.SlowBuffer(i)}});var Ro=r((hN,qf)=>{var bs=Tc().Buffer,c3=require("stream"),a3=require("util");function qs(i){if(this.buffer=null,this.writable=!0,this.readable=!0,!i)return this.buffer=bs.alloc(0),this;if(typeof i.pipe==="function")return this.buffer=bs.alloc(0),i.pipe(this),this;if(i.length||typeof i==="object")return this.buffer=i,this.writable=!1,process.nextTick(function(){this.emit("end",i),this.readable=!1,this.emit("close")}.bind(this)),this;throw TypeError("Unexpected data type ("+typeof i+")")}a3.inherits(qs,c3);qs.prototype.write=function(n){this.buffer=bs.concat([this.buffer,bs.from(n)]),this.emit("data",n)};qs.prototype.end=function(n){if(n)this.write(n);this.emit("end",n),this.emit("close"),this.writable=!1,this.readable=!1};qf.exports=qs});var Kf=r(($N,Wf)=>{function jo(i){var n=(i/8|0)+(i%8===0?0:1);return n}var p3={ES256:jo(256),ES384:jo(384),ES512:jo(521)};function s3(i){var n=p3[i];if(n)return n;throw Error('Unknown algorithm "'+i+'"')}Wf.exports=s3});var Gf=r((zN,Zf)=>{var Ws=Tc().Buffer,Jf=Kf(),Ks=128,hf=0,e3=32,u3=16,o3=2,$f=u3|e3|hf<<6,_s=o3|hf<<6;function t3(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function zf(i){if(Ws.isBuffer(i))return i;else if(typeof i==="string")return Ws.from(i,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function m3(i,n){i=zf(i);var c=Jf(n),a=c+1,p=i.length,s=0;if(i[s++]!==$f)throw Error('Could not find expected "seq"');var e=i[s++];if(e===(Ks|1))e=i[s++];if(p-s<e)throw Error('"seq" specified length of "'+e+'", only "'+(p-s)+'" remaining');if(i[s++]!==_s)throw Error('Could not find expected "int" for "r"');var u=i[s++];if(p-s-2<u)throw Error('"r" specified length of "'+u+'", only "'+(p-s-2)+'" available');if(a<u)throw Error('"r" specified length of "'+u+'", max of "'+a+'" is acceptable');var o=s;if(s+=u,i[s++]!==_s)throw Error('Could not find expected "int" for "s"');var t=i[s++];if(p-s!==t)throw Error('"s" specified length of "'+t+'", expected "'+(p-s)+'"');if(a<t)throw Error('"s" specified length of "'+t+'", max of "'+a+'" is acceptable');var m=s;if(s+=t,s!==p)throw Error('Expected to consume entire buffer, but "'+(p-s)+'" bytes remain');var d=c-u,l=c-t,f=Ws.allocUnsafe(d+u+l+t);for(s=0;s<d;++s)f[s]=0;i.copy(f,s,o+Math.max(-d,0),o+u),s=c;for(var v=s;s<v+l;++s)f[s]=0;return i.copy(f,s,m+Math.max(-l,0),m+t),f=f.toString("base64"),f=t3(f),f}function _f(i,n,c){var a=0;while(n+a<c&&i[n+a]===0)++a;var p=i[n+a]>=Ks;if(p)--a;return a}function d3(i,n){i=zf(i);var c=Jf(n),a=i.length;if(a!==c*2)throw TypeError('"'+n+'" signatures must be "'+c*2+'" bytes, saw "'+a+'"');var p=_f(i,0,c),s=_f(i,c,i.length),e=c-p,u=c-s,o=2+e+1+1+u,t=o<Ks,m=Ws.allocUnsafe((t?2:3)+o),d=0;if(m[d++]=$f,t)m[d++]=o;else m[d++]=Ks|1,m[d++]=o&255;if(m[d++]=_s,m[d++]=e,p<0)m[d++]=0,d+=i.copy(m,d,0,c);else d+=i.copy(m,d,p,c);if(m[d++]=_s,m[d++]=u,s<0)m[d++]=0,i.copy(m,d,c);else i.copy(m,d,c+s);return m}Zf.exports={derToJose:m3,joseToDer:d3}});var Xf=r((ZN,Yf)=>{var cp=require("buffer").Buffer,To=require("buffer").SlowBuffer;Yf.exports=Js;function Js(i,n){if(!cp.isBuffer(i)||!cp.isBuffer(n))return!1;if(i.length!==n.length)return!1;var c=0;for(var a=0;a<i.length;a++)c|=i[a]^n[a];return c===0}Js.install=function(){cp.prototype.equal=To.prototype.equal=function(n){return Js(this,n)}};var x3=cp.prototype.equal,r3=To.prototype.equal;Js.restore=function(){cp.prototype.equal=x3,To.prototype.equal=r3}});var Fo=r((GN,Af)=>{var Lc=Tc().Buffer,Di=require("crypto"),If=Gf(),Sf=require("util"),l3=`"%s" is not a valid algorithm.
19
+ `)===-1){Bn("have not received end of HTTP headers yet..."),o();return}let g=f.toString("ascii",0,f.indexOf(`\r
20
+ `)),x=+g.split(" ")[1];Bn("got proxy server response: %o",g),t({statusCode:x,buffered:f})}e.on("error",p),e.on("close",a),e.on("end",c),o()})}Kn.default=gR});var Kf=y(function(rr){var vR=rr&&rr.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{p(n.next(u))}catch(l){s(l)}}function c(u){try{p(n.throw(u))}catch(l){s(l)}}function p(u){u.done?o(u.value):i(u.value).then(a,c)}p((n=n.apply(e,t||[])).next())})},Ur=rr&&rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(rr,"__esModule",{value:!0});var Ff=Ur(require("net")),$f=Ur(require("tls")),bR=Ur(require("url")),wR=Ur(require("assert")),ER=Ur(It()),SR=Df(),AR=Ur(Uf()),Hn=ER.default("https-proxy-agent:agent");class Bf extends SR.Agent{constructor(e){let t;if(typeof e==="string")t=bR.default.parse(e);else t=e;if(!t)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");Hn("creating new HttpsProxyAgent instance: %o",t);super(t);let r=Object.assign({},t);if(this.secureProxy=t.secureProxy||_R(r.protocol),r.host=r.hostname||r.host,typeof r.port==="string")r.port=parseInt(r.port,10);if(!r.port&&r.host)r.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in r))r.ALPNProtocols=["http 1.1"];if(r.host&&r.path)delete r.path,delete r.pathname;this.proxy=r}callback(e,t){return vR(this,void 0,void 0,function*(){let{proxy:r,secureProxy:n}=this,i;if(n)Hn("Creating `tls.Socket`: %o",r),i=$f.default.connect(r);else Hn("Creating `net.Socket`: %o",r),i=Ff.default.connect(r);let o=Object.assign({},r.headers),a=`CONNECT ${`${t.host}:${t.port}`} HTTP/1.1\r
21
+ `;if(r.auth)o["Proxy-Authorization"]=`Basic ${Buffer.from(r.auth).toString("base64")}`;let{host:c,port:p,secureEndpoint:u}=t;if(!TR(p,u))c+=`:${p}`;o.Host=c,o.Connection="close";for(let x of Object.keys(o))a+=`${x}: ${o[x]}\r
22
+ `;let l=AR.default(i);i.write(`${a}\r
23
+ `);let{statusCode:f,buffered:m}=yield l;if(f===200){if(e.once("socket",RR),t.secureEndpoint){Hn("Upgrading socket connection to TLS");let x=t.servername||t.host;return $f.default.connect(Object.assign(Object.assign({},kR(t,"host","hostname","path","port")),{socket:i,servername:x}))}return i}i.destroy();let g=new Ff.default.Socket({writable:!1});return g.readable=!0,e.once("socket",(x)=>{Hn("replaying proxy buffer for failed request"),wR.default(x.listenerCount("data")>0),x.push(m),x.push(null)}),g})}}rr.default=Bf;function RR(e){e.resume()}function TR(e,t){return Boolean(!t&&e===80||t&&e===443)}function _R(e){return typeof e==="string"?/^https:?$/i.test(e):!1}function kR(e,...t){let r={},n;for(n in e)if(!t.includes(n))r[n]=e[n];return r}});var Jf=y(function(Ma,Hf){var OR=Ma&&Ma.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Wa=OR(Kf());function za(e){return new Wa.default(e)}(function(e){e.HttpsProxyAgent=Wa.default,e.prototype=Wa.default.prototype})(za||(za={}));Hf.exports=za});var zf=y(function(rD,Wf){var Jn;Wf.exports=function(){if(!Jn){try{Jn=It()("follow-redirects")}catch(e){}if(typeof Jn!=="function")Jn=function(){}}Jn.apply(null,arguments)}});var Yf=y(function(nD,oc){var zn=require("url"),Wn=zn.URL,CR=require("http"),PR=require("https"),Za=require("stream").Writable,Qa=require("assert"),Mf=zf();(function(){var t=typeof process<"u",r=typeof window<"u"&&typeof document<"u",n=ir(Error.captureStackTrace);if(!t&&(r||!n))console.warn("The follow-redirects package should be excluded from browser builds.")})();var ec=!1;try{Qa(new Wn(""))}catch(e){ec=e.code==="ERR_INVALID_URL"}var IR=["Authorization","Proxy-Authorization","Cookie"],jR=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],tc=["abort","aborted","connect","error","socket","timeout"],rc=Object.create(null);tc.forEach(function(e){rc[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var Va=Mn("ERR_INVALID_URL","Invalid URL",TypeError),Xa=Mn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),LR=Mn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Xa),NR=Mn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),qR=Mn("ERR_STREAM_WRITE_AFTER_END","write after end"),DR=Za.prototype.destroy||Vf;function De(e,t){if(Za.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 Xa?i:new Xa({cause:i}))}},this._headerFilter=new RegExp("^(?:"+IR.concat(e.sensitiveHeaders).map(HR).join("|")+")$","i"),this._performRequest()}De.prototype=Object.create(Za.prototype);De.prototype.abort=function(){ic(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};De.prototype.destroy=function(e){return ic(this._currentRequest,e),DR.call(this,e),this};De.prototype.write=function(e,t,r){if(this._ending)throw new qR;if(!nr(e)&&!BR(e))throw TypeError("data should be a string, Buffer or Uint8Array");if(ir(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 NR),this.abort()};De.prototype.end=function(e,t,r){if(ir(e))r=e,e=t=null;else if(ir(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}};De.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};De.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};De.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){De.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(De.prototype,e,{get:function(){return this._currentRequest[e]}})});De.prototype._sanitizeOptions=function(e){if(!e.headers)e.headers={};if(!$R(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)}};De.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 tc)n.on(i,rc[i]);if(this._currentUrl=/^\//.test(this._options.path)?zn.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,a=this._requestBodyBuffers;(function c(p){if(n===s._currentRequest){if(p)s.emit("error",p);else if(o<a.length){var u=a[o++];if(!n.finished)n.write(u.data,u.encoding,c)}else if(s._ended)n.end()}})()}};De.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(ic(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new LR;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=[],Ga(/^content-/i,this._options.headers);var s=Ga(/^host$/i,this._options.headers),a=nc(this._currentUrl),c=s||a.host,p=/^\w+:/.test(r)?this._currentUrl:zn.format(Object.assign(a,{host:c})),u=UR(r,p);if(Mf("redirecting to",u.href),this._isRedirect=!0,Ya(u,this._options),u.protocol!==a.protocol&&u.protocol!=="https:"||u.host!==c&&!FR(u.host,c))Ga(this._headerFilter,this._options.headers);if(ir(i)){var l={headers:e.headers,statusCode:t},f={url:p,method:o,headers:n};i(this._options,l,f),this._sanitizeOptions(this._options)}this._performRequest()};function Gf(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(p,u,l){if(KR(p))p=Ya(p);else if(nr(p))p=Ya(nc(p));else l=u,u=Xf(p),p={protocol:i};if(ir(u))l=u,u=null;if(u=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},p,u),u.nativeProtocols=r,!nr(u.host)&&!nr(u.hostname))u.hostname="::1";return Qa.equal(u.protocol,i,"protocol mismatch"),Mf("options",u),new De(u,l)}function c(p,u,l){var f=s.request(p,u,l);return f.end(),f}Object.defineProperties(s,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function Vf(){}function nc(e){var t;if(ec)t=new Wn(e);else if(t=Xf(zn.parse(e)),!nr(t.protocol))throw new Va({input:e});return t}function UR(e,t){return ec?new Wn(e,t):nc(zn.resolve(t,e))}function Xf(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Va({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Va({input:e.href||e});return e}function Ya(e,t){var r=t||{};for(var n of jR)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 Ga(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 Mn(e,t,r){function n(i){if(ir(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=new(r||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),n}function ic(e,t){for(var r of tc)e.removeListener(r,rc[r]);e.on("error",Vf),e.destroy(t)}function FR(e,t){Qa(nr(e)&&nr(t));var r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}function $R(e){return e instanceof Array}function nr(e){return typeof e==="string"||e instanceof String}function ir(e){return typeof e==="function"}function BR(e){return typeof e==="object"&&"length"in e}function KR(e){return Wn&&e instanceof Wn}function HR(e){return e.replace(/[\]\\/()*+?.$]/g,"\\$&")}oc.exports=Gf({http:CR,https:PR});oc.exports.wrap=Gf});var Kr=y(function(Cc,dh){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var yo=require("buffer"),ft=yo.Buffer;function lh(e,t){for(var r in e)t[r]=e[r]}if(ft.from&&ft.alloc&&ft.allocUnsafe&&ft.allocUnsafeSlow)dh.exports=yo;else lh(yo,Cc),Cc.Buffer=sr;function sr(e,t,r){return ft(e,t,r)}sr.prototype=Object.create(ft.prototype);lh(ft,sr);sr.from=function(e,t,r){if(typeof e==="number")throw TypeError("Argument must not be a number");return ft(e,t,r)};sr.alloc=function(e,t,r){if(typeof e!=="number")throw TypeError("Argument must be a number");var n=ft(e);if(t!==void 0)if(typeof r==="string")n.fill(t,r);else n.fill(t);else n.fill(0);return n};sr.allocUnsafe=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return ft(e)};sr.allocUnsafeSlow=function(e){if(typeof e!=="number")throw TypeError("Argument must be a number");return yo.SlowBuffer(e)}});var Pc=y(function(i$,fh){var go=Kr().Buffer,n_=require("stream"),i_=require("util");function vo(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=go.alloc(0),this;if(typeof e.pipe==="function")return this.buffer=go.alloc(0),e.pipe(this),this;if(e.length||typeof e==="object")return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw TypeError("Unexpected data type ("+typeof e+")")}i_.inherits(vo,n_);vo.prototype.write=function(t){this.buffer=go.concat([this.buffer,go.from(t)]),this.emit("data",t)};vo.prototype.end=function(t){if(t)this.write(t);this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1};fh.exports=vo});var hh=y(function(o$,mh){function Ic(e){var t=(e/8|0)+(e%8===0?0:1);return t}var o_={ES256:Ic(256),ES384:Ic(384),ES512:Ic(521)};function s_(e){var t=o_[e];if(t)return t;throw Error('Unknown algorithm "'+e+'"')}mh.exports=s_});var Eh=y(function(s$,wh){var bo=Kr().Buffer,yh=hh(),wo=128,gh=0,a_=32,c_=16,p_=2,vh=c_|a_|gh<<6,Eo=p_|gh<<6;function u_(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function bh(e){if(bo.isBuffer(e))return e;else if(typeof e==="string")return bo.from(e,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function l_(e,t){e=bh(e);var r=yh(t),n=r+1,i=e.length,o=0;if(e[o++]!==vh)throw Error('Could not find expected "seq"');var s=e[o++];if(s===(wo|1))s=e[o++];if(i-o<s)throw Error('"seq" specified length of "'+s+'", only "'+(i-o)+'" remaining');if(e[o++]!==Eo)throw Error('Could not find expected "int" for "r"');var a=e[o++];if(i-o-2<a)throw Error('"r" specified length of "'+a+'", only "'+(i-o-2)+'" available');if(n<a)throw Error('"r" specified length of "'+a+'", max of "'+n+'" is acceptable');var c=o;if(o+=a,e[o++]!==Eo)throw Error('Could not find expected "int" for "s"');var p=e[o++];if(i-o!==p)throw Error('"s" specified length of "'+p+'", expected "'+(i-o)+'"');if(n<p)throw Error('"s" specified length of "'+p+'", max of "'+n+'" is acceptable');var u=o;if(o+=p,o!==i)throw Error('Expected to consume entire buffer, but "'+(i-o)+'" bytes remain');var l=r-a,f=r-p,m=bo.allocUnsafe(l+a+f+p);for(o=0;o<l;++o)m[o]=0;e.copy(m,o,c+Math.max(-l,0),c+a),o=r;for(var g=o;o<g+f;++o)m[o]=0;return e.copy(m,o,u+Math.max(-f,0),u+p),m=m.toString("base64"),m=u_(m),m}function xh(e,t,r){var n=0;while(t+n<r&&e[t+n]===0)++n;var i=e[t+n]>=wo;if(i)--n;return n}function d_(e,t){e=bh(e);var r=yh(t),n=e.length;if(n!==r*2)throw TypeError('"'+t+'" signatures must be "'+r*2+'" bytes, saw "'+n+'"');var i=xh(e,0,r),o=xh(e,r,e.length),s=r-i,a=r-o,c=2+s+1+1+a,p=c<wo,u=bo.allocUnsafe((p?2:3)+c),l=0;if(u[l++]=vh,p)u[l++]=c;else u[l++]=wo|1,u[l++]=c&255;if(u[l++]=Eo,u[l++]=s,i<0)u[l++]=0,l+=e.copy(u,l,0,r);else l+=e.copy(u,l,i,r);if(u[l++]=Eo,u[l++]=a,o<0)u[l++]=0,e.copy(u,l,r);else e.copy(u,l,r+o);return u}wh.exports={derToJose:l_,joseToDer:d_}});var Ah=y(function(a$,Sh){var ti=require("buffer").Buffer,jc=require("buffer").SlowBuffer;Sh.exports=So;function So(e,t){if(!ti.isBuffer(e)||!ti.isBuffer(t))return!1;if(e.length!==t.length)return!1;var r=0;for(var n=0;n<e.length;n++)r|=e[n]^t[n];return r===0}So.install=function(){ti.prototype.equal=jc.prototype.equal=function(t){return So(this,t)}};var f_=ti.prototype.equal,m_=jc.prototype.equal;So.restore=function(){ti.prototype.equal=f_,jc.prototype.equal=m_}});var Dc=y(function(c$,jh){var Jr=Kr().Buffer,Me=require("crypto"),Th=Eh(),Rh=require("util"),h_=`"%s" is not a valid algorithm.
24
24
  Supported algorithms are:
25
- "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,ap="secret must be a string or buffer",Dc="key must be a string or a buffer",f3="key must be a string, a buffer or an object",Lo=typeof Di.createPublicKey==="function";if(Lo)Dc+=" or a KeyObject",ap+="or a KeyObject";function Pf(i){if(Lc.isBuffer(i))return;if(typeof i==="string")return;if(!Lo)throw en(Dc);if(typeof i!=="object")throw en(Dc);if(typeof i.type!=="string")throw en(Dc);if(typeof i.asymmetricKeyType!=="string")throw en(Dc);if(typeof i.export!=="function")throw en(Dc)}function Hf(i){if(Lc.isBuffer(i))return;if(typeof i==="string")return;if(typeof i==="object")return;throw en(f3)}function v3(i){if(Lc.isBuffer(i))return;if(typeof i==="string")return i;if(!Lo)throw en(ap);if(typeof i!=="object")throw en(ap);if(i.type!=="secret")throw en(ap);if(typeof i.export!=="function")throw en(ap)}function Bo(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Mf(i){i=i.toString();var n=4-i.length%4;if(n!==4)for(var c=0;c<n;++c)i+="=";return i.replace(/\-/g,"+").replace(/_/g,"/")}function en(i){var n=[].slice.call(arguments,1),c=Sf.format.bind(Sf,i).apply(null,n);return TypeError(c)}function w3(i){return Lc.isBuffer(i)||typeof i==="string"}function pp(i){if(!w3(i))i=JSON.stringify(i);return i}function Vf(i){return function(c,a){v3(a),c=pp(c);var p=Di.createHmac("sha"+i,a),s=(p.update(c),p.digest("base64"));return Bo(s)}}var Do,b3="timingSafeEqual"in Di?function(n,c){if(n.byteLength!==c.byteLength)return!1;return Di.timingSafeEqual(n,c)}:function(n,c){if(!Do)Do=Xf();return Do(n,c)};function q3(i){return function(c,a,p){var s=Vf(i)(c,p);return b3(Lc.from(a),Lc.from(s))}}function Cf(i){return function(c,a){Hf(a),c=pp(c);var p=Di.createSign("RSA-SHA"+i),s=(p.update(c),p.sign(a,"base64"));return Bo(s)}}function Of(i){return function(c,a,p){Pf(p),c=pp(c),a=Mf(a);var s=Di.createVerify("RSA-SHA"+i);return s.update(c),s.verify(p,a,"base64")}}function W3(i){return function(c,a){Hf(a),c=pp(c);var p=Di.createSign("RSA-SHA"+i),s=(p.update(c),p.sign({key:a,padding:Di.constants.RSA_PKCS1_PSS_PADDING,saltLength:Di.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return Bo(s)}}function K3(i){return function(c,a,p){Pf(p),c=pp(c),a=Mf(a);var s=Di.createVerify("RSA-SHA"+i);return s.update(c),s.verify({key:p,padding:Di.constants.RSA_PKCS1_PSS_PADDING,saltLength:Di.constants.RSA_PSS_SALTLEN_DIGEST},a,"base64")}}function _3(i){var n=Cf(i);return function(){var a=n.apply(null,arguments);return a=If.derToJose(a,"ES"+i),a}}function J3(i){var n=Of(i);return function(a,p,s){p=If.joseToDer(p,"ES"+i).toString("base64");var e=n(a,p,s);return e}}function h3(){return function(){return""}}function $3(){return function(n,c){return c===""}}Af.exports=function(n){var c={hs:Vf,rs:Cf,ps:W3,es:_3,none:h3},a={hs:q3,rs:Of,ps:K3,es:J3,none:$3},p=n.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!p)throw en(l3,n);var s=(p[1]||p[3]).toLowerCase(),e=p[2];return{sign:c[s](e),verify:a[s](e)}}});var go=r((YN,Nf)=>{var z3=require("buffer").Buffer;Nf.exports=function(n){if(typeof n==="string")return n;if(typeof n==="number"||z3.isBuffer(n))return n.toString();return JSON.stringify(n)}});var Df=r((XN,Tf)=>{var Z3=Tc().Buffer,yf=Ro(),G3=Fo(),Y3=require("stream"),Ef=go(),ko=require("util");function Rf(i,n){return Z3.from(i,n).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function X3(i,n,c){c=c||"utf8";var a=Rf(Ef(i),"binary"),p=Rf(Ef(n),c);return ko.format("%s.%s",a,p)}function jf(i){var{header:n,payload:c}=i,a=i.secret||i.privateKey,p=i.encoding,s=G3(n.alg),e=X3(n,c,p),u=s.sign(e,a);return ko.format("%s.%s",e,u)}function hs(i){var n=i.secret;if(n=n==null?i.privateKey:n,n=n==null?i.key:n,/^hs/i.test(i.header.alg)===!0&&n==null)throw TypeError("secret must be a string or buffer or a KeyObject");var c=new yf(n);this.readable=!0,this.header=i.header,this.encoding=i.encoding,this.secret=this.privateKey=this.key=c,this.payload=new yf(i.payload),this.secret.once("close",function(){if(!this.payload.writable&&this.readable)this.sign()}.bind(this)),this.payload.once("close",function(){if(!this.secret.writable&&this.readable)this.sign()}.bind(this))}ko.inherits(hs,Y3);hs.prototype.sign=function(){try{var n=jf({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",n),this.emit("data",n),this.emit("end"),this.readable=!1,n}catch(c){this.readable=!1,this.emit("error",c),this.emit("close")}};hs.sign=jf;Tf.exports=hs});var cv=r((SN,nv)=>{var Bf=Tc().Buffer,Lf=Ro(),S3=Fo(),I3=require("stream"),Ff=go(),P3=require("util"),H3=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function M3(i){return Object.prototype.toString.call(i)==="[object Object]"}function V3(i){if(M3(i))return i;try{return JSON.parse(i)}catch(n){return}}function gf(i){var n=i.split(".",1)[0];return V3(Bf.from(n,"base64").toString("binary"))}function C3(i){return i.split(".",2).join(".")}function kf(i){return i.split(".")[2]}function O3(i,n){n=n||"utf8";var c=i.split(".")[1];return Bf.from(c,"base64").toString(n)}function Uf(i){return H3.test(i)&&!!gf(i)}function Qf(i,n,c){if(!n){var a=Error("Missing algorithm parameter for jws.verify");throw a.code="MISSING_ALGORITHM",a}i=Ff(i);var p=kf(i),s=C3(i),e=S3(n);return e.verify(s,p,c)}function iv(i,n){if(n=n||{},i=Ff(i),!Uf(i))return null;var c=gf(i);if(!c)return null;var a=O3(i);if(c.typ==="JWT"||n.json)a=JSON.parse(a,n.encoding);return{header:c,payload:a,signature:kf(i)}}function Bc(i){i=i||{};var n=i.secret;if(n=n==null?i.publicKey:n,n=n==null?i.key:n,/^hs/i.test(i.algorithm)===!0&&n==null)throw TypeError("secret must be a string or buffer or a KeyObject");var c=new Lf(n);this.readable=!0,this.algorithm=i.algorithm,this.encoding=i.encoding,this.secret=this.publicKey=this.key=c,this.signature=new Lf(i.signature),this.secret.once("close",function(){if(!this.signature.writable&&this.readable)this.verify()}.bind(this)),this.signature.once("close",function(){if(!this.secret.writable&&this.readable)this.verify()}.bind(this))}P3.inherits(Bc,I3);Bc.prototype.verify=function(){try{var n=Qf(this.signature.buffer,this.algorithm,this.key.buffer),c=iv(this.signature.buffer,this.encoding);return this.emit("done",n,c),this.emit("data",n),this.emit("end"),this.readable=!1,n}catch(a){this.readable=!1,this.emit("error",a),this.emit("close")}};Bc.decode=iv;Bc.isValid=Uf;Bc.verify=Qf;nv.exports=Bc});var zs=r((An)=>{var av=Df(),$s=cv(),A3=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];An.ALGORITHMS=A3;An.sign=av.sign;An.verify=$s.verify;An.decode=$s.decode;An.isValid=$s.isValid;An.createSign=function(n){return new av(n)};An.createVerify=function(n){return new $s(n)}});var Uo=r((PN,pv)=>{var N3=zs();pv.exports=function(i,n){n=n||{};var c=N3.decode(i,n);if(!c)return null;var a=c.payload;if(typeof a==="string")try{var p=JSON.parse(a);if(p!==null&&typeof p==="object")a=p}catch(s){}if(n.complete===!0)return{header:c.header,payload:a,signature:c.signature};return a}});var sp=r((HN,sv)=>{var Zs=function(i,n){if(Error.call(this,i),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);if(this.name="JsonWebTokenError",this.message=i,n)this.inner=n};Zs.prototype=Object.create(Error.prototype);Zs.prototype.constructor=Zs;sv.exports=Zs});var Qo=r((MN,uv)=>{var ev=sp(),Gs=function(i,n){ev.call(this,i),this.name="NotBeforeError",this.date=n};Gs.prototype=Object.create(ev.prototype);Gs.prototype.constructor=Gs;uv.exports=Gs});var it=r((VN,tv)=>{var ov=sp(),Ys=function(i,n){ov.call(this,i),this.name="TokenExpiredError",this.expiredAt=n};Ys.prototype=Object.create(ov.prototype);Ys.prototype.constructor=Ys;tv.exports=Ys});var nt=r((CN,mv)=>{var y3=Lu();mv.exports=function(i,n){var c=n||Math.floor(Date.now()/1000);if(typeof i==="string"){var a=y3(i);if(typeof a>"u")return;return Math.floor(c+a/1000)}else if(typeof i==="number")return c+i;else return}});var Fc=r((ON,dv)=>{var E3=Number.MAX_SAFE_INTEGER||9007199254740991,R3=["major","premajor","minor","preminor","patch","prepatch","prerelease"];dv.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:E3,RELEASE_TYPES:R3,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ep=r((AN,xv)=>{var j3=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};xv.exports=j3});var gc=r((bn,rv)=>{var{MAX_SAFE_COMPONENT_LENGTH:ct,MAX_SAFE_BUILD_LENGTH:T3,MAX_LENGTH:D3}=Fc(),L3=ep();bn=rv.exports={};var B3=bn.re=[],F3=bn.safeRe=[],$=bn.src=[],g3=bn.safeSrc=[],z=bn.t={},k3=0,at="[a-zA-Z0-9-]",U3=[["\\s",1],["\\d",D3],[at,T3]],Q3=(i)=>{for(let[n,c]of U3)i=i.split(`${n}*`).join(`${n}{0,${c}}`).split(`${n}+`).join(`${n}{1,${c}}`);return i},I=(i,n,c)=>{let a=Q3(n),p=k3++;L3(i,p,n),z[i]=p,$[p]=n,g3[p]=a,B3[p]=new RegExp(n,c?"g":void 0),F3[p]=new RegExp(a,c?"g":void 0)};I("NUMERICIDENTIFIER","0|[1-9]\\d*");I("NUMERICIDENTIFIERLOOSE","\\d+");I("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${at}*`);I("MAINVERSION",`(${$[z.NUMERICIDENTIFIER]})\\.(${$[z.NUMERICIDENTIFIER]})\\.(${$[z.NUMERICIDENTIFIER]})`);I("MAINVERSIONLOOSE",`(${$[z.NUMERICIDENTIFIERLOOSE]})\\.(${$[z.NUMERICIDENTIFIERLOOSE]})\\.(${$[z.NUMERICIDENTIFIERLOOSE]})`);I("PRERELEASEIDENTIFIER",`(?:${$[z.NONNUMERICIDENTIFIER]}|${$[z.NUMERICIDENTIFIER]})`);I("PRERELEASEIDENTIFIERLOOSE",`(?:${$[z.NONNUMERICIDENTIFIER]}|${$[z.NUMERICIDENTIFIERLOOSE]})`);I("PRERELEASE",`(?:-(${$[z.PRERELEASEIDENTIFIER]}(?:\\.${$[z.PRERELEASEIDENTIFIER]})*))`);I("PRERELEASELOOSE",`(?:-?(${$[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${$[z.PRERELEASEIDENTIFIERLOOSE]})*))`);I("BUILDIDENTIFIER",`${at}+`);I("BUILD",`(?:\\+(${$[z.BUILDIDENTIFIER]}(?:\\.${$[z.BUILDIDENTIFIER]})*))`);I("FULLPLAIN",`v?${$[z.MAINVERSION]}${$[z.PRERELEASE]}?${$[z.BUILD]}?`);I("FULL",`^${$[z.FULLPLAIN]}$`);I("LOOSEPLAIN",`[v=\\s]*${$[z.MAINVERSIONLOOSE]}${$[z.PRERELEASELOOSE]}?${$[z.BUILD]}?`);I("LOOSE",`^${$[z.LOOSEPLAIN]}$`);I("GTLT","((?:<|>)?=?)");I("XRANGEIDENTIFIERLOOSE",`${$[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);I("XRANGEIDENTIFIER",`${$[z.NUMERICIDENTIFIER]}|x|X|\\*`);I("XRANGEPLAIN",`[v=\\s]*(${$[z.XRANGEIDENTIFIER]})(?:\\.(${$[z.XRANGEIDENTIFIER]})(?:\\.(${$[z.XRANGEIDENTIFIER]})(?:${$[z.PRERELEASE]})?${$[z.BUILD]}?)?)?`);I("XRANGEPLAINLOOSE",`[v=\\s]*(${$[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${$[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${$[z.XRANGEIDENTIFIERLOOSE]})(?:${$[z.PRERELEASELOOSE]})?${$[z.BUILD]}?)?)?`);I("XRANGE",`^${$[z.GTLT]}\\s*${$[z.XRANGEPLAIN]}$`);I("XRANGELOOSE",`^${$[z.GTLT]}\\s*${$[z.XRANGEPLAINLOOSE]}$`);I("COERCEPLAIN",`(^|[^\\d])(\\d{1,${ct}})(?:\\.(\\d{1,${ct}}))?(?:\\.(\\d{1,${ct}}))?`);I("COERCE",`${$[z.COERCEPLAIN]}(?:$|[^\\d])`);I("COERCEFULL",$[z.COERCEPLAIN]+`(?:${$[z.PRERELEASE]})?(?:${$[z.BUILD]})?(?:$|[^\\d])`);I("COERCERTL",$[z.COERCE],!0);I("COERCERTLFULL",$[z.COERCEFULL],!0);I("LONETILDE","(?:~>?)");I("TILDETRIM",`(\\s*)${$[z.LONETILDE]}\\s+`,!0);bn.tildeTrimReplace="$1~";I("TILDE",`^${$[z.LONETILDE]}${$[z.XRANGEPLAIN]}$`);I("TILDELOOSE",`^${$[z.LONETILDE]}${$[z.XRANGEPLAINLOOSE]}$`);I("LONECARET","(?:\\^)");I("CARETTRIM",`(\\s*)${$[z.LONECARET]}\\s+`,!0);bn.caretTrimReplace="$1^";I("CARET",`^${$[z.LONECARET]}${$[z.XRANGEPLAIN]}$`);I("CARETLOOSE",`^${$[z.LONECARET]}${$[z.XRANGEPLAINLOOSE]}$`);I("COMPARATORLOOSE",`^${$[z.GTLT]}\\s*(${$[z.LOOSEPLAIN]})$|^$`);I("COMPARATOR",`^${$[z.GTLT]}\\s*(${$[z.FULLPLAIN]})$|^$`);I("COMPARATORTRIM",`(\\s*)${$[z.GTLT]}\\s*(${$[z.LOOSEPLAIN]}|${$[z.XRANGEPLAIN]})`,!0);bn.comparatorTrimReplace="$1$2$3";I("HYPHENRANGE",`^\\s*(${$[z.XRANGEPLAIN]})\\s+-\\s+(${$[z.XRANGEPLAIN]})\\s*$`);I("HYPHENRANGELOOSE",`^\\s*(${$[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${$[z.XRANGEPLAINLOOSE]})\\s*$`);I("STAR","(<|>)?=?\\s*\\*");I("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");I("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Xs=r((NN,lv)=>{var ih=Object.freeze({loose:!0}),nh=Object.freeze({}),ch=(i)=>{if(!i)return nh;if(typeof i!=="object")return ih;return i};lv.exports=ch});var pt=r((yN,wv)=>{var fv=/^[0-9]+$/,vv=(i,n)=>{if(typeof i==="number"&&typeof n==="number")return i===n?0:i<n?-1:1;let c=fv.test(i),a=fv.test(n);if(c&&a)i=+i,n=+n;return i===n?0:c&&!a?-1:a&&!c?1:i<n?-1:1},ah=(i,n)=>vv(n,i);wv.exports={compareIdentifiers:vv,rcompareIdentifiers:ah}});var Ki=r((EN,qv)=>{var Ss=ep(),{MAX_LENGTH:bv,MAX_SAFE_INTEGER:Is}=Fc(),{safeRe:Ps,t:Hs}=gc(),ph=Xs(),{compareIdentifiers:st}=pt(),sh=(i,n)=>{let c=n.split(".");if(c.length>i.length)return!1;for(let a=0;a<c.length;a++)if(st(i[a],c[a])!==0)return!1;return!0};class un{constructor(i,n){if(n=ph(n),i instanceof un)if(i.loose===!!n.loose&&i.includePrerelease===!!n.includePrerelease)return i;else i=i.version;else if(typeof i!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`);if(i.length>bv)throw TypeError(`version is longer than ${bv} characters`);Ss("SemVer",i,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let c=i.trim().match(n.loose?Ps[Hs.LOOSE]:Ps[Hs.FULL]);if(!c)throw TypeError(`Invalid Version: ${i}`);if(this.raw=i,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>Is||this.major<0)throw TypeError("Invalid major version");if(this.minor>Is||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>Is||this.patch<0)throw TypeError("Invalid patch version");if(!c[4])this.prerelease=[];else this.prerelease=c[4].split(".").map((a)=>{if(/^[0-9]+$/.test(a)){let p=+a;if(p>=0&&p<Is)return p}return a});this.build=c[5]?c[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(i){if(Ss("SemVer.compare",this.version,this.options,i),!(i instanceof un)){if(typeof i==="string"&&i===this.version)return 0;i=new un(i,this.options)}if(i.version===this.version)return 0;return this.compareMain(i)||this.comparePre(i)}compareMain(i){if(!(i instanceof un))i=new un(i,this.options);if(this.major<i.major)return-1;if(this.major>i.major)return 1;if(this.minor<i.minor)return-1;if(this.minor>i.minor)return 1;if(this.patch<i.patch)return-1;if(this.patch>i.patch)return 1;return 0}comparePre(i){if(!(i instanceof un))i=new un(i,this.options);if(this.prerelease.length&&!i.prerelease.length)return-1;else if(!this.prerelease.length&&i.prerelease.length)return 1;else if(!this.prerelease.length&&!i.prerelease.length)return 0;let n=0;do{let c=this.prerelease[n],a=i.prerelease[n];if(Ss("prerelease compare",n,c,a),c===void 0&&a===void 0)return 0;else if(a===void 0)return 1;else if(c===void 0)return-1;else if(c===a)continue;else return st(c,a)}while(++n)}compareBuild(i){if(!(i instanceof un))i=new un(i,this.options);let n=0;do{let c=this.build[n],a=i.build[n];if(Ss("build compare",n,c,a),c===void 0&&a===void 0)return 0;else if(a===void 0)return 1;else if(c===void 0)return-1;else if(c===a)continue;else return st(c,a)}while(++n)}inc(i,n,c){if(i.startsWith("pre")){if(!n&&c===!1)throw Error("invalid increment argument: identifier is empty");if(n){let a=`-${n}`.match(this.options.loose?Ps[Hs.PRERELEASELOOSE]:Ps[Hs.PRERELEASE]);if(!a||a[1]!==n)throw Error(`invalid identifier: ${n}`)}}switch(i){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,c);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,c);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,c),this.inc("pre",n,c);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",n,c);this.inc("pre",n,c);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let a=Number(c)?1:0;if(this.prerelease.length===0)this.prerelease=[a];else{let p=this.prerelease.length;while(--p>=0)if(typeof this.prerelease[p]==="number")this.prerelease[p]++,p=-2;if(p===-1){if(n===this.prerelease.join(".")&&c===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(n){let p=[n,a];if(c===!1)p=[n];if(sh(this.prerelease,n)){let s=this.prerelease[n.split(".").length];if(isNaN(s))this.prerelease=p}else this.prerelease=p}break}default:throw Error(`invalid increment argument: ${i}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}qv.exports=un});var Nn=r((RN,Kv)=>{var Wv=Ki(),eh=(i,n,c=!1)=>{if(i instanceof Wv)return i;try{return new Wv(i,n)}catch(a){if(!c)return null;throw a}};Kv.exports=eh});var Jv=r((jN,_v)=>{var uh=Nn(),oh=(i,n)=>{let c=uh(i,n);return c?c.version:null};_v.exports=oh});var $v=r((TN,hv)=>{var th=Nn(),mh=(i,n)=>{let c=th(i.trim().replace(/^[=v]+/,""),n);return c?c.version:null};hv.exports=mh});var Gv=r((DN,Zv)=>{var zv=Ki(),dh=(i,n,c,a,p)=>{if(typeof c==="string")p=a,a=c,c=void 0;try{return new zv(i instanceof zv?i.version:i,c).inc(n,a,p).version}catch(s){return null}};Zv.exports=dh});var Sv=r((LN,Xv)=>{var Yv=Nn(),xh=(i,n)=>{let c=Yv(i,null,!0),a=Yv(n,null,!0),p=c.compare(a);if(p===0)return null;let s=p>0,e=s?c:a,u=s?a:c,o=!!e.prerelease.length;if(!!u.prerelease.length&&!o){if(!u.patch&&!u.minor)return"major";if(u.compareMain(e)===0){if(u.minor&&!u.patch)return"minor";return"patch"}}let m=o?"pre":"";if(c.major!==a.major)return m+"major";if(c.minor!==a.minor)return m+"minor";if(c.patch!==a.patch)return m+"patch";return"prerelease"};Xv.exports=xh});var Pv=r((BN,Iv)=>{var rh=Ki(),lh=(i,n)=>new rh(i,n).major;Iv.exports=lh});var Mv=r((FN,Hv)=>{var fh=Ki(),vh=(i,n)=>new fh(i,n).minor;Hv.exports=vh});var Cv=r((gN,Vv)=>{var wh=Ki(),bh=(i,n)=>new wh(i,n).patch;Vv.exports=bh});var Av=r((kN,Ov)=>{var qh=Nn(),Wh=(i,n)=>{let c=qh(i,n);return c&&c.prerelease.length?c.prerelease:null};Ov.exports=Wh});var Li=r((UN,yv)=>{var Nv=Ki(),Kh=(i,n,c)=>new Nv(i,c).compare(new Nv(n,c));yv.exports=Kh});var Rv=r((QN,Ev)=>{var _h=Li(),Jh=(i,n,c)=>_h(n,i,c);Ev.exports=Jh});var Tv=r((iy,jv)=>{var hh=Li(),$h=(i,n)=>hh(i,n,!0);jv.exports=$h});var Ms=r((ny,Lv)=>{var Dv=Ki(),zh=(i,n,c)=>{let a=new Dv(i,c),p=new Dv(n,c);return a.compare(p)||a.compareBuild(p)};Lv.exports=zh});var Fv=r((cy,Bv)=>{var Zh=Ms(),Gh=(i,n)=>i.sort((c,a)=>Zh(c,a,n));Bv.exports=Gh});var kv=r((ay,gv)=>{var Yh=Ms(),Xh=(i,n)=>i.sort((c,a)=>Yh(a,c,n));gv.exports=Xh});var up=r((py,Uv)=>{var Sh=Li(),Ih=(i,n,c)=>Sh(i,n,c)>0;Uv.exports=Ih});var Vs=r((sy,Qv)=>{var Ph=Li(),Hh=(i,n,c)=>Ph(i,n,c)<0;Qv.exports=Hh});var et=r((ey,i0)=>{var Mh=Li(),Vh=(i,n,c)=>Mh(i,n,c)===0;i0.exports=Vh});var ut=r((uy,n0)=>{var Ch=Li(),Oh=(i,n,c)=>Ch(i,n,c)!==0;n0.exports=Oh});var Cs=r((oy,c0)=>{var Ah=Li(),Nh=(i,n,c)=>Ah(i,n,c)>=0;c0.exports=Nh});var Os=r((ty,a0)=>{var yh=Li(),Eh=(i,n,c)=>yh(i,n,c)<=0;a0.exports=Eh});var ot=r((my,p0)=>{var Rh=et(),jh=ut(),Th=up(),Dh=Cs(),Lh=Vs(),Bh=Os(),Fh=(i,n,c,a)=>{switch(n){case"===":if(typeof i==="object")i=i.version;if(typeof c==="object")c=c.version;return i===c;case"!==":if(typeof i==="object")i=i.version;if(typeof c==="object")c=c.version;return i!==c;case"":case"=":case"==":return Rh(i,c,a);case"!=":return jh(i,c,a);case">":return Th(i,c,a);case">=":return Dh(i,c,a);case"<":return Lh(i,c,a);case"<=":return Bh(i,c,a);default:throw TypeError(`Invalid operator: ${n}`)}};p0.exports=Fh});var e0=r((dy,s0)=>{var gh=Ki(),kh=Nn(),{safeRe:As,t:Ns}=gc(),Uh=(i,n)=>{if(i instanceof gh)return i;if(typeof i==="number")i=String(i);if(typeof i!=="string")return null;n=n||{};let c=null;if(!n.rtl)c=i.match(n.includePrerelease?As[Ns.COERCEFULL]:As[Ns.COERCE]);else{let o=n.includePrerelease?As[Ns.COERCERTLFULL]:As[Ns.COERCERTL],t;while((t=o.exec(i))&&(!c||c.index+c[0].length!==i.length)){if(!c||t.index+t[0].length!==c.index+c[0].length)c=t;o.lastIndex=t.index+t[1].length+t[2].length}o.lastIndex=-1}if(c===null)return null;let a=c[2],p=c[3]||"0",s=c[4]||"0",e=n.includePrerelease&&c[5]?`-${c[5]}`:"",u=n.includePrerelease&&c[6]?`+${c[6]}`:"";return kh(`${a}.${p}.${s}${e}${u}`,n)};s0.exports=Uh});var o0=r((xy,u0)=>{var Qh=Nn(),i$=Fc(),n$=Ki(),c$=(i,n,c)=>{if(!i$.RELEASE_TYPES.includes(n))return null;let a=a$(i,c);return a&&p$(a,n)},a$=(i,n)=>{let c=i instanceof n$?i.version:i;return Qh(c,n)},p$=(i,n)=>{if(s$(n))return i.version;switch(i.prerelease=[],n){case"major":i.minor=0,i.patch=0;break;case"minor":i.patch=0;break}return i.format()},s$=(i)=>{return i.startsWith("pre")};u0.exports=c$});var d0=r((ry,m0)=>{class t0{constructor(){this.max=1000,this.map=new Map}get(i){let n=this.map.get(i);if(n===void 0)return;else return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(i,n)}return this}}m0.exports=t0});var Bi=r((ly,f0)=>{var e$=/\s+/g;class op{constructor(i,n){if(n=o$(n),i instanceof op)if(i.loose===!!n.loose&&i.includePrerelease===!!n.includePrerelease)return i;else return new op(i.raw,n);if(i instanceof tt)return this.raw=i.value,this.set=[[i]],this.formatted=void 0,this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=i.trim().replace(e$," "),this.set=this.raw.split("||").map((c)=>this.parseRange(c.trim())).filter((c)=>c.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let c=this.set[0];if(this.set=this.set.filter((a)=>!r0(a[0])),this.set.length===0)this.set=[c];else if(this.set.length>1){for(let a of this.set)if(a.length===1&&w$(a[0])){this.set=[a];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let i=0;i<this.set.length;i++){if(i>0)this.formatted+="||";let n=this.set[i];for(let c=0;c<n.length;c++){if(c>0)this.formatted+=" ";this.formatted+=n[c].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){i=i.replace(v$,"");let c=((this.options.includePrerelease&&l$)|(this.options.loose&&f$))+":"+i,a=x0.get(c);if(a)return a;let p=this.options.loose,s=p?Xi[_i.HYPHENRANGELOOSE]:Xi[_i.HYPHENRANGE];i=i.replace(s,G$(this.options.includePrerelease)),B("hyphen replace",i),i=i.replace(Xi[_i.COMPARATORTRIM],d$),B("comparator trim",i),i=i.replace(Xi[_i.TILDETRIM],x$),B("tilde trim",i),i=i.replace(Xi[_i.CARETTRIM],r$),B("caret trim",i);let e=i.split(" ").map((m)=>b$(m,this.options)).join(" ").split(/\s+/).map((m)=>Z$(m,this.options));if(p)e=e.filter((m)=>{return B("loose invalid filter",m,this.options),!!m.match(Xi[_i.COMPARATORLOOSE])});B("range list",e);let u=new Map,o=e.map((m)=>new tt(m,this.options));for(let m of o){if(r0(m))return[m];u.set(m.value,m)}if(u.size>1&&u.has(""))u.delete("");let t=[...u.values()];return x0.set(c,t),t}intersects(i,n){if(!(i instanceof op))throw TypeError("a Range is required");return this.set.some((c)=>{return l0(c,n)&&i.set.some((a)=>{return l0(a,n)&&c.every((p)=>{return a.every((s)=>{return p.intersects(s,n)})})})})}test(i){if(!i)return!1;if(typeof i==="string")try{i=new t$(i,this.options)}catch(n){return!1}for(let n=0;n<this.set.length;n++)if(Y$(this.set[n],i,this.options))return!0;return!1}}f0.exports=op;var u$=d0(),x0=new u$,o$=Xs(),tt=tp(),B=ep(),t$=Ki(),{safeRe:Xi,src:m$,t:_i,comparatorTrimReplace:d$,tildeTrimReplace:x$,caretTrimReplace:r$}=gc(),{FLAG_INCLUDE_PRERELEASE:l$,FLAG_LOOSE:f$}=Fc(),v$=new RegExp(m$[_i.BUILD],"g"),r0=(i)=>i.value==="<0.0.0-0",w$=(i)=>i.value==="",l0=(i,n)=>{let c=!0,a=i.slice(),p=a.pop();while(c&&a.length)c=a.every((s)=>{return p.intersects(s,n)}),p=a.pop();return c},b$=(i,n)=>{return i=i.replace(Xi[_i.BUILD],""),B("comp",i,n),i=_$(i,n),B("caret",i),i=W$(i,n),B("tildes",i),i=h$(i,n),B("xrange",i),i=z$(i,n),B("stars",i),i},ti=(i)=>!i||i.toLowerCase()==="x"||i==="*",q$=(i,n,c)=>ti(i)&&!ti(n)||ti(n)&&c&&!ti(c),W$=(i,n)=>{return i.trim().split(/\s+/).map((c)=>K$(c,n)).join(" ")},K$=(i,n)=>{let c=n.loose?Xi[_i.TILDELOOSE]:Xi[_i.TILDE],a=n.includePrerelease?"-0":"";return i.replace(c,(p,s,e,u,o)=>{B("tilde",i,p,s,e,u,o);let t;if(ti(s))t="";else if(ti(e))t=`>=${s}.0.0${a} <${+s+1}.0.0-0`;else if(ti(u))t=`>=${s}.${e}.0${a} <${s}.${+e+1}.0-0`;else if(o)B("replaceTilde pr",o),t=`>=${s}.${e}.${u}-${o} <${s}.${+e+1}.0-0`;else t=`>=${s}.${e}.${u} <${s}.${+e+1}.0-0`;return B("tilde return",t),t})},_$=(i,n)=>{return i.trim().split(/\s+/).map((c)=>J$(c,n)).join(" ")},J$=(i,n)=>{B("caret",i,n);let c=n.loose?Xi[_i.CARETLOOSE]:Xi[_i.CARET],a=n.includePrerelease?"-0":"";return i.replace(c,(p,s,e,u,o)=>{B("caret",i,p,s,e,u,o);let t;if(ti(s))t="";else if(ti(e))t=`>=${s}.0.0${a} <${+s+1}.0.0-0`;else if(ti(u))if(s==="0")t=`>=${s}.${e}.0${a} <${s}.${+e+1}.0-0`;else t=`>=${s}.${e}.0${a} <${+s+1}.0.0-0`;else if(o)if(B("replaceCaret pr",o),s==="0")if(e==="0")t=`>=${s}.${e}.${u}-${o} <${s}.${e}.${+u+1}-0`;else t=`>=${s}.${e}.${u}-${o} <${s}.${+e+1}.0-0`;else t=`>=${s}.${e}.${u}-${o} <${+s+1}.0.0-0`;else if(B("no pr"),s==="0")if(e==="0")t=`>=${s}.${e}.${u} <${s}.${e}.${+u+1}-0`;else t=`>=${s}.${e}.${u} <${s}.${+e+1}.0-0`;else t=`>=${s}.${e}.${u} <${+s+1}.0.0-0`;return B("caret return",t),t})},h$=(i,n)=>{return B("replaceXRanges",i,n),i.split(/\s+/).map((c)=>$$(c,n)).join(" ")},$$=(i,n)=>{i=i.trim();let c=n.loose?Xi[_i.XRANGELOOSE]:Xi[_i.XRANGE];return i.replace(c,(a,p,s,e,u,o)=>{if(B("xRange",i,a,p,s,e,u,o),q$(s,e,u))return i;let t=ti(s),m=t||ti(e),d=m||ti(u),l=d;if(p==="="&&l)p="";if(o=n.includePrerelease?"-0":"",t)if(p===">"||p==="<")a="<0.0.0-0";else a="*";else if(p&&l){if(m)e=0;if(u=0,p===">")if(p=">=",m)s=+s+1,e=0,u=0;else e=+e+1,u=0;else if(p==="<=")if(p="<",m)s=+s+1;else e=+e+1;if(p==="<")o="-0";a=`${p+s}.${e}.${u}${o}`}else if(m)a=`>=${s}.0.0${o} <${+s+1}.0.0-0`;else if(d)a=`>=${s}.${e}.0${o} <${s}.${+e+1}.0-0`;return B("xRange return",a),a})},z$=(i,n)=>{return B("replaceStars",i,n),i.trim().replace(Xi[_i.STAR],"")},Z$=(i,n)=>{return B("replaceGTE0",i,n),i.trim().replace(Xi[n.includePrerelease?_i.GTE0PRE:_i.GTE0],"")},G$=(i)=>(n,c,a,p,s,e,u,o,t,m,d,l)=>{if(ti(a))c="";else if(ti(p))c=`>=${a}.0.0${i?"-0":""}`;else if(ti(s))c=`>=${a}.${p}.0${i?"-0":""}`;else if(e)c=`>=${c}`;else c=`>=${c}${i?"-0":""}`;if(ti(t))o="";else if(ti(m))o=`<${+t+1}.0.0-0`;else if(ti(d))o=`<${t}.${+m+1}.0-0`;else if(l)o=`<=${t}.${m}.${d}-${l}`;else if(i)o=`<${t}.${m}.${+d+1}-0`;else o=`<=${o}`;return`${c} ${o}`.trim()},Y$=(i,n,c)=>{for(let a=0;a<i.length;a++)if(!i[a].test(n))return!1;if(n.prerelease.length&&!c.includePrerelease){for(let a=0;a<i.length;a++){if(B(i[a].semver),i[a].semver===tt.ANY)continue;if(i[a].semver.prerelease.length>0){let p=i[a].semver;if(p.major===n.major&&p.minor===n.minor&&p.patch===n.patch)return!0}}return!1}return!0}});var tp=r((fy,K0)=>{var mp=Symbol("SemVer ANY");class ys{static get ANY(){return mp}constructor(i,n){if(n=v0(n),i instanceof ys)if(i.loose===!!n.loose)return i;else i=i.value;if(i=i.trim().split(/\s+/).join(" "),dt("comparator",i,n),this.options=n,this.loose=!!n.loose,this.parse(i),this.semver===mp)this.value="";else this.value=this.operator+this.semver.version;dt("comp",this)}parse(i){let n=this.options.loose?w0[b0.COMPARATORLOOSE]:w0[b0.COMPARATOR],c=i.match(n);if(!c)throw TypeError(`Invalid comparator: ${i}`);if(this.operator=c[1]!==void 0?c[1]:"",this.operator==="=")this.operator="";if(!c[2])this.semver=mp;else this.semver=new q0(c[2],this.options.loose)}toString(){return this.value}test(i){if(dt("Comparator.test",i,this.options.loose),this.semver===mp||i===mp)return!0;if(typeof i==="string")try{i=new q0(i,this.options)}catch(n){return!1}return mt(i,this.operator,this.semver,this.options)}intersects(i,n){if(!(i instanceof ys))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new W0(i.value,n).test(this.value)}else if(i.operator===""){if(i.value==="")return!0;return new W0(this.value,n).test(i.semver)}if(n=v0(n),n.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0"))return!1;if(!n.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&i.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&i.operator.startsWith("<"))return!0;if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("="))return!0;if(mt(this.semver,"<",i.semver,n)&&this.operator.startsWith(">")&&i.operator.startsWith("<"))return!0;if(mt(this.semver,">",i.semver,n)&&this.operator.startsWith("<")&&i.operator.startsWith(">"))return!0;return!1}}K0.exports=ys;var v0=Xs(),{safeRe:w0,t:b0}=gc(),mt=ot(),dt=ep(),q0=Ki(),W0=Bi()});var dp=r((vy,_0)=>{var X$=Bi(),S$=(i,n,c)=>{try{n=new X$(n,c)}catch(a){return!1}return n.test(i)};_0.exports=S$});var h0=r((wy,J0)=>{var I$=Bi(),P$=(i,n)=>new I$(i,n).set.map((c)=>c.map((a)=>a.value).join(" ").trim().split(" "));J0.exports=P$});var z0=r((by,$0)=>{var H$=Ki(),M$=Bi(),V$=(i,n,c)=>{let a=null,p=null,s=null;try{s=new M$(n,c)}catch(e){return null}return i.forEach((e)=>{if(s.test(e)){if(!a||p.compare(e)===-1)a=e,p=new H$(a,c)}}),a};$0.exports=V$});var G0=r((qy,Z0)=>{var C$=Ki(),O$=Bi(),A$=(i,n,c)=>{let a=null,p=null,s=null;try{s=new O$(n,c)}catch(e){return null}return i.forEach((e)=>{if(s.test(e)){if(!a||p.compare(e)===1)a=e,p=new C$(a,c)}}),a};Z0.exports=A$});var S0=r((Wy,X0)=>{var xt=Ki(),N$=Bi(),Y0=up(),y$=(i,n)=>{i=new N$(i,n);let c=new xt("0.0.0");if(i.test(c))return c;if(c=new xt("0.0.0-0"),i.test(c))return c;c=null;for(let a=0;a<i.set.length;++a){let p=i.set[a],s=null;if(p.forEach((e)=>{let u=new xt(e.semver.version);switch(e.operator){case">":if(u.prerelease.length===0)u.patch++;else u.prerelease.push(0);u.raw=u.format();case"":case">=":if(!s||Y0(u,s))s=u;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),s&&(!c||Y0(c,s)))c=s}if(c&&i.test(c))return c;return null};X0.exports=y$});var P0=r((Ky,I0)=>{var E$=Bi(),R$=(i,n)=>{try{return new E$(i,n).range||"*"}catch(c){return null}};I0.exports=R$});var Es=r((_y,C0)=>{var j$=Ki(),V0=tp(),{ANY:T$}=V0,D$=Bi(),L$=dp(),H0=up(),M0=Vs(),B$=Os(),F$=Cs(),g$=(i,n,c,a)=>{i=new j$(i,a),n=new D$(n,a);let p,s,e,u,o;switch(c){case">":p=H0,s=B$,e=M0,u=">",o=">=";break;case"<":p=M0,s=F$,e=H0,u="<",o="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(L$(i,n,a))return!1;for(let t=0;t<n.set.length;++t){let m=n.set[t],d=null,l=null;if(m.forEach((f)=>{if(f.semver===T$)f=new V0(">=0.0.0");if(d=d||f,l=l||f,p(f.semver,d.semver,a))d=f;else if(e(f.semver,l.semver,a))l=f}),d.operator===u||d.operator===o)return!1;if((!l.operator||l.operator===u)&&s(i,l.semver))return!1;else if(l.operator===o&&e(i,l.semver))return!1}return!0};C0.exports=g$});var A0=r((Jy,O0)=>{var k$=Es(),U$=(i,n,c)=>k$(i,n,">",c);O0.exports=U$});var y0=r((hy,N0)=>{var Q$=Es(),i9=(i,n,c)=>Q$(i,n,"<",c);N0.exports=i9});var j0=r(($y,R0)=>{var E0=Bi(),n9=(i,n,c)=>{return i=new E0(i,c),n=new E0(n,c),i.intersects(n,c)};R0.exports=n9});var D0=r((zy,T0)=>{var c9=dp(),a9=Li();T0.exports=(i,n,c)=>{let a=[],p=null,s=null,e=i.sort((m,d)=>a9(m,d,c));for(let m of e)if(c9(m,n,c)){if(s=m,!p)p=m}else{if(s)a.push([p,s]);s=null,p=null}if(p)a.push([p,null]);let u=[];for(let[m,d]of a)if(m===d)u.push(m);else if(!d&&m===e[0])u.push("*");else if(!d)u.push(`>=${m}`);else if(m===e[0])u.push(`<=${d}`);else u.push(`${m} - ${d}`);let o=u.join(" || "),t=typeof n.raw==="string"?n.raw:String(n);return o.length<t.length?o:n}});var U0=r((Zy,k0)=>{var L0=Bi(),ft=tp(),{ANY:rt}=ft,lt=dp(),vt=Li(),p9=(i,n,c={})=>{if(i===n)return!0;i=new L0(i,c),n=new L0(n,c);let a=!1;i:for(let p of i.set){for(let s of n.set){let e=e9(p,s,c);if(a=a||e!==null,e)continue i}if(a)return!1}return!0},s9=[new ft(">=0.0.0-0")],B0=[new ft(">=0.0.0")],e9=(i,n,c)=>{if(i===n)return!0;if(i.length===1&&i[0].semver===rt)if(n.length===1&&n[0].semver===rt)return!0;else if(c.includePrerelease)i=s9;else i=B0;if(n.length===1&&n[0].semver===rt)if(c.includePrerelease)return!0;else n=B0;let a=new Set,p,s;for(let f of i)if(f.operator===">"||f.operator===">=")p=F0(p,f,c);else if(f.operator==="<"||f.operator==="<=")s=g0(s,f,c);else a.add(f.semver);if(a.size>1)return null;let e;if(p&&s){if(e=vt(p.semver,s.semver,c),e>0)return null;else if(e===0&&(p.operator!==">="||s.operator!=="<="))return null}for(let f of a){if(p&&!lt(f,String(p),c))return null;if(s&&!lt(f,String(s),c))return null;for(let v of n)if(!lt(f,String(v),c))return!1;return!0}let u,o,t,m,d=s&&!c.includePrerelease&&s.semver.prerelease.length?s.semver:!1,l=p&&!c.includePrerelease&&p.semver.prerelease.length?p.semver:!1;if(d&&d.prerelease.length===1&&s.operator==="<"&&d.prerelease[0]===0)d=!1;for(let f of n){if(m=m||f.operator===">"||f.operator===">=",t=t||f.operator==="<"||f.operator==="<=",p){if(l){if(f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===l.major&&f.semver.minor===l.minor&&f.semver.patch===l.patch)l=!1}if(f.operator===">"||f.operator===">="){if(u=F0(p,f,c),u===f&&u!==p)return!1}else if(p.operator===">="&&!f.test(p.semver))return!1}if(s){if(d){if(f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===d.major&&f.semver.minor===d.minor&&f.semver.patch===d.patch)d=!1}if(f.operator==="<"||f.operator==="<="){if(o=g0(s,f,c),o===f&&o!==s)return!1}else if(s.operator==="<="&&!f.test(s.semver))return!1}if(!f.operator&&(s||p)&&e!==0)return!1}if(p&&t&&!s&&e!==0)return!1;if(s&&m&&!p&&e!==0)return!1;if(l||d)return!1;return!0},F0=(i,n,c)=>{if(!i)return n;let a=vt(i.semver,n.semver,c);return a>0?i:a<0?n:n.operator===">"&&i.operator===">="?n:i},g0=(i,n,c)=>{if(!i)return n;let a=vt(i.semver,n.semver,c);return a<0?i:a>0?n:n.operator==="<"&&i.operator==="<="?n:i};k0.exports=p9});var Rs=r((Gy,n4)=>{var wt=gc(),Q0=Fc(),u9=Ki(),i4=pt(),o9=Nn(),t9=Jv(),m9=$v(),d9=Gv(),x9=Sv(),r9=Pv(),l9=Mv(),f9=Cv(),v9=Av(),w9=Li(),b9=Rv(),q9=Tv(),W9=Ms(),K9=Fv(),_9=kv(),J9=up(),h9=Vs(),$9=et(),z9=ut(),Z9=Cs(),G9=Os(),Y9=ot(),X9=e0(),S9=o0(),I9=tp(),P9=Bi(),H9=dp(),M9=h0(),V9=z0(),C9=G0(),O9=S0(),A9=P0(),N9=Es(),y9=A0(),E9=y0(),R9=j0(),j9=D0(),T9=U0();n4.exports={parse:o9,valid:t9,clean:m9,inc:d9,diff:x9,major:r9,minor:l9,patch:f9,prerelease:v9,compare:w9,rcompare:b9,compareLoose:q9,compareBuild:W9,sort:K9,rsort:_9,gt:J9,lt:h9,eq:$9,neq:z9,gte:Z9,lte:G9,cmp:Y9,coerce:X9,truncate:S9,Comparator:I9,Range:P9,satisfies:H9,toComparators:M9,maxSatisfying:V9,minSatisfying:C9,minVersion:O9,validRange:A9,outside:N9,gtr:y9,ltr:E9,intersects:R9,simplifyRange:j9,subset:T9,SemVer:u9,re:wt.re,src:wt.src,tokens:wt.t,SEMVER_SPEC_VERSION:Q0.SEMVER_SPEC_VERSION,RELEASE_TYPES:Q0.RELEASE_TYPES,compareIdentifiers:i4.compareIdentifiers,rcompareIdentifiers:i4.rcompareIdentifiers}});var a4=r((Yy,c4)=>{var D9=Rs();c4.exports=D9.satisfies(process.version,">=15.7.0")});var s4=r((Xy,p4)=>{var L9=Rs();p4.exports=L9.satisfies(process.version,">=16.9.0")});var bt=r((Sy,e4)=>{var B9=a4(),F9=s4(),g9={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},k9={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e4.exports=function(i,n){if(!i||!n)return;let c=n.asymmetricKeyType;if(!c)return;let a=g9[c];if(!a)throw Error(`Unknown key type "${c}".`);if(!a.includes(i))throw Error(`"alg" parameter for "${c}" key type must be one of: ${a.join(", ")}.`);if(B9)switch(c){case"ec":let p=n.asymmetricKeyDetails.namedCurve,s=k9[i];if(p!==s)throw Error(`"alg" parameter "${i}" requires curve "${s}".`);break;case"rsa-pss":if(F9){let e=parseInt(i.slice(-3),10),{hashAlgorithm:u,mgf1HashAlgorithm:o,saltLength:t}=n.asymmetricKeyDetails;if(u!==`sha${e}`||o!==u)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${i}.`);if(t!==void 0&&t>e>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${i}.`)}break}}});var qt=r((Iy,u4)=>{var U9=Rs();u4.exports=U9.satisfies(process.version,"^6.12.0 || >=8.0.0")});var m4=r((Py,t4)=>{var T=sp(),Q9=Qo(),o4=it(),iz=Uo(),nz=nt(),cz=bt(),az=qt(),pz=zs(),{KeyObject:sz,createSecretKey:ez,createPublicKey:uz}=require("crypto"),Wt=["RS256","RS384","RS512"],oz=["ES256","ES384","ES512"],Kt=["RS256","RS384","RS512"],tz=["HS256","HS384","HS512"];if(az)Wt.splice(Wt.length,0,"PS256","PS384","PS512"),Kt.splice(Kt.length,0,"PS256","PS384","PS512");t4.exports=function(i,n,c,a){if(typeof c==="function"&&!a)a=c,c={};if(!c)c={};c=Object.assign({},c);let p;if(a)p=a;else p=function(m,d){if(m)throw m;return d};if(c.clockTimestamp&&typeof c.clockTimestamp!=="number")return p(new T("clockTimestamp must be a number"));if(c.nonce!==void 0&&(typeof c.nonce!=="string"||c.nonce.trim()===""))return p(new T("nonce must be a non-empty string"));if(c.allowInvalidAsymmetricKeyTypes!==void 0&&typeof c.allowInvalidAsymmetricKeyTypes!=="boolean")return p(new T("allowInvalidAsymmetricKeyTypes must be a boolean"));let s=c.clockTimestamp||Math.floor(Date.now()/1000);if(!i)return p(new T("jwt must be provided"));if(typeof i!=="string")return p(new T("jwt must be a string"));let e=i.split(".");if(e.length!==3)return p(new T("jwt malformed"));let u;try{u=iz(i,{complete:!0})}catch(m){return p(m)}if(!u)return p(new T("invalid token"));let o=u.header,t;if(typeof n==="function"){if(!a)return p(new T("verify must be called asynchronous if secret or public key is provided as a callback"));t=n}else t=function(m,d){return d(null,n)};return t(o,function(m,d){if(m)return p(new T("error in secret or public key callback: "+m.message));let l=e[2].trim()!=="";if(!l&&d)return p(new T("jwt signature is required"));if(l&&!d)return p(new T("secret or public key must be provided"));if(!l&&!c.algorithms)return p(new T('please specify "none" in "algorithms" to verify unsigned tokens'));if(d!=null&&!(d instanceof sz))try{d=uz(d)}catch(b){try{d=ez(typeof d==="string"?Buffer.from(d):d)}catch(q){return p(new T("secretOrPublicKey is not valid key material"))}}if(!c.algorithms)if(d.type==="secret")c.algorithms=tz;else if(["rsa","rsa-pss"].includes(d.asymmetricKeyType))c.algorithms=Kt;else if(d.asymmetricKeyType==="ec")c.algorithms=oz;else c.algorithms=Wt;if(c.algorithms.indexOf(u.header.alg)===-1)return p(new T("invalid algorithm"));if(o.alg.startsWith("HS")&&d.type!=="secret")return p(new T(`secretOrPublicKey must be a symmetric key when using ${o.alg}`));else if(/^(?:RS|PS|ES)/.test(o.alg)&&d.type!=="public")return p(new T(`secretOrPublicKey must be an asymmetric key when using ${o.alg}`));if(!c.allowInvalidAsymmetricKeyTypes)try{cz(o.alg,d)}catch(b){return p(b)}let f;try{f=pz.verify(i,u.header.alg,d)}catch(b){return p(b)}if(!f)return p(new T("invalid signature"));let v=u.payload;if(typeof v.nbf<"u"&&!c.ignoreNotBefore){if(typeof v.nbf!=="number")return p(new T("invalid nbf value"));if(v.nbf>s+(c.clockTolerance||0))return p(new Q9("jwt not active",new Date(v.nbf*1000)))}if(typeof v.exp<"u"&&!c.ignoreExpiration){if(typeof v.exp!=="number")return p(new T("invalid exp value"));if(s>=v.exp+(c.clockTolerance||0))return p(new o4("jwt expired",new Date(v.exp*1000)))}if(c.audience){let b=Array.isArray(c.audience)?c.audience:[c.audience];if(!(Array.isArray(v.aud)?v.aud:[v.aud]).some(function(_){return b.some(function(K){return K instanceof RegExp?K.test(_):K===_})}))return p(new T("jwt audience invalid. expected: "+b.join(" or ")))}if(c.issuer){if(typeof c.issuer==="string"&&v.iss!==c.issuer||Array.isArray(c.issuer)&&c.issuer.indexOf(v.iss)===-1)return p(new T("jwt issuer invalid. expected: "+c.issuer))}if(c.subject){if(v.sub!==c.subject)return p(new T("jwt subject invalid. expected: "+c.subject))}if(c.jwtid){if(v.jti!==c.jwtid)return p(new T("jwt jwtid invalid. expected: "+c.jwtid))}if(c.nonce){if(v.nonce!==c.nonce)return p(new T("jwt nonce invalid. expected: "+c.nonce))}if(c.maxAge){if(typeof v.iat!=="number")return p(new T("iat required when maxAge is specified"));let b=nz(c.maxAge,v.iat);if(typeof b>"u")return p(new T('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(s>=b+(c.clockTolerance||0))return p(new o4("maxAge exceeded",new Date(b*1000)))}if(c.complete===!0){let b=u.signature;return p(null,{header:o,payload:v,signature:b})}return p(null,v)})}});var v4=r((Hy,f4)=>{var d4=1/0,r4=9007199254740991,mz=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,x4=NaN,dz="[object Arguments]",xz="[object Function]",rz="[object GeneratorFunction]",lz="[object String]",fz="[object Symbol]",vz=/^\s+|\s+$/g,wz=/^[-+]0x[0-9a-f]+$/i,bz=/^0b[01]+$/i,qz=/^0o[0-7]+$/i,Wz=/^(?:0|[1-9]\d*)$/,Kz=parseInt;function _z(i,n){var c=-1,a=i?i.length:0,p=Array(a);while(++c<a)p[c]=n(i[c],c,i);return p}function Jz(i,n,c,a){var p=i.length,s=c+(a?1:-1);while(a?s--:++s<p)if(n(i[s],s,i))return s;return-1}function hz(i,n,c){if(n!==n)return Jz(i,$z,c);var a=c-1,p=i.length;while(++a<p)if(i[a]===n)return a;return-1}function $z(i){return i!==i}function zz(i,n){var c=-1,a=Array(i);while(++c<i)a[c]=n(c);return a}function Zz(i,n){return _z(n,function(c){return i[c]})}function Gz(i,n){return function(c){return i(n(c))}}var js=Object.prototype,Jt=js.hasOwnProperty,Ts=js.toString,Yz=js.propertyIsEnumerable,Xz=Gz(Object.keys,Object),Sz=Math.max;function Iz(i,n){var c=l4(i)||Cz(i)?zz(i.length,String):[],a=c.length,p=!!a;for(var s in i)if((n||Jt.call(i,s))&&!(p&&(s=="length"||Hz(s,a))))c.push(s);return c}function Pz(i){if(!Mz(i))return Xz(i);var n=[];for(var c in Object(i))if(Jt.call(i,c)&&c!="constructor")n.push(c);return n}function Hz(i,n){return n=n==null?r4:n,!!n&&(typeof i=="number"||Wz.test(i))&&(i>-1&&i%1==0&&i<n)}function Mz(i){var n=i&&i.constructor,c=typeof n=="function"&&n.prototype||js;return i===c}function Vz(i,n,c,a){i=ht(i)?i:Lz(i),c=c&&!a?jz(c):0;var p=i.length;if(c<0)c=Sz(p+c,0);return yz(i)?c<=p&&i.indexOf(n,c)>-1:!!p&&hz(i,n,c)>-1}function Cz(i){return Oz(i)&&Jt.call(i,"callee")&&(!Yz.call(i,"callee")||Ts.call(i)==dz)}var l4=Array.isArray;function ht(i){return i!=null&&Nz(i.length)&&!Az(i)}function Oz(i){return $t(i)&&ht(i)}function Az(i){var n=_t(i)?Ts.call(i):"";return n==xz||n==rz}function Nz(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=r4}function _t(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function $t(i){return!!i&&typeof i=="object"}function yz(i){return typeof i=="string"||!l4(i)&&$t(i)&&Ts.call(i)==lz}function Ez(i){return typeof i=="symbol"||$t(i)&&Ts.call(i)==fz}function Rz(i){if(!i)return i===0?i:0;if(i=Tz(i),i===d4||i===-d4){var n=i<0?-1:1;return n*mz}return i===i?i:0}function jz(i){var n=Rz(i),c=n%1;return n===n?c?n-c:n:0}function Tz(i){if(typeof i=="number")return i;if(Ez(i))return x4;if(_t(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=_t(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(vz,"");var c=bz.test(i);return c||qz.test(i)?Kz(i.slice(2),c?2:8):wz.test(i)?x4:+i}function Dz(i){return ht(i)?Iz(i):Pz(i)}function Lz(i){return i?Zz(i,Dz(i)):[]}f4.exports=Vz});var b4=r((My,w4)=>{var Bz="[object Boolean]",Fz=Object.prototype,gz=Fz.toString;function kz(i){return i===!0||i===!1||Uz(i)&&gz.call(i)==Bz}function Uz(i){return!!i&&typeof i=="object"}w4.exports=kz});var J4=r((Vy,_4)=>{var q4=1/0,Qz=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,W4=NaN,iZ="[object Symbol]",nZ=/^\s+|\s+$/g,cZ=/^[-+]0x[0-9a-f]+$/i,aZ=/^0b[01]+$/i,pZ=/^0o[0-7]+$/i,sZ=parseInt,eZ=Object.prototype,uZ=eZ.toString;function oZ(i){return typeof i=="number"&&i==xZ(i)}function K4(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function tZ(i){return!!i&&typeof i=="object"}function mZ(i){return typeof i=="symbol"||tZ(i)&&uZ.call(i)==iZ}function dZ(i){if(!i)return i===0?i:0;if(i=rZ(i),i===q4||i===-q4){var n=i<0?-1:1;return n*Qz}return i===i?i:0}function xZ(i){var n=dZ(i),c=n%1;return n===n?c?n-c:n:0}function rZ(i){if(typeof i=="number")return i;if(mZ(i))return W4;if(K4(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=K4(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(nZ,"");var c=aZ.test(i);return c||pZ.test(i)?sZ(i.slice(2),c?2:8):cZ.test(i)?W4:+i}_4.exports=oZ});var $4=r((Cy,h4)=>{var lZ="[object Number]",fZ=Object.prototype,vZ=fZ.toString;function wZ(i){return!!i&&typeof i=="object"}function bZ(i){return typeof i=="number"||wZ(i)&&vZ.call(i)==lZ}h4.exports=bZ});var Y4=r((Oy,G4)=>{var qZ="[object Object]";function WZ(i){var n=!1;if(i!=null&&typeof i.toString!="function")try{n=!!(i+"")}catch(c){}return n}function KZ(i,n){return function(c){return i(n(c))}}var _Z=Function.prototype,z4=Object.prototype,Z4=_Z.toString,JZ=z4.hasOwnProperty,hZ=Z4.call(Object),$Z=z4.toString,zZ=KZ(Object.getPrototypeOf,Object);function ZZ(i){return!!i&&typeof i=="object"}function GZ(i){if(!ZZ(i)||$Z.call(i)!=qZ||WZ(i))return!1;var n=zZ(i);if(n===null)return!0;var c=JZ.call(n,"constructor")&&n.constructor;return typeof c=="function"&&c instanceof c&&Z4.call(c)==hZ}G4.exports=GZ});var S4=r((Ay,X4)=>{var YZ="[object String]",XZ=Object.prototype,SZ=XZ.toString,IZ=Array.isArray;function PZ(i){return!!i&&typeof i=="object"}function HZ(i){return typeof i=="string"||!IZ(i)&&PZ(i)&&SZ.call(i)==YZ}X4.exports=HZ});var V4=r((Ny,M4)=>{var MZ="Expected a function",I4=1/0,VZ=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,P4=NaN,CZ="[object Symbol]",OZ=/^\s+|\s+$/g,AZ=/^[-+]0x[0-9a-f]+$/i,NZ=/^0b[01]+$/i,yZ=/^0o[0-7]+$/i,EZ=parseInt,RZ=Object.prototype,jZ=RZ.toString;function TZ(i,n){var c;if(typeof n!="function")throw TypeError(MZ);return i=gZ(i),function(){if(--i>0)c=n.apply(this,arguments);if(i<=1)n=void 0;return c}}function DZ(i){return TZ(2,i)}function H4(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function LZ(i){return!!i&&typeof i=="object"}function BZ(i){return typeof i=="symbol"||LZ(i)&&jZ.call(i)==CZ}function FZ(i){if(!i)return i===0?i:0;if(i=kZ(i),i===I4||i===-I4){var n=i<0?-1:1;return n*VZ}return i===i?i:0}function gZ(i){var n=FZ(i),c=n%1;return n===n?c?n-c:n:0}function kZ(i){if(typeof i=="number")return i;if(BZ(i))return P4;if(H4(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=H4(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(OZ,"");var c=NZ.test(i);return c||yZ.test(i)?EZ(i.slice(2),c?2:8):AZ.test(i)?P4:+i}M4.exports=DZ});var T4=r((yy,j4)=>{var C4=nt(),UZ=qt(),QZ=bt(),O4=zs(),iG=v4(),Ds=b4(),A4=J4(),zt=$4(),y4=Y4(),yn=S4(),nG=V4(),{KeyObject:cG,createSecretKey:aG,createPrivateKey:pG}=require("crypto"),E4=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(UZ)E4.splice(3,0,"PS256","PS384","PS512");var sG={expiresIn:{isValid:function(i){return A4(i)||yn(i)&&i},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(i){return A4(i)||yn(i)&&i},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(i){return yn(i)||Array.isArray(i)},message:'"audience" must be a string or array'},algorithm:{isValid:iG.bind(null,E4),message:'"algorithm" must be a valid string enum value'},header:{isValid:y4,message:'"header" must be an object'},encoding:{isValid:yn,message:'"encoding" must be a string'},issuer:{isValid:yn,message:'"issuer" must be a string'},subject:{isValid:yn,message:'"subject" must be a string'},jwtid:{isValid:yn,message:'"jwtid" must be a string'},noTimestamp:{isValid:Ds,message:'"noTimestamp" must be a boolean'},keyid:{isValid:yn,message:'"keyid" must be a string'},mutatePayload:{isValid:Ds,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:Ds,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:Ds,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},eG={iat:{isValid:zt,message:'"iat" should be a number of seconds'},exp:{isValid:zt,message:'"exp" should be a number of seconds'},nbf:{isValid:zt,message:'"nbf" should be a number of seconds'}};function R4(i,n,c,a){if(!y4(c))throw Error('Expected "'+a+'" to be a plain object.');Object.keys(c).forEach(function(p){let s=i[p];if(!s){if(!n)throw Error('"'+p+'" is not allowed in "'+a+'"');return}if(!s.isValid(c[p]))throw Error(s.message)})}function uG(i){return R4(sG,!1,i,"options")}function oG(i){return R4(eG,!0,i,"payload")}var N4={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},tG=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];j4.exports=function(i,n,c,a){if(typeof c==="function")a=c,c={};else c=c||{};let p=typeof i==="object"&&!Buffer.isBuffer(i),s=Object.assign({alg:c.algorithm||"HS256",typ:p?"JWT":void 0,kid:c.keyid},c.header);function e(t){if(a)return a(t);throw t}if(!n&&c.algorithm!=="none")return e(Error("secretOrPrivateKey must have a value"));if(n!=null&&!(n instanceof cG))try{n=pG(n)}catch(t){try{n=aG(typeof n==="string"?Buffer.from(n):n)}catch(m){return e(Error("secretOrPrivateKey is not valid key material"))}}if(s.alg.startsWith("HS")&&n.type!=="secret")return e(Error(`secretOrPrivateKey must be a symmetric key when using ${s.alg}`));else if(/^(?:RS|PS|ES)/.test(s.alg)){if(n.type!=="private")return e(Error(`secretOrPrivateKey must be an asymmetric key when using ${s.alg}`));if(!c.allowInsecureKeySizes&&!s.alg.startsWith("ES")&&n.asymmetricKeyDetails!==void 0&&n.asymmetricKeyDetails.modulusLength<2048)return e(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`))}if(typeof i>"u")return e(Error("payload is required"));else if(p){try{oG(i)}catch(t){return e(t)}if(!c.mutatePayload)i=Object.assign({},i)}else{let t=tG.filter(function(m){return typeof c[m]<"u"});if(t.length>0)return e(Error("invalid "+t.join(",")+" option for "+typeof i+" payload"))}if(typeof i.exp<"u"&&typeof c.expiresIn<"u")return e(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof i.nbf<"u"&&typeof c.notBefore<"u")return e(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{uG(c)}catch(t){return e(t)}if(!c.allowInvalidAsymmetricKeyTypes)try{QZ(s.alg,n)}catch(t){return e(t)}let u=i.iat||Math.floor(Date.now()/1000);if(c.noTimestamp)delete i.iat;else if(p)i.iat=u;if(typeof c.notBefore<"u"){try{i.nbf=C4(c.notBefore,u)}catch(t){return e(t)}if(typeof i.nbf>"u")return e(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof c.expiresIn<"u"&&typeof i==="object"){try{i.exp=C4(c.expiresIn,u)}catch(t){return e(t)}if(typeof i.exp>"u")return e(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(N4).forEach(function(t){let m=N4[t];if(typeof c[t]<"u"){if(typeof i[m]<"u")return e(Error('Bad "options.'+t+'" option. The payload already has an "'+m+'" property.'));i[m]=c[t]}});let o=c.encoding||"utf8";if(typeof a==="function")a=a&&nG(a),O4.createSign({header:s,privateKey:n,payload:i,encoding:o}).once("error",a).once("done",function(t){if(!c.allowInsecureKeySizes&&/^(?:RS|PS)/.test(s.alg)&&t.length<256)return a(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`));a(null,t)});else{let t=O4.sign({header:s,payload:i,secret:n,encoding:o});if(!c.allowInsecureKeySizes&&/^(?:RS|PS)/.test(s.alg)&&t.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`);return t}}});var L4=r((Ey,D4)=>{D4.exports={decode:Uo(),verify:m4(),sign:T4(),JsonWebTokenError:sp(),NotBeforeError:Qo(),TokenExpiredError:it()}});var Gt=r((Zt)=>{Object.defineProperty(Zt,"__esModule",{value:!0});var mG=require("crypto"),dG=(i,n)=>(0,mG.createHash)(i).update(n).digest();Zt.default=dG});var ni=r((mi)=>{Object.defineProperty(mi,"__esModule",{value:!0});mi.concatKdf=mi.lengthAndInput=mi.uint32be=mi.uint64be=mi.p2s=mi.concat=mi.decoder=mi.encoder=void 0;var xG=Gt();mi.encoder=new TextEncoder;mi.decoder=new TextDecoder;var Ls=4294967296;function Xt(...i){let n=i.reduce((p,{length:s})=>p+s,0),c=new Uint8Array(n),a=0;return i.forEach((p)=>{c.set(p,a),a+=p.length}),c}mi.concat=Xt;function rG(i,n){return Xt(mi.encoder.encode(i),new Uint8Array([0]),n)}mi.p2s=rG;function Yt(i,n,c){if(n<0||n>=Ls)throw RangeError(`value must be >= 0 and <= ${Ls-1}. Received ${n}`);i.set([n>>>24,n>>>16,n>>>8,n&255],c)}function lG(i){let n=Math.floor(i/Ls),c=i%Ls,a=new Uint8Array(8);return Yt(a,n,0),Yt(a,c,4),a}mi.uint64be=lG;function St(i){let n=new Uint8Array(4);return Yt(n,i),n}mi.uint32be=St;function fG(i){return Xt(St(i.length),i)}mi.lengthAndInput=fG;async function vG(i,n,c){let a=Math.ceil((n>>3)/32),p=new Uint8Array(a*32);for(let s=0;s<a;s++){let e=new Uint8Array(4+i.length+c.length);e.set(St(s+1)),e.set(i,4),e.set(c,4+i.length),p.set(await(0,xG.default)("sha256",e),s*32)}return p.slice(0,n>>3)}mi.concatKdf=vG});var Yi=r((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.decode=on.encode=on.encodeBase64=on.decodeBase64=void 0;var kc=require("buffer"),wG=ni(),B4;function bG(i){let n=i;if(n instanceof Uint8Array)n=wG.decoder.decode(n);return n}if(kc.Buffer.isEncoding("base64url"))on.encode=B4=(i)=>kc.Buffer.from(i).toString("base64url");else on.encode=B4=(i)=>kc.Buffer.from(i).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var qG=(i)=>kc.Buffer.from(i,"base64");on.decodeBase64=qG;var WG=(i)=>kc.Buffer.from(i).toString("base64");on.encodeBase64=WG;var KG=(i)=>kc.Buffer.from(bG(i),"base64");on.decode=KG});var X=r((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.JWSSignatureVerificationFailed=A.JWKSTimeout=A.JWKSMultipleMatchingKeys=A.JWKSNoMatchingKey=A.JWKSInvalid=A.JWKInvalid=A.JWTInvalid=A.JWSInvalid=A.JWEInvalid=A.JWEDecompressionFailed=A.JWEDecryptionFailed=A.JOSENotSupported=A.JOSEAlgNotAllowed=A.JWTExpired=A.JWTClaimValidationFailed=A.JOSEError=void 0;class Ji extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(i){var n;super(i);this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(n=Error.captureStackTrace)===null||n===void 0||n.call(Error,this,this.constructor)}}A.JOSEError=Ji;class F4 extends Ji{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(i,n="unspecified",c="unspecified"){super(i);this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=c}}A.JWTClaimValidationFailed=F4;class g4 extends Ji{static get code(){return"ERR_JWT_EXPIRED"}constructor(i,n="unspecified",c="unspecified"){super(i);this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=c}}A.JWTExpired=g4;class k4 extends Ji{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}A.JOSEAlgNotAllowed=k4;class U4 extends Ji{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}A.JOSENotSupported=U4;class Q4 extends Ji{constructor(){super(...arguments);this.code="ERR_JWE_DECRYPTION_FAILED",this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}}A.JWEDecryptionFailed=Q4;class i6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWE_DECOMPRESSION_FAILED",this.message="decompression operation failed"}static get code(){return"ERR_JWE_DECOMPRESSION_FAILED"}}A.JWEDecompressionFailed=i6;class n6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}}A.JWEInvalid=n6;class c6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}A.JWSInvalid=c6;class a6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}A.JWTInvalid=a6;class p6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}}A.JWKInvalid=p6;class s6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}}A.JWKSInvalid=s6;class e6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_NO_MATCHING_KEY",this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}}A.JWKSNoMatchingKey=e6;class u6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS",this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}A.JWKSMultipleMatchingKeys=u6;class o6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWKS_TIMEOUT",this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}}A.JWKSTimeout=o6;class t6 extends Ji{constructor(){super(...arguments);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}A.JWSSignatureVerificationFailed=t6});var xp=r((Bs)=>{Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=void 0;var _G=require("crypto");Object.defineProperty(Bs,"default",{enumerable:!0,get:function(){return _G.randomFillSync}})});var Fs=r((rp)=>{Object.defineProperty(rp,"__esModule",{value:!0});rp.bitLength=void 0;var JG=X(),hG=xp();function m6(i){switch(i){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new JG.JOSENotSupported(`Unsupported JWE Algorithm: ${i}`)}}rp.bitLength=m6;rp.default=(i)=>(0,hG.default)(new Uint8Array(m6(i)>>3))});var Pt=r((It)=>{Object.defineProperty(It,"__esModule",{value:!0});var $G=X(),zG=Fs(),ZG=(i,n)=>{if(n.length<<3!==(0,zG.bitLength)(i))throw new $G.JWEInvalid("Invalid Initialization Vector length")};It.default=ZG});var Fi=r((Ht)=>{Object.defineProperty(Ht,"__esModule",{value:!0});var GG=require("crypto"),d6=require("util");Ht.default=d6.types.isKeyObject?(i)=>d6.types.isKeyObject(i):(i)=>i!=null&&i instanceof GG.KeyObject});var Ct=r((Vt)=>{Object.defineProperty(Vt,"__esModule",{value:!0});var Mt=X(),YG=Fi(),XG=(i,n)=>{let c;switch(i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":c=parseInt(i.slice(-3),10);break;case"A128GCM":case"A192GCM":case"A256GCM":c=parseInt(i.slice(1,4),10);break;default:throw new Mt.JOSENotSupported(`Content Encryption Algorithm ${i} is not supported either by JOSE or your javascript runtime`)}if(n instanceof Uint8Array){let a=n.byteLength<<3;if(a!==c)throw new Mt.JWEInvalid(`Invalid Content Encryption Key length. Expected ${c} bits, got ${a} bits`);return}if((0,YG.default)(n)&&n.type==="secret"){let a=n.symmetricKeySize<<3;if(a!==c)throw new Mt.JWEInvalid(`Invalid Content Encryption Key length. Expected ${c} bits, got ${a} bits`);return}throw TypeError("Invalid Content Encryption Key type")};Vt.default=XG});var x6=r((Ot)=>{Object.defineProperty(Ot,"__esModule",{value:!0});var SG=require("crypto"),IG=SG.timingSafeEqual;Ot.default=IG});var Nt=r((At)=>{Object.defineProperty(At,"__esModule",{value:!0});var PG=require("crypto"),r6=ni();function HG(i,n,c,a,p,s){let e=(0,r6.concat)(i,n,c,(0,r6.uint64be)(i.length<<3)),u=(0,PG.createHmac)(`sha${a}`,p);return u.update(e),u.digest().slice(0,s>>3)}At.default=HG});var gi=r((lp)=>{Object.defineProperty(lp,"__esModule",{value:!0});lp.isCryptoKey=void 0;var MG=require("crypto"),l6=require("util"),VG=MG.webcrypto;lp.default=VG;lp.isCryptoKey=l6.types.isCryptoKey?(i)=>l6.types.isCryptoKey(i):(i)=>!1});var Rn=r((Uc)=>{Object.defineProperty(Uc,"__esModule",{value:!0});Uc.checkEncCryptoKey=Uc.checkSigCryptoKey=void 0;function hi(i,n="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${n} must be ${i}`)}function En(i,n){return i.name===n}function gs(i){return parseInt(i.name.slice(4),10)}function CG(i){switch(i){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}function f6(i,n){if(n.length&&!n.some((c)=>i.usages.includes(c))){let c="CryptoKey does not support this operation, its usages must include ";if(n.length>2){let a=n.pop();c+=`one of ${n.join(", ")}, or ${a}.`}else if(n.length===2)c+=`one of ${n[0]} or ${n[1]}.`;else c+=`${n[0]}.`;throw TypeError(c)}}function OG(i,n,...c){switch(n){case"HS256":case"HS384":case"HS512":{if(!En(i.algorithm,"HMAC"))throw hi("HMAC");let a=parseInt(n.slice(2),10);if(gs(i.algorithm.hash)!==a)throw hi(`SHA-${a}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!En(i.algorithm,"RSASSA-PKCS1-v1_5"))throw hi("RSASSA-PKCS1-v1_5");let a=parseInt(n.slice(2),10);if(gs(i.algorithm.hash)!==a)throw hi(`SHA-${a}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!En(i.algorithm,"RSA-PSS"))throw hi("RSA-PSS");let a=parseInt(n.slice(2),10);if(gs(i.algorithm.hash)!==a)throw hi(`SHA-${a}`,"algorithm.hash");break}case"EdDSA":{if(i.algorithm.name!=="Ed25519"&&i.algorithm.name!=="Ed448")throw hi("Ed25519 or Ed448");break}case"ES256":case"ES384":case"ES512":{if(!En(i.algorithm,"ECDSA"))throw hi("ECDSA");let a=CG(n);if(i.algorithm.namedCurve!==a)throw hi(a,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}f6(i,c)}Uc.checkSigCryptoKey=OG;function AG(i,n,...c){switch(n){case"A128GCM":case"A192GCM":case"A256GCM":{if(!En(i.algorithm,"AES-GCM"))throw hi("AES-GCM");let a=parseInt(n.slice(1,4),10);if(i.algorithm.length!==a)throw hi(a,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!En(i.algorithm,"AES-KW"))throw hi("AES-KW");let a=parseInt(n.slice(1,4),10);if(i.algorithm.length!==a)throw hi(a,"algorithm.length");break}case"ECDH":{switch(i.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw hi("ECDH, X25519, or X448")}break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!En(i.algorithm,"PBKDF2"))throw hi("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!En(i.algorithm,"RSA-OAEP"))throw hi("RSA-OAEP");let a=parseInt(n.slice(9),10)||1;if(gs(i.algorithm.hash)!==a)throw hi(`SHA-${a}`,"algorithm.hash");break}default:throw TypeError("CryptoKey does not support this operation")}f6(i,c)}Uc.checkEncCryptoKey=AG});var ki=r((fp)=>{Object.defineProperty(fp,"__esModule",{value:!0});fp.withAlg=void 0;function v6(i,n,...c){if(c.length>2){let a=c.pop();i+=`one of type ${c.join(", ")}, or ${a}.`}else if(c.length===2)i+=`one of type ${c[0]} or ${c[1]}.`;else i+=`of type ${c[0]}.`;if(n==null)i+=` Received ${n}`;else if(typeof n==="function"&&n.name)i+=` Received function ${n.name}`;else if(typeof n==="object"&&n!=null){if(n.constructor&&n.constructor.name)i+=` Received an instance of ${n.constructor.name}`}return i}fp.default=(i,...n)=>{return v6("Key must be ",i,...n)};function NG(i,n,...c){return v6(`Key for the ${i} algorithm must be `,n,...c)}fp.withAlg=NG});var ks=r((Et)=>{Object.defineProperty(Et,"__esModule",{value:!0});var yG=require("crypto"),yt;Et.default=(i)=>{return yt||(yt=new Set((0,yG.getCiphers)())),yt.has(i)}});var Ui=r((vp)=>{Object.defineProperty(vp,"__esModule",{value:!0});vp.types=void 0;var Us=gi(),EG=Fi();vp.default=(i)=>(0,EG.default)(i)||(0,Us.isCryptoKey)(i);var w6=["KeyObject"];vp.types=w6;if(globalThis.CryptoKey||(Us.default===null||Us.default===void 0?void 0:Us.default.CryptoKey))w6.push("CryptoKey")});var Tt=r((jt)=>{Object.defineProperty(jt,"__esModule",{value:!0});var Rt=require("crypto"),RG=Pt(),jG=Ct(),TG=ni(),Qc=X(),DG=x6(),LG=Nt(),BG=gi(),FG=Rn(),b6=Fi(),gG=ki(),q6=ks(),kG=Ui();function UG(i,n,c,a,p,s){let e=parseInt(i.slice(1,4),10);if((0,b6.default)(n))n=n.export();let u=n.subarray(e>>3),o=n.subarray(0,e>>3),t=parseInt(i.slice(-3),10),m=`aes-${e}-cbc`;if(!(0,q6.default)(m))throw new Qc.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let d=(0,LG.default)(s,a,c,t,o,e),l;try{l=(0,DG.default)(p,d)}catch{}if(!l)throw new Qc.JWEDecryptionFailed;let f;try{let v=(0,Rt.createDecipheriv)(m,u,a);f=(0,TG.concat)(v.update(c),v.final())}catch{}if(!f)throw new Qc.JWEDecryptionFailed;return f}function QG(i,n,c,a,p,s){let u=`aes-${parseInt(i.slice(1,4),10)}-gcm`;if(!(0,q6.default)(u))throw new Qc.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);try{let o=(0,Rt.createDecipheriv)(u,n,a,{authTagLength:16});if(o.setAuthTag(p),s.byteLength)o.setAAD(s,{plaintextLength:c.length});let t=o.update(c);return o.final(),t}catch{throw new Qc.JWEDecryptionFailed}}var iY=(i,n,c,a,p,s)=>{let e;if((0,BG.isCryptoKey)(n))(0,FG.checkEncCryptoKey)(n,i,"decrypt"),e=Rt.KeyObject.from(n);else if(n instanceof Uint8Array||(0,b6.default)(n))e=n;else throw TypeError((0,gG.default)(n,...kG.types,"Uint8Array"));switch((0,jG.default)(i,e),(0,RG.default)(i,a),i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return UG(i,e,c,a,p,s);case"A128GCM":case"A192GCM":case"A256GCM":return QG(i,e,c,a,p,s);default:throw new Qc.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};jt.default=iY});var Dt=r((ia)=>{Object.defineProperty(ia,"__esModule",{value:!0});ia.deflate=ia.inflate=void 0;var W6=require("util"),K6=require("zlib"),nY=X(),cY=(0,W6.promisify)(K6.inflateRaw),aY=(0,W6.promisify)(K6.deflateRaw),pY=(i)=>cY(i,{maxOutputLength:250000}).catch(()=>{throw new nY.JWEDecompressionFailed});ia.inflate=pY;var sY=(i)=>aY(i);ia.deflate=sY});var na=r((Lt)=>{Object.defineProperty(Lt,"__esModule",{value:!0});var eY=(...i)=>{let n=i.filter(Boolean);if(n.length===0||n.length===1)return!0;let c;for(let a of n){let p=Object.keys(a);if(!c||c.size===0){c=new Set(p);continue}for(let s of p){if(c.has(s))return!1;c.add(s)}}return!0};Lt.default=eY});var Vi=r((Bt)=>{Object.defineProperty(Bt,"__esModule",{value:!0});function uY(i){return typeof i==="object"&&i!==null}function oY(i){if(!uY(i)||Object.prototype.toString.call(i)!=="[object Object]")return!1;if(Object.getPrototypeOf(i)===null)return!0;let n=i;while(Object.getPrototypeOf(n)!==null)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(i)===n}Bt.default=oY});var ie=r((ca)=>{Object.defineProperty(ca,"__esModule",{value:!0});ca.unwrap=ca.wrap=void 0;var _6=require("buffer"),Qs=require("crypto"),J6=X(),h6=ni(),tY=gi(),mY=Rn(),dY=Fi(),xY=ki(),$6=ks(),rY=Ui();function z6(i,n){if(i.symmetricKeySize<<3!==parseInt(n.slice(1,4),10))throw TypeError(`Invalid key size for alg: ${n}`)}function Z6(i,n,c){if((0,dY.default)(i))return i;if(i instanceof Uint8Array)return(0,Qs.createSecretKey)(i);if((0,tY.isCryptoKey)(i))return(0,mY.checkEncCryptoKey)(i,n,c),Qs.KeyObject.from(i);throw TypeError((0,xY.default)(i,...rY.types,"Uint8Array"))}var lY=(i,n,c)=>{let p=`aes${parseInt(i.slice(1,4),10)}-wrap`;if(!(0,$6.default)(p))throw new J6.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`);let s=Z6(n,i,"wrapKey");z6(s,i);let e=(0,Qs.createCipheriv)(p,s,_6.Buffer.alloc(8,166));return(0,h6.concat)(e.update(c),e.final())};ca.wrap=lY;var fY=(i,n,c)=>{let p=`aes${parseInt(i.slice(1,4),10)}-wrap`;if(!(0,$6.default)(p))throw new J6.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`);let s=Z6(n,i,"unwrapKey");z6(s,i);let e=(0,Qs.createDecipheriv)(p,s,_6.Buffer.alloc(8,166));return(0,h6.concat)(e.update(c),e.final())};ca.unwrap=fY});var wp=r((tn)=>{Object.defineProperty(tn,"__esModule",{value:!0});tn.setCurve=tn.weakMap=void 0;var ne=require("buffer"),G6=require("crypto"),Y6=X(),vY=gi(),wY=Fi(),bY=ki(),qY=Ui(),WY=ne.Buffer.from([42,134,72,206,61,3,1,7]),KY=ne.Buffer.from([43,129,4,0,34]),_Y=ne.Buffer.from([43,129,4,0,35]),JY=ne.Buffer.from([43,129,4,0,10]);tn.weakMap=new WeakMap;var hY=(i)=>{switch(i){case"prime256v1":return"P-256";case"secp384r1":return"P-384";case"secp521r1":return"P-521";case"secp256k1":return"secp256k1";default:throw new Y6.JOSENotSupported("Unsupported key curve for this operation")}},X6=(i,n)=>{var c;let a;if((0,vY.isCryptoKey)(i))a=G6.KeyObject.from(i);else if((0,wY.default)(i))a=i;else throw TypeError((0,bY.default)(i,...qY.types));if(a.type==="secret")throw TypeError('only "private" or "public" type keys can be used for this operation');switch(a.asymmetricKeyType){case"ed25519":case"ed448":return`Ed${a.asymmetricKeyType.slice(2)}`;case"x25519":case"x448":return`X${a.asymmetricKeyType.slice(1)}`;case"ec":{if(tn.weakMap.has(a))return tn.weakMap.get(a);let p=(c=a.asymmetricKeyDetails)===null||c===void 0?void 0:c.namedCurve;if(!p&&a.type==="private")p=X6((0,G6.createPublicKey)(a),!0);else if(!p){let e=a.export({format:"der",type:"spki"}),u=e[1]<128?14:15,o=e[u],t=e.slice(u+1,u+1+o);if(t.equals(WY))p="prime256v1";else if(t.equals(KY))p="secp384r1";else if(t.equals(_Y))p="secp521r1";else if(t.equals(JY))p="secp256k1";else throw new Y6.JOSENotSupported("Unsupported key curve for this operation")}if(n)return p;let s=hY(p);return tn.weakMap.set(a,s),s}default:throw TypeError("Invalid asymmetric key type for this operation")}};function $Y(i,n){tn.weakMap.set(i,n)}tn.setCurve=$Y;tn.default=X6});var im=r((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});jn.ecdhAllowed=jn.generateEpk=jn.deriveKey=void 0;var bp=require("crypto"),zY=require("util"),I6=wp(),rc=ni(),ZY=X(),gt=gi(),S6=Rn(),kt=Fi(),Ut=ki(),Qt=Ui(),Ft=(0,zY.promisify)(bp.generateKeyPair);async function GY(i,n,c,a,p=new Uint8Array(0),s=new Uint8Array(0)){let e;if((0,gt.isCryptoKey)(i))(0,S6.checkEncCryptoKey)(i,"ECDH"),e=bp.KeyObject.from(i);else if((0,kt.default)(i))e=i;else throw TypeError((0,Ut.default)(i,...Qt.types));let u;if((0,gt.isCryptoKey)(n))(0,S6.checkEncCryptoKey)(n,"ECDH","deriveBits"),u=bp.KeyObject.from(n);else if((0,kt.default)(n))u=n;else throw TypeError((0,Ut.default)(n,...Qt.types));let o=(0,rc.concat)((0,rc.lengthAndInput)(rc.encoder.encode(c)),(0,rc.lengthAndInput)(p),(0,rc.lengthAndInput)(s),(0,rc.uint32be)(a)),t=(0,bp.diffieHellman)({privateKey:u,publicKey:e});return(0,rc.concatKdf)(t,a,o)}jn.deriveKey=GY;async function YY(i){let n;if((0,gt.isCryptoKey)(i))n=bp.KeyObject.from(i);else if((0,kt.default)(i))n=i;else throw TypeError((0,Ut.default)(i,...Qt.types));switch(n.asymmetricKeyType){case"x25519":return Ft("x25519");case"x448":return Ft("x448");case"ec":{let c=(0,I6.default)(n);return Ft("ec",{namedCurve:c})}default:throw new ZY.JOSENotSupported("Invalid or unsupported EPK")}}jn.generateEpk=YY;var XY=(i)=>["P-256","P-384","P-521","X25519","X448"].includes((0,I6.default)(i));jn.ecdhAllowed=XY});var P6=r((nm)=>{Object.defineProperty(nm,"__esModule",{value:!0});var SY=X();function IY(i){if(!(i instanceof Uint8Array)||i.length<8)throw new SY.JWEInvalid("PBES2 Salt Input must be 8 or more octets")}nm.default=IY});var cm=r((aa)=>{Object.defineProperty(aa,"__esModule",{value:!0});aa.decrypt=aa.encrypt=void 0;var PY=require("util"),H6=require("crypto"),HY=xp(),M6=ni(),MY=Yi(),V6=ie(),C6=P6(),VY=gi(),CY=Rn(),OY=Fi(),AY=ki(),NY=Ui(),O6=(0,PY.promisify)(H6.pbkdf2);function A6(i,n){if((0,OY.default)(i))return i.export();if(i instanceof Uint8Array)return i;if((0,VY.isCryptoKey)(i))return(0,CY.checkEncCryptoKey)(i,n,"deriveBits","deriveKey"),H6.KeyObject.from(i).export();throw TypeError((0,AY.default)(i,...NY.types,"Uint8Array"))}var yY=async(i,n,c,a=2048,p=(0,HY.default)(new Uint8Array(16)))=>{(0,C6.default)(p);let s=(0,M6.p2s)(i,p),e=parseInt(i.slice(13,16),10)>>3,u=A6(n,i),o=await O6(u,s,a,e,`sha${i.slice(8,11)}`);return{encryptedKey:await(0,V6.wrap)(i.slice(-6),o,c),p2c:a,p2s:(0,MY.encode)(p)}};aa.encrypt=yY;var EY=async(i,n,c,a,p)=>{(0,C6.default)(p);let s=(0,M6.p2s)(i,p),e=parseInt(i.slice(13,16),10)>>3,u=A6(n,i),o=await O6(u,s,a,e,`sha${i.slice(8,11)}`);return(0,V6.unwrap)(i.slice(-6),o,c)};aa.decrypt=EY});var qp=r((mn)=>{Object.defineProperty(mn,"__esModule",{value:!0});mn.setModulusLength=mn.weakMap=void 0;mn.weakMap=new WeakMap;var ce=(i,n)=>{let c=i.readUInt8(1);if((c&128)===0){if(n===0)return c;return ce(i.subarray(2+c),n-1)}let a=c&127;c=0;for(let p=0;p<a;p++){c<<=8;let s=i.readUInt8(2+p);c|=s}if(n===0)return c;return ce(i.subarray(2+c),n-1)},RY=(i,n)=>{let c=i.readUInt8(1);if((c&128)===0)return ce(i.subarray(2),n);let a=c&127;return ce(i.subarray(2+a),n)},jY=(i)=>{var n,c;if(mn.weakMap.has(i))return mn.weakMap.get(i);let a=(c=(n=i.asymmetricKeyDetails)===null||n===void 0?void 0:n.modulusLength)!==null&&c!==void 0?c:RY(i.export({format:"der",type:"pkcs1"}),i.type==="private"?1:0)-1<<3;return mn.weakMap.set(i,a),a},TY=(i,n)=>{mn.weakMap.set(i,n)};mn.setModulusLength=TY;mn.default=(i,n)=>{if(jY(i)<2048)throw TypeError(`${n} requires key modulusLength to be 2048 bits or larger`)}});var am=r((pa)=>{Object.defineProperty(pa,"__esModule",{value:!0});pa.decrypt=pa.encrypt=void 0;var Wp=require("crypto"),DY=qp(),LY=gi(),BY=Rn(),FY=Fi(),gY=ki(),kY=Ui(),N6=(i,n)=>{if(i.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");(0,DY.default)(i,n)},y6=(i)=>{switch(i){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return Wp.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return Wp.constants.RSA_PKCS1_PADDING;default:return}},E6=(i)=>{switch(i){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return}};function R6(i,n,...c){if((0,FY.default)(i))return i;if((0,LY.isCryptoKey)(i))return(0,BY.checkEncCryptoKey)(i,n,...c),Wp.KeyObject.from(i);throw TypeError((0,gY.default)(i,...kY.types))}var UY=(i,n,c)=>{let a=y6(i),p=E6(i),s=R6(n,i,"wrapKey","encrypt");return N6(s,i),(0,Wp.publicEncrypt)({key:s,oaepHash:p,padding:a},c)};pa.encrypt=UY;var QY=(i,n,c)=>{let a=y6(i),p=E6(i),s=R6(n,i,"unwrapKey","decrypt");return N6(s,i),(0,Wp.privateDecrypt)({key:s,oaepHash:p,padding:a},c)};pa.decrypt=QY});var _p=r((Kp)=>{Object.defineProperty(Kp,"__esModule",{value:!0});Kp.bitLength=void 0;var iX=X(),nX=xp();function j6(i){switch(i){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new iX.JOSENotSupported(`Unsupported JWE Algorithm: ${i}`)}}Kp.bitLength=j6;Kp.default=(i)=>(0,nX.default)(new Uint8Array(j6(i)>>3))});var pe=r((Qi)=>{Object.defineProperty(Qi,"__esModule",{value:!0});Qi.fromX509=Qi.fromSPKI=Qi.fromPKCS8=Qi.toPKCS8=Qi.toSPKI=void 0;var ae=require("crypto"),T6=require("buffer"),cX=gi(),aX=Fi(),pX=ki(),sX=Ui(),D6=(i,n,c)=>{let a;if((0,cX.isCryptoKey)(c)){if(!c.extractable)throw TypeError("CryptoKey is not extractable");a=ae.KeyObject.from(c)}else if((0,aX.default)(c))a=c;else throw TypeError((0,pX.default)(c,...sX.types));if(a.type!==i)throw TypeError(`key is not a ${i} key`);return a.export({format:"pem",type:n})},eX=(i)=>{return D6("public","spki",i)};Qi.toSPKI=eX;var uX=(i)=>{return D6("private","pkcs8",i)};Qi.toPKCS8=uX;var oX=(i)=>(0,ae.createPrivateKey)({key:T6.Buffer.from(i.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"});Qi.fromPKCS8=oX;var tX=(i)=>(0,ae.createPublicKey)({key:T6.Buffer.from(i.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"});Qi.fromSPKI=tX;var mX=(i)=>(0,ae.createPublicKey)({key:i,type:"spki",format:"pem"});Qi.fromX509=mX});var B6=r((sm)=>{Object.defineProperty(sm,"__esModule",{value:!0});var ui=require("buffer"),dX=X(),xX=2,rX=3,lX=4,fX=48,pm=ui.Buffer.from([0]),se=ui.Buffer.from([xX]),vX=ui.Buffer.from([rX]),wX=ui.Buffer.from([fX]),bX=ui.Buffer.from([lX]),Tn=(i)=>{if(i<128)return ui.Buffer.from([i]);let n=ui.Buffer.alloc(5);n.writeUInt32BE(i,1);let c=1;while(n[c]===0)c++;return n[c-1]=128|5-c,n.slice(c-1)},qX=new Map([["P-256",ui.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",ui.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",ui.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",ui.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",ui.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",ui.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",ui.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",ui.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",ui.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);class L6{constructor(){this.length=0,this.elements=[]}oidFor(i){let n=qX.get(i);if(!n)throw new dX.JOSENotSupported("Invalid or unsupported OID");this.elements.push(n),this.length+=n.length}zero(){this.elements.push(se,ui.Buffer.from([1]),pm),this.length+=3}one(){this.elements.push(se,ui.Buffer.from([1]),ui.Buffer.from([1])),this.length+=3}unsignedInteger(i){if(i[0]&128){let n=Tn(i.length+1);this.elements.push(se,n,pm,i),this.length+=2+n.length+i.length}else{let n=0;while(i[n]===0&&(i[n+1]&128)===0)n++;let c=Tn(i.length-n);this.elements.push(se,Tn(i.length-n),i.slice(n)),this.length+=1+c.length+i.length-n}}octStr(i){let n=Tn(i.length);this.elements.push(bX,Tn(i.length),i),this.length+=1+n.length+i.length}bitStr(i){let n=Tn(i.length+1);this.elements.push(vX,Tn(i.length+1),pm,i),this.length+=1+n.length+i.length+1}add(i){this.elements.push(i),this.length+=i.length}end(i=wX){let n=Tn(this.length);return ui.Buffer.concat([i,n,...this.elements],1+n.length+this.length)}}sm.default=L6});var Jp=r((qn)=>{Object.defineProperty(qn,"__esModule",{value:!0});qn.jwkImport=qn.jwkExport=qn.rsaPssParams=qn.oneShotCallback=void 0;var[Dn,ee]=process.versions.node.split(".").map((i)=>parseInt(i,10));qn.oneShotCallback=Dn>=16||Dn===15&&ee>=13;qn.rsaPssParams=!("electron"in process.versions)&&(Dn>=17||Dn===16&&ee>=9);qn.jwkExport=Dn>=16||Dn===15&&ee>=9;qn.jwkImport=Dn>=16||Dn===15&&ee>=12});var g6=r((em)=>{Object.defineProperty(em,"__esModule",{value:!0});var vi=require("buffer"),Yn=require("crypto"),WX=Yi(),KX=X(),F6=wp(),_X=qp(),dn=B6(),JX=Jp(),hX=(i)=>{if(JX.jwkImport&&i.kty!=="oct")return i.d?(0,Yn.createPrivateKey)({format:"jwk",key:i}):(0,Yn.createPublicKey)({format:"jwk",key:i});switch(i.kty){case"oct":return(0,Yn.createSecretKey)((0,WX.decode)(i.k));case"RSA":{let n=new dn.default,c=i.d!==void 0,a=vi.Buffer.from(i.n,"base64"),p=vi.Buffer.from(i.e,"base64");if(c)n.zero(),n.unsignedInteger(a),n.unsignedInteger(p),n.unsignedInteger(vi.Buffer.from(i.d,"base64")),n.unsignedInteger(vi.Buffer.from(i.p,"base64")),n.unsignedInteger(vi.Buffer.from(i.q,"base64")),n.unsignedInteger(vi.Buffer.from(i.dp,"base64")),n.unsignedInteger(vi.Buffer.from(i.dq,"base64")),n.unsignedInteger(vi.Buffer.from(i.qi,"base64"));else n.unsignedInteger(a),n.unsignedInteger(p);let e={key:n.end(),format:"der",type:"pkcs1"},u=c?(0,Yn.createPrivateKey)(e):(0,Yn.createPublicKey)(e);return(0,_X.setModulusLength)(u,a.length<<3),u}case"EC":{let n=new dn.default,c=i.d!==void 0,a=vi.Buffer.concat([vi.Buffer.alloc(1,4),vi.Buffer.from(i.x,"base64"),vi.Buffer.from(i.y,"base64")]);if(c){n.zero();let u=new dn.default;u.oidFor("ecPublicKey"),u.oidFor(i.crv),n.add(u.end());let o=new dn.default;o.one(),o.octStr(vi.Buffer.from(i.d,"base64"));let t=new dn.default;t.bitStr(a);let m=t.end(vi.Buffer.from([161]));o.add(m);let d=o.end(),l=new dn.default;l.add(d);let f=l.end(vi.Buffer.from([4]));n.add(f);let v=n.end(),b=(0,Yn.createPrivateKey)({key:v,format:"der",type:"pkcs8"});return(0,F6.setCurve)(b,i.crv),b}let p=new dn.default;p.oidFor("ecPublicKey"),p.oidFor(i.crv),n.add(p.end()),n.bitStr(a);let s=n.end(),e=(0,Yn.createPublicKey)({key:s,format:"der",type:"spki"});return(0,F6.setCurve)(e,i.crv),e}case"OKP":{let n=new dn.default;if(i.d!==void 0){n.zero();let s=new dn.default;s.oidFor(i.crv),n.add(s.end());let e=new dn.default;e.octStr(vi.Buffer.from(i.d,"base64"));let u=e.end(vi.Buffer.from([4]));n.add(u);let o=n.end();return(0,Yn.createPrivateKey)({key:o,format:"der",type:"pkcs8"})}let a=new dn.default;a.oidFor(i.crv),n.add(a.end()),n.bitStr(vi.Buffer.from(i.x,"base64"));let p=n.end();return(0,Yn.createPublicKey)({key:p,format:"der",type:"spki"})}default:throw new KX.JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}};em.default=hX});var hp=r((Wn)=>{Object.defineProperty(Wn,"__esModule",{value:!0});Wn.importJWK=Wn.importPKCS8=Wn.importX509=Wn.importSPKI=void 0;var $X=Yi(),um=pe(),k6=g6(),U6=X(),zX=Vi();async function ZX(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return(0,um.fromSPKI)(i,n,c)}Wn.importSPKI=ZX;async function GX(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return(0,um.fromX509)(i,n,c)}Wn.importX509=GX;async function YX(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return(0,um.fromPKCS8)(i,n,c)}Wn.importPKCS8=YX;async function XX(i,n,c){var a;if(!(0,zX.default)(i))throw TypeError("JWK must be an object");switch(n||(n=i.alg),i.kty){case"oct":if(typeof i.k!=="string"||!i.k)throw TypeError('missing "k" (Key Value) Parameter value');if(c!==null&&c!==void 0||(c=i.ext!==!0),c)return(0,k6.default)({...i,alg:n,ext:(a=i.ext)!==null&&a!==void 0?a:!1});return(0,$X.decode)(i.k);case"RSA":if(i.oth!==void 0)throw new U6.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return(0,k6.default)({...i,alg:n});default:throw new U6.JOSENotSupported('Unsupported "kty" (Key Type) Parameter value')}}Wn.importJWK=XX});var $p=r((om)=>{Object.defineProperty(om,"__esModule",{value:!0});var Q6=ki(),Kn=Ui(),SX=(i,n)=>{if(n instanceof Uint8Array)return;if(!(0,Kn.default)(n))throw TypeError((0,Q6.withAlg)(i,n,...Kn.types,"Uint8Array"));if(n.type!=="secret")throw TypeError(`${Kn.types.join(" or ")} instances for symmetric algorithms must be of type "secret"`)},IX=(i,n,c)=>{if(!(0,Kn.default)(n))throw TypeError((0,Q6.withAlg)(i,n,...Kn.types));if(n.type==="secret")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if(c==="sign"&&n.type==="public")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if(c==="decrypt"&&n.type==="public")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(n.algorithm&&c==="verify"&&n.type==="private")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(n.algorithm&&c==="encrypt"&&n.type==="private")throw TypeError(`${Kn.types.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)},PX=(i,n,c)=>{if(i.startsWith("HS")||i==="dir"||i.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(i))SX(i,n);else IX(i,n,c)};om.default=PX});var xm=r((dm)=>{Object.defineProperty(dm,"__esModule",{value:!0});var tm=require("crypto"),HX=Pt(),MX=Ct(),VX=ni(),CX=Nt(),OX=gi(),AX=Rn(),i8=Fi(),NX=ki(),mm=X(),n8=ks(),yX=Ui();function EX(i,n,c,a,p){let s=parseInt(i.slice(1,4),10);if((0,i8.default)(c))c=c.export();let e=c.subarray(s>>3),u=c.subarray(0,s>>3),o=`aes-${s}-cbc`;if(!(0,n8.default)(o))throw new mm.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let t=(0,tm.createCipheriv)(o,e,a),m=(0,VX.concat)(t.update(n),t.final()),d=parseInt(i.slice(-3),10),l=(0,CX.default)(p,a,m,d,u,s);return{ciphertext:m,tag:l}}function RX(i,n,c,a,p){let e=`aes-${parseInt(i.slice(1,4),10)}-gcm`;if(!(0,n8.default)(e))throw new mm.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let u=(0,tm.createCipheriv)(e,c,a,{authTagLength:16});if(p.byteLength)u.setAAD(p,{plaintextLength:n.length});let o=u.update(n);u.final();let t=u.getAuthTag();return{ciphertext:o,tag:t}}var jX=(i,n,c,a,p)=>{let s;if((0,OX.isCryptoKey)(c))(0,AX.checkEncCryptoKey)(c,i,"encrypt"),s=tm.KeyObject.from(c);else if(c instanceof Uint8Array||(0,i8.default)(c))s=c;else throw TypeError((0,NX.default)(c,...yX.types,"Uint8Array"));switch((0,MX.default)(i,s),(0,HX.default)(i,a),i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return EX(i,n,s,a,p);case"A128GCM":case"A192GCM":case"A256GCM":return RX(i,n,s,a,p);default:throw new mm.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};dm.default=jX});var rm=r((sa)=>{Object.defineProperty(sa,"__esModule",{value:!0});sa.unwrap=sa.wrap=void 0;var TX=xm(),DX=Tt(),LX=Fs(),c8=Yi();async function BX(i,n,c,a){let p=i.slice(0,7);a||(a=(0,LX.default)(p));let{ciphertext:s,tag:e}=await(0,TX.default)(p,c,n,a,new Uint8Array(0));return{encryptedKey:s,iv:(0,c8.encode)(a),tag:(0,c8.encode)(e)}}sa.wrap=BX;async function FX(i,n,c,a,p){let s=i.slice(0,7);return(0,DX.default)(s,n,c,a,p,new Uint8Array(0))}sa.unwrap=FX});var s8=r((lm)=>{Object.defineProperty(lm,"__esModule",{value:!0});var a8=ie(),p8=im(),gX=cm(),kX=am(),zp=Yi(),ci=X(),UX=_p(),QX=hp(),iS=$p(),nS=Vi(),cS=rm();async function aS(i,n,c,a,p){switch((0,iS.default)(i,n,"decrypt"),i){case"dir":{if(c!==void 0)throw new ci.JWEInvalid("Encountered unexpected JWE Encrypted Key");return n}case"ECDH-ES":if(c!==void 0)throw new ci.JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!(0,nS.default)(a.epk))throw new ci.JWEInvalid('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!p8.ecdhAllowed(n))throw new ci.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");let s=await(0,QX.importJWK)(a.epk,i),e,u;if(a.apu!==void 0){if(typeof a.apu!=="string")throw new ci.JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{e=(0,zp.decode)(a.apu)}catch{throw new ci.JWEInvalid("Failed to base64url decode the apu")}}if(a.apv!==void 0){if(typeof a.apv!=="string")throw new ci.JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{u=(0,zp.decode)(a.apv)}catch{throw new ci.JWEInvalid("Failed to base64url decode the apv")}}let o=await p8.deriveKey(s,n,i==="ECDH-ES"?a.enc:i,i==="ECDH-ES"?(0,UX.bitLength)(a.enc):parseInt(i.slice(-5,-2),10),e,u);if(i==="ECDH-ES")return o;if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");return(0,a8.unwrap)(i.slice(-6),o,c)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");return(0,kX.decrypt)(i,n,c)}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");if(typeof a.p2c!=="number")throw new ci.JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');let s=(p===null||p===void 0?void 0:p.maxPBES2Count)||1e4;if(a.p2c>s)throw new ci.JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof a.p2s!=="string")throw new ci.JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let e;try{e=(0,zp.decode)(a.p2s)}catch{throw new ci.JWEInvalid("Failed to base64url decode the p2s")}return(0,gX.decrypt)(i,n,c,a.p2c,e)}case"A128KW":case"A192KW":case"A256KW":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");return(0,a8.unwrap)(i,n,c)}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(c===void 0)throw new ci.JWEInvalid("JWE Encrypted Key missing");if(typeof a.iv!=="string")throw new ci.JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof a.tag!=="string")throw new ci.JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');let s;try{s=(0,zp.decode)(a.iv)}catch{throw new ci.JWEInvalid("Failed to base64url decode the iv")}let e;try{e=(0,zp.decode)(a.tag)}catch{throw new ci.JWEInvalid("Failed to base64url decode the tag")}return(0,cS.unwrap)(i,n,c,s,e)}default:throw new ci.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}lm.default=aS});var ea=r((fm)=>{Object.defineProperty(fm,"__esModule",{value:!0});var pS=X();function sS(i,n,c,a,p){if(p.crit!==void 0&&a.crit===void 0)throw new i('"crit" (Critical) Header Parameter MUST be integrity protected');if(!a||a.crit===void 0)return new Set;if(!Array.isArray(a.crit)||a.crit.length===0||a.crit.some((e)=>typeof e!=="string"||e.length===0))throw new i('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let s;if(c!==void 0)s=new Map([...Object.entries(c),...n.entries()]);else s=n;for(let e of a.crit){if(!s.has(e))throw new pS.JOSENotSupported(`Extension Header Parameter "${e}" is not recognized`);if(p[e]===void 0)throw new i(`Extension Header Parameter "${e}" is missing`);else if(s.get(e)&&a[e]===void 0)throw new i(`Extension Header Parameter "${e}" MUST be integrity protected`)}return new Set(a.crit)}fm.default=sS});var wm=r((vm)=>{Object.defineProperty(vm,"__esModule",{value:!0});var eS=(i,n)=>{if(n!==void 0&&(!Array.isArray(n)||n.some((c)=>typeof c!=="string")))throw TypeError(`"${i}" option must be an array of strings`);if(!n)return;return new Set(n)};vm.default=eS});var oe=r((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});ue.flattenedDecrypt=void 0;var ua=Yi(),uS=Tt(),oS=Dt(),D=X(),tS=na(),bm=Vi(),mS=s8(),Zp=ni(),dS=_p(),xS=ea(),e8=wm();async function rS(i,n,c){var a;if(!(0,bm.default)(i))throw new D.JWEInvalid("Flattened JWE must be an object");if(i.protected===void 0&&i.header===void 0&&i.unprotected===void 0)throw new D.JWEInvalid("JOSE Header missing");if(typeof i.iv!=="string")throw new D.JWEInvalid("JWE Initialization Vector missing or incorrect type");if(typeof i.ciphertext!=="string")throw new D.JWEInvalid("JWE Ciphertext missing or incorrect type");if(typeof i.tag!=="string")throw new D.JWEInvalid("JWE Authentication Tag missing or incorrect type");if(i.protected!==void 0&&typeof i.protected!=="string")throw new D.JWEInvalid("JWE Protected Header incorrect type");if(i.encrypted_key!==void 0&&typeof i.encrypted_key!=="string")throw new D.JWEInvalid("JWE Encrypted Key incorrect type");if(i.aad!==void 0&&typeof i.aad!=="string")throw new D.JWEInvalid("JWE AAD incorrect type");if(i.header!==void 0&&!(0,bm.default)(i.header))throw new D.JWEInvalid("JWE Shared Unprotected Header incorrect type");if(i.unprotected!==void 0&&!(0,bm.default)(i.unprotected))throw new D.JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type");let p;if(i.protected)try{let G=(0,ua.decode)(i.protected);p=JSON.parse(Zp.decoder.decode(G))}catch{throw new D.JWEInvalid("JWE Protected Header is invalid")}if(!(0,tS.default)(p,i.header,i.unprotected))throw new D.JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");let s={...p,...i.header,...i.unprotected};if((0,xS.default)(D.JWEInvalid,new Map,c===null||c===void 0?void 0:c.crit,p,s),s.zip!==void 0){if(!p||!p.zip)throw new D.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if(s.zip!=="DEF")throw new D.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}let{alg:e,enc:u}=s;if(typeof e!=="string"||!e)throw new D.JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if(typeof u!=="string"||!u)throw new D.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");let o=c&&(0,e8.default)("keyManagementAlgorithms",c.keyManagementAlgorithms),t=c&&(0,e8.default)("contentEncryptionAlgorithms",c.contentEncryptionAlgorithms);if(o&&!o.has(e))throw new D.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(t&&!t.has(u))throw new D.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let m;if(i.encrypted_key!==void 0)try{m=(0,ua.decode)(i.encrypted_key)}catch{throw new D.JWEInvalid("Failed to base64url decode the encrypted_key")}let d=!1;if(typeof n==="function")n=await n(p,i),d=!0;let l;try{l=await(0,mS.default)(e,n,m,s,c)}catch(G){if(G instanceof TypeError||G instanceof D.JWEInvalid||G instanceof D.JOSENotSupported)throw G;l=(0,dS.default)(u)}let f,v;try{f=(0,ua.decode)(i.iv)}catch{throw new D.JWEInvalid("Failed to base64url decode the iv")}try{v=(0,ua.decode)(i.tag)}catch{throw new D.JWEInvalid("Failed to base64url decode the tag")}let b=Zp.encoder.encode((a=i.protected)!==null&&a!==void 0?a:""),q;if(i.aad!==void 0)q=(0,Zp.concat)(b,Zp.encoder.encode("."),Zp.encoder.encode(i.aad));else q=b;let w;try{w=(0,ua.decode)(i.ciphertext)}catch{throw new D.JWEInvalid("Failed to base64url decode the ciphertext")}let _=await(0,uS.default)(u,l,w,f,v,q);if(s.zip==="DEF")_=await((c===null||c===void 0?void 0:c.inflateRaw)||oS.inflate)(_);let K={plaintext:_};if(i.protected!==void 0)K.protectedHeader=p;if(i.aad!==void 0)try{K.additionalAuthenticatedData=(0,ua.decode)(i.aad)}catch{throw new D.JWEInvalid("Failed to base64url decode the aad")}if(i.unprotected!==void 0)K.sharedUnprotectedHeader=i.unprotected;if(i.header!==void 0)K.unprotectedHeader=i.header;if(d)return{...K,key:n};return K}ue.flattenedDecrypt=rS});var qm=r((te)=>{Object.defineProperty(te,"__esModule",{value:!0});te.compactDecrypt=void 0;var lS=oe(),u8=X(),fS=ni();async function vS(i,n,c){if(i instanceof Uint8Array)i=fS.decoder.decode(i);if(typeof i!=="string")throw new u8.JWEInvalid("Compact JWE must be a string or Uint8Array");let{0:a,1:p,2:s,3:e,4:u,length:o}=i.split(".");if(o!==5)throw new u8.JWEInvalid("Invalid Compact JWE");let t=await(0,lS.flattenedDecrypt)({ciphertext:e,iv:s||void 0,protected:a||void 0,tag:u||void 0,encrypted_key:p||void 0},n,c),m={plaintext:t.plaintext,protectedHeader:t.protectedHeader};if(typeof n==="function")return{...m,key:t.key};return m}te.compactDecrypt=vS});var t8=r((de)=>{Object.defineProperty(de,"__esModule",{value:!0});de.generalDecrypt=void 0;var wS=oe(),me=X(),o8=Vi();async function bS(i,n,c){if(!(0,o8.default)(i))throw new me.JWEInvalid("General JWE must be an object");if(!Array.isArray(i.recipients)||!i.recipients.every(o8.default))throw new me.JWEInvalid("JWE Recipients missing or incorrect type");if(!i.recipients.length)throw new me.JWEInvalid("JWE Recipients has no members");for(let a of i.recipients)try{return await(0,wS.flattenedDecrypt)({aad:i.aad,ciphertext:i.ciphertext,encrypted_key:a.encrypted_key,header:a.header,iv:i.iv,protected:i.protected,tag:i.tag,unprotected:i.unprotected},n,c)}catch{}throw new me.JWEDecryptionFailed}de.generalDecrypt=bS});var d8=r((Wm)=>{Object.defineProperty(Wm,"__esModule",{value:!0});var qS=2,WS=48;class m8{constructor(i){if(i[0]!==WS)throw TypeError();if(this.buffer=i,this.offset=1,this.decodeLength()!==i.length-this.offset)throw TypeError()}decodeLength(){let i=this.buffer[this.offset++];if(i&128){let n=i&-129;i=0;for(let c=0;c<n;c++)i=i<<8|this.buffer[this.offset+c];this.offset+=n}return i}unsignedInteger(){if(this.buffer[this.offset++]!==qS)throw TypeError();let i=this.decodeLength();if(this.buffer[this.offset]===0)this.offset++,i--;let n=this.buffer.slice(this.offset,this.offset+i);return this.offset+=i,n}end(){if(this.offset!==this.buffer.length)throw TypeError()}}Wm.default=m8});var x8=r((_m)=>{Object.defineProperty(_m,"__esModule",{value:!0});var xe=require("crypto"),$i=Yi(),KS=d8(),re=X(),Km=wp(),_S=gi(),JS=Fi(),hS=ki(),$S=Ui(),zS=Jp(),le=(i)=>{let n;if((0,_S.isCryptoKey)(i)){if(!i.extractable)throw TypeError("CryptoKey is not extractable");n=xe.KeyObject.from(i)}else if((0,JS.default)(i))n=i;else if(i instanceof Uint8Array)return{kty:"oct",k:(0,$i.encode)(i)};else throw TypeError((0,hS.default)(i,...$S.types,"Uint8Array"));if(zS.jwkExport){if(n.type!=="secret"&&!["rsa","ec","ed25519","x25519","ed448","x448"].includes(n.asymmetricKeyType))throw new re.JOSENotSupported("Unsupported key asymmetricKeyType");return n.export({format:"jwk"})}switch(n.type){case"secret":return{kty:"oct",k:(0,$i.encode)(n.export())};case"private":case"public":switch(n.asymmetricKeyType){case"rsa":{let c=n.export({format:"der",type:"pkcs1"}),a=new KS.default(c);if(n.type==="private")a.unsignedInteger();let p=(0,$i.encode)(a.unsignedInteger()),s=(0,$i.encode)(a.unsignedInteger()),e;if(n.type==="private")e={d:(0,$i.encode)(a.unsignedInteger()),p:(0,$i.encode)(a.unsignedInteger()),q:(0,$i.encode)(a.unsignedInteger()),dp:(0,$i.encode)(a.unsignedInteger()),dq:(0,$i.encode)(a.unsignedInteger()),qi:(0,$i.encode)(a.unsignedInteger())};return a.end(),{kty:"RSA",n:p,e:s,...e}}case"ec":{let c=(0,Km.default)(n),a,p,s;switch(c){case"secp256k1":a=64,p=33,s=-1;break;case"P-256":a=64,p=36,s=-1;break;case"P-384":a=96,p=35,s=-3;break;case"P-521":a=132,p=35,s=-3;break;default:throw new re.JOSENotSupported("Unsupported curve")}if(n.type==="public"){let u=n.export({type:"spki",format:"der"});return{kty:"EC",crv:c,x:(0,$i.encode)(u.subarray(-a,-a/2)),y:(0,$i.encode)(u.subarray(-a/2))}}let e=n.export({type:"pkcs8",format:"der"});if(e.length<100)p+=s;return{...le((0,xe.createPublicKey)(n)),d:(0,$i.encode)(e.subarray(p,p+a/2))}}case"ed25519":case"x25519":{let c=(0,Km.default)(n);if(n.type==="public"){let p=n.export({type:"spki",format:"der"});return{kty:"OKP",crv:c,x:(0,$i.encode)(p.subarray(-32))}}let a=n.export({type:"pkcs8",format:"der"});return{...le((0,xe.createPublicKey)(n)),d:(0,$i.encode)(a.subarray(-32))}}case"ed448":case"x448":{let c=(0,Km.default)(n);if(n.type==="public"){let p=n.export({type:"spki",format:"der"});return{kty:"OKP",crv:c,x:(0,$i.encode)(p.subarray(c==="Ed448"?-57:-56))}}let a=n.export({type:"pkcs8",format:"der"});return{...le((0,xe.createPublicKey)(n)),d:(0,$i.encode)(a.subarray(c==="Ed448"?-57:-56))}}default:throw new re.JOSENotSupported("Unsupported key asymmetricKeyType")}default:throw new re.JOSENotSupported("Unsupported key type")}};_m.default=le});var Jm=r((Ln)=>{Object.defineProperty(Ln,"__esModule",{value:!0});Ln.exportJWK=Ln.exportPKCS8=Ln.exportSPKI=void 0;var ZS=pe(),GS=pe(),YS=x8();async function XS(i){return(0,ZS.toSPKI)(i)}Ln.exportSPKI=XS;async function SS(i){return(0,GS.toPKCS8)(i)}Ln.exportPKCS8=SS;async function IS(i){return(0,YS.default)(i)}Ln.exportJWK=IS});var zm=r(($m)=>{Object.defineProperty($m,"__esModule",{value:!0});var r8=ie(),hm=im(),PS=cm(),HS=am(),l8=Yi(),oa=_p(),f8=X(),MS=Jm(),VS=$p(),CS=rm();async function OS(i,n,c,a,p={}){let s,e,u;switch((0,VS.default)(i,c,"encrypt"),i){case"dir":{u=c;break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!hm.ecdhAllowed(c))throw new f8.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");let{apu:o,apv:t}=p,{epk:m}=p;m||(m=(await hm.generateEpk(c)).privateKey);let{x:d,y:l,crv:f,kty:v}=await(0,MS.exportJWK)(m),b=await hm.deriveKey(c,m,i==="ECDH-ES"?n:i,i==="ECDH-ES"?(0,oa.bitLength)(n):parseInt(i.slice(-5,-2),10),o,t);if(e={epk:{x:d,crv:f,kty:v}},v==="EC")e.epk.y=l;if(o)e.apu=(0,l8.encode)(o);if(t)e.apv=(0,l8.encode)(t);if(i==="ECDH-ES"){u=b;break}u=a||(0,oa.default)(n);let q=i.slice(-6);s=await(0,r8.wrap)(q,b,u);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{u=a||(0,oa.default)(n),s=await(0,HS.encrypt)(i,c,u);break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{u=a||(0,oa.default)(n);let{p2c:o,p2s:t}=p;({encryptedKey:s,...e}=await(0,PS.encrypt)(i,c,u,o,t));break}case"A128KW":case"A192KW":case"A256KW":{u=a||(0,oa.default)(n),s=await(0,r8.wrap)(i,c,u);break}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{u=a||(0,oa.default)(n);let{iv:o}=p;({encryptedKey:s,...e}=await(0,CS.wrap)(i,c,u,o));break}default:throw new f8.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:u,encryptedKey:s,parameters:e}}$m.default=OS});var fe=r((fc)=>{Object.defineProperty(fc,"__esModule",{value:!0});fc.FlattenedEncrypt=fc.unprotected=void 0;var ta=Yi(),v8=xm(),AS=Dt(),NS=Fs(),yS=zm(),lc=X(),ES=na(),ma=ni(),RS=ea();fc.unprotected=Symbol();class w8{constructor(i){if(!(i instanceof Uint8Array))throw TypeError("plaintext must be an instance of Uint8Array");this._plaintext=i}setKeyManagementParameters(i){if(this._keyManagementParameters)throw TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=i,this}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setSharedUnprotectedHeader(i){if(this._sharedUnprotectedHeader)throw TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=i,this}setUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}setAdditionalAuthenticatedData(i){return this._aad=i,this}setContentEncryptionKey(i){if(this._cek)throw TypeError("setContentEncryptionKey can only be called once");return this._cek=i,this}setInitializationVector(i){if(this._iv)throw TypeError("setInitializationVector can only be called once");return this._iv=i,this}async encrypt(i,n){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new lc.JWEInvalid("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!(0,ES.default)(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new lc.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let c={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if((0,RS.default)(lc.JWEInvalid,new Map,n===null||n===void 0?void 0:n.crit,this._protectedHeader,c),c.zip!==void 0){if(!this._protectedHeader||!this._protectedHeader.zip)throw new lc.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if(c.zip!=="DEF")throw new lc.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}let{alg:a,enc:p}=c;if(typeof a!=="string"||!a)throw new lc.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof p!=="string"||!p)throw new lc.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let s;if(a==="dir"){if(this._cek)throw TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if(a==="ECDH-ES"){if(this._cek)throw TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement")}let e;{let f;if({cek:e,encryptedKey:s,parameters:f}=await(0,yS.default)(a,p,i,this._cek,this._keyManagementParameters),f)if(n&&fc.unprotected in n)if(!this._unprotectedHeader)this.setUnprotectedHeader(f);else this._unprotectedHeader={...this._unprotectedHeader,...f};else if(!this._protectedHeader)this.setProtectedHeader(f);else this._protectedHeader={...this._protectedHeader,...f}}this._iv||(this._iv=(0,NS.default)(p));let u,o,t;if(this._protectedHeader)o=ma.encoder.encode((0,ta.encode)(JSON.stringify(this._protectedHeader)));else o=ma.encoder.encode("");if(this._aad)t=(0,ta.encode)(this._aad),u=(0,ma.concat)(o,ma.encoder.encode("."),ma.encoder.encode(t));else u=o;let m,d;if(c.zip==="DEF"){let f=await((n===null||n===void 0?void 0:n.deflateRaw)||AS.deflate)(this._plaintext);({ciphertext:m,tag:d}=await(0,v8.default)(p,f,e,this._iv,u))}else({ciphertext:m,tag:d}=await(0,v8.default)(p,this._plaintext,e,this._iv,u));let l={ciphertext:(0,ta.encode)(m),iv:(0,ta.encode)(this._iv),tag:(0,ta.encode)(d)};if(s)l.encrypted_key=(0,ta.encode)(s);if(t)l.aad=t;if(this._protectedHeader)l.protected=ma.decoder.decode(o);if(this._sharedUnprotectedHeader)l.unprotected=this._sharedUnprotectedHeader;if(this._unprotectedHeader)l.header=this._unprotectedHeader;return l}}fc.FlattenedEncrypt=w8});var W8=r((ve)=>{Object.defineProperty(ve,"__esModule",{value:!0});ve.GeneralEncrypt=void 0;var Zm=fe(),Bn=X(),jS=_p(),TS=na(),DS=zm(),LS=Yi(),BS=ea();class b8{constructor(i,n,c){this.parent=i,this.key=n,this.options=c}setUnprotectedHeader(i){if(this.unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=i,this}addRecipient(...i){return this.parent.addRecipient(...i)}encrypt(...i){return this.parent.encrypt(...i)}done(){return this.parent}}class q8{constructor(i){this._recipients=[],this._plaintext=i}addRecipient(i,n){let c=new b8(this,i,{crit:n===null||n===void 0?void 0:n.crit});return this._recipients.push(c),c}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setSharedUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}setAdditionalAuthenticatedData(i){return this._aad=i,this}async encrypt(i){var n,c,a;if(!this._recipients.length)throw new Bn.JWEInvalid("at least one recipient must be added");if(i={deflateRaw:i===null||i===void 0?void 0:i.deflateRaw},this._recipients.length===1){let[u]=this._recipients,o=await new Zm.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(u.unprotectedHeader).encrypt(u.key,{...u.options,...i}),t={ciphertext:o.ciphertext,iv:o.iv,recipients:[{}],tag:o.tag};if(o.aad)t.aad=o.aad;if(o.protected)t.protected=o.protected;if(o.unprotected)t.unprotected=o.unprotected;if(o.encrypted_key)t.recipients[0].encrypted_key=o.encrypted_key;if(o.header)t.recipients[0].header=o.header;return t}let p;for(let u=0;u<this._recipients.length;u++){let o=this._recipients[u];if(!(0,TS.default)(this._protectedHeader,this._unprotectedHeader,o.unprotectedHeader))throw new Bn.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let t={...this._protectedHeader,...this._unprotectedHeader,...o.unprotectedHeader},{alg:m}=t;if(typeof m!=="string"||!m)throw new Bn.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(m==="dir"||m==="ECDH-ES")throw new Bn.JWEInvalid('"dir" and "ECDH-ES" alg may only be used with a single recipient');if(typeof t.enc!=="string"||!t.enc)throw new Bn.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(!p)p=t.enc;else if(p!==t.enc)throw new Bn.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients');if((0,BS.default)(Bn.JWEInvalid,new Map,o.options.crit,this._protectedHeader,t),t.zip!==void 0){if(!this._protectedHeader||!this._protectedHeader.zip)throw new Bn.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}}let s=(0,jS.default)(p),e={ciphertext:"",iv:"",recipients:[],tag:""};for(let u=0;u<this._recipients.length;u++){let o=this._recipients[u],t={};e.recipients.push(t);let d={...this._protectedHeader,...this._unprotectedHeader,...o.unprotectedHeader}.alg.startsWith("PBES2")?2048+u:void 0;if(u===0){let v=await new Zm.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(s).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(o.unprotectedHeader).setKeyManagementParameters({p2c:d}).encrypt(o.key,{...o.options,...i,[Zm.unprotected]:!0});if(e.ciphertext=v.ciphertext,e.iv=v.iv,e.tag=v.tag,v.aad)e.aad=v.aad;if(v.protected)e.protected=v.protected;if(v.unprotected)e.unprotected=v.unprotected;if(t.encrypted_key=v.encrypted_key,v.header)t.header=v.header;continue}let{encryptedKey:l,parameters:f}=await(0,DS.default)(((n=o.unprotectedHeader)===null||n===void 0?void 0:n.alg)||((c=this._protectedHeader)===null||c===void 0?void 0:c.alg)||((a=this._unprotectedHeader)===null||a===void 0?void 0:a.alg),p,o.key,s,{p2c:d});if(t.encrypted_key=(0,LS.encode)(l),o.unprotectedHeader||f)t.header={...o.unprotectedHeader,...f}}return e}}ve.GeneralEncrypt=q8});var Ym=r((Gm)=>{Object.defineProperty(Gm,"__esModule",{value:!0});var FS=X();function gS(i){switch(i){case"PS256":case"RS256":case"ES256":case"ES256K":return"sha256";case"PS384":case"RS384":case"ES384":return"sha384";case"PS512":case"RS512":case"ES512":return"sha512";case"EdDSA":return;default:throw new FS.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Gm.default=gS});var Im=r((Sm)=>{Object.defineProperty(Sm,"__esModule",{value:!0});var K8=require("crypto"),kS=wp(),US=X(),Xm=qp(),da=Jp(),_8={padding:K8.constants.RSA_PKCS1_PSS_PADDING,saltLength:K8.constants.RSA_PSS_SALTLEN_DIGEST},QS=new Map([["ES256","P-256"],["ES256K","secp256k1"],["ES384","P-384"],["ES512","P-521"]]);function i7(i,n){switch(i){case"EdDSA":if(!["ed25519","ed448"].includes(n.asymmetricKeyType))throw TypeError("Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448");return n;case"RS256":case"RS384":case"RS512":if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,Xm.default)(n,i),n;case(da.rsaPssParams&&"PS256"):case(da.rsaPssParams&&"PS384"):case(da.rsaPssParams&&"PS512"):if(n.asymmetricKeyType==="rsa-pss"){let{hashAlgorithm:c,mgf1HashAlgorithm:a,saltLength:p}=n.asymmetricKeyDetails,s=parseInt(i.slice(-3),10);if(c!==void 0&&(c!==`sha${s}`||a!==c))throw TypeError(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${i}`);if(p!==void 0&&p>s>>3)throw TypeError(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${i}`)}else if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss");return(0,Xm.default)(n,i),{key:n,..._8};case(!da.rsaPssParams&&"PS256"):case(!da.rsaPssParams&&"PS384"):case(!da.rsaPssParams&&"PS512"):if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,Xm.default)(n,i),{key:n,..._8};case"ES256":case"ES256K":case"ES384":case"ES512":{if(n.asymmetricKeyType!=="ec")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be ec");let c=(0,kS.default)(n),a=QS.get(i);if(c!==a)throw TypeError(`Invalid key curve for the algorithm, its curve must be ${a}, got ${c}`);return{dsaEncoding:"ieee-p1363",key:n}}default:throw new US.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Sm.default=i7});var J8=r((Pm)=>{Object.defineProperty(Pm,"__esModule",{value:!0});var n7=X();function c7(i){switch(i){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new n7.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Pm.default=c7});var Vm=r((Mm)=>{Object.defineProperty(Mm,"__esModule",{value:!0});var Hm=require("crypto"),a7=gi(),p7=Rn(),h8=ki(),$8=Ui();function s7(i,n,c){if(n instanceof Uint8Array){if(!i.startsWith("HS"))throw TypeError((0,h8.default)(n,...$8.types));return(0,Hm.createSecretKey)(n)}if(n instanceof Hm.KeyObject)return n;if((0,a7.isCryptoKey)(n))return(0,p7.checkSigCryptoKey)(n,i,c),Hm.KeyObject.from(n);throw TypeError((0,h8.default)(n,...$8.types,"Uint8Array"))}Mm.default=s7});var Am=r((Om)=>{Object.defineProperty(Om,"__esModule",{value:!0});var we=require("crypto"),e7=require("util"),u7=Ym(),o7=J8(),t7=Im(),m7=Vm(),Cm;if(we.sign.length>3)Cm=(0,e7.promisify)(we.sign);else Cm=we.sign;var d7=async(i,n,c)=>{let a=(0,m7.default)(i,n,"sign");if(i.startsWith("HS")){let p=we.createHmac((0,o7.default)(i),a);return p.update(c),p.digest()}return Cm((0,u7.default)(i),c,(0,t7.default)(i,a))};Om.default=d7});var z8=r((ym)=>{Object.defineProperty(ym,"__esModule",{value:!0});var be=require("crypto"),x7=require("util"),r7=Ym(),l7=Im(),f7=Am(),v7=Vm(),w7=Jp(),Nm;if(be.verify.length>4&&w7.oneShotCallback)Nm=(0,x7.promisify)(be.verify);else Nm=be.verify;var b7=async(i,n,c,a)=>{let p=(0,v7.default)(i,n,"verify");if(i.startsWith("HS")){let u=await(0,f7.default)(i,p,a),o=c;try{return be.timingSafeEqual(o,u)}catch{return!1}}let s=(0,r7.default)(i),e=(0,l7.default)(i,p);try{return await Nm(s,a,e,c)}catch{return!1}};ym.default=b7});var We=r((qe)=>{Object.defineProperty(qe,"__esModule",{value:!0});qe.flattenedVerify=void 0;var Em=Yi(),q7=z8(),zi=X(),xa=ni(),W7=na(),Z8=Vi(),K7=$p(),_7=ea(),J7=wm();async function h7(i,n,c){var a;if(!(0,Z8.default)(i))throw new zi.JWSInvalid("Flattened JWS must be an object");if(i.protected===void 0&&i.header===void 0)throw new zi.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(i.protected!==void 0&&typeof i.protected!=="string")throw new zi.JWSInvalid("JWS Protected Header incorrect type");if(i.payload===void 0)throw new zi.JWSInvalid("JWS Payload missing");if(typeof i.signature!=="string")throw new zi.JWSInvalid("JWS Signature missing or incorrect type");if(i.header!==void 0&&!(0,Z8.default)(i.header))throw new zi.JWSInvalid("JWS Unprotected Header incorrect type");let p={};if(i.protected)try{let q=(0,Em.decode)(i.protected);p=JSON.parse(xa.decoder.decode(q))}catch{throw new zi.JWSInvalid("JWS Protected Header is invalid")}if(!(0,W7.default)(p,i.header))throw new zi.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let s={...p,...i.header},e=(0,_7.default)(zi.JWSInvalid,new Map([["b64",!0]]),c===null||c===void 0?void 0:c.crit,p,s),u=!0;if(e.has("b64")){if(u=p.b64,typeof u!=="boolean")throw new zi.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}let{alg:o}=s;if(typeof o!=="string"||!o)throw new zi.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let t=c&&(0,J7.default)("algorithms",c.algorithms);if(t&&!t.has(o))throw new zi.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(u){if(typeof i.payload!=="string")throw new zi.JWSInvalid("JWS Payload must be a string")}else if(typeof i.payload!=="string"&&!(i.payload instanceof Uint8Array))throw new zi.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let m=!1;if(typeof n==="function")n=await n(p,i),m=!0;(0,K7.default)(o,n,"verify");let d=(0,xa.concat)(xa.encoder.encode((a=i.protected)!==null&&a!==void 0?a:""),xa.encoder.encode("."),typeof i.payload==="string"?xa.encoder.encode(i.payload):i.payload),l;try{l=(0,Em.decode)(i.signature)}catch{throw new zi.JWSInvalid("Failed to base64url decode the signature")}if(!await(0,q7.default)(o,n,l,d))throw new zi.JWSSignatureVerificationFailed;let v;if(u)try{v=(0,Em.decode)(i.payload)}catch{throw new zi.JWSInvalid("Failed to base64url decode the payload")}else if(typeof i.payload==="string")v=xa.encoder.encode(i.payload);else v=i.payload;let b={payload:v};if(i.protected!==void 0)b.protectedHeader=p;if(i.header!==void 0)b.unprotectedHeader=i.header;if(m)return{...b,key:n};return b}qe.flattenedVerify=h7});var Rm=r((Ke)=>{Object.defineProperty(Ke,"__esModule",{value:!0});Ke.compactVerify=void 0;var $7=We(),G8=X(),z7=ni();async function Z7(i,n,c){if(i instanceof Uint8Array)i=z7.decoder.decode(i);if(typeof i!=="string")throw new G8.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:a,1:p,2:s,length:e}=i.split(".");if(e!==3)throw new G8.JWSInvalid("Invalid Compact JWS");let u=await(0,$7.flattenedVerify)({payload:p,protected:a,signature:s},n,c),o={payload:u.payload,protectedHeader:u.protectedHeader};if(typeof n==="function")return{...o,key:u.key};return o}Ke.compactVerify=Z7});var X8=r((_e)=>{Object.defineProperty(_e,"__esModule",{value:!0});_e.generalVerify=void 0;var G7=We(),jm=X(),Y8=Vi();async function Y7(i,n,c){if(!(0,Y8.default)(i))throw new jm.JWSInvalid("General JWS must be an object");if(!Array.isArray(i.signatures)||!i.signatures.every(Y8.default))throw new jm.JWSInvalid("JWS Signatures missing or incorrect type");for(let a of i.signatures)try{return await(0,G7.flattenedVerify)({header:a.header,payload:i.payload,protected:a.protected,signature:a.signature},n,c)}catch{}throw new jm.JWSSignatureVerificationFailed}_e.generalVerify=Y7});var Dm=r((Tm)=>{Object.defineProperty(Tm,"__esModule",{value:!0});Tm.default=(i)=>Math.floor(i.getTime()/1000)});var Fm=r((Bm)=>{Object.defineProperty(Bm,"__esModule",{value:!0});var S8=60,I8=S8*60,Lm=I8*24,X7=Lm*7,S7=Lm*365.25,I7=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;Bm.default=(i)=>{let n=I7.exec(i);if(!n)throw TypeError("Invalid time period format");let c=parseFloat(n[1]);switch(n[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(c);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(c*S8);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(c*I8);case"day":case"days":case"d":return Math.round(c*Lm);case"week":case"weeks":case"w":return Math.round(c*X7);default:return Math.round(c*S7)}}});var Je=r((gm)=>{Object.defineProperty(gm,"__esModule",{value:!0});var yi=X(),P7=ni(),H7=Dm(),P8=Fm(),M7=Vi(),H8=(i)=>i.toLowerCase().replace(/^application\//,""),V7=(i,n)=>{if(typeof i==="string")return n.includes(i);if(Array.isArray(i))return n.some(Set.prototype.has.bind(new Set(i)));return!1};gm.default=(i,n,c={})=>{let{typ:a}=c;if(a&&(typeof i.typ!=="string"||H8(i.typ)!==H8(a)))throw new yi.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed");let p;try{p=JSON.parse(P7.decoder.decode(n))}catch{}if(!(0,M7.default)(p))throw new yi.JWTInvalid("JWT Claims Set must be a top-level JSON object");let{requiredClaims:s=[],issuer:e,subject:u,audience:o,maxTokenAge:t}=c;if(t!==void 0)s.push("iat");if(o!==void 0)s.push("aud");if(u!==void 0)s.push("sub");if(e!==void 0)s.push("iss");for(let f of new Set(s.reverse()))if(!(f in p))throw new yi.JWTClaimValidationFailed(`missing required "${f}" claim`,f,"missing");if(e&&!(Array.isArray(e)?e:[e]).includes(p.iss))throw new yi.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed");if(u&&p.sub!==u)throw new yi.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed");if(o&&!V7(p.aud,typeof o==="string"?[o]:o))throw new yi.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed");let m;switch(typeof c.clockTolerance){case"string":m=(0,P8.default)(c.clockTolerance);break;case"number":m=c.clockTolerance;break;case"undefined":m=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:d}=c,l=(0,H7.default)(d||new Date);if((p.iat!==void 0||t)&&typeof p.iat!=="number")throw new yi.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid");if(p.nbf!==void 0){if(typeof p.nbf!=="number")throw new yi.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid");if(p.nbf>l+m)throw new yi.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}if(p.exp!==void 0){if(typeof p.exp!=="number")throw new yi.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid");if(p.exp<=l-m)throw new yi.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}if(t){let f=l-p.iat,v=typeof t==="number"?t:(0,P8.default)(t);if(f-m>v)throw new yi.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(f<0-m)throw new yi.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return p}});var M8=r((he)=>{Object.defineProperty(he,"__esModule",{value:!0});he.jwtVerify=void 0;var C7=Rm(),O7=Je(),A7=X();async function N7(i,n,c){var a;let p=await(0,C7.compactVerify)(i,n,c);if(((a=p.protectedHeader.crit)===null||a===void 0?void 0:a.includes("b64"))&&p.protectedHeader.b64===!1)throw new A7.JWTInvalid("JWTs MUST NOT use unencoded payload");let e={payload:(0,O7.default)(p.protectedHeader,p.payload,c),protectedHeader:p.protectedHeader};if(typeof n==="function")return{...e,key:p.key};return e}he.jwtVerify=N7});var V8=r(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});$e.jwtDecrypt=void 0;var y7=qm(),E7=Je(),km=X();async function R7(i,n,c){let a=await(0,y7.compactDecrypt)(i,n,c),p=(0,E7.default)(a.protectedHeader,a.plaintext,c),{protectedHeader:s}=a;if(s.iss!==void 0&&s.iss!==p.iss)throw new km.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(s.sub!==void 0&&s.sub!==p.sub)throw new km.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(s.aud!==void 0&&JSON.stringify(s.aud)!==JSON.stringify(p.aud))throw new km.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch");let e={payload:p,protectedHeader:s};if(typeof n==="function")return{...e,key:a.key};return e}$e.jwtDecrypt=R7});var Um=r((ze)=>{Object.defineProperty(ze,"__esModule",{value:!0});ze.CompactEncrypt=void 0;var j7=fe();class C8{constructor(i){this._flattened=new j7.FlattenedEncrypt(i)}setContentEncryptionKey(i){return this._flattened.setContentEncryptionKey(i),this}setInitializationVector(i){return this._flattened.setInitializationVector(i),this}setProtectedHeader(i){return this._flattened.setProtectedHeader(i),this}setKeyManagementParameters(i){return this._flattened.setKeyManagementParameters(i),this}async encrypt(i,n){let c=await this._flattened.encrypt(i,n);return[c.protected,c.encrypted_key,c.iv,c.ciphertext,c.tag].join(".")}}ze.CompactEncrypt=C8});var Ge=r((Ze)=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.FlattenedSign=void 0;var Qm=Yi(),T7=Am(),D7=na(),Gp=X(),vc=ni(),L7=$p(),B7=ea();class O8{constructor(i){if(!(i instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this._payload=i}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}async sign(i,n){if(!this._protectedHeader&&!this._unprotectedHeader)throw new Gp.JWSInvalid("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,D7.default)(this._protectedHeader,this._unprotectedHeader))throw new Gp.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let c={...this._protectedHeader,...this._unprotectedHeader},a=(0,B7.default)(Gp.JWSInvalid,new Map([["b64",!0]]),n===null||n===void 0?void 0:n.crit,this._protectedHeader,c),p=!0;if(a.has("b64")){if(p=this._protectedHeader.b64,typeof p!=="boolean")throw new Gp.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}let{alg:s}=c;if(typeof s!=="string"||!s)throw new Gp.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,L7.default)(s,i,"sign");let e=this._payload;if(p)e=vc.encoder.encode((0,Qm.encode)(e));let u;if(this._protectedHeader)u=vc.encoder.encode((0,Qm.encode)(JSON.stringify(this._protectedHeader)));else u=vc.encoder.encode("");let o=(0,vc.concat)(u,vc.encoder.encode("."),e),t=await(0,T7.default)(s,i,o),m={signature:(0,Qm.encode)(t),payload:""};if(p)m.payload=vc.decoder.decode(e);if(this._unprotectedHeader)m.header=this._unprotectedHeader;if(this._protectedHeader)m.protected=vc.decoder.decode(u);return m}}Ze.FlattenedSign=O8});var id=r((Ye)=>{Object.defineProperty(Ye,"__esModule",{value:!0});Ye.CompactSign=void 0;var F7=Ge();class A8{constructor(i){this._flattened=new F7.FlattenedSign(i)}setProtectedHeader(i){return this._flattened.setProtectedHeader(i),this}async sign(i,n){let c=await this._flattened.sign(i,n);if(c.payload===void 0)throw TypeError("use the flattened module for creating JWS with b64: false");return`${c.protected}.${c.payload}.${c.signature}`}}Ye.CompactSign=A8});var R8=r((Xe)=>{Object.defineProperty(Xe,"__esModule",{value:!0});Xe.GeneralSign=void 0;var g7=Ge(),N8=X();class y8{constructor(i,n,c){this.parent=i,this.key=n,this.options=c}setProtectedHeader(i){if(this.protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this.protectedHeader=i,this}setUnprotectedHeader(i){if(this.unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=i,this}addSignature(...i){return this.parent.addSignature(...i)}sign(...i){return this.parent.sign(...i)}done(){return this.parent}}class E8{constructor(i){this._signatures=[],this._payload=i}addSignature(i,n){let c=new y8(this,i,n);return this._signatures.push(c),c}async sign(){if(!this._signatures.length)throw new N8.JWSInvalid("at least one signature must be added");let i={signatures:[],payload:""};for(let n=0;n<this._signatures.length;n++){let c=this._signatures[n],a=new g7.FlattenedSign(this._payload);a.setProtectedHeader(c.protectedHeader),a.setUnprotectedHeader(c.unprotectedHeader);let{payload:p,...s}=await a.sign(c.key,c.options);if(n===0)i.payload=p;else if(i.payload!==p)throw new N8.JWSInvalid("inconsistent use of JWS Unencoded Payload (RFC7797)");i.signatures.push(s)}return i}}Xe.GeneralSign=E8});var Ie=r((Se)=>{Object.defineProperty(Se,"__esModule",{value:!0});Se.ProduceJWT=void 0;var nd=Dm(),k7=Vi(),j8=Fm();class T8{constructor(i){if(!(0,k7.default)(i))throw TypeError("JWT Claims Set MUST be an object");this._payload=i}setIssuer(i){return this._payload={...this._payload,iss:i},this}setSubject(i){return this._payload={...this._payload,sub:i},this}setAudience(i){return this._payload={...this._payload,aud:i},this}setJti(i){return this._payload={...this._payload,jti:i},this}setNotBefore(i){if(typeof i==="number")this._payload={...this._payload,nbf:i};else this._payload={...this._payload,nbf:(0,nd.default)(new Date)+(0,j8.default)(i)};return this}setExpirationTime(i){if(typeof i==="number")this._payload={...this._payload,exp:i};else this._payload={...this._payload,exp:(0,nd.default)(new Date)+(0,j8.default)(i)};return this}setIssuedAt(i){if(typeof i>"u")this._payload={...this._payload,iat:(0,nd.default)(new Date)};else this._payload={...this._payload,iat:i};return this}}Se.ProduceJWT=T8});var L8=r((Pe)=>{Object.defineProperty(Pe,"__esModule",{value:!0});Pe.SignJWT=void 0;var U7=id(),Q7=X(),iI=ni(),nI=Ie();class D8 extends nI.ProduceJWT{setProtectedHeader(i){return this._protectedHeader=i,this}async sign(i,n){var c;let a=new U7.CompactSign(iI.encoder.encode(JSON.stringify(this._payload)));if(a.setProtectedHeader(this._protectedHeader),Array.isArray((c=this._protectedHeader)===null||c===void 0?void 0:c.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===!1)throw new Q7.JWTInvalid("JWTs MUST NOT use unencoded payload");return a.sign(i,n)}}Pe.SignJWT=D8});var F8=r((He)=>{Object.defineProperty(He,"__esModule",{value:!0});He.EncryptJWT=void 0;var cI=Um(),aI=ni(),pI=Ie();class B8 extends pI.ProduceJWT{setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setKeyManagementParameters(i){if(this._keyManagementParameters)throw TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=i,this}setContentEncryptionKey(i){if(this._cek)throw TypeError("setContentEncryptionKey can only be called once");return this._cek=i,this}setInitializationVector(i){if(this._iv)throw TypeError("setInitializationVector can only be called once");return this._iv=i,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(i,n){let c=new cI.CompactEncrypt(aI.encoder.encode(JSON.stringify(this._payload)));if(this._replicateIssuerAsHeader)this._protectedHeader={...this._protectedHeader,iss:this._payload.iss};if(this._replicateSubjectAsHeader)this._protectedHeader={...this._protectedHeader,sub:this._payload.sub};if(this._replicateAudienceAsHeader)this._protectedHeader={...this._protectedHeader,aud:this._payload.aud};if(c.setProtectedHeader(this._protectedHeader),this._iv)c.setInitializationVector(this._iv);if(this._cek)c.setContentEncryptionKey(this._cek);if(this._keyManagementParameters)c.setKeyManagementParameters(this._keyManagementParameters);return c.encrypt(i,n)}}He.EncryptJWT=B8});var U8=r((ra)=>{Object.defineProperty(ra,"__esModule",{value:!0});ra.calculateJwkThumbprintUri=ra.calculateJwkThumbprint=void 0;var sI=Gt(),eI=Yi(),g8=X(),uI=ni(),oI=Vi(),Fn=(i,n)=>{if(typeof i!=="string"||!i)throw new g8.JWKInvalid(`${n} missing or invalid`)};async function k8(i,n){if(!(0,oI.default)(i))throw TypeError("JWK must be an object");if(n!==null&&n!==void 0||(n="sha256"),n!=="sha256"&&n!=="sha384"&&n!=="sha512")throw TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let c;switch(i.kty){case"EC":Fn(i.crv,'"crv" (Curve) Parameter'),Fn(i.x,'"x" (X Coordinate) Parameter'),Fn(i.y,'"y" (Y Coordinate) Parameter'),c={crv:i.crv,kty:i.kty,x:i.x,y:i.y};break;case"OKP":Fn(i.crv,'"crv" (Subtype of Key Pair) Parameter'),Fn(i.x,'"x" (Public Key) Parameter'),c={crv:i.crv,kty:i.kty,x:i.x};break;case"RSA":Fn(i.e,'"e" (Exponent) Parameter'),Fn(i.n,'"n" (Modulus) Parameter'),c={e:i.e,kty:i.kty,n:i.n};break;case"oct":Fn(i.k,'"k" (Key Value) Parameter'),c={k:i.k,kty:i.kty};break;default:throw new g8.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}let a=uI.encoder.encode(JSON.stringify(c));return(0,eI.encode)(await(0,sI.default)(n,a))}ra.calculateJwkThumbprint=k8;async function tI(i,n){n!==null&&n!==void 0||(n="sha256");let c=await k8(i,n);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${n.slice(-3)}:${c}`}ra.calculateJwkThumbprintUri=tI});var iw=r((Me)=>{Object.defineProperty(Me,"__esModule",{value:!0});Me.EmbeddedJWK=void 0;var mI=hp(),dI=Vi(),Q8=X();async function xI(i,n){let c={...i,...n===null||n===void 0?void 0:n.header};if(!(0,dI.default)(c.jwk))throw new Q8.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let a=await(0,mI.importJWK)({...c.jwk,ext:!0},c.alg,!0);if(a instanceof Uint8Array||a.type!=="public")throw new Q8.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key');return a}Me.EmbeddedJWK=xI});var ad=r((gn)=>{Object.defineProperty(gn,"__esModule",{value:!0});gn.createLocalJWKSet=gn.LocalJWKSet=gn.isJWKSLike=void 0;var rI=hp(),Yp=X(),lI=Vi();function fI(i){switch(typeof i==="string"&&i.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new Yp.JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set')}}function cw(i){return i&&typeof i==="object"&&Array.isArray(i.keys)&&i.keys.every(vI)}gn.isJWKSLike=cw;function vI(i){return(0,lI.default)(i)}function wI(i){if(typeof structuredClone==="function")return structuredClone(i);return JSON.parse(JSON.stringify(i))}class cd{constructor(i){if(this._cached=new WeakMap,!cw(i))throw new Yp.JWKSInvalid("JSON Web Key Set malformed");this._jwks=wI(i)}async getKey(i,n){let{alg:c,kid:a}={...i,...n===null||n===void 0?void 0:n.header},p=fI(c),s=this._jwks.keys.filter((o)=>{let t=p===o.kty;if(t&&typeof a==="string")t=a===o.kid;if(t&&typeof o.alg==="string")t=c===o.alg;if(t&&typeof o.use==="string")t=o.use==="sig";if(t&&Array.isArray(o.key_ops))t=o.key_ops.includes("verify");if(t&&c==="EdDSA")t=o.crv==="Ed25519"||o.crv==="Ed448";if(t)switch(c){case"ES256":t=o.crv==="P-256";break;case"ES256K":t=o.crv==="secp256k1";break;case"ES384":t=o.crv==="P-384";break;case"ES512":t=o.crv==="P-521";break}return t}),{0:e,length:u}=s;if(u===0)throw new Yp.JWKSNoMatchingKey;else if(u!==1){let o=new Yp.JWKSMultipleMatchingKeys,{_cached:t}=this;throw o[Symbol.asyncIterator]=async function*(){for(let m of s)try{yield await nw(t,m,c)}catch{continue}},o}return nw(this._cached,e,c)}}gn.LocalJWKSet=cd;async function nw(i,n,c){let a=i.get(n)||i.set(n,{}).get(n);if(a[c]===void 0){let p=await(0,rI.importJWK)({...n,ext:!0},c);if(p instanceof Uint8Array||p.type!=="public")throw new Yp.JWKSInvalid("JSON Web Key Set members must be public keys");a[c]=p}return a[c]}function bI(i){let n=new cd(i);return async function(c,a){return n.getKey(c,a)}}gn.createLocalJWKSet=bI});var sw=r((sd)=>{Object.defineProperty(sd,"__esModule",{value:!0});var qI=require("http"),WI=require("https"),aw=require("events"),pd=X(),pw=ni(),KI=async(i,n,c)=>{let a;switch(i.protocol){case"https:":a=WI.get;break;case"http:":a=qI.get;break;default:throw TypeError("Unsupported URL protocol.")}let{agent:p,headers:s}=c,e=a(i.href,{agent:p,timeout:n,headers:s}),[u]=await Promise.race([(0,aw.once)(e,"response"),(0,aw.once)(e,"timeout")]);if(!u)throw e.destroy(),new pd.JWKSTimeout;if(u.statusCode!==200)throw new pd.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response");let o=[];for await(let t of u)o.push(t);try{return JSON.parse(pw.decoder.decode((0,pw.concat)(...o)))}catch{throw new pd.JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON")}};sd.default=KI});var tw=r((Ve)=>{Object.defineProperty(Ve,"__esModule",{value:!0});Ve.createRemoteJWKSet=void 0;var _I=sw(),ew=X(),uw=ad();function JI(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}class ow extends uw.LocalJWKSet{constructor(i,n){super({keys:[]});if(this._jwks=void 0,!(i instanceof URL))throw TypeError("url must be an instance of URL");this._url=new URL(i.href),this._options={agent:n===null||n===void 0?void 0:n.agent,headers:n===null||n===void 0?void 0:n.headers},this._timeoutDuration=typeof(n===null||n===void 0?void 0:n.timeoutDuration)==="number"?n===null||n===void 0?void 0:n.timeoutDuration:5000,this._cooldownDuration=typeof(n===null||n===void 0?void 0:n.cooldownDuration)==="number"?n===null||n===void 0?void 0:n.cooldownDuration:30000,this._cacheMaxAge=typeof(n===null||n===void 0?void 0:n.cacheMaxAge)==="number"?n===null||n===void 0?void 0:n.cacheMaxAge:600000}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cooldownDuration:!1}fresh(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cacheMaxAge:!1}async getKey(i,n){if(!this._jwks||!this.fresh())await this.reload();try{return await super.getKey(i,n)}catch(c){if(c instanceof ew.JWKSNoMatchingKey){if(this.coolingDown()===!1)return await this.reload(),super.getKey(i,n)}throw c}}async reload(){if(this._pendingFetch&&JI())this._pendingFetch=void 0;this._pendingFetch||(this._pendingFetch=(0,_I.default)(this._url,this._timeoutDuration,this._options).then((i)=>{if(!(0,uw.isJWKSLike)(i))throw new ew.JWKSInvalid("JSON Web Key Set malformed");this._jwks={keys:i.keys},this._jwksTimestamp=Date.now(),this._pendingFetch=void 0}).catch((i)=>{throw this._pendingFetch=void 0,i})),await this._pendingFetch}}function hI(i,n){let c=new ow(i,n);return async function(a,p){return c.getKey(a,p)}}Ve.createRemoteJWKSet=hI});var dw=r((Oe)=>{Object.defineProperty(Oe,"__esModule",{value:!0});Oe.UnsecuredJWT=void 0;var Ce=Yi(),$I=ni(),ed=X(),zI=Je(),ZI=Ie();class mw extends ZI.ProduceJWT{encode(){let i=Ce.encode(JSON.stringify({alg:"none"})),n=Ce.encode(JSON.stringify(this._payload));return`${i}.${n}.`}static decode(i,n){if(typeof i!=="string")throw new ed.JWTInvalid("Unsecured JWT must be a string");let{0:c,1:a,2:p,length:s}=i.split(".");if(s!==3||p!=="")throw new ed.JWTInvalid("Invalid Unsecured JWT");let e;try{if(e=JSON.parse($I.decoder.decode(Ce.decode(c))),e.alg!=="none")throw Error()}catch{throw new ed.JWTInvalid("Invalid Unsecured JWT")}return{payload:(0,zI.default)(e,Ce.decode(a),n),header:e}}}Oe.UnsecuredJWT=mw});var Ae=r((la)=>{Object.defineProperty(la,"__esModule",{value:!0});la.decode=la.encode=void 0;var xw=Yi();la.encode=xw.encode;la.decode=xw.decode});var rw=r((Ne)=>{Object.defineProperty(Ne,"__esModule",{value:!0});Ne.decodeProtectedHeader=void 0;var GI=Ae(),YI=ni(),XI=Vi();function SI(i){let n;if(typeof i==="string"){let c=i.split(".");if(c.length===3||c.length===5)[n]=c}else if(typeof i==="object"&&i)if("protected"in i)n=i.protected;else throw TypeError("Token does not contain a Protected Header");try{if(typeof n!=="string"||!n)throw Error();let c=JSON.parse(YI.decoder.decode((0,GI.decode)(n)));if(!(0,XI.default)(c))throw Error();return c}catch{throw TypeError("Invalid Token or Protected Header formatting")}}Ne.decodeProtectedHeader=SI});var lw=r((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.decodeJwt=void 0;var II=Ae(),PI=ni(),HI=Vi(),wc=X();function MI(i){if(typeof i!=="string")throw new wc.JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");let{1:n,length:c}=i.split(".");if(c===5)throw new wc.JWTInvalid("Only JWTs using Compact JWS serialization can be decoded");if(c!==3)throw new wc.JWTInvalid("Invalid JWT");if(!n)throw new wc.JWTInvalid("JWTs must contain a payload");let a;try{a=(0,II.decode)(n)}catch{throw new wc.JWTInvalid("Failed to base64url decode the payload")}let p;try{p=JSON.parse(PI.decoder.decode(a))}catch{throw new wc.JWTInvalid("Failed to parse the decoded payload as JSON")}if(!(0,HI.default)(p))throw new wc.JWTInvalid("Invalid JWT Claims Set");return p}ye.decodeJwt=MI});var ud=r((fa)=>{Object.defineProperty(fa,"__esModule",{value:!0});fa.generateKeyPair=fa.generateSecret=void 0;var vw=require("crypto"),VI=require("util"),CI=xp(),fw=qp(),Xp=X(),_n=(0,VI.promisify)(vw.generateKeyPair);async function OI(i,n){let c;switch(i){case"HS256":case"HS384":case"HS512":case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":c=parseInt(i.slice(-3),10);break;case"A128KW":case"A192KW":case"A256KW":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":c=parseInt(i.slice(1,4),10);break;default:throw new Xp.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return(0,vw.createSecretKey)((0,CI.default)(new Uint8Array(c>>3)))}fa.generateSecret=OI;async function AI(i,n){var c,a;switch(i){case"RS256":case"RS384":case"RS512":case"PS256":case"PS384":case"PS512":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":case"RSA1_5":{let s=(c=n===null||n===void 0?void 0:n.modulusLength)!==null&&c!==void 0?c:2048;if(typeof s!=="number"||s<2048)throw new Xp.JOSENotSupported("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");let e=await _n("rsa",{modulusLength:s,publicExponent:65537});return(0,fw.setModulusLength)(e.privateKey,s),(0,fw.setModulusLength)(e.publicKey,s),e}case"ES256":return _n("ec",{namedCurve:"P-256"});case"ES256K":return _n("ec",{namedCurve:"secp256k1"});case"ES384":return _n("ec",{namedCurve:"P-384"});case"ES512":return _n("ec",{namedCurve:"P-521"});case"EdDSA":switch(n===null||n===void 0?void 0:n.crv){case void 0:case"Ed25519":return _n("ed25519");case"Ed448":return _n("ed448");default:throw new Xp.JOSENotSupported("Invalid or unsupported crv option provided, supported values are Ed25519 and Ed448")}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":let p=(a=n===null||n===void 0?void 0:n.crv)!==null&&a!==void 0?a:"P-256";switch(p){case void 0:case"P-256":case"P-384":case"P-521":return _n("ec",{namedCurve:p});case"X25519":return _n("x25519");case"X448":return _n("x448");default:throw new Xp.JOSENotSupported("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}default:throw new Xp.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}}fa.generateKeyPair=AI});var ww=r((Ee)=>{Object.defineProperty(Ee,"__esModule",{value:!0});Ee.generateKeyPair=void 0;var NI=ud();async function yI(i,n){return(0,NI.generateKeyPair)(i,n)}Ee.generateKeyPair=yI});var bw=r((Re)=>{Object.defineProperty(Re,"__esModule",{value:!0});Re.generateSecret=void 0;var EI=ud();async function RI(i,n){return(0,EI.generateSecret)(i,n)}Re.generateSecret=RI});var qw=r((od)=>{Object.defineProperty(od,"__esModule",{value:!0});od.default="node:crypto"});var Ww=r((td)=>{Object.defineProperty(td,"__esModule",{value:!0});var jI=qw();td.default=jI.default});var dd=r((J)=>{Object.defineProperty(J,"__esModule",{value:!0});J.cryptoRuntime=J.base64url=J.generateSecret=J.generateKeyPair=J.errors=J.decodeJwt=J.decodeProtectedHeader=J.importJWK=J.importX509=J.importPKCS8=J.importSPKI=J.exportJWK=J.exportSPKI=J.exportPKCS8=J.UnsecuredJWT=J.createRemoteJWKSet=J.createLocalJWKSet=J.EmbeddedJWK=J.calculateJwkThumbprintUri=J.calculateJwkThumbprint=J.EncryptJWT=J.SignJWT=J.GeneralSign=J.FlattenedSign=J.CompactSign=J.FlattenedEncrypt=J.CompactEncrypt=J.jwtDecrypt=J.jwtVerify=J.generalVerify=J.flattenedVerify=J.compactVerify=J.GeneralEncrypt=J.generalDecrypt=J.flattenedDecrypt=J.compactDecrypt=void 0;var TI=qm();Object.defineProperty(J,"compactDecrypt",{enumerable:!0,get:function(){return TI.compactDecrypt}});var DI=oe();Object.defineProperty(J,"flattenedDecrypt",{enumerable:!0,get:function(){return DI.flattenedDecrypt}});var LI=t8();Object.defineProperty(J,"generalDecrypt",{enumerable:!0,get:function(){return LI.generalDecrypt}});var BI=W8();Object.defineProperty(J,"GeneralEncrypt",{enumerable:!0,get:function(){return BI.GeneralEncrypt}});var FI=Rm();Object.defineProperty(J,"compactVerify",{enumerable:!0,get:function(){return FI.compactVerify}});var gI=We();Object.defineProperty(J,"flattenedVerify",{enumerable:!0,get:function(){return gI.flattenedVerify}});var kI=X8();Object.defineProperty(J,"generalVerify",{enumerable:!0,get:function(){return kI.generalVerify}});var UI=M8();Object.defineProperty(J,"jwtVerify",{enumerable:!0,get:function(){return UI.jwtVerify}});var QI=V8();Object.defineProperty(J,"jwtDecrypt",{enumerable:!0,get:function(){return QI.jwtDecrypt}});var i2=Um();Object.defineProperty(J,"CompactEncrypt",{enumerable:!0,get:function(){return i2.CompactEncrypt}});var n2=fe();Object.defineProperty(J,"FlattenedEncrypt",{enumerable:!0,get:function(){return n2.FlattenedEncrypt}});var c2=id();Object.defineProperty(J,"CompactSign",{enumerable:!0,get:function(){return c2.CompactSign}});var a2=Ge();Object.defineProperty(J,"FlattenedSign",{enumerable:!0,get:function(){return a2.FlattenedSign}});var p2=R8();Object.defineProperty(J,"GeneralSign",{enumerable:!0,get:function(){return p2.GeneralSign}});var s2=L8();Object.defineProperty(J,"SignJWT",{enumerable:!0,get:function(){return s2.SignJWT}});var e2=F8();Object.defineProperty(J,"EncryptJWT",{enumerable:!0,get:function(){return e2.EncryptJWT}});var Kw=U8();Object.defineProperty(J,"calculateJwkThumbprint",{enumerable:!0,get:function(){return Kw.calculateJwkThumbprint}});Object.defineProperty(J,"calculateJwkThumbprintUri",{enumerable:!0,get:function(){return Kw.calculateJwkThumbprintUri}});var u2=iw();Object.defineProperty(J,"EmbeddedJWK",{enumerable:!0,get:function(){return u2.EmbeddedJWK}});var o2=ad();Object.defineProperty(J,"createLocalJWKSet",{enumerable:!0,get:function(){return o2.createLocalJWKSet}});var t2=tw();Object.defineProperty(J,"createRemoteJWKSet",{enumerable:!0,get:function(){return t2.createRemoteJWKSet}});var m2=dw();Object.defineProperty(J,"UnsecuredJWT",{enumerable:!0,get:function(){return m2.UnsecuredJWT}});var md=Jm();Object.defineProperty(J,"exportPKCS8",{enumerable:!0,get:function(){return md.exportPKCS8}});Object.defineProperty(J,"exportSPKI",{enumerable:!0,get:function(){return md.exportSPKI}});Object.defineProperty(J,"exportJWK",{enumerable:!0,get:function(){return md.exportJWK}});var je=hp();Object.defineProperty(J,"importSPKI",{enumerable:!0,get:function(){return je.importSPKI}});Object.defineProperty(J,"importPKCS8",{enumerable:!0,get:function(){return je.importPKCS8}});Object.defineProperty(J,"importX509",{enumerable:!0,get:function(){return je.importX509}});Object.defineProperty(J,"importJWK",{enumerable:!0,get:function(){return je.importJWK}});var d2=rw();Object.defineProperty(J,"decodeProtectedHeader",{enumerable:!0,get:function(){return d2.decodeProtectedHeader}});var x2=lw();Object.defineProperty(J,"decodeJwt",{enumerable:!0,get:function(){return x2.decodeJwt}});J.errors=X();var r2=ww();Object.defineProperty(J,"generateKeyPair",{enumerable:!0,get:function(){return r2.generateKeyPair}});var l2=bw();Object.defineProperty(J,"generateSecret",{enumerable:!0,get:function(){return l2.generateSecret}});J.base64url=Ae();var f2=Ww();Object.defineProperty(J,"cryptoRuntime",{enumerable:!0,get:function(){return f2.default}})});var De=r((qR,_w)=>{function Te(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=i}Te.prototype=Object.create(Error.prototype);Te.prototype.constructor=Te;_w.exports=Te});var xd=r((WR,hw)=>{var Jw=dd(),v2=De();function w2(i){if(i.alg)return i.alg;if(i.kty==="RSA")return"RS256";if(i.kty==="EC")switch(i.crv){case"P-256":return"ES256";case"secp256k1":return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}if(i.kty==="OKP")switch(i.crv){case"Ed25519":case"Ed448":return"EdDSA"}throw new v2("Unsupported JWK")}async function b2(i){let n=[];i=i.filter(({use:c})=>c==="sig"||c===void 0).filter(({kty:c})=>c==="RSA"||c==="EC"||c==="OKP");for(let c of i)try{let a=await Jw.importJWK({...c,ext:!0},w2(c));if(a.type!=="public")continue;let p;switch(a[Symbol.toStringTag]){case"CryptoKey":{let s=await Jw.exportSPKI(a);p=()=>s;break}case"KeyObject":default:p=()=>a.export({format:"pem",type:"spki"})}n.push({get publicKey(){return p()},get rsaPublicKey(){return p()},getPublicKey(){return p()},...typeof c.kid==="string"&&c.kid?{kid:c.kid}:void 0,...typeof c.alg==="string"&&c.alg?{alg:c.alg}:void 0})}catch(a){continue}return n}hw.exports={retrieveSigningKeys:b2}});var rd=r((KR,$w)=>{function Le(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=i}Le.prototype=Object.create(Error.prototype);Le.prototype.constructor=Le;$w.exports=Le});var Zw=r((_R,zw)=>{var q2=require("http"),W2=require("https"),K2=rd();zw.exports.default=(i)=>{if(i.fetcher)return i.fetcher(i.uri);return new Promise((n,c)=>{let a;try{a=new URL(i.uri)}catch(f){throw new K2("Invalid JWKS URI: The provided URI is not a valid URL.")}let{hostname:p,port:s,protocol:e,pathname:u,search:o}=a,t=u+o,m={hostname:p,path:t,port:s,method:"GET",...i.headers&&{headers:{...i.headers}},...i.timeout&&{timeout:i.timeout},...i.agent&&{agent:i.agent}},l=(e==="https:"?W2:q2).request(m,(f)=>{let v="";f.setEncoding("utf8"),f.on("data",(b)=>{v+=b}),f.on("end",()=>{if(f.statusCode<200||f.statusCode>=300){let b=f.body&&(f.body.message||f.body)||f.statusMessage||`Http Error ${f.statusCode}`;c({errorMsg:b})}else try{n(v&&JSON.parse(v))}catch(b){c(b)}})});l.on("timeout",()=>l.destroy()).on("error",(f)=>c(f)).end()})}});var Yw=r((JR,Gw)=>{Gw.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let n=this.head;n;n=n.next)yield n.value}}});var Sw=r((hR,Xw)=>{Xw.exports=E;E.Node=bc;E.create=E;function E(i){var n=this;if(!(n instanceof E))n=new E;if(n.tail=null,n.head=null,n.length=0,i&&typeof i.forEach==="function")i.forEach(function(p){n.push(p)});else if(arguments.length>0)for(var c=0,a=arguments.length;c<a;c++)n.push(arguments[c]);return n}E.prototype.removeNode=function(i){if(i.list!==this)throw Error("removing node which does not belong to this list");var{next:n,prev:c}=i;if(n)n.prev=c;if(c)c.next=n;if(i===this.head)this.head=n;if(i===this.tail)this.tail=c;return i.list.length--,i.next=null,i.prev=null,i.list=null,n};E.prototype.unshiftNode=function(i){if(i===this.head)return;if(i.list)i.list.removeNode(i);var n=this.head;if(i.list=this,i.next=n,n)n.prev=i;if(this.head=i,!this.tail)this.tail=i;this.length++};E.prototype.pushNode=function(i){if(i===this.tail)return;if(i.list)i.list.removeNode(i);var n=this.tail;if(i.list=this,i.prev=n,n)n.next=i;if(this.tail=i,!this.head)this.head=i;this.length++};E.prototype.push=function(){for(var i=0,n=arguments.length;i<n;i++)J2(this,arguments[i]);return this.length};E.prototype.unshift=function(){for(var i=0,n=arguments.length;i<n;i++)h2(this,arguments[i]);return this.length};E.prototype.pop=function(){if(!this.tail)return;var i=this.tail.value;if(this.tail=this.tail.prev,this.tail)this.tail.next=null;else this.head=null;return this.length--,i};E.prototype.shift=function(){if(!this.head)return;var i=this.head.value;if(this.head=this.head.next,this.head)this.head.prev=null;else this.tail=null;return this.length--,i};E.prototype.forEach=function(i,n){n=n||this;for(var c=this.head,a=0;c!==null;a++)i.call(n,c.value,a,this),c=c.next};E.prototype.forEachReverse=function(i,n){n=n||this;for(var c=this.tail,a=this.length-1;c!==null;a--)i.call(n,c.value,a,this),c=c.prev};E.prototype.get=function(i){for(var n=0,c=this.head;c!==null&&n<i;n++)c=c.next;if(n===i&&c!==null)return c.value};E.prototype.getReverse=function(i){for(var n=0,c=this.tail;c!==null&&n<i;n++)c=c.prev;if(n===i&&c!==null)return c.value};E.prototype.map=function(i,n){n=n||this;var c=new E;for(var a=this.head;a!==null;)c.push(i.call(n,a.value,this)),a=a.next;return c};E.prototype.mapReverse=function(i,n){n=n||this;var c=new E;for(var a=this.tail;a!==null;)c.push(i.call(n,a.value,this)),a=a.prev;return c};E.prototype.reduce=function(i,n){var c,a=this.head;if(arguments.length>1)c=n;else if(this.head)a=this.head.next,c=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var p=0;a!==null;p++)c=i(c,a.value,p),a=a.next;return c};E.prototype.reduceReverse=function(i,n){var c,a=this.tail;if(arguments.length>1)c=n;else if(this.tail)a=this.tail.prev,c=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var p=this.length-1;a!==null;p--)c=i(c,a.value,p),a=a.prev;return c};E.prototype.toArray=function(){var i=Array(this.length);for(var n=0,c=this.head;c!==null;n++)i[n]=c.value,c=c.next;return i};E.prototype.toArrayReverse=function(){var i=Array(this.length);for(var n=0,c=this.tail;c!==null;n++)i[n]=c.value,c=c.prev;return i};E.prototype.slice=function(i,n){if(n=n||this.length,n<0)n+=this.length;if(i=i||0,i<0)i+=this.length;var c=new E;if(n<i||n<0)return c;if(i<0)i=0;if(n>this.length)n=this.length;for(var a=0,p=this.head;p!==null&&a<i;a++)p=p.next;for(;p!==null&&a<n;a++,p=p.next)c.push(p.value);return c};E.prototype.sliceReverse=function(i,n){if(n=n||this.length,n<0)n+=this.length;if(i=i||0,i<0)i+=this.length;var c=new E;if(n<i||n<0)return c;if(i<0)i=0;if(n>this.length)n=this.length;for(var a=this.length,p=this.tail;p!==null&&a>n;a--)p=p.prev;for(;p!==null&&a>i;a--,p=p.prev)c.push(p.value);return c};E.prototype.splice=function(i,n,...c){if(i>this.length)i=this.length-1;if(i<0)i=this.length+i;for(var a=0,p=this.head;p!==null&&a<i;a++)p=p.next;var s=[];for(var a=0;p&&a<n;a++)s.push(p.value),p=this.removeNode(p);if(p===null)p=this.tail;if(p!==this.head&&p!==this.tail)p=p.prev;for(var a=0;a<c.length;a++)p=_2(this,p,c[a]);return s};E.prototype.reverse=function(){var i=this.head,n=this.tail;for(var c=i;c!==null;c=c.prev){var a=c.prev;c.prev=c.next,c.next=a}return this.head=n,this.tail=i,this};function _2(i,n,c){var a=n===i.head?new bc(c,null,n,i):new bc(c,n,n.next,i);if(a.next===null)i.tail=a;if(a.prev===null)i.head=a;return i.length++,a}function J2(i,n){if(i.tail=new bc(n,i.tail,null,i),!i.head)i.head=i.tail;i.length++}function h2(i,n){if(i.head=new bc(n,null,i.head,i),!i.tail)i.tail=i.head;i.length++}function bc(i,n,c,a){if(!(this instanceof bc))return new bc(i,n,c,a);if(this.list=a,this.value=i,n)n.next=this,this.prev=n;else this.prev=null;if(c)c.prev=this,this.next=c;else this.next=null}try{Yw()(E)}catch(i){}});var vd=r(($R,Cw)=>{var $2=Sw(),qc=Symbol("max"),Sn=Symbol("length"),va=Symbol("lengthCalculator"),Ip=Symbol("allowStale"),Wc=Symbol("maxAge"),Xn=Symbol("dispose"),Iw=Symbol("noDisposeOnSet"),wi=Symbol("lruList"),xn=Symbol("cache"),Hw=Symbol("updateAgeOnGet"),ld=()=>1;class Mw{constructor(i){if(typeof i==="number")i={max:i};if(!i)i={};if(i.max&&(typeof i.max!=="number"||i.max<0))throw TypeError("max must be a non-negative number");let n=this[qc]=i.max||1/0,c=i.length||ld;if(this[va]=typeof c!=="function"?ld:c,this[Ip]=i.stale||!1,i.maxAge&&typeof i.maxAge!=="number")throw TypeError("maxAge must be a number");this[Wc]=i.maxAge||0,this[Xn]=i.dispose,this[Iw]=i.noDisposeOnSet||!1,this[Hw]=i.updateAgeOnGet||!1,this.reset()}set max(i){if(typeof i!=="number"||i<0)throw TypeError("max must be a non-negative number");this[qc]=i||1/0,Sp(this)}get max(){return this[qc]}set allowStale(i){this[Ip]=!!i}get allowStale(){return this[Ip]}set maxAge(i){if(typeof i!=="number")throw TypeError("maxAge must be a non-negative number");this[Wc]=i,Sp(this)}get maxAge(){return this[Wc]}set lengthCalculator(i){if(typeof i!=="function")i=ld;if(i!==this[va])this[va]=i,this[Sn]=0,this[wi].forEach((n)=>{n.length=this[va](n.value,n.key),this[Sn]+=n.length});Sp(this)}get lengthCalculator(){return this[va]}get length(){return this[Sn]}get itemCount(){return this[wi].length}rforEach(i,n){n=n||this;for(let c=this[wi].tail;c!==null;){let a=c.prev;Pw(this,i,c,n),c=a}}forEach(i,n){n=n||this;for(let c=this[wi].head;c!==null;){let a=c.next;Pw(this,i,c,n),c=a}}keys(){return this[wi].toArray().map((i)=>i.key)}values(){return this[wi].toArray().map((i)=>i.value)}reset(){if(this[Xn]&&this[wi]&&this[wi].length)this[wi].forEach((i)=>this[Xn](i.key,i.value));this[xn]=new Map,this[wi]=new $2,this[Sn]=0}dump(){return this[wi].map((i)=>Be(this,i)?!1:{k:i.key,v:i.value,e:i.now+(i.maxAge||0)}).toArray().filter((i)=>i)}dumpLru(){return this[wi]}set(i,n,c){if(c=c||this[Wc],c&&typeof c!=="number")throw TypeError("maxAge must be a number");let a=c?Date.now():0,p=this[va](n,i);if(this[xn].has(i)){if(p>this[qc])return wa(this,this[xn].get(i)),!1;let u=this[xn].get(i).value;if(this[Xn]){if(!this[Iw])this[Xn](i,u.value)}return u.now=a,u.maxAge=c,u.value=n,this[Sn]+=p-u.length,u.length=p,this.get(i),Sp(this),!0}let s=new Vw(i,n,p,a,c);if(s.length>this[qc]){if(this[Xn])this[Xn](i,n);return!1}return this[Sn]+=s.length,this[wi].unshift(s),this[xn].set(i,this[wi].head),Sp(this),!0}has(i){if(!this[xn].has(i))return!1;let n=this[xn].get(i).value;return!Be(this,n)}get(i){return fd(this,i,!0)}peek(i){return fd(this,i,!1)}pop(){let i=this[wi].tail;if(!i)return null;return wa(this,i),i.value}del(i){wa(this,this[xn].get(i))}load(i){this.reset();let n=Date.now();for(let c=i.length-1;c>=0;c--){let a=i[c],p=a.e||0;if(p===0)this.set(a.k,a.v);else{let s=p-n;if(s>0)this.set(a.k,a.v,s)}}}prune(){this[xn].forEach((i,n)=>fd(this,n,!1))}}var fd=(i,n,c)=>{let a=i[xn].get(n);if(a){let p=a.value;if(Be(i,p)){if(wa(i,a),!i[Ip])return}else if(c){if(i[Hw])a.value.now=Date.now();i[wi].unshiftNode(a)}return p.value}},Be=(i,n)=>{if(!n||!n.maxAge&&!i[Wc])return!1;let c=Date.now()-n.now;return n.maxAge?c>n.maxAge:i[Wc]&&c>i[Wc]},Sp=(i)=>{if(i[Sn]>i[qc])for(let n=i[wi].tail;i[Sn]>i[qc]&&n!==null;){let c=n.prev;wa(i,n),n=c}},wa=(i,n)=>{if(n){let c=n.value;if(i[Xn])i[Xn](c.key,c.value);i[Sn]-=c.length,i[xn].delete(c.key),i[wi].removeNode(n)}};class Vw{constructor(i,n,c,a,p){this.key=i,this.value=n,this.length=c,this.now=a,this.maxAge=p||0}}var Pw=(i,n,c,a)=>{let p=c.value;if(Be(i,p)){if(wa(i,c),!i[Ip])p=void 0}if(p)n.call(a,p.value,p.key,i)};Cw.exports=Mw});var Sd=r((Pp,ba)=>{var z2=200,Fw="__lodash_hash_undefined__",gw=9007199254740991,hd="[object Arguments]",Z2="[object Array]",kw="[object Boolean]",Uw="[object Date]",G2="[object Error]",$d="[object Function]",Qw="[object GeneratorFunction]",Fe="[object Map]",ib="[object Number]",zd="[object Object]",Ow="[object Promise]",nb="[object RegExp]",ge="[object Set]",cb="[object String]",ab="[object Symbol]",bd="[object WeakMap]",pb="[object ArrayBuffer]",ke="[object DataView]",sb="[object Float32Array]",eb="[object Float64Array]",ub="[object Int8Array]",ob="[object Int16Array]",tb="[object Int32Array]",mb="[object Uint8Array]",db="[object Uint8ClampedArray]",xb="[object Uint16Array]",rb="[object Uint32Array]",Y2=/[\\^$.*+?()[\]{}|]/g,X2=/\w*$/,S2=/^\[object .+?Constructor\]$/,I2=/^(?:0|[1-9]\d*)$/,L={};L[hd]=L[Z2]=L[pb]=L[ke]=L[kw]=L[Uw]=L[sb]=L[eb]=L[ub]=L[ob]=L[tb]=L[Fe]=L[ib]=L[zd]=L[nb]=L[ge]=L[cb]=L[ab]=L[mb]=L[db]=L[xb]=L[rb]=!0;L[G2]=L[$d]=L[bd]=!1;var P2=typeof global=="object"&&global&&global.Object===Object&&global,H2=typeof self=="object"&&self&&self.Object===Object&&self,In=P2||H2||Function("return this")(),lb=typeof Pp=="object"&&Pp&&!Pp.nodeType&&Pp,Aw=lb&&typeof ba=="object"&&ba&&!ba.nodeType&&ba,M2=Aw&&Aw.exports===lb;function V2(i,n){return i.set(n[0],n[1]),i}function C2(i,n){return i.add(n),i}function O2(i,n){var c=-1,a=i?i.length:0;while(++c<a)if(n(i[c],c,i)===!1)break;return i}function A2(i,n){var c=-1,a=n.length,p=i.length;while(++c<a)i[p+c]=n[c];return i}function fb(i,n,c,a){var p=-1,s=i?i.length:0;if(a&&s)c=i[++p];while(++p<s)c=n(c,i[p],p,i);return c}function N2(i,n){var c=-1,a=Array(i);while(++c<i)a[c]=n(c);return a}function y2(i,n){return i==null?void 0:i[n]}function vb(i){var n=!1;if(i!=null&&typeof i.toString!="function")try{n=!!(i+"")}catch(c){}return n}function Nw(i){var n=-1,c=Array(i.size);return i.forEach(function(a,p){c[++n]=[p,a]}),c}function Zd(i,n){return function(c){return i(n(c))}}function yw(i){var n=-1,c=Array(i.size);return i.forEach(function(a){c[++n]=a}),c}var E2=Array.prototype,R2=Function.prototype,Ue=Object.prototype,wd=In["__core-js_shared__"],Ew=function(){var i=/[^.]+$/.exec(wd&&wd.keys&&wd.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),wb=R2.toString,kn=Ue.hasOwnProperty,Qe=Ue.toString,j2=RegExp("^"+wb.call(kn).replace(Y2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rw=M2?In.Buffer:void 0,jw=In.Symbol,Tw=In.Uint8Array,T2=Zd(Object.getPrototypeOf,Object),D2=Object.create,L2=Ue.propertyIsEnumerable,B2=E2.splice,Dw=Object.getOwnPropertySymbols,F2=Rw?Rw.isBuffer:void 0,g2=Zd(Object.keys,Object),qd=Ka(In,"DataView"),Hp=Ka(In,"Map"),Wd=Ka(In,"Promise"),Kd=Ka(In,"Set"),_d=Ka(In,"WeakMap"),Mp=Ka(Object,"create"),k2=Jc(qd),U2=Jc(Hp),Q2=Jc(Wd),iP=Jc(Kd),nP=Jc(_d),Lw=jw?jw.prototype:void 0,Bw=Lw?Lw.valueOf:void 0;function _c(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function cP(){this.__data__=Mp?Mp(null):{}}function aP(i){return this.has(i)&&delete this.__data__[i]}function pP(i){var n=this.__data__;if(Mp){var c=n[i];return c===Fw?void 0:c}return kn.call(n,i)?n[i]:void 0}function sP(i){var n=this.__data__;return Mp?n[i]!==void 0:kn.call(n,i)}function eP(i,n){var c=this.__data__;return c[i]=Mp&&n===void 0?Fw:n,this}_c.prototype.clear=cP;_c.prototype.delete=aP;_c.prototype.get=pP;_c.prototype.has=sP;_c.prototype.set=eP;function Pn(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function uP(){this.__data__=[]}function oP(i){var n=this.__data__,c=iu(n,i);if(c<0)return!1;var a=n.length-1;if(c==a)n.pop();else B2.call(n,c,1);return!0}function tP(i){var n=this.__data__,c=iu(n,i);return c<0?void 0:n[c][1]}function mP(i){return iu(this.__data__,i)>-1}function dP(i,n){var c=this.__data__,a=iu(c,i);if(a<0)c.push([i,n]);else c[a][1]=n;return this}Pn.prototype.clear=uP;Pn.prototype.delete=oP;Pn.prototype.get=tP;Pn.prototype.has=mP;Pn.prototype.set=dP;function qa(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function xP(){this.__data__={hash:new _c,map:new(Hp||Pn),string:new _c}}function rP(i){return nu(this,i).delete(i)}function lP(i){return nu(this,i).get(i)}function fP(i){return nu(this,i).has(i)}function vP(i,n){return nu(this,i).set(i,n),this}qa.prototype.clear=xP;qa.prototype.delete=rP;qa.prototype.get=lP;qa.prototype.has=fP;qa.prototype.set=vP;function Wa(i){this.__data__=new Pn(i)}function wP(){this.__data__=new Pn}function bP(i){return this.__data__.delete(i)}function qP(i){return this.__data__.get(i)}function WP(i){return this.__data__.has(i)}function KP(i,n){var c=this.__data__;if(c instanceof Pn){var a=c.__data__;if(!Hp||a.length<z2-1)return a.push([i,n]),this;c=this.__data__=new qa(a)}return c.set(i,n),this}Wa.prototype.clear=wP;Wa.prototype.delete=bP;Wa.prototype.get=qP;Wa.prototype.has=WP;Wa.prototype.set=KP;function _P(i,n){var c=Yd(i)||DP(i)?N2(i.length,String):[],a=c.length,p=!!a;for(var s in i)if((n||kn.call(i,s))&&!(p&&(s=="length"||EP(s,a))))c.push(s);return c}function bb(i,n,c){var a=i[n];if(!(kn.call(i,n)&&_b(a,c))||c===void 0&&!(n in i))i[n]=c}function iu(i,n){var c=i.length;while(c--)if(_b(i[c][0],n))return c;return-1}function JP(i,n){return i&&qb(n,Xd(n),i)}function Jd(i,n,c,a,p,s,e){var u;if(a)u=s?a(i,p,s,e):a(i);if(u!==void 0)return u;if(!cu(i))return i;var o=Yd(i);if(o){if(u=AP(i),!n)return VP(i,u)}else{var t=Kc(i),m=t==$d||t==Qw;if(BP(i))return YP(i,n);if(t==zd||t==hd||m&&!s){if(vb(i))return s?i:{};if(u=NP(m?{}:i),!n)return CP(i,JP(u,i))}else{if(!L[t])return s?i:{};u=yP(i,t,Jd,n)}}e||(e=new Wa);var d=e.get(i);if(d)return d;if(e.set(i,u),!o)var l=c?OP(i):Xd(i);return O2(l||i,function(f,v){if(l)v=f,f=i[v];bb(u,v,Jd(f,n,c,a,v,i,e))}),u}function hP(i){return cu(i)?D2(i):{}}function $P(i,n,c){var a=n(i);return Yd(i)?a:A2(a,c(i))}function zP(i){return Qe.call(i)}function ZP(i){if(!cu(i)||jP(i))return!1;var n=hb(i)||vb(i)?j2:S2;return n.test(Jc(i))}function GP(i){if(!Kb(i))return g2(i);var n=[];for(var c in Object(i))if(kn.call(i,c)&&c!="constructor")n.push(c);return n}function YP(i,n){if(n)return i.slice();var c=new i.constructor(i.length);return i.copy(c),c}function Gd(i){var n=new i.constructor(i.byteLength);return new Tw(n).set(new Tw(i)),n}function XP(i,n){var c=n?Gd(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.byteLength)}function SP(i,n,c){var a=n?c(Nw(i),!0):Nw(i);return fb(a,V2,new i.constructor)}function IP(i){var n=new i.constructor(i.source,X2.exec(i));return n.lastIndex=i.lastIndex,n}function PP(i,n,c){var a=n?c(yw(i),!0):yw(i);return fb(a,C2,new i.constructor)}function HP(i){return Bw?Object(Bw.call(i)):{}}function MP(i,n){var c=n?Gd(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.length)}function VP(i,n){var c=-1,a=i.length;n||(n=Array(a));while(++c<a)n[c]=i[c];return n}function qb(i,n,c,a){c||(c={});var p=-1,s=n.length;while(++p<s){var e=n[p],u=a?a(c[e],i[e],e,c,i):void 0;bb(c,e,u===void 0?i[e]:u)}return c}function CP(i,n){return qb(i,Wb(i),n)}function OP(i){return $P(i,Xd,Wb)}function nu(i,n){var c=i.__data__;return RP(n)?c[typeof n=="string"?"string":"hash"]:c.map}function Ka(i,n){var c=y2(i,n);return ZP(c)?c:void 0}var Wb=Dw?Zd(Dw,Object):kP,Kc=zP;if(qd&&Kc(new qd(new ArrayBuffer(1)))!=ke||Hp&&Kc(new Hp)!=Fe||Wd&&Kc(Wd.resolve())!=Ow||Kd&&Kc(new Kd)!=ge||_d&&Kc(new _d)!=bd)Kc=function(i){var n=Qe.call(i),c=n==zd?i.constructor:void 0,a=c?Jc(c):void 0;if(a)switch(a){case k2:return ke;case U2:return Fe;case Q2:return Ow;case iP:return ge;case nP:return bd}return n};function AP(i){var n=i.length,c=i.constructor(n);if(n&&typeof i[0]=="string"&&kn.call(i,"index"))c.index=i.index,c.input=i.input;return c}function NP(i){return typeof i.constructor=="function"&&!Kb(i)?hP(T2(i)):{}}function yP(i,n,c,a){var p=i.constructor;switch(n){case pb:return Gd(i);case kw:case Uw:return new p(+i);case ke:return XP(i,a);case sb:case eb:case ub:case ob:case tb:case mb:case db:case xb:case rb:return MP(i,a);case Fe:return SP(i,a,c);case ib:case cb:return new p(i);case nb:return IP(i);case ge:return PP(i,a,c);case ab:return HP(i)}}function EP(i,n){return n=n==null?gw:n,!!n&&(typeof i=="number"||I2.test(i))&&(i>-1&&i%1==0&&i<n)}function RP(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}function jP(i){return!!Ew&&Ew in i}function Kb(i){var n=i&&i.constructor,c=typeof n=="function"&&n.prototype||Ue;return i===c}function Jc(i){if(i!=null){try{return wb.call(i)}catch(n){}try{return i+""}catch(n){}}return""}function TP(i){return Jd(i,!0,!0)}function _b(i,n){return i===n||i!==i&&n!==n}function DP(i){return LP(i)&&kn.call(i,"callee")&&(!L2.call(i,"callee")||Qe.call(i)==hd)}var Yd=Array.isArray;function Jb(i){return i!=null&&FP(i.length)&&!hb(i)}function LP(i){return gP(i)&&Jb(i)}var BP=F2||UP;function hb(i){var n=cu(i)?Qe.call(i):"";return n==$d||n==Qw}function FP(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=gw}function cu(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function gP(i){return!!i&&typeof i=="object"}function Xd(i){return Jb(i)?_P(i):GP(i)}function kP(){return[]}function UP(){return!1}ba.exports=TP});var Id=r((au)=>{Object.defineProperty(au,"__esModule",{value:!0});au.deepFreeze=void 0;function $b(i){if(i)Object.freeze(i),Object.getOwnPropertyNames(i).forEach(function(n){if(i.hasOwnProperty(n)&&i[n]!==null&&(typeof i[n]==="object"||typeof i[n]==="function")&&i[n].constructor!==Buffer&&!Object.isFrozen(i[n]))$b(i[n])});return i}au.deepFreeze=$b});var Yb=r((hn)=>{var QP=hn&&hn.__read||function(i,n){var c=typeof Symbol==="function"&&i[Symbol.iterator];if(!c)return i;var a=c.call(i),p,s=[],e;try{while((n===void 0||n-- >0)&&!(p=a.next()).done)s.push(p.value)}catch(u){e={error:u}}finally{try{if(p&&!p.done&&(c=a.return))c.call(a)}finally{if(e)throw e.error}}return s},Jn=hn&&hn.__spread||function(){for(var i=[],n=0;n<arguments.length;n++)i=i.concat(QP(arguments[n]));return i},Gb=hn&&hn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(hn,"__esModule",{value:!0});hn.syncMemoizer=void 0;var iH=Gb(vd()),nH=require("events"),zb=Gb(Sd()),Zb=Id();function cH(i){var n=new iH.default(i),c=i.load,a=i.hash,p=i.bypass,s=i.itemMaxAge,e=i.freeze,u=i.clone,o=new nH.EventEmitter,t=Object.assign({del:m,reset:function(){return n.reset()},keys:n.keys.bind(n),on:o.on.bind(o),once:o.once.bind(o)},i);if(i.disable)return Object.assign(c,t);function m(){var b=a.apply(void 0,Jn(arguments));n.del(b)}function d(b){var q=[];for(var w=1;w<arguments.length;w++)q[w-1]=arguments[w];o.emit.apply(o,Jn([b],q))}function l(b){return b&&b.then&&typeof b.then==="function"}function f(b){var q=b;if(u)if(l(q))q=q.then(zb.default);else q=zb.default(q);if(e)if(l(q))q=q.then(Zb.deepFreeze);else Zb.deepFreeze(q);return q}var v=function(){var b=[];for(var q=0;q<arguments.length;q++)b[q]=arguments[q];if(p&&p.apply(void 0,Jn(b)))return d.apply(void 0,Jn(["miss"],b)),c.apply(void 0,Jn(b));var w=a.apply(void 0,Jn(b)),_=n.get(w);if(_)return d.apply(void 0,Jn(["hit"],b)),f(_);d.apply(void 0,Jn(["miss"],b));var K=c.apply(void 0,Jn(b));if(s)n.set(w,K,s.apply(void 0,Jn(b.concat([K]))));else n.set(w,K);return f(K)};return Object.assign(v,t)}hn.syncMemoizer=cH});var Ib=r((nn)=>{var aH=nn&&nn.__read||function(i,n){var c=typeof Symbol==="function"&&i[Symbol.iterator];if(!c)return i;var a=c.call(i),p,s=[],e;try{while((n===void 0||n-- >0)&&!(p=a.next()).done)s.push(p.value)}catch(u){e={error:u}}finally{try{if(p&&!p.done&&(c=a.return))c.call(a)}finally{if(e)throw e.error}}return s},Ci=nn&&nn.__spread||function(){for(var i=[],n=0;n<arguments.length;n++)i=i.concat(aH(arguments[n]));return i},pH=nn&&nn.__values||function(i){var n=typeof Symbol==="function"&&Symbol.iterator,c=n&&i[n],a=0;if(c)return c.call(i);if(i&&typeof i.length==="number")return{next:function(){if(i&&a>=i.length)i=void 0;return{value:i&&i[a++],done:!i}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},Xb=nn&&nn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(nn,"__esModule",{value:!0});nn.asyncMemoizer=void 0;var sH=Xb(vd()),eH=require("events"),uH=Xb(Sd()),oH=Id(),tH=Yb();function Sb(i){var n=new sH.default(i),c=i.load,a=i.hash,p=i.bypass,s=i.itemMaxAge,e=i.freeze,u=i.clone,o=i.queueMaxAge||1000,t=new Map,m=new eH.EventEmitter,d=Object.assign({del:l,reset:function(){return n.reset()},keys:n.keys.bind(n),on:m.on.bind(m),once:m.once.bind(m)},i);if(i.disable)return Object.assign(c,d);function l(){var w=[];for(var _=0;_<arguments.length;_++)w[_]=arguments[_];var K=a.apply(void 0,Ci(w));n.del(K)}function f(w,_,K){if(e)K.forEach(oH.deepFreeze);if(s)n.set(w,K,s.apply(void 0,Ci(_.concat(K))));else n.set(w,K)}function v(w,_){var K,G;try{for(var P=pH(w),S=P.next();!S.done;S=P.next()){var oi=S.value;if(u)setImmediate.apply(void 0,Ci([oi],_.map(uH.default)));else setImmediate.apply(void 0,Ci([oi],_))}}catch(Si){K={error:Si}}finally{try{if(S&&!S.done&&(G=P.return))G.call(P)}finally{if(K)throw K.error}}}function b(w){var _=[];for(var K=1;K<arguments.length;K++)_[K-1]=arguments[K];m.emit.apply(m,Ci([w],_))}function q(){var w=[];for(var _=0;_<arguments.length;_++)w[_]=arguments[_];var K=w.slice(0,-1),G=w.slice(-1).pop(),P;if(p&&p.apply(void 0,Ci(K)))return b.apply(void 0,Ci(["miss"],K)),c.apply(void 0,Ci(w));if(K.length===0&&!a)P="_";else P=a.apply(void 0,Ci(K));var S=n.get(P);if(S)return b.apply(void 0,Ci(["hit"],K)),v([G],[null].concat(S));var oi=t.get(P);if(oi&&oi.expiresAt>Date.now()){oi.queue.push(G),b.apply(void 0,Ci(["queue"],K));return}b.apply(void 0,Ci(["miss"],K));var Si=Date.now(),Oi=[G];t.set(P,{queue:Oi,expiresAt:Si+o});var V=function(){var di=[];for(var an=0;an<arguments.length;an++)di[an]=arguments[an];var rn=di[0];if(!rn)f(P,K,di.slice(1));t.delete(P),b.apply(void 0,Ci(["loaded",Date.now()-Si],K)),v(Oi,di)};c.apply(void 0,Ci(K,[V]))}return Object.assign(q,d)}nn.asyncMemoizer=Sb;Sb.sync=tH.syncMemoizer});var Hb=r((YR,Pb)=>{var mH=Ib();Pb.exports=mH.asyncMemoizer});var Vb=r((XR,Mb)=>{var dH=On()("jwks"),xH=Hb(),{promisify:rH,callbackify:lH}=require("util");function fH(i,{cacheMaxEntries:n=5,cacheMaxAge:c=600000}){return dH(`Configured caching of signing keys. Max: ${n} / Age: ${c}`),rH(xH({hash:(a)=>a,load:lH(i.getSigningKey.bind(i)),maxAge:c,max:n}))}Mb.exports.default=fH});var Pd=r((SR,Ob)=>{var Cb=function(i,n,c,a){if(this.bucketSize=i,this.tokensPerInterval=n,typeof c==="string")switch(c){case"sec":case"second":this.interval=1000;break;case"min":case"minute":this.interval=60000;break;case"hr":case"hour":this.interval=3600000;break;case"day":this.interval=86400000;break;default:throw Error("Invaid interval "+c)}else this.interval=c;this.parentBucket=a,this.content=0,this.lastDrip=+new Date};Cb.prototype={bucketSize:1,tokensPerInterval:1,interval:1000,parentBucket:null,content:0,lastDrip:0,removeTokens:function(i,n){var c=this;if(!this.bucketSize)return process.nextTick(n.bind(null,null,i,Number.POSITIVE_INFINITY)),!0;if(i>this.bucketSize)return process.nextTick(n.bind(null,"Requested tokens "+i+" exceeds bucket size "+this.bucketSize,null)),!1;if(this.drip(),i>this.content)return a();if(this.parentBucket)return this.parentBucket.removeTokens(i,function(p,s){if(p)return n(p,null);if(i>c.content)return a();c.content-=i,n(null,Math.min(s,c.content))});else return this.content-=i,process.nextTick(n.bind(null,null,this.content)),!0;function a(){var p=Math.ceil((i-c.content)*(c.interval/c.tokensPerInterval));return setTimeout(function(){c.removeTokens(i,n)},p),!1}},tryRemoveTokens:function(i){if(!this.bucketSize)return!0;if(i>this.bucketSize)return!1;if(this.drip(),i>this.content)return!1;if(this.parentBucket&&!this.parentBucket.tryRemoveTokens(i))return!1;return this.content-=i,!0},drip:function(){if(!this.tokensPerInterval){this.content=this.bucketSize;return}var i=+new Date,n=Math.max(i-this.lastDrip,0);this.lastDrip=i;var c=n*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+c,this.bucketSize)}};Ob.exports=Cb});var Nb=r((IR,Ab)=>{var vH=function(){if(typeof process<"u"&&process.hrtime){var i=process.hrtime(),n=i[0],c=i[1];return n*1000+Math.floor(c/1e6)}return new Date().getTime()};Ab.exports=vH});var Rb=r((PR,Eb)=>{var wH=Pd(),Hd=Nb(),yb=function(i,n,c){this.tokenBucket=new wH(i,i,n,null),this.tokenBucket.content=i,this.curIntervalStart=Hd(),this.tokensThisInterval=0,this.fireImmediately=c};yb.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(i,n){if(i>this.tokenBucket.bucketSize)return process.nextTick(n.bind(null,"Requested tokens "+i+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var c=this,a=Hd();if(a<this.curIntervalStart||a-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=a,this.tokensThisInterval=0;if(i>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(n.bind(null,null,-1));else{var p=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-a);setTimeout(function(){c.tokenBucket.removeTokens(i,s)},p)}return!1}return this.tokenBucket.removeTokens(i,s);function s(e,u){if(e)return n(e,null);c.tokensThisInterval+=i,n(null,u)}},tryRemoveTokens:function(i){if(i>this.tokenBucket.bucketSize)return!1;var n=Hd();if(n<this.curIntervalStart||n-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=n,this.tokensThisInterval=0;if(i>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var c=this.tokenBucket.tryRemoveTokens(i);if(c)this.tokensThisInterval+=i;return c},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}};Eb.exports=yb});var jb=r((Md)=>{Md.RateLimiter=Rb();Md.TokenBucket=Pd()});var Vd=r((MR,Tb)=>{function pu(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=i}pu.prototype=Object.create(Error.prototype);pu.prototype.constructor=pu;Tb.exports=pu});var Lb=r((VR,Db)=>{var Cd=On()("jwks"),{RateLimiter:bH}=jb(),qH=Vd();function WH(i,{jwksRequestsPerMinute:n=10}){let c=i.getSigningKey.bind(i),a=new bH(n,"minute",!0);return Cd(`Configured rate limiting to JWKS endpoint at ${n}/minute`),async(p)=>await new Promise((s,e)=>{a.removeTokens(1,async(u,o)=>{if(u)e(u);if(Cd("Requests to the JWKS endpoint available for the next minute:",o),o<0)Cd("Too many requests to the JWKS endpoint"),e(new qH("Too many requests to the JWKS endpoint"));else try{let t=await c(p);s(t)}catch(t){e(t)}})})}Db.exports.default=WH});var Fb=r((CR,Bb)=>{var KH=xd().retrieveSigningKeys;function _H(i,{getKeysInterceptor:n}){let c=i.getSigningKey.bind(i);return async(a)=>{let p=await n(),s;if(p&&p.length)s=await KH(p);if(s&&s.length){let e=s.find((u)=>!a||u.kid===a);if(e)return e}return c(a)}}Bb.exports.default=_H});var kb=r((OR,gb)=>{var{callbackify:JH}=require("util"),hH=(i)=>{let n=i.getSigningKey.bind(i);return(c,a)=>{if(a)return JH(n)(c,a);return n(c)}};gb.exports.default=hH});var Qb=r((AR,Ub)=>{Ub.exports={request:Zw().default,cacheSigningKey:Vb().default,rateLimitSigningKey:Lb().default,getKeysInterceptor:Fb().default,callbackSupport:kb().default}});var Od=r((NR,iq)=>{function su(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=i}su.prototype=Object.create(Error.prototype);su.prototype.constructor=su;iq.exports=su});var _a=r((yR,aq)=>{var hc=On()("jwks"),{retrieveSigningKeys:$H}=xd(),{request:zH,cacheSigningKey:ZH,rateLimitSigningKey:GH,getKeysInterceptor:YH,callbackSupport:XH}=Qb(),Ad=De(),nq=Od();class cq{constructor(i){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...i},this.options.getKeysInterceptor)this.getSigningKey=YH(this,i);if(this.options.rateLimit)this.getSigningKey=GH(this,i);if(this.options.cache)this.getSigningKey=ZH(this,i);this.getSigningKey=XH(this,i)}async getKeys(){hc(`Fetching keys from '${this.options.jwksUri}'`);try{let i=await zH({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return hc("Keys:",i.keys),i.keys}catch(i){let{errorMsg:n}=i;throw hc("Failure:",n||i),n?new Ad(n):i}}async getSigningKeys(){let i=await this.getKeys();if(!i||!i.length)throw new Ad("The JWKS endpoint did not contain any keys");let n=await $H(i);if(!n.length)throw new Ad("The JWKS endpoint did not contain any signing keys");return hc("Signing Keys:",n),n}async getSigningKey(i){hc(`Fetching signing key for '${i}'`);let n=await this.getSigningKeys(),c=i!==void 0&&i!==null;if(!c&&n.length>1)throw hc("No KID specified and JWKS endpoint returned more than 1 key"),new nq("No KID specified and JWKS endpoint returned more than 1 key");let a=n.find((p)=>!c||p.kid===i);if(a)return a;else throw hc(`Unable to find a signing key that matches '${i}'`),new nq(`Unable to find a signing key that matches '${i}'`)}}aq.exports={JwksClient:cq}});var Ja=r((ER,pq)=>{pq.exports={ArgumentError:rd(),JwksError:De(),JwksRateLimitError:Vd(),SigningKeyNotFoundError:Od()}});var Vp=r((RR,sq)=>{var SH=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES256K","ES384","ES512","EdDSA"];sq.exports=SH});var eq=r((jR,eu)=>{var{ArgumentError:IH}=Ja(),{JwksClient:PH}=_a(),HH=Vp(),MH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(i,null,null);if(i)return n(i,null,null)};eu.exports.hapiJwt2KeyAsync=(i)=>{let n=eu.exports.hapiJwt2Key(i);return function(c){return new Promise((a,p)=>{n(c,(e,u)=>{!u||e?p(e):a({key:u})})})}};eu.exports.hapiJwt2Key=function(i){if(i===null||i===void 0)throw new IH("An options object must be provided when initializing hapiJwt2Key");let n=new PH(i),c=i.handleSigningKeyError||MH;return function(p,s){if(!p||!p.header)return s(Error("Cannot find a signing certificate if there is no header"),null,null);if(!HH.includes(p.header.alg))return s(Error("Unsupported algorithm "+p.header.alg+" supplied."),null,null);n.getSigningKey(p.header.kid).then((e)=>{return s(null,e.publicKey||e.rsaPublicKey,e)}).catch((e)=>{return c(e,(u)=>s(u,null,null))})}}});var oq=r((TR,uq)=>{var{ArgumentError:VH}=Ja(),{JwksClient:CH}=_a(),OH=Vp(),AH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(null);if(i)return n(i)};uq.exports.expressJwtSecret=function(i){if(i===null||i===void 0)throw new VH("An options object must be provided when initializing expressJwtSecret");let n=new CH(i),c=i.handleSigningKeyError||AH,a=async(p,s)=>{if(!s)return;let e=s.header;if(!e||!OH.includes(e.alg))return;try{let u=await n.getSigningKey(e.kid);return u.publicKey||u.rsaPublicKey}catch(u){return new Promise((o,t)=>{c(u,(m)=>{if(!m)return o();t(m)})})}};return function(s,e,u,o){if(arguments.length===4){a(s,{header:e}).then((t)=>{setImmediate(o,null,t)}).catch((t)=>{setImmediate(o,t)});return}return a(s,arguments[1])}}});var mq=r((DR,tq)=>{var{ArgumentError:NH}=Ja(),{JwksClient:yH}=_a(),EH=Vp();tq.exports.koaJwtSecret=function(i={}){if(!i.jwksUri)throw new NH("No JWKS provided. Please provide a jwksUri");let n=new yH(i);return function({alg:a,kid:p}={}){return new Promise((s,e)=>{if(!EH.includes(a))return e(Error("Missing / invalid token algorithm"));n.getSigningKey(p).then((u)=>{s(u.publicKey||u.rsaPublicKey)}).catch((u)=>{if(i.handleSigningKeyError)return i.handleSigningKeyError(u).then(e);return e(u)})})}}});var lq=r((LR,rq)=>{var dq=dd(),{ArgumentError:xq}=Ja(),{JwksClient:RH}=_a(),jH=Vp(),TH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(null);if(i)return n(i)};rq.exports.passportJwtSecret=function(i){if(i===null||i===void 0)throw new xq("An options object must be provided when initializing passportJwtSecret");if(!i.jwksUri)throw new xq("No JWKS provided. Please provide a jwksUri");let n=new RH(i),c=i.handleSigningKeyError||TH;return function(p,s,e){let u;try{u={payload:dq.decodeJwt(s),header:dq.decodeProtectedHeader(s)}}catch(o){u=null}if(!u||!jH.includes(u.header.alg))return e(null,null);n.getSigningKey(u.header.kid).then((o)=>{e(null,o.publicKey||o.rsaPublicKey)}).catch((o)=>{c(o,(t)=>e(t,null))})}}});var vq=r((BR,cn)=>{var{JwksClient:fq}=_a(),uu=Ja(),{hapiJwt2Key:DH,hapiJwt2KeyAsync:LH}=eq(),{expressJwtSecret:BH}=oq(),{koaJwtSecret:FH}=mq(),{passportJwtSecret:gH}=lq();cn.exports=(i)=>{return new fq(i)};cn.exports.JwksClient=fq;cn.exports.ArgumentError=uu.ArgumentError;cn.exports.JwksError=uu.JwksError;cn.exports.JwksRateLimitError=uu.JwksRateLimitError;cn.exports.SigningKeyNotFoundError=uu.SigningKeyNotFoundError;cn.exports.expressJwtSecret=BH;cn.exports.hapiJwt2Key=DH;cn.exports.hapiJwt2KeyAsync=LH;cn.exports.koaJwtSecret=FH;cn.exports.passportJwtSecret=gH});var cM={};ou(cM,{handler:()=>iM});module.exports=Fd(cM);var of=require("node:https");function Ga(i,n){return function(){return i.apply(n,arguments)}}var{toString:Gq}=Object.prototype,{getPrototypeOf:Yc}=Object,{iterator:Xa,toStringTag:Ud}=Symbol,Np=(({hasOwnProperty:i})=>(n,c)=>i.call(n,c))(Object.prototype),Ya=(i,n)=>{let c=i,a=[];while(c!=null&&c!==Object.prototype){if(a.indexOf(c)!==-1)return!1;if(a.push(c),Np(c,n))return!0;c=Yc(c)}return!1},Yq=(i,n)=>i!=null&&Ya(i,n)?i[n]:void 0,mu=((i)=>(n)=>{let c=Gq.call(n);return i[c]||(i[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),Ri=(i)=>{return i=i.toLowerCase(),(n)=>mu(n)===i},yp=(i)=>(n)=>typeof n===i,{isArray:cc}=Array,ac=yp("undefined");function Xc(i){return i!==null&&!ac(i)&&i.constructor!==null&&!ac(i.constructor)&&Ii(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}var Qd=Ri("ArrayBuffer");function Xq(i){let n;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)n=ArrayBuffer.isView(i);else n=i&&i.buffer&&Qd(i.buffer);return n}var Sq=yp("string"),Ii=yp("function"),ix=yp("number"),Sc=(i)=>i!==null&&typeof i==="object",Iq=(i)=>i===!0||i===!1,Ap=(i)=>{if(!Sc(i))return!1;let n=Yc(i);return(n===null||n===Object.prototype||Yc(n)===null)&&!Ya(i,Ud)&&!Ya(i,Xa)},Pq=(i)=>{if(!Sc(i)||Xc(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch(n){return!1}},Hq=Ri("Date"),Mq=Ri("File"),Vq=(i)=>{return!!(i&&typeof i.uri<"u")},Cq=(i)=>i&&typeof i.getParts<"u",Oq=Ri("Blob"),Aq=Ri("FileList"),Nq=Ri("Set"),yq=(i)=>Sc(i)&&Ii(i.pipe);function Eq(){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 gd=Eq(),kd=typeof gd.FormData<"u"?gd.FormData:void 0,Rq=(i)=>{if(!i)return!1;if(kd&&i instanceof kd)return!0;let n=Yc(i);if(!n||n===Object.prototype)return!1;if(!Ii(i.append))return!1;let c=mu(i);return c==="formdata"||c==="object"&&Ii(i.toString)&&i.toString()==="[object FormData]"},jq=Ri("URLSearchParams"),[Tq,Dq,Lq,Bq]=["ReadableStream","Request","Response","Headers"].map(Ri),Fq=(i)=>{return i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function Sa(i,n,{allOwnKeys:c=!1}={}){if(i===null||typeof i>"u")return;let a,p;if(typeof i!=="object")i=[i];if(cc(i))for(a=0,p=i.length;a<p;a++)n.call(null,i[a],a,i);else{if(Xc(i))return;let s=c?Object.getOwnPropertyNames(i):Object.keys(i),e=s.length,u;for(a=0;a<e;a++)u=s[a],n.call(null,i[u],u,i)}}function nx(i,n){if(Xc(i))return null;n=n.toLowerCase();let c=Object.keys(i),a=c.length,p;while(a-- >0)if(p=c[a],n===p.toLowerCase())return p;return null}var nc=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),cx=(i)=>!ac(i)&&i!==nc;function tu(...i){let{caseless:n,skipUndefined:c}=cx(this)&&this||{},a={},p=(s,e)=>{if(e==="__proto__"||e==="constructor"||e==="prototype")return;let u=n&&typeof e==="string"&&nx(a,e)||e,o=Np(a,u)?a[u]:void 0;if(Ap(o)&&Ap(s))a[u]=tu(o,s);else if(Ap(s))a[u]=tu({},s);else if(cc(s))a[u]=s.slice();else if(!c||!ac(s))a[u]=s};for(let s=0,e=i.length;s<e;s++){let u=i[s];if(!u||Xc(u))continue;if(Sa(u,p),typeof u!=="object"||cc(u))continue;let o=Object.getOwnPropertySymbols(u);for(let t=0;t<o.length;t++){let m=o[t];if(uW.call(u,m))p(u[m],m)}}return a}var gq=(i,n,c,{allOwnKeys:a}={})=>{return Sa(n,(p,s)=>{if(c&&Ii(p))Object.defineProperty(i,s,{__proto__:null,value:Ga(p,c),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(i,s,{__proto__:null,value:p,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),i},kq=(i)=>{if(i.charCodeAt(0)===65279)i=i.slice(1);return i},Uq=(i,n,c,a)=>{i.prototype=Object.create(n.prototype,a),Object.defineProperty(i.prototype,"constructor",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(i,"super",{__proto__:null,value:n.prototype}),c&&Object.assign(i.prototype,c)},Qq=(i,n,c,a)=>{let p,s,e,u={};if(n=n||{},i==null)return n;do{p=Object.getOwnPropertyNames(i),s=p.length;while(s-- >0)if(e=p[s],(!a||a(e,i,n))&&!u[e])n[e]=i[e],u[e]=!0;i=c!==!1&&Yc(i)}while(i&&(!c||c(i,n))&&i!==Object.prototype);return n},iW=(i,n,c)=>{if(i=String(i),c===void 0||c>i.length)c=i.length;c-=n.length;let a=i.indexOf(n,c);return a!==-1&&a===c},nW=(i)=>{if(!i)return null;if(cc(i))return i;let n=i.length;if(!ix(n))return null;let c=Array(n);while(n-- >0)c[n]=i[n];return c},cW=((i)=>{return(n)=>{return i&&n instanceof i}})(typeof Uint8Array<"u"&&Yc(Uint8Array)),aW=(i,n)=>{let a=(i&&i[Xa]).call(i),p;while((p=a.next())&&!p.done){let s=p.value;n.call(i,s[0],s[1])}},pW=(i,n)=>{let c,a=[];while((c=i.exec(n))!==null)a.push(c);return a},sW=Ri("HTMLFormElement"),eW=(i)=>{return i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,a,p){return a.toUpperCase()+p})},{propertyIsEnumerable:uW}=Object.prototype,oW=Ri("RegExp"),ax=(i,n)=>{let c=Object.getOwnPropertyDescriptors(i),a={};Sa(c,(p,s)=>{let e;if((e=n(p,s,i))!==!1)a[s]=e||p}),Object.defineProperties(i,a)},tW=(i)=>{ax(i,(n,c)=>{if(Ii(i)&&["arguments","caller","callee"].includes(c))return!1;let a=i[c];if(!Ii(a))return;if(n.enumerable=!1,"writable"in n){n.writable=!1;return}if(!n.set)n.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")}})},mW=(i,n)=>{let c={},a=(p)=>{p.forEach((s)=>{c[s]=!0})};return cc(i)?a(i):a(String(i).split(n)),c},dW=()=>{},xW=(i,n)=>{return i!=null&&Number.isFinite(i=+i)?i:n};function rW(i){return!!(i&&Ii(i.append)&&i[Ud]==="FormData"&&i[Xa])}var lW=(i)=>{let n=new WeakSet,c=(a)=>{if(Sc(a)){if(n.has(a))return;if(Xc(a))return a;if(!("toJSON"in a)){n.add(a);let p;if(Nq(a)){p=[];for(let s of a){let e=c(s);!ac(e)&&p.push(e)}}else p=cc(a)?[]:{},Sa(a,(s,e)=>{let u=c(s);!ac(u)&&(p[e]=u)});return n.delete(a),p}}return a};return c(i)},fW=Ri("AsyncFunction"),vW=(i)=>i&&(Sc(i)||Ii(i))&&Ii(i.then)&&Ii(i.catch),px=((i,n)=>{if(i)return setImmediate;return n?((c,a)=>{return nc.addEventListener("message",({source:p,data:s})=>{if(p===nc&&s===c)a.length&&a.shift()()},!1),(p)=>{a.push(p),nc.postMessage(c,"*")}})(`axios@${Math.random()}`,[]):(c)=>setTimeout(c)})(typeof setImmediate==="function",Ii(nc.postMessage)),wW=typeof queueMicrotask<"u"?queueMicrotask.bind(nc):typeof process<"u"&&process.nextTick||px,sx=(i)=>i!=null&&Ii(i[Xa]),bW=(i)=>i!=null&&Ya(i,Xa)&&sx(i),x={isArray:cc,isArrayBuffer:Qd,isBuffer:Xc,isFormData:Rq,isArrayBufferView:Xq,isString:Sq,isNumber:ix,isBoolean:Iq,isObject:Sc,isPlainObject:Ap,isEmptyObject:Pq,isReadableStream:Tq,isRequest:Dq,isResponse:Lq,isHeaders:Bq,isUndefined:ac,isDate:Hq,isFile:Mq,isReactNativeBlob:Vq,isReactNative:Cq,isBlob:Oq,isRegExp:oW,isFunction:Ii,isStream:yq,isURLSearchParams:jq,isTypedArray:cW,isFileList:Aq,forEach:Sa,merge:tu,extend:gq,trim:Fq,stripBOM:kq,inherits:Uq,toFlatObject:Qq,kindOf:mu,kindOfTest:Ri,endsWith:iW,toArray:nW,forEachEntry:aW,matchAll:pW,isHTMLForm:sW,hasOwnProperty:Np,hasOwnProp:Np,hasOwnInPrototypeChain:Ya,getSafeProp:Yq,reduceDescriptors:ax,freezeMethods:tW,toObjectSet:mW,toCamelCase:eW,noop:dW,toFiniteNumber:xW,findKey:nx,global:nc,isContextDefined:cx,isSpecCompliantForm:rW,toJSONObject:lW,isAsyncFn:fW,isThenable:vW,setImmediate:px,asap:wW,isIterable:sx,isSafeIterable:bW};var qW=x.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"]),ex=(i)=>{let n={},c,a,p;return i&&i.split(`
26
- `).forEach(function(e){p=e.indexOf(":"),c=e.substring(0,p).trim().toLowerCase(),a=e.substring(p+1).trim();let u=x.hasOwnProp(n,c);if(!c||u&&x.hasOwnProp(qW,c))return;if(c==="set-cookie")if(u)n[c].push(a);else n[c]=[a];else n[c]=u?n[c]+", "+a:a}),n};function WW(i){let n=0,c=i.length;while(n<c){let a=i.charCodeAt(n);if(a!==9&&a!==32)break;n+=1}while(c>n){let a=i.charCodeAt(c-1);if(a!==9&&a!==32)break;c-=1}return n===0&&c===i.length?i:i.slice(n,c)}var KW=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),_W=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function du(i,n){if(x.isArray(i))return i.map((c)=>du(c,n));return WW(String(i).replace(n,""))}var ux=(i)=>du(i,KW),JW=(i)=>du(i,_W);function Ic(i){let n=Object.create(null);return x.forEach(i.toJSON(),(c,a)=>{n[a]=JW(c)}),n}var ox=Symbol("internals");function Ia(i){return i&&String(i).trim().toLowerCase()}function Ep(i){if(i===!1||i==null)return i;return x.isArray(i)?i.map(Ep):ux(String(i))}function hW(i){let n=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,a;while(a=c.exec(i))n[a[1]]=a[2];return n}var $W=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function xu(i){let n=0,c=i.length;while(n<c){let a=i.charCodeAt(n);if(a!==9&&a!==32)break;n+=1}while(c>n){let a=i.charCodeAt(c-1);if(a!==9&&a!==32)break;c-=1}return n===0&&c===i.length?i:i.slice(n,c)}function zW(i){let n=i.length-1;if(n<1||i.charCodeAt(0)!==34||i.charCodeAt(n)!==34)return i;let c="";for(let a=1;a<n;a++){let p=i.charCodeAt(a);if(p===34)return i;if(p===92){if(a+=1,a>=n)return i}c+=i[a]}return c}function ZW(i){let n=Object.create(null),c=String(i),a=0,p=!1,s=!1;function e(u){let o=xu(c.slice(a,u)),t=o.indexOf("=");if(t<1)return;let m=xu(o.slice(0,t));if(!$W.test(m))return;let d=m.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;let l=xu(o.slice(t+1));n[d]=zW(l)}for(let u=0;u<c.length;u++){let o=c.charCodeAt(u);if(p){if(s)s=!1;else if(o===92)s=!0;else if(o===34)p=!1}else if(o===34)p=!0;else if(o===44||o===59)e(u),a=u+1}return e(c.length),n}var GW=(i)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function ru(i,n,c,a,p){if(x.isFunction(a))return a.call(this,n,c);if(p)n=c;if(!x.isString(n))return;if(x.isString(a))return n.indexOf(a)!==-1;if(x.isRegExp(a))return a.test(n)}function YW(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,c,a)=>{return c.toUpperCase()+a})}function XW(i,n){let c=x.toCamelCase(" "+n);["get","set","has"].forEach((a)=>{Object.defineProperty(i,a+c,{__proto__:null,value:function(p,s,e){return this[a].call(this,n,p,s,e)},configurable:!0})})}class Pa{constructor(i){i&&this.set(i)}set(i,n,c){let a=this;function p(e,u,o){let t=Ia(u);if(!t)return;let m=x.findKey(a,t);if(!m||a[m]===void 0||o===!0||o===void 0&&a[m]!==!1)a[m||u]=Ep(e)}let s=(e,u)=>x.forEach(e,(o,t)=>p(o,t,u));if(x.isPlainObject(i)||i instanceof this.constructor)s(i,n);else if(x.isString(i)&&(i=i.trim())&&!GW(i))s(ex(i),n);else if(x.isObject(i)&&x.isSafeIterable(i)){let e=Object.create(null),u,o;for(let t of i){if(!x.isArray(t))throw TypeError("Object iterator must return a key-value pair");if(o=t[0],x.hasOwnProp(e,o))u=e[o],e[o]=x.isArray(u)?[...u,t[1]]:[u,t[1]];else e[o]=t[1]}s(e,n)}else i!=null&&p(n,i,c);return this}get(i,n){if(i=Ia(i),i){let c=x.findKey(this,i);if(c){let a=this[c];if(!n)return a;if(n===!0)return hW(a);if(x.isFunction(n))return n.call(this,a,c);if(x.isRegExp(n))return n.exec(a);throw TypeError("parser must be boolean|regexp|function")}}}has(i,n){if(i=Ia(i),i){let c=x.findKey(this,i);return!!(c&&this[c]!==void 0&&(!n||ru(this,this[c],c,n)))}return!1}delete(i,n){let c=this,a=!1;function p(s){if(s=Ia(s),s){let e=x.findKey(c,s);if(e&&(!n||ru(c,c[e],e,n)))delete c[e],a=!0}}if(x.isArray(i))i.forEach(p);else p(i);return a}clear(i){let n=Object.keys(this),c=n.length,a=!1;while(c--){let p=n[c];if(!i||ru(this,this[p],p,i,!0))delete this[p],a=!0}return a}normalize(i){let n=this,c={};return x.forEach(this,(a,p)=>{let s=x.findKey(c,p);if(s){n[s]=Ep(a),delete n[p];return}let e=i?YW(p):String(p).trim();if(e!==p)delete n[p];n[e]=Ep(a),c[e]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){let n=Object.create(null);return x.forEach(this,(c,a)=>{c!=null&&c!==!1&&(n[a]=i&&x.isArray(c)?c.join(", "):c)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,n])=>i+": "+n).join(`
27
- `)}getSetCookie(){let i=this.get("set-cookie");return x.isArray(i)?i:i==null||i===!1?[]:[i]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static parseParameters(i){return ZW(i)}static concat(i,...n){let c=new this(i);return n.forEach((a)=>c.set(a)),c}static accessor(i){let c=(this[ox]=this[ox]={accessors:{}}).accessors,a=this.prototype;function p(s){let e=Ia(s);if(!c[e])XW(a,s),c[e]=!0}return x.isArray(i)?i.forEach(p):p(i),this}}Pa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(Pa.prototype,({value:i},n)=>{let c=n[0].toUpperCase()+n.slice(1);return{get:()=>i,set(a){this[c]=a}}});x.freezeMethods(Pa);var j=Pa;var Ha="[REDACTED ****]";function SW(i){if(x.hasOwnProp(i,"toJSON"))return!0;let n=Object.getPrototypeOf(i);while(n&&n!==Object.prototype){if(x.hasOwnProp(n,"toJSON"))return!0;n=Object.getPrototypeOf(n)}return!1}function IW(i,n){let c=new Set(n.map((s)=>String(s).toLowerCase())),a=[],p=(s)=>{if(s===null||typeof s!=="object")return s;if(x.isBuffer(s))return s;if(a.indexOf(s)!==-1)return;if(s instanceof j)s=s.toJSON();a.push(s);let e;if(x.isArray(s))e=[],s.forEach((u,o)=>{let t=p(u);if(!x.isUndefined(t))e[o]=t});else{if(!x.isPlainObject(s)&&SW(s))return a.pop(),s;e=Object.create(null);for(let[u,o]of Object.entries(s)){let t=c.has(u.toLowerCase())?Ha:p(o);if(!x.isUndefined(t))e[u]=t}}return a.pop(),e};return p(i)}function tx(i){try{return String(i)}catch(n){return""}}function PW(i){return i.errors.map((c)=>{try{return c&&c.message?tx(c.message):tx(c)}catch(a){return""}}).filter(Boolean).join("; ")||i.name||"AggregateError"}class Wi extends Error{static from(i,n,c,a,p,s){let e=i.message;if(!e&&x.isArray(i.errors)&&i.errors.length)e=PW(i);let u=new Wi(e,n||i.code,c,a,p);if(Object.defineProperty(u,"cause",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),u.name=i.name,i.status!=null&&u.status==null)u.status=i.status;return s&&Object.assign(u,s),u}constructor(i,n,c,a,p){super(i);if(Object.defineProperty(this,"message",{__proto__:null,value:i,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),c&&(this.config=c),a&&(this.request=a),p)this.response=p,this.status=p.status}toJSON(){let i=this.config,n=i&&x.hasOwnProp(i,"redact")?i.redact:void 0,c=x.isArray(n)&&n.length>0?IW(i,n):x.toJSONObject(i);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:c,code:this.code,status:this.status}}}Wi.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Wi.ERR_BAD_OPTION="ERR_BAD_OPTION";Wi.ECONNABORTED="ECONNABORTED";Wi.ETIMEDOUT="ETIMEDOUT";Wi.ECONNREFUSED="ECONNREFUSED";Wi.ERR_NETWORK="ERR_NETWORK";Wi.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Wi.ERR_DEPRECATED="ERR_DEPRECATED";Wi.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Wi.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Wi.ERR_CANCELED="ERR_CANCELED";Wi.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Wi.ERR_INVALID_URL="ERR_INVALID_URL";Wi.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var W=Wi;var rr=Q(xr(),1),Qp=rr.default;var is={isBufferAvailable(){return typeof Buffer<"u"},from(i){return Buffer.from(i)}};var Vu=100;function Mu(i){return x.isPlainObject(i)||x.isArray(i)}function lr(i){return x.endsWith(i,"[]")?i.slice(0,-2):i}function Hu(i,n,c){if(!i)return n;return i.concat(n).map(function(p,s){return p=lr(p),!c&&s?"["+p+"]":p}).join(c?".":"")}function bK(i){return x.isArray(i)&&!i.some(Mu)}var qK=x.toFlatObject(x,{},null,function(n){return/^is[A-Z]/.test(n)});function WK(i,n,c){if(!x.isObject(i))throw TypeError("target must be an object");n=n||new(Qp||FormData),c=x.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,K){return!x.isUndefined(K[_])});let a=c.metaTokens,p=c.visitor||v,s=c.dots,e=c.indexes,u=c.Blob||typeof Blob<"u"&&Blob,o=c.maxDepth===void 0?Vu:c.maxDepth,t=u&&x.isSpecCompliantForm(n),m=[];if(!x.isFunction(p))throw TypeError("visitor must be a function");function d(w){if(w===null)return"";if(x.isDate(w))return w.toISOString();if(x.isBoolean(w))return w.toString();if(!t&&x.isBlob(w))throw new W("Blob is not supported. Use a Buffer instead.");if(x.isArrayBuffer(w)||x.isTypedArray(w)){if(t&&typeof u==="function")return new u([w]);if(is&&is.isBufferAvailable())return is.from(w);throw new W("Blob is not supported. Use a Buffer instead.",W.ERR_NOT_SUPPORT)}return w}function l(w){if(w>o)throw new W("Object is too deeply nested ("+w+" levels). Max depth: "+o,W.ERR_FORM_DATA_DEPTH_EXCEEDED)}function f(w,_){if(o===1/0)return JSON.stringify(w);let K=[];return JSON.stringify(w,function(P,S){if(!x.isObject(S))return S;while(K.length&&K[K.length-1]!==this)K.pop();return K.push(S),l(_+K.length-1),S})}function v(w,_,K){let G=w;if(x.isReactNative(n)&&x.isReactNativeBlob(w))return n.append(Hu(K,_,s),d(w)),!1;if(w&&!K&&typeof w==="object"){if(x.endsWith(_,"{}"))_=a?_:_.slice(0,-2),w=f(w,1);else if(x.isArray(w)&&bK(w)||(x.isFileList(w)||x.endsWith(_,"[]"))&&(G=x.toArray(w)))return _=lr(_),G.forEach(function(S,oi){!(x.isUndefined(S)||S===null)&&n.append(e===!0?Hu([_],oi,s):e===null?_:_+"[]",d(S))}),!1}if(Mu(w))return!0;return n.append(Hu(K,_,s),d(w)),!1}let b=Object.assign(qK,{defaultVisitor:v,convertValue:d,isVisitable:Mu});function q(w,_,K=0){if(x.isUndefined(w))return;if(l(K),m.indexOf(w)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(w),x.forEach(w,function(P,S){if((!(x.isUndefined(P)||P===null)&&p.call(n,P,x.isString(S)?S.trim():S,_,b))===!0)q(P,_?_.concat(S):[S],K+1)}),m.pop()}if(!x.isObject(i))throw TypeError("data must be an object");return q(i),n}var Vn=WK;function fr(i){let n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(i).replace(/[!'()~]|%20/g,function(a){return n[a]})}function vr(i,n){this._pairs=[],i&&Vn(i,this,n)}var wr=vr.prototype;wr.append=function(n,c){this._pairs.push([n,c])};wr.toString=function(n){let c=n?(a)=>n.call(this,a,fr):fr;return this._pairs.map(function(p){return c(p[0])+"="+c(p[1])},"").join("&")};var br=vr;function KK(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function sc(i,n,c){if(!n)return i;i=i||"";let a=x.isFunction(c)?{serialize:c}:c,p=x.getSafeProp(a,"encode")||KK,s=x.getSafeProp(a,"serialize"),e;if(s)e=s(n,a);else e=x.isURLSearchParams(n)?n.toString():new br(n,a).toString(p);if(e){let u=i.indexOf("#");if(u!==-1)i=i.slice(0,u);i+=(i.indexOf("?")===-1?"?":"&")+e}return i}class qr{constructor(){this.handlers=[]}use(i,n,c){return this.handlers.push({fulfilled:i,rejected:n,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(i){if(this.handlers[i])this.handlers[i]=null}clear(){if(this.handlers)this.handlers=[]}forEach(i){x.forEach(this.handlers,function(c){if(c!==null)i(c)})}}var Cu=qr;var Cn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var Jr=Q(require("crypto"));var Wr=Q(require("url")),Kr=Wr.default.URLSearchParams;var Ou="abcdefghijklmnopqrstuvwxyz",_r="0123456789",hr={DIGIT:_r,ALPHA:Ou,ALPHA_DIGIT:Ou+Ou.toUpperCase()+_r},_K=(i=16,n=hr.ALPHA_DIGIT)=>{let c="",{length:a}=n,p=new Uint32Array(i);Jr.default.randomFillSync(p);for(let s=0;s<i;s++)c+=n[p[s]%a];return c},$r={isNode:!0,classes:{URLSearchParams:Kr,FormData:Qp,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:hr,generateString:_K,protocols:["http","https","file","data"]};var yu={};ou(yu,{origin:()=>$K,navigator:()=>Au,hasStandardBrowserWebWorkerEnv:()=>hK,hasStandardBrowserEnv:()=>JK,hasBrowserEnv:()=>Nu});var Nu=typeof window<"u"&&typeof document<"u",Au=typeof navigator==="object"&&navigator||void 0,JK=Nu&&(!Au||["ReactNative","NativeScript","NS"].indexOf(Au.product)<0),hK=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),$K=Nu&&window.location.href||"http://localhost";var y={...yu,...$r};function Eu(i,n){return Vn(i,new y.classes.URLSearchParams,{visitor:function(c,a,p,s){if(y.isNode&&x.isBuffer(c))return this.append(a,c.toString("base64")),!1;return s.defaultVisitor.apply(this,arguments)},...n})}var zr=Vu;function Zr(i){if(i>zr)throw new W("FormData field is too deeply nested ("+i+" levels). Max depth: "+zr,W.ERR_FORM_DATA_DEPTH_EXCEEDED)}function zK(i){let n=[],c=/[^.[\]]+|\[([^.[\]]*)]/g,a;while((a=c.exec(i))!==null)Zr(n.length),n.push(a[0]==="[]"?"":a[1]||a[0]);return n}function ZK(i){let n={},c=Object.keys(i),a,p=c.length,s;for(a=0;a<p;a++)s=c[a],n[s]=i[s];return n}function GK(i){function n(c,a,p,s){Zr(s);let e=c[s++];if(e==="__proto__")return!0;let u=Number.isFinite(+e),o=s>=c.length;if(e=!e&&x.isArray(p)?p.length:e,o){if(x.hasOwnProp(p,e))p[e]=x.isArray(p[e])?p[e].concat(a):[p[e],a];else p[e]=a;return!u}if(!x.hasOwnProp(p,e)||!x.isObject(p[e]))p[e]=[];if(n(c,a,p[e],s)&&x.isArray(p[e]))p[e]=ZK(p[e]);return!u}if(x.isFormData(i)&&x.isFunction(i.entries)){let c={};return x.forEachEntry(i,(a,p)=>{n(zK(a),p,c,0)}),c}return null}var ns=GK;var Cc=(i,n)=>i!=null&&x.hasOwnProp(i,n)?i[n]:void 0;function YK(i,n,c){if(x.isString(i))try{return(n||JSON.parse)(i),x.trim(i)}catch(a){if(a.name!=="SyntaxError")throw a}return(c||JSON.stringify)(i)}var Ru={transitional:Cn,adapter:["xhr","http","fetch"],transformRequest:[function(n,c){let a=c.getContentType()||"",p=a.indexOf("application/json")>-1,s=x.isObject(n);if(s&&x.isHTMLForm(n))n=new FormData(n);if(x.isFormData(n))return p?JSON.stringify(ns(n)):n;if(x.isArrayBuffer(n)||x.isBuffer(n)||x.isStream(n)||x.isFile(n)||x.isBlob(n)||x.isReadableStream(n))return n;if(x.isArrayBufferView(n))return n.buffer;if(x.isURLSearchParams(n))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let u;if(s){let o=Cc(this,"formSerializer");if(a.indexOf("application/x-www-form-urlencoded")>-1)return Eu(n,o).toString();if((u=x.isFileList(n))||a.indexOf("multipart/form-data")>-1){let t=Cc(this,"env"),m=t&&t.FormData;return Vn(u?{"files[]":n}:n,m&&new m,o)}}if(s||p)return c.setContentType("application/json",!1),YK(n);return n}],transformResponse:[function(n){let c=Cc(this,"transitional")||Ru.transitional,a=c&&c.forcedJSONParsing,p=Cc(this,"responseType"),s=p==="json";if(x.isResponse(n)||x.isReadableStream(n))return n;if(n&&x.isString(n)&&(a&&!p||s)){let u=!(c&&c.silentJSONParsing)&&s;try{return JSON.parse(n,Cc(this,"parseReviver"))}catch(o){if(u){if(o.name==="SyntaxError")throw W.from(o,W.ERR_BAD_RESPONSE,this,null,Cc(this,"response"));throw o}}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:y.classes.FormData,Blob:y.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch","query"],(i)=>{Ru.headers[i]={}});var Oc=Ru;function Aa(i,n){let c=this||Oc,a=n||c,p=j.from(a.headers),s=a.data;return x.forEach(i,function(u){s=u.call(c,s,p.normalize(),n?n.status:void 0)}),p.normalize(),s}function Na(i){return!!(i&&i.__CANCEL__)}class Gr extends W{constructor(i,n,c){super(i==null?"canceled":i,W.ERR_CANCELED,n,c);this.name="CanceledError",this.__CANCEL__=!0}}var Ai=Gr;function vn(i,n,c){let a=c.config.validateStatus;if(!c.status||!a||a(c.status))i(c);else n(new W("Request failed with status code "+c.status,c.status>=400&&c.status<500?W.ERR_BAD_REQUEST:W.ERR_BAD_RESPONSE,c.config,c.request,c))}function ju(i){if(typeof i!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function Tu(i,n){if(!n)return i;let c=i.length;while(c>0&&i.charCodeAt(c-1)===47)c--;return i.slice(0,c)+"/"+n.replace(/^\/+/,"")}var XK=/^https?:(?!\/\/)/i,SK=/[\t\n\r]/g;function IK(i){let n=0;while(n<i.length&&i.charCodeAt(n)<=32)n++;return i.slice(n)}function PK(i){return IK(i).replace(SK,"")}function HK(i){if(!i)return i;return i.replace(/(^|&)([^=&]*=)?[^&]+/g,(n,c,a="")=>{return`${c}${a}${Ha}`})}function MK(i){let n=i.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Ha}@`),c=n.indexOf("#"),p=(c===-1?n:n.slice(0,c)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Ha}`);if(c===-1)return p;return`${p}#${HK(n.slice(c+1))}`}function Yr(i,n){if(typeof i==="string"){let c=PK(i);if(XK.test(c))throw new W(`Invalid URL ${JSON.stringify(MK(c))}: missing "//" after protocol`,W.ERR_INVALID_URL,n)}}function ec(i,n,c,a){Yr(n,a);let p=!ju(n);if(i&&(p||c===!1))return Yr(i,a),Tu(i,n);return n}var VK={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function CK(i){try{return new URL(i)}catch{return null}}function Xr(i){var n=(typeof i==="string"?CK(i):i)||{},c=n.protocol,a=n.host,p=n.port;if(typeof a!=="string"||!a||typeof c!=="string")return"";if(c=c.split(":",1)[0],a=a.replace(/:\d*$/,""),p=parseInt(p)||VK[c]||0,!OK(a,p))return"";var s=Du(c+"_proxy")||Du("all_proxy");if(s&&s.indexOf("://")===-1)s=c+"://"+s;return s}function OK(i,n){var c=Du("no_proxy").toLowerCase();if(!c)return!0;if(c==="*")return!1;return c.split(/[,\s]/).every(function(a){if(!a)return!0;var p=a.match(/^(.+):(\d+)$/),s=p?p[1]:a,e=p?parseInt(p[2]):0;if(e&&e!==n)return!0;if(!/^[.*]/.test(s))return i!==s;if(s.charAt(0)==="*")s=s.slice(1);return!i.endsWith(s)})}function Du(i){return process.env[i.toLowerCase()]||process.env[i.toUpperCase()]||""}var $o=Q(Fr(),1),zo=Q(require("http")),Zo=Q(require("https")),Ol=Q(require("http2")),Al=Q(require("util")),ho=require("path"),Nl=Q(cl(),1),Ni=Q(require("zlib"));var Zn="1.19.0";function Fa(i){let n=/^([-+\w]{1,25}):(?:\/\/)?/.exec(i);return n&&n[1]||""}var R_=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function wo(i,n,c){let a=c&&c.Blob||y.classes.Blob,p=Fa(i);if(n===void 0&&a)n=!0;if(p==="data"){i=p.length?i.slice(p.length+1):i;let s=R_.exec(i);if(!s)throw new W("Invalid URL",W.ERR_INVALID_URL);let e=s[1],u=s[2],o=s[3]?"base64":"utf8",t=s[4],m="";if(e)m=u?e+u:e;else if(u)m="text/plain"+u;let d=o==="base64"?Buffer.from(t,"base64"):Buffer.from(decodeURIComponent(t),o);if(n){if(!a)throw new W("Blob is not supported",W.ERR_NOT_SUPPORT);return new a([d],{type:m})}return d}throw new W("Unsupported protocol "+p,W.ERR_NOT_SUPPORT)}var Ti=Q(require("stream"));var j_=["content-type","content-length"];function ga(i,n,c){if(c!=="content-only"){i.set(n);return}Object.entries(n||{}).forEach(([a,p])=>{if(j_.includes(a.toLowerCase()))i.set(a,p)})}var al=Q(require("stream"));var bo=Symbol("internals");class pl extends al.default.Transform{constructor(i){i=x.toFlatObject(i,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(c,a)=>{return!x.isUndefined(a[c])});super({readableHighWaterMark:i.chunkSize});let n=this[bo]={timeWindow:i.timeWindow,chunkSize:i.chunkSize,maxRate:i.maxRate,minChunkSize:i.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(c)=>{if(c==="progress"){if(!n.isCaptured)n.isCaptured=!0}})}_read(i){let n=this[bo];if(n.onReadCallback)n.onReadCallback();return super._read(i)}_transform(i,n,c){let a=this[bo],p=a.maxRate,s=this.readableHighWaterMark,e=a.timeWindow,u=1000/e,o=p/u,t=a.minChunkSize!==!1?Math.max(a.minChunkSize,o*0.01):0,m=(l,f)=>{let v=Buffer.byteLength(l);if(a.bytesSeen+=v,a.bytes+=v,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(l))process.nextTick(f);else a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(f)}},d=(l,f)=>{let v=Buffer.byteLength(l),b=null,q=s,w,_=0;if(p){let K=Date.now();if(!a.ts||(_=K-a.ts)>=e)a.ts=K,w=o-a.bytes,a.bytes=w<0?-w:0,_=0;w=o-a.bytes}if(p){if(w<=0)return setTimeout(()=>{f(null,l)},e-_);if(w<q)q=w}if(q&&v>q&&v-q>t)b=l.subarray(q),l=l.subarray(0,q);m(l,b?()=>{process.nextTick(f,null,b)}:f)};d(i,function l(f,v){if(f)return c(f);if(v)d(v,l);else c(null)})}}var qo=pl;var yl=require("events");var el=Q(require("util")),ul=require("stream");var{asyncIterator:sl}=Symbol,T_=async function*(i){if(i.stream)yield*i.stream();else if(i.arrayBuffer)yield await i.arrayBuffer();else if(i[sl])yield*i[sl]();else yield i},ts=T_;var D_=y.ALPHABET.ALPHA_DIGIT+"-_",ka=typeof TextEncoder==="function"?new TextEncoder:new el.default.TextEncoder,dc=`\r
28
- `,L_=ka.encode(dc),B_=2;class ol{constructor(i,n){let{escapeName:c}=this.constructor,a=x.isString(n),p=`Content-Disposition: form-data; name="${c(i)}"${!a&&n.name?`; filename="${c(n.name)}"`:""}${dc}`;if(a)n=ka.encode(String(n).replace(/\r?\n|\r\n?/g,dc));else{let s=String(n.type||"application/octet-stream").replace(/[\r\n]/g,"");p+=`Content-Type: ${s}${dc}`}this.headers=ka.encode(p+dc),this.contentLength=a?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+B_,this.name=i,this.value=n}async*encode(){yield this.headers;let{value:i}=this;if(x.isTypedArray(i))yield i;else yield*ts(i);yield L_}static escapeName(i){return String(i).replace(/[\r\n"]/g,(n)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}}var F_=(i,n,c)=>{let{tag:a="form-data-boundary",size:p=25,boundary:s=a+"-"+y.generateString(p,D_)}=c||{};if(!x.isFormData(i))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 1-70 characters long");let e=ka.encode("--"+s+dc),u=ka.encode("--"+s+"--"+dc),o=u.byteLength,t=Array.from(i.entries()).map(([d,l])=>{let f=new ol(d,l);return o+=f.size,f});o+=e.byteLength*t.length,o=x.toFiniteNumber(o);let m={"Content-Type":`multipart/form-data; boundary=${s}`};if(Number.isFinite(o))m["Content-Length"]=o;return n&&n(m),ul.Readable.from(async function*(){for(let d of t)yield e,yield*d.encode();yield u}())},tl=F_;var ml=Q(require("stream"));class dl extends ml.default.Transform{__transform(i,n,c){this.push(i),c()}_transform(i,n,c){if(i.length!==0){if(this._transform=this.__transform,i[0]!==120){let a=Buffer.alloc(2);a[0]=120,a[1]=156,this.push(a,n)}}this.__transform(i,n,c)}}var xl=dl;var rl=Q(require("http2")),ll=Q(require("util"));class fl{constructor(){this.sessions=Object.create(null)}getSession(i,n){n=Object.assign({sessionTimeout:1000},n);let c=this.sessions[i];if(c){let m=c.length;for(let d=0;d<m;d++){let[l,f]=c[d];if(!l.destroyed&&!l.closed&&ll.default.isDeepStrictEqual(f,n))return l}}let a=rl.default.connect(i,n),p,s,e=()=>{if(p)return;if(p=!0,s)clearTimeout(s),s=null;let m=c,d=m.length,l=d;while(l--)if(m[l][0]===a){if(d===1)delete this.sessions[i];else m.splice(l,1);if(!a.closed)a.close();return}},u=a.request,{sessionTimeout:o}=n;if(o!=null){let m=0;a.request=function(){let d=u.apply(this,arguments);if(m++,s)clearTimeout(s),s=null;return d.once("close",()=>{if(!--m)s=setTimeout(()=>{s=null,e()},o)}),d}}a.once("close",e);let t=[a,n];return c?c.push(t):c=this.sessions[i]=[t],a}}var vl=fl;var g_=(i,n)=>{return x.isAsyncFn(i)?function(...c){let a=c.pop();i.apply(this,c).then((p)=>{try{n?a(null,...n(p)):a(null,p)}catch(s){a(s)}},a)}:i},wl=g_;var k_=new Set(["localhost","0.0.0.0"]),Wl=(i)=>{let n=i.split(".");if(n.length!==4)return!1;if(n[0]!=="127")return!1;return n.every((c)=>/^\d+$/.test(c)&&Number(c)>=0&&Number(c)<=255)},Wo=(i)=>{if(/^0[xX][0-9a-fA-F]+$/.test(i)){let n=parseInt(i.slice(2),16);return Number.isFinite(n)?n:null}if(i.length>1&&/^0[0-7]+$/.test(i)){let n=parseInt(i,8);return Number.isFinite(n)?n:null}if(i.length>1&&/^0[0-9]+$/.test(i))return null;if(/^[0-9]+$/.test(i)){let n=parseInt(i,10);return Number.isFinite(n)?n:null}return null},U_=(i)=>{if(typeof i!=="string"||!i||i.indexOf(":")!==-1)return i;let n=i;if(n.charAt(0)==="["&&n.charAt(n.length-1)==="]")n=n.slice(1,-1);if(n=n.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(n))return i;let c=n.split(".");if(c.some((m)=>m===""))return i;if(c.length===4){let m=c.map(Wo);if(m.some((d)=>d===null||d<0||d>255))return i;return m.join(".")}if(c.length>4)return i;if(c.length===1)return i;let a=c.slice(0,-1),p=c[c.length-1],s=4-a.length,e=Wo(p);if(e===null)return i;let u=(1<<8*s)-1;if(e<0||e>u)return i;let o=Array(s).fill(0);for(let m=s-1,d=e;m>=0;m--,d>>=8)o[m]=d&255;let t=a.map(Wo);if(t.some((m)=>m===null||m<0||m>255))return i;return[...t,...o].join(".")},Ko=(i)=>/^0{1,4}$/.test(i),Q_=(i)=>{if(i==="::")return!0;let n=i.indexOf("::");if(n!==-1){if(n!==i.lastIndexOf("::"))return!1;let a=i.slice(0,n),p=i.slice(n+2),s=a?a.split(":"):[],e=p?p.split(":"):[];return s.length+e.length<8&&s.every(Ko)&&e.every(Ko)}let c=i.split(":");return c.length===8&&c.every(Ko)},iJ=(i)=>{if(i==="::1")return!0;let n=i.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(n)return Wl(n[1]);let c=i.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(c){let p=parseInt(c[1],16);return p>=32512&&p<=32767}let a=i.split(":");if(a.length===8){for(let p=0;p<7;p++)if(!/^0+$/.test(a[p]))return!1;return/^0*1$/.test(a[7])}return!1},bl=(i)=>{if(!i)return!1;if(k_.has(i))return!0;if(Wl(i))return!0;if(Q_(i))return!0;return iJ(i)},nJ={http:80,https:443,ws:80,wss:443,ftp:21},cJ=(i)=>{let n=i,c=0;if(n.charAt(0)==="["){let s=n.indexOf("]");if(s!==-1){let e=n.slice(1,s),u=n.slice(s+1);if(u.charAt(0)===":"&&/^\d+$/.test(u.slice(1)))c=Number.parseInt(u.slice(1),10);return[e,c]}}let a=n.indexOf(":"),p=n.lastIndexOf(":");if(a!==-1&&a===p&&/^\d+$/.test(n.slice(p+1)))c=Number.parseInt(n.slice(p+1),10),n=n.slice(0,p);return[n,c]},aJ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,pJ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,sJ=(i)=>{if(typeof i!=="string"||i.indexOf(":")===-1)return i;let n=i.match(aJ);if(n)return n[1];let c=i.match(pJ);if(c){let a=parseInt(c[1],16),p=parseInt(c[2],16);return`${a>>8}.${a&255}.${p>>8}.${p&255}`}return i},ql=(i)=>{if(!i)return i;if(i.charAt(0)==="["&&i.charAt(i.length-1)==="]")i=i.slice(1,-1);let n=i.replace(/\.+$/,""),c=U_(n);if(c!==n)return c;return sJ(n)};function _o(i){let n;try{n=new URL(i)}catch(s){return!1}let c=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!c)return!1;if(c==="*")return!0;let a=Number.parseInt(n.port,10)||nJ[n.protocol.split(":",1)[0]]||0,p=ql(n.hostname.toLowerCase());return c.split(/[\s,]+/).some((s)=>{if(!s)return!1;if(s==="*")return!0;let[e,u]=cJ(s);if(e=ql(e),!e)return!1;if(u&&u!==a)return!1;if(e.charAt(0)==="*")e=e.slice(1);if(e.charAt(0)===".")return p.endsWith(e);return p===e||bl(p)&&bl(e)})}function eJ(i,n){i=i||10;let c=Array(i),a=Array(i),p=0,s=0,e;return n=n!==void 0?n:1000,function(o){let t=Date.now(),m=a[s];if(!e)e=t;c[p]=o,a[p]=t;let d=s,l=0;while(d!==p)l+=c[d++],d=d%i;if(p=(p+1)%i,p===s)s=(s+1)%i;if(t-e<n)return;let f=m&&t-m;return f?Math.round(l*1000/f):void 0}}var Kl=eJ;function uJ(i,n){let c=0,a=1000/n,p,s,e=(t,m=Date.now())=>{if(c=m,p=null,s)clearTimeout(s),s=null;i(...t)};return[(...t)=>{let m=Date.now(),d=m-c;if(d>=a)e(t,m);else if(p=t,!s)s=setTimeout(()=>{s=null,e(p)},a-d)},()=>p&&e(p)]}var _l=uJ;var Gn=(i,n,c=3)=>{let a=0,p=Kl(50,250);return _l((s)=>{if(!s||typeof s.loaded!=="number")return;let e=s.loaded,u=s.lengthComputable?s.total:void 0,o=Math.max(0,u!=null?Math.min(e,u):e),t=Math.max(0,o-a),m=p(t);a=Math.max(a,o);let d={loaded:o,total:u,progress:u?o/u:void 0,bytes:t,rate:m?m:void 0,estimated:m&&u?(u-o)/m:void 0,event:s,lengthComputable:u!=null,[n?"download":"upload"]:!0};i(d)},c)},Rc=(i,n)=>{let c=i!=null;return[(a)=>n[0]({lengthComputable:c,total:i,loaded:a}),n[1]]},jc=(i,n=x.asap)=>(...c)=>n(()=>i(...c));var Jl=(i)=>i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102,$l=(i,n,c)=>n+2<c&&Jl(i.charCodeAt(n+1))&&Jl(i.charCodeAt(n+2)),hl=(i)=>i<=57?i-48:(i&223)-55,oJ=(i)=>i>=65&&i<=90||i>=97&&i<=122||i>=48&&i<=57||i===43||i===47||i===45||i===95,tJ=(i)=>i===9||i===10||i===12||i===13||i===32,mJ=(i)=>{let n=Math.floor(i/4),c=i%4;return n*3+(c===2?1:c===3?2:0)},zl=(i)=>{let n=i.length,c=0;if(n>0&&i.charCodeAt(n-1)===61){if(c++,n>1&&i.charCodeAt(n-2)===61)c++}return Math.floor((n-c)*3/4)},dJ=(i)=>{let n=i.length,c=0,a=0,p=!1;for(let s=0;s<n;s++){let e=i.charCodeAt(s);if(e===37&&$l(i,s,n))e=hl(i.charCodeAt(s+1))*16+hl(i.charCodeAt(s+2)),s+=2;if(tJ(e))continue;if(e===61){a++;continue}if(!oJ(e)||a>0){p=!0;continue}c++}if(p||a>2||a>0&&(c+a)%4!==0||c%4===1)return zl(i);return mJ(c)},Zl=(i,n)=>{if(!i||typeof i!=="string")return 0;if(!i.startsWith("data:"))return 0;let c=i.indexOf(",");if(c<0)return 0;let a=i.slice(5,c),p=i.slice(c+1);if(/;base64/i.test(a))return n(p);let e=0;for(let u=0,o=p.length;u<o;u++){let t=p.charCodeAt(u);if(t===37&&$l(p,u,o))e+=1,u+=2;else if(t<128)e+=1;else if(t<2048)e+=2;else if(t>=55296&&t<=56319&&u+1<o){let m=p.charCodeAt(u+1);if(m>=56320&&m<=57343)e+=4,u++;else e+=3}else e+=3}return e};function Jo(i){let n=typeof i==="string"?i.indexOf("#"):-1;return Zl(n===-1?i:i.slice(0,n),dJ)}function Gl(i){return Zl(i,zl)}var Yl={flush:Ni.default.constants.Z_SYNC_FLUSH,finishFlush:Ni.default.constants.Z_SYNC_FLUSH},xJ={flush:Ni.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ni.default.constants.BROTLI_OPERATION_FLUSH},rJ={flush:Ni.default.constants.ZSTD_e_flush,finishFlush:Ni.default.constants.ZSTD_e_flush},El=x.isFunction(Ni.default.createBrotliDecompress),Rl=x.isFunction(Ni.default.createZstdDecompress),jl="gzip, compress, deflate"+(El?", br":""),lJ=jl+(Rl?", zstd":""),Xl=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):x.asap,{http:fJ,https:vJ}=Nl.default,Go=/https:?/,Sl=Symbol("axios.http.socketListener"),ms=Symbol("axios.http.currentReq"),Tl=Symbol("axios.http.installedTunnel"),wJ=new Map,Il=new WeakMap,Pl={22:21,24:5};function bJ(i=process.versions&&process.versions.node){if(!i)return!1;let[n,c]=i.split(".").map((a)=>Number(a));if(!Number.isInteger(n)||!Number.isInteger(c))return!1;if(n>24)return!0;return Pl[n]!=null&&c>=Pl[n]}function qJ(i,n=process.versions&&process.versions.node){if(!bJ(n))return!1;let c=i&&i.options;return Boolean(c&&x.hasOwnProp(c,"proxyEnv")&&c.proxyEnv!=null)}function WJ(i,n,c){return Go.test(i.protocol)?c||Zo.default.globalAgent:n||zo.default.globalAgent}function KJ(i,n){let c=i.protocol+"//"+i.hostname+":"+(i.port||"")+"#"+(i.auth||""),a=n?Il.get(n)||Il.set(n,new Map).get(n):wJ,p=a.get(c);if(p)return p;let s=n&&n.options?{...n.options,...i}:i;if(p=new $o.default(s),n&&n.options){let e={...n.options},u=p.callback;p.callback=function(t,m){return u.call(this,t,{...e,...m})}}return p[Tl]=!0,a.set(c,p),p}var Hl=y.protocols.map((i)=>{return i+":"}),Ml=(i)=>{if(!x.isString(i))return i;try{return decodeURIComponent(i)}catch(n){return i}},Vl=(i,[n,c])=>{return i.on("end",c).on("error",c),n},_J=new vl;function JJ(i,n,c){if(i.beforeRedirects.proxy)i.beforeRedirects.proxy(i);if(i.beforeRedirects.auth)i.beforeRedirects.auth(i);if(i.beforeRedirects.sensitiveHeaders)i.beforeRedirects.sensitiveHeaders(i,c);if(i.beforeRedirects.config)i.beforeRedirects.config(i,n,c)}function hJ(i,n){if(!i)return;Object.keys(i).forEach((c)=>{if(n.has(c.toLowerCase()))delete i[c]})}function $J(i,n){if(!n)return!1;try{return new URL(n.url).origin===new URL(i.href).origin}catch(c){return!1}}function Dl(i,n,c,a,p,s){let e=n,u=WJ(i,s,p);if(!e&&e!==!1&&!qJ(u)){let o=Xr(c);if(o){if(!_o(c))e=new URL(o)}}if(a&&i.headers){for(let o of Object.keys(i.headers))if(o.toLowerCase()==="proxy-authorization")delete i.headers[o]}if(a&&i.agent&&i.agent[Tl])i.agent=void 0;if(e){let o=e instanceof URL,t=(v)=>o||x.hasOwnProp(e,v)?e[v]:void 0,m=t("username"),d=t("password"),l=x.hasOwnProp(e,"auth")?e.auth:void 0;if(m)l=(m||"")+":"+(d||"");if(l){let v=typeof l==="object",b=v&&x.hasOwnProp(l,"username")?l.username:void 0,q=v&&x.hasOwnProp(l,"password")?l.password:void 0;if(Boolean(b||q))l=(b||"")+":"+(q||"");else if(v)throw new W("Invalid proxy authorization",W.ERR_BAD_OPTION,{proxy:e})}if(Go.test(i.protocol)){if(!(p instanceof $o.default)){let v=t("hostname")||t("host"),b=t("port"),q=t("protocol"),w=q?q.includes(":")?q:`${q}:`:"http:",_=v&&v.includes(":")&&!v.startsWith("[")?`[${v}]`:v,K=new URL(`${w}//${_}${b?":"+b:""}`),G={protocol:K.protocol,hostname:K.hostname.replace(/^\[|\]$/g,""),port:K.port,auth:l&&typeof l==="string"?l:void 0};if(K.protocol==="https:")G.ALPNProtocols=["http/1.1"];let P=KJ(G,p);if(i.agent=P,i.agents)i.agents.https=P}}else{if(l){let w=Buffer.from(l,"utf8").toString("base64");i.headers["Proxy-Authorization"]="Basic "+w}let v=!1;for(let w of Object.keys(i.headers))if(w.toLowerCase()==="host"){v=!0;break}if(!v)i.headers.host=i.hostname+(i.port?":"+i.port:"");let b=t("hostname")||t("host");i.hostname=b,i.host=b,i.port=t("port"),i.path=c;let q=t("protocol");if(q)i.protocol=q.includes(":")?q:`${q}:`}}i.beforeRedirects.proxy=function(t){Dl(t,n,t.href,!0,p,s)}}var zJ=typeof process<"u"&&x.kindOf(process)==="process",ZJ=(i)=>{return new Promise((n,c)=>{let a,p,s=(o,t)=>{if(p)return;p=!0,a&&a(o,t)},e=(o)=>{s(o),n(o)},u=(o)=>{s(o,!0),c(o)};i(e,u,(o)=>a=o).catch(u)})},GJ=({address:i,family:n})=>{if(!x.isString(i))throw TypeError("address must be a string");return{address:i,family:n||(i.indexOf(".")<0?6:4)}},Cl=(i,n)=>GJ(x.isObject(i)?i:{address:i,family:n}),YJ={request(i,n){let c=i.protocol+"//"+i.hostname+":"+(i.port||(i.protocol==="https:"?443:80)),{http2Options:a,headers:p}=i,s=_J.getSession(c,a),{HTTP2_HEADER_SCHEME:e,HTTP2_HEADER_METHOD:u,HTTP2_HEADER_PATH:o,HTTP2_HEADER_STATUS:t}=Ol.default.constants,m={[e]:i.protocol.replace(":",""),[u]:i.method,[o]:i.path};x.forEach(p,(l,f)=>{f.charAt(0)!==":"&&(m[f]=l)});let d=s.request(m);return d.once("response",(l)=>{let f=d;l=Object.assign({},l);let v=l[t];delete l[t],f.headers=l,f.statusCode=+v,n(f)}),d}},Ll=zJ&&function(n){return ZJ(async function(a,p,s){let e=(Z)=>x.getSafeProp(n,Z),u=e("transitional")||Cn,o=e("data"),t=e("lookup"),m=e("family"),d=e("httpVersion");if(d===void 0)d=1;let l=e("http2Options"),f=e("httpAgent"),v=e("httpsAgent"),b=e("proxy"),q=e("responseType"),w=e("responseEncoding"),_=e("socketPath"),K=e("method").toUpperCase(),G=e("maxRedirects"),P=e("maxBodyLength"),S=e("maxContentLength"),oi=e("decompress"),Si,Oi=!1,V,di;if(d=+d,Number.isNaN(d))throw TypeError(`Invalid protocol version: '${n.httpVersion}' is not a number`);if(d!==1&&d!==2)throw TypeError(`Unsupported protocol version '${d}'`);let an=d===2;if(t){let Z=wl(t,(h)=>x.isArray(h)?h:[h]);t=(h,C,U)=>{Z(h,C,(H,xi,Zi)=>{if(H)return U(H);let pi=x.isArray(xi)?xi.map((Gc)=>Cl(Gc)):[Cl(xi,Zi)];C.all?U(H,pi):U(H,pi[0].address,pi[0].family)})}}let rn=new yl.EventEmitter;function si(Z){try{rn.emit("abort",!Z||Z.type?new Ai(null,n,V):Z)}catch(h){}}function $n(){if(di)clearTimeout(di),di=null}function Un(){let Z=e("timeout"),h=Z?"timeout of "+Z+"ms exceeded":"timeout exceeded",C=e("timeoutErrorMessage");if(C)h=C;return new W(h,u.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,n,V)}rn.once("abort",p);let Qn=()=>{if($n(),n.cancelToken)n.cancelToken.unsubscribe(si);if(n.signal)n.signal.removeEventListener("abort",si);rn.removeAllListeners()};if(n.cancelToken||n.signal){if(n.cancelToken&&n.cancelToken.subscribe(si),n.signal)n.signal.aborted?si():n.signal.addEventListener("abort",si)}s((Z,h)=>{if(Si=!0,$n(),h){Oi=!0,Qn();return}let{data:C}=Z;if(C instanceof Ti.default.Readable||C instanceof Ti.default.Duplex){let U=Ti.default.finished(C,()=>{U(),Qn()})}else Qn()});let Cp=ec(e("baseURL"),e("url"),e("allowAbsoluteUrls"),n),Op=_?"http://localhost":y.hasBrowserEnv?y.origin:void 0,F=new URL(Cp,Op),k=F.protocol||Hl[0];if(k==="data:"){if(S>-1){let h=String(e("url")||Cp||"");if(Gl(h)>S)return p(new W("maxContentLength size of "+S+" exceeded",W.ERR_BAD_RESPONSE,n))}let Z;if(K!=="GET")return vn(a,p,{status:405,statusText:"method not allowed",headers:{},config:n});try{Z=wo(e("url"),q==="blob",{Blob:n.env&&n.env.Blob})}catch(h){throw W.from(h,W.ERR_BAD_REQUEST,n)}if(q==="text"){if(Z=Z.toString(w),!w||w==="utf8")Z=x.stripBOM(Z)}else if(q==="stream")Z=Ti.default.Readable.from(Z);return vn(a,p,{data:Z,status:200,statusText:"OK",headers:new j,config:n})}if(Hl.indexOf(k)===-1)return p(new W("Unsupported protocol "+k,W.ERR_BAD_REQUEST,n));let ai=j.from(n.headers).normalize();ai.set("User-Agent","axios/"+Zn,!1);let{onUploadProgress:ln,onDownloadProgress:zn}=n,ic=n.maxRate,N=void 0,bi=void 0;if(x.isSpecCompliantForm(o)){let Z=ai.getContentType(/boundary=([-_\w\d]{10,70})/i);o=tl(o,(h)=>{ai.set(h)},{tag:`axios-${Zn}-boundary`,boundary:Z&&Z[1]||void 0})}else if(x.isFormData(o)&&x.isFunction(o.getHeaders)&&o.getHeaders!==Object.prototype.getHeaders){if(ga(ai,o.getHeaders(),e("formDataHeaderPolicy")),!ai.hasContentLength())try{let Z=await Al.default.promisify(o.getLength).call(o);Number.isFinite(Z)&&Z>=0&&ai.setContentLength(Z)}catch(Z){}}else if(x.isBlob(o)||x.isFile(o))o.size&&ai.setContentType(o.type||"application/octet-stream"),ai.setContentLength(o.size||0),o=Ti.default.Readable.from(ts(o));else if(o&&!x.isStream(o)){if(Buffer.isBuffer(o));else if(x.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(x.isString(o))o=Buffer.from(o,"utf-8");else return p(new W("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",W.ERR_BAD_REQUEST,n));if(ai.setContentLength(o.length,!1),P>-1&&o.length>P)return p(new W("Request body larger than maxBodyLength limit",W.ERR_BAD_REQUEST,n))}let zc=x.toFiniteNumber(ai.getContentLength());if(x.isArray(ic))N=ic[0],bi=ic[1];else N=bi=ic;if(o&&(ln||N)){if(!x.isStream(o))o=Ti.default.Readable.from(o,{objectMode:!1});o=Ti.default.pipeline([o,new qo({maxRate:x.toFiniteNumber(N)})],x.noop),ln&&o.on("progress",Vl(o,Rc(zc,Gn(jc(ln,Xl),!1,3))))}let fn=void 0,ha=e("auth");if(ha){let Z=x.getSafeProp(ha,"username")||"",h=x.getSafeProp(ha,"password")||"";fn=Z+":"+h}if(!fn&&(F.username||F.password)){let Z=Ml(F.username),h=Ml(F.password);fn=Z+":"+h}fn&&ai.delete("authorization");let $a;try{$a=sc(F.pathname+F.search,e("params"),e("paramsSerializer")).replace(/^\?/,"")}catch(Z){return p(W.from(Z,W.ERR_BAD_REQUEST,n,null,null,{url:e("url"),exists:!0}))}ai.set("Accept-Encoding",x.hasOwnProp(u,"advertiseZstdAcceptEncoding")&&u.advertiseZstdAcceptEncoding===!0?lJ:jl,!1);let R=Object.assign(Object.create(null),{path:$a,method:K,headers:Ic(ai),agents:{http:f,https:v},auth:fn,protocol:k,family:m,beforeRedirect:JJ,beforeRedirects:Object.create(null),http2Options:l});if(!x.isUndefined(t)&&(R.lookup=t),_){if(typeof _!=="string")return p(new W("socketPath must be a string",W.ERR_BAD_OPTION_VALUE,n));let Z=e("allowedSocketPaths");if(Z!=null){let h=Array.isArray(Z)?Z:[Z],C=ho.resolve(_);if(!h.some((H)=>typeof H==="string"&&ho.resolve(H)===C))return p(new W(`socketPath "${_}" is not permitted by allowedSocketPaths`,W.ERR_BAD_OPTION_VALUE,n))}R.socketPath=_}else R.hostname=F.hostname.startsWith("[")?F.hostname.slice(1,-1):F.hostname,R.port=F.port,Dl(R,b,k+"//"+F.hostname+(F.port?":"+F.port:"")+R.path,!1,v,f);let Hn,Zc=!1,Ei=!1,Y=Go.test(R.protocol);if(R.agent==null)R.agent=Y?v:f;if(an)Hn=YJ;else{let Z=e("transport");if(Z)Hn=Z;else if(G===0)Hn=Y?Zo.default:zo.default,Zc=!0;else{if(Ei=!0,R.sensitiveHeaders=[],G)R.maxRedirects=G;let h=e("beforeRedirect");if(h)R.beforeRedirects.config=h;if(fn){let U=F.origin,H=fn;R.beforeRedirects.auth=function(Zi){try{if(new URL(Zi.href).origin===U)Zi.auth=H}catch(pi){}}}let C=e("sensitiveHeaders");if(C!=null){if(!x.isArray(C))return p(new W("sensitiveHeaders must be an array of strings",W.ERR_BAD_OPTION_VALUE,n));let U=new Set;for(let H of C){if(!x.isString(H))return p(new W("sensitiveHeaders must be an array of strings",W.ERR_BAD_OPTION_VALUE,n));U.add(H.toLowerCase())}if(U.size)R.sensitiveHeaders=Array.from(U),R.beforeRedirects.sensitiveHeaders=function(xi,Zi){if(!$J(xi,Zi))hJ(xi.headers,U)}}Hn=Y?vJ:fJ}}if(P>-1)R.maxBodyLength=P;else R.maxBodyLength=1/0;R.insecureHTTPParser=Boolean(e("insecureHTTPParser")),V=Hn.request(R,function(h){if($n(),V.destroyed)return;let C=[h],U=x.toFiniteNumber(h.headers["content-length"]);if(zn||bi){let pi=new qo({maxRate:x.toFiniteNumber(bi)});zn&&pi.on("progress",Vl(pi,Rc(U,Gn(jc(zn,Xl),!0,3)))),C.push(pi)}let H=h,xi=h.req||V;if(oi!==!1&&h.headers["content-encoding"]){if(K==="HEAD"||h.statusCode===204)delete h.headers["content-encoding"];switch((h.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":C.push(Ni.default.createUnzip(Yl)),delete h.headers["content-encoding"];break;case"deflate":C.push(new xl),C.push(Ni.default.createUnzip(Yl)),delete h.headers["content-encoding"];break;case"br":if(El)C.push(Ni.default.createBrotliDecompress(xJ)),delete h.headers["content-encoding"];break;case"zstd":if(Rl)C.push(Ni.default.createZstdDecompress(rJ)),delete h.headers["content-encoding"];break}}H=C.length>1?Ti.default.pipeline(C,x.noop):C[0];let Zi={status:h.statusCode,statusText:h.statusMessage,headers:new j(h.headers),config:n,request:xi};if(q==="stream"){if(S>-1){let pi=S,Gc=H;async function*za(){let ri=0;for await(let jd of Gc){if(ri+=jd.length,ri>pi)throw new W("maxContentLength size of "+pi+" exceeded",W.ERR_BAD_RESPONSE,n,xi);yield jd}}H=Ti.default.Readable.from(za(),{objectMode:!1})}Zi.data=H,vn(a,p,Zi)}else{let pi=[],Gc=0;H.on("data",function(ri){if(pi.push(ri),Gc+=ri.length,S>-1&&Gc>S)Oi=!0,H.destroy(),si(new W("maxContentLength size of "+S+" exceeded",W.ERR_BAD_RESPONSE,n,xi))}),H.on("aborted",function(){if(Oi)return;let ri=new W("stream has been aborted",W.ERR_BAD_RESPONSE,n,xi,Zi);H.destroy(ri),p(ri)}),H.on("error",function(ri){if(Oi)return;p(W.from(ri,null,n,xi,Zi))}),H.on("end",function(){try{let ri=pi.length===1?pi[0]:Buffer.concat(pi);if(q!=="arraybuffer"){if(ri=ri.toString(w),!w||w==="utf8")ri=x.stripBOM(ri)}Zi.data=ri}catch(ri){return p(W.from(ri,null,n,Zi.request,Zi))}vn(a,p,Zi)})}rn.once("abort",(pi)=>{if(!H.destroyed)H.emit("error",pi),H.destroy()})}),rn.once("abort",(Z)=>{if(V.close)V.close();else V.destroy(Z)}),V.on("error",function(h){p(W.from(h,null,n,V))});let qi=new Set;if(V.on("socket",function(h){if(typeof h.setKeepAlive==="function")h.setKeepAlive(!0,60000);if(!h[Sl])h.on("error",function(U){let H=h[ms];if(H&&!H.destroyed)H.destroy(U)}),h[Sl]=!0;h[ms]=V,qi.add(h)}),V.once("close",function(){$n();for(let h of qi)if(h[ms]===V)h[ms]=null;qi.clear()}),e("timeout")){let Z=parseInt(e("timeout"),10);if(Number.isNaN(Z)){si(new W("error trying to parse `config.timeout` to int",W.ERR_BAD_OPTION_VALUE,n,V));return}let h=function(){if(Si)return;si(Un())};if(Zc&&Z>0)di=setTimeout(h,Z);V.setTimeout(Z,h)}else V.setTimeout(0);if(x.isStream(o)){let Z=!1,h=!1;o.on("end",()=>{Z=!0}),o.once("error",(U)=>{h=!0,V.destroy(U)}),o.on("close",()=>{if(!Z&&!h)si(new Ai("Request stream has been aborted",n,V))});let C=o;if(P>-1&&!Ei){let U=P,H=0;C=Ti.default.pipeline([o,new Ti.default.Transform({transform(xi,Zi,pi){if(H+=xi.length,H>U)return pi(new W("Request body larger than maxBodyLength limit",W.ERR_BAD_REQUEST,n,V));pi(null,xi)}})],x.noop),C.on("error",(xi)=>{if(!V.destroyed)V.destroy(xi)})}C.pipe(V)}else o&&V.write(o),V.end()})};var Bl=y.hasStandardBrowserEnv?((i,n)=>(c)=>{return c=new URL(c,y.origin),i.protocol===c.protocol&&i.host===c.host&&(n||i.port===c.port)})(new URL(y.origin),y.navigator&&/(msie|trident)/i.test(y.navigator.userAgent)):()=>!0;var Fl=y.hasStandardBrowserEnv?{write(i,n,c,a,p,s,e){if(typeof document>"u")return;let u=[`${i}=${encodeURIComponent(n)}`];if(x.isNumber(c))u.push(`expires=${new Date(c).toUTCString()}`);if(x.isString(a))u.push(`path=${a}`);if(x.isString(p))u.push(`domain=${p}`);if(s===!0)u.push("secure");if(x.isString(e))u.push(`SameSite=${e}`);document.cookie=u.join("; ")},read(i){if(typeof document>"u")return null;let n=document.cookie.split(";");for(let c=0;c<n.length;c++){let a=n[c].replace(/^\s+/,""),p=a.indexOf("=");if(p!==-1&&a.slice(0,p)===i)try{return decodeURIComponent(a.slice(p+1))}catch(s){return a.slice(p+1)}}return null},remove(i){this.write(i,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var gl=(i)=>i instanceof j?{...i}:i,XJ=(i)=>{if(Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor)return Object.keys(i).concat(Object.getOwnPropertySymbols(i).filter((n)=>Object.getOwnPropertyDescriptor(i,n).enumerable));return Object.keys(i)};function sn(i,n){i=i||{},n=n||{};let c=Object.create(null);Object.defineProperty(c,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function a(m,d,l,f){if(x.isPlainObject(m)&&x.isPlainObject(d))return x.merge.call({caseless:f},m,d);else if(x.isPlainObject(d))return x.merge({},d);else if(x.isArray(d))return d.slice();return d}function p(m,d,l,f){if(!x.isUndefined(d))return a(m,d,l,f);else if(!x.isUndefined(m))return a(void 0,m,l,f)}function s(m,d){if(!x.isUndefined(d))return a(void 0,d)}function e(m,d){if(!x.isUndefined(d))return a(void 0,d);else if(!x.isUndefined(m))return a(void 0,m)}function u(m){let d=x.hasOwnProp(n,"transitional")?n.transitional:void 0;if(!x.isUndefined(d))if(x.isPlainObject(d)){if(x.hasOwnProp(d,m))return d[m]}else return;let l=x.hasOwnProp(i,"transitional")?i.transitional:void 0;if(x.isPlainObject(l)&&x.hasOwnProp(l,m))return l[m];return}function o(m,d,l){if(x.hasOwnProp(n,l))return a(m,d);else if(x.hasOwnProp(i,l))return a(void 0,m)}let t={url:s,method:s,data:s,baseURL:e,transformRequest:e,transformResponse:e,paramsSerializer:e,timeout:e,timeoutMessage:e,withCredentials:e,withXSRFToken:e,adapter:e,responseType:e,xsrfCookieName:e,xsrfHeaderName:e,onUploadProgress:e,onDownloadProgress:e,decompress:e,maxContentLength:e,maxBodyLength:e,beforeRedirect:e,transport:e,httpAgent:e,httpsAgent:e,cancelToken:e,socketPath:e,allowedSocketPaths:e,responseEncoding:e,validateStatus:o,headers:(m,d,l)=>p(gl(m),gl(d),l,!0)};if(x.forEach(XJ({...i,...n}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;let l=x.hasOwnProp(t,d)?t[d]:p,f=x.hasOwnProp(i,d)?i[d]:void 0,v=x.hasOwnProp(n,d)?n[d]:void 0,b=l(f,v,d);x.isUndefined(b)&&l!==o||(c[d]=b)}),x.hasOwnProp(n,"validateStatus")&&x.isUndefined(n.validateStatus)&&u("validateStatusUndefinedResolves")===!1)if(x.hasOwnProp(i,"validateStatus"))c.validateStatus=a(void 0,i.validateStatus);else delete c.validateStatus;return c}var SJ=(i)=>encodeURIComponent(i).replace(/%([0-9A-F]{2})/gi,(n,c)=>String.fromCharCode(parseInt(c,16)));function IJ(i){let n=sn({},i),c=(l)=>x.hasOwnProp(n,l)?n[l]:void 0,a=c("data"),p=c("withXSRFToken"),s=c("xsrfHeaderName"),e=c("xsrfCookieName"),u=c("headers"),o=c("auth"),t=c("baseURL"),m=c("allowAbsoluteUrls"),d=c("url");if(n.headers=u=j.from(u),n.url=sc(ec(t,d,m,n),c("params"),c("paramsSerializer")),o){let l=x.getSafeProp(o,"username")||"",f=x.getSafeProp(o,"password")||"";try{u.set("Authorization","Basic "+btoa(l+":"+(f?SJ(f):"")))}catch(v){throw W.from(v,W.ERR_BAD_OPTION_VALUE,i)}}if(x.isFormData(a)){if(y.hasStandardBrowserEnv||y.hasStandardBrowserWebWorkerEnv||x.isReactNative(a))u.setContentType(void 0);else if(x.isFunction(a.getHeaders))ga(u,a.getHeaders(),c("formDataHeaderPolicy"))}if(y.hasStandardBrowserEnv){if(x.isFunction(p))p=p(n);if(p===!0||p==null&&Bl(n.url)){let f=s&&e&&Fl.read(e);if(f)u.set(s,f)}}return n}var ds=IJ;var PJ=typeof XMLHttpRequest<"u",kl=PJ&&function(i){return new Promise(function(c,a){let p=ds(i),s=p.data,e=j.from(p.headers).normalize(),{responseType:u,onUploadProgress:o,onDownloadProgress:t}=p,m,d,l,f,v;function b(){f&&f(),v&&v(),p.cancelToken&&p.cancelToken.unsubscribe(m),p.signal&&p.signal.removeEventListener("abort",m)}let q=new XMLHttpRequest;q.open(p.method.toUpperCase(),p.url,!0),q.timeout=p.timeout;function w(){if(!q)return;let K=j.from("getAllResponseHeaders"in q&&q.getAllResponseHeaders()),P={data:!u||u==="text"||u==="json"?q.responseText:q.response,status:q.status,statusText:q.statusText,headers:K,config:i,request:q};vn(function(oi){c(oi),b()},function(oi){a(oi),b()},P),q=null}if("onloadend"in q)q.onloadend=w;else q.onreadystatechange=function(){if(!q||q.readyState!==4)return;if(q.status===0&&!(q.responseURL&&q.responseURL.startsWith("file:")))return;setTimeout(w)};if(q.onabort=function(){if(!q)return;a(new W("Request aborted",W.ECONNABORTED,i,q)),b(),q=null},q.onerror=function(G){let P=G&&G.message?G.message:"Network Error",S=new W(P,W.ERR_NETWORK,i,q);S.event=G||null,a(S),b(),q=null},q.ontimeout=function(){let G=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded",P=p.transitional||Cn;if(p.timeoutErrorMessage)G=p.timeoutErrorMessage;a(new W(G,P.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,i,q)),b(),q=null},s===void 0&&e.setContentType(null),"setRequestHeader"in q)x.forEach(Ic(e),function(G,P){q.setRequestHeader(P,G)});if(!x.isUndefined(p.withCredentials))q.withCredentials=!!p.withCredentials;if(u&&u!=="json")q.responseType=p.responseType;if(t)[l,v]=Gn(t,!0),q.addEventListener("progress",l);if(o&&q.upload)[d,f]=Gn(o),q.upload.addEventListener("progress",d),q.upload.addEventListener("loadend",f);if(p.cancelToken||p.signal){if(m=(K)=>{if(!q)return;a(!K||K.type?new Ai(null,i,q):K),q.abort(),b(),q=null},p.cancelToken&&p.cancelToken.subscribe(m),p.signal)p.signal.aborted?m():p.signal.addEventListener("abort",m)}let _=Fa(p.url);if(_&&!y.protocols.includes(_)){a(new W("Unsupported protocol "+_+":",W.ERR_BAD_REQUEST,i)),b();return}q.send(s||null)})};var HJ=(i,n)=>{if(i=i?i.filter(Boolean):[],!n&&!i.length)return;let c=new AbortController,a=!1,p=function(o){if(!a){a=!0,e();let t=o instanceof Error?o:this.reason;c.abort(t instanceof W?t:new Ai(t instanceof Error?t.message:t))}},s=n&&setTimeout(()=>{s=null,p(new W(`timeout of ${n}ms exceeded`,W.ETIMEDOUT))},n),e=()=>{if(!i)return;s&&clearTimeout(s),s=null,i.forEach((o)=>{o.unsubscribe?o.unsubscribe(p):o.removeEventListener("abort",p)}),i=null};i.forEach((o)=>{if(a)return;if(o.aborted){p.call(o);return}o.addEventListener("abort",p,{once:!0})});let{signal:u}=c;return u.unsubscribe=()=>x.asap(e),u},Ul=HJ;var MJ=function*(i,n){let c=i.byteLength;if(!n||c<n){yield i;return}let a=0,p;while(a<c)p=a+n,yield i.slice(a,p),a=p},VJ=async function*(i,n){for await(let c of CJ(i))yield*MJ(c,n)},CJ=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}let n=i.getReader();try{for(;;){let{done:c,value:a}=await n.read();if(c)break;yield a}}finally{await n.cancel()}},Yo=(i,n,c,a)=>{let p=VJ(i,n),s=0,e,u=(o)=>{if(!e)e=!0,a&&a(o)};return new ReadableStream({async pull(o){try{let{done:t,value:m}=await p.next();if(t){u(),o.close();return}let d=m.byteLength;if(c){let l=s+=d;c(l)}o.enqueue(new Uint8Array(m))}catch(t){throw u(t),t}},cancel(o){return u(o),p.return()}},{highWaterMark:2})};var Ql=65536,{isFunction:xs}=x,OJ=(i)=>encodeURIComponent(i).replace(/%([0-9A-F]{2})/gi,(n,c)=>String.fromCharCode(parseInt(c,16))),nf=(i)=>{if(!x.isString(i))return i;try{return decodeURIComponent(i)}catch(n){return i}},cf=(i,...n)=>{try{return!!i(...n)}catch(c){return!1}},AJ=(i)=>{let n=i.indexOf("://"),c=i;if(n!==-1)c=c.slice(n+3);return c.includes("@")||c.includes(":")},NJ=(i)=>{let n=x.global!==void 0&&x.global!==null?x.global:globalThis,{ReadableStream:c,TextEncoder:a}=n;i=x.merge.call({skipUndefined:!0},{Request:n.Request,Response:n.Response},i);let{fetch:p,Request:s,Response:e}=i,u=p?xs(p):typeof fetch==="function",o=xs(s),t=xs(e);if(!u)return!1;let m=u&&xs(c),d=u&&(typeof a==="function"?((w)=>(_)=>w.encode(_))(new a):async(w)=>new Uint8Array(await new s(w).arrayBuffer())),l=o&&m&&cf(()=>{let w=!1,_=new s(y.origin,{body:new c,method:"POST",get duplex(){return w=!0,"half"}}),K=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return w&&!K}),f=t&&m&&cf(()=>x.isReadableStream(new e("").body)),v={stream:f&&((w)=>w.body)};u&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((w)=>{!v[w]&&(v[w]=(_,K)=>{let G=_&&_[w];if(G)return G.call(_);throw new W(`Response type '${w}' is not supported`,W.ERR_NOT_SUPPORT,K)})})})();let b=async(w)=>{if(w==null)return 0;if(x.isBlob(w))return w.size;if(x.isSpecCompliantForm(w))return(await new s(y.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(x.isArrayBufferView(w)||x.isArrayBuffer(w))return w.byteLength;if(x.isURLSearchParams(w))w=w+"";if(x.isString(w))return(await d(w)).byteLength},q=async(w,_)=>{let K=x.toFiniteNumber(w.getContentLength());return K==null?b(_):K};return async(w)=>{let{url:_,method:K,data:G,signal:P,cancelToken:S,timeout:oi,onDownloadProgress:Si,onUploadProgress:Oi,responseType:V,headers:di,withCredentials:an="same-origin",fetchOptions:rn,maxContentLength:si,maxBodyLength:$n}=ds(w),Un=x.isNumber(si)&&si>-1,Qn=x.isNumber($n)&&$n>-1,Cp=(N)=>x.hasOwnProp(w,N)?w[N]:void 0,Op=p||fetch;V=V?(V+"").toLowerCase():"text";let F=Ul([P,S&&S.toAbortSignal()],oi),k=null,ai=F&&F.unsubscribe&&(()=>{F.unsubscribe()}),ln,zn=null,ic=()=>new W("Request body larger than maxBodyLength limit",W.ERR_BAD_REQUEST,w,k);try{let N=void 0,bi=Cp("auth");if(bi){let Y=x.getSafeProp(bi,"username")||"",qi=x.getSafeProp(bi,"password")||"";N={username:Y,password:qi}}if(AJ(_)){let Y=new URL(_,y.origin);if(!N&&(Y.username||Y.password)){let qi=nf(Y.username),Z=nf(Y.password);N={username:qi,password:Z}}if(Y.username||Y.password)Y.username="",Y.password="",_=Y.href}if(N)di.delete("authorization"),di.set("Authorization","Basic "+btoa(OJ((N.username||"")+":"+(N.password||""))));if(Un&&typeof _==="string"&&_.startsWith("data:")){if(Jo(_)>si)throw new W("maxContentLength size of "+si+" exceeded",W.ERR_BAD_RESPONSE,w,k)}if(Qn&&K!=="get"&&K!=="head"){let Y=await b(G);if(typeof Y==="number"&&isFinite(Y)){if(ln=Y,Y>$n)throw ic()}}let zc=Qn&&(x.isReadableStream(G)||x.isStream(G)),fn=(Y,qi,Z)=>Yo(Y,Ql,(h)=>{if(Qn&&h>$n)throw zn=ic();qi&&qi(h)},Z);if(l&&K!=="get"&&K!=="head"&&(Oi||zc)){if(ln=ln==null?await q(di,G):ln,ln!==0||zc){let Y=new s(_,{method:"POST",body:G,duplex:"half"}),qi;if(x.isFormData(G)&&(qi=Y.headers.get("content-type")))di.setContentType(qi);if(Y.body){let[Z,h]=Oi&&Rc(ln,Gn(jc(Oi)))||[];G=fn(Y.body,Z,h)}}}else if(zc&&!o&&m&&K!=="get"&&K!=="head")G=fn(G);else if(zc&&o&&!l&&K!=="get"&&K!=="head")throw new W("Stream request bodies are not supported by the current fetch implementation",W.ERR_NOT_SUPPORT,w,k);if(!x.isString(an))an=an?"include":"omit";let ha=o&&"credentials"in s.prototype;if(x.isFormData(G)){let Y=di.getContentType();if(Y&&/^multipart\/form-data/i.test(Y)&&!/boundary=/i.test(Y))di.delete("content-type")}di.set("User-Agent","axios/"+Zn,!1);let $a={...rn,signal:F,method:K.toUpperCase(),headers:Ic(di.normalize()),body:G,duplex:"half",credentials:ha?an:void 0};k=o&&new s(_,$a);let R=await(o?Op(k,rn):Op(_,$a)),Hn=j.from(R.headers);if(Un){let Y=x.toFiniteNumber(Hn.getContentLength());if(Y!=null&&Y>si)throw new W("maxContentLength size of "+si+" exceeded",W.ERR_BAD_RESPONSE,w,k)}let Zc=f&&(V==="stream"||V==="response");if(f&&R.body&&(Si||Un||Zc&&ai)){let Y={};["status","statusText","headers"].forEach((H)=>{Y[H]=R[H]});let qi=x.toFiniteNumber(Hn.getContentLength()),[Z,h]=Si&&Rc(qi,Gn(jc(Si),!0))||[],C=0,U=(H)=>{if(Un){if(C=H,C>si)throw new W("maxContentLength size of "+si+" exceeded",W.ERR_BAD_RESPONSE,w,k)}Z&&Z(H)};R=new e(Yo(R.body,Ql,U,()=>{h&&h(),ai&&ai()}),Y)}V=V||"text";let Ei=await v[x.findKey(v,V)||"text"](R,w);if(Un&&!f&&!Zc){let Y;if(Ei!=null){if(typeof Ei.byteLength==="number")Y=Ei.byteLength;else if(typeof Ei.size==="number")Y=Ei.size;else if(typeof Ei==="string")Y=typeof a==="function"?new a().encode(Ei).byteLength:Ei.length}if(typeof Y==="number"&&Y>si)throw new W("maxContentLength size of "+si+" exceeded",W.ERR_BAD_RESPONSE,w,k)}return!Zc&&ai&&ai(),await new Promise((Y,qi)=>{vn(Y,qi,{data:Ei,headers:j.from(R.headers),status:R.status,statusText:R.statusText,config:w,request:k})})}catch(N){if(ai&&ai(),F&&F.aborted&&F.reason instanceof W){let bi=F.reason;if(bi.config=w,k&&(bi.request=k),N!==bi)Object.defineProperty(bi,"cause",{__proto__:null,value:N,writable:!0,enumerable:!1,configurable:!0});throw bi}if(zn)throw k&&!zn.request&&(zn.request=k),zn;if(N instanceof W)throw k&&!N.request&&(N.request=k),N;if(N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)){let bi=new W("Network Error",W.ERR_NETWORK,w,k,N&&N.response);throw Object.defineProperty(bi,"cause",{__proto__:null,value:N.cause||N,writable:!0,enumerable:!1,configurable:!0}),bi}throw W.from(N,N&&N.code,w,k,N&&N.response)}}},yJ=new Map,Xo=(i)=>{let n=i&&i.env||{},{fetch:c,Request:a,Response:p}=n,s=[a,p,c],e=s.length,u=e,o,t,m=yJ;while(u--)o=s[u],t=m.get(o),t===void 0&&m.set(o,t=u?new Map:NJ(n)),m=t;return t},lA=Xo();var So={http:Ll,xhr:kl,fetch:{get:Xo}};x.forEach(So,(i,n)=>{if(i){try{Object.defineProperty(i,"name",{__proto__:null,value:n})}catch(c){}Object.defineProperty(i,"adapterName",{__proto__:null,value:n})}});var af=(i)=>`- ${i}`,RJ=(i)=>x.isFunction(i)||i===null||i===!1;function jJ(i,n){i=x.isArray(i)?i:[i];let{length:c}=i,a,p,s={};for(let e=0;e<c;e++){a=i[e];let u;if(p=a,!RJ(a)){if(p=So[(u=String(a)).toLowerCase()],p===void 0)throw new W(`Unknown adapter '${u}'`)}if(p&&(x.isFunction(p)||(p=p.get(n))))break;s[u||"#"+e]=p}if(!p){let e=Object.entries(s).map(([o,t])=>`adapter ${o} `+(t===!1?"is not supported by the environment":"is not available in the build")),u=c?e.length>1?`since :
29
- `+e.map(af).join(`
30
- `):" "+af(e[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+u,W.ERR_NOT_SUPPORT)}return p}var rs={getAdapter:jJ,adapters:So};function Io(i){if(i.cancelToken)i.cancelToken.throwIfRequested();if(i.signal&&i.signal.aborted)throw new Ai(null,i)}function Ua(i){if(Io(i),i.headers=j.from(i.headers),i.data=Aa.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1)i.headers.setContentType("application/x-www-form-urlencoded",!1);return rs.getAdapter(i.adapter||Oc.adapter,i)(i).then(function(a){Io(i),i.response=a;try{a.data=Aa.call(i,i.transformResponse,a)}finally{delete i.response}return a.headers=j.from(a.headers),a},function(a){if(!Na(a)){if(Io(i),a&&a.response){i.response=a.response;try{a.response.data=Aa.call(i,i.transformResponse,a.response)}finally{delete i.response}a.response.headers=j.from(a.response.headers)}}return Promise.reject(a)})}var ls={};["object","boolean","number","function","string","symbol"].forEach((i,n)=>{ls[i]=function(a){return typeof a===i||"a"+(n<1?"n ":" ")+i}});var pf={};ls.transitional=function(n,c,a){function p(s,e){return"[Axios v"+Zn+"] Transitional option '"+s+"'"+e+(a?". "+a:"")}return(s,e,u)=>{if(n===!1)throw new W(p(e," has been removed"+(c?" in "+c:"")),W.ERR_DEPRECATED);if(c&&!pf[e])pf[e]=!0,console.warn(p(e," has been deprecated since v"+c+" and will be removed in the near future"));return n?n(s,e,u):!0}};ls.spelling=function(n){return(c,a)=>{return console.warn(`${a} is likely a misspelling of ${n}`),!0}};function TJ(i,n,c){if(typeof i!=="object"||i===null)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);let a=Object.keys(i),p=a.length;while(p-- >0){let s=a[p],e=Object.prototype.hasOwnProperty.call(n,s)?n[s]:void 0;if(e){let u=i[s],o=u===void 0||e(u,s,i);if(o!==!0)throw new W("option "+s+" must be "+o,W.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new W("Unknown option "+s,W.ERR_BAD_OPTION)}}var Qa={assertOptions:TJ,validators:ls};var Gi=Qa.validators;class ip{constructor(i){this.defaults=i||{},this.interceptors={request:new Cu,response:new Cu}}async request(i,n){try{return await this._request(i,n)}catch(c){if(c instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=Error();let p=(()=>{if(!a.stack)return"";let s=a.stack.indexOf(`
31
- `);return s===-1?"":a.stack.slice(s+1)})();try{if(!c.stack)c.stack=p;else if(p){let s=p.indexOf(`
32
- `),e=s===-1?-1:p.indexOf(`
33
- `,s+1),u=e===-1?"":p.slice(e+1);if(!String(c.stack).endsWith(u))c.stack+=`
34
- `+p}}catch(s){}}throw c}}_request(i,n){if(typeof i==="string")n=n||{},n.url=i;else n=i||{};n=sn(this.defaults,n);let{transitional:c,paramsSerializer:a,headers:p}=n;if(c!==void 0)Qa.assertOptions(c,{silentJSONParsing:Gi.transitional(Gi.boolean),forcedJSONParsing:Gi.transitional(Gi.boolean),clarifyTimeoutError:Gi.transitional(Gi.boolean),legacyInterceptorReqResOrdering:Gi.transitional(Gi.boolean),advertiseZstdAcceptEncoding:Gi.transitional(Gi.boolean),validateStatusUndefinedResolves:Gi.transitional(Gi.boolean)},!1);if(a!=null)if(x.isFunction(a))n.paramsSerializer={serialize:a};else Qa.assertOptions(a,{encode:Gi.function,serialize:Gi.function},!0);if(n.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else n.allowAbsoluteUrls=!0;Qa.assertOptions(n,{baseUrl:Gi.spelling("baseURL"),withXsrfToken:Gi.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=p&&x.merge(p.common,p[n.method]);p&&x.forEach(["delete","get","head","post","put","patch","query","common"],(f)=>{delete p[f]}),n.headers=j.concat(s,p);let e=[],u=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen==="function"&&v.runWhen(n)===!1)return;u=u&&v.synchronous;let b=n.transitional||Cn;if(b&&b.legacyInterceptorReqResOrdering)e.unshift(v.fulfilled,v.rejected);else e.push(v.fulfilled,v.rejected)});let o=[];this.interceptors.response.forEach(function(v){o.push(v.fulfilled,v.rejected)});let t,m=0,d;if(!u){let f=[Ua.bind(this),void 0];f.unshift(...e),f.push(...o),d=f.length,t=Promise.resolve(n);while(m<d)t=t.then(f[m++],f[m++]);return t}d=e.length;let l=n;while(m<d){let f=e[m++],v=e[m++];try{l=f?f(l):l}catch(b){if(!v){t=Promise.reject(b);break}try{let q=v.call(this,b);if(x.isThenable(q))t=Promise.resolve(q).then(()=>Ua.call(this,l))}catch(q){t=Promise.reject(q)}break}}if(!t)try{t=Ua.call(this,l)}catch(f){t=Promise.reject(f)}m=0,d=o.length;while(m<d)t=t.then(o[m++],o[m++]);return t}getUri(i){i=sn(this.defaults,i);let n=ec(i.baseURL,i.url,i.allowAbsoluteUrls,i);return sc(n,i.params,i.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(n){ip.prototype[n]=function(c,a){return this.request(sn(a||{},{method:n,url:c,data:a&&x.hasOwnProp(a,"data")?a.data:void 0}))}});x.forEach(["post","put","patch","query"],function(n){function c(a){return function(s,e,u){return this.request(sn(u||{},{method:n,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:e}))}}if(ip.prototype[n]=c(),n!=="query")ip.prototype[n+"Form"]=c(!0)});var np=ip;class Po{constructor(i){if(typeof i!=="function")throw TypeError("executor must be a function.");let n;this.promise=new Promise(function(p){n=p});let c=this;this.promise.then((a)=>{if(!c._listeners)return;let p=c._listeners.length;while(p-- >0)c._listeners[p](a);c._listeners=null}),this.promise.then=(a)=>{let p,s=new Promise((e)=>{c.subscribe(e),p=e}).then(a);return s.cancel=function(){c.unsubscribe(p)},s},i(function(p,s,e){if(c.reason)return;c.reason=new Ai(p,s,e),n(c.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}if(this._listeners)this._listeners.push(i);else this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;let n=this._listeners.indexOf(i);if(n!==-1)this._listeners.splice(n,1)}toAbortSignal(){let i=new AbortController,n=(c)=>{i.abort(c)};return this.subscribe(n),i.signal.unsubscribe=()=>this.unsubscribe(n),i.signal}static source(){let i;return{token:new Po(function(a){i=a}),cancel:i}}}var sf=Po;function Ho(i){return function(c){return i.apply(null,c)}}function Mo(i){return x.isObject(i)&&i.isAxiosError===!0}var Vo={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Vo).forEach(([i,n])=>{Vo[n]=i});var ef=Vo;function uf(i){let n=new np(i),c=Ga(np.prototype.request,n);return x.extend(c,np.prototype,n,{allOwnKeys:!0}),x.extend(c,n,null,{allOwnKeys:!0}),c.create=function(p){return uf(sn(i,p))},c}var ei=uf(Oc);ei.Axios=np;ei.CanceledError=Ai;ei.CancelToken=sf;ei.isCancel=Na;ei.VERSION=Zn;ei.toFormData=Vn;ei.AxiosError=W;ei.Cancel=ei.CanceledError;ei.all=function(n){return Promise.all(n)};ei.spread=Ho;ei.isAxiosError=Mo;ei.mergeConfig=sn;ei.AxiosHeaders=j;ei.formToJSON=(i)=>ns(x.isHTMLForm(i)?new FormData(i):i);ei.getAdapter=rs.getAdapter;ei.HttpStatusCode=ef;ei.default=ei;var Co=ei;var DJ=Co.create({httpsAgent:new of.Agent({keepAlive:!0})});async function tf(i,n,c,a){let p=0;while(!0){++p;try{return await DJ.post(i,n,c)}catch(s){if(a.debug(`HTTP POST to ${i} failed (attempt ${p}):`),a.debug(s.response?.data||s),p>=5)throw a.error(`No success after ${p} attempts, seizing further attempts`),s;if(p>=2)a.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((e)=>setTimeout(e,25*(2**p+Math.random()*p))),a.debug("Done waiting, will try HTTP POST again now")}}}var mf=`<!DOCTYPE html>
25
+ "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,ri="secret must be a string or buffer",Hr="key must be a string or a buffer",x_="key must be a string, a buffer or an object",Nc=typeof Me.createPublicKey==="function";if(Nc)Hr+=" or a KeyObject",ri+="or a KeyObject";function _h(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return;if(!Nc)throw nt(Hr);if(typeof e!=="object")throw nt(Hr);if(typeof e.type!=="string")throw nt(Hr);if(typeof e.asymmetricKeyType!=="string")throw nt(Hr);if(typeof e.export!=="function")throw nt(Hr)}function kh(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return;if(typeof e==="object")return;throw nt(x_)}function y_(e){if(Jr.isBuffer(e))return;if(typeof e==="string")return e;if(!Nc)throw nt(ri);if(typeof e!=="object")throw nt(ri);if(e.type!=="secret")throw nt(ri);if(typeof e.export!=="function")throw nt(ri)}function qc(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Oh(e){e=e.toString();var t=4-e.length%4;if(t!==4)for(var r=0;r<t;++r)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function nt(e){var t=[].slice.call(arguments,1),r=Rh.format.bind(Rh,e).apply(null,t);return TypeError(r)}function g_(e){return Jr.isBuffer(e)||typeof e==="string"}function ni(e){if(!g_(e))e=JSON.stringify(e);return e}function Ch(e){return function(r,n){y_(n),r=ni(r);var i=Me.createHmac("sha"+e,n),o=(i.update(r),i.digest("base64"));return qc(o)}}var Lc,v_="timingSafeEqual"in Me?function(t,r){if(t.byteLength!==r.byteLength)return!1;return Me.timingSafeEqual(t,r)}:function(t,r){if(!Lc)Lc=Ah();return Lc(t,r)};function b_(e){return function(r,n,i){var o=Ch(e)(r,i);return v_(Jr.from(n),Jr.from(o))}}function Ph(e){return function(r,n){kh(n),r=ni(r);var i=Me.createSign("RSA-SHA"+e),o=(i.update(r),i.sign(n,"base64"));return qc(o)}}function Ih(e){return function(r,n,i){_h(i),r=ni(r),n=Oh(n);var o=Me.createVerify("RSA-SHA"+e);return o.update(r),o.verify(i,n,"base64")}}function w_(e){return function(r,n){kh(n),r=ni(r);var i=Me.createSign("RSA-SHA"+e),o=(i.update(r),i.sign({key:n,padding:Me.constants.RSA_PKCS1_PSS_PADDING,saltLength:Me.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return qc(o)}}function E_(e){return function(r,n,i){_h(i),r=ni(r),n=Oh(n);var o=Me.createVerify("RSA-SHA"+e);return o.update(r),o.verify({key:i,padding:Me.constants.RSA_PKCS1_PSS_PADDING,saltLength:Me.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function S_(e){var t=Ph(e);return function(){var n=t.apply(null,arguments);return n=Th.derToJose(n,"ES"+e),n}}function A_(e){var t=Ih(e);return function(n,i,o){i=Th.joseToDer(i,"ES"+e).toString("base64");var s=t(n,i,o);return s}}function R_(){return function(){return""}}function T_(){return function(t,r){return r===""}}jh.exports=function(t){var r={hs:Ch,rs:Ph,ps:w_,es:S_,none:R_},n={hs:b_,rs:Ih,ps:E_,es:A_,none:T_},i=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!i)throw nt(h_,t);var o=(i[1]||i[3]).toLowerCase(),s=i[2];return{sign:r[o](s),verify:n[o](s)}}});var Uc=y(function(p$,Lh){var __=require("buffer").Buffer;Lh.exports=function(t){if(typeof t==="string")return t;if(typeof t==="number"||__.isBuffer(t))return t.toString();return JSON.stringify(t)}});var $h=y(function(u$,Fh){var k_=Kr().Buffer,Nh=Pc(),O_=Dc(),C_=require("stream"),qh=Uc(),Fc=require("util");function Dh(e,t){return k_.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function P_(e,t,r){r=r||"utf8";var n=Dh(qh(e),"binary"),i=Dh(qh(t),r);return Fc.format("%s.%s",n,i)}function Uh(e){var{header:t,payload:r}=e,n=e.secret||e.privateKey,i=e.encoding,o=O_(t.alg),s=P_(t,r,i),a=o.sign(s,n);return Fc.format("%s.%s",s,a)}function Ao(e){var t=e.secret;if(t=t==null?e.privateKey:t,t=t==null?e.key:t,/^hs/i.test(e.header.alg)===!0&&t==null)throw TypeError("secret must be a string or buffer or a KeyObject");var r=new Nh(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new Nh(e.payload),this.secret.once("close",function(){if(!this.payload.writable&&this.readable)this.sign()}.bind(this)),this.payload.once("close",function(){if(!this.secret.writable&&this.readable)this.sign()}.bind(this))}Fc.inherits(Ao,C_);Ao.prototype.sign=function(){try{var t=Uh({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}};Ao.sign=Uh;Fh.exports=Ao});var Xh=y(function(l$,Vh){var Kh=Kr().Buffer,Bh=Pc(),I_=Dc(),j_=require("stream"),Hh=Uc(),L_=require("util"),N_=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function q_(e){return Object.prototype.toString.call(e)==="[object Object]"}function D_(e){if(q_(e))return e;try{return JSON.parse(e)}catch(t){return}}function Jh(e){var t=e.split(".",1)[0];return D_(Kh.from(t,"base64").toString("binary"))}function U_(e){return e.split(".",2).join(".")}function Wh(e){return e.split(".")[2]}function F_(e,t){t=t||"utf8";var r=e.split(".")[1];return Kh.from(r,"base64").toString(t)}function zh(e){return N_.test(e)&&!!Jh(e)}function Mh(e,t,r){if(!t){var n=Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}e=Hh(e);var i=Wh(e),o=U_(e),s=I_(t);return s.verify(o,i,r)}function Gh(e,t){if(t=t||{},e=Hh(e),!zh(e))return null;var r=Jh(e);if(!r)return null;var n=F_(e);if(r.typ==="JWT"||t.json)n=JSON.parse(n,t.encoding);return{header:r,payload:n,signature:Wh(e)}}function Wr(e){e=e||{};var t=e.secret;if(t=t==null?e.publicKey:t,t=t==null?e.key:t,/^hs/i.test(e.algorithm)===!0&&t==null)throw TypeError("secret must be a string or buffer or a KeyObject");var r=new Bh(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new Bh(e.signature),this.secret.once("close",function(){if(!this.signature.writable&&this.readable)this.verify()}.bind(this)),this.signature.once("close",function(){if(!this.secret.writable&&this.readable)this.verify()}.bind(this))}L_.inherits(Wr,j_);Wr.prototype.verify=function(){try{var t=Mh(this.signature.buffer,this.algorithm,this.key.buffer),r=Gh(this.signature.buffer,this.encoding);return this.emit("done",t,r),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(n){this.readable=!1,this.emit("error",n),this.emit("close")}};Wr.decode=Gh;Wr.isValid=zh;Wr.verify=Mh;Vh.exports=Wr});var To=y(function(jt){var Yh=$h(),Ro=Xh(),$_=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];jt.ALGORITHMS=$_;jt.sign=Yh.sign;jt.verify=Ro.verify;jt.decode=Ro.decode;jt.isValid=Ro.isValid;jt.createSign=function(t){return new Yh(t)};jt.createVerify=function(t){return new Ro(t)}});var $c=y(function(f$,Zh){var B_=To();Zh.exports=function(e,t){t=t||{};var r=B_.decode(e,t);if(!r)return null;var n=r.payload;if(typeof n==="string")try{var i=JSON.parse(n);if(i!==null&&typeof i==="object")n=i}catch(o){}if(t.complete===!0)return{header:r.header,payload:n,signature:r.signature};return n}});var ii=y(function(m$,Qh){var _o=function(e,t){if(Error.call(this,e),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);if(this.name="JsonWebTokenError",this.message=e,t)this.inner=t};_o.prototype=Object.create(Error.prototype);_o.prototype.constructor=_o;Qh.exports=_o});var Bc=y(function(h$,tx){var ex=ii(),ko=function(e,t){ex.call(this,e),this.name="NotBeforeError",this.date=t};ko.prototype=Object.create(ex.prototype);ko.prototype.constructor=ko;tx.exports=ko});var Kc=y(function(x$,nx){var rx=ii(),Oo=function(e,t){rx.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};Oo.prototype=Object.create(rx.prototype);Oo.prototype.constructor=Oo;nx.exports=Oo});var Hc=y(function(y$,ix){var K_=Da();ix.exports=function(e,t){var r=t||Math.floor(Date.now()/1000);if(typeof e==="string"){var n=K_(e);if(typeof n>"u")return;return Math.floor(r+n/1000)}else if(typeof e==="number")return r+e;else return}});var zr=y(function(g$,ox){var H_=Number.MAX_SAFE_INTEGER||9007199254740991,J_=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ox.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:H_,RELEASE_TYPES:J_,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var oi=y(function(v$,sx){var W_=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};sx.exports=W_});var Mr=y(function(mt,ax){var{MAX_SAFE_COMPONENT_LENGTH:Jc,MAX_SAFE_BUILD_LENGTH:z_,MAX_LENGTH:M_}=zr(),G_=oi();mt=ax.exports={};var V_=mt.re=[],X_=mt.safeRe=[],T=mt.src=[],Y_=mt.safeSrc=[],_=mt.t={},Z_=0,Wc="[a-zA-Z0-9-]",Q_=[["\\s",1],["\\d",M_],[Wc,z_]],ek=(e)=>{for(let[t,r]of Q_)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},N=(e,t,r)=>{let n=ek(t),i=Z_++;G_(e,i,t),_[e]=i,T[i]=t,Y_[i]=n,V_[i]=new RegExp(t,r?"g":void 0),X_[i]=new RegExp(n,r?"g":void 0)};N("NUMERICIDENTIFIER","0|[1-9]\\d*");N("NUMERICIDENTIFIERLOOSE","\\d+");N("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Wc}*`);N("MAINVERSION",`(${T[_.NUMERICIDENTIFIER]})\\.(${T[_.NUMERICIDENTIFIER]})\\.(${T[_.NUMERICIDENTIFIER]})`);N("MAINVERSIONLOOSE",`(${T[_.NUMERICIDENTIFIERLOOSE]})\\.(${T[_.NUMERICIDENTIFIERLOOSE]})\\.(${T[_.NUMERICIDENTIFIERLOOSE]})`);N("PRERELEASEIDENTIFIER",`(?:${T[_.NONNUMERICIDENTIFIER]}|${T[_.NUMERICIDENTIFIER]})`);N("PRERELEASEIDENTIFIERLOOSE",`(?:${T[_.NONNUMERICIDENTIFIER]}|${T[_.NUMERICIDENTIFIERLOOSE]})`);N("PRERELEASE",`(?:-(${T[_.PRERELEASEIDENTIFIER]}(?:\\.${T[_.PRERELEASEIDENTIFIER]})*))`);N("PRERELEASELOOSE",`(?:-?(${T[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[_.PRERELEASEIDENTIFIERLOOSE]})*))`);N("BUILDIDENTIFIER",`${Wc}+`);N("BUILD",`(?:\\+(${T[_.BUILDIDENTIFIER]}(?:\\.${T[_.BUILDIDENTIFIER]})*))`);N("FULLPLAIN",`v?${T[_.MAINVERSION]}${T[_.PRERELEASE]}?${T[_.BUILD]}?`);N("FULL",`^${T[_.FULLPLAIN]}$`);N("LOOSEPLAIN",`[v=\\s]*${T[_.MAINVERSIONLOOSE]}${T[_.PRERELEASELOOSE]}?${T[_.BUILD]}?`);N("LOOSE",`^${T[_.LOOSEPLAIN]}$`);N("GTLT","((?:<|>)?=?)");N("XRANGEIDENTIFIERLOOSE",`${T[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);N("XRANGEIDENTIFIER",`${T[_.NUMERICIDENTIFIER]}|x|X|\\*`);N("XRANGEPLAIN",`[v=\\s]*(${T[_.XRANGEIDENTIFIER]})(?:\\.(${T[_.XRANGEIDENTIFIER]})(?:\\.(${T[_.XRANGEIDENTIFIER]})(?:${T[_.PRERELEASE]})?${T[_.BUILD]}?)?)?`);N("XRANGEPLAINLOOSE",`[v=\\s]*(${T[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[_.XRANGEIDENTIFIERLOOSE]})(?:${T[_.PRERELEASELOOSE]})?${T[_.BUILD]}?)?)?`);N("XRANGE",`^${T[_.GTLT]}\\s*${T[_.XRANGEPLAIN]}$`);N("XRANGELOOSE",`^${T[_.GTLT]}\\s*${T[_.XRANGEPLAINLOOSE]}$`);N("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Jc}})(?:\\.(\\d{1,${Jc}}))?(?:\\.(\\d{1,${Jc}}))?`);N("COERCE",`${T[_.COERCEPLAIN]}(?:$|[^\\d])`);N("COERCEFULL",T[_.COERCEPLAIN]+`(?:${T[_.PRERELEASE]})?(?:${T[_.BUILD]})?(?:$|[^\\d])`);N("COERCERTL",T[_.COERCE],!0);N("COERCERTLFULL",T[_.COERCEFULL],!0);N("LONETILDE","(?:~>?)");N("TILDETRIM",`(\\s*)${T[_.LONETILDE]}\\s+`,!0);mt.tildeTrimReplace="$1~";N("TILDE",`^${T[_.LONETILDE]}${T[_.XRANGEPLAIN]}$`);N("TILDELOOSE",`^${T[_.LONETILDE]}${T[_.XRANGEPLAINLOOSE]}$`);N("LONECARET","(?:\\^)");N("CARETTRIM",`(\\s*)${T[_.LONECARET]}\\s+`,!0);mt.caretTrimReplace="$1^";N("CARET",`^${T[_.LONECARET]}${T[_.XRANGEPLAIN]}$`);N("CARETLOOSE",`^${T[_.LONECARET]}${T[_.XRANGEPLAINLOOSE]}$`);N("COMPARATORLOOSE",`^${T[_.GTLT]}\\s*(${T[_.LOOSEPLAIN]})$|^$`);N("COMPARATOR",`^${T[_.GTLT]}\\s*(${T[_.FULLPLAIN]})$|^$`);N("COMPARATORTRIM",`(\\s*)${T[_.GTLT]}\\s*(${T[_.LOOSEPLAIN]}|${T[_.XRANGEPLAIN]})`,!0);mt.comparatorTrimReplace="$1$2$3";N("HYPHENRANGE",`^\\s*(${T[_.XRANGEPLAIN]})\\s+-\\s+(${T[_.XRANGEPLAIN]})\\s*$`);N("HYPHENRANGELOOSE",`^\\s*(${T[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[_.XRANGEPLAINLOOSE]})\\s*$`);N("STAR","(<|>)?=?\\s*\\*");N("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");N("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Co=y(function(b$,cx){var tk=Object.freeze({loose:!0}),rk=Object.freeze({}),nk=(e)=>{if(!e)return rk;if(typeof e!=="object")return tk;return e};cx.exports=nk});var zc=y(function(w$,lx){var px=/^[0-9]+$/,ux=(e,t)=>{if(typeof e==="number"&&typeof t==="number")return e===t?0:e<t?-1:1;let r=px.test(e),n=px.test(t);if(r&&n)e=+e,t=+t;return e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},ik=(e,t)=>ux(t,e);lx.exports={compareIdentifiers:ux,rcompareIdentifiers:ik}});var _e=y(function(E$,fx){var Po=oi(),{MAX_LENGTH:dx,MAX_SAFE_INTEGER:Io}=zr(),{safeRe:jo,t:Lo}=Mr(),ok=Co(),{compareIdentifiers:Mc}=zc(),sk=(e,t)=>{let r=t.split(".");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(Mc(e[n],r[n])!==0)return!1;return!0};class it{constructor(e,t){if(t=ok(t),e instanceof it)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else e=e.version;else if(typeof e!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>dx)throw TypeError(`version is longer than ${dx} characters`);Po("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?jo[Lo.LOOSE]:jo[Lo.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Io||this.major<0)throw TypeError("Invalid major version");if(this.minor>Io||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>Io||this.patch<0)throw TypeError("Invalid patch version");if(!r[4])this.prerelease=[];else this.prerelease=r[4].split(".").map((n)=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&i<Io)return i}return n});this.build=r[5]?r[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(e){if(Po("SemVer.compare",this.version,this.options,e),!(e instanceof it)){if(typeof e==="string"&&e===this.version)return 0;e=new it(e,this.options)}if(e.version===this.version)return 0;return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof it))e=new it(e,this.options);if(this.major<e.major)return-1;if(this.major>e.major)return 1;if(this.minor<e.minor)return-1;if(this.minor>e.minor)return 1;if(this.patch<e.patch)return-1;if(this.patch>e.patch)return 1;return 0}comparePre(e){if(!(e instanceof it))e=new it(e,this.options);if(this.prerelease.length&&!e.prerelease.length)return-1;else if(!this.prerelease.length&&e.prerelease.length)return 1;else if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let r=this.prerelease[t],n=e.prerelease[t];if(Po("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return Mc(r,n)}while(++t)}compareBuild(e){if(!(e instanceof it))e=new it(e,this.options);let t=0;do{let r=this.build[t],n=e.build[t];if(Po("build compare",t,r,n),r===void 0&&n===void 0)return 0;else if(n===void 0)return 1;else if(r===void 0)return-1;else if(r===n)continue;else return Mc(r,n)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===!1)throw Error("invalid increment argument: identifier is empty");if(t){let n=`-${t}`.match(this.options.loose?jo[Lo.PRERELEASELOOSE]:jo[Lo.PRERELEASE]);if(!n||n[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",t,r);this.inc("pre",t,r);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let n=Number(r)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;while(--i>=0)if(typeof this.prerelease[i]==="number")this.prerelease[i]++,i=-2;if(i===-1){if(t===this.prerelease.join(".")&&r===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(t){let i=[t,n];if(r===!1)i=[t];if(sk(this.prerelease,t)){let o=this.prerelease[t.split(".").length];if(isNaN(o))this.prerelease=i}else this.prerelease=i}break}default:throw Error(`invalid increment argument: ${e}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}fx.exports=it});var Lt=y(function(S$,hx){var mx=_e(),ak=(e,t,r=!1)=>{if(e instanceof mx)return e;try{return new mx(e,t)}catch(n){if(!r)return null;throw n}};hx.exports=ak});var yx=y(function(A$,xx){var ck=Lt(),pk=(e,t)=>{let r=ck(e,t);return r?r.version:null};xx.exports=pk});var vx=y(function(R$,gx){var uk=Lt(),lk=(e,t)=>{let r=uk(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};gx.exports=lk});var Ex=y(function(T$,wx){var bx=_e(),dk=(e,t,r,n,i)=>{if(typeof r==="string")i=n,n=r,r=void 0;try{return new bx(e instanceof bx?e.version:e,r).inc(t,n,i).version}catch(o){return null}};wx.exports=dk});var Rx=y(function(_$,Ax){var Sx=Lt(),fk=(e,t)=>{let r=Sx(e,null,!0),n=Sx(t,null,!0),i=r.compare(n);if(i===0)return null;let o=i>0,s=o?r:n,a=o?n:r,c=!!s.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(s)===0){if(a.minor&&!a.patch)return"minor";return"patch"}}let u=c?"pre":"";if(r.major!==n.major)return u+"major";if(r.minor!==n.minor)return u+"minor";if(r.patch!==n.patch)return u+"patch";return"prerelease"};Ax.exports=fk});var _x=y(function(k$,Tx){var mk=_e(),hk=(e,t)=>new mk(e,t).major;Tx.exports=hk});var Ox=y(function(O$,kx){var xk=_e(),yk=(e,t)=>new xk(e,t).minor;kx.exports=yk});var Px=y(function(C$,Cx){var gk=_e(),vk=(e,t)=>new gk(e,t).patch;Cx.exports=vk});var jx=y(function(P$,Ix){var bk=Lt(),wk=(e,t)=>{let r=bk(e,t);return r&&r.prerelease.length?r.prerelease:null};Ix.exports=wk});var Ge=y(function(I$,Nx){var Lx=_e(),Ek=(e,t,r)=>new Lx(e,r).compare(new Lx(t,r));Nx.exports=Ek});var Dx=y(function(j$,qx){var Sk=Ge(),Ak=(e,t,r)=>Sk(t,e,r);qx.exports=Ak});var Fx=y(function(L$,Ux){var Rk=Ge(),Tk=(e,t)=>Rk(e,t,!0);Ux.exports=Tk});var No=y(function(N$,Bx){var $x=_e(),_k=(e,t,r)=>{let n=new $x(e,r),i=new $x(t,r);return n.compare(i)||n.compareBuild(i)};Bx.exports=_k});var Hx=y(function(q$,Kx){var kk=No(),Ok=(e,t)=>e.sort((r,n)=>kk(r,n,t));Kx.exports=Ok});var Wx=y(function(D$,Jx){var Ck=No(),Pk=(e,t)=>e.sort((r,n)=>Ck(n,r,t));Jx.exports=Pk});var si=y(function(U$,zx){var Ik=Ge(),jk=(e,t,r)=>Ik(e,t,r)>0;zx.exports=jk});var qo=y(function(F$,Mx){var Lk=Ge(),Nk=(e,t,r)=>Lk(e,t,r)<0;Mx.exports=Nk});var Gc=y(function($$,Gx){var qk=Ge(),Dk=(e,t,r)=>qk(e,t,r)===0;Gx.exports=Dk});var Vc=y(function(B$,Vx){var Uk=Ge(),Fk=(e,t,r)=>Uk(e,t,r)!==0;Vx.exports=Fk});var Do=y(function(K$,Xx){var $k=Ge(),Bk=(e,t,r)=>$k(e,t,r)>=0;Xx.exports=Bk});var Uo=y(function(H$,Yx){var Kk=Ge(),Hk=(e,t,r)=>Kk(e,t,r)<=0;Yx.exports=Hk});var Xc=y(function(J$,Zx){var Jk=Gc(),Wk=Vc(),zk=si(),Mk=Do(),Gk=qo(),Vk=Uo(),Xk=(e,t,r,n)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return Jk(e,r,n);case"!=":return Wk(e,r,n);case">":return zk(e,r,n);case">=":return Mk(e,r,n);case"<":return Gk(e,r,n);case"<=":return Vk(e,r,n);default:throw TypeError(`Invalid operator: ${t}`)}};Zx.exports=Xk});var ey=y(function(W$,Qx){var Yk=_e(),Zk=Lt(),{safeRe:Fo,t:$o}=Mr(),Qk=(e,t)=>{if(e instanceof Yk)return e;if(typeof e==="number")e=String(e);if(typeof e!=="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?Fo[$o.COERCEFULL]:Fo[$o.COERCE]);else{let c=t.includePrerelease?Fo[$o.COERCERTLFULL]:Fo[$o.COERCERTL],p;while((p=c.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||p.index+p[0].length!==r.index+r[0].length)r=p;c.lastIndex=p.index+p[1].length+p[2].length}c.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",o=r[4]||"0",s=t.includePrerelease&&r[5]?`-${r[5]}`:"",a=t.includePrerelease&&r[6]?`+${r[6]}`:"";return Zk(`${n}.${i}.${o}${s}${a}`,t)};Qx.exports=Qk});var ry=y(function(z$,ty){var eO=Lt(),tO=zr(),rO=_e(),nO=(e,t,r)=>{if(!tO.RELEASE_TYPES.includes(t))return null;let n=iO(e,r);return n&&oO(n,t)},iO=(e,t)=>{let r=e instanceof rO?e.version:e;return eO(r,t)},oO=(e,t)=>{if(sO(t))return e.version;switch(e.prerelease=[],t){case"major":e.minor=0,e.patch=0;break;case"minor":e.patch=0;break}return e.format()},sO=(e)=>e.startsWith("pre");ty.exports=nO});var oy=y(function(M$,iy){class ny{constructor(){this.max=1000,this.map=new Map}get(e){let t=this.map.get(e);if(t===void 0)return;else return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,t)}return this}}iy.exports=ny});var Ve=y(function(G$,py){var aO=/\s+/g;class ai{constructor(e,t){if(t=pO(t),e instanceof ai)if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;else return new ai(e.raw,t);if(e instanceof Yc)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(aO," "),this.set=this.raw.split("||").map((r)=>this.parseRange(r.trim())).filter((r)=>r.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter((n)=>!ay(n[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&gO(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0)this.formatted+="||";let t=this.set[e];for(let r=0;r<t.length;r++){if(r>0)this.formatted+=" ";this.formatted+=t[r].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(yO,"");let r=((this.options.includePrerelease&&hO)|(this.options.loose&&xO))+":"+e,n=sy.get(r);if(n)return n;let i=this.options.loose,o=i?Ie[ke.HYPHENRANGELOOSE]:Ie[ke.HYPHENRANGE];e=e.replace(o,OO(this.options.includePrerelease)),re("hyphen replace",e),e=e.replace(Ie[ke.COMPARATORTRIM],dO),re("comparator trim",e),e=e.replace(Ie[ke.TILDETRIM],fO),re("tilde trim",e),e=e.replace(Ie[ke.CARETTRIM],mO),re("caret trim",e);let s=e.split(" ").map((u)=>vO(u,this.options)).join(" ").split(/\s+/).map((u)=>kO(u,this.options));if(i)s=s.filter((u)=>(re("loose invalid filter",u,this.options),!!u.match(Ie[ke.COMPARATORLOOSE])));re("range list",s);let a=new Map,c=s.map((u)=>new Yc(u,this.options));for(let u of c){if(ay(u))return[u];a.set(u.value,u)}if(a.size>1&&a.has(""))a.delete("");let p=[...a.values()];return sy.set(r,p),p}intersects(e,t){if(!(e instanceof ai))throw TypeError("a Range is required");return this.set.some((r)=>cy(r,t)&&e.set.some((n)=>cy(n,t)&&r.every((i)=>n.every((o)=>i.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e==="string")try{e=new uO(e,this.options)}catch(t){return!1}for(let t=0;t<this.set.length;t++)if(CO(this.set[t],e,this.options))return!0;return!1}}py.exports=ai;var cO=oy(),sy=new cO,pO=Co(),Yc=ci(),re=oi(),uO=_e(),{safeRe:Ie,src:lO,t:ke,comparatorTrimReplace:dO,tildeTrimReplace:fO,caretTrimReplace:mO}=Mr(),{FLAG_INCLUDE_PRERELEASE:hO,FLAG_LOOSE:xO}=zr(),yO=new RegExp(lO[ke.BUILD],"g"),ay=(e)=>e.value==="<0.0.0-0",gO=(e)=>e.value==="",cy=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();while(r&&n.length)r=n.every((o)=>i.intersects(o,t)),i=n.pop();return r},vO=(e,t)=>(e=e.replace(Ie[ke.BUILD],""),re("comp",e,t),e=SO(e,t),re("caret",e),e=wO(e,t),re("tildes",e),e=RO(e,t),re("xrange",e),e=_O(e,t),re("stars",e),e),ge=(e)=>!e||e.toLowerCase()==="x"||e==="*",bO=(e,t,r)=>ge(e)&&!ge(t)||ge(t)&&r&&!ge(r),wO=(e,t)=>e.trim().split(/\s+/).map((r)=>EO(r,t)).join(" "),EO=(e,t)=>{let r=t.loose?Ie[ke.TILDELOOSE]:Ie[ke.TILDE],n=t.includePrerelease?"-0":"";return e.replace(r,(i,o,s,a,c)=>{re("tilde",e,i,o,s,a,c);let p;if(ge(o))p="";else if(ge(s))p=`>=${o}.0.0${n} <${+o+1}.0.0-0`;else if(ge(a))p=`>=${o}.${s}.0${n} <${o}.${+s+1}.0-0`;else if(c)re("replaceTilde pr",c),p=`>=${o}.${s}.${a}-${c} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`;return re("tilde return",p),p})},SO=(e,t)=>e.trim().split(/\s+/).map((r)=>AO(r,t)).join(" "),AO=(e,t)=>{re("caret",e,t);let r=t.loose?Ie[ke.CARETLOOSE]:Ie[ke.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,o,s,a,c)=>{re("caret",e,i,o,s,a,c);let p;if(ge(o))p="";else if(ge(s))p=`>=${o}.0.0${n} <${+o+1}.0.0-0`;else if(ge(a))if(o==="0")p=`>=${o}.${s}.0${n} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.0${n} <${+o+1}.0.0-0`;else if(c)if(re("replaceCaret pr",c),o==="0")if(s==="0")p=`>=${o}.${s}.${a}-${c} <${o}.${s}.${+a+1}-0`;else p=`>=${o}.${s}.${a}-${c} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a}-${c} <${+o+1}.0.0-0`;else if(re("no pr"),o==="0")if(s==="0")p=`>=${o}.${s}.${a} <${o}.${s}.${+a+1}-0`;else p=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`;else p=`>=${o}.${s}.${a} <${+o+1}.0.0-0`;return re("caret return",p),p})},RO=(e,t)=>(re("replaceXRanges",e,t),e.split(/\s+/).map((r)=>TO(r,t)).join(" ")),TO=(e,t)=>{e=e.trim();let r=t.loose?Ie[ke.XRANGELOOSE]:Ie[ke.XRANGE];return e.replace(r,(n,i,o,s,a,c)=>{if(re("xRange",e,n,i,o,s,a,c),bO(o,s,a))return e;let p=ge(o),u=p||ge(s),l=u||ge(a),f=l;if(i==="="&&f)i="";if(c=t.includePrerelease?"-0":"",p)if(i===">"||i==="<")n="<0.0.0-0";else n="*";else if(i&&f){if(u)s=0;if(a=0,i===">")if(i=">=",u)o=+o+1,s=0,a=0;else s=+s+1,a=0;else if(i==="<=")if(i="<",u)o=+o+1;else s=+s+1;if(i==="<")c="-0";n=`${i+o}.${s}.${a}${c}`}else if(u)n=`>=${o}.0.0${c} <${+o+1}.0.0-0`;else if(l)n=`>=${o}.${s}.0${c} <${o}.${+s+1}.0-0`;return re("xRange return",n),n})},_O=(e,t)=>(re("replaceStars",e,t),e.trim().replace(Ie[ke.STAR],"")),kO=(e,t)=>(re("replaceGTE0",e,t),e.trim().replace(Ie[t.includePrerelease?ke.GTE0PRE:ke.GTE0],"")),OO=(e)=>(t,r,n,i,o,s,a,c,p,u,l,f)=>{if(ge(n))r="";else if(ge(i))r=`>=${n}.0.0${e?"-0":""}`;else if(ge(o))r=`>=${n}.${i}.0${e?"-0":""}`;else if(s)r=`>=${r}`;else r=`>=${r}${e?"-0":""}`;if(ge(p))c="";else if(ge(u))c=`<${+p+1}.0.0-0`;else if(ge(l))c=`<${p}.${+u+1}.0-0`;else if(f)c=`<=${p}.${u}.${l}-${f}`;else if(e)c=`<${p}.${u}.${+l+1}-0`;else c=`<=${c}`;return`${r} ${c}`.trim()},CO=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++){if(re(e[n].semver),e[n].semver===Yc.ANY)continue;if(e[n].semver.prerelease.length>0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}}return!1}return!0}});var ci=y(function(V$,hy){var pi=Symbol("SemVer ANY");class Bo{static get ANY(){return pi}constructor(e,t){if(t=uy(t),e instanceof Bo)if(e.loose===!!t.loose)return e;else e=e.value;if(e=e.trim().split(/\s+/).join(" "),Qc("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===pi)this.value="";else this.value=this.operator+this.semver.version;Qc("comp",this)}parse(e){let t=this.options.loose?ly[dy.COMPARATORLOOSE]:ly[dy.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);if(this.operator=r[1]!==void 0?r[1]:"",this.operator==="=")this.operator="";if(!r[2])this.semver=pi;else this.semver=new fy(r[2],this.options.loose)}toString(){return this.value}test(e){if(Qc("Comparator.test",e,this.options.loose),this.semver===pi||e===pi)return!0;if(typeof e==="string")try{e=new fy(e,this.options)}catch(t){return!1}return Zc(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Bo))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new my(e.value,t).test(this.value)}else if(e.operator===""){if(e.value==="")return!0;return new my(this.value,t).test(e.semver)}if(t=uy(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0"))return!1;if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&e.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&e.operator.startsWith("<"))return!0;if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("="))return!0;if(Zc(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))return!0;if(Zc(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))return!0;return!1}}hy.exports=Bo;var uy=Co(),{safeRe:ly,t:dy}=Mr(),Zc=Xc(),Qc=oi(),fy=_e(),my=Ve()});var ui=y(function(X$,xy){var PO=Ve(),IO=(e,t,r)=>{try{t=new PO(t,r)}catch(n){return!1}return t.test(e)};xy.exports=IO});var gy=y(function(Y$,yy){var jO=Ve(),LO=(e,t)=>new jO(e,t).set.map((r)=>r.map((n)=>n.value).join(" ").trim().split(" "));yy.exports=LO});var by=y(function(Z$,vy){var NO=_e(),qO=Ve(),DO=(e,t,r)=>{let n=null,i=null,o=null;try{o=new qO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===-1)n=s,i=new NO(n,r)}}),n};vy.exports=DO});var Ey=y(function(Q$,wy){var UO=_e(),FO=Ve(),$O=(e,t,r)=>{let n=null,i=null,o=null;try{o=new FO(t,r)}catch(s){return null}return e.forEach((s)=>{if(o.test(s)){if(!n||i.compare(s)===1)n=s,i=new UO(n,r)}}),n};wy.exports=$O});var Ry=y(function(eB,Ay){var ep=_e(),BO=Ve(),Sy=si(),KO=(e,t)=>{e=new BO(e,t);let r=new ep("0.0.0");if(e.test(r))return r;if(r=new ep("0.0.0-0"),e.test(r))return r;r=null;for(let n=0;n<e.set.length;++n){let i=e.set[n],o=null;if(i.forEach((s)=>{let a=new ep(s.semver.version);switch(s.operator){case">":if(a.prerelease.length===0)a.patch++;else a.prerelease.push(0);a.raw=a.format();case"":case">=":if(!o||Sy(a,o))o=a;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${s.operator}`)}}),o&&(!r||Sy(r,o)))r=o}if(r&&e.test(r))return r;return null};Ay.exports=KO});var _y=y(function(tB,Ty){var HO=Ve(),JO=(e,t)=>{try{return new HO(e,t).range||"*"}catch(r){return null}};Ty.exports=JO});var Ko=y(function(rB,Py){var WO=_e(),Cy=ci(),{ANY:zO}=Cy,MO=Ve(),GO=ui(),ky=si(),Oy=qo(),VO=Uo(),XO=Do(),YO=(e,t,r,n)=>{e=new WO(e,n),t=new MO(t,n);let i,o,s,a,c;switch(r){case">":i=ky,o=VO,s=Oy,a=">",c=">=";break;case"<":i=Oy,o=XO,s=ky,a="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(GO(e,t,n))return!1;for(let p=0;p<t.set.length;++p){let u=t.set[p],l=null,f=null;if(u.forEach((m)=>{if(m.semver===zO)m=new Cy(">=0.0.0");if(l=l||m,f=f||m,i(m.semver,l.semver,n))l=m;else if(s(m.semver,f.semver,n))f=m}),l.operator===a||l.operator===c)return!1;if((!f.operator||f.operator===a)&&o(e,f.semver))return!1;else if(f.operator===c&&s(e,f.semver))return!1}return!0};Py.exports=YO});var jy=y(function(nB,Iy){var ZO=Ko(),QO=(e,t,r)=>ZO(e,t,">",r);Iy.exports=QO});var Ny=y(function(iB,Ly){var eC=Ko(),tC=(e,t,r)=>eC(e,t,"<",r);Ly.exports=tC});var Uy=y(function(oB,Dy){var qy=Ve(),rC=(e,t,r)=>(e=new qy(e,r),t=new qy(t,r),e.intersects(t,r));Dy.exports=rC});var $y=y(function(sB,Fy){var nC=ui(),iC=Ge();Fy.exports=(e,t,r)=>{let n=[],i=null,o=null,s=e.sort((u,l)=>iC(u,l,r));for(let u of s)if(nC(u,t,r)){if(o=u,!i)i=u}else{if(o)n.push([i,o]);o=null,i=null}if(i)n.push([i,null]);let a=[];for(let[u,l]of n)if(u===l)a.push(u);else if(!l&&u===s[0])a.push("*");else if(!l)a.push(`>=${u}`);else if(u===s[0])a.push(`<=${l}`);else a.push(`${u} - ${l}`);let c=a.join(" || "),p=typeof t.raw==="string"?t.raw:String(t);return c.length<p.length?c:t}});var zy=y(function(aB,Wy){var By=Ve(),np=ci(),{ANY:tp}=np,rp=ui(),ip=Ge(),oC=(e,t,r={})=>{if(e===t)return!0;e=new By(e,r),t=new By(t,r);let n=!1;e:for(let i of e.set){for(let o of t.set){let s=aC(i,o,r);if(n=n||s!==null,s)continue e}if(n)return!1}return!0},sC=[new np(">=0.0.0-0")],Ky=[new np(">=0.0.0")],aC=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===tp)if(t.length===1&&t[0].semver===tp)return!0;else if(r.includePrerelease)e=sC;else e=Ky;if(t.length===1&&t[0].semver===tp)if(r.includePrerelease)return!0;else t=Ky;let n=new Set,i,o;for(let m of e)if(m.operator===">"||m.operator===">=")i=Hy(i,m,r);else if(m.operator==="<"||m.operator==="<=")o=Jy(o,m,r);else n.add(m.semver);if(n.size>1)return null;let s;if(i&&o){if(s=ip(i.semver,o.semver,r),s>0)return null;else if(s===0&&(i.operator!==">="||o.operator!=="<="))return null}for(let m of n){if(i&&!rp(m,String(i),r))return null;if(o&&!rp(m,String(o),r))return null;for(let g of t)if(!rp(m,String(g),r))return!1;return!0}let a,c,p,u,l=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;if(l&&l.prerelease.length===1&&o.operator==="<"&&l.prerelease[0]===0)l=!1;for(let m of t){if(u=u||m.operator===">"||m.operator===">=",p=p||m.operator==="<"||m.operator==="<=",i){if(f){if(m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===f.major&&m.semver.minor===f.minor&&m.semver.patch===f.patch)f=!1}if(m.operator===">"||m.operator===">="){if(a=Hy(i,m,r),a===m&&a!==i)return!1}else if(i.operator===">="&&!m.test(i.semver))return!1}if(o){if(l){if(m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===l.major&&m.semver.minor===l.minor&&m.semver.patch===l.patch)l=!1}if(m.operator==="<"||m.operator==="<="){if(c=Jy(o,m,r),c===m&&c!==o)return!1}else if(o.operator==="<="&&!m.test(o.semver))return!1}if(!m.operator&&(o||i)&&s!==0)return!1}if(i&&p&&!o&&s!==0)return!1;if(o&&u&&!i&&s!==0)return!1;if(f||l)return!1;return!0},Hy=(e,t,r)=>{if(!e)return t;let n=ip(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e},Jy=(e,t,r)=>{if(!e)return t;let n=ip(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};Wy.exports=oC});var Ho=y(function(cB,Vy){var op=Mr(),My=zr(),cC=_e(),Gy=zc(),pC=Lt(),uC=yx(),lC=vx(),dC=Ex(),fC=Rx(),mC=_x(),hC=Ox(),xC=Px(),yC=jx(),gC=Ge(),vC=Dx(),bC=Fx(),wC=No(),EC=Hx(),SC=Wx(),AC=si(),RC=qo(),TC=Gc(),_C=Vc(),kC=Do(),OC=Uo(),CC=Xc(),PC=ey(),IC=ry(),jC=ci(),LC=Ve(),NC=ui(),qC=gy(),DC=by(),UC=Ey(),FC=Ry(),$C=_y(),BC=Ko(),KC=jy(),HC=Ny(),JC=Uy(),WC=$y(),zC=zy();Vy.exports={parse:pC,valid:uC,clean:lC,inc:dC,diff:fC,major:mC,minor:hC,patch:xC,prerelease:yC,compare:gC,rcompare:vC,compareLoose:bC,compareBuild:wC,sort:EC,rsort:SC,gt:AC,lt:RC,eq:TC,neq:_C,gte:kC,lte:OC,cmp:CC,coerce:PC,truncate:IC,Comparator:jC,Range:LC,satisfies:NC,toComparators:qC,maxSatisfying:DC,minSatisfying:UC,minVersion:FC,validRange:$C,outside:BC,gtr:KC,ltr:HC,intersects:JC,simplifyRange:WC,subset:zC,SemVer:cC,re:op.re,src:op.src,tokens:op.t,SEMVER_SPEC_VERSION:My.SEMVER_SPEC_VERSION,RELEASE_TYPES:My.RELEASE_TYPES,compareIdentifiers:Gy.compareIdentifiers,rcompareIdentifiers:Gy.rcompareIdentifiers}});var Yy=y(function(pB,Xy){var MC=Ho();Xy.exports=MC.satisfies(process.version,">=15.7.0")});var Qy=y(function(uB,Zy){var GC=Ho();Zy.exports=GC.satisfies(process.version,">=16.9.0")});var sp=y(function(lB,eg){var VC=Yy(),XC=Qy(),YC={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},ZC={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};eg.exports=function(e,t){if(!e||!t)return;let r=t.asymmetricKeyType;if(!r)return;let n=YC[r];if(!n)throw Error(`Unknown key type "${r}".`);if(!n.includes(e))throw Error(`"alg" parameter for "${r}" key type must be one of: ${n.join(", ")}.`);if(VC)switch(r){case"ec":let i=t.asymmetricKeyDetails.namedCurve,o=ZC[e];if(i!==o)throw Error(`"alg" parameter "${e}" requires curve "${o}".`);break;case"rsa-pss":if(XC){let s=parseInt(e.slice(-3),10),{hashAlgorithm:a,mgf1HashAlgorithm:c,saltLength:p}=t.asymmetricKeyDetails;if(a!==`sha${s}`||c!==a)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(p!==void 0&&p>s>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}break}}});var ap=y(function(dB,tg){var QC=Ho();tg.exports=QC.satisfies(process.version,"^6.12.0 || >=8.0.0")});var ig=y(function(fB,ng){var Q=ii(),eP=Bc(),rg=Kc(),tP=$c(),rP=Hc(),nP=sp(),iP=ap(),oP=To(),{KeyObject:sP,createSecretKey:aP,createPublicKey:cP}=require("crypto"),cp=["RS256","RS384","RS512"],pP=["ES256","ES384","ES512"],pp=["RS256","RS384","RS512"],uP=["HS256","HS384","HS512"];if(iP)cp.splice(cp.length,0,"PS256","PS384","PS512"),pp.splice(pp.length,0,"PS256","PS384","PS512");ng.exports=function(e,t,r,n){if(typeof r==="function"&&!n)n=r,r={};if(!r)r={};r=Object.assign({},r);let i;if(n)i=n;else i=function(u,l){if(u)throw u;return l};if(r.clockTimestamp&&typeof r.clockTimestamp!=="number")return i(new Q("clockTimestamp must be a number"));if(r.nonce!==void 0&&(typeof r.nonce!=="string"||r.nonce.trim()===""))return i(new Q("nonce must be a non-empty string"));if(r.allowInvalidAsymmetricKeyTypes!==void 0&&typeof r.allowInvalidAsymmetricKeyTypes!=="boolean")return i(new Q("allowInvalidAsymmetricKeyTypes must be a boolean"));let o=r.clockTimestamp||Math.floor(Date.now()/1000);if(!e)return i(new Q("jwt must be provided"));if(typeof e!=="string")return i(new Q("jwt must be a string"));let s=e.split(".");if(s.length!==3)return i(new Q("jwt malformed"));let a;try{a=tP(e,{complete:!0})}catch(u){return i(u)}if(!a)return i(new Q("invalid token"));let c=a.header,p;if(typeof t==="function"){if(!n)return i(new Q("verify must be called asynchronous if secret or public key is provided as a callback"));p=t}else p=function(u,l){return l(null,t)};return p(c,function(u,l){if(u)return i(new Q("error in secret or public key callback: "+u.message));let f=s[2].trim()!=="";if(!f&&l)return i(new Q("jwt signature is required"));if(f&&!l)return i(new Q("secret or public key must be provided"));if(!f&&!r.algorithms)return i(new Q('please specify "none" in "algorithms" to verify unsigned tokens'));if(l!=null&&!(l instanceof sP))try{l=cP(l)}catch(x){try{l=aP(typeof l==="string"?Buffer.from(l):l)}catch(v){return i(new Q("secretOrPublicKey is not valid key material"))}}if(!r.algorithms)if(l.type==="secret")r.algorithms=uP;else if(["rsa","rsa-pss"].includes(l.asymmetricKeyType))r.algorithms=pp;else if(l.asymmetricKeyType==="ec")r.algorithms=pP;else r.algorithms=cp;if(r.algorithms.indexOf(a.header.alg)===-1)return i(new Q("invalid algorithm"));if(c.alg.startsWith("HS")&&l.type!=="secret")return i(new Q(`secretOrPublicKey must be a symmetric key when using ${c.alg}`));else if(/^(?:RS|PS|ES)/.test(c.alg)&&l.type!=="public")return i(new Q(`secretOrPublicKey must be an asymmetric key when using ${c.alg}`));if(!r.allowInvalidAsymmetricKeyTypes)try{nP(c.alg,l)}catch(x){return i(x)}let m;try{m=oP.verify(e,a.header.alg,l)}catch(x){return i(x)}if(!m)return i(new Q("invalid signature"));let g=a.payload;if(typeof g.nbf<"u"&&!r.ignoreNotBefore){if(typeof g.nbf!=="number")return i(new Q("invalid nbf value"));if(g.nbf>o+(r.clockTolerance||0))return i(new eP("jwt not active",new Date(g.nbf*1000)))}if(typeof g.exp<"u"&&!r.ignoreExpiration){if(typeof g.exp!=="number")return i(new Q("invalid exp value"));if(o>=g.exp+(r.clockTolerance||0))return i(new rg("jwt expired",new Date(g.exp*1000)))}if(r.audience){let x=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(g.aud)?g.aud:[g.aud]).some(function(b){return x.some(function(E){return E instanceof RegExp?E.test(b):E===b})}))return i(new Q("jwt audience invalid. expected: "+x.join(" or ")))}if(r.issuer){if(typeof r.issuer==="string"&&g.iss!==r.issuer||Array.isArray(r.issuer)&&r.issuer.indexOf(g.iss)===-1)return i(new Q("jwt issuer invalid. expected: "+r.issuer))}if(r.subject){if(g.sub!==r.subject)return i(new Q("jwt subject invalid. expected: "+r.subject))}if(r.jwtid){if(g.jti!==r.jwtid)return i(new Q("jwt jwtid invalid. expected: "+r.jwtid))}if(r.nonce){if(g.nonce!==r.nonce)return i(new Q("jwt nonce invalid. expected: "+r.nonce))}if(r.maxAge){if(typeof g.iat!=="number")return i(new Q("iat required when maxAge is specified"));let x=rP(r.maxAge,g.iat);if(typeof x>"u")return i(new Q('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(o>=x+(r.clockTolerance||0))return i(new rg("maxAge exceeded",new Date(x*1000)))}if(r.complete===!0){let x=a.signature;return i(null,{header:c,payload:g,signature:x})}return i(null,g)})}});var ug=y(function(mB,pg){var og=1/0,ag=9007199254740991,lP=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,sg=NaN,dP="[object Arguments]",fP="[object Function]",mP="[object GeneratorFunction]",hP="[object String]",xP="[object Symbol]",yP=/^\s+|\s+$/g,gP=/^[-+]0x[0-9a-f]+$/i,vP=/^0b[01]+$/i,bP=/^0o[0-7]+$/i,wP=/^(?:0|[1-9]\d*)$/,EP=parseInt;function SP(e,t){var r=-1,n=e?e.length:0,i=Array(n);while(++r<n)i[r]=t(e[r],r,e);return i}function AP(e,t,r,n){var i=e.length,o=r+(n?1:-1);while(n?o--:++o<i)if(t(e[o],o,e))return o;return-1}function RP(e,t,r){if(t!==t)return AP(e,TP,r);var n=r-1,i=e.length;while(++n<i)if(e[n]===t)return n;return-1}function TP(e){return e!==e}function _P(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function kP(e,t){return SP(t,function(r){return e[r]})}function OP(e,t){return function(r){return e(t(r))}}var Jo=Object.prototype,lp=Jo.hasOwnProperty,Wo=Jo.toString,CP=Jo.propertyIsEnumerable,PP=OP(Object.keys,Object),IP=Math.max;function jP(e,t){var r=cg(e)||UP(e)?_P(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||lp.call(e,o))&&!(i&&(o=="length"||NP(o,n))))r.push(o);return r}function LP(e){if(!qP(e))return PP(e);var t=[];for(var r in Object(e))if(lp.call(e,r)&&r!="constructor")t.push(r);return t}function NP(e,t){return t=t==null?ag:t,!!t&&(typeof e=="number"||wP.test(e))&&(e>-1&&e%1==0&&e<t)}function qP(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jo;return e===r}function DP(e,t,r,n){e=dp(e)?e:GP(e),r=r&&!n?WP(r):0;var i=e.length;if(r<0)r=IP(i+r,0);return KP(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&RP(e,t,r)>-1}function UP(e){return FP(e)&&lp.call(e,"callee")&&(!CP.call(e,"callee")||Wo.call(e)==dP)}var cg=Array.isArray;function dp(e){return e!=null&&BP(e.length)&&!$P(e)}function FP(e){return fp(e)&&dp(e)}function $P(e){var t=up(e)?Wo.call(e):"";return t==fP||t==mP}function BP(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ag}function up(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function fp(e){return!!e&&typeof e=="object"}function KP(e){return typeof e=="string"||!cg(e)&&fp(e)&&Wo.call(e)==hP}function HP(e){return typeof e=="symbol"||fp(e)&&Wo.call(e)==xP}function JP(e){if(!e)return e===0?e:0;if(e=zP(e),e===og||e===-og){var t=e<0?-1:1;return t*lP}return e===e?e:0}function WP(e){var t=JP(e),r=t%1;return t===t?r?t-r:t:0}function zP(e){if(typeof e=="number")return e;if(HP(e))return sg;if(up(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=up(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(yP,"");var r=vP.test(e);return r||bP.test(e)?EP(e.slice(2),r?2:8):gP.test(e)?sg:+e}function MP(e){return dp(e)?jP(e):LP(e)}function GP(e){return e?kP(e,MP(e)):[]}pg.exports=DP});var dg=y(function(hB,lg){var VP="[object Boolean]",XP=Object.prototype,YP=XP.toString;function ZP(e){return e===!0||e===!1||QP(e)&&YP.call(e)==VP}function QP(e){return!!e&&typeof e=="object"}lg.exports=ZP});var yg=y(function(xB,xg){var fg=1/0,e1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,mg=NaN,t1="[object Symbol]",r1=/^\s+|\s+$/g,n1=/^[-+]0x[0-9a-f]+$/i,i1=/^0b[01]+$/i,o1=/^0o[0-7]+$/i,s1=parseInt,a1=Object.prototype,c1=a1.toString;function p1(e){return typeof e=="number"&&e==f1(e)}function hg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function u1(e){return!!e&&typeof e=="object"}function l1(e){return typeof e=="symbol"||u1(e)&&c1.call(e)==t1}function d1(e){if(!e)return e===0?e:0;if(e=m1(e),e===fg||e===-fg){var t=e<0?-1:1;return t*e1}return e===e?e:0}function f1(e){var t=d1(e),r=t%1;return t===t?r?t-r:t:0}function m1(e){if(typeof e=="number")return e;if(l1(e))return mg;if(hg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=hg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(r1,"");var r=i1.test(e);return r||o1.test(e)?s1(e.slice(2),r?2:8):n1.test(e)?mg:+e}xg.exports=p1});var vg=y(function(yB,gg){var h1="[object Number]",x1=Object.prototype,y1=x1.toString;function g1(e){return!!e&&typeof e=="object"}function v1(e){return typeof e=="number"||g1(e)&&y1.call(e)==h1}gg.exports=v1});var Sg=y(function(gB,Eg){var b1="[object Object]";function w1(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function E1(e,t){return function(r){return e(t(r))}}var S1=Function.prototype,bg=Object.prototype,wg=S1.toString,A1=bg.hasOwnProperty,R1=wg.call(Object),T1=bg.toString,_1=E1(Object.getPrototypeOf,Object);function k1(e){return!!e&&typeof e=="object"}function O1(e){if(!k1(e)||T1.call(e)!=b1||w1(e))return!1;var t=_1(e);if(t===null)return!0;var r=A1.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&wg.call(r)==R1}Eg.exports=O1});var Rg=y(function(vB,Ag){var C1="[object String]",P1=Object.prototype,I1=P1.toString,j1=Array.isArray;function L1(e){return!!e&&typeof e=="object"}function N1(e){return typeof e=="string"||!j1(e)&&L1(e)&&I1.call(e)==C1}Ag.exports=N1});var Cg=y(function(bB,Og){var q1="Expected a function",Tg=1/0,D1=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,_g=NaN,U1="[object Symbol]",F1=/^\s+|\s+$/g,$1=/^[-+]0x[0-9a-f]+$/i,B1=/^0b[01]+$/i,K1=/^0o[0-7]+$/i,H1=parseInt,J1=Object.prototype,W1=J1.toString;function z1(e,t){var r;if(typeof t!="function")throw TypeError(q1);return e=Y1(e),function(){if(--e>0)r=t.apply(this,arguments);if(e<=1)t=void 0;return r}}function M1(e){return z1(2,e)}function kg(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function G1(e){return!!e&&typeof e=="object"}function V1(e){return typeof e=="symbol"||G1(e)&&W1.call(e)==U1}function X1(e){if(!e)return e===0?e:0;if(e=Z1(e),e===Tg||e===-Tg){var t=e<0?-1:1;return t*D1}return e===e?e:0}function Y1(e){var t=X1(e),r=t%1;return t===t?r?t-r:t:0}function Z1(e){if(typeof e=="number")return e;if(V1(e))return _g;if(kg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=kg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(F1,"");var r=B1.test(e);return r||K1.test(e)?H1(e.slice(2),r?2:8):$1.test(e)?_g:+e}Og.exports=M1});var Fg=y(function(wB,Ug){var Pg=Hc(),Q1=ap(),eI=sp(),Ig=To(),tI=ug(),zo=dg(),jg=yg(),mp=vg(),Ng=Sg(),Nt=Rg(),rI=Cg(),{KeyObject:nI,createSecretKey:iI,createPrivateKey:oI}=require("crypto"),qg=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(Q1)qg.splice(3,0,"PS256","PS384","PS512");var sI={expiresIn:{isValid:function(e){return jg(e)||Nt(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return jg(e)||Nt(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return Nt(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:tI.bind(null,qg),message:'"algorithm" must be a valid string enum value'},header:{isValid:Ng,message:'"header" must be an object'},encoding:{isValid:Nt,message:'"encoding" must be a string'},issuer:{isValid:Nt,message:'"issuer" must be a string'},subject:{isValid:Nt,message:'"subject" must be a string'},jwtid:{isValid:Nt,message:'"jwtid" must be a string'},noTimestamp:{isValid:zo,message:'"noTimestamp" must be a boolean'},keyid:{isValid:Nt,message:'"keyid" must be a string'},mutatePayload:{isValid:zo,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:zo,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:zo,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},aI={iat:{isValid:mp,message:'"iat" should be a number of seconds'},exp:{isValid:mp,message:'"exp" should be a number of seconds'},nbf:{isValid:mp,message:'"nbf" should be a number of seconds'}};function Dg(e,t,r,n){if(!Ng(r))throw Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach(function(i){let o=e[i];if(!o){if(!t)throw Error('"'+i+'" is not allowed in "'+n+'"');return}if(!o.isValid(r[i]))throw Error(o.message)})}function cI(e){return Dg(sI,!1,e,"options")}function pI(e){return Dg(aI,!0,e,"payload")}var Lg={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},uI=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];Ug.exports=function(e,t,r,n){if(typeof r==="function")n=r,r={};else r=r||{};let i=typeof e==="object"&&!Buffer.isBuffer(e),o=Object.assign({alg:r.algorithm||"HS256",typ:i?"JWT":void 0,kid:r.keyid},r.header);function s(p){if(n)return n(p);throw p}if(!t&&r.algorithm!=="none")return s(Error("secretOrPrivateKey must have a value"));if(t!=null&&!(t instanceof nI))try{t=oI(t)}catch(p){try{t=iI(typeof t==="string"?Buffer.from(t):t)}catch(u){return s(Error("secretOrPrivateKey is not valid key material"))}}if(o.alg.startsWith("HS")&&t.type!=="secret")return s(Error(`secretOrPrivateKey must be a symmetric key when using ${o.alg}`));else if(/^(?:RS|PS|ES)/.test(o.alg)){if(t.type!=="private")return s(Error(`secretOrPrivateKey must be an asymmetric key when using ${o.alg}`));if(!r.allowInsecureKeySizes&&!o.alg.startsWith("ES")&&t.asymmetricKeyDetails!==void 0&&t.asymmetricKeyDetails.modulusLength<2048)return s(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${o.alg}`))}if(typeof e>"u")return s(Error("payload is required"));else if(i){try{pI(e)}catch(p){return s(p)}if(!r.mutatePayload)e=Object.assign({},e)}else{let p=uI.filter(function(u){return typeof r[u]<"u"});if(p.length>0)return s(Error("invalid "+p.join(",")+" option for "+typeof e+" payload"))}if(typeof e.exp<"u"&&typeof r.expiresIn<"u")return s(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof e.nbf<"u"&&typeof r.notBefore<"u")return s(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{cI(r)}catch(p){return s(p)}if(!r.allowInvalidAsymmetricKeyTypes)try{eI(o.alg,t)}catch(p){return s(p)}let a=e.iat||Math.floor(Date.now()/1000);if(r.noTimestamp)delete e.iat;else if(i)e.iat=a;if(typeof r.notBefore<"u"){try{e.nbf=Pg(r.notBefore,a)}catch(p){return s(p)}if(typeof e.nbf>"u")return s(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof r.expiresIn<"u"&&typeof e==="object"){try{e.exp=Pg(r.expiresIn,a)}catch(p){return s(p)}if(typeof e.exp>"u")return s(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(Lg).forEach(function(p){let u=Lg[p];if(typeof r[p]<"u"){if(typeof e[u]<"u")return s(Error('Bad "options.'+p+'" option. The payload already has an "'+u+'" property.'));e[u]=r[p]}});let c=r.encoding||"utf8";if(typeof n==="function")n=n&&rI(n),Ig.createSign({header:o,privateKey:t,payload:e,encoding:c}).once("error",n).once("done",function(p){if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(o.alg)&&p.length<256)return n(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${o.alg}`));n(null,p)});else{let p=Ig.sign({header:o,payload:e,secret:t,encoding:c});if(!r.allowInsecureKeySizes&&/^(?:RS|PS)/.test(o.alg)&&p.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${o.alg}`);return p}}});var Bg=y(function(EB,$g){$g.exports={decode:$c(),verify:ig(),sign:Fg(),JsonWebTokenError:ii(),NotBeforeError:Bc(),TokenExpiredError:Kc()}});function xe(...e){let t=e.reduce((i,{length:o})=>i+o,0),r=new Uint8Array(t),n=0;for(let i of e)r.set(i,n),n+=i.length;return r}function hp(e,t,r){if(t<0||t>=4294967296)throw RangeError(`value must be >= 0 and <= 4294967295. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,t&255],r)}function xp(e){let t=Math.floor(e/4294967296),r=e%4294967296,n=new Uint8Array(8);return hp(n,t,0),hp(n,r,4),n}function Mo(e){let t=new Uint8Array(4);return hp(t,e),t}function oe(e){let t=new Uint8Array(e.length);for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>127)throw TypeError("non-ASCII string encountered in encode()");t[r]=n}return t}var Gr,ar,Vr;var $e=j(()=>{Gr=new TextEncoder,ar=new TextDecoder,Vr=new TextDecoder("utf-8",{fatal:!0})});function yp(e,t){if(t&&!e.usages.includes(t))throw TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`)}function Vo(e,t){let{modulusLength:r}=t.algorithm;if(typeof r!=="number"||r<2048)throw TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}function wt(e,t,r){let n=e.algorithm;if(n.name!==t.name)throw Go(t.name);if(t.hash&&n.hash?.name!==t.hash)throw Go(t.hash,"algorithm.hash");if(t.namedCurve&&n.namedCurve!==t.namedCurve)throw Go(t.namedCurve,"algorithm.namedCurve");if(t.length!==void 0&&n.length!==t.length)throw Go(t.length,"algorithm.length");yp(e,r)}var Go=(e,t="algorithm.name")=>TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);function Kg(e,t,...r){if(r.length>2){let n=r.pop();e+=`one of type ${r.join(", ")}, or ${n}.`}else if(r.length===2)e+=`one of type ${r[0]} or ${r[1]}.`;else e+=`of type ${r[0]}.`;if(t==null)e+=` Received ${t}`;else if(typeof t==="function"&&t.name)e+=` Received function ${t.name}`;else if(typeof t==="object"&&t!=null){if(t.constructor?.name)e+=` Received an instance of ${t.constructor.name}`}return e}var ot=(e,...t)=>Kg("Key must be ",e,...t),li=(e,t,...r)=>Kg(`Key for the ${e} algorithm must be `,t,...r);var gp={};Ar(gp,{JOSEAlgNotAllowed:()=>cr,JOSEError:()=>ve,JOSENotSupported:()=>J,JWEDecryptionFailed:()=>qt,JWEInvalid:()=>S,JWKInvalid:()=>fi,JWKSInvalid:()=>mi,JWKSMultipleMatchingKeys:()=>Xo,JWKSNoMatchingKey:()=>Xr,JWKSTimeout:()=>Yo,JWSInvalid:()=>P,JWSSignatureVerificationFailed:()=>pr,JWTClaimValidationFailed:()=>st,JWTExpired:()=>di,JWTInvalid:()=>ce});var ve,st,di,cr,J,qt,S,P,ce,fi,mi,Xr,Xo,Yo,pr;var M=j(()=>{ve=class ve extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t);this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}};st=class st extends ve{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}});this.claim=r,this.reason=n,this.payload=t}};di=class di extends ve{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}});this.claim=r,this.reason=n,this.payload=t}};cr=class cr extends ve{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"};J=class J extends ve{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"};qt=class qt extends ve{static code="ERR_JWE_DECRYPTION_FAILED";code="ERR_JWE_DECRYPTION_FAILED";constructor(e="decryption operation failed",t){super(e,t)}};S=class S extends ve{static code="ERR_JWE_INVALID";code="ERR_JWE_INVALID"};P=class P extends ve{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"};ce=class ce extends ve{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"};fi=class fi extends ve{static code="ERR_JWK_INVALID";code="ERR_JWK_INVALID"};mi=class mi extends ve{static code="ERR_JWKS_INVALID";code="ERR_JWKS_INVALID"};Xr=class Xr extends ve{static code="ERR_JWKS_NO_MATCHING_KEY";code="ERR_JWKS_NO_MATCHING_KEY";constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t)}};Xo=class Xo extends ve{[Symbol.asyncIterator]=async function*(){};static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}};Yo=class Yo extends ve{static code="ERR_JWKS_TIMEOUT";code="ERR_JWKS_TIMEOUT";constructor(e="request timed out",t){super(e,t)}};pr=class pr extends ve{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}});function Zo(e){if(!at(e))throw Error("CryptoKey instance expected")}var at=(e)=>{if(e?.[Symbol.toStringTag]==="CryptoKey")return!0;try{return e instanceof CryptoKey}catch{return!1}},hi=(e)=>e?.[Symbol.toStringTag]==="KeyObject",Qo=(e)=>at(e)||hi(e);function Hg(e,t){let r=e.byteLength<<3;if(r!==t)throw new S(`Invalid Content Encryption Key length. Expected ${t} bits, got ${r} bits`)}function Jg(e,t){if(t.length<<3!==e.ivBits)throw new S("Invalid Initialization Vector length")}async function Wg(e,t,r){if(!(t instanceof Uint8Array))throw TypeError(ot(t,"Uint8Array"));let n=e.cekBits>>1,i=await crypto.subtle.importKey("raw",t.subarray(n>>3),"AES-CBC",!1,[r]),o=await crypto.subtle.importKey("raw",t.subarray(0,n>>3),{hash:`SHA-${n<<1}`,name:"HMAC"},!1,["sign"]);return[i,o,n]}async function zg(e,t,r){return new Uint8Array((await crypto.subtle.sign("HMAC",e,t)).slice(0,r>>3))}async function dI(e,t,r,n,i){let[o,s,a]=await Wg(e,r,"encrypt"),c=new Uint8Array(await crypto.subtle.encrypt({iv:n,name:"AES-CBC"},o,t)),p=xe(i,n,c,xp(i.length*8)),u=await zg(s,p,a);return{ciphertext:c,tag:u,iv:n}}async function fI(e,t){let r={name:"HMAC",hash:"SHA-256"},n=await crypto.subtle.generateKey(r,!1,["sign","verify"]),i=await crypto.subtle.sign(r,n,e);return crypto.subtle.verify(r,n,i,t)}async function mI(e,t,r,n,i,o){let[s,a,c]=await Wg(e,t,"decrypt"),p=xe(o,n,r,xp(o.length*8)),u=await zg(a,p,c);try{if(await fI(i,u))return new Uint8Array(await crypto.subtle.decrypt({iv:n,name:"AES-CBC"},s,r))}catch{}throw new qt}async function hI(e,t,r,n,i){let o=r instanceof Uint8Array?await crypto.subtle.importKey("raw",r,"AES-GCM",!1,["encrypt"]):(wt(r,e.subtle,"encrypt"),r),s=new Uint8Array(await crypto.subtle.encrypt({additionalData:i,iv:n,name:"AES-GCM",tagLength:128},o,t)),a=s.slice(-16);return{ciphertext:s.slice(0,-16),tag:a,iv:n}}async function xI(e,t,r,n,i,o){let s=t instanceof Uint8Array?await crypto.subtle.importKey("raw",t,"AES-GCM",!1,["decrypt"]):(wt(t,e.subtle,"decrypt"),t);try{return new Uint8Array(await crypto.subtle.decrypt({additionalData:o,iv:n,name:"AES-GCM",tagLength:128},s,xe(r,i)))}catch{throw new qt}}async function es(e,t,r,n,i){if(!at(r)&&!(r instanceof Uint8Array))throw TypeError(ot(r,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(n)Jg(e,n);else n=lI(e);if(r instanceof Uint8Array)Hg(r,e.cekBits);return e.cbc?dI(e,t,r,n,i):hI(e,t,r,n,i)}async function ts(e,t,r,n,i,o){if(!at(t)&&!(t instanceof Uint8Array))throw TypeError(ot(t,"CryptoKey","KeyObject","Uint8Array","JSON Web Key"));if(!n)throw new S("JWE Initialization Vector missing");if(!i)throw new S("JWE Authentication Tag missing");if(!e.cbc&&i.length!==16)throw new S("Invalid Authentication Tag length");if(Jg(e,n),t instanceof Uint8Array)Hg(t,e.cekBits);return e.cbc?mI(e,t,r,n,i,o):xI(e,t,r,n,i,o)}var ct=(e)=>crypto.getRandomValues(new Uint8Array(e.cekBits>>3)),lI=(e)=>crypto.getRandomValues(new Uint8Array(e.ivBits>>3));var xi=j(()=>{$e();M()});function rs(e){if(Uint8Array.prototype.toBase64)return e.toBase64();let t=32768,r=[];for(let n=0;n<e.length;n+=t)r.push(String.fromCharCode.apply(null,e.subarray(n,n+t)));return btoa(r.join(""))}function ns(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64(e);let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}var is={};Ar(is,{decode:()=>ht,encode:()=>Y});function ht(e){if(Uint8Array.fromBase64)try{return Uint8Array.fromBase64(typeof e==="string"?e:ar.decode(e),{alphabet:"base64url"})}catch(r){throw TypeError(vp,{cause:r})}let t=e;if(t instanceof Uint8Array)t=ar.decode(t);if(t.includes("+")||t.includes("/"))throw TypeError(vp);t=t.replace(/-/g,"+").replace(/_/g,"/");try{return ns(t)}catch{throw TypeError(vp)}}function Y(e){let t=e;if(typeof t==="string")t=Gr.encode(t);if(Uint8Array.prototype.toBase64)return t.toBase64({alphabet:"base64url",omitPadding:!0});return rs(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}var vp="The input to be decoded is not correctly encoded.";var Be=j(()=>{$e()});function Ke(e,t){if(!(e instanceof Uint8Array))throw TypeError(`${t} must be an instance of Uint8Array`)}function q(e){if(typeof e!=="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function os(e){return q(e)&&Array.isArray(e.keys)&&Array.from(e.keys).every(q)}function Dt(...e){let t=new Set;for(let r of e){if(!r)continue;for(let n of Object.keys(r)){if(t.has(n))return!1;t.add(n)}}return!0}function G(e,t){if(e!==void 0)throw TypeError(`${t} can only be called once`)}function ye(e,t,r){try{return ht(e)}catch{throw new r(`Failed to base64url decode the ${t}`)}}function ss(e,t,r){try{return oe(e)}catch{throw new r(`The ${t} is not a valid base64url string`)}}async function as(e,t){let r=`SHA-${e.slice(-3)}`;return new Uint8Array(await crypto.subtle.digest(r,t))}function Et(e,t,r){let n;try{n=JSON.parse(Vr.decode(ht(e)))}catch{throw new t(r)}if(!q(n))throw new t(r);return n}var Mg;var Pe=j(()=>{Be();$e();Mg=Symbol()});async function pt(e,t){if(t.kty==="RSA"&&"oth"in t&&t.oth!==void 0)throw new J('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');if(!e.kty.includes(t.kty))throw new J('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');let r=e.resolve?.({kty:t.kty,crv:t.crv})??e.subtle,n=!!(t.d||t.priv),i={...t};if(i.kty!=="AKP")delete i.alg;return delete i.use,crypto.subtle.importKey("jwk",i,r,t.ext??!n,t.key_ops??e.usages[n?1:0])}var Yr=j(()=>{M()});function Zr(e){return{__proto__:null,...e}}function Qr(e){let t=Zr(e);if(t.ext!==void 0&&typeof t.ext!=="boolean")throw TypeError('"ext" (Extractable) Parameter must be a boolean');if(t.key_ops!==void 0){let r=t.key_ops,n=Array.isArray(r)?[...r]:void 0;if(!n||n.some((i)=>typeof i!=="string")||new Set(n).size!==n.length)throw TypeError('"key_ops" (Key Operations) Parameter must be an array of unique strings');t.key_ops=n}return t}function gI(e,t,r){let{alg:n,secret:i}=e,o=r==="decrypt"||r==="sign";if(i&&t instanceof Uint8Array)return[Vg,t];if(q(t)){let s=Qr(t);if(typeof s.kty!=="string")throw TypeError(i?li(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):li(n,t,"CryptoKey","KeyObject","JSON Web Key"));if(!(i?s.kty==="oct"&&typeof s.k==="string":s.kty!=="oct"&&(o?s.kty==="AKP"&&typeof s.priv==="string"||typeof s.d==="string":s.d===void 0&&s.priv===void 0)))throw TypeError(i?'JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present':`JSON Web Key for this operation must be a ${o?"private":"public"} JWK`);return yI(e,s,r),[Zg,t,s]}if(!Qo(t))throw TypeError(i?li(n,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"):li(n,t,"CryptoKey","KeyObject","JSON Web Key"));if(i){if(t.type!=="secret")throw TypeError(`${bp(t)} instances for symmetric algorithms must be of type "secret"`)}else{if(t.type==="secret")throw TypeError(`${bp(t)} instances for asymmetric algorithms must not be of type "secret"`);let s=o?"private":"public";if((t.type==="public"||t.type==="private")&&t.type!==s){let a=r==="sign"?"signing":r==="verify"?"verifying":`${r.slice(0,-1)}tion`;throw TypeError(`${bp(t)} instances for asymmetric algorithm ${a} must be of type "${s}"`)}}return at(t)?[Xg,t]:[Yg,t]}function cs(e,t,r){wp||=new WeakMap;let n=wp.get(e);if(r)if(n)n[t]=r;else wp.set(e,{[t]:r});return r??n?.[t]}async function Xe(e,t,r){let n=gI(e,t,r);switch(n[0]){case Vg:case Xg:return n[1];case Zg:{let i=n[1],o=n[2];if(o.kty==="oct")return ht(o.k);if(!Object.isFrozen(i)){let{key_ops:s}=i;if(Array.isArray(s))Object.freeze(s);Object.freeze(i)}return Gg(i,o,e)}case Yg:{let i=n[1];if(i.type==="secret")return i.export();if("toCryptoKey"in i&&typeof i.toCryptoKey==="function")return bI(i,e);return Gg(i,i.export({format:"jwk"}),e)}}}var bp=(e)=>e[Symbol.toStringTag],yI=(e,t,r)=>{let{alg:n}=e;if(t.use!==void 0){let i=r==="sign"||r==="verify"?"sig":"enc";if(t.use!==i)throw TypeError(`Invalid key for this operation, its "use" must be "${i}" when present`)}if(t.alg!==void 0&&t.alg!==n)throw TypeError(`Invalid key for this operation, its "alg" must be "${n}" when present`);if(Array.isArray(t.key_ops)){let i=r==="encrypt"||r==="decrypt"?e.ops?.[r==="encrypt"?0:1]:r;if(i&&!t.key_ops.includes(i))throw TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`)}},Vg=0,Xg=1,Yg=2,Zg=3,wp,vI,Gg=async(e,t,r)=>cs(e,r.alg)??cs(e,r.alg,await pt(r,{...t,alg:r.alg})),bI=(e,t)=>{let r=cs(e,t.alg);if(r)return r;let n=e.type==="public",i=t.usages[n?0:1],{asymmetricKeyType:o}=e,s=vI[e.asymmetricKeyDetails?.namedCurve],a=t.resolve?.({crv:s,asymmetricKeyType:o})??t.subtle;return cs(e,t.alg,e.toCryptoKey(a,n,i))};var ur=j(()=>{Be();Yr();vI={__proto__:null,prime256v1:"P-256",secp384r1:"P-384",secp521r1:"P-521"}});function yi(e){let t={__proto__:null};for(let r in e)t[r]={...e[r],alg:r};return t}function ps(e){return{kty:["RSA"],subtle:{name:"RSA-OAEP",hash:`SHA-${e}`},usages:wI,ops:["wrapKey","unwrapKey"]}}function us(){return{kty:["EC","OKP"],subtle:{name:"ECDH"},resolve:({kty:e,crv:t,asymmetricKeyType:r})=>{if(t==="X25519"||r==="x25519")return{name:"X25519"};if(e==="OKP")throw new J('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');return{name:"ECDH",namedCurve:t}},usages:EI,ops:[void 0,"deriveBits"]}}function en(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-GCM":"AES-KW",length:e},usages:ls,ops:t?["encrypt","decrypt"]:["wrapKey","unwrapKey"]}}function Ep(){return{kty:["oct"],secret:!0,subtle:{name:"PBKDF2"},usages:ls,ops:["deriveBits","deriveBits"]}}function tn(e,t=!1){return{kty:["oct"],secret:!0,subtle:{name:t?"AES-CBC":"AES-GCM",length:e},usages:ls,ops:SI,cekBits:e,ivBits:t?128:96,cbc:t}}function Qg(e,t){throw new J(`Invalid or unsupported "${e}" (JWE ${t}) header value`)}function Ye(e){return(typeof e==="string"?Sp[e]:void 0)??Qg("alg","Algorithm")}function lr(e){return(typeof e==="string"?AI[e]:void 0)??Qg("enc","Encryption Algorithm")}var wI,EI,ls,Sp,SI,AI;var rn=j(()=>{M();wI=[["encrypt","wrapKey"],["decrypt","unwrapKey"]],EI=[[],["deriveBits"]],ls=[[],[]];Sp=yi({dir:{kty:["oct"],secret:!0,subtle:{name:"AES-GCM"},usages:ls,ops:["encrypt","decrypt"]},"RSA-OAEP":ps(1),"RSA-OAEP-256":ps(256),"RSA-OAEP-384":ps(384),"RSA-OAEP-512":ps(512),"ECDH-ES":us(),"ECDH-ES+A128KW":us(),"ECDH-ES+A192KW":us(),"ECDH-ES+A256KW":us(),A128KW:en(128),A192KW:en(192),A256KW:en(256),A128GCMKW:en(128,!0),A192GCMKW:en(192,!0),A256GCMKW:en(256,!0),"PBES2-HS256+A128KW":Ep(),"PBES2-HS384+A192KW":Ep(),"PBES2-HS512+A256KW":Ep()}),SI=["encrypt","decrypt"];AI=yi({A128GCM:tn(128),A192GCM:tn(192),A256GCM:tn(256),"A128CBC-HS256":tn(256,!0),"A192CBC-HS384":tn(384,!0),"A256CBC-HS512":tn(512,!0)})});function ev(e,t){if(e.algorithm.name!=="ECDH"&&e.algorithm.name!=="X25519")throw TypeError("CryptoKey does not support this operation, its algorithm.name must be ECDH or X25519");yp(e,t)}async function rv(e,t,r){let n=Ye(t).subtle,i=e instanceof Uint8Array?await crypto.subtle.importKey("raw",e,"AES-KW",!0,[r]):e;return wt(i,n,r),i}async function Ap(e,t,r){let n=await rv(t,e,"wrapKey"),i=await crypto.subtle.importKey("raw",r,{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.wrapKey("raw",i,n,"AES-KW"))}async function Rp(e,t,r){let n=await rv(t,e,"unwrapKey"),i=await crypto.subtle.unwrapKey("raw",r,n,"AES-KW",{hash:"SHA-256",name:"HMAC"},!0,["sign"]);return new Uint8Array(await crypto.subtle.exportKey("raw",i))}function nv(e,t,r){wt(t,Ye(e).subtle,r),Vo(e,t)}function RI(e,t){if(e instanceof Uint8Array)return crypto.subtle.importKey("raw",e,"PBKDF2",!1,["deriveBits"]);return wt(e,Ye(t).subtle,"deriveBits"),e}async function iv(e,t,r,n){if(!(e instanceof Uint8Array)||e.length<8)throw new S("PBES2 Salt Input must be 8 or more octets");if(!Number.isSafeInteger(r)||Math.sign(r)!==1)throw new S("PBES2 Count Input must be a positive integer");let i=xe(oe(t),Uint8Array.of(0),e),o=parseInt(t.slice(13,16),10),s={hash:`SHA-${t.slice(8,11)}`,iterations:r,name:"PBKDF2",salt:i},a=await RI(n,t);return new Uint8Array(await crypto.subtle.deriveBits(s,a,o))}function Tp(e){return xe(Mo(e.length),e)}async function TI(e,t,r){let n=t>>3,i=32,o=Math.ceil(n/32),s=new Uint8Array(o*32);for(let a=1;a<=o;a++){let c=await as("sha256",xe(Mo(a),e,r));s.set(c,(a-1)*32)}return s.slice(0,n)}async function ov(e,t,r,n,i=new Uint8Array,o=new Uint8Array){ev(e),ev(t,"deriveBits");let s=xe(Tp(oe(r)),Tp(i),Tp(o),Mo(n)),a=new Uint8Array(await crypto.subtle.deriveBits({name:e.algorithm.name,public:e},t,e.algorithm.name==="X25519"?256:Math.ceil(parseInt(e.algorithm.namedCurve.slice(-3),10)/8)<<3));return TI(a,n,s)}function sv(e){Zo(e);let t=e.algorithm.namedCurve;if(t!=="P-256"&&t!=="P-384"&&t!=="P-521"&&e.algorithm.name!=="X25519")throw new J("ECDH with the provided key is not allowed or not supported by your javascript runtime")}function gi(e){if(e===void 0)throw new S("JWE Encrypted Key missing")}function tv(e){if(e!==void 0)throw new S("Encountered unexpected JWE Encrypted Key")}async function av(e,t,r,n,i,o){let s=Ye(e);if(e==="dir")return tv(n),r;switch(s.subtle.name){case"ECDH":{if(e==="ECDH-ES")tv(n);if(!q(i.epk))throw new S('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');sv(r);let a=await pt(s,i.epk),c,p;if(i.apu!==void 0){if(typeof i.apu!=="string")throw new S('JOSE Header "apu" (Agreement PartyUInfo) invalid');c=ye(i.apu,"apu",S)}if(i.apv!==void 0){if(typeof i.apv!=="string")throw new S('JOSE Header "apv" (Agreement PartyVInfo) invalid');p=ye(i.apv,"apv",S)}let u=await ov(a,r,e==="ECDH-ES"?t.alg:e,e==="ECDH-ES"?t.cekBits:parseInt(e.slice(-5,-2),10),c,p);if(e==="ECDH-ES")return u;return gi(n),Rp(e.slice(-6),u,n)}case"RSA-OAEP":return gi(n),Zo(r),nv(e,r,"decrypt"),new Uint8Array(await crypto.subtle.decrypt("RSA-OAEP",r,n));case"PBKDF2":{if(gi(n),typeof i.p2c!=="number")throw new S('JOSE Header "p2c" (PBES2 Count) missing or invalid');let a=o||1e4;if(i.p2c>a)throw new S('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof i.p2s!=="string")throw new S('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let c=ye(i.p2s,"p2s",S),p=await iv(c,e,i.p2c,r);return Rp(e.slice(-6),p,n)}case"AES-KW":return gi(n),Rp(e,r,n);case"AES-GCM":{if(gi(n),typeof i.iv!=="string")throw new S('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof i.tag!=="string")throw new S('JOSE Header "tag" (Authentication Tag) missing or invalid');let a;a=ye(i.iv,"iv",S);let c;return c=ye(i.tag,"tag",S),ts(lr(e.slice(0,-2)),r,n,a,c,new Uint8Array)}}}async function ds(e,t,r,n,i={}){let o,s,a,c=Ye(e);if(e==="dir")return[r,void 0,void 0];switch(c.subtle.name){case"ECDH":{sv(r);let{apu:p,apv:u}=i;if(p!==void 0)Ke(p,'"apu"');if(u!==void 0)Ke(u,'"apv"');let l;if(i.epk!==void 0)l=await Xe(c,i.epk,"decrypt");else l=(await crypto.subtle.generateKey(r.algorithm,!0,["deriveBits"])).privateKey;let f=crypto.subtle,m=l;if(!m.extractable){if(typeof f.getPublicKey!=="function")throw TypeError('CryptoKey for "epk" must be extractable');m=await f.getPublicKey(l,[])}let{x:g,y:x,crv:v,kty:h}=await f.exportKey("jwk",m),b=await ov(r,l,e==="ECDH-ES"?t.alg:e,e==="ECDH-ES"?t.cekBits:parseInt(e.slice(-5,-2),10),p,u);if(s={epk:{x:g,crv:v,kty:h}},h==="EC")s.epk.y=x;if(p)s.apu=Y(p);if(u)s.apv=Y(u);if(e==="ECDH-ES"){a=b;break}a=n||ct(t);let E=e.slice(-6);o=await Ap(E,b,a);break}case"RSA-OAEP":{a=n||ct(t),Zo(r),nv(e,r,"encrypt"),o=new Uint8Array(await crypto.subtle.encrypt("RSA-OAEP",r,a));break}case"PBKDF2":{a=n||ct(t);let{p2c:p=2048,p2s:u=crypto.getRandomValues(new Uint8Array(16))}=i,l=await iv(u,e,p,r);o=await Ap(e.slice(-6),l,a),s={p2c:p,p2s:Y(u)};break}case"AES-KW":{a=n||ct(t),o=await Ap(e,r,a);break}case"AES-GCM":{a=n||ct(t);let{iv:p}=i,u=await es(lr(e.slice(0,-2)),a,r,p,new Uint8Array);o=u.ciphertext,s={iv:Y(u.iv),tag:Y(u.tag)};break}}return[a,o,s]}var fs=j(()=>{Be();ur();Yr();rn();M();Pe();xi();$e()});function vi(e,t){if(t!==void 0&&(!Array.isArray(t)||t.some((r)=>typeof r!=="string")))throw TypeError(`"${e}" option must be an array of strings`);if(!t)return;return new Set(t)}function hs(e,t){let{crit:r}=t??{};if(Array.isArray(r)&&new Set(r).size!==r.length)throw new e('"crit" (Critical) Header Parameter MUST NOT contain duplicate values')}function xt(e,t,r,n,i){if(i.crit!==void 0&&n?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||n.crit===void 0)return[];if(!Array.isArray(n.crit)||n.crit.length===0||n.crit.some((s)=>typeof s!=="string"||s.length===0))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let o=r===void 0?t:{__proto__:null,...r,...t};for(let s of n.crit){if(!(s in o))throw new J(`Extension Header Parameter "${s}" is not recognized`);if(!Object.hasOwn(i,s)||i[s]===void 0)throw new e(`Extension Header Parameter "${s}" is missing`);if(o[s]&&(!Object.hasOwn(n,s)||n[s]===void 0))throw new e(`Extension Header Parameter "${s}" MUST be integrity protected`)}return n.crit}function on(e,t){if(t.includes("b64")){let r=e.b64;if(typeof r!=="boolean")throw new P('The "b64" (base64url-encode payload) Header Parameter must be a boolean');return r}return!0}function dr(e,t){let r,n;try{r=JSON.stringify(t),n=JSON.parse(r)}catch(i){throw new e("JOSE Header is not valid JSON",{cause:i})}if(!q(n))throw new e("JOSE Header is not a JSON object");return[n,r]}var nn,ms;var sn=j(()=>{M();nn={__proto__:null,b64:!0},ms={__proto__:null}});function xs(e,t){if(e.zip!==void 0&&e.zip!=="DEF")throw new J('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value.');if(e.zip!==void 0&&!t?.zip)throw new S('JWE "zip" (Compression Algorithm) Header Parameter MUST be in a protected header.')}function cv(e){if(typeof globalThis[e]>"u")throw new J(`JWE "zip" (Compression Algorithm) Header Parameter requires the ${e} API.`)}async function pv(e){cv("CompressionStream");let t=new CompressionStream("deflate-raw"),r=t.writable.getWriter();r.write(e).catch(()=>{}),r.close().catch(()=>{});let n=[],i=t.readable.getReader();for(;;){let{value:o,done:s}=await i.read();if(s)break;n.push(o)}return xe(...n)}async function uv(e,t){cv("DecompressionStream");let r=new DecompressionStream("deflate-raw"),n=r.writable.getWriter();n.write(e).catch(()=>{}),n.close().catch(()=>{});let i=[],o=0,s=r.readable.getReader();for(;;){let{value:a,done:c}=await s.read();if(c)break;if(i.push(a),o+=a.byteLength,t!==1/0&&o>t)throw new S("Decompressed plaintext exceeded the configured limit")}return xe(...i)}var _p=j(()=>{M();$e()});function ys(e){let{aad:t,ciphertext:r,iv:n,protected:i,tag:o,unprotected:s}=e;if(n!==void 0&&typeof n!=="string")throw new S("JWE Initialization Vector incorrect type");if(typeof r!=="string")throw new S("JWE Ciphertext missing or incorrect type");if(o!==void 0&&typeof o!=="string")throw new S("JWE Authentication Tag incorrect type");if(i!==void 0&&typeof i!=="string")throw new S("JWE Protected Header incorrect type");if(t!==void 0&&(typeof t!=="string"||!t))throw new S("JWE AAD incorrect type");if(s!==void 0&&!q(s))throw new S("JWE Shared Unprotected Header incorrect type");return{aad:t,ciphertext:r,iv:n,protected:i,tag:o,unprotected:s===void 0?void 0:{...s}}}function gs(e){let t,r;try{let{header:n}=e;if(q(n)){r=n.alg;let i=Object.keys(n);if(!i.includes("alg"))r=void 0;t=Object.fromEntries(i.map((o)=>[o,o==="alg"?r:n[o]]))}else t=n}catch(n){return[void 0,r,n]}try{let{encrypted_key:n}=e;return[{encrypted_key:n,header:t},r]}catch(n){return[void 0,r,n]}}function vs(e){let{encrypted_key:t,header:r}=e;if(t!==void 0&&typeof t!=="string")throw new S("JWE Encrypted Key incorrect type");if(r!==void 0){if(!q(r))throw new S("JWE Per-Recipient Unprotected Header incorrect type")}if(e.protected===void 0&&r===void 0&&e.unprotected===void 0)throw new S("JOSE Header missing")}function kp(e){let{protected:t,ciphertext:r,iv:n,tag:i,aad:o}=e,s;if(t!==void 0)s=Et(t,S,"JWE Protected Header is invalid");let a=t!==void 0?oe(t):new Uint8Array;return[s,ye(r,"ciphertext",S),n!==void 0?ye(n,"iv",S):void 0,i!==void 0?ye(i,"tag",S):void 0,o!==void 0?xe(a,oe("."),ss(o,"aad",S)):a]}function bs(e,t){let[r,n,i,o]=t,{protected:s,aad:a,unprotected:c,header:p}=e,u={plaintext:r};if(s!==void 0)u.protectedHeader=n;if(a!==void 0)u.additionalAuthenticatedData=ye(a,"aad",S);if(c!==void 0)u.sharedUnprotectedHeader=c;if(p!==void 0)u.unprotectedHeader=p;if(o)return{...u,key:i};return u}function Ut(e){return[e&&vi("keyManagementAlgorithms",e.keyManagementAlgorithms),e&&vi("contentEncryptionAlgorithms",e.contentEncryptionAlgorithms),e?.crit,e?.maxPBES2Count,e?.maxDecompressedLength]}async function Op(e,t,r,n){let[i]=t,{header:o,unprotected:s}=e,a;if(o!==void 0||s!==void 0){if(!Dt(i,o,s))throw new S("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");a={...i,...o,...s}}else a=i??{};return lv(e,t,r,n,a)}async function lv(e,t,r,n,i){let[o,s,a,c,p]=r,[u,l,f,m,g]=t,{encrypted_key:x}=e;xt(S,ms,a,u,i),xs(i,u);let{alg:v,enc:h}=i;if(typeof v!=="string"||!v)throw new S("missing JWE Algorithm (alg) in JWE Header");if(typeof h!=="string"||!h)throw new S("missing JWE Encryption Algorithm (enc) in JWE Header");if(o&&!o.has(v)||!o&&v.startsWith("PBES2"))throw new cr('"alg" (Algorithm) Header Parameter value not allowed');if(s&&!s.has(h))throw new cr('"enc" (Encryption Algorithm) Header Parameter value not allowed');let b=lr(h),E;if(x!==void 0)E=ye(x,"encrypted_key",S);let A=!1;if(typeof n==="function")n=await n(u,e),A=!0;let O=Ye(v),C=await Xe(v==="dir"?b:O,n,"decrypt"),K;try{if(K=await av(v,b,C,E,i,c),x!==void 0&&K instanceof Uint8Array&&K.byteLength<<3!==b.cekBits)K=ct(b)}catch(F){if(F instanceof TypeError||F instanceof S||F instanceof J)throw F;K=ct(b)}let te=await ts(b,K,l,f,m,g);if(i.zip==="DEF"){let F=p??250000;if(F===0)throw new J('JWE "zip" (Compression Algorithm) Header Parameter is not supported.');if(F!==1/0&&(!Number.isSafeInteger(F)||F<1))throw TypeError("maxDecompressedLength must be 0, a positive safe integer, or Infinity");te=await uv(te,F).catch((I)=>{if(I instanceof S)throw I;throw new S("Failed to decompress plaintext",{cause:I})})}return[te,u,C,A]}async function dv(e,t,r){return Op(e,kp(e),t,r)}async function ws(e,t,r){if(e instanceof Uint8Array)e=ar.decode(e);if(typeof e!=="string")throw new S("Compact JWE must be a string or Uint8Array");let{0:n,1:i,2:o,3:s,4:a,length:c}=e.split(".");if(c!==5)throw new S("Invalid Compact JWE");let p={ciphertext:s,iv:o||void 0,protected:n,tag:a||void 0,encrypted_key:i||void 0},u=Et(n,S,"JWE Protected Header is invalid"),l=oe(n),f=[u,ye(s,"ciphertext",S),o?ye(o,"iv",S):void 0,a?ye(a,"tag",S):void 0,l];return lv(p,f,t,r,u)}var bi=j(()=>{xi();Pe();M();fs();$e();sn();ur();rn();_p()});async function fv(e,t,r){let n=await ws(e,Ut(r),t),i={plaintext:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[2]};return i}var mv=j(()=>{bi()});async function hv(e,t,r){if(!q(e))throw new S("Flattened JWE must be an object");let n=ys(e),[i,,o]=gs(e);if(!i)throw o;let s={...n,...i};return vs(s),bs(s,await dv(s,Ut(r),t))}var xv=j(()=>{M();bi()});async function yv(e,t,r){if(!q(e))throw new S("General JWE must be an object");let n=e.recipients;if(!Array.isArray(n))throw new S("JWE Recipients missing or incorrect type");let i=Array.from(n);if(!i.every(q))throw new S("JWE Recipients missing or incorrect type");if(!i.length)throw new S("JWE Recipients has no members");let o,s,a;try{o=Ut(r),s=ys(e),a=kp(s)}catch{throw new qt}let c=i.map((p)=>gs(p));if(i.length>1)for(let[,p]of c){let u=a[0]?.alg??p??s.unprotected?.alg;if(u==="dir"||u==="ECDH-ES")throw new S(`"${u}" alg may only have a single recipient`)}for(let[p]of c){if(!p)continue;try{let u={...s,...p};return vs(u),bs(u,await Op(u,a,o,t))}catch{}}throw new qt}var gv=j(()=>{bi();M()});function Es(e,t,r){if(!Dt(e,t,r))throw new S("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}function Cp(e){let[,t,r,n,i,o,s,a,c]=e;if(i!==void 0)Ke(i,"JWE Additional Authenticated Data");if(o!==void 0)Ke(o,"JWE Content Encryption Key");if(s!==void 0)Ke(s,"JWE Initialization Vector");if(t!==void 0)t=dr(S,t)[0],e[1]=t;if(r!==void 0)r=dr(S,r)[0],e[2]=r;if(n!==void 0)n=dr(S,n)[0],e[3]=n;if(a!==void 0&&!q(a))throw TypeError("JWE Key Management Parameters must be an object");Es(t,r,n);let p={...t,...r,...n};hs(S,t),xt(S,ms,c,t,p),xs(p,t);let{alg:u,enc:l}=p;if(typeof u!=="string"||!u)throw new S('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof l!=="string"||!l)throw new S('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');return[p,u,l,lr(l)]}async function Pp(e,t,r){let[n,i,,o]=t,[s,a,c,p,u,l,f,m,,g]=e,x=a,v=c;if(l&&(i==="dir"||i==="ECDH-ES"))throw TypeError(`setContentEncryptionKey cannot be called with JWE "alg" (Algorithm) Header ${i}`);let h=Ye(i),b=await Xe(i==="dir"?o:h,r,"encrypt"),[E,A,O]=await ds(i,o,b,l,m);if(O){if(g)v=v?{...v,...O}:O;else x=x?{...x,...O}:O;Es(x,v,p)}let C,K;if(x)C=Y(JSON.stringify(x)),K=oe(C);else C="",K=new Uint8Array;let te,F;if(u?.byteLength)F=Y(u),te=xe(K,oe("."),oe(F));else te=K;let I=s;if(n.zip==="DEF")I=await pv(I).catch((et)=>{throw new S("Failed to compress plaintext",{cause:et})});let{ciphertext:me,tag:yt,iv:Qe}=await es(o,I,E,f,te),V={ciphertext:Y(me)};if(Qe)V.iv=Y(Qe);if(yt)V.tag=Y(yt);if(A)V.encrypted_key=Y(A);if(F)V.aad=F;if(x)V.protected=C;if(p)V.unprotected=p;if(v)V.header=v;return V}async function Ft(e,t,r){if(!e[1]&&!e[2]&&!e[3])throw new S("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(r!==void 0)e[8]=r?.crit,e[9]=r?Mg in r:!1;return Pp(e,Cp(e),t)}var wi=j(()=>{Be();xi();fs();M();$e();sn();ur();rn();_p();Pe()});class bv{#e;state;constructor(e,t,r){this.#e=e,this.state=[void 0,void 0,t,r]}setUnprotectedHeader(e){return G(this.state[0],"setUnprotectedHeader"),this.state[0]=e,this}setKeyManagementParameters(e){return G(this.state[1],"setKeyManagementParameters"),this.state[1]=e,this}addRecipient(...e){return this.#e.addRecipient(...e)}encrypt(...e){return this.#e.encrypt(...e)}done(){return this.#e}}function vv(e,t,r){let{aad:n,protected:i,unprotected:o,header:s}=e;if(n)t.aad=n;if(i)t.protected=i;if(o)t.unprotected=o;if(s)r.header=s}class Ip{#e;#t=[];#n;#o;#s;constructor(e){this.#e=e}addRecipient(e,t){let r=new bv(this,e,t?.crit);return this.#t.push(r),r}setProtectedHeader(e){return G(this.#n,"setProtectedHeader"),this.#n=e,this}setSharedUnprotectedHeader(e){return G(this.#o,"setSharedUnprotectedHeader"),this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#s=e,this}async encrypt(){if(!this.#t.length)throw new S("at least one recipient must be added");if(Ke(this.#e,"plaintext"),this.#t.length===1){let[a,c,p,u]=this.#t[0].state,l=await Ft([this.#e,this.#n,a,this.#o,this.#s,void 0,void 0,c,u,!1],p),f={ciphertext:l.ciphertext,iv:l.iv,recipients:[{}],tag:l.tag};if(l.encrypted_key)f.recipients[0].encrypted_key=l.encrypted_key;return vv(l,f,f.recipients[0]),f}let e,t=this.#n,r=this.#o,n=[],i=[];for(let a=0;a<this.#t.length;a++){let c=this.#t[a],[p,u,,l]=c.state,f=[this.#e,t,p,r,this.#s,void 0,void 0,u,l,!0],m=Cp(f);if(n.push(f),i.push(m),a===0)t=f[1],r=f[3];if(m[1]==="dir"||m[1]==="ECDH-ES")throw new S(`"${m[1]}" alg may only have a single recipient`);if(!e)e=m[2];else if(e!==m[2])throw new S('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}let o=ct(i[0][3]),s={ciphertext:"",recipients:[]};for(let a=0;a<this.#t.length;a++){let c=this.#t[a],[,p,u]=c.state,l={};if(s.recipients.push(l),a===0){n[0][5]=o;let b=await Pp(n[0],i[0],u);s.ciphertext=b.ciphertext,s.iv=b.iv,s.tag=b.tag,l.encrypted_key=b.encrypted_key,vv(b,s,l);continue}let[,f,,m]=i[a],g=n[a][2],x=await Xe(Ye(f),u,"encrypt"),[,v,h]=await ds(f,m,x,o,p);if(l.encrypted_key=Y(v),g||h){let b={...g,...h};if(h)Es(n[a][1],b,n[a][3]);l.header=b}}return s}}var wv=j(()=>{Pe();M();xi();fs();Be();wi();ur();rn()});async function Ev(e,t,r){if(t instanceof Uint8Array)return crypto.subtle.importKey("raw",t,e.subtle,!1,[r]);if(wt(t,e.subtle,r),e.minRsaBits)Vo(e.alg,t);return t}async function Sv(e,t,r){let n=await Ev(e,t,"sign"),i=await crypto.subtle.sign(e.signing,n,r);return new Uint8Array(i)}async function Av(e,t,r,n){let i=await Ev(e,t,"verify");try{return await crypto.subtle.verify(e.signing,i,r,n)}catch{return!1}}var jp=()=>{};function Lp(e){let t={name:"HMAC",hash:`SHA-${e}`};return{kty:["oct"],secret:!0,subtle:t,signing:t,usages:Ei}}function an(e,t){let n={name:t?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:`SHA-${e}`};return{kty:["RSA"],subtle:n,signing:t?{...n,saltLength:t}:n,usages:Ei,minRsaBits:2048}}function Np(e,t){return{kty:["EC"],crv:e,subtle:{name:"ECDSA",namedCurve:e},signing:{name:"ECDSA",hash:`SHA-${t}`},usages:Ei}}function Rv(){let e={name:"Ed25519"};return{kty:["OKP"],crv:"Ed25519",subtle:e,signing:e,usages:Ei}}function qp(e){let r={name:`ML-DSA-${e}`};return{kty:["AKP"],subtle:r,signing:r,usages:Ei}}function cn(e){let t=typeof e==="string"?Si[e]:void 0;if(!t)throw new J(`alg ${e} is not supported either by JOSE or your javascript runtime`);return t}var Ei,Si;var pn=j(()=>{M();Ei=[["verify"],["sign"]];Si=yi({HS256:Lp(256),HS384:Lp(384),HS512:Lp(512),RS256:an(256),RS384:an(384),RS512:an(512),PS256:an(256,32),PS384:an(384,48),PS512:an(512,64),ES256:Np("P-256",256),ES384:Np("P-384",384),ES512:Np("P-521",512),EdDSA:Rv(),Ed25519:Rv(),"ML-DSA-44":qp(44),"ML-DSA-65":qp(65),"ML-DSA-87":qp(87)})});function Ss(e,t){let{protected:r,header:n}=e,i=q(n)?{...n}:n,o=t?t[0]:e.payload;if(!t&&o instanceof Uint8Array)o=new Uint8Array(o);let s=e.signature,a={payload:o,signature:s};if(r!==void 0)a.protected=r;if(n!==void 0)a.header=i;return a}function As(e,t){let[r,n,,i,o]=t,s={payload:r};if(e.protected!==void 0)s.protectedHeader=n;if(e.header!==void 0)s.unprotectedHeader=e.header;if(o)return{...s,key:i};return s}function $t(e){return[e&&vi("algorithms",e.algorithms),e?.crit]}function Rs(e,t=e===void 0?{}:Et(e,P,"JWS Protected Header is invalid")){return t}function Tv(e,t,r){let n=on(e,xt(P,nn,r[1],e,t)),i=t.alg;if(typeof i!=="string"||!i)throw new P('JWS "alg" (Algorithm) Header Parameter missing or invalid');if(r[0]&&!r[0].has(i))throw new cr('"alg" (Algorithm) Header Parameter value not allowed');return[n,i]}function _I(e,t,r,n){let i=Rs(e,n),o;if(t!==void 0){if(!Dt(i,t))throw new P("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");o={...i,...t}}else o=i;return[i,o,...Tv(i,o,r)]}function Ts(e){let t=/[\p{Cs}\p{Cn}]/u.exec(e)?.[0];if(t!==void 0)throw new P(/\p{Cs}/u.test(t)?"JWS Payload must be a well-formed Unicode string":"JWS Payload must not contain unassigned Unicode code points");return Gr.encode(e)}function kI(e){try{return oe(e)}catch{throw new P("JWS Compact Serialization payload must use only ASCII characters")}}async function _v(e,t,r,n,i,o,s){let a=!1;if(typeof r==="function")r=await r(i,e),a=!0;let c=typeof s==="string",p=cn(o),u=xe(n!==void 0?oe(n):new Uint8Array,oe("."),c?t[2]??=ss(s,"payload",P):s),l=ye(e.signature,"signature",P),f=await Xe(p,r,"verify");if(!await Av(p,f,l,u))throw new pr;return[c?ye(s,"payload",P):s,i,c,f,a]}async function _s(e,t,r,n,i){let{protected:o,header:s,payload:a}=e,[c,,p,u]=_I(o,s,t,i);if(p){if(typeof a!=="string")throw new P("JWS Payload must be a string")}else if(typeof a!=="string"&&!(a instanceof Uint8Array))throw new P("JWS Payload must be a string or an Uint8Array instance");let l=p||typeof a!=="string"?a:n(a);return _v(e,t,r,o,c,u,l)}async function ks(e,t,r){if(e instanceof Uint8Array)e=ar.decode(e);if(typeof e!=="string")throw new P("Compact JWS must be a string or Uint8Array");let{0:n,1:i,2:o,length:s}=e.split(".");if(s!==3)throw new P("Invalid Compact JWS");let a={payload:i,protected:n,signature:o},c=Rs(n),[p,u]=Tv(c,c,t),l=p?i:kI(i);return _v(a,t,r,n,c,u,l)}var Ai=j(()=>{jp();pn();M();$e();Pe();sn();ur()});async function kv(e,t,r){let n=await ks(e,$t(r),t),i={payload:n[0],protectedHeader:n[1]};if(typeof t==="function")return{...i,key:n[3]};return i}var Ov=j(()=>{Ai()});async function Cv(e,t,r){if(!q(e))throw new P("Flattened JWS must be an object");let n=Ss(e);if(n.protected===void 0&&n.header===void 0)throw new P('Flattened JWS must have either of the "protected" or "header" members');if(n.protected!==void 0&&typeof n.protected!=="string")throw new P("JWS Protected Header incorrect type");if(n.payload===void 0)throw new P("JWS Payload missing");if(typeof n.signature!=="string")throw new P("JWS Signature missing or incorrect type");if(n.header!==void 0&&!q(n.header))throw new P("JWS Unprotected Header incorrect type");return As(n,await _s(n,$t(r),t,Ts))}var Pv=j(()=>{M();Ai()});function OI(e,t){try{let r=Ss(e,[t]),{protected:n,header:i,signature:o}=r;if(n===void 0&&i===void 0)return;if(n!==void 0&&typeof n!=="string")return;if(typeof o!=="string")return;if(i!==void 0&&!q(i))return;let s=Rs(n),{b64:a,crit:c}=s;return[r,s,Array.isArray(c)&&c.includes("b64")?typeof a==="boolean"?a?1:2:0:1]}catch{return}}async function Iv(e,t,r){if(!q(e))throw new P("General JWS must be an object");let{signatures:n,payload:i}=e;if(!Array.isArray(n))throw new P("JWS Signatures missing or incorrect type");let o=Array.from(n);if(!o.every(q))throw new P("JWS Signatures missing or incorrect type");let s;try{if(i===void 0)throw Error();s=$t(r)}catch{throw new pr}let a=i instanceof Uint8Array?new Uint8Array(i):i,c=o.map((u)=>OI(u,a)).filter((u)=>u!==void 0),p=0;for(let[,,u]of c)if(p|=u,p===3)throw new P("inconsistent use of JWS Unencoded Payload (RFC7797)");for(let u of c)try{return As(u[0],await _s(u[0],s,t,Ts,u[1]))}catch{}throw new pr}var jv=j(()=>{Ai();M()});function Dp(){throw TypeError("Invalid time period format")}function Os(e){if(typeof e!=="string")Dp();let t=PI.exec(e);if(!t||t[4]&&t[1])Dp();let r=parseFloat(t[2]),n=Math.round(r*CI[t[3][0].toLowerCase()]);if(!Number.isFinite(n))Dp();if(t[1]==="-"||t[4]==="ago")return-n;return n}function ln(e,t){if(!Number.isFinite(t))throw TypeError(`Invalid ${e} input`);return t}function Up(e,t){if(typeof t!=="string")throw TypeError(`"${e}" claim must be a string`)}function II(e){if(typeof e!=="string"&&(!Array.isArray(e)||Array.from(e).some((t)=>typeof t!=="string")))throw TypeError('"aud" claim must be a string or an array of strings')}function Fp(e,t){if(typeof e==="number")return ln(t,e);if(e instanceof Date)return ln(t,Ri(e));return Ri(new Date)+Os(e)}function $p(e,t,r=!1){let n=e[t];if(n===void 0&&!r)return;if(typeof n!=="number")throw new st(`"${t}" claim must be a number`,e,t,"invalid");return n}function Bp(e,t){throw new st(`unexpected "${t}" claim value`,e,t,un)}function dn(e,t,r={}){let n;try{n=JSON.parse(Vr.decode(t))}catch{}if(!q(n))throw new ce("JWT Claims Set must be a top-level JSON object");let{typ:i}=r;if(i!==void 0&&(typeof e.typ!=="string"||Lv(e.typ)!==Lv(i)))throw new st('unexpected "typ" JWT header value',n,"typ",un);let{requiredClaims:o=[],issuer:s,subject:a,audience:c,maxTokenAge:p}=r,u=[...o];if(p!==void 0)u.push("iat");if(c!==void 0)u.push("aud");if(a!==void 0)u.push("sub");if(s!==void 0)u.push("iss");for(let b of new Set(u.reverse()))if(!Object.hasOwn(n,b))throw new st(`missing required "${b}" claim`,n,b,"missing");if(s!==void 0&&!(Array.isArray(s)?s:[s]).includes(n.iss))Bp(n,"iss");if(a!==void 0&&n.sub!==a)Bp(n,"sub");if(c!==void 0&&!jI(n.aud,typeof c==="string"?[c]:c))Bp(n,"aud");let{clockTolerance:l}=r,f=0;if(typeof l==="string")f=Os(l);else if(l!==void 0){if(typeof l!=="number")throw TypeError("Invalid clockTolerance option type");f=l}ln("clockTolerance option",f);let{currentDate:m}=r,g=ln("currentDate option",Ri(m===void 0?new Date:m)),x=$p(n,"iat",p!==void 0),v=$p(n,"nbf");if(v!==void 0){if(v>g+f)throw new st('"nbf" claim timestamp check failed',n,"nbf",un)}let h=$p(n,"exp");if(h!==void 0){if(h<=g-f)throw new di('"exp" claim timestamp check failed',n,"exp",un)}if(p!==void 0){let b=g-x,E=ln("maxTokenAge option",typeof p==="number"?p:Os(p));if(b-f>E)throw new di('"iat" claim timestamp check failed (too far in the past)',n,"iat",un);if(b<-f)throw new st('"iat" claim timestamp check failed (it should be in the past)',n,"iat",un)}return n}function St(e){return Nv.get(e)}function fn(e){let t=St(e);for(let r of["iat","nbf","exp"]){let n=t[r];if(typeof n==="number"&&!Number.isFinite(n))throw TypeError(`"${r}" claim must be a finite number`)}return Gr.encode(JSON.stringify(t))}function Cs(e,t){return St(e)[t]}class fr{constructor(e={}){if(!q(e))throw TypeError("JWT Claims Set MUST be an object");(Nv||=new WeakMap).set(this,structuredClone(e))}setIssuer(e){return Up("iss",e),St(this).iss=e,this}setSubject(e){return Up("sub",e),St(this).sub=e,this}setAudience(e){return II(e),St(this).aud=e,this}setJti(e){return Up("jti",e),St(this).jti=e,this}setNotBefore(e){return St(this).nbf=Fp(e,"setNotBefore"),this}setExpirationTime(e){return St(this).exp=Fp(e,"setExpirationTime"),this}setIssuedAt(e){let t=St(this);if(e===void 0)t.iat=Ri(new Date);else if(typeof e==="string")t.iat=ln("setIssuedAt",Ri(new Date)+Os(e));else t.iat=Fp(e,"setIssuedAt");return this}}var Ri=(e)=>Math.floor(e.getTime()/1000),CI,PI,un="check_failed",Lv=(e)=>{let t=e.toLowerCase();return e.includes("/")?t:`application/${t}`},jI=(e,t)=>{if(typeof e==="string")return t.includes(e);if(Array.isArray(e))return t.some((r)=>e.includes(r));return!1},Nv;var mn=j(()=>{M();$e();CI={s:1,m:60,h:3600,d:86400,w:604800,y:31557600},PI=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i});async function qv(e,t,r){let n=await ks(e,$t(r),t);if(!n[2])throw new ce("JWTs MUST NOT use unencoded payload");let o={payload:dn(n[1],n[0],r),protectedHeader:n[1]};if(typeof t==="function")return{...o,key:n[3]};return o}var Dv=j(()=>{Ai();mn();M()});async function Uv(e,t,r){let n=await ws(e,Ut(r),t),i=n[1],o=dn(i,n[0],r);for(let a of["iss","sub","aud"])if(i[a]!==void 0&&(a==="aud"?JSON.stringify(i.aud)!==JSON.stringify(o.aud):i[a]!==o[a]))throw new st(`replicated "${a}" claim header parameter mismatch`,o,a,"mismatch");let s={payload:o,protectedHeader:i};if(typeof t==="function")return{...s,key:n[2]};return s}var Fv=j(()=>{bi();mn();M()});class Kp{#e;#t;#n;#o;#s;constructor(e){Ke(e,"plaintext"),this.#e=e}setContentEncryptionKey(e){return G(this.#n,"setContentEncryptionKey"),this.#n=e,this}setInitializationVector(e){return G(this.#o,"setInitializationVector"),this.#o=e,this}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}setKeyManagementParameters(e){return G(this.#s,"setKeyManagementParameters"),this.#s=e,this}async encrypt(e,t){let r=await Ft([this.#e,this.#t,void 0,void 0,void 0,this.#n,this.#o,this.#s,void 0,!1],e,t);return[r.protected,r.encrypted_key,r.iv,r.ciphertext,r.tag].join(".")}}var $v=j(()=>{Pe();wi()});class Hp{#e;#t;#n;#o;#s;#x;#y;#f;constructor(e){Ke(e,"plaintext"),this.#e=e}setKeyManagementParameters(e){return G(this.#f,"setKeyManagementParameters"),this.#f=e,this}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}setSharedUnprotectedHeader(e){return G(this.#n,"setSharedUnprotectedHeader"),this.#n=e,this}setUnprotectedHeader(e){return G(this.#o,"setUnprotectedHeader"),this.#o=e,this}setAdditionalAuthenticatedData(e){return this.#s=e,this}setContentEncryptionKey(e){return G(this.#x,"setContentEncryptionKey"),this.#x=e,this}setInitializationVector(e){return G(this.#y,"setInitializationVector"),this.#y=e,this}async encrypt(e,t){return Ft([this.#e,this.#t,this.#o,this.#n,this.#s,this.#x,this.#y,this.#f,void 0,!1],e,t)}}var Bv=j(()=>{Pe();wi()});function Kv(e){if(e===void 0)return[void 0,""];let t=dr(P,e);return[t[0],Y(t[1])]}function Hv(e,t,r){return hs(P,e),on(e,xt(P,nn,r,e,t))}function Jv(e){let t=e.alg;if(typeof t!=="string"||!t)throw new P('JWS "alg" (Algorithm) Header Parameter missing or invalid');return cn(t)}async function Wv(e,t,r,n){let i=xe(oe(e),oe("."),t),o=await Xe(r,n,"sign");return Y(await Sv(r,o,i))}async function Ps(e,t,r){let{protectedHeader:n,unprotectedHeader:i}=e,o;if([n,o]=Kv(n),i!==void 0)i=dr(P,i)[0];if(!n&&!i)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Dt(n,i))throw new P("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let s={...n,...i},a=Hv(n,s,e.crit);r?.(a);let c=Jv(s),p,u;if(a){let f=e.encoded??=[];f[0]??=Y(e.payload),f[1]??=oe(f[0]),p=f[0],u=f[1]}else u=e.payload,p="";let l={signature:await Wv(o,u,c,t),payload:p};if(n)l.protected=o;if(i)l.header=i;return[l,a]}async function Is(e,t,r,n,i){let[o,s]=Kv(t);if(!o)throw new P("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Hv(o,o,r))i();let c=Jv(o),p=Y(e),u=await Wv(s,oe(p),c,n);return`${s}.${p}.${u}`}var Ti=j(()=>{Be();jp();pn();M();$e();sn();ur()});class Jp{#e;#t;constructor(e){if(!(e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#e=e}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}async sign(e,t){return Is(this.#e,this.#t,t?.crit,e,()=>{throw TypeError("use the flattened module for creating JWS with b64: false")})}}var zv=j(()=>{Ti();Pe()});class Wp{#e;#t;#n;constructor(e){if(!(e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#e=e}setProtectedHeader(e){return G(this.#t,"setProtectedHeader"),this.#t=e,this}setUnprotectedHeader(e){return G(this.#n,"setUnprotectedHeader"),this.#n=e,this}async sign(e,t){let[r]=await Ps({payload:this.#e,protectedHeader:this.#t,unprotectedHeader:this.#n,crit:t?.crit},e);return r}}var Mv=j(()=>{Ti();Pe()});class Gv{#e;state;constructor(e,t,r){this.#e=e,this.state=[void 0,void 0,t,r?.crit]}setProtectedHeader(e){return G(this.state[0],"setProtectedHeader"),this.state[0]=e,this}setUnprotectedHeader(e){return G(this.state[1],"setUnprotectedHeader"),this.state[1]=e,this}addSignature(...e){return this.#e.addSignature(...e)}sign(...e){return this.#e.sign(...e)}done(){return this.#e}}class zp{#e;#t=[];constructor(e){this.#e=e}addSignature(e,t){let r=new Gv(this,e,t);return this.#t.push(r),r}async sign(){if(!this.#t.length)throw new P("at least one signature must be added");if(!(this.#e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");let e={signatures:[],payload:""},t=[],r;for(let n=0;n<this.#t.length;n++){let i=this.#t[n],[o,s,a,c]=i.state,[{payload:p,...u},l]=await Ps({payload:this.#e,protectedHeader:o,unprotectedHeader:s,crit:c,encoded:t},a);if(r===void 0)r=l,e.payload=p;else if(r!==l)throw new P("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(u)}return e}}var Vv=j(()=>{Ti();M();Pe()});var LI,Mp;var Xv=j(()=>{Ti();M();mn();Pe();LI=fr;Mp=class Mp extends LI{#e;setProtectedHeader(e){return G(this.#e,"setProtectedHeader"),this.#e=e,this}async sign(e,t){return Is(fn(this),this.#e,t?.crit,e,()=>{throw new ce("JWTs MUST NOT use unencoded payload")})}}});var NI,Gp;var Yv=j(()=>{wi();mn();Pe();NI=fr;Gp=class Gp extends NI{#e;#t;#n;#o;#s;#x;#y;setProtectedHeader(e){return G(this.#o,"setProtectedHeader"),this.#o=e,this}setKeyManagementParameters(e){return G(this.#n,"setKeyManagementParameters"),this.#n=e,this}setContentEncryptionKey(e){return G(this.#e,"setContentEncryptionKey"),this.#e=e,this}setInitializationVector(e){return G(this.#t,"setInitializationVector"),this.#t=e,this}replicateIssuerAsHeader(){return this.#s=!0,this}replicateSubjectAsHeader(){return this.#x=!0,this}replicateAudienceAsHeader(){return this.#y=!0,this}async encrypt(e,t){let r=fn(this);if(this.#o&&(this.#s||this.#x||this.#y))this.#o={...this.#o,iss:this.#s?Cs(this,"iss"):void 0,sub:this.#x?Cs(this,"sub"):void 0,aud:this.#y?Cs(this,"aud"):void 0};let n=await Ft([r,this.#o,void 0,void 0,void 0,this.#e,this.#t,this.#n,void 0,!1],e,t);return[n.protected,n.encrypted_key,n.iv,n.ciphertext,n.tag].join(".")}}});function mr(e='JWK "alg" (Algorithm) Parameter'){throw new J(`Invalid or unsupported ${e} value`)}function hr(e,t){return(typeof e==="string"?Si[e]??Sp[e]:void 0)??mr(t)}var Bt='"alg" (Algorithm)';var _i=j(()=>{M();pn();rn()});function Kt(e){if(e!==void 0&&typeof e!=="boolean")throw TypeError('"extractable" option must be a boolean');return e}function UI(e,t){if(Ht(e,48,`Invalid ${t==="spki"?"SPKI":"PKCS#8"} structure`),At(e),t==="pkcs8"){Ht(e,2,"Expected version field");let r=At(e);e.pos+=r}Ht(e,48,"Expected algorithm identifier"),At(e)}function $I(e){let t=rb(e);Ht(t,48,"Invalid certificate structure");let r=At(t);if(r<0||t.pos+r>t.data.length)throw Error("Unexpected end of ASN.1 input");if(Ht(t,48,"Invalid tbsCertificate structure"),At(t),e[t.pos]===160)Zv(t,6);else Zv(t,5);let n=t.pos;Ht(t,48,"Invalid SPKI structure");let i=At(t);return e.subarray(n,n+i+(t.pos-n))}var qI=(e,t)=>{let r=(e.match(/.{1,64}/g)||[]).join(`
26
+ `);return`-----BEGIN ${t}-----
27
+ ${r}
28
+ -----END ${t}-----`},Qv=async(e,t,r)=>{if(hi(r)){if(r.type!==e)throw TypeError(`key is not a ${e} key`);return r.export({format:"pem",type:t})}if(!at(r))throw TypeError(ot(r,"CryptoKey","KeyObject"));if(!r.extractable)throw TypeError("CryptoKey is not extractable");if(r.type!==e)throw TypeError(`key is not a ${e} key`);return qI(rs(new Uint8Array(await crypto.subtle.exportKey(t,r))),`${e.toUpperCase()} KEY`)},eb=(e)=>Qv("public","spki",e),tb=(e)=>Qv("private","pkcs8",e),ki=(e,t)=>{if(e.byteLength!==t.length)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},rb=(e)=>({data:e,pos:0}),Vp=(e)=>{let t=e.data[e.pos++];if(t===void 0)throw Error("Unexpected end of ASN.1 input");return t},At=(e)=>{let t=Vp(e);if(t&128){let r=t&127,n=0;for(let i=0;i<r;i++)n=n<<8|Vp(e);return n}return t},Zv=(e,t=1)=>{while(t-- >0){e.pos++;let r=At(e);e.pos+=r}},Ht=(e,t,r)=>{if(Vp(e)!==t)throw Error(r)},nb=(e,t)=>{if(t<0||e.pos+t>e.data.length)throw Error("Unexpected end of ASN.1 input");let r=e.data.subarray(e.pos,e.pos+t);return e.pos+=t,r},DI=(e)=>{Ht(e,6,"Expected algorithm OID");let t=At(e);return nb(e,t)},FI=(e)=>{let t=DI(e);if(ki(t,[43,101,110]))return"X25519";if(!ki(t,[42,134,72,206,61,2,1]))throw Error("Unsupported key algorithm");Ht(e,6,"Expected curve OID");let r=At(e),n=nb(e,r);if(ki(n,[42,134,72,206,61,3,1,7]))return"P-256";if(ki(n,[43,129,4,0,34]))return"P-384";if(ki(n,[43,129,4,0,35]))return"P-521";throw Error("Unsupported named curve")},Xp=async(e,t,r,n)=>{let i=Kt(n?.extractable),o=hr(r,Bt);if(o.secret)mr(Bt);let s=e==="spki",a;if(o.resolve)try{let c=rb(t);UI(c,e),a=o.resolve({crv:FI(c)})}catch{throw new J("Invalid or unsupported key format")}else a=o.subtle;return crypto.subtle.importKey(e,t,a,i??s,o.usages[s?0:1])},Yp=(e,t)=>ns(e.replace(t,"")),ib=(e,t,r)=>{let n=Yp(e,/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g);return Xp("pkcs8",n,t,r)},ob=(e,t,r)=>{let n=Yp(e,/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);return Xp("spki",n,t,r)},sb=(e,t,r)=>{let n;try{let i=Yp(e,/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g);n=$I(i)}catch(i){throw TypeError("Failed to parse the X.509 certificate",{cause:i})}return Xp("spki",n,t,r)};var Zp=j(()=>{M();_i()});function BI(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}async function KI(e){if(hi(e))if(e.type==="secret")e=e.export();else return e.export({format:"jwk"});if(e instanceof Uint8Array)return{kty:"oct",k:Y(e)};if(!at(e))throw TypeError(ot(e,"CryptoKey","KeyObject","Uint8Array"));if(!e.extractable)throw TypeError("non-extractable CryptoKey cannot be exported as a JWK");let{ext:t,key_ops:r,alg:n,use:i,...o}=BI(await crypto.subtle.exportKey("jwk",e));if(o.kty==="AKP")o.alg=n;return o}function ab(e){return eb(e)}function cb(e){return tb(e)}function js(e){return KI(e)}var Qp=j(()=>{Zp();Be()});async function eu(e,t){let r;if(q(e)){if(r=Zr(e),typeof r.kty!=="string")throw TypeError(ot(e,"CryptoKey","KeyObject","JSON Web Key"))}else if(Qo(e))r=Zr(await js(e));else throw TypeError(ot(e,"CryptoKey","KeyObject","JSON Web Key"));if(t??="sha256",t!=="sha256"&&t!=="sha384"&&t!=="sha512")throw TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let n;switch(r.kty){case"AKP":Rt(r.alg,'"alg" (Algorithm) Parameter'),Rt(r.pub,'"pub" (Public key) Parameter'),n={alg:r.alg,kty:r.kty,pub:r.pub};break;case"EC":Rt(r.crv,'"crv" (Curve) Parameter'),Rt(r.x,'"x" (X Coordinate) Parameter'),Rt(r.y,'"y" (Y Coordinate) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x,y:r.y};break;case"OKP":Rt(r.crv,'"crv" (Subtype of Key Pair) Parameter'),Rt(r.x,'"x" (Public Key) Parameter'),n={crv:r.crv,kty:r.kty,x:r.x};break;case"RSA":Rt(r.e,'"e" (Exponent) Parameter'),Rt(r.n,'"n" (Modulus) Parameter'),n={e:r.e,kty:r.kty,n:r.n};break;case"oct":if(typeof r.k!=="string")throw new fi('"k" (Key Value) Parameter missing or invalid');n={k:r.k,kty:r.kty};break;default:throw new J('"kty" (Key Type) Parameter missing or unsupported')}let i=oe(JSON.stringify(n));return Y(await as(t,i))}async function pb(e,t){t??="sha256";let r=await eu(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${r}`}var Rt=(e,t)=>{if(typeof e!=="string"||!e)throw new fi(`${t} missing or invalid`)};var ub=j(()=>{Pe();Be();M();$e();Qp()});async function lb(e,t){let r={...e,...t?.header};if(!q(r.jwk))throw new P('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let n;try{n=Qr(r.jwk)}catch(s){throw new P("Invalid Embedded JWK",{cause:s})}let i=cn(r.alg);if(n.use!==void 0&&n.use!=="sig")throw new P('Invalid Embedded JWK, its "use" must be "sig" when present');if(n.alg!==void 0&&n.alg!==i.alg)throw new P(`Invalid Embedded JWK, its "alg" must be "${i.alg}" when present`);let o=await pt(i,{...n,ext:!0});if(o.type!=="public")throw new P('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}var db=j(()=>{Yr();pn();M()});function HI(e,t,r,n){let{kty:i,key_ops:o,ext:s,kid:a,alg:c,use:p,crv:u}=Zr(e),l=Array.isArray(o)?[...o]:o;return(s===void 0||typeof s==="boolean")&&(l===void 0||Array.isArray(l)&&l.every((f,m)=>typeof f==="string"&&l.indexOf(f)===m)&&l.includes("verify"))&&t.kty.includes(i)&&(n===void 0||typeof n==="string"&&n===a)&&(c===void 0?i!=="AKP":r===c)&&(p===void 0||p==="sig")&&(!t.crv||u===t.crv)}async function fb(e,t,r){let n=e.get(t)||e.set(t,{}).get(t),{alg:i}=r;if(n[i]===void 0){let o=await pt(r,{...t,alg:i,ext:!0});if(o.type!=="public")throw new mi("JSON Web Key Set members must be public keys");n[i]=o}return n[i]}function Oi(e){let t;try{t=structuredClone(e)}catch{}if(!os(t))throw new mi("JSON Web Key Set malformed");let r=new WeakMap;return Object.defineProperty(async(i,o)=>{let{alg:s,kid:a}={...i,...o?.header},c=typeof s==="string"?Si[s]:void 0;if(!c||c.secret)throw new J('Unsupported "alg" value for a JSON Web Key Set');let p=t.keys.filter((f)=>HI(f,c,s,a)),{0:u,length:l}=p;if(!l)throw new Xr;if(l!==1){let f=new Xo;throw f[Symbol.asyncIterator]=async function*(){for(let m of p)try{yield await fb(r,m,c)}catch{}},f}return fb(r,u,c)},"jwks",{value:()=>structuredClone(t)})}var tu=j(()=>{Yr();pn();M()});function JI(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}async function WI(e,t,r,n=fetch){let i=await n(e,{method:"GET",signal:r,redirect:"manual",headers:t}).catch((o)=>{if(o.name==="TimeoutError")throw new Yo;throw o});if(i.status!==200)throw new ve("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await i.json()}catch{throw new ve("Failed to parse the JSON Web Key Set HTTP response as JSON")}}function Ci(e,t){return Number.isFinite(e)&&Date.now()<e+t}function mb(e,t,r){if(Number.isNaN(e))throw TypeError(`"${r}" option must not be NaN`);return typeof e==="number"?e:t}function hb(e,t){if(!(e instanceof URL))throw TypeError("url must be an instance of URL");let r=new URL(e.href).href,n=t??{},i=n.timeoutDuration;if(typeof i==="number"&&(!Number.isInteger(i)||i<0))throw TypeError('"timeoutDuration" option must be a non-negative integer');let o=typeof i==="number"?i:5000,s=mb(n.cooldownDuration,30000,"cooldownDuration"),a=mb(n.cacheMaxAge,600000,"cacheMaxAge"),c=new Headers(n.headers);if(ru&&!c.has("User-Agent"))c.set("User-Agent",ru);if(!c.has("accept"))c.set("accept","application/json, application/jwk-set+json");let p=n[nu],u=n[iu],l,f,m=0,g=0,x;if(u&&typeof u==="object"){let{uat:b,jwks:E}=u;if(Ci(b,a)&&os(E))l=b,x=Oi(E)}let v=async()=>{if(f&&JI())f=void 0;if(!f){let b=++m,E=f=WI(r,c,AbortSignal.timeout(o),p).then((A)=>{let O=Oi(A);if(b<=g)return;x=O;let C=Date.now();if(u)u.uat=C,u.jwks=A;l=C,g=b}).finally(()=>{if(f===E)f=void 0})}await f};return Object.defineProperties(async(b,E)=>{if(!x||!Ci(l,a))await v();try{return await x(b,E)}catch(A){if(A instanceof Xr&&!Ci(l,s))return await v(),x(b,E);throw A}},{coolingDown:{get:()=>Ci(l,s),enumerable:!0},fresh:{get:()=>Ci(l,a),enumerable:!0},reload:{value:v,enumerable:!0},reloading:{get:()=>!!f,enumerable:!0},jwks:{value:()=>x?.jwks(),enumerable:!0}})}var ru,nu,iu;var xb=j(()=>{M();tu();if(typeof navigator>"u"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 "))ru="jose/v6.2.10";nu=Symbol();iu=Symbol()});var zI,ou;var yb=j(()=>{Be();Pe();M();mn();sn();zI=fr;ou=class ou extends zI{encode(){let e=Y(JSON.stringify({alg:"none"})),t=Y(fn(this));return`${e}.${t}.`}static decode(e,t){if(typeof e!=="string")throw new ce("Unsecured JWT must be a string");let{0:r,1:n,2:i,length:o}=e.split(".");if(o!==3||i!=="")throw new ce("Invalid Unsecured JWT");let s,a;try{s=Et(r,P,"JWS Protected Header is invalid");let p=xt(P,nn,void 0,s,s);a=on(s,p)}catch(p){if(!(p instanceof P))throw p;throw new ce("Invalid Unsecured JWT",{cause:p})}if(s.alg!=="none")throw new ce("Invalid Unsecured JWT");if(!a)throw new ce("JWTs MUST NOT use unencoded payload");return{payload:dn(s,ye(n,"payload",ce),t),header:s}}}});async function gb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return ob(e,t,r)}async function vb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return sb(e,t,r)}async function bb(e,t,r){if(typeof e!=="string"||e.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return ib(e,t,r)}async function wb(e,t,r){if(!q(e))throw TypeError("JWK must be an object");let n=Qr(e),i=Kt(r?.extractable),{alg:o}=n;t??=o;let s=i??n.ext;if(n.kty!=="oct"&&!t)throw TypeError('"alg" argument is required when "jwk.alg" is not present');switch(n.kty){case"oct":if(typeof n.k!=="string")throw TypeError('missing "k" (Key Value) Parameter value');return ht(n.k);case"AKP":{if(typeof o!=="string"||!o)throw TypeError('missing "alg" (Algorithm) Parameter value');if(t!==o)throw TypeError("JWK alg and alg option value mismatch");return pt(hr(t),{...n,ext:s})}case"RSA":case"EC":case"OKP":return pt(hr(t),{...n,alg:t,ext:s});default:throw new J('Unsupported "kty" (Key Type) Parameter value')}}var Eb=j(()=>{Be();Zp();Yr();_i();M()});function Sb(e){let t;if(typeof e==="string"){let n=e.split(".");if(n.length===3||n.length===5)[t]=n}else if(typeof e==="object"&&e)if("protected"in e)t=e.protected;else throw TypeError("Token does not contain a Protected Header");let r="Invalid Token or Protected Header formatting";if(typeof t!=="string"||!t)throw TypeError(r);return Et(t,TypeError,r)}var Ab=j(()=>{Pe()});function Rb(e){if(typeof e!=="string")throw new ce("JWTs must use Compact JWS serialization, JWT must be a string");let{1:t,length:r}=e.split(".");if(r===5)throw new ce("Only JWTs using Compact JWS serialization can be decoded");if(r!==3)throw new ce("Invalid JWT");if(!t)throw new ce("JWTs must contain a payload");let n;try{n=ht(t)}catch{throw new ce("Failed to base64url decode the payload")}let i;try{i=JSON.parse(Vr.decode(n))}catch{throw new ce("Failed to parse the decoded payload as JSON")}if(!q(i))throw new ce("Invalid JWT Claims Set");return i}var Tb=j(()=>{Be();$e();M()});function MI(e){let t=e?.modulusLength??2048;if(typeof t!=="number"||!Number.isInteger(t)||t<2048)throw new J("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return t}async function _b(e,t){let r=Kt(t?.extractable),n=hr(e,Bt);if(n.secret)mr(Bt);let i;if(n.resolve){let o=t?.crv??"P-256";switch(o){case"P-256":case"P-384":case"P-521":i={name:"ECDH",namedCurve:o};break;case"X25519":i={name:"X25519"};break;default:throw new J("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, and X25519")}}else{if(n.crv!==void 0&&t?.crv!==void 0&&t.crv!==n.crv)throw new J(`Invalid or unsupported crv option provided, the only supported value for ${e} is ${n.crv}`);i=n.kty[0]==="RSA"?{...n.subtle,publicExponent:Uint8Array.of(1,0,1),modulusLength:MI(t)}:n.subtle}return crypto.subtle.generateKey(i,r??!1,[...n.usages[1],...n.usages[0]])}var kb=j(()=>{M();_i()});async function Ob(e,t){let r=Kt(t?.extractable),n,i,o;switch(e){case"HS256":case"HS384":case"HS512":n=+e.slice(-3),i={name:"HMAC",hash:`SHA-${n}`,length:n},o=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return crypto.getRandomValues(new Uint8Array(+e.slice(-3)>>3));case"A128KW":case"A192KW":case"A256KW":n=+e.slice(1,4),i={name:"AES-KW",length:n},o=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":n=+e.slice(1,4),i={name:"AES-GCM",length:n},o=["encrypt","decrypt"];break;default:mr(Bt)}return crypto.subtle.generateKey(i,r??!1,o)}var Cb=j(()=>{_i()});var su={};Ar(su,{CompactEncrypt:()=>Kp,CompactSign:()=>Jp,EmbeddedJWK:()=>lb,EncryptJWT:()=>Gp,FlattenedEncrypt:()=>Hp,FlattenedSign:()=>Wp,GeneralEncrypt:()=>Ip,GeneralSign:()=>zp,SignJWT:()=>Mp,UnsecuredJWT:()=>ou,base64url:()=>is,calculateJwkThumbprint:()=>eu,calculateJwkThumbprintUri:()=>pb,compactDecrypt:()=>fv,compactVerify:()=>kv,createLocalJWKSet:()=>Oi,createRemoteJWKSet:()=>hb,cryptoRuntime:()=>GI,customFetch:()=>nu,decodeJwt:()=>Rb,decodeProtectedHeader:()=>Sb,errors:()=>gp,exportJWK:()=>js,exportPKCS8:()=>cb,exportSPKI:()=>ab,flattenedDecrypt:()=>hv,flattenedVerify:()=>Cv,generalDecrypt:()=>yv,generalVerify:()=>Iv,generateKeyPair:()=>_b,generateSecret:()=>Ob,importJWK:()=>wb,importPKCS8:()=>bb,importSPKI:()=>gb,importX509:()=>vb,jwksCache:()=>iu,jwtDecrypt:()=>Uv,jwtVerify:()=>qv});var GI="WebCryptoAPI";var au=j(()=>{mv();xv();gv();wv();Ov();Pv();jv();Dv();Fv();$v();Bv();zv();Mv();Vv();Xv();Yv();ub();db();tu();xb();yb();Qp();Eb();Ab();Tb();M();kb();Cb();Be()});var Ns=y(function(xW,Pb){function Ls(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=e}Ls.prototype=Object.create(Error.prototype);Ls.prototype.constructor=Ls;Pb.exports=Ls});var cu=y(function(yW,jb){var Ib=(au(),Di(su)),VI=Ns();function XI(e){if(e.alg)return e.alg;if(e.kty==="RSA")return"RS256";if(e.kty==="EC")switch(e.crv){case"P-256":return"ES256";case"P-384":return"ES384";case"P-521":return"ES512"}if(e.kty==="OKP")switch(e.crv){case"Ed25519":case"Ed448":return"EdDSA"}throw new VI("Unsupported JWK")}async function YI(e){let t=[];e=e.filter(({use:r})=>r==="sig"||r===void 0).filter(({kty:r})=>r==="RSA"||r==="EC"||r==="OKP");for(let r of e)try{let n=await Ib.importJWK({...r,ext:!0},XI(r));if(n.type!=="public")continue;let i;switch(n[Symbol.toStringTag]){case"CryptoKey":{let o=await Ib.exportSPKI(n);i=()=>o;break}case"KeyObject":default:i=()=>n.export({format:"pem",type:"spki"})}t.push({get publicKey(){return i()},get rsaPublicKey(){return i()},getPublicKey(){return i()},...typeof r.kid==="string"&&r.kid?{kid:r.kid}:void 0,...typeof r.alg==="string"&&r.alg?{alg:r.alg}:void 0})}catch(n){continue}return t}jb.exports={retrieveSigningKeys:YI}});var pu=y(function(gW,Lb){function qs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=e}qs.prototype=Object.create(Error.prototype);qs.prototype.constructor=qs;Lb.exports=qs});var qb=y(function(vW,Nb){var ZI=require("http"),QI=require("https"),ej=pu();Nb.exports.default=(e)=>{if(e.fetcher)return e.fetcher(e.uri);return new Promise((t,r)=>{let n;try{n=new URL(e.uri)}catch(m){throw new ej("Invalid JWKS URI: The provided URI is not a valid URL.")}let{hostname:i,port:o,protocol:s,pathname:a,search:c}=n,p=a+c,u={hostname:i,path:p,port:o,method:"GET",...e.headers&&{headers:{...e.headers}},...e.timeout&&{timeout:e.timeout},...e.agent&&{agent:e.agent}},f=(s==="https:"?QI:ZI).request(u,(m)=>{let g="";m.setEncoding("utf8"),m.on("data",(x)=>{g+=x}),m.on("end",()=>{if(m.statusCode<200||m.statusCode>=300){let x=m.body&&(m.body.message||m.body)||m.statusMessage||`Http Error ${m.statusCode}`;r({errorMsg:x})}else try{t(g&&JSON.parse(g))}catch(x){r(x)}})});f.on("timeout",()=>f.destroy()).on("error",(m)=>r(m)).end()})}});var Fs=y(function(Us){var Ub=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),tj=Ub((e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.tracing=e.metrics=void 0;var t=require("node:diagnostics_channel");e.metrics=(0,t.channel)("lru-cache:metrics"),e.tracing=(0,t.tracingChannel)("lru-cache")}),rj=Ub((e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultPerf=void 0,e.defaultPerf=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date});Object.defineProperty(Us,"__esModule",{value:!0});Us.LRUCache=void 0;var le=tj(),nj=rj(),uu=()=>le.metrics.hasSubscribers||le.tracing.hasSubscribers,Fb=new Set,Db=typeof process=="object"&&process?process:{},ij=(e,t,r,n)=>{typeof Db.emitWarning=="function"?Db.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},oj=(e)=>!Fb.has(e),Jt=(e)=>!!e&&e===Math.floor(e)&&e>0&&isFinite(e),$b=(e)=>Jt(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Ds:null:null,Ds=class extends Array{constructor(e){super(e),this.fill(0)}},sj=class e{heap;length;static#e=!1;static create(t){let r=$b(t);if(!r)return[];e.#e=!0;let n=new e(t,r);return e.#e=!1,n}constructor(t,r){if(!e.#e)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},aj=class e{#e;#t;#n;#o;#s;#x;#y;#f;get perf(){return this.#f}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;backgroundFetchSize;#p;#E;#c;#a;#r;#m;#g;#d;#u;#S;#l;#A;#R;#v;#b;#T;#D;#h;#I;static unsafeExposeInternals(t){return{starts:t.#R,ttls:t.#v,autopurgeTimers:t.#b,sizes:t.#A,keyMap:t.#c,keyList:t.#a,valList:t.#r,next:t.#m,prev:t.#g,get head(){return t.#d},get tail(){return t.#u},free:t.#S,isBackgroundFetch:(r)=>t.#i(r),backgroundFetch:(r,n,i,o)=>t.#$(r,n,i,o),moveToTail:(r)=>t.#q(r),indexes:(r)=>t.#_(r),rindexes:(r)=>t.#k(r),isStale:(r)=>t.#w(r)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#E}get size(){return this.#p}get fetchMethod(){return this.#x}get memoMethod(){return this.#y}get dispose(){return this.#n}get onInsert(){return this.#o}get disposeAfter(){return this.#s}constructor(t){let{max:r=0,ttl:n,ttlResolution:i=1,ttlAutopurge:o,updateAgeOnGet:s,updateAgeOnHas:a,allowStale:c,dispose:p,onInsert:u,disposeAfter:l,noDisposeOnSet:f,noUpdateTTL:m,maxSize:g=0,maxEntrySize:x=0,sizeCalculation:v,fetchMethod:h,memoMethod:b,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:A,allowStaleOnFetchRejection:O,allowStaleOnFetchAbort:C,ignoreFetchAbort:K,backgroundFetchSize:te=1,perf:F}=t;if(this.backgroundFetchSize=te,F!==void 0&&typeof F?.now!="function")throw TypeError("perf option must have a now() method if specified");if(this.#f=F??nj.defaultPerf,r!==0&&!Jt(r))throw TypeError("max option must be a nonnegative integer");let I=r?$b(r):Array;if(!I)throw Error("invalid max value: "+r);if(this.#e=r,this.#t=g,this.maxEntrySize=x||this.#t,this.sizeCalculation=v,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(b!==void 0&&typeof b!="function")throw TypeError("memoMethod must be a function if defined");if(this.#y=b,h!==void 0&&typeof h!="function")throw TypeError("fetchMethod must be a function if specified");if(this.#x=h,this.#D=!!h,this.#c=new Map,this.#a=Array.from({length:r}).fill(void 0),this.#r=Array.from({length:r}).fill(void 0),this.#m=new I(r),this.#g=new I(r),this.#d=0,this.#u=0,this.#S=sj.create(r),this.#p=0,this.#E=0,typeof p=="function"&&(this.#n=p),typeof u=="function"&&(this.#o=u),typeof l=="function"?(this.#s=l,this.#l=[]):(this.#s=void 0,this.#l=void 0),this.#T=!!this.#n,this.#I=!!this.#o,this.#h=!!this.#s,this.noDisposeOnSet=!!f,this.noUpdateTTL=!!m,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!O,this.allowStaleOnFetchAbort=!!C,this.ignoreFetchAbort=!!K,this.maxEntrySize!==0){if(this.#t!==0&&!Jt(this.#t))throw TypeError("maxSize must be a positive integer if specified");if(!Jt(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#G()}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!A,this.updateAgeOnGet=!!s,this.updateAgeOnHas=!!a,this.ttlResolution=Jt(i)||i===0?i:1,this.ttlAutopurge=!!o,this.ttl=n||0,this.ttl){if(!Jt(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#B()}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){let me="LRU_CACHE_UNBOUNDED";oj(me)&&(Fb.add(me),ij("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",me,e))}}getRemainingTTL(t){return this.#c.has(t)?1/0:0}#B(){let t=new Ds(this.#e),r=new Ds(this.#e);this.#v=t,this.#R=r;let n=this.ttlAutopurge?Array.from({length:this.#e}):void 0;this.#b=n,this.#K=(c,p,u=this.#f.now())=>{r[c]=p!==0?u:0,t[c]=p,i(c,p)},this.#j=(c)=>{r[c]=t[c]!==0?this.#f.now():0,i(c,t[c])};let i=this.ttlAutopurge?(c,p)=>{if(n?.[c]&&(clearTimeout(n[c]),n[c]=void 0),p&&p!==0&&n){let u=setTimeout(()=>{this.#w(c)?(this.#O(this.#a[c],"expire"),n[c]=void 0):i(c,a(c))},p+1);u.unref&&u.unref(),n[c]=u}}:()=>{};this.#C=(c,p)=>{if(t[p]){let u=t[p],l=r[p];if(!u||!l)return;c.ttl=u,c.start=l,c.now=o||s();let f=c.now-l;c.remainingTTL=u-f}};let o=0,s=()=>{let c=this.#f.now();if(this.ttlResolution>0){o=c;let p=setTimeout(()=>o=0,this.ttlResolution);p.unref&&p.unref()}return c};this.getRemainingTTL=(c)=>{let p=this.#c.get(c);return p===void 0?0:a(p)};let a=(c)=>{let p=t[c],u=r[c];if(!p||!u)return 1/0;let l=(o||s())-u;return p-l};this.#w=(c)=>{let p=r[c],u=t[c];return!!u&&!!p&&(o||s())-p>u}}#j=()=>{};#C=()=>{};#K=()=>{};#w=()=>!1;#G(){let t=new Ds(this.#e);this.#E=0,this.#A=t,this.#L=(r)=>{this.#E-=t[r],t[r]=0},this.#H=(r,n,i,o)=>{if(!Jt(i)){if(this.#i(n))return this.backgroundFetchSize;if(o){if(typeof o!="function")throw TypeError("sizeCalculation must be a function");if(i=o(n,r),!Jt(i))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 i},this.#U=(r,n,i)=>{if(t[r]=n,this.#t){let o=this.#t-t[r];for(;this.#E>o;)this.#F(!0)}this.#E+=t[r],i&&(i.entrySize=n,i.totalCalculatedSize=this.#E)}}#L=(t)=>{};#U=(t,r,n)=>{};#H=(t,r,n,i)=>{if(n||i)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#_({allowStale:t=this.allowStale}={}){if(this.#p)for(let r=this.#u;this.#J(r)&&((t||!this.#w(r))&&(yield r),r!==this.#d);)r=this.#g[r]}*#k({allowStale:t=this.allowStale}={}){if(this.#p)for(let r=this.#d;this.#J(r)&&((t||!this.#w(r))&&(yield r),r!==this.#u);)r=this.#m[r]}#J(t){return t!==void 0&&this.#c.get(this.#a[t])===t}*entries(){for(let t of this.#_())this.#r[t]!==void 0&&this.#a[t]!==void 0&&!this.#i(this.#r[t])&&(yield[this.#a[t],this.#r[t]])}*rentries(){for(let t of this.#k())this.#r[t]!==void 0&&this.#a[t]!==void 0&&!this.#i(this.#r[t])&&(yield[this.#a[t],this.#r[t]])}*keys(){for(let t of this.#_()){let r=this.#a[t];r!==void 0&&!this.#i(this.#r[t])&&(yield r)}}*rkeys(){for(let t of this.#k()){let r=this.#a[t];r!==void 0&&!this.#i(this.#r[t])&&(yield r)}}*values(){for(let t of this.#_())this.#r[t]!==void 0&&!this.#i(this.#r[t])&&(yield this.#r[t])}*rvalues(){for(let t of this.#k())this.#r[t]!==void 0&&!this.#i(this.#r[t])&&(yield this.#r[t])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,r={}){for(let n of this.#_()){let i=this.#r[n],o=this.#i(i)?i.__staleWhileFetching:i;if(o!==void 0&&t(o,this.#a[n],this))return this.#N(this.#a[n],r)}}forEach(t,r=this){for(let n of this.#_()){let i=this.#r[n],o=this.#i(i)?i.__staleWhileFetching:i;o!==void 0&&t.call(r,o,this.#a[n],this)}}rforEach(t,r=this){for(let n of this.#k()){let i=this.#r[n],o=this.#i(i)?i.__staleWhileFetching:i;o!==void 0&&t.call(r,o,this.#a[n],this)}}purgeStale(){let t=!1;for(let r of this.#k({allowStale:!0}))this.#w(r)&&(this.#O(this.#a[r],"expire"),t=!0);return t}info(t){let r=this.#c.get(t);if(r===void 0)return;let n=this.#r[r],i=this.#i(n)?n.__staleWhileFetching:n;if(i===void 0)return;let o={value:i};if(this.#v&&this.#R){let s=this.#v[r],a=this.#R[r];if(s&&a){let c=s-(this.#f.now()-a);o.ttl=c,o.start=Date.now()}}return this.#A&&(o.size=this.#A[r]),o}dump(){let t=[];for(let r of this.#_({allowStale:!0})){let n=this.#a[r],i=this.#r[r],o=this.#i(i)?i.__staleWhileFetching:i;if(o===void 0||n===void 0)continue;let s={value:o};if(this.#v&&this.#R){s.ttl=this.#v[r];let a=this.#f.now()-this.#R[r];s.start=Math.floor(Date.now()-a)}this.#A&&(s.size=this.#A[r]),t.unshift([n,s])}return t}load(t){this.clear();for(let[r,n]of t){if(n.start){let i=Date.now()-n.start;n.start=this.#f.now()-i}this.#P(r,n.value,n)}}set(t,r,n={}){let{status:i=le.metrics.hasSubscribers?{}:void 0}=n;n.status=i,i&&(i.op="set",i.key=t,r!==void 0&&(i.value=r),i.cache=this);let o=this.#P(t,r,n);return i&&le.metrics.hasSubscribers&&le.metrics.publish(i),o}#P(t,r,n,i){let{ttl:o=this.ttl,start:s,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:c=this.sizeCalculation,status:p}=n,u=this.#i(r);if(r===void 0)return p&&(p.set="deleted"),this.delete(t),this;let{noUpdateTTL:l=this.noUpdateTTL}=n;p&&!u&&(p.value=r);let f=this.#H(t,r,n.size||0,c,p);if(this.maxEntrySize&&f>this.maxEntrySize)return this.#O(t,"set"),p&&(p.set="miss",p.maxEntrySizeExceeded=!0),this;let m=this.#p===0?void 0:this.#c.get(t);if(m===void 0)m=this.#p===0?this.#u:this.#S.length!==0?this.#S.pop():this.#p===this.#e?this.#F(!1):this.#p,this.#a[m]=t,this.#r[m]=r,this.#c.set(t,m),this.#m[this.#u]=m,this.#g[m]=this.#u,this.#u=m,this.#p++,this.#U(m,f,p),p&&(p.set="add"),l=!1,this.#I&&!u&&this.#o?.(r,t,"add");else{this.#q(m);let g=this.#r[m];if(r!==g){if(!a)if(this.#i(g)){g!==i&&g.__abortController.abort(Error("replaced"));let{__staleWhileFetching:x}=g;x!==void 0&&x!==r&&(this.#T&&this.#n?.(x,t,"set"),this.#h&&this.#l?.push([x,t,"set"]))}else this.#T&&this.#n?.(g,t,"set"),this.#h&&this.#l?.push([g,t,"set"]);if(this.#L(m),this.#U(m,f,p),this.#r[m]=r,!u){let x=g&&this.#i(g)?g.__staleWhileFetching:g,v=x===void 0?"add":r!==x?"replace":"update";p&&(p.set=v,x!==void 0&&(p.oldValue=x)),this.#I&&this.onInsert?.(r,t,v)}}else u||(p&&(p.set="update"),this.#I&&this.onInsert?.(r,t,"update"))}if(o!==0&&!this.#v&&this.#B(),this.#v&&(l||this.#K(m,o,s),p&&this.#C(p,m)),!a&&this.#h&&this.#l){let g=this.#l,x;for(;x=g?.shift();)this.#s?.(...x)}return this}pop(){try{for(;this.#p;){let t=this.#r[this.#d];if(this.#F(!0),this.#i(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(t!==void 0)return t}}finally{if(this.#h&&this.#l){let t=this.#l,r;for(;r=t?.shift();)this.#s?.(...r)}}}#F(t){let r=this.#d,n=this.#a[r],i=this.#r[r],o=this.#i(i);o&&i.__abortController.abort(Error("evicted"));let s=o?i.__staleWhileFetching:i;return(this.#T||this.#h)&&s!==void 0&&(this.#T&&this.#n?.(s,n,"evict"),this.#h&&this.#l?.push([s,n,"evict"])),this.#L(r),this.#b?.[r]&&(clearTimeout(this.#b[r]),this.#b[r]=void 0),t&&(this.#a[r]=void 0,this.#r[r]=void 0,this.#S.push(r)),this.#p===1?(this.#d=this.#u=0,this.#S.length=0):this.#d=this.#m[r],this.#c.delete(n),this.#p--,r}has(t,r={}){let{status:n=le.metrics.hasSubscribers?{}:void 0}=r;r.status=n,n&&(n.op="has",n.key=t,n.cache=this);let i=this.#V(t,r);return le.metrics.hasSubscribers&&le.metrics.publish(n),i}#V(t,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=r,o=this.#c.get(t);if(o!==void 0){let s=this.#r[o];if(this.#i(s)&&s.__staleWhileFetching===void 0)return!1;if(this.#w(o))i&&(i.has="stale",this.#C(i,o));else return n&&this.#j(o),i&&(i.has="hit",this.#C(i,o)),!0}else i&&(i.has="miss");return!1}peek(t,r={}){let{status:n=uu()?{}:void 0}=r;n&&(n.op="peek",n.key=t,n.cache=this),r.status=n;let i=this.#X(t,r);return le.metrics.hasSubscribers&&le.metrics.publish(n),i}#X(t,r){let{status:n,allowStale:i=this.allowStale}=r,o=this.#c.get(t);if(o===void 0||!i&&this.#w(o)){n&&(n.peek=o===void 0?"miss":"stale");return}let s=this.#r[o],a=this.#i(s)?s.__staleWhileFetching:s;return n&&(a!==void 0?(n.peek="hit",n.value=a):n.peek="miss"),a}#$(t,r,n,i){let o=r===void 0?void 0:this.#r[r];if(this.#i(o))return o;let s=new AbortController,{signal:a}=n;a?.addEventListener("abort",()=>s.abort(a.reason),{signal:s.signal});let c={signal:s.signal,options:n,context:i},p=(x,v=!1)=>{let{aborted:h}=s.signal,b=n.ignoreFetchAbort&&x!==void 0,E=n.ignoreFetchAbort||!!(n.allowStaleOnFetchAbort&&x!==void 0);if(n.status&&(h&&!v?(n.status.fetchAborted=!0,n.status.fetchError=s.signal.reason,b&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),h&&!b&&!v)return l(s.signal.reason,E);let A=m,O=this.#r[r];return(O===m||O===void 0&&b&&v)&&(x===void 0?A.__staleWhileFetching!==void 0?this.#r[r]=A.__staleWhileFetching:this.#O(t,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.#P(t,x,c.options,A))),x},u=(x)=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=x),l(x,!1)),l=(x,v)=>{let{aborted:h}=s.signal,b=h&&n.allowStaleOnFetchAbort,E=b||n.allowStaleOnFetchRejection,A=E||n.noDeleteOnFetchRejection,O=m;if(this.#r[r]===m&&(!A||!v&&O.__staleWhileFetching===void 0?this.#O(t,"fetch"):b||(this.#r[r]=O.__staleWhileFetching)),E)return n.status&&O.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),O.__staleWhileFetching;if(O.__returned===O)throw x},f=(x,v)=>{let h=this.#x?.(t,o,c);s.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(x(void 0),n.allowStaleOnFetchAbort&&(x=(b)=>p(b,!0)))}),h&&h instanceof Promise?h.then((b)=>x(b===void 0?void 0:b),v):h!==void 0&&x(h)};n.status&&(n.status.fetchDispatched=!0);let m=new Promise(f).then(p,u),g=Object.assign(m,{__abortController:s,__staleWhileFetching:o,__returned:void 0});return r===void 0?(this.#P(t,g,{...c.options,status:void 0}),r=this.#c.get(t)):this.#r[r]=g,g}#i(t){if(!this.#D)return!1;let r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof AbortController}fetch(t,r={}){let n=le.tracing.hasSubscribers,{status:i=uu()?{}:void 0}=r;r.status=i,i&&r.context&&(i.context=r.context);let o=this.#W(t,r);return i&&n&&(i.trace=!0,le.tracing.tracePromise(()=>o,i).catch(()=>{})),o}async#W(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:s=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:c=0,sizeCalculation:p=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:l=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:m=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:x,forceRefresh:v=!1,status:h,signal:b}=r;if(h&&(h.op="fetch",h.key=t,v&&(h.forceRefresh=!0),h.cache=this),!this.#D)return h&&(h.fetch="get"),this.#N(t,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:o,status:h});let E={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:o,ttl:s,noDisposeOnSet:a,size:c,sizeCalculation:p,noUpdateTTL:u,noDeleteOnFetchRejection:l,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:g,ignoreFetchAbort:m,status:h,signal:b},A=this.#c.get(t);if(A===void 0){h&&(h.fetch="miss");let O=this.#$(t,A,E,x);return O.__returned=O}else{let O=this.#r[A];if(this.#i(O)){let F=n&&O.__staleWhileFetching!==void 0;return h&&(h.fetch="inflight",F&&(h.returnedStale=!0)),F?O.__staleWhileFetching:O.__returned=O}let C=this.#w(A);if(!v&&!C)return h&&(h.fetch="hit"),this.#q(A),i&&this.#j(A),h&&this.#C(h,A),O;let K=this.#$(t,A,E,x),te=K.__staleWhileFetching!==void 0&&n;return h&&(h.fetch=C?"stale":"refresh",te&&C&&(h.returnedStale=!0)),te?K.__staleWhileFetching:K.__returned=K}}forceFetch(t,r={}){let n=le.tracing.hasSubscribers,{status:i=uu()?{}:void 0}=r;r.status=i,i&&r.context&&(i.context=r.context);let o=this.#Y(t,r);return i&&n&&(i.trace=!0,le.tracing.tracePromise(()=>o,i).catch(()=>{})),o}async#Y(t,r={}){let n=await this.#W(t,r);if(n===void 0)throw Error("fetch() returned undefined");return n}memo(t,r={}){let{status:n=le.metrics.hasSubscribers?{}:void 0}=r;r.status=n,n&&(n.op="memo",n.key=t,r.context&&(n.context=r.context),n.cache=this);let i=this.#Z(t,r);return n&&(n.value=i),le.metrics.hasSubscribers&&le.metrics.publish(n),i}#Z(t,r={}){let n=this.#y;if(!n)throw Error("no memoMethod provided to constructor");let{context:i,status:o,forceRefresh:s,...a}=r;o&&s&&(o.forceRefresh=!0);let c=this.#N(t,a),p=s||c===void 0;if(o&&(o.memo=p?"miss":"hit",p||(o.value=c)),!p)return c;let u=n(t,c,{options:a,context:i});return o&&(o.value=u),this.#P(t,u,a),u}get(t,r={}){let{status:n=le.metrics.hasSubscribers?{}:void 0}=r;r.status=n,n&&(n.op="get",n.key=t,n.cache=this);let i=this.#N(t,r);return n&&(i!==void 0&&(n.value=i),le.metrics.hasSubscribers&&le.metrics.publish(n)),i}#N(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:s}=r,a=this.#c.get(t);if(a===void 0){s&&(s.get="miss");return}let c=this.#r[a],p=this.#i(c);return s&&this.#C(s,a),this.#w(a)?p?(s&&(s.get="stale-fetching"),n&&c.__staleWhileFetching!==void 0?(s&&(s.returnedStale=!0),c.__staleWhileFetching):void 0):(o||this.#O(t,"expire"),s&&(s.get="stale"),n?(s&&(s.returnedStale=!0),c):void 0):(s&&(s.get=p?"fetching":"hit"),this.#q(a),i&&this.#j(a),p?c.__staleWhileFetching:c)}#z(t,r){this.#g[r]=t,this.#m[t]=r}#q(t){t!==this.#u&&(t===this.#d?this.#d=this.#m[t]:this.#z(this.#g[t],this.#m[t]),this.#z(this.#u,t),this.#u=t)}delete(t){return this.#O(t,"delete")}#O(t,r){le.metrics.hasSubscribers&&le.metrics.publish({op:"delete",delete:r,key:t,cache:this});let n=!1;if(this.#p!==0){let i=this.#c.get(t);if(i!==void 0)if(this.#b?.[i]&&(clearTimeout(this.#b[i]),this.#b[i]=void 0),n=!0,this.#p===1)this.#M(r);else{this.#L(i);let o=this.#r[i];if(this.#i(o)?o.__abortController.abort(Error("deleted")):(this.#T||this.#h)&&(this.#T&&this.#n?.(o,t,r),this.#h&&this.#l?.push([o,t,r])),this.#c.delete(t),this.#a[i]=void 0,this.#r[i]=void 0,i===this.#u)this.#u=this.#g[i];else if(i===this.#d)this.#d=this.#m[i];else{let s=this.#g[i];this.#m[s]=this.#m[i];let a=this.#m[i];this.#g[a]=this.#g[i]}this.#p--,this.#S.push(i)}}if(this.#h&&this.#l?.length){let i=this.#l,o;for(;o=i?.shift();)this.#s?.(...o)}return n}clear(){return this.#M("delete")}#M(t){for(let r of this.#k({allowStale:!0})){let n=this.#r[r];if(this.#i(n))n.__abortController.abort(Error("deleted"));else{let i=this.#a[r];this.#T&&this.#n?.(n,i,t),this.#h&&this.#l?.push([n,i,t])}}if(this.#c.clear(),this.#r.fill(void 0),this.#a.fill(void 0),this.#v&&this.#R){this.#v.fill(0),this.#R.fill(0);for(let r of this.#b??[])r!==void 0&&clearTimeout(r);this.#b?.fill(void 0)}if(this.#A&&this.#A.fill(0),this.#d=0,this.#u=0,this.#S.length=0,this.#E=0,this.#p=0,this.#h&&this.#l){let r=this.#l,n;for(;n=r?.shift();)this.#s?.(...n)}}};Us.LRUCache=aj});var Ru=y(function(Pi,hn){var cj=200,Zb="__lodash_hash_undefined__",Qb=9007199254740991,gu="[object Arguments]",pj="[object Array]",ew="[object Boolean]",tw="[object Date]",uj="[object Error]",vu="[object Function]",rw="[object GeneratorFunction]",$s="[object Map]",nw="[object Number]",bu="[object Object]",Bb="[object Promise]",iw="[object RegExp]",Bs="[object Set]",ow="[object String]",sw="[object Symbol]",du="[object WeakMap]",aw="[object ArrayBuffer]",Ks="[object DataView]",cw="[object Float32Array]",pw="[object Float64Array]",uw="[object Int8Array]",lw="[object Int16Array]",dw="[object Int32Array]",fw="[object Uint8Array]",mw="[object Uint8ClampedArray]",hw="[object Uint16Array]",xw="[object Uint32Array]",lj=/[\\^$.*+?()[\]{}|]/g,dj=/\w*$/,fj=/^\[object .+?Constructor\]$/,mj=/^(?:0|[1-9]\d*)$/,ee={};ee[gu]=ee[pj]=ee[aw]=ee[Ks]=ee[ew]=ee[tw]=ee[cw]=ee[pw]=ee[uw]=ee[lw]=ee[dw]=ee[$s]=ee[nw]=ee[bu]=ee[iw]=ee[Bs]=ee[ow]=ee[sw]=ee[fw]=ee[mw]=ee[hw]=ee[xw]=!0;ee[uj]=ee[vu]=ee[du]=!1;var hj=typeof global=="object"&&global&&global.Object===Object&&global,xj=typeof self=="object"&&self&&self.Object===Object&&self,Tt=hj||xj||Function("return this")(),yw=typeof Pi=="object"&&Pi&&!Pi.nodeType&&Pi,Kb=yw&&typeof hn=="object"&&hn&&!hn.nodeType&&hn,yj=Kb&&Kb.exports===yw;function gj(e,t){return e.set(t[0],t[1]),e}function vj(e,t){return e.add(t),e}function bj(e,t){var r=-1,n=e?e.length:0;while(++r<n)if(t(e[r],r,e)===!1)break;return e}function wj(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}function gw(e,t,r,n){var i=-1,o=e?e.length:0;if(n&&o)r=e[++i];while(++i<o)r=t(r,e[i],i,e);return r}function Ej(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}function Sj(e,t){return e==null?void 0:e[t]}function vw(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch(r){}return t}function Hb(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function wu(e,t){return function(r){return e(t(r))}}function Jb(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Aj=Array.prototype,Rj=Function.prototype,Hs=Object.prototype,lu=Tt["__core-js_shared__"],Wb=function(){var e=/[^.]+$/.exec(lu&&lu.keys&&lu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),bw=Rj.toString,Wt=Hs.hasOwnProperty,Js=Hs.toString,Tj=RegExp("^"+bw.call(Wt).replace(lj,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zb=yj?Tt.Buffer:void 0,Mb=Tt.Symbol,Gb=Tt.Uint8Array,_j=wu(Object.getPrototypeOf,Object),kj=Object.create,Oj=Hs.propertyIsEnumerable,Cj=Aj.splice,Vb=Object.getOwnPropertySymbols,Pj=zb?zb.isBuffer:void 0,Ij=wu(Object.keys,Object),fu=gn(Tt,"DataView"),Ii=gn(Tt,"Map"),mu=gn(Tt,"Promise"),hu=gn(Tt,"Set"),xu=gn(Tt,"WeakMap"),ji=gn(Object,"create"),jj=gr(fu),Lj=gr(Ii),Nj=gr(mu),qj=gr(hu),Dj=gr(xu),Xb=Mb?Mb.prototype:void 0,Yb=Xb?Xb.valueOf:void 0;function yr(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Uj(){this.__data__=ji?ji(null):{}}function Fj(e){return this.has(e)&&delete this.__data__[e]}function $j(e){var t=this.__data__;if(ji){var r=t[e];return r===Zb?void 0:r}return Wt.call(t,e)?t[e]:void 0}function Bj(e){var t=this.__data__;return ji?t[e]!==void 0:Wt.call(t,e)}function Kj(e,t){var r=this.__data__;return r[e]=ji&&t===void 0?Zb:t,this}yr.prototype.clear=Uj;yr.prototype.delete=Fj;yr.prototype.get=$j;yr.prototype.has=Bj;yr.prototype.set=Kj;function _t(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Hj(){this.__data__=[]}function Jj(e){var t=this.__data__,r=Ws(t,e);if(r<0)return!1;var n=t.length-1;if(r==n)t.pop();else Cj.call(t,r,1);return!0}function Wj(e){var t=this.__data__,r=Ws(t,e);return r<0?void 0:t[r][1]}function zj(e){return Ws(this.__data__,e)>-1}function Mj(e,t){var r=this.__data__,n=Ws(r,e);if(n<0)r.push([e,t]);else r[n][1]=t;return this}_t.prototype.clear=Hj;_t.prototype.delete=Jj;_t.prototype.get=Wj;_t.prototype.has=zj;_t.prototype.set=Mj;function xn(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function Gj(){this.__data__={hash:new yr,map:new(Ii||_t),string:new yr}}function Vj(e){return zs(this,e).delete(e)}function Xj(e){return zs(this,e).get(e)}function Yj(e){return zs(this,e).has(e)}function Zj(e,t){return zs(this,e).set(e,t),this}xn.prototype.clear=Gj;xn.prototype.delete=Vj;xn.prototype.get=Xj;xn.prototype.has=Yj;xn.prototype.set=Zj;function yn(e){this.__data__=new _t(e)}function Qj(){this.__data__=new _t}function eL(e){return this.__data__.delete(e)}function tL(e){return this.__data__.get(e)}function rL(e){return this.__data__.has(e)}function nL(e,t){var r=this.__data__;if(r instanceof _t){var n=r.__data__;if(!Ii||n.length<cj-1)return n.push([e,t]),this;r=this.__data__=new xn(n)}return r.set(e,t),this}yn.prototype.clear=Qj;yn.prototype.delete=eL;yn.prototype.get=tL;yn.prototype.has=rL;yn.prototype.set=nL;function iL(e,t){var r=Su(e)||kL(e)?Ej(e.length,String):[],n=r.length,i=!!n;for(var o in e)if((t||Wt.call(e,o))&&!(i&&(o=="length"||AL(o,n))))r.push(o);return r}function ww(e,t,r){var n=e[t];if(!(Wt.call(e,t)&&Rw(n,r))||r===void 0&&!(t in e))e[t]=r}function Ws(e,t){var r=e.length;while(r--)if(Rw(e[r][0],t))return r;return-1}function oL(e,t){return e&&Ew(t,Au(t),e)}function yu(e,t,r,n,i,o,s){var a;if(n)a=o?n(e,i,o,s):n(e);if(a!==void 0)return a;if(!Ms(e))return e;var c=Su(e);if(c){if(a=wL(e),!t)return gL(e,a)}else{var p=xr(e),u=p==vu||p==rw;if(CL(e))return lL(e,t);if(p==bu||p==gu||u&&!o){if(vw(e))return o?e:{};if(a=EL(u?{}:e),!t)return vL(e,oL(a,e))}else{if(!ee[p])return o?e:{};a=SL(e,p,yu,t)}}s||(s=new yn);var l=s.get(e);if(l)return l;if(s.set(e,a),!c)var f=r?bL(e):Au(e);return bj(f||e,function(m,g){if(f)g=m,m=e[g];ww(a,g,yu(m,t,r,n,g,e,s))}),a}function sL(e){return Ms(e)?kj(e):{}}function aL(e,t,r){var n=t(e);return Su(e)?n:wj(n,r(e))}function cL(e){return Js.call(e)}function pL(e){if(!Ms(e)||TL(e))return!1;var t=_w(e)||vw(e)?Tj:fj;return t.test(gr(e))}function uL(e){if(!Aw(e))return Ij(e);var t=[];for(var r in Object(e))if(Wt.call(e,r)&&r!="constructor")t.push(r);return t}function lL(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}function Eu(e){var t=new e.constructor(e.byteLength);return new Gb(t).set(new Gb(e)),t}function dL(e,t){var r=t?Eu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function fL(e,t,r){var n=t?r(Hb(e),!0):Hb(e);return gw(n,gj,new e.constructor)}function mL(e){var t=new e.constructor(e.source,dj.exec(e));return t.lastIndex=e.lastIndex,t}function hL(e,t,r){var n=t?r(Jb(e),!0):Jb(e);return gw(n,vj,new e.constructor)}function xL(e){return Yb?Object(Yb.call(e)):{}}function yL(e,t){var r=t?Eu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function gL(e,t){var r=-1,n=e.length;t||(t=Array(n));while(++r<n)t[r]=e[r];return t}function Ew(e,t,r,n){r||(r={});var i=-1,o=t.length;while(++i<o){var s=t[i],a=n?n(r[s],e[s],s,r,e):void 0;ww(r,s,a===void 0?e[s]:a)}return r}function vL(e,t){return Ew(e,Sw(e),t)}function bL(e){return aL(e,Au,Sw)}function zs(e,t){var r=e.__data__;return RL(t)?r[typeof t=="string"?"string":"hash"]:r.map}function gn(e,t){var r=Sj(e,t);return pL(r)?r:void 0}var Sw=Vb?wu(Vb,Object):jL,xr=cL;if(fu&&xr(new fu(new ArrayBuffer(1)))!=Ks||Ii&&xr(new Ii)!=$s||mu&&xr(mu.resolve())!=Bb||hu&&xr(new hu)!=Bs||xu&&xr(new xu)!=du)xr=function(e){var t=Js.call(e),r=t==bu?e.constructor:void 0,n=r?gr(r):void 0;if(n)switch(n){case jj:return Ks;case Lj:return $s;case Nj:return Bb;case qj:return Bs;case Dj:return du}return t};function wL(e){var t=e.length,r=e.constructor(t);if(t&&typeof e[0]=="string"&&Wt.call(e,"index"))r.index=e.index,r.input=e.input;return r}function EL(e){return typeof e.constructor=="function"&&!Aw(e)?sL(_j(e)):{}}function SL(e,t,r,n){var i=e.constructor;switch(t){case aw:return Eu(e);case ew:case tw:return new i(+e);case Ks:return dL(e,n);case cw:case pw:case uw:case lw:case dw:case fw:case mw:case hw:case xw:return yL(e,n);case $s:return fL(e,n,r);case nw:case ow:return new i(e);case iw:return mL(e);case Bs:return hL(e,n,r);case sw:return xL(e)}}function AL(e,t){return t=t==null?Qb:t,!!t&&(typeof e=="number"||mj.test(e))&&(e>-1&&e%1==0&&e<t)}function RL(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function TL(e){return!!Wb&&Wb in e}function Aw(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Hs;return e===r}function gr(e){if(e!=null){try{return bw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function _L(e){return yu(e,!0,!0)}function Rw(e,t){return e===t||e!==e&&t!==t}function kL(e){return OL(e)&&Wt.call(e,"callee")&&(!Oj.call(e,"callee")||Js.call(e)==gu)}var Su=Array.isArray;function Tw(e){return e!=null&&PL(e.length)&&!_w(e)}function OL(e){return IL(e)&&Tw(e)}var CL=Pj||LL;function _w(e){var t=Ms(e)?Js.call(e):"";return t==vu||t==rw}function PL(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Qb}function Ms(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function IL(e){return!!e&&typeof e=="object"}function Au(e){return Tw(e)?iL(e):uL(e)}function jL(){return[]}function LL(){return!1}hn.exports=_L});var Tu=y(function(Gs){Object.defineProperty(Gs,"__esModule",{value:!0});Gs.deepFreeze=void 0;function kw(e){if(e)Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){if(e.hasOwnProperty(t)&&e[t]!==null&&(typeof e[t]==="object"||typeof e[t]==="function")&&e[t].constructor!==Buffer&&!Object.isFrozen(e[t]))kw(e[t])});return e}Gs.deepFreeze=kw});var Pw=y(function(vn){var NL=vn&&vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vn,"__esModule",{value:!0});vn.syncMemoizer=void 0;var qL=Fs(),DL=require("events"),Ow=NL(Ru()),Cw=Tu();function UL(e){let t=new qL.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=new DL.EventEmitter,p=Object.assign({del:u,reset:()=>t.clear(),keys:()=>[...t.keys()],on:c.on.bind(c),once:c.once.bind(c)},e);if(e.disable)return Object.assign(r,p);function u(){let x=n(...arguments);t.delete(x)}function l(x,...v){c.emit(x,...v)}function f(x){return x&&x.then&&typeof x.then==="function"}function m(x){let v=x;if(a)if(f(v))v=v.then(Ow.default);else v=(0,Ow.default)(v);if(s)if(f(v))v=v.then(Cw.deepFreeze);else(0,Cw.deepFreeze)(v);return v}return Object.assign(function(...x){if(i&&i(...x))return l("miss",...x),r(...x);var v=n(...x),h=t.get(v);if(h)return l("hit",...x),m(h);l("miss",...x);let b=r(...x);if(o)t.set(v,b,{ttl:o(...x.concat([b]))});else t.set(v,b);return m(b)},p)}vn.syncMemoizer=UL});var jw=y(function(bn){var FL=bn&&bn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bn,"__esModule",{value:!0});bn.asyncMemoizer=void 0;var $L=Fs(),BL=require("events"),KL=FL(Ru()),HL=Tu(),JL=Pw();function Iw(e){let t=new $L.LRUCache(e),r=e.load,n=e.hash,i=e.bypass,o=e.itemTTL,s=e.freeze,a=e.clone,c=e.queueTTL||1000,p=new Map,u=new BL.EventEmitter,l=Object.assign({del:f,reset:()=>t.clear(),keys:()=>[...t.keys()],on:u.on.bind(u),once:u.once.bind(u)},e);if(e.disable)return Object.assign(r,l);function f(...h){let b=n(...h);t.delete(b)}function m(h,b,E){if(s)E.forEach(HL.deepFreeze);if(o)t.set(h,E,{ttl:o(...b.concat(E))});else t.set(h,E)}function g(h,b){for(let E of h)if(a)setImmediate(E,...b.map(KL.default));else setImmediate(E,...b)}function x(h,...b){u.emit(h,...b)}function v(...h){let b=h.slice(0,-1),E=h.slice(-1).pop(),A;if(i&&i(...b))return x("miss",...b),r(...h);if(b.length===0&&!n)A="_";else A=n(...b);let O=t.get(A);if(O)return x("hit",...b),g([E],[null].concat(O));let C=p.get(A);if(C&&C.expiresAt>Date.now()){C.queue.push(E),x("queue",...b);return}x("miss",...b);let K=Date.now(),te=[E];p.set(A,{queue:te,expiresAt:K+c});let F=(...I)=>{if(!I[0])m(A,b,I.slice(1));p.delete(A),x("loaded",Date.now()-K,...b),g(te,I)};r(...b,F)}return Object.assign(v,l)}bn.asyncMemoizer=Iw;Iw.sync=JL.syncMemoizer});var Nw=y(function(RW,Lw){var WL=jw();Lw.exports=WL.asyncMemoizer});var Uw=y(function(TW,Dw){var _u=It()("jwks"),zL=Nw(),{LRUCache:ML}=Fs(),{promisify:GL,callbackify:qw}=require("util");function VL(e,{cacheMaxEntries:t=5,cacheMaxAge:r=600000,cacheMaxAgeFallback:n,onStaleCacheFallback:i}){_u(`Configured caching of signing keys. Max: ${t} / Age: ${r}${n?` / Fallback: ${n}`:""}`);let o;if(n){let s=new ML({max:t}),a=e.getSigningKey.bind(e);o=qw(async(c)=>{try{let p=await a(c);return s.set(c,{key:p,fetchedAt:Date.now()}),p}catch(p){if(p.isEndpointUnavailable){let u=s.get(c);if(u&&Date.now()-u.fetchedAt<r+n){if(_u(`JWKS endpoint unavailable, serving stale signing key for '${c}': ${p.message}`),i)i(p,c,u.key);return u.key}_u(`JWKS endpoint unavailable and no valid stale entry for '${c}', fallback window expired or key never fetched`)}throw p}})}else o=qw(e.getSigningKey.bind(e));return GL(zL({hash:(s)=>s,load:o,ttl:r,max:t}))}Dw.exports.default=VL});var ku=y(function(_W,$w){var Fw=function(e,t,r,n){if(this.bucketSize=e,this.tokensPerInterval=t,typeof r==="string")switch(r){case"sec":case"second":this.interval=1000;break;case"min":case"minute":this.interval=60000;break;case"hr":case"hour":this.interval=3600000;break;case"day":this.interval=86400000;break;default:throw Error("Invaid interval "+r)}else this.interval=r;this.parentBucket=n,this.content=0,this.lastDrip=+new Date};Fw.prototype={bucketSize:1,tokensPerInterval:1,interval:1000,parentBucket:null,content:0,lastDrip:0,removeTokens:function(e,t){var r=this;if(!this.bucketSize)return process.nextTick(t.bind(null,null,e,Number.POSITIVE_INFINITY)),!0;if(e>this.bucketSize)return process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds bucket size "+this.bucketSize,null)),!1;if(this.drip(),e>this.content)return n();if(this.parentBucket)return this.parentBucket.removeTokens(e,function(i,o){if(i)return t(i,null);if(e>r.content)return n();r.content-=e,t(null,Math.min(o,r.content))});else return this.content-=e,process.nextTick(t.bind(null,null,this.content)),!0;function n(){var i=Math.ceil((e-r.content)*(r.interval/r.tokensPerInterval));return setTimeout(function(){r.removeTokens(e,t)},i),!1}},tryRemoveTokens:function(e){if(!this.bucketSize)return!0;if(e>this.bucketSize)return!1;if(this.drip(),e>this.content)return!1;if(this.parentBucket&&!this.parentBucket.tryRemoveTokens(e))return!1;return this.content-=e,!0},drip:function(){if(!this.tokensPerInterval){this.content=this.bucketSize;return}var e=+new Date,t=Math.max(e-this.lastDrip,0);this.lastDrip=e;var r=t*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+r,this.bucketSize)}};$w.exports=Fw});var Kw=y(function(kW,Bw){var XL=function(){if(typeof process<"u"&&process.hrtime){var e=process.hrtime(),t=e[0],r=e[1];return t*1000+Math.floor(r/1e6)}return new Date().getTime()};Bw.exports=XL});var Ww=y(function(OW,Jw){var YL=ku(),Ou=Kw(),Hw=function(e,t,r){this.tokenBucket=new YL(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=Ou(),this.tokensThisInterval=0,this.fireImmediately=r};Hw.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(e,t){if(e>this.tokenBucket.bucketSize)return process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var r=this,n=Ou();if(n<this.curIntervalStart||n-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=n,this.tokensThisInterval=0;if(e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(t.bind(null,null,-1));else{var i=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-n);setTimeout(function(){r.tokenBucket.removeTokens(e,o)},i)}return!1}return this.tokenBucket.removeTokens(e,o);function o(s,a){if(s)return t(s,null);r.tokensThisInterval+=e,t(null,a)}},tryRemoveTokens:function(e){if(e>this.tokenBucket.bucketSize)return!1;var t=Ou();if(t<this.curIntervalStart||t-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=t,this.tokensThisInterval=0;if(e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var r=this.tokenBucket.tryRemoveTokens(e);if(r)this.tokensThisInterval+=e;return r},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}};Jw.exports=Hw});var zw=y(function(Cu){Cu.RateLimiter=Ww();Cu.TokenBucket=ku()});var Pu=y(function(PW,Mw){function Vs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=e}Vs.prototype=Object.create(Error.prototype);Vs.prototype.constructor=Vs;Mw.exports=Vs});var Vw=y(function(IW,Gw){var Iu=It()("jwks"),{RateLimiter:ZL}=zw(),QL=Pu();function eN(e,{jwksRequestsPerMinute:t=10}){let r=e.getSigningKey.bind(e),n=new ZL(t,"minute",!0);return Iu(`Configured rate limiting to JWKS endpoint at ${t}/minute`),async(i)=>await new Promise((o,s)=>{n.removeTokens(1,async(a,c)=>{if(a)s(a);if(Iu("Requests to the JWKS endpoint available for the next minute:",c),c<0)Iu("Too many requests to the JWKS endpoint"),s(new QL("Too many requests to the JWKS endpoint"));else try{let p=await r(i);o(p)}catch(p){s(p)}})})}Gw.exports.default=eN});var Yw=y(function(jW,Xw){var tN=cu().retrieveSigningKeys;function rN(e,{getKeysInterceptor:t}){let r=e.getSigningKey.bind(e);return async(n)=>{let i=await t(),o;if(i&&i.length)o=await tN(i);if(o&&o.length){let s=o.find((a)=>!n||a.kid===n);if(s)return s}return r(n)}}Xw.exports.default=rN});var Qw=y(function(LW,Zw){var{callbackify:nN}=require("util"),iN=(e)=>{let t=e.getSigningKey.bind(e);return(r,n)=>{if(n)return nN(t)(r,n);return t(r)}};Zw.exports.default=iN});var tE=y(function(NW,eE){eE.exports={request:qb().default,cacheSigningKey:Uw().default,rateLimitSigningKey:Vw().default,getKeysInterceptor:Yw().default,callbackSupport:Qw().default}});var ju=y(function(qW,rE){function Xs(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=e}Xs.prototype=Object.create(Error.prototype);Xs.prototype.constructor=Xs;rE.exports=Xs});var wn=y(function(DW,oE){var vr=It()("jwks"),{retrieveSigningKeys:oN}=cu(),{request:sN,cacheSigningKey:aN,rateLimitSigningKey:cN,getKeysInterceptor:pN,callbackSupport:uN}=tE(),Lu=Ns(),nE=ju();class iE{constructor(e){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...e},this.options.getKeysInterceptor)this.getSigningKey=pN(this,e);if(this.options.rateLimit)this.getSigningKey=cN(this,e);if(this.options.cache)this.getSigningKey=aN(this,e);this.getSigningKey=uN(this,e)}async getKeys(){vr(`Fetching keys from '${this.options.jwksUri}'`);try{let e=await sN({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return vr("Keys:",e.keys),e.keys}catch(e){let{errorMsg:t}=e;vr("Failure:",t||e);let r=t?new Lu(t):e;throw r.isEndpointUnavailable=!0,r}}async getSigningKeys(){let e=await this.getKeys();if(!e||!e.length)throw new Lu("The JWKS endpoint did not contain any keys");let t=await oN(e);if(!t.length)throw new Lu("The JWKS endpoint did not contain any signing keys");return vr("Signing Keys:",t),t}async getSigningKey(e){vr(`Fetching signing key for '${e}'`);let t=await this.getSigningKeys(),r=e!==void 0&&e!==null;if(!r&&t.length>1)throw vr("No KID specified and JWKS endpoint returned more than 1 key"),new nE("No KID specified and JWKS endpoint returned more than 1 key");let n=t.find((i)=>!r||i.kid===e);if(n)return n;else throw vr(`Unable to find a signing key that matches '${e}'`),new nE(`Unable to find a signing key that matches '${e}'`)}}oE.exports={JwksClient:iE}});var En=y(function(UW,sE){sE.exports={ArgumentError:pu(),JwksError:Ns(),JwksRateLimitError:Pu(),SigningKeyNotFoundError:ju()}});var Li=y(function(FW,aE){var lN=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512","EdDSA"];aE.exports=lN});var cE=y(function($W,Ys){var{ArgumentError:dN}=En(),{JwksClient:fN}=wn(),mN=Li(),hN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(e,null,null);if(e)return t(e,null,null)};Ys.exports.hapiJwt2KeyAsync=(e)=>{let t=Ys.exports.hapiJwt2Key(e);return function(r){return new Promise((n,i)=>{t(r,(s,a)=>{!a||s?i(s):n({key:a})})})}};Ys.exports.hapiJwt2Key=function(e){if(e===null||e===void 0)throw new dN("An options object must be provided when initializing hapiJwt2Key");let t=new fN(e),r=e.handleSigningKeyError||hN;return function(i,o){if(!i||!i.header)return o(Error("Cannot find a signing certificate if there is no header"),null,null);if(!mN.includes(i.header.alg))return o(Error("Unsupported algorithm "+i.header.alg+" supplied."),null,null);t.getSigningKey(i.header.kid).then((s)=>o(null,s.publicKey||s.rsaPublicKey,s)).catch((s)=>r(s,(a)=>o(a,null,null)))}}});var uE=y(function(BW,pE){var{ArgumentError:xN}=En(),{JwksClient:yN}=wn(),gN=Li(),vN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};pE.exports.expressJwtSecret=function(e){if(e===null||e===void 0)throw new xN("An options object must be provided when initializing expressJwtSecret");let t=new yN(e),r=e.handleSigningKeyError||vN,n=async(i,o)=>{if(!o)return;let s=o.header;if(!s||!gN.includes(s.alg))return;try{let a=await t.getSigningKey(s.kid);return a.publicKey||a.rsaPublicKey}catch(a){return new Promise((c,p)=>{r(a,(u)=>{if(!u)return c();p(u)})})}};return function(o,s,a,c){if(arguments.length===4){n(o,{header:s}).then((p)=>{setImmediate(c,null,p)}).catch((p)=>{setImmediate(c,p)});return}return n(o,arguments[1])}}});var dE=y(function(KW,lE){var{ArgumentError:bN}=En(),{JwksClient:wN}=wn(),EN=Li();lE.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new bN("No JWKS provided. Please provide a jwksUri");let t=new wN(e);return function({alg:n,kid:i}={}){return new Promise((o,s)=>{if(!EN.includes(n))return s(Error("Missing / invalid token algorithm"));t.getSigningKey(i).then((a)=>{o(a.publicKey||a.rsaPublicKey)}).catch((a)=>{if(e.handleSigningKeyError)return e.handleSigningKeyError(a).then(s);return s(a)})})}}});var xE=y(function(HW,hE){var fE=(au(),Di(su)),{ArgumentError:mE}=En(),{JwksClient:SN}=wn(),AN=Li(),RN=(e,t)=>{if(e&&e.name==="SigningKeyNotFoundError")return t(null);if(e)return t(e)};hE.exports.passportJwtSecret=function(e){if(e===null||e===void 0)throw new mE("An options object must be provided when initializing passportJwtSecret");if(!e.jwksUri)throw new mE("No JWKS provided. Please provide a jwksUri");let t=new SN(e),r=e.handleSigningKeyError||RN;return function(i,o,s){let a;try{a={payload:fE.decodeJwt(o),header:fE.decodeProtectedHeader(o)}}catch(c){a=null}if(!a||!AN.includes(a.header.alg))return s(null,null);t.getSigningKey(a.header.kid).then((c)=>{s(null,c.publicKey||c.rsaPublicKey)}).catch((c)=>{r(c,(p)=>s(p,null))})}}});var gE=y(function(JW,Ze){var{JwksClient:yE}=wn(),Zs=En(),{hapiJwt2Key:TN,hapiJwt2KeyAsync:_N}=cE(),{expressJwtSecret:kN}=uE(),{koaJwtSecret:ON}=dE(),{passportJwtSecret:CN}=xE();Ze.exports=(e)=>new yE(e);Ze.exports.JwksClient=yE;Ze.exports.ArgumentError=Zs.ArgumentError;Ze.exports.JwksError=Zs.JwksError;Ze.exports.JwksRateLimitError=Zs.JwksRateLimitError;Ze.exports.SigningKeyNotFoundError=Zs.SigningKeyNotFoundError;Ze.exports.expressJwtSecret=kN;Ze.exports.hapiJwt2Key=TN;Ze.exports.hapiJwt2KeyAsync=_N;Ze.exports.koaJwtSecret=ON;Ze.exports.passportJwtSecret=CN});var qN={};Ar(qN,{handler:()=>LN});module.exports=Di(qN);var rh=require("node:https");function _n(e,t){return function(){return e.apply(t,arguments)}}var{toString:OE}=Object.prototype,{getPrototypeOf:Rr}=Object,{iterator:On,toStringTag:zu}=Symbol,Fi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),kn=(e,t)=>{let r=e,n=[];while(r!=null&&r!==Object.prototype){if(n.indexOf(r)!==-1)return!1;if(n.push(r),Fi(r,t))return!0;r=Rr(r)}return!1},CE=(e,t)=>e!=null&&kn(e,t)?e[t]:void 0,ea=((e)=>(t)=>{let r=OE.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Je=(e)=>(e=e.toLowerCase(),(t)=>ea(t)===e),$i=(e)=>(t)=>typeof t===e,{isArray:Xt}=Array,Yt=$i("undefined");function Tr(e){return e!==null&&!Yt(e)&&e.constructor!==null&&!Yt(e.constructor)&&Le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Mu=Je("ArrayBuffer");function PE(e){let t;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)t=ArrayBuffer.isView(e);else t=e&&e.buffer&&Mu(e.buffer);return t}var IE=$i("string"),Le=$i("function"),Gu=$i("number"),_r=(e)=>e!==null&&typeof e==="object",jE=(e)=>e===!0||e===!1,Ui=(e)=>{if(!_r(e))return!1;let t=Rr(e);return(t===null||t===Object.prototype||Rr(t)===null)&&!kn(e,zu)&&!kn(e,On)},LE=(e)=>{if(!_r(e)||Tr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},NE=Je("Date"),qE=Je("File"),DE=(e)=>!!(e&&typeof e.uri<"u"),UE=(e)=>e&&typeof e.getParts<"u",FE=Je("Blob"),$E=Je("FileList"),BE=Je("Set"),KE=(e)=>_r(e)&&Le(e.pipe);function HE(){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 Ju=HE(),Wu=typeof Ju.FormData<"u"?Ju.FormData:void 0,JE=(e)=>{if(!e)return!1;if(Wu&&e instanceof Wu)return!0;let t=Rr(e);if(!t||t===Object.prototype)return!1;if(!Le(e.append))return!1;let r=ea(e);return r==="formdata"||r==="object"&&Le(e.toString)&&e.toString()==="[object FormData]"},WE=Je("URLSearchParams"),[zE,ME,GE,VE]=["ReadableStream","Request","Response","Headers"].map(Je),XE=(e)=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cn(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!=="object")e=[e];if(Xt(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(Tr(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 Vu(e,t){if(Tr(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 Vt=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),Xu=(e)=>!Yt(e)&&e!==Vt;function Qs(...e){let{caseless:t,skipUndefined:r}=Xu(this)&&this||{},n={},i=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let a=t&&typeof s==="string"&&Vu(n,s)||s,c=Fi(n,a)?n[a]:void 0;if(Ui(c)&&Ui(o))n[a]=Qs(c,o);else if(Ui(o))n[a]=Qs({},o);else if(Xt(o))n[a]=o.slice();else if(!r||!Yt(o))n[a]=o};for(let o=0,s=e.length;o<s;o++){let a=e[o];if(!a||Tr(a))continue;if(Cn(a,i),typeof a!=="object"||Xt(a))continue;let c=Object.getOwnPropertySymbols(a);for(let p=0;p<c.length;p++){let u=c[p];if(cS.call(a,u))i(a[u],u)}}return n}var YE=(e,t,r,{allOwnKeys:n}={})=>(Cn(t,(i,o)=>{if(r&&Le(i))Object.defineProperty(e,o,{__proto__:null,value:_n(i,r),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(e,o,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),ZE=(e)=>{if(e.charCodeAt(0)===65279)e=e.slice(1);return e},QE=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},eS=(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&&Rr(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},tS=(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},rS=(e)=>{if(!e)return null;if(Xt(e))return e;let t=e.length;if(!Gu(t))return null;let r=Array(t);while(t-- >0)r[t]=e[t];return r},nS=((e)=>(t)=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rr(Uint8Array)),iS=(e,t)=>{let n=(e&&e[On]).call(e),i;while((i=n.next())&&!i.done){let o=i.value;t.call(e,o[0],o[1])}},oS=(e,t)=>{let r,n=[];while((r=e.exec(t))!==null)n.push(r);return n},sS=Je("HTMLFormElement"),aS=(e)=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),{propertyIsEnumerable:cS}=Object.prototype,pS=Je("RegExp"),Yu=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};Cn(r,(i,o)=>{let s;if((s=t(i,o,e))!==!1)n[o]=s||i}),Object.defineProperties(e,n)},uS=(e)=>{Yu(e,(t,r)=>{if(Le(e)&&["arguments","caller","callee"].includes(r))return!1;let n=e[r];if(!Le(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+"'")}})},lS=(e,t)=>{let r={},n=(i)=>{i.forEach((o)=>{r[o]=!0})};return Xt(e)?n(e):n(String(e).split(t)),r},dS=()=>{},fS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function mS(e){return!!(e&&Le(e.append)&&e[zu]==="FormData"&&e[On])}var hS=(e)=>{let t=new WeakSet,r=(n)=>{if(_r(n)){if(t.has(n))return;if(Tr(n))return n;if(!("toJSON"in n)){t.add(n);let i;if(BE(n)){i=[];for(let o of n){let s=r(o);!Yt(s)&&i.push(s)}}else i=Xt(n)?[]:{},Cn(n,(o,s)=>{let a=r(o);!Yt(a)&&(i[s]=a)});return t.delete(n),i}}return n};return r(e)},xS=Je("AsyncFunction"),yS=(e)=>e&&(_r(e)||Le(e))&&Le(e.then)&&Le(e.catch),Zu=((e,t)=>{if(e)return setImmediate;return t?((r,n)=>(Vt.addEventListener("message",({source:i,data:o})=>{if(i===Vt&&o===r)n.length&&n.shift()()},!1),(i)=>{n.push(i),Vt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):(r)=>setTimeout(r)})(typeof setImmediate==="function",Le(Vt.postMessage)),gS=typeof queueMicrotask<"u"?queueMicrotask.bind(Vt):typeof process<"u"&&process.nextTick||Zu,Qu=(e)=>e!=null&&Le(e[On]),vS=(e)=>e!=null&&kn(e,On)&&Qu(e),d={isArray:Xt,isArrayBuffer:Mu,isBuffer:Tr,isFormData:JE,isArrayBufferView:PE,isString:IE,isNumber:Gu,isBoolean:jE,isObject:_r,isPlainObject:Ui,isEmptyObject:LE,isReadableStream:zE,isRequest:ME,isResponse:GE,isHeaders:VE,isUndefined:Yt,isDate:NE,isFile:qE,isReactNativeBlob:DE,isReactNative:UE,isBlob:FE,isRegExp:pS,isFunction:Le,isStream:KE,isURLSearchParams:WE,isTypedArray:nS,isFileList:$E,forEach:Cn,merge:Qs,extend:YE,trim:XE,stripBOM:ZE,inherits:QE,toFlatObject:eS,kindOf:ea,kindOfTest:Je,endsWith:tS,toArray:rS,forEachEntry:iS,matchAll:oS,isHTMLForm:sS,hasOwnProperty:Fi,hasOwnProp:Fi,hasOwnInPrototypeChain:kn,getSafeProp:CE,reduceDescriptors:Yu,freezeMethods:uS,toObjectSet:lS,toCamelCase:aS,noop:dS,toFiniteNumber:fS,findKey:Vu,global:Vt,isContextDefined:Xu,isSpecCompliantForm:mS,toJSONObject:hS,isAsyncFn:xS,isThenable:yS,setImmediate:Zu,asap:gS,isIterable:Qu,isSafeIterable:vS};var bS=d.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"]),el=(e)=>{let t={},r,n,i;return e&&e.split(`
29
+ `).forEach(function(s){i=s.indexOf(":"),r=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim();let a=d.hasOwnProp(t,r);if(!r||a&&d.hasOwnProp(bS,r))return;if(r==="set-cookie")if(a)t[r].push(n);else t[r]=[n];else t[r]=a?t[r]+", "+n:n}),t};function wS(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)}var ES=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),SS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ta(e,t){if(d.isArray(e))return e.map((r)=>ta(r,t));return wS(String(e).replace(t,""))}var tl=(e)=>ta(e,ES),AS=(e)=>ta(e,SS);function kr(e){let t=Object.create(null);return d.forEach(e.toJSON(),(r,n)=>{t[n]=AS(r)}),t}var rl=Symbol("internals");function Pn(e){return e&&String(e).trim().toLowerCase()}function Bi(e){if(e===!1||e==null)return e;return d.isArray(e)?e.map(Bi):tl(String(e))}function RS(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 TS=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ra(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 _S(e){let t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let r="";for(let n=1;n<t;n++){let i=e.charCodeAt(n);if(i===34)return e;if(i===92){if(n+=1,n>=t)return e}r+=e[n]}return r}function kS(e){let t=Object.create(null),r=String(e),n=0,i=!1,o=!1;function s(a){let c=ra(r.slice(n,a)),p=c.indexOf("=");if(p<1)return;let u=ra(c.slice(0,p));if(!TS.test(u))return;let l=u.toLowerCase();if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=ra(c.slice(p+1));t[l]=_S(f)}for(let a=0;a<r.length;a++){let c=r.charCodeAt(a);if(i){if(o)o=!1;else if(c===92)o=!0;else if(c===34)i=!1}else if(c===34)i=!0;else if(c===44||c===59)s(a),n=a+1}return s(r.length),t}var OS=(e)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function na(e,t,r,n,i){if(d.isFunction(n))return n.call(this,t,r);if(i)t=r;if(!d.isString(t))return;if(d.isString(n))return t.indexOf(n)!==-1;if(d.isRegExp(n))return n.test(t)}function CS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function PS(e,t){let r=d.toCamelCase(" "+t);["get","set","has"].forEach((n)=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(i,o,s){return this[n].call(this,t,i,o,s)},configurable:!0})})}class In{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(s,a,c){let p=Pn(a);if(!p)return;let u=d.findKey(n,p);if(!u||n[u]===void 0||c===!0||c===void 0&&n[u]!==!1)n[u||a]=Bi(s)}let o=(s,a)=>d.forEach(s,(c,p)=>i(c,p,a));if(d.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(d.isString(e)&&(e=e.trim())&&!OS(e))o(el(e),t);else if(d.isObject(e)&&d.isSafeIterable(e)){let s=Object.create(null),a,c;for(let p of e){if(!d.isArray(p))throw TypeError("Object iterator must return a key-value pair");if(c=p[0],d.hasOwnProp(s,c))a=s[c],s[c]=d.isArray(a)?[...a,p[1]]:[a,p[1]];else s[c]=p[1]}o(s,t)}else e!=null&&i(t,e,r);return this}get(e,t){if(e=Pn(e),e){let r=d.findKey(this,e);if(r){let n=this[r];if(!t)return n;if(t===!0)return RS(n);if(d.isFunction(t))return t.call(this,n,r);if(d.isRegExp(t))return t.exec(n);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Pn(e),e){let r=d.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||na(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(o){if(o=Pn(o),o){let s=d.findKey(r,o);if(s&&(!t||na(r,r[s],s,t)))delete r[s],n=!0}}if(d.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||na(this,this[i],i,e,!0))delete this[i],n=!0}return n}normalize(e){let t=this,r={};return d.forEach(this,(n,i)=>{let o=d.findKey(r,i);if(o){t[o]=Bi(n),delete t[i];return}let s=e?CS(i):String(i).trim();if(s!==i)delete t[i];t[s]=Bi(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return d.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=e&&d.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(`
30
+ `)}getSetCookie(){let e=this.get("set-cookie");return d.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return kS(e)}static concat(e,...t){let r=new this(e);return t.forEach((n)=>r.set(n)),r}static accessor(e){let r=(this[rl]=this[rl]={accessors:{}}).accessors,n=this.prototype;function i(o){let s=Pn(o);if(!r[s])PS(n,o),r[s]=!0}return d.isArray(e)?e.forEach(i):i(e),this}}In.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);d.reduceDescriptors(In.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});d.freezeMethods(In);var Z=In;var jn="[REDACTED ****]";function IS(e){if(d.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(d.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function jS(e,t){let r=new Set(t.map((o)=>String(o).toLowerCase())),n=[],i=(o)=>{if(o===null||typeof o!=="object")return o;if(d.isBuffer(o))return o;if(n.indexOf(o)!==-1)return;if(o instanceof Z)o=o.toJSON();n.push(o);let s;if(d.isArray(o))s=[],o.forEach((a,c)=>{let p=i(a);if(!d.isUndefined(p))s[c]=p});else{if(!d.isPlainObject(o)&&IS(o))return n.pop(),o;s=Object.create(null);for(let[a,c]of Object.entries(o)){let p=r.has(a.toLowerCase())?jn:i(c);if(!d.isUndefined(p))s[a]=p}}return n.pop(),s};return i(e)}function nl(e){try{return String(e)}catch(t){return""}}function LS(e){return e.errors.map((r)=>{try{return r&&r.message?nl(r.message):nl(r)}catch(n){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}class Te extends Error{static from(e,t,r,n,i,o){let s=e.message;if(!s&&d.isArray(e.errors)&&e.errors.length)s=LS(e);let a=new Te(s,t||e.code,r,n,i);if(Object.defineProperty(a,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),a.name=e.name,e.status!=null&&a.status==null)a.status=e.status;return o&&Object.assign(a,o),a}constructor(e,t,r,n,i){super(e);if(Object.defineProperty(this,"message",{__proto__:null,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(){let e=this.config,t=e&&d.hasOwnProp(e,"redact")?e.redact:void 0,r=d.isArray(t)&&t.length>0?jS(e,t):d.toJSONObject(e);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:r,code:this.code,status:this.status}}}Te.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Te.ERR_BAD_OPTION="ERR_BAD_OPTION";Te.ECONNABORTED="ECONNABORTED";Te.ETIMEDOUT="ETIMEDOUT";Te.ECONNREFUSED="ECONNREFUSED";Te.ERR_NETWORK="ERR_NETWORK";Te.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Te.ERR_DEPRECATED="ERR_DEPRECATED";Te.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Te.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Te.ERR_CANCELED="ERR_CANCELED";Te.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Te.ERR_INVALID_URL="ERR_INVALID_URL";Te.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var w=Te;var cf=pe(af(),1),Zi=cf.default;var Qi={isBufferAvailable(){return typeof Buffer<"u"},from(e){return Buffer.from(e)}};var Ta=100;function Ra(e){return d.isPlainObject(e)||d.isArray(e)}function pf(e){return d.endsWith(e,"[]")?e.slice(0,-2):e}function Aa(e,t,r){if(!e)return t;return e.concat(t).map(function(i,o){return i=pf(i),!r&&o?"["+i+"]":i}).join(r?".":"")}function vA(e){return d.isArray(e)&&!e.some(Ra)}var bA=d.toFlatObject(d,{},null,function(t){return/^is[A-Z]/.test(t)});function wA(e,t,r){if(!d.isObject(e))throw TypeError("target must be an object");t=t||new(Zi||FormData),r=d.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,E){return!d.isUndefined(E[b])});let n=r.metaTokens,i=r.visitor||g,o=r.dots,s=r.indexes,a=r.Blob||typeof Blob<"u"&&Blob,c=r.maxDepth===void 0?Ta:r.maxDepth,p=a&&d.isSpecCompliantForm(t),u=[];if(!d.isFunction(i))throw TypeError("visitor must be a function");function l(h){if(h===null)return"";if(d.isDate(h))return h.toISOString();if(d.isBoolean(h))return h.toString();if(!p&&d.isBlob(h))throw new w("Blob is not supported. Use a Buffer instead.");if(d.isArrayBuffer(h)||d.isTypedArray(h)){if(p&&typeof a==="function")return new a([h]);if(Qi&&Qi.isBufferAvailable())return Qi.from(h);throw new w("Blob is not supported. Use a Buffer instead.",w.ERR_NOT_SUPPORT)}return h}function f(h){if(h>c)throw new w("Object is too deeply nested ("+h+" levels). Max depth: "+c,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m(h,b){if(c===1/0)return JSON.stringify(h);let E=[];return JSON.stringify(h,function(O,C){if(!d.isObject(C))return C;while(E.length&&E[E.length-1]!==this)E.pop();return E.push(C),f(b+E.length-1),C})}function g(h,b,E){let A=h;if(d.isReactNative(t)&&d.isReactNativeBlob(h))return t.append(Aa(E,b,o),l(h)),!1;if(h&&!E&&typeof h==="object"){if(d.endsWith(b,"{}"))b=n?b:b.slice(0,-2),h=m(h,1);else if(d.isArray(h)&&vA(h)||(d.isFileList(h)||d.endsWith(b,"[]"))&&(A=d.toArray(h)))return b=pf(b),A.forEach(function(C,K){!(d.isUndefined(C)||C===null)&&t.append(s===!0?Aa([b],K,o):s===null?b:b+"[]",l(C))}),!1}if(Ra(h))return!0;return t.append(Aa(E,b,o),l(h)),!1}let x=Object.assign(bA,{defaultVisitor:g,convertValue:l,isVisitable:Ra});function v(h,b,E=0){if(d.isUndefined(h))return;if(f(E),u.indexOf(h)!==-1)throw Error("Circular reference detected in "+b.join("."));u.push(h),d.forEach(h,function(O,C){if((!(d.isUndefined(O)||O===null)&&i.call(t,O,d.isString(C)?C.trim():C,b,x))===!0)v(O,b?b.concat(C):[C],E+1)}),u.pop()}if(!d.isObject(e))throw TypeError("data must be an object");return v(e),t}var Ct=wA;function uf(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function lf(e,t){this._pairs=[],e&&Ct(e,this,t)}var df=lf.prototype;df.append=function(t,r){this._pairs.push([t,r])};df.toString=function(t){let r=t?(n)=>t.call(this,n,uf):uf;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};var ff=lf;function EA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Qt(e,t,r){if(!t)return e;e=e||"";let n=d.isFunction(r)?{serialize:r}:r,i=d.getSafeProp(n,"encode")||EA,o=d.getSafeProp(n,"serialize"),s;if(o)s=o(t,n);else s=d.isURLSearchParams(t)?t.toString():new ff(t,n).toString(i);if(s){let a=e.indexOf("#");if(a!==-1)e=e.slice(0,a);e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class mf{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){d.forEach(this.handlers,function(r){if(r!==null)e(r)})}}var _a=mf;var Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var gf=pe(require("crypto"));var hf=pe(require("url")),xf=hf.default.URLSearchParams;var ka="abcdefghijklmnopqrstuvwxyz",yf="0123456789",vf={DIGIT:yf,ALPHA:ka,ALPHA_DIGIT:ka+ka.toUpperCase()+yf},SA=(e=16,t=vf.ALPHA_DIGIT)=>{let r="",{length:n}=t,i=new Uint32Array(e);gf.default.randomFillSync(i);for(let o=0;o<e;o++)r+=t[i[o]%n];return r},bf={isNode:!0,classes:{URLSearchParams:xf,FormData:Zi,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:vf,generateString:SA,protocols:["http","https","file","data"]};var Pa={};Ar(Pa,{hasBrowserEnv:()=>Ca,hasStandardBrowserEnv:()=>AA,hasStandardBrowserWebWorkerEnv:()=>RA,navigator:()=>Oa,origin:()=>TA});var Ca=typeof window<"u"&&typeof document<"u",Oa=typeof navigator==="object"&&navigator||void 0,AA=Ca&&(!Oa||["ReactNative","NativeScript","NS"].indexOf(Oa.product)<0),RA=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")(),TA=Ca&&window.location.href||"http://localhost";var z={...Pa,...bf};function Ia(e,t){return Ct(e,new z.classes.URLSearchParams,{visitor:function(r,n,i,o){if(z.isNode&&d.isBuffer(r))return this.append(n,r.toString("base64")),!1;return o.defaultVisitor.apply(this,arguments)},...t})}var wf=Ta;function Ef(e){if(e>wf)throw new w("FormData field is too deeply nested ("+e+" levels). Max depth: "+wf,w.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _A(e){let t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g,n;while((n=r.exec(e))!==null)Ef(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function kA(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 OA(e){function t(r,n,i,o){Ef(o);let s=r[o++];if(s==="__proto__")return!0;let a=Number.isFinite(+s),c=o>=r.length;if(s=!s&&d.isArray(i)?i.length:s,c){if(d.hasOwnProp(i,s))i[s]=d.isArray(i[s])?i[s].concat(n):[i[s],n];else i[s]=n;return!a}if(!d.hasOwnProp(i,s)||!d.isObject(i[s]))i[s]=[];if(t(r,n,i[s],o)&&d.isArray(i[s]))i[s]=kA(i[s]);return!a}if(d.isFormData(e)&&d.isFunction(e.entries)){let r={};return d.forEachEntry(e,(n,i)=>{t(_A(n),i,r,0)}),r}return null}var eo=OA;var jr=(e,t)=>e!=null&&d.hasOwnProp(e,t)?e[t]:void 0;function CA(e,t,r){if(d.isString(e))try{return(t||JSON.parse)(e),d.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var ja={transitional:Pt,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){let n=r.getContentType()||"",i=n.indexOf("application/json")>-1,o=d.isObject(t);if(o&&d.isHTMLForm(t))t=new FormData(t);if(d.isFormData(t))return i?JSON.stringify(eo(t)):t;if(d.isArrayBuffer(t)||d.isBuffer(t)||d.isStream(t)||d.isFile(t)||d.isBlob(t)||d.isReadableStream(t))return t;if(d.isArrayBufferView(t))return t.buffer;if(d.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){let c=jr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ia(t,c).toString();if((a=d.isFileList(t))||n.indexOf("multipart/form-data")>-1){let p=jr(this,"env"),u=p&&p.FormData;return Ct(a?{"files[]":t}:t,u&&new u,c)}}if(o||i)return r.setContentType("application/json",!1),CA(t);return t}],transformResponse:[function(t){let r=jr(this,"transitional")||ja.transitional,n=r&&r.forcedJSONParsing,i=jr(this,"responseType"),o=i==="json";if(d.isResponse(t)||d.isReadableStream(t))return t;if(t&&d.isString(t)&&(n&&!i||o)){let a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,jr(this,"parseReviver"))}catch(c){if(a){if(c.name==="SyntaxError")throw w.from(c,w.ERR_BAD_RESPONSE,this,null,jr(this,"response"));throw c}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:z.classes.FormData,Blob:z.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch","query"],(e)=>{ja.headers[e]={}});var Lr=ja;function Un(e,t){let r=this||Lr,n=t||r,i=Z.from(n.headers),o=n.data;return d.forEach(e,function(a){o=a.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function Fn(e){return!!(e&&e.__CANCEL__)}class Sf extends w{constructor(e,t,r){super(e==null?"canceled":e,w.ERR_CANCELED,t,r);this.name="CanceledError",this.__CANCEL__=!0}}var Ue=Sf;function dt(e,t,r){let n=r.config.validateStatus;if(!r.status||!n||n(r.status))e(r);else t(new w("Request failed with status code "+r.status,r.status>=400&&r.status<500?w.ERR_BAD_REQUEST:w.ERR_BAD_RESPONSE,r.config,r.request,r))}function La(e){if(typeof e!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Na(e,t){if(!t)return e;let r=e.length;while(r>0&&e.charCodeAt(r-1)===47)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}var PA=/^https?:(?!\/\/)/i,IA=/[\t\n\r]/g;function jA(e){let t=0;while(t<e.length&&e.charCodeAt(t)<=32)t++;return e.slice(t)}function LA(e){return jA(e).replace(IA,"")}function NA(e){if(!e)return e;return e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,r,n="")=>`${r}${n}${jn}`)}function qA(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${jn}@`),r=t.indexOf("#"),i=(r===-1?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${jn}`);if(r===-1)return i;return`${i}#${NA(t.slice(r+1))}`}function Af(e,t){if(typeof e==="string"){let r=LA(e);if(PA.test(r))throw new w(`Invalid URL ${JSON.stringify(qA(r))}: missing "//" after protocol`,w.ERR_INVALID_URL,t)}}function er(e,t,r,n){Af(t,n);let i=!La(t);if(e&&(i||r===!1))return Af(e,n),Na(e,t);return t}var DA={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function UA(e){try{return new URL(e)}catch{return null}}function Rf(e){var t=(typeof e==="string"?UA(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)||DA[r]||0,!FA(n,i))return"";var o=qa(r+"_proxy")||qa("all_proxy");if(o&&o.indexOf("://")===-1)o=r+"://"+o;return o}function FA(e,t){var r=qa("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 qa(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var mc=pe(Jf(),1),hc=pe(require("http")),xc=pe(require("https")),jm=pe(require("http2")),Lm=pe(require("util")),fc=require("path"),Nm=pe(Yf(),1),Fe=pe(require("zlib"));var vt="1.19.0";function Gn(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var JR=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;function sc(e,t,r){let n=r&&r.Blob||z.classes.Blob,i=Gn(e);if(t===void 0&&n)t=!0;if(i==="data"){e=i.length?e.slice(i.length+1):e;let o=JR.exec(e);if(!o)throw new w("Invalid URL",w.ERR_INVALID_URL);let s=o[1],a=o[2],c=o[3]?"base64":"utf8",p=o[4],u="";if(s)u=a?s+a:s;else if(a)u="text/plain"+a;let l=c==="base64"?Buffer.from(p,"base64"):Buffer.from(decodeURIComponent(p),c);if(t){if(!n)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new n([l],{type:u})}return l}throw new w("Unsupported protocol "+i,w.ERR_NOT_SUPPORT)}var ze=pe(require("stream"));var WR=["content-type","content-length"];function Vn(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([n,i])=>{if(WR.includes(n.toLowerCase()))e.set(n,i)})}var Zf=pe(require("stream"));var ac=Symbol("internals");class Qf extends Zf.default.Transform{constructor(e){e=d.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(r,n)=>!d.isUndefined(n[r]));super({readableHighWaterMark:e.chunkSize});let t=this[ac]={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[ac];if(t.onReadCallback)t.onReadCallback();return super._read(e)}_transform(e,t,r){let n=this[ac],i=n.maxRate,o=this.readableHighWaterMark,s=n.timeWindow,a=1000/s,c=i/a,p=n.minChunkSize!==!1?Math.max(n.minChunkSize,c*0.01):0,u=(f,m)=>{let g=Buffer.byteLength(f);if(n.bytesSeen+=g,n.bytes+=g,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(f))process.nextTick(m);else n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(m)}},l=(f,m)=>{let g=Buffer.byteLength(f),x=null,v=o,h,b=0;if(i){let E=Date.now();if(!n.ts||(b=E-n.ts)>=s)n.ts=E,h=c-n.bytes,n.bytes=h<0?-h:0,b=0;h=c-n.bytes}if(i){if(h<=0)return setTimeout(()=>{m(null,f)},s-b);if(h<v)v=h}if(v&&g>v&&g-v>p)x=f.subarray(v),f=f.subarray(0,v);u(f,x?()=>{process.nextTick(m,null,x)}:m)};l(e,function f(m,g){if(m)return r(m);if(g)l(g,f);else r(null)})}}var cc=Qf;var qm=require("events");var tm=pe(require("util")),rm=require("stream");var{asyncIterator:em}=Symbol,zR=async function*(e){if(e.stream)yield*e.stream();else if(e.arrayBuffer)yield await e.arrayBuffer();else if(e[em])yield*e[em]();else yield e},co=zR;var MR=z.ALPHABET.ALPHA_DIGIT+"-_",Xn=typeof TextEncoder==="function"?new TextEncoder:new tm.default.TextEncoder,or=`\r
31
+ `,GR=Xn.encode(or),VR=2;class nm{constructor(e,t){let{escapeName:r}=this.constructor,n=d.isString(t),i=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}${or}`;if(n)t=Xn.encode(String(t).replace(/\r?\n|\r\n?/g,or));else{let o=String(t.type||"application/octet-stream").replace(/[\r\n]/g,"");i+=`Content-Type: ${o}${or}`}this.headers=Xn.encode(i+or),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+VR,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;if(d.isTypedArray(e))yield e;else yield*co(e);yield GR}static escapeName(e){return String(e).replace(/[\r\n"]/g,(t)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}}var XR=(e,t,r)=>{let{tag:n="form-data-boundary",size:i=25,boundary:o=n+"-"+z.generateString(i,MR)}=r||{};if(!d.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 1-70 characters long");let s=Xn.encode("--"+o+or),a=Xn.encode("--"+o+"--"+or),c=a.byteLength,p=Array.from(e.entries()).map(([l,f])=>{let m=new nm(l,f);return c+=m.size,m});c+=s.byteLength*p.length,c=d.toFiniteNumber(c);let u={"Content-Type":`multipart/form-data; boundary=${o}`};if(Number.isFinite(c))u["Content-Length"]=c;return t&&t(u),rm.Readable.from(async function*(){for(let l of p)yield s,yield*l.encode();yield a}())},im=XR;var om=pe(require("stream"));class sm extends om.default.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 am=sm;var cm=pe(require("http2")),pm=pe(require("util"));class um{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[f,m]=r[l];if(!f.destroyed&&!f.closed&&pm.default.isDeepStrictEqual(m,t))return f}}let n=cm.default.connect(e,t),i,o,s=()=>{if(i)return;if(i=!0,o)clearTimeout(o),o=null;let u=r,l=u.length,f=l;while(f--)if(u[f][0]===n){if(l===1)delete this.sessions[e];else u.splice(f,1);if(!n.closed)n.close();return}},a=n.request,{sessionTimeout:c}=t;if(c!=null){let u=0;n.request=function(){let l=a.apply(this,arguments);if(u++,o)clearTimeout(o),o=null;return l.once("close",()=>{if(!--u)o=setTimeout(()=>{o=null,s()},c)}),l}}n.once("close",s);let p=[n,t];return r?r.push(p):r=this.sessions[e]=[p],n}}var lm=um;var YR=(e,t)=>d.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,dm=YR;var ZR=new Set(["localhost","0.0.0.0"]),hm=(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)},pc=(e)=>{if(/^0[xX][0-9a-fA-F]+$/.test(e)){let t=parseInt(e.slice(2),16);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-7]+$/.test(e)){let t=parseInt(e,8);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-9]+$/.test(e))return null;if(/^[0-9]+$/.test(e)){let t=parseInt(e,10);return Number.isFinite(t)?t:null}return null},QR=(e)=>{if(typeof e!=="string"||!e||e.indexOf(":")!==-1)return e;let t=e;if(t.charAt(0)==="["&&t.charAt(t.length-1)==="]")t=t.slice(1,-1);if(t=t.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(t))return e;let r=t.split(".");if(r.some((u)=>u===""))return e;if(r.length===4){let u=r.map(pc);if(u.some((l)=>l===null||l<0||l>255))return e;return u.join(".")}if(r.length>4)return e;if(r.length===1)return e;let n=r.slice(0,-1),i=r[r.length-1],o=4-n.length,s=pc(i);if(s===null)return e;let a=(1<<8*o)-1;if(s<0||s>a)return e;let c=Array(o).fill(0);for(let u=o-1,l=s;u>=0;u--,l>>=8)c[u]=l&255;let p=n.map(pc);if(p.some((u)=>u===null||u<0||u>255))return e;return[...p,...c].join(".")},uc=(e)=>/^0{1,4}$/.test(e),eT=(e)=>{if(e==="::")return!0;let t=e.indexOf("::");if(t!==-1){if(t!==e.lastIndexOf("::"))return!1;let n=e.slice(0,t),i=e.slice(t+2),o=n?n.split(":"):[],s=i?i.split(":"):[];return o.length+s.length<8&&o.every(uc)&&s.every(uc)}let r=e.split(":");return r.length===8&&r.every(uc)},tT=(e)=>{if(e==="::1")return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return hm(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},fm=(e)=>{if(!e)return!1;if(ZR.has(e))return!0;if(hm(e))return!0;if(eT(e))return!0;return tT(e)},rT={http:80,https:443,ws:80,wss:443,ftp:21},nT=(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]},iT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,oT=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,sT=(e)=>{if(typeof e!=="string"||e.indexOf(":")===-1)return e;let t=e.match(iT);if(t)return t[1];let r=e.match(oT);if(r){let n=parseInt(r[1],16),i=parseInt(r[2],16);return`${n>>8}.${n&255}.${i>>8}.${i&255}`}return e},mm=(e)=>{if(!e)return e;if(e.charAt(0)==="["&&e.charAt(e.length-1)==="]")e=e.slice(1,-1);let t=e.replace(/\.+$/,""),r=QR(t);if(r!==t)return r;return sT(t)};function lc(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)||rT[t.protocol.split(":",1)[0]]||0,i=mm(t.hostname.toLowerCase());return r.split(/[\s,]+/).some((o)=>{if(!o)return!1;if(o==="*")return!0;let[s,a]=nT(o);if(s=mm(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||fm(i)&&fm(s)})}function aT(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 p=Date.now(),u=n[o];if(!s)s=p;r[i]=c,n[i]=p;let l=o,f=0;while(l!==i)f+=r[l++],l=l%e;if(i=(i+1)%e,i===o)o=(o+1)%e;if(p-s<t)return;let m=u&&p-u;return m?Math.round(f*1000/m):void 0}}var xm=aT;function cT(e,t){let r=0,n=1000/t,i,o,s=(p,u=Date.now())=>{if(r=u,i=null,o)clearTimeout(o),o=null;e(...p)};return[(...p)=>{let u=Date.now(),l=u-r;if(l>=n)s(p,u);else if(i=p,!o)o=setTimeout(()=>{o=null,s(i)},n-l)},()=>i&&s(i)]}var ym=cT;var bt=(e,t,r=3)=>{let n=0,i=xm(50,250);return ym((o)=>{if(!o||typeof o.loaded!=="number")return;let s=o.loaded,a=o.lengthComputable?o.total:void 0,c=Math.max(0,a!=null?Math.min(s,a):s),p=Math.max(0,c-n),u=i(p);n=Math.max(n,c);let l={loaded:c,total:a,progress:a?c/a:void 0,bytes:p,rate:u?u:void 0,estimated:u&&a?(a-c)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(l)},r)},Fr=(e,t)=>{let r=e!=null;return[(n)=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},$r=(e,t=d.asap)=>(...r)=>t(()=>e(...r));var gm=(e)=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,bm=(e,t,r)=>t+2<r&&gm(e.charCodeAt(t+1))&&gm(e.charCodeAt(t+2)),vm=(e)=>e<=57?e-48:(e&223)-55,pT=(e)=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,uT=(e)=>e===9||e===10||e===12||e===13||e===32,lT=(e)=>{let t=Math.floor(e/4),r=e%4;return t*3+(r===2?1:r===3?2:0)},wm=(e)=>{let t=e.length,r=0;if(t>0&&e.charCodeAt(t-1)===61){if(r++,t>1&&e.charCodeAt(t-2)===61)r++}return Math.floor((t-r)*3/4)},dT=(e)=>{let t=e.length,r=0,n=0,i=!1;for(let o=0;o<t;o++){let s=e.charCodeAt(o);if(s===37&&bm(e,o,t))s=vm(e.charCodeAt(o+1))*16+vm(e.charCodeAt(o+2)),o+=2;if(uT(s))continue;if(s===61){n++;continue}if(!pT(s)||n>0){i=!0;continue}r++}if(i||n>2||n>0&&(r+n)%4!==0||r%4===1)return wm(e);return lT(r)},Em=(e,t)=>{if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;let r=e.indexOf(",");if(r<0)return 0;let n=e.slice(5,r),i=e.slice(r+1);if(/;base64/i.test(n))return t(i);let s=0;for(let a=0,c=i.length;a<c;a++){let p=i.charCodeAt(a);if(p===37&&bm(i,a,c))s+=1,a+=2;else if(p<128)s+=1;else if(p<2048)s+=2;else if(p>=55296&&p<=56319&&a+1<c){let u=i.charCodeAt(a+1);if(u>=56320&&u<=57343)s+=4,a++;else s+=3}else s+=3}return s};function dc(e){let t=typeof e==="string"?e.indexOf("#"):-1;return Em(t===-1?e:e.slice(0,t),dT)}function Sm(e){return Em(e,wm)}var Am={flush:Fe.default.constants.Z_SYNC_FLUSH,finishFlush:Fe.default.constants.Z_SYNC_FLUSH},fT={flush:Fe.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Fe.default.constants.BROTLI_OPERATION_FLUSH},mT={flush:Fe.default.constants.ZSTD_e_flush,finishFlush:Fe.default.constants.ZSTD_e_flush},Dm=d.isFunction(Fe.default.createBrotliDecompress),Um=d.isFunction(Fe.default.createZstdDecompress),Fm="gzip, compress, deflate"+(Dm?", br":""),hT=Fm+(Um?", zstd":""),Rm=typeof process<"u"&&process.nextTick?process.nextTick.bind(process):d.asap,{http:xT,https:yT}=Nm.default,yc=/https:?/,Tm=Symbol("axios.http.socketListener"),po=Symbol("axios.http.currentReq"),$m=Symbol("axios.http.installedTunnel"),gT=new Map,_m=new WeakMap,km={22:21,24:5};function vT(e=process.versions&&process.versions.node){if(!e)return!1;let[t,r]=e.split(".").map((n)=>Number(n));if(!Number.isInteger(t)||!Number.isInteger(r))return!1;if(t>24)return!0;return km[t]!=null&&r>=km[t]}function bT(e,t=process.versions&&process.versions.node){if(!vT(t))return!1;let r=e&&e.options;return Boolean(r&&d.hasOwnProp(r,"proxyEnv")&&r.proxyEnv!=null)}function wT(e,t,r){return yc.test(e.protocol)?r||xc.default.globalAgent:t||hc.default.globalAgent}function ET(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?_m.get(t)||_m.set(t,new Map).get(t):gT,i=n.get(r);if(i)return i;let o=t&&t.options?{...t.options,...e}:e;if(i=new mc.default(o),t&&t.options){let s={...t.options},a=i.callback;i.callback=function(p,u){return a.call(this,p,{...s,...u})}}return i[$m]=!0,n.set(r,i),i}var Om=z.protocols.map((e)=>e+":"),Cm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Pm=(e,[t,r])=>(e.on("end",r).on("error",r),t),ST=new lm;function AT(e,t,r){if(e.beforeRedirects.proxy)e.beforeRedirects.proxy(e);if(e.beforeRedirects.auth)e.beforeRedirects.auth(e);if(e.beforeRedirects.sensitiveHeaders)e.beforeRedirects.sensitiveHeaders(e,r);if(e.beforeRedirects.config)e.beforeRedirects.config(e,t,r)}function RT(e,t){if(!e)return;Object.keys(e).forEach((r)=>{if(t.has(r.toLowerCase()))delete e[r]})}function TT(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(r){return!1}}function Bm(e,t,r,n,i,o){let s=t,a=wT(e,o,i);if(!s&&s!==!1&&!bT(a)){let c=Rf(r);if(c){if(!lc(r))s=new URL(c)}}if(n&&e.headers){for(let c of Object.keys(e.headers))if(c.toLowerCase()==="proxy-authorization")delete e.headers[c]}if(n&&e.agent&&e.agent[$m])e.agent=void 0;if(s){let c=s instanceof URL,p=(g)=>c||d.hasOwnProp(s,g)?s[g]:void 0,u=p("username"),l=p("password"),f=d.hasOwnProp(s,"auth")?s.auth:void 0;if(u)f=(u||"")+":"+(l||"");if(f){let g=typeof f==="object",x=g&&d.hasOwnProp(f,"username")?f.username:void 0,v=g&&d.hasOwnProp(f,"password")?f.password:void 0;if(Boolean(x||v))f=(x||"")+":"+(v||"");else if(g)throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:s})}if(yc.test(e.protocol)){if(!(i instanceof mc.default)){let g=p("hostname")||p("host"),x=p("port"),v=p("protocol"),h=v?v.includes(":")?v:`${v}:`:"http:",b=g&&g.includes(":")&&!g.startsWith("[")?`[${g}]`:g,E=new URL(`${h}//${b}${x?":"+x:""}`),A={protocol:E.protocol,hostname:E.hostname.replace(/^\[|\]$/g,""),port:E.port,auth:f&&typeof f==="string"?f:void 0};if(E.protocol==="https:")A.ALPNProtocols=["http/1.1"];let O=ET(A,i);if(e.agent=O,e.agents)e.agents.https=O}}else{if(f){let h=Buffer.from(f,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+h}let g=!1;for(let h of Object.keys(e.headers))if(h.toLowerCase()==="host"){g=!0;break}if(!g)e.headers.host=e.hostname+(e.port?":"+e.port:"");let x=p("hostname")||p("host");e.hostname=x,e.host=x,e.port=p("port"),e.path=r;let v=p("protocol");if(v)e.protocol=v.includes(":")?v:`${v}:`}}e.beforeRedirects.proxy=function(p){Bm(p,t,p.href,!0,i,o)}}var _T=typeof process<"u"&&d.kindOf(process)==="process",kT=(e)=>new Promise((t,r)=>{let n,i,o=(c,p)=>{if(i)return;i=!0,n&&n(c,p)},s=(c)=>{o(c),t(c)},a=(c)=>{o(c,!0),r(c)};e(s,a,(c)=>n=c).catch(a)}),OT=({address:e,family:t})=>{if(!d.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},Im=(e,t)=>OT(d.isObject(e)?e:{address:e,family:t}),CT={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||(e.protocol==="https:"?443:80)),{http2Options:n,headers:i}=e,o=ST.getSession(r,n),{HTTP2_HEADER_SCHEME:s,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=jm.default.constants,u={[s]:e.protocol.replace(":",""),[a]:e.method,[c]:e.path};d.forEach(i,(f,m)=>{m.charAt(0)!==":"&&(u[m]=f)});let l=o.request(u);return l.once("response",(f)=>{let m=l;f=Object.assign({},f);let g=f[p];delete f[p],m.headers=f,m.statusCode=+g,t(m)}),l}},Km=_T&&function(t){return kT(async function(n,i,o){let s=(k)=>d.getSafeProp(t,k),a=s("transitional")||Pt,c=s("data"),p=s("lookup"),u=s("family"),l=s("httpVersion");if(l===void 0)l=1;let f=s("http2Options"),m=s("httpAgent"),g=s("httpsAgent"),x=s("proxy"),v=s("responseType"),h=s("responseEncoding"),b=s("socketPath"),E=s("method").toUpperCase(),A=s("maxRedirects"),O=s("maxBodyLength"),C=s("maxContentLength"),K=s("decompress"),te,F=!1,I,me;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 yt=l===2;if(p){let k=dm(p,(R)=>d.isArray(R)?R:[R]);p=(R,B,ae)=>{k(R,B,(D,be,Oe)=>{if(D)return ae(D);let fe=d.isArray(be)?be.map((Sr)=>Im(Sr)):[Im(be,Oe)];B.all?ae(D,fe):ae(D,fe[0].address,fe[0].family)})}}let Qe=new qm.EventEmitter;function V(k){try{Qe.emit("abort",!k||k.type?new Ue(null,t,I):k)}catch(R){}}function et(){if(me)clearTimeout(me),me=null}function zt(){let k=s("timeout"),R=k?"timeout of "+k+"ms exceeded":"timeout exceeded",B=s("timeoutErrorMessage");if(B)R=B;return new w(R,a.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,I)}Qe.once("abort",i);let Mt=()=>{if(et(),t.cancelToken)t.cancelToken.unsubscribe(V);if(t.signal)t.signal.removeEventListener("abort",V);Qe.removeAllListeners()};if(t.cancelToken||t.signal){if(t.cancelToken&&t.cancelToken.subscribe(V),t.signal)t.signal.aborted?V():t.signal.addEventListener("abort",V)}o((k,R)=>{if(te=!0,et(),R){F=!0,Mt();return}let{data:B}=k;if(B instanceof ze.default.Readable||B instanceof ze.default.Duplex){let ae=ze.default.finished(B,()=>{ae(),Mt()})}else Mt()});let Ni=er(s("baseURL"),s("url"),s("allowAbsoluteUrls"),t),qi=b?"http://localhost":z.hasBrowserEnv?z.origin:void 0,ne=new URL(Ni,qi),se=ne.protocol||Om[0];if(se==="data:"){if(C>-1){let R=String(s("url")||Ni||"");if(Sm(R)>C)return i(new w("maxContentLength size of "+C+" exceeded",w.ERR_BAD_RESPONSE,t))}let k;if(E!=="GET")return dt(n,i,{status:405,statusText:"method not allowed",headers:{},config:t});try{k=sc(s("url"),v==="blob",{Blob:t.env&&t.env.Blob})}catch(R){throw w.from(R,w.ERR_BAD_REQUEST,t)}if(v==="text"){if(k=k.toString(h),!h||h==="utf8")k=d.stripBOM(k)}else if(v==="stream")k=ze.default.Readable.from(k);return dt(n,i,{data:k,status:200,statusText:"OK",headers:new Z,config:t})}if(Om.indexOf(se)===-1)return i(new w("Unsupported protocol "+se,w.ERR_BAD_REQUEST,t));let de=Z.from(t.headers).normalize();de.set("User-Agent","axios/"+vt,!1);let{onUploadProgress:ut,onDownloadProgress:gt}=t,Gt=t.maxRate,W=void 0,Ae=void 0;if(d.isSpecCompliantForm(c)){let k=de.getContentType(/boundary=([-_\w\d]{10,70})/i);c=im(c,(R)=>{de.set(R)},{tag:`axios-${vt}-boundary`,boundary:k&&k[1]||void 0})}else if(d.isFormData(c)&&d.isFunction(c.getHeaders)&&c.getHeaders!==Object.prototype.getHeaders){if(Vn(de,c.getHeaders(),s("formDataHeaderPolicy")),!de.hasContentLength())try{let k=await Lm.default.promisify(c.getLength).call(c);Number.isFinite(k)&&k>=0&&de.setContentLength(k)}catch(k){}}else if(d.isBlob(c)||d.isFile(c))c.size&&de.setContentType(c.type||"application/octet-stream"),de.setContentLength(c.size||0),c=ze.default.Readable.from(co(c));else if(c&&!d.isStream(c)){if(Buffer.isBuffer(c));else if(d.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else if(d.isString(c))c=Buffer.from(c,"utf-8");else return i(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,t));if(de.setContentLength(c.length,!1),O>-1&&c.length>O)return i(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,t))}let wr=d.toFiniteNumber(de.getContentLength());if(d.isArray(Gt))W=Gt[0],Ae=Gt[1];else W=Ae=Gt;if(c&&(ut||W)){if(!d.isStream(c))c=ze.default.Readable.from(c,{objectMode:!1});c=ze.default.pipeline([c,new cc({maxRate:d.toFiniteNumber(W)})],d.noop),ut&&c.on("progress",Pm(c,Fr(wr,bt($r(ut,Rm),!1,3))))}let lt=void 0,Sn=s("auth");if(Sn){let k=d.getSafeProp(Sn,"username")||"",R=d.getSafeProp(Sn,"password")||"";lt=k+":"+R}if(!lt&&(ne.username||ne.password)){let k=Cm(ne.username),R=Cm(ne.password);lt=k+":"+R}lt&&de.delete("authorization");let An;try{An=Qt(ne.pathname+ne.search,s("params"),s("paramsSerializer")).replace(/^\?/,"")}catch(k){return i(w.from(k,w.ERR_BAD_REQUEST,t,null,null,{url:s("url"),exists:!0}))}de.set("Accept-Encoding",d.hasOwnProp(a,"advertiseZstdAcceptEncoding")&&a.advertiseZstdAcceptEncoding===!0?hT:Fm,!1);let X=Object.assign(Object.create(null),{path:An,method:E,headers:kr(de),agents:{http:m,https:g},auth:lt,protocol:se,family:u,beforeRedirect:AT,beforeRedirects:Object.create(null),http2Options:f});if(!d.isUndefined(p)&&(X.lookup=p),b){if(typeof b!=="string")return i(new w("socketPath must be a string",w.ERR_BAD_OPTION_VALUE,t));let k=s("allowedSocketPaths");if(k!=null){let R=Array.isArray(k)?k:[k],B=fc.resolve(b);if(!R.some((D)=>typeof D==="string"&&fc.resolve(D)===B))return i(new w(`socketPath "${b}" is not permitted by allowedSocketPaths`,w.ERR_BAD_OPTION_VALUE,t))}X.socketPath=b}else X.hostname=ne.hostname.startsWith("[")?ne.hostname.slice(1,-1):ne.hostname,X.port=ne.port,Bm(X,x,se+"//"+ne.hostname+(ne.port?":"+ne.port:"")+X.path,!1,g,m);let kt,Er=!1,He=!1,L=yc.test(X.protocol);if(X.agent==null)X.agent=L?g:m;if(yt)kt=CT;else{let k=s("transport");if(k)kt=k;else if(A===0)kt=L?xc.default:hc.default,Er=!0;else{if(He=!0,X.sensitiveHeaders=[],A)X.maxRedirects=A;let R=s("beforeRedirect");if(R)X.beforeRedirects.config=R;if(lt){let ae=ne.origin,D=lt;X.beforeRedirects.auth=function(Oe){try{if(new URL(Oe.href).origin===ae)Oe.auth=D}catch(fe){}}}let B=s("sensitiveHeaders");if(B!=null){if(!d.isArray(B))return i(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,t));let ae=new Set;for(let D of B){if(!d.isString(D))return i(new w("sensitiveHeaders must be an array of strings",w.ERR_BAD_OPTION_VALUE,t));ae.add(D.toLowerCase())}if(ae.size)X.sensitiveHeaders=Array.from(ae),X.beforeRedirects.sensitiveHeaders=function(be,Oe){if(!TT(be,Oe))RT(be.headers,ae)}}kt=L?yT:xT}}if(O>-1)X.maxBodyLength=O;else X.maxBodyLength=1/0;X.insecureHTTPParser=Boolean(s("insecureHTTPParser")),I=kt.request(X,function(R){if(et(),I.destroyed)return;let B=[R],ae=d.toFiniteNumber(R.headers["content-length"]);if(gt||Ae){let fe=new cc({maxRate:d.toFiniteNumber(Ae)});gt&&fe.on("progress",Pm(fe,Fr(ae,bt($r(gt,Rm),!0,3)))),B.push(fe)}let D=R,be=R.req||I;if(K!==!1&&R.headers["content-encoding"]){if(E==="HEAD"||R.statusCode===204)delete R.headers["content-encoding"];switch((R.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":B.push(Fe.default.createUnzip(Am)),delete R.headers["content-encoding"];break;case"deflate":B.push(new am),B.push(Fe.default.createUnzip(Am)),delete R.headers["content-encoding"];break;case"br":if(Dm)B.push(Fe.default.createBrotliDecompress(fT)),delete R.headers["content-encoding"];break;case"zstd":if(Um)B.push(Fe.default.createZstdDecompress(mT)),delete R.headers["content-encoding"];break}}D=B.length>1?ze.default.pipeline(B,d.noop):B[0];let Oe={status:R.statusCode,statusText:R.statusMessage,headers:new Z(R.headers),config:t,request:be};if(v==="stream"){if(C>-1){let fe=C,Sr=D;async function*Rn(){let we=0;for await(let Fu of Sr){if(we+=Fu.length,we>fe)throw new w("maxContentLength size of "+fe+" exceeded",w.ERR_BAD_RESPONSE,t,be);yield Fu}}D=ze.default.Readable.from(Rn(),{objectMode:!1})}Oe.data=D,dt(n,i,Oe)}else{let fe=[],Sr=0;D.on("data",function(we){if(fe.push(we),Sr+=we.length,C>-1&&Sr>C)F=!0,D.destroy(),V(new w("maxContentLength size of "+C+" exceeded",w.ERR_BAD_RESPONSE,t,be))}),D.on("aborted",function(){if(F)return;let we=new w("stream has been aborted",w.ERR_BAD_RESPONSE,t,be,Oe);D.destroy(we),i(we)}),D.on("error",function(we){if(F)return;i(w.from(we,null,t,be,Oe))}),D.on("end",function(){try{let we=fe.length===1?fe[0]:Buffer.concat(fe);if(v!=="arraybuffer"){if(we=we.toString(h),!h||h==="utf8")we=d.stripBOM(we)}Oe.data=we}catch(we){return i(w.from(we,null,t,Oe.request,Oe))}dt(n,i,Oe)})}Qe.once("abort",(fe)=>{if(!D.destroyed)D.emit("error",fe),D.destroy()})}),Qe.once("abort",(k)=>{if(I.close)I.close();else I.destroy(k)}),I.on("error",function(R){i(w.from(R,null,t,I))});let Re=new Set;if(I.on("socket",function(R){if(typeof R.setKeepAlive==="function")R.setKeepAlive(!0,60000);if(!R[Tm])R.on("error",function(ae){let D=R[po];if(D&&!D.destroyed)D.destroy(ae)}),R[Tm]=!0;R[po]=I,Re.add(R)}),I.once("close",function(){et();for(let R of Re)if(R[po]===I)R[po]=null;Re.clear()}),s("timeout")){let k=parseInt(s("timeout"),10);if(Number.isNaN(k)){V(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,t,I));return}let R=function(){if(te)return;V(zt())};if(Er&&k>0)me=setTimeout(R,k);I.setTimeout(k,R)}else I.setTimeout(0);if(d.isStream(c)){let k=!1,R=!1;c.on("end",()=>{k=!0}),c.once("error",(ae)=>{R=!0,I.destroy(ae)}),c.on("close",()=>{if(!k&&!R)V(new Ue("Request stream has been aborted",t,I))});let B=c;if(O>-1&&!He){let ae=O,D=0;B=ze.default.pipeline([c,new ze.default.Transform({transform(be,Oe,fe){if(D+=be.length,D>ae)return fe(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,t,I));fe(null,be)}})],d.noop),B.on("error",(be)=>{if(!I.destroyed)I.destroy(be)})}B.pipe(I)}else c&&I.write(c),I.end()})};var Hm=z.hasStandardBrowserEnv?((e,t)=>(r)=>(r=new URL(r,z.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(z.origin),z.navigator&&/(msie|trident)/i.test(z.navigator.userAgent)):()=>!0;var Jm=z.hasStandardBrowserEnv?{write(e,t,r,n,i,o,s){if(typeof document>"u")return;let a=[`${e}=${encodeURIComponent(t)}`];if(d.isNumber(r))a.push(`expires=${new Date(r).toUTCString()}`);if(d.isString(n))a.push(`path=${n}`);if(d.isString(i))a.push(`domain=${i}`);if(o===!0)a.push("secure");if(d.isString(s))a.push(`SameSite=${s}`);document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e)try{return decodeURIComponent(n.slice(i+1))}catch(o){return n.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var Wm=(e)=>e instanceof Z?{...e}:e,PT=(e)=>{if(Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor)return Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter((t)=>Object.getOwnPropertyDescriptor(e,t).enumerable));return Object.keys(e)};function rt(e,t){e=e||{},t=t||{};let r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(u,l,f,m){if(d.isPlainObject(u)&&d.isPlainObject(l))return d.merge.call({caseless:m},u,l);else if(d.isPlainObject(l))return d.merge({},l);else if(d.isArray(l))return l.slice();return l}function i(u,l,f,m){if(!d.isUndefined(l))return n(u,l,f,m);else if(!d.isUndefined(u))return n(void 0,u,f,m)}function o(u,l){if(!d.isUndefined(l))return n(void 0,l)}function s(u,l){if(!d.isUndefined(l))return n(void 0,l);else if(!d.isUndefined(u))return n(void 0,u)}function a(u){let l=d.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!d.isUndefined(l))if(d.isPlainObject(l)){if(d.hasOwnProp(l,u))return l[u]}else return;let f=d.hasOwnProp(e,"transitional")?e.transitional:void 0;if(d.isPlainObject(f)&&d.hasOwnProp(f,u))return f[u];return}function c(u,l,f){if(d.hasOwnProp(t,f))return n(u,l);else if(d.hasOwnProp(e,f))return n(void 0,u)}let p={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:c,headers:(u,l,f)=>i(Wm(u),Wm(l),f,!0)};if(d.forEach(PT({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;let f=d.hasOwnProp(p,l)?p[l]:i,m=d.hasOwnProp(e,l)?e[l]:void 0,g=d.hasOwnProp(t,l)?t[l]:void 0,x=f(m,g,l);d.isUndefined(x)&&f!==c||(r[l]=x)}),d.hasOwnProp(t,"validateStatus")&&d.isUndefined(t.validateStatus)&&a("validateStatusUndefinedResolves")===!1)if(d.hasOwnProp(e,"validateStatus"))r.validateStatus=n(void 0,e.validateStatus);else delete r.validateStatus;return r}var IT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function jT(e){let t=rt({},e),r=(f)=>d.hasOwnProp(t,f)?t[f]:void 0,n=r("data"),i=r("withXSRFToken"),o=r("xsrfHeaderName"),s=r("xsrfCookieName"),a=r("headers"),c=r("auth"),p=r("baseURL"),u=r("allowAbsoluteUrls"),l=r("url");if(t.headers=a=Z.from(a),t.url=Qt(er(p,l,u,t),r("params"),r("paramsSerializer")),c){let f=d.getSafeProp(c,"username")||"",m=d.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(f+":"+(m?IT(m):"")))}catch(g){throw w.from(g,w.ERR_BAD_OPTION_VALUE,e)}}if(d.isFormData(n)){if(z.hasStandardBrowserEnv||z.hasStandardBrowserWebWorkerEnv||d.isReactNative(n))a.setContentType(void 0);else if(d.isFunction(n.getHeaders))Vn(a,n.getHeaders(),r("formDataHeaderPolicy"))}if(z.hasStandardBrowserEnv){if(d.isFunction(i))i=i(t);if(i===!0||i==null&&Hm(t.url)){let m=o&&s&&Jm.read(s);if(m)a.set(o,m)}}return t}var uo=jT;var LT=typeof XMLHttpRequest<"u",zm=LT&&function(e){return new Promise(function(r,n){let i=uo(e),o=i.data,s=Z.from(i.headers).normalize(),{responseType:a,onUploadProgress:c,onDownloadProgress:p}=i,u,l,f,m,g;function x(){m&&m(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function h(){if(!v)return;let E=Z.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:E,config:e,request:v};dt(function(K){r(K),x()},function(K){n(K),x()},O),v=null}if("onloadend"in v)v.onloadend=h;else v.onreadystatechange=function(){if(!v||v.readyState!==4)return;if(v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:")))return;setTimeout(h)};if(v.onabort=function(){if(!v)return;n(new w("Request aborted",w.ECONNABORTED,e,v)),x(),v=null},v.onerror=function(A){let O=A&&A.message?A.message:"Network Error",C=new w(O,w.ERR_NETWORK,e,v);C.event=A||null,n(C),x(),v=null},v.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",O=i.transitional||Pt;if(i.timeoutErrorMessage)A=i.timeoutErrorMessage;n(new w(A,O.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,v)),x(),v=null},o===void 0&&s.setContentType(null),"setRequestHeader"in v)d.forEach(kr(s),function(A,O){v.setRequestHeader(O,A)});if(!d.isUndefined(i.withCredentials))v.withCredentials=!!i.withCredentials;if(a&&a!=="json")v.responseType=i.responseType;if(p)[f,g]=bt(p,!0),v.addEventListener("progress",f);if(c&&v.upload)[l,m]=bt(c),v.upload.addEventListener("progress",l),v.upload.addEventListener("loadend",m);if(i.cancelToken||i.signal){if(u=(E)=>{if(!v)return;n(!E||E.type?new Ue(null,e,v):E),v.abort(),x(),v=null},i.cancelToken&&i.cancelToken.subscribe(u),i.signal)i.signal.aborted?u():i.signal.addEventListener("abort",u)}let b=Gn(i.url);if(b&&!z.protocols.includes(b)){n(new w("Unsupported protocol "+b+":",w.ERR_BAD_REQUEST,e)),x();return}v.send(o||null)})};var NT=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,i=function(c){if(!n){n=!0,s();let p=c instanceof Error?c:this.reason;r.abort(p instanceof w?p:new Ue(p instanceof Error?p.message:p))}},o=t&&setTimeout(()=>{o=null,i(new w(`timeout of ${t}ms exceeded`,w.ETIMEDOUT))},t),s=()=>{if(!e)return;o&&clearTimeout(o),o=null,e.forEach((c)=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null};e.forEach((c)=>{if(n)return;if(c.aborted){i.call(c);return}c.addEventListener("abort",i,{once:!0})});let{signal:a}=r;return a.unsubscribe=()=>d.asap(s),a},Mm=NT;var qT=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},DT=async function*(e,t){for await(let r of UT(e))yield*qT(r,t)},UT=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()}},gc=(e,t,r,n)=>{let i=DT(e,t),o=0,s,a=(c)=>{if(!s)s=!0,n&&n(c)};return new ReadableStream({async pull(c){try{let{done:p,value:u}=await i.next();if(p){a(),c.close();return}let l=u.byteLength;if(r){let f=o+=l;r(f)}c.enqueue(new Uint8Array(u))}catch(p){throw a(p),p}},cancel(c){return a(c),i.return()}},{highWaterMark:2})};var Gm=65536,{isFunction:lo}=d,FT=(e)=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),Vm=(e)=>{if(!d.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Xm=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},$T=(e)=>{let t=e.indexOf("://"),r=e;if(t!==-1)r=r.slice(t+3);return r.includes("@")||r.includes(":")},BT=(e)=>{let t=d.global!==void 0&&d.global!==null?d.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=d.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:o,Response:s}=e,a=i?lo(i):typeof fetch==="function",c=lo(o),p=lo(s);if(!a)return!1;let u=a&&lo(r),l=a&&(typeof n==="function"?((h)=>(b)=>h.encode(b))(new n):async(h)=>new Uint8Array(await new o(h).arrayBuffer())),f=c&&u&&Xm(()=>{let h=!1,b=new o(z.origin,{body:new r,method:"POST",get duplex(){return h=!0,"half"}}),E=b.headers.has("Content-Type");if(b.body!=null)b.body.cancel();return h&&!E}),m=p&&u&&Xm(()=>d.isReadableStream(new s("").body)),g={stream:m&&((h)=>h.body)};a&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((h)=>{!g[h]&&(g[h]=(b,E)=>{let A=b&&b[h];if(A)return A.call(b);throw new w(`Response type '${h}' is not supported`,w.ERR_NOT_SUPPORT,E)})})})();let x=async(h)=>{if(h==null)return 0;if(d.isBlob(h))return h.size;if(d.isSpecCompliantForm(h))return(await new o(z.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(d.isArrayBufferView(h)||d.isArrayBuffer(h))return h.byteLength;if(d.isURLSearchParams(h))h=h+"";if(d.isString(h))return(await l(h)).byteLength},v=async(h,b)=>{let E=d.toFiniteNumber(h.getContentLength());return E==null?x(b):E};return async(h)=>{let{url:b,method:E,data:A,signal:O,cancelToken:C,timeout:K,onDownloadProgress:te,onUploadProgress:F,responseType:I,headers:me,withCredentials:yt="same-origin",fetchOptions:Qe,maxContentLength:V,maxBodyLength:et}=uo(h),zt=d.isNumber(V)&&V>-1,Mt=d.isNumber(et)&&et>-1,Ni=(W)=>d.hasOwnProp(h,W)?h[W]:void 0,qi=i||fetch;I=I?(I+"").toLowerCase():"text";let ne=Mm([O,C&&C.toAbortSignal()],K),se=null,de=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()}),ut,gt=null,Gt=()=>new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,h,se);try{let W=void 0,Ae=Ni("auth");if(Ae){let L=d.getSafeProp(Ae,"username")||"",Re=d.getSafeProp(Ae,"password")||"";W={username:L,password:Re}}if($T(b)){let L=new URL(b,z.origin);if(!W&&(L.username||L.password)){let Re=Vm(L.username),k=Vm(L.password);W={username:Re,password:k}}if(L.username||L.password)L.username="",L.password="",b=L.href}if(W)me.delete("authorization"),me.set("Authorization","Basic "+btoa(FT((W.username||"")+":"+(W.password||""))));if(zt&&typeof b==="string"&&b.startsWith("data:")){if(dc(b)>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}if(Mt&&E!=="get"&&E!=="head"){let L=await x(A);if(typeof L==="number"&&isFinite(L)){if(ut=L,L>et)throw Gt()}}let wr=Mt&&(d.isReadableStream(A)||d.isStream(A)),lt=(L,Re,k)=>gc(L,Gm,(R)=>{if(Mt&&R>et)throw gt=Gt();Re&&Re(R)},k);if(f&&E!=="get"&&E!=="head"&&(F||wr)){if(ut=ut==null?await v(me,A):ut,ut!==0||wr){let L=new o(b,{method:"POST",body:A,duplex:"half"}),Re;if(d.isFormData(A)&&(Re=L.headers.get("content-type")))me.setContentType(Re);if(L.body){let[k,R]=F&&Fr(ut,bt($r(F)))||[];A=lt(L.body,k,R)}}}else if(wr&&!c&&u&&E!=="get"&&E!=="head")A=lt(A);else if(wr&&c&&!f&&E!=="get"&&E!=="head")throw new w("Stream request bodies are not supported by the current fetch implementation",w.ERR_NOT_SUPPORT,h,se);if(!d.isString(yt))yt=yt?"include":"omit";let Sn=c&&"credentials"in o.prototype;if(d.isFormData(A)){let L=me.getContentType();if(L&&/^multipart\/form-data/i.test(L)&&!/boundary=/i.test(L))me.delete("content-type")}me.set("User-Agent","axios/"+vt,!1);let An={...Qe,signal:ne,method:E.toUpperCase(),headers:kr(me.normalize()),body:A,duplex:"half",credentials:Sn?yt:void 0};se=c&&new o(b,An);let X=await(c?qi(se,Qe):qi(b,An)),kt=Z.from(X.headers);if(zt){let L=d.toFiniteNumber(kt.getContentLength());if(L!=null&&L>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}let Er=m&&(I==="stream"||I==="response");if(m&&X.body&&(te||zt||Er&&de)){let L={};["status","statusText","headers"].forEach((D)=>{L[D]=X[D]});let Re=d.toFiniteNumber(kt.getContentLength()),[k,R]=te&&Fr(Re,bt($r(te),!0))||[],B=0,ae=(D)=>{if(zt){if(B=D,B>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}k&&k(D)};X=new s(gc(X.body,Gm,ae,()=>{R&&R(),de&&de()}),L)}I=I||"text";let He=await g[d.findKey(g,I)||"text"](X,h);if(zt&&!m&&!Er){let L;if(He!=null){if(typeof He.byteLength==="number")L=He.byteLength;else if(typeof He.size==="number")L=He.size;else if(typeof He==="string")L=typeof n==="function"?new n().encode(He).byteLength:He.length}if(typeof L==="number"&&L>V)throw new w("maxContentLength size of "+V+" exceeded",w.ERR_BAD_RESPONSE,h,se)}return!Er&&de&&de(),await new Promise((L,Re)=>{dt(L,Re,{data:He,headers:Z.from(X.headers),status:X.status,statusText:X.statusText,config:h,request:se})})}catch(W){if(de&&de(),ne&&ne.aborted&&ne.reason instanceof w){let Ae=ne.reason;if(Ae.config=h,se&&(Ae.request=se),W!==Ae)Object.defineProperty(Ae,"cause",{__proto__:null,value:W,writable:!0,enumerable:!1,configurable:!0});throw Ae}if(gt)throw se&&!gt.request&&(gt.request=se),gt;if(W instanceof w)throw se&&!W.request&&(W.request=se),W;if(W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)){let Ae=new w("Network Error",w.ERR_NETWORK,h,se,W&&W.response);throw Object.defineProperty(Ae,"cause",{__proto__:null,value:W.cause||W,writable:!0,enumerable:!1,configurable:!0}),Ae}throw w.from(W,W&&W.code,h,se,W&&W.response)}}},KT=new Map,vc=(e)=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,o=[n,i,r],s=o.length,a=s,c,p,u=KT;while(a--)c=o[a],p=u.get(c),p===void 0&&u.set(c,p=a?new Map:BT(t)),u=p;return p},GU=vc();var bc={http:Km,xhr:zm,fetch:{get:vc}};d.forEach(bc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(r){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Ym=(e)=>`- ${e}`,JT=(e)=>d.isFunction(e)||e===null||e===!1;function WT(e,t){e=d.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,!JT(n)){if(i=bc[(a=String(n)).toLowerCase()],i===void 0)throw new w(`Unknown adapter '${a}'`)}if(i&&(d.isFunction(i)||(i=i.get(t))))break;o[a||"#"+s]=i}if(!i){let s=Object.entries(o).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build")),a=r?s.length>1?`since :
32
+ `+s.map(Ym).join(`
33
+ `):" "+Ym(s[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,w.ERR_NOT_SUPPORT)}return i}var fo={getAdapter:WT,adapters:bc};function wc(e){if(e.cancelToken)e.cancelToken.throwIfRequested();if(e.signal&&e.signal.aborted)throw new Ue(null,e)}function Yn(e){if(wc(e),e.headers=Z.from(e.headers),e.data=Un.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1)e.headers.setContentType("application/x-www-form-urlencoded",!1);return fo.getAdapter(e.adapter||Lr.adapter,e)(e).then(function(n){wc(e),e.response=n;try{n.data=Un.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=Z.from(n.headers),n},function(n){if(!Fn(n)){if(wc(e),n&&n.response){e.response=n.response;try{n.response.data=Un.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Z.from(n.response.headers)}}return Promise.reject(n)})}var mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Zm={};mo.transitional=function(t,r,n){function i(o,s){return"[Axios v"+vt+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(t===!1)throw new w(i(s," has been removed"+(r?" in "+r:"")),w.ERR_DEPRECATED);if(r&&!Zm[s])Zm[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}};mo.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function zT(e,t,r){if(typeof e!=="object"||e===null)throw new w("options must be an object",w.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 w("option "+o+" must be "+c,w.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new w("Unknown option "+o,w.ERR_BAD_OPTION)}}var Zn={assertOptions:zT,validators:mo};var Ce=Zn.validators;class Qn{constructor(e){this.defaults=e||{},this.interceptors={request:new _a,response:new _a}}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(`
34
+ `);return o===-1?"":n.stack.slice(o+1)})();try{if(!r.stack)r.stack=i;else if(i){let o=i.indexOf(`
35
+ `),s=o===-1?-1:i.indexOf(`
36
+ `,o+1),a=s===-1?"":i.slice(s+1);if(!String(r.stack).endsWith(a))r.stack+=`
37
+ `+i}}catch(o){}}throw r}}_request(e,t){if(typeof e==="string")t=t||{},t.url=e;else t=e||{};t=rt(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;if(r!==void 0)Zn.assertOptions(r,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean),legacyInterceptorReqResOrdering:Ce.transitional(Ce.boolean),advertiseZstdAcceptEncoding:Ce.transitional(Ce.boolean),validateStatusUndefinedResolves:Ce.transitional(Ce.boolean)},!1);if(n!=null)if(d.isFunction(n))t.paramsSerializer={serialize:n};else Zn.assertOptions(n,{encode:Ce.function,serialize:Ce.function},!0);if(t.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else t.allowAbsoluteUrls=!0;Zn.assertOptions(t,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&d.merge(i.common,i[t.method]);i&&d.forEach(["delete","get","head","post","put","patch","query","common"],(m)=>{delete i[m]}),t.headers=Z.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen==="function"&&g.runWhen(t)===!1)return;a=a&&g.synchronous;let x=t.transitional||Pt;if(x&&x.legacyInterceptorReqResOrdering)s.unshift(g.fulfilled,g.rejected);else s.push(g.fulfilled,g.rejected)});let c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let p,u=0,l;if(!a){let m=[Yn.bind(this),void 0];m.unshift(...s),m.push(...c),l=m.length,p=Promise.resolve(t);while(u<l)p=p.then(m[u++],m[u++]);return p}l=s.length;let f=t;while(u<l){let m=s[u++],g=s[u++];try{f=m?m(f):f}catch(x){if(!g){p=Promise.reject(x);break}try{let v=g.call(this,x);if(d.isThenable(v))p=Promise.resolve(v).then(()=>Yn.call(this,f))}catch(v){p=Promise.reject(v)}break}}if(!p)try{p=Yn.call(this,f)}catch(m){p=Promise.reject(m)}u=0,l=c.length;while(u<l)p=p.then(c[u++],c[u++]);return p}getUri(e){e=rt(this.defaults,e);let t=er(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Qt(t,e.params,e.paramsSerializer)}}d.forEach(["delete","get","head","options"],function(t){Qn.prototype[t]=function(r,n){return this.request(rt(n||{},{method:t,url:r,data:n&&d.hasOwnProp(n,"data")?n.data:void 0}))}});d.forEach(["post","put","patch","query"],function(t){function r(n){return function(o,s,a){return this.request(rt(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}if(Qn.prototype[t]=r(),t!=="query")Qn.prototype[t+"Form"]=r(!0)});var ei=Qn;class Ec{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 Ue(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 Ec(function(n){e=n}),cancel:e}}}var Qm=Ec;function Sc(e){return function(r){return e.apply(null,r)}}function Ac(e){return d.isObject(e)&&e.isAxiosError===!0}var Rc={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Rc).forEach(([e,t])=>{Rc[t]=e});var eh=Rc;function th(e){let t=new ei(e),r=_n(ei.prototype.request,t);return d.extend(r,ei.prototype,t,{allOwnKeys:!0}),d.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return th(rt(e,i))},r}var he=th(Lr);he.Axios=ei;he.CanceledError=Ue;he.CancelToken=Qm;he.isCancel=Fn;he.VERSION=vt;he.toFormData=Ct;he.AxiosError=w;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=Sc;he.isAxiosError=Ac;he.mergeConfig=rt;he.AxiosHeaders=Z;he.formToJSON=(e)=>eo(d.isHTMLForm(e)?new FormData(e):e);he.getAdapter=fo.getAdapter;he.HttpStatusCode=eh;he.default=he;var Tc=he;var MT=Tc.create({httpsAgent:new rh.Agent({keepAlive:!0})});async function nh(e,t,r,n){let i=0;while(!0){++i;try{return await MT.post(e,t,r)}catch(o){if(n.debug(`HTTP POST to ${e} failed (attempt ${i}):`),n.debug(o.response?.data||o),i>=5)throw n.error(`No success after ${i} attempts, seizing further attempts`),o;if(i>=2)n.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((s)=>setTimeout(s,25*(2**i+Math.random()*i))),n.debug("Done waiting, will try HTTP POST again now")}}}var ih=`<!DOCTYPE html>
35
38
  <html lang="en">
36
39
  <head>
37
40
  <meta charset="utf-8" />
@@ -51,4 +54,4 @@ var Wq=Object.create;var{getPrototypeOf:Kq,defineProperty:Za,getOwnPropertyNames
51
54
  </p>
52
55
  </body>
53
56
  </html>
54
- `;var xf=require("node:fs"),vs=Q(require("node:path")),rf=require("node:url");var BJ=(()=>{let i=function(){};return i.prototype=Object.create(null),i})();function fs(i,n){let c=new BJ,a=i.length;if(a<2)return c;let p=n?.decode||kJ,s=0;do{let e=gJ(i,s,a);if(e===a)break;let u=FJ(i,s,a);if(e>u){s=i.lastIndexOf(";",e-1)+1;continue}let o=df(i,s,e);if(c[o]===void 0)c[o]=p(df(i,e+1,u));s=u+1}while(s<a);return c}function FJ(i,n,c){let a=i.indexOf(";",n);return a===-1?c:a}function gJ(i,n,c){let a=i.indexOf("=",n);return a===-1?c:a}function df(i,n,c){if(n===c)return"";let a=n,p=c;do{let s=i.charCodeAt(a);if(s!==32&&s!==9)break}while(++a<p);while(p>a){let s=i.charCodeAt(p-1);if(s!==32&&s!==9)break;p--}return i.slice(a,p)}function kJ(i){if(i.indexOf("%")===-1)return i;try{return decodeURIComponent(i)}catch(n){return i}}var Oo;((s)=>{s[s.none=0]="none";s[s.error=10]="error";s[s.warn=20]="warn";s[s.info=30]="info";s[s.debug=40]="debug"})(Oo||={});class Ao{logLevel;constructor(i){this.logLevel=i}jsonify(i){return i.map((n)=>{if(typeof n==="object")try{return JSON.stringify(n)}catch{return n}return n})}info(...i){if(this.logLevel>=30)console.log(...this.jsonify(i))}warn(...i){if(this.logLevel>=20)console.warn(...this.jsonify(i))}error(...i){if(this.logLevel>=10)console.error(...this.jsonify(i))}debug(...i){if(this.logLevel>=40)console.trace(...this.jsonify(i))}}var UJ=rf.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),QJ=vs.dirname(UJ);function No(){let n=process.env.LAMBDA_TASK_ROOT||QJ,c=vs.join(n,"config.json");console.log("Loading config from",c);let a=JSON.parse(xf.readFileSync(c,"utf-8")),s=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(a.userPoolId)[1]}.amazonaws.com/${a.userPoolId}`,e=`${s}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt(fs(a.cookieSettings.nonce.toLowerCase())["max-age"]??"",10)||86400,...a,tokenIssuer:s,tokenJwksUri:e,logger:new Ao(Oo[a.logLevel])}}function i3(i){return Object.entries(i).reduce((n,[c,a])=>Object.assign(n,{[c.toLowerCase()]:[{key:c,value:a}]}),{})}function yo(i,n){let c=n?.cookies?{"set-cookie":n.cookies.map((a)=>({key:"set-cookie",value:a}))}:{};return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:i}],...c}}}function lf(i){return{body:n3(i),status:i.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function n3(i){let n={...i,region:process.env.AWS_REGION};return mf.replace(/\${([^}]*)}/g,(c,a)=>n[a]||"")}function ff(i,n){if(!n)throw Error("Expected response value");return{...n,headers:{...n.headers??{},...i3(i.httpHeaders)}}}function vf(i){let n;return async(c)=>{if(!n)n=No();n.logger.debug("Handling event:",c);let a=ff(n,await i(n,c));return n.logger.debug("Returning response:",a),a}}function _N(i){let n;return async(c)=>{if(!n)n=No();n.logger.debug("Handling event:",c);let a=ff(n,await i(n,c));return n.logger.debug("Returning response:",a),a}}var yd=Q(L4(),1),wq=Q(vq(),1),Nd;function kH(i){return"rsaPublicKey"in i}async function UH(i,n){if(!Nd)Nd=wq.default({cache:!0,rateLimit:!0,jwksUri:i});let c=await Nd.getSigningKey(n);return kH(c)?c.rsaPublicKey:c.publicKey}async function FR(i,n,c,a){let p=yd.default.decode(i,{complete:!0});if(!p||typeof p==="string")return{validationError:Error("Cannot parse JWT token")};let s=p.header.kid;if(!s)return{validationError:Error("JWT header is missing 'kid' claim")};let e=await UH(n,s);if(e instanceof Error)return{validationError:e};let u={audience:a,issuer:c,ignoreExpiration:!1};return new Promise((o)=>yd.default.verify(i,e,u,(t)=>t?o({validationError:t}):o(void 0)))}function bq(i){let c=i.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(c,"base64").toString())}function QH(i){if(!i.cookie)return{};return i.cookie.reduce((c,a)=>({...c,...fs(a.value)}),{})}function $c(i,n){if(n.toLowerCase().indexOf("domain")===-1)return`${n}; Domain=.${i}`;return n}function qq(i,n){let c=QH(i);if(!c)return{};let a=`CognitoIdentityServiceProvider.${n}`,p=c[`${a}.LastAuthUser`];return{tokenUserName:p,idToken:c[`${a}.${p??""}.idToken`],accessToken:c[`${a}.${p??""}.accessToken`],refreshToken:c[`${a}.${p??""}.refreshToken`],scopes:c[`${a}.${p??""}.tokenScopesString`],nonce:c["spa-auth-edge-nonce"],nonceHmac:c["spa-auth-edge-nonce-hmac"],pkce:c["spa-auth-edge-pkce"]}}function Rd(i){let n=bq(i.tokens.idToken),c=n["cognito:username"],a=`CognitoIdentityServiceProvider.${i.clientId}`,p=`${a}.${c}.idToken`,s=`${a}.${c}.accessToken`,e=`${a}.${c}.refreshToken`,u=`${a}.LastAuthUser`,o=`${a}.${c}.tokenScopesString`,t=i.oauthScopes.join(" "),m=`${a}.${c}.userData`,d=JSON.stringify({UserAttributes:[{Name:"sub",Value:n.sub},{Name:"email",Value:n.email}],Username:c}),l={[p]:`${i.tokens.idToken}; ${$c(i.domainName,i.cookieSettings.idToken)}`,[s]:`${i.tokens.accessToken}; ${$c(i.domainName,i.cookieSettings.accessToken)}`,[e]:`${i.tokens.refreshToken}; ${$c(i.domainName,i.cookieSettings.refreshToken)}`,[u]:`${c}; ${$c(i.domainName,i.cookieSettings.idToken)}`,[o]:`${t}; ${$c(i.domainName,i.cookieSettings.accessToken)}`,[m]:`${encodeURIComponent(d)}; ${$c(i.domainName,i.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${$c(i.domainName,i.cookieSettings.accessToken)}`};if(i.event==="signOut")Object.keys(l).forEach((f)=>l[f]=Ed(l[f]));else if(i.event==="refreshFailed")l[e]=Ed(l[e]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((f)=>{l[f]=Ed(l[f])}),Object.entries(l).map(([f,v])=>`${f}=${v}`)}function Ed(i=""){let n=i.split(";").map((a)=>a.trim()).filter((a)=>!a.toLowerCase().startsWith("max-age")).filter((a)=>!a.toLowerCase().startsWith("expires")),c=`Expires=${new Date(0).toUTCString()}`;return["",...n.slice(1),c].join("; ")}var iM=vf(async(i,n)=>{let c=n.Records[0].cf.request,a=c.headers.host[0].value,p=`https://${a}`;function s(b){return lf({title:"Refresh issue",message:"We can't refresh your sign-in because of a technical problem.",details:b,linkHref:p,linkText:"Try again",statusCode:"400"})}let{requestedUri:e,nonce:u}=Object.fromEntries(new URLSearchParams(c.querystring).entries());p+=e??"";let{idToken:o,accessToken:t,refreshToken:m,nonce:d}=qq(c.headers,i.clientId);if(!o||!t||!m)return s("Some of idToken, accessToken and/or refreshToken was not found");try{nM(u,d,o,t,m)}catch(b){return s(`Failed to refresh tokens: ${b}`)}let l={"Content-Type":"application/x-www-form-urlencoded"};if(i.clientSecret!==""){let b=Buffer.from(`${i.clientId}:${i.clientSecret}`).toString("base64");l.Authorization=`Basic ${b}`}let f;try{f=await tf(`https://${i.cognitoAuthDomain}/oauth2/token`,new URLSearchParams({grant_type:"refresh_token",client_id:i.clientId,refresh_token:m}).toString(),{headers:l},i.logger)}catch(b){return yo(p,{cookies:Rd({event:"refreshFailed",tokens:{idToken:o,accessToken:t,refreshToken:m},domainName:a,...i})})}let v={idToken:f.data.id_token,accessToken:f.data.access_token,refreshToken:m};return yo(p,{cookies:Rd({event:"newTokens",tokens:v,domainName:a,...i})})});function nM(i,n,c,a,p){if(!n)throw Error("Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF).");if(i!==n)throw Error("Nonce mismatch");Object.entries({idToken:c,accessToken:a,refreshToken:p}).forEach(([s,e])=>{if(!e)throw Error(`Missing ${s}`)})}
57
+ `;var sh=require("node:fs"),xo=pe(require("node:path")),ah=require("node:url");var VT=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function ho(e,t){let r=new VT,n=e.length;if(n<2)return r;let i=t?.decode||ZT,o=0;do{let s=YT(e,o,n);if(s===n)break;let a=XT(e,o,n);if(s>a){o=e.lastIndexOf(";",s-1)+1;continue}let c=oh(e,o,s);if(r[c]===void 0)r[c]=i(oh(e,s+1,a));o=a+1}while(o<n);return r}function XT(e,t,r){let n=e.indexOf(";",t);return n===-1?r:n}function YT(e,t,r){let n=e.indexOf("=",t);return n===-1?r:n}function oh(e,t,r){if(t===r)return"";let n=t,i=r;do{let o=e.charCodeAt(n);if(o!==32&&o!==9)break}while(++n<i);while(i>n){let o=e.charCodeAt(i-1);if(o!==32&&o!==9)break;i--}return e.slice(n,i)}function ZT(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch(t){return e}}var Br={none:0,error:10,warn:20,info:30,debug:40};class _c{logLevel;constructor(e){this.logLevel=e}jsonify(e){return e.map((t)=>{if(typeof t==="object")try{return JSON.stringify(t)}catch{return t}return t})}info(...e){if(this.logLevel>=Br.info)console.log(...this.jsonify(e))}warn(...e){if(this.logLevel>=Br.warn)console.warn(...this.jsonify(e))}error(...e){if(this.logLevel>=Br.error)console.error(...this.jsonify(e))}debug(...e){if(this.logLevel>=Br.debug)console.trace(...this.jsonify(e))}}var QT=ah.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),e_=xo.dirname(QT);function kc(){let t=process.env.LAMBDA_TASK_ROOT||e_,r=xo.join(t,"config.json");console.log("Loading config from",r);let n=JSON.parse(sh.readFileSync(r,"utf-8")),o=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(n.userPoolId)[1]}.amazonaws.com/${n.userPoolId}`,s=`${o}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt(ho(n.cookieSettings.nonce.toLowerCase())["max-age"]??"",10)||86400,...n,tokenIssuer:o,tokenJwksUri:s,logger:new _c(Br[n.logLevel])}}function t_(e){return Object.entries(e).reduce((t,[r,n])=>Object.assign(t,{[r.toLowerCase()]:[{key:r,value:n}]}),{})}function Oc(e,t){let r=t?.cookies?{"set-cookie":t.cookies.map((n)=>({key:"set-cookie",value:n}))}:{};return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:e}],...r}}}function ch(e){return{body:r_(e),status:e.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function r_(e){let t={...e,region:process.env.AWS_REGION};return ih.replace(/\${([^}]*)}/g,(r,n)=>t[n]||"")}function ph(e,t){if(!t)throw Error("Expected response value");return{...t,headers:{...t.headers??{},...t_(e.httpHeaders)}}}function uh(e){let t;return async(r)=>{if(!t)t=kc();t.logger.debug("Handling event:",r);let n=ph(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}function r$(e){let t;return async(r)=>{if(!t)t=kc();t.logger.debug("Handling event:",r);let n=ph(t,await e(t,r));return t.logger.debug("Returning response:",n),n}}var qu=pe(Bg(),1),vE=pe(gE(),1),Nu;function PN(e){return"rsaPublicKey"in e}async function IN(e,t){if(!Nu)Nu=vE.default({cache:!0,rateLimit:!0,jwksUri:e});let r=await Nu.getSigningKey(t);return PN(r)?r.rsaPublicKey:r.publicKey}async function WW(e,t,r,n){let i=qu.default.decode(e,{complete:!0});if(!i||typeof i==="string")return{validationError:Error("Cannot parse JWT token")};let o=i.header.kid;if(!o)return{validationError:Error("JWT header is missing 'kid' claim")};let s=await IN(t,o);if(s instanceof Error)return{validationError:s};let a={audience:n,issuer:r,ignoreExpiration:!1};return new Promise((c)=>qu.default.verify(e,s,a,(p)=>p?c({validationError:p}):c(void 0)))}function bE(e){let r=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(r,"base64").toString())}function jN(e){if(!e.cookie)return{};return e.cookie.reduce((r,n)=>({...r,...ho(n.value)}),{})}function br(e,t){if(t.toLowerCase().indexOf("domain")===-1)return`${t}; Domain=.${e}`;return t}function wE(e,t){let r=jN(e);if(!r)return{};let n=`CognitoIdentityServiceProvider.${t}`,i=r[`${n}.LastAuthUser`];return{tokenUserName:i,idToken:r[`${n}.${i??""}.idToken`],accessToken:r[`${n}.${i??""}.accessToken`],refreshToken:r[`${n}.${i??""}.refreshToken`],scopes:r[`${n}.${i??""}.tokenScopesString`],nonce:r["spa-auth-edge-nonce"],nonceHmac:r["spa-auth-edge-nonce-hmac"],pkce:r["spa-auth-edge-pkce"]}}function Uu(e){let t=bE(e.tokens.idToken),r=t["cognito:username"],n=`CognitoIdentityServiceProvider.${e.clientId}`,i=`${n}.${r}.idToken`,o=`${n}.${r}.accessToken`,s=`${n}.${r}.refreshToken`,a=`${n}.LastAuthUser`,c=`${n}.${r}.tokenScopesString`,p=e.oauthScopes.join(" "),u=`${n}.${r}.userData`,l=JSON.stringify({UserAttributes:[{Name:"sub",Value:t.sub},{Name:"email",Value:t.email}],Username:r}),f={[i]:`${e.tokens.idToken}; ${br(e.domainName,e.cookieSettings.idToken)}`,[o]:`${e.tokens.accessToken}; ${br(e.domainName,e.cookieSettings.accessToken)}`,[s]:`${e.tokens.refreshToken}; ${br(e.domainName,e.cookieSettings.refreshToken)}`,[a]:`${r}; ${br(e.domainName,e.cookieSettings.idToken)}`,[c]:`${p}; ${br(e.domainName,e.cookieSettings.accessToken)}`,[u]:`${encodeURIComponent(l)}; ${br(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${br(e.domainName,e.cookieSettings.accessToken)}`};if(e.event==="signOut")Object.keys(f).forEach((m)=>f[m]=Du(f[m]));else if(e.event==="refreshFailed")f[s]=Du(f[s]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((m)=>{f[m]=Du(f[m])}),Object.entries(f).map(([m,g])=>`${m}=${g}`)}function Du(e=""){let t=e.split(";").map((n)=>n.trim()).filter((n)=>!n.toLowerCase().startsWith("max-age")).filter((n)=>!n.toLowerCase().startsWith("expires")),r=`Expires=${new Date(0).toUTCString()}`;return["",...t.slice(1),r].join("; ")}var LN=uh(async(e,t)=>{let r=t.Records[0].cf.request,n=r.headers.host[0].value,i=`https://${n}`;function o(x){return ch({title:"Refresh issue",message:"We can't refresh your sign-in because of a technical problem.",details:x,linkHref:i,linkText:"Try again",statusCode:"400"})}let{requestedUri:s,nonce:a}=Object.fromEntries(new URLSearchParams(r.querystring).entries());i+=s??"";let{idToken:c,accessToken:p,refreshToken:u,nonce:l}=wE(r.headers,e.clientId);if(!c||!p||!u)return o("Some of idToken, accessToken and/or refreshToken was not found");try{NN(a,l,c,p,u)}catch(x){return o(`Failed to refresh tokens: ${x}`)}let f={"Content-Type":"application/x-www-form-urlencoded"};if(e.clientSecret!==""){let x=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");f.Authorization=`Basic ${x}`}let m;try{m=await nh(`https://${e.cognitoAuthDomain}/oauth2/token`,new URLSearchParams({grant_type:"refresh_token",client_id:e.clientId,refresh_token:u}).toString(),{headers:f},e.logger)}catch(x){return Oc(i,{cookies:Uu({event:"refreshFailed",tokens:{idToken:c,accessToken:p,refreshToken:u},domainName:n,...e})})}let g={idToken:m.data.id_token,accessToken:m.data.access_token,refreshToken:u};return Oc(i,{cookies:Uu({event:"newTokens",tokens:g,domainName:n,...e})})});function NN(e,t,r,n,i){if(!t)throw Error("Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF).");if(e!==t)throw Error("Nonce mismatch");Object.entries({idToken:r,accessToken:n,refreshToken:i}).forEach(([o,s])=>{if(!s)throw Error(`Missing ${o}`)})}