From 28f365075ff0832510c3ae01d6f0ba60fd6bba23 Mon Sep 17 00:00:00 2001 From: Nils Date: Mon, 8 Jan 2024 02:00:10 +0100 Subject: [PATCH] Added dist for publishing --- .../directus-extension-auto-translation/.gitignore | 2 +- .../directus-extension-auto-translation/dist/index.js | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 dev/extensions/directus-extension-auto-translation/dist/index.js diff --git a/dev/extensions/directus-extension-auto-translation/.gitignore b/dev/extensions/directus-extension-auto-translation/.gitignore index 8d67a86..b6df2dd 100644 --- a/dev/extensions/directus-extension-auto-translation/.gitignore +++ b/dev/extensions/directus-extension-auto-translation/.gitignore @@ -1,3 +1,3 @@ .DS_Store node_modules -dist +!dist diff --git a/dev/extensions/directus-extension-auto-translation/dist/index.js b/dev/extensions/directus-extension-auto-translation/dist/index.js new file mode 100644 index 0000000..ea61036 --- /dev/null +++ b/dev/extensions/directus-extension-auto-translation/dist/index.js @@ -0,0 +1,10 @@ +import e from"util";import n from"stream";import a from"path";import t from"http";import i from"https";import s from"url";import o from"fs";import r from"assert";import c from"tty";import l from"os";import p from"zlib";import u from"events";var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f=n.Stream,h=v;function v(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.inherits(v,f),v.create=function(e,n){var a=new this;for(var t in n=n||{})a[t]=n[t];a.source=e;var i=e.emit;return e.emit=function(){return a._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),a.pauseStream&&e.pause(),a},Object.defineProperty(v.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),v.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},v.prototype.resume=function(){this._released||this.release(),this.source.resume()},v.prototype.pause=function(){this.source.pause()},v.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},v.prototype.pipe=function(){var e=f.prototype.pipe.apply(this,arguments);return this.resume(),e},v.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},v.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var x=e,g=n.Stream,b=h,y=_;function _(){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}x.inherits(_,g),_.create=function(e){var n=new this;for(var a in e=e||{})n[a]=e[a];return n},_.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},_.prototype.append=function(e){if(_.isStreamLike(e)){if(!(e instanceof b)){var n=b.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},_.prototype.pipe=function(e,n){return g.prototype.pipe.call(this,e,n),this.resume(),e},_.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},_.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){_.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},_.prototype._pipeNext=function(e){if(this._currentStream=e,_.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},_.prototype._handleErrors=function(e){var n=this;e.on("error",(function(e){n._emitError(e)}))},_.prototype.write=function(e){this.emit("data",e)},_.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},_.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},_.prototype.end=function(){this._reset(),this.emit("end")},_.prototype.destroy=function(){this._reset(),this.emit("close")},_.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},_.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},_.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(n){n.dataSize&&(e.dataSize+=n.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},_.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var w={},k={"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}}; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ +!function(e){var n=k,t=a.extname,i=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function o(e){if(!e||"string"!=typeof e)return!1;var a=i.exec(e),t=a&&n[a[1].toLowerCase()];return t&&t.charset?t.charset:!(!a||!s.test(a[1]))&&"UTF-8"}e.charset=o,e.charsets={lookup:o},e.contentType=function(n){if(!n||"string"!=typeof n)return!1;var a=-1===n.indexOf("/")?e.lookup(n):n;if(!a)return!1;if(-1===a.indexOf("charset")){var t=e.charset(a);t&&(a+="; charset="+t.toLowerCase())}return a},e.extension=function(n){if(!n||"string"!=typeof n)return!1;var a=i.exec(n),t=a&&e.extensions[a[1].toLowerCase()];if(!t||!t.length)return!1;return t[0]},e.extensions=Object.create(null),e.lookup=function(n){if(!n||"string"!=typeof n)return!1;var a=t("x."+n).toLowerCase().substr(1);if(!a)return!1;return e.types[a]||!1},e.types=Object.create(null),function(e,a){var t=["nginx","apache",void 0,"iana"];Object.keys(n).forEach((function(i){var s=n[i],o=s.extensions;if(o&&o.length){e[i]=o;for(var r=0;rp||l===p&&"application/"===a[c].substr(0,12)))continue}a[c]=i}}}))}(e.extensions,e.types)}(w);var E=function(e){var n="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;n?n(e):setTimeout(e,0)},j=function(e){var n=!1;return E((function(){n=!0})),function(a,t){n?e(a,t):E((function(){e(a,t)}))}};var S=function(e){Object.keys(e.jobs).forEach(T.bind(e)),e.jobs={}};function T(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var C=j,O=S,A=function(e,n,a,t){var i=a.keyedList?a.keyedList[a.index]:a.index;a.jobs[i]=function(e,n,a,t){var i;i=2==e.length?e(a,C(t)):e(a,n,C(t));return i}(n,i,e[i],(function(e,n){i in a.jobs&&(delete a.jobs[i],e?O(a):a.results[i]=n,t(e,a.results))}))};var L=function(e,n){var a=!Array.isArray(e),t={index:0,keyedList:a||n?Object.keys(e):null,jobs:{},results:a?{}:[],size:a?Object.keys(e).length:e.length};n&&t.keyedList.sort(a?n:function(a,t){return n(e[a],e[t])});return t};var R=S,N=j,I=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,R(this),N(e)(null,this.results)};var D=A,F=L,B=I,U=function(e,n,a){var t=F(e);for(;t.index<(t.keyedList||e).length;)D(e,n,t,(function(e,n){e?a(e,n):0!==Object.keys(t.jobs).length||a(null,t.results)})),t.index++;return B.bind(t,a)};var P={exports:{}},z=A,q=L,M=I;function Z(e,n){return en?1:0}P.exports=function(e,n,a,t){var i=q(e,a);return z(e,n,i,(function a(s,o){s?t(s,o):(i.index++,i.index<(i.keyedList||e).length?z(e,n,i,a):t(null,i.results))})),M.bind(i,t)},P.exports.ascending=Z,P.exports.descending=function(e,n){return-1*Z(e,n)};var $=P.exports,G=$;var K={parallel:U,serial:function(e,n,a){return G(e,n,null,a)},serialOrdered:$},V=y,H=e,W=a,J=t,Y=i,X=s.parse,Q=o,ee=n.Stream,ne=w,ae=K,te=function(e,n){return Object.keys(n).forEach((function(a){e[a]=e[a]||n[a]})),e},ie=se;function se(e){if(!(this instanceof se))return new se(e);for(var n in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],V.call(this),e=e||{})this[n]=e[n]}H.inherits(se,V),se.LINE_BREAK="\r\n",se.DEFAULT_CONTENT_TYPE="application/octet-stream",se.prototype.append=function(e,n,a){"string"==typeof(a=a||{})&&(a={filename:a});var t=V.prototype.append.bind(this);if("number"==typeof n&&(n=""+n),H.isArray(n))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(e,n,a),s=this._multiPartFooter();t(i),t(n),t(s),this._trackLength(i,n,a)}},se.prototype._trackLength=function(e,n,a){var t=0;null!=a.knownLength?t+=+a.knownLength:Buffer.isBuffer(n)?t=n.length:"string"==typeof n&&(t=Buffer.byteLength(n)),this._valueLength+=t,this._overheadLength+=Buffer.byteLength(e)+se.LINE_BREAK.length,n&&(n.path||n.readable&&n.hasOwnProperty("httpVersion")||n instanceof ee)&&(a.knownLength||this._valuesToMeasure.push(n))},se.prototype._lengthRetriever=function(e,n){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?n(null,e.end+1-(e.start?e.start:0)):Q.stat(e.path,(function(a,t){var i;a?n(a):(i=t.size-(e.start?e.start:0),n(null,i))})):e.hasOwnProperty("httpVersion")?n(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),n(null,+a.headers["content-length"])})),e.resume()):n("Unknown stream")},se.prototype._multiPartHeader=function(e,n,a){if("string"==typeof a.header)return a.header;var t,i=this._getContentDisposition(n,a),s=this._getContentType(n,a),o="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(s||[])};for(var c in"object"==typeof a.header&&te(r,a.header),r)r.hasOwnProperty(c)&&null!=(t=r[c])&&(Array.isArray(t)||(t=[t]),t.length&&(o+=c+": "+t.join("; ")+se.LINE_BREAK));return"--"+this.getBoundary()+se.LINE_BREAK+o+se.LINE_BREAK},se.prototype._getContentDisposition=function(e,n){var a,t;return"string"==typeof n.filepath?a=W.normalize(n.filepath).replace(/\\/g,"/"):n.filename||e.name||e.path?a=W.basename(n.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=W.basename(e.client._httpMessage.path||"")),a&&(t='filename="'+a+'"'),t},se.prototype._getContentType=function(e,n){var a=n.contentType;return!a&&e.name&&(a=ne.lookup(e.name)),!a&&e.path&&(a=ne.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!n.filepath&&!n.filename||(a=ne.lookup(n.filepath||n.filename)),a||"object"!=typeof e||(a=se.DEFAULT_CONTENT_TYPE),a},se.prototype._multiPartFooter=function(){return function(e){var n=se.LINE_BREAK;0===this._streams.length&&(n+=this._lastBoundary()),e(n)}.bind(this)},se.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+se.LINE_BREAK},se.prototype.getHeaders=function(e){var n,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in e)e.hasOwnProperty(n)&&(a[n.toLowerCase()]=e[n]);return a},se.prototype.setBoundary=function(e){this._boundary=e},se.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},se.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),n=this.getBoundary(),a=0,t=this._streams.length;a=1.5*a;return Math.round(e/a)+" "+t+(i?"s":"")}return ue=function(r,c){c=c||{};var l=typeof r;if("string"===l&&r.length>0)return function(o){if(o=String(o),o.length>100)return;var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!r)return;var c=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*i;case"days":case"day":case"d":return c*t;case"hours":case"hour":case"hrs":case"hr":case"h":return c*a;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(r);if("number"===l&&isFinite(r))return c.long?function(i){var s=Math.abs(i);if(s>=t)return o(i,s,t,"day");if(s>=a)return o(i,s,a,"hour");if(s>=n)return o(i,s,n,"minute");if(s>=e)return o(i,s,e,"second");return i+" ms"}(r):function(i){var s=Math.abs(i);if(s>=t)return Math.round(i/t)+"d";if(s>=a)return Math.round(i/a)+"h";if(s>=n)return Math.round(i/n)+"m";if(s>=e)return Math.round(i/e)+"s";return i+"ms"}(r);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(r))},ue}function ye(){if(fe)return me;return fe=1,me=function(e){function n(e){let t,i,s,o=null;function r(...e){if(!r.enabled)return;const a=r,i=Number(new Date),s=i-(t||i);a.diff=s,a.prev=t,a.curr=i,t=i,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,i)=>{if("%%"===t)return"%";o++;const s=n.formatters[i];if("function"==typeof s){const n=e[o];t=s.call(a,n),e.splice(o,1),o--}return t})),n.formatArgs.call(a,e);(a.log||n.log).apply(a,e)}return r.namespace=e,r.useColors=n.useColors(),r.color=n.selectColor(e),r.extend=a,r.destroy=n.destroy,Object.defineProperty(r,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==n.namespaces&&(i=n.namespaces,s=n.enabled(e)),s),set:e=>{o=e}}),"function"==typeof n.init&&n.init(r),r}function a(e,a){const t=n(this.namespace+(void 0===a?":":a)+e);return t.log=this.log,t}function t(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names.map(t),...n.skips.map(t).map((e=>"-"+e))].join(",");return n.enable(""),e},n.enable=function(e){let a;n.save(e),n.namespaces=e,n.names=[],n.skips=[];const t=("string"==typeof e?e:"").split(/[\s,]+/),i=t.length;for(a=0;a{n[a]=e[a]})),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(e){let a=0;for(let n=0;n{n=n||process.argv;const a=e.startsWith("-")?"":1===e.length?"-":"--",t=n.indexOf(a+e),i=n.indexOf("--");return-1!==t&&(-1===i||t=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in a))||"codeship"===a.CI_NAME?1:s;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:(a.TERM,s)}(i);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(s)}return n("no-color")||n("no-colors")||n("color=false")?t=!1:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(t=!0),"FORCE_COLOR"in a&&(t=0===a.FORCE_COLOR.length||0!==parseInt(a.FORCE_COLOR,10)),ke={supportsColor:i,stdout:i(process.stdout),stderr:i(process.stderr)}}function Le(){return je||(je=1,function(n,a){const t=c,i=e;a.init=function(e){e.inspectOpts={};const n=Object.keys(a.inspectOpts);for(let t=0;t{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),a.colors=[6,2,3,4,5,1];try{const e=Ae();e&&(e.stderr||e).level>=2&&(a.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){}a.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,n)=>{const a=n.substring(6).toLowerCase().replace(/_([a-z])/g,((e,n)=>n.toUpperCase()));let t=process.env[n];return t=!!/^(yes|on|true|enabled)$/i.test(t)||!/^(no|off|false|disabled)$/i.test(t)&&("null"===t?null:Number(t)),e[a]=t,e}),{}),n.exports=ye()(a);const{formatters:s}=n.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}}(Ce,Ce.exports)),Ce.exports}function Re(){return Se||(Se=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?xe.exports=(he||(he=1,function(e,n){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const a="color: "+this.color;n.splice(1,0,a,"color: inherit");let t=0,i=0;n[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(t++,"%c"===e&&(i=t))})),n.splice(i,0,a)},n.save=function(e){try{e?n.storage.setItem("debug",e):n.storage.removeItem("debug")}catch(e){}},n.load=function(){let e;try{e=n.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},n.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},n.storage=function(){try{return localStorage}catch(e){}}(),n.destroy=(()=>{let e=!1;return()=>{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`."))}})(),n.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"],n.log=console.debug||console.log||(()=>{}),e.exports=ye()(n);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(ge,ge.exports)),ge.exports):xe.exports=Le()),xe.exports}var Ne=s,Ie=Ne.URL,De=t,Fe=i,Be=n.Writable,Ue=r,Pe=function(){if(!Te){try{Te=Re()("follow-redirects")}catch(e){}"function"!=typeof Te&&(Te=function(){})}Te.apply(null,arguments)},ze=!1;try{Ue(new Ie)}catch(e){ze="ERR_INVALID_URL"===e.code}var qe=["auth","host","hostname","href","path","pathname","port","protocol","query","search"],Me=["abort","aborted","connect","error","socket","timeout"],Ze=Object.create(null);Me.forEach((function(e){Ze[e]=function(n,a,t){this._redirectable.emit(e,n,a,t)}}));var $e=tn("ERR_INVALID_URL","Invalid URL",TypeError),Ge=tn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Ke=tn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Ge),Ve=tn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),He=tn("ERR_STREAM_WRITE_AFTER_END","write after end"),We=Be.prototype.destroy||Xe;function Je(e,n){Be.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n&&this.on("response",n);var a=this;this._onNativeResponse=function(e){try{a._processResponse(e)}catch(e){a.emit("error",e instanceof Ge?e:new Ge({cause:e}))}},this._performRequest()}function Ye(e){var n={maxRedirects:21,maxBodyLength:10485760},a={};return Object.keys(e).forEach((function(t){var i=t+":",s=a[i]=e[t],o=n[t]=Object.create(s);Object.defineProperties(o,{request:{value:function(e,t,s){var o;return o=e,Ie&&o instanceof Ie?e=nn(e):on(e)?e=nn(Qe(e)):(s=t,t=en(e),e={protocol:i}),rn(t)&&(s=t,t=null),(t=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},e,t)).nativeProtocols=a,on(t.host)||on(t.hostname)||(t.hostname="::1"),Ue.equal(t.protocol,i,"protocol mismatch"),Pe("options",t),new Je(t,s)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,n,a){var t=o.request(e,n,a);return t.end(),t},configurable:!0,enumerable:!0,writable:!0}})})),n}function Xe(){}function Qe(e){var n;if(ze)n=new Ie(e);else if(!on((n=en(Ne.parse(e))).protocol))throw new $e({input:e});return n}function en(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new $e({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new $e({input:e.href||e});return e}function nn(e,n){var a=n||{};for(var t of qe)a[t]=e[t];return a.hostname.startsWith("[")&&(a.hostname=a.hostname.slice(1,-1)),""!==a.port&&(a.port=Number(a.port)),a.path=a.search?a.pathname+a.search:a.pathname,a}function an(e,n){var a;for(var t in n)e.test(t)&&(a=n[t],delete n[t]);return null==a?void 0:String(a).trim()}function tn(e,n,a){function t(a){Error.captureStackTrace(this,this.constructor),Object.assign(this,a||{}),this.code=e,this.message=this.cause?n+": "+this.cause.message:n}return t.prototype=new(a||Error),Object.defineProperties(t.prototype,{constructor:{value:t,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),t}function sn(e,n){for(var a of Me)e.removeListener(a,Ze[a]);e.on("error",Xe),e.destroy(n)}function on(e){return"string"==typeof e||e instanceof String}function rn(e){return"function"==typeof e}Je.prototype=Object.create(Be.prototype),Je.prototype.abort=function(){sn(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Je.prototype.destroy=function(e){return sn(this._currentRequest,e),We.call(this,e),this},Je.prototype.write=function(e,n,a){if(this._ending)throw new He;if(!on(e)&&("object"!=typeof(t=e)||!("length"in t)))throw new TypeError("data should be a string, Buffer or Uint8Array");var t;rn(n)&&(a=n,n=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:n}),this._currentRequest.write(e,n,a)):(this.emit("error",new Ve),this.abort()):a&&a()},Je.prototype.end=function(e,n,a){if(rn(e)?(a=e,e=n=null):rn(n)&&(a=n,n=null),e){var t=this,i=this._currentRequest;this.write(e,n,(function(){t._ended=!0,i.end(null,null,a)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,a)},Je.prototype.setHeader=function(e,n){this._options.headers[e]=n,this._currentRequest.setHeader(e,n)},Je.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Je.prototype.setTimeout=function(e,n){var a=this;function t(n){n.setTimeout(e),n.removeListener("timeout",n.destroy),n.addListener("timeout",n.destroy)}function i(n){a._timeout&&clearTimeout(a._timeout),a._timeout=setTimeout((function(){a.emit("timeout"),s()}),e),t(n)}function s(){a._timeout&&(clearTimeout(a._timeout),a._timeout=null),a.removeListener("abort",s),a.removeListener("error",s),a.removeListener("response",s),a.removeListener("close",s),n&&a.removeListener("timeout",n),a.socket||a._currentRequest.removeListener("socket",i)}return n&&this.on("timeout",n),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",t),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Je.prototype[e]=function(n,a){return this._currentRequest[e](n,a)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Je.prototype,e,{get:function(){return this._currentRequest[e]}})})),Je.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var n=e.path.indexOf("?");n<0?e.pathname=e.path:(e.pathname=e.path.substring(0,n),e.search=e.path.substring(n))}},Je.prototype._performRequest=function(){var e=this._options.protocol,n=this._options.nativeProtocols[e];if(!n)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var a=e.slice(0,-1);this._options.agent=this._options.agents[a]}var t=this._currentRequest=n.request(this._options,this._onNativeResponse);for(var i of(t._redirectable=this,Me))t.on(i,Ze[i]);if(this._currentUrl=/^\//.test(this._options.path)?Ne.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,r=this._requestBodyBuffers;!function e(n){if(t===o._currentRequest)if(n)o.emit("error",n);else if(s=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(sn(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Ke;var i=this._options.beforeRedirect;i&&(a=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],an(/^content-/i,this._options.headers));var o,r,c=an(/^host$/i,this._options.headers),l=Qe(this._currentUrl),p=c||l.host,u=/^\w+:/.test(t)?this._currentUrl:Ne.format(Object.assign(l,{host:p})),d=(o=t,r=u,ze?new Ie(o,r):Qe(Ne.resolve(r,o)));if(Pe("redirecting to",d.href),this._isRedirect=!0,nn(d,this._options),(d.protocol!==l.protocol&&"https:"!==d.protocol||d.host!==p&&!function(e,n){Ue(on(e)&&on(n));var a=e.length-n.length-1;return a>0&&"."===e[a]&&e.endsWith(n)}(d.host,p))&&an(/^(?:authorization|cookie)$/i,this._options.headers),rn(i)){var m={headers:e.headers,statusCode:n},f={url:u,method:s,headers:a};i(this._options,m,f),this._sanitizeOptions(this._options)}this._performRequest()},ve.exports=Ye({http:De,https:Fe}),ve.exports.wrap=Ye;var cn,ln,pn=ve.exports;!function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const n={};for(const a of e)n[a]=a;return n},e.getValidEnumValues=n=>{const a=e.objectKeys(n).filter((e=>"number"!=typeof n[n[e]])),t={};for(const e of a)t[e]=n[e];return e.objectValues(t)},e.objectValues=n=>e.objectKeys(n).map((function(e){return n[e]})),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const n=[];for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.push(a);return n},e.find=(e,n)=>{for(const a of e)if(n(a))return a},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,n=" | "){return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(n)},e.jsonStringifyReplacer=(e,n)=>"bigint"==typeof n?n.toString():n}(cn||(cn={})),function(e){e.mergeShapes=(e,n)=>({...e,...n})}(ln||(ln={}));const un=cn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),dn=e=>{switch(typeof e){case"undefined":return un.undefined;case"string":return un.string;case"number":return isNaN(e)?un.nan:un.number;case"boolean":return un.boolean;case"function":return un.function;case"bigint":return un.bigint;case"symbol":return un.symbol;case"object":return Array.isArray(e)?un.array:null===e?un.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?un.promise:"undefined"!=typeof Map&&e instanceof Map?un.map:"undefined"!=typeof Set&&e instanceof Set?un.set:"undefined"!=typeof Date&&e instanceof Date?un.date:un.object;default:return un.unknown}},mn=cn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class fn extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const n=e||function(e){return e.message},a={_errors:[]},t=e=>{for(const i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(t);else if("invalid_return_type"===i.code)t(i.returnTypeError);else if("invalid_arguments"===i.code)t(i.argumentsError);else if(0===i.path.length)a._errors.push(n(i));else{let e=a,t=0;for(;te.message)){const n={},a=[];for(const t of this.issues)t.path.length>0?(n[t.path[0]]=n[t.path[0]]||[],n[t.path[0]].push(e(t))):a.push(e(t));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}fn.create=e=>new fn(e);const hn=(e,n)=>{let a;switch(e.code){case mn.invalid_type:a=e.received===un.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case mn.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,cn.jsonStringifyReplacer)}`;break;case mn.unrecognized_keys:a=`Unrecognized key(s) in object: ${cn.joinValues(e.keys,", ")}`;break;case mn.invalid_union:a="Invalid input";break;case mn.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${cn.joinValues(e.options)}`;break;case mn.invalid_enum_value:a=`Invalid enum value. Expected ${cn.joinValues(e.options)}, received '${e.received}'`;break;case mn.invalid_arguments:a="Invalid function arguments";break;case mn.invalid_return_type:a="Invalid function return type";break;case mn.invalid_date:a="Invalid date";break;case mn.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(a=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(a=`${a} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?a=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?a=`Invalid input: must end with "${e.validation.endsWith}"`:cn.assertNever(e.validation):a="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case mn.too_small:a="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case mn.too_big:a="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case mn.custom:a="Invalid input";break;case mn.invalid_intersection_types:a="Intersection results could not be merged";break;case mn.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case mn.not_finite:a="Number must be finite";break;default:a=n.defaultError,cn.assertNever(e)}return{message:a}};let vn=hn;function xn(){return vn}const gn=e=>{const{data:n,path:a,errorMaps:t,issueData:i}=e,s=[...a,...i.path||[]],o={...i,path:s};let r="";const c=t.filter((e=>!!e)).slice().reverse();for(const e of c)r=e(o,{data:n,defaultError:r}).message;return{...i,path:s,message:i.message||r}};function bn(e,n){const a=gn({issueData:n,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,xn(),hn].filter((e=>!!e))});e.common.issues.push(a)}class yn{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const t of n){if("aborted"===t.status)return _n;"dirty"===t.status&&e.dirty(),a.push(t.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const e of n)a.push({key:await e.key,value:await e.value});return yn.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const t of n){const{key:n,value:i}=t;if("aborted"===n.status)return _n;if("aborted"===i.status)return _n;"dirty"===n.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"===n.value||void 0===i.value&&!t.alwaysSet||(a[n.value]=i.value)}return{status:e.value,value:a}}}const _n=Object.freeze({status:"aborted"}),wn=e=>({status:"dirty",value:e}),kn=e=>({status:"valid",value:e}),En=e=>"aborted"===e.status,jn=e=>"dirty"===e.status,Sn=e=>"valid"===e.status,Tn=e=>"undefined"!=typeof Promise&&e instanceof Promise;var Cn;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(Cn||(Cn={}));class On{constructor(e,n,a,t){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=t}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const An=(e,n)=>{if(Sn(n))return{success:!0,data:n.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new fn(e.common.issues);return this._error=n,this._error}}};function Ln(e){if(!e)return{};const{errorMap:n,invalid_type_error:a,required_error:t,description:i}=e;if(n&&(a||t))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(n)return{errorMap:n,description:i};return{errorMap:(e,n)=>"invalid_type"!==e.code?{message:n.defaultError}:void 0===n.data?{message:null!=t?t:n.defaultError}:{message:null!=a?a:n.defaultError},description:i}}class Rn{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return dn(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:dn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new yn,ctx:{common:e.parent.common,data:e.data,parsedType:dn(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Tn(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;const t={common:{issues:[],async:null!==(a=null==n?void 0:n.async)&&void 0!==a&&a,contextualErrorMap:null==n?void 0:n.errorMap},path:(null==n?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:dn(e)},i=this._parseSync({data:e,path:t.path,parent:t});return An(t,i)}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:null==n?void 0:n.errorMap,async:!0},path:(null==n?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:dn(e)},t=this._parse({data:e,path:a.path,parent:a}),i=await(Tn(t)?t:Promise.resolve(t));return An(a,i)}refine(e,n){const a=e=>"string"==typeof n||void 0===n?{message:n}:"function"==typeof n?n(e):n;return this._refinement(((n,t)=>{const i=e(n),s=()=>t.addIssue({code:mn.custom,...a(n)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then((e=>!!e||(s(),!1))):!!i||(s(),!1)}))}refinement(e,n){return this._refinement(((a,t)=>!!e(a)||(t.addIssue("function"==typeof n?n(a,t):n),!1)))}_refinement(e){return new ba({schema:this,typeName:La.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return ya.create(this,this._def)}nullable(){return _a.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ea.create(this,this._def)}promise(){return ga.create(this,this._def)}or(e){return ta.create([this,e],this._def)}and(e){return ra.create(this,e,this._def)}transform(e){return new ba({...Ln(this._def),schema:this,typeName:La.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n="function"==typeof e?e:()=>e;return new wa({...Ln(this._def),innerType:this,defaultValue:n,typeName:La.ZodDefault})}brand(){return new Sa({typeName:La.ZodBranded,type:this,...Ln(this._def)})}catch(e){const n="function"==typeof e?e:()=>e;return new ka({...Ln(this._def),innerType:this,catchValue:n,typeName:La.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return Ta.create(this,e)}readonly(){return Ca.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Nn=/^c[^\s-]{8,}$/i,In=/^[a-z][a-z0-9]*$/,Dn=/^[0-9A-HJKMNP-TV-Z]{26}$/,Fn=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Bn=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let Un;const Pn=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,zn=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;class qn extends Rn{_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==un.string){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.string,received:n.parsedType}),_n}const n=new yn;let a;for(const o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(a=this._getOrReturnCtx(e,a),bn(a,{code:mn.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if("length"===o.kind){const t=e.data.length>o.value,i=e.data.lengthe.test(n)),{validation:n,code:mn.invalid_string,...Cn.errToObj(a)})}_addCheck(e){return new qn({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Cn.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Cn.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Cn.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Cn.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Cn.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Cn.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Cn.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Cn.errToObj(e)})}datetime(e){var n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(n=null==e?void 0:e.offset)&&void 0!==n&&n,...Cn.errToObj(null==e?void 0:e.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...Cn.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:null==n?void 0:n.position,...Cn.errToObj(null==n?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...Cn.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...Cn.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...Cn.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...Cn.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...Cn.errToObj(n)})}nonempty(e){return this.min(1,Cn.errToObj(e))}trim(){return new qn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new qn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new qn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get minLength(){let e=null;for(const n of this._def.checks)"min"===n.kind&&(null===e||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)"max"===n.kind&&(null===e||n.valuet?a:t;return parseInt(e.toFixed(i).replace(".",""))%parseInt(n.toFixed(i).replace(".",""))/Math.pow(10,i)}qn.create=e=>{var n;return new qn({checks:[],typeName:La.ZodString,coerce:null!==(n=null==e?void 0:e.coerce)&&void 0!==n&&n,...Ln(e)})};class Zn extends Rn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==un.number){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.number,received:n.parsedType}),_n}let n;const a=new yn;for(const t of this._def.checks)if("int"===t.kind)cn.isInteger(e.data)||(n=this._getOrReturnCtx(e,n),bn(n,{code:mn.invalid_type,expected:"integer",received:"float",message:t.message}),a.dirty());else if("min"===t.kind){(t.inclusive?e.datat.value:e.data>=t.value)&&(n=this._getOrReturnCtx(e,n),bn(n,{code:mn.too_big,maximum:t.value,type:"number",inclusive:t.inclusive,exact:!1,message:t.message}),a.dirty())}else"multipleOf"===t.kind?0!==Mn(e.data,t.value)&&(n=this._getOrReturnCtx(e,n),bn(n,{code:mn.not_multiple_of,multipleOf:t.value,message:t.message}),a.dirty()):"finite"===t.kind?Number.isFinite(e.data)||(n=this._getOrReturnCtx(e,n),bn(n,{code:mn.not_finite,message:t.message}),a.dirty()):cn.assertNever(t);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Cn.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Cn.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Cn.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Cn.toString(n))}setLimit(e,n,a,t){return new Zn({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:Cn.toString(t)}]})}_addCheck(e){return new Zn({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Cn.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Cn.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Cn.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Cn.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Cn.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Cn.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:Cn.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Cn.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Cn.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)"min"===n.kind&&(null===e||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)"max"===n.kind&&(null===e||n.value"int"===e.kind||"multipleOf"===e.kind&&cn.isInteger(e.value)))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if("finite"===a.kind||"int"===a.kind||"multipleOf"===a.kind)return!0;"min"===a.kind?(null===n||a.value>n)&&(n=a.value):"max"===a.kind&&(null===e||a.valuenew Zn({checks:[],typeName:La.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...Ln(e)});class $n extends Rn{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){this._def.coerce&&(e.data=BigInt(e.data));if(this._getType(e)!==un.bigint){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.bigint,received:n.parsedType}),_n}let n;const a=new yn;for(const t of this._def.checks)if("min"===t.kind){(t.inclusive?e.datat.value:e.data>=t.value)&&(n=this._getOrReturnCtx(e,n),bn(n,{code:mn.too_big,type:"bigint",maximum:t.value,inclusive:t.inclusive,message:t.message}),a.dirty())}else"multipleOf"===t.kind?e.data%t.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),bn(n,{code:mn.not_multiple_of,multipleOf:t.value,message:t.message}),a.dirty()):cn.assertNever(t);return{status:a.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,Cn.toString(n))}gt(e,n){return this.setLimit("min",e,!1,Cn.toString(n))}lte(e,n){return this.setLimit("max",e,!0,Cn.toString(n))}lt(e,n){return this.setLimit("max",e,!1,Cn.toString(n))}setLimit(e,n,a,t){return new $n({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:Cn.toString(t)}]})}_addCheck(e){return new $n({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Cn.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Cn.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Cn.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Cn.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:Cn.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)"min"===n.kind&&(null===e||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)"max"===n.kind&&(null===e||n.value{var n;return new $n({checks:[],typeName:La.ZodBigInt,coerce:null!==(n=null==e?void 0:e.coerce)&&void 0!==n&&n,...Ln(e)})};class Gn extends Rn{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==un.boolean){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.boolean,received:n.parsedType}),_n}return kn(e.data)}}Gn.create=e=>new Gn({typeName:La.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...Ln(e)});class Kn extends Rn{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==un.date){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.date,received:n.parsedType}),_n}if(isNaN(e.data.getTime())){return bn(this._getOrReturnCtx(e),{code:mn.invalid_date}),_n}const n=new yn;let a;for(const t of this._def.checks)"min"===t.kind?e.data.getTime()t.value&&(a=this._getOrReturnCtx(e,a),bn(a,{code:mn.too_big,message:t.message,inclusive:!0,exact:!1,maximum:t.value,type:"date"}),n.dirty()):cn.assertNever(t);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Kn({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:Cn.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:Cn.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)"min"===n.kind&&(null===e||n.value>e)&&(e=n.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)"max"===n.kind&&(null===e||n.valuenew Kn({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:La.ZodDate,...Ln(e)});class Vn extends Rn{_parse(e){if(this._getType(e)!==un.symbol){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.symbol,received:n.parsedType}),_n}return kn(e.data)}}Vn.create=e=>new Vn({typeName:La.ZodSymbol,...Ln(e)});class Hn extends Rn{_parse(e){if(this._getType(e)!==un.undefined){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.undefined,received:n.parsedType}),_n}return kn(e.data)}}Hn.create=e=>new Hn({typeName:La.ZodUndefined,...Ln(e)});class Wn extends Rn{_parse(e){if(this._getType(e)!==un.null){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.null,received:n.parsedType}),_n}return kn(e.data)}}Wn.create=e=>new Wn({typeName:La.ZodNull,...Ln(e)});class Jn extends Rn{constructor(){super(...arguments),this._any=!0}_parse(e){return kn(e.data)}}Jn.create=e=>new Jn({typeName:La.ZodAny,...Ln(e)});class Yn extends Rn{constructor(){super(...arguments),this._unknown=!0}_parse(e){return kn(e.data)}}Yn.create=e=>new Yn({typeName:La.ZodUnknown,...Ln(e)});class Xn extends Rn{_parse(e){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.never,received:n.parsedType}),_n}}Xn.create=e=>new Xn({typeName:La.ZodNever,...Ln(e)});class Qn extends Rn{_parse(e){if(this._getType(e)!==un.undefined){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.void,received:n.parsedType}),_n}return kn(e.data)}}Qn.create=e=>new Qn({typeName:La.ZodVoid,...Ln(e)});class ea extends Rn{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),t=this._def;if(n.parsedType!==un.array)return bn(n,{code:mn.invalid_type,expected:un.array,received:n.parsedType}),_n;if(null!==t.exactLength){const e=n.data.length>t.exactLength.value,i=n.data.lengtht.maxLength.value&&(bn(n,{code:mn.too_big,maximum:t.maxLength.value,type:"array",inclusive:!0,exact:!1,message:t.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map(((e,a)=>t.type._parseAsync(new On(n,e,n.path,a))))).then((e=>yn.mergeArray(a,e)));const i=[...n.data].map(((e,a)=>t.type._parseSync(new On(n,e,n.path,a))));return yn.mergeArray(a,i)}get element(){return this._def.type}min(e,n){return new ea({...this._def,minLength:{value:e,message:Cn.toString(n)}})}max(e,n){return new ea({...this._def,maxLength:{value:e,message:Cn.toString(n)}})}length(e,n){return new ea({...this._def,exactLength:{value:e,message:Cn.toString(n)}})}nonempty(e){return this.min(1,e)}}function na(e){if(e instanceof aa){const n={};for(const a in e.shape){const t=e.shape[a];n[a]=ya.create(na(t))}return new aa({...e._def,shape:()=>n})}return e instanceof ea?new ea({...e._def,type:na(e.element)}):e instanceof ya?ya.create(na(e.unwrap())):e instanceof _a?_a.create(na(e.unwrap())):e instanceof ca?ca.create(e.items.map((e=>na(e)))):e}ea.create=(e,n)=>new ea({type:e,minLength:null,maxLength:null,exactLength:null,typeName:La.ZodArray,...Ln(n)});class aa extends Rn{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),n=cn.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==un.object){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.object,received:n.parsedType}),_n}const{status:n,ctx:a}=this._processInputParams(e),{shape:t,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof Xn&&"strip"===this._def.unknownKeys))for(const e in a.data)i.includes(e)||s.push(e);const o=[];for(const e of i){const n=t[e],i=a.data[e];o.push({key:{status:"valid",value:e},value:n._parse(new On(a,i,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof Xn){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of s)o.push({key:{status:"valid",value:e},value:{status:"valid",value:a.data[e]}});else if("strict"===e)s.length>0&&(bn(a,{code:mn.unrecognized_keys,keys:s}),n.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const n of s){const t=a.data[n];o.push({key:{status:"valid",value:n},value:e._parse(new On(a,t,a.path,n)),alwaysSet:n in a.data})}}return a.common.async?Promise.resolve().then((async()=>{const e=[];for(const n of o){const a=await n.key;e.push({key:a,value:await n.value,alwaysSet:n.alwaysSet})}return e})).then((e=>yn.mergeObjectSync(n,e))):yn.mergeObjectSync(n,o)}get shape(){return this._def.shape()}strict(e){return Cn.errToObj,new aa({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(n,a)=>{var t,i,s,o;const r=null!==(s=null===(i=(t=this._def).errorMap)||void 0===i?void 0:i.call(t,n,a).message)&&void 0!==s?s:a.defaultError;return"unrecognized_keys"===n.code?{message:null!==(o=Cn.errToObj(e).message)&&void 0!==o?o:r}:{message:r}}}:{}})}strip(){return new aa({...this._def,unknownKeys:"strip"})}passthrough(){return new aa({...this._def,unknownKeys:"passthrough"})}extend(e){return new aa({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new aa({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:La.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new aa({...this._def,catchall:e})}pick(e){const n={};return cn.objectKeys(e).forEach((a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])})),new aa({...this._def,shape:()=>n})}omit(e){const n={};return cn.objectKeys(this.shape).forEach((a=>{e[a]||(n[a]=this.shape[a])})),new aa({...this._def,shape:()=>n})}deepPartial(){return na(this)}partial(e){const n={};return cn.objectKeys(this.shape).forEach((a=>{const t=this.shape[a];e&&!e[a]?n[a]=t:n[a]=t.optional()})),new aa({...this._def,shape:()=>n})}required(e){const n={};return cn.objectKeys(this.shape).forEach((a=>{if(e&&!e[a])n[a]=this.shape[a];else{let e=this.shape[a];for(;e instanceof ya;)e=e._def.innerType;n[a]=e}})),new aa({...this._def,shape:()=>n})}keyof(){return ha(cn.objectKeys(this.shape))}}aa.create=(e,n)=>new aa({shape:()=>e,unknownKeys:"strip",catchall:Xn.create(),typeName:La.ZodObject,...Ln(n)}),aa.strictCreate=(e,n)=>new aa({shape:()=>e,unknownKeys:"strict",catchall:Xn.create(),typeName:La.ZodObject,...Ln(n)}),aa.lazycreate=(e,n)=>new aa({shape:e,unknownKeys:"strip",catchall:Xn.create(),typeName:La.ZodObject,...Ln(n)});class ta extends Rn{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;if(n.common.async)return Promise.all(a.map((async e=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await e._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}}))).then((function(e){for(const n of e)if("valid"===n.result.status)return n.result;for(const a of e)if("dirty"===a.result.status)return n.common.issues.push(...a.ctx.common.issues),a.result;const a=e.map((e=>new fn(e.ctx.common.issues)));return bn(n,{code:mn.invalid_union,unionErrors:a}),_n}));{let e;const t=[];for(const i of a){const a={...n,common:{...n.common,issues:[]},parent:null},s=i._parseSync({data:n.data,path:n.path,parent:a});if("valid"===s.status)return s;"dirty"!==s.status||e||(e={result:s,ctx:a}),a.common.issues.length&&t.push(a.common.issues)}if(e)return n.common.issues.push(...e.ctx.common.issues),e.result;const i=t.map((e=>new fn(e)));return bn(n,{code:mn.invalid_union,unionErrors:i}),_n}}get options(){return this._def.options}}ta.create=(e,n)=>new ta({options:e,typeName:La.ZodUnion,...Ln(n)});const ia=e=>e instanceof ma?ia(e.schema):e instanceof ba?ia(e.innerType()):e instanceof fa?[e.value]:e instanceof va?e.options:e instanceof xa?Object.keys(e.enum):e instanceof wa?ia(e._def.innerType):e instanceof Hn?[void 0]:e instanceof Wn?[null]:null;class sa extends Rn{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==un.object)return bn(n,{code:mn.invalid_type,expected:un.object,received:n.parsedType}),_n;const a=this.discriminator,t=n.data[a],i=this.optionsMap.get(t);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(bn(n,{code:mn.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),_n)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){const t=new Map;for(const a of n){const n=ia(a.shape[e]);if(!n)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const i of n){if(t.has(i))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);t.set(i,a)}}return new sa({typeName:La.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:t,...Ln(a)})}}function oa(e,n){const a=dn(e),t=dn(n);if(e===n)return{valid:!0,data:e};if(a===un.object&&t===un.object){const a=cn.objectKeys(n),t=cn.objectKeys(e).filter((e=>-1!==a.indexOf(e))),i={...e,...n};for(const a of t){const t=oa(e[a],n[a]);if(!t.valid)return{valid:!1};i[a]=t.data}return{valid:!0,data:i}}if(a===un.array&&t===un.array){if(e.length!==n.length)return{valid:!1};const a=[];for(let t=0;t{if(En(e)||En(t))return _n;const i=oa(e.value,t.value);return i.valid?((jn(e)||jn(t))&&n.dirty(),{status:n.value,value:i.data}):(bn(a,{code:mn.invalid_intersection_types}),_n)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then((([e,n])=>t(e,n))):t(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}ra.create=(e,n,a)=>new ra({left:e,right:n,typeName:La.ZodIntersection,...Ln(a)});class ca extends Rn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==un.array)return bn(a,{code:mn.invalid_type,expected:un.array,received:a.parsedType}),_n;if(a.data.lengththis._def.items.length&&(bn(a,{code:mn.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const t=[...a.data].map(((e,n)=>{const t=this._def.items[n]||this._def.rest;return t?t._parse(new On(a,e,a.path,n)):null})).filter((e=>!!e));return a.common.async?Promise.all(t).then((e=>yn.mergeArray(n,e))):yn.mergeArray(n,t)}get items(){return this._def.items}rest(e){return new ca({...this._def,rest:e})}}ca.create=(e,n)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ca({items:e,typeName:La.ZodTuple,rest:null,...Ln(n)})};class la extends Rn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==un.object)return bn(a,{code:mn.invalid_type,expected:un.object,received:a.parsedType}),_n;const t=[],i=this._def.keyType,s=this._def.valueType;for(const e in a.data)t.push({key:i._parse(new On(a,e,a.path,e)),value:s._parse(new On(a,a.data[e],a.path,e))});return a.common.async?yn.mergeObjectAsync(n,t):yn.mergeObjectSync(n,t)}get element(){return this._def.valueType}static create(e,n,a){return new la(n instanceof Rn?{keyType:e,valueType:n,typeName:La.ZodRecord,...Ln(a)}:{keyType:qn.create(),valueType:e,typeName:La.ZodRecord,...Ln(n)})}}class pa extends Rn{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==un.map)return bn(a,{code:mn.invalid_type,expected:un.map,received:a.parsedType}),_n;const t=this._def.keyType,i=this._def.valueType,s=[...a.data.entries()].map((([e,n],s)=>({key:t._parse(new On(a,e,a.path,[s,"key"])),value:i._parse(new On(a,n,a.path,[s,"value"]))})));if(a.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const a of s){const t=await a.key,i=await a.value;if("aborted"===t.status||"aborted"===i.status)return _n;"dirty"!==t.status&&"dirty"!==i.status||n.dirty(),e.set(t.value,i.value)}return{status:n.value,value:e}}))}{const e=new Map;for(const a of s){const t=a.key,i=a.value;if("aborted"===t.status||"aborted"===i.status)return _n;"dirty"!==t.status&&"dirty"!==i.status||n.dirty(),e.set(t.value,i.value)}return{status:n.value,value:e}}}}pa.create=(e,n,a)=>new pa({valueType:n,keyType:e,typeName:La.ZodMap,...Ln(a)});class ua extends Rn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==un.set)return bn(a,{code:mn.invalid_type,expected:un.set,received:a.parsedType}),_n;const t=this._def;null!==t.minSize&&a.data.sizet.maxSize.value&&(bn(a,{code:mn.too_big,maximum:t.maxSize.value,type:"set",inclusive:!0,exact:!1,message:t.maxSize.message}),n.dirty());const i=this._def.valueType;function s(e){const a=new Set;for(const t of e){if("aborted"===t.status)return _n;"dirty"===t.status&&n.dirty(),a.add(t.value)}return{status:n.value,value:a}}const o=[...a.data.values()].map(((e,n)=>i._parse(new On(a,e,a.path,n))));return a.common.async?Promise.all(o).then((e=>s(e))):s(o)}min(e,n){return new ua({...this._def,minSize:{value:e,message:Cn.toString(n)}})}max(e,n){return new ua({...this._def,maxSize:{value:e,message:Cn.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}ua.create=(e,n)=>new ua({valueType:e,minSize:null,maxSize:null,typeName:La.ZodSet,...Ln(n)});class da extends Rn{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==un.function)return bn(n,{code:mn.invalid_type,expected:un.function,received:n.parsedType}),_n;function a(e,a){return gn({data:e,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,xn(),hn].filter((e=>!!e)),issueData:{code:mn.invalid_arguments,argumentsError:a}})}function t(e,a){return gn({data:e,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,xn(),hn].filter((e=>!!e)),issueData:{code:mn.invalid_return_type,returnTypeError:a}})}const i={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof ga){const e=this;return kn((async function(...n){const o=new fn([]),r=await e._def.args.parseAsync(n,i).catch((e=>{throw o.addIssue(a(n,e)),o})),c=await Reflect.apply(s,this,r);return await e._def.returns._def.type.parseAsync(c,i).catch((e=>{throw o.addIssue(t(c,e)),o}))}))}{const e=this;return kn((function(...n){const o=e._def.args.safeParse(n,i);if(!o.success)throw new fn([a(n,o.error)]);const r=Reflect.apply(s,this,o.data),c=e._def.returns.safeParse(r,i);if(!c.success)throw new fn([t(r,c.error)]);return c.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new da({...this._def,args:ca.create(e).rest(Yn.create())})}returns(e){return new da({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new da({args:e||ca.create([]).rest(Yn.create()),returns:n||Yn.create(),typeName:La.ZodFunction,...Ln(a)})}}class ma extends Rn{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}ma.create=(e,n)=>new ma({getter:e,typeName:La.ZodLazy,...Ln(n)});class fa extends Rn{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return bn(n,{received:n.data,code:mn.invalid_literal,expected:this._def.value}),_n}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ha(e,n){return new va({values:e,typeName:La.ZodEnum,...Ln(n)})}fa.create=(e,n)=>new fa({value:e,typeName:La.ZodLiteral,...Ln(n)});class va extends Rn{_parse(e){if("string"!=typeof e.data){const n=this._getOrReturnCtx(e),a=this._def.values;return bn(n,{expected:cn.joinValues(a),received:n.parsedType,code:mn.invalid_type}),_n}if(-1===this._def.values.indexOf(e.data)){const n=this._getOrReturnCtx(e),a=this._def.values;return bn(n,{received:n.data,code:mn.invalid_enum_value,options:a}),_n}return kn(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e){return va.create(e)}exclude(e){return va.create(this.options.filter((n=>!e.includes(n))))}}va.create=ha;class xa extends Rn{_parse(e){const n=cn.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==un.string&&a.parsedType!==un.number){const e=cn.objectValues(n);return bn(a,{expected:cn.joinValues(e),received:a.parsedType,code:mn.invalid_type}),_n}if(-1===n.indexOf(e.data)){const e=cn.objectValues(n);return bn(a,{received:a.data,code:mn.invalid_enum_value,options:e}),_n}return kn(e.data)}get enum(){return this._def.values}}xa.create=(e,n)=>new xa({values:e,typeName:La.ZodNativeEnum,...Ln(n)});class ga extends Rn{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==un.promise&&!1===n.common.async)return bn(n,{code:mn.invalid_type,expected:un.promise,received:n.parsedType}),_n;const a=n.parsedType===un.promise?n.data:Promise.resolve(n.data);return kn(a.then((e=>this._def.type.parseAsync(e,{path:n.path,errorMap:n.common.contextualErrorMap}))))}}ga.create=(e,n)=>new ga({type:e,typeName:La.ZodPromise,...Ln(n)});class ba extends Rn{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===La.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),t=this._def.effect||null,i={addIssue:e=>{bn(a,e),e.fatal?n.abort():n.dirty()},get path(){return a.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===t.type){const e=t.transform(a.data,i);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(e).then((e=>this._def.schema._parseAsync({data:e,path:a.path,parent:a}))):this._def.schema._parseSync({data:e,path:a.path,parent:a})}if("refinement"===t.type){const e=e=>{const n=t.refinement(e,i);if(a.common.async)return Promise.resolve(n);if(n instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===a.common.async){const t=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===t.status?_n:("dirty"===t.status&&n.dirty(),e(t.value),{status:n.value,value:t.value})}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((a=>"aborted"===a.status?_n:("dirty"===a.status&&n.dirty(),e(a.value).then((()=>({status:n.value,value:a.value}))))))}if("transform"===t.type){if(!1===a.common.async){const e=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!Sn(e))return e;const s=t.transform(e.value,i);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then((e=>Sn(e)?Promise.resolve(t.transform(e.value,i)).then((e=>({status:n.value,value:e}))):e))}cn.assertNever(t)}}ba.create=(e,n,a)=>new ba({schema:e,typeName:La.ZodEffects,effect:n,...Ln(a)}),ba.createWithPreprocess=(e,n,a)=>new ba({schema:n,effect:{type:"preprocess",transform:e},typeName:La.ZodEffects,...Ln(a)});class ya extends Rn{_parse(e){return this._getType(e)===un.undefined?kn(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ya.create=(e,n)=>new ya({innerType:e,typeName:La.ZodOptional,...Ln(n)});class _a extends Rn{_parse(e){return this._getType(e)===un.null?kn(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}_a.create=(e,n)=>new _a({innerType:e,typeName:La.ZodNullable,...Ln(n)});class wa extends Rn{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===un.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}wa.create=(e,n)=>new wa({innerType:e,typeName:La.ZodDefault,defaultValue:"function"==typeof n.default?n.default:()=>n.default,...Ln(n)});class ka extends Rn{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},t=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return Tn(t)?t.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new fn(a.common.issues)},input:a.data})}))):{status:"valid",value:"valid"===t.status?t.value:this._def.catchValue({get error(){return new fn(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}ka.create=(e,n)=>new ka({innerType:e,typeName:La.ZodCatch,catchValue:"function"==typeof n.catch?n.catch:()=>n.catch,...Ln(n)});class Ea extends Rn{_parse(e){if(this._getType(e)!==un.nan){const n=this._getOrReturnCtx(e);return bn(n,{code:mn.invalid_type,expected:un.nan,received:n.parsedType}),_n}return{status:"valid",value:e.data}}}Ea.create=e=>new Ea({typeName:La.ZodNaN,...Ln(e)});const ja=Symbol("zod_brand");class Sa extends Rn{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class Ta extends Rn{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return"aborted"===e.status?_n:"dirty"===e.status?(n.dirty(),wn(e.value)):this._def.out._parseAsync({data:e.value,path:a.path,parent:a})})()}{const e=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===e.status?_n:"dirty"===e.status?(n.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:a.path,parent:a})}}static create(e,n){return new Ta({in:e,out:n,typeName:La.ZodPipeline})}}class Ca extends Rn{_parse(e){const n=this._def.innerType._parse(e);return Sn(n)&&(n.value=Object.freeze(n.value)),n}}Ca.create=(e,n)=>new Ca({innerType:e,typeName:La.ZodReadonly,...Ln(n)});const Oa=(e,n={},a)=>e?Jn.create().superRefine(((t,i)=>{var s,o;if(!e(t)){const e="function"==typeof n?n(t):"string"==typeof n?{message:n}:n,r=null===(o=null!==(s=e.fatal)&&void 0!==s?s:a)||void 0===o||o,c="string"==typeof e?{message:e}:e;i.addIssue({code:"custom",...c,fatal:r})}})):Jn.create(),Aa={object:aa.lazycreate};var La;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(La||(La={}));const Ra=qn.create,Na=Zn.create,Ia=Ea.create,Da=$n.create,Fa=Gn.create,Ba=Kn.create,Ua=Vn.create,Pa=Hn.create,za=Wn.create,qa=Jn.create,Ma=Yn.create,Za=Xn.create,$a=Qn.create,Ga=ea.create,Ka=aa.create,Va=aa.strictCreate,Ha=ta.create,Wa=sa.create,Ja=ra.create,Ya=ca.create,Xa=la.create,Qa=pa.create,et=ua.create,nt=da.create,at=ma.create,tt=fa.create,it=va.create,st=xa.create,ot=ga.create,rt=ba.create,ct=ya.create,lt=_a.create,pt=ba.createWithPreprocess,ut=Ta.create,dt={string:e=>qn.create({...e,coerce:!0}),number:e=>Zn.create({...e,coerce:!0}),boolean:e=>Gn.create({...e,coerce:!0}),bigint:e=>$n.create({...e,coerce:!0}),date:e=>Kn.create({...e,coerce:!0})},mt=_n;var ft=Object.freeze({__proto__:null,defaultErrorMap:hn,setErrorMap:function(e){vn=e},getErrorMap:xn,makeIssue:gn,EMPTY_PATH:[],addIssueToContext:bn,ParseStatus:yn,INVALID:_n,DIRTY:wn,OK:kn,isAborted:En,isDirty:jn,isValid:Sn,isAsync:Tn,get util(){return cn},get objectUtil(){return ln},ZodParsedType:un,getParsedType:dn,ZodType:Rn,ZodString:qn,ZodNumber:Zn,ZodBigInt:$n,ZodBoolean:Gn,ZodDate:Kn,ZodSymbol:Vn,ZodUndefined:Hn,ZodNull:Wn,ZodAny:Jn,ZodUnknown:Yn,ZodNever:Xn,ZodVoid:Qn,ZodArray:ea,ZodObject:aa,ZodUnion:ta,ZodDiscriminatedUnion:sa,ZodIntersection:ra,ZodTuple:ca,ZodRecord:la,ZodMap:pa,ZodSet:ua,ZodFunction:da,ZodLazy:ma,ZodLiteral:fa,ZodEnum:va,ZodNativeEnum:xa,ZodPromise:ga,ZodEffects:ba,ZodTransformer:ba,ZodOptional:ya,ZodNullable:_a,ZodDefault:wa,ZodCatch:ka,ZodNaN:Ea,BRAND:ja,ZodBranded:Sa,ZodPipeline:Ta,ZodReadonly:Ca,custom:Oa,Schema:Rn,ZodSchema:Rn,late:Aa,get ZodFirstPartyTypeKind(){return La},coerce:dt,any:qa,array:Ga,bigint:Da,boolean:Fa,date:Ba,discriminatedUnion:Wa,effect:rt,enum:it,function:nt,instanceof:(e,n={message:`Input not instance of ${e.name}`})=>Oa((n=>n instanceof e),n),intersection:Ja,lazy:at,literal:tt,map:Qa,nan:Ia,nativeEnum:st,never:Za,null:za,nullable:lt,number:Na,object:Ka,oboolean:()=>Fa().optional(),onumber:()=>Na().optional(),optional:ct,ostring:()=>Ra().optional(),pipeline:ut,preprocess:pt,promise:ot,record:Xa,set:et,strictObject:Va,string:Ra,symbol:Ua,transformer:rt,tuple:Ya,undefined:Pa,union:Ha,unknown:Ma,void:$a,NEVER:mt,ZodIssueCode:mn,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:fn}),ht=["interface","display","layout","module","panel","theme"],vt=["hook","endpoint"],xt=["operation"],gt=ft.object({app:ft.string(),api:ft.string()}),bt=ft.object({request:ft.optional(ft.object({urls:ft.array(ft.string()),methods:ft.array(ft.union([ft.literal("GET"),ft.literal("POST"),ft.literal("PATCH"),ft.literal("PUT"),ft.literal("DELETE")]))})),log:ft.optional(ft.object({})),sleep:ft.optional(ft.object({}))}),yt=ft.optional(ft.object({enabled:ft.boolean(),requestedScopes:bt})),_t=ft.union([ft.object({type:ft.enum(vt),name:ft.string(),source:ft.string()}),ft.object({type:ft.enum(ht),name:ft.string(),source:ft.string()}),ft.object({type:ft.enum(xt),name:ft.string(),source:gt})]),wt=ft.object({host:ft.string(),hidden:ft.boolean().optional()}),kt=ft.object({type:ft.enum(ht),path:ft.string(),source:ft.string()}),Et=ft.object({type:ft.enum(vt),path:ft.string(),source:ft.string(),sandbox:yt}),jt=ft.object({type:ft.enum(xt),path:gt,source:gt,sandbox:yt}),St=ft.object({type:ft.literal("bundle"),path:gt,entries:ft.array(_t)});ft.array(_t);var Tt=wt.and(ft.union([kt,Et,jt,St]));ft.object({name:ft.string(),version:ft.string(),type:ft.union([ft.literal("module"),ft.literal("commonjs")]).optional(),description:ft.string().optional(),icon:ft.string().optional(),dependencies:ft.record(ft.string()).optional(),devDependencies:ft.record(ft.string()).optional(),"directus:extension":Tt});class Ct{constructor(e,n,a){this.services=e,this.database=n,this.schema=a}getItemsService(e){const{ItemsService:n}=this.services;return new n(e,{accountability:null,knex:this.database,schema:this.schema})}}class Ot{constructor(e,n,a){this.services=e,this.database=n,this.schema=a}getCollectionsService(){const{CollectionsService:e}=this.services;return new e({accountability:null,knex:this.database,schema:this.schema})}}var At={},Lt={},Rt={};Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.DocumentNotReadyError=Rt.GlossaryNotFoundError=Rt.DocumentTranslationError=Rt.ConnectionError=Rt.TooManyRequestsError=Rt.QuotaExceededError=Rt.AuthorizationError=Rt.DeepLError=void 0;class Nt extends Error{constructor(e,n){super(e),this.message=e,this.error=n}}Rt.DeepLError=Nt;Rt.AuthorizationError=class extends Nt{};Rt.QuotaExceededError=class extends Nt{};Rt.TooManyRequestsError=class extends Nt{};Rt.ConnectionError=class extends Nt{constructor(e,n,a){super(e,a),this.shouldRetry=n||!1}};Rt.DocumentTranslationError=class extends Nt{constructor(e,n,a){super(e,a),this.documentHandle=n}};Rt.GlossaryNotFoundError=class extends Nt{};Rt.DocumentNotReadyError=class extends Nt{};var It,Dt,Ft,Bt={},Ut={exports:{}};Dt=d,Ft=function(){var e=function(){},n="undefined",a=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent),t=["trace","debug","info","warn","error"];function i(e,n){var a=e[n];if("function"==typeof a.bind)return a.bind(e);try{return Function.prototype.bind.call(a,e)}catch(n){return function(){return Function.prototype.apply.apply(a,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function o(n,a){for(var i=0;i=0&&a<=r.levels.SILENT))throw"log.setLevel() called with invalid level: "+a;if(s=a,!1!==i&&function(e){var a=(t[e]||"silent").toUpperCase();if(typeof window!==n&&l){try{return void(window.localStorage[l]=a)}catch(e){}try{window.document.cookie=encodeURIComponent(l)+"="+a+";"}catch(e){}}}(a),o.call(r,a,e),typeof console===n&&a{e.on("data",(e=>n.push(e))),e.on("error",(e=>t(e))),e.on("end",(()=>a(Buffer.concat(n))))}))}Bt.logDebug=function(e,n){qt.debug(e+Mt(n))},Bt.logInfo=function(e,n){qt.info(e+Mt(n))},Bt.streamToBuffer=Zt,Bt.streamToString=async function(e){return(await Zt(e)).toString("utf8")};Bt.timeout=e=>new Promise((n=>setTimeout(n,e))),Bt.isString=function(e){return"string"==typeof e},Bt.toBoolString=function(e){return e?"1":"0"};const $t=s,Gt=oe,Kt=t,Vt=i,Ht=e,Wt=pn,Jt=p,Yt=n,Xt=u;function Qt(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const ei=Qt(ie),ni=Qt($t),ai=Qt(Kt),ti=Qt(Vt),ii=Qt(Ht),si=Qt(Wt),oi=Qt(Jt),ri=Qt(Yt),ci=Qt(Xt);function li(e,n){return function(){return e.apply(n,arguments)}}const{toString:pi}=Object.prototype,{getPrototypeOf:ui}=Object,di=(mi=Object.create(null),e=>{const n=pi.call(e);return mi[n]||(mi[n]=n.slice(8,-1).toLowerCase())});var mi;const fi=e=>(e=e.toLowerCase(),n=>di(n)===e),hi=e=>n=>typeof n===e,{isArray:vi}=Array,xi=hi("undefined");const gi=fi("ArrayBuffer");const bi=hi("string"),yi=hi("function"),_i=hi("number"),wi=e=>null!==e&&"object"==typeof e,ki=e=>{if("object"!==di(e))return!1;const n=ui(e);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in e||Symbol.iterator in e)},Ei=fi("Date"),ji=fi("File"),Si=fi("Blob"),Ti=fi("FileList"),Ci=fi("URLSearchParams");function Oi(e,n,{allOwnKeys:a=!1}={}){if(null==e)return;let t,i;if("object"!=typeof e&&(e=[e]),vi(e))for(t=0,i=e.length;t0;)if(t=a[i],n===t.toLowerCase())return t;return null}const Li="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:d,Ri=e=>!xi(e)&&e!==Li;const Ni=(Ii="undefined"!=typeof Uint8Array&&ui(Uint8Array),e=>Ii&&e instanceof Ii);var Ii;const Di=fi("HTMLFormElement"),Fi=(({hasOwnProperty:e})=>(n,a)=>e.call(n,a))(Object.prototype),Bi=fi("RegExp"),Ui=(e,n)=>{const a=Object.getOwnPropertyDescriptors(e),t={};Oi(a,((a,i)=>{let s;!1!==(s=n(a,i,e))&&(t[i]=s||a)})),Object.defineProperties(e,t)},Pi="abcdefghijklmnopqrstuvwxyz",zi="0123456789",qi={DIGIT:zi,ALPHA:Pi,ALPHA_DIGIT:Pi+Pi.toUpperCase()+zi};const Mi=fi("AsyncFunction"),Zi={isArray:vi,isArrayBuffer:gi,isBuffer:function(e){return null!==e&&!xi(e)&&null!==e.constructor&&!xi(e.constructor)&&yi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let n;return e&&("function"==typeof FormData&&e instanceof FormData||yi(e.append)&&("formdata"===(n=di(e))||"object"===n&&yi(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let n;return n="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&gi(e.buffer),n},isString:bi,isNumber:_i,isBoolean:e=>!0===e||!1===e,isObject:wi,isPlainObject:ki,isUndefined:xi,isDate:Ei,isFile:ji,isBlob:Si,isRegExp:Bi,isFunction:yi,isStream:e=>wi(e)&&yi(e.pipe),isURLSearchParams:Ci,isTypedArray:Ni,isFileList:Ti,forEach:Oi,merge:function e(){const{caseless:n}=Ri(this)&&this||{},a={},t=(t,i)=>{const s=n&&Ai(a,i)||i;ki(a[s])&&ki(t)?a[s]=e(a[s],t):ki(t)?a[s]=e({},t):vi(t)?a[s]=t.slice():a[s]=t};for(let e=0,n=arguments.length;e(Oi(n,((n,t)=>{a&&yi(n)?e[t]=li(n,a):e[t]=n}),{allOwnKeys:t}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,n,a,t)=>{e.prototype=Object.create(n.prototype,t),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),a&&Object.assign(e.prototype,a)},toFlatObject:(e,n,a,t)=>{let i,s,o;const r={};if(n=n||{},null==e)return n;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],t&&!t(o,e,n)||r[o]||(n[o]=e[o],r[o]=!0);e=!1!==a&&ui(e)}while(e&&(!a||a(e,n))&&e!==Object.prototype);return n},kindOf:di,kindOfTest:fi,endsWith:(e,n,a)=>{e=String(e),(void 0===a||a>e.length)&&(a=e.length),a-=n.length;const t=e.indexOf(n,a);return-1!==t&&t===a},toArray:e=>{if(!e)return null;if(vi(e))return e;let n=e.length;if(!_i(n))return null;const a=new Array(n);for(;n-- >0;)a[n]=e[n];return a},forEachEntry:(e,n)=>{const a=(e&&e[Symbol.iterator]).call(e);let t;for(;(t=a.next())&&!t.done;){const a=t.value;n.call(e,a[0],a[1])}},matchAll:(e,n)=>{let a;const t=[];for(;null!==(a=e.exec(n));)t.push(a);return t},isHTMLForm:Di,hasOwnProperty:Fi,hasOwnProp:Fi,reduceDescriptors:Ui,freezeMethods:e=>{Ui(e,((n,a)=>{if(yi(e)&&-1!==["arguments","caller","callee"].indexOf(a))return!1;const t=e[a];yi(t)&&(n.enumerable=!1,"writable"in n?n.writable=!1:n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")}))}))},toObjectSet:(e,n)=>{const a={},t=e=>{e.forEach((e=>{a[e]=!0}))};return vi(e)?t(e):t(String(e).split(n)),a},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,n,a){return n.toUpperCase()+a})),noop:()=>{},toFiniteNumber:(e,n)=>(e=+e,Number.isFinite(e)?e:n),findKey:Ai,global:Li,isContextDefined:Ri,ALPHABET:qi,generateString:(e=16,n=qi.ALPHA_DIGIT)=>{let a="";const{length:t}=n;for(;e--;)a+=n[Math.random()*t|0];return a},isSpecCompliantForm:function(e){return!!(e&&yi(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const n=new Array(10),a=(e,t)=>{if(wi(e)){if(n.indexOf(e)>=0)return;if(!("toJSON"in e)){n[t]=e;const i=vi(e)?[]:{};return Oi(e,((e,n)=>{const s=a(e,t+1);!xi(s)&&(i[n]=s)})),n[t]=void 0,i}}return e};return a(e,0)},isAsyncFn:Mi,isThenable:e=>e&&(wi(e)||yi(e))&&yi(e.then)&&yi(e.catch)};function $i(e,n,a,t,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",n&&(this.code=n),a&&(this.config=a),t&&(this.request=t),i&&(this.response=i)}Zi.inherits($i,Error,{toJSON:function(){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:Zi.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Gi=$i.prototype,Ki={};function Vi(e){return Zi.isPlainObject(e)||Zi.isArray(e)}function Hi(e){return Zi.endsWith(e,"[]")?e.slice(0,-2):e}function Wi(e,n,a){return e?e.concat(n).map((function(e,n){return e=Hi(e),!a&&n?"["+e+"]":e})).join(a?".":""):n}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ki[e]={value:e}})),Object.defineProperties($i,Ki),Object.defineProperty(Gi,"isAxiosError",{value:!0}),$i.from=(e,n,a,t,i,s)=>{const o=Object.create(Gi);return Zi.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),$i.call(o,e.message,n,a,t,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const Ji=Zi.toFlatObject(Zi,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Yi(e,n,a){if(!Zi.isObject(e))throw new TypeError("target must be an object");n=n||new(ei.default||FormData);const t=(a=Zi.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,n){return!Zi.isUndefined(n[e])}))).metaTokens,i=a.visitor||l,s=a.dots,o=a.indexes,r=(a.Blob||"undefined"!=typeof Blob&&Blob)&&Zi.isSpecCompliantForm(n);if(!Zi.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Zi.isDate(e))return e.toISOString();if(!r&&Zi.isBlob(e))throw new $i("Blob is not supported. Use a Buffer instead.");return Zi.isArrayBuffer(e)||Zi.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,a,i){let r=e;if(e&&!i&&"object"==typeof e)if(Zi.endsWith(a,"{}"))a=t?a:a.slice(0,-2),e=JSON.stringify(e);else if(Zi.isArray(e)&&function(e){return Zi.isArray(e)&&!e.some(Vi)}(e)||(Zi.isFileList(e)||Zi.endsWith(a,"[]"))&&(r=Zi.toArray(e)))return a=Hi(a),r.forEach((function(e,t){!Zi.isUndefined(e)&&null!==e&&n.append(!0===o?Wi([a],t,s):null===o?a:a+"[]",c(e))})),!1;return!!Vi(e)||(n.append(Wi(i,a,s),c(e)),!1)}const p=[],u=Object.assign(Ji,{defaultVisitor:l,convertValue:c,isVisitable:Vi});if(!Zi.isObject(e))throw new TypeError("data must be an object");return function e(a,t){if(!Zi.isUndefined(a)){if(-1!==p.indexOf(a))throw Error("Circular reference detected in "+t.join("."));p.push(a),Zi.forEach(a,(function(a,s){!0===(!(Zi.isUndefined(a)||null===a)&&i.call(n,a,Zi.isString(s)?s.trim():s,t,u))&&e(a,t?t.concat(s):[s])})),p.pop()}}(e),n}function Xi(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return n[e]}))}function Qi(e,n){this._pairs=[],e&&Yi(e,this,n)}const es=Qi.prototype;function ns(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function as(e,n,a){if(!n)return e;const t=a&&a.encode||ns,i=a&&a.serialize;let s;if(s=i?i(n,a):Zi.isURLSearchParams(n)?n.toString():new Qi(n,a).toString(t),s){const n=e.indexOf("#");-1!==n&&(e=e.slice(0,n)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}es.append=function(e,n){this._pairs.push([e,n])},es.toString=function(e){const n=e?function(n){return e.call(this,n,Xi)}:Xi;return this._pairs.map((function(e){return n(e[0])+"="+n(e[1])}),"").join("&")};const ts=class{constructor(){this.handlers=[]}use(e,n,a){return this.handlers.push({fulfilled:e,rejected:n,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Zi.forEach(this.handlers,(function(n){null!==n&&e(n)}))}},is={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ss={isNode:!0,classes:{URLSearchParams:ni.default.URLSearchParams,FormData:ei.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},os="undefined"!=typeof window&&"undefined"!=typeof document,rs=(cs="undefined"!=typeof navigator&&navigator.product,os&&["ReactNative","NativeScript","NS"].indexOf(cs)<0);var cs;const ls="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ps={...Object.freeze({__proto__:null,hasBrowserEnv:os,hasStandardBrowserWebWorkerEnv:ls,hasStandardBrowserEnv:rs}),...ss};function us(e){function n(e,a,t,i){let s=e[i++];const o=Number.isFinite(+s),r=i>=e.length;if(s=!s&&Zi.isArray(t)?t.length:s,r)return Zi.hasOwnProp(t,s)?t[s]=[t[s],a]:t[s]=a,!o;t[s]&&Zi.isObject(t[s])||(t[s]=[]);return n(e,a,t[s],i)&&Zi.isArray(t[s])&&(t[s]=function(e){const n={},a=Object.keys(e);let t;const i=a.length;let s;for(t=0;t{n(function(e){return Zi.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),t,a,0)})),a}return null}const ds={transitional:is,adapter:["xhr","http"],transformRequest:[function(e,n){const a=n.getContentType()||"",t=a.indexOf("application/json")>-1,i=Zi.isObject(e);i&&Zi.isHTMLForm(e)&&(e=new FormData(e));if(Zi.isFormData(e))return t&&t?JSON.stringify(us(e)):e;if(Zi.isArrayBuffer(e)||Zi.isBuffer(e)||Zi.isStream(e)||Zi.isFile(e)||Zi.isBlob(e))return e;if(Zi.isArrayBufferView(e))return e.buffer;if(Zi.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(i){if(a.indexOf("application/x-www-form-urlencoded")>-1)return function(e,n){return Yi(e,new ps.classes.URLSearchParams,Object.assign({visitor:function(e,n,a,t){return ps.isNode&&Zi.isBuffer(e)?(this.append(n,e.toString("base64")),!1):t.defaultVisitor.apply(this,arguments)}},n))}(e,this.formSerializer).toString();if((s=Zi.isFileList(e))||a.indexOf("multipart/form-data")>-1){const n=this.env&&this.env.FormData;return Yi(s?{"files[]":e}:e,n&&new n,this.formSerializer)}}return i||t?(n.setContentType("application/json",!1),function(e,n,a){if(Zi.isString(e))try{return(n||JSON.parse)(e),Zi.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(a||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const n=this.transitional||ds.transitional,a=n&&n.forcedJSONParsing,t="json"===this.responseType;if(e&&Zi.isString(e)&&(a&&!this.responseType||t)){const a=!(n&&n.silentJSONParsing)&&t;try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw $i.from(e,$i.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ps.classes.FormData,Blob:ps.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Zi.forEach(["delete","get","head","post","put","patch"],(e=>{ds.headers[e]={}}));const ms=ds,fs=Zi.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"]),hs=Symbol("internals");function vs(e){return e&&String(e).trim().toLowerCase()}function xs(e){return!1===e||null==e?e:Zi.isArray(e)?e.map(xs):String(e)}function gs(e,n,a,t,i){return Zi.isFunction(t)?t.call(this,n,a):(i&&(n=a),Zi.isString(n)?Zi.isString(t)?-1!==n.indexOf(t):Zi.isRegExp(t)?t.test(n):void 0:void 0)}class bs{constructor(e){e&&this.set(e)}set(e,n,a){const t=this;function i(e,n,a){const i=vs(n);if(!i)throw new Error("header name must be a non-empty string");const s=Zi.findKey(t,i);(!s||void 0===t[s]||!0===a||void 0===a&&!1!==t[s])&&(t[s||n]=xs(e))}const s=(e,n)=>Zi.forEach(e,((e,a)=>i(e,a,n)));return Zi.isPlainObject(e)||e instanceof this.constructor?s(e,n):Zi.isString(e)&&(e=e.trim())&&!(e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))(e)?s((e=>{const n={};let a,t,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),a=e.substring(0,i).trim().toLowerCase(),t=e.substring(i+1).trim(),!a||n[a]&&fs[a]||("set-cookie"===a?n[a]?n[a].push(t):n[a]=[t]:n[a]=n[a]?n[a]+", "+t:t)})),n})(e),n):null!=e&&i(n,e,a),this}get(e,n){if(e=vs(e)){const a=Zi.findKey(this,e);if(a){const e=this[a];if(!n)return e;if(!0===n)return function(e){const n=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=a.exec(e);)n[t[1]]=t[2];return n}(e);if(Zi.isFunction(n))return n.call(this,e,a);if(Zi.isRegExp(n))return n.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=vs(e)){const a=Zi.findKey(this,e);return!(!a||void 0===this[a]||n&&!gs(0,this[a],a,n))}return!1}delete(e,n){const a=this;let t=!1;function i(e){if(e=vs(e)){const i=Zi.findKey(a,e);!i||n&&!gs(0,a[i],i,n)||(delete a[i],t=!0)}}return Zi.isArray(e)?e.forEach(i):i(e),t}clear(e){const n=Object.keys(this);let a=n.length,t=!1;for(;a--;){const i=n[a];e&&!gs(0,this[i],i,e,!0)||(delete this[i],t=!0)}return t}normalize(e){const n=this,a={};return Zi.forEach(this,((t,i)=>{const s=Zi.findKey(a,i);if(s)return n[s]=xs(t),void delete n[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,n,a)=>n.toUpperCase()+a))}(i):String(i).trim();o!==i&&delete n[i],n[o]=xs(t),a[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Zi.forEach(this,((a,t)=>{null!=a&&!1!==a&&(n[t]=e&&Zi.isArray(a)?a.join(", "):a)})),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,n])=>e+": "+n)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const a=new this(e);return n.forEach((e=>a.set(e))),a}static accessor(e){const n=(this[hs]=this[hs]={accessors:{}}).accessors,a=this.prototype;function t(e){const t=vs(e);n[t]||(!function(e,n){const a=Zi.toCamelCase(" "+n);["get","set","has"].forEach((t=>{Object.defineProperty(e,t+a,{value:function(e,a,i){return this[t].call(this,n,e,a,i)},configurable:!0})}))}(a,e),n[t]=!0)}return Zi.isArray(e)?e.forEach(t):t(e),this}}bs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Zi.reduceDescriptors(bs.prototype,(({value:e},n)=>{let a=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(e){this[a]=e}}})),Zi.freezeMethods(bs);const ys=bs;function _s(e,n){const a=this||ms,t=n||a,i=ys.from(t.headers);let s=t.data;return Zi.forEach(e,(function(e){s=e.call(a,s,i.normalize(),n?n.status:void 0)})),i.normalize(),s}function ws(e){return!(!e||!e.__CANCEL__)}function ks(e,n,a){$i.call(this,null==e?"canceled":e,$i.ERR_CANCELED,n,a),this.name="CanceledError"}function Es(e,n,a){const t=a.config.validateStatus;a.status&&t&&!t(a.status)?n(new $i("Request failed with status code "+a.status,[$i.ERR_BAD_REQUEST,$i.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a)):e(a)}function js(e,n){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(n)?function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}(e,n):n}Zi.inherits(ks,$i,{__CANCEL__:!0});const Ss="1.6.2";function Ts(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}const Cs=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Os(e,n){e=e||10;const a=new Array(e),t=new Array(e);let i,s=0,o=0;return n=void 0!==n?n:1e3,function(r){const c=Date.now(),l=t[o];i||(i=c),a[s]=r,t[s]=c;let p=o,u=0;for(;p!==s;)u+=a[p++],p%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i!Zi.isUndefined(n[e])))).chunkSize});const n=this,a=this[As]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},t=Os(a.ticksRate*e.samplesCount,a.timeWindow);this.on("newListener",(e=>{"progress"===e&&(a.isCaptured||(a.isCaptured=!0))}));let i=0;a.updateProgress=function(e,n){let a=0;const t=1e3/n;let i=null;return function(n,s){const o=Date.now();if(n||o-a>t)return i&&(clearTimeout(i),i=null),a=o,e.apply(null,s);i||(i=setTimeout((()=>(i=null,a=Date.now(),e.apply(null,s))),t-(o-a)))}}((function(){const e=a.length,s=a.bytesSeen,o=s-i;if(!o||n.destroyed)return;const r=t(o);i=s,process.nextTick((()=>{n.emit("progress",{loaded:s,total:e,progress:e?s/e:void 0,bytes:o,rate:r||void 0,estimated:r&&e&&s<=e?(e-s)/r:void 0})}))}),a.ticksRate);const s=()=>{a.updateProgress(!0)};this.once("end",s),this.once("error",s)}_read(e){const n=this[As];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,a){const t=this,i=this[As],s=i.maxRate,o=this.readableHighWaterMark,r=i.timeWindow,c=s/(1e3/r),l=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*c):0;const p=(e,n)=>{const a=Buffer.byteLength(e);let p,u=null,d=o,m=0;if(s){const e=Date.now();(!i.ts||(m=e-i.ts)>=r)&&(i.ts=e,p=c-i.bytes,i.bytes=p<0?-p:0,m=0),p=c-i.bytes}if(s){if(p<=0)return setTimeout((()=>{n(null,e)}),r-m);pd&&a-d>l&&(u=e.subarray(d),e=e.subarray(0,d)),function(e,n){const a=Buffer.byteLength(e);i.bytesSeen+=a,i.bytes+=a,i.isCaptured&&i.updateProgress(),t.push(e)?process.nextTick(n):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(n)}}(e,u?()=>{process.nextTick(n,null,u)}:n)};p(e,(function e(n,t){if(n)return a(n);t?p(t,e):a(null)}))}setLength(e){return this[As].length=+e,this}}const Rs=Ls,{asyncIterator:Ns}=Symbol,Is=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Ns]?yield*e[Ns]():yield e},Ds=Zi.ALPHABET.ALPHA_DIGIT+"-_",Fs=new Ht.TextEncoder,Bs="\r\n",Us=Fs.encode(Bs);class Ps{constructor(e,n){const{escapeName:a}=this.constructor,t=Zi.isString(n);let i=`Content-Disposition: form-data; name="${a(e)}"${!t&&n.name?`; filename="${a(n.name)}"`:""}${Bs}`;t?n=Fs.encode(String(n).replace(/\r?\n|\r\n?/g,Bs)):i+=`Content-Type: ${n.type||"application/octet-stream"}${Bs}`,this.headers=Fs.encode(i+Bs),this.contentLength=t?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=n}async*encode(){yield this.headers;const{value:e}=this;Zi.isTypedArray(e)?yield e:yield*Is(e),yield Us}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}const zs=(e,n,a)=>{const{tag:t="form-data-boundary",size:i=25,boundary:s=t+"-"+Zi.generateString(i,Ds)}=a||{};if(!Zi.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");const o=Fs.encode("--"+s+Bs),r=Fs.encode("--"+s+"--"+Bs+Bs);let c=r.byteLength;const l=Array.from(e.entries()).map((([e,n])=>{const a=new Ps(e,n);return c+=a.size,a}));c+=o.byteLength*l.length,c=Zi.toFiniteNumber(c);const p={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(p["Content-Length"]=c),n&&n(p),Yt.Readable.from(async function*(){for(const e of l)yield o,yield*e.encode();yield r}())};class qs extends ri.default.Transform{__transform(e,n,a){this.push(e),a()}_transform(e,n,a){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,n)}this.__transform(e,n,a)}}const Ms=qs,Zs=(e,n)=>Zi.isAsyncFn(e)?function(...a){const t=a.pop();e.apply(this,a).then((e=>{try{n?t(null,...n(e)):t(null,e)}catch(e){t(e)}}),t)}:e,$s={flush:oi.default.constants.Z_SYNC_FLUSH,finishFlush:oi.default.constants.Z_SYNC_FLUSH},Gs={flush:oi.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:oi.default.constants.BROTLI_OPERATION_FLUSH},Ks=Zi.isFunction(oi.default.createBrotliDecompress),{http:Vs,https:Hs}=si.default,Ws=/https:?/,Js=ps.protocols.map((e=>e+":"));function Ys(e){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e)}function Xs(e,n,a){let t=n;if(!t&&!1!==t){const e=Gt.getProxyForUrl(a);e&&(t=new URL(e))}if(t){if(t.username&&(t.auth=(t.username||"")+":"+(t.password||"")),t.auth){(t.auth.username||t.auth.password)&&(t.auth=(t.auth.username||"")+":"+(t.auth.password||""));const n=Buffer.from(t.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.headers.host=e.hostname+(e.port?":"+e.port:"");const n=t.hostname||t.host;e.hostname=n,e.host=n,e.port=t.port,e.path=a,t.protocol&&(e.protocol=t.protocol.includes(":")?t.protocol:`${t.protocol}:`)}e.beforeRedirects.proxy=function(e){Xs(e,n,e.href)}}const Qs="undefined"!=typeof process&&"process"===Zi.kindOf(process),eo=(e,n)=>(({address:e,family:n})=>{if(!Zi.isString(e))throw TypeError("address must be a string");return{address:e,family:n||(e.indexOf(".")<0?6:4)}})(Zi.isObject(e)?e:{address:e,family:n}),no=Qs&&function(e){return n=async function(n,a,t){let{data:i,lookup:s,family:o}=e;const{responseType:r,responseEncoding:c}=e,l=e.method.toUpperCase();let p,u,d=!1;if(s){const e=Zs(s,(e=>Zi.isArray(e)?e:[e]));s=(n,a,t)=>{e(n,a,((e,n,i)=>{const s=Zi.isArray(n)?n.map((e=>eo(e))):[eo(n,i)];a.all?t(e,s):t(e,s[0].address,s[0].family)}))}}const m=new ci.default,f=()=>{e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h),m.removeAllListeners()};function h(n){m.emit("abort",!n||n.type?new ks(null,e,u):n)}t(((e,n)=>{p=!0,n&&(d=!0,f())})),m.once("abort",a),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h)));const v=js(e.baseURL,e.url),x=new URL(v,"http://localhost"),g=x.protocol||Js[0];if("data:"===g){let t;if("GET"!==l)return Es(n,a,{status:405,statusText:"method not allowed",headers:{},config:e});try{t=function(e,n,a){const t=a&&a.Blob||ps.classes.Blob,i=Ts(e);if(void 0===n&&t&&(n=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const a=Cs.exec(e);if(!a)throw new $i("Invalid URL",$i.ERR_INVALID_URL);const s=a[1],o=a[2],r=a[3],c=Buffer.from(decodeURIComponent(r),o?"base64":"utf8");if(n){if(!t)throw new $i("Blob is not supported",$i.ERR_NOT_SUPPORT);return new t([c],{type:s})}return c}throw new $i("Unsupported protocol "+i,$i.ERR_NOT_SUPPORT)}(e.url,"blob"===r,{Blob:e.env&&e.env.Blob})}catch(n){throw $i.from(n,$i.ERR_BAD_REQUEST,e)}return"text"===r?(t=t.toString(c),c&&"utf8"!==c||(t=Zi.stripBOM(t))):"stream"===r&&(t=ri.default.Readable.from(t)),Es(n,a,{data:t,status:200,statusText:"OK",headers:new ys,config:e})}if(-1===Js.indexOf(g))return a(new $i("Unsupported protocol "+g,$i.ERR_BAD_REQUEST,e));const b=ys.from(e.headers).normalize();b.set("User-Agent","axios/"+Ss,!1);const y=e.onDownloadProgress,_=e.onUploadProgress,w=e.maxRate;let k,E;if(Zi.isSpecCompliantForm(i)){const e=b.getContentType(/boundary=([-_\w\d]{10,70})/i);i=zs(i,(e=>{b.set(e)}),{tag:`axios-${Ss}-boundary`,boundary:e&&e[1]||void 0})}else if(Zi.isFormData(i)&&Zi.isFunction(i.getHeaders)){if(b.set(i.getHeaders()),!b.hasContentLength())try{const e=await ii.default.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&b.setContentLength(e)}catch(e){}}else if(Zi.isBlob(i))i.size&&b.setContentType(i.type||"application/octet-stream"),b.setContentLength(i.size||0),i=ri.default.Readable.from(Is(i));else if(i&&!Zi.isStream(i)){if(Buffer.isBuffer(i));else if(Zi.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!Zi.isString(i))return a(new $i("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",$i.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(b.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return a(new $i("Request body larger than maxBodyLength limit",$i.ERR_BAD_REQUEST,e))}const j=Zi.toFiniteNumber(b.getContentLength());let S,T;Zi.isArray(w)?(k=w[0],E=w[1]):k=E=w,i&&(_||k)&&(Zi.isStream(i)||(i=ri.default.Readable.from(i,{objectMode:!1})),i=ri.default.pipeline([i,new Rs({length:j,maxRate:Zi.toFiniteNumber(k)})],Zi.noop),_&&i.on("progress",(e=>{_(Object.assign(e,{upload:!0}))}))),e.auth&&(S=(e.auth.username||"")+":"+(e.auth.password||"")),!S&&x.username&&(S=x.username+":"+x.password),S&&b.delete("authorization");try{T=as(x.pathname+x.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(n){const t=new Error(n.message);return t.config=e,t.url=e.url,t.exists=!0,a(t)}b.set("Accept-Encoding","gzip, compress, deflate"+(Ks?", br":""),!1);const C={path:T,method:l,headers:b.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:S,protocol:g,family:o,beforeRedirect:Ys,beforeRedirects:{}};let O;!Zi.isUndefined(s)&&(C.lookup=s),e.socketPath?C.socketPath=e.socketPath:(C.hostname=x.hostname,C.port=x.port,Xs(C,e.proxy,g+"//"+x.hostname+(x.port?":"+x.port:"")+C.path));const A=Ws.test(C.protocol);if(C.agent=A?e.httpsAgent:e.httpAgent,e.transport?O=e.transport:0===e.maxRedirects?O=A?ti.default:ai.default:(e.maxRedirects&&(C.maxRedirects=e.maxRedirects),e.beforeRedirect&&(C.beforeRedirects.config=e.beforeRedirect),O=A?Hs:Vs),e.maxBodyLength>-1?C.maxBodyLength=e.maxBodyLength:C.maxBodyLength=1/0,e.insecureHTTPParser&&(C.insecureHTTPParser=e.insecureHTTPParser),u=O.request(C,(function(t){if(u.destroyed)return;const i=[t],s=+t.headers["content-length"];if(y){const e=new Rs({length:Zi.toFiniteNumber(s),maxRate:Zi.toFiniteNumber(E)});y&&e.on("progress",(e=>{y(Object.assign(e,{download:!0}))})),i.push(e)}let o=t;const p=t.req||u;if(!1!==e.decompress&&t.headers["content-encoding"])switch("HEAD"!==l&&204!==t.statusCode||delete t.headers["content-encoding"],(t.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(oi.default.createUnzip($s)),delete t.headers["content-encoding"];break;case"deflate":i.push(new Ms),i.push(oi.default.createUnzip($s)),delete t.headers["content-encoding"];break;case"br":Ks&&(i.push(oi.default.createBrotliDecompress(Gs)),delete t.headers["content-encoding"])}o=i.length>1?ri.default.pipeline(i,Zi.noop):i[0];const h=ri.default.finished(o,(()=>{h(),f()})),v={status:t.statusCode,statusText:t.statusMessage,headers:new ys(t.headers),config:e,request:p};if("stream"===r)v.data=o,Es(n,a,v);else{const t=[];let i=0;o.on("data",(function(n){t.push(n),i+=n.length,e.maxContentLength>-1&&i>e.maxContentLength&&(d=!0,o.destroy(),a(new $i("maxContentLength size of "+e.maxContentLength+" exceeded",$i.ERR_BAD_RESPONSE,e,p)))})),o.on("aborted",(function(){if(d)return;const n=new $i("maxContentLength size of "+e.maxContentLength+" exceeded",$i.ERR_BAD_RESPONSE,e,p);o.destroy(n),a(n)})),o.on("error",(function(n){u.destroyed||a($i.from(n,null,e,p))})),o.on("end",(function(){try{let e=1===t.length?t[0]:Buffer.concat(t);"arraybuffer"!==r&&(e=e.toString(c),c&&"utf8"!==c||(e=Zi.stripBOM(e))),v.data=e}catch(n){return a($i.from(n,null,e,v.request,v))}Es(n,a,v)}))}m.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),m.once("abort",(e=>{a(e),u.destroy(e)})),u.on("error",(function(n){a($i.from(n,null,e,u))})),u.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const n=parseInt(e.timeout,10);if(Number.isNaN(n))return void a(new $i("error trying to parse `config.timeout` to int",$i.ERR_BAD_OPTION_VALUE,e,u));u.setTimeout(n,(function(){if(p)return;let n=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const t=e.transitional||is;e.timeoutErrorMessage&&(n=e.timeoutErrorMessage),a(new $i(n,t.clarifyTimeoutError?$i.ETIMEDOUT:$i.ECONNABORTED,e,u)),h()}))}if(Zi.isStream(i)){let n=!1,a=!1;i.on("end",(()=>{n=!0})),i.once("error",(e=>{a=!0,u.destroy(e)})),i.on("close",(()=>{n||a||h(new ks("Request stream has been aborted",e,u))})),i.pipe(u)}else u.end(i)},new Promise(((e,a)=>{let t,i;const s=(e,n)=>{i||(i=!0,t&&t(e,n))},o=e=>{s(e,!0),a(e)};n((n=>{s(n),e(n)}),o,(e=>t=e)).catch(o)}));var n},ao=ps.hasStandardBrowserEnv?{write(e,n,a,t,i,s){const o=[e+"="+encodeURIComponent(n)];Zi.isNumber(a)&&o.push("expires="+new Date(a).toGMTString()),Zi.isString(t)&&o.push("path="+t),Zi.isString(i)&&o.push("domain="+i),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){const n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},to=ps.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let a;function t(a){let t=a;return e&&(n.setAttribute("href",t),t=n.href),n.setAttribute("href",t),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return a=t(window.location.href),function(e){const n=Zi.isString(e)?t(e):e;return n.protocol===a.protocol&&n.host===a.host}}():function(){return!0};function io(e,n){let a=0;const t=Os(50,250);return i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,r=s-a,c=t(r);a=s;const l={loaded:s,total:o,progress:o?s/o:void 0,bytes:r,rate:c||void 0,estimated:c&&o&&s<=o?(o-s)/c:void 0,event:i};l[n?"download":"upload"]=!0,e(l)}}const so="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(n,a){let t=e.data;const i=ys.from(e.headers).normalize();let s,o,{responseType:r,withXSRFToken:c}=e;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}if(Zi.isFormData(t))if(ps.hasStandardBrowserEnv||ps.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(o=i.getContentType())){const[e,...n]=o?o.split(";").map((e=>e.trim())).filter(Boolean):[];i.setContentType([e||"multipart/form-data",...n].join("; "))}let p=new XMLHttpRequest;if(e.auth){const n=e.auth.username||"",a=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(n+":"+a))}const u=js(e.baseURL,e.url);function d(){if(!p)return;const t=ys.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders());Es((function(e){n(e),l()}),(function(e){a(e),l()}),{data:r&&"text"!==r&&"json"!==r?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:t,config:e,request:p}),p=null}if(p.open(e.method.toUpperCase(),as(u,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=d:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(d)},p.onabort=function(){p&&(a(new $i("Request aborted",$i.ECONNABORTED,e,p)),p=null)},p.onerror=function(){a(new $i("Network Error",$i.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let n=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const t=e.transitional||is;e.timeoutErrorMessage&&(n=e.timeoutErrorMessage),a(new $i(n,t.clarifyTimeoutError?$i.ETIMEDOUT:$i.ECONNABORTED,e,p)),p=null},ps.hasStandardBrowserEnv&&(c&&Zi.isFunction(c)&&(c=c(e)),c||!1!==c&&to(u))){const n=e.xsrfHeaderName&&e.xsrfCookieName&&ao.read(e.xsrfCookieName);n&&i.set(e.xsrfHeaderName,n)}void 0===t&&i.setContentType(null),"setRequestHeader"in p&&Zi.forEach(i.toJSON(),(function(e,n){p.setRequestHeader(n,e)})),Zi.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),r&&"json"!==r&&(p.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",io(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",io(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=n=>{p&&(a(!n||n.type?new ks(null,e,p):n),p.abort(),p=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const m=Ts(u);m&&-1===ps.protocols.indexOf(m)?a(new $i("Unsupported protocol "+m+":",$i.ERR_BAD_REQUEST,e)):p.send(t||null)}))},oo={http:no,xhr:so};Zi.forEach(oo,((e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch(e){}Object.defineProperty(e,"adapterName",{value:n})}}));const ro=e=>`- ${e}`,co=e=>Zi.isFunction(e)||null===e||!1===e,lo=e=>{e=Zi.isArray(e)?e:[e];const{length:n}=e;let a,t;const i={};for(let s=0;s`adapter ${e} `+(!1===n?"is not supported by the environment":"is not available in the build")));throw new $i("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(ro).join("\n"):" "+ro(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return t};function po(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ks(null,e)}function uo(e){po(e),e.headers=ys.from(e.headers),e.data=_s.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return lo(e.adapter||ms.adapter)(e).then((function(n){return po(e),n.data=_s.call(e,e.transformResponse,n),n.headers=ys.from(n.headers),n}),(function(n){return ws(n)||(po(e),n&&n.response&&(n.response.data=_s.call(e,e.transformResponse,n.response),n.response.headers=ys.from(n.response.headers))),Promise.reject(n)}))}const mo=e=>e instanceof ys?e.toJSON():e;function fo(e,n){n=n||{};const a={};function t(e,n,a){return Zi.isPlainObject(e)&&Zi.isPlainObject(n)?Zi.merge.call({caseless:a},e,n):Zi.isPlainObject(n)?Zi.merge({},n):Zi.isArray(n)?n.slice():n}function i(e,n,a){return Zi.isUndefined(n)?Zi.isUndefined(e)?void 0:t(void 0,e,a):t(e,n,a)}function s(e,n){if(!Zi.isUndefined(n))return t(void 0,n)}function o(e,n){return Zi.isUndefined(n)?Zi.isUndefined(e)?void 0:t(void 0,e):t(void 0,n)}function r(a,i,s){return s in n?t(a,i):s in e?t(void 0,a):void 0}const c={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:r,headers:(e,n)=>i(mo(e),mo(n),!0)};return Zi.forEach(Object.keys(Object.assign({},e,n)),(function(t){const s=c[t]||i,o=s(e[t],n[t],t);Zi.isUndefined(o)&&s!==r||(a[t]=o)})),a}const ho={};["object","boolean","number","function","string","symbol"].forEach(((e,n)=>{ho[e]=function(a){return typeof a===e||"a"+(n<1?"n ":" ")+e}}));const vo={};ho.transitional=function(e,n,a){function t(e,n){return"[Axios v1.6.2] Transitional option '"+e+"'"+n+(a?". "+a:"")}return(a,i,s)=>{if(!1===e)throw new $i(t(i," has been removed"+(n?" in "+n:"")),$i.ERR_DEPRECATED);return n&&!vo[i]&&(vo[i]=!0,console.warn(t(i," has been deprecated since v"+n+" and will be removed in the near future"))),!e||e(a,i,s)}};const xo={assertOptions:function(e,n,a){if("object"!=typeof e)throw new $i("options must be an object",$i.ERR_BAD_OPTION_VALUE);const t=Object.keys(e);let i=t.length;for(;i-- >0;){const s=t[i],o=n[s];if(o){const n=e[s],a=void 0===n||o(n,s,e);if(!0!==a)throw new $i("option "+s+" must be "+a,$i.ERR_BAD_OPTION_VALUE)}else if(!0!==a)throw new $i("Unknown option "+s,$i.ERR_BAD_OPTION)}},validators:ho},go=xo.validators;class bo{constructor(e){this.defaults=e,this.interceptors={request:new ts,response:new ts}}request(e,n){"string"==typeof e?(n=n||{}).url=e:n=e||{},n=fo(this.defaults,n);const{transitional:a,paramsSerializer:t,headers:i}=n;void 0!==a&&xo.assertOptions(a,{silentJSONParsing:go.transitional(go.boolean),forcedJSONParsing:go.transitional(go.boolean),clarifyTimeoutError:go.transitional(go.boolean)},!1),null!=t&&(Zi.isFunction(t)?n.paramsSerializer={serialize:t}:xo.assertOptions(t,{encode:go.function,serialize:go.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&Zi.merge(i.common,i[n.method]);i&&Zi.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),n.headers=ys.concat(s,i);const o=[];let r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(n)||(r=r&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let p,u=0;if(!r){const e=[uo.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),p=e.length,l=Promise.resolve(n);u{if(!a._listeners)return;let n=a._listeners.length;for(;n-- >0;)a._listeners[n](e);a._listeners=null})),this.promise.then=e=>{let n;const t=new Promise((e=>{a.subscribe(e),n=e})).then(e);return t.cancel=function(){a.unsubscribe(n)},t},e((function(e,t,i){a.reason||(a.reason=new ks(e,t,i),n(a.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);-1!==n&&this._listeners.splice(n,1)}static source(){let e;return{token:new _o((function(n){e=n})),cancel:e}}}const wo=_o;const ko={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};Object.entries(ko).forEach((([e,n])=>{ko[n]=e}));const Eo=ko;const jo=function e(n){const a=new yo(n),t=li(yo.prototype.request,a);return Zi.extend(t,yo.prototype,a,{allOwnKeys:!0}),Zi.extend(t,a,null,{allOwnKeys:!0}),t.create=function(a){return e(fo(n,a))},t}(ms);jo.Axios=yo,jo.CanceledError=ks,jo.CancelToken=wo,jo.isCancel=ws,jo.VERSION=Ss,jo.toFormData=Yi,jo.AxiosError=$i,jo.Cancel=jo.CanceledError,jo.all=function(e){return Promise.all(e)},jo.spread=function(e){return function(n){return e.apply(null,n)}},jo.isAxiosError=function(e){return Zi.isObject(e)&&!0===e.isAxiosError},jo.mergeConfig=fo,jo.AxiosHeaders=ys,jo.formToJSON=e=>us(Zi.isHTMLForm(e)?new FormData(e):e),jo.getAdapter=lo,jo.HttpStatusCode=Eo,jo.default=jo;var So=jo,To=y,Co=e,Oo=a,Ao=t,Lo=i,Ro=s.parse,No=o,Io=w,Do=K,Fo=function(e,n){return Object.keys(n).forEach((function(a){e[a]=e[a]||n[a]})),e},Bo=Uo;function Uo(e){if(!(this instanceof Uo))return new Uo(e);for(var n in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],To.call(this),e=e||{})this[n]=e[n]}Co.inherits(Uo,To),Uo.LINE_BREAK="\r\n",Uo.DEFAULT_CONTENT_TYPE="application/octet-stream",Uo.prototype.append=function(e,n,a){"string"==typeof(a=a||{})&&(a={filename:a});var t=To.prototype.append.bind(this);if("number"==typeof n&&(n=""+n),Co.isArray(n))this._error(new Error("Arrays are not supported."));else{var i=this._multiPartHeader(e,n,a),s=this._multiPartFooter();t(i),t(n),t(s),this._trackLength(i,n,a)}},Uo.prototype._trackLength=function(e,n,a){var t=0;null!=a.knownLength?t+=+a.knownLength:Buffer.isBuffer(n)?t=n.length:"string"==typeof n&&(t=Buffer.byteLength(n)),this._valueLength+=t,this._overheadLength+=Buffer.byteLength(e)+Uo.LINE_BREAK.length,n&&(n.path||n.readable&&n.hasOwnProperty("httpVersion"))&&(a.knownLength||this._valuesToMeasure.push(n))},Uo.prototype._lengthRetriever=function(e,n){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?n(null,e.end+1-(e.start?e.start:0)):No.stat(e.path,(function(a,t){var i;a?n(a):(i=t.size-(e.start?e.start:0),n(null,i))})):e.hasOwnProperty("httpVersion")?n(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(a){e.pause(),n(null,+a.headers["content-length"])})),e.resume()):n("Unknown stream")},Uo.prototype._multiPartHeader=function(e,n,a){if("string"==typeof a.header)return a.header;var t,i=this._getContentDisposition(n,a),s=this._getContentType(n,a),o="",r={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(s||[])};for(var c in"object"==typeof a.header&&Fo(r,a.header),r)r.hasOwnProperty(c)&&null!=(t=r[c])&&(Array.isArray(t)||(t=[t]),t.length&&(o+=c+": "+t.join("; ")+Uo.LINE_BREAK));return"--"+this.getBoundary()+Uo.LINE_BREAK+o+Uo.LINE_BREAK},Uo.prototype._getContentDisposition=function(e,n){var a,t;return"string"==typeof n.filepath?a=Oo.normalize(n.filepath).replace(/\\/g,"/"):n.filename||e.name||e.path?a=Oo.basename(n.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(a=Oo.basename(e.client._httpMessage.path||"")),a&&(t='filename="'+a+'"'),t},Uo.prototype._getContentType=function(e,n){var a=n.contentType;return!a&&e.name&&(a=Io.lookup(e.name)),!a&&e.path&&(a=Io.lookup(e.path)),!a&&e.readable&&e.hasOwnProperty("httpVersion")&&(a=e.headers["content-type"]),a||!n.filepath&&!n.filename||(a=Io.lookup(n.filepath||n.filename)),a||"object"!=typeof e||(a=Uo.DEFAULT_CONTENT_TYPE),a},Uo.prototype._multiPartFooter=function(){return function(e){var n=Uo.LINE_BREAK;0===this._streams.length&&(n+=this._lastBoundary()),e(n)}.bind(this)},Uo.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Uo.LINE_BREAK},Uo.prototype.getHeaders=function(e){var n,a={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in e)e.hasOwnProperty(n)&&(a[n.toLowerCase()]=e[n]);return a},Uo.prototype.setBoundary=function(e){this._boundary=e},Uo.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},Uo.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),n=this.getBoundary(),a=0,t=this._streams.length;a=this.maxRetries)break;void 0!==o&&(0,$o.logDebug)(`Encountered a retryable-error: ${o.message}`),(0,$o.logInfo)(`Starting retry ${i.getNumRetries()+1} for request ${e} ${n} after sleeping for ${i.getTimeUntilDeadline()} seconds.`),await i.sleepUntilDeadline()}if(void 0!==s){const{statusCode:a,content:i}=s;return(0,$o.logInfo)(`DeepL API response ${e} ${n} ${a}`),t||(0,$o.logDebug)("Response details:",{content:i}),s}throw o}static async sendAxiosRequest(e){try{const n=await Wo.request(e);return"text"===e.responseType&&"object"==typeof n.data&&(n.data=JSON.stringify(n.data)),{statusCode:n.status,content:n.data}}catch(e){const n=e,a=n.message||"",t=new Zo.ConnectionError(`Connection failure: ${a}`);throw t.error=n,"ETIMEDOUT"===n.code||"ECONNABORTED"===n.code?t.shouldRetry=!0:((0,$o.logDebug)("Unrecognized axios error",n),t.shouldRetry=!1),t}}static shouldRetry(e,n){return void 0===e?n.shouldRetry:429===e||e>=500}}Lt.HttpClient=Yo;var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.GlossaryEntries=void 0;const Qo=Rt,er=Bt;class nr{constructor(e){if(this.implEntries={},void 0!==(null==e?void 0:e.entries)){if(void 0!==(null==e?void 0:e.tsv))throw new Qo.DeepLError("options.entries and options.tsv are mutually exclusive");Object.assign(this.implEntries,e.entries)}else if(void 0!==(null==e?void 0:e.tsv)){const n=e.tsv;for(const e of n.split(/\r\n|\n|\r/)){if(0===e.length)continue;const[n,a,t]=e.split("\t",3);if(void 0===a)throw new Qo.DeepLError(`Missing tab character in entry '${e}'`);if(void 0!==t)throw new Qo.DeepLError(`Duplicate tab character in entry '${e}'`);this.add(n,a,!1)}}}add(e,n,a=!1){if(!a&&e in this.implEntries)throw new Qo.DeepLError(`Duplicate source term '${e}'`);this.implEntries[e]=n}entries(){return this.implEntries}toTsv(){return Object.entries(this.implEntries).map((([e,n])=>(nr.validateGlossaryTerm(e),nr.validateGlossaryTerm(n),`${e}\t${n}`))).join("\n")}static validateGlossaryTerm(e){if(!(0,er.isString)(e)||0===e.length)throw new Qo.DeepLError(`'${e}' is not a valid term.`);for(let n=0;n=this.limit}}class t{constructor(e,n,a){this.character=e,this.document=n,this.teamDocument=a}anyLimitReached(){var e,n,a;return(null===(e=this.character)||void 0===e?void 0:e.limitReached())||(null===(n=this.document)||void 0===n?void 0:n.limitReached())||(null===(a=this.teamDocument)||void 0===a?void 0:a.limitReached())||!1}toString(){return"Usage this billing period:\n"+[["Characters",this.character],["Documents",this.document],["Team documents",this.teamDocument]].filter((([,e])=>e)).map((([e,n])=>`${e}: ${n.count} of ${n.limit}`)).join("\n")}}class i{constructor(e,n,a,t){this.status=e,this.secondsRemaining=n,this.billedCharacters=a,this.errorMessage=t}ok(){return"queued"===this.status||"translating"===this.status||"done"===this.status}done(){return"done"===this.status}}function s(e){return{glossaryId:e.glossary_id,name:e.name,ready:e.ready,sourceLang:e.source_lang,targetLang:e.target_lang,creationTime:new Date(e.creation_time),entryCount:e.entry_count}}function o(e,n){const t=e[`${n}_count`],i=e[`${n}_limit`];if(void 0!==t&&void 0!==i)return new a(t,i)}return tr.parseGlossaryInfo=function(n){try{return s(JSON.parse(n))}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}},tr.parseGlossaryInfoList=function(n){try{return JSON.parse(n).glossaries.map((e=>s(e)))}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}},tr.parseDocumentStatus=function(n){try{const e=JSON.parse(n);return new i(e.status,e.seconds_remaining,e.billed_characters,e.error_message)}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}},tr.parseUsage=function(n){try{const e=JSON.parse(n);return new t(o(e,"character"),o(e,"document"),o(e,"team_document"))}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}},tr.parseTextResultArray=function(a){try{return JSON.parse(a).translations.map((e=>({text:e.text,detectedSourceLang:(0,n.standardizeLanguageCode)(e.detected_source_language)})))}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}},tr.parseLanguageArray=function(a){return JSON.parse(a).map((a=>function(a){try{const e={name:a.name,code:(0,n.standardizeLanguageCode)(a.language),supportsFormality:a.supports_formality};return void 0===e.supportsFormality&&delete e.supportsFormality,e}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}}(a)))},tr.parseGlossaryLanguagePairArray=function(n){return JSON.parse(n).supported_languages.map((n=>function(n){try{return{sourceLang:n.source_lang,targetLang:n.target_lang}}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}}(n)))},tr.parseDocumentHandle=function(n){try{const e=JSON.parse(n);return{documentId:e.document_id,documentKey:e.document_key}}catch(n){throw new e.DeepLError(`Error parsing response JSON: ${n}`)}},tr}var sr,or={};function rr(){return sr||(sr=1,function(n){var i=d&&d.__createBinding||(Object.create?function(e,n,a,t){void 0===t&&(t=a);var i=Object.getOwnPropertyDescriptor(n,a);i&&!("get"in i?!n.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return n[a]}}),Object.defineProperty(e,t,i)}:function(e,n,a,t){void 0===t&&(t=a),e[t]=n[a]}),r=d&&d.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),c=d&&d.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var a in e)"default"!==a&&Object.prototype.hasOwnProperty.call(e,a)&&i(n,e,a);return r(n,e),n},p=d&&d.__exportStar||function(e,n){for(var a in e)"default"===a||Object.prototype.hasOwnProperty.call(n,a)||i(n,e,a)},u=d&&d.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.Translator=n.isFreeAccountAuthKey=n.nonRegionalLanguageCode=n.standardizeLanguageCode=void 0;const m=Lt,f=Rt,h=Xo,v=ir(),x=Bt,g=c(o),b=t,y=u(a),_=c(l),w=s,k=c(e);function E(e){if(!(0,x.isString)(e)||0===e.length)throw new f.DeepLError("langCode must be a non-empty string");const[n,a]=e.split("-",2);return void 0===a?n.toLowerCase():`${n.toLowerCase()}-${a.toUpperCase()}`}function j(e){if(!(0,x.isString)(e)||0===e.length)throw new f.DeepLError("langCode must be a non-empty string");return e.split("-",2)[0].toLowerCase()}function S(e){return e.endsWith(":fx")}function T(e){return(0,x.isString)(e)?e:e.join(",")}function C(e,n,a,t){if(n=E(n),null!==e&&(e=E(e)),void 0!==t&&null===e)throw new f.DeepLError("sourceLang is required if using a glossary");if(void 0!==t&&!(0,x.isString)(t)&&(j(n)!==t.targetLang||e!==t.sourceLang))throw new f.DeepLError("sourceLang and targetLang must match glossary");if("en"===n)throw new f.DeepLError("targetLang='en' is deprecated, please use 'en-GB' or 'en-US' instead.");if("pt"===n)throw new f.DeepLError("targetLang='pt' is deprecated, please use 'pt-PT' or 'pt-BR' instead.");const i=new w.URLSearchParams({target_lang:n});if(null!==e&&i.append("source_lang",e),void 0!==a){const e=String(a).toLowerCase();i.append("formality",e)}if(void 0!==t){if(!(0,x.isString)(t)){if(void 0===t.glossaryId)throw new f.DeepLError("glossary option should be a string containing the Glossary ID or a GlossaryInfo object.");t=t.glossaryId}i.append("glossary_id",t)}return i}async function O(e,n,a=!1,t=!1){if(200<=e&&e<400)return;if(n instanceof b.IncomingMessage)try{n=await(0,x.streamToString)(n)}catch(e){n=`Error occurred while reading response: ${e}`}let i="";try{const e=JSON.parse(n);void 0!==e.message&&(i+=`, message: ${e.message}`),void 0!==e.detail&&(i+=`, detail: ${e.detail}`)}catch(e){i=", "+n}switch(e){case 403:throw new f.AuthorizationError(`Authorization failure, check auth_key${i}`);case 456:throw new f.QuotaExceededError(`Quota for this billing period has been exceeded${i}`);case 404:if(a)throw new f.GlossaryNotFoundError(`Glossary not found${i}`);throw new f.DeepLError(`Not found, check server_url${i}`);case 400:throw new f.DeepLError(`Bad request${i}`);case 429:throw new f.TooManyRequestsError(`Too many requests, DeepL servers are currently experiencing high load${i}`);case 503:throw t?new f.DocumentNotReadyError(`Document not ready${i}`):new f.DeepLError(`Service unavailable${i}`);default:{const a=b.STATUS_CODES[e]||"Unknown";throw new f.DeepLError(`Unexpected status code: ${e} ${a}${i}, content: ${n}`)}}}p(Rt,n),p(Xo,n),p(or,n),n.standardizeLanguageCode=E,n.nonRegionalLanguageCode=j,n.isFreeAccountAuthKey=S;n.Translator=class{constructor(e,n){var a;if(!(0,x.isString)(e)||0===e.length)throw new f.DeepLError("authKey must be a non-empty string");let t;t=void 0!==(null==n?void 0:n.serverUrl)?n.serverUrl:S(e)?"https://api-free.deepl.com":"https://api.deepl.com";const i={Authorization:`DeepL-Auth-Key ${e}`,"User-Agent":this.constructUserAgentString(!1!==(null==n?void 0:n.sendPlatformInfo),null==n?void 0:n.appInfo),...null!==(a=null==n?void 0:n.headers)&&void 0!==a?a:{}},s=void 0!==(null==n?void 0:n.maxRetries)?n.maxRetries:5,o=void 0!==(null==n?void 0:n.minTimeout)?n.minTimeout:5e3;this.httpClient=new m.HttpClient(t,i,s,o,null==n?void 0:n.proxy)}async getUsage(){const{statusCode:e,content:n}=await this.httpClient.sendRequestWithBackoff("GET","/v2/usage");return await O(e,n),(0,v.parseUsage)(n)}async getSourceLanguages(){const{statusCode:e,content:n}=await this.httpClient.sendRequestWithBackoff("GET","/v2/languages");return await O(e,n),(0,v.parseLanguageArray)(n)}async getTargetLanguages(){const e=new w.URLSearchParams({type:"target"}),{statusCode:n,content:a}=await this.httpClient.sendRequestWithBackoff("GET","/v2/languages",{data:e});return await O(n,a),(0,v.parseLanguageArray)(a)}async getGlossaryLanguagePairs(){const{statusCode:e,content:n}=await this.httpClient.sendRequestWithBackoff("GET","/v2/glossary-language-pairs");return await O(e,n),(0,v.parseGlossaryLanguagePairArray)(n)}async translateText(e,n,a,t){const i=C(n,a,null==t?void 0:t.formality,null==t?void 0:t.glossary),s=function(e,n){const a=!Array.isArray(n);if(a){if(!(0,x.isString)(n)||0===n.length)throw new f.DeepLError("texts parameter must be a non-empty string or array of non-empty strings");e.append("text",n)}else for(const a of n){if(!(0,x.isString)(a)||0===a.length)throw new f.DeepLError("texts parameter must be a non-empty string or array of non-empty strings");e.append("text",a)}return a}(i,e);!function(e,n){n&&(void 0!==n.splitSentences&&(n.splitSentences=n.splitSentences.toLowerCase(),"on"===n.splitSentences||"default"===n.splitSentences?e.append("split_sentences","1"):"off"===n.splitSentences?e.append("split_sentences","0"):e.append("split_sentences",n.splitSentences)),void 0!==n.preserveFormatting&&e.append("preserve_formatting",(0,x.toBoolString)(n.preserveFormatting)),void 0!==n.tagHandling&&e.append("tag_handling",n.tagHandling),void 0!==n.outlineDetection&&e.append("outline_detection",(0,x.toBoolString)(n.outlineDetection)),void 0!==n.context&&e.append("context",n.context),void 0!==n.nonSplittingTags&&e.append("non_splitting_tags",T(n.nonSplittingTags)),void 0!==n.splittingTags&&e.append("splitting_tags",T(n.splittingTags)),void 0!==n.ignoreTags&&e.append("ignore_tags",T(n.ignoreTags)))}(i,t);const{statusCode:o,content:r}=await this.httpClient.sendRequestWithBackoff("POST","/v2/translate",{data:i});await O(o,r);const c=(0,v.parseTextResultArray)(r);return s?c[0]:c}async translateDocument(e,n,a,t,i){const{outputHandle:s,onError:o}=await async function(){if((0,x.isString)(n)){const e=await g.promises.open(n,"wx"),a=async()=>{try{await e.close(),await k.promisify(g.unlink)(n)}catch{}};return{outputHandle:e,onError:a}}return{outputHandle:n}}();let r;try{r=await this.uploadDocument(e,a,t,i);const{status:n}=await this.isDocumentTranslationComplete(r);return await this.downloadDocument(r,s),n}catch(e){o&&await o();const n=e instanceof Error?e:void 0,a="Error occurred while translating document: "+((null==n?void 0:n.message)?null==n?void 0:n.message:e);throw new f.DocumentTranslationError(a,r,n)}}async uploadDocument(e,n,a,t){if((0,x.isString)(e)){const i=await g.promises.readFile(e);return this.internalUploadDocument(i,n,a,y.default.basename(e),t)}if(void 0===(null==t?void 0:t.filename))throw new f.DeepLError("options.filename must be specified unless using input file path");if(e instanceof g.ReadStream){const i=await(0,x.streamToBuffer)(e);return this.internalUploadDocument(i,n,a,t.filename,t)}if(e instanceof Buffer)return this.internalUploadDocument(e,n,a,t.filename,t);{const i=await e.readFile(),s=await this.internalUploadDocument(i,n,a,t.filename,t);return await e.close(),s}}async getDocumentStatus(e){const n=new w.URLSearchParams({document_key:e.documentKey}),{statusCode:a,content:t}=await this.httpClient.sendRequestWithBackoff("POST",`/v2/document/${e.documentId}`,{data:n});return await O(a,t,!1,!0),(0,v.parseDocumentStatus)(t)}async downloadDocument(e,n){if((0,x.isString)(n)){const a=await g.createWriteStream(n,{flags:"wx"});try{await this.internalDownloadDocument(e,a)}catch(e){throw await new Promise((e=>a.close(e))),await g.promises.unlink(n),e}}else{if(n instanceof g.WriteStream)return this.internalDownloadDocument(e,n);{const a="",t=g.createWriteStream(a,{fd:n.fd});await this.internalDownloadDocument(e,t);try{await n.close()}catch{}}}}async isDocumentTranslationComplete(e){let n=await this.getDocumentStatus(e);for(;!n.done()&&n.ok();){const a=5;await(0,x.timeout)(1e3*a),(0,x.logInfo)(`Rechecking document translation status after sleeping for ${a} seconds.`),n=await this.getDocumentStatus(e)}if(!n.ok()){const e=n.errorMessage||"unknown error";throw new f.DeepLError(e)}return{handle:e,status:n}}async createGlossary(e,n,a,t){if(0===Object.keys(t.entries()).length)throw new f.DeepLError("glossary entries must not be empty");const i=t.toTsv();return this.internalCreateGlossary(e,n,a,"tsv",i)}async createGlossaryWithCsv(e,n,a,t){let i;return(0,x.isString)(t)?i=(await g.promises.readFile(t)).toString():t instanceof g.ReadStream?i=(await(0,x.streamToBuffer)(t)).toString():t instanceof Buffer?i=t.toString():(i=(await t.readFile()).toString(),await t.close()),this.internalCreateGlossary(e,n,a,"csv",i)}async getGlossary(e){const{statusCode:n,content:a}=await this.httpClient.sendRequestWithBackoff("GET",`/v2/glossaries/${e}`);return await O(n,a,!0),(0,v.parseGlossaryInfo)(a)}async listGlossaries(){const{statusCode:e,content:n}=await this.httpClient.sendRequestWithBackoff("GET","/v2/glossaries");return await O(e,n,!0),(0,v.parseGlossaryInfoList)(n)}async getGlossaryEntries(e){e=(0,x.isString)(e)?e:e.glossaryId;const{statusCode:n,content:a}=await this.httpClient.sendRequestWithBackoff("GET",`/v2/glossaries/${e}/entries`);return await O(n,a,!0),new h.GlossaryEntries({tsv:a})}async deleteGlossary(e){e=(0,x.isString)(e)?e:e.glossaryId;const{statusCode:n,content:a}=await this.httpClient.sendRequestWithBackoff("DELETE",`/v2/glossaries/${e}`);await O(n,a,!0)}async internalUploadDocument(e,n,a,t,i){const s=C(n,a,null==i?void 0:i.formality,null==i?void 0:i.glossary),{statusCode:o,content:r}=await this.httpClient.sendRequestWithBackoff("POST","/v2/document",{data:s,fileBuffer:e,filename:t});return await O(o,r),(0,v.parseDocumentHandle)(r)}async internalDownloadDocument(e,n){const a=new w.URLSearchParams({document_key:e.documentKey}),{statusCode:t,content:i}=await this.httpClient.sendRequestWithBackoff("POST",`/v2/document/${e.documentId}/result`,{data:a},!0);return await O(t,i,!1,!0),i.pipe(n),new Promise(((e,a)=>{n.on("finish",e),n.on("error",a)}))}async internalCreateGlossary(e,n,a,t,i){if(n=j(n),a=j(a),!(0,x.isString)(e)||0===e.length)throw new f.DeepLError("glossary name must be a non-empty string");const s=new w.URLSearchParams({name:e,source_lang:n,target_lang:a,entries_format:t,entries:i}),{statusCode:o,content:r}=await this.httpClient.sendRequestWithBackoff("POST","/v2/glossaries",{data:s});return await O(o,r,!0),(0,v.parseGlossaryInfo)(r)}constructUserAgentString(e,n){let a="deepl-node/1.11.0";if(e){a+=` (${_.type()} ${_.version()}) node/${process.version.substring(1)}`}return n&&(a+=` ${n.appName}/${n.appVersion}`),a}}}(At)),At}Object.defineProperty(or,"__esModule",{value:!0});var cr=m(rr());class lr{constructor(e){this.translator=new cr.Translator(e)}async init(){}async translate(e,n,a){let t=null,i=this.getDeepLLanguageCode(n),s=this.getDeepLLanguageCode(a);try{t=await this.translateRaw(e,i,s)}catch(n){let s=n.toString();if(s.includes("targetLang")&&s.includes("deprecated"))try{t=await this.translateRaw(e,i,a)}catch(e){console.log(e)}else console.log(n)}return t}async translateRaw(e,n,a){let t=e;const i={"*":"<*>"};for(const[e,n]of Object.entries(i))t=t.replaceAll(e,n);console.log("translate:"),console.log("text: "+e),console.log("source_language_code: "+n),console.log("destination_language_code: "+a);let s=await this.translator.translateText(t,n,a),o=s?.text;for(const[e,n]of Object.entries(i))o=o.replaceAll(n,e);return o}async getExtra(){let e={};const n=await this.translator.getSourceLanguages(),a=await this.translator.getTargetLanguages();e.sourceLanguages=n,e.targetLanguages=a;return{extra:JSON.stringify(e,null,2)||""}}async getUsage(){const e=await this.translator.getUsage();e.anyLimitReached()&&console.log("Translation limit exceeded.");const n=e?.character;return{used:n?.count||0,limit:n?.limit||0}}getDeepLLanguageCode(e){if(e){return e.split("-")[0]}return e}}class pr{constructor(e,n){this.logger=n,this.translatorSettings=e}async init(){try{let e=await this.getAuthKey();await this.reloadAuthKey(e);let n=await this.getSettingsAuthKeyCorrectObject();await this.setSettings(n)}catch(e){await this.setSettings(this.getSettingsAuthKeyErrorObject(e))}}async translate(e,n,a){const t=await this.translatorImplementation.translate(e,n,a);return await this.reloadUsage(),t}async getSettingsAuthKeyCorrectObject(){return{valid_auth_key:!0,informations:"Auth Key is valid!",...await this.getUsage(),...await this.getExtra()}}getSettingsAuthKeyErrorObject(e){return{auth_key:null,valid_auth_key:!1,informations:"Auth Key not valid!\n"+e.toString()}}async reloadAuthKey(e){this.translatorImplementation=new lr(e),await this.translatorImplementation.init(),await this.reloadUsage()}async reloadUsage(){const e=await this.getUsage(),n=e.used||0,a=e.limit||0;let t=0;a>0&&(t=Math.round(n/a*100)),await this.setSettings({percentage:t,...e})}async getUsage(){return await this.translatorImplementation.getUsage()}async getExtra(){return await this.translatorImplementation.getExtra()}async setSettings(e){await this.translatorSettings.setSettings(e)}async getAuthKey(){return await this.translatorSettings.getAuthKey()}}const ur="AUTO_TRANSLATE_API_KEY_SAVING_PATH",dr="auth_key";class mr{static TABLENAME="auto_translation_settings";constructor(e,n,a){this.database=n,this.itemsServiceCreator=new Ct(e,n,a),this.apiKey=null}async init(){console.log("INIT TranslatorSettings"),this.translationSettingsService=await this.itemsServiceCreator.getItemsService(mr.TABLENAME);const e=process.env[ur];if(console.log("API PATH: "+e),e)try{this.apiKey=o.readFileSync(a.resolve(e),"utf-8").trim(),console.log("Found API key: "+this.apiKey)}catch(e){console.log("File not found yet. Will create it later")}}saveApiKeySecureIfConfiguredAndReturnPayload(e){const n=process.env[ur];let t=e[dr];if(console.log("new API key: "+t),n&&t){let i=a.resolve(n),s=a.dirname(i);o.existsSync(s)||(o.mkdirSync(s,{recursive:!0}),console.log("Created directory: "+s)),console.log("Saving to file"),o.writeFileSync(i,t,"utf-8"),this.apiKey=t,e[dr]="XXXXXXXXXXXXXXXXXXXXX"}return e}async setSettings(e){let n=await this.getSettings();n&&n?.id&&await this.translationSettingsService.updateOne(n?.id,e)}async getSettings(){let e=await this.translationSettingsService.readByQuery({});if(e&&e.length>0){return e[0]}return null}async isAutoTranslationEnabled(){let e=await this.getSettings();return e?.active}async getAuthKey(){return this.apiKey}}class fr{static FIELD_BE_SOURCE_FOR_TRANSLATION="be_source_for_translations";static FIELD_CREATE_TRANSLATIONS_FOR_ALL_LANGUAGES="create_translations_for_all_languages";static FIELD_LET_BE_TRANSLATED="let_be_translated";static FIELD_LANGUAGES_IDS_NEW="languages_id";static FIELD_LANGUAGES_CODE_OLD="languages_code";static FIELD_LANGUAGES_ID_OR_CODE=void 0;static COLLECTION_LANGUAGES="languages";static areTranslationsToTranslate(e){if(e&&e.translations){let n=e?.translations||{},a=n?.create||[],t=n?.update||[];return a.length>0||t.length>0}return!1}static getSourceTranslationFromTranslations(e,n,a){if(e&&e.length>0)for(let t of e){if(fr.getValueFromPayloadOrDefaultValue(t,fr.FIELD_BE_SOURCE_FOR_TRANSLATION,n,a))return t}}static getSourceTranslationFromListsOfTranslations(e,n,a){if(e&&e.length>0)for(let t=0;t0){let i=[],r=[],p=[],u=fr.getFieldsToTranslate(s,o);for(let n of c){let c=n?.code,p=l[c],d=c===e;if(p)if(d)r.push({...v});else{let e=f[c],n=p?.[fr.FIELD_LET_BE_TRANSLATED],i=n,l=fr.getValueFromPayloadOrDefaultValue(e,fr.FIELD_LET_BE_TRANSLATED,s,o);if(fr.isValueDefined(l)&&(i=l),i){let e=await fr.translateTranslationItem(v,c,a,t,u);r.push({...p,...e})}else e&&r.push({...e,[fr.FIELD_BE_SOURCE_FOR_TRANSLATION]:!1})}else if(d)i.push({...v,[fr.FIELD_LET_BE_TRANSLATED]:fr.getValueFromPayloadOrDefaultValue(v,fr.FIELD_LET_BE_TRANSLATED,s,o),[fr.FIELD_BE_SOURCE_FOR_TRANSLATION]:!0});else{let e=m[c],r=fr.getValueFromPayloadOrDefaultValue(e,fr.FIELD_LET_BE_TRANSLATED,s,o),l=!0;if(fr.isValueDefined(r)&&(l=r),l){let e=await fr.translateTranslationItem(v,n?.code,a,t,u);i.push({...e})}else e&&i.push({...e,[fr.FIELD_BE_SOURCE_FOR_TRANSLATION]:!1})}}return n.translations={create:i,update:r,delete:p},n}}}return n}static isValueDefined(e){return null!=e}static getValueFromPayloadOrDefaultValue(e,n,a,t){let i=fr.getTranslationCollectionSchema(a,t),s=e?.[n];if(fr.isValueDefined(s))return s;{let e=i?.fields?.[n]?.defaultValue;return e}}static async translateTranslationItem(e,n,a,t,i){let s={};if(i&&i.length>0)for(let t of i){let i=e[t];if(i)try{let o=await a.translate(i,e?.[fr.FIELD_LANGUAGES_ID_OR_CODE]?.code,n);o&&(s[t]=o)}catch(e){console.log(e)}}return s[fr.FIELD_LANGUAGES_ID_OR_CODE]={code:n},s[fr.FIELD_LET_BE_TRANSLATED]=!0,s[fr.FIELD_BE_SOURCE_FOR_TRANSLATION]=!1,s}static getTranslationCollectionName(e){return e+"_translations"}static getTranslationCollectionSchema(e,n){let a=fr.getTranslationCollectionName(n),t=e?.collections?.[a];return t}static getFieldsToTranslate(e,n){let a=fr.getTranslationCollectionName(n),t=fr.getTranslationCollectionSchema(e,n),i=t?.fields||{},s=Object.keys(i),o=t?.primary||"id",r={};for(let e of s)if(e!==o){let n=i[e];"text"!==n?.type&&"string"!==n?.type||(r[e]=!0)}let c=e?.relations||[];for(let e of c)e?.collection===a&&delete r[e?.field];return Object.keys(r)}} +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ +function hr(e){return null==e}var vr=function(e,n){var a,t,i,s;if(n)for(a=0,t=(s=Object.keys(n)).length;ar&&(n=t-r+(s=" ... ").length),a-t>r&&(a=t+r-(o=" ...").length),{str:s+e.slice(n,a).replace(/\t/g,"→")+o,pos:t-n+s.length}}function wr(e,n){return xr.repeat(" ",n-e.length)+e}var kr=function(e,n){if(n=Object.create(n||null),!e.buffer)return null;n.maxLength||(n.maxLength=79),"number"!=typeof n.indent&&(n.indent=1),"number"!=typeof n.linesBefore&&(n.linesBefore=3),"number"!=typeof n.linesAfter&&(n.linesAfter=2);for(var a,t=/\r?\n|\r|\0/g,i=[0],s=[],o=-1;a=t.exec(e.buffer);)s.push(a.index),i.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var r,c,l="",p=Math.min(e.line+n.linesAfter,s.length).toString().length,u=n.maxLength-(n.indent+p+3);for(r=1;r<=n.linesBefore&&!(o-r<0);r++)c=_r(e.buffer,i[o-r],s[o-r],e.position-(i[o]-i[o-r]),u),l=xr.repeat(" ",n.indent)+wr((e.line-r+1).toString(),p)+" | "+c.str+"\n"+l;for(c=_r(e.buffer,i[o],s[o],e.position,u),l+=xr.repeat(" ",n.indent)+wr((e.line+1).toString(),p)+" | "+c.str+"\n",l+=xr.repeat("-",n.indent+p+3+c.pos)+"^\n",r=1;r<=n.linesAfter&&!(o+r>=s.length);r++)c=_r(e.buffer,i[o+r],s[o+r],e.position-(i[o]-i[o+r]),u),l+=xr.repeat(" ",n.indent)+wr((e.line+r+1).toString(),p)+" | "+c.str+"\n";return l.replace(/\n$/,"")},Er=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],jr=["scalar","sequence","mapping"];var Sr=function(e,n){if(n=n||{},Object.keys(n).forEach((function(n){if(-1===Er.indexOf(n))throw new yr('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')})),this.options=n,this.tag=e,this.kind=n.kind||null,this.resolve=n.resolve||function(){return!0},this.construct=n.construct||function(e){return e},this.instanceOf=n.instanceOf||null,this.predicate=n.predicate||null,this.represent=n.represent||null,this.representName=n.representName||null,this.defaultStyle=n.defaultStyle||null,this.multi=n.multi||!1,this.styleAliases=function(e){var n={};return null!==e&&Object.keys(e).forEach((function(a){e[a].forEach((function(e){n[String(e)]=a}))})),n}(n.styleAliases||null),-1===jr.indexOf(this.kind))throw new yr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function Tr(e,n){var a=[];return e[n].forEach((function(e){var n=a.length;a.forEach((function(a,t){a.tag===e.tag&&a.kind===e.kind&&a.multi===e.multi&&(n=t)})),a[n]=e})),a}function Cr(e){return this.extend(e)}Cr.prototype.extend=function(e){var n=[],a=[];if(e instanceof Sr)a.push(e);else if(Array.isArray(e))a=a.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new yr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(n=n.concat(e.implicit)),e.explicit&&(a=a.concat(e.explicit))}n.forEach((function(e){if(!(e instanceof Sr))throw new yr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new yr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new yr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),a.forEach((function(e){if(!(e instanceof Sr))throw new yr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var t=Object.create(Cr.prototype);return t.implicit=(this.implicit||[]).concat(n),t.explicit=(this.explicit||[]).concat(a),t.compiledImplicit=Tr(t,"implicit"),t.compiledExplicit=Tr(t,"explicit"),t.compiledTypeMap=function(){var e,n,a={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function t(e){e.multi?(a.multi[e.kind].push(e),a.multi.fallback.push(e)):a[e.kind][e.tag]=a.fallback[e.tag]=e}for(e=0,n=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Pr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var zr=/^[-+]?[0-9]+e/;var qr=new Sr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!Pr.test(e)||"_"===e[e.length-1])},construct:function(e){var n,a;return a="-"===(n=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(n[0])>=0&&(n=n.slice(1)),".inf"===n?1===a?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===n?NaN:a*parseFloat(n,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||xr.isNegativeZero(e))},represent:function(e,n){var a;if(isNaN(e))switch(n){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(n){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(n){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(xr.isNegativeZero(e))return"-0.0";return a=e.toString(10),zr.test(a)?a.replace("e",".e"):a},defaultStyle:"lowercase"}),Mr=Nr.extend({implicit:[Ir,Dr,Ur,qr]}),Zr=Mr,$r=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Gr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var Kr=new Sr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==$r.exec(e)||null!==Gr.exec(e))},construct:function(e){var n,a,t,i,s,o,r,c,l=0,p=null;if(null===(n=$r.exec(e))&&(n=Gr.exec(e)),null===n)throw new Error("Date resolve error");if(a=+n[1],t=+n[2]-1,i=+n[3],!n[4])return new Date(Date.UTC(a,t,i));if(s=+n[4],o=+n[5],r=+n[6],n[7]){for(l=n[7].slice(0,3);l.length<3;)l+="0";l=+l}return n[9]&&(p=6e4*(60*+n[10]+ +(n[11]||0)),"-"===n[9]&&(p=-p)),c=new Date(Date.UTC(a,t,i,s,o,r,l)),p&&c.setTime(c.getTime()-p),c},instanceOf:Date,represent:function(e){return e.toISOString()}});var Vr=new Sr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),Hr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var Wr=new Sr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var n,a,t=0,i=e.length,s=Hr;for(a=0;a64)){if(n<0)return!1;t+=6}return t%8==0},construct:function(e){var n,a,t=e.replace(/[\r\n=]/g,""),i=t.length,s=Hr,o=0,r=[];for(n=0;n>16&255),r.push(o>>8&255),r.push(255&o)),o=o<<6|s.indexOf(t.charAt(n));return 0===(a=i%4*6)?(r.push(o>>16&255),r.push(o>>8&255),r.push(255&o)):18===a?(r.push(o>>10&255),r.push(o>>2&255)):12===a&&r.push(o>>4&255),new Uint8Array(r)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var n,a,t="",i=0,s=e.length,o=Hr;for(n=0;n>18&63],t+=o[i>>12&63],t+=o[i>>6&63],t+=o[63&i]),i=(i<<8)+e[n];return 0===(a=s%3)?(t+=o[i>>18&63],t+=o[i>>12&63],t+=o[i>>6&63],t+=o[63&i]):2===a?(t+=o[i>>10&63],t+=o[i>>4&63],t+=o[i<<2&63],t+=o[64]):1===a&&(t+=o[i>>2&63],t+=o[i<<4&63],t+=o[64],t+=o[64]),t}}),Jr=Object.prototype.hasOwnProperty,Yr=Object.prototype.toString;var Xr=new Sr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var n,a,t,i,s,o=[],r=e;for(n=0,a=r.length;n>10),56320+(e-65536&1023))}for(var jc=new Array(256),Sc=new Array(256),Tc=0;Tc<256;Tc++)jc[Tc]=kc(Tc)?1:0,Sc[Tc]=kc(Tc);function Cc(e,n){this.input=e,this.filename=n.filename||null,this.schema=n.schema||tc,this.onWarning=n.onWarning||null,this.legacy=n.legacy||!1,this.json=n.json||!1,this.listener=n.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Oc(e,n){var a={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return a.snippet=kr(a),new yr(n,a)}function Ac(e,n){throw Oc(e,n)}function Lc(e,n){e.onWarning&&e.onWarning.call(null,Oc(e,n))}var Rc={YAML:function(e,n,a){var t,i,s;null!==e.version&&Ac(e,"duplication of %YAML directive"),1!==a.length&&Ac(e,"YAML directive accepts exactly one argument"),null===(t=/^([0-9]+)\.([0-9]+)$/.exec(a[0]))&&Ac(e,"ill-formed argument of the YAML directive"),i=parseInt(t[1],10),s=parseInt(t[2],10),1!==i&&Ac(e,"unacceptable YAML version of the document"),e.version=a[0],e.checkLineBreaks=s<2,1!==s&&2!==s&&Lc(e,"unsupported YAML version of the document")},TAG:function(e,n,a){var t,i;2!==a.length&&Ac(e,"TAG directive accepts exactly two arguments"),t=a[0],i=a[1],hc.test(t)||Ac(e,"ill-formed tag handle (first argument) of the TAG directive"),ic.call(e.tagMap,t)&&Ac(e,'there is a previously declared suffix for "'+t+'" tag handle'),vc.test(i)||Ac(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(n){Ac(e,"tag prefix is malformed: "+i)}e.tagMap[t]=i}};function Nc(e,n,a,t){var i,s,o,r;if(n1&&(e.result+=xr.repeat("\n",n-1))}function zc(e,n){var a,t,i=e.tag,s=e.anchor,o=[],r=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=o),t=e.input.charCodeAt(e.position);0!==t&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,Ac(e,"tab characters must not be used in indentation")),45===t)&&yc(e.input.charCodeAt(e.position+1));)if(r=!0,e.position++,Bc(e,!0,-1)&&e.lineIndent<=n)o.push(null),t=e.input.charCodeAt(e.position);else if(a=e.line,Zc(e,n,rc,!1,!0),o.push(e.result),Bc(e,!0,-1),t=e.input.charCodeAt(e.position),(e.line===a||e.lineIndent>n)&&0!==t)Ac(e,"bad indentation of a sequence entry");else if(e.lineIndentn?f=1:e.lineIndent===n?f=0:e.lineIndentn?f=1:e.lineIndent===n?f=0:e.lineIndentn)&&(x&&(o=e.line,r=e.lineStart,c=e.position),Zc(e,n,cc,!0,i)&&(x?h=e.result:v=e.result),x||(Dc(e,d,m,f,h,v,o,r,c),f=h=v=null),Bc(e,!0,-1),l=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>n)&&0!==l)Ac(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===i?Ac(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?Ac(e,"repeat of an indentation width identifier"):(p=n+i-1,l=!0)}if(bc(s)){do{s=e.input.charCodeAt(++e.position)}while(bc(s));if(35===s)do{s=e.input.charCodeAt(++e.position)}while(!gc(s)&&0!==s)}for(;0!==s;){for(Fc(e),e.lineIndent=0,s=e.input.charCodeAt(e.position);(!l||e.lineIndentp&&(p=e.lineIndent),gc(s))u++;else{if(e.lineIndent0){for(i=o,s=0;i>0;i--)(o=wc(r=e.input.charCodeAt(++e.position)))>=0?s=(s<<4)+o:Ac(e,"expected hexadecimal character");e.result+=Ec(s),e.position++}else Ac(e,"unknown escape sequence");a=t=e.position}else gc(r)?(Nc(e,a,t,!0),Pc(e,Bc(e,!1,n)),a=t=e.position):e.position===e.lineStart&&Uc(e)?Ac(e,"unexpected end of the document within a double quoted scalar"):(e.position++,t=e.position)}Ac(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?v=!0:!function(e){var n,a,t;if(42!==(t=e.input.charCodeAt(e.position)))return!1;for(t=e.input.charCodeAt(++e.position),n=e.position;0!==t&&!yc(t)&&!_c(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&Ac(e,"name of an alias node must contain at least one character"),a=e.input.slice(n,e.position),ic.call(e.anchorMap,a)||Ac(e,'unidentified alias "'+a+'"'),e.result=e.anchorMap[a],Bc(e,!0,-1),!0}(e)?function(e,n,a){var t,i,s,o,r,c,l,p,u=e.kind,d=e.result;if(yc(p=e.input.charCodeAt(e.position))||_c(p)||35===p||38===p||42===p||33===p||124===p||62===p||39===p||34===p||37===p||64===p||96===p)return!1;if((63===p||45===p)&&(yc(t=e.input.charCodeAt(e.position+1))||a&&_c(t)))return!1;for(e.kind="scalar",e.result="",i=s=e.position,o=!1;0!==p;){if(58===p){if(yc(t=e.input.charCodeAt(e.position+1))||a&&_c(t))break}else if(35===p){if(yc(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Uc(e)||a&&_c(p))break;if(gc(p)){if(r=e.line,c=e.lineStart,l=e.lineIndent,Bc(e,!1,-1),e.lineIndent>=n){o=!0,p=e.input.charCodeAt(e.position);continue}e.position=s,e.line=r,e.lineStart=c,e.lineIndent=l;break}}o&&(Nc(e,i,s,!1),Pc(e,e.line-r),i=s=e.position,o=!1),bc(p)||(s=e.position+1),p=e.input.charCodeAt(++e.position)}return Nc(e,i,s,!1),!!e.result||(e.kind=u,e.result=d,!1)}(e,d,sc===a)&&(v=!0,null===e.tag&&(e.tag="?")):(v=!0,null===e.tag&&null===e.anchor||Ac(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(v=r&&zc(e,m))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&Ac(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,l=e.implicitTypes.length;c"),null!==e.result&&u.kind!==e.kind&&Ac(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+u.kind+'", not "'+e.kind+'"'),u.resolve(e.result,e.tag)?(e.result=u.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):Ac(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||v}function $c(e){var n,a,t,i,s=e.position,o=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(i=e.input.charCodeAt(e.position))&&(Bc(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(o=!0,i=e.input.charCodeAt(++e.position),n=e.position;0!==i&&!yc(i);)i=e.input.charCodeAt(++e.position);for(t=[],(a=e.input.slice(n,e.position)).length<1&&Ac(e,"directive name must not be less than one character in length");0!==i;){for(;bc(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!gc(i));break}if(gc(i))break;for(n=e.position;0!==i&&!yc(i);)i=e.input.charCodeAt(++e.position);t.push(e.input.slice(n,e.position))}0!==i&&Fc(e),ic.call(Rc,a)?Rc[a](e,a,t):Lc(e,'unknown document directive "'+a+'"')}Bc(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,Bc(e,!0,-1)):o&&Ac(e,"directives end mark is expected"),Zc(e,e.lineIndent-1,cc,!1,!0),Bc(e,!0,-1),e.checkLineBreaks&&mc.test(e.input.slice(s,e.position))&&Lc(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Uc(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,Bc(e,!0,-1)):e.position=55296&&t<=56319&&n+1=56320&&a<=57343?1024*(t-55296)+a-56320+65536:t}function Dl(e){return/^\n* /.test(e)}var Fl=1,Bl=2,Ul=3,Pl=4,zl=5;function ql(e,n,a,t,i,s,o,r){var c,l,p=0,u=null,d=!1,m=!1,f=-1!==t,h=-1,v=Ll(l=Il(e,0))&&l!==Jc&&!Al(l)&&l!==ll&&l!==ml&&l!==pl&&l!==cl&&l!==hl&&l!==vl&&l!==gl&&l!==yl&&l!==tl&&l!==sl&&l!==rl&&l!==nl&&l!==bl&&l!==ul&&l!==dl&&l!==ol&&l!==al&&l!==il&&l!==fl&&l!==xl&&function(e){return!Al(e)&&e!==pl}(Il(e,e.length-1));if(n||o)for(c=0;c=65536?c+=2:c++){if(!Ll(p=Il(e,c)))return zl;v=v&&Nl(p,u,r),u=p}else{for(c=0;c=65536?c+=2:c++){if((p=Il(e,c))===Xc)d=!0,f&&(m=m||c-h-1>t&&" "!==e[h+1],h=c);else if(!Ll(p))return zl;v=v&&Nl(p,u,r),u=p}m=m||f&&c-h-1>t&&" "!==e[h+1]}return d||m?a>9&&Dl(e)?zl:o?s===Sl?zl:Bl:m?Pl:Ul:!v||o||i(e)?s===Sl?zl:Bl:Fl}function Ml(e,n,a,t,i){e.dump=function(){if(0===n.length)return e.quotingType===Sl?'""':"''";if(!e.noCompatMode&&(-1!==wl.indexOf(n)||kl.test(n)))return e.quotingType===Sl?'"'+n+'"':"'"+n+"'";var s=e.indent*Math.max(1,a),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),r=t||e.flowLevel>-1&&a>=e.flowLevel;switch(ql(n,r,e.indent,o,(function(n){return function(e,n){var a,t;for(a=0,t=e.implicitTypes.length;a"+Zl(n,e.indent)+$l(Cl(function(e,n){var a,t,i=/(\n+)([^\n]*)/g,s=(r=e.indexOf("\n"),r=-1!==r?r:e.length,i.lastIndex=r,Gl(e.slice(0,r),n)),o="\n"===e[0]||" "===e[0];var r;for(;t=i.exec(e);){var c=t[1],l=t[2];a=" "===l[0],s+=c+(o||a||""===l?"":"\n")+Gl(l,n),o=a}return s}(n,o),s));case zl:return'"'+function(e){for(var n,a="",t=0,i=0;i=65536?i+=2:i++)t=Il(e,i),!(n=_l[t])&&Ll(t)?(a+=e[i],t>=65536&&(a+=e[i+1])):a+=n||El(t);return a}(n)+'"';default:throw new yr("impossible error: invalid scalar style")}}()}function Zl(e,n){var a=Dl(e)?String(n):"",t="\n"===e[e.length-1];return a+(t&&("\n"===e[e.length-2]||"\n"===e)?"+":t?"":"-")+"\n"}function $l(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Gl(e,n){if(""===e||" "===e[0])return e;for(var a,t,i=/ [^ ]/g,s=0,o=0,r=0,c="";a=i.exec(e);)(r=a.index)-s>n&&(t=o>s?o:r,c+="\n"+e.slice(s,t),s=t+1),o=r;return c+="\n",e.length-s>n&&o>s?c+=e.slice(s,o)+"\n"+e.slice(o+1):c+=e.slice(s),c.slice(1)}function Kl(e,n,a,t){var i,s,o,r="",c=e.tag;for(i=0,s=a.length;i tag resolver accepts not "'+c+'" style');t=r.represent[c](n,c)}e.dump=t}return!0}return!1}function Hl(e,n,a,t,i,s,o){e.tag=null,e.dump=a,Vl(e,a,!1)||Vl(e,a,!0);var r,c=Hc.call(e.dump),l=t;t&&(t=e.flowLevel<0||e.flowLevel>n);var p,u,d="[object Object]"===c||"[object Array]"===c;if(d&&(u=-1!==(p=e.duplicates.indexOf(a))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&n>0)&&(i=!1),u&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(d&&u&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),"[object Object]"===c)t&&0!==Object.keys(e.dump).length?(!function(e,n,a,t){var i,s,o,r,c,l,p="",u=e.tag,d=Object.keys(a);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new yr("sortKeys must be a boolean or a function");for(i=0,s=d.length;i1024)&&(e.dump&&Xc===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=Ol(e,n)),Hl(e,n+1,r,!0,c)&&(e.dump&&Xc===e.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=e.dump));e.tag=u,e.dump=p||"{}"}(e,n,e.dump,i),u&&(e.dump="&ref_"+p+e.dump)):(!function(e,n,a){var t,i,s,o,r,c="",l=e.tag,p=Object.keys(a);for(t=0,i=p.length;t1024&&(r+="? "),r+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Hl(e,n,o,!1,!1)&&(c+=r+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,n,e.dump),u&&(e.dump="&ref_"+p+" "+e.dump));else if("[object Array]"===c)t&&0!==e.dump.length?(e.noArrayIndent&&!o&&n>0?Kl(e,n-1,e.dump,i):Kl(e,n,e.dump,i),u&&(e.dump="&ref_"+p+e.dump)):(!function(e,n,a){var t,i,s,o="",r=e.tag;for(t=0,i=a.length;t",e.dump=r+" "+e.dump)}return!0}function Wl(e,n){var a,t,i=[],s=[];for(Jl(e,i,s),a=0,t=s.length;a-\n CREATE TABLE `auto_translation_settings` (`active` boolean null default\n '1', `auth_key` varchar(255) null default null, `id` integer not null\n primary key autoincrement, `informations` text null default null,\n `limit` integer null default '500000', `percentage` integer null default\n null, `used` integer null default '0', `valid_auth_key` boolean null\n default '0', `extra` text null default null)\nfields:\n - collection: auto_translation_settings\n field: active\n meta:\n collection: auto_translation_settings\n conditions:\n - name: 'false'\n rule:\n _and:\n - valid_auth_key:\n _eq: false\n options:\n iconOn: check_box\n iconOff: check_box_outline_blank\n label: Enabled\n display: null\n display_options: null\n field: active\n group: visible_for_valid_auth_key\n hidden: false\n interface: boolean\n note: null\n options: null\n readonly: false\n required: false\n sort: 2\n special:\n - cast-boolean\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: boolean\n default_value: true\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: active\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: boolean\n - collection: auto_translation_settings\n field: auth_key\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: auth_key\n group: null\n hidden: false\n interface: input\n note: >-\n Authentication - You need an authentication key to access to the API.\n https://www.deepl.com/de/account/summary\n options:\n iconLeft: key\n masked: true\n readonly: false\n required: false\n sort: 4\n special: null\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: varchar\n default_value: null\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: 255\n name: auth_key\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: string\n - collection: auto_translation_settings\n field: extra\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: extra\n group: visible_for_valid_auth_key\n hidden: false\n interface: input-multiline\n note: Informations about errors will be shown here.\n options: null\n readonly: true\n required: false\n sort: 4\n special: null\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: text\n default_value: null\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: extra\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: text\n - collection: auto_translation_settings\n field: id\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: id\n group: null\n hidden: true\n interface: input\n note: null\n options: null\n readonly: true\n required: false\n sort: 1\n special: null\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: integer\n default_value: null\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: true\n is_generated: false\n is_nullable: false\n is_primary_key: true\n is_unique: false\n max_length: null\n name: id\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: integer\n - collection: auto_translation_settings\n field: informations\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: informations\n group: null\n hidden: false\n interface: input-multiline\n note: Informations about errors will be shown here.\n options: null\n readonly: true\n required: false\n sort: 3\n special: null\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: text\n default_value: null\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: informations\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: text\n - collection: auto_translation_settings\n field: limit\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: limit\n group: usage\n hidden: false\n interface: input\n note: null\n options: null\n readonly: true\n required: false\n sort: 3\n special: null\n translations: null\n validation: null\n validation_message: null\n width: half\n schema:\n data_type: integer\n default_value: 500000\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: limit\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: integer\n - collection: auto_translation_settings\n field: notice\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: notice\n group: visible_for_valid_auth_key\n hidden: false\n interface: presentation-notice\n note: null\n options:\n text: >-\n If you want a collection (e. G. wikis) to be translated do the\n following. Add a field type \"translations\" which will create a new\n collection (e. G. wikis_translations). In this collection add the\n following boolean (default: true) fields:\n \"be_source_for_translations\", \"let_be_translated\" and\n \"create_translations_for_all_languages\". Ensure that Directus\n automatically created a collection \"languages\".\n readonly: false\n required: false\n sort: 1\n special:\n - alias\n - no-data\n translations: null\n validation: null\n validation_message: null\n width: full\n schema: null\n type: alias\n - collection: auto_translation_settings\n field: percentage\n meta:\n collection: auto_translation_settings\n conditions: null\n display: formatted-value\n display_options:\n suffix: ' %'\n field: percentage\n group: usage\n hidden: false\n interface: slider\n note: null\n options:\n alwaysShowValue: true\n maxValue: 100\n minValue: 0\n readonly: true\n required: false\n sort: 1\n special: null\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: integer\n default_value: null\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: percentage\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: integer\n - collection: auto_translation_settings\n field: usage\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: usage\n group: visible_for_valid_auth_key\n hidden: false\n interface: group-raw\n note: null\n options: null\n readonly: false\n required: false\n sort: 3\n special:\n - alias\n - group\n - no-data\n translations: null\n validation: null\n validation_message: null\n width: full\n schema: null\n type: alias\n - collection: auto_translation_settings\n field: used\n meta:\n collection: auto_translation_settings\n conditions: null\n display: raw\n display_options: null\n field: used\n group: usage\n hidden: false\n interface: input\n note: null\n options: null\n readonly: false\n required: false\n sort: 2\n special: null\n translations: null\n validation: null\n validation_message: null\n width: half\n schema:\n data_type: integer\n default_value: 0\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: used\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: integer\n - collection: auto_translation_settings\n field: valid_auth_key\n meta:\n collection: auto_translation_settings\n conditions: null\n display: null\n display_options: null\n field: valid_auth_key\n group: null\n hidden: true\n interface: boolean\n note: null\n options: null\n readonly: true\n required: false\n sort: 2\n special:\n - cast-boolean\n translations: null\n validation: null\n validation_message: null\n width: full\n schema:\n data_type: boolean\n default_value: false\n foreign_key_column: null\n foreign_key_table: null\n generation_expression: null\n has_auto_increment: false\n is_generated: false\n is_nullable: true\n is_primary_key: false\n is_unique: false\n max_length: null\n name: valid_auth_key\n numeric_precision: null\n numeric_scale: null\n table: auto_translation_settings\n type: boolean\n - collection: auto_translation_settings\n field: visible_for_valid_auth_key\n meta:\n collection: auto_translation_settings\n conditions:\n - rule:\n _and:\n - valid_auth_key:\n _eq: false\n readonly: true\n hidden: true\n options: {}\n display: null\n display_options: null\n field: visible_for_valid_auth_key\n group: null\n hidden: false\n interface: group-raw\n note: null\n options: null\n readonly: false\n required: false\n sort: 5\n special:\n - alias\n - group\n - no-data\n translations: null\n validation: null\n validation_message: null\n width: full\n schema: null\n type: alias\nrelations: []\n");async function ep(e,n,a,t,i,s,o){if(null==n?void 0:n.translations){let r=t.database,{itemsServiceCreator:c,translatorSettings:l,translator:p,schema:u}=await async function(e,n,a,t){let i=await a(),s=new Ct(e,n,i),o=new mr(e,n,i);await o.init();let r=new pr(o,t);return await r.init(),{itemsServiceCreator:s,translatorSettings:o,translator:r,schema:i}}(s,r,i,o);if(await l.isAutoTranslationEnabled()){let t=await c.getItemsService(e),i=await async function(e,n){let a={},t=(null==n?void 0:n.keys)||[];for(let n of t){a=await e.readOne(n,{fields:["translations.*"]});break}return a}(t,a);return await fr.modifyPayloadForTranslation(i,n,p,l,c,u,e)}}return n}var np=({filter:e,action:n,init:a,schedule:t},{services:i,database:s,getSchema:o,logger:r})=>{console.log("Init auto backup"),n("server.start",(async(n,a)=>{try{let n=await o();console.log("Loading Plugin"),await async function(e,n,a){let t=new Ot(e,n,a),i=await t.getCollectionsService();try{let e=await i.readByQuery(),n=!1;for(let a of e)if(a.collection===mr.TABLENAME){n=!0;break}if(!n){console.log("Collection "+mr.TABLENAME+" not found");let e=Ql.collections[0],n=Ql.fields;console.log("Creating "+mr.TABLENAME+" collection"),await i.createOne({...e,fields:n}),console.log("Created "+mr.TABLENAME+" collection")}}catch(e){console.log(e)}}(i,s,n);let a=new mr(i,s,n);await a.init();let t=new pr(a,r);await t.init(),function(e,n){e(mr.TABLENAME+".items.update",(async(e,a,t)=>{if(void 0!==(null==e?void 0:e.auth_key))try{console.log("registerAuthKeyReloader"),await n.reloadAuthKey(null==e?void 0:e.auth_key),console.log("Censoring api key not");const a=await n.translatorSettings.saveApiKeySecureIfConfiguredAndReturnPayload(e),t=await n.getSettingsAuthKeyCorrectObject();e={...a,...t},console.log("Final payload at: registerAuthKeyReloader"),console.log(JSON.stringify(e,null,2))}catch(a){e={...e,...n.getSettingsAuthKeyErrorObject(a)}}return e}))}(e,t),function(e,n,a,t){let i=["create","update"];for(let s of i)e("items."+s,(async(e,i,s)=>{let o=null==i?void 0:i.collection;return await ep(o,e,i,s,n,a,t)}))}(e,o,i,r)}catch(e){e.toString().includes("no such table: directus_collections")?(console.log("++++++++++ Auto Translation +++++++++++"),console.log("++++ Database not initialized yet +++++"),console.log("++ Restart Server again after setup +++"),console.log("+++++++++++++++++++++++++++++++++++++++")):(console.log("Auto-Translation init error: "),console.log(e))}}))};export{np as default};