@liflig/cdk-cloudfront-auth 1.8.41 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/check-auth/index.js +27 -2
- package/dist/generate-secret/index.js +1 -1
- package/dist/http-headers/index.js +21 -1
- package/dist/parse-auth/index.js +44 -2
- package/dist/refresh-auth/index.js +44 -2
- package/dist/sign-out/index.js +27 -2
- package/package.json +12 -18
- package/dist/check-auth/index.js.LICENSE.txt +0 -1
- package/dist/parse-auth/index.js.LICENSE.txt +0 -15
- package/dist/refresh-auth/index.js.LICENSE.txt +0 -15
- package/dist/sign-out/index.js.LICENSE.txt +0 -1
- package/lib/handlers/check-auth.d.ts +0 -7
- package/lib/handlers/generate-secret.d.ts +0 -9
- package/lib/handlers/http-headers.d.ts +0 -1
- package/lib/handlers/parse-auth.d.ts +0 -1
- package/lib/handlers/refresh-auth.d.ts +0 -1
- package/lib/handlers/sign-out.d.ts +0 -1
|
@@ -1,2 +1,44 @@
|
|
|
1
|
-
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={1873(e,t,n){e.exports={parallel:n(8798),serial:n(2081),serialOrdered:n(28)}},4555(e){function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},2313(e,t,n){var a=n(405);e.exports=function(e){var t=!1;return a(function(){t=!0}),function(n,i){t?e(n,i):a(function(){e(n,i)})}}},405(e){e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},8051(e,t,n){var a=n(2313),i=n(4555);e.exports=function(e,t,n,r){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,i){return 2==e.length?e(n,a(i)):e(n,t,a(i))}(t,o,e[o],function(e,t){o in n.jobs&&(delete n.jobs[o],e?i(n):n.results[o]=t,r(e,n.results))})}},9500(e){e.exports=function(e,t){var n=!Array.isArray(e),a={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&a.keyedList.sort(n?t:function(n,a){return t(e[n],e[a])}),a}},6276(e,t,n){var a=n(4555),i=n(2313);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,a(this),i(e)(null,this.results))}},8798(e,t,n){var a=n(8051),i=n(9500),r=n(6276);e.exports=function(e,t,n){for(var o=i(e);o.index<(o.keyedList||e).length;)a(e,t,o,function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)}),o.index++;return r.bind(o,n)}},2081(e,t,n){var a=n(28);e.exports=function(e,t,n){return a(e,t,null,n)}},28(e,t,n){var a=n(8051),i=n(9500),r=n(6276);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,o){var s=i(e,n);return a(e,t,s,function n(i,r){i?o(i,r):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):o(null,s.results))}),r.bind(s,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},1045(e,t,n){"use strict";var a=n(181).Buffer,i=n(181).SlowBuffer;function r(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(var n=0,i=0;i<e.length;i++)n|=e[i]^t[i];return 0===n}e.exports=r,r.install=function(){a.prototype.equal=i.prototype.equal=function(e){return r(this,e)}};var o=a.prototype.equal,s=i.prototype.equal;r.restore=function(){a.prototype.equal=o,i.prototype.equal=s}},3144(e,t,n){"use strict";var a=n(6743),i=n(1002),r=n(76),o=n(7119);e.exports=o||a.call(r,i)},1002(e){"use strict";e.exports=Function.prototype.apply},76(e){"use strict";e.exports=Function.prototype.call},3126(e,t,n){"use strict";var a=n(6743),i=n(9675),r=n(76),o=n(3144);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return o(a,r,e)}},7119(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},801(e,t,n){var a=n(9023),i=n(2203).Stream,r=n(8069);function o(){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}e.exports=o,a.inherits(o,i),o.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof r)){var t=r.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return i.prototype.pipe.call(this,e,t),this.resume(),e},o.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}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.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")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},8232(e,t){"use strict";t.qg=function(e,t){const s=new n,c=e.length;if(c<2)return s;const p=t?.decode||o;let l=0;do{const t=i(e,l,c);if(-1===t)break;const n=a(e,l,c);if(t>n){l=e.lastIndexOf(";",t-1)+1;continue}const o=r(e,l,t);void 0===s[o]&&(s[o]=p(r(e,t+1,n))),l=n+1}while(l<c);return s};Object.prototype.toString;const n=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function a(e,t,n){const a=e.indexOf(";",t);return-1===a?n:a}function i(e,t,n){const a=e.indexOf("=",t);return a<n?a:-1}function r(e,t,n){let a=t,i=n;do{const t=e.charCodeAt(a);if(32!==t&&9!==t)break}while(++a<i);for(;i>a;){const t=e.charCodeAt(i-1);if(32!==t&&9!==t)break;i--}return e.slice(a,i)}function o(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},7833(e,t,n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let a=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(a++,"%c"===e&&(i=a))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"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&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.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`."))}})(),t.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"],t.log=console.debug||console.log||(()=>{}),e.exports=n(736)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},736(e,t,n){e.exports=function(e){function t(e){let n,i,r,o=null;function s(...e){if(!s.enabled)return;const a=s,i=Number(new Date),r=i-(n||i);a.diff=r,a.prev=n,a.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";o++;const r=t.formatters[i];if("function"==typeof r){const t=e[o];n=r.call(a,t),e.splice(o,1),o--}return n}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=a,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,r=t.enabled(e)),r),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function i(e,t){let n=0,a=0,i=-1,r=0;for(;n<e.length;)if(a<t.length&&(t[a]===e[n]||"*"===t[a]))"*"===t[a]?(i=a,r=n,a++):(n++,a++);else{if(-1===i)return!1;a=i+1,r++,n=r}for(;a<t.length&&"*"===t[a];)a++;return a===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(6585),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},5753(e,t,n){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7833):e.exports=n(6033)},6033(e,t,n){const a=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let a=0;a<n.length;a++)e.inspectOpts[n[a]]=t.inspectOpts[n[a]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:a,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),r=` ${i};1m${a} [0m`;n[0]=r+n[0].split("\n").join("\n"+r),n.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+a+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):a.isatty(process.stderr.fd)},t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(7687);e&&(e.stderr||e).level>=2&&(t.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){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let a=process.env[t];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[n]=a,e},{}),e.exports=n(736)(t);const{formatters:r}=e.exports;r.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},8069(e,t,n){var a=n(2203).Stream,i=n(9023);function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,i.inherits(r,a),r.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=a.prototype.pipe.apply(this,arguments);return this.resume(),e},r.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))},r.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))}}},7176(e,t,n){"use strict";var a,i=n(3126),r=n(5795);try{a=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!a&&r&&r(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=o&&"function"==typeof o.get?i([o.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},2010(e,t,n){"use strict";var a=n(2861).Buffer,i=n(3527);function r(e){if(a.isBuffer(e))return e;if("string"==typeof e)return a.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function o(e,t,n){for(var a=0;t+a<n&&0===e[t+a];)++a;return e[t+a]>=128&&--a,a}e.exports={derToJose:function(e,t){e=r(e);var n=i(t),o=n+1,s=e.length,c=0;if(48!==e[c++])throw new Error('Could not find expected "seq"');var p=e[c++];if(129===p&&(p=e[c++]),s-c<p)throw new Error('"seq" specified length of "'+p+'", only "'+(s-c)+'" remaining');if(2!==e[c++])throw new Error('Could not find expected "int" for "r"');var l=e[c++];if(s-c-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(s-c-2)+'" available');if(o<l)throw new Error('"r" specified length of "'+l+'", max of "'+o+'" is acceptable');var u=c;if(c+=l,2!==e[c++])throw new Error('Could not find expected "int" for "s"');var d=e[c++];if(s-c!==d)throw new Error('"s" specified length of "'+d+'", expected "'+(s-c)+'"');if(o<d)throw new Error('"s" specified length of "'+d+'", max of "'+o+'" is acceptable');var m=c;if((c+=d)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-c)+'" bytes remain');var f=n-l,h=n-d,v=a.allocUnsafe(f+l+h+d);for(c=0;c<f;++c)v[c]=0;e.copy(v,c,u+Math.max(-f,0),u+l);for(var y=c=n;c<y+h;++c)v[c]=0;return e.copy(v,c,m+Math.max(-h,0),m+d),(v=v.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=r(e);var n=i(t),s=e.length;if(s!==2*n)throw new TypeError('"'+t+'" signatures must be "'+2*n+'" bytes, saw "'+s+'"');var c=o(e,0,n),p=o(e,n,e.length),l=n-c,u=n-p,d=2+l+1+1+u,m=d<128,f=a.allocUnsafe((m?2:3)+d),h=0;return f[h++]=48,m?f[h++]=d:(f[h++]=129,f[h++]=255&d),f[h++]=2,f[h++]=l,c<0?(f[h++]=0,h+=e.copy(f,h,0,n)):h+=e.copy(f,h,c,n),f[h++]=2,f[h++]=u,p<0?(f[h++]=0,e.copy(f,h,n)):e.copy(f,h,n+p),f}}},3527(e){"use strict";function t(e){return(e/8|0)+(e%8==0?0:1)}var n={ES256:t(256),ES384:t(384),ES512:t(521)};e.exports=function(e){var t=n[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},655(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},1237(e){"use strict";e.exports=EvalError},9383(e){"use strict";e.exports=Error},9290(e){"use strict";e.exports=RangeError},9538(e){"use strict";e.exports=ReferenceError},8068(e){"use strict";e.exports=SyntaxError},9675(e){"use strict";e.exports=TypeError},5345(e){"use strict";e.exports=URIError},9612(e){"use strict";e.exports=Object},9605(e,t,n){"use strict";var a=n(453)("%Object.defineProperty%",!0),i=n(9092)(),r=n(9957),o=n(9675),s=i?Symbol.toStringTag:null;e.exports=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==n&&"boolean"!=typeof n||void 0!==i&&"boolean"!=typeof i)throw new o("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!s||!n&&r(e,s)||(a?a(e,s,{configurable:!i,enumerable:!1,value:t,writable:!1}):e[s]=t)}},7507(e,t,n){var a;e.exports=function(){if(!a){try{a=n(5753)("follow-redirects")}catch(e){}"function"!=typeof a&&(a=function(){})}a.apply(null,arguments)}},3164(e,t,n){var a,i,r,o=n(7016),s=o.URL,c=n(8611),p=n(5692),l=n(2203).Writable,u=n(2613),d=n(7507);a="undefined"!=typeof process,i="undefined"!=typeof window&&"undefined"!=typeof document,r=C(Error.captureStackTrace),a||!i&&r||console.warn("The follow-redirects package should be excluded from browser builds.");var m=!1;try{u(new s(""))}catch(e){m="ERR_INVALID_URL"===e.code}var f=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],h=["abort","aborted","connect","error","socket","timeout"],v=Object.create(null);h.forEach(function(e){v[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}});var y=T("ERR_INVALID_URL","Invalid URL",TypeError),x=T("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=T("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",x),b=T("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w=T("ERR_STREAM_WRITE_AFTER_END","write after end"),E=l.prototype.destroy||k;function S(e,t){l.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof x?e:new x({cause:e}))}},this._performRequest()}function _(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(a){var i=a+":",r=n[i]=e[a],o=t[a]=Object.create(r);Object.defineProperties(o,{request:{value:function(e,a,r){return s&&e instanceof s?e=j(e):I(e)?e=j(A(e)):(r=a,a=O(e),e={protocol:i}),C(a)&&(r=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,I(a.host)||I(a.hostname)||(a.hostname="::1"),u.equal(a.protocol,i,"protocol mismatch"),d("options",a),new S(a,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=o.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})}),t}function k(){}function A(e){var t;if(m)t=new s(e);else if(!I((t=O(o.parse(e))).protocol))throw new y({input:e});return t}function O(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new y({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new y({input:e.href||e});return e}function j(e,t){var n=t||{};for(var a of f)n[a]=e[a];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function P(e,t){var n;for(var a in t)e.test(a)&&(n=t[a],delete t[a]);return null==n?void 0:String(n).trim()}function T(e,t,n){function a(n){C(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return a.prototype=new(n||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),a}function R(e,t){for(var n of h)e.removeListener(n,v[n]);e.on("error",k),e.destroy(t)}function I(e){return"string"==typeof e||e instanceof String}function C(e){return"function"==typeof e}S.prototype=Object.create(l.prototype),S.prototype.abort=function(){R(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},S.prototype.destroy=function(e){return R(this._currentRequest,e),E.call(this,e),this},S.prototype.write=function(e,t,n){if(this._ending)throw new w;if(!(I(e)||"object"==typeof(a=e)&&"length"in a))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;C(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new b),this.abort()):n&&n()},S.prototype.end=function(e,t,n){if(C(e)?(n=e,e=t=null):C(t)&&(n=t,t=null),e){var a=this,i=this._currentRequest;this.write(e,t,function(){a._ended=!0,i.end(null,null,n)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},S.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},S.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},S.prototype.setTimeout=function(e,t){var n=this;function a(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),r()},e),a(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",a),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){S.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(S.prototype,e,{get:function(){return this._currentRequest[e]}})}),S.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 t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},S.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(a._redirectable=this,h))a.on(i,v[i]);if(this._currentUrl=/^\//.test(this._options.path)?o.format(this._options):this._options.path,this._isRedirect){var r=0,s=this,c=this._requestBodyBuffers;!function e(t){if(a===s._currentRequest)if(t)s.emit("error",t);else if(r<c.length){var n=c[r++];a.finished||a.write(n.data,n.encoding,e)}else s._ended&&a.end()}()}},S.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,a=e.headers.location;if(!a||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(R(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var i=this._options.beforeRedirect;i&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],P(/^content-/i,this._options.headers));var c,p,l=P(/^host$/i,this._options.headers),f=A(this._currentUrl),h=l||f.host,v=/^\w+:/.test(a)?this._currentUrl:o.format(Object.assign(f,{host:h})),y=(c=a,p=v,m?new s(c,p):A(o.resolve(p,c)));if(d("redirecting to",y.href),this._isRedirect=!0,j(y,this._options),(y.protocol!==f.protocol&&"https:"!==y.protocol||y.host!==h&&!function(e,t){u(I(e)&&I(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(y.host,h))&&P(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),C(i)){var x={headers:e.headers,statusCode:t},b={url:v,method:r,headers:n};i(this._options,x,b),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=_({http:c,https:p}),e.exports.wrap=_},737(e,t,n){"use strict";var a=n(801),i=n(9023),r=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(6982),d=n(6049),m=n(1873),f=n(9605),h=n(9957),v=n(1362);function y(e){if(!(this instanceof y))return new y(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],a.call(this),e=e||{})this[t]=e[t]}i.inherits(y,a),y.LINE_BREAK="\r\n",y.DEFAULT_CONTENT_TYPE="application/octet-stream",y.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=a.prototype.append.bind(this);if("number"!=typeof t&&null!=t||(t=String(t)),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var r=this._multiPartHeader(e,t,n),o=this._multiPartFooter();i(r),i(t),i(o),this._trackLength(r,t,n)}},y.prototype._trackLength=function(e,t,n){var a=0;null!=n.knownLength?a+=Number(n.knownLength):Buffer.isBuffer(t)?a=t.length:"string"==typeof t&&(a=Buffer.byteLength(t)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(e)+y.LINE_BREAK.length,t&&(t.path||t.readable&&h(t,"httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},y.prototype._lengthRetriever=function(e,t){h(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):p.stat(e.path,function(n,a){if(n)t(n);else{var i=a.size-(e.start?e.start:0);t(null,i)}}):h(e,"httpVersion")?t(null,Number(e.headers["content-length"])):h(e,"httpModule")?(e.on("response",function(n){e.pause(),t(null,Number(n.headers["content-length"]))}),e.resume()):t("Unknown stream")},y.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var a,i=this._getContentDisposition(t,n),r=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&v(s,n.header),s)if(h(s,c)){if(null==(a=s[c]))continue;Array.isArray(a)||(a=[a]),a.length&&(o+=c+": "+a.join("; ")+y.LINE_BREAK)}return"--"+this.getBoundary()+y.LINE_BREAK+o+y.LINE_BREAK},y.prototype._getContentDisposition=function(e,t){var n;if("string"==typeof t.filepath?n=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?n=r.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&h(e,"httpVersion")&&(n=r.basename(e.client._httpMessage.path||"")),n)return'filename="'+n+'"'},y.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=d.lookup(e.name)),!n&&e&&e.path&&(n=d.lookup(e.path)),!n&&e&&e.readable&&h(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=d.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=y.DEFAULT_CONTENT_TYPE),n},y.prototype._multiPartFooter=function(){return function(e){var t=y.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},y.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+y.LINE_BREAK},y.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)h(e,t)&&(n[t.toLowerCase()]=e[t]);return n},y.prototype.setBoundary=function(e){if("string"!=typeof e)throw new TypeError("FormData boundary must be a string");this._boundary=e},y.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},y.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,a=this._streams.length;n<a;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(y.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},y.prototype._generateBoundary=function(){this._boundary="--------------------------"+u.randomBytes(12).toString("hex")},y.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},y.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},y.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?m.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,a){n?e(n):(a.forEach(function(e){t+=e}),e(null,t))}):process.nextTick(e.bind(this,null,t))},y.prototype.submit=function(e,t){var n,a,i={method:"post"};return"string"==typeof e?(e=c(e),a=v({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(a=v(e,i)).port||(a.port="https:"===a.protocol?443:80),a.headers=this.getHeaders(e.headers),n="https:"===a.protocol?s.request(a):o.request(a),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&n.setHeader("Content-Length",a),this.pipe(n),t){var i,r=function(e,a){return n.removeListener("error",r),n.removeListener("response",i),t.call(this,e,a)};i=r.bind(this,null),n.on("error",r),n.on("response",i)}}.bind(this)),n},y.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},y.prototype.toString=function(){return"[object FormData]"},f(y.prototype,"FormData"),e.exports=y},1362(e){"use strict";e.exports=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e}},9353(e){"use strict";var t=Object.prototype.toString,n=Math.max,a=function(e,t){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var r,o=function(e){for(var t=[],n=1,a=0;n<e.length;n+=1,a+=1)t[a]=e[n];return t}(arguments),s=n(0,i.length-o.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof r){var t=i.apply(this,a(o,arguments));return Object(t)===t?t:this}return i.apply(e,a(o,arguments))}),i.prototype){var l=function(){};l.prototype=i.prototype,r.prototype=new l,l.prototype=null}return r}},6743(e,t,n){"use strict";var a=n(9353);e.exports=Function.prototype.bind||a},453(e,t,n){"use strict";var a,i=n(9612),r=n(9383),o=n(1237),s=n(9290),c=n(9538),p=n(8068),l=n(9675),u=n(5345),d=n(1514),m=n(8968),f=n(6188),h=n(8002),v=n(5880),y=n(414),x=n(3093),g=Function,b=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(5795),E=n(655),S=function(){throw new l},_=w?function(){try{return S}catch(e){try{return w(arguments,"callee").get}catch(e){return S}}}():S,k=n(4039)(),A=n(3628),O=n(1064),j=n(8648),P=n(1002),T=n(76),R={},I="undefined"!=typeof Uint8Array&&A?A(Uint8Array):a,C={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":k&&A?A([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?a:Atomics,"%BigInt%":"undefined"==typeof BigInt?a:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?a:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float16Array%":"undefined"==typeof Float16Array?a:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k&&A?A(A([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k&&A?A((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k&&A?A((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&A?A(""[Symbol.iterator]()):a,"%Symbol%":k?Symbol:a,"%SyntaxError%":p,"%ThrowTypeError%":_,"%TypedArray%":I,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?a:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?a:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?a:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?a:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":P,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":O,"%Math.abs%":d,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":h,"%Math.pow%":v,"%Math.round%":y,"%Math.sign%":x,"%Reflect.getPrototypeOf%":j};if(A)try{null.error}catch(e){var N=A(A(e));C["%Error.prototype%"]=N}var J=function e(t){var n;if("%AsyncFunction%"===t)n=b("async function () {}");else if("%GeneratorFunction%"===t)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=b("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&A&&(n=A(i.prototype))}return C[t]=n,n},K={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=n(6743),W=n(9957),$=L.call(T,Array.prototype.concat),F=L.call(P,Array.prototype.splice),U=L.call(T,String.prototype.replace),M=L.call(T,String.prototype.slice),D=L.call(T,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B=/\\(\\)?/g,z=function(e,t){var n,a=e;if(W(K,a)&&(a="%"+(n=K[a])[0]+"%"),W(C,a)){var i=C[a];if(i===R&&(i=J(a)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:i}}throw new p("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=M(e,0,1),n=M(e,-1);if("%"===t&&"%"!==n)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new p("invalid intrinsic syntax, expected opening `%`");var a=[];return U(e,H,function(e,t,n,i){a[a.length]=n?U(i,B,"$1"):t||e}),a}(e),a=n.length>0?n[0]:"",i=z("%"+a+"%",t),r=i.name,o=i.value,s=!1,c=i.alias;c&&(a=c[0],F(n,$([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var m=n[u],f=M(m,0,1),h=M(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new p("property names with quotes must have matching quotes");if("constructor"!==m&&d||(s=!0),W(C,r="%"+(a+="."+m)+"%"))o=C[r];else if(null!=o){if(!(m in o)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&u+1>=n.length){var v=w(o,m);o=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:o[m]}else d=W(o,m),o=o[m];d&&!s&&(C[r]=o)}}return o}},1064(e,t,n){"use strict";var a=n(9612);e.exports=a.getPrototypeOf||null},8648(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},3628(e,t,n){"use strict";var a=n(8648),i=n(1064),r=n(7176);e.exports=a?function(e){return a(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:r?function(e){return r(e)}:null},6549(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},5795(e,t,n){"use strict";var a=n(6549);if(a)try{a([],"length")}catch(e){a=null}e.exports=a},5884(e){"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",a=t.indexOf(n+e),i=t.indexOf("--");return-1!==a&&(-1===i||a<i)}},4039(e,t,n){"use strict";var a="undefined"!=typeof Symbol&&Symbol,i=n(1333);e.exports=function(){return"function"==typeof a&&"function"==typeof Symbol&&"symbol"==typeof a("foo")&&"symbol"==typeof Symbol("bar")&&i()}},1333(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var a in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},9092(e,t,n){"use strict";var a=n(1333);e.exports=function(){return a()&&!!Symbol.toStringTag}},9957(e,t,n){"use strict";var a=Function.prototype.call,i=Object.prototype.hasOwnProperty,r=n(6743);e.exports=r.call(a,i)},257(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cryptoRuntime=t.base64url=t.generateSecret=t.generateKeyPair=t.errors=t.decodeJwt=t.decodeProtectedHeader=t.importJWK=t.importX509=t.importPKCS8=t.importSPKI=t.exportJWK=t.exportSPKI=t.exportPKCS8=t.UnsecuredJWT=t.createRemoteJWKSet=t.createLocalJWKSet=t.EmbeddedJWK=t.calculateJwkThumbprintUri=t.calculateJwkThumbprint=t.EncryptJWT=t.SignJWT=t.GeneralSign=t.FlattenedSign=t.CompactSign=t.FlattenedEncrypt=t.CompactEncrypt=t.jwtDecrypt=t.jwtVerify=t.generalVerify=t.flattenedVerify=t.compactVerify=t.GeneralEncrypt=t.generalDecrypt=t.flattenedDecrypt=t.compactDecrypt=void 0;var a=n(6923);Object.defineProperty(t,"compactDecrypt",{enumerable:!0,get:function(){return a.compactDecrypt}});var i=n(4533);Object.defineProperty(t,"flattenedDecrypt",{enumerable:!0,get:function(){return i.flattenedDecrypt}});var r=n(774);Object.defineProperty(t,"generalDecrypt",{enumerable:!0,get:function(){return r.generalDecrypt}});var o=n(782);Object.defineProperty(t,"GeneralEncrypt",{enumerable:!0,get:function(){return o.GeneralEncrypt}});var s=n(1427);Object.defineProperty(t,"compactVerify",{enumerable:!0,get:function(){return s.compactVerify}});var c=n(6833);Object.defineProperty(t,"flattenedVerify",{enumerable:!0,get:function(){return c.flattenedVerify}});var p=n(9060);Object.defineProperty(t,"generalVerify",{enumerable:!0,get:function(){return p.generalVerify}});var l=n(3082);Object.defineProperty(t,"jwtVerify",{enumerable:!0,get:function(){return l.jwtVerify}});var u=n(3814);Object.defineProperty(t,"jwtDecrypt",{enumerable:!0,get:function(){return u.jwtDecrypt}});var d=n(7815);Object.defineProperty(t,"CompactEncrypt",{enumerable:!0,get:function(){return d.CompactEncrypt}});var m=n(9805);Object.defineProperty(t,"FlattenedEncrypt",{enumerable:!0,get:function(){return m.FlattenedEncrypt}});var f=n(9851);Object.defineProperty(t,"CompactSign",{enumerable:!0,get:function(){return f.CompactSign}});var h=n(4329);Object.defineProperty(t,"FlattenedSign",{enumerable:!0,get:function(){return h.FlattenedSign}});var v=n(7440);Object.defineProperty(t,"GeneralSign",{enumerable:!0,get:function(){return v.GeneralSign}});var y=n(2230);Object.defineProperty(t,"SignJWT",{enumerable:!0,get:function(){return y.SignJWT}});var x=n(6638);Object.defineProperty(t,"EncryptJWT",{enumerable:!0,get:function(){return x.EncryptJWT}});var g=n(2599);Object.defineProperty(t,"calculateJwkThumbprint",{enumerable:!0,get:function(){return g.calculateJwkThumbprint}}),Object.defineProperty(t,"calculateJwkThumbprintUri",{enumerable:!0,get:function(){return g.calculateJwkThumbprintUri}});var b=n(278);Object.defineProperty(t,"EmbeddedJWK",{enumerable:!0,get:function(){return b.EmbeddedJWK}});var w=n(6980);Object.defineProperty(t,"createLocalJWKSet",{enumerable:!0,get:function(){return w.createLocalJWKSet}});var E=n(9877);Object.defineProperty(t,"createRemoteJWKSet",{enumerable:!0,get:function(){return E.createRemoteJWKSet}});var S=n(49);Object.defineProperty(t,"UnsecuredJWT",{enumerable:!0,get:function(){return S.UnsecuredJWT}});var _=n(68);Object.defineProperty(t,"exportPKCS8",{enumerable:!0,get:function(){return _.exportPKCS8}}),Object.defineProperty(t,"exportSPKI",{enumerable:!0,get:function(){return _.exportSPKI}}),Object.defineProperty(t,"exportJWK",{enumerable:!0,get:function(){return _.exportJWK}});var k=n(7364);Object.defineProperty(t,"importSPKI",{enumerable:!0,get:function(){return k.importSPKI}}),Object.defineProperty(t,"importPKCS8",{enumerable:!0,get:function(){return k.importPKCS8}}),Object.defineProperty(t,"importX509",{enumerable:!0,get:function(){return k.importX509}}),Object.defineProperty(t,"importJWK",{enumerable:!0,get:function(){return k.importJWK}});var A=n(4443);Object.defineProperty(t,"decodeProtectedHeader",{enumerable:!0,get:function(){return A.decodeProtectedHeader}});var O=n(8396);Object.defineProperty(t,"decodeJwt",{enumerable:!0,get:function(){return O.decodeJwt}}),t.errors=n(6247);var j=n(409);Object.defineProperty(t,"generateKeyPair",{enumerable:!0,get:function(){return j.generateKeyPair}});var P=n(4121);Object.defineProperty(t,"generateSecret",{enumerable:!0,get:function(){return P.generateSecret}}),t.base64url=n(8462);var T=n(4166);Object.defineProperty(t,"cryptoRuntime",{enumerable:!0,get:function(){return T.default}})},6923(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactDecrypt=void 0;const a=n(4533),i=n(6247),r=n(5821);t.compactDecrypt=async function(e,t,n){if(e instanceof Uint8Array&&(e=r.decoder.decode(e)),"string"!=typeof e)throw new i.JWEInvalid("Compact JWE must be a string or Uint8Array");const{0:o,1:s,2:c,3:p,4:l,length:u}=e.split(".");if(5!==u)throw new i.JWEInvalid("Invalid Compact JWE");const d=await(0,a.flattenedDecrypt)({ciphertext:p,iv:c||void 0,protected:o||void 0,tag:l||void 0,encrypted_key:s||void 0},t,n),m={plaintext:d.plaintext,protectedHeader:d.protectedHeader};return"function"==typeof t?{...m,key:d.key}:m}},7815(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactEncrypt=void 0;const a=n(9805);t.CompactEncrypt=class{constructor(e){this._flattened=new a.FlattenedEncrypt(e)}setContentEncryptionKey(e){return this._flattened.setContentEncryptionKey(e),this}setInitializationVector(e){return this._flattened.setInitializationVector(e),this}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}setKeyManagementParameters(e){return this._flattened.setKeyManagementParameters(e),this}async encrypt(e,t){const n=await this._flattened.encrypt(e,t);return[n.protected,n.encrypted_key,n.iv,n.ciphertext,n.tag].join(".")}}},4533(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenedDecrypt=void 0;const a=n(82),i=n(4799),r=n(7609),o=n(6247),s=n(9476),c=n(1855),p=n(4760),l=n(5821),u=n(1784),d=n(2458),m=n(8604);t.flattenedDecrypt=async function(e,t,n){var f;if(!(0,c.default)(e))throw new o.JWEInvalid("Flattened JWE must be an object");if(void 0===e.protected&&void 0===e.header&&void 0===e.unprotected)throw new o.JWEInvalid("JOSE Header missing");if("string"!=typeof e.iv)throw new o.JWEInvalid("JWE Initialization Vector missing or incorrect type");if("string"!=typeof e.ciphertext)throw new o.JWEInvalid("JWE Ciphertext missing or incorrect type");if("string"!=typeof e.tag)throw new o.JWEInvalid("JWE Authentication Tag missing or incorrect type");if(void 0!==e.protected&&"string"!=typeof e.protected)throw new o.JWEInvalid("JWE Protected Header incorrect type");if(void 0!==e.encrypted_key&&"string"!=typeof e.encrypted_key)throw new o.JWEInvalid("JWE Encrypted Key incorrect type");if(void 0!==e.aad&&"string"!=typeof e.aad)throw new o.JWEInvalid("JWE AAD incorrect type");if(void 0!==e.header&&!(0,c.default)(e.header))throw new o.JWEInvalid("JWE Shared Unprotected Header incorrect type");if(void 0!==e.unprotected&&!(0,c.default)(e.unprotected))throw new o.JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type");let h;if(e.protected)try{const t=(0,a.decode)(e.protected);h=JSON.parse(l.decoder.decode(t))}catch{throw new o.JWEInvalid("JWE Protected Header is invalid")}if(!(0,s.default)(h,e.header,e.unprotected))throw new o.JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const v={...h,...e.header,...e.unprotected};if((0,d.default)(o.JWEInvalid,new Map,null==n?void 0:n.crit,h,v),void 0!==v.zip){if(!h||!h.zip)throw new o.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if("DEF"!==v.zip)throw new o.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}const{alg:y,enc:x}=v;if("string"!=typeof y||!y)throw new o.JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof x||!x)throw new o.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");const g=n&&(0,m.default)("keyManagementAlgorithms",n.keyManagementAlgorithms),b=n&&(0,m.default)("contentEncryptionAlgorithms",n.contentEncryptionAlgorithms);if(g&&!g.has(y))throw new o.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(b&&!b.has(x))throw new o.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let w;if(void 0!==e.encrypted_key)try{w=(0,a.decode)(e.encrypted_key)}catch{throw new o.JWEInvalid("Failed to base64url decode the encrypted_key")}let E,S,_,k=!1;"function"==typeof t&&(t=await t(h,e),k=!0);try{E=await(0,p.default)(y,t,w,v,n)}catch(e){if(e instanceof TypeError||e instanceof o.JWEInvalid||e instanceof o.JOSENotSupported)throw e;E=(0,u.default)(x)}try{S=(0,a.decode)(e.iv)}catch{throw new o.JWEInvalid("Failed to base64url decode the iv")}try{_=(0,a.decode)(e.tag)}catch{throw new o.JWEInvalid("Failed to base64url decode the tag")}const A=l.encoder.encode(null!==(f=e.protected)&&void 0!==f?f:"");let O,j;O=void 0!==e.aad?(0,l.concat)(A,l.encoder.encode("."),l.encoder.encode(e.aad)):A;try{j=(0,a.decode)(e.ciphertext)}catch{throw new o.JWEInvalid("Failed to base64url decode the ciphertext")}let P=await(0,i.default)(x,E,j,S,_,O);"DEF"===v.zip&&(P=await((null==n?void 0:n.inflateRaw)||r.inflate)(P));const T={plaintext:P};if(void 0!==e.protected&&(T.protectedHeader=h),void 0!==e.aad)try{T.additionalAuthenticatedData=(0,a.decode)(e.aad)}catch{throw new o.JWEInvalid("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(T.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(T.unprotectedHeader=e.header),k?{...T,key:t}:T}},9805(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlattenedEncrypt=t.unprotected=void 0;const a=n(82),i=n(2027),r=n(7609),o=n(7974),s=n(508),c=n(6247),p=n(9476),l=n(5821),u=n(2458);t.unprotected=Symbol(),t.FlattenedEncrypt=class{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this._plaintext=e}setKeyManagementParameters(e){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=e,this}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setSharedUnprotectedHeader(e){if(this._sharedUnprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}setAdditionalAuthenticatedData(e){return this._aad=e,this}setContentEncryptionKey(e){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=e,this}setInitializationVector(e){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=e,this}async encrypt(e,n){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new c.JWEInvalid("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!(0,p.default)(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new c.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const d={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if((0,u.default)(c.JWEInvalid,new Map,null==n?void 0:n.crit,this._protectedHeader,d),void 0!==d.zip){if(!this._protectedHeader||!this._protectedHeader.zip)throw new c.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if("DEF"!==d.zip)throw new c.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}const{alg:m,enc:f}=d;if("string"!=typeof m||!m)throw new c.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof f||!f)throw new c.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let h,v,y,x,g,b,w;if("dir"===m){if(this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if("ECDH-ES"===m&&this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement");{let a;({cek:v,encryptedKey:h,parameters:a}=await(0,s.default)(m,f,e,this._cek,this._keyManagementParameters)),a&&(n&&t.unprotected in n?this._unprotectedHeader?this._unprotectedHeader={...this._unprotectedHeader,...a}:this.setUnprotectedHeader(a):this._protectedHeader?this._protectedHeader={...this._protectedHeader,...a}:this.setProtectedHeader(a))}if(this._iv||(this._iv=(0,o.default)(f)),x=this._protectedHeader?l.encoder.encode((0,a.encode)(JSON.stringify(this._protectedHeader))):l.encoder.encode(""),this._aad?(g=(0,a.encode)(this._aad),y=(0,l.concat)(x,l.encoder.encode("."),l.encoder.encode(g))):y=x,"DEF"===d.zip){const e=await((null==n?void 0:n.deflateRaw)||r.deflate)(this._plaintext);({ciphertext:b,tag:w}=await(0,i.default)(f,e,v,this._iv,y))}else({ciphertext:b,tag:w}=await(0,i.default)(f,this._plaintext,v,this._iv,y));const E={ciphertext:(0,a.encode)(b),iv:(0,a.encode)(this._iv),tag:(0,a.encode)(w)};return h&&(E.encrypted_key=(0,a.encode)(h)),g&&(E.aad=g),this._protectedHeader&&(E.protected=l.decoder.decode(x)),this._sharedUnprotectedHeader&&(E.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(E.header=this._unprotectedHeader),E}}},774(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generalDecrypt=void 0;const a=n(4533),i=n(6247),r=n(1855);t.generalDecrypt=async function(e,t,n){if(!(0,r.default)(e))throw new i.JWEInvalid("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(r.default))throw new i.JWEInvalid("JWE Recipients missing or incorrect type");if(!e.recipients.length)throw new i.JWEInvalid("JWE Recipients has no members");for(const i of e.recipients)try{return await(0,a.flattenedDecrypt)({aad:e.aad,ciphertext:e.ciphertext,encrypted_key:i.encrypted_key,header:i.header,iv:e.iv,protected:e.protected,tag:e.tag,unprotected:e.unprotected},t,n)}catch{}throw new i.JWEDecryptionFailed}},782(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralEncrypt=void 0;const a=n(9805),i=n(6247),r=n(1784),o=n(9476),s=n(508),c=n(82),p=n(2458);class l{constructor(e,t,n){this.parent=e,this.key=t,this.options=n}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addRecipient(...e){return this.parent.addRecipient(...e)}encrypt(...e){return this.parent.encrypt(...e)}done(){return this.parent}}t.GeneralEncrypt=class{constructor(e){this._recipients=[],this._plaintext=e}addRecipient(e,t){const n=new l(this,e,{crit:null==t?void 0:t.crit});return this._recipients.push(n),n}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setSharedUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}setAdditionalAuthenticatedData(e){return this._aad=e,this}async encrypt(e){var t,n,l;if(!this._recipients.length)throw new i.JWEInvalid("at least one recipient must be added");if(e={deflateRaw:null==e?void 0:e.deflateRaw},1===this._recipients.length){const[t]=this._recipients,n=await new a.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(t.unprotectedHeader).encrypt(t.key,{...t.options,...e});let i={ciphertext:n.ciphertext,iv:n.iv,recipients:[{}],tag:n.tag};return n.aad&&(i.aad=n.aad),n.protected&&(i.protected=n.protected),n.unprotected&&(i.unprotected=n.unprotected),n.encrypted_key&&(i.recipients[0].encrypted_key=n.encrypted_key),n.header&&(i.recipients[0].header=n.header),i}let u;for(let e=0;e<this._recipients.length;e++){const t=this._recipients[e];if(!(0,o.default)(this._protectedHeader,this._unprotectedHeader,t.unprotectedHeader))throw new i.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const n={...this._protectedHeader,...this._unprotectedHeader,...t.unprotectedHeader},{alg:a}=n;if("string"!=typeof a||!a)throw new i.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===a||"ECDH-ES"===a)throw new i.JWEInvalid('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof n.enc||!n.enc)throw new i.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(u){if(u!==n.enc)throw new i.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else u=n.enc;if((0,p.default)(i.JWEInvalid,new Map,t.options.crit,this._protectedHeader,n),!(void 0===n.zip||this._protectedHeader&&this._protectedHeader.zip))throw new i.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}const d=(0,r.default)(u);let m={ciphertext:"",iv:"",recipients:[],tag:""};for(let i=0;i<this._recipients.length;i++){const r=this._recipients[i],o={};m.recipients.push(o);const p={...this._protectedHeader,...this._unprotectedHeader,...r.unprotectedHeader}.alg.startsWith("PBES2")?2048+i:void 0;if(0===i){const t=await new a.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(d).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(r.unprotectedHeader).setKeyManagementParameters({p2c:p}).encrypt(r.key,{...r.options,...e,[a.unprotected]:!0});m.ciphertext=t.ciphertext,m.iv=t.iv,m.tag=t.tag,t.aad&&(m.aad=t.aad),t.protected&&(m.protected=t.protected),t.unprotected&&(m.unprotected=t.unprotected),o.encrypted_key=t.encrypted_key,t.header&&(o.header=t.header);continue}const{encryptedKey:f,parameters:h}=await(0,s.default)((null===(t=r.unprotectedHeader)||void 0===t?void 0:t.alg)||(null===(n=this._protectedHeader)||void 0===n?void 0:n.alg)||(null===(l=this._unprotectedHeader)||void 0===l?void 0:l.alg),u,r.key,d,{p2c:p});o.encrypted_key=(0,c.encode)(f),(r.unprotectedHeader||h)&&(o.header={...r.unprotectedHeader,...h})}return m}}},278(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbeddedJWK=void 0;const a=n(7364),i=n(1855),r=n(6247);t.EmbeddedJWK=async function(e,t){const n={...e,...null==t?void 0:t.header};if(!(0,i.default)(n.jwk))throw new r.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await(0,a.importJWK)({...n.jwk,ext:!0},n.alg,!0);if(o instanceof Uint8Array||"public"!==o.type)throw new r.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key');return o}},2599(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateJwkThumbprintUri=t.calculateJwkThumbprint=void 0;const a=n(6332),i=n(82),r=n(6247),o=n(5821),s=n(1855),c=(e,t)=>{if("string"!=typeof e||!e)throw new r.JWKInvalid(`${t} missing or invalid`)};async function p(e,t){if(!(0,s.default)(e))throw new TypeError("JWK must be an object");if(null!=t||(t="sha256"),"sha256"!==t&&"sha384"!==t&&"sha512"!==t)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let n;switch(e.kty){case"EC":c(e.crv,'"crv" (Curve) Parameter'),c(e.x,'"x" (X Coordinate) Parameter'),c(e.y,'"y" (Y Coordinate) Parameter'),n={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":c(e.crv,'"crv" (Subtype of Key Pair) Parameter'),c(e.x,'"x" (Public Key) Parameter'),n={crv:e.crv,kty:e.kty,x:e.x};break;case"RSA":c(e.e,'"e" (Exponent) Parameter'),c(e.n,'"n" (Modulus) Parameter'),n={e:e.e,kty:e.kty,n:e.n};break;case"oct":c(e.k,'"k" (Key Value) Parameter'),n={k:e.k,kty:e.kty};break;default:throw new r.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}const p=o.encoder.encode(JSON.stringify(n));return(0,i.encode)(await(0,a.default)(t,p))}t.calculateJwkThumbprint=p,t.calculateJwkThumbprintUri=async function(e,t){null!=t||(t="sha256");const n=await p(e,t);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${t.slice(-3)}:${n}`}},6980(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createLocalJWKSet=t.LocalJWKSet=t.isJWKSLike=void 0;const a=n(7364),i=n(6247),r=n(1855);function o(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(s)}function s(e){return(0,r.default)(e)}t.isJWKSLike=o;class c{constructor(e){if(this._cached=new WeakMap,!o(e))throw new i.JWKSInvalid("JSON Web Key Set malformed");var t;this._jwks=(t=e,"function"==typeof structuredClone?structuredClone(t):JSON.parse(JSON.stringify(t)))}async getKey(e,t){const{alg:n,kid:a}={...e,...null==t?void 0:t.header},r=function(e){switch("string"==typeof e&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new i.JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set')}}(n),o=this._jwks.keys.filter(e=>{let t=r===e.kty;if(t&&"string"==typeof a&&(t=a===e.kid),t&&"string"==typeof e.alg&&(t=n===e.alg),t&&"string"==typeof e.use&&(t="sig"===e.use),t&&Array.isArray(e.key_ops)&&(t=e.key_ops.includes("verify")),t&&"EdDSA"===n&&(t="Ed25519"===e.crv||"Ed448"===e.crv),t)switch(n){case"ES256":t="P-256"===e.crv;break;case"ES256K":t="secp256k1"===e.crv;break;case"ES384":t="P-384"===e.crv;break;case"ES512":t="P-521"===e.crv}return t}),{0:s,length:c}=o;if(0===c)throw new i.JWKSNoMatchingKey;if(1!==c){const e=new i.JWKSMultipleMatchingKeys,{_cached:t}=this;throw e[Symbol.asyncIterator]=async function*(){for(const e of o)try{yield await p(t,e,n)}catch{continue}},e}return p(this._cached,s,n)}}async function p(e,t,n){const r=e.get(t)||e.set(t,{}).get(t);if(void 0===r[n]){const e=await(0,a.importJWK)({...t,ext:!0},n);if(e instanceof Uint8Array||"public"!==e.type)throw new i.JWKSInvalid("JSON Web Key Set members must be public keys");r[n]=e}return r[n]}t.LocalJWKSet=c,t.createLocalJWKSet=function(e){const t=new c(e);return async function(e,n){return t.getKey(e,n)}}},9877(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRemoteJWKSet=void 0;const a=n(8832),i=n(6247),r=n(6980);class o extends r.LocalJWKSet{constructor(e,t){if(super({keys:[]}),this._jwks=void 0,!(e instanceof URL))throw new TypeError("url must be an instance of URL");this._url=new URL(e.href),this._options={agent:null==t?void 0:t.agent,headers:null==t?void 0:t.headers},this._timeoutDuration="number"==typeof(null==t?void 0:t.timeoutDuration)?null==t?void 0:t.timeoutDuration:5e3,this._cooldownDuration="number"==typeof(null==t?void 0:t.cooldownDuration)?null==t?void 0:t.cooldownDuration:3e4,this._cacheMaxAge="number"==typeof(null==t?void 0:t.cacheMaxAge)?null==t?void 0:t.cacheMaxAge:6e5}coolingDown(){return"number"==typeof this._jwksTimestamp&&Date.now()<this._jwksTimestamp+this._cooldownDuration}fresh(){return"number"==typeof this._jwksTimestamp&&Date.now()<this._jwksTimestamp+this._cacheMaxAge}async getKey(e,t){this._jwks&&this.fresh()||await this.reload();try{return await super.getKey(e,t)}catch(n){if(n instanceof i.JWKSNoMatchingKey&&!1===this.coolingDown())return await this.reload(),super.getKey(e,t);throw n}}async reload(){this._pendingFetch&&("undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime)&&(this._pendingFetch=void 0),this._pendingFetch||(this._pendingFetch=(0,a.default)(this._url,this._timeoutDuration,this._options).then(e=>{if(!(0,r.isJWKSLike)(e))throw new i.JWKSInvalid("JSON Web Key Set malformed");this._jwks={keys:e.keys},this._jwksTimestamp=Date.now(),this._pendingFetch=void 0}).catch(e=>{throw this._pendingFetch=void 0,e})),await this._pendingFetch}}t.createRemoteJWKSet=function(e,t){const n=new o(e,t);return async function(e,t){return n.getKey(e,t)}}},9851(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactSign=void 0;const a=n(4329);t.CompactSign=class{constructor(e){this._flattened=new a.FlattenedSign(e)}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}async sign(e,t){const n=await this._flattened.sign(e,t);if(void 0===n.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${n.protected}.${n.payload}.${n.signature}`}}},1427(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactVerify=void 0;const a=n(6833),i=n(6247),r=n(5821);t.compactVerify=async function(e,t,n){if(e instanceof Uint8Array&&(e=r.decoder.decode(e)),"string"!=typeof e)throw new i.JWSInvalid("Compact JWS must be a string or Uint8Array");const{0:o,1:s,2:c,length:p}=e.split(".");if(3!==p)throw new i.JWSInvalid("Invalid Compact JWS");const l=await(0,a.flattenedVerify)({payload:s,protected:o,signature:c},t,n),u={payload:l.payload,protectedHeader:l.protectedHeader};return"function"==typeof t?{...u,key:l.key}:u}},4329(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlattenedSign=void 0;const a=n(82),i=n(7965),r=n(9476),o=n(6247),s=n(5821),c=n(1688),p=n(2458);t.FlattenedSign=class{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=e}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader)throw new o.JWSInvalid("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,r.default)(this._protectedHeader,this._unprotectedHeader))throw new o.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n={...this._protectedHeader,...this._unprotectedHeader};let l=!0;if((0,p.default)(o.JWSInvalid,new Map([["b64",!0]]),null==t?void 0:t.crit,this._protectedHeader,n).has("b64")&&(l=this._protectedHeader.b64,"boolean"!=typeof l))throw new o.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:u}=n;if("string"!=typeof u||!u)throw new o.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,c.default)(u,e,"sign");let d,m=this._payload;l&&(m=s.encoder.encode((0,a.encode)(m))),d=this._protectedHeader?s.encoder.encode((0,a.encode)(JSON.stringify(this._protectedHeader))):s.encoder.encode("");const f=(0,s.concat)(d,s.encoder.encode("."),m),h=await(0,i.default)(u,e,f),v={signature:(0,a.encode)(h),payload:""};return l&&(v.payload=s.decoder.decode(m)),this._unprotectedHeader&&(v.header=this._unprotectedHeader),this._protectedHeader&&(v.protected=s.decoder.decode(d)),v}}},6833(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenedVerify=void 0;const a=n(82),i=n(3117),r=n(6247),o=n(5821),s=n(9476),c=n(1855),p=n(1688),l=n(2458),u=n(8604);t.flattenedVerify=async function(e,t,n){var d;if(!(0,c.default)(e))throw new r.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new r.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new r.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new r.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new r.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,c.default)(e.header))throw new r.JWSInvalid("JWS Unprotected Header incorrect type");let m={};if(e.protected)try{const t=(0,a.decode)(e.protected);m=JSON.parse(o.decoder.decode(t))}catch{throw new r.JWSInvalid("JWS Protected Header is invalid")}if(!(0,s.default)(m,e.header))throw new r.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const f={...m,...e.header};let h=!0;if((0,l.default)(r.JWSInvalid,new Map([["b64",!0]]),null==n?void 0:n.crit,m,f).has("b64")&&(h=m.b64,"boolean"!=typeof h))throw new r.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:v}=f;if("string"!=typeof v||!v)throw new r.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');const y=n&&(0,u.default)("algorithms",n.algorithms);if(y&&!y.has(v))throw new r.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(h){if("string"!=typeof e.payload)throw new r.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new r.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let x=!1;"function"==typeof t&&(t=await t(m,e),x=!0),(0,p.default)(v,t,"verify");const g=(0,o.concat)(o.encoder.encode(null!==(d=e.protected)&&void 0!==d?d:""),o.encoder.encode("."),"string"==typeof e.payload?o.encoder.encode(e.payload):e.payload);let b,w;try{b=(0,a.decode)(e.signature)}catch{throw new r.JWSInvalid("Failed to base64url decode the signature")}if(!await(0,i.default)(v,t,b,g))throw new r.JWSSignatureVerificationFailed;if(h)try{w=(0,a.decode)(e.payload)}catch{throw new r.JWSInvalid("Failed to base64url decode the payload")}else w="string"==typeof e.payload?o.encoder.encode(e.payload):e.payload;const E={payload:w};return void 0!==e.protected&&(E.protectedHeader=m),void 0!==e.header&&(E.unprotectedHeader=e.header),x?{...E,key:t}:E}},7440(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSign=void 0;const a=n(4329),i=n(6247);class r{constructor(e,t,n){this.parent=e,this.key=t,this.options=n}setProtectedHeader(e){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=e,this}setUnprotectedHeader(e){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=e,this}addSignature(...e){return this.parent.addSignature(...e)}sign(...e){return this.parent.sign(...e)}done(){return this.parent}}t.GeneralSign=class{constructor(e){this._signatures=[],this._payload=e}addSignature(e,t){const n=new r(this,e,t);return this._signatures.push(n),n}async sign(){if(!this._signatures.length)throw new i.JWSInvalid("at least one signature must be added");const e={signatures:[],payload:""};for(let t=0;t<this._signatures.length;t++){const n=this._signatures[t],r=new a.FlattenedSign(this._payload);r.setProtectedHeader(n.protectedHeader),r.setUnprotectedHeader(n.unprotectedHeader);const{payload:o,...s}=await r.sign(n.key,n.options);if(0===t)e.payload=o;else if(e.payload!==o)throw new i.JWSInvalid("inconsistent use of JWS Unencoded Payload (RFC7797)");e.signatures.push(s)}return e}}},9060(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generalVerify=void 0;const a=n(6833),i=n(6247),r=n(1855);t.generalVerify=async function(e,t,n){if(!(0,r.default)(e))throw new i.JWSInvalid("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(r.default))throw new i.JWSInvalid("JWS Signatures missing or incorrect type");for(const i of e.signatures)try{return await(0,a.flattenedVerify)({header:i.header,payload:e.payload,protected:i.protected,signature:i.signature},t,n)}catch{}throw new i.JWSSignatureVerificationFailed}},3814(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jwtDecrypt=void 0;const a=n(6923),i=n(493),r=n(6247);t.jwtDecrypt=async function(e,t,n){const o=await(0,a.compactDecrypt)(e,t,n),s=(0,i.default)(o.protectedHeader,o.plaintext,n),{protectedHeader:c}=o;if(void 0!==c.iss&&c.iss!==s.iss)throw new r.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(void 0!==c.sub&&c.sub!==s.sub)throw new r.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(void 0!==c.aud&&JSON.stringify(c.aud)!==JSON.stringify(s.aud))throw new r.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch");const p={payload:s,protectedHeader:c};return"function"==typeof t?{...p,key:o.key}:p}},6638(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptJWT=void 0;const a=n(7815),i=n(5821),r=n(751);class o extends r.ProduceJWT{setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setKeyManagementParameters(e){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=e,this}setContentEncryptionKey(e){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=e,this}setInitializationVector(e){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=e,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(e,t){const n=new a.CompactEncrypt(i.encoder.encode(JSON.stringify(this._payload)));return this._replicateIssuerAsHeader&&(this._protectedHeader={...this._protectedHeader,iss:this._payload.iss}),this._replicateSubjectAsHeader&&(this._protectedHeader={...this._protectedHeader,sub:this._payload.sub}),this._replicateAudienceAsHeader&&(this._protectedHeader={...this._protectedHeader,aud:this._payload.aud}),n.setProtectedHeader(this._protectedHeader),this._iv&&n.setInitializationVector(this._iv),this._cek&&n.setContentEncryptionKey(this._cek),this._keyManagementParameters&&n.setKeyManagementParameters(this._keyManagementParameters),n.encrypt(e,t)}}t.EncryptJWT=o},751(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProduceJWT=void 0;const a=n(936),i=n(1855),r=n(9743);t.ProduceJWT=class{constructor(e){if(!(0,i.default)(e))throw new TypeError("JWT Claims Set MUST be an object");this._payload=e}setIssuer(e){return this._payload={...this._payload,iss:e},this}setSubject(e){return this._payload={...this._payload,sub:e},this}setAudience(e){return this._payload={...this._payload,aud:e},this}setJti(e){return this._payload={...this._payload,jti:e},this}setNotBefore(e){return this._payload="number"==typeof e?{...this._payload,nbf:e}:{...this._payload,nbf:(0,a.default)(new Date)+(0,r.default)(e)},this}setExpirationTime(e){return this._payload="number"==typeof e?{...this._payload,exp:e}:{...this._payload,exp:(0,a.default)(new Date)+(0,r.default)(e)},this}setIssuedAt(e){return this._payload=void 0===e?{...this._payload,iat:(0,a.default)(new Date)}:{...this._payload,iat:e},this}}},2230(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignJWT=void 0;const a=n(9851),i=n(6247),r=n(5821),o=n(751);class s extends o.ProduceJWT{setProtectedHeader(e){return this._protectedHeader=e,this}async sign(e,t){var n;const o=new a.CompactSign(r.encoder.encode(JSON.stringify(this._payload)));if(o.setProtectedHeader(this._protectedHeader),Array.isArray(null===(n=this._protectedHeader)||void 0===n?void 0:n.crit)&&this._protectedHeader.crit.includes("b64")&&!1===this._protectedHeader.b64)throw new i.JWTInvalid("JWTs MUST NOT use unencoded payload");return o.sign(e,t)}}t.SignJWT=s},49(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsecuredJWT=void 0;const a=n(82),i=n(5821),r=n(6247),o=n(493),s=n(751);class c extends s.ProduceJWT{encode(){return`${a.encode(JSON.stringify({alg:"none"}))}.${a.encode(JSON.stringify(this._payload))}.`}static decode(e,t){if("string"!=typeof e)throw new r.JWTInvalid("Unsecured JWT must be a string");const{0:n,1:s,2:c,length:p}=e.split(".");if(3!==p||""!==c)throw new r.JWTInvalid("Invalid Unsecured JWT");let l;try{if(l=JSON.parse(i.decoder.decode(a.decode(n))),"none"!==l.alg)throw new Error}catch{throw new r.JWTInvalid("Invalid Unsecured JWT")}return{payload:(0,o.default)(l,a.decode(s),t),header:l}}}t.UnsecuredJWT=c},3082(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jwtVerify=void 0;const a=n(1427),i=n(493),r=n(6247);t.jwtVerify=async function(e,t,n){var o;const s=await(0,a.compactVerify)(e,t,n);if((null===(o=s.protectedHeader.crit)||void 0===o?void 0:o.includes("b64"))&&!1===s.protectedHeader.b64)throw new r.JWTInvalid("JWTs MUST NOT use unencoded payload");const c={payload:(0,i.default)(s.protectedHeader,s.payload,n),protectedHeader:s.protectedHeader};return"function"==typeof t?{...c,key:s.key}:c}},68(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exportJWK=t.exportPKCS8=t.exportSPKI=void 0;const a=n(293),i=n(293),r=n(9590);t.exportSPKI=async function(e){return(0,a.toSPKI)(e)},t.exportPKCS8=async function(e){return(0,i.toPKCS8)(e)},t.exportJWK=async function(e){return(0,r.default)(e)}},409(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateKeyPair=void 0;const a=n(7975);t.generateKeyPair=async function(e,t){return(0,a.generateKeyPair)(e,t)}},4121(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSecret=void 0;const a=n(7975);t.generateSecret=async function(e,t){return(0,a.generateSecret)(e,t)}},7364(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importJWK=t.importPKCS8=t.importX509=t.importSPKI=void 0;const a=n(82),i=n(293),r=n(4660),o=n(6247),s=n(1855);t.importSPKI=async function(e,t,n){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return(0,i.fromSPKI)(e,t,n)},t.importX509=async function(e,t,n){if("string"!=typeof e||0!==e.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return(0,i.fromX509)(e,t,n)},t.importPKCS8=async function(e,t,n){if("string"!=typeof e||0!==e.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return(0,i.fromPKCS8)(e,t,n)},t.importJWK=async function(e,t,n){var i;if(!(0,s.default)(e))throw new TypeError("JWK must be an object");switch(t||(t=e.alg),e.kty){case"oct":if("string"!=typeof e.k||!e.k)throw new TypeError('missing "k" (Key Value) Parameter value');return null!=n||(n=!0!==e.ext),n?(0,r.default)({...e,alg:t,ext:null!==(i=e.ext)&&void 0!==i&&i}):(0,a.decode)(e.k);case"RSA":if(void 0!==e.oth)throw new o.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return(0,r.default)({...e,alg:t});default:throw new o.JOSENotSupported('Unsupported "kty" (Key Type) Parameter value')}}},7031(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unwrap=t.wrap=void 0;const a=n(2027),i=n(4799),r=n(7974),o=n(82);t.wrap=async function(e,t,n,i){const s=e.slice(0,7);i||(i=(0,r.default)(s));const{ciphertext:c,tag:p}=await(0,a.default)(s,n,t,i,new Uint8Array(0));return{encryptedKey:c,iv:(0,o.encode)(i),tag:(0,o.encode)(p)}},t.unwrap=async function(e,t,n,a,r){const o=e.slice(0,7);return(0,i.default)(o,t,n,a,r,new Uint8Array(0))}},5821(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatKdf=t.lengthAndInput=t.uint32be=t.uint64be=t.p2s=t.concat=t.decoder=t.encoder=void 0;const a=n(6332);t.encoder=new TextEncoder,t.decoder=new TextDecoder;const i=2**32;function r(...e){const t=e.reduce((e,{length:t})=>e+t,0),n=new Uint8Array(t);let a=0;return e.forEach(e=>{n.set(e,a),a+=e.length}),n}function o(e,t,n){if(t<0||t>=i)throw new RangeError(`value must be >= 0 and <= 4294967295. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,255&t],n)}function s(e){const t=new Uint8Array(4);return o(t,e),t}t.concat=r,t.p2s=function(e,n){return r(t.encoder.encode(e),new Uint8Array([0]),n)},t.uint64be=function(e){const t=Math.floor(e/i),n=e%i,a=new Uint8Array(8);return o(a,t,0),o(a,n,4),a},t.uint32be=s,t.lengthAndInput=function(e){return r(s(e.length),e)},t.concatKdf=async function(e,t,n){const i=Math.ceil((t>>3)/32),r=new Uint8Array(32*i);for(let t=0;t<i;t++){const i=new Uint8Array(4+e.length+n.length);i.set(s(t+1)),i.set(e,4),i.set(n,4+e.length),r.set(await(0,a.default)("sha256",i),32*t)}return r.slice(0,t>>3)}},1784(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitLength=void 0;const a=n(6247),i=n(927);function r(e){switch(e){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new a.JOSENotSupported(`Unsupported JWE Algorithm: ${e}`)}}t.bitLength=r,t.default=e=>(0,i.default)(new Uint8Array(r(e)>>3))},1146(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247),i=n(7974);t.default=(e,t)=>{if(t.length<<3!==(0,i.bitLength)(e))throw new a.JWEInvalid("Invalid Initialization Vector length")}},1688(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8737),i=n(740);t.default=(e,t,n)=>{e.startsWith("HS")||"dir"===e||e.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(e)?((e,t)=>{if(!(t instanceof Uint8Array)){if(!(0,i.default)(t))throw new TypeError((0,a.withAlg)(e,t,...i.types,"Uint8Array"));if("secret"!==t.type)throw new TypeError(`${i.types.join(" or ")} instances for symmetric algorithms must be of type "secret"`)}})(e,t):((e,t,n)=>{if(!(0,i.default)(t))throw new TypeError((0,a.withAlg)(e,t,...i.types));if("secret"===t.type)throw new TypeError(`${i.types.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===n&&"public"===t.type)throw new TypeError(`${i.types.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===n&&"public"===t.type)throw new TypeError(`${i.types.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&"verify"===n&&"private"===t.type)throw new TypeError(`${i.types.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&"encrypt"===n&&"private"===t.type)throw new TypeError(`${i.types.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)})(e,t,n)}},8405(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247);t.default=function(e){if(!(e instanceof Uint8Array)||e.length<8)throw new a.JWEInvalid("PBES2 Salt Input must be 8 or more octets")}},2484(e,t){"use strict";function n(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function a(e,t){return e.name===t}function i(e){return parseInt(e.name.slice(4),10)}function r(e,t){if(t.length&&!t.some(t=>e.usages.includes(t))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const n=t.pop();e+=`one of ${t.join(", ")}, or ${n}.`}else 2===t.length?e+=`one of ${t[0]} or ${t[1]}.`:e+=`${t[0]}.`;throw new TypeError(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.checkEncCryptoKey=t.checkSigCryptoKey=void 0,t.checkSigCryptoKey=function(e,t,...o){switch(t){case"HS256":case"HS384":case"HS512":{if(!a(e.algorithm,"HMAC"))throw n("HMAC");const r=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==r)throw n(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!a(e.algorithm,"RSASSA-PKCS1-v1_5"))throw n("RSASSA-PKCS1-v1_5");const r=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==r)throw n(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!a(e.algorithm,"RSA-PSS"))throw n("RSA-PSS");const r=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==r)throw n(`SHA-${r}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==e.algorithm.name&&"Ed448"!==e.algorithm.name)throw n("Ed25519 or Ed448");break;case"ES256":case"ES384":case"ES512":{if(!a(e.algorithm,"ECDSA"))throw n("ECDSA");const i=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==i)throw n(i,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}r(e,o)},t.checkEncCryptoKey=function(e,t,...o){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!a(e.algorithm,"AES-GCM"))throw n("AES-GCM");const i=parseInt(t.slice(1,4),10);if(e.algorithm.length!==i)throw n(i,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!a(e.algorithm,"AES-KW"))throw n("AES-KW");const i=parseInt(t.slice(1,4),10);if(e.algorithm.length!==i)throw n(i,"algorithm.length");break}case"ECDH":switch(e.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw n("ECDH, X25519, or X448")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!a(e.algorithm,"PBKDF2"))throw n("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!a(e.algorithm,"RSA-OAEP"))throw n("RSA-OAEP");const r=parseInt(t.slice(9),10)||1;if(i(e.algorithm.hash)!==r)throw n(`SHA-${r}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}r(e,o)}},4760(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2395),i=n(6112),r=n(5904),o=n(3020),s=n(82),c=n(6247),p=n(1784),l=n(7364),u=n(1688),d=n(1855),m=n(7031);t.default=async function(e,t,n,f,h){switch((0,u.default)(e,t,"decrypt"),e){case"dir":if(void 0!==n)throw new c.JWEInvalid("Encountered unexpected JWE Encrypted Key");return t;case"ECDH-ES":if(void 0!==n)throw new c.JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!(0,d.default)(f.epk))throw new c.JWEInvalid('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!i.ecdhAllowed(t))throw new c.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const r=await(0,l.importJWK)(f.epk,e);let o,u;if(void 0!==f.apu){if("string"!=typeof f.apu)throw new c.JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{o=(0,s.decode)(f.apu)}catch{throw new c.JWEInvalid("Failed to base64url decode the apu")}}if(void 0!==f.apv){if("string"!=typeof f.apv)throw new c.JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{u=(0,s.decode)(f.apv)}catch{throw new c.JWEInvalid("Failed to base64url decode the apv")}}const m=await i.deriveKey(r,t,"ECDH-ES"===e?f.enc:e,"ECDH-ES"===e?(0,p.bitLength)(f.enc):parseInt(e.slice(-5,-2),10),o,u);if("ECDH-ES"===e)return m;if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,a.unwrap)(e.slice(-6),m,n)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,o.decrypt)(e,t,n);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");if("number"!=typeof f.p2c)throw new c.JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');const a=(null==h?void 0:h.maxPBES2Count)||1e4;if(f.p2c>a)throw new c.JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof f.p2s)throw new c.JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=(0,s.decode)(f.p2s)}catch{throw new c.JWEInvalid("Failed to base64url decode the p2s")}return(0,r.decrypt)(e,t,n,f.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,a.unwrap)(e,t,n);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");if("string"!=typeof f.iv)throw new c.JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof f.tag)throw new c.JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');let a,i;try{a=(0,s.decode)(f.iv)}catch{throw new c.JWEInvalid("Failed to base64url decode the iv")}try{i=(0,s.decode)(f.tag)}catch{throw new c.JWEInvalid("Failed to base64url decode the tag")}return(0,m.unwrap)(e,t,n,a,i)}default:throw new c.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}},508(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(2395),i=n(6112),r=n(5904),o=n(3020),s=n(82),c=n(1784),p=n(6247),l=n(68),u=n(1688),d=n(7031);t.default=async function(e,t,n,m,f={}){let h,v,y;switch((0,u.default)(e,n,"encrypt"),e){case"dir":y=n;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!i.ecdhAllowed(n))throw new p.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:r,apv:o}=f;let{epk:u}=f;u||(u=(await i.generateEpk(n)).privateKey);const{x:d,y:x,crv:g,kty:b}=await(0,l.exportJWK)(u),w=await i.deriveKey(n,u,"ECDH-ES"===e?t:e,"ECDH-ES"===e?(0,c.bitLength)(t):parseInt(e.slice(-5,-2),10),r,o);if(v={epk:{x:d,crv:g,kty:b}},"EC"===b&&(v.epk.y=x),r&&(v.apu=(0,s.encode)(r)),o&&(v.apv=(0,s.encode)(o)),"ECDH-ES"===e){y=w;break}y=m||(0,c.default)(t);const E=e.slice(-6);h=await(0,a.wrap)(E,w,y);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":y=m||(0,c.default)(t),h=await(0,o.encrypt)(e,n,y);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{y=m||(0,c.default)(t);const{p2c:a,p2s:i}=f;({encryptedKey:h,...v}=await(0,r.encrypt)(e,n,y,a,i));break}case"A128KW":case"A192KW":case"A256KW":y=m||(0,c.default)(t),h=await(0,a.wrap)(e,n,y);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{y=m||(0,c.default)(t);const{iv:a}=f;({encryptedKey:h,...v}=await(0,d.wrap)(e,n,y,a));break}default:throw new p.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:y,encryptedKey:h,parameters:v}}},936(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=e=>Math.floor(e.getTime()/1e3)},8737(e,t){"use strict";function n(e,t,...n){if(n.length>2){const t=n.pop();e+=`one of type ${n.join(", ")}, or ${t}.`}else 2===n.length?e+=`one of type ${n[0]} or ${n[1]}.`:e+=`of type ${n[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor&&t.constructor.name&&(e+=` Received an instance of ${t.constructor.name}`),e}Object.defineProperty(t,"__esModule",{value:!0}),t.withAlg=void 0,t.default=(e,...t)=>n("Key must be ",e,...t),t.withAlg=function(e,t,...a){return n(`Key for the ${e} algorithm must be `,t,...a)}},9476(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(...e)=>{const t=e.filter(Boolean);if(0===t.length||1===t.length)return!0;let n;for(const e of t){const t=Object.keys(e);if(n&&0!==n.size)for(const e of t){if(n.has(e))return!1;n.add(e)}else n=new Set(t)}return!0}},1855(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("object"!=typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let n=e;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}},7974(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitLength=void 0;const a=n(6247),i=n(927);function r(e){switch(e){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new a.JOSENotSupported(`Unsupported JWE Algorithm: ${e}`)}}t.bitLength=r,t.default=e=>(0,i.default)(new Uint8Array(r(e)>>3))},493(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247),i=n(5821),r=n(936),o=n(9743),s=n(1855),c=e=>e.toLowerCase().replace(/^application\//,"");t.default=(e,t,n={})=>{const{typ:p}=n;if(p&&("string"!=typeof e.typ||c(e.typ)!==c(p)))throw new a.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed");let l;try{l=JSON.parse(i.decoder.decode(t))}catch{}if(!(0,s.default)(l))throw new a.JWTInvalid("JWT Claims Set must be a top-level JSON object");const{requiredClaims:u=[],issuer:d,subject:m,audience:f,maxTokenAge:h}=n;void 0!==h&&u.push("iat"),void 0!==f&&u.push("aud"),void 0!==m&&u.push("sub"),void 0!==d&&u.push("iss");for(const e of new Set(u.reverse()))if(!(e in l))throw new a.JWTClaimValidationFailed(`missing required "${e}" claim`,e,"missing");if(d&&!(Array.isArray(d)?d:[d]).includes(l.iss))throw new a.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed");if(m&&l.sub!==m)throw new a.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed");if(f&&(y="string"==typeof f?[f]:f,!("string"==typeof(v=l.aud)?y.includes(v):Array.isArray(v)&&y.some(Set.prototype.has.bind(new Set(v))))))throw new a.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed");var v,y;let x;switch(typeof n.clockTolerance){case"string":x=(0,o.default)(n.clockTolerance);break;case"number":x=n.clockTolerance;break;case"undefined":x=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:g}=n,b=(0,r.default)(g||new Date);if((void 0!==l.iat||h)&&"number"!=typeof l.iat)throw new a.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid");if(void 0!==l.nbf){if("number"!=typeof l.nbf)throw new a.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid");if(l.nbf>b+x)throw new a.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}if(void 0!==l.exp){if("number"!=typeof l.exp)throw new a.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid");if(l.exp<=b-x)throw new a.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}if(h){const e=b-l.iat;if(e-x>("number"==typeof h?h:(0,o.default)(h)))throw new a.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(e<0-x)throw new a.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return l}},9743(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;t.default=e=>{const t=n.exec(e);if(!t)throw new TypeError("Invalid time period format");const a=parseFloat(t[1]);switch(t[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(a);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(60*a);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(3600*a);case"day":case"days":case"d":return Math.round(86400*a);case"week":case"weeks":case"w":return Math.round(604800*a);default:return Math.round(31557600*a)}}},8604(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)}},2458(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247);t.default=function(e,t,n,i,r){if(void 0!==r.crit&&void 0===i.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!i||void 0===i.crit)return new Set;if(!Array.isArray(i.crit)||0===i.crit.length||i.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let o;o=void 0!==n?new Map([...Object.entries(n),...t.entries()]):t;for(const t of i.crit){if(!o.has(t))throw new a.JOSENotSupported(`Extension Header Parameter "${t}" is not recognized`);if(void 0===r[t])throw new e(`Extension Header Parameter "${t}" is missing`);if(o.get(t)&&void 0===i[t])throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}return new Set(i.crit)}},2395(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unwrap=t.wrap=void 0;const a=n(181),i=n(6982),r=n(6247),o=n(5821),s=n(8993),c=n(2484),p=n(4512),l=n(8737),u=n(3022),d=n(740);function m(e,t){if(e.symmetricKeySize<<3!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function f(e,t,n){if((0,p.default)(e))return e;if(e instanceof Uint8Array)return(0,i.createSecretKey)(e);if((0,s.isCryptoKey)(e))return(0,c.checkEncCryptoKey)(e,t,n),i.KeyObject.from(e);throw new TypeError((0,l.default)(e,...d.types,"Uint8Array"))}t.wrap=(e,t,n)=>{const s=`aes${parseInt(e.slice(1,4),10)}-wrap`;if(!(0,u.default)(s))throw new r.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`);const c=f(t,e,"wrapKey");m(c,e);const p=(0,i.createCipheriv)(s,c,a.Buffer.alloc(8,166));return(0,o.concat)(p.update(n),p.final())},t.unwrap=(e,t,n)=>{const s=`aes${parseInt(e.slice(1,4),10)}-wrap`;if(!(0,u.default)(s))throw new r.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`);const c=f(t,e,"unwrapKey");m(c,e);const p=(0,i.createDecipheriv)(s,c,a.Buffer.alloc(8,166));return(0,o.concat)(p.update(n),p.final())}},293(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromX509=t.fromSPKI=t.fromPKCS8=t.toPKCS8=t.toSPKI=void 0;const a=n(6982),i=n(181),r=n(8993),o=n(4512),s=n(8737),c=n(740),p=(e,t,n)=>{let i;if((0,r.isCryptoKey)(n)){if(!n.extractable)throw new TypeError("CryptoKey is not extractable");i=a.KeyObject.from(n)}else{if(!(0,o.default)(n))throw new TypeError((0,s.default)(n,...c.types));i=n}if(i.type!==e)throw new TypeError(`key is not a ${e} key`);return i.export({format:"pem",type:t})};t.toSPKI=e=>p("public","spki",e),t.toPKCS8=e=>p("private","pkcs8",e),t.fromPKCS8=e=>(0,a.createPrivateKey)({key:i.Buffer.from(e.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"}),t.fromSPKI=e=>(0,a.createPublicKey)({key:i.Buffer.from(e.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"}),t.fromX509=e=>(0,a.createPublicKey)({key:e,type:"spki",format:"pem"})},1326(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(e){if(48!==e[0])throw new TypeError;if(this.buffer=e,this.offset=1,this.decodeLength()!==e.length-this.offset)throw new TypeError}decodeLength(){let e=this.buffer[this.offset++];if(128&e){const t=-129&e;e=0;for(let n=0;n<t;n++)e=e<<8|this.buffer[this.offset+n];this.offset+=t}return e}unsignedInteger(){if(2!==this.buffer[this.offset++])throw new TypeError;let e=this.decodeLength();0===this.buffer[this.offset]&&(this.offset++,e--);const t=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,t}end(){if(this.offset!==this.buffer.length)throw new TypeError}}},4138(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(181),i=n(6247),r=a.Buffer.from([0]),o=a.Buffer.from([2]),s=a.Buffer.from([3]),c=a.Buffer.from([48]),p=a.Buffer.from([4]),l=e=>{if(e<128)return a.Buffer.from([e]);const t=a.Buffer.alloc(5);t.writeUInt32BE(e,1);let n=1;for(;0===t[n];)n++;return t[n-1]=128|5-n,t.slice(n-1)},u=new Map([["P-256",a.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",a.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",a.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",a.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",a.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",a.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",a.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",a.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",a.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);t.default=class{constructor(){this.length=0,this.elements=[]}oidFor(e){const t=u.get(e);if(!t)throw new i.JOSENotSupported("Invalid or unsupported OID");this.elements.push(t),this.length+=t.length}zero(){this.elements.push(o,a.Buffer.from([1]),r),this.length+=3}one(){this.elements.push(o,a.Buffer.from([1]),a.Buffer.from([1])),this.length+=3}unsignedInteger(e){if(128&e[0]){const t=l(e.length+1);this.elements.push(o,t,r,e),this.length+=2+t.length+e.length}else{let t=0;for(;0===e[t]&&!(128&e[t+1]);)t++;const n=l(e.length-t);this.elements.push(o,l(e.length-t),e.slice(t)),this.length+=1+n.length+e.length-t}}octStr(e){const t=l(e.length);this.elements.push(p,l(e.length),e),this.length+=1+t.length+e.length}bitStr(e){const t=l(e.length+1);this.elements.push(s,l(e.length+1),r,e),this.length+=1+t.length+e.length+1}add(e){this.elements.push(e),this.length+=e.length}end(e=c){const t=l(this.length);return a.Buffer.concat([e,t,...this.elements],1+t.length+this.length)}}},82(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=t.encode=t.encodeBase64=t.decodeBase64=void 0;const a=n(181),i=n(5821);let r;a.Buffer.isEncoding("base64url")?t.encode=r=e=>a.Buffer.from(e).toString("base64url"):t.encode=r=e=>a.Buffer.from(e).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),t.decodeBase64=e=>a.Buffer.from(e,"base64"),t.encodeBase64=e=>a.Buffer.from(e).toString("base64"),t.decode=e=>a.Buffer.from(function(e){let t=e;return t instanceof Uint8Array&&(t=i.decoder.decode(t)),t}(e),"base64")},4803(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(5821);t.default=function(e,t,n,r,o,s){const c=(0,i.concat)(e,t,n,(0,i.uint64be)(e.length<<3)),p=(0,a.createHmac)(`sha${r}`,o);return p.update(c),p.digest().slice(0,s>>3)}},2319(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247),i=n(4512);t.default=(e,t)=>{let n;switch(e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":n=parseInt(e.slice(-3),10);break;case"A128GCM":case"A192GCM":case"A256GCM":n=parseInt(e.slice(1,4),10);break;default:throw new a.JOSENotSupported(`Content Encryption Algorithm ${e} is not supported either by JOSE or your javascript runtime`)}if(t instanceof Uint8Array){const e=t.byteLength<<3;if(e!==n)throw new a.JWEInvalid(`Invalid Content Encryption Key length. Expected ${n} bits, got ${e} bits`);return}if((0,i.default)(t)&&"secret"===t.type){const e=t.symmetricKeySize<<3;if(e!==n)throw new a.JWEInvalid(`Invalid Content Encryption Key length. Expected ${n} bits, got ${e} bits`);return}throw new TypeError("Invalid Content Encryption Key type")}},5363(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setModulusLength=t.weakMap=void 0,t.weakMap=new WeakMap;const n=(e,t)=>{let a=e.readUInt8(1);if(!(128&a))return 0===t?a:n(e.subarray(2+a),t-1);const i=127&a;a=0;for(let t=0;t<i;t++)a<<=8,a|=e.readUInt8(2+t);return 0===t?a:n(e.subarray(2+a),t-1)};t.setModulusLength=(e,n)=>{t.weakMap.set(e,n)},t.default=(e,a)=>{if((e=>{var a,i;if(t.weakMap.has(e))return t.weakMap.get(e);const r=null!==(i=null===(a=e.asymmetricKeyDetails)||void 0===a?void 0:a.modulusLength)&&void 0!==i?i:((e,t)=>{const a=e.readUInt8(1);if(!(128&a))return n(e.subarray(2),t);const i=127&a;return n(e.subarray(2+i),t)})(e.export({format:"der",type:"pkcs1"}),"private"===e.type?1:0)-1<<3;return t.weakMap.set(e,r),r})(e)<2048)throw new TypeError(`${a} requires key modulusLength to be 2048 bits or larger`)}},3022(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982);let i;t.default=e=>(i||(i=new Set((0,a.getCiphers)())),i.has(e))},4799(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(1146),r=n(2319),o=n(5821),s=n(6247),c=n(2167),p=n(4803),l=n(8993),u=n(2484),d=n(4512),m=n(8737),f=n(3022),h=n(740);t.default=(e,t,n,v,y,x)=>{let g;if((0,l.isCryptoKey)(t))(0,u.checkEncCryptoKey)(t,e,"decrypt"),g=a.KeyObject.from(t);else{if(!(t instanceof Uint8Array||(0,d.default)(t)))throw new TypeError((0,m.default)(t,...h.types,"Uint8Array"));g=t}switch((0,r.default)(e,g),(0,i.default)(e,v),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return function(e,t,n,i,r,l){const u=parseInt(e.slice(1,4),10);(0,d.default)(t)&&(t=t.export());const m=t.subarray(u>>3),h=t.subarray(0,u>>3),v=parseInt(e.slice(-3),10),y=`aes-${u}-cbc`;if(!(0,f.default)(y))throw new s.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const x=(0,p.default)(l,i,n,v,h,u);let g,b;try{g=(0,c.default)(r,x)}catch{}if(!g)throw new s.JWEDecryptionFailed;try{const e=(0,a.createDecipheriv)(y,m,i);b=(0,o.concat)(e.update(n),e.final())}catch{}if(!b)throw new s.JWEDecryptionFailed;return b}(e,g,n,v,y,x);case"A128GCM":case"A192GCM":case"A256GCM":return function(e,t,n,i,r,o){const c=`aes-${parseInt(e.slice(1,4),10)}-gcm`;if(!(0,f.default)(c))throw new s.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);try{const e=(0,a.createDecipheriv)(c,t,i,{authTagLength:16});e.setAuthTag(r),o.byteLength&&e.setAAD(o,{plaintextLength:n.length});const s=e.update(n);return e.final(),s}catch{throw new s.JWEDecryptionFailed}}(e,g,n,v,y,x);default:throw new s.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}}},6332(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982);t.default=(e,t)=>(0,a.createHash)(e).update(t).digest()},5945(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247);t.default=function(e){switch(e){case"PS256":case"RS256":case"ES256":case"ES256K":return"sha256";case"PS384":case"RS384":case"ES384":return"sha384";case"PS512":case"RS512":case"ES512":return"sha512";case"EdDSA":return;default:throw new a.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}},6112(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ecdhAllowed=t.generateEpk=t.deriveKey=void 0;const a=n(6982),i=n(9023),r=n(8960),o=n(5821),s=n(6247),c=n(8993),p=n(2484),l=n(4512),u=n(8737),d=n(740),m=(0,i.promisify)(a.generateKeyPair);t.deriveKey=async function(e,t,n,i,r=new Uint8Array(0),s=new Uint8Array(0)){let m,f;if((0,c.isCryptoKey)(e))(0,p.checkEncCryptoKey)(e,"ECDH"),m=a.KeyObject.from(e);else{if(!(0,l.default)(e))throw new TypeError((0,u.default)(e,...d.types));m=e}if((0,c.isCryptoKey)(t))(0,p.checkEncCryptoKey)(t,"ECDH","deriveBits"),f=a.KeyObject.from(t);else{if(!(0,l.default)(t))throw new TypeError((0,u.default)(t,...d.types));f=t}const h=(0,o.concat)((0,o.lengthAndInput)(o.encoder.encode(n)),(0,o.lengthAndInput)(r),(0,o.lengthAndInput)(s),(0,o.uint32be)(i)),v=(0,a.diffieHellman)({privateKey:f,publicKey:m});return(0,o.concatKdf)(v,i,h)},t.generateEpk=async function(e){let t;if((0,c.isCryptoKey)(e))t=a.KeyObject.from(e);else{if(!(0,l.default)(e))throw new TypeError((0,u.default)(e,...d.types));t=e}switch(t.asymmetricKeyType){case"x25519":return m("x25519");case"x448":return m("x448");case"ec":{const e=(0,r.default)(t);return m("ec",{namedCurve:e})}default:throw new s.JOSENotSupported("Invalid or unsupported EPK")}},t.ecdhAllowed=e=>["P-256","P-384","P-521","X25519","X448"].includes((0,r.default)(e))},2027(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(1146),r=n(2319),o=n(5821),s=n(4803),c=n(8993),p=n(2484),l=n(4512),u=n(8737),d=n(6247),m=n(3022),f=n(740);t.default=(e,t,n,h,v)=>{let y;if((0,c.isCryptoKey)(n))(0,p.checkEncCryptoKey)(n,e,"encrypt"),y=a.KeyObject.from(n);else{if(!(n instanceof Uint8Array||(0,l.default)(n)))throw new TypeError((0,u.default)(n,...f.types,"Uint8Array"));y=n}switch((0,r.default)(e,y),(0,i.default)(e,h),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return function(e,t,n,i,r){const c=parseInt(e.slice(1,4),10);(0,l.default)(n)&&(n=n.export());const p=n.subarray(c>>3),u=n.subarray(0,c>>3),f=`aes-${c}-cbc`;if(!(0,m.default)(f))throw new d.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const h=(0,a.createCipheriv)(f,p,i),v=(0,o.concat)(h.update(t),h.final()),y=parseInt(e.slice(-3),10);return{ciphertext:v,tag:(0,s.default)(r,i,v,y,u,c)}}(e,t,y,h,v);case"A128GCM":case"A192GCM":case"A256GCM":return function(e,t,n,i,r){const o=`aes-${parseInt(e.slice(1,4),10)}-gcm`;if(!(0,m.default)(o))throw new d.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const s=(0,a.createCipheriv)(o,n,i,{authTagLength:16});r.byteLength&&s.setAAD(r,{plaintextLength:t.length});const c=s.update(t);return s.final(),{ciphertext:c,tag:s.getAuthTag()}}(e,t,y,h,v);default:throw new d.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}}},8832(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(8611),i=n(5692),r=n(4434),o=n(6247),s=n(5821);t.default=async(e,t,n)=>{let c;switch(e.protocol){case"https:":c=i.get;break;case"http:":c=a.get;break;default:throw new TypeError("Unsupported URL protocol.")}const{agent:p,headers:l}=n,u=c(e.href,{agent:p,timeout:t,headers:l}),[d]=await Promise.race([(0,r.once)(u,"response"),(0,r.once)(u,"timeout")]);if(!d)throw u.destroy(),new o.JWKSTimeout;if(200!==d.statusCode)throw new o.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response");const m=[];for await(const e of d)m.push(e);try{return JSON.parse(s.decoder.decode((0,s.concat)(...m)))}catch{throw new o.JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON")}}},1185(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jwkImport=t.jwkExport=t.rsaPssParams=t.oneShotCallback=void 0;const[n,a]=process.versions.node.split(".").map(e=>parseInt(e,10));t.oneShotCallback=n>=16||15===n&&a>=13,t.rsaPssParams=!("electron"in process.versions)&&(n>=17||16===n&&a>=9),t.jwkExport=n>=16||15===n&&a>=9,t.jwkImport=n>=16||15===n&&a>=12},7975(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateKeyPair=t.generateSecret=void 0;const a=n(6982),i=n(9023),r=n(927),o=n(5363),s=n(6247),c=(0,i.promisify)(a.generateKeyPair);t.generateSecret=async function(e,t){let n;switch(e){case"HS256":case"HS384":case"HS512":case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":n=parseInt(e.slice(-3),10);break;case"A128KW":case"A192KW":case"A256KW":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":n=parseInt(e.slice(1,4),10);break;default:throw new s.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return(0,a.createSecretKey)((0,r.default)(new Uint8Array(n>>3)))},t.generateKeyPair=async function(e,t){var n,a;switch(e){case"RS256":case"RS384":case"RS512":case"PS256":case"PS384":case"PS512":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":case"RSA1_5":{const e=null!==(n=null==t?void 0:t.modulusLength)&&void 0!==n?n:2048;if("number"!=typeof e||e<2048)throw new s.JOSENotSupported("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");const a=await c("rsa",{modulusLength:e,publicExponent:65537});return(0,o.setModulusLength)(a.privateKey,e),(0,o.setModulusLength)(a.publicKey,e),a}case"ES256":return c("ec",{namedCurve:"P-256"});case"ES256K":return c("ec",{namedCurve:"secp256k1"});case"ES384":return c("ec",{namedCurve:"P-384"});case"ES512":return c("ec",{namedCurve:"P-521"});case"EdDSA":switch(null==t?void 0:t.crv){case void 0:case"Ed25519":return c("ed25519");case"Ed448":return c("ed448");default:throw new s.JOSENotSupported("Invalid or unsupported crv option provided, supported values are Ed25519 and Ed448")}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":const e=null!==(a=null==t?void 0:t.crv)&&void 0!==a?a:"P-256";switch(e){case void 0:case"P-256":case"P-384":case"P-521":return c("ec",{namedCurve:e});case"X25519":return c("x25519");case"X448":return c("x448");default:throw new s.JOSENotSupported("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}default:throw new s.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}}},8960(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCurve=t.weakMap=void 0;const a=n(181),i=n(6982),r=n(6247),o=n(8993),s=n(4512),c=n(8737),p=n(740),l=a.Buffer.from([42,134,72,206,61,3,1,7]),u=a.Buffer.from([43,129,4,0,34]),d=a.Buffer.from([43,129,4,0,35]),m=a.Buffer.from([43,129,4,0,10]);t.weakMap=new WeakMap;const f=(e,n)=>{var a;let h;if((0,o.isCryptoKey)(e))h=i.KeyObject.from(e);else{if(!(0,s.default)(e))throw new TypeError((0,c.default)(e,...p.types));h=e}if("secret"===h.type)throw new TypeError('only "private" or "public" type keys can be used for this operation');switch(h.asymmetricKeyType){case"ed25519":case"ed448":return`Ed${h.asymmetricKeyType.slice(2)}`;case"x25519":case"x448":return`X${h.asymmetricKeyType.slice(1)}`;case"ec":{if(t.weakMap.has(h))return t.weakMap.get(h);let e=null===(a=h.asymmetricKeyDetails)||void 0===a?void 0:a.namedCurve;if(e||"private"!==h.type){if(!e){const t=h.export({format:"der",type:"spki"}),n=t[1]<128?14:15,a=t[n],i=t.slice(n+1,n+1+a);if(i.equals(l))e="prime256v1";else if(i.equals(u))e="secp384r1";else if(i.equals(d))e="secp521r1";else{if(!i.equals(m))throw new r.JOSENotSupported("Unsupported key curve for this operation");e="secp256k1"}}}else e=f((0,i.createPublicKey)(h),!0);if(n)return e;const o=(e=>{switch(e){case"prime256v1":return"P-256";case"secp384r1":return"P-384";case"secp521r1":return"P-521";case"secp256k1":return"secp256k1";default:throw new r.JOSENotSupported("Unsupported key curve for this operation")}})(e);return t.weakMap.set(h,o),o}default:throw new TypeError("Invalid asymmetric key type for this operation")}};t.setCurve=function(e,n){t.weakMap.set(e,n)},t.default=f},5206(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(8993),r=n(2484),o=n(8737),s=n(740);t.default=function(e,t,n){if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError((0,o.default)(t,...s.types));return(0,a.createSecretKey)(t)}if(t instanceof a.KeyObject)return t;if((0,i.isCryptoKey)(t))return(0,r.checkSigCryptoKey)(t,e,n),a.KeyObject.from(t);throw new TypeError((0,o.default)(t,...s.types,"Uint8Array"))}},3254(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6247);t.default=function(e){switch(e){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new a.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}},740(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.types=void 0;const a=n(8993),i=n(4512);t.default=e=>(0,i.default)(e)||(0,a.isCryptoKey)(e);const r=["KeyObject"];t.types=r,(globalThis.CryptoKey||(null===a.default||void 0===a.default?void 0:a.default.CryptoKey))&&r.push("CryptoKey")},4512(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(9023);t.default=i.types.isKeyObject?e=>i.types.isKeyObject(e):e=>null!=e&&e instanceof a.KeyObject},4660(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(181),i=n(6982),r=n(82),o=n(6247),s=n(8960),c=n(5363),p=n(4138),l=n(1185);t.default=e=>{if(l.jwkImport&&"oct"!==e.kty)return e.d?(0,i.createPrivateKey)({format:"jwk",key:e}):(0,i.createPublicKey)({format:"jwk",key:e});switch(e.kty){case"oct":return(0,i.createSecretKey)((0,r.decode)(e.k));case"RSA":{const t=new p.default,n=void 0!==e.d,r=a.Buffer.from(e.n,"base64"),o=a.Buffer.from(e.e,"base64");n?(t.zero(),t.unsignedInteger(r),t.unsignedInteger(o),t.unsignedInteger(a.Buffer.from(e.d,"base64")),t.unsignedInteger(a.Buffer.from(e.p,"base64")),t.unsignedInteger(a.Buffer.from(e.q,"base64")),t.unsignedInteger(a.Buffer.from(e.dp,"base64")),t.unsignedInteger(a.Buffer.from(e.dq,"base64")),t.unsignedInteger(a.Buffer.from(e.qi,"base64"))):(t.unsignedInteger(r),t.unsignedInteger(o));const s={key:t.end(),format:"der",type:"pkcs1"},l=n?(0,i.createPrivateKey)(s):(0,i.createPublicKey)(s);return(0,c.setModulusLength)(l,r.length<<3),l}case"EC":{const t=new p.default,n=void 0!==e.d,r=a.Buffer.concat([a.Buffer.alloc(1,4),a.Buffer.from(e.x,"base64"),a.Buffer.from(e.y,"base64")]);if(n){t.zero();const n=new p.default;n.oidFor("ecPublicKey"),n.oidFor(e.crv),t.add(n.end());const o=new p.default;o.one(),o.octStr(a.Buffer.from(e.d,"base64"));const c=new p.default;c.bitStr(r);const l=c.end(a.Buffer.from([161]));o.add(l);const u=o.end(),d=new p.default;d.add(u);const m=d.end(a.Buffer.from([4]));t.add(m);const f=t.end(),h=(0,i.createPrivateKey)({key:f,format:"der",type:"pkcs8"});return(0,s.setCurve)(h,e.crv),h}const o=new p.default;o.oidFor("ecPublicKey"),o.oidFor(e.crv),t.add(o.end()),t.bitStr(r);const c=t.end(),l=(0,i.createPublicKey)({key:c,format:"der",type:"spki"});return(0,s.setCurve)(l,e.crv),l}case"OKP":{const t=new p.default;if(void 0!==e.d){t.zero();const n=new p.default;n.oidFor(e.crv),t.add(n.end());const r=new p.default;r.octStr(a.Buffer.from(e.d,"base64"));const o=r.end(a.Buffer.from([4]));t.add(o);const s=t.end();return(0,i.createPrivateKey)({key:s,format:"der",type:"pkcs8"})}const n=new p.default;n.oidFor(e.crv),t.add(n.end()),t.bitStr(a.Buffer.from(e.x,"base64"));const r=t.end();return(0,i.createPublicKey)({key:r,format:"der",type:"spki"})}default:throw new o.JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}}},9590(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(82),r=n(1326),o=n(6247),s=n(8960),c=n(8993),p=n(4512),l=n(8737),u=n(740),d=n(1185),m=e=>{let t;if((0,c.isCryptoKey)(e)){if(!e.extractable)throw new TypeError("CryptoKey is not extractable");t=a.KeyObject.from(e)}else{if(!(0,p.default)(e)){if(e instanceof Uint8Array)return{kty:"oct",k:(0,i.encode)(e)};throw new TypeError((0,l.default)(e,...u.types,"Uint8Array"))}t=e}if(d.jwkExport){if("secret"!==t.type&&!["rsa","ec","ed25519","x25519","ed448","x448"].includes(t.asymmetricKeyType))throw new o.JOSENotSupported("Unsupported key asymmetricKeyType");return t.export({format:"jwk"})}switch(t.type){case"secret":return{kty:"oct",k:(0,i.encode)(t.export())};case"private":case"public":switch(t.asymmetricKeyType){case"rsa":{const e=t.export({format:"der",type:"pkcs1"}),n=new r.default(e);"private"===t.type&&n.unsignedInteger();const a=(0,i.encode)(n.unsignedInteger()),o=(0,i.encode)(n.unsignedInteger());let s;return"private"===t.type&&(s={d:(0,i.encode)(n.unsignedInteger()),p:(0,i.encode)(n.unsignedInteger()),q:(0,i.encode)(n.unsignedInteger()),dp:(0,i.encode)(n.unsignedInteger()),dq:(0,i.encode)(n.unsignedInteger()),qi:(0,i.encode)(n.unsignedInteger())}),n.end(),{kty:"RSA",n:a,e:o,...s}}case"ec":{const e=(0,s.default)(t);let n,r,c;switch(e){case"secp256k1":n=64,r=33,c=-1;break;case"P-256":n=64,r=36,c=-1;break;case"P-384":n=96,r=35,c=-3;break;case"P-521":n=132,r=35,c=-3;break;default:throw new o.JOSENotSupported("Unsupported curve")}if("public"===t.type){const a=t.export({type:"spki",format:"der"});return{kty:"EC",crv:e,x:(0,i.encode)(a.subarray(-n,-n/2)),y:(0,i.encode)(a.subarray(-n/2))}}const p=t.export({type:"pkcs8",format:"der"});return p.length<100&&(r+=c),{...m((0,a.createPublicKey)(t)),d:(0,i.encode)(p.subarray(r,r+n/2))}}case"ed25519":case"x25519":{const e=(0,s.default)(t);if("public"===t.type){const n=t.export({type:"spki",format:"der"});return{kty:"OKP",crv:e,x:(0,i.encode)(n.subarray(-32))}}const n=t.export({type:"pkcs8",format:"der"});return{...m((0,a.createPublicKey)(t)),d:(0,i.encode)(n.subarray(-32))}}case"ed448":case"x448":{const e=(0,s.default)(t);if("public"===t.type){const n=t.export({type:"spki",format:"der"});return{kty:"OKP",crv:e,x:(0,i.encode)(n.subarray("Ed448"===e?-57:-56))}}const n=t.export({type:"pkcs8",format:"der"});return{...m((0,a.createPublicKey)(t)),d:(0,i.encode)(n.subarray("Ed448"===e?-57:-56))}}default:throw new o.JOSENotSupported("Unsupported key asymmetricKeyType")}default:throw new o.JOSENotSupported("Unsupported key type")}};t.default=m},7980(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(8960),r=n(6247),o=n(5363),s=n(1185),c={padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},p=new Map([["ES256","P-256"],["ES256K","secp256k1"],["ES384","P-384"],["ES512","P-521"]]);t.default=function(e,t){switch(e){case"EdDSA":if(!["ed25519","ed448"].includes(t.asymmetricKeyType))throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448");return t;case"RS256":case"RS384":case"RS512":if("rsa"!==t.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,o.default)(t,e),t;case s.rsaPssParams&&"PS256":case s.rsaPssParams&&"PS384":case s.rsaPssParams&&"PS512":if("rsa-pss"===t.asymmetricKeyType){const{hashAlgorithm:n,mgf1HashAlgorithm:a,saltLength:i}=t.asymmetricKeyDetails,r=parseInt(e.slice(-3),10);if(void 0!==n&&(n!==`sha${r}`||a!==n))throw new TypeError(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}`);if(void 0!==i&&i>r>>3)throw new TypeError(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}`)}else if("rsa"!==t.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss");return(0,o.default)(t,e),{key:t,...c};case!s.rsaPssParams&&"PS256":case!s.rsaPssParams&&"PS384":case!s.rsaPssParams&&"PS512":if("rsa"!==t.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,o.default)(t,e),{key:t,...c};case"ES256":case"ES256K":case"ES384":case"ES512":{if("ec"!==t.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be ec");const n=(0,i.default)(t),a=p.get(e);if(n!==a)throw new TypeError(`Invalid key curve for the algorithm, its curve must be ${a}, got ${n}`);return{dsaEncoding:"ieee-p1363",key:t}}default:throw new r.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}},5904(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;const a=n(9023),i=n(6982),r=n(927),o=n(5821),s=n(82),c=n(2395),p=n(8405),l=n(8993),u=n(2484),d=n(4512),m=n(8737),f=n(740),h=(0,a.promisify)(i.pbkdf2);function v(e,t){if((0,d.default)(e))return e.export();if(e instanceof Uint8Array)return e;if((0,l.isCryptoKey)(e))return(0,u.checkEncCryptoKey)(e,t,"deriveBits","deriveKey"),i.KeyObject.from(e).export();throw new TypeError((0,m.default)(e,...f.types,"Uint8Array"))}t.encrypt=async(e,t,n,a=2048,i=(0,r.default)(new Uint8Array(16)))=>{(0,p.default)(i);const l=(0,o.p2s)(e,i),u=parseInt(e.slice(13,16),10)>>3,d=v(t,e),m=await h(d,l,a,u,`sha${e.slice(8,11)}`);return{encryptedKey:await(0,c.wrap)(e.slice(-6),m,n),p2c:a,p2s:(0,s.encode)(i)}},t.decrypt=async(e,t,n,a,i)=>{(0,p.default)(i);const r=(0,o.p2s)(e,i),s=parseInt(e.slice(13,16),10)>>3,l=v(t,e),u=await h(l,r,a,s,`sha${e.slice(8,11)}`);return(0,c.unwrap)(e.slice(-6),u,n)}},927(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(6982);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.randomFillSync}})},3020(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;const a=n(6982),i=n(5363),r=n(8993),o=n(2484),s=n(4512),c=n(8737),p=n(740),l=(e,t)=>{if("rsa"!==e.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");(0,i.default)(e,t)},u=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return a.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return a.constants.RSA_PKCS1_PADDING;default:return}},d=e=>{switch(e){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return}};function m(e,t,...n){if((0,s.default)(e))return e;if((0,r.isCryptoKey)(e))return(0,o.checkEncCryptoKey)(e,t,...n),a.KeyObject.from(e);throw new TypeError((0,c.default)(e,...p.types))}t.encrypt=(e,t,n)=>{const i=u(e),r=d(e),o=m(t,e,"wrapKey","encrypt");return l(o,e),(0,a.publicEncrypt)({key:o,oaepHash:r,padding:i},n)},t.decrypt=(e,t,n)=>{const i=u(e),r=d(e),o=m(t,e,"unwrapKey","decrypt");return l(o,e),(0,a.privateDecrypt)({key:o,oaepHash:r,padding:i},n)}},9754(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="node:crypto"},7965(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(9023),r=n(5945),o=n(3254),s=n(7980),c=n(5206);let p;p=a.sign.length>3?(0,i.promisify)(a.sign):a.sign,t.default=async(e,t,n)=>{const i=(0,c.default)(e,t,"sign");if(e.startsWith("HS")){const t=a.createHmac((0,o.default)(e),i);return t.update(n),t.digest()}return p((0,r.default)(e),n,(0,s.default)(e,i))}},2167(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982).timingSafeEqual;t.default=a},3117(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(6982),i=n(9023),r=n(5945),o=n(7980),s=n(7965),c=n(5206),p=n(1185);let l;l=a.verify.length>4&&p.oneShotCallback?(0,i.promisify)(a.verify):a.verify,t.default=async(e,t,n,i)=>{const p=(0,c.default)(e,t,"verify");if(e.startsWith("HS")){const t=await(0,s.default)(e,p,i),r=n;try{return a.timingSafeEqual(r,t)}catch{return!1}}const u=(0,r.default)(e),d=(0,o.default)(e,p);try{return await l(u,i,d,n)}catch{return!1}}},8993(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCryptoKey=void 0;const a=n(6982),i=n(9023),r=a.webcrypto;t.default=r,t.isCryptoKey=i.types.isCryptoKey?e=>i.types.isCryptoKey(e):e=>!1},7609(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deflate=t.inflate=void 0;const a=n(9023),i=n(3106),r=n(6247),o=(0,a.promisify)(i.inflateRaw),s=(0,a.promisify)(i.deflateRaw);t.inflate=e=>o(e,{maxOutputLength:25e4}).catch(()=>{throw new r.JWEDecompressionFailed}),t.deflate=e=>s(e)},8462(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decode=t.encode=void 0;const a=n(82);t.encode=a.encode,t.decode=a.decode},8396(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeJwt=void 0;const a=n(8462),i=n(5821),r=n(1855),o=n(6247);t.decodeJwt=function(e){if("string"!=typeof e)throw new o.JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:n}=e.split(".");if(5===n)throw new o.JWTInvalid("Only JWTs using Compact JWS serialization can be decoded");if(3!==n)throw new o.JWTInvalid("Invalid JWT");if(!t)throw new o.JWTInvalid("JWTs must contain a payload");let s,c;try{s=(0,a.decode)(t)}catch{throw new o.JWTInvalid("Failed to base64url decode the payload")}try{c=JSON.parse(i.decoder.decode(s))}catch{throw new o.JWTInvalid("Failed to parse the decoded payload as JSON")}if(!(0,r.default)(c))throw new o.JWTInvalid("Invalid JWT Claims Set");return c}},4443(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeProtectedHeader=void 0;const a=n(8462),i=n(5821),r=n(1855);t.decodeProtectedHeader=function(e){let t;if("string"==typeof e){const n=e.split(".");3!==n.length&&5!==n.length||([t]=n)}else if("object"==typeof e&&e){if(!("protected"in e))throw new TypeError("Token does not contain a Protected Header");t=e.protected}try{if("string"!=typeof t||!t)throw new Error;const e=JSON.parse(i.decoder.decode((0,a.decode)(t)));if(!(0,r.default)(e))throw new Error;return e}catch{throw new TypeError("Invalid Token or Protected Header formatting")}}},6247(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWSSignatureVerificationFailed=t.JWKSTimeout=t.JWKSMultipleMatchingKeys=t.JWKSNoMatchingKey=t.JWKSInvalid=t.JWKInvalid=t.JWTInvalid=t.JWSInvalid=t.JWEInvalid=t.JWEDecompressionFailed=t.JWEDecryptionFailed=t.JOSENotSupported=t.JOSEAlgNotAllowed=t.JWTExpired=t.JWTClaimValidationFailed=t.JOSEError=void 0;class n extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(e){var t;super(e),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,null===(t=Error.captureStackTrace)||void 0===t||t.call(Error,this,this.constructor)}}t.JOSEError=n,t.JWTClaimValidationFailed=class extends n{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(e,t="unspecified",n="unspecified"){super(e),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=t,this.reason=n}},t.JWTExpired=class extends n{static get code(){return"ERR_JWT_EXPIRED"}constructor(e,t="unspecified",n="unspecified"){super(e),this.code="ERR_JWT_EXPIRED",this.claim=t,this.reason=n}},t.JOSEAlgNotAllowed=class extends n{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}},t.JOSENotSupported=class extends n{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}},t.JWEDecryptionFailed=class extends n{constructor(){super(...arguments),this.code="ERR_JWE_DECRYPTION_FAILED",this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}},t.JWEDecompressionFailed=class extends n{constructor(){super(...arguments),this.code="ERR_JWE_DECOMPRESSION_FAILED",this.message="decompression operation failed"}static get code(){return"ERR_JWE_DECOMPRESSION_FAILED"}},t.JWEInvalid=class extends n{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}},t.JWSInvalid=class extends n{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}},t.JWTInvalid=class extends n{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}},t.JWKInvalid=class extends n{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}},t.JWKSInvalid=class extends n{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}},t.JWKSNoMatchingKey=class extends n{constructor(){super(...arguments),this.code="ERR_JWKS_NO_MATCHING_KEY",this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}},t.JWKSMultipleMatchingKeys=class extends n{constructor(){super(...arguments),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS",this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}},Symbol.asyncIterator,t.JWKSTimeout=class extends n{constructor(){super(...arguments),this.code="ERR_JWKS_TIMEOUT",this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}},t.JWSSignatureVerificationFailed=class extends n{constructor(){super(...arguments),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}},4166(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=n(9754);t.default=a.default},7260(e,t,n){var a=n(5747);e.exports=function(e,t){t=t||{};var n=a.decode(e,t);if(!n)return null;var i=n.payload;if("string"==typeof i)try{var r=JSON.parse(i);null!==r&&"object"==typeof r&&(i=r)}catch(e){}return!0===t.complete?{header:n.header,payload:i,signature:n.signature}:i}},4040(e,t,n){e.exports={decode:n(7260),verify:n(1691),sign:n(7651),JsonWebTokenError:n(1741),NotBeforeError:n(3726),TokenExpiredError:n(8980)}},1741(e){var t=function(e,t){Error.call(this,e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=e,t&&(this.inner=t)};(t.prototype=Object.create(Error.prototype)).constructor=t,e.exports=t},3726(e,t,n){var a=n(1741),i=function(e,t){a.call(this,e),this.name="NotBeforeError",this.date=t};(i.prototype=Object.create(a.prototype)).constructor=i,e.exports=i},8980(e,t,n){var a=n(1741),i=function(e,t){a.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};(i.prototype=Object.create(a.prototype)).constructor=i,e.exports=i},1977(e,t,n){const a=n(9589);e.exports=a.satisfies(process.version,">=15.7.0")},4977(e,t,n){var a=n(9589);e.exports=a.satisfies(process.version,"^6.12.0 || >=8.0.0")},4623(e,t,n){const a=n(9589);e.exports=a.satisfies(process.version,">=16.9.0")},855(e,t,n){var a=n(6585);e.exports=function(e,t){var n=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var i=a(e);if(void 0===i)return;return Math.floor(n+i/1e3)}return"number"==typeof e?n+e:void 0}},7019(e,t,n){const a=n(1977),i=n(4623),r={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},o={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};e.exports=function(e,t){if(!e||!t)return;const n=t.asymmetricKeyType;if(!n)return;const s=r[n];if(!s)throw new Error(`Unknown key type "${n}".`);if(!s.includes(e))throw new Error(`"alg" parameter for "${n}" key type must be one of: ${s.join(", ")}.`);if(a)switch(n){case"ec":const n=t.asymmetricKeyDetails.namedCurve,a=o[e];if(n!==a)throw new Error(`"alg" parameter "${e}" requires curve "${a}".`);break;case"rsa-pss":if(i){const n=parseInt(e.slice(-3),10),{hashAlgorithm:a,mgf1HashAlgorithm:i,saltLength:r}=t.asymmetricKeyDetails;if(a!==`sha${n}`||i!==a)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==r&&r>n>>3)throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${e}.`)}}}},7651(e,t,n){const a=n(855),i=n(4977),r=n(7019),o=n(5747),s=n(6111),c=n(7914),p=n(8928),l=n(3639),u=n(9001),d=n(5931),m=n(7083),{KeyObject:f,createSecretKey:h,createPrivateKey:v}=n(6982),y=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&y.splice(3,0,"PS256","PS384","PS512");const x={expiresIn:{isValid:function(e){return p(e)||d(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return p(e)||d(e)&&e},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(e){return d(e)||Array.isArray(e)},message:'"audience" must be a string or array'},algorithm:{isValid:s.bind(null,y),message:'"algorithm" must be a valid string enum value'},header:{isValid:u,message:'"header" must be an object'},encoding:{isValid:d,message:'"encoding" must be a string'},issuer:{isValid:d,message:'"issuer" must be a string'},subject:{isValid:d,message:'"subject" must be a string'},jwtid:{isValid:d,message:'"jwtid" must be a string'},noTimestamp:{isValid:c,message:'"noTimestamp" must be a boolean'},keyid:{isValid:d,message:'"keyid" must be a string'},mutatePayload:{isValid:c,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:c,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:c,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},g={iat:{isValid:l,message:'"iat" should be a number of seconds'},exp:{isValid:l,message:'"exp" should be a number of seconds'},nbf:{isValid:l,message:'"nbf" should be a number of seconds'}};function b(e,t,n,a){if(!u(n))throw new Error('Expected "'+a+'" to be a plain object.');Object.keys(n).forEach(function(i){const r=e[i];if(r){if(!r.isValid(n[i]))throw new Error(r.message)}else if(!t)throw new Error('"'+i+'" is not allowed in "'+a+'"')})}const w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},E=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];e.exports=function(e,t,n,i){"function"==typeof n?(i=n,n={}):n=n||{};const s="object"==typeof e&&!Buffer.isBuffer(e),c=Object.assign({alg:n.algorithm||"HS256",typ:s?"JWT":void 0,kid:n.keyid},n.header);function p(e){if(i)return i(e);throw e}if(!t&&"none"!==n.algorithm)return p(new Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof f))try{t=v(t)}catch(e){try{t=h("string"==typeof t?Buffer.from(t):t)}catch(e){return p(new Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return p(new Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return p(new Error(`secretOrPrivateKey must be an asymmetric key when using ${c.alg}`));if(!n.allowInsecureKeySizes&&!c.alg.startsWith("ES")&&void 0!==t.asymmetricKeyDetails&&t.asymmetricKeyDetails.modulusLength<2048)return p(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return p(new Error("payload is required"));if(s){try{!function(e){b(g,!0,e,"payload")}(e)}catch(e){return p(e)}n.mutatePayload||(e=Object.assign({},e))}else{const t=E.filter(function(e){return void 0!==n[e]});if(t.length>0)return p(new Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==n.expiresIn)return p(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==n.notBefore)return p(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(e){b(x,!1,e,"options")}(n)}catch(e){return p(e)}if(!n.allowInvalidAsymmetricKeyTypes)try{r(c.alg,t)}catch(e){return p(e)}const l=e.iat||Math.floor(Date.now()/1e3);if(n.noTimestamp?delete e.iat:s&&(e.iat=l),void 0!==n.notBefore){try{e.nbf=a(n.notBefore,l)}catch(e){return p(e)}if(void 0===e.nbf)return p(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(void 0!==n.expiresIn&&"object"==typeof e){try{e.exp=a(n.expiresIn,l)}catch(e){return p(e)}if(void 0===e.exp)return p(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(w).forEach(function(t){const a=w[t];if(void 0!==n[t]){if(void 0!==e[a])return p(new Error('Bad "options.'+t+'" option. The payload already has an "'+a+'" property.'));e[a]=n[t]}});const u=n.encoding||"utf8";if("function"!=typeof i){let a=o.sign({header:c,payload:e,secret:t,encoding:u});if(!n.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&a.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return a}i=i&&m(i),o.createSign({header:c,privateKey:t,payload:e,encoding:u}).once("error",i).once("done",function(e){if(!n.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&e.length<256)return i(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`));i(null,e)})}},1691(e,t,n){const a=n(1741),i=n(3726),r=n(8980),o=n(7260),s=n(855),c=n(7019),p=n(4977),l=n(5747),{KeyObject:u,createSecretKey:d,createPublicKey:m}=n(6982),f=["RS256","RS384","RS512"],h=["ES256","ES384","ES512"],v=["RS256","RS384","RS512"],y=["HS256","HS384","HS512"];p&&(f.splice(f.length,0,"PS256","PS384","PS512"),v.splice(v.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,n,p){let x;if("function"!=typeof n||p||(p=n,n={}),n||(n={}),n=Object.assign({},n),x=p||function(e,t){if(e)throw e;return t},n.clockTimestamp&&"number"!=typeof n.clockTimestamp)return x(new a("clockTimestamp must be a number"));if(void 0!==n.nonce&&("string"!=typeof n.nonce||""===n.nonce.trim()))return x(new a("nonce must be a non-empty string"));if(void 0!==n.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof n.allowInvalidAsymmetricKeyTypes)return x(new a("allowInvalidAsymmetricKeyTypes must be a boolean"));const g=n.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return x(new a("jwt must be provided"));if("string"!=typeof e)return x(new a("jwt must be a string"));const b=e.split(".");if(3!==b.length)return x(new a("jwt malformed"));let w;try{w=o(e,{complete:!0})}catch(e){return x(e)}if(!w)return x(new a("invalid token"));const E=w.header;let S;if("function"==typeof t){if(!p)return x(new a("verify must be called asynchronous if secret or public key is provided as a callback"));S=t}else S=function(e,n){return n(null,t)};return S(E,function(t,o){if(t)return x(new a("error in secret or public key callback: "+t.message));const p=""!==b[2].trim();if(!p&&o)return x(new a("jwt signature is required"));if(p&&!o)return x(new a("secret or public key must be provided"));if(!p&&!n.algorithms)return x(new a('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=o&&!(o instanceof u))try{o=m(o)}catch(e){try{o=d("string"==typeof o?Buffer.from(o):o)}catch(e){return x(new a("secretOrPublicKey is not valid key material"))}}if(n.algorithms||("secret"===o.type?n.algorithms=y:["rsa","rsa-pss"].includes(o.asymmetricKeyType)?n.algorithms=v:"ec"===o.asymmetricKeyType?n.algorithms=h:n.algorithms=f),-1===n.algorithms.indexOf(w.header.alg))return x(new a("invalid algorithm"));if(E.alg.startsWith("HS")&&"secret"!==o.type)return x(new a(`secretOrPublicKey must be a symmetric key when using ${E.alg}`));if(/^(?:RS|PS|ES)/.test(E.alg)&&"public"!==o.type)return x(new a(`secretOrPublicKey must be an asymmetric key when using ${E.alg}`));if(!n.allowInvalidAsymmetricKeyTypes)try{c(E.alg,o)}catch(e){return x(e)}let S;try{S=l.verify(e,w.header.alg,o)}catch(e){return x(e)}if(!S)return x(new a("invalid signature"));const _=w.payload;if(void 0!==_.nbf&&!n.ignoreNotBefore){if("number"!=typeof _.nbf)return x(new a("invalid nbf value"));if(_.nbf>g+(n.clockTolerance||0))return x(new i("jwt not active",new Date(1e3*_.nbf)))}if(void 0!==_.exp&&!n.ignoreExpiration){if("number"!=typeof _.exp)return x(new a("invalid exp value"));if(g>=_.exp+(n.clockTolerance||0))return x(new r("jwt expired",new Date(1e3*_.exp)))}if(n.audience){const e=Array.isArray(n.audience)?n.audience:[n.audience];if(!(Array.isArray(_.aud)?_.aud:[_.aud]).some(function(t){return e.some(function(e){return e instanceof RegExp?e.test(t):e===t})}))return x(new a("jwt audience invalid. expected: "+e.join(" or ")))}if(n.issuer&&("string"==typeof n.issuer&&_.iss!==n.issuer||Array.isArray(n.issuer)&&-1===n.issuer.indexOf(_.iss)))return x(new a("jwt issuer invalid. expected: "+n.issuer));if(n.subject&&_.sub!==n.subject)return x(new a("jwt subject invalid. expected: "+n.subject));if(n.jwtid&&_.jti!==n.jwtid)return x(new a("jwt jwtid invalid. expected: "+n.jwtid));if(n.nonce&&_.nonce!==n.nonce)return x(new a("jwt nonce invalid. expected: "+n.nonce));if(n.maxAge){if("number"!=typeof _.iat)return x(new a("iat required when maxAge is specified"));const e=s(n.maxAge,_.iat);if(void 0===e)return x(new a('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(g>=e+(n.clockTolerance||0))return x(new r("maxAge exceeded",new Date(1e3*e)))}if(!0===n.complete){const e=w.signature;return x(null,{header:E,payload:_,signature:e})}return x(null,_)})}},8789(e,t,n){var a,i=n(2861).Buffer,r=n(6982),o=n(2010),s=n(9023),c="secret must be a string or buffer",p="key must be a string or a buffer",l="function"==typeof r.createPublicKey;function u(e){if(!i.isBuffer(e)&&"string"!=typeof e){if(!l)throw h(p);if("object"!=typeof e)throw h(p);if("string"!=typeof e.type)throw h(p);if("string"!=typeof e.asymmetricKeyType)throw h(p);if("function"!=typeof e.export)throw h(p)}}function d(e){if(!i.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw h("key must be a string, a buffer or an object")}function m(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function f(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var n=0;n<t;++n)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function h(e){var t=[].slice.call(arguments,1),n=s.format.bind(s,e).apply(null,t);return new TypeError(n)}function v(e){var t;return t=e,i.isBuffer(t)||"string"==typeof t||(e=JSON.stringify(e)),e}function y(e){return function(t,n){!function(e){if(!i.isBuffer(e)){if("string"==typeof e)return e;if(!l)throw h(c);if("object"!=typeof e)throw h(c);if("secret"!==e.type)throw h(c);if("function"!=typeof e.export)throw h(c)}}(n),t=v(t);var a=r.createHmac("sha"+e,n);return m((a.update(t),a.digest("base64")))}}l&&(p+=" or a KeyObject",c+="or a KeyObject");var x="timingSafeEqual"in r?function(e,t){return e.byteLength===t.byteLength&&r.timingSafeEqual(e,t)}:function(e,t){return a||(a=n(1045)),a(e,t)};function g(e){return function(t,n,a){var r=y(e)(t,a);return x(i.from(n),i.from(r))}}function b(e){return function(t,n){d(n),t=v(t);var a=r.createSign("RSA-SHA"+e);return m((a.update(t),a.sign(n,"base64")))}}function w(e){return function(t,n,a){u(a),t=v(t),n=f(n);var i=r.createVerify("RSA-SHA"+e);return i.update(t),i.verify(a,n,"base64")}}function E(e){return function(t,n){d(n),t=v(t);var a=r.createSign("RSA-SHA"+e);return m((a.update(t),a.sign({key:n,padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function S(e){return function(t,n,a){u(a),t=v(t),n=f(n);var i=r.createVerify("RSA-SHA"+e);return i.update(t),i.verify({key:a,padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function _(e){var t=b(e);return function(){var n=t.apply(null,arguments);return o.derToJose(n,"ES"+e)}}function k(e){var t=w(e);return function(n,a,i){return a=o.joseToDer(a,"ES"+e).toString("base64"),t(n,a,i)}}function A(){return function(){return""}}function O(){return function(e,t){return""===t}}e.exports=function(e){var t={hs:y,rs:b,ps:E,es:_,none:A},n={hs:g,rs:w,ps:S,es:k,none:O},a=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!a)throw h('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',e);var i=(a[1]||a[3]).toLowerCase(),r=a[2];return{sign:t[i](r),verify:n[i](r)}}},3110(e,t,n){const a=n(5753)("jwks"),{retrieveSigningKeys:i}=n(4263),{request:r,cacheSigningKey:o,rateLimitSigningKey:s,getKeysInterceptor:c,callbackSupport:p}=n(3171),l=n(1161),u=n(2813);e.exports={JwksClient:class{constructor(e){this.options={rateLimit:!1,cache:!0,timeout:3e4,...e},this.options.getKeysInterceptor&&(this.getSigningKey=c(this,e)),this.options.rateLimit&&(this.getSigningKey=s(this,e)),this.options.cache&&(this.getSigningKey=o(this,e)),this.getSigningKey=p(this,e)}async getKeys(){a(`Fetching keys from '${this.options.jwksUri}'`);try{const e=await r({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return a("Keys:",e.keys),e.keys}catch(e){const{errorMsg:t}=e;throw a("Failure:",t||e),t?new l(t):e}}async getSigningKeys(){const e=await this.getKeys();if(!e||!e.length)throw new l("The JWKS endpoint did not contain any keys");const t=await i(e);if(!t.length)throw new l("The JWKS endpoint did not contain any signing keys");return a("Signing Keys:",t),t}async getSigningKey(e){a(`Fetching signing key for '${e}'`);const t=await this.getSigningKeys(),n=null!=e;if(!n&&t.length>1)throw a("No KID specified and JWKS endpoint returned more than 1 key"),new u("No KID specified and JWKS endpoint returned more than 1 key");const i=t.find(t=>!n||t.kid===e);if(i)return i;throw a(`Unable to find a signing key that matches '${e}'`),new u(`Unable to find a signing key that matches '${e}'`)}}}},947(e){function t(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=e}t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},1161(e){function t(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=e}t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},9950(e){function t(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=e}t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},2813(e){function t(e){Error.call(this,e),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=e}t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,e.exports=t},3780(e,t,n){e.exports={ArgumentError:n(947),JwksError:n(1161),JwksRateLimitError:n(9950),SigningKeyNotFoundError:n(2813)}},4601(e,t,n){const{JwksClient:a}=n(3110),i=n(3780),{hapiJwt2Key:r,hapiJwt2KeyAsync:o}=n(4698),{expressJwtSecret:s}=n(5064),{koaJwtSecret:c}=n(7897),{passportJwtSecret:p}=n(4388);e.exports=e=>new a(e),e.exports.JwksClient=a,e.exports.ArgumentError=i.ArgumentError,e.exports.JwksError=i.JwksError,e.exports.JwksRateLimitError=i.JwksRateLimitError,e.exports.SigningKeyNotFoundError=i.SigningKeyNotFoundError,e.exports.expressJwtSecret=s,e.exports.hapiJwt2Key=r,e.exports.hapiJwt2KeyAsync=o,e.exports.koaJwtSecret=c,e.exports.passportJwtSecret=p},3552(e){e.exports=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES256K","ES384","ES512","EdDSA"]},5064(e,t,n){const{ArgumentError:a}=n(3780),{JwksClient:i}=n(3110),r=n(3552),o=(e,t)=>e&&"SigningKeyNotFoundError"===e.name?t(null):e?t(e):void 0;e.exports.expressJwtSecret=function(e){if(null==e)throw new a("An options object must be provided when initializing expressJwtSecret");const t=new i(e),n=e.handleSigningKeyError||o,s=async(e,a)=>{if(!a)return;const i=a.header;if(i&&r.includes(i.alg))try{const e=await t.getSigningKey(i.kid);return e.publicKey||e.rsaPublicKey}catch(e){return new Promise((t,a)=>{n(e,e=>{if(!e)return t();a(e)})})}};return function(e,t,n,a){if(4!==arguments.length)return s(0,arguments[1]);s(0,{header:t}).then(e=>{setImmediate(a,null,e)}).catch(e=>{setImmediate(a,e)})}}},4698(e,t,n){const{ArgumentError:a}=n(3780),{JwksClient:i}=n(3110),r=n(3552),o=(e,t)=>e&&"SigningKeyNotFoundError"===e.name||e?t(e,null,null):void 0;e.exports.hapiJwt2KeyAsync=t=>{const n=e.exports.hapiJwt2Key(t);return function(e){return new Promise((t,a)=>{n(e,(e,n)=>{!n||e?a(e):t({key:n})})})}},e.exports.hapiJwt2Key=function(e){if(null==e)throw new a("An options object must be provided when initializing hapiJwt2Key");const t=new i(e),n=e.handleSigningKeyError||o;return function(e,a){return e&&e.header?r.includes(e.header.alg)?void t.getSigningKey(e.header.kid).then(e=>a(null,e.publicKey||e.rsaPublicKey,e)).catch(e=>n(e,e=>a(e,null,null))):a(new Error("Unsupported algorithm "+e.header.alg+" supplied."),null,null):a(new Error("Cannot find a signing certificate if there is no header"),null,null)}}},7897(e,t,n){const{ArgumentError:a}=n(3780),{JwksClient:i}=n(3110),r=n(3552);e.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new a("No JWKS provided. Please provide a jwksUri");const t=new i(e);return function({alg:n,kid:a}={}){return new Promise((i,o)=>{if(!r.includes(n))return o(new Error("Missing / invalid token algorithm"));t.getSigningKey(a).then(e=>{i(e.publicKey||e.rsaPublicKey)}).catch(t=>e.handleSigningKeyError?e.handleSigningKeyError(t).then(o):o(t))})}}},4388(e,t,n){const a=n(257),{ArgumentError:i}=n(3780),{JwksClient:r}=n(3110),o=n(3552),s=(e,t)=>e&&"SigningKeyNotFoundError"===e.name?t(null):e?t(e):void 0;e.exports.passportJwtSecret=function(e){if(null==e)throw new i("An options object must be provided when initializing passportJwtSecret");if(!e.jwksUri)throw new i("No JWKS provided. Please provide a jwksUri");const t=new r(e),n=e.handleSigningKeyError||s;return function(e,i,r){let s;try{s={payload:a.decodeJwt(i),header:a.decodeProtectedHeader(i)}}catch(e){s=null}if(!s||!o.includes(s.header.alg))return r(null,null);t.getSigningKey(s.header.kid).then(e=>{r(null,e.publicKey||e.rsaPublicKey)}).catch(e=>{n(e,e=>r(e,null))})}}},4263(e,t,n){const a=n(257),i=n(1161);function r(e){if(e.alg)return e.alg;if("RSA"===e.kty)return"RS256";if("EC"===e.kty)switch(e.crv){case"P-256":return"ES256";case"secp256k1":return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}if("OKP"===e.kty)switch(e.crv){case"Ed25519":case"Ed448":return"EdDSA"}throw new i("Unsupported JWK")}e.exports={retrieveSigningKeys:async function(e){const t=[];e=e.filter(({use:e})=>"sig"===e||void 0===e).filter(({kty:e})=>"RSA"===e||"EC"===e||"OKP"===e);for(const n of e)try{const e=await a.importJWK({...n,ext:!0},r(n));if("public"!==e.type)continue;let i;switch(e[Symbol.toStringTag]){case"CryptoKey":{const t=await a.exportSPKI(e);i=()=>t;break}default:i=()=>e.export({format:"pem",type:"spki"})}t.push({get publicKey(){return i()},get rsaPublicKey(){return i()},getPublicKey:()=>i(),..."string"==typeof n.kid&&n.kid?{kid:n.kid}:void 0,..."string"==typeof n.alg&&n.alg?{alg:n.alg}:void 0})}catch(e){continue}return t}}},1389(e,t,n){const a=n(5753)("jwks"),i=n(8639),{promisify:r,callbackify:o}=n(9023);e.exports.A=function(e,{cacheMaxEntries:t=5,cacheMaxAge:n=6e5}){return a(`Configured caching of signing keys. Max: ${t} / Age: ${n}`),r(i({hash:e=>e,load:o(e.getSigningKey.bind(e)),maxAge:n,max:t}))}},6545(e,t,n){const{callbackify:a}=n(9023);e.exports.A=e=>{const t=e.getSigningKey.bind(e);return(e,n)=>n?a(t)(e,n):t(e)}},3171(e,t,n){e.exports={request:n(3858).A,cacheSigningKey:n(1389).A,rateLimitSigningKey:n(8730).A,getKeysInterceptor:n(2912).A,callbackSupport:n(6545).A}},2912(e,t,n){const a=n(4263).retrieveSigningKeys;e.exports.A=function(e,{getKeysInterceptor:t}){const n=e.getSigningKey.bind(e);return async e=>{const i=await t();let r;if(i&&i.length&&(r=await a(i)),r&&r.length){const t=r.find(t=>!e||t.kid===e);if(t)return t}return n(e)}}},8730(e,t,n){const a=n(5753)("jwks"),{RateLimiter:i}=n(9439),r=n(9950);e.exports.A=function(e,{jwksRequestsPerMinute:t=10}){const n=e.getSigningKey.bind(e),o=new i(t,"minute",!0);return a(`Configured rate limiting to JWKS endpoint at ${t}/minute`),async e=>await new Promise((t,i)=>{o.removeTokens(1,async(o,s)=>{if(o&&i(o),a("Requests to the JWKS endpoint available for the next minute:",s),s<0)a("Too many requests to the JWKS endpoint"),i(new r("Too many requests to the JWKS endpoint"));else try{const a=await n(e);t(a)}catch(e){i(e)}})})}},3858(e,t,n){const a=n(8611),i=n(5692),r=n(947);e.exports.A=e=>e.fetcher?e.fetcher(e.uri):new Promise((t,n)=>{let o;try{o=new URL(e.uri)}catch(e){throw new r("Invalid JWKS URI: The provided URI is not a valid URL.")}const{hostname:s,port:c,protocol:p,pathname:l,search:u}=o,d={hostname:s,path:l+u,port:c,method:"GET",...e.headers&&{headers:{...e.headers}},...e.timeout&&{timeout:e.timeout},...e.agent&&{agent:e.agent}},m=("https:"===p?i:a).request(d,e=>{let a="";e.setEncoding("utf8"),e.on("data",e=>{a+=e}),e.on("end",()=>{if(e.statusCode<200||e.statusCode>=300){const t=e.body&&(e.body.message||e.body)||e.statusMessage||`Http Error ${e.statusCode}`;n({errorMsg:t})}else try{t(a&&JSON.parse(a))}catch(e){n(e)}})});m.on("timeout",()=>m.destroy()).on("error",e=>n(e)).end()})},5747(e,t,n){var a=n(3387),i=n(7599);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=a.sign,t.verify=i.verify,t.decode=i.decode,t.isValid=i.isValid,t.createSign=function(e){return new a(e)},t.createVerify=function(e){return new i(e)}},8948(e,t,n){var a=n(2861).Buffer,i=n(2203);function r(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=a.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=a.alloc(0),e.pipe(this),this;if(e.length||"object"==typeof e)return this.buffer=e,this.writable=!1,process.nextTick(function(){this.emit("end",e),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof e+")")}n(9023).inherits(r,i),r.prototype.write=function(e){this.buffer=a.concat([this.buffer,a.from(e)]),this.emit("data",e)},r.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=r},3387(e,t,n){var a=n(2861).Buffer,i=n(8948),r=n(8789),o=n(2203),s=n(2851),c=n(9023);function p(e,t){return a.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(e){var t=e.header,n=e.payload,a=e.secret||e.privateKey,i=e.encoding,o=r(t.alg),l=function(e,t,n){n=n||"utf8";var a=p(s(e),"binary"),i=p(s(t),n);return c.format("%s.%s",a,i)}(t,n,i),u=o.sign(l,a);return c.format("%s.%s",l,u)}function u(e){var t=e.secret;if(t=null==(t=null==t?e.privateKey:t)?e.key:t,!0===/^hs/i.test(e.header.alg)&&null==t)throw new TypeError("secret must be a string or buffer or a KeyObject");var n=new i(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=n,this.payload=new i(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(u,o),u.prototype.sign=function(){try{var e=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},u.sign=l,e.exports=u},2851(e,t,n){var a=n(181).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||a.isBuffer(e)?e.toString():JSON.stringify(e)}},7599(e,t,n){var a=n(2861).Buffer,i=n(8948),r=n(8789),o=n(2203),s=n(2851),c=n(9023),p=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(e){var t=e.split(".",1)[0];return function(e){if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))return e;try{return JSON.parse(e)}catch(e){return}}(a.from(t,"base64").toString("binary"))}function u(e){return e.split(".")[2]}function d(e){return p.test(e)&&!!l(e)}function m(e,t,n){if(!t){var a=new Error("Missing algorithm parameter for jws.verify");throw a.code="MISSING_ALGORITHM",a}var i=u(e=s(e)),o=function(e){return e.split(".",2).join(".")}(e);return r(t).verify(o,i,n)}function f(e,t){if(t=t||{},!d(e=s(e)))return null;var n=l(e);if(!n)return null;var i=function(e,t){t=t||"utf8";var n=e.split(".")[1];return a.from(n,"base64").toString(t)}(e);return("JWT"===n.typ||t.json)&&(i=JSON.parse(i,t.encoding)),{header:n,payload:i,signature:u(e)}}function h(e){var t=(e=e||{}).secret;if(t=null==(t=null==t?e.publicKey:t)?e.key:t,!0===/^hs/i.test(e.algorithm)&&null==t)throw new TypeError("secret must be a string or buffer or a KeyObject");var n=new i(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=n,this.signature=new i(e.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}c.inherits(h,o),h.prototype.verify=function(){try{var e=m(this.signature.buffer,this.algorithm,this.key.buffer),t=f(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},h.decode=f,h.isValid=d,h.verify=m,e.exports=h},9439(e,t,n){t.RateLimiter=n(3065),t.TokenBucket=n(5472)},3085(e){e.exports=function(){if("undefined"!=typeof process&&process.hrtime){var e=process.hrtime(),t=e[0],n=e[1];return 1e3*t+Math.floor(n/1e6)}return(new Date).getTime()}},3065(e,t,n){var a=n(5472),i=n(3085),r=function(e,t,n){this.tokenBucket=new a(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=i(),this.tokensThisInterval=0,this.fireImmediately=n};r.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(e,t){if(e>this.tokenBucket.bucketSize)return process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var n=this,a=i();if((a<this.curIntervalStart||a-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=a,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(t.bind(null,null,-1));else{var r=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-a);setTimeout(function(){n.tokenBucket.removeTokens(e,o)},r)}return!1}return this.tokenBucket.removeTokens(e,o);function o(a,i){if(a)return t(a,null);n.tokensThisInterval+=e,t(null,i)}},tryRemoveTokens:function(e){if(e>this.tokenBucket.bucketSize)return!1;var t=i();if((t<this.curIntervalStart||t-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=t,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var n=this.tokenBucket.tryRemoveTokens(e);return n&&(this.tokensThisInterval+=e),n},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}},e.exports=r},5472(e){var t=function(e,t,n,a){if(this.bucketSize=e,this.tokensPerInterval=t,"string"==typeof n)switch(n){case"sec":case"second":this.interval=1e3;break;case"min":case"minute":this.interval=6e4;break;case"hr":case"hour":this.interval=36e5;break;case"day":this.interval=864e5;break;default:throw new Error("Invaid interval "+n)}else this.interval=n;this.parentBucket=a,this.content=0,this.lastDrip=+new Date};t.prototype={bucketSize:1,tokensPerInterval:1,interval:1e3,parentBucket:null,content:0,lastDrip:0,removeTokens:function(e,t){var n=this;return this.bucketSize?e>this.bucketSize?(process.nextTick(t.bind(null,"Requested tokens "+e+" exceeds bucket size "+this.bucketSize,null)),!1):(this.drip(),e>this.content?a():this.parentBucket?this.parentBucket.removeTokens(e,function(i,r){return i?t(i,null):e>n.content?a():(n.content-=e,void t(null,Math.min(r,n.content)))}):(this.content-=e,process.nextTick(t.bind(null,null,this.content)),!0)):(process.nextTick(t.bind(null,null,e,Number.POSITIVE_INFINITY)),!0);function a(){var a=Math.ceil((e-n.content)*(n.interval/n.tokensPerInterval));return setTimeout(function(){n.removeTokens(e,t)},a),!1}},tryRemoveTokens:function(e){return!(this.bucketSize&&(e>this.bucketSize||(this.drip(),e>this.content||this.parentBucket&&!this.parentBucket.tryRemoveTokens(e)||(this.content-=e,0))))},drip:function(){if(this.tokensPerInterval){var e=+new Date,t=Math.max(e-this.lastDrip,0);this.lastDrip=e;var n=t*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+n,this.bucketSize)}else this.content=this.bucketSize}},e.exports=t},7193(e,t,n){e=n.nmd(e);var a="__lodash_hash_undefined__",i=9007199254740991,r="[object Arguments]",o="[object Boolean]",s="[object Date]",c="[object Function]",p="[object GeneratorFunction]",l="[object Map]",u="[object Number]",d="[object Object]",m="[object Promise]",f="[object RegExp]",h="[object Set]",v="[object String]",y="[object Symbol]",x="[object WeakMap]",g="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",_="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",O="[object Uint8ClampedArray]",j="[object Uint16Array]",P="[object Uint32Array]",T=/\w*$/,R=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,C={};C[r]=C["[object Array]"]=C[g]=C[b]=C[o]=C[s]=C[w]=C[E]=C[S]=C[_]=C[k]=C[l]=C[u]=C[d]=C[f]=C[h]=C[v]=C[y]=C[A]=C[O]=C[j]=C[P]=!0,C["[object Error]"]=C[c]=C[x]=!1;var N="object"==typeof global&&global&&global.Object===Object&&global,J="object"==typeof self&&self&&self.Object===Object&&self,K=N||J||Function("return this")(),L=t&&!t.nodeType&&t,W=L&&e&&!e.nodeType&&e,$=W&&W.exports===L;function F(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function M(e,t,n,a){var i=-1,r=e?e.length:0;for(a&&r&&(n=e[++i]);++i<r;)n=t(n,e[i],i,e);return n}function D(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function H(e){var t=-1,n=Array(e.size);return e.forEach(function(e,a){n[++t]=[a,e]}),n}function B(e,t){return function(n){return e(t(n))}}function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var q,G=Array.prototype,V=Function.prototype,X=Object.prototype,Y=K["__core-js_shared__"],Z=(q=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+q:"",Q=V.toString,ee=X.hasOwnProperty,te=X.toString,ne=RegExp("^"+Q.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ae=$?K.Buffer:void 0,ie=K.Symbol,re=K.Uint8Array,oe=B(Object.getPrototypeOf,Object),se=Object.create,ce=X.propertyIsEnumerable,pe=G.splice,le=Object.getOwnPropertySymbols,ue=ae?ae.isBuffer:void 0,de=B(Object.keys,Object),me=Ke(K,"DataView"),fe=Ke(K,"Map"),he=Ke(K,"Promise"),ve=Ke(K,"Set"),ye=Ke(K,"WeakMap"),xe=Ke(Object,"create"),ge=Ue(me),be=Ue(fe),we=Ue(he),Ee=Ue(ve),Se=Ue(ye),_e=ie?ie.prototype:void 0,ke=_e?_e.valueOf:void 0;function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function je(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Pe(e){this.__data__=new Oe(e)}function Te(e,t,n){var a=e[t];ee.call(e,t)&&Me(a,n)&&(void 0!==n||t in e)||(e[t]=n)}function Re(e,t){for(var n=e.length;n--;)if(Me(e[n][0],t))return n;return-1}function Ie(e,t,n,a,i,m,x){var R;if(a&&(R=m?a(e,i,m,x):a(e)),void 0!==R)return R;if(!qe(e))return e;var I=De(e);if(I){if(R=function(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!t)return function(e,t){var n=-1,a=e.length;for(t||(t=Array(a));++n<a;)t[n]=e[n];return t}(e,R)}else{var N=We(e),J=N==c||N==p;if(Be(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(N==d||N==r||J&&!m){if(D(e))return m?e:{};if(R=function(e){return"function"!=typeof e.constructor||Fe(e)?{}:qe(t=oe(e))?se(t):{};var t}(J?{}:e),!t)return function(e,t){return Ne(e,Le(e),t)}(e,function(e,t){return e&&Ne(t,Ge(t),e)}(R,e))}else{if(!C[N])return m?e:{};R=function(e,t,n,a){var i,r=e.constructor;switch(t){case g:return Ce(e);case o:case s:return new r(+e);case b:return function(e,t){var n=t?Ce(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,a);case w:case E:case S:case _:case k:case A:case O:case j:case P:return function(e,t){var n=t?Ce(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,a);case l:return function(e,t,n){return M(t?n(H(e),!0):H(e),F,new e.constructor)}(e,a,n);case u:case v:return new r(e);case f:return function(e){var t=new e.constructor(e.source,T.exec(e));return t.lastIndex=e.lastIndex,t}(e);case h:return function(e,t,n){return M(t?n(z(e),!0):z(e),U,new e.constructor)}(e,a,n);case y:return i=e,ke?Object(ke.call(i)):{}}}(e,N,Ie,t)}}x||(x=new Pe);var K=x.get(e);if(K)return K;if(x.set(e,R),!I)var L=n?function(e){return function(e,t,n){var a=t(e);return De(e)?a:function(e,t){for(var n=-1,a=t.length,i=e.length;++n<a;)e[i+n]=t[n];return e}(a,n(e))}(e,Ge,Le)}(e):Ge(e);return function(e,t){for(var n=-1,a=e?e.length:0;++n<a&&!1!==t(e[n],n););}(L||e,function(i,r){L&&(i=e[r=i]),Te(R,r,Ie(i,t,n,a,r,e,x))}),R}function Ce(e){var t=new e.constructor(e.byteLength);return new re(t).set(new re(e)),t}function Ne(e,t,n,a){n||(n={});for(var i=-1,r=t.length;++i<r;){var o=t[i],s=a?a(n[o],e[o],o,n,e):void 0;Te(n,o,void 0===s?e[o]:s)}return n}function Je(e,t){var n,a,i=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ke(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!qe(e)||(t=e,Z&&Z in t))&&(ze(e)||D(e)?ne:R).test(Ue(e));var t}(n)?n:void 0}Ae.prototype.clear=function(){this.__data__=xe?xe(null):{}},Ae.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Ae.prototype.get=function(e){var t=this.__data__;if(xe){var n=t[e];return n===a?void 0:n}return ee.call(t,e)?t[e]:void 0},Ae.prototype.has=function(e){var t=this.__data__;return xe?void 0!==t[e]:ee.call(t,e)},Ae.prototype.set=function(e,t){return this.__data__[e]=xe&&void 0===t?a:t,this},Oe.prototype.clear=function(){this.__data__=[]},Oe.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0||(n==t.length-1?t.pop():pe.call(t,n,1),0))},Oe.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},Oe.prototype.has=function(e){return Re(this.__data__,e)>-1},Oe.prototype.set=function(e,t){var n=this.__data__,a=Re(n,e);return a<0?n.push([e,t]):n[a][1]=t,this},je.prototype.clear=function(){this.__data__={hash:new Ae,map:new(fe||Oe),string:new Ae}},je.prototype.delete=function(e){return Je(this,e).delete(e)},je.prototype.get=function(e){return Je(this,e).get(e)},je.prototype.has=function(e){return Je(this,e).has(e)},je.prototype.set=function(e,t){return Je(this,e).set(e,t),this},Pe.prototype.clear=function(){this.__data__=new Oe},Pe.prototype.delete=function(e){return this.__data__.delete(e)},Pe.prototype.get=function(e){return this.__data__.get(e)},Pe.prototype.has=function(e){return this.__data__.has(e)},Pe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Oe){var a=n.__data__;if(!fe||a.length<199)return a.push([e,t]),this;n=this.__data__=new je(a)}return n.set(e,t),this};var Le=le?B(le,Object):function(){return[]},We=function(e){return te.call(e)};function $e(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||I.test(e))&&e>-1&&e%1==0&&e<t}function Fe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)}function Ue(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Me(e,t){return e===t||e!=e&&t!=t}(me&&We(new me(new ArrayBuffer(1)))!=b||fe&&We(new fe)!=l||he&&We(he.resolve())!=m||ve&&We(new ve)!=h||ye&&We(new ye)!=x)&&(We=function(e){var t=te.call(e),n=t==d?e.constructor:void 0,a=n?Ue(n):void 0;if(a)switch(a){case ge:return b;case be:return l;case we:return m;case Ee:return h;case Se:return x}return t});var De=Array.isArray;function He(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!ze(e)}var Be=ue||function(){return!1};function ze(e){var t=qe(e)?te.call(e):"";return t==c||t==p}function qe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return He(e)?function(e,t){var n=De(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&He(e)}(e)&&ee.call(e,"callee")&&(!ce.call(e,"callee")||te.call(e)==r)}(e)?function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}(e.length,String):[],a=n.length,i=!!a;for(var o in e)!t&&!ee.call(e,o)||i&&("length"==o||$e(o,a))||n.push(o);return n}(e):function(e){if(!Fe(e))return de(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Ie(e,!0,!0)}},6111(e){var t=1/0,n=9007199254740991,a=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=/^(?:0|[1-9]\d*)$/,c=parseInt;function p(e){return e!=e}var l,u,d=Object.prototype,m=d.hasOwnProperty,f=d.toString,h=d.propertyIsEnumerable,v=(l=Object.keys,u=Object,function(e){return l(u(e))}),y=Math.max;function x(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||s.test(e))&&e>-1&&e%1==0&&e<t}var g=Array.isArray;function b(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}(e.length)&&!function(e){var t=w(e)?f.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function E(e){return!!e&&"object"==typeof e}e.exports=function(e,n,s,l){var u;e=b(e)?e:(u=e)?function(e,t){return function(e,t){for(var n=-1,a=e?e.length:0,i=Array(a);++n<a;)i[n]=t(e[n]);return i}(t,function(t){return e[t]})}(u,function(e){return b(e)?function(e,t){var n=g(e)||function(e){return function(e){return E(e)&&b(e)}(e)&&m.call(e,"callee")&&(!h.call(e,"callee")||"[object Arguments]"==f.call(e))}(e)?function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}(e.length,String):[],a=n.length,i=!!a;for(var r in e)!t&&!m.call(e,r)||i&&("length"==r||x(r,a))||n.push(r);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||d))return v(e);var t,n,a=[];for(var i in Object(e))m.call(e,i)&&"constructor"!=i&&a.push(i);return a}(e)}(u)):[],s=s&&!l?function(e){var n=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||E(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(w(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=w(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=r.test(e);return n||o.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),s=n%1;return n==n?s?n-s:n:0}(s):0;var S=e.length;return s<0&&(s=y(S+s,0)),function(e){return"string"==typeof e||!g(e)&&E(e)&&"[object String]"==f.call(e)}(e)?s<=S&&e.indexOf(n,s)>-1:!!S&&function(e,t,n){if(t!=t)return function(e,t,n){for(var a=e.length,i=n+-1;++i<a;)if(t(e[i],i,e))return i;return-1}(e,p,n);for(var a=n-1,i=e.length;++a<i;)if(e[a]===t)return a;return-1}(e,n,s)>-1}},7914(e){var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==t.call(e)}},8928(e){var t=1/0,n=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,r=/^0o[0-7]+$/i,o=parseInt,s=Object.prototype.toString;function c(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return"number"==typeof e&&e==function(e){var p=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var p=i.test(e);return p||r.test(e)?o(e.slice(2),p?2:8):a.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),l=p%1;return p==p?l?p-l:p:0}(e)}},3639(e){var t=Object.prototype.toString;e.exports=function(e){return"number"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Number]"==t.call(e)}},9001(e){var t,n,a=Function.prototype,i=Object.prototype,r=a.toString,o=i.hasOwnProperty,s=r.call(Object),c=i.toString,p=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=p(e);if(null===t)return!0;var n=o.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&r.call(n)==s}},5931(e){var t=Object.prototype.toString,n=Array.isArray;e.exports=function(e){return"string"==typeof e||!n(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==t.call(e)}},7083(e){var t=1/0,n=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,r=/^0o[0-7]+$/i,o=parseInt,s=Object.prototype.toString;function c(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return function(e,p){var l;if("function"!=typeof p)throw new TypeError("Expected a function");return e=function(e){var p=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var p=i.test(e);return p||r.test(e)?o(e.slice(2),p?2:8):a.test(e)?NaN:+e}(e))===t||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),l=p%1;return p==p?l?p-l:p:0}(e),function(){return--e>0&&(l=p.apply(this,arguments)),e<=1&&(p=void 0),l}}(2,e)}},9831(e,t,n){"use strict";var a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,i,r=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o},i=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e},r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.asyncMemoizer=void 0;var s=o(n(1603)),c=n(4434),p=o(n(7193)),l=n(7644),u=n(3503);function d(e){var t=new s.default(e),n=e.load,a=e.hash,o=e.bypass,u=e.itemMaxAge,d=e.freeze,m=e.clone,f=e.queueMaxAge||1e3,h=new Map,v=new c.EventEmitter,y=Object.assign({del:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=a.apply(void 0,i(e));t.del(r)},reset:function(){return t.reset()},keys:t.keys.bind(t),on:v.on.bind(v),once:v.once.bind(v)},e);if(e.disable)return Object.assign(n,y);function x(e,t){var n,a;try{for(var o=r(e),s=o.next();!s.done;s=o.next()){var c=s.value;m?setImmediate.apply(void 0,i([c],t.map(p.default))):setImmediate.apply(void 0,i([c],t))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];v.emit.apply(v,i([e],t))}return Object.assign(function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var s,c=e.slice(0,-1),p=e.slice(-1).pop();if(o&&o.apply(void 0,i(c)))return g.apply(void 0,i(["miss"],c)),n.apply(void 0,i(e));s=0!==c.length||a?a.apply(void 0,i(c)):"_";var m=t.get(s);if(m)return g.apply(void 0,i(["hit"],c)),x([p],[null].concat(m));var v=h.get(s);if(v&&v.expiresAt>Date.now())return v.queue.push(p),void g.apply(void 0,i(["queue"],c));g.apply(void 0,i(["miss"],c));var y=Date.now(),b=[p];h.set(s,{queue:b,expiresAt:y+f}),n.apply(void 0,i(c,[function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];e[0]||function(e,n,a){d&&a.forEach(l.deepFreeze),u?t.set(e,a,u.apply(void 0,i(n.concat(a)))):t.set(e,a)}(s,c,e.slice(1)),h.delete(s),g.apply(void 0,i(["loaded",Date.now()-y],c)),x(b,e)}]))},y)}t.asyncMemoizer=d,d.sync=u.syncMemoizer},7644(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deepFreeze=void 0,t.deepFreeze=function e(t){return t&&(Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||t[n].constructor===Buffer||Object.isFrozen(t[n])||e(t[n])})),t}},8639(e,t,n){"use strict";var a=n(9831);e.exports=a.asyncMemoizer},3503(e,t,n){"use strict";var a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,i,r=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(e){i={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return o},i=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.syncMemoizer=void 0;var o=r(n(1603)),s=n(4434),c=r(n(7193)),p=n(7644);t.syncMemoizer=function(e){var t=new o.default(e),n=e.load,a=e.hash,r=e.bypass,l=e.itemMaxAge,u=e.freeze,d=e.clone,m=new s.EventEmitter,f=Object.assign({del:function(){var e=a.apply(void 0,i(arguments));t.del(e)},reset:function(){return t.reset()},keys:t.keys.bind(t),on:m.on.bind(m),once:m.once.bind(m)},e);if(e.disable)return Object.assign(n,f);function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.emit.apply(m,i([e],t))}function v(e){return e&&e.then&&"function"==typeof e.then}function y(e){var t=e;return d&&(t=v(t)?t.then(c.default):c.default(t)),u&&(v(t)?t=t.then(p.deepFreeze):p.deepFreeze(t)),t}return Object.assign(function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];if(r&&r.apply(void 0,i(e)))return h.apply(void 0,i(["miss"],e)),n.apply(void 0,i(e));var s=a.apply(void 0,i(e)),c=t.get(s);if(c)return h.apply(void 0,i(["hit"],e)),y(c);h.apply(void 0,i(["miss"],e));var p=n.apply(void 0,i(e));return l?t.set(s,p,l.apply(void 0,i(e.concat([p])))):t.set(s,p),y(p)},f)}},1603(e,t,n){"use strict";const a=n(349),i=Symbol("max"),r=Symbol("length"),o=Symbol("lengthCalculator"),s=Symbol("allowStale"),c=Symbol("maxAge"),p=Symbol("dispose"),l=Symbol("noDisposeOnSet"),u=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1,h=(e,t,n)=>{const a=e[d].get(t);if(a){const t=a.value;if(v(e,t)){if(x(e,a),!e[s])return}else n&&(e[m]&&(a.value.now=Date.now()),e[u].unshiftNode(a));return t.value}},v=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[c]&&n>e[c]},y=e=>{if(e[r]>e[i])for(let t=e[u].tail;e[r]>e[i]&&null!==t;){const n=t.prev;x(e,t),t=n}},x=(e,t)=>{if(t){const n=t.value;e[p]&&e[p](n.key,n.value),e[r]-=n.length,e[d].delete(n.key),e[u].removeNode(t)}};class g{constructor(e,t,n,a,i){this.key=e,this.value=t,this.length=n,this.now=a,this.maxAge=i||0}}const b=(e,t,n,a)=>{let i=n.value;v(e,i)&&(x(e,n),e[s]||(i=void 0)),i&&t.call(a,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[p]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,y(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,y(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[r]=0,this[u].forEach(e=>{e.length=this[o](e.value,e.key),this[r]+=e.length})),y(this)}get lengthCalculator(){return this[o]}get length(){return this[r]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let n=this[u].tail;null!==n;){const a=n.prev;b(this,e,n,t),n=a}}forEach(e,t){t=t||this;for(let n=this[u].head;null!==n;){const a=n.next;b(this,e,n,t),n=a}}keys(){return this[u].toArray().map(e=>e.key)}values(){return this[u].toArray().map(e=>e.value)}reset(){this[p]&&this[u]&&this[u].length&&this[u].forEach(e=>this[p](e.key,e.value)),this[d]=new Map,this[u]=new a,this[r]=0}dump(){return this[u].map(e=>!v(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[u]}set(e,t,n){if((n=n||this[c])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const a=n?Date.now():0,s=this[o](t,e);if(this[d].has(e)){if(s>this[i])return x(this,this[d].get(e)),!1;const o=this[d].get(e).value;return this[p]&&(this[l]||this[p](e,o.value)),o.now=a,o.maxAge=n,o.value=t,this[r]+=s-o.length,o.length=s,this.get(e),y(this),!0}const m=new g(e,t,s,a,n);return m.length>this[i]?(this[p]&&this[p](e,t),!1):(this[r]+=m.length,this[u].unshift(m),this[d].set(e,this[u].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!v(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[u].tail;return e?(x(this,e),e.value):null}del(e){x(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const a=e[n],i=a.e||0;if(0===i)this.set(a.k,a.v);else{const e=i-t;e>0&&this.set(a.k,a.v,e)}}}prune(){this[d].forEach((e,t)=>h(this,t,!1))}}},9669(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},349(e,t,n){"use strict";function a(e){var t=this;if(t instanceof a||(t=new a),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function i(e,t,n){var a=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===a.next&&(e.tail=a),null===a.prev&&(e.head=a),e.length++,a}function r(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,a){if(!(this instanceof s))return new s(e,t,n,a);this.list=a,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=a,a.Node=s,a.create=a,a.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},a.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},a.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},a.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)r(this,arguments[e]);return this.length},a.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},a.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},a.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},a.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,a=0;null!==n;a++)e.call(t,n.value,a,this),n=n.next},a.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,a=this.length-1;null!==n;a--)e.call(t,n.value,a,this),n=n.prev},a.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},a.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},a.prototype.map=function(e,t){t=t||this;for(var n=new a,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},a.prototype.mapReverse=function(e,t){t=t||this;for(var n=new a,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},a.prototype.reduce=function(e,t){var n,a=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");a=this.head.next,n=this.head.value}for(var i=0;null!==a;i++)n=e(n,a.value,i),a=a.next;return n},a.prototype.reduceReverse=function(e,t){var n,a=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");a=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==a;i--)n=e(n,a.value,i),a=a.prev;return n},a.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},a.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},a.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new a;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,r=this.head;null!==r&&i<e;i++)r=r.next;for(;null!==r&&i<t;i++,r=r.next)n.push(r.value);return n},a.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new a;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,r=this.tail;null!==r&&i>t;i--)r=r.prev;for(;null!==r&&i>e;i--,r=r.prev)n.push(r.value);return n},a.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var a=0,r=this.head;null!==r&&a<e;a++)r=r.next;var o=[];for(a=0;r&&a<t;a++)o.push(r.value),r=this.removeNode(r);for(null===r&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev),a=0;a<n.length;a++)r=i(this,r,n[a]);return o},a.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var a=n.prev;n.prev=n.next,n.next=a}return this.head=t,this.tail=e,this};try{n(9669)(a)}catch(e){}},1514(e){"use strict";e.exports=Math.abs},8968(e){"use strict";e.exports=Math.floor},4459(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},6188(e){"use strict";e.exports=Math.max},8002(e){"use strict";e.exports=Math.min},5880(e){"use strict";e.exports=Math.pow},414(e){"use strict";e.exports=Math.round},3093(e,t,n){"use strict";var a=n(4459);e.exports=function(e){return a(e)||0===e?e:e<0?-1:1}},7598(e,t,n){e.exports=n(1813)},6049(e,t,n){"use strict";var a,i,r,o=n(7598),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];return!(!a||!a.length)&&a[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),a=t.extensions,i=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(o).forEach(function(e){var t=o[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var p=r.indexOf(o[i[c]].source),l=r.indexOf(t.source);if("application/octet-stream"!==i[c]&&(p>l||p===l&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}})},6585(e){var t=1e3,n=60*t,a=60*n,i=24*a,r=7*i;function o(e,t,n,a){var i=t>=1.5*n;return Math.round(e/n)+" "+a+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?o(c,p,i,"day"):p>=a?o(c,p,a,"hour"):p>=n?o(c,p,n,"minute"):p>=t?o(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=i?Math.round(e/i)+"d":r>=a?Math.round(e/a)+"h":r>=n?Math.round(e/n)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6504(e,t,n){"use strict";var a=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?a(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every(function(n){if(!n)return!0;var a=n.match(/^(.+):(\d+)$/),i=a?a[1]:n,o=a?parseInt(a[2]):0;return!(!o||o===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!r.call(e,i)):e!==i)})}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var p=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},2861(e,t,n){var a=n(181),i=a.Buffer;function r(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=a:(r(a,t),t.Buffer=o),o.prototype=Object.create(i.prototype),r(i,o),o.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},o.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var a=i(e);return void 0!==t?"string"==typeof n?a.fill(t,n):a.fill(t):a.fill(0),a},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},3904(e,t,n){"use strict";const a=Symbol("SemVer ANY");class i{static get ANY(){return a}constructor(e,t){if(t=r(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),p("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}parse(e){const t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new l(n[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(p("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(e.value,t).test(this.value):""===e.operator?""===e.value||new u(this.value,t).test(e.semver):!((t=r(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(c(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(c(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=i;const r=n(8587),{safeRe:o,t:s}=n(9718),c=n(2111),p=n(7272),l=n(3908),u=n(8311)},8311(e,t,n){"use strict";const a=/\s+/g;class i{constructor(e,t){if(t=o(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(a," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&x(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&v))+":"+e,n=r.get(t);if(n)return n;const a=this.options.loose,i=a?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(i,T(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),c("comparator trim",e),e=e.replace(l[u.TILDETRIM],m),c("tilde trim",e),e=e.replace(l[u.CARETTRIM],f),c("caret trim",e);let o=e.split(" ").map(e=>b(e,this.options)).join(" ").split(/\s+/).map(e=>P(e,this.options));a&&(o=o.filter(e=>(c("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE])))),c("range list",o);const p=new Map,x=o.map(e=>new s(e,this.options));for(const e of x){if(y(e))return[e];p.set(e.value,e)}p.size>1&&p.has("")&&p.delete("");const g=[...p.values()];return r.set(t,g),g}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some(n=>g(n,t)&&e.set.some(e=>g(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new p(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const r=new(n(8794)),o=n(8587),s=n(3904),c=n(7272),p=n(3908),{safeRe:l,t:u,comparatorTrimReplace:d,tildeTrimReplace:m,caretTrimReplace:f}=n(9718),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:v}=n(6874),y=e=>"<0.0.0-0"===e.value,x=e=>""===e.value,g=(e,t)=>{let n=!0;const a=e.slice();let i=a.pop();for(;n&&a.length;)n=a.every(e=>i.intersects(e,t)),i=a.pop();return n},b=(e,t)=>(e=e.replace(l[u.BUILD],""),c("comp",e,t),e=_(e,t),c("caret",e),e=E(e,t),c("tildes",e),e=A(e,t),c("xrange",e),e=j(e,t),c("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,E=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,(t,n,a,i,r)=>{let o;return c("tilde",e,t,n,a,i,r),w(n)?o="":w(a)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:w(i)?o=`>=${n}.${a}.0 <${n}.${+a+1}.0-0`:r?(c("replaceTilde pr",r),o=`>=${n}.${a}.${i}-${r} <${n}.${+a+1}.0-0`):o=`>=${n}.${a}.${i} <${n}.${+a+1}.0-0`,c("tilde return",o),o})},_=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{c("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,r,o)=>{let s;return c("caret",e,t,n,i,r,o),w(n)?s="":w(i)?s=`>=${n}.0.0${a} <${+n+1}.0.0-0`:w(r)?s="0"===n?`>=${n}.${i}.0${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${a} <${+n+1}.0.0-0`:o?(c("replaceCaret pr",o),s="0"===n?"0"===i?`>=${n}.${i}.${r}-${o} <${n}.${i}.${+r+1}-0`:`>=${n}.${i}.${r}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${r}-${o} <${+n+1}.0.0-0`):(c("no pr"),s="0"===n?"0"===i?`>=${n}.${i}.${r}${a} <${n}.${i}.${+r+1}-0`:`>=${n}.${i}.${r}${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${r} <${+n+1}.0.0-0`),c("caret return",s),s})},A=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map(e=>O(e,t)).join(" ")),O=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,(n,a,i,r,o,s)=>{c("xRange",e,n,a,i,r,o,s);const p=w(i),l=p||w(r),u=l||w(o),d=u;return"="===a&&d&&(a=""),s=t.includePrerelease?"-0":"",p?n=">"===a||"<"===a?"<0.0.0-0":"*":a&&d?(l&&(r=0),o=0,">"===a?(a=">=",l?(i=+i+1,r=0,o=0):(r=+r+1,o=0)):"<="===a&&(a="<",l?i=+i+1:r=+r+1),"<"===a&&(s="-0"),n=`${a+i}.${r}.${o}${s}`):l?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:u&&(n=`>=${i}.${r}.0${s} <${i}.${+r+1}.0-0`),c("xRange return",n),n})},j=(e,t)=>(c("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),P=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,a,i,r,o,s,c,p,l,u,d)=>`${n=w(a)?"":w(i)?`>=${a}.0.0${e?"-0":""}`:w(r)?`>=${a}.${i}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=w(p)?"":w(l)?`<${+p+1}.0.0-0`:w(u)?`<${p}.${+l+1}.0-0`:d?`<=${p}.${l}.${u}-${d}`:e?`<${p}.${l}.${+u+1}-0`:`<=${c}`}`.trim(),R=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(c(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){const a=e[n].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},3908(e,t,n){"use strict";const a=n(7272),{MAX_LENGTH:i,MAX_SAFE_INTEGER:r}=n(6874),{safeRe:o,t:s}=n(9718),c=n(8587),{compareIdentifiers:p}=n(1123);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<r)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(a("SemVer.compare",this.version,this.options,e),!(e instanceof l)){if("string"==typeof e&&e===this.version)return 0;e=new l(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof l||(e=new l(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof l||(e=new l(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],i=e.prerelease[t];if(a("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return p(n,i)}while(++t)}compareBuild(e){e instanceof l||(e=new l(e,this.options));let t=0;do{const n=this.build[t],i=e.build[t];if(a("build compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return p(n,i)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?o[s.PRERELEASELOOSE]:o[s.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(n)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let a=this.prerelease.length;for(;--a>=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===n&&(a=[t]),0===p(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=l},7414(e,t,n){"use strict";const a=n(144);e.exports=(e,t)=>{const n=a(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},2111(e,t,n){"use strict";const a=n(4641),i=n(3999),r=n(5580),o=n(4089),s=n(7059),c=n(5200);e.exports=(e,t,n,p)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return a(e,n,p);case"!=":return i(e,n,p);case">":return r(e,n,p);case">=":return o(e,n,p);case"<":return s(e,n,p);case"<=":return c(e,n,p);default:throw new TypeError(`Invalid operator: ${t}`)}}},6170(e,t,n){"use strict";const a=n(3908),i=n(144),{safeRe:r,t:o}=n(9718);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const a=t.includePrerelease?r[o.COERCERTLFULL]:r[o.COERCERTL];let i;for(;(i=a.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),a.lastIndex=i.index+i[1].length+i[2].length;a.lastIndex=-1}else n=e.match(t.includePrerelease?r[o.COERCEFULL]:r[o.COERCE]);if(null===n)return null;const s=n[2],c=n[3]||"0",p=n[4]||"0",l=t.includePrerelease&&n[5]?`-${n[5]}`:"",u=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${s}.${c}.${p}${l}${u}`,t)}},909(e,t,n){"use strict";const a=n(3908);e.exports=(e,t,n)=>{const i=new a(e,n),r=new a(t,n);return i.compare(r)||i.compareBuild(r)}},1763(e,t,n){"use strict";const a=n(560);e.exports=(e,t)=>a(e,t,!0)},560(e,t,n){"use strict";const a=n(3908);e.exports=(e,t,n)=>new a(e,n).compare(new a(t,n))},1832(e,t,n){"use strict";const a=n(144);e.exports=(e,t)=>{const n=a(e,null,!0),i=a(t,null,!0),r=n.compare(i);if(0===r)return null;const o=r>0,s=o?n:i,c=o?i:n,p=!!s.prerelease.length;if(c.prerelease.length&&!p){if(!c.patch&&!c.minor)return"major";if(0===c.compareMain(s))return c.minor&&!c.patch?"minor":"patch"}const l=p?"pre":"";return n.major!==i.major?l+"major":n.minor!==i.minor?l+"minor":n.patch!==i.patch?l+"patch":"prerelease"}},4641(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>0===a(e,t,n)},5580(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>a(e,t,n)>0},4089(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>a(e,t,n)>=0},3007(e,t,n){"use strict";const a=n(3908);e.exports=(e,t,n,i,r)=>{"string"==typeof n&&(r=i,i=n,n=void 0);try{return new a(e instanceof a?e.version:e,n).inc(t,i,r).version}catch(e){return null}}},7059(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>a(e,t,n)<0},5200(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>a(e,t,n)<=0},2938(e,t,n){"use strict";const a=n(3908);e.exports=(e,t)=>new a(e,t).major},6254(e,t,n){"use strict";const a=n(3908);e.exports=(e,t)=>new a(e,t).minor},3999(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>0!==a(e,t,n)},144(e,t,n){"use strict";const a=n(3908);e.exports=(e,t,n=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!n)return null;throw e}}},4493(e,t,n){"use strict";const a=n(3908);e.exports=(e,t)=>new a(e,t).patch},1729(e,t,n){"use strict";const a=n(144);e.exports=(e,t)=>{const n=a(e,t);return n&&n.prerelease.length?n.prerelease:null}},9970(e,t,n){"use strict";const a=n(560);e.exports=(e,t,n)=>a(t,e,n)},4277(e,t,n){"use strict";const a=n(909);e.exports=(e,t)=>e.sort((e,n)=>a(n,e,t))},7638(e,t,n){"use strict";const a=n(8311);e.exports=(e,t,n)=>{try{t=new a(t,n)}catch(e){return!1}return t.test(e)}},3927(e,t,n){"use strict";const a=n(909);e.exports=(e,t)=>e.sort((e,n)=>a(e,n,t))},6953(e,t,n){"use strict";const a=n(144);e.exports=(e,t)=>{const n=a(e,t);return n?n.version:null}},9589(e,t,n){"use strict";const a=n(9718),i=n(6874),r=n(3908),o=n(1123),s=n(144),c=n(6953),p=n(7414),l=n(3007),u=n(1832),d=n(2938),m=n(6254),f=n(4493),h=n(1729),v=n(560),y=n(9970),x=n(1763),g=n(909),b=n(3927),w=n(4277),E=n(5580),S=n(7059),_=n(4641),k=n(3999),A=n(4089),O=n(5200),j=n(2111),P=n(6170),T=n(3904),R=n(8311),I=n(7638),C=n(7631),N=n(9628),J=n(270),K=n(1261),L=n(3874),W=n(7075),$=n(5571),F=n(5342),U=n(6780),M=n(2525),D=n(5032);e.exports={parse:s,valid:c,clean:p,inc:l,diff:u,major:d,minor:m,patch:f,prerelease:h,compare:v,rcompare:y,compareLoose:x,compareBuild:g,sort:b,rsort:w,gt:E,lt:S,eq:_,neq:k,gte:A,lte:O,cmp:j,coerce:P,Comparator:T,Range:R,satisfies:I,toComparators:C,maxSatisfying:N,minSatisfying:J,minVersion:K,validRange:L,outside:W,gtr:$,ltr:F,intersects:U,simplifyRange:M,subset:D,SemVer:r,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},6874(e){"use strict";const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},7272(e){"use strict";const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},1123(e){"use strict";const t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:e<n?-1:1;const a=t.test(e),i=t.test(n);return a&&i&&(e=+e,n=+n),e===n?0:a&&!i?-1:i&&!a?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},8794(e){"use strict";e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},8587(e){"use strict";const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},9718(e,t,n){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:r}=n(6874),o=n(7272),s=(t=e.exports={}).re=[],c=t.safeRe=[],p=t.src=[],l=t.safeSrc=[],u=t.t={};let d=0;const m="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[m,i]],h=(e,t,n)=>{const a=(e=>{for(const[t,n]of f)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=d++;o(e,i,t),u[e]=i,p[i]=t,l[i]=a,s[i]=new RegExp(t,n?"g":void 0),c[i]=new RegExp(a,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${m}*`),h("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NONNUMERICIDENTIFIER]}|${p[u.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${m}+`),h("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`),h("FULL",`^${p[u.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`),h("LOOSE",`^${p[u.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`),h("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?`),h("COERCE",`${p[u.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",p[u.COERCEPLAIN]+`(?:${p[u.PRERELEASE]})?`+`(?:${p[u.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",p[u.COERCE],!0),h("COERCERTLFULL",p[u.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},5571(e,t,n){"use strict";const a=n(7075);e.exports=(e,t,n)=>a(e,t,">",n)},6780(e,t,n){"use strict";const a=n(8311);e.exports=(e,t,n)=>(e=new a(e,n),t=new a(t,n),e.intersects(t,n))},5342(e,t,n){"use strict";const a=n(7075);e.exports=(e,t,n)=>a(e,t,"<",n)},9628(e,t,n){"use strict";const a=n(3908),i=n(8311);e.exports=(e,t,n)=>{let r=null,o=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(r&&-1!==o.compare(e)||(r=e,o=new a(r,n)))}),r}},270(e,t,n){"use strict";const a=n(3908),i=n(8311);e.exports=(e,t,n)=>{let r=null,o=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(r&&1!==o.compare(e)||(r=e,o=new a(r,n)))}),r}},1261(e,t,n){"use strict";const a=n(3908),i=n(8311),r=n(5580);e.exports=(e,t)=>{e=new i(e,t);let n=new a("0.0.0");if(e.test(n))return n;if(n=new a("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let o=null;i.forEach(e=>{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!r(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}),!o||n&&!r(n,o)||(n=o)}return n&&e.test(n)?n:null}},7075(e,t,n){"use strict";const a=n(3908),i=n(3904),{ANY:r}=i,o=n(8311),s=n(7638),c=n(5580),p=n(7059),l=n(5200),u=n(4089);e.exports=(e,t,n,d)=>{let m,f,h,v,y;switch(e=new a(e,d),t=new o(t,d),n){case">":m=c,f=l,h=p,v=">",y=">=";break;case"<":m=p,f=u,h=c,v="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const a=t.set[n];let o=null,s=null;if(a.forEach(e=>{e.semver===r&&(e=new i(">=0.0.0")),o=o||e,s=s||e,m(e.semver,o.semver,d)?o=e:h(e.semver,s.semver,d)&&(s=e)}),o.operator===v||o.operator===y)return!1;if((!s.operator||s.operator===v)&&f(e,s.semver))return!1;if(s.operator===y&&h(e,s.semver))return!1}return!0}},2525(e,t,n){"use strict";const a=n(7638),i=n(560);e.exports=(e,t,n)=>{const r=[];let o=null,s=null;const c=e.sort((e,t)=>i(e,t,n));for(const e of c)a(e,t,n)?(s=e,o||(o=e)):(s&&r.push([o,s]),s=null,o=null);o&&r.push([o,null]);const p=[];for(const[e,t]of r)e===t?p.push(e):t||e!==c[0]?t?e===c[0]?p.push(`<=${t}`):p.push(`${e} - ${t}`):p.push(`>=${e}`):p.push("*");const l=p.join(" || "),u="string"==typeof t.raw?t.raw:String(t);return l.length<u.length?l:t}},5032(e,t,n){"use strict";const a=n(8311),i=n(3904),{ANY:r}=i,o=n(7638),s=n(560),c=[new i(">=0.0.0-0")],p=[new i(">=0.0.0")],l=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===r){if(1===t.length&&t[0].semver===r)return!0;e=n.includePrerelease?c:p}if(1===t.length&&t[0].semver===r){if(n.includePrerelease)return!0;t=p}const a=new Set;let i,l,m,f,h,v,y;for(const t of e)">"===t.operator||">="===t.operator?i=u(i,t,n):"<"===t.operator||"<="===t.operator?l=d(l,t,n):a.add(t.semver);if(a.size>1)return null;if(i&&l){if(m=s(i.semver,l.semver,n),m>0)return null;if(0===m&&(">="!==i.operator||"<="!==l.operator))return null}for(const e of a){if(i&&!o(e,String(i),n))return null;if(l&&!o(e,String(l),n))return null;for(const a of t)if(!o(e,String(a),n))return!1;return!0}let x=!(!l||n.includePrerelease||!l.semver.prerelease.length)&&l.semver,g=!(!i||n.includePrerelease||!i.semver.prerelease.length)&&i.semver;x&&1===x.prerelease.length&&"<"===l.operator&&0===x.prerelease[0]&&(x=!1);for(const e of t){if(y=y||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,i)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),">"===e.operator||">="===e.operator){if(f=u(i,e,n),f===e&&f!==i)return!1}else if(">="===i.operator&&!o(i.semver,String(e),n))return!1;if(l)if(x&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===x.major&&e.semver.minor===x.minor&&e.semver.patch===x.patch&&(x=!1),"<"===e.operator||"<="===e.operator){if(h=d(l,e,n),h===e&&h!==l)return!1}else if("<="===l.operator&&!o(l.semver,String(e),n))return!1;if(!e.operator&&(l||i)&&0!==m)return!1}return!(i&&v&&!l&&0!==m||l&&y&&!i&&0!==m||g||x)},u=(e,t,n)=>{if(!e)return t;const a=s(e.semver,t.semver,n);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const a=s(e.semver,t.semver,n);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new a(e,n),t=new a(t,n);let i=!1;e:for(const a of e.set){for(const e of t.set){const t=l(a,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},7631(e,t,n){"use strict";const a=n(8311);e.exports=(e,t)=>new a(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},3874(e,t,n){"use strict";const a=n(8311);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},7687(e,t,n){"use strict";const a=n(857),i=n(2018),r=n(5884),{env:o}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function p(e,t){if(0===s)return 0;if(r("color=16m")||r("color=full")||r("color=truecolor"))return 3;if(r("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const n=s||0;if("dumb"===o.TERM)return n;if("win32"===process.platform){const e=a.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in o)||"codeship"===o.CI_NAME?1:n;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:n}r("no-color")||r("no-colors")||r("color=false")||r("color=never")?s=0:(r("color")||r("colors")||r("color=true")||r("color=always"))&&(s=1),"FORCE_COLOR"in o&&(s="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(p(e,e&&e.isTTY))},stdout:c(p(!0,i.isatty(1))),stderr:c(p(!0,i.isatty(2)))}},2613(e){"use strict";e.exports=require("assert")},181(e){"use strict";e.exports=require("buffer")},6982(e){"use strict";e.exports=require("crypto")},4434(e){"use strict";e.exports=require("events")},9896(e){"use strict";e.exports=require("fs")},8611(e){"use strict";e.exports=require("http")},5692(e){"use strict";e.exports=require("https")},857(e){"use strict";e.exports=require("os")},6928(e){"use strict";e.exports=require("path")},2203(e){"use strict";e.exports=require("stream")},2018(e){"use strict";e.exports=require("tty")},7016(e){"use strict";e.exports=require("url")},9023(e){"use strict";e.exports=require("util")},3106(e){"use strict";e.exports=require("zlib")},1813(e){"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"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":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"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":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"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":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"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":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"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":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"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":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"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":true},"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":false,"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":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"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":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"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":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"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":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"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":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"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":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"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":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"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":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"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":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"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":false,"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":true,"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":true},"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":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"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":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"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":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"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":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"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":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"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":true},"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":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"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":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"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":false},"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":false},"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":false},"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":true},"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":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"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":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"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":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"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":false},"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":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"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":true},"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":true},"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":true,"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":false,"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":true,"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":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"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":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"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":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"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":false,"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":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"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":true},"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":false,"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":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"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":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"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":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"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":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"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":true,"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":true},"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":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"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":true},"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":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"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":true,"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":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"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":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"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":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"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":true},"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":true,"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":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"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":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"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":false,"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":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"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":false},"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":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"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":true,"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":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"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":false},"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":true,"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":false,"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":false,"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":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"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":true,"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":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"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":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"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":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"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":false,"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":false,"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":false},"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":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"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":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"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":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"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":false,"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":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"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":false},"image/png":{"source":"iana","compressible":false,"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":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"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":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"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":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"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":false},"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":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"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":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"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":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"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":true},"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":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"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":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"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":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"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":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"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":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"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":true,"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":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"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":true,"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":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"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":true,"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":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"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":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"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":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"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":false,"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":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var r=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var a={};(()=>{"use strict";n.r(a),n.d(a,{handler:()=>_n});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>ge,hasStandardBrowserEnv:()=>we,hasStandardBrowserWebWorkerEnv:()=>Ee,navigator:()=>be,origin:()=>Se});const t=require("node:https");function i(e,t){return function(){return e.apply(t,arguments)}}const{toString:r}=Object.prototype,{getPrototypeOf:o}=Object,{iterator:s,toStringTag:c}=Symbol,p=(l=Object.create(null),e=>{const t=r.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const u=e=>(e=e.toLowerCase(),t=>p(t)===e),d=e=>t=>typeof t===e,{isArray:m}=Array,f=d("undefined");function h(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const v=u("ArrayBuffer"),y=d("string"),x=d("function"),g=d("number"),b=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==p(e))return!1;const t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||c in e||s in e)},E=u("Date"),S=u("File"),_=u("Blob"),k=u("FileList"),A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},O=void 0!==A.FormData?A.FormData:void 0,j=u("URLSearchParams"),[P,T,R,I]=["ReadableStream","Request","Response","Headers"].map(u);function C(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let a,i;if("object"!=typeof e&&(e=[e]),m(e))for(a=0,i=e.length;a<i;a++)t.call(null,e[a],a,e);else{if(h(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),r=i.length;let o;for(a=0;a<r;a++)o=i[a],t.call(null,e[o],o,e)}}function N(e,t){if(h(e))return null;t=t.toLowerCase();const n=Object.keys(e);let a,i=n.length;for(;i-- >0;)if(a=n[i],t===a.toLowerCase())return a;return null}const J="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,K=e=>!f(e)&&e!==J,L=(W="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>W&&e instanceof W);var W;const $=u("HTMLFormElement"),F=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),U=u("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};C(n,(n,i)=>{let r;!1!==(r=t(n,i,e))&&(a[i]=r||n)}),Object.defineProperties(e,a)},D=u("AsyncFunction"),H=(B="function"==typeof setImmediate,z=x(J.postMessage),B?setImmediate:z?(q=`axios@${Math.random()}`,G=[],J.addEventListener("message",({source:e,data:t})=>{e===J&&t===q&&G.length&&G.shift()()},!1),e=>{G.push(e),J.postMessage(q,"*")}):e=>setTimeout(e));var B,z,q,G;const V="undefined"!=typeof queueMicrotask?queueMicrotask.bind(J):"undefined"!=typeof process&&process.nextTick||H,X={isArray:m,isArrayBuffer:v,isBuffer:h,isFormData:e=>{let t;return e&&(O&&e instanceof O||x(e.append)&&("formdata"===(t=p(e))||"object"===t&&x(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&v(e.buffer),t},isString:y,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:w,isEmptyObject:e=>{if(!b(e)||h(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:P,isRequest:T,isResponse:R,isHeaders:I,isUndefined:f,isDate:E,isFile:S,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:_,isRegExp:U,isFunction:x,isStream:e=>b(e)&&x(e.pipe),isURLSearchParams:j,isTypedArray:L,isFileList:k,forEach:C,merge:function e(){const{caseless:t,skipUndefined:n}=K(this)&&this||{},a={},i=(i,r)=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;const o=t&&N(a,r)||r;w(a[o])&&w(i)?a[o]=e(a[o],i):w(i)?a[o]=e({},i):m(i)?a[o]=i.slice():n&&f(i)||(a[o]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&C(arguments[e],i);return a},extend:(e,t,n,{allOwnKeys:a}={})=>(C(t,(t,a)=>{n&&x(t)?Object.defineProperty(e,a,{value:i(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),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,t,n,a)=>{e.prototype=Object.create(t.prototype,a),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,a)=>{let i,r,s;const c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)s=i[r],a&&!a(s,e,t)||c[s]||(t[s]=e[s],c[s]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:p,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return-1!==a&&a===n},toArray:e=>{if(!e)return null;if(m(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[s]).call(e);let a;for(;(a=n.next())&&!a.done;){const n=a.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const a=[];for(;null!==(n=e.exec(t));)a.push(n);return a},isHTMLForm:$,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:M,freezeMethods:e=>{M(e,(t,n)=>{if(x(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const a=e[n];x(a)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},a=e=>{e.forEach(e=>{n[e]=!0})};return m(e)?a(e):a(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:N,global:J,isContextDefined:K,isSpecCompliantForm:function(e){return!!(e&&x(e.append)&&"FormData"===e[c]&&e[s])},toJSONObject:e=>{const t=new Array(10),n=(e,a)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(h(e))return e;if(!("toJSON"in e)){t[a]=e;const i=m(e)?[]:{};return C(e,(e,t)=>{const r=n(e,a+1);!f(r)&&(i[t]=r)}),t[a]=void 0,i}}return e};return n(e,0)},isAsyncFn:D,isThenable:e=>e&&(b(e)||x(e))&&x(e.then)&&x(e.catch),setImmediate:H,asap:V,isIterable:e=>null!=e&&x(e[s])};class Y extends Error{static from(e,t,n,a,i,r){const o=new Y(e.message,t||e.code,n,a,i);return o.cause=e,o.name=e.name,null!=e.status&&null==o.status&&(o.status=e.status),r&&Object.assign(o,r),o}constructor(e,t,n,a,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),a&&(this.request=a),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}}Y.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Y.ERR_BAD_OPTION="ERR_BAD_OPTION",Y.ECONNABORTED="ECONNABORTED",Y.ETIMEDOUT="ETIMEDOUT",Y.ERR_NETWORK="ERR_NETWORK",Y.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Y.ERR_DEPRECATED="ERR_DEPRECATED",Y.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Y.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Y.ERR_CANCELED="ERR_CANCELED",Y.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Y.ERR_INVALID_URL="ERR_INVALID_URL";const Z=Y,Q=n(737);function ee(e){return X.isPlainObject(e)||X.isArray(e)}function te(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function ne(e,t,n){return e?e.concat(t).map(function(e,t){return e=te(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const ae=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)}),ie=function(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new(Q||FormData);const a=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!X.isUndefined(t[e])})).metaTokens,i=n.visitor||p,r=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(X.isBoolean(e))return e.toString();if(!s&&X.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(e)||X.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,i){let s=e;if(X.isReactNative(t)&&X.isReactNativeBlob(e))return t.append(ne(i,n,r),c(e)),!1;if(e&&!i&&"object"==typeof e)if(X.endsWith(n,"{}"))n=a?n:n.slice(0,-2),e=JSON.stringify(e);else if(X.isArray(e)&&function(e){return X.isArray(e)&&!e.some(ee)}(e)||(X.isFileList(e)||X.endsWith(n,"[]"))&&(s=X.toArray(e)))return n=te(n),s.forEach(function(e,a){!X.isUndefined(e)&&null!==e&&t.append(!0===o?ne([n],a,r):null===o?n:n+"[]",c(e))}),!1;return!!ee(e)||(t.append(ne(i,n,r),c(e)),!1)}const l=[],u=Object.assign(ae,{defaultVisitor:p,convertValue:c,isVisitable:ee});if(!X.isObject(e))throw new TypeError("data must be an object");return function e(n,a){if(!X.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+a.join("."));l.push(n),X.forEach(n,function(n,r){!0===(!(X.isUndefined(n)||null===n)&&i.call(t,n,X.isString(r)?r.trim():r,a,u))&&e(n,a?a.concat(r):[r])}),l.pop()}}(e),t};function re(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function oe(e,t){this._pairs=[],e&&ie(e,this,t)}const se=oe.prototype;se.append=function(e,t){this._pairs.push([e,t])},se.toString=function(e){const t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const ce=oe;function pe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function le(e,t,n){if(!t)return e;const a=n&&n.encode||pe,i=X.isFunction(n)?{serialize:n}:n,r=i&&i.serialize;let o;if(o=r?r(t,i):X.isURLSearchParams(t)?t.toString():new ce(t,i).toString(a),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const ue=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){X.forEach(this.handlers,function(t){null!==t&&e(t)})}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var me=n(6982);const fe=n(7016).URLSearchParams,he="abcdefghijklmnopqrstuvwxyz",ve="0123456789",ye={DIGIT:ve,ALPHA:he,ALPHA_DIGIT:he+he.toUpperCase()+ve},xe={isNode:!0,classes:{URLSearchParams:fe,FormData:Q,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:ye,generateString:(e=16,t=ye.ALPHA_DIGIT)=>{let n="";const{length:a}=t,i=new Uint32Array(e);me.randomFillSync(i);for(let r=0;r<e;r++)n+=t[i[r]%a];return n},protocols:["http","https","file","data"]},ge="undefined"!=typeof window&&"undefined"!=typeof document,be="object"==typeof navigator&&navigator||void 0,we=ge&&(!be||["ReactNative","NativeScript","NS"].indexOf(be.product)<0),Ee="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Se=ge&&window.location.href||"http://localhost",_e={...e,...xe},ke=function(e){function t(e,n,a,i){let r=e[i++];if("__proto__"===r)return!0;const o=Number.isFinite(+r),s=i>=e.length;return r=!r&&X.isArray(a)?a.length:r,s?(X.hasOwnProp(a,r)?a[r]=[a[r],n]:a[r]=n,!o):(a[r]&&X.isObject(a[r])||(a[r]=[]),t(e,n,a[r],i)&&X.isArray(a[r])&&(a[r]=function(e){const t={},n=Object.keys(e);let a;const i=n.length;let r;for(a=0;a<i;a++)r=n[a],t[r]=e[r];return t}(a[r])),!o)}if(X.isFormData(e)&&X.isFunction(e.entries)){const n={};return X.forEachEntry(e,(e,a)=>{t(function(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),a,n,0)}),n}return null},Ae={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",a=n.indexOf("application/json")>-1,i=X.isObject(e);if(i&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return a?JSON.stringify(ke(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ie(e,new _e.classes.URLSearchParams,{visitor:function(e,t,n,a){return _e.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((r=X.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ie(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),function(e){if(X.isString(e))try{return(0,JSON.parse)(e),X.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ae.transitional,n=t&&t.forcedJSONParsing,a="json"===this.responseType;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(n&&!this.responseType||a)){const n=!(t&&t.silentJSONParsing)&&a;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw Z.from(e,Z.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:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{Ae.headers[e]={}});const Oe=Ae,je=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Pe=Symbol("internals");function Te(e){return e&&String(e).trim().toLowerCase()}function Re(e){return!1===e||null==e?e:X.isArray(e)?e.map(Re):String(e)}function Ie(e,t,n,a,i){return X.isFunction(a)?a.call(this,t,n):(i&&(t=n),X.isString(t)?X.isString(a)?-1!==t.indexOf(a):X.isRegExp(a)?a.test(t):void 0:void 0)}class Ce{constructor(e){e&&this.set(e)}set(e,t,n){const a=this;function i(e,t,n){const i=Te(t);if(!i)throw new Error("header name must be a non-empty string");const r=X.findKey(a,i);(!r||void 0===a[r]||!0===n||void 0===n&&!1!==a[r])&&(a[r||t]=Re(e))}const r=(e,t)=>X.forEach(e,(e,n)=>i(e,n,t));if(X.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(X.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,a,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),a=e.substring(i+1).trim(),!n||t[n]&&je[n]||("set-cookie"===n?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t})(e),t);else if(X.isObject(e)&&X.isIterable(e)){let n,a,i={};for(const t of e){if(!X.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[a=t[0]]=(n=i[a])?X.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}r(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=Te(e)){const n=X.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}(e);if(X.isFunction(t))return t.call(this,e,n);if(X.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Te(e)){const n=X.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ie(0,this[n],n,t))}return!1}delete(e,t){const n=this;let a=!1;function i(e){if(e=Te(e)){const i=X.findKey(n,e);!i||t&&!Ie(0,n[i],i,t)||(delete n[i],a=!0)}}return X.isArray(e)?e.forEach(i):i(e),a}clear(e){const t=Object.keys(this);let n=t.length,a=!1;for(;n--;){const i=t[n];e&&!Ie(0,this[i],i,e,!0)||(delete this[i],a=!0)}return a}normalize(e){const t=this,n={};return X.forEach(this,(a,i)=>{const r=X.findKey(n,i);if(r)return t[r]=Re(a),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(i):String(i).trim();o!==i&&delete t[i],t[o]=Re(a),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return X.forEach(this,(n,a)=>{null!=n&&!1!==n&&(t[a]=e&&X.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Pe]=this[Pe]={accessors:{}}).accessors,n=this.prototype;function a(e){const a=Te(e);t[a]||(function(e,t){const n=X.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{value:function(e,n,i){return this[a].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[a]=!0)}return X.isArray(e)?e.forEach(a):a(e),this}}Ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(Ce.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),X.freezeMethods(Ce);const Ne=Ce;function Je(e,t){const n=this||Oe,a=t||n,i=Ne.from(a.headers);let r=a.data;return X.forEach(e,function(e){r=e.call(n,r,i.normalize(),t?t.status:void 0)}),i.normalize(),r}function Ke(e){return!(!e||!e.__CANCEL__)}const Le=class extends Z{constructor(e,t,n){super(null==e?"canceled":e,Z.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function We(e,t,n){const a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function $e(e,t,n){let a=!("string"==typeof(i=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i));var i;return e&&(a||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Fe=n(6504),Ue=n(8611),Me=n(5692);const De=require("http2");var He=n(9023),Be=n(3164),ze=n(3106);const qe="1.13.6";function Ge(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ve=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var Xe=n(2203);const Ye=Symbol("internals");class Ze extends Xe.Transform{constructor(e){super({readableHighWaterMark:(e=X.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!X.isUndefined(t[e]))).chunkSize});const t=this[Ye]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))})}_read(e){const t=this[Ye];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const a=this[Ye],i=a.maxRate,r=this.readableHighWaterMark,o=a.timeWindow,s=i/(1e3/o),c=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);a.bytesSeen+=n,a.bytes+=n,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=r,m=0;if(i){const e=Date.now();(!a.ts||(m=e-a.ts)>=o)&&(a.ts=e,l=s-a.bytes,a.bytes=l<0?-l:0,m=0),l=s-a.bytes}if(i){if(l<=0)return setTimeout(()=>{t(null,e)},o-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,function e(t,a){if(t)return n(t);a?l(a,e):n(null)})}}const Qe=Ze;var et=n(4434);const{asyncIterator:tt}=Symbol,nt=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[tt]?yield*e[tt]():yield e},at=_e.ALPHABET.ALPHA_DIGIT+"-_",it="function"==typeof TextEncoder?new TextEncoder:new He.TextEncoder,rt="\r\n",ot=it.encode(rt);class st{constructor(e,t){const{escapeName:n}=this.constructor,a=X.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!a&&t.name?`; filename="${n(t.name)}"`:""}${rt}`;a?t=it.encode(String(t).replace(/\r?\n|\r\n?/g,rt)):i+=`Content-Type: ${t.type||"application/octet-stream"}${rt}`,this.headers=it.encode(i+rt),this.contentLength=a?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;X.isTypedArray(e)?yield e:yield*nt(e),yield ot}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e]))}}class ct extends Xe.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){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,t)}this.__transform(e,t,n)}}const pt=ct,lt=(e,t)=>X.isAsyncFn(e)?function(...n){const a=n.pop();e.apply(this,n).then(e=>{try{t?a(null,...t(e)):a(null,e)}catch(e){a(e)}},a)}:e,ut=(e,t,n=3)=>{let a=0;const i=function(e,t){e=e||10;const n=new Array(e),a=new Array(e);let i,r=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=a[o];i||(i=c),n[r]=s,a[r]=c;let l=o,u=0;for(;l!==r;)u+=n[l++],l%=e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-i<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,a,i=0,r=1e3/t;const o=(t,r=Date.now())=>{i=r,n=null,a&&(clearTimeout(a),a=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=r?o(e,t):(n=e,a||(a=setTimeout(()=>{a=null,o(n)},r-s)))},()=>n&&o(n)]}(n=>{const r=n.loaded,o=n.lengthComputable?n.total:void 0,s=r-a,c=i(s);a=r,e({loaded:r,total:o,progress:o?r/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&r<=o?(o-r)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},dt=(e,t)=>{const n=null!=e;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},mt=e=>(...t)=>X.asap(()=>e(...t)),ft={flush:ze.constants.Z_SYNC_FLUSH,finishFlush:ze.constants.Z_SYNC_FLUSH},ht={flush:ze.constants.BROTLI_OPERATION_FLUSH,finishFlush:ze.constants.BROTLI_OPERATION_FLUSH},vt=X.isFunction(ze.createBrotliDecompress),{http:yt,https:xt}=Be,gt=/https:?/,bt=_e.protocols.map(e=>e+":"),wt=(e,[t,n])=>(e.on("end",n).on("error",n),t),Et=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){t=Object.assign({sessionTimeout:1e3},t);let n=this.sessions[e];if(n){let e=n.length;for(let a=0;a<e;a++){const[e,i]=n[a];if(!e.destroyed&&!e.closed&&He.isDeepStrictEqual(i,t))return e}}const a=De.connect(e,t);let i;const r=()=>{if(i)return;i=!0;let t=n,r=t.length,o=r;for(;o--;)if(t[o][0]===a)return void(1===r?delete this.sessions[e]:t.splice(o,1))},o=a.request,{sessionTimeout:s}=t;if(null!=s){let e,t=0;a.request=function(){const n=o.apply(this,arguments);return t++,e&&(clearTimeout(e),e=null),n.once("close",()=>{--t||(e=setTimeout(()=>{e=null,r()},s))}),n}}a.once("close",r);let c=[a,t];return n?n.push(c):n=this.sessions[e]=[c],a}};function St(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function _t(e,t,n){let a=t;if(!a&&!1!==a){const e=Fe.getProxyForUrl(n);e&&(a=new URL(e))}if(a){if(a.username&&(a.auth=(a.username||"")+":"+(a.password||"")),a.auth){if(Boolean(a.auth.username||a.auth.password))a.auth=(a.auth.username||"")+":"+(a.auth.password||"");else if("object"==typeof a.auth)throw new Z("Invalid proxy authorization",Z.ERR_BAD_OPTION,{proxy:a});const t=Buffer.from(a.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=a.hostname||a.host;e.hostname=t,e.host=t,e.port=a.port,e.path=n,a.protocol&&(e.protocol=a.protocol.includes(":")?a.protocol:`${a.protocol}:`)}e.beforeRedirects.proxy=function(e){_t(e,t,e.href)}}const kt="undefined"!=typeof process&&"process"===X.kindOf(process),At=(e,t)=>(({address:e,family:t})=>{if(!X.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(X.isObject(e)?e:{address:e,family:t}),Ot={request(e,t){const n=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:a,headers:i}=e,r=Et.getSession(n,a),{HTTP2_HEADER_SCHEME:o,HTTP2_HEADER_METHOD:s,HTTP2_HEADER_PATH:c,HTTP2_HEADER_STATUS:p}=De.constants,l={[o]:e.protocol.replace(":",""),[s]:e.method,[c]:e.path};X.forEach(i,(e,t)=>{":"!==t.charAt(0)&&(l[t]=e)});const u=r.request(l);return u.once("response",e=>{const n=u,a=(e=Object.assign({},e))[p];delete e[p],n.headers=e,n.statusCode=+a,t(n)}),u}},jt=kt&&function(e){return t=async function(t,n,a){let{data:i,lookup:r,family:o,httpVersion:s=1,http2Options:c}=e;const{responseType:p,responseEncoding:l}=e,u=e.method.toUpperCase();let d,m,f=!1;if(s=+s,Number.isNaN(s))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==s&&2!==s)throw TypeError(`Unsupported protocol version '${s}'`);const h=2===s;if(r){const e=lt(r,e=>X.isArray(e)?e:[e]);r=(t,n,a)=>{e(t,n,(e,t,i)=>{if(e)return a(e);const r=X.isArray(t)?t.map(e=>At(e)):[At(t,i)];n.all?a(e,r):a(e,r[0].address,r[0].family)})}}const v=new et.EventEmitter;function y(t){try{v.emit("abort",!t||t.type?new Le(null,e,m):t)}catch(e){console.warn("emit error",e)}}v.once("abort",n);const x=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),v.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y))),a((e,t)=>{if(d=!0,t)return f=!0,void x();const{data:n}=e;if(n instanceof Xe.Readable||n instanceof Xe.Duplex){const e=Xe.finished(n,()=>{e(),x()})}else x()});const g=$e(e.baseURL,e.url,e.allowAbsoluteUrls),b=new URL(g,_e.hasBrowserEnv?_e.origin:void 0),w=b.protocol||bt[0];if("data:"===w){if(e.maxContentLength>-1&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),a=e.slice(t+1);if(/;base64/i.test(n)){let e=a.length;const t=a.length;for(let n=0;n<t;n++)if(37===a.charCodeAt(n)&&n+2<t){const t=a.charCodeAt(n+1),i=a.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102)&&(e-=2,n+=2)}let n=0,i=t-1;const r=e=>e>=2&&37===a.charCodeAt(e-2)&&51===a.charCodeAt(e-1)&&(68===a.charCodeAt(e)||100===a.charCodeAt(e));i>=0&&(61===a.charCodeAt(i)?(n++,i--):r(i)&&(n++,i-=3)),1===n&&i>=0&&(61===a.charCodeAt(i)||r(i))&&n++;const o=3*Math.floor(e/4)-(n||0);return o>0?o:0}return Buffer.byteLength(a,"utf8")}(String(e.url||g||""))>e.maxContentLength)return n(new Z("maxContentLength size of "+e.maxContentLength+" exceeded",Z.ERR_BAD_RESPONSE,e));let a;if("GET"!==u)return We(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{a=function(e,t,n){const a=n&&n.Blob||_e.classes.Blob,i=Ge(e);if(void 0===t&&a&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=Ve.exec(e);if(!n)throw new Z("Invalid URL",Z.ERR_INVALID_URL);const r=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!a)throw new Z("Blob is not supported",Z.ERR_NOT_SUPPORT);return new a([c],{type:r})}return c}throw new Z("Unsupported protocol "+i,Z.ERR_NOT_SUPPORT)}(e.url,"blob"===p,{Blob:e.env&&e.env.Blob})}catch(t){throw Z.from(t,Z.ERR_BAD_REQUEST,e)}return"text"===p?(a=a.toString(l),l&&"utf8"!==l||(a=X.stripBOM(a))):"stream"===p&&(a=Xe.Readable.from(a)),We(t,n,{data:a,status:200,statusText:"OK",headers:new Ne,config:e})}if(-1===bt.indexOf(w))return n(new Z("Unsupported protocol "+w,Z.ERR_BAD_REQUEST,e));const E=Ne.from(e.headers).normalize();E.set("User-Agent","axios/"+qe,!1);const{onUploadProgress:S,onDownloadProgress:_}=e,k=e.maxRate;let A,O;if(X.isSpecCompliantForm(i)){const e=E.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:a="form-data-boundary",size:i=25,boundary:r=a+"-"+_e.generateString(i,at)}=n||{};if(!X.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const o=it.encode("--"+r+rt),s=it.encode("--"+r+"--"+rt);let c=s.byteLength;const p=Array.from(e.entries()).map(([e,t])=>{const n=new st(e,t);return c+=n.size,n});c+=o.byteLength*p.length,c=X.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),Xe.Readable.from(async function*(){for(const e of p)yield o,yield*e.encode();yield s}())})(i,e=>{E.set(e)},{tag:`axios-${qe}-boundary`,boundary:e&&e[1]||void 0})}else if(X.isFormData(i)&&X.isFunction(i.getHeaders)){if(E.set(i.getHeaders()),!E.hasContentLength())try{const e=await He.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&E.setContentLength(e)}catch(e){}}else if(X.isBlob(i)||X.isFile(i))i.size&&E.setContentType(i.type||"application/octet-stream"),E.setContentLength(i.size||0),i=Xe.Readable.from(nt(i));else if(i&&!X.isStream(i)){if(Buffer.isBuffer(i));else if(X.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!X.isString(i))return n(new Z("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",Z.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(E.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new Z("Request body larger than maxBodyLength limit",Z.ERR_BAD_REQUEST,e))}const j=X.toFiniteNumber(E.getContentLength());let P,T;X.isArray(k)?(A=k[0],O=k[1]):A=O=k,i&&(S||A)&&(X.isStream(i)||(i=Xe.Readable.from(i,{objectMode:!1})),i=Xe.pipeline([i,new Qe({maxRate:X.toFiniteNumber(A)})],X.noop),S&&i.on("progress",wt(i,dt(j,ut(mt(S),!1,3))))),e.auth&&(P=(e.auth.username||"")+":"+(e.auth.password||"")),!P&&b.username&&(P=b.username+":"+b.password),P&&E.delete("authorization");try{T=le(b.pathname+b.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const a=new Error(t.message);return a.config=e,a.url=e.url,a.exists=!0,n(a)}E.set("Accept-Encoding","gzip, compress, deflate"+(vt?", br":""),!1);const R={path:T,method:u,headers:E.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:P,protocol:w,family:o,beforeRedirect:St,beforeRedirects:{},http2Options:c};let I;!X.isUndefined(r)&&(R.lookup=r),e.socketPath?R.socketPath=e.socketPath:(R.hostname=b.hostname.startsWith("[")?b.hostname.slice(1,-1):b.hostname,R.port=b.port,_t(R,e.proxy,w+"//"+b.hostname+(b.port?":"+b.port:"")+R.path));const C=gt.test(R.protocol);if(R.agent=C?e.httpsAgent:e.httpAgent,h?I=Ot:e.transport?I=e.transport:0===e.maxRedirects?I=C?Me:Ue:(e.maxRedirects&&(R.maxRedirects=e.maxRedirects),e.beforeRedirect&&(R.beforeRedirects.config=e.beforeRedirect),I=C?xt:yt),e.maxBodyLength>-1?R.maxBodyLength=e.maxBodyLength:R.maxBodyLength=1/0,e.insecureHTTPParser&&(R.insecureHTTPParser=e.insecureHTTPParser),m=I.request(R,function(a){if(m.destroyed)return;const i=[a],r=X.toFiniteNumber(a.headers["content-length"]);if(_||O){const e=new Qe({maxRate:X.toFiniteNumber(O)});_&&e.on("progress",wt(e,dt(r,ut(mt(_),!0,3)))),i.push(e)}let o=a;const s=a.req||m;if(!1!==e.decompress&&a.headers["content-encoding"])switch("HEAD"!==u&&204!==a.statusCode||delete a.headers["content-encoding"],(a.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(ze.createUnzip(ft)),delete a.headers["content-encoding"];break;case"deflate":i.push(new pt),i.push(ze.createUnzip(ft)),delete a.headers["content-encoding"];break;case"br":vt&&(i.push(ze.createBrotliDecompress(ht)),delete a.headers["content-encoding"])}o=i.length>1?Xe.pipeline(i,X.noop):i[0];const c={status:a.statusCode,statusText:a.statusMessage,headers:new Ne(a.headers),config:e,request:s};if("stream"===p)c.data=o,We(t,n,c);else{const a=[];let i=0;o.on("data",function(t){a.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(f=!0,o.destroy(),y(new Z("maxContentLength size of "+e.maxContentLength+" exceeded",Z.ERR_BAD_RESPONSE,e,s)))}),o.on("aborted",function(){if(f)return;const t=new Z("stream has been aborted",Z.ERR_BAD_RESPONSE,e,s);o.destroy(t),n(t)}),o.on("error",function(t){m.destroyed||n(Z.from(t,null,e,s))}),o.on("end",function(){try{let e=1===a.length?a[0]:Buffer.concat(a);"arraybuffer"!==p&&(e=e.toString(l),l&&"utf8"!==l||(e=X.stripBOM(e))),c.data=e}catch(t){return n(Z.from(t,null,e,c.request,c))}We(t,n,c)})}v.once("abort",e=>{o.destroyed||(o.emit("error",e),o.destroy())})}),v.once("abort",e=>{m.close?m.close():m.destroy(e)}),m.on("error",function(t){n(Z.from(t,null,e,m))}),m.on("socket",function(e){e.setKeepAlive(!0,6e4)}),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void y(new Z("error trying to parse `config.timeout` to int",Z.ERR_BAD_OPTION_VALUE,e,m));m.setTimeout(t,function(){if(d)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||de;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),y(new Z(t,n.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,m))})}else m.setTimeout(0);if(X.isStream(i)){let t=!1,n=!1;i.on("end",()=>{t=!0}),i.once("error",e=>{n=!0,m.destroy(e)}),i.on("close",()=>{t||n||y(new Le("Request stream has been aborted",e,m))}),i.pipe(m)}else i&&m.write(i),m.end()},new Promise((e,n)=>{let a,i;const r=(e,t)=>{i||(i=!0,a&&a(e,t))},o=e=>{r(e,!0),n(e)};t(t=>{r(t),e(t)},o,e=>a=e).catch(o)});var t},Pt=_e.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_e.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_e.origin),_e.navigator&&/(msie|trident)/i.test(_e.navigator.userAgent)):()=>!0,Tt=_e.hasStandardBrowserEnv?{write(e,t,n,a,i,r,o){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];X.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),X.isString(a)&&s.push(`path=${a}`),X.isString(i)&&s.push(`domain=${i}`),!0===r&&s.push("secure"),X.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},Rt=e=>e instanceof Ne?{...e}:e;function It(e,t){t=t||{};const n={};function a(e,t,n,a){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:a},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function i(e,t,n,i){return X.isUndefined(t)?X.isUndefined(e)?void 0:a(void 0,e,0,i):a(e,t,0,i)}function r(e,t){if(!X.isUndefined(t))return a(void 0,t)}function o(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function s(n,i,r){return r in t?a(n,i):r in e?a(void 0,n):void 0}const c={url:r,method:r,data:r,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:s,headers:(e,t,n)=>i(Rt(e),Rt(t),0,!0)};return X.forEach(Object.keys({...e,...t}),function(a){if("__proto__"===a||"constructor"===a||"prototype"===a)return;const r=X.hasOwnProp(c,a)?c[a]:i,o=r(e[a],t[a],a);X.isUndefined(o)&&r!==s||(n[a]=o)}),n}const Ct=e=>{const t=It({},e);let{data:n,withXSRFToken:a,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:s}=t;if(t.headers=o=Ne.from(o),t.url=le($e(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),X.isFormData(n))if(_e.hasStandardBrowserEnv||_e.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(X.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}if(_e.hasStandardBrowserEnv&&(a&&X.isFunction(a)&&(a=a(t)),a||!1!==a&&Pt(t.url))){const e=i&&r&&Tt.read(r);e&&o.set(i,e)}return t},Nt="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const a=Ct(e);let i=a.data;const r=Ne.from(a.headers).normalize();let o,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=a;function f(){p&&p(),l&&l(),a.cancelToken&&a.cancelToken.unsubscribe(o),a.signal&&a.signal.removeEventListener("abort",o)}let h=new XMLHttpRequest;function v(){if(!h)return;const a=Ne.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());We(function(e){t(e),f()},function(e){n(e),f()},{data:u&&"text"!==u&&"json"!==u?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:a,config:e,request:h}),h=null}h.open(a.method.toUpperCase(),a.url,!0),h.timeout=a.timeout,"onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(v)},h.onabort=function(){h&&(n(new Z("Request aborted",Z.ECONNABORTED,e,h)),h=null)},h.onerror=function(t){const a=t&&t.message?t.message:"Network Error",i=new Z(a,Z.ERR_NETWORK,e,h);i.event=t||null,n(i),h=null},h.ontimeout=function(){let t=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const i=a.transitional||de;a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(new Z(t,i.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,h)),h=null},void 0===i&&r.setContentType(null),"setRequestHeader"in h&&X.forEach(r.toJSON(),function(e,t){h.setRequestHeader(t,e)}),X.isUndefined(a.withCredentials)||(h.withCredentials=!!a.withCredentials),u&&"json"!==u&&(h.responseType=a.responseType),m&&([c,l]=ut(m,!0),h.addEventListener("progress",c)),d&&h.upload&&([s,p]=ut(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(o=t=>{h&&(n(!t||t.type?new Le(null,e,h):t),h.abort(),h=null)},a.cancelToken&&a.cancelToken.subscribe(o),a.signal&&(a.signal.aborted?o():a.signal.addEventListener("abort",o)));const y=Ge(a.url);y&&-1===_e.protocols.indexOf(y)?n(new Z("Unsupported protocol "+y+":",Z.ERR_BAD_REQUEST,e)):h.send(i||null)})},Jt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,a=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;a.abort(t instanceof Z?t:new Le(t instanceof Error?t.message:t))}};let r=t&&setTimeout(()=>{r=null,i(new Z(`timeout of ${t}ms exceeded`,Z.ETIMEDOUT))},t);const o=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=a;return s.unsubscribe=()=>X.asap(o),s}},Kt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let a,i=0;for(;i<n;)a=i+t,yield e.slice(i,a),i=a},Lt=(e,t,n,a)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Kt(n,t)}(e,t);let r,o=0,s=e=>{r||(r=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await i.next();if(t)return s(),void e.close();let r=a.byteLength;if(n){let e=o+=r;n(e)}e.enqueue(new Uint8Array(a))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},{isFunction:Wt}=X,$t=(({Request:e,Response:t})=>({Request:e,Response:t}))(X.global),{ReadableStream:Ft,TextEncoder:Ut}=X.global,Mt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Dt=e=>{e=X.merge.call({skipUndefined:!0},$t,e);const{fetch:t,Request:n,Response:a}=e,i=t?Wt(t):"function"==typeof fetch,r=Wt(n),o=Wt(a);if(!i)return!1;const s=i&&Wt(Ft),c=i&&("function"==typeof Ut?(p=new Ut,e=>p.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var p;const l=r&&s&&Mt(()=>{let e=!1;const t=new n(_e.origin,{body:new Ft,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),u=o&&s&&Mt(()=>X.isReadableStream(new a("").body)),d={stream:u&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!d[e]&&(d[e]=(t,n)=>{let a=t&&t[e];if(a)return a.call(t);throw new Z(`Response type '${e}' is not supported`,Z.ERR_NOT_SUPPORT,n)})});return async e=>{let{url:i,method:o,data:s,signal:p,cancelToken:m,timeout:f,onDownloadProgress:h,onUploadProgress:v,responseType:y,headers:x,withCredentials:g="same-origin",fetchOptions:b}=Ct(e),w=t||fetch;y=y?(y+"").toLowerCase():"text";let E=Jt([p,m&&m.toAbortSignal()],f),S=null;const _=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let k;try{if(v&&l&&"get"!==o&&"head"!==o&&0!==(k=await(async(e,t)=>{const a=X.toFiniteNumber(e.getContentLength());return null==a?(async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){const t=new n(_e.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e)?(await c(e)).byteLength:void 0)})(t):a})(x,s))){let e,t=new n(i,{method:"POST",body:s,duplex:"half"});if(X.isFormData(s)&&(e=t.headers.get("content-type"))&&x.setContentType(e),t.body){const[e,n]=dt(k,ut(mt(v)));s=Lt(t.body,65536,e,n)}}X.isString(g)||(g=g?"include":"omit");const t=r&&"credentials"in n.prototype,p={...b,signal:E,method:o.toUpperCase(),headers:x.normalize().toJSON(),body:s,duplex:"half",credentials:t?g:void 0};S=r&&new n(i,p);let m=await(r?w(S,b):w(i,p));const f=u&&("stream"===y||"response"===y);if(u&&(h||f&&_)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=m[t]});const t=X.toFiniteNumber(m.headers.get("content-length")),[n,i]=h&&dt(t,ut(mt(h),!0))||[];m=new a(Lt(m.body,65536,n,()=>{i&&i(),_&&_()}),e)}y=y||"text";let A=await d[X.findKey(d,y)||"text"](m,e);return!f&&_&&_(),await new Promise((t,n)=>{We(t,n,{data:A,headers:Ne.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:S})})}catch(t){if(_&&_(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,S,t&&t.response),{cause:t.cause||t});throw Z.from(t,t&&t.code,e,S,t&&t.response)}}},Ht=new Map,Bt=e=>{let t=e&&e.env||{};const{fetch:n,Request:a,Response:i}=t,r=[a,i,n];let o,s,c=r.length,p=Ht;for(;c--;)o=r[c],s=p.get(o),void 0===s&&p.set(o,s=c?new Map:Dt(t)),p=s;return s},zt=(Bt(),{http:jt,xhr:Nt,fetch:{get:Bt}});X.forEach(zt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const qt=e=>`- ${e}`,Gt=e=>X.isFunction(e)||null===e||!1===e,Vt=function(e,t){e=X.isArray(e)?e:[e];const{length:n}=e;let a,i;const r={};for(let o=0;o<n;o++){let n;if(a=e[o],i=a,!Gt(a)&&(i=zt[(n=String(a)).toLowerCase()],void 0===i))throw new Z(`Unknown adapter '${n}'`);if(i&&(X.isFunction(i)||(i=i.get(t))))break;r[n||"#"+o]=i}if(!i){const e=Object.entries(r).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(qt).join("\n"):" "+qt(e[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i};function Xt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Le(null,e)}function Yt(e){return Xt(e),e.headers=Ne.from(e.headers),e.data=Je.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vt(e.adapter||Oe.adapter,e)(e).then(function(t){return Xt(e),t.data=Je.call(e,e.transformResponse,t),t.headers=Ne.from(t.headers),t},function(t){return Ke(t)||(Xt(e),t&&t.response&&(t.response.data=Je.call(e,e.transformResponse,t.response),t.response.headers=Ne.from(t.response.headers))),Promise.reject(t)})}const Zt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Qt={};Zt.transitional=function(e,t,n){function a(e,t){return"[Axios v"+qe+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,r)=>{if(!1===e)throw new Z(a(i," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&&!Qt[i]&&(Qt[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,r)}},Zt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const en={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let i=a.length;for(;i-- >0;){const r=a[i],o=t[r];if(o){const t=e[r],n=void 0===t||o(t,r,e);if(!0!==n)throw new Z("option "+r+" must be "+n,Z.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Z("Unknown option "+r,Z.ERR_BAD_OPTION)}},validators:Zt},tn=en.validators;class nn{constructor(e){this.defaults=e||{},this.interceptors={request:new ue,response:new ue}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=It(this.defaults,t);const{transitional:n,paramsSerializer:a,headers:i}=t;void 0!==n&&en.assertOptions(n,{silentJSONParsing:tn.transitional(tn.boolean),forcedJSONParsing:tn.transitional(tn.boolean),clarifyTimeoutError:tn.transitional(tn.boolean),legacyInterceptorReqResOrdering:tn.transitional(tn.boolean)},!1),null!=a&&(X.isFunction(a)?t.paramsSerializer={serialize:a}:en.assertOptions(a,{encode:tn.function,serialize:tn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),en.assertOptions(t,{baseUrl:tn.spelling("baseURL"),withXsrfToken:tn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=i&&X.merge(i.common,i[t.method]);i&&X.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=Ne.concat(r,i);const o=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||de;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});const c=[];let p;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0;if(!s){const e=[Yt.bind(this),void 0];for(e.unshift(...o),e.push(...c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=Yt.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return le($e((e=It(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(e){nn.prototype[e]=function(t,n){return this.request(It(n||{},{method:e,url:t,data:(n||{}).data}))}}),X.forEach(["post","put","patch"],function(e){function t(t){return function(n,a,i){return this.request(It(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))}}nn.prototype[e]=t(),nn.prototype[e+"Form"]=t(!0)});const an=nn;class rn{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const a=new Promise(e=>{n.subscribe(e),t=e}).then(e);return a.cancel=function(){n.unsubscribe(t)},a},e(function(e,a,i){n.reason||(n.reason=new Le(e,a,i),t(n.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 t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new rn(function(t){e=t}),cancel:e}}}const on=rn,sn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(sn).forEach(([e,t])=>{sn[t]=e});const cn=sn,pn=function e(t){const n=new an(t),a=i(an.prototype.request,n);return X.extend(a,an.prototype,n,{allOwnKeys:!0}),X.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e(It(t,n))},a}(Oe);pn.Axios=an,pn.CanceledError=Le,pn.CancelToken=on,pn.isCancel=Ke,pn.VERSION=qe,pn.toFormData=ie,pn.AxiosError=Z,pn.Cancel=pn.CanceledError,pn.all=function(e){return Promise.all(e)},pn.spread=function(e){return function(t){return e.apply(null,t)}},pn.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},pn.mergeConfig=It,pn.AxiosHeaders=Ne,pn.formToJSON=e=>ke(X.isHTMLForm(e)?new FormData(e):e),pn.getAdapter=Vt,pn.HttpStatusCode=cn,pn.default=pn;const ln=pn.create({httpsAgent:new t.Agent({keepAlive:!0})}),un=require("node:fs"),dn=require("node:path"),mn=require("node:url");var fn,hn=n(8232);!function(e){e[e.none=0]="none",e[e.error=10]="error",e[e.warn=20]="warn",e[e.info=30]="info",e[e.debug=40]="debug"}(fn||(fn={}));class vn{logLevel;constructor(e){this.logLevel=e}jsonify(e){return e.map(e=>{if("object"==typeof e)try{return JSON.stringify(e)}catch{return e}return e})}info(...e){this.logLevel>=fn.info&&console.log(...this.jsonify(e))}warn(...e){this.logLevel>=fn.warn&&console.warn(...this.jsonify(e))}error(...e){this.logLevel>=fn.error&&console.error(...this.jsonify(e))}debug(...e){this.logLevel>=fn.debug&&console.trace(...this.jsonify(e))}}const yn=(0,mn.fileURLToPath)("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),xn=dn.dirname(yn);function gn(e,t){return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:e}],...t?.cookies?{"set-cookie":t.cookies.map(e=>({key:"set-cookie",value:e}))}:{}}}}function bn(e){const t={...e,region:process.env.AWS_REGION};return'<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/> </head> <body> <h1>${title}</h1> <p>${message}</p> <p> ${details} [log region: ${region}] </p> <p> <a href="${linkHref}">${linkText}</a> </p> </body> </html> '.replace(/\${([^}]*)}/g,(e,n)=>t[n]||"")}function wn(e,t){return-1===t.toLowerCase().indexOf("domain")?`${t}; Domain=.${e}`:t}function En(e){const t=function(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(t,"base64").toString())}(e.tokens.idToken),n=t["cognito:username"],a=`CognitoIdentityServiceProvider.${e.clientId}`,i=`${a}.${n}.idToken`,r=`${a}.${n}.accessToken`,o=`${a}.${n}.refreshToken`,s=`${a}.LastAuthUser`,c=`${a}.${n}.tokenScopesString`,p=e.oauthScopes.join(" "),l=`${a}.${n}.userData`,u=JSON.stringify({UserAttributes:[{Name:"sub",Value:t.sub},{Name:"email",Value:t.email}],Username:n}),d={[i]:`${e.tokens.idToken}; ${wn(e.domainName,e.cookieSettings.idToken)}`,[r]:`${e.tokens.accessToken}; ${wn(e.domainName,e.cookieSettings.accessToken)}`,[o]:`${e.tokens.refreshToken}; ${wn(e.domainName,e.cookieSettings.refreshToken)}`,[s]:`${n}; ${wn(e.domainName,e.cookieSettings.idToken)}`,[c]:`${p}; ${wn(e.domainName,e.cookieSettings.accessToken)}`,[l]:`${encodeURIComponent(u)}; ${wn(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${wn(e.domainName,e.cookieSettings.accessToken)}`};return"signOut"===e.event?Object.keys(d).forEach(e=>d[e]=Sn(d[e])):"refreshFailed"===e.event&&(d[o]=Sn(d[o])),["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach(e=>{d[e]=Sn(d[e])}),Object.entries(d).map(([e,t])=>`${e}=${t}`)}function Sn(e=""){const t=e.split(";").map(e=>e.trim()).filter(e=>!e.toLowerCase().startsWith("max-age")).filter(e=>!e.toLowerCase().startsWith("expires")),n=`Expires=${new Date(0).toUTCString()}`;return["",...t.slice(1),n].join("; ")}n(4040),n(4601);const _n=function(){let e;return async t=>{e||(e=function(){const e=process.env.LAMBDA_TASK_ROOT||xn,t=dn.join(e,"config.json");console.log("Loading config from",t);const n=JSON.parse((0,un.readFileSync)(t,"utf-8")),a=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(n.userPoolId)[1]}.amazonaws.com/${n.userPoolId}`,i=`${a}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt((0,hn.qg)(n.cookieSettings.nonce.toLowerCase())["max-age"],10)||86400,...n,tokenIssuer:a,tokenJwksUri:i,logger:new vn(fn[n.logLevel])}}()),e.logger.debug("Handling event:",t);const n=function(e,t){if(!t)throw new Error("Expected response value");return{...t,headers:{...t.headers??{},...(n=e.httpHeaders,Object.entries(n).reduce((e,[t,n])=>Object.assign(e,{[t.toLowerCase()]:[{key:t,value:n}]}),{}))}};var n}(e,await(async(e,t)=>{const n=t.Records[0].cf.request,a=n.headers.host[0].value;let i=`https://${a}`;function r(e){return{body:bn(t={title:"Refresh issue",message:"We can't refresh your sign-in because of a technical problem.",details:e,linkHref:i,linkText:"Try again",statusCode:"400"}),status:t.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}};var t}const{requestedUri:o,nonce:s}=Object.fromEntries(new URLSearchParams(n.querystring).entries());i+=o??"";const{idToken:c,accessToken:p,refreshToken:l,nonce:u}=function(e,t){const n=function(e){return e.cookie?e.cookie.reduce((e,t)=>({...e,...(0,hn.qg)(t.value)}),{}):{}}(e);if(!n)return{};const a=`CognitoIdentityServiceProvider.${t}`,i=n[`${a}.LastAuthUser`];return{tokenUserName:i,idToken:n[`${a}.${i??""}.idToken`],accessToken:n[`${a}.${i??""}.accessToken`],refreshToken:n[`${a}.${i??""}.refreshToken`],scopes:n[`${a}.${i??""}.tokenScopesString`],nonce:n["spa-auth-edge-nonce"],nonceHmac:n["spa-auth-edge-nonce-hmac"],pkce:n["spa-auth-edge-pkce"]}}(n.headers,e.clientId);if(!c||!p||!l)return r("Some of idToken, accessToken and/or refreshToken was not found");try{!function(e,t,n,a,i){if(!t)throw new Error("Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF).");if(e!==t)throw new Error("Nonce mismatch");Object.entries({idToken:n,accessToken:a,refreshToken:i}).forEach(([e,t])=>{if(!t)throw new Error(`Missing ${e}`)})}(s,u,c,p,l)}catch(e){return r(`Failed to refresh tokens: ${e}`)}const d={"Content-Type":"application/x-www-form-urlencoded"};if(""!==e.clientSecret){const t=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");d.Authorization=`Basic ${t}`}let m;try{m=await async function(e,t,n,a){let i=0;for(;;){++i;try{return await ln.post(e,t,n)}catch(t){if(a.debug(`HTTP POST to ${e} failed (attempt ${i}):`),a.debug(t.response?.data||t),i>=5)throw a.error(`No success after ${i} attempts, seizing further attempts`),t;i>=2&&(a.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise(e=>setTimeout(e,25*(2**i+Math.random()*i))),a.debug("Done waiting, will try HTTP POST again now"))}}}(`https://${e.cognitoAuthDomain}/oauth2/token`,new URLSearchParams({grant_type:"refresh_token",client_id:e.clientId,refresh_token:l}).toString(),{headers:d},e.logger)}catch(t){return gn(i,{cookies:En({event:"refreshFailed",tokens:{idToken:c,accessToken:p,refreshToken:l},domainName:a,...e})})}const f={idToken:m.data.id_token,accessToken:m.data.access_token,refreshToken:l};return gn(i,{cookies:En({event:"newTokens",tokens:f,domainName:a,...e})})})(e,t));return e.logger.debug("Returning response:",n),n}}()})();var i=exports;for(var r in a)i[r]=a[r];a.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
1
|
+
var Q4=Object.create;var{getPrototypeOf:i6,defineProperty:ea,getOwnPropertyNames:id,getOwnPropertyDescriptor:n6}=Object,nd=Object.prototype.hasOwnProperty;function cd(i){return this[i]}var c6,a6,U=(i,n,c)=>{var a=i!=null&&typeof i==="object";if(a){var e=n?c6??=new WeakMap:a6??=new WeakMap,s=e.get(i);if(s)return s}c=i!=null?Q4(i6(i)):{};let p=n||!i||!i.__esModule?ea(c,"default",{value:i,enumerable:!0}):c;for(let t of id(i))if(!nd.call(p,t))ea(p,t,{get:cd.bind(i,t),enumerable:!0});if(a)e.set(i,p);return p},e6=(i)=>{var n=(Qr??=new WeakMap).get(i),c;if(n)return n;if(n=ea({},"__esModule",{value:!0}),i&&typeof i==="object"||typeof i==="function"){for(var a of id(i))if(!nd.call(n,a))ea(n,a,{get:cd.bind(i,a),enumerable:!(c=n6(i,a))||c.enumerable})}return Qr.set(i,n),n},Qr,d=(i,n)=>()=>(n||i((n={exports:{}}).exports,n),n.exports);var s6=(i)=>i;function p6(i,n){this[i]=s6.bind(null,n)}var ad=(i,n)=>{for(var c in n)ea(i,c,{get:n[c],enumerable:!0,configurable:!0,set:p6.bind(n,c)})};var vd=d((qH,fd)=>{var xd=require("stream").Stream,B6=require("util");fd.exports=Li;function Li(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}B6.inherits(Li,xd);Li.create=function(i,n){var c=new this;n=n||{};for(var a in n)c[a]=n[a];c.source=i;var e=i.emit;if(i.emit=function(){return c._handleEmit(arguments),e.apply(i,arguments)},i.on("error",function(){}),c.pauseStream)i.pause();return c};Object.defineProperty(Li.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Li.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Li.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};Li.prototype.pause=function(){this.source.pause()};Li.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(i){this.emit.apply(this,i)}.bind(this)),this._bufferedEvents=[]};Li.prototype.pipe=function(){var i=xd.prototype.pipe.apply(this,arguments);return this.resume(),i};Li.prototype._handleEmit=function(i){if(this._released){this.emit.apply(this,i);return}if(i[0]==="data")this.dataSize+=i[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(i)};Li.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(i))}});var qd=d((_H,wd)=>{var k6=require("util"),bd=require("stream").Stream,hd=vd();wd.exports=T;function T(){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}k6.inherits(T,bd);T.create=function(i){var n=new this;i=i||{};for(var c in i)n[c]=i[c];return n};T.isStreamLike=function(i){return typeof i!=="function"&&typeof i!=="string"&&typeof i!=="boolean"&&typeof i!=="number"&&!Buffer.isBuffer(i)};T.prototype.append=function(i){var n=T.isStreamLike(i);if(n){if(!(i instanceof hd)){var c=hd.create(i,{maxDataSize:1/0,pauseStream:this.pauseStreams});i.on("data",this._checkDataSize.bind(this)),i=c}if(this._handleErrors(i),this.pauseStreams)i.pause()}return this._streams.push(i),this};T.prototype.pipe=function(i,n){return bd.prototype.pipe.call(this,i,n),this.resume(),i};T.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};T.prototype._realGetNext=function(){var i=this._streams.shift();if(typeof i>"u"){this.end();return}if(typeof i!=="function"){this._pipeNext(i);return}var n=i;n(function(c){var a=T.isStreamLike(c);if(a)c.on("data",this._checkDataSize.bind(this)),this._handleErrors(c);this._pipeNext(c)}.bind(this))};T.prototype._pipeNext=function(i){this._currentStream=i;var n=T.isStreamLike(i);if(n){i.on("end",this._getNext.bind(this)),i.pipe(this,{end:!1});return}var c=i;this.write(c),this._getNext()};T.prototype._handleErrors=function(i){var n=this;i.on("error",function(c){n._emitError(c)})};T.prototype.write=function(i){this.emit("data",i)};T.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};T.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};T.prototype.end=function(){this._reset(),this.emit("end")};T.prototype.destroy=function(){this._reset(),this.emit("close")};T.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};T.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(i))};T.prototype._updateDataSize=function(){this.dataSize=0;var i=this;if(this._streams.forEach(function(n){if(!n.dataSize)return;i.dataSize+=n.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};T.prototype._emitError=function(i){this._reset(),this.emit("error",i)}});var _d=d((WH,F6)=>{F6.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var Kd=d((KH,Wd)=>{/*!
|
|
2
|
+
* mime-db
|
|
3
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
4
|
+
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
5
|
+
* MIT Licensed
|
|
6
|
+
*/Wd.exports=_d()});var zd=d((Wi)=>{/*!
|
|
7
|
+
* mime-types
|
|
8
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
9
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
10
|
+
* MIT Licensed
|
|
11
|
+
*/var fe=Kd(),U6=require("path").extname,Jd=/^\s*([^;\s]*)(?:;|\s|$)/,Q6=/^text\//i;Wi.charset=$d;Wi.charsets={lookup:$d};Wi.contentType=i8;Wi.extension=n8;Wi.extensions=Object.create(null);Wi.lookup=c8;Wi.types=Object.create(null);a8(Wi.extensions,Wi.types);function $d(i){if(!i||typeof i!=="string")return!1;var n=Jd.exec(i),c=n&&fe[n[1].toLowerCase()];if(c&&c.charset)return c.charset;if(n&&Q6.test(n[1]))return"UTF-8";return!1}function i8(i){if(!i||typeof i!=="string")return!1;var n=i.indexOf("/")===-1?Wi.lookup(i):i;if(!n)return!1;if(n.indexOf("charset")===-1){var c=Wi.charset(n);if(c)n+="; charset="+c.toLowerCase()}return n}function n8(i){if(!i||typeof i!=="string")return!1;var n=Jd.exec(i),c=n&&Wi.extensions[n[1].toLowerCase()];if(!c||!c.length)return!1;return c[0]}function c8(i){if(!i||typeof i!=="string")return!1;var n=U6("x."+i).toLowerCase().substr(1);if(!n)return!1;return Wi.types[n]||!1}function a8(i,n){var c=["nginx","apache",void 0,"iana"];Object.keys(fe).forEach(function(e){var s=fe[e],p=s.extensions;if(!p||!p.length)return;i[e]=p;for(var t=0;t<p.length;t++){var u=p[t];if(n[u]){var o=c.indexOf(fe[n[u]].source),r=c.indexOf(s.source);if(n[u]!=="application/octet-stream"&&(o>r||o===r&&n[u].substr(0,12)==="application/"))continue}n[u]=e}})}});var yd=d(($H,Sd)=>{Sd.exports=e8;function e8(i){var n=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(n)n(i);else setTimeout(i,0)}});var Hp=d((zH,Zd)=>{var Gd=yd();Zd.exports=s8;function s8(i){var n=!1;return Gd(function(){n=!0}),function(a,e){if(n)i(a,e);else Gd(function(){i(a,e)})}}});var Ip=d((SH,Xd)=>{Xd.exports=p8;function p8(i){Object.keys(i.jobs).forEach(t8.bind(i)),i.jobs={}}function t8(i){if(typeof this.jobs[i]=="function")this.jobs[i]()}});var Ap=d((yH,Pd)=>{var Yd=Hp(),o8=Ip();Pd.exports=u8;function u8(i,n,c,a){var e=c.keyedList?c.keyedList[c.index]:c.index;c.jobs[e]=r8(n,e,i[e],function(s,p){if(!(e in c.jobs))return;if(delete c.jobs[e],s)o8(c);else c.results[e]=p;a(s,c.results)})}function r8(i,n,c,a){var e;if(i.length==2)e=i(c,Yd(a));else e=i(c,n,Yd(a));return e}});var Cp=d((GH,Hd)=>{Hd.exports=d8;function d8(i,n){var c=!Array.isArray(i),a={index:0,keyedList:c||n?Object.keys(i):null,jobs:{},results:c?{}:[],size:c?Object.keys(i).length:i.length};if(n)a.keyedList.sort(c?n:function(e,s){return n(i[e],i[s])});return a}});var Op=d((ZH,Id)=>{var m8=Ip(),l8=Hp();Id.exports=x8;function x8(i){if(!Object.keys(this.jobs).length)return;this.index=this.size,m8(this),l8(i)(null,this.results)}});var Cd=d((XH,Ad)=>{var f8=Ap(),v8=Cp(),h8=Op();Ad.exports=b8;function b8(i,n,c){var a=v8(i);while(a.index<(a.keyedList||i).length)f8(i,n,a,function(e,s){if(e){c(e,s);return}if(Object.keys(a.jobs).length===0){c(null,a.results);return}}),a.index++;return h8.bind(a,c)}});var Vp=d((YH,ve)=>{var Od=Ap(),w8=Cp(),q8=Op();ve.exports=_8;ve.exports.ascending=Vd;ve.exports.descending=W8;function _8(i,n,c,a){var e=w8(i,c);return Od(i,n,e,function s(p,t){if(p){a(p,t);return}if(e.index++,e.index<(e.keyedList||i).length){Od(i,n,e,s);return}a(null,e.results)}),q8.bind(e,a)}function Vd(i,n){return i<n?-1:i>n?1:0}function W8(i,n){return-1*Vd(i,n)}});var Ed=d((PH,Md)=>{var K8=Vp();Md.exports=J8;function J8(i,n,c){return K8(i,n,null,c)}});var Rd=d((HH,Nd)=>{Nd.exports={parallel:Cd(),serial:Ed(),serialOrdered:Vp()}});var Mp=d((IH,jd)=>{jd.exports=Object});var Td=d((AH,Dd)=>{Dd.exports=Error});var gd=d((CH,Ld)=>{Ld.exports=EvalError});var kd=d((OH,Bd)=>{Bd.exports=RangeError});var Ud=d((VH,Fd)=>{Fd.exports=ReferenceError});var im=d((MH,Qd)=>{Qd.exports=SyntaxError});var he=d((EH,nm)=>{nm.exports=TypeError});var am=d((NH,cm)=>{cm.exports=URIError});var sm=d((RH,em)=>{em.exports=Math.abs});var tm=d((jH,pm)=>{pm.exports=Math.floor});var um=d((DH,om)=>{om.exports=Math.max});var dm=d((TH,rm)=>{rm.exports=Math.min});var lm=d((LH,mm)=>{mm.exports=Math.pow});var fm=d((gH,xm)=>{xm.exports=Math.round});var hm=d((BH,vm)=>{vm.exports=Number.isNaN||function(n){return n!==n}});var wm=d((kH,bm)=>{var $8=hm();bm.exports=function(n){if($8(n)||n===0)return n;return n<0?-1:1}});var _m=d((FH,qm)=>{qm.exports=Object.getOwnPropertyDescriptor});var Ep=d((UH,Wm)=>{var be=_m();if(be)try{be([],"length")}catch(i){be=null}Wm.exports=be});var Jm=d((QH,Km)=>{var we=Object.defineProperty||!1;if(we)try{we({},"a",{value:1})}catch(i){we=!1}Km.exports=we});var Np=d((iI,$m)=>{$m.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var n={},c=Symbol("test"),a=Object(c);if(typeof c==="string")return!1;if(Object.prototype.toString.call(c)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var e=42;n[c]=e;for(var s in n)return!1;if(typeof Object.keys==="function"&&Object.keys(n).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var p=Object.getOwnPropertySymbols(n);if(p.length!==1||p[0]!==c)return!1;if(!Object.prototype.propertyIsEnumerable.call(n,c))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var t=Object.getOwnPropertyDescriptor(n,c);if(t.value!==e||t.enumerable!==!0)return!1}return!0}});var ym=d((nI,Sm)=>{var zm=typeof Symbol<"u"&&Symbol,z8=Np();Sm.exports=function(){if(typeof zm!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof zm("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return z8()}});var Rp=d((cI,Gm)=>{Gm.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var jp=d((aI,Zm)=>{var S8=Mp();Zm.exports=S8.getPrototypeOf||null});var Pm=d((eI,Ym)=>{var y8="Function.prototype.bind called on incompatible ",G8=Object.prototype.toString,Z8=Math.max,X8="[object Function]",Xm=function(n,c){var a=[];for(var e=0;e<n.length;e+=1)a[e]=n[e];for(var s=0;s<c.length;s+=1)a[s+n.length]=c[s];return a},Y8=function(n,c){var a=[];for(var e=c||0,s=0;e<n.length;e+=1,s+=1)a[s]=n[e];return a},P8=function(i,n){var c="";for(var a=0;a<i.length;a+=1)if(c+=i[a],a+1<i.length)c+=n;return c};Ym.exports=function(n){var c=this;if(typeof c!=="function"||G8.apply(c)!==X8)throw TypeError(y8+c);var a=Y8(arguments,1),e,s=function(){if(this instanceof e){var r=c.apply(this,Xm(a,arguments));if(Object(r)===r)return r;return this}return c.apply(n,Xm(a,arguments))},p=Z8(0,c.length-a.length),t=[];for(var u=0;u<p;u++)t[u]="$"+u;if(e=Function("binder","return function ("+P8(t,",")+"){ return binder.apply(this,arguments); }")(s),c.prototype){var o=function(){};o.prototype=c.prototype,e.prototype=new o,o.prototype=null}return e}});var ua=d((sI,Hm)=>{var H8=Pm();Hm.exports=Function.prototype.bind||H8});var qe=d((pI,Im)=>{Im.exports=Function.prototype.call});var Dp=d((tI,Am)=>{Am.exports=Function.prototype.apply});var Om=d((oI,Cm)=>{Cm.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Mm=d((uI,Vm)=>{var I8=ua(),A8=Dp(),C8=qe(),O8=Om();Vm.exports=O8||I8.call(C8,A8)});var Nm=d((rI,Em)=>{var V8=ua(),M8=he(),E8=qe(),N8=Mm();Em.exports=function(n){if(n.length<1||typeof n[0]!=="function")throw new M8("a function is required");return N8(V8,E8,n)}});var gm=d((dI,Lm)=>{var R8=Nm(),Rm=Ep(),Dm;try{Dm=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!=="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var Tp=!!Dm&&Rm&&Rm(Object.prototype,"__proto__"),Tm=Object,jm=Tm.getPrototypeOf;Lm.exports=Tp&&typeof Tp.get==="function"?R8([Tp.get]):typeof jm==="function"?function(n){return jm(n==null?n:Tm(n))}:!1});var Qm=d((mI,Um)=>{var Bm=Rp(),km=jp(),Fm=gm();Um.exports=Bm?function(n){return Bm(n)}:km?function(n){if(!n||typeof n!=="object"&&typeof n!=="function")throw TypeError("getProto: not an object");return km(n)}:Fm?function(n){return Fm(n)}:null});var _e=d((lI,il)=>{var j8=Function.prototype.call,D8=Object.prototype.hasOwnProperty,T8=ua();il.exports=T8.call(j8,D8)});var pl=d((xI,sl)=>{var X,L8=Mp(),g8=Td(),B8=gd(),k8=kd(),F8=Ud(),bc=im(),hc=he(),U8=am(),Q8=sm(),iq=tm(),nq=um(),cq=dm(),aq=lm(),eq=fm(),sq=wm(),al=Function,Lp=function(i){try{return al('"use strict"; return ('+i+").constructor;")()}catch(n){}},ra=Ep(),pq=Jm(),gp=function(){throw new hc},tq=ra?function(){try{return arguments.callee,gp}catch(i){try{return ra(arguments,"callee").get}catch(n){return gp}}}():gp,fc=ym()(),ii=Qm(),oq=jp(),uq=Rp(),el=Dp(),da=qe(),vc={},rq=typeof Uint8Array>"u"||!ii?X:ii(Uint8Array),Rn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?X:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?X:ArrayBuffer,"%ArrayIteratorPrototype%":fc&&ii?ii([][Symbol.iterator]()):X,"%AsyncFromSyncIteratorPrototype%":X,"%AsyncFunction%":vc,"%AsyncGenerator%":vc,"%AsyncGeneratorFunction%":vc,"%AsyncIteratorPrototype%":vc,"%Atomics%":typeof Atomics>"u"?X:Atomics,"%BigInt%":typeof BigInt>"u"?X:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?X:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?X:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?X:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":g8,"%eval%":eval,"%EvalError%":B8,"%Float16Array%":typeof Float16Array>"u"?X:Float16Array,"%Float32Array%":typeof Float32Array>"u"?X:Float32Array,"%Float64Array%":typeof Float64Array>"u"?X:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?X:FinalizationRegistry,"%Function%":al,"%GeneratorFunction%":vc,"%Int8Array%":typeof Int8Array>"u"?X:Int8Array,"%Int16Array%":typeof Int16Array>"u"?X:Int16Array,"%Int32Array%":typeof Int32Array>"u"?X:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":fc&&ii?ii(ii([][Symbol.iterator]())):X,"%JSON%":typeof JSON==="object"?JSON:X,"%Map%":typeof Map>"u"?X:Map,"%MapIteratorPrototype%":typeof Map>"u"||!fc||!ii?X:ii(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":L8,"%Object.getOwnPropertyDescriptor%":ra,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?X:Promise,"%Proxy%":typeof Proxy>"u"?X:Proxy,"%RangeError%":k8,"%ReferenceError%":F8,"%Reflect%":typeof Reflect>"u"?X:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?X:Set,"%SetIteratorPrototype%":typeof Set>"u"||!fc||!ii?X:ii(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?X:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":fc&&ii?ii(""[Symbol.iterator]()):X,"%Symbol%":fc?Symbol:X,"%SyntaxError%":bc,"%ThrowTypeError%":tq,"%TypedArray%":rq,"%TypeError%":hc,"%Uint8Array%":typeof Uint8Array>"u"?X:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?X:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?X:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?X:Uint32Array,"%URIError%":U8,"%WeakMap%":typeof WeakMap>"u"?X:WeakMap,"%WeakRef%":typeof WeakRef>"u"?X:WeakRef,"%WeakSet%":typeof WeakSet>"u"?X:WeakSet,"%Function.prototype.call%":da,"%Function.prototype.apply%":el,"%Object.defineProperty%":pq,"%Object.getPrototypeOf%":oq,"%Math.abs%":Q8,"%Math.floor%":iq,"%Math.max%":nq,"%Math.min%":cq,"%Math.pow%":aq,"%Math.round%":eq,"%Math.sign%":sq,"%Reflect.getPrototypeOf%":uq};if(ii)try{null.error}catch(i){Bp=ii(ii(i)),Rn["%Error.prototype%"]=Bp}var Bp,dq=function i(n){var c;if(n==="%AsyncFunction%")c=Lp("async function () {}");else if(n==="%GeneratorFunction%")c=Lp("function* () {}");else if(n==="%AsyncGeneratorFunction%")c=Lp("async function* () {}");else if(n==="%AsyncGenerator%"){var a=i("%AsyncGeneratorFunction%");if(a)c=a.prototype}else if(n==="%AsyncIteratorPrototype%"){var e=i("%AsyncGenerator%");if(e&&ii)c=ii(e.prototype)}return Rn[n]=c,c},nl={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ma=ua(),We=_e(),mq=ma.call(da,Array.prototype.concat),lq=ma.call(el,Array.prototype.splice),cl=ma.call(da,String.prototype.replace),Ke=ma.call(da,String.prototype.slice),xq=ma.call(da,RegExp.prototype.exec),fq=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,vq=/\\(\\)?/g,hq=function(n){var c=Ke(n,0,1),a=Ke(n,-1);if(c==="%"&&a!=="%")throw new bc("invalid intrinsic syntax, expected closing `%`");else if(a==="%"&&c!=="%")throw new bc("invalid intrinsic syntax, expected opening `%`");var e=[];return cl(n,fq,function(s,p,t,u){e[e.length]=t?cl(u,vq,"$1"):p||s}),e},bq=function(n,c){var a=n,e;if(We(nl,a))e=nl[a],a="%"+e[0]+"%";if(We(Rn,a)){var s=Rn[a];if(s===vc)s=dq(a);if(typeof s>"u"&&!c)throw new hc("intrinsic "+n+" exists, but is not available. Please file an issue!");return{alias:e,name:a,value:s}}throw new bc("intrinsic "+n+" does not exist!")};sl.exports=function(n,c){if(typeof n!=="string"||n.length===0)throw new hc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof c!=="boolean")throw new hc('"allowMissing" argument must be a boolean');if(xq(/^%?[^%]*%?$/,n)===null)throw new bc("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=hq(n),e=a.length>0?a[0]:"",s=bq("%"+e+"%",c),p=s.name,t=s.value,u=!1,o=s.alias;if(o)e=o[0],lq(a,mq([0,1],o));for(var r=1,m=!0;r<a.length;r+=1){var v=a[r],l=Ke(v,0,1),f=Ke(v,-1);if((l==='"'||l==="'"||l==="`"||(f==='"'||f==="'"||f==="`"))&&l!==f)throw new bc("property names with quotes must have matching quotes");if(v==="constructor"||!m)u=!0;if(e+="."+v,p="%"+e+"%",We(Rn,p))t=Rn[p];else if(t!=null){if(!(v in t)){if(!c)throw new hc("base intrinsic for "+n+" exists, but the property is not available.");return}if(ra&&r+1>=a.length){var h=ra(t,v);if(m=!!h,m&&"get"in h&&!("originalValue"in h.get))t=h.get;else t=t[v]}else m=We(t,v),t=t[v];if(m&&!u)Rn[p]=t}}return t}});var ol=d((fI,tl)=>{var wq=Np();tl.exports=function(){return wq()&&!!Symbol.toStringTag}});var dl=d((vI,rl)=>{var qq=pl(),ul=qq("%Object.defineProperty%",!0),_q=ol()(),Wq=_e(),Kq=he(),Je=_q?Symbol.toStringTag:null;rl.exports=function(n,c){var a=arguments.length>2&&!!arguments[2]&&arguments[2].force,e=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof a<"u"&&typeof a!=="boolean"||typeof e<"u"&&typeof e!=="boolean")throw new Kq("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Je&&(a||!Wq(n,Je)))if(ul)ul(n,Je,{configurable:!e,enumerable:!1,value:c,writable:!1});else n[Je]=c}});var ll=d((hI,ml)=>{ml.exports=function(i,n){return Object.keys(n).forEach(function(c){i[c]=i[c]||n[c]}),i}});var fl=d((bI,xl)=>{var Qp=qd(),Jq=require("util"),kp=require("path"),$q=require("http"),zq=require("https"),Sq=require("url").parse,yq=require("fs"),Gq=require("stream").Stream,Zq=require("crypto"),Fp=zd(),Xq=Rd(),Yq=dl(),$n=_e(),Up=ll();function P(i){if(!(this instanceof P))return new P(i);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Qp.call(this),i=i||{};for(var n in i)this[n]=i[n]}Jq.inherits(P,Qp);P.LINE_BREAK=`\r
|
|
12
|
+
`;P.DEFAULT_CONTENT_TYPE="application/octet-stream";P.prototype.append=function(i,n,c){if(c=c||{},typeof c==="string")c={filename:c};var a=Qp.prototype.append.bind(this);if(typeof n==="number"||n==null)n=String(n);if(Array.isArray(n)){this._error(Error("Arrays are not supported."));return}var e=this._multiPartHeader(i,n,c),s=this._multiPartFooter();a(e),a(n),a(s),this._trackLength(e,n,c)};P.prototype._trackLength=function(i,n,c){var a=0;if(c.knownLength!=null)a+=Number(c.knownLength);else if(Buffer.isBuffer(n))a=n.length;else if(typeof n==="string")a=Buffer.byteLength(n);if(this._valueLength+=a,this._overheadLength+=Buffer.byteLength(i)+P.LINE_BREAK.length,!n||!n.path&&!(n.readable&&$n(n,"httpVersion"))&&!(n instanceof Gq))return;if(!c.knownLength)this._valuesToMeasure.push(n)};P.prototype._lengthRetriever=function(i,n){if($n(i,"fd"))if(i.end!=null&&i.end!=1/0&&i.start!=null)n(null,i.end+1-(i.start?i.start:0));else yq.stat(i.path,function(c,a){if(c){n(c);return}var e=a.size-(i.start?i.start:0);n(null,e)});else if($n(i,"httpVersion"))n(null,Number(i.headers["content-length"]));else if($n(i,"httpModule"))i.on("response",function(c){i.pause(),n(null,Number(c.headers["content-length"]))}),i.resume();else n("Unknown stream")};P.prototype._multiPartHeader=function(i,n,c){if(typeof c.header==="string")return c.header;var a=this._getContentDisposition(n,c),e=this._getContentType(n,c),s="",p={"Content-Disposition":["form-data",'name="'+i+'"'].concat(a||[]),"Content-Type":[].concat(e||[])};if(typeof c.header==="object")Up(p,c.header);var t;for(var u in p)if($n(p,u)){if(t=p[u],t==null)continue;if(!Array.isArray(t))t=[t];if(t.length)s+=u+": "+t.join("; ")+P.LINE_BREAK}return"--"+this.getBoundary()+P.LINE_BREAK+s+P.LINE_BREAK};P.prototype._getContentDisposition=function(i,n){var c;if(typeof n.filepath==="string")c=kp.normalize(n.filepath).replace(/\\/g,"/");else if(n.filename||i&&(i.name||i.path))c=kp.basename(n.filename||i&&(i.name||i.path));else if(i&&i.readable&&$n(i,"httpVersion"))c=kp.basename(i.client._httpMessage.path||"");if(c)return'filename="'+c+'"'};P.prototype._getContentType=function(i,n){var c=n.contentType;if(!c&&i&&i.name)c=Fp.lookup(i.name);if(!c&&i&&i.path)c=Fp.lookup(i.path);if(!c&&i&&i.readable&&$n(i,"httpVersion"))c=i.headers["content-type"];if(!c&&(n.filepath||n.filename))c=Fp.lookup(n.filepath||n.filename);if(!c&&i&&typeof i==="object")c=P.DEFAULT_CONTENT_TYPE;return c};P.prototype._multiPartFooter=function(){return function(i){var n=P.LINE_BREAK,c=this._streams.length===0;if(c)n+=this._lastBoundary();i(n)}.bind(this)};P.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+P.LINE_BREAK};P.prototype.getHeaders=function(i){var n,c={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(n in i)if($n(i,n))c[n.toLowerCase()]=i[n];return c};P.prototype.setBoundary=function(i){if(typeof i!=="string")throw TypeError("FormData boundary must be a string");this._boundary=i};P.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};P.prototype.getBuffer=function(){var i=new Buffer.alloc(0),n=this.getBoundary();for(var c=0,a=this._streams.length;c<a;c++)if(typeof this._streams[c]!=="function"){if(Buffer.isBuffer(this._streams[c]))i=Buffer.concat([i,this._streams[c]]);else i=Buffer.concat([i,Buffer.from(this._streams[c])]);if(typeof this._streams[c]!=="string"||this._streams[c].substring(2,n.length+2)!==n)i=Buffer.concat([i,Buffer.from(P.LINE_BREAK)])}return Buffer.concat([i,Buffer.from(this._lastBoundary())])};P.prototype._generateBoundary=function(){this._boundary="--------------------------"+Zq.randomBytes(12).toString("hex")};P.prototype.getLengthSync=function(){var i=this._overheadLength+this._valueLength;if(this._streams.length)i+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return i};P.prototype.hasKnownLength=function(){var i=!0;if(this._valuesToMeasure.length)i=!1;return i};P.prototype.getLength=function(i){var n=this._overheadLength+this._valueLength;if(this._streams.length)n+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(i.bind(this,null,n));return}Xq.parallel(this._valuesToMeasure,this._lengthRetriever,function(c,a){if(c){i(c);return}a.forEach(function(e){n+=e}),i(null,n)})};P.prototype.submit=function(i,n){var c,a,e={method:"post"};if(typeof i==="string")i=Sq(i),a=Up({port:i.port,path:i.pathname,host:i.hostname,protocol:i.protocol},e);else if(a=Up(i,e),!a.port)a.port=a.protocol==="https:"?443:80;if(a.headers=this.getHeaders(i.headers),a.protocol==="https:")c=zq.request(a);else c=$q.request(a);return this.getLength(function(s,p){if(s&&s!=="Unknown stream"){this._error(s);return}if(p)c.setHeader("Content-Length",p);if(this.pipe(c),n){var t,u=function(o,r){return c.removeListener("error",u),c.removeListener("response",t),n.call(this,o,r)};t=u.bind(this,null),c.on("error",u),c.on("response",t)}}.bind(this)),c};P.prototype._error=function(i){if(!this.error)this.error=i,this.pause(),this.emit("error",i)};P.prototype.toString=function(){return"[object FormData]"};Yq(P.prototype,"FormData");xl.exports=P});var Pl=d((Yl)=>{var kq=require("url").parse,Fq={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},Uq=String.prototype.endsWith||function(i){return i.length<=this.length&&this.indexOf(i,this.length-i.length)!==-1};function Qq(i){var n=typeof i==="string"?kq(i):i||{},c=n.protocol,a=n.host,e=n.port;if(typeof a!=="string"||!a||typeof c!=="string")return"";if(c=c.split(":",1)[0],a=a.replace(/:\d*$/,""),e=parseInt(e)||Fq[c]||0,!i_(a,e))return"";var s=qc("npm_config_"+c+"_proxy")||qc(c+"_proxy")||qc("npm_config_proxy")||qc("all_proxy");if(s&&s.indexOf("://")===-1)s=c+"://"+s;return s}function i_(i,n){var c=(qc("npm_config_no_proxy")||qc("no_proxy")).toLowerCase();if(!c)return!0;if(c==="*")return!1;return c.split(/[,\s]/).every(function(a){if(!a)return!0;var e=a.match(/^(.+):(\d+)$/),s=e?e[1]:a,p=e?parseInt(e[2]):0;if(p&&p!==n)return!0;if(!/^[.*]/.test(s))return i!==s;if(s.charAt(0)==="*")s=s.slice(1);return!Uq.call(i,s)})}function qc(i){return process.env[i.toLowerCase()]||process.env[i.toUpperCase()]||""}Yl.getProxyForUrl=Qq});var mt=d((b7,Hl)=>{var _c=1000,Wc=_c*60,Kc=Wc*60,Tn=Kc*24,n_=Tn*7,c_=Tn*365.25;Hl.exports=function(i,n){n=n||{};var c=typeof i;if(c==="string"&&i.length>0)return a_(i);else if(c==="number"&&isFinite(i))return n.long?s_(i):e_(i);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function a_(i){if(i=String(i),i.length>100)return;var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!n)return;var c=parseFloat(n[1]),a=(n[2]||"ms").toLowerCase();switch(a){case"years":case"year":case"yrs":case"yr":case"y":return c*c_;case"weeks":case"week":case"w":return c*n_;case"days":case"day":case"d":return c*Tn;case"hours":case"hour":case"hrs":case"hr":case"h":return c*Kc;case"minutes":case"minute":case"mins":case"min":case"m":return c*Wc;case"seconds":case"second":case"secs":case"sec":case"s":return c*_c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}function e_(i){var n=Math.abs(i);if(n>=Tn)return Math.round(i/Tn)+"d";if(n>=Kc)return Math.round(i/Kc)+"h";if(n>=Wc)return Math.round(i/Wc)+"m";if(n>=_c)return Math.round(i/_c)+"s";return i+"ms"}function s_(i){var n=Math.abs(i);if(n>=Tn)return ye(i,n,Tn,"day");if(n>=Kc)return ye(i,n,Kc,"hour");if(n>=Wc)return ye(i,n,Wc,"minute");if(n>=_c)return ye(i,n,_c,"second");return i+" ms"}function ye(i,n,c,a){var e=n>=c*1.5;return Math.round(i/c)+" "+a+(e?"s":"")}});var lt=d((w7,Il)=>{function p_(i){c.debug=c,c.default=c,c.coerce=u,c.disable=p,c.enable=e,c.enabled=t,c.humanize=mt(),c.destroy=o,Object.keys(i).forEach((r)=>{c[r]=i[r]}),c.names=[],c.skips=[],c.formatters={};function n(r){let m=0;for(let v=0;v<r.length;v++)m=(m<<5)-m+r.charCodeAt(v),m|=0;return c.colors[Math.abs(m)%c.colors.length]}c.selectColor=n;function c(r){let m,v=null,l,f;function h(...b){if(!h.enabled)return;let J=h,z=Number(new Date),q=z-(m||z);if(J.diff=q,J.prev=m,J.curr=z,m=z,b[0]=c.coerce(b[0]),typeof b[0]!=="string")b.unshift("%O");let Z=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(Y,V)=>{if(Y==="%%")return"%";Z++;let R=c.formatters[V];if(typeof R==="function"){let Si=b[Z];Y=R.call(J,Si),b.splice(Z,1),Z--}return Y}),c.formatArgs.call(J,b),(J.log||c.log).apply(J,b)}if(h.namespace=r,h.useColors=c.useColors(),h.color=c.selectColor(r),h.extend=a,h.destroy=c.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(v!==null)return v;if(l!==c.namespaces)l=c.namespaces,f=c.enabled(r);return f},set:(b)=>{v=b}}),typeof c.init==="function")c.init(h);return h}function a(r,m){let v=c(this.namespace+(typeof m>"u"?":":m)+r);return v.log=this.log,v}function e(r){c.save(r),c.namespaces=r,c.names=[],c.skips=[];let m=(typeof r==="string"?r:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let v of m)if(v[0]==="-")c.skips.push(v.slice(1));else c.names.push(v)}function s(r,m){let v=0,l=0,f=-1,h=0;while(v<r.length)if(l<m.length&&(m[l]===r[v]||m[l]==="*"))if(m[l]==="*")f=l,h=v,l++;else v++,l++;else if(f!==-1)l=f+1,h++,v=h;else return!1;while(l<m.length&&m[l]==="*")l++;return l===m.length}function p(){let r=[...c.names,...c.skips.map((m)=>"-"+m)].join(",");return c.enable(""),r}function t(r){for(let m of c.skips)if(s(r,m))return!1;for(let m of c.names)if(s(r,m))return!0;return!1}function u(r){if(r instanceof Error)return r.stack||r.message;return r}function o(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return c.enable(c.load()),c}Il.exports=p_});var Al=d((Ki,Ge)=>{Ki.formatArgs=o_;Ki.save=u_;Ki.load=r_;Ki.useColors=t_;Ki.storage=d_();Ki.destroy=(()=>{let i=!1;return()=>{if(!i)i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();Ki.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function t_(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let i;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(i=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(i[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o_(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+Ge.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;i.splice(1,0,n,"color: inherit");let c=0,a=0;i[0].replace(/%[a-zA-Z%]/g,(e)=>{if(e==="%%")return;if(c++,e==="%c")a=c}),i.splice(a,0,n)}Ki.log=console.debug||console.log||(()=>{});function u_(i){try{if(i)Ki.storage.setItem("debug",i);else Ki.storage.removeItem("debug")}catch(n){}}function r_(){let i;try{i=Ki.storage.getItem("debug")||Ki.storage.getItem("DEBUG")}catch(n){}if(!i&&typeof process<"u"&&"env"in process)i=process.env.DEBUG;return i}function d_(){try{return localStorage}catch(i){}}Ge.exports=lt()(Ki);var{formatters:m_}=Ge.exports;m_.j=function(i){try{return JSON.stringify(i)}catch(n){return"[UnexpectedJSONParseError]: "+n.message}}});var Ol=d((q7,Cl)=>{Cl.exports=(i,n=process.argv)=>{let c=i.startsWith("-")?"":i.length===1?"-":"--",a=n.indexOf(c+i),e=n.indexOf("--");return a!==-1&&(e===-1||a<e)}});var El=d((_7,Ml)=>{var l_=require("os"),Vl=require("tty"),Pi=Ol(),{env:ni}=process,yn;if(Pi("no-color")||Pi("no-colors")||Pi("color=false")||Pi("color=never"))yn=0;else if(Pi("color")||Pi("colors")||Pi("color=true")||Pi("color=always"))yn=1;if("FORCE_COLOR"in ni)if(ni.FORCE_COLOR==="true")yn=1;else if(ni.FORCE_COLOR==="false")yn=0;else yn=ni.FORCE_COLOR.length===0?1:Math.min(parseInt(ni.FORCE_COLOR,10),3);function xt(i){if(i===0)return!1;return{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3}}function ft(i,n){if(yn===0)return 0;if(Pi("color=16m")||Pi("color=full")||Pi("color=truecolor"))return 3;if(Pi("color=256"))return 2;if(i&&!n&&yn===void 0)return 0;let c=yn||0;if(ni.TERM==="dumb")return c;if(process.platform==="win32"){let a=l_.release().split(".");if(Number(a[0])>=10&&Number(a[2])>=10586)return Number(a[2])>=14931?3:2;return 1}if("CI"in ni){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((a)=>(a in ni))||ni.CI_NAME==="codeship")return 1;return c}if("TEAMCITY_VERSION"in ni)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ni.TEAMCITY_VERSION)?1:0;if(ni.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ni){let a=parseInt((ni.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ni.TERM_PROGRAM){case"iTerm.app":return a>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ni.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ni.TERM))return 1;if("COLORTERM"in ni)return 1;return c}function x_(i){let n=ft(i,i&&i.isTTY);return xt(n)}Ml.exports={supportsColor:x_,stdout:xt(ft(!0,Vl.isatty(1))),stderr:xt(ft(!0,Vl.isatty(2)))}});var Rl=d((ci,Xe)=>{var f_=require("tty"),Ze=require("util");ci.init=W_;ci.log=w_;ci.formatArgs=h_;ci.save=q_;ci.load=__;ci.useColors=v_;ci.destroy=Ze.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ci.colors=[6,2,3,4,5,1];try{let i=El();if(i&&(i.stderr||i).level>=2)ci.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(i){}ci.inspectOpts=Object.keys(process.env).filter((i)=>{return/^debug_/i.test(i)}).reduce((i,n)=>{let c=n.substring(6).toLowerCase().replace(/_([a-z])/g,(e,s)=>{return s.toUpperCase()}),a=process.env[n];if(/^(yes|on|true|enabled)$/i.test(a))a=!0;else if(/^(no|off|false|disabled)$/i.test(a))a=!1;else if(a==="null")a=null;else a=Number(a);return i[c]=a,i},{});function v_(){return"colors"in ci.inspectOpts?Boolean(ci.inspectOpts.colors):f_.isatty(process.stderr.fd)}function h_(i){let{namespace:n,useColors:c}=this;if(c){let a=this.color,e="\x1B[3"+(a<8?a:"8;5;"+a),s=` ${e};1m${n} \x1B[0m`;i[0]=s+i[0].split(`
|
|
13
|
+
`).join(`
|
|
14
|
+
`+s),i.push(e+"m+"+Xe.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=b_()+n+" "+i[0]}function b_(){if(ci.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function w_(...i){return process.stderr.write(Ze.formatWithOptions(ci.inspectOpts,...i)+`
|
|
15
|
+
`)}function q_(i){if(i)process.env.DEBUG=i;else delete process.env.DEBUG}function __(){return process.env.DEBUG}function W_(i){i.inspectOpts={};let n=Object.keys(ci.inspectOpts);for(let c=0;c<n.length;c++)i.inspectOpts[n[c]]=ci.inspectOpts[n[c]]}Xe.exports=lt()(ci);var{formatters:Nl}=Xe.exports;Nl.o=function(i){return this.inspectOpts.colors=this.useColors,Ze.inspect(i,this.inspectOpts).split(`
|
|
16
|
+
`).map((n)=>n.trim()).join(" ")};Nl.O=function(i){return this.inspectOpts.colors=this.useColors,Ze.inspect(i,this.inspectOpts)}});var ha=d((W7,vt)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)vt.exports=Al();else vt.exports=Rl()});var Dl=d((K7,jl)=>{var ba;jl.exports=function(){if(!ba){try{ba=ha()("follow-redirects")}catch(i){}if(typeof ba!=="function")ba=function(){}}ba.apply(null,arguments)}});var kl=d((J7,yt)=>{var qa=require("url"),wa=qa.URL,K_=require("http"),J_=require("https"),_t=require("stream").Writable,Wt=require("assert"),Tl=Dl();(function(){var n=typeof process<"u",c=typeof window<"u"&&typeof document<"u",a=gn(Error.captureStackTrace);if(!n&&(c||!a))console.warn("The follow-redirects package should be excluded from browser builds.")})();var Kt=!1;try{Wt(new wa(""))}catch(i){Kt=i.code==="ERR_INVALID_URL"}var $_=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Jt=["abort","aborted","connect","error","socket","timeout"],$t=Object.create(null);Jt.forEach(function(i){$t[i]=function(n,c,a){this._redirectable.emit(i,n,c,a)}});var bt=_a("ERR_INVALID_URL","Invalid URL",TypeError),wt=_a("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),z_=_a("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",wt),S_=_a("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),y_=_a("ERR_STREAM_WRITE_AFTER_END","write after end"),G_=_t.prototype.destroy||gl;function Ji(i,n){if(_t.call(this),this._sanitizeOptions(i),this._options=i,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n)this.on("response",n);var c=this;this._onNativeResponse=function(a){try{c._processResponse(a)}catch(e){c.emit("error",e instanceof wt?e:new wt({cause:e}))}},this._performRequest()}Ji.prototype=Object.create(_t.prototype);Ji.prototype.abort=function(){St(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Ji.prototype.destroy=function(i){return St(this._currentRequest,i),G_.call(this,i),this};Ji.prototype.write=function(i,n,c){if(this._ending)throw new y_;if(!Ln(i)&&!Y_(i))throw TypeError("data should be a string, Buffer or Uint8Array");if(gn(n))c=n,n=null;if(i.length===0){if(c)c();return}if(this._requestBodyLength+i.length<=this._options.maxBodyLength)this._requestBodyLength+=i.length,this._requestBodyBuffers.push({data:i,encoding:n}),this._currentRequest.write(i,n,c);else this.emit("error",new S_),this.abort()};Ji.prototype.end=function(i,n,c){if(gn(i))c=i,i=n=null;else if(gn(n))c=n,n=null;if(!i)this._ended=this._ending=!0,this._currentRequest.end(null,null,c);else{var a=this,e=this._currentRequest;this.write(i,n,function(){a._ended=!0,e.end(null,null,c)}),this._ending=!0}};Ji.prototype.setHeader=function(i,n){this._options.headers[i]=n,this._currentRequest.setHeader(i,n)};Ji.prototype.removeHeader=function(i){delete this._options.headers[i],this._currentRequest.removeHeader(i)};Ji.prototype.setTimeout=function(i,n){var c=this;function a(p){p.setTimeout(i),p.removeListener("timeout",p.destroy),p.addListener("timeout",p.destroy)}function e(p){if(c._timeout)clearTimeout(c._timeout);c._timeout=setTimeout(function(){c.emit("timeout"),s()},i),a(p)}function s(){if(c._timeout)clearTimeout(c._timeout),c._timeout=null;if(c.removeListener("abort",s),c.removeListener("error",s),c.removeListener("response",s),c.removeListener("close",s),n)c.removeListener("timeout",n);if(!c.socket)c._currentRequest.removeListener("socket",e)}if(n)this.on("timeout",n);if(this.socket)e(this.socket);else this._currentRequest.once("socket",e);return this.on("socket",a),this.on("abort",s),this.on("error",s),this.on("response",s),this.on("close",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(i){Ji.prototype[i]=function(n,c){return this._currentRequest[i](n,c)}});["aborted","connection","socket"].forEach(function(i){Object.defineProperty(Ji.prototype,i,{get:function(){return this._currentRequest[i]}})});Ji.prototype._sanitizeOptions=function(i){if(!i.headers)i.headers={};if(i.host){if(!i.hostname)i.hostname=i.host;delete i.host}if(!i.pathname&&i.path){var n=i.path.indexOf("?");if(n<0)i.pathname=i.path;else i.pathname=i.path.substring(0,n),i.search=i.path.substring(n)}};Ji.prototype._performRequest=function(){var i=this._options.protocol,n=this._options.nativeProtocols[i];if(!n)throw TypeError("Unsupported protocol "+i);if(this._options.agents){var c=i.slice(0,-1);this._options.agent=this._options.agents[c]}var a=this._currentRequest=n.request(this._options,this._onNativeResponse);a._redirectable=this;for(var e of Jt)a.on(e,$t[e]);if(this._currentUrl=/^\//.test(this._options.path)?qa.format(this._options):this._options.path,this._isRedirect){var s=0,p=this,t=this._requestBodyBuffers;(function u(o){if(a===p._currentRequest){if(o)p.emit("error",o);else if(s<t.length){var r=t[s++];if(!a.finished)a.write(r.data,r.encoding,u)}else if(p._ended)a.end()}})()}};Ji.prototype._processResponse=function(i){var n=i.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:i.headers,statusCode:n});var c=i.headers.location;if(!c||this._options.followRedirects===!1||n<300||n>=400){i.responseUrl=this._currentUrl,i.redirects=this._redirects,this.emit("response",i),this._requestBodyBuffers=[];return}if(St(this._currentRequest),i.destroy(),++this._redirectCount>this._options.maxRedirects)throw new z_;var a,e=this._options.beforeRedirect;if(e)a=Object.assign({Host:i.req.getHeader("host")},this._options.headers);var s=this._options.method;if((n===301||n===302)&&this._options.method==="POST"||n===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],ht(/^content-/i,this._options.headers);var p=ht(/^host$/i,this._options.headers),t=zt(this._currentUrl),u=p||t.host,o=/^\w+:/.test(c)?this._currentUrl:qa.format(Object.assign(t,{host:u})),r=Z_(c,o);if(Tl("redirecting to",r.href),this._isRedirect=!0,qt(r,this._options),r.protocol!==t.protocol&&r.protocol!=="https:"||r.host!==u&&!X_(r.host,u))ht(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers);if(gn(e)){var m={headers:i.headers,statusCode:n},v={url:o,method:s,headers:a};e(this._options,m,v),this._sanitizeOptions(this._options)}this._performRequest()};function Ll(i){var n={maxRedirects:21,maxBodyLength:10485760},c={};return Object.keys(i).forEach(function(a){var e=a+":",s=c[e]=i[a],p=n[a]=Object.create(s);function t(o,r,m){if(P_(o))o=qt(o);else if(Ln(o))o=qt(zt(o));else m=r,r=Bl(o),o={protocol:e};if(gn(r))m=r,r=null;if(r=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},o,r),r.nativeProtocols=c,!Ln(r.host)&&!Ln(r.hostname))r.hostname="::1";return Wt.equal(r.protocol,e,"protocol mismatch"),Tl("options",r),new Ji(r,m)}function u(o,r,m){var v=p.request(o,r,m);return v.end(),v}Object.defineProperties(p,{request:{value:t,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),n}function gl(){}function zt(i){var n;if(Kt)n=new wa(i);else if(n=Bl(qa.parse(i)),!Ln(n.protocol))throw new bt({input:i});return n}function Z_(i,n){return Kt?new wa(i,n):zt(qa.resolve(n,i))}function Bl(i){if(/^\[/.test(i.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(i.hostname))throw new bt({input:i.href||i});if(/^\[/.test(i.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(i.host))throw new bt({input:i.href||i});return i}function qt(i,n){var c=n||{};for(var a of $_)c[a]=i[a];if(c.hostname.startsWith("["))c.hostname=c.hostname.slice(1,-1);if(c.port!=="")c.port=Number(c.port);return c.path=c.search?c.pathname+c.search:c.pathname,c}function ht(i,n){var c;for(var a in n)if(i.test(a))c=n[a],delete n[a];return c===null||typeof c>"u"?void 0:String(c).trim()}function _a(i,n,c){function a(e){if(gn(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,e||{}),this.code=i,this.message=this.cause?n+": "+this.cause.message:n}return a.prototype=new(c||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+i+"]",enumerable:!1}}),a}function St(i,n){for(var c of Jt)i.removeListener(c,$t[c]);i.on("error",gl),i.destroy(n)}function X_(i,n){Wt(Ln(i)&&Ln(n));var c=i.length-n.length-1;return c>0&&i[c]==="."&&i.endsWith(n)}function Ln(i){return typeof i==="string"||i instanceof String}function gn(i){return typeof i==="function"}function Y_(i){return typeof i==="object"&&"length"in i}function P_(i){return wa&&i instanceof wa}yt.exports=Ll({http:K_,https:J_});yt.exports.wrap=Ll});var Tt=d((en)=>{Object.defineProperty(en,"__esModule",{value:!0});en.parseCookie=Nx;en.parse=Nx;en.stringifyCookie=b5;en.stringifySetCookie=Oe;en.serialize=Oe;en.parseSetCookie=w5;en.stringifySetCookie=Oe;en.serialize=Oe;var Mx=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,Ex=/^[\u0021-\u003A\u003C-\u007E]*$/,l5=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,x5=/^[\u0020-\u003A\u003D-\u007E]*$/,f5=/^-?\d+$/,v5=Object.prototype.toString,h5=(()=>{let i=function(){};return i.prototype=Object.create(null),i})();function Nx(i,n){let c=new h5,a=i.length;if(a<2)return c;let e=n?.decode||Rx,s=0;do{let p=Dt(i,s,a);if(p===-1)break;let t=jt(i,s,a);if(p>t){s=i.lastIndexOf(";",p-1)+1;continue}let u=Gn(i,s,p);if(c[u]===void 0)c[u]=e(Gn(i,p+1,t));s=t+1}while(s<a);return c}function b5(i,n){let c=n?.encode||encodeURIComponent,a=[];for(let e of Object.keys(i)){let s=i[e];if(s===void 0)continue;if(!Mx.test(e))throw TypeError(`cookie name is invalid: ${e}`);let p=c(s);if(!Ex.test(p))throw TypeError(`cookie val is invalid: ${s}`);a.push(`${e}=${p}`)}return a.join("; ")}function Oe(i,n,c){let a=typeof i==="object"?i:{...c,name:i,value:String(n)},s=(typeof n==="object"?n:c)?.encode||encodeURIComponent;if(!Mx.test(a.name))throw TypeError(`argument name is invalid: ${a.name}`);let p=a.value?s(a.value):"";if(!Ex.test(p))throw TypeError(`argument val is invalid: ${a.value}`);let t=a.name+"="+p;if(a.maxAge!==void 0){if(!Number.isInteger(a.maxAge))throw TypeError(`option maxAge is invalid: ${a.maxAge}`);t+="; Max-Age="+a.maxAge}if(a.domain){if(!l5.test(a.domain))throw TypeError(`option domain is invalid: ${a.domain}`);t+="; Domain="+a.domain}if(a.path){if(!x5.test(a.path))throw TypeError(`option path is invalid: ${a.path}`);t+="; Path="+a.path}if(a.expires){if(!q5(a.expires)||!Number.isFinite(a.expires.valueOf()))throw TypeError(`option expires is invalid: ${a.expires}`);t+="; Expires="+a.expires.toUTCString()}if(a.httpOnly)t+="; HttpOnly";if(a.secure)t+="; Secure";if(a.partitioned)t+="; Partitioned";if(a.priority)switch(typeof a.priority==="string"?a.priority.toLowerCase():void 0){case"low":t+="; Priority=Low";break;case"medium":t+="; Priority=Medium";break;case"high":t+="; Priority=High";break;default:throw TypeError(`option priority is invalid: ${a.priority}`)}if(a.sameSite)switch(typeof a.sameSite==="string"?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":t+="; SameSite=Strict";break;case"lax":t+="; SameSite=Lax";break;case"none":t+="; SameSite=None";break;default:throw TypeError(`option sameSite is invalid: ${a.sameSite}`)}return t}function w5(i,n){let c=n?.decode||Rx,a=i.length,e=jt(i,0,a),s=Dt(i,0,e),p=s===-1?{name:"",value:c(Gn(i,0,e))}:{name:Gn(i,0,s),value:c(Gn(i,s+1,e))},t=e+1;while(t<a){let u=jt(i,t,a),o=Dt(i,t,u),r=o===-1?Gn(i,t,u):Gn(i,t,o),m=o===-1?void 0:Gn(i,o+1,u);switch(r.toLowerCase()){case"httponly":p.httpOnly=!0;break;case"secure":p.secure=!0;break;case"partitioned":p.partitioned=!0;break;case"domain":p.domain=m;break;case"path":p.path=m;break;case"max-age":if(m&&f5.test(m))p.maxAge=Number(m);break;case"expires":if(!m)break;let v=new Date(m);if(Number.isFinite(v.valueOf()))p.expires=v;break;case"priority":if(!m)break;let l=m.toLowerCase();if(l==="low"||l==="medium"||l==="high")p.priority=l;break;case"samesite":if(!m)break;let f=m.toLowerCase();if(f==="lax"||f==="strict"||f==="none")p.sameSite=f;break}t=u+1}return p}function jt(i,n,c){let a=i.indexOf(";",n);return a===-1?c:a}function Dt(i,n,c){let a=i.indexOf("=",n);return a<c?a:-1}function Gn(i,n,c){let a=n,e=c;do{let s=i.charCodeAt(a);if(s!==32&&s!==9)break}while(++a<e);while(e>a){let s=i.charCodeAt(e-1);if(s!==32&&s!==9)break;e--}return i.slice(a,e)}function Rx(i){if(i.indexOf("%")===-1)return i;try{return decodeURIComponent(i)}catch(n){return i}}function q5(i){return v5.call(i)==="[object Date]"}});var zc=d((Ft,Fx)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Me=require("buffer"),sn=Me.Buffer;function kx(i,n){for(var c in i)n[c]=i[c]}if(sn.from&&sn.alloc&&sn.allocUnsafe&&sn.allocUnsafeSlow)Fx.exports=Me;else kx(Me,Ft),Ft.Buffer=Fn;function Fn(i,n,c){return sn(i,n,c)}Fn.prototype=Object.create(sn.prototype);kx(sn,Fn);Fn.from=function(i,n,c){if(typeof i==="number")throw TypeError("Argument must not be a number");return sn(i,n,c)};Fn.alloc=function(i,n,c){if(typeof i!=="number")throw TypeError("Argument must be a number");var a=sn(i);if(n!==void 0)if(typeof c==="string")a.fill(n,c);else a.fill(n);else a.fill(0);return a};Fn.allocUnsafe=function(i){if(typeof i!=="number")throw TypeError("Argument must be a number");return sn(i)};Fn.allocUnsafeSlow=function(i){if(typeof i!=="number")throw TypeError("Argument must be a number");return Me.SlowBuffer(i)}});var Ut=d((rC,Ux)=>{var Ee=zc().Buffer,$5=require("stream"),z5=require("util");function Ne(i){if(this.buffer=null,this.writable=!0,this.readable=!0,!i)return this.buffer=Ee.alloc(0),this;if(typeof i.pipe==="function")return this.buffer=Ee.alloc(0),i.pipe(this),this;if(i.length||typeof i==="object")return this.buffer=i,this.writable=!1,process.nextTick(function(){this.emit("end",i),this.readable=!1,this.emit("close")}.bind(this)),this;throw TypeError("Unexpected data type ("+typeof i+")")}z5.inherits(Ne,$5);Ne.prototype.write=function(n){this.buffer=Ee.concat([this.buffer,Ee.from(n)]),this.emit("data",n)};Ne.prototype.end=function(n){if(n)this.write(n);this.emit("end",n),this.emit("close"),this.writable=!1,this.readable=!1};Ux.exports=Ne});var i1=d((dC,Qx)=>{function Qt(i){var n=(i/8|0)+(i%8===0?0:1);return n}var S5={ES256:Qt(256),ES384:Qt(384),ES512:Qt(521)};function y5(i){var n=S5[i];if(n)return n;throw Error('Unknown algorithm "'+i+'"')}Qx.exports=y5});var t1=d((mC,p1)=>{var Re=zc().Buffer,c1=i1(),je=128,a1=0,G5=32,Z5=16,X5=2,e1=Z5|G5|a1<<6,De=X5|a1<<6;function Y5(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function s1(i){if(Re.isBuffer(i))return i;else if(typeof i==="string")return Re.from(i,"base64");throw TypeError("ECDSA signature must be a Base64 string or a Buffer")}function P5(i,n){i=s1(i);var c=c1(n),a=c+1,e=i.length,s=0;if(i[s++]!==e1)throw Error('Could not find expected "seq"');var p=i[s++];if(p===(je|1))p=i[s++];if(e-s<p)throw Error('"seq" specified length of "'+p+'", only "'+(e-s)+'" remaining');if(i[s++]!==De)throw Error('Could not find expected "int" for "r"');var t=i[s++];if(e-s-2<t)throw Error('"r" specified length of "'+t+'", only "'+(e-s-2)+'" available');if(a<t)throw Error('"r" specified length of "'+t+'", max of "'+a+'" is acceptable');var u=s;if(s+=t,i[s++]!==De)throw Error('Could not find expected "int" for "s"');var o=i[s++];if(e-s!==o)throw Error('"s" specified length of "'+o+'", expected "'+(e-s)+'"');if(a<o)throw Error('"s" specified length of "'+o+'", max of "'+a+'" is acceptable');var r=s;if(s+=o,s!==e)throw Error('Expected to consume entire buffer, but "'+(e-s)+'" bytes remain');var m=c-t,v=c-o,l=Re.allocUnsafe(m+t+v+o);for(s=0;s<m;++s)l[s]=0;i.copy(l,s,u+Math.max(-m,0),u+t),s=c;for(var f=s;s<f+v;++s)l[s]=0;return i.copy(l,s,r+Math.max(-v,0),r+o),l=l.toString("base64"),l=Y5(l),l}function n1(i,n,c){var a=0;while(n+a<c&&i[n+a]===0)++a;var e=i[n+a]>=je;if(e)--a;return a}function H5(i,n){i=s1(i);var c=c1(n),a=i.length;if(a!==c*2)throw TypeError('"'+n+'" signatures must be "'+c*2+'" bytes, saw "'+a+'"');var e=n1(i,0,c),s=n1(i,c,i.length),p=c-e,t=c-s,u=2+p+1+1+t,o=u<je,r=Re.allocUnsafe((o?2:3)+u),m=0;if(r[m++]=e1,o)r[m++]=u;else r[m++]=je|1,r[m++]=u&255;if(r[m++]=De,r[m++]=p,e<0)r[m++]=0,m+=i.copy(r,m,0,c);else m+=i.copy(r,m,e,c);if(r[m++]=De,r[m++]=t,s<0)r[m++]=0,i.copy(r,m,c);else i.copy(r,m,c+s);return r}p1.exports={derToJose:P5,joseToDer:H5}});var u1=d((lC,o1)=>{var Sa=require("buffer").Buffer,io=require("buffer").SlowBuffer;o1.exports=Te;function Te(i,n){if(!Sa.isBuffer(i)||!Sa.isBuffer(n))return!1;if(i.length!==n.length)return!1;var c=0;for(var a=0;a<i.length;a++)c|=i[a]^n[a];return c===0}Te.install=function(){Sa.prototype.equal=io.prototype.equal=function(n){return Te(this,n)}};var I5=Sa.prototype.equal,A5=io.prototype.equal;Te.restore=function(){Sa.prototype.equal=I5,io.prototype.equal=A5}});var eo=d((xC,b1)=>{var yc=zc().Buffer,Ii=require("crypto"),d1=t1(),r1=require("util"),C5=`"%s" is not a valid algorithm.
|
|
17
|
+
Supported algorithms are:
|
|
18
|
+
"HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,ya="secret must be a string or buffer",Sc="key must be a string or a buffer",O5="key must be a string, a buffer or an object",co=typeof Ii.createPublicKey==="function";if(co)Sc+=" or a KeyObject",ya+="or a KeyObject";function m1(i){if(yc.isBuffer(i))return;if(typeof i==="string")return;if(!co)throw Bi(Sc);if(typeof i!=="object")throw Bi(Sc);if(typeof i.type!=="string")throw Bi(Sc);if(typeof i.asymmetricKeyType!=="string")throw Bi(Sc);if(typeof i.export!=="function")throw Bi(Sc)}function l1(i){if(yc.isBuffer(i))return;if(typeof i==="string")return;if(typeof i==="object")return;throw Bi(O5)}function V5(i){if(yc.isBuffer(i))return;if(typeof i==="string")return i;if(!co)throw Bi(ya);if(typeof i!=="object")throw Bi(ya);if(i.type!=="secret")throw Bi(ya);if(typeof i.export!=="function")throw Bi(ya)}function ao(i){return i.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function x1(i){i=i.toString();var n=4-i.length%4;if(n!==4)for(var c=0;c<n;++c)i+="=";return i.replace(/\-/g,"+").replace(/_/g,"/")}function Bi(i){var n=[].slice.call(arguments,1),c=r1.format.bind(r1,i).apply(null,n);return TypeError(c)}function M5(i){return yc.isBuffer(i)||typeof i==="string"}function Ga(i){if(!M5(i))i=JSON.stringify(i);return i}function f1(i){return function(c,a){V5(a),c=Ga(c);var e=Ii.createHmac("sha"+i,a),s=(e.update(c),e.digest("base64"));return ao(s)}}var no,E5="timingSafeEqual"in Ii?function(n,c){if(n.byteLength!==c.byteLength)return!1;return Ii.timingSafeEqual(n,c)}:function(n,c){if(!no)no=u1();return no(n,c)};function N5(i){return function(c,a,e){var s=f1(i)(c,e);return E5(yc.from(a),yc.from(s))}}function v1(i){return function(c,a){l1(a),c=Ga(c);var e=Ii.createSign("RSA-SHA"+i),s=(e.update(c),e.sign(a,"base64"));return ao(s)}}function h1(i){return function(c,a,e){m1(e),c=Ga(c),a=x1(a);var s=Ii.createVerify("RSA-SHA"+i);return s.update(c),s.verify(e,a,"base64")}}function R5(i){return function(c,a){l1(a),c=Ga(c);var e=Ii.createSign("RSA-SHA"+i),s=(e.update(c),e.sign({key:a,padding:Ii.constants.RSA_PKCS1_PSS_PADDING,saltLength:Ii.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return ao(s)}}function j5(i){return function(c,a,e){m1(e),c=Ga(c),a=x1(a);var s=Ii.createVerify("RSA-SHA"+i);return s.update(c),s.verify({key:e,padding:Ii.constants.RSA_PKCS1_PSS_PADDING,saltLength:Ii.constants.RSA_PSS_SALTLEN_DIGEST},a,"base64")}}function D5(i){var n=v1(i);return function(){var a=n.apply(null,arguments);return a=d1.derToJose(a,"ES"+i),a}}function T5(i){var n=h1(i);return function(a,e,s){e=d1.joseToDer(e,"ES"+i).toString("base64");var p=n(a,e,s);return p}}function L5(){return function(){return""}}function g5(){return function(n,c){return c===""}}b1.exports=function(n){var c={hs:f1,rs:v1,ps:R5,es:D5,none:L5},a={hs:N5,rs:h1,ps:j5,es:T5,none:g5},e=n.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!e)throw Bi(C5,n);var s=(e[1]||e[3]).toLowerCase(),p=e[2];return{sign:c[s](p),verify:a[s](p)}}});var so=d((fC,w1)=>{var B5=require("buffer").Buffer;w1.exports=function(n){if(typeof n==="string")return n;if(typeof n==="number"||B5.isBuffer(n))return n.toString();return JSON.stringify(n)}});var $1=d((vC,J1)=>{var k5=zc().Buffer,q1=Ut(),F5=eo(),U5=require("stream"),_1=so(),po=require("util");function W1(i,n){return k5.from(i,n).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Q5(i,n,c){c=c||"utf8";var a=W1(_1(i),"binary"),e=W1(_1(n),c);return po.format("%s.%s",a,e)}function K1(i){var{header:n,payload:c}=i,a=i.secret||i.privateKey,e=i.encoding,s=F5(n.alg),p=Q5(n,c,e),t=s.sign(p,a);return po.format("%s.%s",p,t)}function Le(i){var n=i.secret;if(n=n==null?i.privateKey:n,n=n==null?i.key:n,/^hs/i.test(i.header.alg)===!0&&n==null)throw TypeError("secret must be a string or buffer or a KeyObject");var c=new q1(n);this.readable=!0,this.header=i.header,this.encoding=i.encoding,this.secret=this.privateKey=this.key=c,this.payload=new q1(i.payload),this.secret.once("close",function(){if(!this.payload.writable&&this.readable)this.sign()}.bind(this)),this.payload.once("close",function(){if(!this.secret.writable&&this.readable)this.sign()}.bind(this))}po.inherits(Le,U5);Le.prototype.sign=function(){try{var n=K1({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",n),this.emit("data",n),this.emit("end"),this.readable=!1,n}catch(c){this.readable=!1,this.emit("error",c),this.emit("close")}};Le.sign=K1;J1.exports=Le});var I1=d((hC,H1)=>{var S1=zc().Buffer,z1=Ut(),iW=eo(),nW=require("stream"),y1=so(),cW=require("util"),aW=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function eW(i){return Object.prototype.toString.call(i)==="[object Object]"}function sW(i){if(eW(i))return i;try{return JSON.parse(i)}catch(n){return}}function G1(i){var n=i.split(".",1)[0];return sW(S1.from(n,"base64").toString("binary"))}function pW(i){return i.split(".",2).join(".")}function Z1(i){return i.split(".")[2]}function tW(i,n){n=n||"utf8";var c=i.split(".")[1];return S1.from(c,"base64").toString(n)}function X1(i){return aW.test(i)&&!!G1(i)}function Y1(i,n,c){if(!n){var a=Error("Missing algorithm parameter for jws.verify");throw a.code="MISSING_ALGORITHM",a}i=y1(i);var e=Z1(i),s=pW(i),p=iW(n);return p.verify(s,e,c)}function P1(i,n){if(n=n||{},i=y1(i),!X1(i))return null;var c=G1(i);if(!c)return null;var a=tW(i);if(c.typ==="JWT"||n.json)a=JSON.parse(a,n.encoding);return{header:c,payload:a,signature:Z1(i)}}function Gc(i){i=i||{};var n=i.secret;if(n=n==null?i.publicKey:n,n=n==null?i.key:n,/^hs/i.test(i.algorithm)===!0&&n==null)throw TypeError("secret must be a string or buffer or a KeyObject");var c=new z1(n);this.readable=!0,this.algorithm=i.algorithm,this.encoding=i.encoding,this.secret=this.publicKey=this.key=c,this.signature=new z1(i.signature),this.secret.once("close",function(){if(!this.signature.writable&&this.readable)this.verify()}.bind(this)),this.signature.once("close",function(){if(!this.secret.writable&&this.readable)this.verify()}.bind(this))}cW.inherits(Gc,nW);Gc.prototype.verify=function(){try{var n=Y1(this.signature.buffer,this.algorithm,this.key.buffer),c=P1(this.signature.buffer,this.encoding);return this.emit("done",n,c),this.emit("data",n),this.emit("end"),this.readable=!1,n}catch(a){this.readable=!1,this.emit("error",a),this.emit("close")}};Gc.decode=P1;Gc.isValid=X1;Gc.verify=Y1;H1.exports=Gc});var Be=d((Zn)=>{var A1=$1(),ge=I1(),oW=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];Zn.ALGORITHMS=oW;Zn.sign=A1.sign;Zn.verify=ge.verify;Zn.decode=ge.decode;Zn.isValid=ge.isValid;Zn.createSign=function(n){return new A1(n)};Zn.createVerify=function(n){return new ge(n)}});var to=d((wC,C1)=>{var uW=Be();C1.exports=function(i,n){n=n||{};var c=uW.decode(i,n);if(!c)return null;var a=c.payload;if(typeof a==="string")try{var e=JSON.parse(a);if(e!==null&&typeof e==="object")a=e}catch(s){}if(n.complete===!0)return{header:c.header,payload:a,signature:c.signature};return a}});var Za=d((qC,O1)=>{var ke=function(i,n){if(Error.call(this,i),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);if(this.name="JsonWebTokenError",this.message=i,n)this.inner=n};ke.prototype=Object.create(Error.prototype);ke.prototype.constructor=ke;O1.exports=ke});var oo=d((_C,M1)=>{var V1=Za(),Fe=function(i,n){V1.call(this,i),this.name="NotBeforeError",this.date=n};Fe.prototype=Object.create(V1.prototype);Fe.prototype.constructor=Fe;M1.exports=Fe});var uo=d((WC,N1)=>{var E1=Za(),Ue=function(i,n){E1.call(this,i),this.name="TokenExpiredError",this.expiredAt=n};Ue.prototype=Object.create(E1.prototype);Ue.prototype.constructor=Ue;N1.exports=Ue});var ro=d((KC,R1)=>{var rW=mt();R1.exports=function(i,n){var c=n||Math.floor(Date.now()/1000);if(typeof i==="string"){var a=rW(i);if(typeof a>"u")return;return Math.floor(c+a/1000)}else if(typeof i==="number")return c+i;else return}});var Xa=d((JC,j1)=>{var dW=Number.MAX_SAFE_INTEGER||9007199254740991,mW=["major","premajor","minor","preminor","patch","prepatch","prerelease"];j1.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:dW,RELEASE_TYPES:mW,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ya=d(($C,D1)=>{var lW=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};D1.exports=lW});var Zc=d((pn,T1)=>{var{MAX_SAFE_COMPONENT_LENGTH:mo,MAX_SAFE_BUILD_LENGTH:xW,MAX_LENGTH:fW}=Xa(),vW=Ya();pn=T1.exports={};var hW=pn.re=[],bW=pn.safeRe=[],W=pn.src=[],wW=pn.safeSrc=[],K=pn.t={},qW=0,lo="[a-zA-Z0-9-]",_W=[["\\s",1],["\\d",fW],[lo,xW]],WW=(i)=>{for(let[n,c]of _W)i=i.split(`${n}*`).join(`${n}{0,${c}}`).split(`${n}+`).join(`${n}{1,${c}}`);return i},G=(i,n,c)=>{let a=WW(n),e=qW++;vW(i,e,n),K[i]=e,W[e]=n,wW[e]=a,hW[e]=new RegExp(n,c?"g":void 0),bW[e]=new RegExp(a,c?"g":void 0)};G("NUMERICIDENTIFIER","0|[1-9]\\d*");G("NUMERICIDENTIFIERLOOSE","\\d+");G("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${lo}*`);G("MAINVERSION",`(${W[K.NUMERICIDENTIFIER]})\\.(${W[K.NUMERICIDENTIFIER]})\\.(${W[K.NUMERICIDENTIFIER]})`);G("MAINVERSIONLOOSE",`(${W[K.NUMERICIDENTIFIERLOOSE]})\\.(${W[K.NUMERICIDENTIFIERLOOSE]})\\.(${W[K.NUMERICIDENTIFIERLOOSE]})`);G("PRERELEASEIDENTIFIER",`(?:${W[K.NONNUMERICIDENTIFIER]}|${W[K.NUMERICIDENTIFIER]})`);G("PRERELEASEIDENTIFIERLOOSE",`(?:${W[K.NONNUMERICIDENTIFIER]}|${W[K.NUMERICIDENTIFIERLOOSE]})`);G("PRERELEASE",`(?:-(${W[K.PRERELEASEIDENTIFIER]}(?:\\.${W[K.PRERELEASEIDENTIFIER]})*))`);G("PRERELEASELOOSE",`(?:-?(${W[K.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${W[K.PRERELEASEIDENTIFIERLOOSE]})*))`);G("BUILDIDENTIFIER",`${lo}+`);G("BUILD",`(?:\\+(${W[K.BUILDIDENTIFIER]}(?:\\.${W[K.BUILDIDENTIFIER]})*))`);G("FULLPLAIN",`v?${W[K.MAINVERSION]}${W[K.PRERELEASE]}?${W[K.BUILD]}?`);G("FULL",`^${W[K.FULLPLAIN]}$`);G("LOOSEPLAIN",`[v=\\s]*${W[K.MAINVERSIONLOOSE]}${W[K.PRERELEASELOOSE]}?${W[K.BUILD]}?`);G("LOOSE",`^${W[K.LOOSEPLAIN]}$`);G("GTLT","((?:<|>)?=?)");G("XRANGEIDENTIFIERLOOSE",`${W[K.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);G("XRANGEIDENTIFIER",`${W[K.NUMERICIDENTIFIER]}|x|X|\\*`);G("XRANGEPLAIN",`[v=\\s]*(${W[K.XRANGEIDENTIFIER]})(?:\\.(${W[K.XRANGEIDENTIFIER]})(?:\\.(${W[K.XRANGEIDENTIFIER]})(?:${W[K.PRERELEASE]})?${W[K.BUILD]}?)?)?`);G("XRANGEPLAINLOOSE",`[v=\\s]*(${W[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${W[K.XRANGEIDENTIFIERLOOSE]})(?:\\.(${W[K.XRANGEIDENTIFIERLOOSE]})(?:${W[K.PRERELEASELOOSE]})?${W[K.BUILD]}?)?)?`);G("XRANGE",`^${W[K.GTLT]}\\s*${W[K.XRANGEPLAIN]}$`);G("XRANGELOOSE",`^${W[K.GTLT]}\\s*${W[K.XRANGEPLAINLOOSE]}$`);G("COERCEPLAIN",`(^|[^\\d])(\\d{1,${mo}})(?:\\.(\\d{1,${mo}}))?(?:\\.(\\d{1,${mo}}))?`);G("COERCE",`${W[K.COERCEPLAIN]}(?:$|[^\\d])`);G("COERCEFULL",W[K.COERCEPLAIN]+`(?:${W[K.PRERELEASE]})?(?:${W[K.BUILD]})?(?:$|[^\\d])`);G("COERCERTL",W[K.COERCE],!0);G("COERCERTLFULL",W[K.COERCEFULL],!0);G("LONETILDE","(?:~>?)");G("TILDETRIM",`(\\s*)${W[K.LONETILDE]}\\s+`,!0);pn.tildeTrimReplace="$1~";G("TILDE",`^${W[K.LONETILDE]}${W[K.XRANGEPLAIN]}$`);G("TILDELOOSE",`^${W[K.LONETILDE]}${W[K.XRANGEPLAINLOOSE]}$`);G("LONECARET","(?:\\^)");G("CARETTRIM",`(\\s*)${W[K.LONECARET]}\\s+`,!0);pn.caretTrimReplace="$1^";G("CARET",`^${W[K.LONECARET]}${W[K.XRANGEPLAIN]}$`);G("CARETLOOSE",`^${W[K.LONECARET]}${W[K.XRANGEPLAINLOOSE]}$`);G("COMPARATORLOOSE",`^${W[K.GTLT]}\\s*(${W[K.LOOSEPLAIN]})$|^$`);G("COMPARATOR",`^${W[K.GTLT]}\\s*(${W[K.FULLPLAIN]})$|^$`);G("COMPARATORTRIM",`(\\s*)${W[K.GTLT]}\\s*(${W[K.LOOSEPLAIN]}|${W[K.XRANGEPLAIN]})`,!0);pn.comparatorTrimReplace="$1$2$3";G("HYPHENRANGE",`^\\s*(${W[K.XRANGEPLAIN]})\\s+-\\s+(${W[K.XRANGEPLAIN]})\\s*$`);G("HYPHENRANGELOOSE",`^\\s*(${W[K.XRANGEPLAINLOOSE]})\\s+-\\s+(${W[K.XRANGEPLAINLOOSE]})\\s*$`);G("STAR","(<|>)?=?\\s*\\*");G("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");G("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Qe=d((zC,L1)=>{var KW=Object.freeze({loose:!0}),JW=Object.freeze({}),$W=(i)=>{if(!i)return JW;if(typeof i!=="object")return KW;return i};L1.exports=$W});var xo=d((SC,k1)=>{var g1=/^[0-9]+$/,B1=(i,n)=>{if(typeof i==="number"&&typeof n==="number")return i===n?0:i<n?-1:1;let c=g1.test(i),a=g1.test(n);if(c&&a)i=+i,n=+n;return i===n?0:c&&!a?-1:a&&!c?1:i<n?-1:1},zW=(i,n)=>B1(n,i);k1.exports={compareIdentifiers:B1,rcompareIdentifiers:zW}});var di=d((yC,U1)=>{var is=Ya(),{MAX_LENGTH:F1,MAX_SAFE_INTEGER:ns}=Xa(),{safeRe:cs,t:as}=Zc(),SW=Qe(),{compareIdentifiers:fo}=xo();class ki{constructor(i,n){if(n=SW(n),i instanceof ki)if(i.loose===!!n.loose&&i.includePrerelease===!!n.includePrerelease)return i;else i=i.version;else if(typeof i!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`);if(i.length>F1)throw TypeError(`version is longer than ${F1} characters`);is("SemVer",i,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let c=i.trim().match(n.loose?cs[as.LOOSE]:cs[as.FULL]);if(!c)throw TypeError(`Invalid Version: ${i}`);if(this.raw=i,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>ns||this.major<0)throw TypeError("Invalid major version");if(this.minor>ns||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>ns||this.patch<0)throw TypeError("Invalid patch version");if(!c[4])this.prerelease=[];else this.prerelease=c[4].split(".").map((a)=>{if(/^[0-9]+$/.test(a)){let e=+a;if(e>=0&&e<ns)return e}return a});this.build=c[5]?c[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(i){if(is("SemVer.compare",this.version,this.options,i),!(i instanceof ki)){if(typeof i==="string"&&i===this.version)return 0;i=new ki(i,this.options)}if(i.version===this.version)return 0;return this.compareMain(i)||this.comparePre(i)}compareMain(i){if(!(i instanceof ki))i=new ki(i,this.options);if(this.major<i.major)return-1;if(this.major>i.major)return 1;if(this.minor<i.minor)return-1;if(this.minor>i.minor)return 1;if(this.patch<i.patch)return-1;if(this.patch>i.patch)return 1;return 0}comparePre(i){if(!(i instanceof ki))i=new ki(i,this.options);if(this.prerelease.length&&!i.prerelease.length)return-1;else if(!this.prerelease.length&&i.prerelease.length)return 1;else if(!this.prerelease.length&&!i.prerelease.length)return 0;let n=0;do{let c=this.prerelease[n],a=i.prerelease[n];if(is("prerelease compare",n,c,a),c===void 0&&a===void 0)return 0;else if(a===void 0)return 1;else if(c===void 0)return-1;else if(c===a)continue;else return fo(c,a)}while(++n)}compareBuild(i){if(!(i instanceof ki))i=new ki(i,this.options);let n=0;do{let c=this.build[n],a=i.build[n];if(is("build compare",n,c,a),c===void 0&&a===void 0)return 0;else if(a===void 0)return 1;else if(c===void 0)return-1;else if(c===a)continue;else return fo(c,a)}while(++n)}inc(i,n,c){if(i.startsWith("pre")){if(!n&&c===!1)throw Error("invalid increment argument: identifier is empty");if(n){let a=`-${n}`.match(this.options.loose?cs[as.PRERELEASELOOSE]:cs[as.PRERELEASE]);if(!a||a[1]!==n)throw Error(`invalid identifier: ${n}`)}}switch(i){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,c);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,c);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,c),this.inc("pre",n,c);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",n,c);this.inc("pre",n,c);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let a=Number(c)?1:0;if(this.prerelease.length===0)this.prerelease=[a];else{let e=this.prerelease.length;while(--e>=0)if(typeof this.prerelease[e]==="number")this.prerelease[e]++,e=-2;if(e===-1){if(n===this.prerelease.join(".")&&c===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(a)}}if(n){let e=[n,a];if(c===!1)e=[n];if(fo(this.prerelease[0],n)===0){if(isNaN(this.prerelease[1]))this.prerelease=e}else this.prerelease=e}break}default:throw Error(`invalid increment argument: ${i}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}U1.exports=ki});var Un=d((GC,nf)=>{var Q1=di(),yW=(i,n,c=!1)=>{if(i instanceof Q1)return i;try{return new Q1(i,n)}catch(a){if(!c)return null;throw a}};nf.exports=yW});var af=d((ZC,cf)=>{var GW=Un(),ZW=(i,n)=>{let c=GW(i,n);return c?c.version:null};cf.exports=ZW});var sf=d((XC,ef)=>{var XW=Un(),YW=(i,n)=>{let c=XW(i.trim().replace(/^[=v]+/,""),n);return c?c.version:null};ef.exports=YW});var of=d((YC,tf)=>{var pf=di(),PW=(i,n,c,a,e)=>{if(typeof c==="string")e=a,a=c,c=void 0;try{return new pf(i instanceof pf?i.version:i,c).inc(n,a,e).version}catch(s){return null}};tf.exports=PW});var df=d((PC,rf)=>{var uf=Un(),HW=(i,n)=>{let c=uf(i,null,!0),a=uf(n,null,!0),e=c.compare(a);if(e===0)return null;let s=e>0,p=s?c:a,t=s?a:c,u=!!p.prerelease.length;if(!!t.prerelease.length&&!u){if(!t.patch&&!t.minor)return"major";if(t.compareMain(p)===0){if(t.minor&&!t.patch)return"minor";return"patch"}}let r=u?"pre":"";if(c.major!==a.major)return r+"major";if(c.minor!==a.minor)return r+"minor";if(c.patch!==a.patch)return r+"patch";return"prerelease"};rf.exports=HW});var lf=d((HC,mf)=>{var IW=di(),AW=(i,n)=>new IW(i,n).major;mf.exports=AW});var ff=d((IC,xf)=>{var CW=di(),OW=(i,n)=>new CW(i,n).minor;xf.exports=OW});var hf=d((AC,vf)=>{var VW=di(),MW=(i,n)=>new VW(i,n).patch;vf.exports=MW});var wf=d((CC,bf)=>{var EW=Un(),NW=(i,n)=>{let c=EW(i,n);return c&&c.prerelease.length?c.prerelease:null};bf.exports=NW});var Ai=d((OC,_f)=>{var qf=di(),RW=(i,n,c)=>new qf(i,c).compare(new qf(n,c));_f.exports=RW});var Kf=d((VC,Wf)=>{var jW=Ai(),DW=(i,n,c)=>jW(n,i,c);Wf.exports=DW});var $f=d((MC,Jf)=>{var TW=Ai(),LW=(i,n)=>TW(i,n,!0);Jf.exports=LW});var es=d((EC,Sf)=>{var zf=di(),gW=(i,n,c)=>{let a=new zf(i,c),e=new zf(n,c);return a.compare(e)||a.compareBuild(e)};Sf.exports=gW});var Gf=d((NC,yf)=>{var BW=es(),kW=(i,n)=>i.sort((c,a)=>BW(c,a,n));yf.exports=kW});var Xf=d((RC,Zf)=>{var FW=es(),UW=(i,n)=>i.sort((c,a)=>FW(a,c,n));Zf.exports=UW});var Pa=d((jC,Yf)=>{var QW=Ai(),iK=(i,n,c)=>QW(i,n,c)>0;Yf.exports=iK});var ss=d((DC,Pf)=>{var nK=Ai(),cK=(i,n,c)=>nK(i,n,c)<0;Pf.exports=cK});var vo=d((TC,Hf)=>{var aK=Ai(),eK=(i,n,c)=>aK(i,n,c)===0;Hf.exports=eK});var ho=d((LC,If)=>{var sK=Ai(),pK=(i,n,c)=>sK(i,n,c)!==0;If.exports=pK});var ps=d((gC,Af)=>{var tK=Ai(),oK=(i,n,c)=>tK(i,n,c)>=0;Af.exports=oK});var ts=d((BC,Cf)=>{var uK=Ai(),rK=(i,n,c)=>uK(i,n,c)<=0;Cf.exports=rK});var bo=d((kC,Of)=>{var dK=vo(),mK=ho(),lK=Pa(),xK=ps(),fK=ss(),vK=ts(),hK=(i,n,c,a)=>{switch(n){case"===":if(typeof i==="object")i=i.version;if(typeof c==="object")c=c.version;return i===c;case"!==":if(typeof i==="object")i=i.version;if(typeof c==="object")c=c.version;return i!==c;case"":case"=":case"==":return dK(i,c,a);case"!=":return mK(i,c,a);case">":return lK(i,c,a);case">=":return xK(i,c,a);case"<":return fK(i,c,a);case"<=":return vK(i,c,a);default:throw TypeError(`Invalid operator: ${n}`)}};Of.exports=hK});var Mf=d((FC,Vf)=>{var bK=di(),wK=Un(),{safeRe:os,t:us}=Zc(),qK=(i,n)=>{if(i instanceof bK)return i;if(typeof i==="number")i=String(i);if(typeof i!=="string")return null;n=n||{};let c=null;if(!n.rtl)c=i.match(n.includePrerelease?os[us.COERCEFULL]:os[us.COERCE]);else{let u=n.includePrerelease?os[us.COERCERTLFULL]:os[us.COERCERTL],o;while((o=u.exec(i))&&(!c||c.index+c[0].length!==i.length)){if(!c||o.index+o[0].length!==c.index+c[0].length)c=o;u.lastIndex=o.index+o[1].length+o[2].length}u.lastIndex=-1}if(c===null)return null;let a=c[2],e=c[3]||"0",s=c[4]||"0",p=n.includePrerelease&&c[5]?`-${c[5]}`:"",t=n.includePrerelease&&c[6]?`+${c[6]}`:"";return wK(`${a}.${e}.${s}${p}${t}`,n)};Vf.exports=qK});var Rf=d((UC,Nf)=>{class Ef{constructor(){this.max=1000,this.map=new Map}get(i){let n=this.map.get(i);if(n===void 0)return;else return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(i,n)}return this}}Nf.exports=Ef});var Ci=d((QC,Lf)=>{var _K=/\s+/g;class Ha{constructor(i,n){if(n=KK(n),i instanceof Ha)if(i.loose===!!n.loose&&i.includePrerelease===!!n.includePrerelease)return i;else return new Ha(i.raw,n);if(i instanceof wo)return this.raw=i.value,this.set=[[i]],this.formatted=void 0,this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=i.trim().replace(_K," "),this.set=this.raw.split("||").map((c)=>this.parseRange(c.trim())).filter((c)=>c.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let c=this.set[0];if(this.set=this.set.filter((a)=>!Df(a[0])),this.set.length===0)this.set=[c];else if(this.set.length>1){for(let a of this.set)if(a.length===1&&ZK(a[0])){this.set=[a];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let i=0;i<this.set.length;i++){if(i>0)this.formatted+="||";let n=this.set[i];for(let c=0;c<n.length;c++){if(c>0)this.formatted+=" ";this.formatted+=n[c].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){let c=((this.options.includePrerelease&&yK)|(this.options.loose&&GK))+":"+i,a=jf.get(c);if(a)return a;let e=this.options.loose,s=e?vi[mi.HYPHENRANGELOOSE]:vi[mi.HYPHENRANGE];i=i.replace(s,MK(this.options.includePrerelease)),j("hyphen replace",i),i=i.replace(vi[mi.COMPARATORTRIM],$K),j("comparator trim",i),i=i.replace(vi[mi.TILDETRIM],zK),j("tilde trim",i),i=i.replace(vi[mi.CARETTRIM],SK),j("caret trim",i);let p=i.split(" ").map((r)=>XK(r,this.options)).join(" ").split(/\s+/).map((r)=>VK(r,this.options));if(e)p=p.filter((r)=>{return j("loose invalid filter",r,this.options),!!r.match(vi[mi.COMPARATORLOOSE])});j("range list",p);let t=new Map,u=p.map((r)=>new wo(r,this.options));for(let r of u){if(Df(r))return[r];t.set(r.value,r)}if(t.size>1&&t.has(""))t.delete("");let o=[...t.values()];return jf.set(c,o),o}intersects(i,n){if(!(i instanceof Ha))throw TypeError("a Range is required");return this.set.some((c)=>{return Tf(c,n)&&i.set.some((a)=>{return Tf(a,n)&&c.every((e)=>{return a.every((s)=>{return e.intersects(s,n)})})})})}test(i){if(!i)return!1;if(typeof i==="string")try{i=new JK(i,this.options)}catch(n){return!1}for(let n=0;n<this.set.length;n++)if(EK(this.set[n],i,this.options))return!0;return!1}}Lf.exports=Ha;var WK=Rf(),jf=new WK,KK=Qe(),wo=Ia(),j=Ya(),JK=di(),{safeRe:vi,t:mi,comparatorTrimReplace:$K,tildeTrimReplace:zK,caretTrimReplace:SK}=Zc(),{FLAG_INCLUDE_PRERELEASE:yK,FLAG_LOOSE:GK}=Xa(),Df=(i)=>i.value==="<0.0.0-0",ZK=(i)=>i.value==="",Tf=(i,n)=>{let c=!0,a=i.slice(),e=a.pop();while(c&&a.length)c=a.every((s)=>{return e.intersects(s,n)}),e=a.pop();return c},XK=(i,n)=>{return i=i.replace(vi[mi.BUILD],""),j("comp",i,n),i=HK(i,n),j("caret",i),i=YK(i,n),j("tildes",i),i=AK(i,n),j("xrange",i),i=OK(i,n),j("stars",i),i},hi=(i)=>!i||i.toLowerCase()==="x"||i==="*",YK=(i,n)=>{return i.trim().split(/\s+/).map((c)=>PK(c,n)).join(" ")},PK=(i,n)=>{let c=n.loose?vi[mi.TILDELOOSE]:vi[mi.TILDE];return i.replace(c,(a,e,s,p,t)=>{j("tilde",i,a,e,s,p,t);let u;if(hi(e))u="";else if(hi(s))u=`>=${e}.0.0 <${+e+1}.0.0-0`;else if(hi(p))u=`>=${e}.${s}.0 <${e}.${+s+1}.0-0`;else if(t)j("replaceTilde pr",t),u=`>=${e}.${s}.${p}-${t} <${e}.${+s+1}.0-0`;else u=`>=${e}.${s}.${p} <${e}.${+s+1}.0-0`;return j("tilde return",u),u})},HK=(i,n)=>{return i.trim().split(/\s+/).map((c)=>IK(c,n)).join(" ")},IK=(i,n)=>{j("caret",i,n);let c=n.loose?vi[mi.CARETLOOSE]:vi[mi.CARET],a=n.includePrerelease?"-0":"";return i.replace(c,(e,s,p,t,u)=>{j("caret",i,e,s,p,t,u);let o;if(hi(s))o="";else if(hi(p))o=`>=${s}.0.0${a} <${+s+1}.0.0-0`;else if(hi(t))if(s==="0")o=`>=${s}.${p}.0${a} <${s}.${+p+1}.0-0`;else o=`>=${s}.${p}.0${a} <${+s+1}.0.0-0`;else if(u)if(j("replaceCaret pr",u),s==="0")if(p==="0")o=`>=${s}.${p}.${t}-${u} <${s}.${p}.${+t+1}-0`;else o=`>=${s}.${p}.${t}-${u} <${s}.${+p+1}.0-0`;else o=`>=${s}.${p}.${t}-${u} <${+s+1}.0.0-0`;else if(j("no pr"),s==="0")if(p==="0")o=`>=${s}.${p}.${t}${a} <${s}.${p}.${+t+1}-0`;else o=`>=${s}.${p}.${t}${a} <${s}.${+p+1}.0-0`;else o=`>=${s}.${p}.${t} <${+s+1}.0.0-0`;return j("caret return",o),o})},AK=(i,n)=>{return j("replaceXRanges",i,n),i.split(/\s+/).map((c)=>CK(c,n)).join(" ")},CK=(i,n)=>{i=i.trim();let c=n.loose?vi[mi.XRANGELOOSE]:vi[mi.XRANGE];return i.replace(c,(a,e,s,p,t,u)=>{j("xRange",i,a,e,s,p,t,u);let o=hi(s),r=o||hi(p),m=r||hi(t),v=m;if(e==="="&&v)e="";if(u=n.includePrerelease?"-0":"",o)if(e===">"||e==="<")a="<0.0.0-0";else a="*";else if(e&&v){if(r)p=0;if(t=0,e===">")if(e=">=",r)s=+s+1,p=0,t=0;else p=+p+1,t=0;else if(e==="<=")if(e="<",r)s=+s+1;else p=+p+1;if(e==="<")u="-0";a=`${e+s}.${p}.${t}${u}`}else if(r)a=`>=${s}.0.0${u} <${+s+1}.0.0-0`;else if(m)a=`>=${s}.${p}.0${u} <${s}.${+p+1}.0-0`;return j("xRange return",a),a})},OK=(i,n)=>{return j("replaceStars",i,n),i.trim().replace(vi[mi.STAR],"")},VK=(i,n)=>{return j("replaceGTE0",i,n),i.trim().replace(vi[n.includePrerelease?mi.GTE0PRE:mi.GTE0],"")},MK=(i)=>(n,c,a,e,s,p,t,u,o,r,m,v)=>{if(hi(a))c="";else if(hi(e))c=`>=${a}.0.0${i?"-0":""}`;else if(hi(s))c=`>=${a}.${e}.0${i?"-0":""}`;else if(p)c=`>=${c}`;else c=`>=${c}${i?"-0":""}`;if(hi(o))u="";else if(hi(r))u=`<${+o+1}.0.0-0`;else if(hi(m))u=`<${o}.${+r+1}.0-0`;else if(v)u=`<=${o}.${r}.${m}-${v}`;else if(i)u=`<${o}.${r}.${+m+1}-0`;else u=`<=${u}`;return`${c} ${u}`.trim()},EK=(i,n,c)=>{for(let a=0;a<i.length;a++)if(!i[a].test(n))return!1;if(n.prerelease.length&&!c.includePrerelease){for(let a=0;a<i.length;a++){if(j(i[a].semver),i[a].semver===wo.ANY)continue;if(i[a].semver.prerelease.length>0){let e=i[a].semver;if(e.major===n.major&&e.minor===n.minor&&e.patch===n.patch)return!0}}return!1}return!0}});var Ia=d((iO,Qf)=>{var Aa=Symbol("SemVer ANY");class rs{static get ANY(){return Aa}constructor(i,n){if(n=gf(n),i instanceof rs)if(i.loose===!!n.loose)return i;else i=i.value;if(i=i.trim().split(/\s+/).join(" "),_o("comparator",i,n),this.options=n,this.loose=!!n.loose,this.parse(i),this.semver===Aa)this.value="";else this.value=this.operator+this.semver.version;_o("comp",this)}parse(i){let n=this.options.loose?Bf[kf.COMPARATORLOOSE]:Bf[kf.COMPARATOR],c=i.match(n);if(!c)throw TypeError(`Invalid comparator: ${i}`);if(this.operator=c[1]!==void 0?c[1]:"",this.operator==="=")this.operator="";if(!c[2])this.semver=Aa;else this.semver=new Ff(c[2],this.options.loose)}toString(){return this.value}test(i){if(_o("Comparator.test",i,this.options.loose),this.semver===Aa||i===Aa)return!0;if(typeof i==="string")try{i=new Ff(i,this.options)}catch(n){return!1}return qo(i,this.operator,this.semver,this.options)}intersects(i,n){if(!(i instanceof rs))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new Uf(i.value,n).test(this.value)}else if(i.operator===""){if(i.value==="")return!0;return new Uf(this.value,n).test(i.semver)}if(n=gf(n),n.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0"))return!1;if(!n.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&i.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&i.operator.startsWith("<"))return!0;if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("="))return!0;if(qo(this.semver,"<",i.semver,n)&&this.operator.startsWith(">")&&i.operator.startsWith("<"))return!0;if(qo(this.semver,">",i.semver,n)&&this.operator.startsWith("<")&&i.operator.startsWith(">"))return!0;return!1}}Qf.exports=rs;var gf=Qe(),{safeRe:Bf,t:kf}=Zc(),qo=bo(),_o=Ya(),Ff=di(),Uf=Ci()});var Ca=d((nO,iv)=>{var NK=Ci(),RK=(i,n,c)=>{try{n=new NK(n,c)}catch(a){return!1}return n.test(i)};iv.exports=RK});var cv=d((cO,nv)=>{var jK=Ci(),DK=(i,n)=>new jK(i,n).set.map((c)=>c.map((a)=>a.value).join(" ").trim().split(" "));nv.exports=DK});var ev=d((aO,av)=>{var TK=di(),LK=Ci(),gK=(i,n,c)=>{let a=null,e=null,s=null;try{s=new LK(n,c)}catch(p){return null}return i.forEach((p)=>{if(s.test(p)){if(!a||e.compare(p)===-1)a=p,e=new TK(a,c)}}),a};av.exports=gK});var pv=d((eO,sv)=>{var BK=di(),kK=Ci(),FK=(i,n,c)=>{let a=null,e=null,s=null;try{s=new kK(n,c)}catch(p){return null}return i.forEach((p)=>{if(s.test(p)){if(!a||e.compare(p)===1)a=p,e=new BK(a,c)}}),a};sv.exports=FK});var uv=d((sO,ov)=>{var Wo=di(),UK=Ci(),tv=Pa(),QK=(i,n)=>{i=new UK(i,n);let c=new Wo("0.0.0");if(i.test(c))return c;if(c=new Wo("0.0.0-0"),i.test(c))return c;c=null;for(let a=0;a<i.set.length;++a){let e=i.set[a],s=null;if(e.forEach((p)=>{let t=new Wo(p.semver.version);switch(p.operator){case">":if(t.prerelease.length===0)t.patch++;else t.prerelease.push(0);t.raw=t.format();case"":case">=":if(!s||tv(t,s))s=t;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${p.operator}`)}}),s&&(!c||tv(c,s)))c=s}if(c&&i.test(c))return c;return null};ov.exports=QK});var dv=d((pO,rv)=>{var i3=Ci(),n3=(i,n)=>{try{return new i3(i,n).range||"*"}catch(c){return null}};rv.exports=n3});var ds=d((tO,fv)=>{var c3=di(),xv=Ia(),{ANY:a3}=xv,e3=Ci(),s3=Ca(),mv=Pa(),lv=ss(),p3=ts(),t3=ps(),o3=(i,n,c,a)=>{i=new c3(i,a),n=new e3(n,a);let e,s,p,t,u;switch(c){case">":e=mv,s=p3,p=lv,t=">",u=">=";break;case"<":e=lv,s=t3,p=mv,t="<",u="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(s3(i,n,a))return!1;for(let o=0;o<n.set.length;++o){let r=n.set[o],m=null,v=null;if(r.forEach((l)=>{if(l.semver===a3)l=new xv(">=0.0.0");if(m=m||l,v=v||l,e(l.semver,m.semver,a))m=l;else if(p(l.semver,v.semver,a))v=l}),m.operator===t||m.operator===u)return!1;if((!v.operator||v.operator===t)&&s(i,v.semver))return!1;else if(v.operator===u&&p(i,v.semver))return!1}return!0};fv.exports=o3});var hv=d((oO,vv)=>{var u3=ds(),r3=(i,n,c)=>u3(i,n,">",c);vv.exports=r3});var wv=d((uO,bv)=>{var d3=ds(),m3=(i,n,c)=>d3(i,n,"<",c);bv.exports=m3});var Wv=d((rO,_v)=>{var qv=Ci(),l3=(i,n,c)=>{return i=new qv(i,c),n=new qv(n,c),i.intersects(n,c)};_v.exports=l3});var Jv=d((dO,Kv)=>{var x3=Ca(),f3=Ai();Kv.exports=(i,n,c)=>{let a=[],e=null,s=null,p=i.sort((r,m)=>f3(r,m,c));for(let r of p)if(x3(r,n,c)){if(s=r,!e)e=r}else{if(s)a.push([e,s]);s=null,e=null}if(e)a.push([e,null]);let t=[];for(let[r,m]of a)if(r===m)t.push(r);else if(!m&&r===p[0])t.push("*");else if(!m)t.push(`>=${r}`);else if(r===p[0])t.push(`<=${m}`);else t.push(`${r} - ${m}`);let u=t.join(" || "),o=typeof n.raw==="string"?n.raw:String(n);return u.length<o.length?u:n}});var Zv=d((mO,Gv)=>{var $v=Ci(),Jo=Ia(),{ANY:Ko}=Jo,Oa=Ca(),$o=Ai(),v3=(i,n,c={})=>{if(i===n)return!0;i=new $v(i,c),n=new $v(n,c);let a=!1;i:for(let e of i.set){for(let s of n.set){let p=b3(e,s,c);if(a=a||p!==null,p)continue i}if(a)return!1}return!0},h3=[new Jo(">=0.0.0-0")],zv=[new Jo(">=0.0.0")],b3=(i,n,c)=>{if(i===n)return!0;if(i.length===1&&i[0].semver===Ko)if(n.length===1&&n[0].semver===Ko)return!0;else if(c.includePrerelease)i=h3;else i=zv;if(n.length===1&&n[0].semver===Ko)if(c.includePrerelease)return!0;else n=zv;let a=new Set,e,s;for(let l of i)if(l.operator===">"||l.operator===">=")e=Sv(e,l,c);else if(l.operator==="<"||l.operator==="<=")s=yv(s,l,c);else a.add(l.semver);if(a.size>1)return null;let p;if(e&&s){if(p=$o(e.semver,s.semver,c),p>0)return null;else if(p===0&&(e.operator!==">="||s.operator!=="<="))return null}for(let l of a){if(e&&!Oa(l,String(e),c))return null;if(s&&!Oa(l,String(s),c))return null;for(let f of n)if(!Oa(l,String(f),c))return!1;return!0}let t,u,o,r,m=s&&!c.includePrerelease&&s.semver.prerelease.length?s.semver:!1,v=e&&!c.includePrerelease&&e.semver.prerelease.length?e.semver:!1;if(m&&m.prerelease.length===1&&s.operator==="<"&&m.prerelease[0]===0)m=!1;for(let l of n){if(r=r||l.operator===">"||l.operator===">=",o=o||l.operator==="<"||l.operator==="<=",e){if(v){if(l.semver.prerelease&&l.semver.prerelease.length&&l.semver.major===v.major&&l.semver.minor===v.minor&&l.semver.patch===v.patch)v=!1}if(l.operator===">"||l.operator===">="){if(t=Sv(e,l,c),t===l&&t!==e)return!1}else if(e.operator===">="&&!Oa(e.semver,String(l),c))return!1}if(s){if(m){if(l.semver.prerelease&&l.semver.prerelease.length&&l.semver.major===m.major&&l.semver.minor===m.minor&&l.semver.patch===m.patch)m=!1}if(l.operator==="<"||l.operator==="<="){if(u=yv(s,l,c),u===l&&u!==s)return!1}else if(s.operator==="<="&&!Oa(s.semver,String(l),c))return!1}if(!l.operator&&(s||e)&&p!==0)return!1}if(e&&o&&!s&&p!==0)return!1;if(s&&r&&!e&&p!==0)return!1;if(v||m)return!1;return!0},Sv=(i,n,c)=>{if(!i)return n;let a=$o(i.semver,n.semver,c);return a>0?i:a<0?n:n.operator===">"&&i.operator===">="?n:i},yv=(i,n,c)=>{if(!i)return n;let a=$o(i.semver,n.semver,c);return a<0?i:a>0?n:n.operator==="<"&&i.operator==="<="?n:i};Gv.exports=v3});var ms=d((lO,Pv)=>{var zo=Zc(),Xv=Xa(),w3=di(),Yv=xo(),q3=Un(),_3=af(),W3=sf(),K3=of(),J3=df(),$3=lf(),z3=ff(),S3=hf(),y3=wf(),G3=Ai(),Z3=Kf(),X3=$f(),Y3=es(),P3=Gf(),H3=Xf(),I3=Pa(),A3=ss(),C3=vo(),O3=ho(),V3=ps(),M3=ts(),E3=bo(),N3=Mf(),R3=Ia(),j3=Ci(),D3=Ca(),T3=cv(),L3=ev(),g3=pv(),B3=uv(),k3=dv(),F3=ds(),U3=hv(),Q3=wv(),iJ=Wv(),nJ=Jv(),cJ=Zv();Pv.exports={parse:q3,valid:_3,clean:W3,inc:K3,diff:J3,major:$3,minor:z3,patch:S3,prerelease:y3,compare:G3,rcompare:Z3,compareLoose:X3,compareBuild:Y3,sort:P3,rsort:H3,gt:I3,lt:A3,eq:C3,neq:O3,gte:V3,lte:M3,cmp:E3,coerce:N3,Comparator:R3,Range:j3,satisfies:D3,toComparators:T3,maxSatisfying:L3,minSatisfying:g3,minVersion:B3,validRange:k3,outside:F3,gtr:U3,ltr:Q3,intersects:iJ,simplifyRange:nJ,subset:cJ,SemVer:w3,re:zo.re,src:zo.src,tokens:zo.t,SEMVER_SPEC_VERSION:Xv.SEMVER_SPEC_VERSION,RELEASE_TYPES:Xv.RELEASE_TYPES,compareIdentifiers:Yv.compareIdentifiers,rcompareIdentifiers:Yv.rcompareIdentifiers}});var Iv=d((xO,Hv)=>{var aJ=ms();Hv.exports=aJ.satisfies(process.version,">=15.7.0")});var Cv=d((fO,Av)=>{var eJ=ms();Av.exports=eJ.satisfies(process.version,">=16.9.0")});var So=d((vO,Ov)=>{var sJ=Iv(),pJ=Cv(),tJ={ec:["ES256","ES384","ES512"],rsa:["RS256","PS256","RS384","PS384","RS512","PS512"],"rsa-pss":["PS256","PS384","PS512"]},oJ={ES256:"prime256v1",ES384:"secp384r1",ES512:"secp521r1"};Ov.exports=function(i,n){if(!i||!n)return;let c=n.asymmetricKeyType;if(!c)return;let a=tJ[c];if(!a)throw Error(`Unknown key type "${c}".`);if(!a.includes(i))throw Error(`"alg" parameter for "${c}" key type must be one of: ${a.join(", ")}.`);if(sJ)switch(c){case"ec":let e=n.asymmetricKeyDetails.namedCurve,s=oJ[i];if(e!==s)throw Error(`"alg" parameter "${i}" requires curve "${s}".`);break;case"rsa-pss":if(pJ){let p=parseInt(i.slice(-3),10),{hashAlgorithm:t,mgf1HashAlgorithm:u,saltLength:o}=n.asymmetricKeyDetails;if(t!==`sha${p}`||u!==t)throw Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${i}.`);if(o!==void 0&&o>p>>3)throw Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${i}.`)}break}}});var yo=d((hO,Vv)=>{var uJ=ms();Vv.exports=uJ.satisfies(process.version,"^6.12.0 || >=8.0.0")});var Nv=d((bO,Ev)=>{var M=Za(),rJ=oo(),Mv=uo(),dJ=to(),mJ=ro(),lJ=So(),xJ=yo(),fJ=Be(),{KeyObject:vJ,createSecretKey:hJ,createPublicKey:bJ}=require("crypto"),Go=["RS256","RS384","RS512"],wJ=["ES256","ES384","ES512"],Zo=["RS256","RS384","RS512"],qJ=["HS256","HS384","HS512"];if(xJ)Go.splice(Go.length,0,"PS256","PS384","PS512"),Zo.splice(Zo.length,0,"PS256","PS384","PS512");Ev.exports=function(i,n,c,a){if(typeof c==="function"&&!a)a=c,c={};if(!c)c={};c=Object.assign({},c);let e;if(a)e=a;else e=function(r,m){if(r)throw r;return m};if(c.clockTimestamp&&typeof c.clockTimestamp!=="number")return e(new M("clockTimestamp must be a number"));if(c.nonce!==void 0&&(typeof c.nonce!=="string"||c.nonce.trim()===""))return e(new M("nonce must be a non-empty string"));if(c.allowInvalidAsymmetricKeyTypes!==void 0&&typeof c.allowInvalidAsymmetricKeyTypes!=="boolean")return e(new M("allowInvalidAsymmetricKeyTypes must be a boolean"));let s=c.clockTimestamp||Math.floor(Date.now()/1000);if(!i)return e(new M("jwt must be provided"));if(typeof i!=="string")return e(new M("jwt must be a string"));let p=i.split(".");if(p.length!==3)return e(new M("jwt malformed"));let t;try{t=dJ(i,{complete:!0})}catch(r){return e(r)}if(!t)return e(new M("invalid token"));let u=t.header,o;if(typeof n==="function"){if(!a)return e(new M("verify must be called asynchronous if secret or public key is provided as a callback"));o=n}else o=function(r,m){return m(null,n)};return o(u,function(r,m){if(r)return e(new M("error in secret or public key callback: "+r.message));let v=p[2].trim()!=="";if(!v&&m)return e(new M("jwt signature is required"));if(v&&!m)return e(new M("secret or public key must be provided"));if(!v&&!c.algorithms)return e(new M('please specify "none" in "algorithms" to verify unsigned tokens'));if(m!=null&&!(m instanceof vJ))try{m=bJ(m)}catch(h){try{m=hJ(typeof m==="string"?Buffer.from(m):m)}catch(b){return e(new M("secretOrPublicKey is not valid key material"))}}if(!c.algorithms)if(m.type==="secret")c.algorithms=qJ;else if(["rsa","rsa-pss"].includes(m.asymmetricKeyType))c.algorithms=Zo;else if(m.asymmetricKeyType==="ec")c.algorithms=wJ;else c.algorithms=Go;if(c.algorithms.indexOf(t.header.alg)===-1)return e(new M("invalid algorithm"));if(u.alg.startsWith("HS")&&m.type!=="secret")return e(new M(`secretOrPublicKey must be a symmetric key when using ${u.alg}`));else if(/^(?:RS|PS|ES)/.test(u.alg)&&m.type!=="public")return e(new M(`secretOrPublicKey must be an asymmetric key when using ${u.alg}`));if(!c.allowInvalidAsymmetricKeyTypes)try{lJ(u.alg,m)}catch(h){return e(h)}let l;try{l=fJ.verify(i,t.header.alg,m)}catch(h){return e(h)}if(!l)return e(new M("invalid signature"));let f=t.payload;if(typeof f.nbf<"u"&&!c.ignoreNotBefore){if(typeof f.nbf!=="number")return e(new M("invalid nbf value"));if(f.nbf>s+(c.clockTolerance||0))return e(new rJ("jwt not active",new Date(f.nbf*1000)))}if(typeof f.exp<"u"&&!c.ignoreExpiration){if(typeof f.exp!=="number")return e(new M("invalid exp value"));if(s>=f.exp+(c.clockTolerance||0))return e(new Mv("jwt expired",new Date(f.exp*1000)))}if(c.audience){let h=Array.isArray(c.audience)?c.audience:[c.audience];if(!(Array.isArray(f.aud)?f.aud:[f.aud]).some(function(z){return h.some(function(q){return q instanceof RegExp?q.test(z):q===z})}))return e(new M("jwt audience invalid. expected: "+h.join(" or ")))}if(c.issuer){if(typeof c.issuer==="string"&&f.iss!==c.issuer||Array.isArray(c.issuer)&&c.issuer.indexOf(f.iss)===-1)return e(new M("jwt issuer invalid. expected: "+c.issuer))}if(c.subject){if(f.sub!==c.subject)return e(new M("jwt subject invalid. expected: "+c.subject))}if(c.jwtid){if(f.jti!==c.jwtid)return e(new M("jwt jwtid invalid. expected: "+c.jwtid))}if(c.nonce){if(f.nonce!==c.nonce)return e(new M("jwt nonce invalid. expected: "+c.nonce))}if(c.maxAge){if(typeof f.iat!=="number")return e(new M("iat required when maxAge is specified"));let h=mJ(c.maxAge,f.iat);if(typeof h>"u")return e(new M('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(s>=h+(c.clockTolerance||0))return e(new Mv("maxAge exceeded",new Date(h*1000)))}if(c.complete===!0){let h=t.signature;return e(null,{header:u,payload:f,signature:h})}return e(null,f)})}});var gv=d((wO,Lv)=>{var Rv=1/0,Dv=9007199254740991,_J=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,jv=NaN,WJ="[object Arguments]",KJ="[object Function]",JJ="[object GeneratorFunction]",$J="[object String]",zJ="[object Symbol]",SJ=/^\s+|\s+$/g,yJ=/^[-+]0x[0-9a-f]+$/i,GJ=/^0b[01]+$/i,ZJ=/^0o[0-7]+$/i,XJ=/^(?:0|[1-9]\d*)$/,YJ=parseInt;function PJ(i,n){var c=-1,a=i?i.length:0,e=Array(a);while(++c<a)e[c]=n(i[c],c,i);return e}function HJ(i,n,c,a){var e=i.length,s=c+(a?1:-1);while(a?s--:++s<e)if(n(i[s],s,i))return s;return-1}function IJ(i,n,c){if(n!==n)return HJ(i,AJ,c);var a=c-1,e=i.length;while(++a<e)if(i[a]===n)return a;return-1}function AJ(i){return i!==i}function CJ(i,n){var c=-1,a=Array(i);while(++c<i)a[c]=n(c);return a}function OJ(i,n){return PJ(n,function(c){return i[c]})}function VJ(i,n){return function(c){return i(n(c))}}var ls=Object.prototype,Yo=ls.hasOwnProperty,xs=ls.toString,MJ=ls.propertyIsEnumerable,EJ=VJ(Object.keys,Object),NJ=Math.max;function RJ(i,n){var c=Tv(i)||gJ(i)?CJ(i.length,String):[],a=c.length,e=!!a;for(var s in i)if((n||Yo.call(i,s))&&!(e&&(s=="length"||DJ(s,a))))c.push(s);return c}function jJ(i){if(!TJ(i))return EJ(i);var n=[];for(var c in Object(i))if(Yo.call(i,c)&&c!="constructor")n.push(c);return n}function DJ(i,n){return n=n==null?Dv:n,!!n&&(typeof i=="number"||XJ.test(i))&&(i>-1&&i%1==0&&i<n)}function TJ(i){var n=i&&i.constructor,c=typeof n=="function"&&n.prototype||ls;return i===c}function LJ(i,n,c,a){i=Po(i)?i:e$(i),c=c&&!a?n$(c):0;var e=i.length;if(c<0)c=NJ(e+c,0);return UJ(i)?c<=e&&i.indexOf(n,c)>-1:!!e&&IJ(i,n,c)>-1}function gJ(i){return BJ(i)&&Yo.call(i,"callee")&&(!MJ.call(i,"callee")||xs.call(i)==WJ)}var Tv=Array.isArray;function Po(i){return i!=null&&FJ(i.length)&&!kJ(i)}function BJ(i){return Ho(i)&&Po(i)}function kJ(i){var n=Xo(i)?xs.call(i):"";return n==KJ||n==JJ}function FJ(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=Dv}function Xo(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function Ho(i){return!!i&&typeof i=="object"}function UJ(i){return typeof i=="string"||!Tv(i)&&Ho(i)&&xs.call(i)==$J}function QJ(i){return typeof i=="symbol"||Ho(i)&&xs.call(i)==zJ}function i$(i){if(!i)return i===0?i:0;if(i=c$(i),i===Rv||i===-Rv){var n=i<0?-1:1;return n*_J}return i===i?i:0}function n$(i){var n=i$(i),c=n%1;return n===n?c?n-c:n:0}function c$(i){if(typeof i=="number")return i;if(QJ(i))return jv;if(Xo(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=Xo(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(SJ,"");var c=GJ.test(i);return c||ZJ.test(i)?YJ(i.slice(2),c?2:8):yJ.test(i)?jv:+i}function a$(i){return Po(i)?RJ(i):jJ(i)}function e$(i){return i?OJ(i,a$(i)):[]}Lv.exports=LJ});var kv=d((qO,Bv)=>{var s$="[object Boolean]",p$=Object.prototype,t$=p$.toString;function o$(i){return i===!0||i===!1||u$(i)&&t$.call(i)==s$}function u$(i){return!!i&&typeof i=="object"}Bv.exports=o$});var nh=d((_O,ih)=>{var Fv=1/0,r$=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,Uv=NaN,d$="[object Symbol]",m$=/^\s+|\s+$/g,l$=/^[-+]0x[0-9a-f]+$/i,x$=/^0b[01]+$/i,f$=/^0o[0-7]+$/i,v$=parseInt,h$=Object.prototype,b$=h$.toString;function w$(i){return typeof i=="number"&&i==K$(i)}function Qv(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function q$(i){return!!i&&typeof i=="object"}function _$(i){return typeof i=="symbol"||q$(i)&&b$.call(i)==d$}function W$(i){if(!i)return i===0?i:0;if(i=J$(i),i===Fv||i===-Fv){var n=i<0?-1:1;return n*r$}return i===i?i:0}function K$(i){var n=W$(i),c=n%1;return n===n?c?n-c:n:0}function J$(i){if(typeof i=="number")return i;if(_$(i))return Uv;if(Qv(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=Qv(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(m$,"");var c=x$.test(i);return c||f$.test(i)?v$(i.slice(2),c?2:8):l$.test(i)?Uv:+i}ih.exports=w$});var ah=d((WO,ch)=>{var $$="[object Number]",z$=Object.prototype,S$=z$.toString;function y$(i){return!!i&&typeof i=="object"}function G$(i){return typeof i=="number"||y$(i)&&S$.call(i)==$$}ch.exports=G$});var th=d((KO,ph)=>{var Z$="[object Object]";function X$(i){var n=!1;if(i!=null&&typeof i.toString!="function")try{n=!!(i+"")}catch(c){}return n}function Y$(i,n){return function(c){return i(n(c))}}var P$=Function.prototype,eh=Object.prototype,sh=P$.toString,H$=eh.hasOwnProperty,I$=sh.call(Object),A$=eh.toString,C$=Y$(Object.getPrototypeOf,Object);function O$(i){return!!i&&typeof i=="object"}function V$(i){if(!O$(i)||A$.call(i)!=Z$||X$(i))return!1;var n=C$(i);if(n===null)return!0;var c=H$.call(n,"constructor")&&n.constructor;return typeof c=="function"&&c instanceof c&&sh.call(c)==I$}ph.exports=V$});var uh=d((JO,oh)=>{var M$="[object String]",E$=Object.prototype,N$=E$.toString,R$=Array.isArray;function j$(i){return!!i&&typeof i=="object"}function D$(i){return typeof i=="string"||!R$(i)&&j$(i)&&N$.call(i)==M$}oh.exports=D$});var xh=d(($O,lh)=>{var T$="Expected a function",rh=1/0,L$=179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,dh=NaN,g$="[object Symbol]",B$=/^\s+|\s+$/g,k$=/^[-+]0x[0-9a-f]+$/i,F$=/^0b[01]+$/i,U$=/^0o[0-7]+$/i,Q$=parseInt,iz=Object.prototype,nz=iz.toString;function cz(i,n){var c;if(typeof n!="function")throw TypeError(T$);return i=tz(i),function(){if(--i>0)c=n.apply(this,arguments);if(i<=1)n=void 0;return c}}function az(i){return cz(2,i)}function mh(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function ez(i){return!!i&&typeof i=="object"}function sz(i){return typeof i=="symbol"||ez(i)&&nz.call(i)==g$}function pz(i){if(!i)return i===0?i:0;if(i=oz(i),i===rh||i===-rh){var n=i<0?-1:1;return n*L$}return i===i?i:0}function tz(i){var n=pz(i),c=n%1;return n===n?c?n-c:n:0}function oz(i){if(typeof i=="number")return i;if(sz(i))return dh;if(mh(i)){var n=typeof i.valueOf=="function"?i.valueOf():i;i=mh(n)?n+"":n}if(typeof i!="string")return i===0?i:+i;i=i.replace(B$,"");var c=F$.test(i);return c||U$.test(i)?Q$(i.slice(2),c?2:8):k$.test(i)?dh:+i}lh.exports=az});var Kh=d((zO,Wh)=>{var fh=ro(),uz=yo(),rz=So(),vh=Be(),dz=gv(),fs=kv(),hh=nh(),Io=ah(),wh=th(),Xn=uh(),mz=xh(),{KeyObject:lz,createSecretKey:xz,createPrivateKey:fz}=require("crypto"),qh=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];if(uz)qh.splice(3,0,"PS256","PS384","PS512");var vz={expiresIn:{isValid:function(i){return hh(i)||Xn(i)&&i},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(i){return hh(i)||Xn(i)&&i},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(i){return Xn(i)||Array.isArray(i)},message:'"audience" must be a string or array'},algorithm:{isValid:dz.bind(null,qh),message:'"algorithm" must be a valid string enum value'},header:{isValid:wh,message:'"header" must be an object'},encoding:{isValid:Xn,message:'"encoding" must be a string'},issuer:{isValid:Xn,message:'"issuer" must be a string'},subject:{isValid:Xn,message:'"subject" must be a string'},jwtid:{isValid:Xn,message:'"jwtid" must be a string'},noTimestamp:{isValid:fs,message:'"noTimestamp" must be a boolean'},keyid:{isValid:Xn,message:'"keyid" must be a string'},mutatePayload:{isValid:fs,message:'"mutatePayload" must be a boolean'},allowInsecureKeySizes:{isValid:fs,message:'"allowInsecureKeySizes" must be a boolean'},allowInvalidAsymmetricKeyTypes:{isValid:fs,message:'"allowInvalidAsymmetricKeyTypes" must be a boolean'}},hz={iat:{isValid:Io,message:'"iat" should be a number of seconds'},exp:{isValid:Io,message:'"exp" should be a number of seconds'},nbf:{isValid:Io,message:'"nbf" should be a number of seconds'}};function _h(i,n,c,a){if(!wh(c))throw Error('Expected "'+a+'" to be a plain object.');Object.keys(c).forEach(function(e){let s=i[e];if(!s){if(!n)throw Error('"'+e+'" is not allowed in "'+a+'"');return}if(!s.isValid(c[e]))throw Error(s.message)})}function bz(i){return _h(vz,!1,i,"options")}function wz(i){return _h(hz,!0,i,"payload")}var bh={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},qz=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];Wh.exports=function(i,n,c,a){if(typeof c==="function")a=c,c={};else c=c||{};let e=typeof i==="object"&&!Buffer.isBuffer(i),s=Object.assign({alg:c.algorithm||"HS256",typ:e?"JWT":void 0,kid:c.keyid},c.header);function p(o){if(a)return a(o);throw o}if(!n&&c.algorithm!=="none")return p(Error("secretOrPrivateKey must have a value"));if(n!=null&&!(n instanceof lz))try{n=fz(n)}catch(o){try{n=xz(typeof n==="string"?Buffer.from(n):n)}catch(r){return p(Error("secretOrPrivateKey is not valid key material"))}}if(s.alg.startsWith("HS")&&n.type!=="secret")return p(Error(`secretOrPrivateKey must be a symmetric key when using ${s.alg}`));else if(/^(?:RS|PS|ES)/.test(s.alg)){if(n.type!=="private")return p(Error(`secretOrPrivateKey must be an asymmetric key when using ${s.alg}`));if(!c.allowInsecureKeySizes&&!s.alg.startsWith("ES")&&n.asymmetricKeyDetails!==void 0&&n.asymmetricKeyDetails.modulusLength<2048)return p(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`))}if(typeof i>"u")return p(Error("payload is required"));else if(e){try{wz(i)}catch(o){return p(o)}if(!c.mutatePayload)i=Object.assign({},i)}else{let o=qz.filter(function(r){return typeof c[r]<"u"});if(o.length>0)return p(Error("invalid "+o.join(",")+" option for "+typeof i+" payload"))}if(typeof i.exp<"u"&&typeof c.expiresIn<"u")return p(Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(typeof i.nbf<"u"&&typeof c.notBefore<"u")return p(Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{bz(c)}catch(o){return p(o)}if(!c.allowInvalidAsymmetricKeyTypes)try{rz(s.alg,n)}catch(o){return p(o)}let t=i.iat||Math.floor(Date.now()/1000);if(c.noTimestamp)delete i.iat;else if(e)i.iat=t;if(typeof c.notBefore<"u"){try{i.nbf=fh(c.notBefore,t)}catch(o){return p(o)}if(typeof i.nbf>"u")return p(Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if(typeof c.expiresIn<"u"&&typeof i==="object"){try{i.exp=fh(c.expiresIn,t)}catch(o){return p(o)}if(typeof i.exp>"u")return p(Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(bh).forEach(function(o){let r=bh[o];if(typeof c[o]<"u"){if(typeof i[r]<"u")return p(Error('Bad "options.'+o+'" option. The payload already has an "'+r+'" property.'));i[r]=c[o]}});let u=c.encoding||"utf8";if(typeof a==="function")a=a&&mz(a),vh.createSign({header:s,privateKey:n,payload:i,encoding:u}).once("error",a).once("done",function(o){if(!c.allowInsecureKeySizes&&/^(?:RS|PS)/.test(s.alg)&&o.length<256)return a(Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`));a(null,o)});else{let o=vh.sign({header:s,payload:i,secret:n,encoding:u});if(!c.allowInsecureKeySizes&&/^(?:RS|PS)/.test(s.alg)&&o.length<256)throw Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${s.alg}`);return o}}});var $h=d((SO,Jh)=>{Jh.exports={decode:to(),verify:Nv(),sign:Kh(),JsonWebTokenError:Za(),NotBeforeError:oo(),TokenExpiredError:uo()}});var Co=d((Ao)=>{Object.defineProperty(Ao,"__esModule",{value:!0});var _z=require("crypto"),Wz=(i,n)=>(0,_z.createHash)(i).update(n).digest();Ao.default=Wz});var L=d((Q)=>{Object.defineProperty(Q,"__esModule",{value:!0});Q.concatKdf=Q.lengthAndInput=Q.uint32be=Q.uint64be=Q.p2s=Q.concat=Q.decoder=Q.encoder=void 0;var Kz=Co();Q.encoder=new TextEncoder;Q.decoder=new TextDecoder;var vs=4294967296;function Vo(...i){let n=i.reduce((e,{length:s})=>e+s,0),c=new Uint8Array(n),a=0;return i.forEach((e)=>{c.set(e,a),a+=e.length}),c}Q.concat=Vo;function Jz(i,n){return Vo(Q.encoder.encode(i),new Uint8Array([0]),n)}Q.p2s=Jz;function Oo(i,n,c){if(n<0||n>=vs)throw RangeError(`value must be >= 0 and <= ${vs-1}. Received ${n}`);i.set([n>>>24,n>>>16,n>>>8,n&255],c)}function $z(i){let n=Math.floor(i/vs),c=i%vs,a=new Uint8Array(8);return Oo(a,n,0),Oo(a,c,4),a}Q.uint64be=$z;function Mo(i){let n=new Uint8Array(4);return Oo(n,i),n}Q.uint32be=Mo;function zz(i){return Vo(Mo(i.length),i)}Q.lengthAndInput=zz;async function Sz(i,n,c){let a=Math.ceil((n>>3)/32),e=new Uint8Array(a*32);for(let s=0;s<a;s++){let p=new Uint8Array(4+i.length+c.length);p.set(Mo(s+1)),p.set(i,4),p.set(c,4+i.length),e.set(await(0,Kz.default)("sha256",p),s*32)}return e.slice(0,n>>3)}Q.concatKdf=Sz});var li=d((Fi)=>{Object.defineProperty(Fi,"__esModule",{value:!0});Fi.decode=Fi.encode=Fi.encodeBase64=Fi.decodeBase64=void 0;var Xc=require("buffer"),yz=L(),zh;function Gz(i){let n=i;if(n instanceof Uint8Array)n=yz.decoder.decode(n);return n}if(Xc.Buffer.isEncoding("base64url"))Fi.encode=zh=(i)=>Xc.Buffer.from(i).toString("base64url");else Fi.encode=zh=(i)=>Xc.Buffer.from(i).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var Zz=(i)=>Xc.Buffer.from(i,"base64");Fi.decodeBase64=Zz;var Xz=(i)=>Xc.Buffer.from(i).toString("base64");Fi.encodeBase64=Xz;var Yz=(i)=>Xc.Buffer.from(Gz(i),"base64");Fi.decode=Yz});var S=d((H)=>{Object.defineProperty(H,"__esModule",{value:!0});H.JWSSignatureVerificationFailed=H.JWKSTimeout=H.JWKSMultipleMatchingKeys=H.JWKSNoMatchingKey=H.JWKSInvalid=H.JWKInvalid=H.JWTInvalid=H.JWSInvalid=H.JWEInvalid=H.JWEDecompressionFailed=H.JWEDecryptionFailed=H.JOSENotSupported=H.JOSEAlgNotAllowed=H.JWTExpired=H.JWTClaimValidationFailed=H.JOSEError=void 0;class ti extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(i){var n;super(i);this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(n=Error.captureStackTrace)===null||n===void 0||n.call(Error,this,this.constructor)}}H.JOSEError=ti;class Sh extends ti{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(i,n="unspecified",c="unspecified"){super(i);this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=n,this.reason=c}}H.JWTClaimValidationFailed=Sh;class yh extends ti{static get code(){return"ERR_JWT_EXPIRED"}constructor(i,n="unspecified",c="unspecified"){super(i);this.code="ERR_JWT_EXPIRED",this.claim=n,this.reason=c}}H.JWTExpired=yh;class Gh extends ti{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}H.JOSEAlgNotAllowed=Gh;class Zh extends ti{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}H.JOSENotSupported=Zh;class Xh extends ti{constructor(){super(...arguments);this.code="ERR_JWE_DECRYPTION_FAILED",this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}}H.JWEDecryptionFailed=Xh;class Yh extends ti{constructor(){super(...arguments);this.code="ERR_JWE_DECOMPRESSION_FAILED",this.message="decompression operation failed"}static get code(){return"ERR_JWE_DECOMPRESSION_FAILED"}}H.JWEDecompressionFailed=Yh;class Ph extends ti{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}}H.JWEInvalid=Ph;class Hh extends ti{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}H.JWSInvalid=Hh;class Ih extends ti{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}H.JWTInvalid=Ih;class Ah extends ti{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}}H.JWKInvalid=Ah;class Ch extends ti{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}}H.JWKSInvalid=Ch;class Oh extends ti{constructor(){super(...arguments);this.code="ERR_JWKS_NO_MATCHING_KEY",this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}}H.JWKSNoMatchingKey=Oh;class Vh extends ti{constructor(){super(...arguments);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS",this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}H.JWKSMultipleMatchingKeys=Vh;class Mh extends ti{constructor(){super(...arguments);this.code="ERR_JWKS_TIMEOUT",this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}}H.JWKSTimeout=Mh;class Eh extends ti{constructor(){super(...arguments);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}H.JWSSignatureVerificationFailed=Eh});var Va=d((hs)=>{Object.defineProperty(hs,"__esModule",{value:!0});hs.default=void 0;var Pz=require("crypto");Object.defineProperty(hs,"default",{enumerable:!0,get:function(){return Pz.randomFillSync}})});var bs=d((Ma)=>{Object.defineProperty(Ma,"__esModule",{value:!0});Ma.bitLength=void 0;var Hz=S(),Iz=Va();function Nh(i){switch(i){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new Hz.JOSENotSupported(`Unsupported JWE Algorithm: ${i}`)}}Ma.bitLength=Nh;Ma.default=(i)=>(0,Iz.default)(new Uint8Array(Nh(i)>>3))});var No=d((Eo)=>{Object.defineProperty(Eo,"__esModule",{value:!0});var Az=S(),Cz=bs(),Oz=(i,n)=>{if(n.length<<3!==(0,Cz.bitLength)(i))throw new Az.JWEInvalid("Invalid Initialization Vector length")};Eo.default=Oz});var Oi=d((Ro)=>{Object.defineProperty(Ro,"__esModule",{value:!0});var Vz=require("crypto"),Rh=require("util");Ro.default=Rh.types.isKeyObject?(i)=>Rh.types.isKeyObject(i):(i)=>i!=null&&i instanceof Vz.KeyObject});var To=d((Do)=>{Object.defineProperty(Do,"__esModule",{value:!0});var jo=S(),Mz=Oi(),Ez=(i,n)=>{let c;switch(i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":c=parseInt(i.slice(-3),10);break;case"A128GCM":case"A192GCM":case"A256GCM":c=parseInt(i.slice(1,4),10);break;default:throw new jo.JOSENotSupported(`Content Encryption Algorithm ${i} is not supported either by JOSE or your javascript runtime`)}if(n instanceof Uint8Array){let a=n.byteLength<<3;if(a!==c)throw new jo.JWEInvalid(`Invalid Content Encryption Key length. Expected ${c} bits, got ${a} bits`);return}if((0,Mz.default)(n)&&n.type==="secret"){let a=n.symmetricKeySize<<3;if(a!==c)throw new jo.JWEInvalid(`Invalid Content Encryption Key length. Expected ${c} bits, got ${a} bits`);return}throw TypeError("Invalid Content Encryption Key type")};Do.default=Ez});var jh=d((Lo)=>{Object.defineProperty(Lo,"__esModule",{value:!0});var Nz=require("crypto"),Rz=Nz.timingSafeEqual;Lo.default=Rz});var Bo=d((go)=>{Object.defineProperty(go,"__esModule",{value:!0});var jz=require("crypto"),Dh=L();function Dz(i,n,c,a,e,s){let p=(0,Dh.concat)(i,n,c,(0,Dh.uint64be)(i.length<<3)),t=(0,jz.createHmac)(`sha${a}`,e);return t.update(p),t.digest().slice(0,s>>3)}go.default=Dz});var Vi=d((Ea)=>{Object.defineProperty(Ea,"__esModule",{value:!0});Ea.isCryptoKey=void 0;var Tz=require("crypto"),Th=require("util"),Lz=Tz.webcrypto;Ea.default=Lz;Ea.isCryptoKey=Th.types.isCryptoKey?(i)=>Th.types.isCryptoKey(i):(i)=>!1});var Pn=d((Yc)=>{Object.defineProperty(Yc,"__esModule",{value:!0});Yc.checkEncCryptoKey=Yc.checkSigCryptoKey=void 0;function oi(i,n="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${n} must be ${i}`)}function Yn(i,n){return i.name===n}function ws(i){return parseInt(i.name.slice(4),10)}function gz(i){switch(i){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}function Lh(i,n){if(n.length&&!n.some((c)=>i.usages.includes(c))){let c="CryptoKey does not support this operation, its usages must include ";if(n.length>2){let a=n.pop();c+=`one of ${n.join(", ")}, or ${a}.`}else if(n.length===2)c+=`one of ${n[0]} or ${n[1]}.`;else c+=`${n[0]}.`;throw TypeError(c)}}function Bz(i,n,...c){switch(n){case"HS256":case"HS384":case"HS512":{if(!Yn(i.algorithm,"HMAC"))throw oi("HMAC");let a=parseInt(n.slice(2),10);if(ws(i.algorithm.hash)!==a)throw oi(`SHA-${a}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!Yn(i.algorithm,"RSASSA-PKCS1-v1_5"))throw oi("RSASSA-PKCS1-v1_5");let a=parseInt(n.slice(2),10);if(ws(i.algorithm.hash)!==a)throw oi(`SHA-${a}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!Yn(i.algorithm,"RSA-PSS"))throw oi("RSA-PSS");let a=parseInt(n.slice(2),10);if(ws(i.algorithm.hash)!==a)throw oi(`SHA-${a}`,"algorithm.hash");break}case"EdDSA":{if(i.algorithm.name!=="Ed25519"&&i.algorithm.name!=="Ed448")throw oi("Ed25519 or Ed448");break}case"ES256":case"ES384":case"ES512":{if(!Yn(i.algorithm,"ECDSA"))throw oi("ECDSA");let a=gz(n);if(i.algorithm.namedCurve!==a)throw oi(a,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}Lh(i,c)}Yc.checkSigCryptoKey=Bz;function kz(i,n,...c){switch(n){case"A128GCM":case"A192GCM":case"A256GCM":{if(!Yn(i.algorithm,"AES-GCM"))throw oi("AES-GCM");let a=parseInt(n.slice(1,4),10);if(i.algorithm.length!==a)throw oi(a,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!Yn(i.algorithm,"AES-KW"))throw oi("AES-KW");let a=parseInt(n.slice(1,4),10);if(i.algorithm.length!==a)throw oi(a,"algorithm.length");break}case"ECDH":{switch(i.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw oi("ECDH, X25519, or X448")}break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!Yn(i.algorithm,"PBKDF2"))throw oi("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!Yn(i.algorithm,"RSA-OAEP"))throw oi("RSA-OAEP");let a=parseInt(n.slice(9),10)||1;if(ws(i.algorithm.hash)!==a)throw oi(`SHA-${a}`,"algorithm.hash");break}default:throw TypeError("CryptoKey does not support this operation")}Lh(i,c)}Yc.checkEncCryptoKey=kz});var Mi=d((Na)=>{Object.defineProperty(Na,"__esModule",{value:!0});Na.withAlg=void 0;function gh(i,n,...c){if(c.length>2){let a=c.pop();i+=`one of type ${c.join(", ")}, or ${a}.`}else if(c.length===2)i+=`one of type ${c[0]} or ${c[1]}.`;else i+=`of type ${c[0]}.`;if(n==null)i+=` Received ${n}`;else if(typeof n==="function"&&n.name)i+=` Received function ${n.name}`;else if(typeof n==="object"&&n!=null){if(n.constructor&&n.constructor.name)i+=` Received an instance of ${n.constructor.name}`}return i}Na.default=(i,...n)=>{return gh("Key must be ",i,...n)};function Fz(i,n,...c){return gh(`Key for the ${i} algorithm must be `,n,...c)}Na.withAlg=Fz});var qs=d((Fo)=>{Object.defineProperty(Fo,"__esModule",{value:!0});var Uz=require("crypto"),ko;Fo.default=(i)=>{return ko||(ko=new Set((0,Uz.getCiphers)())),ko.has(i)}});var Ei=d((Ra)=>{Object.defineProperty(Ra,"__esModule",{value:!0});Ra.types=void 0;var _s=Vi(),Qz=Oi();Ra.default=(i)=>(0,Qz.default)(i)||(0,_s.isCryptoKey)(i);var Bh=["KeyObject"];Ra.types=Bh;if(globalThis.CryptoKey||(_s.default===null||_s.default===void 0?void 0:_s.default.CryptoKey))Bh.push("CryptoKey")});var iu=d((Qo)=>{Object.defineProperty(Qo,"__esModule",{value:!0});var Uo=require("crypto"),i9=No(),n9=To(),c9=L(),Pc=S(),a9=jh(),e9=Bo(),s9=Vi(),p9=Pn(),kh=Oi(),t9=Mi(),Fh=qs(),o9=Ei();function u9(i,n,c,a,e,s){let p=parseInt(i.slice(1,4),10);if((0,kh.default)(n))n=n.export();let t=n.subarray(p>>3),u=n.subarray(0,p>>3),o=parseInt(i.slice(-3),10),r=`aes-${p}-cbc`;if(!(0,Fh.default)(r))throw new Pc.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let m=(0,e9.default)(s,a,c,o,u,p),v;try{v=(0,a9.default)(e,m)}catch{}if(!v)throw new Pc.JWEDecryptionFailed;let l;try{let f=(0,Uo.createDecipheriv)(r,t,a);l=(0,c9.concat)(f.update(c),f.final())}catch{}if(!l)throw new Pc.JWEDecryptionFailed;return l}function r9(i,n,c,a,e,s){let t=`aes-${parseInt(i.slice(1,4),10)}-gcm`;if(!(0,Fh.default)(t))throw new Pc.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);try{let u=(0,Uo.createDecipheriv)(t,n,a,{authTagLength:16});if(u.setAuthTag(e),s.byteLength)u.setAAD(s,{plaintextLength:c.length});let o=u.update(c);return u.final(),o}catch{throw new Pc.JWEDecryptionFailed}}var d9=(i,n,c,a,e,s)=>{let p;if((0,s9.isCryptoKey)(n))(0,p9.checkEncCryptoKey)(n,i,"decrypt"),p=Uo.KeyObject.from(n);else if(n instanceof Uint8Array||(0,kh.default)(n))p=n;else throw TypeError((0,t9.default)(n,...o9.types,"Uint8Array"));switch((0,n9.default)(i,p),(0,i9.default)(i,a),i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return u9(i,p,c,a,e,s);case"A128GCM":case"A192GCM":case"A256GCM":return r9(i,p,c,a,e,s);default:throw new Pc.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};Qo.default=d9});var nu=d((Hc)=>{Object.defineProperty(Hc,"__esModule",{value:!0});Hc.deflate=Hc.inflate=void 0;var Uh=require("util"),Qh=require("zlib"),m9=S(),l9=(0,Uh.promisify)(Qh.inflateRaw),x9=(0,Uh.promisify)(Qh.deflateRaw),f9=(i)=>l9(i,{maxOutputLength:250000}).catch(()=>{throw new m9.JWEDecompressionFailed});Hc.inflate=f9;var v9=(i)=>x9(i);Hc.deflate=v9});var Ic=d((cu)=>{Object.defineProperty(cu,"__esModule",{value:!0});var h9=(...i)=>{let n=i.filter(Boolean);if(n.length===0||n.length===1)return!0;let c;for(let a of n){let e=Object.keys(a);if(!c||c.size===0){c=new Set(e);continue}for(let s of e){if(c.has(s))return!1;c.add(s)}}return!0};cu.default=h9});var $i=d((au)=>{Object.defineProperty(au,"__esModule",{value:!0});function b9(i){return typeof i==="object"&&i!==null}function w9(i){if(!b9(i)||Object.prototype.toString.call(i)!=="[object Object]")return!1;if(Object.getPrototypeOf(i)===null)return!0;let n=i;while(Object.getPrototypeOf(n)!==null)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(i)===n}au.default=w9});var Ks=d((Ac)=>{Object.defineProperty(Ac,"__esModule",{value:!0});Ac.unwrap=Ac.wrap=void 0;var i0=require("buffer"),Ws=require("crypto"),n0=S(),c0=L(),q9=Vi(),_9=Pn(),W9=Oi(),K9=Mi(),a0=qs(),J9=Ei();function e0(i,n){if(i.symmetricKeySize<<3!==parseInt(n.slice(1,4),10))throw TypeError(`Invalid key size for alg: ${n}`)}function s0(i,n,c){if((0,W9.default)(i))return i;if(i instanceof Uint8Array)return(0,Ws.createSecretKey)(i);if((0,q9.isCryptoKey)(i))return(0,_9.checkEncCryptoKey)(i,n,c),Ws.KeyObject.from(i);throw TypeError((0,K9.default)(i,...J9.types,"Uint8Array"))}var $9=(i,n,c)=>{let e=`aes${parseInt(i.slice(1,4),10)}-wrap`;if(!(0,a0.default)(e))throw new n0.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`);let s=s0(n,i,"wrapKey");e0(s,i);let p=(0,Ws.createCipheriv)(e,s,i0.Buffer.alloc(8,166));return(0,c0.concat)(p.update(c),p.final())};Ac.wrap=$9;var z9=(i,n,c)=>{let e=`aes${parseInt(i.slice(1,4),10)}-wrap`;if(!(0,a0.default)(e))throw new n0.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`);let s=s0(n,i,"unwrapKey");e0(s,i);let p=(0,Ws.createDecipheriv)(e,s,i0.Buffer.alloc(8,166));return(0,c0.concat)(p.update(c),p.final())};Ac.unwrap=z9});var ja=d((Ui)=>{Object.defineProperty(Ui,"__esModule",{value:!0});Ui.setCurve=Ui.weakMap=void 0;var Js=require("buffer"),p0=require("crypto"),t0=S(),S9=Vi(),y9=Oi(),G9=Mi(),Z9=Ei(),X9=Js.Buffer.from([42,134,72,206,61,3,1,7]),Y9=Js.Buffer.from([43,129,4,0,34]),P9=Js.Buffer.from([43,129,4,0,35]),H9=Js.Buffer.from([43,129,4,0,10]);Ui.weakMap=new WeakMap;var I9=(i)=>{switch(i){case"prime256v1":return"P-256";case"secp384r1":return"P-384";case"secp521r1":return"P-521";case"secp256k1":return"secp256k1";default:throw new t0.JOSENotSupported("Unsupported key curve for this operation")}},o0=(i,n)=>{var c;let a;if((0,S9.isCryptoKey)(i))a=p0.KeyObject.from(i);else if((0,y9.default)(i))a=i;else throw TypeError((0,G9.default)(i,...Z9.types));if(a.type==="secret")throw TypeError('only "private" or "public" type keys can be used for this operation');switch(a.asymmetricKeyType){case"ed25519":case"ed448":return`Ed${a.asymmetricKeyType.slice(2)}`;case"x25519":case"x448":return`X${a.asymmetricKeyType.slice(1)}`;case"ec":{if(Ui.weakMap.has(a))return Ui.weakMap.get(a);let e=(c=a.asymmetricKeyDetails)===null||c===void 0?void 0:c.namedCurve;if(!e&&a.type==="private")e=o0((0,p0.createPublicKey)(a),!0);else if(!e){let p=a.export({format:"der",type:"spki"}),t=p[1]<128?14:15,u=p[t],o=p.slice(t+1,t+1+u);if(o.equals(X9))e="prime256v1";else if(o.equals(Y9))e="secp384r1";else if(o.equals(P9))e="secp521r1";else if(o.equals(H9))e="secp256k1";else throw new t0.JOSENotSupported("Unsupported key curve for this operation")}if(n)return e;let s=I9(e);return Ui.weakMap.set(a,s),s}default:throw TypeError("Invalid asymmetric key type for this operation")}};function A9(i,n){Ui.weakMap.set(i,n)}Ui.setCurve=A9;Ui.default=o0});var uu=d((Hn)=>{Object.defineProperty(Hn,"__esModule",{value:!0});Hn.ecdhAllowed=Hn.generateEpk=Hn.deriveKey=void 0;var Da=require("crypto"),C9=require("util"),r0=ja(),Qn=L(),O9=S(),su=Vi(),u0=Pn(),pu=Oi(),tu=Mi(),ou=Ei(),eu=(0,C9.promisify)(Da.generateKeyPair);async function V9(i,n,c,a,e=new Uint8Array(0),s=new Uint8Array(0)){let p;if((0,su.isCryptoKey)(i))(0,u0.checkEncCryptoKey)(i,"ECDH"),p=Da.KeyObject.from(i);else if((0,pu.default)(i))p=i;else throw TypeError((0,tu.default)(i,...ou.types));let t;if((0,su.isCryptoKey)(n))(0,u0.checkEncCryptoKey)(n,"ECDH","deriveBits"),t=Da.KeyObject.from(n);else if((0,pu.default)(n))t=n;else throw TypeError((0,tu.default)(n,...ou.types));let u=(0,Qn.concat)((0,Qn.lengthAndInput)(Qn.encoder.encode(c)),(0,Qn.lengthAndInput)(e),(0,Qn.lengthAndInput)(s),(0,Qn.uint32be)(a)),o=(0,Da.diffieHellman)({privateKey:t,publicKey:p});return(0,Qn.concatKdf)(o,a,u)}Hn.deriveKey=V9;async function M9(i){let n;if((0,su.isCryptoKey)(i))n=Da.KeyObject.from(i);else if((0,pu.default)(i))n=i;else throw TypeError((0,tu.default)(i,...ou.types));switch(n.asymmetricKeyType){case"x25519":return eu("x25519");case"x448":return eu("x448");case"ec":{let c=(0,r0.default)(n);return eu("ec",{namedCurve:c})}default:throw new O9.JOSENotSupported("Invalid or unsupported EPK")}}Hn.generateEpk=M9;var E9=(i)=>["P-256","P-384","P-521","X25519","X448"].includes((0,r0.default)(i));Hn.ecdhAllowed=E9});var d0=d((ru)=>{Object.defineProperty(ru,"__esModule",{value:!0});var N9=S();function R9(i){if(!(i instanceof Uint8Array)||i.length<8)throw new N9.JWEInvalid("PBES2 Salt Input must be 8 or more octets")}ru.default=R9});var du=d((Cc)=>{Object.defineProperty(Cc,"__esModule",{value:!0});Cc.decrypt=Cc.encrypt=void 0;var j9=require("util"),m0=require("crypto"),D9=Va(),l0=L(),T9=li(),x0=Ks(),f0=d0(),L9=Vi(),g9=Pn(),B9=Oi(),k9=Mi(),F9=Ei(),v0=(0,j9.promisify)(m0.pbkdf2);function h0(i,n){if((0,B9.default)(i))return i.export();if(i instanceof Uint8Array)return i;if((0,L9.isCryptoKey)(i))return(0,g9.checkEncCryptoKey)(i,n,"deriveBits","deriveKey"),m0.KeyObject.from(i).export();throw TypeError((0,k9.default)(i,...F9.types,"Uint8Array"))}var U9=async(i,n,c,a=2048,e=(0,D9.default)(new Uint8Array(16)))=>{(0,f0.default)(e);let s=(0,l0.p2s)(i,e),p=parseInt(i.slice(13,16),10)>>3,t=h0(n,i),u=await v0(t,s,a,p,`sha${i.slice(8,11)}`);return{encryptedKey:await(0,x0.wrap)(i.slice(-6),u,c),p2c:a,p2s:(0,T9.encode)(e)}};Cc.encrypt=U9;var Q9=async(i,n,c,a,e)=>{(0,f0.default)(e);let s=(0,l0.p2s)(i,e),p=parseInt(i.slice(13,16),10)>>3,t=h0(n,i),u=await v0(t,s,a,p,`sha${i.slice(8,11)}`);return(0,x0.unwrap)(i.slice(-6),u,c)};Cc.decrypt=Q9});var Ta=d((Qi)=>{Object.defineProperty(Qi,"__esModule",{value:!0});Qi.setModulusLength=Qi.weakMap=void 0;Qi.weakMap=new WeakMap;var $s=(i,n)=>{let c=i.readUInt8(1);if((c&128)===0){if(n===0)return c;return $s(i.subarray(2+c),n-1)}let a=c&127;c=0;for(let e=0;e<a;e++){c<<=8;let s=i.readUInt8(2+e);c|=s}if(n===0)return c;return $s(i.subarray(2+c),n-1)},iS=(i,n)=>{let c=i.readUInt8(1);if((c&128)===0)return $s(i.subarray(2),n);let a=c&127;return $s(i.subarray(2+a),n)},nS=(i)=>{var n,c;if(Qi.weakMap.has(i))return Qi.weakMap.get(i);let a=(c=(n=i.asymmetricKeyDetails)===null||n===void 0?void 0:n.modulusLength)!==null&&c!==void 0?c:iS(i.export({format:"der",type:"pkcs1"}),i.type==="private"?1:0)-1<<3;return Qi.weakMap.set(i,a),a},cS=(i,n)=>{Qi.weakMap.set(i,n)};Qi.setModulusLength=cS;Qi.default=(i,n)=>{if(nS(i)<2048)throw TypeError(`${n} requires key modulusLength to be 2048 bits or larger`)}});var mu=d((Oc)=>{Object.defineProperty(Oc,"__esModule",{value:!0});Oc.decrypt=Oc.encrypt=void 0;var La=require("crypto"),aS=Ta(),eS=Vi(),sS=Pn(),pS=Oi(),tS=Mi(),oS=Ei(),b0=(i,n)=>{if(i.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");(0,aS.default)(i,n)},w0=(i)=>{switch(i){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return La.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return La.constants.RSA_PKCS1_PADDING;default:return}},q0=(i)=>{switch(i){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return}};function _0(i,n,...c){if((0,pS.default)(i))return i;if((0,eS.isCryptoKey)(i))return(0,sS.checkEncCryptoKey)(i,n,...c),La.KeyObject.from(i);throw TypeError((0,tS.default)(i,...oS.types))}var uS=(i,n,c)=>{let a=w0(i),e=q0(i),s=_0(n,i,"wrapKey","encrypt");return b0(s,i),(0,La.publicEncrypt)({key:s,oaepHash:e,padding:a},c)};Oc.encrypt=uS;var rS=(i,n,c)=>{let a=w0(i),e=q0(i),s=_0(n,i,"unwrapKey","decrypt");return b0(s,i),(0,La.privateDecrypt)({key:s,oaepHash:e,padding:a},c)};Oc.decrypt=rS});var Ba=d((ga)=>{Object.defineProperty(ga,"__esModule",{value:!0});ga.bitLength=void 0;var dS=S(),mS=Va();function W0(i){switch(i){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new dS.JOSENotSupported(`Unsupported JWE Algorithm: ${i}`)}}ga.bitLength=W0;ga.default=(i)=>(0,mS.default)(new Uint8Array(W0(i)>>3))});var Ss=d((Ni)=>{Object.defineProperty(Ni,"__esModule",{value:!0});Ni.fromX509=Ni.fromSPKI=Ni.fromPKCS8=Ni.toPKCS8=Ni.toSPKI=void 0;var zs=require("crypto"),K0=require("buffer"),lS=Vi(),xS=Oi(),fS=Mi(),vS=Ei(),J0=(i,n,c)=>{let a;if((0,lS.isCryptoKey)(c)){if(!c.extractable)throw TypeError("CryptoKey is not extractable");a=zs.KeyObject.from(c)}else if((0,xS.default)(c))a=c;else throw TypeError((0,fS.default)(c,...vS.types));if(a.type!==i)throw TypeError(`key is not a ${i} key`);return a.export({format:"pem",type:n})},hS=(i)=>{return J0("public","spki",i)};Ni.toSPKI=hS;var bS=(i)=>{return J0("private","pkcs8",i)};Ni.toPKCS8=bS;var wS=(i)=>(0,zs.createPrivateKey)({key:K0.Buffer.from(i.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"});Ni.fromPKCS8=wS;var qS=(i)=>(0,zs.createPublicKey)({key:K0.Buffer.from(i.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"});Ni.fromSPKI=qS;var _S=(i)=>(0,zs.createPublicKey)({key:i,type:"spki",format:"pem"});Ni.fromX509=_S});var z0=d((xu)=>{Object.defineProperty(xu,"__esModule",{value:!0});var F=require("buffer"),WS=S(),KS=2,JS=3,$S=4,zS=48,lu=F.Buffer.from([0]),ys=F.Buffer.from([KS]),SS=F.Buffer.from([JS]),yS=F.Buffer.from([zS]),GS=F.Buffer.from([$S]),In=(i)=>{if(i<128)return F.Buffer.from([i]);let n=F.Buffer.alloc(5);n.writeUInt32BE(i,1);let c=1;while(n[c]===0)c++;return n[c-1]=128|5-c,n.slice(c-1)},ZS=new Map([["P-256",F.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",F.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",F.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",F.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",F.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",F.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",F.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",F.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",F.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);class $0{constructor(){this.length=0,this.elements=[]}oidFor(i){let n=ZS.get(i);if(!n)throw new WS.JOSENotSupported("Invalid or unsupported OID");this.elements.push(n),this.length+=n.length}zero(){this.elements.push(ys,F.Buffer.from([1]),lu),this.length+=3}one(){this.elements.push(ys,F.Buffer.from([1]),F.Buffer.from([1])),this.length+=3}unsignedInteger(i){if(i[0]&128){let n=In(i.length+1);this.elements.push(ys,n,lu,i),this.length+=2+n.length+i.length}else{let n=0;while(i[n]===0&&(i[n+1]&128)===0)n++;let c=In(i.length-n);this.elements.push(ys,In(i.length-n),i.slice(n)),this.length+=1+c.length+i.length-n}}octStr(i){let n=In(i.length);this.elements.push(GS,In(i.length),i),this.length+=1+n.length+i.length}bitStr(i){let n=In(i.length+1);this.elements.push(SS,In(i.length+1),lu,i),this.length+=1+n.length+i.length+1}add(i){this.elements.push(i),this.length+=i.length}end(i=yS){let n=In(this.length);return F.Buffer.concat([i,n,...this.elements],1+n.length+this.length)}}xu.default=$0});var ka=d((tn)=>{Object.defineProperty(tn,"__esModule",{value:!0});tn.jwkImport=tn.jwkExport=tn.rsaPssParams=tn.oneShotCallback=void 0;var[An,Gs]=process.versions.node.split(".").map((i)=>parseInt(i,10));tn.oneShotCallback=An>=16||An===15&&Gs>=13;tn.rsaPssParams=!("electron"in process.versions)&&(An>=17||An===16&&Gs>=9);tn.jwkExport=An>=16||An===15&&Gs>=9;tn.jwkImport=An>=16||An===15&&Gs>=12});var y0=d((fu)=>{Object.defineProperty(fu,"__esModule",{value:!0});var ai=require("buffer"),hn=require("crypto"),XS=li(),YS=S(),S0=ja(),PS=Ta(),nn=z0(),HS=ka(),IS=(i)=>{if(HS.jwkImport&&i.kty!=="oct")return i.d?(0,hn.createPrivateKey)({format:"jwk",key:i}):(0,hn.createPublicKey)({format:"jwk",key:i});switch(i.kty){case"oct":return(0,hn.createSecretKey)((0,XS.decode)(i.k));case"RSA":{let n=new nn.default,c=i.d!==void 0,a=ai.Buffer.from(i.n,"base64"),e=ai.Buffer.from(i.e,"base64");if(c)n.zero(),n.unsignedInteger(a),n.unsignedInteger(e),n.unsignedInteger(ai.Buffer.from(i.d,"base64")),n.unsignedInteger(ai.Buffer.from(i.p,"base64")),n.unsignedInteger(ai.Buffer.from(i.q,"base64")),n.unsignedInteger(ai.Buffer.from(i.dp,"base64")),n.unsignedInteger(ai.Buffer.from(i.dq,"base64")),n.unsignedInteger(ai.Buffer.from(i.qi,"base64"));else n.unsignedInteger(a),n.unsignedInteger(e);let p={key:n.end(),format:"der",type:"pkcs1"},t=c?(0,hn.createPrivateKey)(p):(0,hn.createPublicKey)(p);return(0,PS.setModulusLength)(t,a.length<<3),t}case"EC":{let n=new nn.default,c=i.d!==void 0,a=ai.Buffer.concat([ai.Buffer.alloc(1,4),ai.Buffer.from(i.x,"base64"),ai.Buffer.from(i.y,"base64")]);if(c){n.zero();let t=new nn.default;t.oidFor("ecPublicKey"),t.oidFor(i.crv),n.add(t.end());let u=new nn.default;u.one(),u.octStr(ai.Buffer.from(i.d,"base64"));let o=new nn.default;o.bitStr(a);let r=o.end(ai.Buffer.from([161]));u.add(r);let m=u.end(),v=new nn.default;v.add(m);let l=v.end(ai.Buffer.from([4]));n.add(l);let f=n.end(),h=(0,hn.createPrivateKey)({key:f,format:"der",type:"pkcs8"});return(0,S0.setCurve)(h,i.crv),h}let e=new nn.default;e.oidFor("ecPublicKey"),e.oidFor(i.crv),n.add(e.end()),n.bitStr(a);let s=n.end(),p=(0,hn.createPublicKey)({key:s,format:"der",type:"spki"});return(0,S0.setCurve)(p,i.crv),p}case"OKP":{let n=new nn.default;if(i.d!==void 0){n.zero();let s=new nn.default;s.oidFor(i.crv),n.add(s.end());let p=new nn.default;p.octStr(ai.Buffer.from(i.d,"base64"));let t=p.end(ai.Buffer.from([4]));n.add(t);let u=n.end();return(0,hn.createPrivateKey)({key:u,format:"der",type:"pkcs8"})}let a=new nn.default;a.oidFor(i.crv),n.add(a.end()),n.bitStr(ai.Buffer.from(i.x,"base64"));let e=n.end();return(0,hn.createPublicKey)({key:e,format:"der",type:"spki"})}default:throw new YS.JOSENotSupported('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}};fu.default=IS});var Fa=d((on)=>{Object.defineProperty(on,"__esModule",{value:!0});on.importJWK=on.importPKCS8=on.importX509=on.importSPKI=void 0;var AS=li(),vu=Ss(),G0=y0(),Z0=S(),CS=$i();async function OS(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN PUBLIC KEY-----")!==0)throw TypeError('"spki" must be SPKI formatted string');return(0,vu.fromSPKI)(i,n,c)}on.importSPKI=OS;async function VS(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN CERTIFICATE-----")!==0)throw TypeError('"x509" must be X.509 formatted string');return(0,vu.fromX509)(i,n,c)}on.importX509=VS;async function MS(i,n,c){if(typeof i!=="string"||i.indexOf("-----BEGIN PRIVATE KEY-----")!==0)throw TypeError('"pkcs8" must be PKCS#8 formatted string');return(0,vu.fromPKCS8)(i,n,c)}on.importPKCS8=MS;async function ES(i,n,c){var a;if(!(0,CS.default)(i))throw TypeError("JWK must be an object");switch(n||(n=i.alg),i.kty){case"oct":if(typeof i.k!=="string"||!i.k)throw TypeError('missing "k" (Key Value) Parameter value');if(c!==null&&c!==void 0||(c=i.ext!==!0),c)return(0,G0.default)({...i,alg:n,ext:(a=i.ext)!==null&&a!==void 0?a:!1});return(0,AS.decode)(i.k);case"RSA":if(i.oth!==void 0)throw new Z0.JOSENotSupported('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return(0,G0.default)({...i,alg:n});default:throw new Z0.JOSENotSupported('Unsupported "kty" (Key Type) Parameter value')}}on.importJWK=ES});var Ua=d((hu)=>{Object.defineProperty(hu,"__esModule",{value:!0});var X0=Mi(),un=Ei(),NS=(i,n)=>{if(n instanceof Uint8Array)return;if(!(0,un.default)(n))throw TypeError((0,X0.withAlg)(i,n,...un.types,"Uint8Array"));if(n.type!=="secret")throw TypeError(`${un.types.join(" or ")} instances for symmetric algorithms must be of type "secret"`)},RS=(i,n,c)=>{if(!(0,un.default)(n))throw TypeError((0,X0.withAlg)(i,n,...un.types));if(n.type==="secret")throw TypeError(`${un.types.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if(c==="sign"&&n.type==="public")throw TypeError(`${un.types.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if(c==="decrypt"&&n.type==="public")throw TypeError(`${un.types.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(n.algorithm&&c==="verify"&&n.type==="private")throw TypeError(`${un.types.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(n.algorithm&&c==="encrypt"&&n.type==="private")throw TypeError(`${un.types.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)},jS=(i,n,c)=>{if(i.startsWith("HS")||i==="dir"||i.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(i))NS(i,n);else RS(i,n,c)};hu.default=jS});var _u=d((qu)=>{Object.defineProperty(qu,"__esModule",{value:!0});var bu=require("crypto"),DS=No(),TS=To(),LS=L(),gS=Bo(),BS=Vi(),kS=Pn(),Y0=Oi(),FS=Mi(),wu=S(),P0=qs(),US=Ei();function QS(i,n,c,a,e){let s=parseInt(i.slice(1,4),10);if((0,Y0.default)(c))c=c.export();let p=c.subarray(s>>3),t=c.subarray(0,s>>3),u=`aes-${s}-cbc`;if(!(0,P0.default)(u))throw new wu.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let o=(0,bu.createCipheriv)(u,p,a),r=(0,LS.concat)(o.update(n),o.final()),m=parseInt(i.slice(-3),10),v=(0,gS.default)(e,a,r,m,t,s);return{ciphertext:r,tag:v}}function iy(i,n,c,a,e){let p=`aes-${parseInt(i.slice(1,4),10)}-gcm`;if(!(0,P0.default)(p))throw new wu.JOSENotSupported(`alg ${i} is not supported by your javascript runtime`);let t=(0,bu.createCipheriv)(p,c,a,{authTagLength:16});if(e.byteLength)t.setAAD(e,{plaintextLength:n.length});let u=t.update(n);t.final();let o=t.getAuthTag();return{ciphertext:u,tag:o}}var ny=(i,n,c,a,e)=>{let s;if((0,BS.isCryptoKey)(c))(0,kS.checkEncCryptoKey)(c,i,"encrypt"),s=bu.KeyObject.from(c);else if(c instanceof Uint8Array||(0,Y0.default)(c))s=c;else throw TypeError((0,FS.default)(c,...US.types,"Uint8Array"));switch((0,TS.default)(i,s),(0,DS.default)(i,a),i){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return QS(i,n,s,a,e);case"A128GCM":case"A192GCM":case"A256GCM":return iy(i,n,s,a,e);default:throw new wu.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}};qu.default=ny});var Wu=d((Vc)=>{Object.defineProperty(Vc,"__esModule",{value:!0});Vc.unwrap=Vc.wrap=void 0;var cy=_u(),ay=iu(),ey=bs(),H0=li();async function sy(i,n,c,a){let e=i.slice(0,7);a||(a=(0,ey.default)(e));let{ciphertext:s,tag:p}=await(0,cy.default)(e,c,n,a,new Uint8Array(0));return{encryptedKey:s,iv:(0,H0.encode)(a),tag:(0,H0.encode)(p)}}Vc.wrap=sy;async function py(i,n,c,a,e){let s=i.slice(0,7);return(0,ay.default)(s,n,c,a,e,new Uint8Array(0))}Vc.unwrap=py});var C0=d((Ku)=>{Object.defineProperty(Ku,"__esModule",{value:!0});var I0=Ks(),A0=uu(),ty=du(),oy=mu(),Qa=li(),g=S(),uy=Ba(),ry=Fa(),dy=Ua(),my=$i(),ly=Wu();async function xy(i,n,c,a,e){switch((0,dy.default)(i,n,"decrypt"),i){case"dir":{if(c!==void 0)throw new g.JWEInvalid("Encountered unexpected JWE Encrypted Key");return n}case"ECDH-ES":if(c!==void 0)throw new g.JWEInvalid("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!(0,my.default)(a.epk))throw new g.JWEInvalid('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!A0.ecdhAllowed(n))throw new g.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");let s=await(0,ry.importJWK)(a.epk,i),p,t;if(a.apu!==void 0){if(typeof a.apu!=="string")throw new g.JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{p=(0,Qa.decode)(a.apu)}catch{throw new g.JWEInvalid("Failed to base64url decode the apu")}}if(a.apv!==void 0){if(typeof a.apv!=="string")throw new g.JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{t=(0,Qa.decode)(a.apv)}catch{throw new g.JWEInvalid("Failed to base64url decode the apv")}}let u=await A0.deriveKey(s,n,i==="ECDH-ES"?a.enc:i,i==="ECDH-ES"?(0,uy.bitLength)(a.enc):parseInt(i.slice(-5,-2),10),p,t);if(i==="ECDH-ES")return u;if(c===void 0)throw new g.JWEInvalid("JWE Encrypted Key missing");return(0,I0.unwrap)(i.slice(-6),u,c)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(c===void 0)throw new g.JWEInvalid("JWE Encrypted Key missing");return(0,oy.decrypt)(i,n,c)}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{if(c===void 0)throw new g.JWEInvalid("JWE Encrypted Key missing");if(typeof a.p2c!=="number")throw new g.JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');let s=(e===null||e===void 0?void 0:e.maxPBES2Count)||1e4;if(a.p2c>s)throw new g.JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if(typeof a.p2s!=="string")throw new g.JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let p;try{p=(0,Qa.decode)(a.p2s)}catch{throw new g.JWEInvalid("Failed to base64url decode the p2s")}return(0,ty.decrypt)(i,n,c,a.p2c,p)}case"A128KW":case"A192KW":case"A256KW":{if(c===void 0)throw new g.JWEInvalid("JWE Encrypted Key missing");return(0,I0.unwrap)(i,n,c)}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{if(c===void 0)throw new g.JWEInvalid("JWE Encrypted Key missing");if(typeof a.iv!=="string")throw new g.JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if(typeof a.tag!=="string")throw new g.JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');let s;try{s=(0,Qa.decode)(a.iv)}catch{throw new g.JWEInvalid("Failed to base64url decode the iv")}let p;try{p=(0,Qa.decode)(a.tag)}catch{throw new g.JWEInvalid("Failed to base64url decode the tag")}return(0,ly.unwrap)(i,n,c,s,p)}default:throw new g.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}}Ku.default=xy});var Mc=d((Ju)=>{Object.defineProperty(Ju,"__esModule",{value:!0});var fy=S();function vy(i,n,c,a,e){if(e.crit!==void 0&&a.crit===void 0)throw new i('"crit" (Critical) Header Parameter MUST be integrity protected');if(!a||a.crit===void 0)return new Set;if(!Array.isArray(a.crit)||a.crit.length===0||a.crit.some((p)=>typeof p!=="string"||p.length===0))throw new i('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let s;if(c!==void 0)s=new Map([...Object.entries(c),...n.entries()]);else s=n;for(let p of a.crit){if(!s.has(p))throw new fy.JOSENotSupported(`Extension Header Parameter "${p}" is not recognized`);if(e[p]===void 0)throw new i(`Extension Header Parameter "${p}" is missing`);else if(s.get(p)&&a[p]===void 0)throw new i(`Extension Header Parameter "${p}" MUST be integrity protected`)}return new Set(a.crit)}Ju.default=vy});var zu=d(($u)=>{Object.defineProperty($u,"__esModule",{value:!0});var hy=(i,n)=>{if(n!==void 0&&(!Array.isArray(n)||n.some((c)=>typeof c!=="string")))throw TypeError(`"${i}" option must be an array of strings`);if(!n)return;return new Set(n)};$u.default=hy});var Xs=d((Zs)=>{Object.defineProperty(Zs,"__esModule",{value:!0});Zs.flattenedDecrypt=void 0;var Ec=li(),by=iu(),wy=nu(),E=S(),qy=Ic(),Su=$i(),_y=C0(),ie=L(),Wy=Ba(),Ky=Mc(),O0=zu();async function Jy(i,n,c){var a;if(!(0,Su.default)(i))throw new E.JWEInvalid("Flattened JWE must be an object");if(i.protected===void 0&&i.header===void 0&&i.unprotected===void 0)throw new E.JWEInvalid("JOSE Header missing");if(typeof i.iv!=="string")throw new E.JWEInvalid("JWE Initialization Vector missing or incorrect type");if(typeof i.ciphertext!=="string")throw new E.JWEInvalid("JWE Ciphertext missing or incorrect type");if(typeof i.tag!=="string")throw new E.JWEInvalid("JWE Authentication Tag missing or incorrect type");if(i.protected!==void 0&&typeof i.protected!=="string")throw new E.JWEInvalid("JWE Protected Header incorrect type");if(i.encrypted_key!==void 0&&typeof i.encrypted_key!=="string")throw new E.JWEInvalid("JWE Encrypted Key incorrect type");if(i.aad!==void 0&&typeof i.aad!=="string")throw new E.JWEInvalid("JWE AAD incorrect type");if(i.header!==void 0&&!(0,Su.default)(i.header))throw new E.JWEInvalid("JWE Shared Unprotected Header incorrect type");if(i.unprotected!==void 0&&!(0,Su.default)(i.unprotected))throw new E.JWEInvalid("JWE Per-Recipient Unprotected Header incorrect type");let e;if(i.protected)try{let Z=(0,Ec.decode)(i.protected);e=JSON.parse(ie.decoder.decode(Z))}catch{throw new E.JWEInvalid("JWE Protected Header is invalid")}if(!(0,qy.default)(e,i.header,i.unprotected))throw new E.JWEInvalid("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");let s={...e,...i.header,...i.unprotected};if((0,Ky.default)(E.JWEInvalid,new Map,c===null||c===void 0?void 0:c.crit,e,s),s.zip!==void 0){if(!e||!e.zip)throw new E.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if(s.zip!=="DEF")throw new E.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}let{alg:p,enc:t}=s;if(typeof p!=="string"||!p)throw new E.JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if(typeof t!=="string"||!t)throw new E.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");let u=c&&(0,O0.default)("keyManagementAlgorithms",c.keyManagementAlgorithms),o=c&&(0,O0.default)("contentEncryptionAlgorithms",c.contentEncryptionAlgorithms);if(u&&!u.has(p))throw new E.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(o&&!o.has(t))throw new E.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let r;if(i.encrypted_key!==void 0)try{r=(0,Ec.decode)(i.encrypted_key)}catch{throw new E.JWEInvalid("Failed to base64url decode the encrypted_key")}let m=!1;if(typeof n==="function")n=await n(e,i),m=!0;let v;try{v=await(0,_y.default)(p,n,r,s,c)}catch(Z){if(Z instanceof TypeError||Z instanceof E.JWEInvalid||Z instanceof E.JOSENotSupported)throw Z;v=(0,Wy.default)(t)}let l,f;try{l=(0,Ec.decode)(i.iv)}catch{throw new E.JWEInvalid("Failed to base64url decode the iv")}try{f=(0,Ec.decode)(i.tag)}catch{throw new E.JWEInvalid("Failed to base64url decode the tag")}let h=ie.encoder.encode((a=i.protected)!==null&&a!==void 0?a:""),b;if(i.aad!==void 0)b=(0,ie.concat)(h,ie.encoder.encode("."),ie.encoder.encode(i.aad));else b=h;let J;try{J=(0,Ec.decode)(i.ciphertext)}catch{throw new E.JWEInvalid("Failed to base64url decode the ciphertext")}let z=await(0,by.default)(t,v,J,l,f,b);if(s.zip==="DEF")z=await((c===null||c===void 0?void 0:c.inflateRaw)||wy.inflate)(z);let q={plaintext:z};if(i.protected!==void 0)q.protectedHeader=e;if(i.aad!==void 0)try{q.additionalAuthenticatedData=(0,Ec.decode)(i.aad)}catch{throw new E.JWEInvalid("Failed to base64url decode the aad")}if(i.unprotected!==void 0)q.sharedUnprotectedHeader=i.unprotected;if(i.header!==void 0)q.unprotectedHeader=i.header;if(m)return{...q,key:n};return q}Zs.flattenedDecrypt=Jy});var yu=d((Ys)=>{Object.defineProperty(Ys,"__esModule",{value:!0});Ys.compactDecrypt=void 0;var $y=Xs(),V0=S(),zy=L();async function Sy(i,n,c){if(i instanceof Uint8Array)i=zy.decoder.decode(i);if(typeof i!=="string")throw new V0.JWEInvalid("Compact JWE must be a string or Uint8Array");let{0:a,1:e,2:s,3:p,4:t,length:u}=i.split(".");if(u!==5)throw new V0.JWEInvalid("Invalid Compact JWE");let o=await(0,$y.flattenedDecrypt)({ciphertext:p,iv:s||void 0,protected:a||void 0,tag:t||void 0,encrypted_key:e||void 0},n,c),r={plaintext:o.plaintext,protectedHeader:o.protectedHeader};if(typeof n==="function")return{...r,key:o.key};return r}Ys.compactDecrypt=Sy});var E0=d((Hs)=>{Object.defineProperty(Hs,"__esModule",{value:!0});Hs.generalDecrypt=void 0;var yy=Xs(),Ps=S(),M0=$i();async function Gy(i,n,c){if(!(0,M0.default)(i))throw new Ps.JWEInvalid("General JWE must be an object");if(!Array.isArray(i.recipients)||!i.recipients.every(M0.default))throw new Ps.JWEInvalid("JWE Recipients missing or incorrect type");if(!i.recipients.length)throw new Ps.JWEInvalid("JWE Recipients has no members");for(let a of i.recipients)try{return await(0,yy.flattenedDecrypt)({aad:i.aad,ciphertext:i.ciphertext,encrypted_key:a.encrypted_key,header:a.header,iv:i.iv,protected:i.protected,tag:i.tag,unprotected:i.unprotected},n,c)}catch{}throw new Ps.JWEDecryptionFailed}Hs.generalDecrypt=Gy});var R0=d((Gu)=>{Object.defineProperty(Gu,"__esModule",{value:!0});var Zy=2,Xy=48;class N0{constructor(i){if(i[0]!==Xy)throw TypeError();if(this.buffer=i,this.offset=1,this.decodeLength()!==i.length-this.offset)throw TypeError()}decodeLength(){let i=this.buffer[this.offset++];if(i&128){let n=i&-129;i=0;for(let c=0;c<n;c++)i=i<<8|this.buffer[this.offset+c];this.offset+=n}return i}unsignedInteger(){if(this.buffer[this.offset++]!==Zy)throw TypeError();let i=this.decodeLength();if(this.buffer[this.offset]===0)this.offset++,i--;let n=this.buffer.slice(this.offset,this.offset+i);return this.offset+=i,n}end(){if(this.offset!==this.buffer.length)throw TypeError()}}Gu.default=N0});var j0=d((Xu)=>{Object.defineProperty(Xu,"__esModule",{value:!0});var Is=require("crypto"),ui=li(),Yy=R0(),As=S(),Zu=ja(),Py=Vi(),Hy=Oi(),Iy=Mi(),Ay=Ei(),Cy=ka(),Cs=(i)=>{let n;if((0,Py.isCryptoKey)(i)){if(!i.extractable)throw TypeError("CryptoKey is not extractable");n=Is.KeyObject.from(i)}else if((0,Hy.default)(i))n=i;else if(i instanceof Uint8Array)return{kty:"oct",k:(0,ui.encode)(i)};else throw TypeError((0,Iy.default)(i,...Ay.types,"Uint8Array"));if(Cy.jwkExport){if(n.type!=="secret"&&!["rsa","ec","ed25519","x25519","ed448","x448"].includes(n.asymmetricKeyType))throw new As.JOSENotSupported("Unsupported key asymmetricKeyType");return n.export({format:"jwk"})}switch(n.type){case"secret":return{kty:"oct",k:(0,ui.encode)(n.export())};case"private":case"public":switch(n.asymmetricKeyType){case"rsa":{let c=n.export({format:"der",type:"pkcs1"}),a=new Yy.default(c);if(n.type==="private")a.unsignedInteger();let e=(0,ui.encode)(a.unsignedInteger()),s=(0,ui.encode)(a.unsignedInteger()),p;if(n.type==="private")p={d:(0,ui.encode)(a.unsignedInteger()),p:(0,ui.encode)(a.unsignedInteger()),q:(0,ui.encode)(a.unsignedInteger()),dp:(0,ui.encode)(a.unsignedInteger()),dq:(0,ui.encode)(a.unsignedInteger()),qi:(0,ui.encode)(a.unsignedInteger())};return a.end(),{kty:"RSA",n:e,e:s,...p}}case"ec":{let c=(0,Zu.default)(n),a,e,s;switch(c){case"secp256k1":a=64,e=33,s=-1;break;case"P-256":a=64,e=36,s=-1;break;case"P-384":a=96,e=35,s=-3;break;case"P-521":a=132,e=35,s=-3;break;default:throw new As.JOSENotSupported("Unsupported curve")}if(n.type==="public"){let t=n.export({type:"spki",format:"der"});return{kty:"EC",crv:c,x:(0,ui.encode)(t.subarray(-a,-a/2)),y:(0,ui.encode)(t.subarray(-a/2))}}let p=n.export({type:"pkcs8",format:"der"});if(p.length<100)e+=s;return{...Cs((0,Is.createPublicKey)(n)),d:(0,ui.encode)(p.subarray(e,e+a/2))}}case"ed25519":case"x25519":{let c=(0,Zu.default)(n);if(n.type==="public"){let e=n.export({type:"spki",format:"der"});return{kty:"OKP",crv:c,x:(0,ui.encode)(e.subarray(-32))}}let a=n.export({type:"pkcs8",format:"der"});return{...Cs((0,Is.createPublicKey)(n)),d:(0,ui.encode)(a.subarray(-32))}}case"ed448":case"x448":{let c=(0,Zu.default)(n);if(n.type==="public"){let e=n.export({type:"spki",format:"der"});return{kty:"OKP",crv:c,x:(0,ui.encode)(e.subarray(c==="Ed448"?-57:-56))}}let a=n.export({type:"pkcs8",format:"der"});return{...Cs((0,Is.createPublicKey)(n)),d:(0,ui.encode)(a.subarray(c==="Ed448"?-57:-56))}}default:throw new As.JOSENotSupported("Unsupported key asymmetricKeyType")}default:throw new As.JOSENotSupported("Unsupported key type")}};Xu.default=Cs});var Yu=d((Cn)=>{Object.defineProperty(Cn,"__esModule",{value:!0});Cn.exportJWK=Cn.exportPKCS8=Cn.exportSPKI=void 0;var Oy=Ss(),Vy=Ss(),My=j0();async function Ey(i){return(0,Oy.toSPKI)(i)}Cn.exportSPKI=Ey;async function Ny(i){return(0,Vy.toPKCS8)(i)}Cn.exportPKCS8=Ny;async function Ry(i){return(0,My.default)(i)}Cn.exportJWK=Ry});var Iu=d((Hu)=>{Object.defineProperty(Hu,"__esModule",{value:!0});var D0=Ks(),Pu=uu(),jy=du(),Dy=mu(),T0=li(),Nc=Ba(),L0=S(),Ty=Yu(),Ly=Ua(),gy=Wu();async function By(i,n,c,a,e={}){let s,p,t;switch((0,Ly.default)(i,c,"encrypt"),i){case"dir":{t=c;break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Pu.ecdhAllowed(c))throw new L0.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");let{apu:u,apv:o}=e,{epk:r}=e;r||(r=(await Pu.generateEpk(c)).privateKey);let{x:m,y:v,crv:l,kty:f}=await(0,Ty.exportJWK)(r),h=await Pu.deriveKey(c,r,i==="ECDH-ES"?n:i,i==="ECDH-ES"?(0,Nc.bitLength)(n):parseInt(i.slice(-5,-2),10),u,o);if(p={epk:{x:m,crv:l,kty:f}},f==="EC")p.epk.y=v;if(u)p.apu=(0,T0.encode)(u);if(o)p.apv=(0,T0.encode)(o);if(i==="ECDH-ES"){t=h;break}t=a||(0,Nc.default)(n);let b=i.slice(-6);s=await(0,D0.wrap)(b,h,t);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{t=a||(0,Nc.default)(n),s=await(0,Dy.encrypt)(i,c,t);break}case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{t=a||(0,Nc.default)(n);let{p2c:u,p2s:o}=e;({encryptedKey:s,...p}=await(0,jy.encrypt)(i,c,t,u,o));break}case"A128KW":case"A192KW":case"A256KW":{t=a||(0,Nc.default)(n),s=await(0,D0.wrap)(i,c,t);break}case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{t=a||(0,Nc.default)(n);let{iv:u}=e;({encryptedKey:s,...p}=await(0,gy.wrap)(i,c,t,u));break}default:throw new L0.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:t,encryptedKey:s,parameters:p}}Hu.default=By});var Os=d((nc)=>{Object.defineProperty(nc,"__esModule",{value:!0});nc.FlattenedEncrypt=nc.unprotected=void 0;var Rc=li(),g0=_u(),ky=nu(),Fy=bs(),Uy=Iu(),ic=S(),Qy=Ic(),jc=L(),iG=Mc();nc.unprotected=Symbol();class B0{constructor(i){if(!(i instanceof Uint8Array))throw TypeError("plaintext must be an instance of Uint8Array");this._plaintext=i}setKeyManagementParameters(i){if(this._keyManagementParameters)throw TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=i,this}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setSharedUnprotectedHeader(i){if(this._sharedUnprotectedHeader)throw TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=i,this}setUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}setAdditionalAuthenticatedData(i){return this._aad=i,this}setContentEncryptionKey(i){if(this._cek)throw TypeError("setContentEncryptionKey can only be called once");return this._cek=i,this}setInitializationVector(i){if(this._iv)throw TypeError("setInitializationVector can only be called once");return this._iv=i,this}async encrypt(i,n){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new ic.JWEInvalid("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!(0,Qy.default)(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new ic.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let c={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if((0,iG.default)(ic.JWEInvalid,new Map,n===null||n===void 0?void 0:n.crit,this._protectedHeader,c),c.zip!==void 0){if(!this._protectedHeader||!this._protectedHeader.zip)throw new ic.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if(c.zip!=="DEF")throw new ic.JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}let{alg:a,enc:e}=c;if(typeof a!=="string"||!a)throw new ic.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(typeof e!=="string"||!e)throw new ic.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let s;if(a==="dir"){if(this._cek)throw TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if(a==="ECDH-ES"){if(this._cek)throw TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement")}let p;{let l;if({cek:p,encryptedKey:s,parameters:l}=await(0,Uy.default)(a,e,i,this._cek,this._keyManagementParameters),l)if(n&&nc.unprotected in n)if(!this._unprotectedHeader)this.setUnprotectedHeader(l);else this._unprotectedHeader={...this._unprotectedHeader,...l};else if(!this._protectedHeader)this.setProtectedHeader(l);else this._protectedHeader={...this._protectedHeader,...l}}this._iv||(this._iv=(0,Fy.default)(e));let t,u,o;if(this._protectedHeader)u=jc.encoder.encode((0,Rc.encode)(JSON.stringify(this._protectedHeader)));else u=jc.encoder.encode("");if(this._aad)o=(0,Rc.encode)(this._aad),t=(0,jc.concat)(u,jc.encoder.encode("."),jc.encoder.encode(o));else t=u;let r,m;if(c.zip==="DEF"){let l=await((n===null||n===void 0?void 0:n.deflateRaw)||ky.deflate)(this._plaintext);({ciphertext:r,tag:m}=await(0,g0.default)(e,l,p,this._iv,t))}else({ciphertext:r,tag:m}=await(0,g0.default)(e,this._plaintext,p,this._iv,t));let v={ciphertext:(0,Rc.encode)(r),iv:(0,Rc.encode)(this._iv),tag:(0,Rc.encode)(m)};if(s)v.encrypted_key=(0,Rc.encode)(s);if(o)v.aad=o;if(this._protectedHeader)v.protected=jc.decoder.decode(u);if(this._sharedUnprotectedHeader)v.unprotected=this._sharedUnprotectedHeader;if(this._unprotectedHeader)v.header=this._unprotectedHeader;return v}}nc.FlattenedEncrypt=B0});var U0=d((Vs)=>{Object.defineProperty(Vs,"__esModule",{value:!0});Vs.GeneralEncrypt=void 0;var Au=Os(),On=S(),nG=Ba(),cG=Ic(),aG=Iu(),eG=li(),sG=Mc();class k0{constructor(i,n,c){this.parent=i,this.key=n,this.options=c}setUnprotectedHeader(i){if(this.unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=i,this}addRecipient(...i){return this.parent.addRecipient(...i)}encrypt(...i){return this.parent.encrypt(...i)}done(){return this.parent}}class F0{constructor(i){this._recipients=[],this._plaintext=i}addRecipient(i,n){let c=new k0(this,i,{crit:n===null||n===void 0?void 0:n.crit});return this._recipients.push(c),c}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setSharedUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}setAdditionalAuthenticatedData(i){return this._aad=i,this}async encrypt(i){var n,c,a;if(!this._recipients.length)throw new On.JWEInvalid("at least one recipient must be added");if(i={deflateRaw:i===null||i===void 0?void 0:i.deflateRaw},this._recipients.length===1){let[t]=this._recipients,u=await new Au.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(t.unprotectedHeader).encrypt(t.key,{...t.options,...i}),o={ciphertext:u.ciphertext,iv:u.iv,recipients:[{}],tag:u.tag};if(u.aad)o.aad=u.aad;if(u.protected)o.protected=u.protected;if(u.unprotected)o.unprotected=u.unprotected;if(u.encrypted_key)o.recipients[0].encrypted_key=u.encrypted_key;if(u.header)o.recipients[0].header=u.header;return o}let e;for(let t=0;t<this._recipients.length;t++){let u=this._recipients[t];if(!(0,cG.default)(this._protectedHeader,this._unprotectedHeader,u.unprotectedHeader))throw new On.JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");let o={...this._protectedHeader,...this._unprotectedHeader,...u.unprotectedHeader},{alg:r}=o;if(typeof r!=="string"||!r)throw new On.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if(r==="dir"||r==="ECDH-ES")throw new On.JWEInvalid('"dir" and "ECDH-ES" alg may only be used with a single recipient');if(typeof o.enc!=="string"||!o.enc)throw new On.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(!e)e=o.enc;else if(e!==o.enc)throw new On.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients');if((0,sG.default)(On.JWEInvalid,new Map,u.options.crit,this._protectedHeader,o),o.zip!==void 0){if(!this._protectedHeader||!this._protectedHeader.zip)throw new On.JWEInvalid('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}}let s=(0,nG.default)(e),p={ciphertext:"",iv:"",recipients:[],tag:""};for(let t=0;t<this._recipients.length;t++){let u=this._recipients[t],o={};p.recipients.push(o);let m={...this._protectedHeader,...this._unprotectedHeader,...u.unprotectedHeader}.alg.startsWith("PBES2")?2048+t:void 0;if(t===0){let f=await new Au.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(s).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(u.unprotectedHeader).setKeyManagementParameters({p2c:m}).encrypt(u.key,{...u.options,...i,[Au.unprotected]:!0});if(p.ciphertext=f.ciphertext,p.iv=f.iv,p.tag=f.tag,f.aad)p.aad=f.aad;if(f.protected)p.protected=f.protected;if(f.unprotected)p.unprotected=f.unprotected;if(o.encrypted_key=f.encrypted_key,f.header)o.header=f.header;continue}let{encryptedKey:v,parameters:l}=await(0,aG.default)(((n=u.unprotectedHeader)===null||n===void 0?void 0:n.alg)||((c=this._protectedHeader)===null||c===void 0?void 0:c.alg)||((a=this._unprotectedHeader)===null||a===void 0?void 0:a.alg),e,u.key,s,{p2c:m});if(o.encrypted_key=(0,eG.encode)(v),u.unprotectedHeader||l)o.header={...u.unprotectedHeader,...l}}return p}}Vs.GeneralEncrypt=F0});var Ou=d((Cu)=>{Object.defineProperty(Cu,"__esModule",{value:!0});var pG=S();function tG(i){switch(i){case"PS256":case"RS256":case"ES256":case"ES256K":return"sha256";case"PS384":case"RS384":case"ES384":return"sha384";case"PS512":case"RS512":case"ES512":return"sha512";case"EdDSA":return;default:throw new pG.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Cu.default=tG});var Eu=d((Mu)=>{Object.defineProperty(Mu,"__esModule",{value:!0});var Q0=require("crypto"),oG=ja(),uG=S(),Vu=Ta(),Dc=ka(),ib={padding:Q0.constants.RSA_PKCS1_PSS_PADDING,saltLength:Q0.constants.RSA_PSS_SALTLEN_DIGEST},rG=new Map([["ES256","P-256"],["ES256K","secp256k1"],["ES384","P-384"],["ES512","P-521"]]);function dG(i,n){switch(i){case"EdDSA":if(!["ed25519","ed448"].includes(n.asymmetricKeyType))throw TypeError("Invalid key for this operation, its asymmetricKeyType must be ed25519 or ed448");return n;case"RS256":case"RS384":case"RS512":if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,Vu.default)(n,i),n;case(Dc.rsaPssParams&&"PS256"):case(Dc.rsaPssParams&&"PS384"):case(Dc.rsaPssParams&&"PS512"):if(n.asymmetricKeyType==="rsa-pss"){let{hashAlgorithm:c,mgf1HashAlgorithm:a,saltLength:e}=n.asymmetricKeyDetails,s=parseInt(i.slice(-3),10);if(c!==void 0&&(c!==`sha${s}`||a!==c))throw TypeError(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${i}`);if(e!==void 0&&e>s>>3)throw TypeError(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${i}`)}else if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa or rsa-pss");return(0,Vu.default)(n,i),{key:n,...ib};case(!Dc.rsaPssParams&&"PS256"):case(!Dc.rsaPssParams&&"PS384"):case(!Dc.rsaPssParams&&"PS512"):if(n.asymmetricKeyType!=="rsa")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");return(0,Vu.default)(n,i),{key:n,...ib};case"ES256":case"ES256K":case"ES384":case"ES512":{if(n.asymmetricKeyType!=="ec")throw TypeError("Invalid key for this operation, its asymmetricKeyType must be ec");let c=(0,oG.default)(n),a=rG.get(i);if(c!==a)throw TypeError(`Invalid key curve for the algorithm, its curve must be ${a}, got ${c}`);return{dsaEncoding:"ieee-p1363",key:n}}default:throw new uG.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Mu.default=dG});var nb=d((Nu)=>{Object.defineProperty(Nu,"__esModule",{value:!0});var mG=S();function lG(i){switch(i){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new mG.JOSENotSupported(`alg ${i} is not supported either by JOSE or your javascript runtime`)}}Nu.default=lG});var Du=d((ju)=>{Object.defineProperty(ju,"__esModule",{value:!0});var Ru=require("crypto"),xG=Vi(),fG=Pn(),cb=Mi(),ab=Ei();function vG(i,n,c){if(n instanceof Uint8Array){if(!i.startsWith("HS"))throw TypeError((0,cb.default)(n,...ab.types));return(0,Ru.createSecretKey)(n)}if(n instanceof Ru.KeyObject)return n;if((0,xG.isCryptoKey)(n))return(0,fG.checkSigCryptoKey)(n,i,c),Ru.KeyObject.from(n);throw TypeError((0,cb.default)(n,...ab.types,"Uint8Array"))}ju.default=vG});var gu=d((Lu)=>{Object.defineProperty(Lu,"__esModule",{value:!0});var Ms=require("crypto"),hG=require("util"),bG=Ou(),wG=nb(),qG=Eu(),_G=Du(),Tu;if(Ms.sign.length>3)Tu=(0,hG.promisify)(Ms.sign);else Tu=Ms.sign;var WG=async(i,n,c)=>{let a=(0,_G.default)(i,n,"sign");if(i.startsWith("HS")){let e=Ms.createHmac((0,wG.default)(i),a);return e.update(c),e.digest()}return Tu((0,bG.default)(i),c,(0,qG.default)(i,a))};Lu.default=WG});var eb=d((ku)=>{Object.defineProperty(ku,"__esModule",{value:!0});var Es=require("crypto"),KG=require("util"),JG=Ou(),$G=Eu(),zG=gu(),SG=Du(),yG=ka(),Bu;if(Es.verify.length>4&&yG.oneShotCallback)Bu=(0,KG.promisify)(Es.verify);else Bu=Es.verify;var GG=async(i,n,c,a)=>{let e=(0,SG.default)(i,n,"verify");if(i.startsWith("HS")){let t=await(0,zG.default)(i,e,a),u=c;try{return Es.timingSafeEqual(u,t)}catch{return!1}}let s=(0,JG.default)(i),p=(0,$G.default)(i,e);try{return await Bu(s,a,p,c)}catch{return!1}};ku.default=GG});var Rs=d((Ns)=>{Object.defineProperty(Ns,"__esModule",{value:!0});Ns.flattenedVerify=void 0;var Fu=li(),ZG=eb(),ri=S(),Tc=L(),XG=Ic(),sb=$i(),YG=Ua(),PG=Mc(),HG=zu();async function IG(i,n,c){var a;if(!(0,sb.default)(i))throw new ri.JWSInvalid("Flattened JWS must be an object");if(i.protected===void 0&&i.header===void 0)throw new ri.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(i.protected!==void 0&&typeof i.protected!=="string")throw new ri.JWSInvalid("JWS Protected Header incorrect type");if(i.payload===void 0)throw new ri.JWSInvalid("JWS Payload missing");if(typeof i.signature!=="string")throw new ri.JWSInvalid("JWS Signature missing or incorrect type");if(i.header!==void 0&&!(0,sb.default)(i.header))throw new ri.JWSInvalid("JWS Unprotected Header incorrect type");let e={};if(i.protected)try{let b=(0,Fu.decode)(i.protected);e=JSON.parse(Tc.decoder.decode(b))}catch{throw new ri.JWSInvalid("JWS Protected Header is invalid")}if(!(0,XG.default)(e,i.header))throw new ri.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let s={...e,...i.header},p=(0,PG.default)(ri.JWSInvalid,new Map([["b64",!0]]),c===null||c===void 0?void 0:c.crit,e,s),t=!0;if(p.has("b64")){if(t=e.b64,typeof t!=="boolean")throw new ri.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}let{alg:u}=s;if(typeof u!=="string"||!u)throw new ri.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');let o=c&&(0,HG.default)("algorithms",c.algorithms);if(o&&!o.has(u))throw new ri.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(t){if(typeof i.payload!=="string")throw new ri.JWSInvalid("JWS Payload must be a string")}else if(typeof i.payload!=="string"&&!(i.payload instanceof Uint8Array))throw new ri.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let r=!1;if(typeof n==="function")n=await n(e,i),r=!0;(0,YG.default)(u,n,"verify");let m=(0,Tc.concat)(Tc.encoder.encode((a=i.protected)!==null&&a!==void 0?a:""),Tc.encoder.encode("."),typeof i.payload==="string"?Tc.encoder.encode(i.payload):i.payload),v;try{v=(0,Fu.decode)(i.signature)}catch{throw new ri.JWSInvalid("Failed to base64url decode the signature")}if(!await(0,ZG.default)(u,n,v,m))throw new ri.JWSSignatureVerificationFailed;let f;if(t)try{f=(0,Fu.decode)(i.payload)}catch{throw new ri.JWSInvalid("Failed to base64url decode the payload")}else if(typeof i.payload==="string")f=Tc.encoder.encode(i.payload);else f=i.payload;let h={payload:f};if(i.protected!==void 0)h.protectedHeader=e;if(i.header!==void 0)h.unprotectedHeader=i.header;if(r)return{...h,key:n};return h}Ns.flattenedVerify=IG});var Uu=d((js)=>{Object.defineProperty(js,"__esModule",{value:!0});js.compactVerify=void 0;var AG=Rs(),pb=S(),CG=L();async function OG(i,n,c){if(i instanceof Uint8Array)i=CG.decoder.decode(i);if(typeof i!=="string")throw new pb.JWSInvalid("Compact JWS must be a string or Uint8Array");let{0:a,1:e,2:s,length:p}=i.split(".");if(p!==3)throw new pb.JWSInvalid("Invalid Compact JWS");let t=await(0,AG.flattenedVerify)({payload:e,protected:a,signature:s},n,c),u={payload:t.payload,protectedHeader:t.protectedHeader};if(typeof n==="function")return{...u,key:t.key};return u}js.compactVerify=OG});var ob=d((Ds)=>{Object.defineProperty(Ds,"__esModule",{value:!0});Ds.generalVerify=void 0;var VG=Rs(),Qu=S(),tb=$i();async function MG(i,n,c){if(!(0,tb.default)(i))throw new Qu.JWSInvalid("General JWS must be an object");if(!Array.isArray(i.signatures)||!i.signatures.every(tb.default))throw new Qu.JWSInvalid("JWS Signatures missing or incorrect type");for(let a of i.signatures)try{return await(0,VG.flattenedVerify)({header:a.header,payload:i.payload,protected:a.protected,signature:a.signature},n,c)}catch{}throw new Qu.JWSSignatureVerificationFailed}Ds.generalVerify=MG});var nr=d((ir)=>{Object.defineProperty(ir,"__esModule",{value:!0});ir.default=(i)=>Math.floor(i.getTime()/1000)});var er=d((ar)=>{Object.defineProperty(ar,"__esModule",{value:!0});var ub=60,rb=ub*60,cr=rb*24,EG=cr*7,NG=cr*365.25,RG=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;ar.default=(i)=>{let n=RG.exec(i);if(!n)throw TypeError("Invalid time period format");let c=parseFloat(n[1]);switch(n[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(c);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(c*ub);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(c*rb);case"day":case"days":case"d":return Math.round(c*cr);case"week":case"weeks":case"w":return Math.round(c*EG);default:return Math.round(c*NG)}}});var Ts=d((sr)=>{Object.defineProperty(sr,"__esModule",{value:!0});var Zi=S(),jG=L(),DG=nr(),db=er(),TG=$i(),mb=(i)=>i.toLowerCase().replace(/^application\//,""),LG=(i,n)=>{if(typeof i==="string")return n.includes(i);if(Array.isArray(i))return n.some(Set.prototype.has.bind(new Set(i)));return!1};sr.default=(i,n,c={})=>{let{typ:a}=c;if(a&&(typeof i.typ!=="string"||mb(i.typ)!==mb(a)))throw new Zi.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed");let e;try{e=JSON.parse(jG.decoder.decode(n))}catch{}if(!(0,TG.default)(e))throw new Zi.JWTInvalid("JWT Claims Set must be a top-level JSON object");let{requiredClaims:s=[],issuer:p,subject:t,audience:u,maxTokenAge:o}=c;if(o!==void 0)s.push("iat");if(u!==void 0)s.push("aud");if(t!==void 0)s.push("sub");if(p!==void 0)s.push("iss");for(let l of new Set(s.reverse()))if(!(l in e))throw new Zi.JWTClaimValidationFailed(`missing required "${l}" claim`,l,"missing");if(p&&!(Array.isArray(p)?p:[p]).includes(e.iss))throw new Zi.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed");if(t&&e.sub!==t)throw new Zi.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed");if(u&&!LG(e.aud,typeof u==="string"?[u]:u))throw new Zi.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed");let r;switch(typeof c.clockTolerance){case"string":r=(0,db.default)(c.clockTolerance);break;case"number":r=c.clockTolerance;break;case"undefined":r=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:m}=c,v=(0,DG.default)(m||new Date);if((e.iat!==void 0||o)&&typeof e.iat!=="number")throw new Zi.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid");if(e.nbf!==void 0){if(typeof e.nbf!=="number")throw new Zi.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid");if(e.nbf>v+r)throw new Zi.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}if(e.exp!==void 0){if(typeof e.exp!=="number")throw new Zi.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid");if(e.exp<=v-r)throw new Zi.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}if(o){let l=v-e.iat,f=typeof o==="number"?o:(0,db.default)(o);if(l-r>f)throw new Zi.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(l<0-r)throw new Zi.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return e}});var lb=d((Ls)=>{Object.defineProperty(Ls,"__esModule",{value:!0});Ls.jwtVerify=void 0;var gG=Uu(),BG=Ts(),kG=S();async function FG(i,n,c){var a;let e=await(0,gG.compactVerify)(i,n,c);if(((a=e.protectedHeader.crit)===null||a===void 0?void 0:a.includes("b64"))&&e.protectedHeader.b64===!1)throw new kG.JWTInvalid("JWTs MUST NOT use unencoded payload");let p={payload:(0,BG.default)(e.protectedHeader,e.payload,c),protectedHeader:e.protectedHeader};if(typeof n==="function")return{...p,key:e.key};return p}Ls.jwtVerify=FG});var xb=d((gs)=>{Object.defineProperty(gs,"__esModule",{value:!0});gs.jwtDecrypt=void 0;var UG=yu(),QG=Ts(),pr=S();async function iZ(i,n,c){let a=await(0,UG.compactDecrypt)(i,n,c),e=(0,QG.default)(a.protectedHeader,a.plaintext,c),{protectedHeader:s}=a;if(s.iss!==void 0&&s.iss!==e.iss)throw new pr.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(s.sub!==void 0&&s.sub!==e.sub)throw new pr.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(s.aud!==void 0&&JSON.stringify(s.aud)!==JSON.stringify(e.aud))throw new pr.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch");let p={payload:e,protectedHeader:s};if(typeof n==="function")return{...p,key:a.key};return p}gs.jwtDecrypt=iZ});var tr=d((Bs)=>{Object.defineProperty(Bs,"__esModule",{value:!0});Bs.CompactEncrypt=void 0;var nZ=Os();class fb{constructor(i){this._flattened=new nZ.FlattenedEncrypt(i)}setContentEncryptionKey(i){return this._flattened.setContentEncryptionKey(i),this}setInitializationVector(i){return this._flattened.setInitializationVector(i),this}setProtectedHeader(i){return this._flattened.setProtectedHeader(i),this}setKeyManagementParameters(i){return this._flattened.setKeyManagementParameters(i),this}async encrypt(i,n){let c=await this._flattened.encrypt(i,n);return[c.protected,c.encrypted_key,c.iv,c.ciphertext,c.tag].join(".")}}Bs.CompactEncrypt=fb});var Fs=d((ks)=>{Object.defineProperty(ks,"__esModule",{value:!0});ks.FlattenedSign=void 0;var or=li(),cZ=gu(),aZ=Ic(),ne=S(),cc=L(),eZ=Ua(),sZ=Mc();class vb{constructor(i){if(!(i instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this._payload=i}setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setUnprotectedHeader(i){if(this._unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=i,this}async sign(i,n){if(!this._protectedHeader&&!this._unprotectedHeader)throw new ne.JWSInvalid("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,aZ.default)(this._protectedHeader,this._unprotectedHeader))throw new ne.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let c={...this._protectedHeader,...this._unprotectedHeader},a=(0,sZ.default)(ne.JWSInvalid,new Map([["b64",!0]]),n===null||n===void 0?void 0:n.crit,this._protectedHeader,c),e=!0;if(a.has("b64")){if(e=this._protectedHeader.b64,typeof e!=="boolean")throw new ne.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}let{alg:s}=c;if(typeof s!=="string"||!s)throw new ne.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,eZ.default)(s,i,"sign");let p=this._payload;if(e)p=cc.encoder.encode((0,or.encode)(p));let t;if(this._protectedHeader)t=cc.encoder.encode((0,or.encode)(JSON.stringify(this._protectedHeader)));else t=cc.encoder.encode("");let u=(0,cc.concat)(t,cc.encoder.encode("."),p),o=await(0,cZ.default)(s,i,u),r={signature:(0,or.encode)(o),payload:""};if(e)r.payload=cc.decoder.decode(p);if(this._unprotectedHeader)r.header=this._unprotectedHeader;if(this._protectedHeader)r.protected=cc.decoder.decode(t);return r}}ks.FlattenedSign=vb});var ur=d((Us)=>{Object.defineProperty(Us,"__esModule",{value:!0});Us.CompactSign=void 0;var pZ=Fs();class hb{constructor(i){this._flattened=new pZ.FlattenedSign(i)}setProtectedHeader(i){return this._flattened.setProtectedHeader(i),this}async sign(i,n){let c=await this._flattened.sign(i,n);if(c.payload===void 0)throw TypeError("use the flattened module for creating JWS with b64: false");return`${c.protected}.${c.payload}.${c.signature}`}}Us.CompactSign=hb});var _b=d((Qs)=>{Object.defineProperty(Qs,"__esModule",{value:!0});Qs.GeneralSign=void 0;var tZ=Fs(),bb=S();class wb{constructor(i,n,c){this.parent=i,this.key=n,this.options=c}setProtectedHeader(i){if(this.protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this.protectedHeader=i,this}setUnprotectedHeader(i){if(this.unprotectedHeader)throw TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=i,this}addSignature(...i){return this.parent.addSignature(...i)}sign(...i){return this.parent.sign(...i)}done(){return this.parent}}class qb{constructor(i){this._signatures=[],this._payload=i}addSignature(i,n){let c=new wb(this,i,n);return this._signatures.push(c),c}async sign(){if(!this._signatures.length)throw new bb.JWSInvalid("at least one signature must be added");let i={signatures:[],payload:""};for(let n=0;n<this._signatures.length;n++){let c=this._signatures[n],a=new tZ.FlattenedSign(this._payload);a.setProtectedHeader(c.protectedHeader),a.setUnprotectedHeader(c.unprotectedHeader);let{payload:e,...s}=await a.sign(c.key,c.options);if(n===0)i.payload=e;else if(i.payload!==e)throw new bb.JWSInvalid("inconsistent use of JWS Unencoded Payload (RFC7797)");i.signatures.push(s)}return i}}Qs.GeneralSign=qb});var np=d((ip)=>{Object.defineProperty(ip,"__esModule",{value:!0});ip.ProduceJWT=void 0;var rr=nr(),oZ=$i(),Wb=er();class Kb{constructor(i){if(!(0,oZ.default)(i))throw TypeError("JWT Claims Set MUST be an object");this._payload=i}setIssuer(i){return this._payload={...this._payload,iss:i},this}setSubject(i){return this._payload={...this._payload,sub:i},this}setAudience(i){return this._payload={...this._payload,aud:i},this}setJti(i){return this._payload={...this._payload,jti:i},this}setNotBefore(i){if(typeof i==="number")this._payload={...this._payload,nbf:i};else this._payload={...this._payload,nbf:(0,rr.default)(new Date)+(0,Wb.default)(i)};return this}setExpirationTime(i){if(typeof i==="number")this._payload={...this._payload,exp:i};else this._payload={...this._payload,exp:(0,rr.default)(new Date)+(0,Wb.default)(i)};return this}setIssuedAt(i){if(typeof i>"u")this._payload={...this._payload,iat:(0,rr.default)(new Date)};else this._payload={...this._payload,iat:i};return this}}ip.ProduceJWT=Kb});var $b=d((cp)=>{Object.defineProperty(cp,"__esModule",{value:!0});cp.SignJWT=void 0;var uZ=ur(),rZ=S(),dZ=L(),mZ=np();class Jb extends mZ.ProduceJWT{setProtectedHeader(i){return this._protectedHeader=i,this}async sign(i,n){var c;let a=new uZ.CompactSign(dZ.encoder.encode(JSON.stringify(this._payload)));if(a.setProtectedHeader(this._protectedHeader),Array.isArray((c=this._protectedHeader)===null||c===void 0?void 0:c.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===!1)throw new rZ.JWTInvalid("JWTs MUST NOT use unencoded payload");return a.sign(i,n)}}cp.SignJWT=Jb});var Sb=d((ap)=>{Object.defineProperty(ap,"__esModule",{value:!0});ap.EncryptJWT=void 0;var lZ=tr(),xZ=L(),fZ=np();class zb extends fZ.ProduceJWT{setProtectedHeader(i){if(this._protectedHeader)throw TypeError("setProtectedHeader can only be called once");return this._protectedHeader=i,this}setKeyManagementParameters(i){if(this._keyManagementParameters)throw TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=i,this}setContentEncryptionKey(i){if(this._cek)throw TypeError("setContentEncryptionKey can only be called once");return this._cek=i,this}setInitializationVector(i){if(this._iv)throw TypeError("setInitializationVector can only be called once");return this._iv=i,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(i,n){let c=new lZ.CompactEncrypt(xZ.encoder.encode(JSON.stringify(this._payload)));if(this._replicateIssuerAsHeader)this._protectedHeader={...this._protectedHeader,iss:this._payload.iss};if(this._replicateSubjectAsHeader)this._protectedHeader={...this._protectedHeader,sub:this._payload.sub};if(this._replicateAudienceAsHeader)this._protectedHeader={...this._protectedHeader,aud:this._payload.aud};if(c.setProtectedHeader(this._protectedHeader),this._iv)c.setInitializationVector(this._iv);if(this._cek)c.setContentEncryptionKey(this._cek);if(this._keyManagementParameters)c.setKeyManagementParameters(this._keyManagementParameters);return c.encrypt(i,n)}}ap.EncryptJWT=zb});var Zb=d((Lc)=>{Object.defineProperty(Lc,"__esModule",{value:!0});Lc.calculateJwkThumbprintUri=Lc.calculateJwkThumbprint=void 0;var vZ=Co(),hZ=li(),yb=S(),bZ=L(),wZ=$i(),Vn=(i,n)=>{if(typeof i!=="string"||!i)throw new yb.JWKInvalid(`${n} missing or invalid`)};async function Gb(i,n){if(!(0,wZ.default)(i))throw TypeError("JWK must be an object");if(n!==null&&n!==void 0||(n="sha256"),n!=="sha256"&&n!=="sha384"&&n!=="sha512")throw TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let c;switch(i.kty){case"EC":Vn(i.crv,'"crv" (Curve) Parameter'),Vn(i.x,'"x" (X Coordinate) Parameter'),Vn(i.y,'"y" (Y Coordinate) Parameter'),c={crv:i.crv,kty:i.kty,x:i.x,y:i.y};break;case"OKP":Vn(i.crv,'"crv" (Subtype of Key Pair) Parameter'),Vn(i.x,'"x" (Public Key) Parameter'),c={crv:i.crv,kty:i.kty,x:i.x};break;case"RSA":Vn(i.e,'"e" (Exponent) Parameter'),Vn(i.n,'"n" (Modulus) Parameter'),c={e:i.e,kty:i.kty,n:i.n};break;case"oct":Vn(i.k,'"k" (Key Value) Parameter'),c={k:i.k,kty:i.kty};break;default:throw new yb.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}let a=bZ.encoder.encode(JSON.stringify(c));return(0,hZ.encode)(await(0,vZ.default)(n,a))}Lc.calculateJwkThumbprint=Gb;async function qZ(i,n){n!==null&&n!==void 0||(n="sha256");let c=await Gb(i,n);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${n.slice(-3)}:${c}`}Lc.calculateJwkThumbprintUri=qZ});var Yb=d((ep)=>{Object.defineProperty(ep,"__esModule",{value:!0});ep.EmbeddedJWK=void 0;var _Z=Fa(),WZ=$i(),Xb=S();async function KZ(i,n){let c={...i,...n===null||n===void 0?void 0:n.header};if(!(0,WZ.default)(c.jwk))throw new Xb.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object');let a=await(0,_Z.importJWK)({...c.jwk,ext:!0},c.alg,!0);if(a instanceof Uint8Array||a.type!=="public")throw new Xb.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a public key');return a}ep.EmbeddedJWK=KZ});var mr=d((Mn)=>{Object.defineProperty(Mn,"__esModule",{value:!0});Mn.createLocalJWKSet=Mn.LocalJWKSet=Mn.isJWKSLike=void 0;var JZ=Fa(),ce=S(),$Z=$i();function zZ(i){switch(typeof i==="string"&&i.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new ce.JOSENotSupported('Unsupported "alg" value for a JSON Web Key Set')}}function Hb(i){return i&&typeof i==="object"&&Array.isArray(i.keys)&&i.keys.every(SZ)}Mn.isJWKSLike=Hb;function SZ(i){return(0,$Z.default)(i)}function yZ(i){if(typeof structuredClone==="function")return structuredClone(i);return JSON.parse(JSON.stringify(i))}class dr{constructor(i){if(this._cached=new WeakMap,!Hb(i))throw new ce.JWKSInvalid("JSON Web Key Set malformed");this._jwks=yZ(i)}async getKey(i,n){let{alg:c,kid:a}={...i,...n===null||n===void 0?void 0:n.header},e=zZ(c),s=this._jwks.keys.filter((u)=>{let o=e===u.kty;if(o&&typeof a==="string")o=a===u.kid;if(o&&typeof u.alg==="string")o=c===u.alg;if(o&&typeof u.use==="string")o=u.use==="sig";if(o&&Array.isArray(u.key_ops))o=u.key_ops.includes("verify");if(o&&c==="EdDSA")o=u.crv==="Ed25519"||u.crv==="Ed448";if(o)switch(c){case"ES256":o=u.crv==="P-256";break;case"ES256K":o=u.crv==="secp256k1";break;case"ES384":o=u.crv==="P-384";break;case"ES512":o=u.crv==="P-521";break}return o}),{0:p,length:t}=s;if(t===0)throw new ce.JWKSNoMatchingKey;else if(t!==1){let u=new ce.JWKSMultipleMatchingKeys,{_cached:o}=this;throw u[Symbol.asyncIterator]=async function*(){for(let r of s)try{yield await Pb(o,r,c)}catch{continue}},u}return Pb(this._cached,p,c)}}Mn.LocalJWKSet=dr;async function Pb(i,n,c){let a=i.get(n)||i.set(n,{}).get(n);if(a[c]===void 0){let e=await(0,JZ.importJWK)({...n,ext:!0},c);if(e instanceof Uint8Array||e.type!=="public")throw new ce.JWKSInvalid("JSON Web Key Set members must be public keys");a[c]=e}return a[c]}function GZ(i){let n=new dr(i);return async function(c,a){return n.getKey(c,a)}}Mn.createLocalJWKSet=GZ});var Cb=d((xr)=>{Object.defineProperty(xr,"__esModule",{value:!0});var ZZ=require("http"),XZ=require("https"),Ib=require("events"),lr=S(),Ab=L(),YZ=async(i,n,c)=>{let a;switch(i.protocol){case"https:":a=XZ.get;break;case"http:":a=ZZ.get;break;default:throw TypeError("Unsupported URL protocol.")}let{agent:e,headers:s}=c,p=a(i.href,{agent:e,timeout:n,headers:s}),[t]=await Promise.race([(0,Ib.once)(p,"response"),(0,Ib.once)(p,"timeout")]);if(!t)throw p.destroy(),new lr.JWKSTimeout;if(t.statusCode!==200)throw new lr.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response");let u=[];for await(let o of t)u.push(o);try{return JSON.parse(Ab.decoder.decode((0,Ab.concat)(...u)))}catch{throw new lr.JOSEError("Failed to parse the JSON Web Key Set HTTP response as JSON")}};xr.default=YZ});var Eb=d((sp)=>{Object.defineProperty(sp,"__esModule",{value:!0});sp.createRemoteJWKSet=void 0;var PZ=Cb(),Ob=S(),Vb=mr();function HZ(){return typeof WebSocketPair<"u"||typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime<"u"&&EdgeRuntime==="vercel"}class Mb extends Vb.LocalJWKSet{constructor(i,n){super({keys:[]});if(this._jwks=void 0,!(i instanceof URL))throw TypeError("url must be an instance of URL");this._url=new URL(i.href),this._options={agent:n===null||n===void 0?void 0:n.agent,headers:n===null||n===void 0?void 0:n.headers},this._timeoutDuration=typeof(n===null||n===void 0?void 0:n.timeoutDuration)==="number"?n===null||n===void 0?void 0:n.timeoutDuration:5000,this._cooldownDuration=typeof(n===null||n===void 0?void 0:n.cooldownDuration)==="number"?n===null||n===void 0?void 0:n.cooldownDuration:30000,this._cacheMaxAge=typeof(n===null||n===void 0?void 0:n.cacheMaxAge)==="number"?n===null||n===void 0?void 0:n.cacheMaxAge:600000}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cooldownDuration:!1}fresh(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cacheMaxAge:!1}async getKey(i,n){if(!this._jwks||!this.fresh())await this.reload();try{return await super.getKey(i,n)}catch(c){if(c instanceof Ob.JWKSNoMatchingKey){if(this.coolingDown()===!1)return await this.reload(),super.getKey(i,n)}throw c}}async reload(){if(this._pendingFetch&&HZ())this._pendingFetch=void 0;this._pendingFetch||(this._pendingFetch=(0,PZ.default)(this._url,this._timeoutDuration,this._options).then((i)=>{if(!(0,Vb.isJWKSLike)(i))throw new Ob.JWKSInvalid("JSON Web Key Set malformed");this._jwks={keys:i.keys},this._jwksTimestamp=Date.now(),this._pendingFetch=void 0}).catch((i)=>{throw this._pendingFetch=void 0,i})),await this._pendingFetch}}function IZ(i,n){let c=new Mb(i,n);return async function(a,e){return c.getKey(a,e)}}sp.createRemoteJWKSet=IZ});var Rb=d((tp)=>{Object.defineProperty(tp,"__esModule",{value:!0});tp.UnsecuredJWT=void 0;var pp=li(),AZ=L(),fr=S(),CZ=Ts(),OZ=np();class Nb extends OZ.ProduceJWT{encode(){let i=pp.encode(JSON.stringify({alg:"none"})),n=pp.encode(JSON.stringify(this._payload));return`${i}.${n}.`}static decode(i,n){if(typeof i!=="string")throw new fr.JWTInvalid("Unsecured JWT must be a string");let{0:c,1:a,2:e,length:s}=i.split(".");if(s!==3||e!=="")throw new fr.JWTInvalid("Invalid Unsecured JWT");let p;try{if(p=JSON.parse(AZ.decoder.decode(pp.decode(c))),p.alg!=="none")throw Error()}catch{throw new fr.JWTInvalid("Invalid Unsecured JWT")}return{payload:(0,CZ.default)(p,pp.decode(a),n),header:p}}}tp.UnsecuredJWT=Nb});var op=d((gc)=>{Object.defineProperty(gc,"__esModule",{value:!0});gc.decode=gc.encode=void 0;var jb=li();gc.encode=jb.encode;gc.decode=jb.decode});var Db=d((up)=>{Object.defineProperty(up,"__esModule",{value:!0});up.decodeProtectedHeader=void 0;var VZ=op(),MZ=L(),EZ=$i();function NZ(i){let n;if(typeof i==="string"){let c=i.split(".");if(c.length===3||c.length===5)[n]=c}else if(typeof i==="object"&&i)if("protected"in i)n=i.protected;else throw TypeError("Token does not contain a Protected Header");try{if(typeof n!=="string"||!n)throw Error();let c=JSON.parse(MZ.decoder.decode((0,VZ.decode)(n)));if(!(0,EZ.default)(c))throw Error();return c}catch{throw TypeError("Invalid Token or Protected Header formatting")}}up.decodeProtectedHeader=NZ});var Tb=d((rp)=>{Object.defineProperty(rp,"__esModule",{value:!0});rp.decodeJwt=void 0;var RZ=op(),jZ=L(),DZ=$i(),ac=S();function TZ(i){if(typeof i!=="string")throw new ac.JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");let{1:n,length:c}=i.split(".");if(c===5)throw new ac.JWTInvalid("Only JWTs using Compact JWS serialization can be decoded");if(c!==3)throw new ac.JWTInvalid("Invalid JWT");if(!n)throw new ac.JWTInvalid("JWTs must contain a payload");let a;try{a=(0,RZ.decode)(n)}catch{throw new ac.JWTInvalid("Failed to base64url decode the payload")}let e;try{e=JSON.parse(jZ.decoder.decode(a))}catch{throw new ac.JWTInvalid("Failed to parse the decoded payload as JSON")}if(!(0,DZ.default)(e))throw new ac.JWTInvalid("Invalid JWT Claims Set");return e}rp.decodeJwt=TZ});var vr=d((Bc)=>{Object.defineProperty(Bc,"__esModule",{value:!0});Bc.generateKeyPair=Bc.generateSecret=void 0;var gb=require("crypto"),LZ=require("util"),gZ=Va(),Lb=Ta(),ae=S(),rn=(0,LZ.promisify)(gb.generateKeyPair);async function BZ(i,n){let c;switch(i){case"HS256":case"HS384":case"HS512":case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":c=parseInt(i.slice(-3),10);break;case"A128KW":case"A192KW":case"A256KW":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":c=parseInt(i.slice(1,4),10);break;default:throw new ae.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return(0,gb.createSecretKey)((0,gZ.default)(new Uint8Array(c>>3)))}Bc.generateSecret=BZ;async function kZ(i,n){var c,a;switch(i){case"RS256":case"RS384":case"RS512":case"PS256":case"PS384":case"PS512":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":case"RSA1_5":{let s=(c=n===null||n===void 0?void 0:n.modulusLength)!==null&&c!==void 0?c:2048;if(typeof s!=="number"||s<2048)throw new ae.JOSENotSupported("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");let p=await rn("rsa",{modulusLength:s,publicExponent:65537});return(0,Lb.setModulusLength)(p.privateKey,s),(0,Lb.setModulusLength)(p.publicKey,s),p}case"ES256":return rn("ec",{namedCurve:"P-256"});case"ES256K":return rn("ec",{namedCurve:"secp256k1"});case"ES384":return rn("ec",{namedCurve:"P-384"});case"ES512":return rn("ec",{namedCurve:"P-521"});case"EdDSA":switch(n===null||n===void 0?void 0:n.crv){case void 0:case"Ed25519":return rn("ed25519");case"Ed448":return rn("ed448");default:throw new ae.JOSENotSupported("Invalid or unsupported crv option provided, supported values are Ed25519 and Ed448")}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":let e=(a=n===null||n===void 0?void 0:n.crv)!==null&&a!==void 0?a:"P-256";switch(e){case void 0:case"P-256":case"P-384":case"P-521":return rn("ec",{namedCurve:e});case"X25519":return rn("x25519");case"X448":return rn("x448");default:throw new ae.JOSENotSupported("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}default:throw new ae.JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}}Bc.generateKeyPair=kZ});var Bb=d((dp)=>{Object.defineProperty(dp,"__esModule",{value:!0});dp.generateKeyPair=void 0;var FZ=vr();async function UZ(i,n){return(0,FZ.generateKeyPair)(i,n)}dp.generateKeyPair=UZ});var kb=d((mp)=>{Object.defineProperty(mp,"__esModule",{value:!0});mp.generateSecret=void 0;var QZ=vr();async function iX(i,n){return(0,QZ.generateSecret)(i,n)}mp.generateSecret=iX});var Fb=d((hr)=>{Object.defineProperty(hr,"__esModule",{value:!0});hr.default="node:crypto"});var Ub=d((br)=>{Object.defineProperty(br,"__esModule",{value:!0});var nX=Fb();br.default=nX.default});var qr=d((_)=>{Object.defineProperty(_,"__esModule",{value:!0});_.cryptoRuntime=_.base64url=_.generateSecret=_.generateKeyPair=_.errors=_.decodeJwt=_.decodeProtectedHeader=_.importJWK=_.importX509=_.importPKCS8=_.importSPKI=_.exportJWK=_.exportSPKI=_.exportPKCS8=_.UnsecuredJWT=_.createRemoteJWKSet=_.createLocalJWKSet=_.EmbeddedJWK=_.calculateJwkThumbprintUri=_.calculateJwkThumbprint=_.EncryptJWT=_.SignJWT=_.GeneralSign=_.FlattenedSign=_.CompactSign=_.FlattenedEncrypt=_.CompactEncrypt=_.jwtDecrypt=_.jwtVerify=_.generalVerify=_.flattenedVerify=_.compactVerify=_.GeneralEncrypt=_.generalDecrypt=_.flattenedDecrypt=_.compactDecrypt=void 0;var cX=yu();Object.defineProperty(_,"compactDecrypt",{enumerable:!0,get:function(){return cX.compactDecrypt}});var aX=Xs();Object.defineProperty(_,"flattenedDecrypt",{enumerable:!0,get:function(){return aX.flattenedDecrypt}});var eX=E0();Object.defineProperty(_,"generalDecrypt",{enumerable:!0,get:function(){return eX.generalDecrypt}});var sX=U0();Object.defineProperty(_,"GeneralEncrypt",{enumerable:!0,get:function(){return sX.GeneralEncrypt}});var pX=Uu();Object.defineProperty(_,"compactVerify",{enumerable:!0,get:function(){return pX.compactVerify}});var tX=Rs();Object.defineProperty(_,"flattenedVerify",{enumerable:!0,get:function(){return tX.flattenedVerify}});var oX=ob();Object.defineProperty(_,"generalVerify",{enumerable:!0,get:function(){return oX.generalVerify}});var uX=lb();Object.defineProperty(_,"jwtVerify",{enumerable:!0,get:function(){return uX.jwtVerify}});var rX=xb();Object.defineProperty(_,"jwtDecrypt",{enumerable:!0,get:function(){return rX.jwtDecrypt}});var dX=tr();Object.defineProperty(_,"CompactEncrypt",{enumerable:!0,get:function(){return dX.CompactEncrypt}});var mX=Os();Object.defineProperty(_,"FlattenedEncrypt",{enumerable:!0,get:function(){return mX.FlattenedEncrypt}});var lX=ur();Object.defineProperty(_,"CompactSign",{enumerable:!0,get:function(){return lX.CompactSign}});var xX=Fs();Object.defineProperty(_,"FlattenedSign",{enumerable:!0,get:function(){return xX.FlattenedSign}});var fX=_b();Object.defineProperty(_,"GeneralSign",{enumerable:!0,get:function(){return fX.GeneralSign}});var vX=$b();Object.defineProperty(_,"SignJWT",{enumerable:!0,get:function(){return vX.SignJWT}});var hX=Sb();Object.defineProperty(_,"EncryptJWT",{enumerable:!0,get:function(){return hX.EncryptJWT}});var Qb=Zb();Object.defineProperty(_,"calculateJwkThumbprint",{enumerable:!0,get:function(){return Qb.calculateJwkThumbprint}});Object.defineProperty(_,"calculateJwkThumbprintUri",{enumerable:!0,get:function(){return Qb.calculateJwkThumbprintUri}});var bX=Yb();Object.defineProperty(_,"EmbeddedJWK",{enumerable:!0,get:function(){return bX.EmbeddedJWK}});var wX=mr();Object.defineProperty(_,"createLocalJWKSet",{enumerable:!0,get:function(){return wX.createLocalJWKSet}});var qX=Eb();Object.defineProperty(_,"createRemoteJWKSet",{enumerable:!0,get:function(){return qX.createRemoteJWKSet}});var _X=Rb();Object.defineProperty(_,"UnsecuredJWT",{enumerable:!0,get:function(){return _X.UnsecuredJWT}});var wr=Yu();Object.defineProperty(_,"exportPKCS8",{enumerable:!0,get:function(){return wr.exportPKCS8}});Object.defineProperty(_,"exportSPKI",{enumerable:!0,get:function(){return wr.exportSPKI}});Object.defineProperty(_,"exportJWK",{enumerable:!0,get:function(){return wr.exportJWK}});var lp=Fa();Object.defineProperty(_,"importSPKI",{enumerable:!0,get:function(){return lp.importSPKI}});Object.defineProperty(_,"importPKCS8",{enumerable:!0,get:function(){return lp.importPKCS8}});Object.defineProperty(_,"importX509",{enumerable:!0,get:function(){return lp.importX509}});Object.defineProperty(_,"importJWK",{enumerable:!0,get:function(){return lp.importJWK}});var WX=Db();Object.defineProperty(_,"decodeProtectedHeader",{enumerable:!0,get:function(){return WX.decodeProtectedHeader}});var KX=Tb();Object.defineProperty(_,"decodeJwt",{enumerable:!0,get:function(){return KX.decodeJwt}});_.errors=S();var JX=Bb();Object.defineProperty(_,"generateKeyPair",{enumerable:!0,get:function(){return JX.generateKeyPair}});var $X=kb();Object.defineProperty(_,"generateSecret",{enumerable:!0,get:function(){return $X.generateSecret}});_.base64url=op();var zX=Ub();Object.defineProperty(_,"cryptoRuntime",{enumerable:!0,get:function(){return zX.default}})});var fp=d((eM,iw)=>{function xp(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="JwksError",this.message=i}xp.prototype=Object.create(Error.prototype);xp.prototype.constructor=xp;iw.exports=xp});var _r=d((sM,cw)=>{var nw=qr(),SX=fp();function yX(i){if(i.alg)return i.alg;if(i.kty==="RSA")return"RS256";if(i.kty==="EC")switch(i.crv){case"P-256":return"ES256";case"secp256k1":return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}if(i.kty==="OKP")switch(i.crv){case"Ed25519":case"Ed448":return"EdDSA"}throw new SX("Unsupported JWK")}async function GX(i){let n=[];i=i.filter(({use:c})=>c==="sig"||c===void 0).filter(({kty:c})=>c==="RSA"||c==="EC"||c==="OKP");for(let c of i)try{let a=await nw.importJWK({...c,ext:!0},yX(c));if(a.type!=="public")continue;let e;switch(a[Symbol.toStringTag]){case"CryptoKey":{let s=await nw.exportSPKI(a);e=()=>s;break}case"KeyObject":default:e=()=>a.export({format:"pem",type:"spki"})}n.push({get publicKey(){return e()},get rsaPublicKey(){return e()},getPublicKey(){return e()},...typeof c.kid==="string"&&c.kid?{kid:c.kid}:void 0,...typeof c.alg==="string"&&c.alg?{alg:c.alg}:void 0})}catch(a){continue}return n}cw.exports={retrieveSigningKeys:GX}});var Wr=d((pM,aw)=>{function vp(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="ArgumentError",this.message=i}vp.prototype=Object.create(Error.prototype);vp.prototype.constructor=vp;aw.exports=vp});var sw=d((tM,ew)=>{var ZX=require("http"),XX=require("https"),YX=Wr();ew.exports.default=(i)=>{if(i.fetcher)return i.fetcher(i.uri);return new Promise((n,c)=>{let a;try{a=new URL(i.uri)}catch(l){throw new YX("Invalid JWKS URI: The provided URI is not a valid URL.")}let{hostname:e,port:s,protocol:p,pathname:t,search:u}=a,o=t+u,r={hostname:e,path:o,port:s,method:"GET",...i.headers&&{headers:{...i.headers}},...i.timeout&&{timeout:i.timeout},...i.agent&&{agent:i.agent}},v=(p==="https:"?XX:ZX).request(r,(l)=>{let f="";l.setEncoding("utf8"),l.on("data",(h)=>{f+=h}),l.on("end",()=>{if(l.statusCode<200||l.statusCode>=300){let h=l.body&&(l.body.message||l.body)||l.statusMessage||`Http Error ${l.statusCode}`;c({errorMsg:h})}else try{n(f&&JSON.parse(f))}catch(h){c(h)}})});v.on("timeout",()=>v.destroy()).on("error",(l)=>c(l)).end()})}});var tw=d((oM,pw)=>{pw.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let n=this.head;n;n=n.next)yield n.value}}});var uw=d((uM,ow)=>{ow.exports=A;A.Node=ec;A.create=A;function A(i){var n=this;if(!(n instanceof A))n=new A;if(n.tail=null,n.head=null,n.length=0,i&&typeof i.forEach==="function")i.forEach(function(e){n.push(e)});else if(arguments.length>0)for(var c=0,a=arguments.length;c<a;c++)n.push(arguments[c]);return n}A.prototype.removeNode=function(i){if(i.list!==this)throw Error("removing node which does not belong to this list");var{next:n,prev:c}=i;if(n)n.prev=c;if(c)c.next=n;if(i===this.head)this.head=n;if(i===this.tail)this.tail=c;return i.list.length--,i.next=null,i.prev=null,i.list=null,n};A.prototype.unshiftNode=function(i){if(i===this.head)return;if(i.list)i.list.removeNode(i);var n=this.head;if(i.list=this,i.next=n,n)n.prev=i;if(this.head=i,!this.tail)this.tail=i;this.length++};A.prototype.pushNode=function(i){if(i===this.tail)return;if(i.list)i.list.removeNode(i);var n=this.tail;if(i.list=this,i.prev=n,n)n.next=i;if(this.tail=i,!this.head)this.head=i;this.length++};A.prototype.push=function(){for(var i=0,n=arguments.length;i<n;i++)HX(this,arguments[i]);return this.length};A.prototype.unshift=function(){for(var i=0,n=arguments.length;i<n;i++)IX(this,arguments[i]);return this.length};A.prototype.pop=function(){if(!this.tail)return;var i=this.tail.value;if(this.tail=this.tail.prev,this.tail)this.tail.next=null;else this.head=null;return this.length--,i};A.prototype.shift=function(){if(!this.head)return;var i=this.head.value;if(this.head=this.head.next,this.head)this.head.prev=null;else this.tail=null;return this.length--,i};A.prototype.forEach=function(i,n){n=n||this;for(var c=this.head,a=0;c!==null;a++)i.call(n,c.value,a,this),c=c.next};A.prototype.forEachReverse=function(i,n){n=n||this;for(var c=this.tail,a=this.length-1;c!==null;a--)i.call(n,c.value,a,this),c=c.prev};A.prototype.get=function(i){for(var n=0,c=this.head;c!==null&&n<i;n++)c=c.next;if(n===i&&c!==null)return c.value};A.prototype.getReverse=function(i){for(var n=0,c=this.tail;c!==null&&n<i;n++)c=c.prev;if(n===i&&c!==null)return c.value};A.prototype.map=function(i,n){n=n||this;var c=new A;for(var a=this.head;a!==null;)c.push(i.call(n,a.value,this)),a=a.next;return c};A.prototype.mapReverse=function(i,n){n=n||this;var c=new A;for(var a=this.tail;a!==null;)c.push(i.call(n,a.value,this)),a=a.prev;return c};A.prototype.reduce=function(i,n){var c,a=this.head;if(arguments.length>1)c=n;else if(this.head)a=this.head.next,c=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var e=0;a!==null;e++)c=i(c,a.value,e),a=a.next;return c};A.prototype.reduceReverse=function(i,n){var c,a=this.tail;if(arguments.length>1)c=n;else if(this.tail)a=this.tail.prev,c=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var e=this.length-1;a!==null;e--)c=i(c,a.value,e),a=a.prev;return c};A.prototype.toArray=function(){var i=Array(this.length);for(var n=0,c=this.head;c!==null;n++)i[n]=c.value,c=c.next;return i};A.prototype.toArrayReverse=function(){var i=Array(this.length);for(var n=0,c=this.tail;c!==null;n++)i[n]=c.value,c=c.prev;return i};A.prototype.slice=function(i,n){if(n=n||this.length,n<0)n+=this.length;if(i=i||0,i<0)i+=this.length;var c=new A;if(n<i||n<0)return c;if(i<0)i=0;if(n>this.length)n=this.length;for(var a=0,e=this.head;e!==null&&a<i;a++)e=e.next;for(;e!==null&&a<n;a++,e=e.next)c.push(e.value);return c};A.prototype.sliceReverse=function(i,n){if(n=n||this.length,n<0)n+=this.length;if(i=i||0,i<0)i+=this.length;var c=new A;if(n<i||n<0)return c;if(i<0)i=0;if(n>this.length)n=this.length;for(var a=this.length,e=this.tail;e!==null&&a>n;a--)e=e.prev;for(;e!==null&&a>i;a--,e=e.prev)c.push(e.value);return c};A.prototype.splice=function(i,n,...c){if(i>this.length)i=this.length-1;if(i<0)i=this.length+i;for(var a=0,e=this.head;e!==null&&a<i;a++)e=e.next;var s=[];for(var a=0;e&&a<n;a++)s.push(e.value),e=this.removeNode(e);if(e===null)e=this.tail;if(e!==this.head&&e!==this.tail)e=e.prev;for(var a=0;a<c.length;a++)e=PX(this,e,c[a]);return s};A.prototype.reverse=function(){var i=this.head,n=this.tail;for(var c=i;c!==null;c=c.prev){var a=c.prev;c.prev=c.next,c.next=a}return this.head=n,this.tail=i,this};function PX(i,n,c){var a=n===i.head?new ec(c,null,n,i):new ec(c,n,n.next,i);if(a.next===null)i.tail=a;if(a.prev===null)i.head=a;return i.length++,a}function HX(i,n){if(i.tail=new ec(n,i.tail,null,i),!i.head)i.head=i.tail;i.length++}function IX(i,n){if(i.head=new ec(n,null,i.head,i),!i.tail)i.tail=i.head;i.length++}function ec(i,n,c,a){if(!(this instanceof ec))return new ec(i,n,c,a);if(this.list=a,this.value=i,n)n.next=this,this.prev=n;else this.prev=null;if(c)c.prev=this,this.next=c;else this.next=null}try{tw()(A)}catch(i){}});var $r=d((rM,fw)=>{var AX=uw(),sc=Symbol("max"),wn=Symbol("length"),kc=Symbol("lengthCalculator"),se=Symbol("allowStale"),pc=Symbol("maxAge"),bn=Symbol("dispose"),rw=Symbol("noDisposeOnSet"),ei=Symbol("lruList"),cn=Symbol("cache"),mw=Symbol("updateAgeOnGet"),Kr=()=>1;class lw{constructor(i){if(typeof i==="number")i={max:i};if(!i)i={};if(i.max&&(typeof i.max!=="number"||i.max<0))throw TypeError("max must be a non-negative number");let n=this[sc]=i.max||1/0,c=i.length||Kr;if(this[kc]=typeof c!=="function"?Kr:c,this[se]=i.stale||!1,i.maxAge&&typeof i.maxAge!=="number")throw TypeError("maxAge must be a number");this[pc]=i.maxAge||0,this[bn]=i.dispose,this[rw]=i.noDisposeOnSet||!1,this[mw]=i.updateAgeOnGet||!1,this.reset()}set max(i){if(typeof i!=="number"||i<0)throw TypeError("max must be a non-negative number");this[sc]=i||1/0,ee(this)}get max(){return this[sc]}set allowStale(i){this[se]=!!i}get allowStale(){return this[se]}set maxAge(i){if(typeof i!=="number")throw TypeError("maxAge must be a non-negative number");this[pc]=i,ee(this)}get maxAge(){return this[pc]}set lengthCalculator(i){if(typeof i!=="function")i=Kr;if(i!==this[kc])this[kc]=i,this[wn]=0,this[ei].forEach((n)=>{n.length=this[kc](n.value,n.key),this[wn]+=n.length});ee(this)}get lengthCalculator(){return this[kc]}get length(){return this[wn]}get itemCount(){return this[ei].length}rforEach(i,n){n=n||this;for(let c=this[ei].tail;c!==null;){let a=c.prev;dw(this,i,c,n),c=a}}forEach(i,n){n=n||this;for(let c=this[ei].head;c!==null;){let a=c.next;dw(this,i,c,n),c=a}}keys(){return this[ei].toArray().map((i)=>i.key)}values(){return this[ei].toArray().map((i)=>i.value)}reset(){if(this[bn]&&this[ei]&&this[ei].length)this[ei].forEach((i)=>this[bn](i.key,i.value));this[cn]=new Map,this[ei]=new AX,this[wn]=0}dump(){return this[ei].map((i)=>hp(this,i)?!1:{k:i.key,v:i.value,e:i.now+(i.maxAge||0)}).toArray().filter((i)=>i)}dumpLru(){return this[ei]}set(i,n,c){if(c=c||this[pc],c&&typeof c!=="number")throw TypeError("maxAge must be a number");let a=c?Date.now():0,e=this[kc](n,i);if(this[cn].has(i)){if(e>this[sc])return Fc(this,this[cn].get(i)),!1;let t=this[cn].get(i).value;if(this[bn]){if(!this[rw])this[bn](i,t.value)}return t.now=a,t.maxAge=c,t.value=n,this[wn]+=e-t.length,t.length=e,this.get(i),ee(this),!0}let s=new xw(i,n,e,a,c);if(s.length>this[sc]){if(this[bn])this[bn](i,n);return!1}return this[wn]+=s.length,this[ei].unshift(s),this[cn].set(i,this[ei].head),ee(this),!0}has(i){if(!this[cn].has(i))return!1;let n=this[cn].get(i).value;return!hp(this,n)}get(i){return Jr(this,i,!0)}peek(i){return Jr(this,i,!1)}pop(){let i=this[ei].tail;if(!i)return null;return Fc(this,i),i.value}del(i){Fc(this,this[cn].get(i))}load(i){this.reset();let n=Date.now();for(let c=i.length-1;c>=0;c--){let a=i[c],e=a.e||0;if(e===0)this.set(a.k,a.v);else{let s=e-n;if(s>0)this.set(a.k,a.v,s)}}}prune(){this[cn].forEach((i,n)=>Jr(this,n,!1))}}var Jr=(i,n,c)=>{let a=i[cn].get(n);if(a){let e=a.value;if(hp(i,e)){if(Fc(i,a),!i[se])return}else if(c){if(i[mw])a.value.now=Date.now();i[ei].unshiftNode(a)}return e.value}},hp=(i,n)=>{if(!n||!n.maxAge&&!i[pc])return!1;let c=Date.now()-n.now;return n.maxAge?c>n.maxAge:i[pc]&&c>i[pc]},ee=(i)=>{if(i[wn]>i[sc])for(let n=i[ei].tail;i[wn]>i[sc]&&n!==null;){let c=n.prev;Fc(i,n),n=c}},Fc=(i,n)=>{if(n){let c=n.value;if(i[bn])i[bn](c.key,c.value);i[wn]-=c.length,i[cn].delete(c.key),i[ei].removeNode(n)}};class xw{constructor(i,n,c,a,e){this.key=i,this.value=n,this.length=c,this.now=a,this.maxAge=e||0}}var dw=(i,n,c,a)=>{let e=c.value;if(hp(i,e)){if(Fc(i,c),!i[se])e=void 0}if(e)n.call(a,e.value,e.key,i)};fw.exports=lw});var Mr=d((pe,Uc)=>{var CX=200,Sw="__lodash_hash_undefined__",yw=9007199254740991,Pr="[object Arguments]",OX="[object Array]",Gw="[object Boolean]",Zw="[object Date]",VX="[object Error]",Hr="[object Function]",Xw="[object GeneratorFunction]",bp="[object Map]",Yw="[object Number]",Ir="[object Object]",vw="[object Promise]",Pw="[object RegExp]",wp="[object Set]",Hw="[object String]",Iw="[object Symbol]",Sr="[object WeakMap]",Aw="[object ArrayBuffer]",qp="[object DataView]",Cw="[object Float32Array]",Ow="[object Float64Array]",Vw="[object Int8Array]",Mw="[object Int16Array]",Ew="[object Int32Array]",Nw="[object Uint8Array]",Rw="[object Uint8ClampedArray]",jw="[object Uint16Array]",Dw="[object Uint32Array]",MX=/[\\^$.*+?()[\]{}|]/g,EX=/\w*$/,NX=/^\[object .+?Constructor\]$/,RX=/^(?:0|[1-9]\d*)$/,N={};N[Pr]=N[OX]=N[Aw]=N[qp]=N[Gw]=N[Zw]=N[Cw]=N[Ow]=N[Vw]=N[Mw]=N[Ew]=N[bp]=N[Yw]=N[Ir]=N[Pw]=N[wp]=N[Hw]=N[Iw]=N[Nw]=N[Rw]=N[jw]=N[Dw]=!0;N[VX]=N[Hr]=N[Sr]=!1;var jX=typeof global=="object"&&global&&global.Object===Object&&global,DX=typeof self=="object"&&self&&self.Object===Object&&self,qn=jX||DX||Function("return this")(),Tw=typeof pe=="object"&&pe&&!pe.nodeType&&pe,hw=Tw&&typeof Uc=="object"&&Uc&&!Uc.nodeType&&Uc,TX=hw&&hw.exports===Tw;function LX(i,n){return i.set(n[0],n[1]),i}function gX(i,n){return i.add(n),i}function BX(i,n){var c=-1,a=i?i.length:0;while(++c<a)if(n(i[c],c,i)===!1)break;return i}function kX(i,n){var c=-1,a=n.length,e=i.length;while(++c<a)i[e+c]=n[c];return i}function Lw(i,n,c,a){var e=-1,s=i?i.length:0;if(a&&s)c=i[++e];while(++e<s)c=n(c,i[e],e,i);return c}function FX(i,n){var c=-1,a=Array(i);while(++c<i)a[c]=n(c);return a}function UX(i,n){return i==null?void 0:i[n]}function gw(i){var n=!1;if(i!=null&&typeof i.toString!="function")try{n=!!(i+"")}catch(c){}return n}function bw(i){var n=-1,c=Array(i.size);return i.forEach(function(a,e){c[++n]=[e,a]}),c}function Ar(i,n){return function(c){return i(n(c))}}function ww(i){var n=-1,c=Array(i.size);return i.forEach(function(a){c[++n]=a}),c}var QX=Array.prototype,iY=Function.prototype,_p=Object.prototype,zr=qn["__core-js_shared__"],qw=function(){var i=/[^.]+$/.exec(zr&&zr.keys&&zr.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Bw=iY.toString,En=_p.hasOwnProperty,Wp=_p.toString,nY=RegExp("^"+Bw.call(En).replace(MX,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_w=TX?qn.Buffer:void 0,Ww=qn.Symbol,Kw=qn.Uint8Array,cY=Ar(Object.getPrototypeOf,Object),aY=Object.create,eY=_p.propertyIsEnumerable,sY=QX.splice,Jw=Object.getOwnPropertySymbols,pY=_w?_w.isBuffer:void 0,tY=Ar(Object.keys,Object),yr=na(qn,"DataView"),te=na(qn,"Map"),Gr=na(qn,"Promise"),Zr=na(qn,"Set"),Xr=na(qn,"WeakMap"),oe=na(Object,"create"),oY=uc(yr),uY=uc(te),rY=uc(Gr),dY=uc(Zr),mY=uc(Xr),$w=Ww?Ww.prototype:void 0,zw=$w?$w.valueOf:void 0;function oc(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function lY(){this.__data__=oe?oe(null):{}}function xY(i){return this.has(i)&&delete this.__data__[i]}function fY(i){var n=this.__data__;if(oe){var c=n[i];return c===Sw?void 0:c}return En.call(n,i)?n[i]:void 0}function vY(i){var n=this.__data__;return oe?n[i]!==void 0:En.call(n,i)}function hY(i,n){var c=this.__data__;return c[i]=oe&&n===void 0?Sw:n,this}oc.prototype.clear=lY;oc.prototype.delete=xY;oc.prototype.get=fY;oc.prototype.has=vY;oc.prototype.set=hY;function _n(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function bY(){this.__data__=[]}function wY(i){var n=this.__data__,c=Kp(n,i);if(c<0)return!1;var a=n.length-1;if(c==a)n.pop();else sY.call(n,c,1);return!0}function qY(i){var n=this.__data__,c=Kp(n,i);return c<0?void 0:n[c][1]}function _Y(i){return Kp(this.__data__,i)>-1}function WY(i,n){var c=this.__data__,a=Kp(c,i);if(a<0)c.push([i,n]);else c[a][1]=n;return this}_n.prototype.clear=bY;_n.prototype.delete=wY;_n.prototype.get=qY;_n.prototype.has=_Y;_n.prototype.set=WY;function Qc(i){var n=-1,c=i?i.length:0;this.clear();while(++n<c){var a=i[n];this.set(a[0],a[1])}}function KY(){this.__data__={hash:new oc,map:new(te||_n),string:new oc}}function JY(i){return Jp(this,i).delete(i)}function $Y(i){return Jp(this,i).get(i)}function zY(i){return Jp(this,i).has(i)}function SY(i,n){return Jp(this,i).set(i,n),this}Qc.prototype.clear=KY;Qc.prototype.delete=JY;Qc.prototype.get=$Y;Qc.prototype.has=zY;Qc.prototype.set=SY;function ia(i){this.__data__=new _n(i)}function yY(){this.__data__=new _n}function GY(i){return this.__data__.delete(i)}function ZY(i){return this.__data__.get(i)}function XY(i){return this.__data__.has(i)}function YY(i,n){var c=this.__data__;if(c instanceof _n){var a=c.__data__;if(!te||a.length<CX-1)return a.push([i,n]),this;c=this.__data__=new Qc(a)}return c.set(i,n),this}ia.prototype.clear=yY;ia.prototype.delete=GY;ia.prototype.get=ZY;ia.prototype.has=XY;ia.prototype.set=YY;function PY(i,n){var c=Or(i)||aP(i)?FX(i.length,String):[],a=c.length,e=!!a;for(var s in i)if((n||En.call(i,s))&&!(e&&(s=="length"||QY(s,a))))c.push(s);return c}function kw(i,n,c){var a=i[n];if(!(En.call(i,n)&&i4(a,c))||c===void 0&&!(n in i))i[n]=c}function Kp(i,n){var c=i.length;while(c--)if(i4(i[c][0],n))return c;return-1}function HY(i,n){return i&&Fw(n,Vr(n),i)}function Yr(i,n,c,a,e,s,p){var t;if(a)t=s?a(i,e,s,p):a(i);if(t!==void 0)return t;if(!$p(i))return i;var u=Or(i);if(u){if(t=kY(i),!n)return LY(i,t)}else{var o=tc(i),r=o==Hr||o==Xw;if(sP(i))return MY(i,n);if(o==Ir||o==Pr||r&&!s){if(gw(i))return s?i:{};if(t=FY(r?{}:i),!n)return gY(i,HY(t,i))}else{if(!N[o])return s?i:{};t=UY(i,o,Yr,n)}}p||(p=new ia);var m=p.get(i);if(m)return m;if(p.set(i,t),!u)var v=c?BY(i):Vr(i);return BX(v||i,function(l,f){if(v)f=l,l=i[f];kw(t,f,Yr(l,n,c,a,f,i,p))}),t}function IY(i){return $p(i)?aY(i):{}}function AY(i,n,c){var a=n(i);return Or(i)?a:kX(a,c(i))}function CY(i){return Wp.call(i)}function OY(i){if(!$p(i)||nP(i))return!1;var n=c4(i)||gw(i)?nY:NX;return n.test(uc(i))}function VY(i){if(!Qw(i))return tY(i);var n=[];for(var c in Object(i))if(En.call(i,c)&&c!="constructor")n.push(c);return n}function MY(i,n){if(n)return i.slice();var c=new i.constructor(i.length);return i.copy(c),c}function Cr(i){var n=new i.constructor(i.byteLength);return new Kw(n).set(new Kw(i)),n}function EY(i,n){var c=n?Cr(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.byteLength)}function NY(i,n,c){var a=n?c(bw(i),!0):bw(i);return Lw(a,LX,new i.constructor)}function RY(i){var n=new i.constructor(i.source,EX.exec(i));return n.lastIndex=i.lastIndex,n}function jY(i,n,c){var a=n?c(ww(i),!0):ww(i);return Lw(a,gX,new i.constructor)}function DY(i){return zw?Object(zw.call(i)):{}}function TY(i,n){var c=n?Cr(i.buffer):i.buffer;return new i.constructor(c,i.byteOffset,i.length)}function LY(i,n){var c=-1,a=i.length;n||(n=Array(a));while(++c<a)n[c]=i[c];return n}function Fw(i,n,c,a){c||(c={});var e=-1,s=n.length;while(++e<s){var p=n[e],t=a?a(c[p],i[p],p,c,i):void 0;kw(c,p,t===void 0?i[p]:t)}return c}function gY(i,n){return Fw(i,Uw(i),n)}function BY(i){return AY(i,Vr,Uw)}function Jp(i,n){var c=i.__data__;return iP(n)?c[typeof n=="string"?"string":"hash"]:c.map}function na(i,n){var c=UX(i,n);return OY(c)?c:void 0}var Uw=Jw?Ar(Jw,Object):oP,tc=CY;if(yr&&tc(new yr(new ArrayBuffer(1)))!=qp||te&&tc(new te)!=bp||Gr&&tc(Gr.resolve())!=vw||Zr&&tc(new Zr)!=wp||Xr&&tc(new Xr)!=Sr)tc=function(i){var n=Wp.call(i),c=n==Ir?i.constructor:void 0,a=c?uc(c):void 0;if(a)switch(a){case oY:return qp;case uY:return bp;case rY:return vw;case dY:return wp;case mY:return Sr}return n};function kY(i){var n=i.length,c=i.constructor(n);if(n&&typeof i[0]=="string"&&En.call(i,"index"))c.index=i.index,c.input=i.input;return c}function FY(i){return typeof i.constructor=="function"&&!Qw(i)?IY(cY(i)):{}}function UY(i,n,c,a){var e=i.constructor;switch(n){case Aw:return Cr(i);case Gw:case Zw:return new e(+i);case qp:return EY(i,a);case Cw:case Ow:case Vw:case Mw:case Ew:case Nw:case Rw:case jw:case Dw:return TY(i,a);case bp:return NY(i,a,c);case Yw:case Hw:return new e(i);case Pw:return RY(i);case wp:return jY(i,a,c);case Iw:return DY(i)}}function QY(i,n){return n=n==null?yw:n,!!n&&(typeof i=="number"||RX.test(i))&&(i>-1&&i%1==0&&i<n)}function iP(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}function nP(i){return!!qw&&qw in i}function Qw(i){var n=i&&i.constructor,c=typeof n=="function"&&n.prototype||_p;return i===c}function uc(i){if(i!=null){try{return Bw.call(i)}catch(n){}try{return i+""}catch(n){}}return""}function cP(i){return Yr(i,!0,!0)}function i4(i,n){return i===n||i!==i&&n!==n}function aP(i){return eP(i)&&En.call(i,"callee")&&(!eY.call(i,"callee")||Wp.call(i)==Pr)}var Or=Array.isArray;function n4(i){return i!=null&&pP(i.length)&&!c4(i)}function eP(i){return tP(i)&&n4(i)}var sP=pY||uP;function c4(i){var n=$p(i)?Wp.call(i):"";return n==Hr||n==Xw}function pP(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=yw}function $p(i){var n=typeof i;return!!i&&(n=="object"||n=="function")}function tP(i){return!!i&&typeof i=="object"}function Vr(i){return n4(i)?PY(i):VY(i)}function oP(){return[]}function uP(){return!1}Uc.exports=cP});var Er=d((zp)=>{Object.defineProperty(zp,"__esModule",{value:!0});zp.deepFreeze=void 0;function a4(i){if(i)Object.freeze(i),Object.getOwnPropertyNames(i).forEach(function(n){if(i.hasOwnProperty(n)&&i[n]!==null&&(typeof i[n]==="object"||typeof i[n]==="function")&&i[n].constructor!==Buffer&&!Object.isFrozen(i[n]))a4(i[n])});return i}zp.deepFreeze=a4});var t4=d((mn)=>{var rP=mn&&mn.__read||function(i,n){var c=typeof Symbol==="function"&&i[Symbol.iterator];if(!c)return i;var a=c.call(i),e,s=[],p;try{while((n===void 0||n-- >0)&&!(e=a.next()).done)s.push(e.value)}catch(t){p={error:t}}finally{try{if(e&&!e.done&&(c=a.return))c.call(a)}finally{if(p)throw p.error}}return s},dn=mn&&mn.__spread||function(){for(var i=[],n=0;n<arguments.length;n++)i=i.concat(rP(arguments[n]));return i},p4=mn&&mn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(mn,"__esModule",{value:!0});mn.syncMemoizer=void 0;var dP=p4($r()),mP=require("events"),e4=p4(Mr()),s4=Er();function lP(i){var n=new dP.default(i),c=i.load,a=i.hash,e=i.bypass,s=i.itemMaxAge,p=i.freeze,t=i.clone,u=new mP.EventEmitter,o=Object.assign({del:r,reset:function(){return n.reset()},keys:n.keys.bind(n),on:u.on.bind(u),once:u.once.bind(u)},i);if(i.disable)return Object.assign(c,o);function r(){var h=a.apply(void 0,dn(arguments));n.del(h)}function m(h){var b=[];for(var J=1;J<arguments.length;J++)b[J-1]=arguments[J];u.emit.apply(u,dn([h],b))}function v(h){return h&&h.then&&typeof h.then==="function"}function l(h){var b=h;if(t)if(v(b))b=b.then(e4.default);else b=e4.default(b);if(p)if(v(b))b=b.then(s4.deepFreeze);else s4.deepFreeze(b);return b}var f=function(){var h=[];for(var b=0;b<arguments.length;b++)h[b]=arguments[b];if(e&&e.apply(void 0,dn(h)))return m.apply(void 0,dn(["miss"],h)),c.apply(void 0,dn(h));var J=a.apply(void 0,dn(h)),z=n.get(J);if(z)return m.apply(void 0,dn(["hit"],h)),l(z);m.apply(void 0,dn(["miss"],h));var q=c.apply(void 0,dn(h));if(s)n.set(J,q,s.apply(void 0,dn(h.concat([q]))));else n.set(J,q);return l(q)};return Object.assign(f,o)}mn.syncMemoizer=lP});var r4=d((Ri)=>{var xP=Ri&&Ri.__read||function(i,n){var c=typeof Symbol==="function"&&i[Symbol.iterator];if(!c)return i;var a=c.call(i),e,s=[],p;try{while((n===void 0||n-- >0)&&!(e=a.next()).done)s.push(e.value)}catch(t){p={error:t}}finally{try{if(e&&!e.done&&(c=a.return))c.call(a)}finally{if(p)throw p.error}}return s},zi=Ri&&Ri.__spread||function(){for(var i=[],n=0;n<arguments.length;n++)i=i.concat(xP(arguments[n]));return i},fP=Ri&&Ri.__values||function(i){var n=typeof Symbol==="function"&&Symbol.iterator,c=n&&i[n],a=0;if(c)return c.call(i);if(i&&typeof i.length==="number")return{next:function(){if(i&&a>=i.length)i=void 0;return{value:i&&i[a++],done:!i}}};throw TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},o4=Ri&&Ri.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ri,"__esModule",{value:!0});Ri.asyncMemoizer=void 0;var vP=o4($r()),hP=require("events"),bP=o4(Mr()),wP=Er(),qP=t4();function u4(i){var n=new vP.default(i),c=i.load,a=i.hash,e=i.bypass,s=i.itemMaxAge,p=i.freeze,t=i.clone,u=i.queueMaxAge||1000,o=new Map,r=new hP.EventEmitter,m=Object.assign({del:v,reset:function(){return n.reset()},keys:n.keys.bind(n),on:r.on.bind(r),once:r.once.bind(r)},i);if(i.disable)return Object.assign(c,m);function v(){var J=[];for(var z=0;z<arguments.length;z++)J[z]=arguments[z];var q=a.apply(void 0,zi(J));n.del(q)}function l(J,z,q){if(p)q.forEach(wP.deepFreeze);if(s)n.set(J,q,s.apply(void 0,zi(z.concat(q))));else n.set(J,q)}function f(J,z){var q,Z;try{for(var C=fP(J),Y=C.next();!Y.done;Y=C.next()){var V=Y.value;if(t)setImmediate.apply(void 0,zi([V],z.map(bP.default)));else setImmediate.apply(void 0,zi([V],z))}}catch(R){q={error:R}}finally{try{if(Y&&!Y.done&&(Z=C.return))Z.call(C)}finally{if(q)throw q.error}}}function h(J){var z=[];for(var q=1;q<arguments.length;q++)z[q-1]=arguments[q];r.emit.apply(r,zi([J],z))}function b(){var J=[];for(var z=0;z<arguments.length;z++)J[z]=arguments[z];var q=J.slice(0,-1),Z=J.slice(-1).pop(),C;if(e&&e.apply(void 0,zi(q)))return h.apply(void 0,zi(["miss"],q)),c.apply(void 0,zi(J));if(q.length===0&&!a)C="_";else C=a.apply(void 0,zi(q));var Y=n.get(C);if(Y)return h.apply(void 0,zi(["hit"],q)),f([Z],[null].concat(Y));var V=o.get(C);if(V&&V.expiresAt>Date.now()){V.queue.push(Z),h.apply(void 0,zi(["queue"],q));return}h.apply(void 0,zi(["miss"],q));var R=Date.now(),Si=[Z];o.set(C,{queue:Si,expiresAt:R+u});var Wn=function(){var Xi=[];for(var bi=0;bi<arguments.length;bi++)Xi[bi]=arguments[bi];var Yi=Xi[0];if(!Yi)l(C,q,Xi.slice(1));o.delete(C),h.apply(void 0,zi(["loaded",Date.now()-R],q)),f(Si,Xi)};c.apply(void 0,zi(q,[Wn]))}return Object.assign(b,m)}Ri.asyncMemoizer=u4;u4.sync=qP.syncMemoizer});var m4=d((xM,d4)=>{var _P=r4();d4.exports=_P.asyncMemoizer});var x4=d((fM,l4)=>{var WP=ha()("jwks"),KP=m4(),{promisify:JP,callbackify:$P}=require("util");function zP(i,{cacheMaxEntries:n=5,cacheMaxAge:c=600000}){return WP(`Configured caching of signing keys. Max: ${n} / Age: ${c}`),JP(KP({hash:(a)=>a,load:$P(i.getSigningKey.bind(i)),maxAge:c,max:n}))}l4.exports.default=zP});var Nr=d((vM,v4)=>{var f4=function(i,n,c,a){if(this.bucketSize=i,this.tokensPerInterval=n,typeof c==="string")switch(c){case"sec":case"second":this.interval=1000;break;case"min":case"minute":this.interval=60000;break;case"hr":case"hour":this.interval=3600000;break;case"day":this.interval=86400000;break;default:throw Error("Invaid interval "+c)}else this.interval=c;this.parentBucket=a,this.content=0,this.lastDrip=+new Date};f4.prototype={bucketSize:1,tokensPerInterval:1,interval:1000,parentBucket:null,content:0,lastDrip:0,removeTokens:function(i,n){var c=this;if(!this.bucketSize)return process.nextTick(n.bind(null,null,i,Number.POSITIVE_INFINITY)),!0;if(i>this.bucketSize)return process.nextTick(n.bind(null,"Requested tokens "+i+" exceeds bucket size "+this.bucketSize,null)),!1;if(this.drip(),i>this.content)return a();if(this.parentBucket)return this.parentBucket.removeTokens(i,function(e,s){if(e)return n(e,null);if(i>c.content)return a();c.content-=i,n(null,Math.min(s,c.content))});else return this.content-=i,process.nextTick(n.bind(null,null,this.content)),!0;function a(){var e=Math.ceil((i-c.content)*(c.interval/c.tokensPerInterval));return setTimeout(function(){c.removeTokens(i,n)},e),!1}},tryRemoveTokens:function(i){if(!this.bucketSize)return!0;if(i>this.bucketSize)return!1;if(this.drip(),i>this.content)return!1;if(this.parentBucket&&!this.parentBucket.tryRemoveTokens(i))return!1;return this.content-=i,!0},drip:function(){if(!this.tokensPerInterval){this.content=this.bucketSize;return}var i=+new Date,n=Math.max(i-this.lastDrip,0);this.lastDrip=i;var c=n*(this.tokensPerInterval/this.interval);this.content=Math.min(this.content+c,this.bucketSize)}};v4.exports=f4});var b4=d((hM,h4)=>{var SP=function(){if(typeof process<"u"&&process.hrtime){var i=process.hrtime(),n=i[0],c=i[1];return n*1000+Math.floor(c/1e6)}return new Date().getTime()};h4.exports=SP});var _4=d((bM,q4)=>{var yP=Nr(),Rr=b4(),w4=function(i,n,c){this.tokenBucket=new yP(i,i,n,null),this.tokenBucket.content=i,this.curIntervalStart=Rr(),this.tokensThisInterval=0,this.fireImmediately=c};w4.prototype={tokenBucket:null,curIntervalStart:0,tokensThisInterval:0,fireImmediately:!1,removeTokens:function(i,n){if(i>this.tokenBucket.bucketSize)return process.nextTick(n.bind(null,"Requested tokens "+i+" exceeds maximum tokens per interval "+this.tokenBucket.bucketSize,null)),!1;var c=this,a=Rr();if(a<this.curIntervalStart||a-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=a,this.tokensThisInterval=0;if(i>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(n.bind(null,null,-1));else{var e=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-a);setTimeout(function(){c.tokenBucket.removeTokens(i,s)},e)}return!1}return this.tokenBucket.removeTokens(i,s);function s(p,t){if(p)return n(p,null);c.tokensThisInterval+=i,n(null,t)}},tryRemoveTokens:function(i){if(i>this.tokenBucket.bucketSize)return!1;var n=Rr();if(n<this.curIntervalStart||n-this.curIntervalStart>=this.tokenBucket.interval)this.curIntervalStart=n,this.tokensThisInterval=0;if(i>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;var c=this.tokenBucket.tryRemoveTokens(i);if(c)this.tokensThisInterval+=i;return c},getTokensRemaining:function(){return this.tokenBucket.drip(),this.tokenBucket.content}};q4.exports=w4});var W4=d((jr)=>{jr.RateLimiter=_4();jr.TokenBucket=Nr()});var Dr=d((qM,K4)=>{function Sp(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="JwksRateLimitError",this.message=i}Sp.prototype=Object.create(Error.prototype);Sp.prototype.constructor=Sp;K4.exports=Sp});var $4=d((_M,J4)=>{var Tr=ha()("jwks"),{RateLimiter:GP}=W4(),ZP=Dr();function XP(i,{jwksRequestsPerMinute:n=10}){let c=i.getSigningKey.bind(i),a=new GP(n,"minute",!0);return Tr(`Configured rate limiting to JWKS endpoint at ${n}/minute`),async(e)=>await new Promise((s,p)=>{a.removeTokens(1,async(t,u)=>{if(t)p(t);if(Tr("Requests to the JWKS endpoint available for the next minute:",u),u<0)Tr("Too many requests to the JWKS endpoint"),p(new ZP("Too many requests to the JWKS endpoint"));else try{let o=await c(e);s(o)}catch(o){p(o)}})})}J4.exports.default=XP});var S4=d((WM,z4)=>{var YP=_r().retrieveSigningKeys;function PP(i,{getKeysInterceptor:n}){let c=i.getSigningKey.bind(i);return async(a)=>{let e=await n(),s;if(e&&e.length)s=await YP(e);if(s&&s.length){let p=s.find((t)=>!a||t.kid===a);if(p)return p}return c(a)}}z4.exports.default=PP});var G4=d((KM,y4)=>{var{callbackify:HP}=require("util"),IP=(i)=>{let n=i.getSigningKey.bind(i);return(c,a)=>{if(a)return HP(n)(c,a);return n(c)}};y4.exports.default=IP});var X4=d((JM,Z4)=>{Z4.exports={request:sw().default,cacheSigningKey:x4().default,rateLimitSigningKey:$4().default,getKeysInterceptor:S4().default,callbackSupport:G4().default}});var Lr=d(($M,Y4)=>{function yp(i){Error.call(this,i),Error.captureStackTrace(this,this.constructor),this.name="SigningKeyNotFoundError",this.message=i}yp.prototype=Object.create(Error.prototype);yp.prototype.constructor=yp;Y4.exports=yp});var ca=d((zM,I4)=>{var rc=ha()("jwks"),{retrieveSigningKeys:AP}=_r(),{request:CP,cacheSigningKey:OP,rateLimitSigningKey:VP,getKeysInterceptor:MP,callbackSupport:EP}=X4(),gr=fp(),P4=Lr();class H4{constructor(i){if(this.options={rateLimit:!1,cache:!0,timeout:30000,...i},this.options.getKeysInterceptor)this.getSigningKey=MP(this,i);if(this.options.rateLimit)this.getSigningKey=VP(this,i);if(this.options.cache)this.getSigningKey=OP(this,i);this.getSigningKey=EP(this,i)}async getKeys(){rc(`Fetching keys from '${this.options.jwksUri}'`);try{let i=await CP({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return rc("Keys:",i.keys),i.keys}catch(i){let{errorMsg:n}=i;throw rc("Failure:",n||i),n?new gr(n):i}}async getSigningKeys(){let i=await this.getKeys();if(!i||!i.length)throw new gr("The JWKS endpoint did not contain any keys");let n=await AP(i);if(!n.length)throw new gr("The JWKS endpoint did not contain any signing keys");return rc("Signing Keys:",n),n}async getSigningKey(i){rc(`Fetching signing key for '${i}'`);let n=await this.getSigningKeys(),c=i!==void 0&&i!==null;if(!c&&n.length>1)throw rc("No KID specified and JWKS endpoint returned more than 1 key"),new P4("No KID specified and JWKS endpoint returned more than 1 key");let a=n.find((e)=>!c||e.kid===i);if(a)return a;else throw rc(`Unable to find a signing key that matches '${i}'`),new P4(`Unable to find a signing key that matches '${i}'`)}}I4.exports={JwksClient:H4}});var aa=d((SM,A4)=>{A4.exports={ArgumentError:Wr(),JwksError:fp(),JwksRateLimitError:Dr(),SigningKeyNotFoundError:Lr()}});var ue=d((yM,C4)=>{var NP=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES256K","ES384","ES512","EdDSA"];C4.exports=NP});var O4=d((GM,Gp)=>{var{ArgumentError:RP}=aa(),{JwksClient:jP}=ca(),DP=ue(),TP=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(i,null,null);if(i)return n(i,null,null)};Gp.exports.hapiJwt2KeyAsync=(i)=>{let n=Gp.exports.hapiJwt2Key(i);return function(c){return new Promise((a,e)=>{n(c,(p,t)=>{!t||p?e(p):a({key:t})})})}};Gp.exports.hapiJwt2Key=function(i){if(i===null||i===void 0)throw new RP("An options object must be provided when initializing hapiJwt2Key");let n=new jP(i),c=i.handleSigningKeyError||TP;return function(e,s){if(!e||!e.header)return s(Error("Cannot find a signing certificate if there is no header"),null,null);if(!DP.includes(e.header.alg))return s(Error("Unsupported algorithm "+e.header.alg+" supplied."),null,null);n.getSigningKey(e.header.kid).then((p)=>{return s(null,p.publicKey||p.rsaPublicKey,p)}).catch((p)=>{return c(p,(t)=>s(t,null,null))})}}});var M4=d((ZM,V4)=>{var{ArgumentError:LP}=aa(),{JwksClient:gP}=ca(),BP=ue(),kP=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(null);if(i)return n(i)};V4.exports.expressJwtSecret=function(i){if(i===null||i===void 0)throw new LP("An options object must be provided when initializing expressJwtSecret");let n=new gP(i),c=i.handleSigningKeyError||kP,a=async(e,s)=>{if(!s)return;let p=s.header;if(!p||!BP.includes(p.alg))return;try{let t=await n.getSigningKey(p.kid);return t.publicKey||t.rsaPublicKey}catch(t){return new Promise((u,o)=>{c(t,(r)=>{if(!r)return u();o(r)})})}};return function(s,p,t,u){if(arguments.length===4){a(s,{header:p}).then((o)=>{setImmediate(u,null,o)}).catch((o)=>{setImmediate(u,o)});return}return a(s,arguments[1])}}});var N4=d((XM,E4)=>{var{ArgumentError:FP}=aa(),{JwksClient:UP}=ca(),QP=ue();E4.exports.koaJwtSecret=function(i={}){if(!i.jwksUri)throw new FP("No JWKS provided. Please provide a jwksUri");let n=new UP(i);return function({alg:a,kid:e}={}){return new Promise((s,p)=>{if(!QP.includes(a))return p(Error("Missing / invalid token algorithm"));n.getSigningKey(e).then((t)=>{s(t.publicKey||t.rsaPublicKey)}).catch((t)=>{if(i.handleSigningKeyError)return i.handleSigningKeyError(t).then(p);return p(t)})})}}});var T4=d((YM,D4)=>{var R4=qr(),{ArgumentError:j4}=aa(),{JwksClient:iH}=ca(),nH=ue(),cH=(i,n)=>{if(i&&i.name==="SigningKeyNotFoundError")return n(null);if(i)return n(i)};D4.exports.passportJwtSecret=function(i){if(i===null||i===void 0)throw new j4("An options object must be provided when initializing passportJwtSecret");if(!i.jwksUri)throw new j4("No JWKS provided. Please provide a jwksUri");let n=new iH(i),c=i.handleSigningKeyError||cH;return function(e,s,p){let t;try{t={payload:R4.decodeJwt(s),header:R4.decodeProtectedHeader(s)}}catch(u){t=null}if(!t||!nH.includes(t.header.alg))return p(null,null);n.getSigningKey(t.header.kid).then((u)=>{p(null,u.publicKey||u.rsaPublicKey)}).catch((u)=>{c(u,(o)=>p(o,null))})}}});var g4=d((PM,ji)=>{var{JwksClient:L4}=ca(),Zp=aa(),{hapiJwt2Key:aH,hapiJwt2KeyAsync:eH}=O4(),{expressJwtSecret:sH}=M4(),{koaJwtSecret:pH}=N4(),{passportJwtSecret:tH}=T4();ji.exports=(i)=>{return new L4(i)};ji.exports.JwksClient=L4;ji.exports.ArgumentError=Zp.ArgumentError;ji.exports.JwksError=Zp.JwksError;ji.exports.JwksRateLimitError=Zp.JwksRateLimitError;ji.exports.SigningKeyNotFoundError=Zp.SigningKeyNotFoundError;ji.exports.expressJwtSecret=sH;ji.exports.hapiJwt2Key=aH;ji.exports.hapiJwt2KeyAsync=eH;ji.exports.koaJwtSecret=pH;ji.exports.passportJwtSecret=tH});var lH={};ad(lH,{handler:()=>dH});module.exports=e6(lH);var Cx=require("node:https");function sa(i,n){return function(){return i.apply(n,arguments)}}var{toString:t6}=Object.prototype,{getPrototypeOf:Pp}=Object,{iterator:me,toStringTag:td}=Symbol,le=((i)=>(n)=>{let c=t6.call(n);return i[c]||(i[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),Ti=(i)=>{return i=i.toLowerCase(),(n)=>le(n)===i},xe=(i)=>(n)=>typeof n===i,{isArray:xc}=Array,lc=xe("undefined");function pa(i){return i!==null&&!lc(i)&&i.constructor!==null&&!lc(i.constructor)&&_i(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}var od=Ti("ArrayBuffer");function o6(i){let n;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)n=ArrayBuffer.isView(i);else n=i&&i.buffer&&od(i.buffer);return n}var u6=xe("string"),_i=xe("function"),ud=xe("number"),ta=(i)=>i!==null&&typeof i==="object",r6=(i)=>i===!0||i===!1,de=(i)=>{if(le(i)!=="object")return!1;let n=Pp(i);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(td in i)&&!(me in i)},d6=(i)=>{if(!ta(i)||pa(i))return!1;try{return Object.keys(i).length===0&&Object.getPrototypeOf(i)===Object.prototype}catch(n){return!1}},m6=Ti("Date"),l6=Ti("File"),x6=(i)=>{return!!(i&&typeof i.uri<"u")},f6=(i)=>i&&typeof i.getParts<"u",v6=Ti("Blob"),h6=Ti("FileList"),b6=(i)=>ta(i)&&_i(i.pipe);function w6(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}var ed=w6(),sd=typeof ed.FormData<"u"?ed.FormData:void 0,q6=(i)=>{let n;return i&&(sd&&i instanceof sd||_i(i.append)&&((n=le(i))==="formdata"||n==="object"&&_i(i.toString)&&i.toString()==="[object FormData]"))},_6=Ti("URLSearchParams"),[W6,K6,J6,$6]=["ReadableStream","Request","Response","Headers"].map(Ti),z6=(i)=>{return i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function oa(i,n,{allOwnKeys:c=!1}={}){if(i===null||typeof i>"u")return;let a,e;if(typeof i!=="object")i=[i];if(xc(i))for(a=0,e=i.length;a<e;a++)n.call(null,i[a],a,i);else{if(pa(i))return;let s=c?Object.getOwnPropertyNames(i):Object.keys(i),p=s.length,t;for(a=0;a<p;a++)t=s[a],n.call(null,i[t],t,i)}}function rd(i,n){if(pa(i))return null;n=n.toLowerCase();let c=Object.keys(i),a=c.length,e;while(a-- >0)if(e=c[a],n===e.toLowerCase())return e;return null}var Nn=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),dd=(i)=>!lc(i)&&i!==Nn;function Yp(){let{caseless:i,skipUndefined:n}=dd(this)&&this||{},c={},a=(e,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;let p=i&&rd(c,s)||s;if(de(c[p])&&de(e))c[p]=Yp(c[p],e);else if(de(e))c[p]=Yp({},e);else if(xc(e))c[p]=e.slice();else if(!n||!lc(e))c[p]=e};for(let e=0,s=arguments.length;e<s;e++)arguments[e]&&oa(arguments[e],a);return c}var S6=(i,n,c,{allOwnKeys:a}={})=>{return oa(n,(e,s)=>{if(c&&_i(e))Object.defineProperty(i,s,{value:sa(e,c),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(i,s,{value:e,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:a}),i},y6=(i)=>{if(i.charCodeAt(0)===65279)i=i.slice(1);return i},G6=(i,n,c,a)=>{i.prototype=Object.create(n.prototype,a),Object.defineProperty(i.prototype,"constructor",{value:i,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(i,"super",{value:n.prototype}),c&&Object.assign(i.prototype,c)},Z6=(i,n,c,a)=>{let e,s,p,t={};if(n=n||{},i==null)return n;do{e=Object.getOwnPropertyNames(i),s=e.length;while(s-- >0)if(p=e[s],(!a||a(p,i,n))&&!t[p])n[p]=i[p],t[p]=!0;i=c!==!1&&Pp(i)}while(i&&(!c||c(i,n))&&i!==Object.prototype);return n},X6=(i,n,c)=>{if(i=String(i),c===void 0||c>i.length)c=i.length;c-=n.length;let a=i.indexOf(n,c);return a!==-1&&a===c},Y6=(i)=>{if(!i)return null;if(xc(i))return i;let n=i.length;if(!ud(n))return null;let c=Array(n);while(n-- >0)c[n]=i[n];return c},P6=((i)=>{return(n)=>{return i&&n instanceof i}})(typeof Uint8Array<"u"&&Pp(Uint8Array)),H6=(i,n)=>{let a=(i&&i[me]).call(i),e;while((e=a.next())&&!e.done){let s=e.value;n.call(i,s[0],s[1])}},I6=(i,n)=>{let c,a=[];while((c=i.exec(n))!==null)a.push(c);return a},A6=Ti("HTMLFormElement"),C6=(i)=>{return i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,a,e){return a.toUpperCase()+e})},pd=(({hasOwnProperty:i})=>(n,c)=>i.call(n,c))(Object.prototype),O6=Ti("RegExp"),md=(i,n)=>{let c=Object.getOwnPropertyDescriptors(i),a={};oa(c,(e,s)=>{let p;if((p=n(e,s,i))!==!1)a[s]=p||e}),Object.defineProperties(i,a)},V6=(i)=>{md(i,(n,c)=>{if(_i(i)&&["arguments","caller","callee"].indexOf(c)!==-1)return!1;let a=i[c];if(!_i(a))return;if(n.enumerable=!1,"writable"in n){n.writable=!1;return}if(!n.set)n.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")}})},M6=(i,n)=>{let c={},a=(e)=>{e.forEach((s)=>{c[s]=!0})};return xc(i)?a(i):a(String(i).split(n)),c},E6=()=>{},N6=(i,n)=>{return i!=null&&Number.isFinite(i=+i)?i:n};function R6(i){return!!(i&&_i(i.append)&&i[td]==="FormData"&&i[me])}var j6=(i)=>{let n=[,,,,,,,,,,],c=(a,e)=>{if(ta(a)){if(n.indexOf(a)>=0)return;if(pa(a))return a;if(!("toJSON"in a)){n[e]=a;let s=xc(a)?[]:{};return oa(a,(p,t)=>{let u=c(p,e+1);!lc(u)&&(s[t]=u)}),n[e]=void 0,s}}return a};return c(i,0)},D6=Ti("AsyncFunction"),T6=(i)=>i&&(ta(i)||_i(i))&&_i(i.then)&&_i(i.catch),ld=((i,n)=>{if(i)return setImmediate;return n?((c,a)=>{return Nn.addEventListener("message",({source:e,data:s})=>{if(e===Nn&&s===c)a.length&&a.shift()()},!1),(e)=>{a.push(e),Nn.postMessage(c,"*")}})(`axios@${Math.random()}`,[]):(c)=>setTimeout(c)})(typeof setImmediate==="function",_i(Nn.postMessage)),L6=typeof queueMicrotask<"u"?queueMicrotask.bind(Nn):typeof process<"u"&&process.nextTick||ld,g6=(i)=>i!=null&&_i(i[me]),x={isArray:xc,isArrayBuffer:od,isBuffer:pa,isFormData:q6,isArrayBufferView:o6,isString:u6,isNumber:ud,isBoolean:r6,isObject:ta,isPlainObject:de,isEmptyObject:d6,isReadableStream:W6,isRequest:K6,isResponse:J6,isHeaders:$6,isUndefined:lc,isDate:m6,isFile:l6,isReactNativeBlob:x6,isReactNative:f6,isBlob:v6,isRegExp:O6,isFunction:_i,isStream:b6,isURLSearchParams:_6,isTypedArray:P6,isFileList:h6,forEach:oa,merge:Yp,extend:S6,trim:z6,stripBOM:y6,inherits:G6,toFlatObject:Z6,kindOf:le,kindOfTest:Ti,endsWith:X6,toArray:Y6,forEachEntry:H6,matchAll:I6,isHTMLForm:A6,hasOwnProperty:pd,hasOwnProp:pd,reduceDescriptors:md,freezeMethods:V6,toObjectSet:M6,toCamelCase:C6,noop:E6,toFiniteNumber:N6,findKey:rd,global:Nn,isContextDefined:dd,isSpecCompliantForm:R6,toJSONObject:j6,isAsyncFn:D6,isThenable:T6,setImmediate:ld,asap:L6,isIterable:g6};class fi extends Error{static from(i,n,c,a,e,s){let p=new fi(i.message,n||i.code,c,a,e);if(p.cause=i,p.name=i.name,i.status!=null&&p.status==null)p.status=i.status;return s&&Object.assign(p,s),p}constructor(i,n,c,a,e){super(i);if(Object.defineProperty(this,"message",{value:i,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),c&&(this.config=c),a&&(this.request=a),e)this.response=e,this.status=e.status}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:x.toJSONObject(this.config),code:this.code,status:this.status}}}fi.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";fi.ERR_BAD_OPTION="ERR_BAD_OPTION";fi.ECONNABORTED="ECONNABORTED";fi.ETIMEDOUT="ETIMEDOUT";fi.ERR_NETWORK="ERR_NETWORK";fi.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";fi.ERR_DEPRECATED="ERR_DEPRECATED";fi.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";fi.ERR_BAD_REQUEST="ERR_BAD_REQUEST";fi.ERR_CANCELED="ERR_CANCELED";fi.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";fi.ERR_INVALID_URL="ERR_INVALID_URL";var w=fi;var vl=U(fl(),1),$e=vl.default;function nt(i){return x.isPlainObject(i)||x.isArray(i)}function hl(i){return x.endsWith(i,"[]")?i.slice(0,-2):i}function it(i,n,c){if(!i)return n;return i.concat(n).map(function(e,s){return e=hl(e),!c&&s?"["+e+"]":e}).join(c?".":"")}function Pq(i){return x.isArray(i)&&!i.some(nt)}var Hq=x.toFlatObject(x,{},null,function(n){return/^is[A-Z]/.test(n)});function Iq(i,n,c){if(!x.isObject(i))throw TypeError("target must be an object");n=n||new($e||FormData),c=x.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,b){return!x.isUndefined(b[h])});let a=c.metaTokens,e=c.visitor||r,s=c.dots,p=c.indexes,u=(c.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(n);if(!x.isFunction(e))throw TypeError("visitor must be a function");function o(f){if(f===null)return"";if(x.isDate(f))return f.toISOString();if(x.isBoolean(f))return f.toString();if(!u&&x.isBlob(f))throw new w("Blob is not supported. Use a Buffer instead.");if(x.isArrayBuffer(f)||x.isTypedArray(f))return u&&typeof Blob==="function"?new Blob([f]):Buffer.from(f);return f}function r(f,h,b){let J=f;if(x.isReactNative(n)&&x.isReactNativeBlob(f))return n.append(it(b,h,s),o(f)),!1;if(f&&!b&&typeof f==="object"){if(x.endsWith(h,"{}"))h=a?h:h.slice(0,-2),f=JSON.stringify(f);else if(x.isArray(f)&&Pq(f)||(x.isFileList(f)||x.endsWith(h,"[]"))&&(J=x.toArray(f)))return h=hl(h),J.forEach(function(q,Z){!(x.isUndefined(q)||q===null)&&n.append(p===!0?it([h],Z,s):p===null?h:h+"[]",o(q))}),!1}if(nt(f))return!0;return n.append(it(b,h,s),o(f)),!1}let m=[],v=Object.assign(Hq,{defaultVisitor:r,convertValue:o,isVisitable:nt});function l(f,h){if(x.isUndefined(f))return;if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));m.push(f),x.forEach(f,function(J,z){if((!(x.isUndefined(J)||J===null)&&e.call(n,J,x.isString(z)?z.trim():z,h,v))===!0)l(J,h?h.concat(z):[z])}),m.pop()}if(!x.isObject(i))throw TypeError("data must be an object");return l(i),n}var zn=Iq;function bl(i){let n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(a){return n[a]})}function wl(i,n){this._pairs=[],i&&zn(i,this,n)}var ql=wl.prototype;ql.append=function(n,c){this._pairs.push([n,c])};ql.toString=function(n){let c=n?function(a){return n.call(this,a,bl)}:bl;return this._pairs.map(function(e){return c(e[0])+"="+c(e[1])},"").join("&")};var _l=wl;function Aq(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function jn(i,n,c){if(!n)return i;let a=c&&c.encode||Aq,e=x.isFunction(c)?{serialize:c}:c,s=e&&e.serialize,p;if(s)p=s(n,e);else p=x.isURLSearchParams(n)?n.toString():new _l(n,e).toString(a);if(p){let t=i.indexOf("#");if(t!==-1)i=i.slice(0,t);i+=(i.indexOf("?")===-1?"?":"&")+p}return i}class Wl{constructor(){this.handlers=[]}use(i,n,c){return this.handlers.push({fulfilled:i,rejected:n,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(i){if(this.handlers[i])this.handlers[i]=null}clear(){if(this.handlers)this.handlers=[]}forEach(i){x.forEach(this.handlers,function(c){if(c!==null)i(c)})}}var ct=Wl;var Sn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};var zl=U(require("crypto"));var Kl=U(require("url")),Jl=Kl.default.URLSearchParams;var at="abcdefghijklmnopqrstuvwxyz",$l="0123456789",Sl={DIGIT:$l,ALPHA:at,ALPHA_DIGIT:at+at.toUpperCase()+$l},Cq=(i=16,n=Sl.ALPHA_DIGIT)=>{let c="",{length:a}=n,e=new Uint32Array(i);zl.default.randomFillSync(e);for(let s=0;s<i;s++)c+=n[e[s]%a];return c},yl={isNode:!0,classes:{URLSearchParams:Jl,FormData:$e,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Sl,generateString:Cq,protocols:["http","https","file","data"]};var pt={};ad(pt,{origin:()=>Mq,navigator:()=>et,hasStandardBrowserWebWorkerEnv:()=>Vq,hasStandardBrowserEnv:()=>Oq,hasBrowserEnv:()=>st});var st=typeof window<"u"&&typeof document<"u",et=typeof navigator==="object"&&navigator||void 0,Oq=st&&(!et||["ReactNative","NativeScript","NS"].indexOf(et.product)<0),Vq=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),Mq=st&&window.location.href||"http://localhost";var I={...pt,...yl};function tt(i,n){return zn(i,new I.classes.URLSearchParams,{visitor:function(c,a,e,s){if(I.isNode&&x.isBuffer(c))return this.append(a,c.toString("base64")),!1;return s.defaultVisitor.apply(this,arguments)},...n})}function Eq(i){return x.matchAll(/\w+|\[(\w*)]/g,i).map((n)=>{return n[0]==="[]"?"":n[1]||n[0]})}function Nq(i){let n={},c=Object.keys(i),a,e=c.length,s;for(a=0;a<e;a++)s=c[a],n[s]=i[s];return n}function Rq(i){function n(c,a,e,s){let p=c[s++];if(p==="__proto__")return!0;let t=Number.isFinite(+p),u=s>=c.length;if(p=!p&&x.isArray(e)?e.length:p,u){if(x.hasOwnProp(e,p))e[p]=[e[p],a];else e[p]=a;return!t}if(!e[p]||!x.isObject(e[p]))e[p]=[];if(n(c,a,e[p],s)&&x.isArray(e[p]))e[p]=Nq(e[p]);return!t}if(x.isFormData(i)&&x.isFunction(i.entries)){let c={};return x.forEachEntry(i,(a,e)=>{n(Eq(a),e,c,0)}),c}return null}var ze=Rq;function jq(i,n,c){if(x.isString(i))try{return(n||JSON.parse)(i),x.trim(i)}catch(a){if(a.name!=="SyntaxError")throw a}return(c||JSON.stringify)(i)}var ot={transitional:Sn,adapter:["xhr","http","fetch"],transformRequest:[function(n,c){let a=c.getContentType()||"",e=a.indexOf("application/json")>-1,s=x.isObject(n);if(s&&x.isHTMLForm(n))n=new FormData(n);if(x.isFormData(n))return e?JSON.stringify(ze(n)):n;if(x.isArrayBuffer(n)||x.isBuffer(n)||x.isStream(n)||x.isFile(n)||x.isBlob(n)||x.isReadableStream(n))return n;if(x.isArrayBufferView(n))return n.buffer;if(x.isURLSearchParams(n))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let t;if(s){if(a.indexOf("application/x-www-form-urlencoded")>-1)return tt(n,this.formSerializer).toString();if((t=x.isFileList(n))||a.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return zn(t?{"files[]":n}:n,u&&new u,this.formSerializer)}}if(s||e)return c.setContentType("application/json",!1),jq(n);return n}],transformResponse:[function(n){let c=this.transitional||ot.transitional,a=c&&c.forcedJSONParsing,e=this.responseType==="json";if(x.isResponse(n)||x.isReadableStream(n))return n;if(n&&x.isString(n)&&(a&&!this.responseType||e)){let p=!(c&&c.silentJSONParsing)&&e;try{return JSON.parse(n,this.parseReviver)}catch(t){if(p){if(t.name==="SyntaxError")throw w.from(t,w.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:I.classes.FormData,Blob:I.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],(i)=>{ot.headers[i]={}});var wc=ot;var Dq=x.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Gl=(i)=>{let n={},c,a,e;return i&&i.split(`
|
|
19
|
+
`).forEach(function(p){if(e=p.indexOf(":"),c=p.substring(0,e).trim().toLowerCase(),a=p.substring(e+1).trim(),!c||n[c]&&Dq[c])return;if(c==="set-cookie")if(n[c])n[c].push(a);else n[c]=[a];else n[c]=n[c]?n[c]+", "+a:a}),n};var Zl=Symbol("internals");function la(i){return i&&String(i).trim().toLowerCase()}function Se(i){if(i===!1||i==null)return i;return x.isArray(i)?i.map(Se):String(i)}function Tq(i){let n=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,a;while(a=c.exec(i))n[a[1]]=a[2];return n}var Lq=(i)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function ut(i,n,c,a,e){if(x.isFunction(a))return a.call(this,n,c);if(e)n=c;if(!x.isString(n))return;if(x.isString(a))return n.indexOf(a)!==-1;if(x.isRegExp(a))return a.test(n)}function gq(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,c,a)=>{return c.toUpperCase()+a})}function Bq(i,n){let c=x.toCamelCase(" "+n);["get","set","has"].forEach((a)=>{Object.defineProperty(i,a+c,{value:function(e,s,p){return this[a].call(this,n,e,s,p)},configurable:!0})})}class xa{constructor(i){i&&this.set(i)}set(i,n,c){let a=this;function e(p,t,u){let o=la(t);if(!o)throw Error("header name must be a non-empty string");let r=x.findKey(a,o);if(!r||a[r]===void 0||u===!0||u===void 0&&a[r]!==!1)a[r||t]=Se(p)}let s=(p,t)=>x.forEach(p,(u,o)=>e(u,o,t));if(x.isPlainObject(i)||i instanceof this.constructor)s(i,n);else if(x.isString(i)&&(i=i.trim())&&!Lq(i))s(Gl(i),n);else if(x.isObject(i)&&x.isIterable(i)){let p={},t,u;for(let o of i){if(!x.isArray(o))throw TypeError("Object iterator must return a key-value pair");p[u=o[0]]=(t=p[u])?x.isArray(t)?[...t,o[1]]:[t,o[1]]:o[1]}s(p,n)}else i!=null&&e(n,i,c);return this}get(i,n){if(i=la(i),i){let c=x.findKey(this,i);if(c){let a=this[c];if(!n)return a;if(n===!0)return Tq(a);if(x.isFunction(n))return n.call(this,a,c);if(x.isRegExp(n))return n.exec(a);throw TypeError("parser must be boolean|regexp|function")}}}has(i,n){if(i=la(i),i){let c=x.findKey(this,i);return!!(c&&this[c]!==void 0&&(!n||ut(this,this[c],c,n)))}return!1}delete(i,n){let c=this,a=!1;function e(s){if(s=la(s),s){let p=x.findKey(c,s);if(p&&(!n||ut(c,c[p],p,n)))delete c[p],a=!0}}if(x.isArray(i))i.forEach(e);else e(i);return a}clear(i){let n=Object.keys(this),c=n.length,a=!1;while(c--){let e=n[c];if(!i||ut(this,this[e],e,i,!0))delete this[e],a=!0}return a}normalize(i){let n=this,c={};return x.forEach(this,(a,e)=>{let s=x.findKey(c,e);if(s){n[s]=Se(a),delete n[e];return}let p=i?gq(e):String(e).trim();if(p!==e)delete n[e];n[p]=Se(a),c[p]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){let n=Object.create(null);return x.forEach(this,(c,a)=>{c!=null&&c!==!1&&(n[a]=i&&x.isArray(c)?c.join(", "):c)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,n])=>i+": "+n).join(`
|
|
20
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...n){let c=new this(i);return n.forEach((a)=>c.set(a)),c}static accessor(i){let c=(this[Zl]=this[Zl]={accessors:{}}).accessors,a=this.prototype;function e(s){let p=la(s);if(!c[p])Bq(a,s),c[p]=!0}return x.isArray(i)?i.forEach(e):e(i),this}}xa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(xa.prototype,({value:i},n)=>{let c=n[0].toUpperCase()+n.slice(1);return{get:()=>i,set(a){this[c]=a}}});x.freezeMethods(xa);var D=xa;function fa(i,n){let c=this||wc,a=n||c,e=D.from(a.headers),s=a.data;return x.forEach(i,function(t){s=t.call(c,s,e.normalize(),n?n.status:void 0)}),e.normalize(),s}function va(i){return!!(i&&i.__CANCEL__)}class Xl extends w{constructor(i,n,c){super(i==null?"canceled":i,w.ERR_CANCELED,n,c);this.name="CanceledError",this.__CANCEL__=!0}}var Gi=Xl;function an(i,n,c){let a=c.config.validateStatus;if(!c.status||!a||a(c.status))i(c);else n(new w("Request failed with status code "+c.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(c.status/100)-4],c.config,c.request,c))}function rt(i){if(typeof i!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function dt(i,n){return n?i.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):i}function Dn(i,n,c){let a=!rt(n);if(i&&(a||c==!1))return dt(i,n);return n}var fx=U(Pl(),1),vx=U(require("http")),hx=U(require("https")),Pt=U(require("http2")),Ht=U(require("util")),bx=U(kl(),1),vn=U(require("zlib"));var Bn="1.13.6";function Wa(i){let n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return n&&n[1]||""}var H_=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Gt(i,n,c){let a=c&&c.Blob||I.classes.Blob,e=Wa(i);if(n===void 0&&a)n=!0;if(e==="data"){i=e.length?i.slice(e.length+1):i;let s=H_.exec(i);if(!s)throw new w("Invalid URL",w.ERR_INVALID_URL);let p=s[1],t=s[2],u=s[3],o=Buffer.from(decodeURIComponent(u),t?"base64":"utf8");if(n){if(!a)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new a([o],{type:p})}return o}throw new w("Unsupported protocol "+e,w.ERR_NOT_SUPPORT)}var fn=U(require("stream"));var Fl=U(require("stream"));var Zt=Symbol("internals");class Ul extends Fl.default.Transform{constructor(i){i=x.toFlatObject(i,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(c,a)=>{return!x.isUndefined(a[c])});super({readableHighWaterMark:i.chunkSize});let n=this[Zt]={timeWindow:i.timeWindow,chunkSize:i.chunkSize,maxRate:i.maxRate,minChunkSize:i.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(c)=>{if(c==="progress"){if(!n.isCaptured)n.isCaptured=!0}})}_read(i){let n=this[Zt];if(n.onReadCallback)n.onReadCallback();return super._read(i)}_transform(i,n,c){let a=this[Zt],e=a.maxRate,s=this.readableHighWaterMark,p=a.timeWindow,t=1000/p,u=e/t,o=a.minChunkSize!==!1?Math.max(a.minChunkSize,u*0.01):0,r=(v,l)=>{let f=Buffer.byteLength(v);if(a.bytesSeen+=f,a.bytes+=f,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(v))process.nextTick(l);else a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(l)}},m=(v,l)=>{let f=Buffer.byteLength(v),h=null,b=s,J,z=0;if(e){let q=Date.now();if(!a.ts||(z=q-a.ts)>=p)a.ts=q,J=u-a.bytes,a.bytes=J<0?-J:0,z=0;J=u-a.bytes}if(e){if(J<=0)return setTimeout(()=>{l(null,v)},p-z);if(J<b)b=J}if(b&&f>b&&f-b>o)h=v.subarray(b),v=v.subarray(0,b);r(v,h?()=>{process.nextTick(l,null,h)}:l)};m(i,function v(l,f){if(l)return c(l);if(f)m(f,v);else c(null)})}}var Xt=Ul;var wx=require("events");var ix=U(require("util")),nx=require("stream");var{asyncIterator:Ql}=Symbol,I_=async function*(i){if(i.stream)yield*i.stream();else if(i.arrayBuffer)yield await i.arrayBuffer();else if(i[Ql])yield*i[Ql]();else yield i},Ye=I_;var A_=I.ALPHABET.ALPHA_DIGIT+"-_",Ka=typeof TextEncoder==="function"?new TextEncoder:new ix.default.TextEncoder,kn=`\r
|
|
21
|
+
`,C_=Ka.encode(kn),O_=2;class cx{constructor(i,n){let{escapeName:c}=this.constructor,a=x.isString(n),e=`Content-Disposition: form-data; name="${c(i)}"${!a&&n.name?`; filename="${c(n.name)}"`:""}${kn}`;if(a)n=Ka.encode(String(n).replace(/\r?\n|\r\n?/g,kn));else e+=`Content-Type: ${n.type||"application/octet-stream"}${kn}`;this.headers=Ka.encode(e+kn),this.contentLength=a?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+O_,this.name=i,this.value=n}async*encode(){yield this.headers;let{value:i}=this;if(x.isTypedArray(i))yield i;else yield*Ye(i);yield C_}static escapeName(i){return String(i).replace(/[\r\n"]/g,(n)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}}var V_=(i,n,c)=>{let{tag:a="form-data-boundary",size:e=25,boundary:s=a+"-"+I.generateString(e,A_)}=c||{};if(!x.isFormData(i))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let p=Ka.encode("--"+s+kn),t=Ka.encode("--"+s+"--"+kn),u=t.byteLength,o=Array.from(i.entries()).map(([m,v])=>{let l=new cx(m,v);return u+=l.size,l});u+=p.byteLength*o.length,u=x.toFiniteNumber(u);let r={"Content-Type":`multipart/form-data; boundary=${s}`};if(Number.isFinite(u))r["Content-Length"]=u;return n&&n(r),nx.Readable.from(async function*(){for(let m of o)yield p,yield*m.encode();yield t}())},ax=V_;var ex=U(require("stream"));class sx extends ex.default.Transform{__transform(i,n,c){this.push(i),c()}_transform(i,n,c){if(i.length!==0){if(this._transform=this.__transform,i[0]!==120){let a=Buffer.alloc(2);a[0]=120,a[1]=156,this.push(a,n)}}this.__transform(i,n,c)}}var px=sx;var M_=(i,n)=>{return x.isAsyncFn(i)?function(...c){let a=c.pop();i.apply(this,c).then((e)=>{try{n?a(null,...n(e)):a(null,e)}catch(s){a(s)}},a)}:i},tx=M_;function E_(i,n){i=i||10;let c=Array(i),a=Array(i),e=0,s=0,p;return n=n!==void 0?n:1000,function(u){let o=Date.now(),r=a[s];if(!p)p=o;c[e]=u,a[e]=o;let m=s,v=0;while(m!==e)v+=c[m++],m=m%i;if(e=(e+1)%i,e===s)s=(s+1)%i;if(o-p<n)return;let l=r&&o-r;return l?Math.round(v*1000/l):void 0}}var ox=E_;function N_(i,n){let c=0,a=1000/n,e,s,p=(o,r=Date.now())=>{if(c=r,e=null,s)clearTimeout(s),s=null;i(...o)};return[(...o)=>{let r=Date.now(),m=r-c;if(m>=a)p(o,r);else if(e=o,!s)s=setTimeout(()=>{s=null,p(e)},a-m)},()=>e&&p(e)]}var ux=N_;var xn=(i,n,c=3)=>{let a=0,e=ox(50,250);return ux((s)=>{let p=s.loaded,t=s.lengthComputable?s.total:void 0,u=p-a,o=e(u),r=p<=t;a=p;let m={loaded:p,total:t,progress:t?p/t:void 0,bytes:u,rate:o?o:void 0,estimated:o&&t&&r?(t-p)/o:void 0,event:s,lengthComputable:t!=null,[n?"download":"upload"]:!0};i(m)},c)},Jc=(i,n)=>{let c=i!=null;return[(a)=>n[0]({lengthComputable:c,total:i,loaded:a}),n[1]]},$c=(i)=>(...n)=>x.asap(()=>i(...n));function Yt(i){if(!i||typeof i!=="string")return 0;if(!i.startsWith("data:"))return 0;let n=i.indexOf(",");if(n<0)return 0;let c=i.slice(5,n),a=i.slice(n+1);if(/;base64/i.test(c)){let{length:s,length:p}=a;for(let v=0;v<p;v++)if(a.charCodeAt(v)===37&&v+2<p){let l=a.charCodeAt(v+1),f=a.charCodeAt(v+2);if((l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102)&&(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102))s-=2,v+=2}let t=0,u=p-1,o=(v)=>v>=2&&a.charCodeAt(v-2)===37&&a.charCodeAt(v-1)===51&&(a.charCodeAt(v)===68||a.charCodeAt(v)===100);if(u>=0){if(a.charCodeAt(u)===61)t++,u--;else if(o(u))t++,u-=3}if(t===1&&u>=0){if(a.charCodeAt(u)===61)t++;else if(o(u))t++}let m=Math.floor(s/4)*3-(t||0);return m>0?m:0}return Buffer.byteLength(a,"utf8")}var rx={flush:vn.default.constants.Z_SYNC_FLUSH,finishFlush:vn.default.constants.Z_SYNC_FLUSH},R_={flush:vn.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:vn.default.constants.BROTLI_OPERATION_FLUSH},dx=x.isFunction(vn.default.createBrotliDecompress),{http:j_,https:D_}=bx.default,T_=/https:?/,mx=I.protocols.map((i)=>{return i+":"}),lx=(i,[n,c])=>{return i.on("end",c).on("error",c),n};class qx{constructor(){this.sessions=Object.create(null)}getSession(i,n){n=Object.assign({sessionTimeout:1000},n);let c=this.sessions[i];if(c){let o=c.length;for(let r=0;r<o;r++){let[m,v]=c[r];if(!m.destroyed&&!m.closed&&Ht.default.isDeepStrictEqual(v,n))return m}}let a=Pt.default.connect(i,n),e,s=()=>{if(e)return;e=!0;let o=c,r=o.length,m=r;while(m--)if(o[m][0]===a){if(r===1)delete this.sessions[i];else o.splice(m,1);return}},p=a.request,{sessionTimeout:t}=n;if(t!=null){let o,r=0;a.request=function(){let m=p.apply(this,arguments);if(r++,o)clearTimeout(o),o=null;return m.once("close",()=>{if(!--r)o=setTimeout(()=>{o=null,s()},t)}),m}}a.once("close",s);let u=[a,n];return c?c.push(u):c=this.sessions[i]=[u],a}}var L_=new qx;function g_(i,n){if(i.beforeRedirects.proxy)i.beforeRedirects.proxy(i);if(i.beforeRedirects.config)i.beforeRedirects.config(i,n)}function _x(i,n,c){let a=n;if(!a&&a!==!1){let e=fx.default.getProxyForUrl(c);if(e)a=new URL(e)}if(a){if(a.username)a.auth=(a.username||"")+":"+(a.password||"");if(a.auth){if(Boolean(a.auth.username||a.auth.password))a.auth=(a.auth.username||"")+":"+(a.auth.password||"");else if(typeof a.auth==="object")throw new w("Invalid proxy authorization",w.ERR_BAD_OPTION,{proxy:a});let p=Buffer.from(a.auth,"utf8").toString("base64");i.headers["Proxy-Authorization"]="Basic "+p}i.headers.host=i.hostname+(i.port?":"+i.port:"");let e=a.hostname||a.host;if(i.hostname=e,i.host=e,i.port=a.port,i.path=c,a.protocol)i.protocol=a.protocol.includes(":")?a.protocol:`${a.protocol}:`}i.beforeRedirects.proxy=function(s){_x(s,n,s.href)}}var B_=typeof process<"u"&&x.kindOf(process)==="process",k_=(i)=>{return new Promise((n,c)=>{let a,e,s=(u,o)=>{if(e)return;e=!0,a&&a(u,o)},p=(u)=>{s(u),n(u)},t=(u)=>{s(u,!0),c(u)};i(p,t,(u)=>a=u).catch(t)})},F_=({address:i,family:n})=>{if(!x.isString(i))throw TypeError("address must be a string");return{address:i,family:n||(i.indexOf(".")<0?6:4)}},xx=(i,n)=>F_(x.isObject(i)?i:{address:i,family:n}),U_={request(i,n){let c=i.protocol+"//"+i.hostname+":"+(i.port||(i.protocol==="https:"?443:80)),{http2Options:a,headers:e}=i,s=L_.getSession(c,a),{HTTP2_HEADER_SCHEME:p,HTTP2_HEADER_METHOD:t,HTTP2_HEADER_PATH:u,HTTP2_HEADER_STATUS:o}=Pt.default.constants,r={[p]:i.protocol.replace(":",""),[t]:i.method,[u]:i.path};x.forEach(e,(v,l)=>{l.charAt(0)!==":"&&(r[l]=v)});let m=s.request(r);return m.once("response",(v)=>{let l=m;v=Object.assign({},v);let f=v[o];delete v[o],l.headers=v,l.statusCode=+f,n(l)}),m}},Wx=B_&&function(n){return k_(async function(a,e,s){let{data:p,lookup:t,family:u,httpVersion:o=1,http2Options:r}=n,{responseType:m,responseEncoding:v}=n,l=n.method.toUpperCase(),f,h=!1,b;if(o=+o,Number.isNaN(o))throw TypeError(`Invalid protocol version: '${n.httpVersion}' is not a number`);if(o!==1&&o!==2)throw TypeError(`Unsupported protocol version '${o}'`);let J=o===2;if(t){let y=tx(t,($)=>x.isArray($)?$:[$]);t=($,O,yi)=>{y($,O,(B,Di,Jn)=>{if(B)return yi(B);let qi=x.isArray(Di)?Di.map((re)=>xx(re)):[xx(Di,Jn)];O.all?yi(B,qi):yi(B,qi[0].address,qi[0].family)})}}let z=new wx.EventEmitter;function q(y){try{z.emit("abort",!y||y.type?new Gi(null,n,b):y)}catch($){console.warn("emit error",$)}}z.once("abort",e);let Z=()=>{if(n.cancelToken)n.cancelToken.unsubscribe(q);if(n.signal)n.signal.removeEventListener("abort",q);z.removeAllListeners()};if(n.cancelToken||n.signal){if(n.cancelToken&&n.cancelToken.subscribe(q),n.signal)n.signal.aborted?q():n.signal.addEventListener("abort",q)}s((y,$)=>{if(f=!0,$){h=!0,Z();return}let{data:O}=y;if(O instanceof fn.default.Readable||O instanceof fn.default.Duplex){let yi=fn.default.finished(O,()=>{yi(),Z()})}else Z()});let C=Dn(n.baseURL,n.url,n.allowAbsoluteUrls),Y=new URL(C,I.hasBrowserEnv?I.origin:void 0),V=Y.protocol||mx[0];if(V==="data:"){if(n.maxContentLength>-1){let $=String(n.url||C||"");if(Yt($)>n.maxContentLength)return e(new w("maxContentLength size of "+n.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,n))}let y;if(l!=="GET")return an(a,e,{status:405,statusText:"method not allowed",headers:{},config:n});try{y=Gt(n.url,m==="blob",{Blob:n.env&&n.env.Blob})}catch($){throw w.from($,w.ERR_BAD_REQUEST,n)}if(m==="text"){if(y=y.toString(v),!v||v==="utf8")y=x.stripBOM(y)}else if(m==="stream")y=fn.default.Readable.from(y);return an(a,e,{data:y,status:200,statusText:"OK",headers:new D,config:n})}if(mx.indexOf(V)===-1)return e(new w("Unsupported protocol "+V,w.ERR_BAD_REQUEST,n));let R=D.from(n.headers).normalize();R.set("User-Agent","axios/"+Bn,!1);let{onUploadProgress:Si,onDownloadProgress:Wn}=n,Xi=n.maxRate,bi=void 0,Yi=void 0;if(x.isSpecCompliantForm(p)){let y=R.getContentType(/boundary=([-_\w\d]{10,70})/i);p=ax(p,($)=>{R.set($)},{tag:`axios-${Bn}-boundary`,boundary:y&&y[1]||void 0})}else if(x.isFormData(p)&&x.isFunction(p.getHeaders)){if(R.set(p.getHeaders()),!R.hasContentLength())try{let y=await Ht.default.promisify(p.getLength).call(p);Number.isFinite(y)&&y>=0&&R.setContentLength(y)}catch(y){}}else if(x.isBlob(p)||x.isFile(p))p.size&&R.setContentType(p.type||"application/octet-stream"),R.setContentLength(p.size||0),p=fn.default.Readable.from(Ye(p));else if(p&&!x.isStream(p)){if(Buffer.isBuffer(p));else if(x.isArrayBuffer(p))p=Buffer.from(new Uint8Array(p));else if(x.isString(p))p=Buffer.from(p,"utf-8");else return e(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,n));if(R.setContentLength(p.length,!1),n.maxBodyLength>-1&&p.length>n.maxBodyLength)return e(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,n))}let ln=x.toFiniteNumber(R.getContentLength());if(x.isArray(Xi))bi=Xi[0],Yi=Xi[1];else bi=Yi=Xi;if(p&&(Si||bi)){if(!x.isStream(p))p=fn.default.Readable.from(p,{objectMode:!1});p=fn.default.pipeline([p,new Xt({maxRate:x.toFiniteNumber(bi)})],x.noop),Si&&p.on("progress",lx(p,Jc(ln,xn($c(Si),!1,3))))}let Kn=void 0;if(n.auth){let y=n.auth.username||"",$=n.auth.password||"";Kn=y+":"+$}if(!Kn&&Y.username){let{username:y,password:$}=Y;Kn=y+":"+$}Kn&&R.delete("authorization");let si;try{si=jn(Y.pathname+Y.search,n.params,n.paramsSerializer).replace(/^\?/,"")}catch(y){let $=Error(y.message);return $.config=n,$.url=n.url,$.exists=!0,e($)}R.set("Accept-Encoding","gzip, compress, deflate"+(dx?", br":""),!1);let pi={path:si,method:l,headers:R.toJSON(),agents:{http:n.httpAgent,https:n.httpsAgent},auth:Kn,protocol:V,family:u,beforeRedirect:g_,beforeRedirects:{},http2Options:r};if(!x.isUndefined(t)&&(pi.lookup=t),n.socketPath)pi.socketPath=n.socketPath;else pi.hostname=Y.hostname.startsWith("[")?Y.hostname.slice(1,-1):Y.hostname,pi.port=Y.port,_x(pi,n.proxy,V+"//"+Y.hostname+(Y.port?":"+Y.port:"")+pi.path);let wi,mc=T_.test(pi.protocol);if(pi.agent=mc?n.httpsAgent:n.httpAgent,J)wi=U_;else if(n.transport)wi=n.transport;else if(n.maxRedirects===0)wi=mc?hx.default:vx.default;else{if(n.maxRedirects)pi.maxRedirects=n.maxRedirects;if(n.beforeRedirect)pi.beforeRedirects.config=n.beforeRedirect;wi=mc?D_:j_}if(n.maxBodyLength>-1)pi.maxBodyLength=n.maxBodyLength;else pi.maxBodyLength=1/0;if(n.insecureHTTPParser)pi.insecureHTTPParser=n.insecureHTTPParser;if(b=wi.request(pi,function($){if(b.destroyed)return;let O=[$],yi=x.toFiniteNumber($.headers["content-length"]);if(Wn||Yi){let qi=new Xt({maxRate:x.toFiniteNumber(Yi)});Wn&&qi.on("progress",lx(qi,Jc(yi,xn($c(Wn),!0,3)))),O.push(qi)}let B=$,Di=$.req||b;if(n.decompress!==!1&&$.headers["content-encoding"]){if(l==="HEAD"||$.statusCode===204)delete $.headers["content-encoding"];switch(($.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":O.push(vn.default.createUnzip(rx)),delete $.headers["content-encoding"];break;case"deflate":O.push(new px),O.push(vn.default.createUnzip(rx)),delete $.headers["content-encoding"];break;case"br":if(dx)O.push(vn.default.createBrotliDecompress(R_)),delete $.headers["content-encoding"]}}B=O.length>1?fn.default.pipeline(O,x.noop):O[0];let Jn={status:$.statusCode,statusText:$.statusMessage,headers:new D($.headers),config:n,request:Di};if(m==="stream")Jn.data=B,an(a,e,Jn);else{let qi=[],re=0;B.on("data",function(xi){if(qi.push(xi),re+=xi.length,n.maxContentLength>-1&&re>n.maxContentLength)h=!0,B.destroy(),q(new w("maxContentLength size of "+n.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,n,Di))}),B.on("aborted",function(){if(h)return;let xi=new w("stream has been aborted",w.ERR_BAD_RESPONSE,n,Di);B.destroy(xi),e(xi)}),B.on("error",function(xi){if(b.destroyed)return;e(w.from(xi,null,n,Di))}),B.on("end",function(){try{let xi=qi.length===1?qi[0]:Buffer.concat(qi);if(m!=="arraybuffer"){if(xi=xi.toString(v),!v||v==="utf8")xi=x.stripBOM(xi)}Jn.data=xi}catch(xi){return e(w.from(xi,null,n,Jn.request,Jn))}an(a,e,Jn)})}z.once("abort",(qi)=>{if(!B.destroyed)B.emit("error",qi),B.destroy()})}),z.once("abort",(y)=>{if(b.close)b.close();else b.destroy(y)}),b.on("error",function($){e(w.from($,null,n,b))}),b.on("socket",function($){$.setKeepAlive(!0,60000)}),n.timeout){let y=parseInt(n.timeout,10);if(Number.isNaN(y)){q(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,n,b));return}b.setTimeout(y,function(){if(f)return;let O=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",yi=n.transitional||Sn;if(n.timeoutErrorMessage)O=n.timeoutErrorMessage;q(new w(O,yi.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,n,b))})}else b.setTimeout(0);if(x.isStream(p)){let y=!1,$=!1;p.on("end",()=>{y=!0}),p.once("error",(O)=>{$=!0,b.destroy(O)}),p.on("close",()=>{if(!y&&!$)q(new Gi("Request stream has been aborted",n,b))}),p.pipe(b)}else p&&b.write(p),b.end()})};var Kx=I.hasStandardBrowserEnv?((i,n)=>(c)=>{return c=new URL(c,I.origin),i.protocol===c.protocol&&i.host===c.host&&(n||i.port===c.port)})(new URL(I.origin),I.navigator&&/(msie|trident)/i.test(I.navigator.userAgent)):()=>!0;var Jx=I.hasStandardBrowserEnv?{write(i,n,c,a,e,s,p){if(typeof document>"u")return;let t=[`${i}=${encodeURIComponent(n)}`];if(x.isNumber(c))t.push(`expires=${new Date(c).toUTCString()}`);if(x.isString(a))t.push(`path=${a}`);if(x.isString(e))t.push(`domain=${e}`);if(s===!0)t.push("secure");if(x.isString(p))t.push(`SameSite=${p}`);document.cookie=t.join("; ")},read(i){if(typeof document>"u")return null;let n=document.cookie.match(new RegExp("(?:^|; )"+i+"=([^;]*)"));return n?decodeURIComponent(n[1]):null},remove(i){this.write(i,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var $x=(i)=>i instanceof D?{...i}:i;function gi(i,n){n=n||{};let c={};function a(o,r,m,v){if(x.isPlainObject(o)&&x.isPlainObject(r))return x.merge.call({caseless:v},o,r);else if(x.isPlainObject(r))return x.merge({},r);else if(x.isArray(r))return r.slice();return r}function e(o,r,m,v){if(!x.isUndefined(r))return a(o,r,m,v);else if(!x.isUndefined(o))return a(void 0,o,m,v)}function s(o,r){if(!x.isUndefined(r))return a(void 0,r)}function p(o,r){if(!x.isUndefined(r))return a(void 0,r);else if(!x.isUndefined(o))return a(void 0,o)}function t(o,r,m){if(m in n)return a(o,r);else if(m in i)return a(void 0,o)}let u={url:s,method:s,data:s,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,withXSRFToken:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:t,headers:(o,r,m)=>e($x(o),$x(r),m,!0)};return x.forEach(Object.keys({...i,...n}),function(r){if(r==="__proto__"||r==="constructor"||r==="prototype")return;let m=x.hasOwnProp(u,r)?u[r]:e,v=m(i[r],n[r],r);x.isUndefined(v)&&m!==t||(c[r]=v)}),c}var Pe=(i)=>{let n=gi({},i),{data:c,withXSRFToken:a,xsrfHeaderName:e,xsrfCookieName:s,headers:p,auth:t}=n;if(n.headers=p=D.from(p),n.url=jn(Dn(n.baseURL,n.url,n.allowAbsoluteUrls),i.params,i.paramsSerializer),t)p.set("Authorization","Basic "+btoa((t.username||"")+":"+(t.password?unescape(encodeURIComponent(t.password)):"")));if(x.isFormData(c)){if(I.hasStandardBrowserEnv||I.hasStandardBrowserWebWorkerEnv)p.setContentType(void 0);else if(x.isFunction(c.getHeaders)){let u=c.getHeaders(),o=["content-type","content-length"];Object.entries(u).forEach(([r,m])=>{if(o.includes(r.toLowerCase()))p.set(r,m)})}}if(I.hasStandardBrowserEnv){if(a&&x.isFunction(a)&&(a=a(n)),a||a!==!1&&Kx(n.url)){let u=e&&s&&Jx.read(s);if(u)p.set(e,u)}}return n};var Q_=typeof XMLHttpRequest<"u",zx=Q_&&function(i){return new Promise(function(c,a){let e=Pe(i),s=e.data,p=D.from(e.headers).normalize(),{responseType:t,onUploadProgress:u,onDownloadProgress:o}=e,r,m,v,l,f;function h(){l&&l(),f&&f(),e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}let b=new XMLHttpRequest;b.open(e.method.toUpperCase(),e.url,!0),b.timeout=e.timeout;function J(){if(!b)return;let q=D.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),C={data:!t||t==="text"||t==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:q,config:i,request:b};an(function(V){c(V),h()},function(V){a(V),h()},C),b=null}if("onloadend"in b)b.onloadend=J;else b.onreadystatechange=function(){if(!b||b.readyState!==4)return;if(b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0))return;setTimeout(J)};if(b.onabort=function(){if(!b)return;a(new w("Request aborted",w.ECONNABORTED,i,b)),b=null},b.onerror=function(Z){let C=Z&&Z.message?Z.message:"Network Error",Y=new w(C,w.ERR_NETWORK,i,b);Y.event=Z||null,a(Y),b=null},b.ontimeout=function(){let Z=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",C=e.transitional||Sn;if(e.timeoutErrorMessage)Z=e.timeoutErrorMessage;a(new w(Z,C.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,i,b)),b=null},s===void 0&&p.setContentType(null),"setRequestHeader"in b)x.forEach(p.toJSON(),function(Z,C){b.setRequestHeader(C,Z)});if(!x.isUndefined(e.withCredentials))b.withCredentials=!!e.withCredentials;if(t&&t!=="json")b.responseType=e.responseType;if(o)[v,f]=xn(o,!0),b.addEventListener("progress",v);if(u&&b.upload)[m,l]=xn(u),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",l);if(e.cancelToken||e.signal){if(r=(q)=>{if(!b)return;a(!q||q.type?new Gi(null,i,b):q),b.abort(),b=null},e.cancelToken&&e.cancelToken.subscribe(r),e.signal)e.signal.aborted?r():e.signal.addEventListener("abort",r)}let z=Wa(e.url);if(z&&I.protocols.indexOf(z)===-1){a(new w("Unsupported protocol "+z+":",w.ERR_BAD_REQUEST,i));return}b.send(s||null)})};var i5=(i,n)=>{let{length:c}=i=i?i.filter(Boolean):[];if(n||c){let a=new AbortController,e,s=function(o){if(!e){e=!0,t();let r=o instanceof Error?o:this.reason;a.abort(r instanceof w?r:new Gi(r instanceof Error?r.message:r))}},p=n&&setTimeout(()=>{p=null,s(new w(`timeout of ${n}ms exceeded`,w.ETIMEDOUT))},n),t=()=>{if(i)p&&clearTimeout(p),p=null,i.forEach((o)=>{o.unsubscribe?o.unsubscribe(s):o.removeEventListener("abort",s)}),i=null};i.forEach((o)=>o.addEventListener("abort",s));let{signal:u}=a;return u.unsubscribe=()=>x.asap(t),u}},Sx=i5;var n5=function*(i,n){let c=i.byteLength;if(!n||c<n){yield i;return}let a=0,e;while(a<c)e=a+n,yield i.slice(a,e),a=e},c5=async function*(i,n){for await(let c of a5(i))yield*n5(c,n)},a5=async function*(i){if(i[Symbol.asyncIterator]){yield*i;return}let n=i.getReader();try{for(;;){let{done:c,value:a}=await n.read();if(c)break;yield a}}finally{await n.cancel()}},It=(i,n,c,a)=>{let e=c5(i,n),s=0,p,t=(u)=>{if(!p)p=!0,a&&a(u)};return new ReadableStream({async pull(u){try{let{done:o,value:r}=await e.next();if(o){t(),u.close();return}let m=r.byteLength;if(c){let v=s+=m;c(v)}u.enqueue(new Uint8Array(r))}catch(o){throw t(o),o}},cancel(u){return t(u),e.return()}},{highWaterMark:2})};var yx=65536,{isFunction:He}=x,e5=(({Request:i,Response:n})=>({Request:i,Response:n}))(x.global),{ReadableStream:Gx,TextEncoder:Zx}=x.global,Xx=(i,...n)=>{try{return!!i(...n)}catch(c){return!1}},s5=(i)=>{i=x.merge.call({skipUndefined:!0},e5,i);let{fetch:n,Request:c,Response:a}=i,e=n?He(n):typeof fetch==="function",s=He(c),p=He(a);if(!e)return!1;let t=e&&He(Gx),u=e&&(typeof Zx==="function"?((f)=>(h)=>f.encode(h))(new Zx):async(f)=>new Uint8Array(await new c(f).arrayBuffer())),o=s&&t&&Xx(()=>{let f=!1,h=new c(I.origin,{body:new Gx,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!h}),r=p&&t&&Xx(()=>x.isReadableStream(new a("").body)),m={stream:r&&((f)=>f.body)};e&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((f)=>{!m[f]&&(m[f]=(h,b)=>{let J=h&&h[f];if(J)return J.call(h);throw new w(`Response type '${f}' is not supported`,w.ERR_NOT_SUPPORT,b)})})})();let v=async(f)=>{if(f==null)return 0;if(x.isBlob(f))return f.size;if(x.isSpecCompliantForm(f))return(await new c(I.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(x.isArrayBufferView(f)||x.isArrayBuffer(f))return f.byteLength;if(x.isURLSearchParams(f))f=f+"";if(x.isString(f))return(await u(f)).byteLength},l=async(f,h)=>{let b=x.toFiniteNumber(f.getContentLength());return b==null?v(h):b};return async(f)=>{let{url:h,method:b,data:J,signal:z,cancelToken:q,timeout:Z,onDownloadProgress:C,onUploadProgress:Y,responseType:V,headers:R,withCredentials:Si="same-origin",fetchOptions:Wn}=Pe(f),Xi=n||fetch;V=V?(V+"").toLowerCase():"text";let bi=Sx([z,q&&q.toAbortSignal()],Z),Yi=null,ln=bi&&bi.unsubscribe&&(()=>{bi.unsubscribe()}),Kn;try{if(Y&&o&&b!=="get"&&b!=="head"&&(Kn=await l(R,J))!==0){let $=new c(h,{method:"POST",body:J,duplex:"half"}),O;if(x.isFormData(J)&&(O=$.headers.get("content-type")))R.setContentType(O);if($.body){let[yi,B]=Jc(Kn,xn($c(Y)));J=It($.body,yx,yi,B)}}if(!x.isString(Si))Si=Si?"include":"omit";let si=s&&"credentials"in c.prototype,pi={...Wn,signal:bi,method:b.toUpperCase(),headers:R.normalize().toJSON(),body:J,duplex:"half",credentials:si?Si:void 0};Yi=s&&new c(h,pi);let wi=await(s?Xi(Yi,Wn):Xi(h,pi)),mc=r&&(V==="stream"||V==="response");if(r&&(C||mc&&ln)){let $={};["status","statusText","headers"].forEach((Di)=>{$[Di]=wi[Di]});let O=x.toFiniteNumber(wi.headers.get("content-length")),[yi,B]=C&&Jc(O,xn($c(C),!0))||[];wi=new a(It(wi.body,yx,yi,()=>{B&&B(),ln&&ln()}),$)}V=V||"text";let y=await m[x.findKey(m,V)||"text"](wi,f);return!mc&&ln&&ln(),await new Promise(($,O)=>{an($,O,{data:y,headers:D.from(wi.headers),status:wi.status,statusText:wi.statusText,config:f,request:Yi})})}catch(si){if(ln&&ln(),si&&si.name==="TypeError"&&/Load failed|fetch/i.test(si.message))throw Object.assign(new w("Network Error",w.ERR_NETWORK,f,Yi,si&&si.response),{cause:si.cause||si});throw w.from(si,si&&si.code,f,Yi,si&&si.response)}}},p5=new Map,At=(i)=>{let n=i&&i.env||{},{fetch:c,Request:a,Response:e}=n,s=[a,e,c],p=s.length,t=p,u,o,r=p5;while(t--)u=s[t],o=r.get(u),o===void 0&&r.set(u,o=t?new Map:s5(n)),r=o;return o},n2=At();var Ct={http:Wx,xhr:zx,fetch:{get:At}};x.forEach(Ct,(i,n)=>{if(i){try{Object.defineProperty(i,"name",{value:n})}catch(c){}Object.defineProperty(i,"adapterName",{value:n})}});var Yx=(i)=>`- ${i}`,o5=(i)=>x.isFunction(i)||i===null||i===!1;function u5(i,n){i=x.isArray(i)?i:[i];let{length:c}=i,a,e,s={};for(let p=0;p<c;p++){a=i[p];let t;if(e=a,!o5(a)){if(e=Ct[(t=String(a)).toLowerCase()],e===void 0)throw new w(`Unknown adapter '${t}'`)}if(e&&(x.isFunction(e)||(e=e.get(n))))break;s[t||"#"+p]=e}if(!e){let p=Object.entries(s).map(([u,o])=>`adapter ${u} `+(o===!1?"is not supported by the environment":"is not available in the build")),t=c?p.length>1?`since :
|
|
22
|
+
`+p.map(Yx).join(`
|
|
23
|
+
`):" "+Yx(p[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return e}var Ie={getAdapter:u5,adapters:Ct};function Ot(i){if(i.cancelToken)i.cancelToken.throwIfRequested();if(i.signal&&i.signal.aborted)throw new Gi(null,i)}function Ae(i){if(Ot(i),i.headers=D.from(i.headers),i.data=fa.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1)i.headers.setContentType("application/x-www-form-urlencoded",!1);return Ie.getAdapter(i.adapter||wc.adapter,i)(i).then(function(a){return Ot(i),a.data=fa.call(i,i.transformResponse,a),a.headers=D.from(a.headers),a},function(a){if(!va(a)){if(Ot(i),a&&a.response)a.response.data=fa.call(i,i.transformResponse,a.response),a.response.headers=D.from(a.response.headers)}return Promise.reject(a)})}var Ce={};["object","boolean","number","function","string","symbol"].forEach((i,n)=>{Ce[i]=function(a){return typeof a===i||"a"+(n<1?"n ":" ")+i}});var Px={};Ce.transitional=function(n,c,a){function e(s,p){return"[Axios v"+Bn+"] Transitional option '"+s+"'"+p+(a?". "+a:"")}return(s,p,t)=>{if(n===!1)throw new w(e(p," has been removed"+(c?" in "+c:"")),w.ERR_DEPRECATED);if(c&&!Px[p])Px[p]=!0,console.warn(e(p," has been deprecated since v"+c+" and will be removed in the near future"));return n?n(s,p,t):!0}};Ce.spelling=function(n){return(c,a)=>{return console.warn(`${a} is likely a misspelling of ${n}`),!0}};function r5(i,n,c){if(typeof i!=="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let a=Object.keys(i),e=a.length;while(e-- >0){let s=a[e],p=n[s];if(p){let t=i[s],u=t===void 0||p(t,s,i);if(u!==!0)throw new w("option "+s+" must be "+u,w.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new w("Unknown option "+s,w.ERR_BAD_OPTION)}}var Ja={assertOptions:r5,validators:Ce};var Hi=Ja.validators;class $a{constructor(i){this.defaults=i||{},this.interceptors={request:new ct,response:new ct}}async request(i,n){try{return await this._request(i,n)}catch(c){if(c instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=Error();let e=a.stack?a.stack.replace(/^.+\n/,""):"";try{if(!c.stack)c.stack=e;else if(e&&!String(c.stack).endsWith(e.replace(/^.+\n.+\n/,"")))c.stack+=`
|
|
24
|
+
`+e}catch(s){}}throw c}}_request(i,n){if(typeof i==="string")n=n||{},n.url=i;else n=i||{};n=gi(this.defaults,n);let{transitional:c,paramsSerializer:a,headers:e}=n;if(c!==void 0)Ja.assertOptions(c,{silentJSONParsing:Hi.transitional(Hi.boolean),forcedJSONParsing:Hi.transitional(Hi.boolean),clarifyTimeoutError:Hi.transitional(Hi.boolean),legacyInterceptorReqResOrdering:Hi.transitional(Hi.boolean)},!1);if(a!=null)if(x.isFunction(a))n.paramsSerializer={serialize:a};else Ja.assertOptions(a,{encode:Hi.function,serialize:Hi.function},!0);if(n.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else n.allowAbsoluteUrls=!0;Ja.assertOptions(n,{baseUrl:Hi.spelling("baseURL"),withXsrfToken:Hi.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=e&&x.merge(e.common,e[n.method]);e&&x.forEach(["delete","get","head","post","put","patch","common"],(l)=>{delete e[l]}),n.headers=D.concat(s,e);let p=[],t=!0;this.interceptors.request.forEach(function(f){if(typeof f.runWhen==="function"&&f.runWhen(n)===!1)return;t=t&&f.synchronous;let h=n.transitional||Sn;if(h&&h.legacyInterceptorReqResOrdering)p.unshift(f.fulfilled,f.rejected);else p.push(f.fulfilled,f.rejected)});let u=[];this.interceptors.response.forEach(function(f){u.push(f.fulfilled,f.rejected)});let o,r=0,m;if(!t){let l=[Ae.bind(this),void 0];l.unshift(...p),l.push(...u),m=l.length,o=Promise.resolve(n);while(r<m)o=o.then(l[r++],l[r++]);return o}m=p.length;let v=n;while(r<m){let l=p[r++],f=p[r++];try{v=l(v)}catch(h){f.call(this,h);break}}try{o=Ae.call(this,v)}catch(l){return Promise.reject(l)}r=0,m=u.length;while(r<m)o=o.then(u[r++],u[r++]);return o}getUri(i){i=gi(this.defaults,i);let n=Dn(i.baseURL,i.url,i.allowAbsoluteUrls);return jn(n,i.params,i.paramsSerializer)}}x.forEach(["delete","get","head","options"],function(n){$a.prototype[n]=function(c,a){return this.request(gi(a||{},{method:n,url:c,data:(a||{}).data}))}});x.forEach(["post","put","patch"],function(n){function c(a){return function(s,p,t){return this.request(gi(t||{},{method:n,headers:a?{"Content-Type":"multipart/form-data"}:{},url:s,data:p}))}}$a.prototype[n]=c(),$a.prototype[n+"Form"]=c(!0)});var za=$a;class Vt{constructor(i){if(typeof i!=="function")throw TypeError("executor must be a function.");let n;this.promise=new Promise(function(e){n=e});let c=this;this.promise.then((a)=>{if(!c._listeners)return;let e=c._listeners.length;while(e-- >0)c._listeners[e](a);c._listeners=null}),this.promise.then=(a)=>{let e,s=new Promise((p)=>{c.subscribe(p),e=p}).then(a);return s.cancel=function(){c.unsubscribe(e)},s},i(function(e,s,p){if(c.reason)return;c.reason=new Gi(e,s,p),n(c.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}if(this._listeners)this._listeners.push(i);else this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;let n=this._listeners.indexOf(i);if(n!==-1)this._listeners.splice(n,1)}toAbortSignal(){let i=new AbortController,n=(c)=>{i.abort(c)};return this.subscribe(n),i.signal.unsubscribe=()=>this.unsubscribe(n),i.signal}static source(){let i;return{token:new Vt(function(a){i=a}),cancel:i}}}var Hx=Vt;function Mt(i){return function(c){return i.apply(null,c)}}function Et(i){return x.isObject(i)&&i.isAxiosError===!0}var Nt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Nt).forEach(([i,n])=>{Nt[n]=i});var Ix=Nt;function Ax(i){let n=new za(i),c=sa(za.prototype.request,n);return x.extend(c,za.prototype,n,{allOwnKeys:!0}),x.extend(c,n,null,{allOwnKeys:!0}),c.create=function(e){return Ax(gi(i,e))},c}var k=Ax(wc);k.Axios=za;k.CanceledError=Gi;k.CancelToken=Hx;k.isCancel=va;k.VERSION=Bn;k.toFormData=zn;k.AxiosError=w;k.Cancel=k.CanceledError;k.all=function(n){return Promise.all(n)};k.spread=Mt;k.isAxiosError=Et;k.mergeConfig=gi;k.AxiosHeaders=D;k.formToJSON=(i)=>ze(x.isHTMLForm(i)?new FormData(i):i);k.getAdapter=Ie.getAdapter;k.HttpStatusCode=Ix;k.default=k;var Rt=k;var d5=Rt.create({httpsAgent:new Cx.Agent({keepAlive:!0})});async function Ox(i,n,c,a){let e=0;while(!0){++e;try{return await d5.post(i,n,c)}catch(s){if(a.debug(`HTTP POST to ${i} failed (attempt ${e}):`),a.debug(s.response?.data||s),e>=5)throw a.error(`No success after ${e} attempts, seizing further attempts`),s;if(e>=2)a.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((p)=>setTimeout(p,25*(2**e+Math.random()*e))),a.debug("Done waiting, will try HTTP POST again now")}}}var Vx=`<!DOCTYPE html>
|
|
25
|
+
<html lang="en">
|
|
26
|
+
<head>
|
|
27
|
+
<meta charset="utf-8" />
|
|
28
|
+
<meta
|
|
29
|
+
name="viewport"
|
|
30
|
+
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
|
31
|
+
/>
|
|
32
|
+
</head>
|
|
33
|
+
<body>
|
|
34
|
+
<h1>\${title}</h1>
|
|
35
|
+
<p>\${message}</p>
|
|
36
|
+
<p>
|
|
37
|
+
\${details} [log region: \${region}]
|
|
38
|
+
</p>
|
|
39
|
+
<p>
|
|
40
|
+
<a href="\${linkHref}">\${linkText}</a>
|
|
41
|
+
</p>
|
|
42
|
+
</body>
|
|
43
|
+
</html>
|
|
44
|
+
`;var jx=require("node:fs"),Ve=U(require("node:path")),Dx=require("node:url"),Tx=U(Tt(),1);var Lt;((s)=>{s[s.none=0]="none";s[s.error=10]="error";s[s.warn=20]="warn";s[s.info=30]="info";s[s.debug=40]="debug"})(Lt||={});class gt{logLevel;constructor(i){this.logLevel=i}jsonify(i){return i.map((n)=>{if(typeof n==="object")try{return JSON.stringify(n)}catch{return n}return n})}info(...i){if(this.logLevel>=30)console.log(...this.jsonify(i))}warn(...i){if(this.logLevel>=20)console.warn(...this.jsonify(i))}error(...i){if(this.logLevel>=10)console.error(...this.jsonify(i))}debug(...i){if(this.logLevel>=40)console.trace(...this.jsonify(i))}}var _5=Dx.fileURLToPath("file:///home/runner/work/cdk-cloudfront-auth/cdk-cloudfront-auth/src/handlers/util/config.ts"),W5=Ve.dirname(_5);function Bt(){let n=process.env.LAMBDA_TASK_ROOT||W5,c=Ve.join(n,"config.json");console.log("Loading config from",c);let a=JSON.parse(jx.readFileSync(c,"utf-8")),s=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(a.userPoolId)[1]}.amazonaws.com/${a.userPoolId}`,p=`${s}/.well-known/jwks.json`;return{nonceMaxAge:Number.parseInt(Tx.parse(a.cookieSettings.nonce.toLowerCase())["max-age"],10)||86400,...a,tokenIssuer:s,tokenJwksUri:p,logger:new gt(Lt[a.logLevel])}}function K5(i){return Object.entries(i).reduce((n,[c,a])=>Object.assign(n,{[c.toLowerCase()]:[{key:c,value:a}]}),{})}function kt(i,n){let c=n?.cookies?{"set-cookie":n.cookies.map((a)=>({key:"set-cookie",value:a}))}:{};return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:i}],...c}}}function Lx(i){return{body:J5(i),status:i.statusCode??"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}}function J5(i){let n={...i,region:process.env.AWS_REGION};return Vx.replace(/\${([^}]*)}/g,(c,a)=>n[a]||"")}function gx(i,n){if(!n)throw Error("Expected response value");return{...n,headers:{...n.headers??{},...K5(i.httpHeaders)}}}function Bx(i){let n;return async(c)=>{if(!n)n=Bt();n.logger.debug("Handling event:",c);let a=gx(n,await i(n,c));return n.logger.debug("Returning response:",a),a}}function oC(i){let n;return async(c)=>{if(!n)n=Bt();n.logger.debug("Handling event:",c);let a=gx(n,await i(n,c));return n.logger.debug("Returning response:",a),a}}var F4=U(Tt(),1);var kr=U($h(),1),B4=U(g4(),1),Br;function oH(i){return"rsaPublicKey"in i}async function uH(i,n){if(!Br)Br=B4.default({cache:!0,rateLimit:!0,jwksUri:i});let c=await Br.getSigningKey(n);return oH(c)?c.rsaPublicKey:c.publicKey}async function HM(i,n,c,a){let e=kr.default.decode(i,{complete:!0});if(!e||typeof e==="string")return{validationError:Error("Cannot parse JWT token")};let s=e.header.kid,p=await uH(n,s);if(p instanceof Error)return{validationError:p};let t={audience:a,issuer:c,ignoreExpiration:!1};return new Promise((u)=>kr.default.verify(i,p,t,(o)=>o?u({validationError:o}):u(void 0)))}function k4(i){let c=i.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(c,"base64").toString())}function rH(i){if(!i.cookie)return{};return i.cookie.reduce((c,a)=>({...c,...F4.parse(a.value)}),{})}function dc(i,n){if(n.toLowerCase().indexOf("domain")===-1)return`${n}; Domain=.${i}`;return n}function U4(i,n){let c=rH(i);if(!c)return{};let a=`CognitoIdentityServiceProvider.${n}`,e=c[`${a}.LastAuthUser`];return{tokenUserName:e,idToken:c[`${a}.${e??""}.idToken`],accessToken:c[`${a}.${e??""}.accessToken`],refreshToken:c[`${a}.${e??""}.refreshToken`],scopes:c[`${a}.${e??""}.tokenScopesString`],nonce:c["spa-auth-edge-nonce"],nonceHmac:c["spa-auth-edge-nonce-hmac"],pkce:c["spa-auth-edge-pkce"]}}function Ur(i){let n=k4(i.tokens.idToken),c=n["cognito:username"],a=`CognitoIdentityServiceProvider.${i.clientId}`,e=`${a}.${c}.idToken`,s=`${a}.${c}.accessToken`,p=`${a}.${c}.refreshToken`,t=`${a}.LastAuthUser`,u=`${a}.${c}.tokenScopesString`,o=i.oauthScopes.join(" "),r=`${a}.${c}.userData`,m=JSON.stringify({UserAttributes:[{Name:"sub",Value:n.sub},{Name:"email",Value:n.email}],Username:c}),v={[e]:`${i.tokens.idToken}; ${dc(i.domainName,i.cookieSettings.idToken)}`,[s]:`${i.tokens.accessToken}; ${dc(i.domainName,i.cookieSettings.accessToken)}`,[p]:`${i.tokens.refreshToken}; ${dc(i.domainName,i.cookieSettings.refreshToken)}`,[t]:`${c}; ${dc(i.domainName,i.cookieSettings.idToken)}`,[u]:`${o}; ${dc(i.domainName,i.cookieSettings.accessToken)}`,[r]:`${encodeURIComponent(m)}; ${dc(i.domainName,i.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${dc(i.domainName,i.cookieSettings.accessToken)}`};if(i.event==="signOut")Object.keys(v).forEach((l)=>v[l]=Fr(v[l]));else if(i.event==="refreshFailed")v[p]=Fr(v[p]);return["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((l)=>{v[l]=Fr(v[l])}),Object.entries(v).map(([l,f])=>`${l}=${f}`)}function Fr(i=""){let n=i.split(";").map((a)=>a.trim()).filter((a)=>!a.toLowerCase().startsWith("max-age")).filter((a)=>!a.toLowerCase().startsWith("expires")),c=`Expires=${new Date(0).toUTCString()}`;return["",...n.slice(1),c].join("; ")}var dH=Bx(async(i,n)=>{let c=n.Records[0].cf.request,a=c.headers.host[0].value,e=`https://${a}`;function s(h){return Lx({title:"Refresh issue",message:"We can't refresh your sign-in because of a technical problem.",details:h,linkHref:e,linkText:"Try again",statusCode:"400"})}let{requestedUri:p,nonce:t}=Object.fromEntries(new URLSearchParams(c.querystring).entries());e+=p??"";let{idToken:u,accessToken:o,refreshToken:r,nonce:m}=U4(c.headers,i.clientId);if(!u||!o||!r)return s("Some of idToken, accessToken and/or refreshToken was not found");try{mH(t,m,u,o,r)}catch(h){return s(`Failed to refresh tokens: ${h}`)}let v={"Content-Type":"application/x-www-form-urlencoded"};if(i.clientSecret!==""){let h=Buffer.from(`${i.clientId}:${i.clientSecret}`).toString("base64");v.Authorization=`Basic ${h}`}let l;try{l=await Ox(`https://${i.cognitoAuthDomain}/oauth2/token`,new URLSearchParams({grant_type:"refresh_token",client_id:i.clientId,refresh_token:r}).toString(),{headers:v},i.logger)}catch(h){return kt(e,{cookies:Ur({event:"refreshFailed",tokens:{idToken:u,accessToken:o,refreshToken:r},domainName:a,...i})})}let f={idToken:l.data.id_token,accessToken:l.data.access_token,refreshToken:r};return kt(e,{cookies:Ur({event:"newTokens",tokens:f,domainName:a,...i})})});function mH(i,n,c,a,e){if(!n)throw Error("Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF).");if(i!==n)throw Error("Nonce mismatch");Object.entries({idToken:c,accessToken:a,refreshToken:e}).forEach(([s,p])=>{if(!p)throw Error(`Missing ${s}`)})}
|