@liflig/cdk-cloudfront-auth 1.5.4 → 1.5.6
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/dist/parse-auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
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 r=n(405);e.exports=function(e){var t=!1;return r((function(){t=!0})),function(n,i){t?e(n,i):r((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 r=n(2313),i=n(4555);e.exports=function(e,t,n,a){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,i){return 2==e.length?e(n,r(i)):e(n,t,r(i))}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?i(n):n.results[o]=t,a(e,n.results))}))}},9500:e=>{e.exports=function(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(n,r){return t(e[n],e[r])}),r}},6276:(e,t,n)=>{var r=n(4555),i=n(2313);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,r(this),i(e)(null,this.results))}},8798:(e,t,n)=>{var r=n(8051),i=n(9500),a=n(6276);e.exports=function(e,t,n){for(var o=i(e);o.index<(o.keyedList||e).length;)r(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return a.bind(o,n)}},2081:(e,t,n)=>{var r=n(28);e.exports=function(e,t,n){return r(e,t,null,n)}},28:(e,t,n)=>{var r=n(8051),i=n(9500),a=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 r(e,t,s,(function n(i,a){i?o(i,a):(s.index++,s.index<(s.keyedList||e).length?r(e,t,s,n):o(null,s.results))})),a.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 r=n(181).Buffer,i=n(181).SlowBuffer;function a(e,t){if(!r.isBuffer(e)||!r.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=a,a.install=function(){r.prototype.equal=i.prototype.equal=function(e){return a(this,e)}};var o=r.prototype.equal,s=i.prototype.equal;a.restore=function(){r.prototype.equal=o,i.prototype.equal=s}},801:(e,t,n)=>{var r=n(9023),i=n(2203).Stream,a=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,r.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 a)){var t=a.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)}},7427:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},r=(t||{}).decode||i,a=0;a<e.length;){var s=e.indexOf("=",a);if(-1===s)break;var c=e.indexOf(";",a);if(-1===c)c=e.length;else if(c<s){a=e.lastIndexOf(";",s-1)+1;continue}var u=e.slice(a,s).trim();if(void 0===n[u]){var p=e.slice(s+1,c).trim();34===p.charCodeAt(0)&&(p=p.slice(1,-1)),n[u]=o(p,r)}a=c+1}return n},t.serialize=function(e,t,i){var o=i||{},s=o.encode||a;if("function"!=typeof s)throw new TypeError("option encode is invalid");if(!r.test(e))throw new TypeError("argument name is invalid");var c=s(t);if(c&&!r.test(c))throw new TypeError("argument val is invalid");var u=e+"="+c;if(null!=o.maxAge){var p=o.maxAge-0;if(isNaN(p)||!isFinite(p))throw new TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(p)}if(o.domain){if(!r.test(o.domain))throw new TypeError("option domain is invalid");u+="; Domain="+o.domain}if(o.path){if(!r.test(o.path))throw new TypeError("option path is invalid");u+="; Path="+o.path}if(o.expires){var l=o.expires;if(!function(e){return"[object Date]"===n.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");u+="; Expires="+l.toUTCString()}if(o.httpOnly&&(u+="; HttpOnly"),o.secure&&(u+="; Secure"),o.partitioned&&(u+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;case"none":u+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return u};var n=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function a(e){return encodeURIComponent(e)}function o(e,t){try{return t(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 r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),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")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},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:r}=e.exports;r.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,a,o=null;function s(...e){if(!s.enabled)return;const r=s,i=Number(new Date),a=i-(n||i);r.diff=a,r.prev=n,r.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 a=t.formatters[i];if("function"==typeof a){const t=e[o];n=a.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}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.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))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 r=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(i.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),a=` ${i};1m${r} [0m`;n[0]=a+n[0].split("\n").join("\n"+a),n.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+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):r.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 r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=n(736)(t);const{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},8069:(e,t,n)=>{var r=n(2203).Stream,i=n(9023);function a(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=a,i.inherits(a,r),a.create=function(e,t){var n=new this;for(var r in t=t||{})n[r]=t[r];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(a.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),a.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},a.prototype.resume=function(){this._released||this.release(),this.source.resume()},a.prototype.pause=function(){this.source.pause()},a.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},a.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);return this.resume(),e},a.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))},a.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))}}},2010:(e,t,n)=>{"use strict";var r=n(2861).Buffer,i=n(3527),a=128;function o(e){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function s(e,t,n){for(var r=0;t+r<n&&0===e[t+r];)++r;return e[t+r]>=a&&--r,r}e.exports={derToJose:function(e,t){e=o(e);var n=i(t),a=n+1,s=e.length,c=0;if(48!==e[c++])throw new Error('Could not find expected "seq"');var u=e[c++];if(129===u&&(u=e[c++]),s-c<u)throw new Error('"seq" specified length of "'+u+'", only "'+(s-c)+'" remaining');if(2!==e[c++])throw new Error('Could not find expected "int" for "r"');var p=e[c++];if(s-c-2<p)throw new Error('"r" specified length of "'+p+'", only "'+(s-c-2)+'" available');if(a<p)throw new Error('"r" specified length of "'+p+'", max of "'+a+'" is acceptable');var l=c;if(c+=p,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(a<d)throw new Error('"s" specified length of "'+d+'", max of "'+a+'" is acceptable');var f=c;if((c+=d)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-c)+'" bytes remain');var m=n-p,h=n-d,v=r.allocUnsafe(m+p+h+d);for(c=0;c<m;++c)v[c]=0;e.copy(v,c,l+Math.max(-m,0),l+p);for(var g=c=n;c<g+h;++c)v[c]=0;return e.copy(v,c,f+Math.max(-h,0),f+d),(v=v.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=o(e);var n=i(t),c=e.length;if(c!==2*n)throw new TypeError('"'+t+'" signatures must be "'+2*n+'" bytes, saw "'+c+'"');var u=s(e,0,n),p=s(e,n,e.length),l=n-u,d=n-p,f=2+l+1+1+d,m=f<a,h=r.allocUnsafe((m?2:3)+f),v=0;return h[v++]=48,m?h[v++]=f:(h[v++]=129,h[v++]=255&f),h[v++]=2,h[v++]=l,u<0?(h[v++]=0,v+=e.copy(h,v,0,n)):v+=e.copy(h,v,u,n),h[v++]=2,h[v++]=d,p<0?(h[v++]=0,e.copy(h,v,n)):e.copy(h,v,n+p),h}}},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+'"')}},7507:(e,t,n)=>{var r;e.exports=function(){if(!r){try{r=n(5753)("follow-redirects")}catch(e){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},3164:(e,t,n)=>{var r=n(7016),i=r.URL,a=n(8611),o=n(5692),s=n(2203).Writable,c=n(2613),u=n(7507),p=!1;try{c(new i)}catch(e){p="ERR_INVALID_URL"===e.code}var l=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],f=Object.create(null);d.forEach((function(e){f[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}}));var m=A("ERR_INVALID_URL","Invalid URL",TypeError),h=A("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),v=A("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h),g=A("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),y=A("ERR_STREAM_WRITE_AFTER_END","write after end"),x=s.prototype.destroy||_;function b(e,t){s.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 h?e:new h({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(r){var a=r+":",o=n[a]=e[r],s=t[r]=Object.create(o);Object.defineProperties(s,{request:{value:function(e,r,o){return i&&e instanceof i?e=k(e):T(e)?e=k(E(e)):(o=r,r=S(e),e={protocol:a}),P(r)&&(o=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=n,T(r.host)||T(r.hostname)||(r.hostname="::1"),c.equal(r.protocol,a,"protocol mismatch"),u("options",r),new b(r,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var r=s.request(e,t,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),t}function _(){}function E(e){var t;if(p)t=new i(e);else if(!T((t=S(r.parse(e))).protocol))throw new m({input:e});return t}function S(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new m({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new m({input:e.href||e});return e}function k(e,t){var n=t||{};for(var r of l)n[r]=e[r];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 j(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return null==n?void 0:String(n).trim()}function A(e,t,n){function r(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(n||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function O(e,t){for(var n of d)e.removeListener(n,f[n]);e.on("error",_),e.destroy(t)}function T(e){return"string"==typeof e||e instanceof String}function P(e){return"function"==typeof e}b.prototype=Object.create(s.prototype),b.prototype.abort=function(){O(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},b.prototype.destroy=function(e){return O(this._currentRequest,e),x.call(this,e),this},b.prototype.write=function(e,t,n){if(this._ending)throw new y;if(!(T(e)||"object"==typeof(r=e)&&"length"in r))throw new TypeError("data should be a string, Buffer or Uint8Array");var r;P(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 g),this.abort()):n&&n()},b.prototype.end=function(e,t,n){if(P(e)?(n=e,e=t=null):P(t)&&(n=t,t=null),e){var r=this,i=this._currentRequest;this.write(e,t,(function(){r._ended=!0,i.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},b.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},b.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},b.prototype.setTimeout=function(e,t){var n=this;function r(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"),a()}),e),r(t)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),n.removeListener("close",a),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",r),this.on("abort",a),this.on("error",a),this.on("response",a),this.on("close",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){b.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(b.prototype,e,{get:function(){return this._currentRequest[e]}})})),b.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))}},b.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 i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(i._redirectable=this,d))i.on(a,f[a]);if(this._currentUrl=/^\//.test(this._options.path)?r.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(o<c.length){var n=c[o++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},b.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(O(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new v;var o=this._options.beforeRedirect;o&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=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=[],j(/^content-/i,this._options.headers));var l,d,f=j(/^host$/i,this._options.headers),m=E(this._currentUrl),h=f||m.host,g=/^\w+:/.test(a)?this._currentUrl:r.format(Object.assign(m,{host:h})),y=(l=a,d=g,p?new i(l,d):E(r.resolve(d,l)));if(u("redirecting to",y.href),this._isRedirect=!0,k(y,this._options),(y.protocol!==m.protocol&&"https:"!==y.protocol||y.host!==h&&!function(e,t){c(T(e)&&T(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(y.host,h))&&j(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),P(o)){var x={headers:e.headers,statusCode:t},b={url:g,method:s,headers:n};o(this._options,x,b),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:a,https:o}),e.exports.wrap=w},737:(e,t,n)=>{var r=n(801),i=n(9023),a=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,u=n(9896),p=n(2203).Stream,l=n(6049),d=n(1873),f=n(1362);function m(e){if(!(this instanceof m))return new m(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],r.call(this),e=e||{})this[t]=e[t]}e.exports=m,i.inherits(m,r),m.LINE_BREAK="\r\n",m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var a=r.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),s=this._multiPartFooter();a(o),a(t),a(s),this._trackLength(o,t,n)}},m.prototype._trackLength=function(e,t,n){var r=0;null!=n.knownLength?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+m.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof p)&&(n.knownLength||this._valuesToMeasure.push(t))},m.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,(function(n,r){var i;n?t(n):(i=r.size-(e.start?e.start:0),t(null,i))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},m.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var r,i=this._getContentDisposition(t,n),a=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(a||[])};for(var c in"object"==typeof n.header&&f(s,n.header),s)s.hasOwnProperty(c)&&null!=(r=s[c])&&(Array.isArray(r)||(r=[r]),r.length&&(o+=c+": "+r.join("; ")+m.LINE_BREAK));return"--"+this.getBoundary()+m.LINE_BREAK+o+m.LINE_BREAK},m.prototype._getContentDisposition=function(e,t){var n,r;return"string"==typeof t.filepath?n=a.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=a.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=a.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r},m.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=l.lookup(e.name)),!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=l.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=m.DEFAULT_CONTENT_TYPE),n},m.prototype._multiPartFooter=function(){return function(e){var t=m.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},m.prototype.setBoundary=function(e){this._boundary=e},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;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(m.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},m.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},m.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},m.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},m.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?d.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,r){n?e(n):(r.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},m.prototype.submit=function(e,t){var n,r,i={method:"post"};return"string"==typeof e?(e=c(e),r=f({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=f(e,i)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),n="https:"==r.protocol?s.request(r):o.request(r),this.getLength(function(e,r){if(e&&"Unknown stream"!==e)this._error(e);else if(r&&n.setHeader("Content-Length",r),this.pipe(n),t){var i,a=function(e,r){return n.removeListener("error",a),n.removeListener("response",i),t.call(this,e,r)};i=a.bind(this,null),n.on("error",a),n.on("response",i)}}.bind(this)),n},m.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},m.prototype.toString=function(){return"[object FormData]"}},1362:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},5884:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)}},1571:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r='<!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> '},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 r=n(6923);Object.defineProperty(t,"compactDecrypt",{enumerable:!0,get:function(){return r.compactDecrypt}});var i=n(4533);Object.defineProperty(t,"flattenedDecrypt",{enumerable:!0,get:function(){return i.flattenedDecrypt}});var a=n(774);Object.defineProperty(t,"generalDecrypt",{enumerable:!0,get:function(){return a.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 u=n(9060);Object.defineProperty(t,"generalVerify",{enumerable:!0,get:function(){return u.generalVerify}});var p=n(3082);Object.defineProperty(t,"jwtVerify",{enumerable:!0,get:function(){return p.jwtVerify}});var l=n(3814);Object.defineProperty(t,"jwtDecrypt",{enumerable:!0,get:function(){return l.jwtDecrypt}});var d=n(7815);Object.defineProperty(t,"CompactEncrypt",{enumerable:!0,get:function(){return d.CompactEncrypt}});var f=n(9805);Object.defineProperty(t,"FlattenedEncrypt",{enumerable:!0,get:function(){return f.FlattenedEncrypt}});var m=n(9851);Object.defineProperty(t,"CompactSign",{enumerable:!0,get:function(){return m.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 g=n(2230);Object.defineProperty(t,"SignJWT",{enumerable:!0,get:function(){return g.SignJWT}});var y=n(6638);Object.defineProperty(t,"EncryptJWT",{enumerable:!0,get:function(){return y.EncryptJWT}});var x=n(2599);Object.defineProperty(t,"calculateJwkThumbprint",{enumerable:!0,get:function(){return x.calculateJwkThumbprint}}),Object.defineProperty(t,"calculateJwkThumbprintUri",{enumerable:!0,get:function(){return x.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 _=n(9877);Object.defineProperty(t,"createRemoteJWKSet",{enumerable:!0,get:function(){return _.createRemoteJWKSet}});var E=n(49);Object.defineProperty(t,"UnsecuredJWT",{enumerable:!0,get:function(){return E.UnsecuredJWT}});var S=n(68);Object.defineProperty(t,"exportPKCS8",{enumerable:!0,get:function(){return S.exportPKCS8}}),Object.defineProperty(t,"exportSPKI",{enumerable:!0,get:function(){return S.exportSPKI}}),Object.defineProperty(t,"exportJWK",{enumerable:!0,get:function(){return S.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 j=n(4443);Object.defineProperty(t,"decodeProtectedHeader",{enumerable:!0,get:function(){return j.decodeProtectedHeader}});var A=n(8396);Object.defineProperty(t,"decodeJwt",{enumerable:!0,get:function(){return A.decodeJwt}}),t.errors=n(6247);var O=n(409);Object.defineProperty(t,"generateKeyPair",{enumerable:!0,get:function(){return O.generateKeyPair}});var T=n(4121);Object.defineProperty(t,"generateSecret",{enumerable:!0,get:function(){return T.generateSecret}}),t.base64url=n(8462);var P=n(4166);Object.defineProperty(t,"cryptoRuntime",{enumerable:!0,get:function(){return P.default}})},6923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactDecrypt=void 0;const r=n(4533),i=n(6247),a=n(5821);t.compactDecrypt=async function(e,t,n){if(e instanceof Uint8Array&&(e=a.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:u,4:p,length:l}=e.split(".");if(5!==l)throw new i.JWEInvalid("Invalid Compact JWE");const d=await(0,r.flattenedDecrypt)({ciphertext:u,iv:c||void 0,protected:o||void 0,tag:p||void 0,encrypted_key:s||void 0},t,n),f={plaintext:d.plaintext,protectedHeader:d.protectedHeader};return"function"==typeof t?{...f,key:d.key}:f}},7815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactEncrypt=void 0;const r=n(9805);t.CompactEncrypt=class{constructor(e){this._flattened=new r.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 r=n(82),i=n(4799),a=n(7609),o=n(6247),s=n(9476),c=n(1855),u=n(4760),p=n(5821),l=n(1784),d=n(2458),f=n(8604);t.flattenedDecrypt=async function(e,t,n){var m;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,r.decode)(e.protected);h=JSON.parse(p.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:g,enc:y}=v;if("string"!=typeof g||!g)throw new o.JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof y||!y)throw new o.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");const x=n&&(0,f.default)("keyManagementAlgorithms",n.keyManagementAlgorithms),b=n&&(0,f.default)("contentEncryptionAlgorithms",n.contentEncryptionAlgorithms);if(x&&!x.has(g))throw new o.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(b&&!b.has(y))throw new o.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let w;if(void 0!==e.encrypted_key)try{w=(0,r.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{_=await(0,u.default)(g,t,w,v,n)}catch(e){if(e instanceof TypeError||e instanceof o.JWEInvalid||e instanceof o.JOSENotSupported)throw e;_=(0,l.default)(y)}try{E=(0,r.decode)(e.iv)}catch{throw new o.JWEInvalid("Failed to base64url decode the iv")}try{S=(0,r.decode)(e.tag)}catch{throw new o.JWEInvalid("Failed to base64url decode the tag")}const j=p.encoder.encode(null!==(m=e.protected)&&void 0!==m?m:"");let A,O;A=void 0!==e.aad?(0,p.concat)(j,p.encoder.encode("."),p.encoder.encode(e.aad)):j;try{O=(0,r.decode)(e.ciphertext)}catch{throw new o.JWEInvalid("Failed to base64url decode the ciphertext")}let T=await(0,i.default)(y,_,O,E,S,A);"DEF"===v.zip&&(T=await((null==n?void 0:n.inflateRaw)||a.inflate)(T));const P={plaintext:T};if(void 0!==e.protected&&(P.protectedHeader=h),void 0!==e.aad)try{P.additionalAuthenticatedData=(0,r.decode)(e.aad)}catch{throw new o.JWEInvalid("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(P.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(P.unprotectedHeader=e.header),k?{...P,key:t}:P}},9805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlattenedEncrypt=t.unprotected=void 0;const r=n(82),i=n(2027),a=n(7609),o=n(7974),s=n(508),c=n(6247),u=n(9476),p=n(5821),l=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,u.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,l.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:f,enc:m}=d;if("string"!=typeof f||!f)throw new c.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof m||!m)throw new c.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let h,v,g,y,x,b,w;if("dir"===f){if(this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if("ECDH-ES"===f&&this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement");{let r;({cek:v,encryptedKey:h,parameters:r}=await(0,s.default)(f,m,e,this._cek,this._keyManagementParameters)),r&&(n&&t.unprotected in n?this._unprotectedHeader?this._unprotectedHeader={...this._unprotectedHeader,...r}:this.setUnprotectedHeader(r):this._protectedHeader?this._protectedHeader={...this._protectedHeader,...r}:this.setProtectedHeader(r))}if(this._iv||(this._iv=(0,o.default)(m)),y=this._protectedHeader?p.encoder.encode((0,r.encode)(JSON.stringify(this._protectedHeader))):p.encoder.encode(""),this._aad?(x=(0,r.encode)(this._aad),g=(0,p.concat)(y,p.encoder.encode("."),p.encoder.encode(x))):g=y,"DEF"===d.zip){const e=await((null==n?void 0:n.deflateRaw)||a.deflate)(this._plaintext);({ciphertext:b,tag:w}=await(0,i.default)(m,e,v,this._iv,g))}else({ciphertext:b,tag:w}=await(0,i.default)(m,this._plaintext,v,this._iv,g));const _={ciphertext:(0,r.encode)(b),iv:(0,r.encode)(this._iv),tag:(0,r.encode)(w)};return h&&(_.encrypted_key=(0,r.encode)(h)),x&&(_.aad=x),this._protectedHeader&&(_.protected=p.decoder.decode(y)),this._sharedUnprotectedHeader&&(_.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(_.header=this._unprotectedHeader),_}}},774:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generalDecrypt=void 0;const r=n(4533),i=n(6247),a=n(1855);t.generalDecrypt=async function(e,t,n){if(!(0,a.default)(e))throw new i.JWEInvalid("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(a.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,r.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 r=n(9805),i=n(6247),a=n(1784),o=n(9476),s=n(508),c=n(82),u=n(2458);class p{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 p(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,p;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 r.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 l;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:r}=n;if("string"!=typeof r||!r)throw new i.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===r||"ECDH-ES"===r)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(l){if(l!==n.enc)throw new i.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else l=n.enc;if((0,u.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,a.default)(l);let f={ciphertext:"",iv:"",recipients:[],tag:""};for(let i=0;i<this._recipients.length;i++){const a=this._recipients[i],o={};f.recipients.push(o);const u={...this._protectedHeader,...this._unprotectedHeader,...a.unprotectedHeader}.alg.startsWith("PBES2")?2048+i:void 0;if(0===i){const t=await new r.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(d).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(a.unprotectedHeader).setKeyManagementParameters({p2c:u}).encrypt(a.key,{...a.options,...e,[r.unprotected]:!0});f.ciphertext=t.ciphertext,f.iv=t.iv,f.tag=t.tag,t.aad&&(f.aad=t.aad),t.protected&&(f.protected=t.protected),t.unprotected&&(f.unprotected=t.unprotected),o.encrypted_key=t.encrypted_key,t.header&&(o.header=t.header);continue}const{encryptedKey:m,parameters:h}=await(0,s.default)((null===(t=a.unprotectedHeader)||void 0===t?void 0:t.alg)||(null===(n=this._protectedHeader)||void 0===n?void 0:n.alg)||(null===(p=this._unprotectedHeader)||void 0===p?void 0:p.alg),l,a.key,d,{p2c:u});o.encrypted_key=(0,c.encode)(m),(a.unprotectedHeader||h)&&(o.header={...a.unprotectedHeader,...h})}return f}}},278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbeddedJWK=void 0;const r=n(7364),i=n(1855),a=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 a.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await(0,r.importJWK)({...n.jwk,ext:!0},n.alg,!0);if(o instanceof Uint8Array||"public"!==o.type)throw new a.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 r=n(6332),i=n(82),a=n(6247),o=n(5821),s=n(1855),c=(e,t)=>{if("string"!=typeof e||!e)throw new a.JWKInvalid(`${t} missing or invalid`)};async function u(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 a.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}const u=o.encoder.encode(JSON.stringify(n));return(0,i.encode)(await(0,r.default)(t,u))}t.calculateJwkThumbprint=u,t.calculateJwkThumbprintUri=async function(e,t){null!=t||(t="sha256");const n=await u(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 r=n(7364),i=n(6247),a=n(1855);function o(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(s)}function s(e){return(0,a.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:r}={...e,...null==t?void 0:t.header},a=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=a===e.kty;if(t&&"string"==typeof r&&(t=r===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 u(t,e,n)}catch{continue}},e}return u(this._cached,s,n)}}async function u(e,t,n){const a=e.get(t)||e.set(t,{}).get(t);if(void 0===a[n]){const e=await(0,r.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");a[n]=e}return a[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 r=n(8832),i=n(6247),a=n(6980);class o extends a.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,r.default)(this._url,this._timeoutDuration,this._options).then((e=>{if(!(0,a.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 r=n(4329);t.CompactSign=class{constructor(e){this._flattened=new r.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 r=n(6833),i=n(6247),a=n(5821);t.compactVerify=async function(e,t,n){if(e instanceof Uint8Array&&(e=a.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:u}=e.split(".");if(3!==u)throw new i.JWSInvalid("Invalid Compact JWS");const p=await(0,r.flattenedVerify)({payload:s,protected:o,signature:c},t,n),l={payload:p.payload,protectedHeader:p.protectedHeader};return"function"==typeof t?{...l,key:p.key}:l}},4329:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlattenedSign=void 0;const r=n(82),i=n(7965),a=n(9476),o=n(6247),s=n(5821),c=n(1688),u=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,a.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 p=!0;if((0,u.default)(o.JWSInvalid,new Map([["b64",!0]]),null==t?void 0:t.crit,this._protectedHeader,n).has("b64")&&(p=this._protectedHeader.b64,"boolean"!=typeof p))throw new o.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:l}=n;if("string"!=typeof l||!l)throw new o.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,c.default)(l,e,"sign");let d,f=this._payload;p&&(f=s.encoder.encode((0,r.encode)(f))),d=this._protectedHeader?s.encoder.encode((0,r.encode)(JSON.stringify(this._protectedHeader))):s.encoder.encode("");const m=(0,s.concat)(d,s.encoder.encode("."),f),h=await(0,i.default)(l,e,m),v={signature:(0,r.encode)(h),payload:""};return p&&(v.payload=s.decoder.decode(f)),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 r=n(82),i=n(3117),a=n(6247),o=n(5821),s=n(9476),c=n(1855),u=n(1688),p=n(2458),l=n(8604);t.flattenedVerify=async function(e,t,n){var d;if(!(0,c.default)(e))throw new a.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new a.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new a.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new a.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new a.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,c.default)(e.header))throw new a.JWSInvalid("JWS Unprotected Header incorrect type");let f={};if(e.protected)try{const t=(0,r.decode)(e.protected);f=JSON.parse(o.decoder.decode(t))}catch{throw new a.JWSInvalid("JWS Protected Header is invalid")}if(!(0,s.default)(f,e.header))throw new a.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const m={...f,...e.header};let h=!0;if((0,p.default)(a.JWSInvalid,new Map([["b64",!0]]),null==n?void 0:n.crit,f,m).has("b64")&&(h=f.b64,"boolean"!=typeof h))throw new a.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:v}=m;if("string"!=typeof v||!v)throw new a.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');const g=n&&(0,l.default)("algorithms",n.algorithms);if(g&&!g.has(v))throw new a.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(h){if("string"!=typeof e.payload)throw new a.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new a.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let y=!1;"function"==typeof t&&(t=await t(f,e),y=!0),(0,u.default)(v,t,"verify");const x=(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,r.decode)(e.signature)}catch{throw new a.JWSInvalid("Failed to base64url decode the signature")}if(!await(0,i.default)(v,t,b,x))throw new a.JWSSignatureVerificationFailed;if(h)try{w=(0,r.decode)(e.payload)}catch{throw new a.JWSInvalid("Failed to base64url decode the payload")}else w="string"==typeof e.payload?o.encoder.encode(e.payload):e.payload;const _={payload:w};return void 0!==e.protected&&(_.protectedHeader=f),void 0!==e.header&&(_.unprotectedHeader=e.header),y?{..._,key:t}:_}},7440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSign=void 0;const r=n(4329),i=n(6247);class a{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 a(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],a=new r.FlattenedSign(this._payload);a.setProtectedHeader(n.protectedHeader),a.setUnprotectedHeader(n.unprotectedHeader);const{payload:o,...s}=await a.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 r=n(6833),i=n(6247),a=n(1855);t.generalVerify=async function(e,t,n){if(!(0,a.default)(e))throw new i.JWSInvalid("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(a.default))throw new i.JWSInvalid("JWS Signatures missing or incorrect type");for(const i of e.signatures)try{return await(0,r.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 r=n(6923),i=n(493),a=n(6247);t.jwtDecrypt=async function(e,t,n){const o=await(0,r.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 a.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(void 0!==c.sub&&c.sub!==s.sub)throw new a.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(void 0!==c.aud&&JSON.stringify(c.aud)!==JSON.stringify(s.aud))throw new a.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch");const u={payload:s,protectedHeader:c};return"function"==typeof t?{...u,key:o.key}:u}},6638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptJWT=void 0;const r=n(7815),i=n(5821),a=n(751);class o extends a.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 r.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 r=n(936),i=n(1855),a=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,r.default)(new Date)+(0,a.default)(e)},this}setExpirationTime(e){return this._payload="number"==typeof e?{...this._payload,exp:e}:{...this._payload,exp:(0,r.default)(new Date)+(0,a.default)(e)},this}setIssuedAt(e){return this._payload=void 0===e?{...this._payload,iat:(0,r.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 r=n(9851),i=n(6247),a=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 r.CompactSign(a.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 r=n(82),i=n(5821),a=n(6247),o=n(493),s=n(751);class c extends s.ProduceJWT{encode(){return`${r.encode(JSON.stringify({alg:"none"}))}.${r.encode(JSON.stringify(this._payload))}.`}static decode(e,t){if("string"!=typeof e)throw new a.JWTInvalid("Unsecured JWT must be a string");const{0:n,1:s,2:c,length:u}=e.split(".");if(3!==u||""!==c)throw new a.JWTInvalid("Invalid Unsecured JWT");let p;try{if(p=JSON.parse(i.decoder.decode(r.decode(n))),"none"!==p.alg)throw new Error}catch{throw new a.JWTInvalid("Invalid Unsecured JWT")}return{payload:(0,o.default)(p,r.decode(s),t),header:p}}}t.UnsecuredJWT=c},3082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jwtVerify=void 0;const r=n(1427),i=n(493),a=n(6247);t.jwtVerify=async function(e,t,n){var o;const s=await(0,r.compactVerify)(e,t,n);if((null===(o=s.protectedHeader.crit)||void 0===o?void 0:o.includes("b64"))&&!1===s.protectedHeader.b64)throw new a.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 r=n(293),i=n(293),a=n(9590);t.exportSPKI=async function(e){return(0,r.toSPKI)(e)},t.exportPKCS8=async function(e){return(0,i.toPKCS8)(e)},t.exportJWK=async function(e){return(0,a.default)(e)}},409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateKeyPair=void 0;const r=n(7975);t.generateKeyPair=async function(e,t){return(0,r.generateKeyPair)(e,t)}},4121:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSecret=void 0;const r=n(7975);t.generateSecret=async function(e,t){return(0,r.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 r=n(82),i=n(293),a=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,a.default)({...e,alg:t,ext:null!==(i=e.ext)&&void 0!==i&&i}):(0,r.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,a.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 r=n(2027),i=n(4799),a=n(7974),o=n(82);t.wrap=async function(e,t,n,i){const s=e.slice(0,7);i||(i=(0,a.default)(s));const{ciphertext:c,tag:u}=await(0,r.default)(s,n,t,i,new Uint8Array(0));return{encryptedKey:c,iv:(0,o.encode)(i),tag:(0,o.encode)(u)}},t.unwrap=async function(e,t,n,r,a){const o=e.slice(0,7);return(0,i.default)(o,t,n,r,a,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 r=n(6332);t.encoder=new TextEncoder,t.decoder=new TextDecoder;const i=2**32;function a(...e){const t=e.reduce(((e,{length:t})=>e+t),0),n=new Uint8Array(t);let r=0;return e.forEach((e=>{n.set(e,r),r+=e.length})),n}function o(e,t,n){if(t<0||t>=i)throw new RangeError(`value must be >= 0 and <= ${i-1}. 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=a,t.p2s=function(e,n){return a(t.encoder.encode(e),new Uint8Array([0]),n)},t.uint64be=function(e){const t=Math.floor(e/i),n=e%i,r=new Uint8Array(8);return o(r,t,0),o(r,n,4),r},t.uint32be=s,t.lengthAndInput=function(e){return a(s(e.length),e)},t.concatKdf=async function(e,t,n){const i=Math.ceil((t>>3)/32),a=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),a.set(await(0,r.default)("sha256",i),32*t)}return a.slice(0,t>>3)}},1784:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitLength=void 0;const r=n(6247),i=n(927);function a(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 r.JOSENotSupported(`Unsupported JWE Algorithm: ${e}`)}}t.bitLength=a,t.default=e=>(0,i.default)(new Uint8Array(a(e)>>3))},1146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6247),i=n(7974);t.default=(e,t)=>{if(t.length<<3!==(0,i.bitLength)(e))throw new r.JWEInvalid("Invalid Initialization Vector length")}},1688:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=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,r.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,r.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 r=n(6247);t.default=function(e){if(!(e instanceof Uint8Array)||e.length<8)throw new r.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 r(e,t){return e.name===t}function i(e){return parseInt(e.name.slice(4),10)}function a(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(!r(e.algorithm,"HMAC"))throw n("HMAC");const a=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!r(e.algorithm,"RSASSA-PKCS1-v1_5"))throw n("RSASSA-PKCS1-v1_5");const a=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!r(e.algorithm,"RSA-PSS"))throw n("RSA-PSS");const a=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"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(!r(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")}a(e,o)},t.checkEncCryptoKey=function(e,t,...o){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!r(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(!r(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(!r(e.algorithm,"PBKDF2"))throw n("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!r(e.algorithm,"RSA-OAEP"))throw n("RSA-OAEP");const a=parseInt(t.slice(9),10)||1;if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}a(e,o)}},4760:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2395),i=n(6112),a=n(5904),o=n(3020),s=n(82),c=n(6247),u=n(1784),p=n(7364),l=n(1688),d=n(1855),f=n(7031);t.default=async function(e,t,n,m,h){switch((0,l.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)(m.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 a=await(0,p.importJWK)(m.epk,e);let o,l;if(void 0!==m.apu){if("string"!=typeof m.apu)throw new c.JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{o=(0,s.decode)(m.apu)}catch{throw new c.JWEInvalid("Failed to base64url decode the apu")}}if(void 0!==m.apv){if("string"!=typeof m.apv)throw new c.JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{l=(0,s.decode)(m.apv)}catch{throw new c.JWEInvalid("Failed to base64url decode the apv")}}const f=await i.deriveKey(a,t,"ECDH-ES"===e?m.enc:e,"ECDH-ES"===e?(0,u.bitLength)(m.enc):parseInt(e.slice(-5,-2),10),o,l);if("ECDH-ES"===e)return f;if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,r.unwrap)(e.slice(-6),f,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 m.p2c)throw new c.JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');const r=(null==h?void 0:h.maxPBES2Count)||1e4;if(m.p2c>r)throw new c.JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof m.p2s)throw new c.JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=(0,s.decode)(m.p2s)}catch{throw new c.JWEInvalid("Failed to base64url decode the p2s")}return(0,a.decrypt)(e,t,n,m.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,r.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 m.iv)throw new c.JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof m.tag)throw new c.JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');let r,i;try{r=(0,s.decode)(m.iv)}catch{throw new c.JWEInvalid("Failed to base64url decode the iv")}try{i=(0,s.decode)(m.tag)}catch{throw new c.JWEInvalid("Failed to base64url decode the tag")}return(0,f.unwrap)(e,t,n,r,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 r=n(2395),i=n(6112),a=n(5904),o=n(3020),s=n(82),c=n(1784),u=n(6247),p=n(68),l=n(1688),d=n(7031);t.default=async function(e,t,n,f,m={}){let h,v,g;switch((0,l.default)(e,n,"encrypt"),e){case"dir":g=n;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!i.ecdhAllowed(n))throw new u.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:a,apv:o}=m;let{epk:l}=m;l||(l=(await i.generateEpk(n)).privateKey);const{x:d,y,crv:x,kty:b}=await(0,p.exportJWK)(l),w=await i.deriveKey(n,l,"ECDH-ES"===e?t:e,"ECDH-ES"===e?(0,c.bitLength)(t):parseInt(e.slice(-5,-2),10),a,o);if(v={epk:{x:d,crv:x,kty:b}},"EC"===b&&(v.epk.y=y),a&&(v.apu=(0,s.encode)(a)),o&&(v.apv=(0,s.encode)(o)),"ECDH-ES"===e){g=w;break}g=f||(0,c.default)(t);const _=e.slice(-6);h=await(0,r.wrap)(_,w,g);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":g=f||(0,c.default)(t),h=await(0,o.encrypt)(e,n,g);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{g=f||(0,c.default)(t);const{p2c:r,p2s:i}=m;({encryptedKey:h,...v}=await(0,a.encrypt)(e,n,g,r,i));break}case"A128KW":case"A192KW":case"A256KW":g=f||(0,c.default)(t),h=await(0,r.wrap)(e,n,g);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{g=f||(0,c.default)(t);const{iv:r}=m;({encryptedKey:h,...v}=await(0,d.wrap)(e,n,g,r));break}default:throw new u.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:g,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,...r){return n(`Key for the ${e} algorithm must be `,t,...r)}},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 r=n(6247),i=n(927);function a(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 r.JOSENotSupported(`Unsupported JWE Algorithm: ${e}`)}}t.bitLength=a,t.default=e=>(0,i.default)(new Uint8Array(a(e)>>3))},493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6247),i=n(5821),a=n(936),o=n(9743),s=n(1855),c=e=>e.toLowerCase().replace(/^application\//,"");t.default=(e,t,n={})=>{const{typ:u}=n;if(u&&("string"!=typeof e.typ||c(e.typ)!==c(u)))throw new r.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed");let p;try{p=JSON.parse(i.decoder.decode(t))}catch{}if(!(0,s.default)(p))throw new r.JWTInvalid("JWT Claims Set must be a top-level JSON object");const{requiredClaims:l=[],issuer:d,subject:f,audience:m,maxTokenAge:h}=n;void 0!==h&&l.push("iat"),void 0!==m&&l.push("aud"),void 0!==f&&l.push("sub"),void 0!==d&&l.push("iss");for(const e of new Set(l.reverse()))if(!(e in p))throw new r.JWTClaimValidationFailed(`missing required "${e}" claim`,e,"missing");if(d&&!(Array.isArray(d)?d:[d]).includes(p.iss))throw new r.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed");if(f&&p.sub!==f)throw new r.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed");if(m&&(g="string"==typeof m?[m]:m,!("string"==typeof(v=p.aud)?g.includes(v):Array.isArray(v)&&g.some(Set.prototype.has.bind(new Set(v))))))throw new r.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed");var v,g;let y;switch(typeof n.clockTolerance){case"string":y=(0,o.default)(n.clockTolerance);break;case"number":y=n.clockTolerance;break;case"undefined":y=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:x}=n,b=(0,a.default)(x||new Date);if((void 0!==p.iat||h)&&"number"!=typeof p.iat)throw new r.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid");if(void 0!==p.nbf){if("number"!=typeof p.nbf)throw new r.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid");if(p.nbf>b+y)throw new r.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}if(void 0!==p.exp){if("number"!=typeof p.exp)throw new r.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid");if(p.exp<=b-y)throw new r.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}if(h){const e=b-p.iat;if(e-y>("number"==typeof h?h:(0,o.default)(h)))throw new r.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(e<0-y)throw new r.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return p}},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 r=parseFloat(t[1]);switch(t[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(r);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(60*r);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(3600*r);case"day":case"days":case"d":return Math.round(86400*r);case"week":case"weeks":case"w":return Math.round(604800*r);default:return Math.round(31557600*r)}}},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 r=n(6247);t.default=function(e,t,n,i,a){if(void 0!==a.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 r.JOSENotSupported(`Extension Header Parameter "${t}" is not recognized`);if(void 0===a[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 r=n(181),i=n(6982),a=n(6247),o=n(5821),s=n(8993),c=n(2484),u=n(4512),p=n(8737),l=n(3022),d=n(740);function f(e,t){if(e.symmetricKeySize<<3!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function m(e,t,n){if((0,u.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,p.default)(e,...d.types,"Uint8Array"))}t.wrap=(e,t,n)=>{const s=`aes${parseInt(e.slice(1,4),10)}-wrap`;if(!(0,l.default)(s))throw new a.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`);const c=m(t,e,"wrapKey");f(c,e);const u=(0,i.createCipheriv)(s,c,r.Buffer.alloc(8,166));return(0,o.concat)(u.update(n),u.final())},t.unwrap=(e,t,n)=>{const s=`aes${parseInt(e.slice(1,4),10)}-wrap`;if(!(0,l.default)(s))throw new a.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`);const c=m(t,e,"unwrapKey");f(c,e);const u=(0,i.createDecipheriv)(s,c,r.Buffer.alloc(8,166));return(0,o.concat)(u.update(n),u.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 r=n(6982),i=n(181),a=n(8993),o=n(4512),s=n(8737),c=n(740),u=(e,t,n)=>{let i;if((0,a.isCryptoKey)(n)){if(!n.extractable)throw new TypeError("CryptoKey is not extractable");i=r.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=>u("public","spki",e),t.toPKCS8=e=>u("private","pkcs8",e),t.fromPKCS8=e=>(0,r.createPrivateKey)({key:i.Buffer.from(e.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"}),t.fromSPKI=e=>(0,r.createPublicKey)({key:i.Buffer.from(e.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"}),t.fromX509=e=>(0,r.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 r=n(181),i=n(6247),a=r.Buffer.from([0]),o=r.Buffer.from([2]),s=r.Buffer.from([3]),c=r.Buffer.from([48]),u=r.Buffer.from([4]),p=e=>{if(e<128)return r.Buffer.from([e]);const t=r.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)},l=new Map([["P-256",r.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",r.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",r.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",r.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",r.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",r.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",r.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",r.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",r.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);t.default=class{constructor(){this.length=0,this.elements=[]}oidFor(e){const t=l.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,r.Buffer.from([1]),a),this.length+=3}one(){this.elements.push(o,r.Buffer.from([1]),r.Buffer.from([1])),this.length+=3}unsignedInteger(e){if(128&e[0]){const t=p(e.length+1);this.elements.push(o,t,a,e),this.length+=2+t.length+e.length}else{let t=0;for(;0===e[t]&&!(128&e[t+1]);)t++;const n=p(e.length-t);this.elements.push(o,p(e.length-t),e.slice(t)),this.length+=1+n.length+e.length-t}}octStr(e){const t=p(e.length);this.elements.push(u,p(e.length),e),this.length+=1+t.length+e.length}bitStr(e){const t=p(e.length+1);this.elements.push(s,p(e.length+1),a,e),this.length+=1+t.length+e.length+1}add(e){this.elements.push(e),this.length+=e.length}end(e=c){const t=p(this.length);return r.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 r=n(181),i=n(5821);let a;r.Buffer.isEncoding("base64url")?t.encode=a=e=>r.Buffer.from(e).toString("base64url"):t.encode=a=e=>r.Buffer.from(e).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),t.decodeBase64=e=>r.Buffer.from(e,"base64"),t.encodeBase64=e=>r.Buffer.from(e).toString("base64"),t.decode=e=>r.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 r=n(6982),i=n(5821);t.default=function(e,t,n,a,o,s){const c=(0,i.concat)(e,t,n,(0,i.uint64be)(e.length<<3)),u=(0,r.createHmac)(`sha${a}`,o);return u.update(c),u.digest().slice(0,s>>3)}},2319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=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 r.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 r.JWEInvalid(`Invalid Content Encryption Key length. Expected ${n} bits, got ${e} bits`)}else{if(!(0,i.default)(t)||"secret"!==t.type)throw new TypeError("Invalid Content Encryption Key type");{const e=t.symmetricKeySize<<3;if(e!==n)throw new r.JWEInvalid(`Invalid Content Encryption Key length. Expected ${n} bits, got ${e} bits`)}}}},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 r=e.readUInt8(1);if(!(128&r))return 0===t?r:n(e.subarray(2+r),t-1);const i=127&r;r=0;for(let t=0;t<i;t++)r<<=8,r|=e.readUInt8(2+t);return 0===t?r:n(e.subarray(2+r),t-1)};t.setModulusLength=(e,n)=>{t.weakMap.set(e,n)},t.default=(e,r)=>{if((e=>{var r,i;if(t.weakMap.has(e))return t.weakMap.get(e);const a=null!==(i=null===(r=e.asymmetricKeyDetails)||void 0===r?void 0:r.modulusLength)&&void 0!==i?i:((e,t)=>{const r=e.readUInt8(1);if(!(128&r))return n(e.subarray(2),t);const i=127&r;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,a),a})(e)<2048)throw new TypeError(`${r} requires key modulusLength to be 2048 bits or larger`)}},3022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982);let i;t.default=e=>(i||(i=new Set((0,r.getCiphers)())),i.has(e))},4799:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(1146),a=n(2319),o=n(5821),s=n(6247),c=n(2167),u=n(4803),p=n(8993),l=n(2484),d=n(4512),f=n(8737),m=n(3022),h=n(740);t.default=(e,t,n,v,g,y)=>{let x;if((0,p.isCryptoKey)(t))(0,l.checkEncCryptoKey)(t,e,"decrypt"),x=r.KeyObject.from(t);else{if(!(t instanceof Uint8Array||(0,d.default)(t)))throw new TypeError((0,f.default)(t,...h.types,"Uint8Array"));x=t}switch((0,a.default)(e,x),(0,i.default)(e,v),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return function(e,t,n,i,a,p){const l=parseInt(e.slice(1,4),10);(0,d.default)(t)&&(t=t.export());const f=t.subarray(l>>3),h=t.subarray(0,l>>3),v=parseInt(e.slice(-3),10),g=`aes-${l}-cbc`;if(!(0,m.default)(g))throw new s.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const y=(0,u.default)(p,i,n,v,h,l);let x,b;try{x=(0,c.default)(a,y)}catch{}if(!x)throw new s.JWEDecryptionFailed;try{const e=(0,r.createDecipheriv)(g,f,i);b=(0,o.concat)(e.update(n),e.final())}catch{}if(!b)throw new s.JWEDecryptionFailed;return b}(e,x,n,v,g,y);case"A128GCM":case"A192GCM":case"A256GCM":return function(e,t,n,i,a,o){const c=`aes-${parseInt(e.slice(1,4),10)}-gcm`;if(!(0,m.default)(c))throw new s.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);try{const e=(0,r.createDecipheriv)(c,t,i,{authTagLength:16});e.setAuthTag(a),o.byteLength&&e.setAAD(o,{plaintextLength:n.length});const s=e.update(n);return e.final(),s}catch{throw new s.JWEDecryptionFailed}}(e,x,n,v,g,y);default:throw new s.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}}},6332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982);t.default=(e,t)=>(0,r.createHash)(e).update(t).digest()},5945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=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 r.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 r=n(6982),i=n(9023),a=n(8960),o=n(5821),s=n(6247),c=n(8993),u=n(2484),p=n(4512),l=n(8737),d=n(740),f=(0,i.promisify)(r.generateKeyPair);t.deriveKey=async function(e,t,n,i,a=new Uint8Array(0),s=new Uint8Array(0)){let f,m;if((0,c.isCryptoKey)(e))(0,u.checkEncCryptoKey)(e,"ECDH"),f=r.KeyObject.from(e);else{if(!(0,p.default)(e))throw new TypeError((0,l.default)(e,...d.types));f=e}if((0,c.isCryptoKey)(t))(0,u.checkEncCryptoKey)(t,"ECDH","deriveBits"),m=r.KeyObject.from(t);else{if(!(0,p.default)(t))throw new TypeError((0,l.default)(t,...d.types));m=t}const h=(0,o.concat)((0,o.lengthAndInput)(o.encoder.encode(n)),(0,o.lengthAndInput)(a),(0,o.lengthAndInput)(s),(0,o.uint32be)(i)),v=(0,r.diffieHellman)({privateKey:m,publicKey:f});return(0,o.concatKdf)(v,i,h)},t.generateEpk=async function(e){let t;if((0,c.isCryptoKey)(e))t=r.KeyObject.from(e);else{if(!(0,p.default)(e))throw new TypeError((0,l.default)(e,...d.types));t=e}switch(t.asymmetricKeyType){case"x25519":return f("x25519");case"x448":return f("x448");case"ec":{const e=(0,a.default)(t);return f("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,a.default)(e))},2027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(1146),a=n(2319),o=n(5821),s=n(4803),c=n(8993),u=n(2484),p=n(4512),l=n(8737),d=n(6247),f=n(3022),m=n(740);t.default=(e,t,n,h,v)=>{let g;if((0,c.isCryptoKey)(n))(0,u.checkEncCryptoKey)(n,e,"encrypt"),g=r.KeyObject.from(n);else{if(!(n instanceof Uint8Array||(0,p.default)(n)))throw new TypeError((0,l.default)(n,...m.types,"Uint8Array"));g=n}switch((0,a.default)(e,g),(0,i.default)(e,h),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return function(e,t,n,i,a){const c=parseInt(e.slice(1,4),10);(0,p.default)(n)&&(n=n.export());const u=n.subarray(c>>3),l=n.subarray(0,c>>3),m=`aes-${c}-cbc`;if(!(0,f.default)(m))throw new d.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const h=(0,r.createCipheriv)(m,u,i),v=(0,o.concat)(h.update(t),h.final()),g=parseInt(e.slice(-3),10);return{ciphertext:v,tag:(0,s.default)(a,i,v,g,l,c)}}(e,t,g,h,v);case"A128GCM":case"A192GCM":case"A256GCM":return function(e,t,n,i,a){const o=`aes-${parseInt(e.slice(1,4),10)}-gcm`;if(!(0,f.default)(o))throw new d.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const s=(0,r.createCipheriv)(o,n,i,{authTagLength:16});a.byteLength&&s.setAAD(a,{plaintextLength:t.length});const c=s.update(t);return s.final(),{ciphertext:c,tag:s.getAuthTag()}}(e,t,g,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 r=n(8611),i=n(5692),a=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=r.get;break;default:throw new TypeError("Unsupported URL protocol.")}const{agent:u,headers:p}=n,l=c(e.href,{agent:u,timeout:t,headers:p}),[d]=await Promise.race([(0,a.once)(l,"response"),(0,a.once)(l,"timeout")]);if(!d)throw l.destroy(),new o.JWKSTimeout;if(200!==d.statusCode)throw new o.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response");const f=[];for await(const e of d)f.push(e);try{return JSON.parse(s.decoder.decode((0,s.concat)(...f)))}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,r]=process.versions.node.split(".").map((e=>parseInt(e,10)));t.oneShotCallback=n>=16||15===n&&r>=13,t.rsaPssParams=!("electron"in process.versions)&&(n>=17||16===n&&r>=9),t.jwkExport=n>=16||15===n&&r>=9,t.jwkImport=n>=16||15===n&&r>=12},7975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateKeyPair=t.generateSecret=void 0;const r=n(6982),i=n(9023),a=n(927),o=n(5363),s=n(6247),c=(0,i.promisify)(r.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,r.createSecretKey)((0,a.default)(new Uint8Array(n>>3)))},t.generateKeyPair=async function(e,t){var n,r;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 r=await c("rsa",{modulusLength:e,publicExponent:65537});return(0,o.setModulusLength)(r.privateKey,e),(0,o.setModulusLength)(r.publicKey,e),r}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!==(r=null==t?void 0:t.crv)&&void 0!==r?r:"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 r=n(181),i=n(6982),a=n(6247),o=n(8993),s=n(4512),c=n(8737),u=n(740),p=r.Buffer.from([42,134,72,206,61,3,1,7]),l=r.Buffer.from([43,129,4,0,34]),d=r.Buffer.from([43,129,4,0,35]),f=r.Buffer.from([43,129,4,0,10]);t.weakMap=new WeakMap;const m=(e,n)=>{var r;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,...u.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===(r=h.asymmetricKeyDetails)||void 0===r?void 0:r.namedCurve;if(e||"private"!==h.type){if(!e){const t=h.export({format:"der",type:"spki"}),n=t[1]<128?14:15,r=t[n],i=t.slice(n+1,n+1+r);if(i.equals(p))e="prime256v1";else if(i.equals(l))e="secp384r1";else if(i.equals(d))e="secp521r1";else{if(!i.equals(f))throw new a.JOSENotSupported("Unsupported key curve for this operation");e="secp256k1"}}}else e=m((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 a.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=m},5206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(8993),a=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,r.createSecretKey)(t)}if(t instanceof r.KeyObject)return t;if((0,i.isCryptoKey)(t))return(0,a.checkSigCryptoKey)(t,e,n),r.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 r=n(6247);t.default=function(e){switch(e){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new r.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 r=n(8993),i=n(4512);t.default=e=>(0,i.default)(e)||(0,r.isCryptoKey)(e);const a=["KeyObject"];t.types=a,(globalThis.CryptoKey||(null===r.default||void 0===r.default?void 0:r.default.CryptoKey))&&a.push("CryptoKey")},4512:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(9023);t.default=i.types.isKeyObject?e=>i.types.isKeyObject(e):e=>null!=e&&e instanceof r.KeyObject},4660:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(181),i=n(6982),a=n(82),o=n(6247),s=n(8960),c=n(5363),u=n(4138),p=n(1185);t.default=e=>{if(p.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,a.decode)(e.k));case"RSA":{const t=new u.default,n=void 0!==e.d,a=r.Buffer.from(e.n,"base64"),o=r.Buffer.from(e.e,"base64");n?(t.zero(),t.unsignedInteger(a),t.unsignedInteger(o),t.unsignedInteger(r.Buffer.from(e.d,"base64")),t.unsignedInteger(r.Buffer.from(e.p,"base64")),t.unsignedInteger(r.Buffer.from(e.q,"base64")),t.unsignedInteger(r.Buffer.from(e.dp,"base64")),t.unsignedInteger(r.Buffer.from(e.dq,"base64")),t.unsignedInteger(r.Buffer.from(e.qi,"base64"))):(t.unsignedInteger(a),t.unsignedInteger(o));const s={key:t.end(),format:"der",type:"pkcs1"},p=n?(0,i.createPrivateKey)(s):(0,i.createPublicKey)(s);return(0,c.setModulusLength)(p,a.length<<3),p}case"EC":{const t=new u.default,n=void 0!==e.d,a=r.Buffer.concat([r.Buffer.alloc(1,4),r.Buffer.from(e.x,"base64"),r.Buffer.from(e.y,"base64")]);if(n){t.zero();const n=new u.default;n.oidFor("ecPublicKey"),n.oidFor(e.crv),t.add(n.end());const o=new u.default;o.one(),o.octStr(r.Buffer.from(e.d,"base64"));const c=new u.default;c.bitStr(a);const p=c.end(r.Buffer.from([161]));o.add(p);const l=o.end(),d=new u.default;d.add(l);const f=d.end(r.Buffer.from([4]));t.add(f);const m=t.end(),h=(0,i.createPrivateKey)({key:m,format:"der",type:"pkcs8"});return(0,s.setCurve)(h,e.crv),h}const o=new u.default;o.oidFor("ecPublicKey"),o.oidFor(e.crv),t.add(o.end()),t.bitStr(a);const c=t.end(),p=(0,i.createPublicKey)({key:c,format:"der",type:"spki"});return(0,s.setCurve)(p,e.crv),p}case"OKP":{const t=new u.default;if(void 0!==e.d){t.zero();const n=new u.default;n.oidFor(e.crv),t.add(n.end());const a=new u.default;a.octStr(r.Buffer.from(e.d,"base64"));const o=a.end(r.Buffer.from([4]));t.add(o);const s=t.end();return(0,i.createPrivateKey)({key:s,format:"der",type:"pkcs8"})}const n=new u.default;n.oidFor(e.crv),t.add(n.end()),t.bitStr(r.Buffer.from(e.x,"base64"));const a=t.end();return(0,i.createPublicKey)({key:a,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 r=n(6982),i=n(82),a=n(1326),o=n(6247),s=n(8960),c=n(8993),u=n(4512),p=n(8737),l=n(740),d=n(1185),f=e=>{let t;if((0,c.isCryptoKey)(e)){if(!e.extractable)throw new TypeError("CryptoKey is not extractable");t=r.KeyObject.from(e)}else{if(!(0,u.default)(e)){if(e instanceof Uint8Array)return{kty:"oct",k:(0,i.encode)(e)};throw new TypeError((0,p.default)(e,...l.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 a.default(e);"private"===t.type&&n.unsignedInteger();const r=(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:r,e:o,...s}}case"ec":{const e=(0,s.default)(t);let n,a,c;switch(e){case"secp256k1":n=64,a=33,c=-1;break;case"P-256":n=64,a=36,c=-1;break;case"P-384":n=96,a=35,c=-3;break;case"P-521":n=132,a=35,c=-3;break;default:throw new o.JOSENotSupported("Unsupported curve")}if("public"===t.type){const r=t.export({type:"spki",format:"der"});return{kty:"EC",crv:e,x:(0,i.encode)(r.subarray(-n,-n/2)),y:(0,i.encode)(r.subarray(-n/2))}}const u=t.export({type:"pkcs8",format:"der"});return u.length<100&&(a+=c),{...f((0,r.createPublicKey)(t)),d:(0,i.encode)(u.subarray(a,a+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{...f((0,r.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{...f((0,r.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=f},7980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(8960),a=n(6247),o=n(5363),s=n(1185),c={padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},u=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:r,saltLength:i}=t.asymmetricKeyDetails,a=parseInt(e.slice(-3),10);if(void 0!==n&&(n!==`sha${a}`||r!==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>a>>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),r=u.get(e);if(n!==r)throw new TypeError(`Invalid key curve for the algorithm, its curve must be ${r}, got ${n}`);return{dsaEncoding:"ieee-p1363",key:t}}default:throw new a.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 r=n(9023),i=n(6982),a=n(927),o=n(5821),s=n(82),c=n(2395),u=n(8405),p=n(8993),l=n(2484),d=n(4512),f=n(8737),m=n(740),h=(0,r.promisify)(i.pbkdf2);function v(e,t){if((0,d.default)(e))return e.export();if(e instanceof Uint8Array)return e;if((0,p.isCryptoKey)(e))return(0,l.checkEncCryptoKey)(e,t,"deriveBits","deriveKey"),i.KeyObject.from(e).export();throw new TypeError((0,f.default)(e,...m.types,"Uint8Array"))}t.encrypt=async(e,t,n,r=2048,i=(0,a.default)(new Uint8Array(16)))=>{(0,u.default)(i);const p=(0,o.p2s)(e,i),l=parseInt(e.slice(13,16),10)>>3,d=v(t,e),f=await h(d,p,r,l,`sha${e.slice(8,11)}`);return{encryptedKey:await(0,c.wrap)(e.slice(-6),f,n),p2c:r,p2s:(0,s.encode)(i)}},t.decrypt=async(e,t,n,r,i)=>{(0,u.default)(i);const a=(0,o.p2s)(e,i),s=parseInt(e.slice(13,16),10)>>3,p=v(t,e),l=await h(p,a,r,s,`sha${e.slice(8,11)}`);return(0,c.unwrap)(e.slice(-6),l,n)}},927:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6982);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.randomFillSync}})},3020:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;const r=n(6982),i=n(5363),a=n(8993),o=n(2484),s=n(4512),c=n(8737),u=n(740),p=(e,t)=>{if("rsa"!==e.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");(0,i.default)(e,t)},l=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return r.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return r.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 f(e,t,...n){if((0,s.default)(e))return e;if((0,a.isCryptoKey)(e))return(0,o.checkEncCryptoKey)(e,t,...n),r.KeyObject.from(e);throw new TypeError((0,c.default)(e,...u.types))}t.encrypt=(e,t,n)=>{const i=l(e),a=d(e),o=f(t,e,"wrapKey","encrypt");return p(o,e),(0,r.publicEncrypt)({key:o,oaepHash:a,padding:i},n)},t.decrypt=(e,t,n)=>{const i=l(e),a=d(e),o=f(t,e,"unwrapKey","decrypt");return p(o,e),(0,r.privateDecrypt)({key:o,oaepHash:a,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 r=n(6982),i=n(9023),a=n(5945),o=n(3254),s=n(7980),c=n(5206);let u;u=r.sign.length>3?(0,i.promisify)(r.sign):r.sign,t.default=async(e,t,n)=>{const i=(0,c.default)(e,t,"sign");if(e.startsWith("HS")){const t=r.createHmac((0,o.default)(e),i);return t.update(n),t.digest()}return u((0,a.default)(e),n,(0,s.default)(e,i))}},2167:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982).timingSafeEqual;t.default=r},3117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(9023),a=n(5945),o=n(7980),s=n(7965),c=n(5206),u=n(1185);let p;p=r.verify.length>4&&u.oneShotCallback?(0,i.promisify)(r.verify):r.verify,t.default=async(e,t,n,i)=>{const u=(0,c.default)(e,t,"verify");if(e.startsWith("HS")){const t=await(0,s.default)(e,u,i),a=n;try{return r.timingSafeEqual(a,t)}catch{return!1}}const l=(0,a.default)(e),d=(0,o.default)(e,u);try{return await p(l,i,d,n)}catch{return!1}}},8993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCryptoKey=void 0;const r=n(6982),i=n(9023),a=r.webcrypto;t.default=a,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 r=n(9023),i=n(3106),a=n(6247),o=(0,r.promisify)(i.inflateRaw),s=(0,r.promisify)(i.deflateRaw);t.inflate=e=>o(e,{maxOutputLength:25e4}).catch((()=>{throw new a.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 r=n(82);t.encode=r.encode,t.decode=r.decode},8396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeJwt=void 0;const r=n(8462),i=n(5821),a=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,r.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,a.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 r=n(8462),i=n(5821),a=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,r.decode)(t)));if(!(0,a.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 r=n(9754);t.default=r.default},7260:(e,t,n)=>{var r=n(5747);e.exports=function(e,t){t=t||{};var n=r.decode(e,t);if(!n)return null;var i=n.payload;if("string"==typeof i)try{var a=JSON.parse(i);null!==a&&"object"==typeof a&&(i=a)}catch(e){}return!0===t.complete?{header:n.header,payload:i,signature:n.signature}:i}},4040:(e,t,n)=>{e.exports={verify:n(1691),sign:n(7651),JsonWebTokenError:n(1741),NotBeforeError:n(3726),TokenExpiredError:n(8980)},Object.defineProperty(e.exports,"decode",{enumerable:!1,value:n(7260)})},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 r=n(1741),i=function(e,t){r.call(this,e),this.name="NotBeforeError",this.date=t};(i.prototype=Object.create(r.prototype)).constructor=i,e.exports=i},8980:(e,t,n)=>{var r=n(1741),i=function(e,t){r.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};(i.prototype=Object.create(r.prototype)).constructor=i,e.exports=i},1977:(e,t,n)=>{const r=n(9589);e.exports=r.satisfies(process.version,">=15.7.0")},4977:(e,t,n)=>{var r=n(9589);e.exports=r.satisfies(process.version,"^6.12.0 || >=8.0.0")},4623:(e,t,n)=>{const r=n(9589);e.exports=r.satisfies(process.version,">=16.9.0")},855:(e,t,n)=>{var r=n(6585);e.exports=function(e,t){var n=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var i=r(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 r=n(1977),i=n(4623),a={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=a[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(r)switch(n){case"ec":const n=t.asymmetricKeyDetails.namedCurve,r=o[e];if(n!==r)throw new Error(`"alg" parameter "${e}" requires curve "${r}".`);break;case"rsa-pss":if(i){const n=parseInt(e.slice(-3),10),{hashAlgorithm:r,mgf1HashAlgorithm:i,saltLength:a}=t.asymmetricKeyDetails;if(r!==`sha${n}`||i!==r)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==a&&a>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 r=n(855),i=n(4977),a=n(7019),o=n(5747),{includes:s,isBoolean:c,isInteger:u,isNumber:p,isPlainObject:l,isString:d,once:f}=n(2543),{KeyObject:m,createSecretKey:h,createPrivateKey:v}=n(6982),g=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&g.splice(3,0,"PS256","PS384","PS512");const y={expiresIn:{isValid:function(e){return u(e)||d(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return u(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,g),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,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'}},x={iat:{isValid:p,message:'"iat" should be a number of seconds'},exp:{isValid:p,message:'"exp" should be a number of seconds'},nbf:{isValid:p,message:'"nbf" should be a number of seconds'}};function b(e,t,n,r){if(!l(n))throw new Error('Expected "'+r+'" to be a plain object.');Object.keys(n).forEach((function(i){const a=e[i];if(a){if(!a.isValid(n[i]))throw new Error(a.message)}else if(!t)throw new Error('"'+i+'" is not allowed in "'+r+'"')}))}const w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},_=["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 u(e){if(i)return i(e);throw e}if(!t&&"none"!==n.algorithm)return u(new Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof m))try{t=v(t)}catch(e){try{t=h("string"==typeof t?Buffer.from(t):t)}catch(e){return u(new Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return u(new Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return u(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 u(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return u(new Error("payload is required"));if(s){try{!function(e){b(x,!0,e,"payload")}(e)}catch(e){return u(e)}n.mutatePayload||(e=Object.assign({},e))}else{const t=_.filter((function(e){return void 0!==n[e]}));if(t.length>0)return u(new Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==n.expiresIn)return u(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==n.notBefore)return u(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(e){b(y,!1,e,"options")}(n)}catch(e){return u(e)}if(!n.allowInvalidAsymmetricKeyTypes)try{a(c.alg,t)}catch(e){return u(e)}const p=e.iat||Math.floor(Date.now()/1e3);if(n.noTimestamp?delete e.iat:s&&(e.iat=p),void 0!==n.notBefore){try{e.nbf=r(n.notBefore,p)}catch(e){return u(e)}if(void 0===e.nbf)return u(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=r(n.expiresIn,p)}catch(e){return u(e)}if(void 0===e.exp)return u(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 r=w[t];if(void 0!==n[t]){if(void 0!==e[r])return u(new Error('Bad "options.'+t+'" option. The payload already has an "'+r+'" property.'));e[r]=n[t]}}));const l=n.encoding||"utf8";if("function"!=typeof i){let r=o.sign({header:c,payload:e,secret:t,encoding:l});if(!n.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&r.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return r}i=i&&f(i),o.createSign({header:c,privateKey:t,payload:e,encoding:l}).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 r=n(1741),i=n(3726),a=n(8980),o=n(7260),s=n(855),c=n(7019),u=n(4977),p=n(5747),{KeyObject:l,createSecretKey:d,createPublicKey:f}=n(6982),m=["RS256","RS384","RS512"],h=["ES256","ES384","ES512"],v=["RS256","RS384","RS512"],g=["HS256","HS384","HS512"];u&&(m.splice(m.length,0,"PS256","PS384","PS512"),v.splice(v.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,n,u){let y;if("function"!=typeof n||u||(u=n,n={}),n||(n={}),n=Object.assign({},n),y=u||function(e,t){if(e)throw e;return t},n.clockTimestamp&&"number"!=typeof n.clockTimestamp)return y(new r("clockTimestamp must be a number"));if(void 0!==n.nonce&&("string"!=typeof n.nonce||""===n.nonce.trim()))return y(new r("nonce must be a non-empty string"));if(void 0!==n.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof n.allowInvalidAsymmetricKeyTypes)return y(new r("allowInvalidAsymmetricKeyTypes must be a boolean"));const x=n.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return y(new r("jwt must be provided"));if("string"!=typeof e)return y(new r("jwt must be a string"));const b=e.split(".");if(3!==b.length)return y(new r("jwt malformed"));let w;try{w=o(e,{complete:!0})}catch(e){return y(e)}if(!w)return y(new r("invalid token"));const _=w.header;let E;if("function"==typeof t){if(!u)return y(new r("verify must be called asynchronous if secret or public key is provided as a callback"));E=t}else E=function(e,n){return n(null,t)};return E(_,(function(t,o){if(t)return y(new r("error in secret or public key callback: "+t.message));const u=""!==b[2].trim();if(!u&&o)return y(new r("jwt signature is required"));if(u&&!o)return y(new r("secret or public key must be provided"));if(!u&&!n.algorithms)return y(new r('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=o&&!(o instanceof l))try{o=f(o)}catch(e){try{o=d("string"==typeof o?Buffer.from(o):o)}catch(e){return y(new r("secretOrPublicKey is not valid key material"))}}if(n.algorithms||("secret"===o.type?n.algorithms=g:["rsa","rsa-pss"].includes(o.asymmetricKeyType)?n.algorithms=v:"ec"===o.asymmetricKeyType?n.algorithms=h:n.algorithms=m),-1===n.algorithms.indexOf(w.header.alg))return y(new r("invalid algorithm"));if(_.alg.startsWith("HS")&&"secret"!==o.type)return y(new r(`secretOrPublicKey must be a symmetric key when using ${_.alg}`));if(/^(?:RS|PS|ES)/.test(_.alg)&&"public"!==o.type)return y(new r(`secretOrPublicKey must be an asymmetric key when using ${_.alg}`));if(!n.allowInvalidAsymmetricKeyTypes)try{c(_.alg,o)}catch(e){return y(e)}let E;try{E=p.verify(e,w.header.alg,o)}catch(e){return y(e)}if(!E)return y(new r("invalid signature"));const S=w.payload;if(void 0!==S.nbf&&!n.ignoreNotBefore){if("number"!=typeof S.nbf)return y(new r("invalid nbf value"));if(S.nbf>x+(n.clockTolerance||0))return y(new i("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!n.ignoreExpiration){if("number"!=typeof S.exp)return y(new r("invalid exp value"));if(x>=S.exp+(n.clockTolerance||0))return y(new a("jwt expired",new Date(1e3*S.exp)))}if(n.audience){const e=Array.isArray(n.audience)?n.audience:[n.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some((function(t){return e.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return y(new r("jwt audience invalid. expected: "+e.join(" or ")))}if(n.issuer&&("string"==typeof n.issuer&&S.iss!==n.issuer||Array.isArray(n.issuer)&&-1===n.issuer.indexOf(S.iss)))return y(new r("jwt issuer invalid. expected: "+n.issuer));if(n.subject&&S.sub!==n.subject)return y(new r("jwt subject invalid. expected: "+n.subject));if(n.jwtid&&S.jti!==n.jwtid)return y(new r("jwt jwtid invalid. expected: "+n.jwtid));if(n.nonce&&S.nonce!==n.nonce)return y(new r("jwt nonce invalid. expected: "+n.nonce));if(n.maxAge){if("number"!=typeof S.iat)return y(new r("iat required when maxAge is specified"));const e=s(n.maxAge,S.iat);if(void 0===e)return y(new r('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(x>=e+(n.clockTolerance||0))return y(new a("maxAge exceeded",new Date(1e3*e)))}if(!0===n.complete){const e=w.signature;return y(null,{header:_,payload:S,signature:e})}return y(null,S)}))}},8789:(e,t,n)=>{var r=n(1045),i=n(2861).Buffer,a=n(6982),o=n(2010),s=n(9023),c="secret must be a string or buffer",u="key must be a string or a buffer",p="key must be a string, a buffer or an object",l="function"==typeof a.createPublicKey;function d(e){if(!i.isBuffer(e)&&"string"!=typeof e){if(!l)throw v(u);if("object"!=typeof e)throw v(u);if("string"!=typeof e.type)throw v(u);if("string"!=typeof e.asymmetricKeyType)throw v(u);if("function"!=typeof e.export)throw v(u)}}function f(e){if(!i.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw v(p)}function m(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function h(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 v(e){var t=[].slice.call(arguments,1),n=s.format.bind(s,e).apply(null,t);return new TypeError(n)}function g(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 v(c);if("object"!=typeof e)throw v(c);if("secret"!==e.type)throw v(c);if("function"!=typeof e.export)throw v(c)}}(n),t=g(t);var r=a.createHmac("sha"+e,n);return m((r.update(t),r.digest("base64")))}}function x(e){return function(t,n,a){var o=y(e)(t,a);return r(i.from(n),i.from(o))}}function b(e){return function(t,n){f(n),t=g(t);var r=a.createSign("RSA-SHA"+e);return m((r.update(t),r.sign(n,"base64")))}}function w(e){return function(t,n,r){d(r),t=g(t),n=h(n);var i=a.createVerify("RSA-SHA"+e);return i.update(t),i.verify(r,n,"base64")}}function _(e){return function(t,n){f(n),t=g(t);var r=a.createSign("RSA-SHA"+e);return m((r.update(t),r.sign({key:n,padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function E(e){return function(t,n,r){d(r),t=g(t),n=h(n);var i=a.createVerify("RSA-SHA"+e);return i.update(t),i.verify({key:r,padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function S(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,r,i){return r=o.joseToDer(r,"ES"+e).toString("base64"),t(n,r,i)}}function j(){return function(){return""}}function A(){return function(e,t){return""===t}}l&&(u+=" or a KeyObject",c+="or a KeyObject"),e.exports=function(e){var t={hs:y,rs:b,ps:_,es:S,none:j},n={hs:x,rs:w,ps:E,es:k,none:A},r=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!r)throw v('"%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=(r[1]||r[3]).toLowerCase(),a=r[2];return{sign:t[i](a),verify:n[i](a)}}},3110:(e,t,n)=>{const r=n(5753)("jwks"),{retrieveSigningKeys:i}=n(4263),{request:a,cacheSigningKey:o,rateLimitSigningKey:s,getKeysInterceptor:c,callbackSupport:u}=n(3171),p=n(1161),l=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=u(this,e)}async getKeys(){r(`Fetching keys from '${this.options.jwksUri}'`);try{const e=await a({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return r("Keys:",e.keys),e.keys}catch(e){const{errorMsg:t}=e;throw r("Failure:",t||e),t?new p(t):e}}async getSigningKeys(){const e=await this.getKeys();if(!e||!e.length)throw new p("The JWKS endpoint did not contain any keys");const t=await i(e);if(!t.length)throw new p("The JWKS endpoint did not contain any signing keys");return r("Signing Keys:",t),t}async getSigningKey(e){r(`Fetching signing key for '${e}'`);const t=await this.getSigningKeys(),n=null!=e;if(!n&&t.length>1)throw r("No KID specified and JWKS endpoint returned more than 1 key"),new l("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 r(`Unable to find a signing key that matches '${e}'`),new l(`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:r}=n(3110),i=n(3780),{hapiJwt2Key:a,hapiJwt2KeyAsync:o}=n(4698),{expressJwtSecret:s}=n(5064),{koaJwtSecret:c}=n(7897),{passportJwtSecret:u}=n(4388);e.exports=e=>new r(e),e.exports.JwksClient=r,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=a,e.exports.hapiJwt2KeyAsync=o,e.exports.koaJwtSecret=c,e.exports.passportJwtSecret=u},3552:e=>{e.exports=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES256K","ES384","ES512","EdDSA"]},5064:(e,t,n)=>{const{ArgumentError:r}=n(3780),{JwksClient:i}=n(3110),a=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 r("An options object must be provided when initializing expressJwtSecret");const t=new i(e),n=e.handleSigningKeyError||o,s=async(e,r)=>{if(!r)return;const i=r.header;if(i&&a.includes(i.alg))try{const e=await t.getSigningKey(i.kid);return e.publicKey||e.rsaPublicKey}catch(e){return new Promise(((t,r)=>{n(e,(e=>{if(!e)return t();r(e)}))}))}};return function(e,t,n,r){if(4!==arguments.length)return s(0,arguments[1]);s(0,{header:t}).then((e=>{setImmediate(r,null,e)})).catch((e=>{setImmediate(r,e)}))}}},4698:(e,t,n)=>{const{ArgumentError:r}=n(3780),{JwksClient:i}=n(3110),a=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,r)=>{n(e,((e,n)=>{!n||e?r(e):t({key:n})}))}))}},e.exports.hapiJwt2Key=function(e){if(null==e)throw new r("An options object must be provided when initializing hapiJwt2Key");const t=new i(e),n=e.handleSigningKeyError||o;return function(e,r){return e&&e.header?a.includes(e.header.alg)?void t.getSigningKey(e.header.kid).then((e=>r(null,e.publicKey||e.rsaPublicKey,e))).catch((e=>n(e,(e=>r(e,null,null))))):r(new Error("Unsupported algorithm "+e.header.alg+" supplied."),null,null):r(new Error("Cannot find a signing certificate if there is no header"),null,null)}}},7897:(e,t,n)=>{const{ArgumentError:r}=n(3780),{JwksClient:i}=n(3110),a=n(3552);e.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new r("No JWKS provided. Please provide a jwksUri");const t=new i(e);return function({alg:n,kid:r}={}){return new Promise(((i,o)=>{if(!a.includes(n))return o(new Error("Missing / invalid token algorithm"));t.getSigningKey(r).then((e=>{i(e.publicKey||e.rsaPublicKey)})).catch((t=>e.handleSigningKeyError?e.handleSigningKeyError(t).then(o):o(t)))}))}}},4388:(e,t,n)=>{const r=n(257),{ArgumentError:i}=n(3780),{JwksClient:a}=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 a(e),n=e.handleSigningKeyError||s;return function(e,i,a){let s;try{s={payload:r.decodeJwt(i),header:r.decodeProtectedHeader(i)}}catch(e){s=null}if(!s||!o.includes(s.header.alg))return a(null,null);t.getSigningKey(s.header.kid).then((e=>{a(null,e.publicKey||e.rsaPublicKey)})).catch((e=>{n(e,(e=>a(e,null)))}))}}},4263:(e,t,n)=>{const r=n(257),i=n(1161);function a(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 r.importJWK(n,a(n));if("public"!==e.type)continue;let i;switch(e[Symbol.toStringTag]){case"CryptoKey":{const t=await r.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 r=n(5753)("jwks"),i=n(8639),{promisify:a,callbackify:o}=n(9023);e.exports.A=function(e,{cacheMaxEntries:t=5,cacheMaxAge:n=6e5}){return r(`Configured caching of signing keys. Max: ${t} / Age: ${n}`),a(i({hash:e=>e,load:o(e.getSigningKey.bind(e)),maxAge:n,max:t}))}},6545:(e,t,n)=>{const{callbackify:r}=n(9023);e.exports.A=e=>{const t=e.getSigningKey.bind(e);return(e,n)=>n?r(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 r=n(4263).retrieveSigningKeys;e.exports.A=function(e,{getKeysInterceptor:t}){const n=e.getSigningKey.bind(e);return async e=>{const i=await t();let a;if(i&&i.length&&(a=await r(i)),a&&a.length){const t=a.find((t=>!e||t.kid===e));if(t)return t}return n(e)}}},8730:(e,t,n)=>{const r=n(5753)("jwks"),{RateLimiter:i}=n(9439),a=n(9950);e.exports.A=function(e,{jwksRequestsPerMinute:t=10}){const n=e.getSigningKey.bind(e),o=new i(t,"minute",!0);return r(`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),r("Requests to the JWKS endpoint available for the next minute:",s),s<0)r("Too many requests to the JWKS endpoint"),i(new a("Too many requests to the JWKS endpoint"));else try{const r=await n(e);t(r)}catch(e){i(e)}}))}))}},3858:(e,t,n)=>{const r=n(8611),i=n(5692),a=n(7016);e.exports.A=e=>e.fetcher?e.fetcher(e.uri):new Promise(((t,n)=>{const{hostname:o,path:s,port:c,protocol:u}=a.parse(e.uri),p={hostname:o,path:s,port:c,method:"GET",...e.headers&&{headers:{...e.headers}},...e.timeout&&{timeout:e.timeout},...e.agent&&{agent:e.agent}},l=("https:"===u?i:r).request(p,(e=>{let r="";e.setEncoding("utf8"),e.on("data",(e=>{r+=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(r&&JSON.parse(r))}catch(e){n(e)}}))}));l.on("timeout",(()=>l.destroy())).on("error",(e=>n(e))).end()}))},5747:(e,t,n)=>{var r=n(3387),i=n(7599);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=r.sign,t.verify=i.verify,t.decode=i.decode,t.isValid=i.isValid,t.createSign=function(e){return new r(e)},t.createVerify=function(e){return new i(e)}},8948:(e,t,n)=>{var r=n(2861).Buffer,i=n(2203);function a(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=r.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=r.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(a,i),a.prototype.write=function(e){this.buffer=r.concat([this.buffer,r.from(e)]),this.emit("data",e)},a.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=a},3387:(e,t,n)=>{var r=n(2861).Buffer,i=n(8948),a=n(8789),o=n(2203),s=n(2851),c=n(9023);function u(e,t){return r.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(e){var t=e.header,n=e.payload,r=e.secret||e.privateKey,i=e.encoding,o=a(t.alg),p=function(e,t,n){n=n||"utf8";var r=u(s(e),"binary"),i=u(s(t),n);return c.format("%s.%s",r,i)}(t,n,i),l=o.sign(p,r);return c.format("%s.%s",p,l)}function l(e){var t=e.secret||e.privateKey||e.key,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(l,o),l.prototype.sign=function(){try{var e=p({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")}},l.sign=p,e.exports=l},2851:(e,t,n)=>{var r=n(181).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||r.isBuffer(e)?e.toString():JSON.stringify(e)}},7599:(e,t,n)=>{var r=n(2861).Buffer,i=n(8948),a=n(8789),o=n(2203),s=n(2851),c=n(9023),u=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function p(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}}(r.from(t,"base64").toString("binary"))}function l(e){return e.split(".")[2]}function d(e){return u.test(e)&&!!p(e)}function f(e,t,n){if(!t){var r=new Error("Missing algorithm parameter for jws.verify");throw r.code="MISSING_ALGORITHM",r}var i=l(e=s(e)),o=function(e){return e.split(".",2).join(".")}(e);return a(t).verify(o,i,n)}function m(e,t){if(t=t||{},!d(e=s(e)))return null;var n=p(e);if(!n)return null;var i=function(e,t){t=t||"utf8";var n=e.split(".")[1];return r.from(n,"base64").toString(t)}(e);return("JWT"===n.typ||t.json)&&(i=JSON.parse(i,t.encoding)),{header:n,payload:i,signature:l(e)}}function h(e){var t=(e=e||{}).secret||e.publicKey||e.key,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=f(this.signature.buffer,this.algorithm,this.key.buffer),t=m(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=m,h.isValid=d,h.verify=f,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 r=n(5472),i=n(3085),a=function(e,t,n){this.tokenBucket=new r(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=i(),this.tokensThisInterval=0,this.fireImmediately=n};a.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,r=i();if((r<this.curIntervalStart||r-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=r,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(t.bind(null,null,-1));else{var a=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-r);setTimeout((function(){n.tokenBucket.removeTokens(e,o)}),a)}return!1}return this.tokenBucket.removeTokens(e,o);function o(r,i){if(r)return t(r,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=a},5472:e=>{var t=function(e,t,n,r){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=r,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?r():this.parentBucket?this.parentBucket.removeTokens(e,(function(i,a){return i?t(i,null):e>n.content?r():(n.content-=e,void t(null,Math.min(a,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 r(){var r=Math.ceil((e-n.content)*(n.interval/n.tokensPerInterval));return setTimeout((function(){n.removeTokens(e,t)}),r),!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 r="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",o="[object Boolean]",s="[object Date]",c="[object Function]",u="[object GeneratorFunction]",p="[object Map]",l="[object Number]",d="[object Object]",f="[object Promise]",m="[object RegExp]",h="[object Set]",v="[object String]",g="[object Symbol]",y="[object WeakMap]",x="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",_="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",k="[object Int32Array]",j="[object Uint8Array]",A="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]",P=/\w*$/,R=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,C={};C[a]=C["[object Array]"]=C[x]=C[b]=C[o]=C[s]=C[w]=C[_]=C[E]=C[S]=C[k]=C[p]=C[l]=C[d]=C[m]=C[h]=C[v]=C[g]=C[j]=C[A]=C[O]=C[T]=!0,C["[object Error]"]=C[c]=C[y]=!1;var L="object"==typeof global&&global&&global.Object===Object&&global,J="object"==typeof self&&self&&self.Object===Object&&self,N=L||J||Function("return this")(),K=t&&!t.nodeType&&t,W=K&&e&&!e.nodeType&&e,$=W&&W.exports===K;function M(e,t){return e.set(t[0],t[1]),e}function H(e,t){return e.add(t),e}function U(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)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 B(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function F(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=N["__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.*?")+"$"),re=$?N.Buffer:void 0,ie=N.Symbol,ae=N.Uint8Array,oe=F(Object.getPrototypeOf,Object),se=Object.create,ce=X.propertyIsEnumerable,ue=G.splice,pe=Object.getOwnPropertySymbols,le=re?re.isBuffer:void 0,de=F(Object.keys,Object),fe=Ne(N,"DataView"),me=Ne(N,"Map"),he=Ne(N,"Promise"),ve=Ne(N,"Set"),ge=Ne(N,"WeakMap"),ye=Ne(Object,"create"),xe=He(fe),be=He(me),we=He(he),_e=He(ve),Ee=He(ge),Se=ie?ie.prototype:void 0,ke=Se?Se.valueOf:void 0;function je(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){this.__data__=new Ae(e)}function Pe(e,t,n){var r=e[t];ee.call(e,t)&&Ue(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Re(e,t){for(var n=e.length;n--;)if(Ue(e[n][0],t))return n;return-1}function Ie(e,t,n,r,i,f,y){var R;if(r&&(R=f?r(e,i,f,y):r(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,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e,R)}else{var L=We(e),J=L==c||L==u;if(Fe(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(L==d||L==a||J&&!f){if(D(e))return f?e:{};if(R=function(e){return"function"!=typeof e.constructor||Me(e)?{}:qe(t=oe(e))?se(t):{};var t}(J?{}:e),!t)return function(e,t){return Le(e,Ke(e),t)}(e,function(e,t){return e&&Le(t,Ge(t),e)}(R,e))}else{if(!C[L])return f?e:{};R=function(e,t,n,r){var i,a=e.constructor;switch(t){case x:return Ce(e);case o:case s:return new a(+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,r);case w:case _:case E:case S:case k:case j:case A:case O:case T:return function(e,t){var n=t?Ce(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case p:return function(e,t,n){return U(t?n(B(e),!0):B(e),M,new e.constructor)}(e,r,n);case l:case v:return new a(e);case m:return function(e){var t=new e.constructor(e.source,P.exec(e));return t.lastIndex=e.lastIndex,t}(e);case h:return function(e,t,n){return U(t?n(z(e),!0):z(e),H,new e.constructor)}(e,r,n);case g:return i=e,ke?Object(ke.call(i)):{}}}(e,L,Ie,t)}}y||(y=new Te);var N=y.get(e);if(N)return N;if(y.set(e,R),!I)var K=n?function(e){return function(e,t,n){var r=t(e);return De(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ge,Ke)}(e):Ge(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n););}(K||e,(function(i,a){K&&(i=e[a=i]),Pe(R,a,Ie(i,t,n,r,a,e,y))})),R}function Ce(e){var t=new e.constructor(e.byteLength);return new ae(t).set(new ae(e)),t}function Le(e,t,n,r){n||(n={});for(var i=-1,a=t.length;++i<a;){var o=t[i],s=r?r(n[o],e[o],o,n,e):void 0;Pe(n,o,void 0===s?e[o]:s)}return n}function Je(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ne(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(He(e));var t}(n)?n:void 0}je.prototype.clear=function(){this.__data__=ye?ye(null):{}},je.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},je.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},je.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:ee.call(t,e)},je.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},Ae.prototype.clear=function(){this.__data__=[]},Ae.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0||(n==t.length-1?t.pop():ue.call(t,n,1),0))},Ae.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},Ae.prototype.has=function(e){return Re(this.__data__,e)>-1},Ae.prototype.set=function(e,t){var n=this.__data__,r=Re(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Oe.prototype.clear=function(){this.__data__={hash:new je,map:new(me||Ae),string:new je}},Oe.prototype.delete=function(e){return Je(this,e).delete(e)},Oe.prototype.get=function(e){return Je(this,e).get(e)},Oe.prototype.has=function(e){return Je(this,e).has(e)},Oe.prototype.set=function(e,t){return Je(this,e).set(e,t),this},Te.prototype.clear=function(){this.__data__=new Ae},Te.prototype.delete=function(e){return this.__data__.delete(e)},Te.prototype.get=function(e){return this.__data__.get(e)},Te.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var r=n.__data__;if(!me||r.length<199)return r.push([e,t]),this;n=this.__data__=new Oe(r)}return n.set(e,t),this};var Ke=pe?F(pe,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 Me(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)}function He(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ue(e,t){return e===t||e!=e&&t!=t}(fe&&We(new fe(new ArrayBuffer(1)))!=b||me&&We(new me)!=p||he&&We(he.resolve())!=f||ve&&We(new ve)!=h||ge&&We(new ge)!=y)&&(We=function(e){var t=te.call(e),n=t==d?e.constructor:void 0,r=n?He(n):void 0;if(r)switch(r){case xe:return b;case be:return p;case we:return f;case _e:return h;case Ee:return y}return t});var De=Array.isArray;function Be(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!ze(e)}var Fe=le||function(){return!1};function ze(e){var t=qe(e)?te.call(e):"";return t==c||t==u}function qe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return Be(e)?function(e,t){var n=De(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Be(e)}(e)&&ee.call(e,"callee")&&(!ce.call(e,"callee")||te.call(e)==a)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!ee.call(e,o)||i&&("length"==o||$e(o,r))||n.push(o);return n}(e):function(e){if(!Me(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)}},2543:function(e,t,n){var r;e=n.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=32,u=128,p=1/0,l=9007199254740991,d=NaN,f=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",c],["partialRight",64],["rearg",256]],h="[object Arguments]",v="[object Array]",g="[object Boolean]",y="[object Date]",x="[object Error]",b="[object Function]",w="[object GeneratorFunction]",_="[object Map]",E="[object Number]",S="[object Object]",k="[object Promise]",j="[object RegExp]",A="[object Set]",O="[object String]",T="[object Symbol]",P="[object WeakMap]",R="[object ArrayBuffer]",I="[object DataView]",C="[object Float32Array]",L="[object Float64Array]",J="[object Int8Array]",N="[object Int16Array]",K="[object Int32Array]",W="[object Uint8Array]",$="[object Uint8ClampedArray]",M="[object Uint16Array]",H="[object Uint32Array]",U=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,z=/[&<>"']/g,q=RegExp(F.source),G=RegExp(z.source),V=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,be=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",je="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+we+"]",Te="["+Ae+"]",Pe="["+_e+"]",Re="\\d+",Ie="["+Ee+"]",Ce="["+Se+"]",Le="[^"+we+Ae+Re+Ee+Se+ke+"]",Je="\\ud83c[\\udffb-\\udfff]",Ne="[^"+we+"]",Ke="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+ke+"]",Me="\\u200d",He="(?:"+Ce+"|"+Le+")",Ue="(?:"+$e+"|"+Le+")",De="(?:['’](?:d|ll|m|re|s|t|ve))?",Be="(?:['’](?:D|LL|M|RE|S|T|VE))?",Fe="(?:"+Pe+"|"+Je+")?",ze="["+je+"]?",qe=ze+Fe+"(?:"+Me+"(?:"+[Ne,Ke,We].join("|")+")"+ze+Fe+")*",Ge="(?:"+[Ie,Ke,We].join("|")+")"+qe,Ve="(?:"+[Ne+Pe+"?",Pe,Ke,We,Oe].join("|")+")",Xe=RegExp("['’]","g"),Ye=RegExp(Pe,"g"),Ze=RegExp(Je+"(?="+Je+")|"+Ve+qe,"g"),Qe=RegExp([$e+"?"+Ce+"+"+De+"(?="+[Te,$e,"$"].join("|")+")",Ue+"+"+Be+"(?="+[Te,$e+He,"$"].join("|")+")",$e+"?"+He+"+"+De,$e+"+"+Be,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ge].join("|"),"g"),et=RegExp("["+Me+we+_e+je+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[C]=it[L]=it[J]=it[N]=it[K]=it[W]=it[$]=it[M]=it[H]=!0,it[h]=it[v]=it[R]=it[g]=it[I]=it[y]=it[x]=it[b]=it[_]=it[E]=it[S]=it[j]=it[A]=it[O]=it[P]=!1;var at={};at[h]=at[v]=at[R]=at[I]=at[g]=at[y]=at[C]=at[L]=at[J]=at[N]=at[K]=at[_]=at[E]=at[S]=at[j]=at[A]=at[O]=at[T]=at[W]=at[$]=at[M]=at[H]=!0,at[x]=at[b]=at[P]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,ct=parseInt,ut="object"==typeof global&&global&&global.Object===Object&&global,pt="object"==typeof self&&self&&self.Object===Object&&self,lt=ut||pt||Function("return this")(),dt=t&&!t.nodeType&&t,ft=dt&&e&&!e.nodeType&&e,mt=ft&&ft.exports===dt,ht=mt&&ut.process,vt=function(){try{return ft&&ft.require&&ft.require("util").types||ht&&ht.binding&&ht.binding("util")}catch(e){}}(),gt=vt&&vt.isArrayBuffer,yt=vt&&vt.isDate,xt=vt&&vt.isMap,bt=vt&&vt.isRegExp,wt=vt&&vt.isSet,_t=vt&&vt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function jt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Tt(e,t){return!(null==e||!e.length)&&$t(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function It(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ct(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Lt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Nt=Dt("length");function Kt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Wt(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function $t(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Wt(e,Ht,n)}function Mt(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function Ht(e){return e!=e}function Ut(e,t){var n=null==e?0:e.length;return n?zt(e,t)/n:d}function Dt(e){return function(t){return null==t?i:t[e]}}function Bt(e){return function(t){return null==e?i:e[t]}}function Ft(e,t,n,r,i){return i(e,(function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)})),n}function zt(e,t){for(var n,r=-1,a=e.length;++r<a;){var o=t(e[r]);o!==i&&(n=n===i?o:n+o)}return n}function qt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Gt(e){return e?e.slice(0,dn(e)+1).replace(re,""):e}function Vt(e){return function(t){return e(t)}}function Xt(e,t){return Rt(t,(function(t){return e[t]}))}function Yt(e,t){return e.has(t)}function Zt(e,t){for(var n=-1,r=e.length;++n<r&&$t(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&$t(t,e[n],0)>-1;);return n}var en=Bt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Bt({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+ot[e]}function rn(e){return et.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function on(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==s||(e[n]=s,a[i++]=n)}return a}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return rn(e)?function(e){for(var t=Ze.lastIndex=0;Ze.test(e);)++t;return t}(e):Nt(e)}function ln(e){return rn(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function dn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var fn=Bt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),mn=function e(t){var n,r=(t=null==t?lt:mn.defaults(lt.Object(),t,mn.pick(lt,nt))).Array,ie=t.Date,we=t.Error,_e=t.Function,Ee=t.Math,Se=t.Object,ke=t.RegExp,je=t.String,Ae=t.TypeError,Oe=r.prototype,Te=_e.prototype,Pe=Se.prototype,Re=t["__core-js_shared__"],Ie=Te.toString,Ce=Pe.hasOwnProperty,Le=0,Je=(n=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ne=Pe.toString,Ke=Ie.call(Se),We=lt._,$e=ke("^"+Ie.call(Ce).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=mt?t.Buffer:i,He=t.Symbol,Ue=t.Uint8Array,De=Me?Me.allocUnsafe:i,Be=on(Se.getPrototypeOf,Se),Fe=Se.create,ze=Pe.propertyIsEnumerable,qe=Oe.splice,Ge=He?He.isConcatSpreadable:i,Ve=He?He.iterator:i,Ze=He?He.toStringTag:i,et=function(){try{var e=ca(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==lt.clearTimeout&&t.clearTimeout,ut=ie&&ie.now!==lt.Date.now&&ie.now,pt=t.setTimeout!==lt.setTimeout&&t.setTimeout,dt=Ee.ceil,ft=Ee.floor,ht=Se.getOwnPropertySymbols,vt=Me?Me.isBuffer:i,Nt=t.isFinite,Bt=Oe.join,hn=on(Se.keys,Se),vn=Ee.max,gn=Ee.min,yn=ie.now,xn=t.parseInt,bn=Ee.random,wn=Oe.reverse,_n=ca(t,"DataView"),En=ca(t,"Map"),Sn=ca(t,"Promise"),kn=ca(t,"Set"),jn=ca(t,"WeakMap"),An=ca(Se,"create"),On=jn&&new jn,Tn={},Pn=Na(_n),Rn=Na(En),In=Na(Sn),Cn=Na(kn),Ln=Na(jn),Jn=He?He.prototype:i,Nn=Jn?Jn.valueOf:i,Kn=Jn?Jn.toString:i;function Wn(e){if(es(e)&&!Do(e)&&!(e instanceof Un)){if(e instanceof Hn)return e;if(Ce.call(e,"__wrapped__"))return Ka(e)}return new Hn(e)}var $n=function(){function e(){}return function(t){if(!Qo(t))return{};if(Fe)return Fe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Mn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Bn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Fn;++t<n;)this.add(e[t])}function qn(e){var t=this.__data__=new Bn(e);this.size=t.size}function Gn(e,t){var n=Do(e),r=!n&&Uo(e),i=!n&&!r&&qo(e),a=!n&&!r&&!i&&cs(e),o=n||r||i||a,s=o?qt(e.length,je):[],c=s.length;for(var u in e)!t&&!Ce.call(e,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ha(u,c))||s.push(u);return s}function Vn(e){var t=e.length;return t?e[Fr(0,t-1)]:i}function Xn(e,t){return Ra(ji(e),ar(t,0,e.length))}function Yn(e){return Ra(ji(e))}function Zn(e,t,n){(n!==i&&!$o(e[t],n)||n===i&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];Ce.call(e,t)&&$o(r,n)&&(n!==i||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if($o(e[n][0],t))return n;return-1}function tr(e,t,n,r){return pr(e,(function(e,i,a){t(r,e,n(e),a)})),r}function nr(e,t){return e&&Ai(t,Ps(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var n=-1,a=t.length,o=r(a),s=null==e;++n<a;)o[n]=s?i:ks(e,t[n]);return o}function ar(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function or(e,t,n,r,a,o){var s,c=1&t,u=2&t,p=4&t;if(n&&(s=a?n(e,r,a,o):n(e)),s!==i)return s;if(!Qo(e))return e;var l=Do(e);if(l){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ce.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return ji(e,s)}else{var d=la(e),f=d==b||d==w;if(qo(e))return bi(e,c);if(d==S||d==h||f&&!a){if(s=u||f?{}:fa(e),!c)return u?function(e,t){return Ai(e,pa(e),t)}(e,function(e,t){return e&&Ai(t,Rs(t),e)}(s,e)):function(e,t){return Ai(e,ua(e),t)}(e,nr(s,e))}else{if(!at[d])return a?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case R:return wi(e);case g:case y:return new i(+e);case I:return function(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case C:case L:case J:case N:case K:case W:case $:case M:case H:return _i(e,n);case _:return new i;case E:case O:return new i(e);case j:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new i;case T:return r=e,Nn?Se(Nn.call(r)):{}}}(e,d,c)}}o||(o=new qn);var m=o.get(e);if(m)return m;o.set(e,s),as(e)?e.forEach((function(r){s.add(or(r,t,n,r,e,o))})):ts(e)&&e.forEach((function(r,i){s.set(i,or(r,t,n,i,e,o))}));var v=l?i:(p?u?ta:ea:u?Rs:Ps)(e);return kt(v||e,(function(r,i){v&&(r=e[i=r]),Qn(s,i,or(r,t,n,i,e,o))})),s}function sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var a=n[r],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function cr(e,t,n){if("function"!=typeof e)throw new Ae(a);return Aa((function(){e.apply(i,n)}),t)}function ur(e,t,n,r){var i=-1,a=Tt,o=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=Rt(t,Vt(n))),r?(a=Pt,o=!1):t.length>=200&&(a=Yt,o=!1,t=new zn(t));e:for(;++i<s;){var p=e[i],l=null==n?p:n(p);if(p=r||0!==p?p:0,o&&l==l){for(var d=u;d--;)if(t[d]===l)continue e;c.push(p)}else a(t,l,r)||c.push(p)}return c}Wn.templateSettings={escape:V,evaluate:X,interpolate:Y,variable:"",imports:{_:Wn}},Wn.prototype=Mn.prototype,Wn.prototype.constructor=Wn,Hn.prototype=$n(Mn.prototype),Hn.prototype.constructor=Hn,Un.prototype=$n(Mn.prototype),Un.prototype.constructor=Un,Dn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Dn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Dn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===o?i:n}return Ce.call(t,e)?t[e]:i},Dn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==i:Ce.call(t,e)},Dn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===i?o:t,this},Bn.prototype.clear=function(){this.__data__=[],this.size=0},Bn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():qe.call(t,n,1),--this.size,0))},Bn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?i:t[n][1]},Bn.prototype.has=function(e){return er(this.__data__,e)>-1},Bn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(En||Bn),string:new Dn}},Fn.prototype.delete=function(e){var t=oa(this,e).delete(e);return this.size-=t?1:0,t},Fn.prototype.get=function(e){return oa(this,e).get(e)},Fn.prototype.has=function(e){return oa(this,e).has(e)},Fn.prototype.set=function(e,t){var n=oa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,o),this},zn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.clear=function(){this.__data__=new Bn,this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qn.prototype.get=function(e){return this.__data__.get(e)},qn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Bn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fn(r)}return n.set(e,t),this.size=n.size,this};var pr=Pi(yr),lr=Pi(xr,!0);function dr(e,t){var n=!0;return pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function fr(e,t,n){for(var r=-1,a=e.length;++r<a;){var o=e[r],s=t(o);if(null!=s&&(c===i?s==s&&!ss(s):n(s,c)))var c=s,u=o}return u}function mr(e,t){var n=[];return pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function hr(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=ma),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?hr(s,t-1,n,r,i):It(i,s):r||(i[i.length]=s)}return i}var vr=Ri(),gr=Ri(!0);function yr(e,t){return e&&vr(e,t,Ps)}function xr(e,t){return e&&gr(e,t,Ps)}function br(e,t){return Ot(t,(function(t){return Xo(e[t])}))}function wr(e,t){for(var n=0,r=(t=vi(t,e)).length;null!=e&&n<r;)e=e[Ja(t[n++])];return n&&n==r?e:i}function _r(e,t,n){var r=t(e);return Do(e)?r:It(r,n(e))}function Er(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Se(e)?function(e){var t=Ce.call(e,Ze),n=e[Ze];try{e[Ze]=i;var r=!0}catch(e){}var a=Ne.call(e);return r&&(t?e[Ze]=n:delete e[Ze]),a}(e):function(e){return Ne.call(e)}(e)}function Sr(e,t){return e>t}function kr(e,t){return null!=e&&Ce.call(e,t)}function jr(e,t){return null!=e&&t in Se(e)}function Ar(e,t,n){for(var a=n?Pt:Tt,o=e[0].length,s=e.length,c=s,u=r(s),p=1/0,l=[];c--;){var d=e[c];c&&t&&(d=Rt(d,Vt(t))),p=gn(d.length,p),u[c]=!n&&(t||o>=120&&d.length>=120)?new zn(c&&d):i}d=e[0];var f=-1,m=u[0];e:for(;++f<o&&l.length<p;){var h=d[f],v=t?t(h):h;if(h=n||0!==h?h:0,!(m?Yt(m,v):a(l,v,n))){for(c=s;--c;){var g=u[c];if(!(g?Yt(g,v):a(e[c],v,n)))continue e}m&&m.push(v),l.push(h)}}return l}function Or(e,t,n){var r=null==(e=Sa(e,t=vi(t,e)))?e:e[Ja(Ga(t))];return null==r?i:Et(r,e,n)}function Tr(e){return es(e)&&Er(e)==h}function Pr(e,t,n,r,a){return e===t||(null==e||null==t||!es(e)&&!es(t)?e!=e&&t!=t:function(e,t,n,r,a,o){var s=Do(e),c=Do(t),u=s?v:la(e),p=c?v:la(t),l=(u=u==h?S:u)==S,d=(p=p==h?S:p)==S,f=u==p;if(f&&qo(e)){if(!qo(t))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new qn),s||cs(e)?Zi(e,t,n,r,a,o):function(e,t,n,r,i,a,o){switch(n){case I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R:return!(e.byteLength!=t.byteLength||!a(new Ue(e),new Ue(t)));case g:case y:case E:return $o(+e,+t);case x:return e.name==t.name&&e.message==t.message;case j:case O:return e==t+"";case _:var s=an;case A:var c=1&r;if(s||(s=cn),e.size!=t.size&&!c)return!1;var u=o.get(e);if(u)return u==t;r|=2,o.set(e,t);var p=Zi(s(e),s(t),r,i,a,o);return o.delete(e),p;case T:if(Nn)return Nn.call(e)==Nn.call(t)}return!1}(e,t,u,n,r,a,o);if(!(1&n)){var m=l&&Ce.call(e,"__wrapped__"),b=d&&Ce.call(t,"__wrapped__");if(m||b){var w=m?e.value():e,k=b?t.value():t;return o||(o=new qn),a(w,k,n,r,o)}}return!!f&&(o||(o=new qn),function(e,t,n,r,a,o){var s=1&n,c=ea(e),u=c.length;if(u!=ea(t).length&&!s)return!1;for(var p=u;p--;){var l=c[p];if(!(s?l in t:Ce.call(t,l)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var m=!0;o.set(e,t),o.set(t,e);for(var h=s;++p<u;){var v=e[l=c[p]],g=t[l];if(r)var y=s?r(g,v,l,t,e,o):r(v,g,l,e,t,o);if(!(y===i?v===g||a(v,g,n,r,o):y)){m=!1;break}h||(h="constructor"==l)}if(m&&!h){var x=e.constructor,b=t.constructor;x==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof b&&b instanceof b||(m=!1)}return o.delete(e),o.delete(t),m}(e,t,n,r,a,o))}(e,t,n,r,Pr,a))}function Rr(e,t,n,r){var a=n.length,o=a,s=!r;if(null==e)return!o;for(e=Se(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){var u=(c=n[a])[0],p=e[u],l=c[1];if(s&&c[2]){if(p===i&&!(u in e))return!1}else{var d=new qn;if(r)var f=r(p,l,u,e,t,d);if(!(f===i?Pr(l,p,3,r,d):f))return!1}}return!0}function Ir(e){return!(!Qo(e)||(t=e,Je&&Je in t))&&(Xo(e)?$e:he).test(Na(e));var t}function Cr(e){return"function"==typeof e?e:null==e?nc:"object"==typeof e?Do(e)?Wr(e[0],e[1]):Kr(e):lc(e)}function Lr(e){if(!ba(e))return hn(e);var t=[];for(var n in Se(e))Ce.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Jr(e,t){return e<t}function Nr(e,t){var n=-1,i=Fo(e)?r(e.length):[];return pr(e,(function(e,r,a){i[++n]=t(e,r,a)})),i}function Kr(e){var t=sa(e);return 1==t.length&&t[0][2]?_a(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Wr(e,t){return ga(e)&&wa(t)?_a(Ja(e),t):function(n){var r=ks(n,e);return r===i&&r===t?js(n,e):Pr(t,r,3)}}function $r(e,t,n,r,a){e!==t&&vr(t,(function(o,s){if(a||(a=new qn),Qo(o))!function(e,t,n,r,a,o,s){var c=ka(e,n),u=ka(t,n),p=s.get(u);if(p)Zn(e,n,p);else{var l=o?o(c,u,n+"",e,t,s):i,d=l===i;if(d){var f=Do(u),m=!f&&qo(u),h=!f&&!m&&cs(u);l=u,f||m||h?Do(c)?l=c:zo(c)?l=ji(c):m?(d=!1,l=bi(u,!0)):h?(d=!1,l=_i(u,!0)):l=[]:rs(u)||Uo(u)?(l=c,Uo(c)?l=vs(c):Qo(c)&&!Xo(c)||(l=fa(u))):d=!1}d&&(s.set(u,l),a(l,u,r,o,s),s.delete(u)),Zn(e,n,l)}}(e,t,s,n,$r,r,a);else{var c=r?r(ka(e,s),o,s+"",e,t,a):i;c===i&&(c=o),Zn(e,s,c)}}),Rs)}function Mr(e,t){var n=e.length;if(n)return ha(t+=t<0?n:0,n)?e[t]:i}function Hr(e,t,n){t=t.length?Rt(t,(function(e){return Do(e)?function(t){return wr(t,1===e.length?e[0]:e)}:e})):[nc];var r=-1;t=Rt(t,Vt(aa()));var i=Nr(e,(function(e,n,i){var a=Rt(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return function(e){var t=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Ei(i[r],a[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));t--;)e[t]=e[t].value;return e}(i)}function Ur(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=wr(e,o);n(s,o)&&Xr(a,vi(o,e),s)}return a}function Dr(e,t,n,r){var i=r?Mt:$t,a=-1,o=t.length,s=e;for(e===t&&(t=ji(t)),n&&(s=Rt(e,Vt(n)));++a<o;)for(var c=0,u=t[a],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&qe.call(s,c,1),qe.call(e,c,1);return e}function Br(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;ha(i)?qe.call(e,i,1):ci(e,i)}}return e}function Fr(e,t){return e+ft(bn()*(t-e+1))}function zr(e,t){var n="";if(!e||t<1||t>l)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function qr(e,t){return Oa(Ea(e,t,nc),e+"")}function Gr(e){return Vn($s(e))}function Vr(e,t){var n=$s(e);return Ra(n,ar(t,0,n.length))}function Xr(e,t,n,r){if(!Qo(e))return e;for(var a=-1,o=(t=vi(t,e)).length,s=o-1,c=e;null!=c&&++a<o;){var u=Ja(t[a]),p=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(a!=s){var l=c[u];(p=r?r(l,u,c):i)===i&&(p=Qo(l)?l:ha(t[a+1])?[]:{})}Qn(c,u,p),c=c[u]}return e}var Yr=On?function(e,t){return On.set(e,t),e}:nc,Zr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qs(t),writable:!0})}:nc;function Qr(e){return Ra($s(e))}function ei(e,t,n){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=r(a);++i<a;)o[i]=e[i+t];return o}function ti(e,t){var n;return pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!ss(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ri(e,t,nc,n)}function ri(e,t,n,r){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,c=null===t,u=ss(t),p=t===i;a<o;){var l=ft((a+o)/2),d=n(e[l]),f=d!==i,m=null===d,h=d==d,v=ss(d);if(s)var g=r||h;else g=p?h&&(r||f):c?h&&f&&(r||!m):u?h&&f&&!m&&(r||!v):!m&&!v&&(r?d<=t:d<t);g?a=l+1:o=l}return gn(o,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!$o(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function ai(e){return"number"==typeof e?e:ss(e)?d:+e}function oi(e){if("string"==typeof e)return e;if(Do(e))return Rt(e,oi)+"";if(ss(e))return Kn?Kn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function si(e,t,n){var r=-1,i=Tt,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=Pt;else if(a>=200){var u=t?null:zi(e);if(u)return cn(u);o=!1,i=Yt,c=new zn}else c=t?[]:s;e:for(;++r<a;){var p=e[r],l=t?t(p):p;if(p=n||0!==p?p:0,o&&l==l){for(var d=c.length;d--;)if(c[d]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function ci(e,t){return null==(e=Sa(e,t=vi(t,e)))||delete e[Ja(Ga(t))]}function ui(e,t,n,r){return Xr(e,t,n(wr(e,t)),r)}function pi(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?ei(e,r?0:a,r?a+1:i):ei(e,r?a+1:0,r?i:a)}function li(e,t){var n=e;return n instanceof Un&&(n=n.value()),Ct(t,(function(e,t){return t.func.apply(t.thisArg,It([e],t.args))}),n)}function di(e,t,n){var i=e.length;if(i<2)return i?si(e[0]):[];for(var a=-1,o=r(i);++a<i;)for(var s=e[a],c=-1;++c<i;)c!=a&&(o[a]=ur(o[a]||s,e[c],t,n));return si(hr(o,1),t,n)}function fi(e,t,n){for(var r=-1,a=e.length,o=t.length,s={};++r<a;){var c=r<o?t[r]:i;n(s,e[r],c)}return s}function mi(e){return zo(e)?e:[]}function hi(e){return"function"==typeof e?e:nc}function vi(e,t){return Do(e)?e:ga(e,t)?[e]:La(gs(e))}var gi=qr;function yi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ei(e,t,n)}var xi=ot||function(e){return lt.clearTimeout(e)};function bi(e,t){if(t)return e.slice();var n=e.length,r=De?De(n):new e.constructor(n);return e.copy(r),r}function wi(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function _i(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==i,r=null===e,a=e==e,o=ss(e),s=t!==i,c=null===t,u=t==t,p=ss(t);if(!c&&!p&&!o&&e>t||o&&s&&u&&!c&&!p||r&&s&&u||!n&&u||!a)return 1;if(!r&&!o&&!p&&e<t||p&&n&&a&&!r&&!o||c&&n&&a||!s&&a||!u)return-1}return 0}function Si(e,t,n,i){for(var a=-1,o=e.length,s=n.length,c=-1,u=t.length,p=vn(o-s,0),l=r(u+p),d=!i;++c<u;)l[c]=t[c];for(;++a<s;)(d||a<o)&&(l[n[a]]=e[a]);for(;p--;)l[c++]=e[a++];return l}function ki(e,t,n,i){for(var a=-1,o=e.length,s=-1,c=n.length,u=-1,p=t.length,l=vn(o-c,0),d=r(l+p),f=!i;++a<l;)d[a]=e[a];for(var m=a;++u<p;)d[m+u]=t[u];for(;++s<c;)(f||a<o)&&(d[m+n[s]]=e[a++]);return d}function ji(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Ai(e,t,n,r){var a=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var c=t[o],u=r?r(n[c],e[c],c,n,e):i;u===i&&(u=e[c]),a?rr(n,c,u):Qn(n,c,u)}return n}function Oi(e,t){return function(n,r){var i=Do(n)?St:tr,a=t?t():{};return i(n,e,aa(r,2),a)}}function Ti(e){return qr((function(t,n){var r=-1,a=n.length,o=a>1?n[a-1]:i,s=a>2?n[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&va(n[0],n[1],s)&&(o=a<3?i:o,a=1),t=Se(t);++r<a;){var c=n[r];c&&e(t,c,r,o)}return t}))}function Pi(e,t){return function(n,r){if(null==n)return n;if(!Fo(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Se(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function Ri(e){return function(t,n,r){for(var i=-1,a=Se(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===n(a[c],c,a))break}return t}}function Ii(e){return function(t){var n=rn(t=gs(t))?ln(t):i,r=n?n[0]:t.charAt(0),a=n?yi(n,1).join(""):t.slice(1);return r[e]()+a}}function Ci(e){return function(t){return Ct(Xs(Us(t).replace(Xe,"")),e,"")}}function Li(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),r=e.apply(n,t);return Qo(r)?r:n}}function Ji(e){return function(t,n,r){var a=Se(t);if(!Fo(t)){var o=aa(n,3);t=Ps(t),n=function(e){return o(a[e],e,a)}}var s=e(t,n,r);return s>-1?a[o?t[s]:s]:i}}function Ni(e){return Qi((function(t){var n=t.length,r=n,o=Hn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(a);if(o&&!c&&"wrapper"==ra(s))var c=new Hn([],!0)}for(r=c?r:n;++r<n;){var u=ra(s=t[r]),p="wrapper"==u?na(s):i;c=p&&ya(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?c[ra(p[0])].apply(c,p[3]):1==s.length&&ya(s)?c[u]():c.thru(s)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Do(r))return c.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i<n;)a=t[i].call(this,a);return a}}))}function Ki(e,t,n,a,o,s,c,p,l,d){var f=t&u,m=1&t,h=2&t,v=24&t,g=512&t,y=h?i:Li(e);return function u(){for(var x=arguments.length,b=r(x),w=x;w--;)b[w]=arguments[w];if(v)var _=ia(u),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,_);if(a&&(b=Si(b,a,o,v)),s&&(b=ki(b,s,c,v)),x-=E,v&&x<d){var S=sn(b,_);return Bi(e,t,Ki,u.placeholder,n,b,S,p,l,d-x)}var k=m?n:this,j=h?k[e]:e;return x=b.length,p?b=function(e,t){for(var n=e.length,r=gn(t.length,n),a=ji(e);r--;){var o=t[r];e[r]=ha(o,n)?a[o]:i}return e}(b,p):g&&x>1&&b.reverse(),f&&l<x&&(b.length=l),this&&this!==lt&&this instanceof u&&(j=y||Li(j)),j.apply(k,b)}}function Wi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,a){t(r,n(e),i,a)})),r}(n,e,t(r),{})}}function $i(e,t){return function(n,r){var a;if(n===i&&r===i)return t;if(n!==i&&(a=n),r!==i){if(a===i)return r;"string"==typeof n||"string"==typeof r?(n=oi(n),r=oi(r)):(n=ai(n),r=ai(r)),a=e(n,r)}return a}}function Mi(e){return Qi((function(t){return t=Rt(t,Vt(aa())),qr((function(n){var r=this;return e(t,(function(e){return Et(e,r,n)}))}))}))}function Hi(e,t){var n=(t=t===i?" ":oi(t)).length;if(n<2)return n?zr(t,e):t;var r=zr(t,dt(e/pn(t)));return rn(t)?yi(ln(r),0,e).join(""):r.slice(0,e)}function Ui(e){return function(t,n,a){return a&&"number"!=typeof a&&va(t,n,a)&&(n=a=i),t=ds(t),n===i?(n=t,t=0):n=ds(n),function(e,t,n,i){for(var a=-1,o=vn(dt((t-e)/(n||1)),0),s=r(o);o--;)s[i?o:++a]=e,e+=n;return s}(t,n,a=a===i?t<n?1:-1:ds(a),e)}}function Di(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=hs(t),n=hs(n)),e(t,n)}}function Bi(e,t,n,r,a,o,s,u,p,l){var d=8&t;t|=d?c:64,4&(t&=~(d?64:c))||(t&=-4);var f=[e,t,a,d?o:i,d?s:i,d?i:o,d?i:s,u,p,l],m=n.apply(i,f);return ya(e)&&ja(m,f),m.placeholder=r,Ta(m,e,t)}function Fi(e){var t=Ee[e];return function(e,n){if(e=hs(e),(n=null==n?0:gn(fs(n),292))&&Nt(e)){var r=(gs(e)+"e").split("e");return+((r=(gs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zi=kn&&1/cn(new kn([,-0]))[1]==p?function(e){return new kn(e)}:sc;function qi(e){return function(t){var n=la(t);return n==_?an(t):n==A?un(t):function(e,t){return Rt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Gi(e,t,n,o,p,l,d,f){var m=2&t;if(!m&&"function"!=typeof e)throw new Ae(a);var h=o?o.length:0;if(h||(t&=-97,o=p=i),d=d===i?d:vn(fs(d),0),f=f===i?f:fs(f),h-=p?p.length:0,64&t){var v=o,g=p;o=p=i}var y=m?i:na(e),x=[e,t,n,o,p,v,g,l,d,f];if(y&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,o=r==u&&8==n||r==u&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!o)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var p=e[3];e[3]=p?Si(p,c,t[4]):c,e[4]=p?sn(e[3],s):t[4]}(c=t[5])&&(p=e[5],e[5]=p?ki(p,c,t[6]):c,e[6]=p?sn(e[5],s):t[6]),(c=t[7])&&(e[7]=c),r&u&&(e[8]=null==e[8]?t[8]:gn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(x,y),e=x[0],t=x[1],n=x[2],o=x[3],p=x[4],!(f=x[9]=x[9]===i?m?0:e.length:vn(x[9]-h,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var a=Li(e);return function o(){for(var s=arguments.length,c=r(s),u=s,p=ia(o);u--;)c[u]=arguments[u];var l=s<3&&c[0]!==p&&c[s-1]!==p?[]:sn(c,p);return(s-=l.length)<n?Bi(e,t,Ki,o.placeholder,i,c,l,i,i,n-s):Et(this&&this!==lt&&this instanceof o?a:e,this,c)}}(e,t,f):t!=c&&33!=t||p.length?Ki.apply(i,x):function(e,t,n,i){var a=1&t,o=Li(e);return function t(){for(var s=-1,c=arguments.length,u=-1,p=i.length,l=r(p+c),d=this&&this!==lt&&this instanceof t?o:e;++u<p;)l[u]=i[u];for(;c--;)l[u++]=arguments[++s];return Et(d,a?n:this,l)}}(e,t,n,o);else var b=function(e,t,n){var r=1&t,i=Li(e);return function t(){return(this&&this!==lt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Ta((y?Yr:ja)(b,x),e,t)}function Vi(e,t,n,r){return e===i||$o(e,Pe[n])&&!Ce.call(r,n)?t:e}function Xi(e,t,n,r,a,o){return Qo(e)&&Qo(t)&&(o.set(t,e),$r(e,t,i,Xi,o),o.delete(t)),e}function Yi(e){return rs(e)?i:e}function Zi(e,t,n,r,a,o){var s=1&n,c=e.length,u=t.length;if(c!=u&&!(s&&u>c))return!1;var p=o.get(e),l=o.get(t);if(p&&l)return p==t&&l==e;var d=-1,f=!0,m=2&n?new zn:i;for(o.set(e,t),o.set(t,e);++d<c;){var h=e[d],v=t[d];if(r)var g=s?r(v,h,d,t,e,o):r(h,v,d,e,t,o);if(g!==i){if(g)continue;f=!1;break}if(m){if(!Jt(t,(function(e,t){if(!Yt(m,t)&&(h===e||a(h,e,n,r,o)))return m.push(t)}))){f=!1;break}}else if(h!==v&&!a(h,v,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function Qi(e){return Oa(Ea(e,i,Da),e+"")}function ea(e){return _r(e,Ps,ua)}function ta(e){return _r(e,Rs,pa)}var na=On?function(e){return On.get(e)}:sc;function ra(e){for(var t=e.name+"",n=Tn[t],r=Ce.call(Tn,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function ia(e){return(Ce.call(Wn,"placeholder")?Wn:e).placeholder}function aa(){var e=Wn.iteratee||rc;return e=e===rc?Cr:e,arguments.length?e(arguments[0],arguments[1]):e}function oa(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function sa(e){for(var t=Ps(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,wa(i)]}return t}function ca(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Ir(n)?n:i}var ua=ht?function(e){return null==e?[]:(e=Se(e),Ot(ht(e),(function(t){return ze.call(e,t)})))}:mc,pa=ht?function(e){for(var t=[];e;)It(t,ua(e)),e=Be(e);return t}:mc,la=Er;function da(e,t,n){for(var r=-1,i=(t=vi(t,e)).length,a=!1;++r<i;){var o=Ja(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&Zo(i)&&ha(o,i)&&(Do(e)||Uo(e))}function fa(e){return"function"!=typeof e.constructor||ba(e)?{}:$n(Be(e))}function ma(e){return Do(e)||Uo(e)||!!(Ge&&e&&e[Ge])}function ha(e,t){var n=typeof e;return!!(t=null==t?l:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function va(e,t,n){if(!Qo(n))return!1;var r=typeof t;return!!("number"==r?Fo(n)&&ha(t,n.length):"string"==r&&t in n)&&$o(n[t],e)}function ga(e,t){if(Do(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||Q.test(e)||!Z.test(e)||null!=t&&e in Se(t)}function ya(e){var t=ra(e),n=Wn[t];if("function"!=typeof n||!(t in Un.prototype))return!1;if(e===n)return!0;var r=na(n);return!!r&&e===r[0]}(_n&&la(new _n(new ArrayBuffer(1)))!=I||En&&la(new En)!=_||Sn&&la(Sn.resolve())!=k||kn&&la(new kn)!=A||jn&&la(new jn)!=P)&&(la=function(e){var t=Er(e),n=t==S?e.constructor:i,r=n?Na(n):"";if(r)switch(r){case Pn:return I;case Rn:return _;case In:return k;case Cn:return A;case Ln:return P}return t});var xa=Re?Xo:hc;function ba(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)}function wa(e){return e==e&&!Qo(e)}function _a(e,t){return function(n){return null!=n&&n[e]===t&&(t!==i||e in Se(n))}}function Ea(e,t,n){return t=vn(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=vn(i.length-t,0),s=r(o);++a<o;)s[a]=i[t+a];a=-1;for(var c=r(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),Et(e,this,c)}}function Sa(e,t){return t.length<2?e:wr(e,ei(t,0,-1))}function ka(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ja=Pa(Yr),Aa=pt||function(e,t){return lt.setTimeout(e,t)},Oa=Pa(Zr);function Ta(e,t,n){var r=t+"";return Oa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return kt(m,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(se):[]}(r),n)))}function Pa(e){var t=0,n=0;return function(){var r=yn(),a=16-(r-n);if(n=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ra(e,t){var n=-1,r=e.length,a=r-1;for(t=t===i?r:t;++n<t;){var o=Fr(n,a),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var Ia,Ca,La=(Ia=Co((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,i){t.push(r?i.replace(pe,"$1"):n||e)})),t}),(function(e){return 500===Ca.size&&Ca.clear(),e})),Ca=Ia.cache,Ia);function Ja(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Na(e){if(null!=e){try{return Ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ka(e){if(e instanceof Un)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=ji(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wa=qr((function(e,t){return zo(e)?ur(e,hr(t,1,zo,!0)):[]})),$a=qr((function(e,t){var n=Ga(t);return zo(n)&&(n=i),zo(e)?ur(e,hr(t,1,zo,!0),aa(n,2)):[]})),Ma=qr((function(e,t){var n=Ga(t);return zo(n)&&(n=i),zo(e)?ur(e,hr(t,1,zo,!0),i,n):[]}));function Ha(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:fs(n);return i<0&&(i=vn(r+i,0)),Wt(e,aa(t,3),i)}function Ua(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r-1;return n!==i&&(a=fs(n),a=n<0?vn(r+a,0):gn(a,r-1)),Wt(e,aa(t,3),a,!0)}function Da(e){return null!=e&&e.length?hr(e,1):[]}function Ba(e){return e&&e.length?e[0]:i}var Fa=qr((function(e){var t=Rt(e,mi);return t.length&&t[0]===e[0]?Ar(t):[]})),za=qr((function(e){var t=Ga(e),n=Rt(e,mi);return t===Ga(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Ar(n,aa(t,2)):[]})),qa=qr((function(e){var t=Ga(e),n=Rt(e,mi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,i,t):[]}));function Ga(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Va=qr(Xa);function Xa(e,t){return e&&e.length&&t&&t.length?Dr(e,t):e}var Ya=Qi((function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Br(e,Rt(t,(function(e){return ha(e,n)?+e:e})).sort(Ei)),r}));function Za(e){return null==e?e:wn.call(e)}var Qa=qr((function(e){return si(hr(e,1,zo,!0))})),eo=qr((function(e){var t=Ga(e);return zo(t)&&(t=i),si(hr(e,1,zo,!0),aa(t,2))})),to=qr((function(e){var t=Ga(e);return t="function"==typeof t?t:i,si(hr(e,1,zo,!0),i,t)}));function no(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,(function(e){if(zo(e))return t=vn(e.length,t),!0})),qt(t,(function(t){return Rt(e,Dt(t))}))}function ro(e,t){if(!e||!e.length)return[];var n=no(e);return null==t?n:Rt(n,(function(e){return Et(t,i,e)}))}var io=qr((function(e,t){return zo(e)?ur(e,t):[]})),ao=qr((function(e){return di(Ot(e,zo))})),oo=qr((function(e){var t=Ga(e);return zo(t)&&(t=i),di(Ot(e,zo),aa(t,2))})),so=qr((function(e){var t=Ga(e);return t="function"==typeof t?t:i,di(Ot(e,zo),i,t)})),co=qr(no),uo=qr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,ro(e,n)}));function po(e){var t=Wn(e);return t.__chain__=!0,t}function lo(e,t){return t(e)}var fo=Qi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Un&&ha(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:lo,args:[a],thisArg:i}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)})),mo=Oi((function(e,t,n){Ce.call(e,n)?++e[n]:rr(e,n,1)})),ho=Ji(Ha),vo=Ji(Ua);function go(e,t){return(Do(e)?kt:pr)(e,aa(t,3))}function yo(e,t){return(Do(e)?jt:lr)(e,aa(t,3))}var xo=Oi((function(e,t,n){Ce.call(e,n)?e[n].push(t):rr(e,n,[t])})),bo=qr((function(e,t,n){var i=-1,a="function"==typeof t,o=Fo(e)?r(e.length):[];return pr(e,(function(e){o[++i]=a?Et(t,e,n):Or(e,t,n)})),o})),wo=Oi((function(e,t,n){rr(e,n,t)}));function _o(e,t){return(Do(e)?Rt:Nr)(e,aa(t,3))}var Eo=Oi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),So=qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&va(e,t[0],t[1])?t=[]:n>2&&va(t[0],t[1],t[2])&&(t=[t[0]]),Hr(e,hr(t,1),[])})),ko=ut||function(){return lt.Date.now()};function jo(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Gi(e,u,i,i,i,i,t)}function Ao(e,t){var n;if("function"!=typeof t)throw new Ae(a);return e=fs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Oo=qr((function(e,t,n){var r=1;if(n.length){var i=sn(n,ia(Oo));r|=c}return Gi(e,r,t,n,i)})),To=qr((function(e,t,n){var r=3;if(n.length){var i=sn(n,ia(To));r|=c}return Gi(t,r,e,n,i)}));function Po(e,t,n){var r,o,s,c,u,p,l=0,d=!1,f=!1,m=!0;if("function"!=typeof e)throw new Ae(a);function h(t){var n=r,a=o;return r=o=i,l=t,c=e.apply(a,n)}function v(e){var n=e-p;return p===i||n>=t||n<0||f&&e-l>=s}function g(){var e=ko();if(v(e))return y(e);u=Aa(g,function(e){var n=t-(e-p);return f?gn(n,s-(e-l)):n}(e))}function y(e){return u=i,m&&r?h(e):(r=o=i,c)}function x(){var e=ko(),n=v(e);if(r=arguments,o=this,p=e,n){if(u===i)return function(e){return l=e,u=Aa(g,t),d?h(e):c}(p);if(f)return xi(u),u=Aa(g,t),h(p)}return u===i&&(u=Aa(g,t)),c}return t=hs(t)||0,Qo(n)&&(d=!!n.leading,s=(f="maxWait"in n)?vn(hs(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),x.cancel=function(){u!==i&&xi(u),l=0,r=p=o=u=i},x.flush=function(){return u===i?c:y(ko())},x}var Ro=qr((function(e,t){return cr(e,1,t)})),Io=qr((function(e,t,n){return cr(e,hs(t)||0,n)}));function Co(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Co.Cache||Fn),n}function Lo(e){if("function"!=typeof e)throw new Ae(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Co.Cache=Fn;var Jo=gi((function(e,t){var n=(t=1==t.length&&Do(t[0])?Rt(t[0],Vt(aa())):Rt(hr(t,1),Vt(aa()))).length;return qr((function(r){for(var i=-1,a=gn(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return Et(e,this,r)}))})),No=qr((function(e,t){var n=sn(t,ia(No));return Gi(e,c,i,t,n)})),Ko=qr((function(e,t){var n=sn(t,ia(Ko));return Gi(e,64,i,t,n)})),Wo=Qi((function(e,t){return Gi(e,256,i,i,i,t)}));function $o(e,t){return e===t||e!=e&&t!=t}var Mo=Di(Sr),Ho=Di((function(e,t){return e>=t})),Uo=Tr(function(){return arguments}())?Tr:function(e){return es(e)&&Ce.call(e,"callee")&&!ze.call(e,"callee")},Do=r.isArray,Bo=gt?Vt(gt):function(e){return es(e)&&Er(e)==R};function Fo(e){return null!=e&&Zo(e.length)&&!Xo(e)}function zo(e){return es(e)&&Fo(e)}var qo=vt||hc,Go=yt?Vt(yt):function(e){return es(e)&&Er(e)==y};function Vo(e){if(!es(e))return!1;var t=Er(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Xo(e){if(!Qo(e))return!1;var t=Er(e);return t==b||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(e){return"number"==typeof e&&e==fs(e)}function Zo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function Qo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=xt?Vt(xt):function(e){return es(e)&&la(e)==_};function ns(e){return"number"==typeof e||es(e)&&Er(e)==E}function rs(e){if(!es(e)||Er(e)!=S)return!1;var t=Be(e);if(null===t)return!0;var n=Ce.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ie.call(n)==Ke}var is=bt?Vt(bt):function(e){return es(e)&&Er(e)==j},as=wt?Vt(wt):function(e){return es(e)&&la(e)==A};function os(e){return"string"==typeof e||!Do(e)&&es(e)&&Er(e)==O}function ss(e){return"symbol"==typeof e||es(e)&&Er(e)==T}var cs=_t?Vt(_t):function(e){return es(e)&&Zo(e.length)&&!!it[Er(e)]},us=Di(Jr),ps=Di((function(e,t){return e<=t}));function ls(e){if(!e)return[];if(Fo(e))return os(e)?ln(e):ji(e);if(Ve&&e[Ve])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ve]());var t=la(e);return(t==_?an:t==A?cn:$s)(e)}function ds(e){return e?(e=hs(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function fs(e){var t=ds(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ar(fs(e),0,f):0}function hs(e){if("number"==typeof e)return e;if(ss(e))return d;if(Qo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gt(e);var n=me.test(e);return n||ve.test(e)?ct(e.slice(2),n?2:8):fe.test(e)?d:+e}function vs(e){return Ai(e,Rs(e))}function gs(e){return null==e?"":oi(e)}var ys=Ti((function(e,t){if(ba(t)||Fo(t))Ai(t,Ps(t),e);else for(var n in t)Ce.call(t,n)&&Qn(e,n,t[n])})),xs=Ti((function(e,t){Ai(t,Rs(t),e)})),bs=Ti((function(e,t,n,r){Ai(t,Rs(t),e,r)})),ws=Ti((function(e,t,n,r){Ai(t,Ps(t),e,r)})),_s=Qi(ir),Es=qr((function(e,t){e=Se(e);var n=-1,r=t.length,a=r>2?t[2]:i;for(a&&va(t[0],t[1],a)&&(r=1);++n<r;)for(var o=t[n],s=Rs(o),c=-1,u=s.length;++c<u;){var p=s[c],l=e[p];(l===i||$o(l,Pe[p])&&!Ce.call(e,p))&&(e[p]=o[p])}return e})),Ss=qr((function(e){return e.push(i,Xi),Et(Cs,i,e)}));function ks(e,t,n){var r=null==e?i:wr(e,t);return r===i?n:r}function js(e,t){return null!=e&&da(e,t,jr)}var As=Wi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ne.call(t)),e[t]=n}),Qs(nc)),Os=Wi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ne.call(t)),Ce.call(e,t)?e[t].push(n):e[t]=[n]}),aa),Ts=qr(Or);function Ps(e){return Fo(e)?Gn(e):Lr(e)}function Rs(e){return Fo(e)?Gn(e,!0):function(e){if(!Qo(e))return function(e){var t=[];if(null!=e)for(var n in Se(e))t.push(n);return t}(e);var t=ba(e),n=[];for(var r in e)("constructor"!=r||!t&&Ce.call(e,r))&&n.push(r);return n}(e)}var Is=Ti((function(e,t,n){$r(e,t,n)})),Cs=Ti((function(e,t,n,r){$r(e,t,n,r)})),Ls=Qi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Rt(t,(function(t){return t=vi(t,e),r||(r=t.length>1),t})),Ai(e,ta(e),n),r&&(n=or(n,7,Yi));for(var i=t.length;i--;)ci(n,t[i]);return n})),Js=Qi((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return js(e,n)}))}(e,t)}));function Ns(e,t){if(null==e)return{};var n=Rt(ta(e),(function(e){return[e]}));return t=aa(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Ks=qi(Ps),Ws=qi(Rs);function $s(e){return null==e?[]:Xt(e,Ps(e))}var Ms=Ci((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Vs(gs(e).toLowerCase())}function Us(e){return(e=gs(e))&&e.replace(ye,en).replace(Ye,"")}var Ds=Ci((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Bs=Ci((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fs=Ii("toLowerCase"),zs=Ci((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),qs=Ci((function(e,t,n){return e+(n?" ":"")+Vs(t)})),Gs=Ci((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Vs=Ii("toUpperCase");function Xs(e,t,n){return e=gs(e),(t=n?i:t)===i?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var Ys=qr((function(e,t){try{return Et(e,i,t)}catch(e){return Vo(e)?e:new we(e)}})),Zs=Qi((function(e,t){return kt(t,(function(t){t=Ja(t),rr(e,t,Oo(e[t],e))})),e}));function Qs(e){return function(){return e}}var ec=Ni(),tc=Ni(!0);function nc(e){return e}function rc(e){return Cr("function"==typeof e?e:or(e,1))}var ic=qr((function(e,t){return function(n){return Or(n,e,t)}})),ac=qr((function(e,t){return function(n){return Or(e,n,t)}}));function oc(e,t,n){var r=Ps(t),i=br(t,r);null!=n||Qo(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=br(t,Ps(t)));var a=!(Qo(n)&&"chain"in n&&!n.chain),o=Xo(e);return kt(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=ji(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function sc(){}var cc=Mi(Rt),uc=Mi(At),pc=Mi(Jt);function lc(e){return ga(e)?Dt(Ja(e)):function(e){return function(t){return wr(t,e)}}(e)}var dc=Ui(),fc=Ui(!0);function mc(){return[]}function hc(){return!1}var vc,gc=$i((function(e,t){return e+t}),0),yc=Fi("ceil"),xc=$i((function(e,t){return e/t}),1),bc=Fi("floor"),wc=$i((function(e,t){return e*t}),1),_c=Fi("round"),Ec=$i((function(e,t){return e-t}),0);return Wn.after=function(e,t){if("function"!=typeof t)throw new Ae(a);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},Wn.ary=jo,Wn.assign=ys,Wn.assignIn=xs,Wn.assignInWith=bs,Wn.assignWith=ws,Wn.at=_s,Wn.before=Ao,Wn.bind=Oo,Wn.bindAll=Zs,Wn.bindKey=To,Wn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Do(e)?e:[e]},Wn.chain=po,Wn.chunk=function(e,t,n){t=(n?va(e,t,n):t===i)?1:vn(fs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,c=r(dt(a/t));o<a;)c[s++]=ei(e,o,o+=t);return c},Wn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},Wn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return It(Do(n)?ji(n):[n],hr(t,1))},Wn.cond=function(e){var t=null==e?0:e.length,n=aa();return e=t?Rt(e,(function(e){if("function"!=typeof e[1])throw new Ae(a);return[n(e[0]),e[1]]})):[],qr((function(n){for(var r=-1;++r<t;){var i=e[r];if(Et(i[0],this,n))return Et(i[1],this,n)}}))},Wn.conforms=function(e){return function(e){var t=Ps(e);return function(n){return sr(n,e,t)}}(or(e,1))},Wn.constant=Qs,Wn.countBy=mo,Wn.create=function(e,t){var n=$n(e);return null==t?n:nr(n,t)},Wn.curry=function e(t,n,r){var a=Gi(t,8,i,i,i,i,i,n=r?i:n);return a.placeholder=e.placeholder,a},Wn.curryRight=function e(t,n,r){var a=Gi(t,16,i,i,i,i,i,n=r?i:n);return a.placeholder=e.placeholder,a},Wn.debounce=Po,Wn.defaults=Es,Wn.defaultsDeep=Ss,Wn.defer=Ro,Wn.delay=Io,Wn.difference=Wa,Wn.differenceBy=$a,Wn.differenceWith=Ma,Wn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=n||t===i?1:fs(t))<0?0:t,r):[]},Wn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,0,(t=r-(t=n||t===i?1:fs(t)))<0?0:t):[]},Wn.dropRightWhile=function(e,t){return e&&e.length?pi(e,aa(t,3),!0,!0):[]},Wn.dropWhile=function(e,t){return e&&e.length?pi(e,aa(t,3),!0):[]},Wn.fill=function(e,t,n,r){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&va(e,t,n)&&(n=0,r=a),function(e,t,n,r){var a=e.length;for((n=fs(n))<0&&(n=-n>a?0:a+n),(r=r===i||r>a?a:fs(r))<0&&(r+=a),r=n>r?0:ms(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Wn.filter=function(e,t){return(Do(e)?Ot:mr)(e,aa(t,3))},Wn.flatMap=function(e,t){return hr(_o(e,t),1)},Wn.flatMapDeep=function(e,t){return hr(_o(e,t),p)},Wn.flatMapDepth=function(e,t,n){return n=n===i?1:fs(n),hr(_o(e,t),n)},Wn.flatten=Da,Wn.flattenDeep=function(e){return null!=e&&e.length?hr(e,p):[]},Wn.flattenDepth=function(e,t){return null!=e&&e.length?hr(e,t=t===i?1:fs(t)):[]},Wn.flip=function(e){return Gi(e,512)},Wn.flow=ec,Wn.flowRight=tc,Wn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Wn.functions=function(e){return null==e?[]:br(e,Ps(e))},Wn.functionsIn=function(e){return null==e?[]:br(e,Rs(e))},Wn.groupBy=xo,Wn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Wn.intersection=Fa,Wn.intersectionBy=za,Wn.intersectionWith=qa,Wn.invert=As,Wn.invertBy=Os,Wn.invokeMap=bo,Wn.iteratee=rc,Wn.keyBy=wo,Wn.keys=Ps,Wn.keysIn=Rs,Wn.map=_o,Wn.mapKeys=function(e,t){var n={};return t=aa(t,3),yr(e,(function(e,r,i){rr(n,t(e,r,i),e)})),n},Wn.mapValues=function(e,t){var n={};return t=aa(t,3),yr(e,(function(e,r,i){rr(n,r,t(e,r,i))})),n},Wn.matches=function(e){return Kr(or(e,1))},Wn.matchesProperty=function(e,t){return Wr(e,or(t,1))},Wn.memoize=Co,Wn.merge=Is,Wn.mergeWith=Cs,Wn.method=ic,Wn.methodOf=ac,Wn.mixin=oc,Wn.negate=Lo,Wn.nthArg=function(e){return e=fs(e),qr((function(t){return Mr(t,e)}))},Wn.omit=Ls,Wn.omitBy=function(e,t){return Ns(e,Lo(aa(t)))},Wn.once=function(e){return Ao(2,e)},Wn.orderBy=function(e,t,n,r){return null==e?[]:(Do(t)||(t=null==t?[]:[t]),Do(n=r?i:n)||(n=null==n?[]:[n]),Hr(e,t,n))},Wn.over=cc,Wn.overArgs=Jo,Wn.overEvery=uc,Wn.overSome=pc,Wn.partial=No,Wn.partialRight=Ko,Wn.partition=Eo,Wn.pick=Js,Wn.pickBy=Ns,Wn.property=lc,Wn.propertyOf=function(e){return function(t){return null==e?i:wr(e,t)}},Wn.pull=Va,Wn.pullAll=Xa,Wn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Dr(e,t,aa(n,2)):e},Wn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Dr(e,t,i,n):e},Wn.pullAt=Ya,Wn.range=dc,Wn.rangeRight=fc,Wn.rearg=Wo,Wn.reject=function(e,t){return(Do(e)?Ot:mr)(e,Lo(aa(t,3)))},Wn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=aa(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return Br(e,i),n},Wn.rest=function(e,t){if("function"!=typeof e)throw new Ae(a);return qr(e,t=t===i?t:fs(t))},Wn.reverse=Za,Wn.sampleSize=function(e,t,n){return t=(n?va(e,t,n):t===i)?1:fs(t),(Do(e)?Xn:Vr)(e,t)},Wn.set=function(e,t,n){return null==e?e:Xr(e,t,n)},Wn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Xr(e,t,n,r)},Wn.shuffle=function(e){return(Do(e)?Yn:Qr)(e)},Wn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&va(e,t,n)?(t=0,n=r):(t=null==t?0:fs(t),n=n===i?r:fs(n)),ei(e,t,n)):[]},Wn.sortBy=So,Wn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Wn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,aa(t,2)):[]},Wn.split=function(e,t,n){return n&&"number"!=typeof n&&va(e,t,n)&&(t=n=i),(n=n===i?f:n>>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=oi(t))&&rn(e)?yi(ln(e),0,n):e.split(t,n):[]},Wn.spread=function(e,t){if("function"!=typeof e)throw new Ae(a);return t=null==t?0:vn(fs(t),0),qr((function(n){var r=n[t],i=yi(n,0,t);return r&&It(i,r),Et(e,this,i)}))},Wn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Wn.take=function(e,t,n){return e&&e.length?ei(e,0,(t=n||t===i?1:fs(t))<0?0:t):[]},Wn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=r-(t=n||t===i?1:fs(t)))<0?0:t,r):[]},Wn.takeRightWhile=function(e,t){return e&&e.length?pi(e,aa(t,3),!1,!0):[]},Wn.takeWhile=function(e,t){return e&&e.length?pi(e,aa(t,3)):[]},Wn.tap=function(e,t){return t(e),e},Wn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ae(a);return Qo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Po(e,t,{leading:r,maxWait:t,trailing:i})},Wn.thru=lo,Wn.toArray=ls,Wn.toPairs=Ks,Wn.toPairsIn=Ws,Wn.toPath=function(e){return Do(e)?Rt(e,Ja):ss(e)?[e]:ji(La(gs(e)))},Wn.toPlainObject=vs,Wn.transform=function(e,t,n){var r=Do(e),i=r||qo(e)||cs(e);if(t=aa(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:Qo(e)&&Xo(a)?$n(Be(e)):{}}return(i?kt:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Wn.unary=function(e){return jo(e,1)},Wn.union=Qa,Wn.unionBy=eo,Wn.unionWith=to,Wn.uniq=function(e){return e&&e.length?si(e):[]},Wn.uniqBy=function(e,t){return e&&e.length?si(e,aa(t,2)):[]},Wn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?si(e,i,t):[]},Wn.unset=function(e,t){return null==e||ci(e,t)},Wn.unzip=no,Wn.unzipWith=ro,Wn.update=function(e,t,n){return null==e?e:ui(e,t,hi(n))},Wn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ui(e,t,hi(n),r)},Wn.values=$s,Wn.valuesIn=function(e){return null==e?[]:Xt(e,Rs(e))},Wn.without=io,Wn.words=Xs,Wn.wrap=function(e,t){return No(hi(t),e)},Wn.xor=ao,Wn.xorBy=oo,Wn.xorWith=so,Wn.zip=co,Wn.zipObject=function(e,t){return fi(e||[],t||[],Qn)},Wn.zipObjectDeep=function(e,t){return fi(e||[],t||[],Xr)},Wn.zipWith=uo,Wn.entries=Ks,Wn.entriesIn=Ws,Wn.extend=xs,Wn.extendWith=bs,oc(Wn,Wn),Wn.add=gc,Wn.attempt=Ys,Wn.camelCase=Ms,Wn.capitalize=Hs,Wn.ceil=yc,Wn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=hs(n))==n?n:0),t!==i&&(t=(t=hs(t))==t?t:0),ar(hs(e),t,n)},Wn.clone=function(e){return or(e,4)},Wn.cloneDeep=function(e){return or(e,5)},Wn.cloneDeepWith=function(e,t){return or(e,5,t="function"==typeof t?t:i)},Wn.cloneWith=function(e,t){return or(e,4,t="function"==typeof t?t:i)},Wn.conformsTo=function(e,t){return null==t||sr(e,t,Ps(t))},Wn.deburr=Us,Wn.defaultTo=function(e,t){return null==e||e!=e?t:e},Wn.divide=xc,Wn.endsWith=function(e,t,n){e=gs(e),t=oi(t);var r=e.length,a=n=n===i?r:ar(fs(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},Wn.eq=$o,Wn.escape=function(e){return(e=gs(e))&&G.test(e)?e.replace(z,tn):e},Wn.escapeRegExp=function(e){return(e=gs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Wn.every=function(e,t,n){var r=Do(e)?At:dr;return n&&va(e,t,n)&&(t=i),r(e,aa(t,3))},Wn.find=ho,Wn.findIndex=Ha,Wn.findKey=function(e,t){return Kt(e,aa(t,3),yr)},Wn.findLast=vo,Wn.findLastIndex=Ua,Wn.findLastKey=function(e,t){return Kt(e,aa(t,3),xr)},Wn.floor=bc,Wn.forEach=go,Wn.forEachRight=yo,Wn.forIn=function(e,t){return null==e?e:vr(e,aa(t,3),Rs)},Wn.forInRight=function(e,t){return null==e?e:gr(e,aa(t,3),Rs)},Wn.forOwn=function(e,t){return e&&yr(e,aa(t,3))},Wn.forOwnRight=function(e,t){return e&&xr(e,aa(t,3))},Wn.get=ks,Wn.gt=Mo,Wn.gte=Ho,Wn.has=function(e,t){return null!=e&&da(e,t,kr)},Wn.hasIn=js,Wn.head=Ba,Wn.identity=nc,Wn.includes=function(e,t,n,r){e=Fo(e)?e:$s(e),n=n&&!r?fs(n):0;var i=e.length;return n<0&&(n=vn(i+n,0)),os(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&$t(e,t,n)>-1},Wn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:fs(n);return i<0&&(i=vn(r+i,0)),$t(e,t,i)},Wn.inRange=function(e,t,n){return t=ds(t),n===i?(n=t,t=0):n=ds(n),function(e,t,n){return e>=gn(t,n)&&e<vn(t,n)}(e=hs(e),t,n)},Wn.invoke=Ts,Wn.isArguments=Uo,Wn.isArray=Do,Wn.isArrayBuffer=Bo,Wn.isArrayLike=Fo,Wn.isArrayLikeObject=zo,Wn.isBoolean=function(e){return!0===e||!1===e||es(e)&&Er(e)==g},Wn.isBuffer=qo,Wn.isDate=Go,Wn.isElement=function(e){return es(e)&&1===e.nodeType&&!rs(e)},Wn.isEmpty=function(e){if(null==e)return!0;if(Fo(e)&&(Do(e)||"string"==typeof e||"function"==typeof e.splice||qo(e)||cs(e)||Uo(e)))return!e.length;var t=la(e);if(t==_||t==A)return!e.size;if(ba(e))return!Lr(e).length;for(var n in e)if(Ce.call(e,n))return!1;return!0},Wn.isEqual=function(e,t){return Pr(e,t)},Wn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Pr(e,t,i,n):!!r},Wn.isError=Vo,Wn.isFinite=function(e){return"number"==typeof e&&Nt(e)},Wn.isFunction=Xo,Wn.isInteger=Yo,Wn.isLength=Zo,Wn.isMap=ts,Wn.isMatch=function(e,t){return e===t||Rr(e,t,sa(t))},Wn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Rr(e,t,sa(t),n)},Wn.isNaN=function(e){return ns(e)&&e!=+e},Wn.isNative=function(e){if(xa(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ir(e)},Wn.isNil=function(e){return null==e},Wn.isNull=function(e){return null===e},Wn.isNumber=ns,Wn.isObject=Qo,Wn.isObjectLike=es,Wn.isPlainObject=rs,Wn.isRegExp=is,Wn.isSafeInteger=function(e){return Yo(e)&&e>=-9007199254740991&&e<=l},Wn.isSet=as,Wn.isString=os,Wn.isSymbol=ss,Wn.isTypedArray=cs,Wn.isUndefined=function(e){return e===i},Wn.isWeakMap=function(e){return es(e)&&la(e)==P},Wn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==Er(e)},Wn.join=function(e,t){return null==e?"":Bt.call(e,t)},Wn.kebabCase=Ds,Wn.last=Ga,Wn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==i&&(a=(a=fs(n))<0?vn(r+a,0):gn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):Wt(e,Ht,a,!0)},Wn.lowerCase=Bs,Wn.lowerFirst=Fs,Wn.lt=us,Wn.lte=ps,Wn.max=function(e){return e&&e.length?fr(e,nc,Sr):i},Wn.maxBy=function(e,t){return e&&e.length?fr(e,aa(t,2),Sr):i},Wn.mean=function(e){return Ut(e,nc)},Wn.meanBy=function(e,t){return Ut(e,aa(t,2))},Wn.min=function(e){return e&&e.length?fr(e,nc,Jr):i},Wn.minBy=function(e,t){return e&&e.length?fr(e,aa(t,2),Jr):i},Wn.stubArray=mc,Wn.stubFalse=hc,Wn.stubObject=function(){return{}},Wn.stubString=function(){return""},Wn.stubTrue=function(){return!0},Wn.multiply=wc,Wn.nth=function(e,t){return e&&e.length?Mr(e,fs(t)):i},Wn.noConflict=function(){return lt._===this&&(lt._=We),this},Wn.noop=sc,Wn.now=ko,Wn.pad=function(e,t,n){e=gs(e);var r=(t=fs(t))?pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Hi(ft(i),n)+e+Hi(dt(i),n)},Wn.padEnd=function(e,t,n){e=gs(e);var r=(t=fs(t))?pn(e):0;return t&&r<t?e+Hi(t-r,n):e},Wn.padStart=function(e,t,n){e=gs(e);var r=(t=fs(t))?pn(e):0;return t&&r<t?Hi(t-r,n)+e:e},Wn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),xn(gs(e).replace(re,""),t||0)},Wn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&va(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ds(e),t===i?(t=e,e=0):t=ds(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var a=bn();return gn(e+a*(t-e+st("1e-"+((a+"").length-1))),t)}return Fr(e,t)},Wn.reduce=function(e,t,n){var r=Do(e)?Ct:Ft,i=arguments.length<3;return r(e,aa(t,4),n,i,pr)},Wn.reduceRight=function(e,t,n){var r=Do(e)?Lt:Ft,i=arguments.length<3;return r(e,aa(t,4),n,i,lr)},Wn.repeat=function(e,t,n){return t=(n?va(e,t,n):t===i)?1:fs(t),zr(gs(e),t)},Wn.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Wn.result=function(e,t,n){var r=-1,a=(t=vi(t,e)).length;for(a||(a=1,e=i);++r<a;){var o=null==e?i:e[Ja(t[r])];o===i&&(r=a,o=n),e=Xo(o)?o.call(e):o}return e},Wn.round=_c,Wn.runInContext=e,Wn.sample=function(e){return(Do(e)?Vn:Gr)(e)},Wn.size=function(e){if(null==e)return 0;if(Fo(e))return os(e)?pn(e):e.length;var t=la(e);return t==_||t==A?e.size:Lr(e).length},Wn.snakeCase=zs,Wn.some=function(e,t,n){var r=Do(e)?Jt:ti;return n&&va(e,t,n)&&(t=i),r(e,aa(t,3))},Wn.sortedIndex=function(e,t){return ni(e,t)},Wn.sortedIndexBy=function(e,t,n){return ri(e,t,aa(n,2))},Wn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&$o(e[r],t))return r}return-1},Wn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Wn.sortedLastIndexBy=function(e,t,n){return ri(e,t,aa(n,2),!0)},Wn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if($o(e[n],t))return n}return-1},Wn.startCase=qs,Wn.startsWith=function(e,t,n){return e=gs(e),n=null==n?0:ar(fs(n),0,e.length),t=oi(t),e.slice(n,n+t.length)==t},Wn.subtract=Ec,Wn.sum=function(e){return e&&e.length?zt(e,nc):0},Wn.sumBy=function(e,t){return e&&e.length?zt(e,aa(t,2)):0},Wn.template=function(e,t,n){var r=Wn.templateSettings;n&&va(e,t,n)&&(t=i),e=gs(e),t=bs({},t,r,Vi);var a,o,s=bs({},t.imports,r.imports,Vi),c=Ps(s),u=Xt(s,c),p=0,l=t.interpolate||xe,d="__p += '",f=ke((t.escape||xe).source+"|"+l.source+"|"+(l===Y?le:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),m="//# sourceURL="+(Ce.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(f,(function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(p,c).replace(be,nn),n&&(a=!0,d+="' +\n__e("+n+") +\n'"),s&&(o=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),p=c+t.length,t})),d+="';\n";var h=Ce.call(t,"variable")&&t.variable;if(h){if(ue.test(h))throw new we("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(U,""):d).replace(D,"$1").replace(B,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Ys((function(){return _e(c,m+"return "+d).apply(i,u)}));if(v.source=d,Vo(v))throw v;return v},Wn.times=function(e,t){if((e=fs(e))<1||e>l)return[];var n=f,r=gn(e,f);t=aa(t),e-=f;for(var i=qt(r,t);++n<e;)t(n);return i},Wn.toFinite=ds,Wn.toInteger=fs,Wn.toLength=ms,Wn.toLower=function(e){return gs(e).toLowerCase()},Wn.toNumber=hs,Wn.toSafeInteger=function(e){return e?ar(fs(e),-9007199254740991,l):0===e?e:0},Wn.toString=gs,Wn.toUpper=function(e){return gs(e).toUpperCase()},Wn.trim=function(e,t,n){if((e=gs(e))&&(n||t===i))return Gt(e);if(!e||!(t=oi(t)))return e;var r=ln(e),a=ln(t);return yi(r,Zt(r,a),Qt(r,a)+1).join("")},Wn.trimEnd=function(e,t,n){if((e=gs(e))&&(n||t===i))return e.slice(0,dn(e)+1);if(!e||!(t=oi(t)))return e;var r=ln(e);return yi(r,0,Qt(r,ln(t))+1).join("")},Wn.trimStart=function(e,t,n){if((e=gs(e))&&(n||t===i))return e.replace(re,"");if(!e||!(t=oi(t)))return e;var r=ln(e);return yi(r,Zt(r,ln(t))).join("")},Wn.truncate=function(e,t){var n=30,r="...";if(Qo(t)){var a="separator"in t?t.separator:a;n="length"in t?fs(t.length):n,r="omission"in t?oi(t.omission):r}var o=(e=gs(e)).length;if(rn(e)){var s=ln(e);o=s.length}if(n>=o)return e;var c=n-pn(r);if(c<1)return r;var u=s?yi(s,0,c).join(""):e.slice(0,c);if(a===i)return u+r;if(s&&(c+=u.length-c),is(a)){if(e.slice(c).search(a)){var p,l=u;for(a.global||(a=ke(a.source,gs(de.exec(a))+"g")),a.lastIndex=0;p=a.exec(l);)var d=p.index;u=u.slice(0,d===i?c:d)}}else if(e.indexOf(oi(a),c)!=c){var f=u.lastIndexOf(a);f>-1&&(u=u.slice(0,f))}return u+r},Wn.unescape=function(e){return(e=gs(e))&&q.test(e)?e.replace(F,fn):e},Wn.uniqueId=function(e){var t=++Le;return gs(e)+t},Wn.upperCase=Gs,Wn.upperFirst=Vs,Wn.each=go,Wn.eachRight=yo,Wn.first=Ba,oc(Wn,(vc={},yr(Wn,(function(e,t){Ce.call(Wn.prototype,t)||(vc[t]=e)})),vc),{chain:!1}),Wn.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Wn[e].placeholder=Wn})),kt(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===i?1:vn(fs(n),0);var r=this.__filtered__&&!t?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,f),type:e+(r.__dir__<0?"Right":"")}),r},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:aa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(nc)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=qr((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Or(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Lo(aa(e)))},Un.prototype.slice=function(e,t){e=fs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Un(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=fs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(f)},yr(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=Wn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);a&&(Wn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof Un,u=s[0],p=c||Do(t),l=function(e){var t=a.apply(Wn,It([e],s));return r&&d?t[0]:t};p&&n&&"function"==typeof u&&1!=u.length&&(c=p=!1);var d=this.__chain__,f=!!this.__actions__.length,m=o&&!d,h=c&&!f;if(!o&&p){t=h?t:new Un(this);var v=e.apply(t,s);return v.__actions__.push({func:lo,args:[l],thisArg:i}),new Hn(v,d)}return m&&h?e.apply(this,s):(v=this.thru(l),m?r?v.value()[0]:v.value():v)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Oe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Wn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Do(i)?i:[],e)}return this[n]((function(n){return t.apply(Do(n)?n:[],e)}))}})),yr(Un.prototype,(function(e,t){var n=Wn[t];if(n){var r=n.name+"";Ce.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[Ki(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=ji(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ji(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ji(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Do(e),r=t<0,i=n?e.length:0,a=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=gn(t,e+o);break;case"takeRight":e=vn(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,u=r?s:o-1,p=this.__iteratees__,l=p.length,d=0,f=gn(c,this.__takeCount__);if(!n||!r&&i==c&&f==c)return li(e,this.__actions__);var m=[];e:for(;c--&&d<f;){for(var h=-1,v=e[u+=t];++h<l;){var g=p[h],y=g.iteratee,x=g.type,b=y(v);if(2==x)v=b;else if(!b){if(1==x)continue e;break e}}m[d++]=v}return m},Wn.prototype.at=fo,Wn.prototype.chain=function(){return po(this)},Wn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Wn.prototype.next=function(){this.__values__===i&&(this.__values__=ls(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Wn.prototype.plant=function(e){for(var t,n=this;n instanceof Mn;){var r=Ka(n);r.__index__=0,r.__values__=i,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},Wn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:lo,args:[Za],thisArg:i}),new Hn(t,this.__chain__)}return this.thru(Za)},Wn.prototype.toJSON=Wn.prototype.valueOf=Wn.prototype.value=function(){return li(this.__wrapped__,this.__actions__)},Wn.prototype.first=Wn.prototype.head,Ve&&(Wn.prototype[Ve]=function(){return this}),Wn}();lt._=mn,(r=function(){return mn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},9831:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}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(r(arguments[t]));return e},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],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(1901)),c=n(4434),u=o(n(7193)),p=n(7644),l=n(3503);function d(e){var t=new s.default(e),n=e.load,r=e.hash,o=e.bypass,l=e.itemMaxAge,d=e.freeze,f=e.clone,m=e.queueMaxAge||1e3,h=new Map,v=new c.EventEmitter,g=Object.assign({del:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var a=r.apply(void 0,i(e));t.del(a)},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,g);function y(e,t){var n,r;try{for(var o=a(e),s=o.next();!s.done;s=o.next()){var c=s.value;f?setImmediate.apply(void 0,i([c],t.map(u.default))):setImmediate.apply(void 0,i([c],t))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function x(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=[],a=0;a<arguments.length;a++)e[a]=arguments[a];var s,c=e.slice(0,-1),u=e.slice(-1).pop();if(o&&o.apply(void 0,i(c)))return x.apply(void 0,i(["miss"],c)),n.apply(void 0,i(e));s=0!==c.length||r?r.apply(void 0,i(c)):"_";var f=t.get(s);if(f)return x.apply(void 0,i(["hit"],c)),y([u],[null].concat(f));var v=h.get(s);if(v&&v.expiresAt>Date.now())return v.queue.push(u),void x.apply(void 0,i(["queue"],c));x.apply(void 0,i(["miss"],c));var g=Date.now(),b=[u];h.set(s,{queue:b,expiresAt:g+m}),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,r){d&&r.forEach(p.deepFreeze),l?t.set(e,r,l.apply(void 0,i(n.concat(r)))):t.set(e,r)}(s,c,e.slice(1)),h.delete(s),x.apply(void 0,i(["loaded",Date.now()-g],c)),y(b,e)}]))}),g)}t.asyncMemoizer=d,d.sync=l.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 r=n(9831);e.exports=r.asyncMemoizer},3503:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}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(r(arguments[t]));return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.syncMemoizer=void 0;var o=a(n(1901)),s=n(4434),c=a(n(7193)),u=n(7644);t.syncMemoizer=function(e){var t=new o.default(e),n=e.load,r=e.hash,a=e.bypass,p=e.itemMaxAge,l=e.freeze,d=e.clone,f=new s.EventEmitter,m=Object.assign({del:function(){var e=r.apply(void 0,i(arguments));t.del(e)},reset:function(){return t.reset()},keys:t.keys.bind(t),on:f.on.bind(f),once:f.once.bind(f)},e);if(e.disable)return Object.assign(n,m);function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.emit.apply(f,i([e],t))}function v(e){return e&&e.then&&"function"==typeof e.then}function g(e){var t=e;return d&&(t=v(t)?t.then(c.default):c.default(t)),l&&(v(t)?t=t.then(u.deepFreeze):u.deepFreeze(t)),t}return Object.assign((function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];if(a&&a.apply(void 0,i(e)))return h.apply(void 0,i(["miss"],e)),n.apply(void 0,i(e));var s=r.apply(void 0,i(e)),c=t.get(s);if(c)return h.apply(void 0,i(["hit"],e)),g(c);h.apply(void 0,i(["miss"],e));var u=n.apply(void 0,i(e));return p?t.set(s,u,p.apply(void 0,i(e.concat([u])))):t.set(s,u),g(u)}),m)}},1901:(e,t,n)=>{e.exports=l;var r,i=n(7089),a=n(9023),o=n(349),s={},c="function"==typeof Symbol;function u(e,t,n){var i;return s[t]?i=s[t]:(i=r(t),s[t]=i),2===arguments.length?e[i]:(e[i]=n,n)}function p(){return 1}function l(e){if(!(this instanceof l))return new l(e);"number"==typeof e&&(e={max:e}),e||(e={});var t=u(this,"max",e.max);(!t||"number"!=typeof t||t<=0)&&u(this,"max",1/0);var n=e.length||p;"function"!=typeof n&&(n=p),u(this,"lengthCalculator",n),u(this,"allowStale",e.stale||!1),u(this,"maxAge",e.maxAge||0),u(this,"dispose",e.dispose),this.reset()}function d(e,t,n,r){var i=n.value;m(e,i)&&(v(e,n),u(e,"allowStale")||(i=void 0)),i&&t.call(r,i.value,i.key,e)}function f(e,t,n){var r=u(e,"cache").get(t);if(r){var i=r.value;m(e,i)?(v(e,r),u(e,"allowStale")||(i=void 0)):n&&u(e,"lruList").unshiftNode(r),i&&(i=i.value)}return i}function m(e,t){if(!t||!t.maxAge&&!u(e,"maxAge"))return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:u(e,"maxAge")&&n>u(e,"maxAge")}function h(e){if(u(e,"length")>u(e,"max"))for(var t=u(e,"lruList").tail;u(e,"length")>u(e,"max")&&null!==t;){var n=t.prev;v(e,t),t=n}}function v(e,t){if(t){var n=t.value;u(e,"dispose")&&u(e,"dispose").call(this,n.key,n.value),u(e,"length",u(e,"length")-n.length),u(e,"cache").delete(n.key),u(e,"lruList").removeNode(t)}}function g(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}r=c?function(e){return Symbol.for(e)}:function(e){return"_"+e},Object.defineProperty(l.prototype,"max",{set:function(e){(!e||"number"!=typeof e||e<=0)&&(e=1/0),u(this,"max",e),h(this)},get:function(){return u(this,"max")},enumerable:!0}),Object.defineProperty(l.prototype,"allowStale",{set:function(e){u(this,"allowStale",!!e)},get:function(){return u(this,"allowStale")},enumerable:!0}),Object.defineProperty(l.prototype,"maxAge",{set:function(e){(!e||"number"!=typeof e||e<0)&&(e=0),u(this,"maxAge",e),h(this)},get:function(){return u(this,"maxAge")},enumerable:!0}),Object.defineProperty(l.prototype,"lengthCalculator",{set:function(e){"function"!=typeof e&&(e=p),e!==u(this,"lengthCalculator")&&(u(this,"lengthCalculator",e),u(this,"length",0),u(this,"lruList").forEach((function(e){e.length=u(this,"lengthCalculator").call(this,e.value,e.key),u(this,"length",u(this,"length")+e.length)}),this)),h(this)},get:function(){return u(this,"lengthCalculator")},enumerable:!0}),Object.defineProperty(l.prototype,"length",{get:function(){return u(this,"length")},enumerable:!0}),Object.defineProperty(l.prototype,"itemCount",{get:function(){return u(this,"lruList").length},enumerable:!0}),l.prototype.rforEach=function(e,t){t=t||this;for(var n=u(this,"lruList").tail;null!==n;){var r=n.prev;d(this,e,n,t),n=r}},l.prototype.forEach=function(e,t){t=t||this;for(var n=u(this,"lruList").head;null!==n;){var r=n.next;d(this,e,n,t),n=r}},l.prototype.keys=function(){return u(this,"lruList").toArray().map((function(e){return e.key}),this)},l.prototype.values=function(){return u(this,"lruList").toArray().map((function(e){return e.value}),this)},l.prototype.reset=function(){u(this,"dispose")&&u(this,"lruList")&&u(this,"lruList").length&&u(this,"lruList").forEach((function(e){u(this,"dispose").call(this,e.key,e.value)}),this),u(this,"cache",new i),u(this,"lruList",new o),u(this,"length",0)},l.prototype.dump=function(){return u(this,"lruList").map((function(e){if(!m(this,e))return{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}}),this).toArray().filter((function(e){return e}))},l.prototype.dumpLru=function(){return u(this,"lruList")},l.prototype.inspect=function(e,t){var n="LRUCache {",r=!1;u(this,"allowStale")&&(n+="\n allowStale: true",r=!0);var i=u(this,"max");i&&i!==1/0&&(r&&(n+=","),n+="\n max: "+a.inspect(i,t),r=!0);var o=u(this,"maxAge");o&&(r&&(n+=","),n+="\n maxAge: "+a.inspect(o,t),r=!0);var s=u(this,"lengthCalculator");s&&s!==p&&(r&&(n+=","),n+="\n length: "+a.inspect(u(this,"length"),t),r=!0);var c=!1;return u(this,"lruList").forEach((function(e){c?n+=",\n ":(r&&(n+=",\n"),c=!0,n+="\n ");var i=a.inspect(e.key).split("\n").join("\n "),u={value:e.value};e.maxAge!==o&&(u.maxAge=e.maxAge),s!==p&&(u.length=e.length),m(this,e)&&(u.stale=!0),u=a.inspect(u,t).split("\n").join("\n "),n+=i+" => "+u})),(c||r)&&(n+="\n"),n+="}"},l.prototype.set=function(e,t,n){var r=(n=n||u(this,"maxAge"))?Date.now():0,i=u(this,"lengthCalculator").call(this,t,e);if(u(this,"cache").has(e)){if(i>u(this,"max"))return v(this,u(this,"cache").get(e)),!1;var a=u(this,"cache").get(e).value;return u(this,"dispose")&&u(this,"dispose").call(this,e,a.value),a.now=r,a.maxAge=n,a.value=t,u(this,"length",u(this,"length")+(i-a.length)),a.length=i,this.get(e),h(this),!0}var o=new g(e,t,i,r,n);return o.length>u(this,"max")?(u(this,"dispose")&&u(this,"dispose").call(this,e,t),!1):(u(this,"length",u(this,"length")+o.length),u(this,"lruList").unshift(o),u(this,"cache").set(e,u(this,"lruList").head),h(this),!0)},l.prototype.has=function(e){return!!u(this,"cache").has(e)&&!m(this,u(this,"cache").get(e).value)},l.prototype.get=function(e){return f(this,e,!0)},l.prototype.peek=function(e){return f(this,e,!1)},l.prototype.pop=function(){var e=u(this,"lruList").tail;return e?(v(this,e),e.value):null},l.prototype.del=function(e){v(this,u(this,"cache").get(e))},l.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var a=i-t;a>0&&this.set(r.k,r.v,a)}}},l.prototype.prune=function(){var e=this;u(this,"cache").forEach((function(t,n){f(e,n,!1)}))}},349:e=>{function t(e){var n=this;if(n instanceof t||(n=new t),n.tail=null,n.head=null,n.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){n.push(e)}));else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)n.push(arguments[r]);return n}function n(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function r(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,n,r){if(!(this instanceof i))return new i(e,t,n,r);this.list=r,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=t,t.Node=i,t.create=t,t.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;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.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++}},t.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++}},t.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)n(this,arguments[e]);return this.length},t.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)r(this,arguments[e]);return this.length},t.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}},t.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}},t.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},t.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},t.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},t.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},t.prototype.map=function(e,n){n=n||this;for(var r=new t,i=this.head;null!==i;)r.push(e.call(n,i.value,this)),i=i.next;return r},t.prototype.mapReverse=function(e,n){n=n||this;for(var r=new t,i=this.tail;null!==i;)r.push(e.call(n,i.value,this)),i=i.prev;return r},t.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},t.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},t.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},t.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},t.prototype.slice=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var r=new t;if(n<e||n<0)return r;e<0&&(e=0),n>this.length&&(n=this.length);for(var i=0,a=this.head;null!==a&&i<e;i++)a=a.next;for(;null!==a&&i<n;i++,a=a.next)r.push(a.value);return r},t.prototype.sliceReverse=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var r=new t;if(n<e||n<0)return r;e<0&&(e=0),n>this.length&&(n=this.length);for(var i=this.length,a=this.tail;null!==a&&i>n;i--)a=a.prev;for(;null!==a&&i>e;i--,a=a.prev)r.push(a.value);return r},t.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},7598:(e,t,n)=>{e.exports=n(1813)},6049:(e,t,n)=>{"use strict";var r,i,a,o=n(7598),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;function p(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||!u.test(t[1]))&&"UTF-8"}t.charset=p,t.charsets={lookup:p},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 r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),r=n&&t.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[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),r=t.extensions,i=t.types,a=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){r[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var u=a.indexOf(o[i[c]].source),p=a.indexOf(t.source);if("application/octet-stream"!==i[c]&&(u>p||u===p&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},6585:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,a=7*i;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,u,p=typeof e;if("string"===p&&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*a;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;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"===p&&isFinite(e))return s.long?(c=e,(u=Math.abs(c))>=i?o(c,u,i,"day"):u>=r?o(c,u,r,"hour"):u>=n?o(c,u,n,"minute"):u>=t?o(c,u,t,"second"):c+" ms"):function(e){var a=Math.abs(e);return a>=i?Math.round(e/i)+"d":a>=r?Math.round(e/r)+"h":a>=n?Math.round(e/n)+"m":a>=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 r=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},a=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?r(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 r=n.match(/^(.+):(\d+)$/),i=r?r[1]:n,o=r?parseInt(r[2]):0;return!(!o||o===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!a.call(e,i)):e!==i)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var u=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return u&&-1===u.indexOf("://")&&(u=n+"://"+u),u}},7089:(e,t,n)=>{"pseudomap"===process.env.npm_package_name&&"test"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||process.env.TEST_PSEUDOMAP?e.exports=n(71):e.exports=Map},71:e=>{var t=Object.prototype.hasOwnProperty;function n(e){if(!(this instanceof n))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),e)if(e instanceof n||"function"==typeof Map&&e instanceof Map)e.forEach((function(e,t){this.set(t,e)}),this);else{if(!Array.isArray(e))throw new TypeError("invalid argument");e.forEach((function(e){this.set(e[0],e[1])}),this)}}function r(e,t){return e===t||e!=e&&t!=t}function i(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,n){for(var i=0,a="_"+n,o=a;t.call(e,o);o=a+i++)if(r(e[o].key,n))return e[o]}e.exports=n,n.prototype.forEach=function(e,t){t=t||this,Object.keys(this._data).forEach((function(n){"size"!==n&&e.call(t,this._data[n].value,this._data[n].key)}),this)},n.prototype.has=function(e){return!!a(this._data,e)},n.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},n.prototype.set=function(e,n){!function(e,n,a){for(var o=0,s="_"+n,c=s;t.call(e,c);c=s+o++)if(r(e[c].key,n))return void(e[c].value=a);e.size++,e[c]=new i(n,a,c)}(this._data,e,n)},n.prototype.delete=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},n.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,"_data",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(n.prototype,"size",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),n.prototype.values=n.prototype.keys=n.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},2861:(e,t,n)=>{var r=n(181),i=r.Buffer;function a(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=r:(a(r,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(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 r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},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 r.SlowBuffer(e)}},3904:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=a(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("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 p(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new p(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 l(e.value,t).test(this.value):""===e.operator?""===e.value||new l(this.value,t).test(e.semver):!((t=a(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 a=n(8587),{safeRe:o,t:s}=n(9718),c=n(2111),u=n(7272),p=n(3908),l=n(8311)},8311:(e,t,n)=>{const r=/\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(r," "),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=>!g(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&&y(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=a.get(t);if(n)return n;const r=this.options.loose,i=r?p[l.HYPHENRANGELOOSE]:p[l.HYPHENRANGE];e=e.replace(i,P(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(p[l.COMPARATORTRIM],d),c("comparator trim",e),e=e.replace(p[l.TILDETRIM],f),c("tilde trim",e),e=e.replace(p[l.CARETTRIM],m),c("caret trim",e);let o=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>T(e,this.options)));r&&(o=o.filter((e=>(c("loose invalid filter",e,this.options),!!e.match(p[l.COMPARATORLOOSE]))))),c("range list",o);const u=new Map,y=o.map((e=>new s(e,this.options)));for(const e of y){if(g(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");const x=[...u.values()];return a.set(t,x),x}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((n=>x(n,t)&&e.set.some((e=>x(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 u(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 a=new(n(8794)),o=n(8587),s=n(3904),c=n(7272),u=n(3908),{safeRe:p,t:l,comparatorTrimReplace:d,tildeTrimReplace:f,caretTrimReplace:m}=n(9718),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:v}=n(6874),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,x=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},b=(e,t)=>(c("comp",e,t),e=S(e,t),c("caret",e),e=_(e,t),c("tildes",e),e=j(e,t),c("xrange",e),e=O(e,t),c("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{const n=t.loose?p[l.TILDELOOSE]:p[l.TILDE];return e.replace(n,((t,n,r,i,a)=>{let o;return c("tilde",e,t,n,r,i,a),w(n)?o="":w(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:w(i)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(c("replaceTilde pr",a),o=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,c("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{c("caret",e,t);const n=t.loose?p[l.CARETLOOSE]:p[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,a,o)=>{let s;return c("caret",e,t,n,i,a,o),w(n)?s="":w(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(a)?s="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:o?(c("replaceCaret pr",o),s="0"===n?"0"===i?`>=${n}.${i}.${a}-${o} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${o} <${+n+1}.0.0-0`):(c("no pr"),s="0"===n?"0"===i?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),c("caret return",s),s}))},j=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map((e=>A(e,t))).join(" ")),A=(e,t)=>{e=e.trim();const n=t.loose?p[l.XRANGELOOSE]:p[l.XRANGE];return e.replace(n,((n,r,i,a,o,s)=>{c("xRange",e,n,r,i,a,o,s);const u=w(i),p=u||w(a),l=p||w(o),d=l;return"="===r&&d&&(r=""),s=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(p&&(a=0),o=0,">"===r?(r=">=",p?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):"<="===r&&(r="<",p?i=+i+1:a=+a+1),"<"===r&&(s="-0"),n=`${r+i}.${a}.${o}${s}`):p?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:l&&(n=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`),c("xRange return",n),n}))},O=(e,t)=>(c("replaceStars",e,t),e.trim().replace(p[l.STAR],"")),T=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(p[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),P=e=>(t,n,r,i,a,o,s,c,u,p,l,d)=>`${n=w(r)?"":w(i)?`>=${r}.0.0${e?"-0":""}`:w(a)?`>=${r}.${i}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=w(u)?"":w(p)?`<${+u+1}.0.0-0`:w(l)?`<${u}.${+p+1}.0-0`:d?`<=${u}.${p}.${l}-${d}`:e?`<${u}.${p}.${+l+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 r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},3908:(e,t,n)=>{const r=n(7272),{MAX_LENGTH:i,MAX_SAFE_INTEGER:a}=n(6874),{safeRe:o,t:s}=n(9718),c=n(8587),{compareIdentifiers:u}=n(1123);class p{constructor(e,t){if(t=c(t),e instanceof p){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`);r("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>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||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<a)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(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof p||(e=new p(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof p||(e=new p(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(r("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 u(n,i)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const n=this.build[t],i=e.build[t];if(r("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 u(n,i)}while(++t)}inc(e,t,n){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"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(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}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=p},7414:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},2111:(e,t,n)=>{const r=n(4641),i=n(3999),a=n(5580),o=n(4089),s=n(7059),c=n(5200);e.exports=(e,t,n,u)=>{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 r(e,n,u);case"!=":return i(e,n,u);case">":return a(e,n,u);case">=":return o(e,n,u);case"<":return s(e,n,u);case"<=":return c(e,n,u);default:throw new TypeError(`Invalid operator: ${t}`)}}},6170:(e,t,n)=>{const r=n(3908),i=n(144),{safeRe:a,t:o}=n(9718);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?a[o.COERCERTLFULL]:a[o.COERCERTL];let i;for(;(i=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),r.lastIndex=i.index+i[1].length+i[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?a[o.COERCEFULL]:a[o.COERCE]);if(null===n)return null;const s=n[2],c=n[3]||"0",u=n[4]||"0",p=t.includePrerelease&&n[5]?`-${n[5]}`:"",l=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${s}.${c}.${u}${p}${l}`,t)}},909:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n)=>{const i=new r(e,n),a=new r(t,n);return i.compare(a)||i.compareBuild(a)}},1763:(e,t,n)=>{const r=n(560);e.exports=(e,t)=>r(e,t,!0)},560:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},1832:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,null,!0),i=r(t,null,!0),a=n.compare(i);if(0===a)return null;const o=a>0,s=o?n:i,c=o?i:n,u=!!s.prerelease.length;if(c.prerelease.length&&!u)return c.patch||c.minor?s.patch?"patch":s.minor?"minor":"major":"major";const p=u?"pre":"";return n.major!==i.major?p+"major":n.minor!==i.minor?p+"minor":n.patch!==i.patch?p+"patch":"prerelease"}},4641:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>0===r(e,t,n)},5580:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)>0},4089:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)>=0},3007:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n,i,a)=>{"string"==typeof n&&(a=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,a).version}catch(e){return null}}},7059:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)<0},5200:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)<=0},2938:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).major},6254:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).minor},3999:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>0!==r(e,t,n)},144:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},4493:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).patch},1729:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9970:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(t,e,n)},4277:(e,t,n)=>{const r=n(909);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},7638:(e,t,n)=>{const r=n(8311);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},3927:(e,t,n)=>{const r=n(909);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},6953:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},9589:(e,t,n)=>{const r=n(9718),i=n(6874),a=n(3908),o=n(1123),s=n(144),c=n(6953),u=n(7414),p=n(3007),l=n(1832),d=n(2938),f=n(6254),m=n(4493),h=n(1729),v=n(560),g=n(9970),y=n(1763),x=n(909),b=n(3927),w=n(4277),_=n(5580),E=n(7059),S=n(4641),k=n(3999),j=n(4089),A=n(5200),O=n(2111),T=n(6170),P=n(3904),R=n(8311),I=n(7638),C=n(7631),L=n(9628),J=n(270),N=n(1261),K=n(3874),W=n(7075),$=n(5571),M=n(5342),H=n(6780),U=n(2525),D=n(5032);e.exports={parse:s,valid:c,clean:u,inc:p,diff:l,major:d,minor:f,patch:m,prerelease:h,compare:v,rcompare:g,compareLoose:y,compareBuild:x,sort:b,rsort:w,gt:_,lt:E,eq:S,neq:k,gte:j,lte:A,cmp:O,coerce:T,Comparator:P,Range:R,satisfies:I,toComparators:C,maxSatisfying:L,minSatisfying:J,minVersion:N,validRange:K,outside:W,gtr:$,ltr:M,intersects:H,simplifyRange:U,subset:D,SemVer:a,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},6874:e=>{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=>{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=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},8794:e=>{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=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},9718:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:a}=n(6874),o=n(7272),s=(t=e.exports={}).re=[],c=t.safeRe=[],u=t.src=[],p=t.t={};let l=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",a],[d,i]],m=(e,t,n)=>{const r=(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=l++;o(e,i,t),p[e]=i,u[i]=t,s[i]=new RegExp(t,n?"g":void 0),c[i]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[p.NUMERICIDENTIFIER]}|${u[p.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NUMERICIDENTIFIERLOOSE]}|${u[p.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),m("FULL",`^${u[p.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),m("LOOSE",`^${u[p.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),m("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),m("COERCE",`${u[p.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[p.COERCEPLAIN]+`(?:${u[p.PRERELEASE]})?`+`(?:${u[p.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",u[p.COERCE],!0),m("COERCERTLFULL",u[p.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},5571:(e,t,n)=>{const r=n(7075);e.exports=(e,t,n)=>r(e,t,">",n)},6780:(e,t,n)=>{const r=n(8311);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},5342:(e,t,n)=>{const r=n(7075);e.exports=(e,t,n)=>r(e,t,"<",n)},9628:(e,t,n)=>{const r=n(3908),i=n(8311);e.exports=(e,t,n)=>{let a=null,o=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(a&&-1!==o.compare(e)||(a=e,o=new r(a,n)))})),a}},270:(e,t,n)=>{const r=n(3908),i=n(8311);e.exports=(e,t,n)=>{let a=null,o=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(a&&1!==o.compare(e)||(a=e,o=new r(a,n)))})),a}},1261:(e,t,n)=>{const r=n(3908),i=n(8311),a=n(5580);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("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 r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!a(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!a(n,o)||(n=o)}return n&&e.test(n)?n:null}},7075:(e,t,n)=>{const r=n(3908),i=n(3904),{ANY:a}=i,o=n(8311),s=n(7638),c=n(5580),u=n(7059),p=n(5200),l=n(4089);e.exports=(e,t,n,d)=>{let f,m,h,v,g;switch(e=new r(e,d),t=new o(t,d),n){case">":f=c,m=p,h=u,v=">",g=">=";break;case"<":f=u,m=l,h=c,v="<",g="<=";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 r=t.set[n];let o=null,s=null;if(r.forEach((e=>{e.semver===a&&(e=new i(">=0.0.0")),o=o||e,s=s||e,f(e.semver,o.semver,d)?o=e:h(e.semver,s.semver,d)&&(s=e)})),o.operator===v||o.operator===g)return!1;if((!s.operator||s.operator===v)&&m(e,s.semver))return!1;if(s.operator===g&&h(e,s.semver))return!1}return!0}},2525:(e,t,n)=>{const r=n(7638),i=n(560);e.exports=(e,t,n)=>{const a=[];let o=null,s=null;const c=e.sort(((e,t)=>i(e,t,n)));for(const e of c)r(e,t,n)?(s=e,o||(o=e)):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);const u=[];for(const[e,t]of a)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const p=u.join(" || "),l="string"==typeof t.raw?t.raw:String(t);return p.length<l.length?p:t}},5032:(e,t,n)=>{const r=n(8311),i=n(3904),{ANY:a}=i,o=n(7638),s=n(560),c=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],p=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a){if(1===t.length&&t[0].semver===a)return!0;e=n.includePrerelease?c:u}if(1===t.length&&t[0].semver===a){if(n.includePrerelease)return!0;t=u}const r=new Set;let i,p,f,m,h,v,g;for(const t of e)">"===t.operator||">="===t.operator?i=l(i,t,n):"<"===t.operator||"<="===t.operator?p=d(p,t,n):r.add(t.semver);if(r.size>1)return null;if(i&&p){if(f=s(i.semver,p.semver,n),f>0)return null;if(0===f&&(">="!==i.operator||"<="!==p.operator))return null}for(const e of r){if(i&&!o(e,String(i),n))return null;if(p&&!o(e,String(p),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let y=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,x=!(!i||n.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===p.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,i)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(m=l(i,e,n),m===e&&m!==i)return!1}else if(">="===i.operator&&!o(i.semver,String(e),n))return!1;if(p)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(h=d(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!o(p.semver,String(e),n))return!1;if(!e.operator&&(p||i)&&0!==f)return!1}return!(i&&v&&!p&&0!==f||p&&g&&!i&&0!==f||x||y)},l=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=p(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},7631:(e,t,n)=>{const r=n(8311);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3874:(e,t,n)=>{const r=n(8311);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},7687:(e,t,n)=>{"use strict";const r=n(857),i=n(2018),a=n(5884),{env:o}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===s)return 0;if(a("color=16m")||a("color=full")||a("color=truecolor"))return 3;if(a("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=r.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}a("no-color")||a("no-colors")||a("color=false")||a("color=never")?s=0:(a("color")||a("colors")||a("color=true")||a("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(u(e,e&&e.isTTY))},stdout:c(u(!0,i.isatty(1))),stderr:c(u(!0,i.isatty(2)))}},3027:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.httpPostWithRetry=void 0;const i=r(n(9329)),a=n(5692),o=i.default.create({httpsAgent:new a.Agent({keepAlive:!0})});t.httpPostWithRetry=async function(e,t,n,r){let i=0;for(;;){++i;try{return await o.post(e,t,n)}catch(t){if(r.debug(`HTTP POST to ${e} failed (attempt ${i}):`),r.debug(t.response&&t.response.data||t),i>=5)throw r.error(`No success after ${i} attempts, seizing further attempts`),t;i>=2&&(r.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((e=>setTimeout(e,25*(Math.pow(2,i)+Math.random()*i)))),r.debug("Done waiting, will try HTTP POST again now"))}}}},2086:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeSafeBase64=t.safeBase64Stringify=void 0,t.safeBase64Stringify=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},t.decodeSafeBase64=function(e){const t=e.replace(/-/g,"+").replace(/_/g,"/");return Buffer.from(t,"base64").toString()}},357:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseHandler=t.createRequestHandler=t.staticPage=t.redirectTo=void 0;const i=r(n(1571)),a=n(3103);function o(e){const t={...e,region:process.env.AWS_REGION};return i.default.replace(/\${([^}]*)}/g,((e,n)=>t[n]||""))}function s(e,t){var n,r;if(!t)throw new Error("Expected response value");return{...t,headers:{...null!==(n=t.headers)&&void 0!==n?n:{},...(r=e.httpHeaders,Object.entries(r).reduce(((e,[t,n])=>Object.assign(e,{[t.toLowerCase()]:[{key:t,value:n}]})),{}))}}}t.redirectTo=function(e,t){return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:e}],...(null==t?void 0:t.cookies)?{"set-cookie":t.cookies.map((e=>({key:"set-cookie",value:e})))}:{}}}},t.staticPage=function(e){var t;return{body:o(e),status:null!==(t=e.statusCode)&&void 0!==t?t:"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}},t.createRequestHandler=function(e){let t;return async n=>{t||(t=(0,a.getConfig)()),t.logger.debug("Handling event:",n);const r=s(t,await e(t,n));return t.logger.debug("Returning response:",r),r}},t.createResponseHandler=function(e){let t;return async n=>{t||(t=(0,a.getConfig)()),t.logger.debug("Handling event:",n);const r=s(t,await e(t,n));return t.logger.debug("Returning response:",r),r}}},3103:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=void 0;const o=n(7427),s=n(9896),c=a(n(6928)),u=n(4605);t.getConfig=function(){const e=JSON.parse((0,s.readFileSync)(c.join(__dirname,"/config.json"),"utf-8")),t=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(e.userPoolId)[1]}.amazonaws.com/${e.userPoolId}`,n=`${t}/.well-known/jwks.json`;return{nonceMaxAge:parseInt((0,o.parse)(e.cookieSettings.nonce.toLowerCase())["max-age"])||86400,...e,tokenIssuer:t,tokenJwksUri:n,logger:new u.Logger(u.LogLevel[e.logLevel])}}},7918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCookies=t.extractAndParseCookies=void 0;const r=n(7427),i=n(2172);function a(e,t){return-1===t.toLowerCase().indexOf("domain")?`${t}; Domain=.${e}`:t}function o(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("; ")}t.extractAndParseCookies=function(e,t){const n=function(e){return e.cookie?e.cookie.reduce(((e,t)=>({...e,...(0,r.parse)(t.value)})),{}):{}}(e);if(!n)return{};const i=`CognitoIdentityServiceProvider.${t}`,a=n[`${i}.LastAuthUser`];return{tokenUserName:a,idToken:n[`${i}.${null!=a?a:""}.idToken`],accessToken:n[`${i}.${null!=a?a:""}.accessToken`],refreshToken:n[`${i}.${null!=a?a:""}.refreshToken`],scopes:n[`${i}.${null!=a?a:""}.tokenScopesString`],nonce:n["spa-auth-edge-nonce"],nonceHmac:n["spa-auth-edge-nonce-hmac"],pkce:n["spa-auth-edge-pkce"]}},t.generateCookies=function(e){const t=(0,i.decodeIdToken)(e.tokens.idToken),n=t["cognito:username"],r=`CognitoIdentityServiceProvider.${e.clientId}`,s=`${r}.${n}.idToken`,c=`${r}.${n}.accessToken`,u=`${r}.${n}.refreshToken`,p=`${r}.LastAuthUser`,l=`${r}.${n}.tokenScopesString`,d=e.oauthScopes.join(" "),f=`${r}.${n}.userData`,m=JSON.stringify({UserAttributes:[{Name:"sub",Value:t.sub},{Name:"email",Value:t.email}],Username:n}),h={[s]:`${e.tokens.idToken}; ${a(e.domainName,e.cookieSettings.idToken)}`,[c]:`${e.tokens.accessToken}; ${a(e.domainName,e.cookieSettings.accessToken)}`,[u]:`${e.tokens.refreshToken}; ${a(e.domainName,e.cookieSettings.refreshToken)}`,[p]:`${n}; ${a(e.domainName,e.cookieSettings.idToken)}`,[l]:`${d}; ${a(e.domainName,e.cookieSettings.accessToken)}`,[f]:`${encodeURIComponent(m)}; ${a(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${a(e.domainName,e.cookieSettings.accessToken)}`};return"signOut"===e.event?Object.keys(h).forEach((e=>h[e]=o(h[e]))):"refreshFailed"===e.event&&(h[u]=o(h[u])),["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((e=>{h[e]=o(h[e])})),Object.entries(h).map((([e,t])=>`${e}=${t}`))}},2172:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeIdToken=t.validate=void 0;const i=n(4040),a=r(n(4601));let o;t.validate=async function(e,t,n,r){const s=(0,i.decode)(e,{complete:!0});if(!s||"string"==typeof s)return{validationError:new Error("Cannot parse JWT token")};const c=s.header.kid,u=await async function(e,t){o||(o=(0,a.default)({cache:!0,rateLimit:!0,jwksUri:e}));const n=await o.getSigningKey(t);return"rsaPublicKey"in n?n.rsaPublicKey:n.publicKey}(t,c);if(u instanceof Error)return{validationError:u};const p={audience:r,issuer:n,ignoreExpiration:!1};return new Promise((t=>(0,i.verify)(e,u,p,(e=>t(e?{validationError:e}:void 0)))))},t.decodeIdToken=function(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(t,"base64").toString())}},4605:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=t.LogLevel=void 0,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"}(n=t.LogLevel||(t.LogLevel={})),t.Logger=class{constructor(e){this.logLevel=e}jsonify(e){return e.map((e=>{if("object"==typeof e)try{return JSON.stringify(e)}catch(t){return e}return e}))}info(...e){this.logLevel>=n.info&&console.log(...this.jsonify(e))}warn(...e){this.logLevel>=n.warn&&console.warn(...this.jsonify(e))}error(...e){this.logLevel>=n.error&&console.error(...this.jsonify(e))}debug(...e){this.logLevel>=n.debug&&console.trace(...this.jsonify(e))}}},3950:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNonceHmac=t.generateNonce=t.validateNonce=t.checkNonceAge=void 0;const r=n(6982);function i(e,t){const n=parseInt(e.slice(0,e.indexOf("T")));return isNaN(n)?{clientError:"Invalid nonce"}:o()-n>t?{clientError:`Nonce is too old (nonce is from ${new Date(1e3*n).toISOString()})`}:void 0}function a(e,t){return(0,r.createHmac)("sha256",t.nonceSigningSecret).update(e).digest("hex")}function o(){return Date.now()/1e3|0}t.checkNonceAge=i,t.validateNonce=function(e,t,n){const r=i(e,n.nonceMaxAge);if(r)return r;const o=a(e,n);return o!==t?{clientError:`Nonce signature mismatch! Expected ${o} but got ${t}`}:void 0},t.generateNonce=function(){const e=(0,r.randomBytes)(16).toString("hex");return`${o()}T${e}`},t.createNonceHmac=a},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")},9329:(e,t,n)=>{"use strict";const r=n(737),i=n(7016),a=n(6504),o=n(8611),s=n(5692),c=n(9023),u=n(3164),p=n(3106),l=n(2203),d=n(4434);function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const m=f(r),h=f(i),v=f(o),g=f(s),y=f(c),x=f(u),b=f(p),w=f(l);function _(e,t){return function(){return e.apply(t,arguments)}}const{toString:E}=Object.prototype,{getPrototypeOf:S}=Object,k=(j=Object.create(null),e=>{const t=E.call(e);return j[t]||(j[t]=t.slice(8,-1).toLowerCase())});var j;const A=e=>(e=e.toLowerCase(),t=>k(t)===e),O=e=>t=>typeof t===e,{isArray:T}=Array,P=O("undefined"),R=A("ArrayBuffer"),I=O("string"),C=O("function"),L=O("number"),J=e=>null!==e&&"object"==typeof e,N=e=>{if("object"!==k(e))return!1;const t=S(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},K=A("Date"),W=A("File"),$=A("Blob"),M=A("FileList"),H=A("URLSearchParams"),[U,D,B,F]=["ReadableStream","Request","Response","Headers"].map(A);function z(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),T(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function q(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,V=e=>!P(e)&&e!==G,X=(Y="undefined"!=typeof Uint8Array&&S(Uint8Array),e=>Y&&e instanceof Y);var Y;const Z=A("HTMLFormElement"),Q=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ee=A("RegExp"),te=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};z(n,((n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)})),Object.defineProperties(e,r)},ne="abcdefghijklmnopqrstuvwxyz",re="0123456789",ie={DIGIT:re,ALPHA:ne,ALPHA_DIGIT:ne+ne.toUpperCase()+re},ae=A("AsyncFunction"),oe=(se="function"==typeof setImmediate,ce=C(G.postMessage),se?setImmediate:ce?(ue=`axios@${Math.random()}`,pe=[],G.addEventListener("message",(({source:e,data:t})=>{e===G&&t===ue&&pe.length&&pe.shift()()}),!1),e=>{pe.push(e),G.postMessage(ue,"*")}):e=>setTimeout(e));var se,ce,ue,pe;const le="undefined"!=typeof queueMicrotask?queueMicrotask.bind(G):"undefined"!=typeof process&&process.nextTick||oe,de={isArray:T,isArrayBuffer:R,isBuffer:function(e){return null!==e&&!P(e)&&null!==e.constructor&&!P(e.constructor)&&C(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||C(e.append)&&("formdata"===(t=k(e))||"object"===t&&C(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&R(e.buffer),t},isString:I,isNumber:L,isBoolean:e=>!0===e||!1===e,isObject:J,isPlainObject:N,isReadableStream:U,isRequest:D,isResponse:B,isHeaders:F,isUndefined:P,isDate:K,isFile:W,isBlob:$,isRegExp:ee,isFunction:C,isStream:e=>J(e)&&C(e.pipe),isURLSearchParams:H,isTypedArray:X,isFileList:M,forEach:z,merge:function e(){const{caseless:t}=V(this)&&this||{},n={},r=(r,i)=>{const a=t&&q(n,i)||i;N(n[a])&&N(r)?n[a]=e(n[a],r):N(r)?n[a]=e({},r):T(r)?n[a]=r.slice():n[a]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&z(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(z(t,((t,r)=>{n&&C(t)?e[r]=_(t,n):e[r]=t}),{allOwnKeys:r}),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,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],r&&!r(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&S(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:A,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(T(e))return e;let t=e.length;if(!L(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Z,hasOwnProperty:Q,hasOwnProp:Q,reduceDescriptors:te,freezeMethods:e=>{te(e,((t,n)=>{if(C(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];C(r)&&(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={},r=e=>{e.forEach((e=>{n[e]=!0}))};return T(e)?r(e):r(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:q,global:G,isContextDefined:V,ALPHABET:ie,generateString:(e=16,t=ie.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&C(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(J(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=T(e)?[]:{};return z(e,((e,t)=>{const a=n(e,r+1);!P(a)&&(i[t]=a)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:ae,isThenable:e=>e&&(J(e)||C(e))&&C(e.then)&&C(e.catch),setImmediate:oe,asap:le};function fe(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}de.inherits(fe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const me=fe.prototype,he={};function ve(e){return de.isPlainObject(e)||de.isArray(e)}function ge(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function ye(e,t,n){return e?e.concat(t).map((function(e,t){return e=ge(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{he[e]={value:e}})),Object.defineProperties(fe,he),Object.defineProperty(me,"isAxiosError",{value:!0}),fe.from=(e,t,n,r,i,a)=>{const o=Object.create(me);return de.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),fe.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const xe=de.toFlatObject(de,{},null,(function(e){return/^is[A-Z]/.test(e)}));function be(e,t,n){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new(m.default||FormData);const r=(n=de.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!de.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(de.isDate(e))return e.toISOString();if(!s&&de.isBlob(e))throw new fe("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(e)||de.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(de.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(de.isArray(e)&&function(e){return de.isArray(e)&&!e.some(ve)}(e)||(de.isFileList(e)||de.endsWith(n,"[]"))&&(s=de.toArray(e)))return n=ge(n),s.forEach((function(e,r){!de.isUndefined(e)&&null!==e&&t.append(!0===o?ye([n],r,a):null===o?n:n+"[]",c(e))})),!1;return!!ve(e)||(t.append(ye(i,n,a),c(e)),!1)}const p=[],l=Object.assign(xe,{defaultVisitor:u,convertValue:c,isVisitable:ve});if(!de.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!de.isUndefined(n)){if(-1!==p.indexOf(n))throw Error("Circular reference detected in "+r.join("."));p.push(n),de.forEach(n,(function(n,a){!0===(!(de.isUndefined(n)||null===n)&&i.call(t,n,de.isString(a)?a.trim():a,r,l))&&e(n,r?r.concat(a):[a])})),p.pop()}}(e),t}function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function _e(e,t){this._pairs=[],e&&be(e,this,t)}const Ee=_e.prototype;function Se(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ke(e,t,n){if(!t)return e;const r=n&&n.encode||Se,i=n&&n.serialize;let a;if(a=i?i(t,n):de.isURLSearchParams(t)?t.toString():new _e(t,n).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Ee.append=function(e,t){this._pairs.push([e,t])},Ee.toString=function(e){const t=e?function(t){return e.call(this,t,we)}:we;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const je=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){de.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Ae={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Oe={isNode:!0,classes:{URLSearchParams:h.default.URLSearchParams,FormData:m.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},Te="undefined"!=typeof window&&"undefined"!=typeof document,Pe=(Re="undefined"!=typeof navigator&&navigator.product,Te&&["ReactNative","NativeScript","NS"].indexOf(Re)<0);var Re;const Ie="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ce=Te&&window.location.href||"http://localhost",Le={...Object.freeze({__proto__:null,hasBrowserEnv:Te,hasStandardBrowserWebWorkerEnv:Ie,hasStandardBrowserEnv:Pe,origin:Ce}),...Oe};function Je(e){function t(e,n,r,i){let a=e[i++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),s=i>=e.length;return a=!a&&de.isArray(r)?r.length:a,s?(de.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):(r[a]&&de.isObject(r[a])||(r[a]=[]),t(e,n,r[a],i)&&de.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}(r[a])),!o)}if(de.isFormData(e)&&de.isFunction(e.entries)){const n={};return de.forEachEntry(e,((e,r)=>{t(function(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Ne={transitional:Ae,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=de.isObject(e);if(i&&de.isHTMLForm(e)&&(e=new FormData(e)),de.isFormData(e))return r?JSON.stringify(Je(e)):e;if(de.isArrayBuffer(e)||de.isBuffer(e)||de.isStream(e)||de.isFile(e)||de.isBlob(e)||de.isReadableStream(e))return e;if(de.isArrayBufferView(e))return e.buffer;if(de.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return be(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Le.isNode&&de.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=de.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return be(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e){if(de.isString(e))try{return(0,JSON.parse)(e),de.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ne.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(de.isResponse(e)||de.isReadableStream(e))return e;if(e&&de.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw fe.from(e,fe.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:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],(e=>{Ne.headers[e]={}}));const Ke=Ne,We=de.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"]),$e=Symbol("internals");function Me(e){return e&&String(e).trim().toLowerCase()}function He(e){return!1===e||null==e?e:de.isArray(e)?e.map(He):String(e)}function Ue(e,t,n,r,i){return de.isFunction(r)?r.call(this,t,n):(i&&(t=n),de.isString(t)?de.isString(r)?-1!==t.indexOf(r):de.isRegExp(r)?r.test(t):void 0:void 0)}class De{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=Me(t);if(!i)throw new Error("header name must be a non-empty string");const a=de.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=He(e))}const a=(e,t)=>de.forEach(e,((e,n)=>i(e,n,t)));if(de.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(de.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&We[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(de.isHeaders(e))for(const[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=Me(e)){const n=de.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 r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(de.isFunction(t))return t.call(this,e,n);if(de.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Me(e)){const n=de.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ue(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=Me(e)){const i=de.findKey(n,e);!i||t&&!Ue(0,n[i],i,t)||(delete n[i],r=!0)}}return de.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Ue(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return de.forEach(this,((r,i)=>{const a=de.findKey(n,i);if(a)return t[a]=He(r),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]=He(r),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return de.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&de.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")}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[$e]=this[$e]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Me(e);t[r]||(function(e,t){const n=de.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return de.isArray(e)?e.forEach(r):r(e),this}}De.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),de.reduceDescriptors(De.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),de.freezeMethods(De);const Be=De;function Fe(e,t){const n=this||Ke,r=t||n,i=Be.from(r.headers);let a=r.data;return de.forEach(e,(function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function ze(e){return!(!e||!e.__CANCEL__)}function qe(e,t,n){fe.call(this,null==e?"canceled":e,fe.ERR_CANCELED,t,n),this.name="CanceledError"}function Ge(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new fe("Request failed with status code "+n.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Ve(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}de.inherits(qe,fe,{__CANCEL__:!0});const Xe="1.7.3";function Ye(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ze=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/,Qe=Symbol("internals");class et extends w.default.Transform{constructor(e){super({readableHighWaterMark:(e=de.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!de.isUndefined(t[e])))).chunkSize});const t=this[Qe]={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[Qe];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this[Qe],i=r.maxRate,a=this.readableHighWaterMark,o=r.timeWindow,s=i/(1e3/o),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*s):0,u=(e,t)=>{const n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}},p=(e,t)=>{const n=Buffer.byteLength(e);let p,l=null,d=a,f=0;if(i){const e=Date.now();(!r.ts||(f=e-r.ts)>=o)&&(r.ts=e,p=s-r.bytes,r.bytes=p<0?-p:0,f=0),p=s-r.bytes}if(i){if(p<=0)return setTimeout((()=>{t(null,e)}),o-f);p<d&&(d=p)}d&&n>d&&n-d>c&&(l=e.subarray(d),e=e.subarray(0,d)),u(e,l?()=>{process.nextTick(t,null,l)}:t)};p(e,(function e(t,r){if(t)return n(t);r?p(r,e):n(null)}))}}const tt=et,{asyncIterator:nt}=Symbol,rt=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[nt]?yield*e[nt]():yield e},it=de.ALPHABET.ALPHA_DIGIT+"-_",at=new c.TextEncoder,ot="\r\n",st=at.encode(ot);class ct{constructor(e,t){const{escapeName:n}=this.constructor,r=de.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${ot}`;r?t=at.encode(String(t).replace(/\r?\n|\r\n?/g,ot)):i+=`Content-Type: ${t.type||"application/octet-stream"}${ot}`,this.headers=at.encode(i+ot),this.contentLength=r?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;de.isTypedArray(e)?yield e:yield*rt(e),yield st}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ut extends w.default.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=ut,lt=(e,t)=>de.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e,dt=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,a=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[o];i||(i=c),n[a]=s,r[a]=c;let p=o,l=0;for(;p!==a;)l+=n[p++],p%=e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-i<t)return;const d=u&&c-u;return d?Math.round(1e3*l/d):void 0}}(50,250);return function(e,t){let n,r,i=0,a=1e3/t;const o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout((()=>{r=null,o(n)}),a-s)))},()=>n&&o(n)]}((n=>{const a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,c=i(s);r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&a<=o?(o-a)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},ft=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},mt=e=>(...t)=>de.asap((()=>e(...t))),ht={flush:b.default.constants.Z_SYNC_FLUSH,finishFlush:b.default.constants.Z_SYNC_FLUSH},vt={flush:b.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:b.default.constants.BROTLI_OPERATION_FLUSH},gt=de.isFunction(b.default.createBrotliDecompress),{http:yt,https:xt}=x.default,bt=/https:?/,wt=Le.protocols.map((e=>e+":")),_t=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Et(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function St(e,t,n){let r=t;if(!r&&!1!==r){const e=a.getProxyForUrl(n);e&&(r=new URL(e))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||"")+":"+(r.auth.password||""));const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){St(e,t,e.href)}}const kt="undefined"!=typeof process&&"process"===de.kindOf(process),jt=(e,t)=>(({address:e,family:t})=>{if(!de.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(de.isObject(e)?e:{address:e,family:t}),At=kt&&function(e){return t=async function(t,n,r){let{data:i,lookup:a,family:o}=e;const{responseType:s,responseEncoding:c}=e,u=e.method.toUpperCase();let p,f,m=!1;if(a){const e=lt(a,(e=>de.isArray(e)?e:[e]));a=(t,n,r)=>{e(t,n,((e,t,i)=>{if(e)return r(e);const a=de.isArray(t)?t.map((e=>jt(e))):[jt(t,i)];n.all?r(e,a):r(e,a[0].address,a[0].family)}))}}const h=new d.EventEmitter,x=()=>{e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_),h.removeAllListeners()};function _(t){h.emit("abort",!t||t.type?new qe(null,e,f):t)}r(((e,t)=>{p=!0,t&&(m=!0,x())})),h.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_)));const E=Ve(e.baseURL,e.url),S=new URL(E,"http://localhost"),k=S.protocol||wt[0];if("data:"===k){let r;if("GET"!==u)return Ge(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){const r=n&&n.Blob||Le.classes.Blob,i=Ye(e);if(void 0===t&&r&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=Ze.exec(e);if(!n)throw new fe("Invalid URL",fe.ERR_INVALID_URL);const a=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!r)throw new fe("Blob is not supported",fe.ERR_NOT_SUPPORT);return new r([c],{type:a})}return c}throw new fe("Unsupported protocol "+i,fe.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw fe.from(t,fe.ERR_BAD_REQUEST,e)}return"text"===s?(r=r.toString(c),c&&"utf8"!==c||(r=de.stripBOM(r))):"stream"===s&&(r=w.default.Readable.from(r)),Ge(t,n,{data:r,status:200,statusText:"OK",headers:new Be,config:e})}if(-1===wt.indexOf(k))return n(new fe("Unsupported protocol "+k,fe.ERR_BAD_REQUEST,e));const j=Be.from(e.headers).normalize();j.set("User-Agent","axios/"+Xe,!1);const{onUploadProgress:A,onDownloadProgress:O}=e,T=e.maxRate;let P,R;if(de.isSpecCompliantForm(i)){const e=j.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:r="form-data-boundary",size:i=25,boundary:a=r+"-"+de.generateString(i,it)}=n||{};if(!de.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");const o=at.encode("--"+a+ot),s=at.encode("--"+a+"--"+ot+ot);let c=s.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new ct(e,t);return c+=n.size,n}));c+=o.byteLength*u.length,c=de.toFiniteNumber(c);const p={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(p["Content-Length"]=c),t&&t(p),l.Readable.from(async function*(){for(const e of u)yield o,yield*e.encode();yield s}())})(i,(e=>{j.set(e)}),{tag:`axios-${Xe}-boundary`,boundary:e&&e[1]||void 0})}else if(de.isFormData(i)&&de.isFunction(i.getHeaders)){if(j.set(i.getHeaders()),!j.hasContentLength())try{const e=await y.default.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&j.setContentLength(e)}catch(e){}}else if(de.isBlob(i))i.size&&j.setContentType(i.type||"application/octet-stream"),j.setContentLength(i.size||0),i=w.default.Readable.from(rt(i));else if(i&&!de.isStream(i)){if(Buffer.isBuffer(i));else if(de.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!de.isString(i))return n(new fe("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",fe.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(j.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new fe("Request body larger than maxBodyLength limit",fe.ERR_BAD_REQUEST,e))}const I=de.toFiniteNumber(j.getContentLength());let C,L;de.isArray(T)?(P=T[0],R=T[1]):P=R=T,i&&(A||P)&&(de.isStream(i)||(i=w.default.Readable.from(i,{objectMode:!1})),i=w.default.pipeline([i,new tt({maxRate:de.toFiniteNumber(P)})],de.noop),A&&i.on("progress",_t(i,ft(I,dt(mt(A),!1,3))))),e.auth&&(C=(e.auth.username||"")+":"+(e.auth.password||"")),!C&&S.username&&(C=S.username+":"+S.password),C&&j.delete("authorization");try{L=ke(S.pathname+S.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}j.set("Accept-Encoding","gzip, compress, deflate"+(gt?", br":""),!1);const J={path:L,method:u,headers:j.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:C,protocol:k,family:o,beforeRedirect:Et,beforeRedirects:{}};let N;!de.isUndefined(a)&&(J.lookup=a),e.socketPath?J.socketPath=e.socketPath:(J.hostname=S.hostname,J.port=S.port,St(J,e.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+J.path));const K=bt.test(J.protocol);if(J.agent=K?e.httpsAgent:e.httpAgent,e.transport?N=e.transport:0===e.maxRedirects?N=K?g.default:v.default:(e.maxRedirects&&(J.maxRedirects=e.maxRedirects),e.beforeRedirect&&(J.beforeRedirects.config=e.beforeRedirect),N=K?xt:yt),e.maxBodyLength>-1?J.maxBodyLength=e.maxBodyLength:J.maxBodyLength=1/0,e.insecureHTTPParser&&(J.insecureHTTPParser=e.insecureHTTPParser),f=N.request(J,(function(r){if(f.destroyed)return;const i=[r],a=+r.headers["content-length"];if(O||R){const e=new tt({maxRate:de.toFiniteNumber(R)});O&&e.on("progress",_t(e,ft(a,dt(mt(O),!0,3)))),i.push(e)}let o=r;const p=r.req||f;if(!1!==e.decompress&&r.headers["content-encoding"])switch("HEAD"!==u&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(b.default.createUnzip(ht)),delete r.headers["content-encoding"];break;case"deflate":i.push(new pt),i.push(b.default.createUnzip(ht)),delete r.headers["content-encoding"];break;case"br":gt&&(i.push(b.default.createBrotliDecompress(vt)),delete r.headers["content-encoding"])}o=i.length>1?w.default.pipeline(i,de.noop):i[0];const l=w.default.finished(o,(()=>{l(),x()})),d={status:r.statusCode,statusText:r.statusMessage,headers:new Be(r.headers),config:e,request:p};if("stream"===s)d.data=o,Ge(t,n,d);else{const r=[];let i=0;o.on("data",(function(t){r.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(m=!0,o.destroy(),n(new fe("maxContentLength size of "+e.maxContentLength+" exceeded",fe.ERR_BAD_RESPONSE,e,p)))})),o.on("aborted",(function(){if(m)return;const t=new fe("maxContentLength size of "+e.maxContentLength+" exceeded",fe.ERR_BAD_RESPONSE,e,p);o.destroy(t),n(t)})),o.on("error",(function(t){f.destroyed||n(fe.from(t,null,e,p))})),o.on("end",(function(){try{let e=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=de.stripBOM(e))),d.data=e}catch(t){return n(fe.from(t,null,e,d.request,d))}Ge(t,n,d)}))}h.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),h.once("abort",(e=>{n(e),f.destroy(e)})),f.on("error",(function(t){n(fe.from(t,null,e,f))})),f.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new fe("error trying to parse `config.timeout` to int",fe.ERR_BAD_OPTION_VALUE,e,f));f.setTimeout(t,(function(){if(p)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Ae;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new fe(t,r.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,f)),_()}))}if(de.isStream(i)){let t=!1,n=!1;i.on("end",(()=>{t=!0})),i.once("error",(e=>{n=!0,f.destroy(e)})),i.on("close",(()=>{t||n||_(new qe("Request stream has been aborted",e,f))})),i.pipe(f)}else f.end(i)},new Promise(((e,n)=>{let r,i;const a=(e,t)=>{i||(i=!0,r&&r(e,t))},o=e=>{a(e,!0),n(e)};t((t=>{a(t),e(t)}),o,(e=>r=e)).catch(o)}));var t},Ot=Le.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=de.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},Tt=Le.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];de.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),de.isString(r)&&o.push("path="+r),de.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},Pt=e=>e instanceof Be?{...e}:e;function Rt(e,t){t=t||{};const n={};function r(e,t,n){return de.isPlainObject(e)&&de.isPlainObject(t)?de.merge.call({caseless:n},e,t):de.isPlainObject(t)?de.merge({},t):de.isArray(t)?t.slice():t}function i(e,t,n){return de.isUndefined(t)?de.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function a(e,t){if(!de.isUndefined(t))return r(void 0,t)}function o(e,t){return de.isUndefined(t)?de.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}const c={url:a,method:a,data:a,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)=>i(Pt(e),Pt(t),!0)};return de.forEach(Object.keys(Object.assign({},e,t)),(function(r){const a=c[r]||i,o=a(e[r],t[r],r);de.isUndefined(o)&&a!==s||(n[r]=o)})),n}const It=e=>{const t=Rt({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:o,headers:s,auth:c}=t;if(t.headers=s=Be.from(s),t.url=ke(Ve(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),de.isFormData(r))if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Le.hasStandardBrowserEnv&&(i&&de.isFunction(i)&&(i=i(t)),i||!1!==i&&Ot(t.url))){const e=a&&o&&Tt.read(o);e&&s.set(a,e)}return t},Ct="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=It(e);let i=r.data;const a=Be.from(r.headers).normalize();let o,s,c,u,p,{responseType:l,onUploadProgress:d,onDownloadProgress:f}=r;function m(){u&&u(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let h=new XMLHttpRequest;function v(){if(!h)return;const r=Be.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Ge((function(e){t(e),m()}),(function(e){n(e),m()}),{data:l&&"text"!==l&&"json"!==l?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.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 fe("Request aborted",fe.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new fe("Network Error",fe.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Ae;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new fe(t,i.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,h)),h=null},void 0===i&&a.setContentType(null),"setRequestHeader"in h&&de.forEach(a.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),de.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),l&&"json"!==l&&(h.responseType=r.responseType),f&&([c,p]=dt(f,!0),h.addEventListener("progress",c)),d&&h.upload&&([s,u]=dt(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(o=t=>{h&&(n(!t||t.type?new qe(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const g=Ye(r.url);g&&-1===Le.protocols.indexOf(g)?n(new fe("Unsupported protocol "+g+":",fe.ERR_BAD_REQUEST,e)):h.send(i||null)}))},Lt=(e,t)=>{let n,r=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;r.abort(t instanceof fe?t:new qe(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{i(new fe(`timeout ${t} of ms exceeded`,fe.ETIMEDOUT))}),t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=o,[s,()=>{a&&clearTimeout(a),a=null}]},Jt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Nt=(e,t,n,r,i)=>{const a=async function*(e,t,n){for await(const r of e)yield*Jt(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,i);let o,s=0,c=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await a.next();if(t)return c(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw c(e),e}},cancel:e=>(c(e),a.return())},{highWaterMark:2})},Kt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Wt=Kt&&"function"==typeof ReadableStream,$t=Kt&&("function"==typeof TextEncoder?(Mt=new TextEncoder,e=>Mt.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Mt;const Ht=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ut=Wt&&Ht((()=>{let e=!1;const t=new Request(Le.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Dt=Wt&&Ht((()=>de.isReadableStream(new Response("").body))),Bt={stream:Dt&&(e=>e.body)};var Ft;Kt&&(Ft=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Bt[e]&&(Bt[e]=de.isFunction(Ft[e])?t=>t[e]():(t,n)=>{throw new fe(`Response type '${e}' is not supported`,fe.ERR_NOT_SUPPORT,n)})})));const zt=Kt&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:p,withCredentials:l="same-origin",fetchOptions:d}=It(e);u=u?(u+"").toLowerCase():"text";let f,m,[h,v]=i||a||o?Lt([i,a],o):[];const g=()=>{!f&&setTimeout((()=>{h&&h.unsubscribe()})),f=!0};let y;try{if(c&&Ut&&"get"!==n&&"head"!==n&&0!==(y=await(async(e,t)=>{const n=de.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:de.isBlob(e)?e.size:de.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:de.isArrayBufferView(e)||de.isArrayBuffer(e)?e.byteLength:(de.isURLSearchParams(e)&&(e+=""),de.isString(e)?(await $t(e)).byteLength:void 0))(t):n})(p,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(de.isFormData(r)&&(e=n.headers.get("content-type"))&&p.setContentType(e),n.body){const[e,t]=ft(y,dt(mt(c)));r=Nt(n.body,65536,e,t,$t)}}de.isString(l)||(l=l?"include":"omit"),m=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:p.normalize().toJSON(),body:r,duplex:"half",credentials:l});let i=await fetch(m);const a=Dt&&("stream"===u||"response"===u);if(Dt&&(s||a)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=de.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&ft(t,dt(mt(s),!0))||[];i=new Response(Nt(i.body,65536,n,(()=>{r&&r(),a&&g()}),$t),e)}u=u||"text";let o=await Bt[de.findKey(Bt,u)||"text"](i,e);return!a&&g(),v&&v(),await new Promise(((t,n)=>{Ge(t,n,{data:o,headers:Be.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:m})}))}catch(t){if(g(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new fe("Network Error",fe.ERR_NETWORK,e,m),{cause:t.cause||t});throw fe.from(t,t&&t.code,e,m)}}),qt={http:At,xhr:Ct,fetch:zt};de.forEach(qt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Gt=e=>`- ${e}`,Vt=e=>de.isFunction(e)||null===e||!1===e,Xt=e=>{e=de.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){let t;if(n=e[a],r=n,!Vt(n)&&(r=qt[(t=String(n)).toLowerCase()],void 0===r))throw new fe(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+a]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new fe("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Gt).join("\n"):" "+Gt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Yt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qe(null,e)}function Zt(e){return Yt(e),e.headers=Be.from(e.headers),e.data=Fe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xt(e.adapter||Ke.adapter)(e).then((function(t){return Yt(e),t.data=Fe.call(e,e.transformResponse,t),t.headers=Be.from(t.headers),t}),(function(t){return ze(t)||(Yt(e),t&&t.response&&(t.response.data=Fe.call(e,e.transformResponse,t.response),t.response.headers=Be.from(t.response.headers))),Promise.reject(t)}))}const Qt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Qt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const en={};Qt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.3] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new fe(r(i," has been removed"+(t?" in "+t:"")),fe.ERR_DEPRECATED);return t&&!en[i]&&(en[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};const tn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new fe("option "+a+" must be "+n,fe.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new fe("Unknown option "+a,fe.ERR_BAD_OPTION)}},validators:Qt},nn=tn.validators;class rn{constructor(e){this.defaults=e,this.interceptors={request:new je,response:new je}}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=Rt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&tn.assertOptions(n,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),null!=r&&(de.isFunction(r)?t.paramsSerializer={serialize:r}:tn.assertOptions(r,{encode:nn.function,serialize:nn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&de.merge(i.common,i[t.method]);i&&de.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Be.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let p,l=0;if(!s){const e=[Zt.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),p=e.length,u=Promise.resolve(t);l<p;)u=u.then(e[l++],e[l++]);return u}p=o.length;let d=t;for(l=0;l<p;){const e=o[l++],t=o[l++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=Zt.call(this,d)}catch(e){return Promise.reject(e)}for(l=0,p=c.length;l<p;)u=u.then(c[l++],c[l++]);return u}getUri(e){return ke(Ve((e=Rt(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}de.forEach(["delete","get","head","options"],(function(e){rn.prototype[e]=function(t,n){return this.request(Rt(n||{},{method:e,url:t,data:(n||{}).data}))}})),de.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Rt(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}rn.prototype[e]=t(),rn.prototype[e+"Form"]=t(!0)}));const an=rn;class on{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 r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new qe(e,r,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)}static source(){let e;return{token:new on((function(t){e=t})),cancel:e}}}const sn=on,cn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(cn).forEach((([e,t])=>{cn[t]=e}));const un=cn,pn=function e(t){const n=new an(t),r=_(an.prototype.request,n);return de.extend(r,an.prototype,n,{allOwnKeys:!0}),de.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Rt(t,n))},r}(Ke);pn.Axios=an,pn.CanceledError=qe,pn.CancelToken=sn,pn.isCancel=ze,pn.VERSION=Xe,pn.toFormData=be,pn.AxiosError=fe,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 de.isObject(e)&&!0===e.isAxiosError},pn.mergeConfig=Rt,pn.AxiosHeaders=Be,pn.formToJSON=e=>Je(de.isHTMLForm(e)?new FormData(e):e),pn.getAdapter=Xt,pn.HttpStatusCode=un,pn.default=pn,e.exports=pn},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(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.handler=void 0;const t=n(3027),i=n(2086),a=n(357),o=n(7918),s=n(2172),c=n(3950);async function u({error:e,errorType:t,config:n,idToken:r,redirectedFromUri:i}){if("client"===t?n.logger.warn(e):n.logger.error(e),r){n.logger.debug("ID token found, will check if it is valid"),n.logger.info("Validating JWT ...");const e=await(0,s.validate)(r,n.tokenJwksUri,n.tokenIssuer,n.clientId);return void 0!==e&&n.logger.debug("ID token not valid:",e.validationError),n.logger.info("JWT is valid"),(0,a.redirectTo)(i)}return(0,a.staticPage)({title:"Sign-in issue",message:"We can't sign you in because of a technical problem",details:"client"===t?e:"Contact administrator",linkHref:i,linkText:"Retry",statusCode:"503"})}e.handler=(0,a.createRequestHandler)((async(e,n)=>{const r=n.Records[0].cf.request,s=r.headers.host[0].value;let p,l=`https://${s}`;const d=(0,o.extractAndParseCookies)(r.headers,e.clientId);p=d.idToken;const f=function(e){const{code:t,state:n,error:r,error_description:a}=Object.fromEntries(new URLSearchParams(e.querystring).entries());if(r)return{clientError:`[Cognito] ${r}: ${a}`};if(!t||!n||"string"!=typeof t||"string"!=typeof n)return{clientError:['Invalid query string. Your query string does not include parameters "state" and "code".',"This can happen if your authentication attempt did not originate from this site."].join(" ")};let o;try{o=JSON.parse((0,i.decodeSafeBase64)(n))}catch(e){return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'}}if(!o.requestedUri||!o.nonce)return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'};const{nonce:s,pkce:u,nonceHmac:p}=e.cookies;if(!s)return{clientError:"Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF)."};if(!u)return{clientError:"Your browser didn't send the pkce cookie along, but it is required for security (prevent CSRF)."};if(o.nonce!==s)return{clientError:"Nonce mismatch. This can happen if you start multiple authentication attempts in parallel (e.g. in separate tabs)"};const l=(0,c.validateNonce)(o.nonce,null!=p?p:"UNKNOWN",e.config);return l||{code:t,pkce:u,requestedUri:o.requestedUri||""}}({config:e,querystring:r.querystring,cookies:d});if("clientError"in f)return u({error:f.clientError,errorType:"client",config:e,redirectedFromUri:l,idToken:p});if("technicalError"in f)return u({error:f.technicalError,errorType:"server",config:e,redirectedFromUri:l,idToken:p});const{code:m,pkce:h,requestedUri:v}=f;e.logger.debug("Query string and cookies are valid"),l+=v;const g=await async function({config:e,domainName:n,code:r,pkce:i}){const a=`https://${e.cognitoAuthDomain}/oauth2/token`,o=new URLSearchParams({grant_type:"authorization_code",client_id:e.clientId,redirect_uri:`https://${n}${e.callbackPath}`,code:r,code_verifier:i}).toString(),s={headers:{"Content-Type":"application/x-www-form-urlencoded"}};if(e.clientSecret){const t=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");s.headers.Authorization=`Basic ${t}`}let c;e.logger.debug("HTTP POST to Cognito token endpoint:",{uri:a,body:o,requestConfig:s});try{c=await(0,t.httpPostWithRetry)(a,o,s,e.logger)}catch(e){return{error:`Failed to exchange authorization code for tokens: ${e}`}}const{status:u,headers:p,data:l}=c;return e.logger.info("Successfully exchanged authorization code for tokens"),e.logger.debug("Response from Cognito token endpoint:",{status:u,headers:p,tokens:l}),{idToken:l.id_token,accessToken:l.access_token,refreshToken:l.refresh_token}}({config:e,domainName:s,code:m,pkce:h});return"error"in g?u({error:g.error,errorType:"server",config:e,redirectedFromUri:l,idToken:p}):(0,a.redirectTo)(l,{cookies:(0,o.generateCookies)({event:"newTokens",tokens:g,domainName:s,...e})})}))})();var i=exports;for(var a in r)i[a]=r[a];r.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
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 r=n(405);e.exports=function(e){var t=!1;return r((function(){t=!0})),function(n,i){t?e(n,i):r((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 r=n(2313),i=n(4555);e.exports=function(e,t,n,a){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,i){return 2==e.length?e(n,r(i)):e(n,t,r(i))}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?i(n):n.results[o]=t,a(e,n.results))}))}},9500:e=>{e.exports=function(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(n,r){return t(e[n],e[r])}),r}},6276:(e,t,n)=>{var r=n(4555),i=n(2313);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,r(this),i(e)(null,this.results))}},8798:(e,t,n)=>{var r=n(8051),i=n(9500),a=n(6276);e.exports=function(e,t,n){for(var o=i(e);o.index<(o.keyedList||e).length;)r(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return a.bind(o,n)}},2081:(e,t,n)=>{var r=n(28);e.exports=function(e,t,n){return r(e,t,null,n)}},28:(e,t,n)=>{var r=n(8051),i=n(9500),a=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 r(e,t,s,(function n(i,a){i?o(i,a):(s.index++,s.index<(s.keyedList||e).length?r(e,t,s,n):o(null,s.results))})),a.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 r=n(181).Buffer,i=n(181).SlowBuffer;function a(e,t){if(!r.isBuffer(e)||!r.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=a,a.install=function(){r.prototype.equal=i.prototype.equal=function(e){return a(this,e)}};var o=r.prototype.equal,s=i.prototype.equal;a.restore=function(){r.prototype.equal=o,i.prototype.equal=s}},801:(e,t,n)=>{var r=n(9023),i=n(2203).Stream,a=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,r.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 a)){var t=a.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)}},7427:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},r=(t||{}).decode||i,a=0;a<e.length;){var s=e.indexOf("=",a);if(-1===s)break;var c=e.indexOf(";",a);if(-1===c)c=e.length;else if(c<s){a=e.lastIndexOf(";",s-1)+1;continue}var u=e.slice(a,s).trim();if(void 0===n[u]){var p=e.slice(s+1,c).trim();34===p.charCodeAt(0)&&(p=p.slice(1,-1)),n[u]=o(p,r)}a=c+1}return n},t.serialize=function(e,t,i){var o=i||{},s=o.encode||a;if("function"!=typeof s)throw new TypeError("option encode is invalid");if(!r.test(e))throw new TypeError("argument name is invalid");var c=s(t);if(c&&!r.test(c))throw new TypeError("argument val is invalid");var u=e+"="+c;if(null!=o.maxAge){var p=o.maxAge-0;if(isNaN(p)||!isFinite(p))throw new TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(p)}if(o.domain){if(!r.test(o.domain))throw new TypeError("option domain is invalid");u+="; Domain="+o.domain}if(o.path){if(!r.test(o.path))throw new TypeError("option path is invalid");u+="; Path="+o.path}if(o.expires){var l=o.expires;if(!function(e){return"[object Date]"===n.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");u+="; Expires="+l.toUTCString()}if(o.httpOnly&&(u+="; HttpOnly"),o.secure&&(u+="; Secure"),o.partitioned&&(u+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;case"none":u+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return u};var n=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function a(e){return encodeURIComponent(e)}function o(e,t){try{return t(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 r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),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")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},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:r}=e.exports;r.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,a,o=null;function s(...e){if(!s.enabled)return;const r=s,i=Number(new Date),a=i-(n||i);r.diff=a,r.prev=n,r.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 a=t.formatters[i];if("function"==typeof a){const t=e[o];n=a.call(r,t),e.splice(o,1),o--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}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.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))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 r=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(i.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),a=` ${i};1m${r} [0m`;n[0]=a+n[0].split("\n").join("\n"+a),n.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+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):r.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 r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=n(736)(t);const{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},8069:(e,t,n)=>{var r=n(2203).Stream,i=n(9023);function a(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=a,i.inherits(a,r),a.create=function(e,t){var n=new this;for(var r in t=t||{})n[r]=t[r];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(a.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),a.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},a.prototype.resume=function(){this._released||this.release(),this.source.resume()},a.prototype.pause=function(){this.source.pause()},a.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},a.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);return this.resume(),e},a.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))},a.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))}}},2010:(e,t,n)=>{"use strict";var r=n(2861).Buffer,i=n(3527),a=128;function o(e){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function s(e,t,n){for(var r=0;t+r<n&&0===e[t+r];)++r;return e[t+r]>=a&&--r,r}e.exports={derToJose:function(e,t){e=o(e);var n=i(t),a=n+1,s=e.length,c=0;if(48!==e[c++])throw new Error('Could not find expected "seq"');var u=e[c++];if(129===u&&(u=e[c++]),s-c<u)throw new Error('"seq" specified length of "'+u+'", only "'+(s-c)+'" remaining');if(2!==e[c++])throw new Error('Could not find expected "int" for "r"');var p=e[c++];if(s-c-2<p)throw new Error('"r" specified length of "'+p+'", only "'+(s-c-2)+'" available');if(a<p)throw new Error('"r" specified length of "'+p+'", max of "'+a+'" is acceptable');var l=c;if(c+=p,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(a<d)throw new Error('"s" specified length of "'+d+'", max of "'+a+'" is acceptable');var f=c;if((c+=d)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-c)+'" bytes remain');var m=n-p,h=n-d,v=r.allocUnsafe(m+p+h+d);for(c=0;c<m;++c)v[c]=0;e.copy(v,c,l+Math.max(-m,0),l+p);for(var g=c=n;c<g+h;++c)v[c]=0;return e.copy(v,c,f+Math.max(-h,0),f+d),(v=v.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=o(e);var n=i(t),c=e.length;if(c!==2*n)throw new TypeError('"'+t+'" signatures must be "'+2*n+'" bytes, saw "'+c+'"');var u=s(e,0,n),p=s(e,n,e.length),l=n-u,d=n-p,f=2+l+1+1+d,m=f<a,h=r.allocUnsafe((m?2:3)+f),v=0;return h[v++]=48,m?h[v++]=f:(h[v++]=129,h[v++]=255&f),h[v++]=2,h[v++]=l,u<0?(h[v++]=0,v+=e.copy(h,v,0,n)):v+=e.copy(h,v,u,n),h[v++]=2,h[v++]=d,p<0?(h[v++]=0,e.copy(h,v,n)):e.copy(h,v,n+p),h}}},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+'"')}},7507:(e,t,n)=>{var r;e.exports=function(){if(!r){try{r=n(5753)("follow-redirects")}catch(e){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},3164:(e,t,n)=>{var r=n(7016),i=r.URL,a=n(8611),o=n(5692),s=n(2203).Writable,c=n(2613),u=n(7507),p=!1;try{c(new i)}catch(e){p="ERR_INVALID_URL"===e.code}var l=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],f=Object.create(null);d.forEach((function(e){f[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}}));var m=A("ERR_INVALID_URL","Invalid URL",TypeError),h=A("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),v=A("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h),g=A("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),y=A("ERR_STREAM_WRITE_AFTER_END","write after end"),x=s.prototype.destroy||_;function b(e,t){s.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 h?e:new h({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(r){var a=r+":",o=n[a]=e[r],s=t[r]=Object.create(o);Object.defineProperties(s,{request:{value:function(e,r,o){return i&&e instanceof i?e=k(e):T(e)?e=k(E(e)):(o=r,r=S(e),e={protocol:a}),P(r)&&(o=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=n,T(r.host)||T(r.hostname)||(r.hostname="::1"),c.equal(r.protocol,a,"protocol mismatch"),u("options",r),new b(r,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var r=s.request(e,t,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),t}function _(){}function E(e){var t;if(p)t=new i(e);else if(!T((t=S(r.parse(e))).protocol))throw new m({input:e});return t}function S(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new m({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new m({input:e.href||e});return e}function k(e,t){var n=t||{};for(var r of l)n[r]=e[r];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 j(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return null==n?void 0:String(n).trim()}function A(e,t,n){function r(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(n||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function O(e,t){for(var n of d)e.removeListener(n,f[n]);e.on("error",_),e.destroy(t)}function T(e){return"string"==typeof e||e instanceof String}function P(e){return"function"==typeof e}b.prototype=Object.create(s.prototype),b.prototype.abort=function(){O(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},b.prototype.destroy=function(e){return O(this._currentRequest,e),x.call(this,e),this},b.prototype.write=function(e,t,n){if(this._ending)throw new y;if(!(T(e)||"object"==typeof(r=e)&&"length"in r))throw new TypeError("data should be a string, Buffer or Uint8Array");var r;P(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 g),this.abort()):n&&n()},b.prototype.end=function(e,t,n){if(P(e)?(n=e,e=t=null):P(t)&&(n=t,t=null),e){var r=this,i=this._currentRequest;this.write(e,t,(function(){r._ended=!0,i.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},b.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},b.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},b.prototype.setTimeout=function(e,t){var n=this;function r(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"),a()}),e),r(t)}function a(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",a),n.removeListener("error",a),n.removeListener("response",a),n.removeListener("close",a),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",r),this.on("abort",a),this.on("error",a),this.on("response",a),this.on("close",a),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){b.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(b.prototype,e,{get:function(){return this._currentRequest[e]}})})),b.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))}},b.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 i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(i._redirectable=this,d))i.on(a,f[a]);if(this._currentUrl=/^\//.test(this._options.path)?r.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(o<c.length){var n=c[o++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},b.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(O(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new v;var o=this._options.beforeRedirect;o&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=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=[],j(/^content-/i,this._options.headers));var l,d,f=j(/^host$/i,this._options.headers),m=E(this._currentUrl),h=f||m.host,g=/^\w+:/.test(a)?this._currentUrl:r.format(Object.assign(m,{host:h})),y=(l=a,d=g,p?new i(l,d):E(r.resolve(d,l)));if(u("redirecting to",y.href),this._isRedirect=!0,k(y,this._options),(y.protocol!==m.protocol&&"https:"!==y.protocol||y.host!==h&&!function(e,t){c(T(e)&&T(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(y.host,h))&&j(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),P(o)){var x={headers:e.headers,statusCode:t},b={url:g,method:s,headers:n};o(this._options,x,b),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:a,https:o}),e.exports.wrap=w},737:(e,t,n)=>{var r=n(801),i=n(9023),a=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,u=n(9896),p=n(2203).Stream,l=n(6049),d=n(1873),f=n(1362);function m(e){if(!(this instanceof m))return new m(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],r.call(this),e=e||{})this[t]=e[t]}e.exports=m,i.inherits(m,r),m.LINE_BREAK="\r\n",m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var a=r.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),s=this._multiPartFooter();a(o),a(t),a(s),this._trackLength(o,t,n)}},m.prototype._trackLength=function(e,t,n){var r=0;null!=n.knownLength?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+m.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof p)&&(n.knownLength||this._valuesToMeasure.push(t))},m.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,(function(n,r){var i;n?t(n):(i=r.size-(e.start?e.start:0),t(null,i))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},m.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var r,i=this._getContentDisposition(t,n),a=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(a||[])};for(var c in"object"==typeof n.header&&f(s,n.header),s)s.hasOwnProperty(c)&&null!=(r=s[c])&&(Array.isArray(r)||(r=[r]),r.length&&(o+=c+": "+r.join("; ")+m.LINE_BREAK));return"--"+this.getBoundary()+m.LINE_BREAK+o+m.LINE_BREAK},m.prototype._getContentDisposition=function(e,t){var n,r;return"string"==typeof t.filepath?n=a.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=a.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=a.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r},m.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=l.lookup(e.name)),!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=l.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=m.DEFAULT_CONTENT_TYPE),n},m.prototype._multiPartFooter=function(){return function(e){var t=m.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},m.prototype.setBoundary=function(e){this._boundary=e},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;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(m.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},m.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},m.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},m.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},m.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?d.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,r){n?e(n):(r.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},m.prototype.submit=function(e,t){var n,r,i={method:"post"};return"string"==typeof e?(e=c(e),r=f({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(r=f(e,i)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),n="https:"==r.protocol?s.request(r):o.request(r),this.getLength(function(e,r){if(e&&"Unknown stream"!==e)this._error(e);else if(r&&n.setHeader("Content-Length",r),this.pipe(n),t){var i,a=function(e,r){return n.removeListener("error",a),n.removeListener("response",i),t.call(this,e,r)};i=a.bind(this,null),n.on("error",a),n.on("response",i)}}.bind(this)),n},m.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},m.prototype.toString=function(){return"[object FormData]"}},1362:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},5884:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)}},1571:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r='<!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> '},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 r=n(6923);Object.defineProperty(t,"compactDecrypt",{enumerable:!0,get:function(){return r.compactDecrypt}});var i=n(4533);Object.defineProperty(t,"flattenedDecrypt",{enumerable:!0,get:function(){return i.flattenedDecrypt}});var a=n(774);Object.defineProperty(t,"generalDecrypt",{enumerable:!0,get:function(){return a.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 u=n(9060);Object.defineProperty(t,"generalVerify",{enumerable:!0,get:function(){return u.generalVerify}});var p=n(3082);Object.defineProperty(t,"jwtVerify",{enumerable:!0,get:function(){return p.jwtVerify}});var l=n(3814);Object.defineProperty(t,"jwtDecrypt",{enumerable:!0,get:function(){return l.jwtDecrypt}});var d=n(7815);Object.defineProperty(t,"CompactEncrypt",{enumerable:!0,get:function(){return d.CompactEncrypt}});var f=n(9805);Object.defineProperty(t,"FlattenedEncrypt",{enumerable:!0,get:function(){return f.FlattenedEncrypt}});var m=n(9851);Object.defineProperty(t,"CompactSign",{enumerable:!0,get:function(){return m.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 g=n(2230);Object.defineProperty(t,"SignJWT",{enumerable:!0,get:function(){return g.SignJWT}});var y=n(6638);Object.defineProperty(t,"EncryptJWT",{enumerable:!0,get:function(){return y.EncryptJWT}});var x=n(2599);Object.defineProperty(t,"calculateJwkThumbprint",{enumerable:!0,get:function(){return x.calculateJwkThumbprint}}),Object.defineProperty(t,"calculateJwkThumbprintUri",{enumerable:!0,get:function(){return x.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 _=n(9877);Object.defineProperty(t,"createRemoteJWKSet",{enumerable:!0,get:function(){return _.createRemoteJWKSet}});var E=n(49);Object.defineProperty(t,"UnsecuredJWT",{enumerable:!0,get:function(){return E.UnsecuredJWT}});var S=n(68);Object.defineProperty(t,"exportPKCS8",{enumerable:!0,get:function(){return S.exportPKCS8}}),Object.defineProperty(t,"exportSPKI",{enumerable:!0,get:function(){return S.exportSPKI}}),Object.defineProperty(t,"exportJWK",{enumerable:!0,get:function(){return S.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 j=n(4443);Object.defineProperty(t,"decodeProtectedHeader",{enumerable:!0,get:function(){return j.decodeProtectedHeader}});var A=n(8396);Object.defineProperty(t,"decodeJwt",{enumerable:!0,get:function(){return A.decodeJwt}}),t.errors=n(6247);var O=n(409);Object.defineProperty(t,"generateKeyPair",{enumerable:!0,get:function(){return O.generateKeyPair}});var T=n(4121);Object.defineProperty(t,"generateSecret",{enumerable:!0,get:function(){return T.generateSecret}}),t.base64url=n(8462);var P=n(4166);Object.defineProperty(t,"cryptoRuntime",{enumerable:!0,get:function(){return P.default}})},6923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactDecrypt=void 0;const r=n(4533),i=n(6247),a=n(5821);t.compactDecrypt=async function(e,t,n){if(e instanceof Uint8Array&&(e=a.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:u,4:p,length:l}=e.split(".");if(5!==l)throw new i.JWEInvalid("Invalid Compact JWE");const d=await(0,r.flattenedDecrypt)({ciphertext:u,iv:c||void 0,protected:o||void 0,tag:p||void 0,encrypted_key:s||void 0},t,n),f={plaintext:d.plaintext,protectedHeader:d.protectedHeader};return"function"==typeof t?{...f,key:d.key}:f}},7815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactEncrypt=void 0;const r=n(9805);t.CompactEncrypt=class{constructor(e){this._flattened=new r.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 r=n(82),i=n(4799),a=n(7609),o=n(6247),s=n(9476),c=n(1855),u=n(4760),p=n(5821),l=n(1784),d=n(2458),f=n(8604);t.flattenedDecrypt=async function(e,t,n){var m;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,r.decode)(e.protected);h=JSON.parse(p.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:g,enc:y}=v;if("string"!=typeof g||!g)throw new o.JWEInvalid("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof y||!y)throw new o.JWEInvalid("missing JWE Encryption Algorithm (enc) in JWE Header");const x=n&&(0,f.default)("keyManagementAlgorithms",n.keyManagementAlgorithms),b=n&&(0,f.default)("contentEncryptionAlgorithms",n.contentEncryptionAlgorithms);if(x&&!x.has(g))throw new o.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(b&&!b.has(y))throw new o.JOSEAlgNotAllowed('"enc" (Encryption Algorithm) Header Parameter not allowed');let w;if(void 0!==e.encrypted_key)try{w=(0,r.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{_=await(0,u.default)(g,t,w,v,n)}catch(e){if(e instanceof TypeError||e instanceof o.JWEInvalid||e instanceof o.JOSENotSupported)throw e;_=(0,l.default)(y)}try{E=(0,r.decode)(e.iv)}catch{throw new o.JWEInvalid("Failed to base64url decode the iv")}try{S=(0,r.decode)(e.tag)}catch{throw new o.JWEInvalid("Failed to base64url decode the tag")}const j=p.encoder.encode(null!==(m=e.protected)&&void 0!==m?m:"");let A,O;A=void 0!==e.aad?(0,p.concat)(j,p.encoder.encode("."),p.encoder.encode(e.aad)):j;try{O=(0,r.decode)(e.ciphertext)}catch{throw new o.JWEInvalid("Failed to base64url decode the ciphertext")}let T=await(0,i.default)(y,_,O,E,S,A);"DEF"===v.zip&&(T=await((null==n?void 0:n.inflateRaw)||a.inflate)(T));const P={plaintext:T};if(void 0!==e.protected&&(P.protectedHeader=h),void 0!==e.aad)try{P.additionalAuthenticatedData=(0,r.decode)(e.aad)}catch{throw new o.JWEInvalid("Failed to base64url decode the aad")}return void 0!==e.unprotected&&(P.sharedUnprotectedHeader=e.unprotected),void 0!==e.header&&(P.unprotectedHeader=e.header),k?{...P,key:t}:P}},9805:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlattenedEncrypt=t.unprotected=void 0;const r=n(82),i=n(2027),a=n(7609),o=n(7974),s=n(508),c=n(6247),u=n(9476),p=n(5821),l=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,u.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,l.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:f,enc:m}=d;if("string"!=typeof f||!f)throw new c.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof m||!m)throw new c.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let h,v,g,y,x,b,w;if("dir"===f){if(this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if("ECDH-ES"===f&&this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement");{let r;({cek:v,encryptedKey:h,parameters:r}=await(0,s.default)(f,m,e,this._cek,this._keyManagementParameters)),r&&(n&&t.unprotected in n?this._unprotectedHeader?this._unprotectedHeader={...this._unprotectedHeader,...r}:this.setUnprotectedHeader(r):this._protectedHeader?this._protectedHeader={...this._protectedHeader,...r}:this.setProtectedHeader(r))}if(this._iv||(this._iv=(0,o.default)(m)),y=this._protectedHeader?p.encoder.encode((0,r.encode)(JSON.stringify(this._protectedHeader))):p.encoder.encode(""),this._aad?(x=(0,r.encode)(this._aad),g=(0,p.concat)(y,p.encoder.encode("."),p.encoder.encode(x))):g=y,"DEF"===d.zip){const e=await((null==n?void 0:n.deflateRaw)||a.deflate)(this._plaintext);({ciphertext:b,tag:w}=await(0,i.default)(m,e,v,this._iv,g))}else({ciphertext:b,tag:w}=await(0,i.default)(m,this._plaintext,v,this._iv,g));const _={ciphertext:(0,r.encode)(b),iv:(0,r.encode)(this._iv),tag:(0,r.encode)(w)};return h&&(_.encrypted_key=(0,r.encode)(h)),x&&(_.aad=x),this._protectedHeader&&(_.protected=p.decoder.decode(y)),this._sharedUnprotectedHeader&&(_.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(_.header=this._unprotectedHeader),_}}},774:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generalDecrypt=void 0;const r=n(4533),i=n(6247),a=n(1855);t.generalDecrypt=async function(e,t,n){if(!(0,a.default)(e))throw new i.JWEInvalid("General JWE must be an object");if(!Array.isArray(e.recipients)||!e.recipients.every(a.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,r.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 r=n(9805),i=n(6247),a=n(1784),o=n(9476),s=n(508),c=n(82),u=n(2458);class p{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 p(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,p;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 r.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 l;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:r}=n;if("string"!=typeof r||!r)throw new i.JWEInvalid('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===r||"ECDH-ES"===r)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(l){if(l!==n.enc)throw new i.JWEInvalid('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else l=n.enc;if((0,u.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,a.default)(l);let f={ciphertext:"",iv:"",recipients:[],tag:""};for(let i=0;i<this._recipients.length;i++){const a=this._recipients[i],o={};f.recipients.push(o);const u={...this._protectedHeader,...this._unprotectedHeader,...a.unprotectedHeader}.alg.startsWith("PBES2")?2048+i:void 0;if(0===i){const t=await new r.FlattenedEncrypt(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(d).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(a.unprotectedHeader).setKeyManagementParameters({p2c:u}).encrypt(a.key,{...a.options,...e,[r.unprotected]:!0});f.ciphertext=t.ciphertext,f.iv=t.iv,f.tag=t.tag,t.aad&&(f.aad=t.aad),t.protected&&(f.protected=t.protected),t.unprotected&&(f.unprotected=t.unprotected),o.encrypted_key=t.encrypted_key,t.header&&(o.header=t.header);continue}const{encryptedKey:m,parameters:h}=await(0,s.default)((null===(t=a.unprotectedHeader)||void 0===t?void 0:t.alg)||(null===(n=this._protectedHeader)||void 0===n?void 0:n.alg)||(null===(p=this._unprotectedHeader)||void 0===p?void 0:p.alg),l,a.key,d,{p2c:u});o.encrypted_key=(0,c.encode)(m),(a.unprotectedHeader||h)&&(o.header={...a.unprotectedHeader,...h})}return f}}},278:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmbeddedJWK=void 0;const r=n(7364),i=n(1855),a=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 a.JWSInvalid('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const o=await(0,r.importJWK)({...n.jwk,ext:!0},n.alg,!0);if(o instanceof Uint8Array||"public"!==o.type)throw new a.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 r=n(6332),i=n(82),a=n(6247),o=n(5821),s=n(1855),c=(e,t)=>{if("string"!=typeof e||!e)throw new a.JWKInvalid(`${t} missing or invalid`)};async function u(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 a.JOSENotSupported('"kty" (Key Type) Parameter missing or unsupported')}const u=o.encoder.encode(JSON.stringify(n));return(0,i.encode)(await(0,r.default)(t,u))}t.calculateJwkThumbprint=u,t.calculateJwkThumbprintUri=async function(e,t){null!=t||(t="sha256");const n=await u(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 r=n(7364),i=n(6247),a=n(1855);function o(e){return e&&"object"==typeof e&&Array.isArray(e.keys)&&e.keys.every(s)}function s(e){return(0,a.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:r}={...e,...null==t?void 0:t.header},a=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=a===e.kty;if(t&&"string"==typeof r&&(t=r===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 u(t,e,n)}catch{continue}},e}return u(this._cached,s,n)}}async function u(e,t,n){const a=e.get(t)||e.set(t,{}).get(t);if(void 0===a[n]){const e=await(0,r.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");a[n]=e}return a[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 r=n(8832),i=n(6247),a=n(6980);class o extends a.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,r.default)(this._url,this._timeoutDuration,this._options).then((e=>{if(!(0,a.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 r=n(4329);t.CompactSign=class{constructor(e){this._flattened=new r.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 r=n(6833),i=n(6247),a=n(5821);t.compactVerify=async function(e,t,n){if(e instanceof Uint8Array&&(e=a.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:u}=e.split(".");if(3!==u)throw new i.JWSInvalid("Invalid Compact JWS");const p=await(0,r.flattenedVerify)({payload:s,protected:o,signature:c},t,n),l={payload:p.payload,protectedHeader:p.protectedHeader};return"function"==typeof t?{...l,key:p.key}:l}},4329:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlattenedSign=void 0;const r=n(82),i=n(7965),a=n(9476),o=n(6247),s=n(5821),c=n(1688),u=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,a.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 p=!0;if((0,u.default)(o.JWSInvalid,new Map([["b64",!0]]),null==t?void 0:t.crit,this._protectedHeader,n).has("b64")&&(p=this._protectedHeader.b64,"boolean"!=typeof p))throw new o.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:l}=n;if("string"!=typeof l||!l)throw new o.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,c.default)(l,e,"sign");let d,f=this._payload;p&&(f=s.encoder.encode((0,r.encode)(f))),d=this._protectedHeader?s.encoder.encode((0,r.encode)(JSON.stringify(this._protectedHeader))):s.encoder.encode("");const m=(0,s.concat)(d,s.encoder.encode("."),f),h=await(0,i.default)(l,e,m),v={signature:(0,r.encode)(h),payload:""};return p&&(v.payload=s.decoder.decode(f)),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 r=n(82),i=n(3117),a=n(6247),o=n(5821),s=n(9476),c=n(1855),u=n(1688),p=n(2458),l=n(8604);t.flattenedVerify=async function(e,t,n){var d;if(!(0,c.default)(e))throw new a.JWSInvalid("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new a.JWSInvalid('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new a.JWSInvalid("JWS Protected Header incorrect type");if(void 0===e.payload)throw new a.JWSInvalid("JWS Payload missing");if("string"!=typeof e.signature)throw new a.JWSInvalid("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,c.default)(e.header))throw new a.JWSInvalid("JWS Unprotected Header incorrect type");let f={};if(e.protected)try{const t=(0,r.decode)(e.protected);f=JSON.parse(o.decoder.decode(t))}catch{throw new a.JWSInvalid("JWS Protected Header is invalid")}if(!(0,s.default)(f,e.header))throw new a.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const m={...f,...e.header};let h=!0;if((0,p.default)(a.JWSInvalid,new Map([["b64",!0]]),null==n?void 0:n.crit,f,m).has("b64")&&(h=f.b64,"boolean"!=typeof h))throw new a.JWSInvalid('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:v}=m;if("string"!=typeof v||!v)throw new a.JWSInvalid('JWS "alg" (Algorithm) Header Parameter missing or invalid');const g=n&&(0,l.default)("algorithms",n.algorithms);if(g&&!g.has(v))throw new a.JOSEAlgNotAllowed('"alg" (Algorithm) Header Parameter not allowed');if(h){if("string"!=typeof e.payload)throw new a.JWSInvalid("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new a.JWSInvalid("JWS Payload must be a string or an Uint8Array instance");let y=!1;"function"==typeof t&&(t=await t(f,e),y=!0),(0,u.default)(v,t,"verify");const x=(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,r.decode)(e.signature)}catch{throw new a.JWSInvalid("Failed to base64url decode the signature")}if(!await(0,i.default)(v,t,b,x))throw new a.JWSSignatureVerificationFailed;if(h)try{w=(0,r.decode)(e.payload)}catch{throw new a.JWSInvalid("Failed to base64url decode the payload")}else w="string"==typeof e.payload?o.encoder.encode(e.payload):e.payload;const _={payload:w};return void 0!==e.protected&&(_.protectedHeader=f),void 0!==e.header&&(_.unprotectedHeader=e.header),y?{..._,key:t}:_}},7440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSign=void 0;const r=n(4329),i=n(6247);class a{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 a(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],a=new r.FlattenedSign(this._payload);a.setProtectedHeader(n.protectedHeader),a.setUnprotectedHeader(n.unprotectedHeader);const{payload:o,...s}=await a.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 r=n(6833),i=n(6247),a=n(1855);t.generalVerify=async function(e,t,n){if(!(0,a.default)(e))throw new i.JWSInvalid("General JWS must be an object");if(!Array.isArray(e.signatures)||!e.signatures.every(a.default))throw new i.JWSInvalid("JWS Signatures missing or incorrect type");for(const i of e.signatures)try{return await(0,r.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 r=n(6923),i=n(493),a=n(6247);t.jwtDecrypt=async function(e,t,n){const o=await(0,r.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 a.JWTClaimValidationFailed('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(void 0!==c.sub&&c.sub!==s.sub)throw new a.JWTClaimValidationFailed('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(void 0!==c.aud&&JSON.stringify(c.aud)!==JSON.stringify(s.aud))throw new a.JWTClaimValidationFailed('replicated "aud" claim header parameter mismatch',"aud","mismatch");const u={payload:s,protectedHeader:c};return"function"==typeof t?{...u,key:o.key}:u}},6638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptJWT=void 0;const r=n(7815),i=n(5821),a=n(751);class o extends a.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 r.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 r=n(936),i=n(1855),a=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,r.default)(new Date)+(0,a.default)(e)},this}setExpirationTime(e){return this._payload="number"==typeof e?{...this._payload,exp:e}:{...this._payload,exp:(0,r.default)(new Date)+(0,a.default)(e)},this}setIssuedAt(e){return this._payload=void 0===e?{...this._payload,iat:(0,r.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 r=n(9851),i=n(6247),a=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 r.CompactSign(a.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 r=n(82),i=n(5821),a=n(6247),o=n(493),s=n(751);class c extends s.ProduceJWT{encode(){return`${r.encode(JSON.stringify({alg:"none"}))}.${r.encode(JSON.stringify(this._payload))}.`}static decode(e,t){if("string"!=typeof e)throw new a.JWTInvalid("Unsecured JWT must be a string");const{0:n,1:s,2:c,length:u}=e.split(".");if(3!==u||""!==c)throw new a.JWTInvalid("Invalid Unsecured JWT");let p;try{if(p=JSON.parse(i.decoder.decode(r.decode(n))),"none"!==p.alg)throw new Error}catch{throw new a.JWTInvalid("Invalid Unsecured JWT")}return{payload:(0,o.default)(p,r.decode(s),t),header:p}}}t.UnsecuredJWT=c},3082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.jwtVerify=void 0;const r=n(1427),i=n(493),a=n(6247);t.jwtVerify=async function(e,t,n){var o;const s=await(0,r.compactVerify)(e,t,n);if((null===(o=s.protectedHeader.crit)||void 0===o?void 0:o.includes("b64"))&&!1===s.protectedHeader.b64)throw new a.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 r=n(293),i=n(293),a=n(9590);t.exportSPKI=async function(e){return(0,r.toSPKI)(e)},t.exportPKCS8=async function(e){return(0,i.toPKCS8)(e)},t.exportJWK=async function(e){return(0,a.default)(e)}},409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateKeyPair=void 0;const r=n(7975);t.generateKeyPair=async function(e,t){return(0,r.generateKeyPair)(e,t)}},4121:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateSecret=void 0;const r=n(7975);t.generateSecret=async function(e,t){return(0,r.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 r=n(82),i=n(293),a=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,a.default)({...e,alg:t,ext:null!==(i=e.ext)&&void 0!==i&&i}):(0,r.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,a.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 r=n(2027),i=n(4799),a=n(7974),o=n(82);t.wrap=async function(e,t,n,i){const s=e.slice(0,7);i||(i=(0,a.default)(s));const{ciphertext:c,tag:u}=await(0,r.default)(s,n,t,i,new Uint8Array(0));return{encryptedKey:c,iv:(0,o.encode)(i),tag:(0,o.encode)(u)}},t.unwrap=async function(e,t,n,r,a){const o=e.slice(0,7);return(0,i.default)(o,t,n,r,a,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 r=n(6332);t.encoder=new TextEncoder,t.decoder=new TextDecoder;const i=2**32;function a(...e){const t=e.reduce(((e,{length:t})=>e+t),0),n=new Uint8Array(t);let r=0;return e.forEach((e=>{n.set(e,r),r+=e.length})),n}function o(e,t,n){if(t<0||t>=i)throw new RangeError(`value must be >= 0 and <= ${i-1}. 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=a,t.p2s=function(e,n){return a(t.encoder.encode(e),new Uint8Array([0]),n)},t.uint64be=function(e){const t=Math.floor(e/i),n=e%i,r=new Uint8Array(8);return o(r,t,0),o(r,n,4),r},t.uint32be=s,t.lengthAndInput=function(e){return a(s(e.length),e)},t.concatKdf=async function(e,t,n){const i=Math.ceil((t>>3)/32),a=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),a.set(await(0,r.default)("sha256",i),32*t)}return a.slice(0,t>>3)}},1784:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bitLength=void 0;const r=n(6247),i=n(927);function a(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 r.JOSENotSupported(`Unsupported JWE Algorithm: ${e}`)}}t.bitLength=a,t.default=e=>(0,i.default)(new Uint8Array(a(e)>>3))},1146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6247),i=n(7974);t.default=(e,t)=>{if(t.length<<3!==(0,i.bitLength)(e))throw new r.JWEInvalid("Invalid Initialization Vector length")}},1688:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=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,r.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,r.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 r=n(6247);t.default=function(e){if(!(e instanceof Uint8Array)||e.length<8)throw new r.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 r(e,t){return e.name===t}function i(e){return parseInt(e.name.slice(4),10)}function a(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(!r(e.algorithm,"HMAC"))throw n("HMAC");const a=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!r(e.algorithm,"RSASSA-PKCS1-v1_5"))throw n("RSASSA-PKCS1-v1_5");const a=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!r(e.algorithm,"RSA-PSS"))throw n("RSA-PSS");const a=parseInt(t.slice(2),10);if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"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(!r(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")}a(e,o)},t.checkEncCryptoKey=function(e,t,...o){switch(t){case"A128GCM":case"A192GCM":case"A256GCM":{if(!r(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(!r(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(!r(e.algorithm,"PBKDF2"))throw n("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!r(e.algorithm,"RSA-OAEP"))throw n("RSA-OAEP");const a=parseInt(t.slice(9),10)||1;if(i(e.algorithm.hash)!==a)throw n(`SHA-${a}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}a(e,o)}},4760:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2395),i=n(6112),a=n(5904),o=n(3020),s=n(82),c=n(6247),u=n(1784),p=n(7364),l=n(1688),d=n(1855),f=n(7031);t.default=async function(e,t,n,m,h){switch((0,l.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)(m.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 a=await(0,p.importJWK)(m.epk,e);let o,l;if(void 0!==m.apu){if("string"!=typeof m.apu)throw new c.JWEInvalid('JOSE Header "apu" (Agreement PartyUInfo) invalid');try{o=(0,s.decode)(m.apu)}catch{throw new c.JWEInvalid("Failed to base64url decode the apu")}}if(void 0!==m.apv){if("string"!=typeof m.apv)throw new c.JWEInvalid('JOSE Header "apv" (Agreement PartyVInfo) invalid');try{l=(0,s.decode)(m.apv)}catch{throw new c.JWEInvalid("Failed to base64url decode the apv")}}const f=await i.deriveKey(a,t,"ECDH-ES"===e?m.enc:e,"ECDH-ES"===e?(0,u.bitLength)(m.enc):parseInt(e.slice(-5,-2),10),o,l);if("ECDH-ES"===e)return f;if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,r.unwrap)(e.slice(-6),f,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 m.p2c)throw new c.JWEInvalid('JOSE Header "p2c" (PBES2 Count) missing or invalid');const r=(null==h?void 0:h.maxPBES2Count)||1e4;if(m.p2c>r)throw new c.JWEInvalid('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof m.p2s)throw new c.JWEInvalid('JOSE Header "p2s" (PBES2 Salt) missing or invalid');let i;try{i=(0,s.decode)(m.p2s)}catch{throw new c.JWEInvalid("Failed to base64url decode the p2s")}return(0,a.decrypt)(e,t,n,m.p2c,i)}case"A128KW":case"A192KW":case"A256KW":if(void 0===n)throw new c.JWEInvalid("JWE Encrypted Key missing");return(0,r.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 m.iv)throw new c.JWEInvalid('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof m.tag)throw new c.JWEInvalid('JOSE Header "tag" (Authentication Tag) missing or invalid');let r,i;try{r=(0,s.decode)(m.iv)}catch{throw new c.JWEInvalid("Failed to base64url decode the iv")}try{i=(0,s.decode)(m.tag)}catch{throw new c.JWEInvalid("Failed to base64url decode the tag")}return(0,f.unwrap)(e,t,n,r,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 r=n(2395),i=n(6112),a=n(5904),o=n(3020),s=n(82),c=n(1784),u=n(6247),p=n(68),l=n(1688),d=n(7031);t.default=async function(e,t,n,f,m={}){let h,v,g;switch((0,l.default)(e,n,"encrypt"),e){case"dir":g=n;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!i.ecdhAllowed(n))throw new u.JOSENotSupported("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:a,apv:o}=m;let{epk:l}=m;l||(l=(await i.generateEpk(n)).privateKey);const{x:d,y,crv:x,kty:b}=await(0,p.exportJWK)(l),w=await i.deriveKey(n,l,"ECDH-ES"===e?t:e,"ECDH-ES"===e?(0,c.bitLength)(t):parseInt(e.slice(-5,-2),10),a,o);if(v={epk:{x:d,crv:x,kty:b}},"EC"===b&&(v.epk.y=y),a&&(v.apu=(0,s.encode)(a)),o&&(v.apv=(0,s.encode)(o)),"ECDH-ES"===e){g=w;break}g=f||(0,c.default)(t);const _=e.slice(-6);h=await(0,r.wrap)(_,w,g);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":g=f||(0,c.default)(t),h=await(0,o.encrypt)(e,n,g);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{g=f||(0,c.default)(t);const{p2c:r,p2s:i}=m;({encryptedKey:h,...v}=await(0,a.encrypt)(e,n,g,r,i));break}case"A128KW":case"A192KW":case"A256KW":g=f||(0,c.default)(t),h=await(0,r.wrap)(e,n,g);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{g=f||(0,c.default)(t);const{iv:r}=m;({encryptedKey:h,...v}=await(0,d.wrap)(e,n,g,r));break}default:throw new u.JOSENotSupported('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:g,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,...r){return n(`Key for the ${e} algorithm must be `,t,...r)}},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 r=n(6247),i=n(927);function a(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 r.JOSENotSupported(`Unsupported JWE Algorithm: ${e}`)}}t.bitLength=a,t.default=e=>(0,i.default)(new Uint8Array(a(e)>>3))},493:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6247),i=n(5821),a=n(936),o=n(9743),s=n(1855),c=e=>e.toLowerCase().replace(/^application\//,"");t.default=(e,t,n={})=>{const{typ:u}=n;if(u&&("string"!=typeof e.typ||c(e.typ)!==c(u)))throw new r.JWTClaimValidationFailed('unexpected "typ" JWT header value',"typ","check_failed");let p;try{p=JSON.parse(i.decoder.decode(t))}catch{}if(!(0,s.default)(p))throw new r.JWTInvalid("JWT Claims Set must be a top-level JSON object");const{requiredClaims:l=[],issuer:d,subject:f,audience:m,maxTokenAge:h}=n;void 0!==h&&l.push("iat"),void 0!==m&&l.push("aud"),void 0!==f&&l.push("sub"),void 0!==d&&l.push("iss");for(const e of new Set(l.reverse()))if(!(e in p))throw new r.JWTClaimValidationFailed(`missing required "${e}" claim`,e,"missing");if(d&&!(Array.isArray(d)?d:[d]).includes(p.iss))throw new r.JWTClaimValidationFailed('unexpected "iss" claim value',"iss","check_failed");if(f&&p.sub!==f)throw new r.JWTClaimValidationFailed('unexpected "sub" claim value',"sub","check_failed");if(m&&(g="string"==typeof m?[m]:m,!("string"==typeof(v=p.aud)?g.includes(v):Array.isArray(v)&&g.some(Set.prototype.has.bind(new Set(v))))))throw new r.JWTClaimValidationFailed('unexpected "aud" claim value',"aud","check_failed");var v,g;let y;switch(typeof n.clockTolerance){case"string":y=(0,o.default)(n.clockTolerance);break;case"number":y=n.clockTolerance;break;case"undefined":y=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:x}=n,b=(0,a.default)(x||new Date);if((void 0!==p.iat||h)&&"number"!=typeof p.iat)throw new r.JWTClaimValidationFailed('"iat" claim must be a number',"iat","invalid");if(void 0!==p.nbf){if("number"!=typeof p.nbf)throw new r.JWTClaimValidationFailed('"nbf" claim must be a number',"nbf","invalid");if(p.nbf>b+y)throw new r.JWTClaimValidationFailed('"nbf" claim timestamp check failed',"nbf","check_failed")}if(void 0!==p.exp){if("number"!=typeof p.exp)throw new r.JWTClaimValidationFailed('"exp" claim must be a number',"exp","invalid");if(p.exp<=b-y)throw new r.JWTExpired('"exp" claim timestamp check failed',"exp","check_failed")}if(h){const e=b-p.iat;if(e-y>("number"==typeof h?h:(0,o.default)(h)))throw new r.JWTExpired('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(e<0-y)throw new r.JWTClaimValidationFailed('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return p}},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 r=parseFloat(t[1]);switch(t[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(r);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(60*r);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(3600*r);case"day":case"days":case"d":return Math.round(86400*r);case"week":case"weeks":case"w":return Math.round(604800*r);default:return Math.round(31557600*r)}}},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 r=n(6247);t.default=function(e,t,n,i,a){if(void 0!==a.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 r.JOSENotSupported(`Extension Header Parameter "${t}" is not recognized`);if(void 0===a[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 r=n(181),i=n(6982),a=n(6247),o=n(5821),s=n(8993),c=n(2484),u=n(4512),p=n(8737),l=n(3022),d=n(740);function f(e,t){if(e.symmetricKeySize<<3!==parseInt(t.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${t}`)}function m(e,t,n){if((0,u.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,p.default)(e,...d.types,"Uint8Array"))}t.wrap=(e,t,n)=>{const s=`aes${parseInt(e.slice(1,4),10)}-wrap`;if(!(0,l.default)(s))throw new a.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`);const c=m(t,e,"wrapKey");f(c,e);const u=(0,i.createCipheriv)(s,c,r.Buffer.alloc(8,166));return(0,o.concat)(u.update(n),u.final())},t.unwrap=(e,t,n)=>{const s=`aes${parseInt(e.slice(1,4),10)}-wrap`;if(!(0,l.default)(s))throw new a.JOSENotSupported(`alg ${e} is not supported either by JOSE or your javascript runtime`);const c=m(t,e,"unwrapKey");f(c,e);const u=(0,i.createDecipheriv)(s,c,r.Buffer.alloc(8,166));return(0,o.concat)(u.update(n),u.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 r=n(6982),i=n(181),a=n(8993),o=n(4512),s=n(8737),c=n(740),u=(e,t,n)=>{let i;if((0,a.isCryptoKey)(n)){if(!n.extractable)throw new TypeError("CryptoKey is not extractable");i=r.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=>u("public","spki",e),t.toPKCS8=e=>u("private","pkcs8",e),t.fromPKCS8=e=>(0,r.createPrivateKey)({key:i.Buffer.from(e.replace(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,""),"base64"),type:"pkcs8",format:"der"}),t.fromSPKI=e=>(0,r.createPublicKey)({key:i.Buffer.from(e.replace(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,""),"base64"),type:"spki",format:"der"}),t.fromX509=e=>(0,r.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 r=n(181),i=n(6247),a=r.Buffer.from([0]),o=r.Buffer.from([2]),s=r.Buffer.from([3]),c=r.Buffer.from([48]),u=r.Buffer.from([4]),p=e=>{if(e<128)return r.Buffer.from([e]);const t=r.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)},l=new Map([["P-256",r.Buffer.from("06 08 2A 86 48 CE 3D 03 01 07".replace(/ /g,""),"hex")],["secp256k1",r.Buffer.from("06 05 2B 81 04 00 0A".replace(/ /g,""),"hex")],["P-384",r.Buffer.from("06 05 2B 81 04 00 22".replace(/ /g,""),"hex")],["P-521",r.Buffer.from("06 05 2B 81 04 00 23".replace(/ /g,""),"hex")],["ecPublicKey",r.Buffer.from("06 07 2A 86 48 CE 3D 02 01".replace(/ /g,""),"hex")],["X25519",r.Buffer.from("06 03 2B 65 6E".replace(/ /g,""),"hex")],["X448",r.Buffer.from("06 03 2B 65 6F".replace(/ /g,""),"hex")],["Ed25519",r.Buffer.from("06 03 2B 65 70".replace(/ /g,""),"hex")],["Ed448",r.Buffer.from("06 03 2B 65 71".replace(/ /g,""),"hex")]]);t.default=class{constructor(){this.length=0,this.elements=[]}oidFor(e){const t=l.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,r.Buffer.from([1]),a),this.length+=3}one(){this.elements.push(o,r.Buffer.from([1]),r.Buffer.from([1])),this.length+=3}unsignedInteger(e){if(128&e[0]){const t=p(e.length+1);this.elements.push(o,t,a,e),this.length+=2+t.length+e.length}else{let t=0;for(;0===e[t]&&!(128&e[t+1]);)t++;const n=p(e.length-t);this.elements.push(o,p(e.length-t),e.slice(t)),this.length+=1+n.length+e.length-t}}octStr(e){const t=p(e.length);this.elements.push(u,p(e.length),e),this.length+=1+t.length+e.length}bitStr(e){const t=p(e.length+1);this.elements.push(s,p(e.length+1),a,e),this.length+=1+t.length+e.length+1}add(e){this.elements.push(e),this.length+=e.length}end(e=c){const t=p(this.length);return r.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 r=n(181),i=n(5821);let a;r.Buffer.isEncoding("base64url")?t.encode=a=e=>r.Buffer.from(e).toString("base64url"):t.encode=a=e=>r.Buffer.from(e).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),t.decodeBase64=e=>r.Buffer.from(e,"base64"),t.encodeBase64=e=>r.Buffer.from(e).toString("base64"),t.decode=e=>r.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 r=n(6982),i=n(5821);t.default=function(e,t,n,a,o,s){const c=(0,i.concat)(e,t,n,(0,i.uint64be)(e.length<<3)),u=(0,r.createHmac)(`sha${a}`,o);return u.update(c),u.digest().slice(0,s>>3)}},2319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=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 r.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 r.JWEInvalid(`Invalid Content Encryption Key length. Expected ${n} bits, got ${e} bits`)}else{if(!(0,i.default)(t)||"secret"!==t.type)throw new TypeError("Invalid Content Encryption Key type");{const e=t.symmetricKeySize<<3;if(e!==n)throw new r.JWEInvalid(`Invalid Content Encryption Key length. Expected ${n} bits, got ${e} bits`)}}}},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 r=e.readUInt8(1);if(!(128&r))return 0===t?r:n(e.subarray(2+r),t-1);const i=127&r;r=0;for(let t=0;t<i;t++)r<<=8,r|=e.readUInt8(2+t);return 0===t?r:n(e.subarray(2+r),t-1)};t.setModulusLength=(e,n)=>{t.weakMap.set(e,n)},t.default=(e,r)=>{if((e=>{var r,i;if(t.weakMap.has(e))return t.weakMap.get(e);const a=null!==(i=null===(r=e.asymmetricKeyDetails)||void 0===r?void 0:r.modulusLength)&&void 0!==i?i:((e,t)=>{const r=e.readUInt8(1);if(!(128&r))return n(e.subarray(2),t);const i=127&r;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,a),a})(e)<2048)throw new TypeError(`${r} requires key modulusLength to be 2048 bits or larger`)}},3022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982);let i;t.default=e=>(i||(i=new Set((0,r.getCiphers)())),i.has(e))},4799:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(1146),a=n(2319),o=n(5821),s=n(6247),c=n(2167),u=n(4803),p=n(8993),l=n(2484),d=n(4512),f=n(8737),m=n(3022),h=n(740);t.default=(e,t,n,v,g,y)=>{let x;if((0,p.isCryptoKey)(t))(0,l.checkEncCryptoKey)(t,e,"decrypt"),x=r.KeyObject.from(t);else{if(!(t instanceof Uint8Array||(0,d.default)(t)))throw new TypeError((0,f.default)(t,...h.types,"Uint8Array"));x=t}switch((0,a.default)(e,x),(0,i.default)(e,v),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return function(e,t,n,i,a,p){const l=parseInt(e.slice(1,4),10);(0,d.default)(t)&&(t=t.export());const f=t.subarray(l>>3),h=t.subarray(0,l>>3),v=parseInt(e.slice(-3),10),g=`aes-${l}-cbc`;if(!(0,m.default)(g))throw new s.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const y=(0,u.default)(p,i,n,v,h,l);let x,b;try{x=(0,c.default)(a,y)}catch{}if(!x)throw new s.JWEDecryptionFailed;try{const e=(0,r.createDecipheriv)(g,f,i);b=(0,o.concat)(e.update(n),e.final())}catch{}if(!b)throw new s.JWEDecryptionFailed;return b}(e,x,n,v,g,y);case"A128GCM":case"A192GCM":case"A256GCM":return function(e,t,n,i,a,o){const c=`aes-${parseInt(e.slice(1,4),10)}-gcm`;if(!(0,m.default)(c))throw new s.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);try{const e=(0,r.createDecipheriv)(c,t,i,{authTagLength:16});e.setAuthTag(a),o.byteLength&&e.setAAD(o,{plaintextLength:n.length});const s=e.update(n);return e.final(),s}catch{throw new s.JWEDecryptionFailed}}(e,x,n,v,g,y);default:throw new s.JOSENotSupported("Unsupported JWE Content Encryption Algorithm")}}},6332:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982);t.default=(e,t)=>(0,r.createHash)(e).update(t).digest()},5945:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=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 r.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 r=n(6982),i=n(9023),a=n(8960),o=n(5821),s=n(6247),c=n(8993),u=n(2484),p=n(4512),l=n(8737),d=n(740),f=(0,i.promisify)(r.generateKeyPair);t.deriveKey=async function(e,t,n,i,a=new Uint8Array(0),s=new Uint8Array(0)){let f,m;if((0,c.isCryptoKey)(e))(0,u.checkEncCryptoKey)(e,"ECDH"),f=r.KeyObject.from(e);else{if(!(0,p.default)(e))throw new TypeError((0,l.default)(e,...d.types));f=e}if((0,c.isCryptoKey)(t))(0,u.checkEncCryptoKey)(t,"ECDH","deriveBits"),m=r.KeyObject.from(t);else{if(!(0,p.default)(t))throw new TypeError((0,l.default)(t,...d.types));m=t}const h=(0,o.concat)((0,o.lengthAndInput)(o.encoder.encode(n)),(0,o.lengthAndInput)(a),(0,o.lengthAndInput)(s),(0,o.uint32be)(i)),v=(0,r.diffieHellman)({privateKey:m,publicKey:f});return(0,o.concatKdf)(v,i,h)},t.generateEpk=async function(e){let t;if((0,c.isCryptoKey)(e))t=r.KeyObject.from(e);else{if(!(0,p.default)(e))throw new TypeError((0,l.default)(e,...d.types));t=e}switch(t.asymmetricKeyType){case"x25519":return f("x25519");case"x448":return f("x448");case"ec":{const e=(0,a.default)(t);return f("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,a.default)(e))},2027:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(1146),a=n(2319),o=n(5821),s=n(4803),c=n(8993),u=n(2484),p=n(4512),l=n(8737),d=n(6247),f=n(3022),m=n(740);t.default=(e,t,n,h,v)=>{let g;if((0,c.isCryptoKey)(n))(0,u.checkEncCryptoKey)(n,e,"encrypt"),g=r.KeyObject.from(n);else{if(!(n instanceof Uint8Array||(0,p.default)(n)))throw new TypeError((0,l.default)(n,...m.types,"Uint8Array"));g=n}switch((0,a.default)(e,g),(0,i.default)(e,h),e){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return function(e,t,n,i,a){const c=parseInt(e.slice(1,4),10);(0,p.default)(n)&&(n=n.export());const u=n.subarray(c>>3),l=n.subarray(0,c>>3),m=`aes-${c}-cbc`;if(!(0,f.default)(m))throw new d.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const h=(0,r.createCipheriv)(m,u,i),v=(0,o.concat)(h.update(t),h.final()),g=parseInt(e.slice(-3),10);return{ciphertext:v,tag:(0,s.default)(a,i,v,g,l,c)}}(e,t,g,h,v);case"A128GCM":case"A192GCM":case"A256GCM":return function(e,t,n,i,a){const o=`aes-${parseInt(e.slice(1,4),10)}-gcm`;if(!(0,f.default)(o))throw new d.JOSENotSupported(`alg ${e} is not supported by your javascript runtime`);const s=(0,r.createCipheriv)(o,n,i,{authTagLength:16});a.byteLength&&s.setAAD(a,{plaintextLength:t.length});const c=s.update(t);return s.final(),{ciphertext:c,tag:s.getAuthTag()}}(e,t,g,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 r=n(8611),i=n(5692),a=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=r.get;break;default:throw new TypeError("Unsupported URL protocol.")}const{agent:u,headers:p}=n,l=c(e.href,{agent:u,timeout:t,headers:p}),[d]=await Promise.race([(0,a.once)(l,"response"),(0,a.once)(l,"timeout")]);if(!d)throw l.destroy(),new o.JWKSTimeout;if(200!==d.statusCode)throw new o.JOSEError("Expected 200 OK from the JSON Web Key Set HTTP response");const f=[];for await(const e of d)f.push(e);try{return JSON.parse(s.decoder.decode((0,s.concat)(...f)))}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,r]=process.versions.node.split(".").map((e=>parseInt(e,10)));t.oneShotCallback=n>=16||15===n&&r>=13,t.rsaPssParams=!("electron"in process.versions)&&(n>=17||16===n&&r>=9),t.jwkExport=n>=16||15===n&&r>=9,t.jwkImport=n>=16||15===n&&r>=12},7975:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateKeyPair=t.generateSecret=void 0;const r=n(6982),i=n(9023),a=n(927),o=n(5363),s=n(6247),c=(0,i.promisify)(r.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,r.createSecretKey)((0,a.default)(new Uint8Array(n>>3)))},t.generateKeyPair=async function(e,t){var n,r;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 r=await c("rsa",{modulusLength:e,publicExponent:65537});return(0,o.setModulusLength)(r.privateKey,e),(0,o.setModulusLength)(r.publicKey,e),r}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!==(r=null==t?void 0:t.crv)&&void 0!==r?r:"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 r=n(181),i=n(6982),a=n(6247),o=n(8993),s=n(4512),c=n(8737),u=n(740),p=r.Buffer.from([42,134,72,206,61,3,1,7]),l=r.Buffer.from([43,129,4,0,34]),d=r.Buffer.from([43,129,4,0,35]),f=r.Buffer.from([43,129,4,0,10]);t.weakMap=new WeakMap;const m=(e,n)=>{var r;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,...u.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===(r=h.asymmetricKeyDetails)||void 0===r?void 0:r.namedCurve;if(e||"private"!==h.type){if(!e){const t=h.export({format:"der",type:"spki"}),n=t[1]<128?14:15,r=t[n],i=t.slice(n+1,n+1+r);if(i.equals(p))e="prime256v1";else if(i.equals(l))e="secp384r1";else if(i.equals(d))e="secp521r1";else{if(!i.equals(f))throw new a.JOSENotSupported("Unsupported key curve for this operation");e="secp256k1"}}}else e=m((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 a.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=m},5206:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(8993),a=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,r.createSecretKey)(t)}if(t instanceof r.KeyObject)return t;if((0,i.isCryptoKey)(t))return(0,a.checkSigCryptoKey)(t,e,n),r.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 r=n(6247);t.default=function(e){switch(e){case"HS256":return"sha256";case"HS384":return"sha384";case"HS512":return"sha512";default:throw new r.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 r=n(8993),i=n(4512);t.default=e=>(0,i.default)(e)||(0,r.isCryptoKey)(e);const a=["KeyObject"];t.types=a,(globalThis.CryptoKey||(null===r.default||void 0===r.default?void 0:r.default.CryptoKey))&&a.push("CryptoKey")},4512:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(9023);t.default=i.types.isKeyObject?e=>i.types.isKeyObject(e):e=>null!=e&&e instanceof r.KeyObject},4660:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(181),i=n(6982),a=n(82),o=n(6247),s=n(8960),c=n(5363),u=n(4138),p=n(1185);t.default=e=>{if(p.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,a.decode)(e.k));case"RSA":{const t=new u.default,n=void 0!==e.d,a=r.Buffer.from(e.n,"base64"),o=r.Buffer.from(e.e,"base64");n?(t.zero(),t.unsignedInteger(a),t.unsignedInteger(o),t.unsignedInteger(r.Buffer.from(e.d,"base64")),t.unsignedInteger(r.Buffer.from(e.p,"base64")),t.unsignedInteger(r.Buffer.from(e.q,"base64")),t.unsignedInteger(r.Buffer.from(e.dp,"base64")),t.unsignedInteger(r.Buffer.from(e.dq,"base64")),t.unsignedInteger(r.Buffer.from(e.qi,"base64"))):(t.unsignedInteger(a),t.unsignedInteger(o));const s={key:t.end(),format:"der",type:"pkcs1"},p=n?(0,i.createPrivateKey)(s):(0,i.createPublicKey)(s);return(0,c.setModulusLength)(p,a.length<<3),p}case"EC":{const t=new u.default,n=void 0!==e.d,a=r.Buffer.concat([r.Buffer.alloc(1,4),r.Buffer.from(e.x,"base64"),r.Buffer.from(e.y,"base64")]);if(n){t.zero();const n=new u.default;n.oidFor("ecPublicKey"),n.oidFor(e.crv),t.add(n.end());const o=new u.default;o.one(),o.octStr(r.Buffer.from(e.d,"base64"));const c=new u.default;c.bitStr(a);const p=c.end(r.Buffer.from([161]));o.add(p);const l=o.end(),d=new u.default;d.add(l);const f=d.end(r.Buffer.from([4]));t.add(f);const m=t.end(),h=(0,i.createPrivateKey)({key:m,format:"der",type:"pkcs8"});return(0,s.setCurve)(h,e.crv),h}const o=new u.default;o.oidFor("ecPublicKey"),o.oidFor(e.crv),t.add(o.end()),t.bitStr(a);const c=t.end(),p=(0,i.createPublicKey)({key:c,format:"der",type:"spki"});return(0,s.setCurve)(p,e.crv),p}case"OKP":{const t=new u.default;if(void 0!==e.d){t.zero();const n=new u.default;n.oidFor(e.crv),t.add(n.end());const a=new u.default;a.octStr(r.Buffer.from(e.d,"base64"));const o=a.end(r.Buffer.from([4]));t.add(o);const s=t.end();return(0,i.createPrivateKey)({key:s,format:"der",type:"pkcs8"})}const n=new u.default;n.oidFor(e.crv),t.add(n.end()),t.bitStr(r.Buffer.from(e.x,"base64"));const a=t.end();return(0,i.createPublicKey)({key:a,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 r=n(6982),i=n(82),a=n(1326),o=n(6247),s=n(8960),c=n(8993),u=n(4512),p=n(8737),l=n(740),d=n(1185),f=e=>{let t;if((0,c.isCryptoKey)(e)){if(!e.extractable)throw new TypeError("CryptoKey is not extractable");t=r.KeyObject.from(e)}else{if(!(0,u.default)(e)){if(e instanceof Uint8Array)return{kty:"oct",k:(0,i.encode)(e)};throw new TypeError((0,p.default)(e,...l.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 a.default(e);"private"===t.type&&n.unsignedInteger();const r=(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:r,e:o,...s}}case"ec":{const e=(0,s.default)(t);let n,a,c;switch(e){case"secp256k1":n=64,a=33,c=-1;break;case"P-256":n=64,a=36,c=-1;break;case"P-384":n=96,a=35,c=-3;break;case"P-521":n=132,a=35,c=-3;break;default:throw new o.JOSENotSupported("Unsupported curve")}if("public"===t.type){const r=t.export({type:"spki",format:"der"});return{kty:"EC",crv:e,x:(0,i.encode)(r.subarray(-n,-n/2)),y:(0,i.encode)(r.subarray(-n/2))}}const u=t.export({type:"pkcs8",format:"der"});return u.length<100&&(a+=c),{...f((0,r.createPublicKey)(t)),d:(0,i.encode)(u.subarray(a,a+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{...f((0,r.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{...f((0,r.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=f},7980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(8960),a=n(6247),o=n(5363),s=n(1185),c={padding:r.constants.RSA_PKCS1_PSS_PADDING,saltLength:r.constants.RSA_PSS_SALTLEN_DIGEST},u=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:r,saltLength:i}=t.asymmetricKeyDetails,a=parseInt(e.slice(-3),10);if(void 0!==n&&(n!==`sha${a}`||r!==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>a>>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),r=u.get(e);if(n!==r)throw new TypeError(`Invalid key curve for the algorithm, its curve must be ${r}, got ${n}`);return{dsaEncoding:"ieee-p1363",key:t}}default:throw new a.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 r=n(9023),i=n(6982),a=n(927),o=n(5821),s=n(82),c=n(2395),u=n(8405),p=n(8993),l=n(2484),d=n(4512),f=n(8737),m=n(740),h=(0,r.promisify)(i.pbkdf2);function v(e,t){if((0,d.default)(e))return e.export();if(e instanceof Uint8Array)return e;if((0,p.isCryptoKey)(e))return(0,l.checkEncCryptoKey)(e,t,"deriveBits","deriveKey"),i.KeyObject.from(e).export();throw new TypeError((0,f.default)(e,...m.types,"Uint8Array"))}t.encrypt=async(e,t,n,r=2048,i=(0,a.default)(new Uint8Array(16)))=>{(0,u.default)(i);const p=(0,o.p2s)(e,i),l=parseInt(e.slice(13,16),10)>>3,d=v(t,e),f=await h(d,p,r,l,`sha${e.slice(8,11)}`);return{encryptedKey:await(0,c.wrap)(e.slice(-6),f,n),p2c:r,p2s:(0,s.encode)(i)}},t.decrypt=async(e,t,n,r,i)=>{(0,u.default)(i);const a=(0,o.p2s)(e,i),s=parseInt(e.slice(13,16),10)>>3,p=v(t,e),l=await h(p,a,r,s,`sha${e.slice(8,11)}`);return(0,c.unwrap)(e.slice(-6),l,n)}},927:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6982);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.randomFillSync}})},3020:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=void 0;const r=n(6982),i=n(5363),a=n(8993),o=n(2484),s=n(4512),c=n(8737),u=n(740),p=(e,t)=>{if("rsa"!==e.asymmetricKeyType)throw new TypeError("Invalid key for this operation, its asymmetricKeyType must be rsa");(0,i.default)(e,t)},l=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return r.constants.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return r.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 f(e,t,...n){if((0,s.default)(e))return e;if((0,a.isCryptoKey)(e))return(0,o.checkEncCryptoKey)(e,t,...n),r.KeyObject.from(e);throw new TypeError((0,c.default)(e,...u.types))}t.encrypt=(e,t,n)=>{const i=l(e),a=d(e),o=f(t,e,"wrapKey","encrypt");return p(o,e),(0,r.publicEncrypt)({key:o,oaepHash:a,padding:i},n)},t.decrypt=(e,t,n)=>{const i=l(e),a=d(e),o=f(t,e,"unwrapKey","decrypt");return p(o,e),(0,r.privateDecrypt)({key:o,oaepHash:a,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 r=n(6982),i=n(9023),a=n(5945),o=n(3254),s=n(7980),c=n(5206);let u;u=r.sign.length>3?(0,i.promisify)(r.sign):r.sign,t.default=async(e,t,n)=>{const i=(0,c.default)(e,t,"sign");if(e.startsWith("HS")){const t=r.createHmac((0,o.default)(e),i);return t.update(n),t.digest()}return u((0,a.default)(e),n,(0,s.default)(e,i))}},2167:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982).timingSafeEqual;t.default=r},3117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6982),i=n(9023),a=n(5945),o=n(7980),s=n(7965),c=n(5206),u=n(1185);let p;p=r.verify.length>4&&u.oneShotCallback?(0,i.promisify)(r.verify):r.verify,t.default=async(e,t,n,i)=>{const u=(0,c.default)(e,t,"verify");if(e.startsWith("HS")){const t=await(0,s.default)(e,u,i),a=n;try{return r.timingSafeEqual(a,t)}catch{return!1}}const l=(0,a.default)(e),d=(0,o.default)(e,u);try{return await p(l,i,d,n)}catch{return!1}}},8993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCryptoKey=void 0;const r=n(6982),i=n(9023),a=r.webcrypto;t.default=a,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 r=n(9023),i=n(3106),a=n(6247),o=(0,r.promisify)(i.inflateRaw),s=(0,r.promisify)(i.deflateRaw);t.inflate=e=>o(e,{maxOutputLength:25e4}).catch((()=>{throw new a.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 r=n(82);t.encode=r.encode,t.decode=r.decode},8396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeJwt=void 0;const r=n(8462),i=n(5821),a=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,r.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,a.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 r=n(8462),i=n(5821),a=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,r.decode)(t)));if(!(0,a.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 r=n(9754);t.default=r.default},7260:(e,t,n)=>{var r=n(5747);e.exports=function(e,t){t=t||{};var n=r.decode(e,t);if(!n)return null;var i=n.payload;if("string"==typeof i)try{var a=JSON.parse(i);null!==a&&"object"==typeof a&&(i=a)}catch(e){}return!0===t.complete?{header:n.header,payload:i,signature:n.signature}:i}},4040:(e,t,n)=>{e.exports={verify:n(1691),sign:n(7651),JsonWebTokenError:n(1741),NotBeforeError:n(3726),TokenExpiredError:n(8980)},Object.defineProperty(e.exports,"decode",{enumerable:!1,value:n(7260)})},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 r=n(1741),i=function(e,t){r.call(this,e),this.name="NotBeforeError",this.date=t};(i.prototype=Object.create(r.prototype)).constructor=i,e.exports=i},8980:(e,t,n)=>{var r=n(1741),i=function(e,t){r.call(this,e),this.name="TokenExpiredError",this.expiredAt=t};(i.prototype=Object.create(r.prototype)).constructor=i,e.exports=i},1977:(e,t,n)=>{const r=n(9589);e.exports=r.satisfies(process.version,">=15.7.0")},4977:(e,t,n)=>{var r=n(9589);e.exports=r.satisfies(process.version,"^6.12.0 || >=8.0.0")},4623:(e,t,n)=>{const r=n(9589);e.exports=r.satisfies(process.version,">=16.9.0")},855:(e,t,n)=>{var r=n(6585);e.exports=function(e,t){var n=t||Math.floor(Date.now()/1e3);if("string"==typeof e){var i=r(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 r=n(1977),i=n(4623),a={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=a[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(r)switch(n){case"ec":const n=t.asymmetricKeyDetails.namedCurve,r=o[e];if(n!==r)throw new Error(`"alg" parameter "${e}" requires curve "${r}".`);break;case"rsa-pss":if(i){const n=parseInt(e.slice(-3),10),{hashAlgorithm:r,mgf1HashAlgorithm:i,saltLength:a}=t.asymmetricKeyDetails;if(r!==`sha${n}`||i!==r)throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${e}.`);if(void 0!==a&&a>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 r=n(855),i=n(4977),a=n(7019),o=n(5747),{includes:s,isBoolean:c,isInteger:u,isNumber:p,isPlainObject:l,isString:d,once:f}=n(2543),{KeyObject:m,createSecretKey:h,createPrivateKey:v}=n(6982),g=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&g.splice(3,0,"PS256","PS384","PS512");const y={expiresIn:{isValid:function(e){return u(e)||d(e)&&e},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(e){return u(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,g),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,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'}},x={iat:{isValid:p,message:'"iat" should be a number of seconds'},exp:{isValid:p,message:'"exp" should be a number of seconds'},nbf:{isValid:p,message:'"nbf" should be a number of seconds'}};function b(e,t,n,r){if(!l(n))throw new Error('Expected "'+r+'" to be a plain object.');Object.keys(n).forEach((function(i){const a=e[i];if(a){if(!a.isValid(n[i]))throw new Error(a.message)}else if(!t)throw new Error('"'+i+'" is not allowed in "'+r+'"')}))}const w={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},_=["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 u(e){if(i)return i(e);throw e}if(!t&&"none"!==n.algorithm)return u(new Error("secretOrPrivateKey must have a value"));if(null!=t&&!(t instanceof m))try{t=v(t)}catch(e){try{t=h("string"==typeof t?Buffer.from(t):t)}catch(e){return u(new Error("secretOrPrivateKey is not valid key material"))}}if(c.alg.startsWith("HS")&&"secret"!==t.type)return u(new Error(`secretOrPrivateKey must be a symmetric key when using ${c.alg}`));if(/^(?:RS|PS|ES)/.test(c.alg)){if("private"!==t.type)return u(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 u(new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`))}if(void 0===e)return u(new Error("payload is required"));if(s){try{!function(e){b(x,!0,e,"payload")}(e)}catch(e){return u(e)}n.mutatePayload||(e=Object.assign({},e))}else{const t=_.filter((function(e){return void 0!==n[e]}));if(t.length>0)return u(new Error("invalid "+t.join(",")+" option for "+typeof e+" payload"))}if(void 0!==e.exp&&void 0!==n.expiresIn)return u(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if(void 0!==e.nbf&&void 0!==n.notBefore)return u(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(e){b(y,!1,e,"options")}(n)}catch(e){return u(e)}if(!n.allowInvalidAsymmetricKeyTypes)try{a(c.alg,t)}catch(e){return u(e)}const p=e.iat||Math.floor(Date.now()/1e3);if(n.noTimestamp?delete e.iat:s&&(e.iat=p),void 0!==n.notBefore){try{e.nbf=r(n.notBefore,p)}catch(e){return u(e)}if(void 0===e.nbf)return u(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=r(n.expiresIn,p)}catch(e){return u(e)}if(void 0===e.exp)return u(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 r=w[t];if(void 0!==n[t]){if(void 0!==e[r])return u(new Error('Bad "options.'+t+'" option. The payload already has an "'+r+'" property.'));e[r]=n[t]}}));const l=n.encoding||"utf8";if("function"!=typeof i){let r=o.sign({header:c,payload:e,secret:t,encoding:l});if(!n.allowInsecureKeySizes&&/^(?:RS|PS)/.test(c.alg)&&r.length<256)throw new Error(`secretOrPrivateKey has a minimum key size of 2048 bits for ${c.alg}`);return r}i=i&&f(i),o.createSign({header:c,privateKey:t,payload:e,encoding:l}).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 r=n(1741),i=n(3726),a=n(8980),o=n(7260),s=n(855),c=n(7019),u=n(4977),p=n(5747),{KeyObject:l,createSecretKey:d,createPublicKey:f}=n(6982),m=["RS256","RS384","RS512"],h=["ES256","ES384","ES512"],v=["RS256","RS384","RS512"],g=["HS256","HS384","HS512"];u&&(m.splice(m.length,0,"PS256","PS384","PS512"),v.splice(v.length,0,"PS256","PS384","PS512")),e.exports=function(e,t,n,u){let y;if("function"!=typeof n||u||(u=n,n={}),n||(n={}),n=Object.assign({},n),y=u||function(e,t){if(e)throw e;return t},n.clockTimestamp&&"number"!=typeof n.clockTimestamp)return y(new r("clockTimestamp must be a number"));if(void 0!==n.nonce&&("string"!=typeof n.nonce||""===n.nonce.trim()))return y(new r("nonce must be a non-empty string"));if(void 0!==n.allowInvalidAsymmetricKeyTypes&&"boolean"!=typeof n.allowInvalidAsymmetricKeyTypes)return y(new r("allowInvalidAsymmetricKeyTypes must be a boolean"));const x=n.clockTimestamp||Math.floor(Date.now()/1e3);if(!e)return y(new r("jwt must be provided"));if("string"!=typeof e)return y(new r("jwt must be a string"));const b=e.split(".");if(3!==b.length)return y(new r("jwt malformed"));let w;try{w=o(e,{complete:!0})}catch(e){return y(e)}if(!w)return y(new r("invalid token"));const _=w.header;let E;if("function"==typeof t){if(!u)return y(new r("verify must be called asynchronous if secret or public key is provided as a callback"));E=t}else E=function(e,n){return n(null,t)};return E(_,(function(t,o){if(t)return y(new r("error in secret or public key callback: "+t.message));const u=""!==b[2].trim();if(!u&&o)return y(new r("jwt signature is required"));if(u&&!o)return y(new r("secret or public key must be provided"));if(!u&&!n.algorithms)return y(new r('please specify "none" in "algorithms" to verify unsigned tokens'));if(null!=o&&!(o instanceof l))try{o=f(o)}catch(e){try{o=d("string"==typeof o?Buffer.from(o):o)}catch(e){return y(new r("secretOrPublicKey is not valid key material"))}}if(n.algorithms||("secret"===o.type?n.algorithms=g:["rsa","rsa-pss"].includes(o.asymmetricKeyType)?n.algorithms=v:"ec"===o.asymmetricKeyType?n.algorithms=h:n.algorithms=m),-1===n.algorithms.indexOf(w.header.alg))return y(new r("invalid algorithm"));if(_.alg.startsWith("HS")&&"secret"!==o.type)return y(new r(`secretOrPublicKey must be a symmetric key when using ${_.alg}`));if(/^(?:RS|PS|ES)/.test(_.alg)&&"public"!==o.type)return y(new r(`secretOrPublicKey must be an asymmetric key when using ${_.alg}`));if(!n.allowInvalidAsymmetricKeyTypes)try{c(_.alg,o)}catch(e){return y(e)}let E;try{E=p.verify(e,w.header.alg,o)}catch(e){return y(e)}if(!E)return y(new r("invalid signature"));const S=w.payload;if(void 0!==S.nbf&&!n.ignoreNotBefore){if("number"!=typeof S.nbf)return y(new r("invalid nbf value"));if(S.nbf>x+(n.clockTolerance||0))return y(new i("jwt not active",new Date(1e3*S.nbf)))}if(void 0!==S.exp&&!n.ignoreExpiration){if("number"!=typeof S.exp)return y(new r("invalid exp value"));if(x>=S.exp+(n.clockTolerance||0))return y(new a("jwt expired",new Date(1e3*S.exp)))}if(n.audience){const e=Array.isArray(n.audience)?n.audience:[n.audience];if(!(Array.isArray(S.aud)?S.aud:[S.aud]).some((function(t){return e.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return y(new r("jwt audience invalid. expected: "+e.join(" or ")))}if(n.issuer&&("string"==typeof n.issuer&&S.iss!==n.issuer||Array.isArray(n.issuer)&&-1===n.issuer.indexOf(S.iss)))return y(new r("jwt issuer invalid. expected: "+n.issuer));if(n.subject&&S.sub!==n.subject)return y(new r("jwt subject invalid. expected: "+n.subject));if(n.jwtid&&S.jti!==n.jwtid)return y(new r("jwt jwtid invalid. expected: "+n.jwtid));if(n.nonce&&S.nonce!==n.nonce)return y(new r("jwt nonce invalid. expected: "+n.nonce));if(n.maxAge){if("number"!=typeof S.iat)return y(new r("iat required when maxAge is specified"));const e=s(n.maxAge,S.iat);if(void 0===e)return y(new r('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(x>=e+(n.clockTolerance||0))return y(new a("maxAge exceeded",new Date(1e3*e)))}if(!0===n.complete){const e=w.signature;return y(null,{header:_,payload:S,signature:e})}return y(null,S)}))}},8789:(e,t,n)=>{var r=n(1045),i=n(2861).Buffer,a=n(6982),o=n(2010),s=n(9023),c="secret must be a string or buffer",u="key must be a string or a buffer",p="key must be a string, a buffer or an object",l="function"==typeof a.createPublicKey;function d(e){if(!i.isBuffer(e)&&"string"!=typeof e){if(!l)throw v(u);if("object"!=typeof e)throw v(u);if("string"!=typeof e.type)throw v(u);if("string"!=typeof e.asymmetricKeyType)throw v(u);if("function"!=typeof e.export)throw v(u)}}function f(e){if(!i.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw v(p)}function m(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function h(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 v(e){var t=[].slice.call(arguments,1),n=s.format.bind(s,e).apply(null,t);return new TypeError(n)}function g(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 v(c);if("object"!=typeof e)throw v(c);if("secret"!==e.type)throw v(c);if("function"!=typeof e.export)throw v(c)}}(n),t=g(t);var r=a.createHmac("sha"+e,n);return m((r.update(t),r.digest("base64")))}}function x(e){return function(t,n,a){var o=y(e)(t,a);return r(i.from(n),i.from(o))}}function b(e){return function(t,n){f(n),t=g(t);var r=a.createSign("RSA-SHA"+e);return m((r.update(t),r.sign(n,"base64")))}}function w(e){return function(t,n,r){d(r),t=g(t),n=h(n);var i=a.createVerify("RSA-SHA"+e);return i.update(t),i.verify(r,n,"base64")}}function _(e){return function(t,n){f(n),t=g(t);var r=a.createSign("RSA-SHA"+e);return m((r.update(t),r.sign({key:n,padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function E(e){return function(t,n,r){d(r),t=g(t),n=h(n);var i=a.createVerify("RSA-SHA"+e);return i.update(t),i.verify({key:r,padding:a.constants.RSA_PKCS1_PSS_PADDING,saltLength:a.constants.RSA_PSS_SALTLEN_DIGEST},n,"base64")}}function S(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,r,i){return r=o.joseToDer(r,"ES"+e).toString("base64"),t(n,r,i)}}function j(){return function(){return""}}function A(){return function(e,t){return""===t}}l&&(u+=" or a KeyObject",c+="or a KeyObject"),e.exports=function(e){var t={hs:y,rs:b,ps:_,es:S,none:j},n={hs:x,rs:w,ps:E,es:k,none:A},r=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!r)throw v('"%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=(r[1]||r[3]).toLowerCase(),a=r[2];return{sign:t[i](a),verify:n[i](a)}}},3110:(e,t,n)=>{const r=n(5753)("jwks"),{retrieveSigningKeys:i}=n(4263),{request:a,cacheSigningKey:o,rateLimitSigningKey:s,getKeysInterceptor:c,callbackSupport:u}=n(3171),p=n(1161),l=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=u(this,e)}async getKeys(){r(`Fetching keys from '${this.options.jwksUri}'`);try{const e=await a({uri:this.options.jwksUri,headers:this.options.requestHeaders,agent:this.options.requestAgent,timeout:this.options.timeout,fetcher:this.options.fetcher});return r("Keys:",e.keys),e.keys}catch(e){const{errorMsg:t}=e;throw r("Failure:",t||e),t?new p(t):e}}async getSigningKeys(){const e=await this.getKeys();if(!e||!e.length)throw new p("The JWKS endpoint did not contain any keys");const t=await i(e);if(!t.length)throw new p("The JWKS endpoint did not contain any signing keys");return r("Signing Keys:",t),t}async getSigningKey(e){r(`Fetching signing key for '${e}'`);const t=await this.getSigningKeys(),n=null!=e;if(!n&&t.length>1)throw r("No KID specified and JWKS endpoint returned more than 1 key"),new l("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 r(`Unable to find a signing key that matches '${e}'`),new l(`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:r}=n(3110),i=n(3780),{hapiJwt2Key:a,hapiJwt2KeyAsync:o}=n(4698),{expressJwtSecret:s}=n(5064),{koaJwtSecret:c}=n(7897),{passportJwtSecret:u}=n(4388);e.exports=e=>new r(e),e.exports.JwksClient=r,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=a,e.exports.hapiJwt2KeyAsync=o,e.exports.koaJwtSecret=c,e.exports.passportJwtSecret=u},3552:e=>{e.exports=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES256K","ES384","ES512","EdDSA"]},5064:(e,t,n)=>{const{ArgumentError:r}=n(3780),{JwksClient:i}=n(3110),a=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 r("An options object must be provided when initializing expressJwtSecret");const t=new i(e),n=e.handleSigningKeyError||o,s=async(e,r)=>{if(!r)return;const i=r.header;if(i&&a.includes(i.alg))try{const e=await t.getSigningKey(i.kid);return e.publicKey||e.rsaPublicKey}catch(e){return new Promise(((t,r)=>{n(e,(e=>{if(!e)return t();r(e)}))}))}};return function(e,t,n,r){if(4!==arguments.length)return s(0,arguments[1]);s(0,{header:t}).then((e=>{setImmediate(r,null,e)})).catch((e=>{setImmediate(r,e)}))}}},4698:(e,t,n)=>{const{ArgumentError:r}=n(3780),{JwksClient:i}=n(3110),a=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,r)=>{n(e,((e,n)=>{!n||e?r(e):t({key:n})}))}))}},e.exports.hapiJwt2Key=function(e){if(null==e)throw new r("An options object must be provided when initializing hapiJwt2Key");const t=new i(e),n=e.handleSigningKeyError||o;return function(e,r){return e&&e.header?a.includes(e.header.alg)?void t.getSigningKey(e.header.kid).then((e=>r(null,e.publicKey||e.rsaPublicKey,e))).catch((e=>n(e,(e=>r(e,null,null))))):r(new Error("Unsupported algorithm "+e.header.alg+" supplied."),null,null):r(new Error("Cannot find a signing certificate if there is no header"),null,null)}}},7897:(e,t,n)=>{const{ArgumentError:r}=n(3780),{JwksClient:i}=n(3110),a=n(3552);e.exports.koaJwtSecret=function(e={}){if(!e.jwksUri)throw new r("No JWKS provided. Please provide a jwksUri");const t=new i(e);return function({alg:n,kid:r}={}){return new Promise(((i,o)=>{if(!a.includes(n))return o(new Error("Missing / invalid token algorithm"));t.getSigningKey(r).then((e=>{i(e.publicKey||e.rsaPublicKey)})).catch((t=>e.handleSigningKeyError?e.handleSigningKeyError(t).then(o):o(t)))}))}}},4388:(e,t,n)=>{const r=n(257),{ArgumentError:i}=n(3780),{JwksClient:a}=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 a(e),n=e.handleSigningKeyError||s;return function(e,i,a){let s;try{s={payload:r.decodeJwt(i),header:r.decodeProtectedHeader(i)}}catch(e){s=null}if(!s||!o.includes(s.header.alg))return a(null,null);t.getSigningKey(s.header.kid).then((e=>{a(null,e.publicKey||e.rsaPublicKey)})).catch((e=>{n(e,(e=>a(e,null)))}))}}},4263:(e,t,n)=>{const r=n(257),i=n(1161);function a(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 r.importJWK(n,a(n));if("public"!==e.type)continue;let i;switch(e[Symbol.toStringTag]){case"CryptoKey":{const t=await r.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 r=n(5753)("jwks"),i=n(8639),{promisify:a,callbackify:o}=n(9023);e.exports.A=function(e,{cacheMaxEntries:t=5,cacheMaxAge:n=6e5}){return r(`Configured caching of signing keys. Max: ${t} / Age: ${n}`),a(i({hash:e=>e,load:o(e.getSigningKey.bind(e)),maxAge:n,max:t}))}},6545:(e,t,n)=>{const{callbackify:r}=n(9023);e.exports.A=e=>{const t=e.getSigningKey.bind(e);return(e,n)=>n?r(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 r=n(4263).retrieveSigningKeys;e.exports.A=function(e,{getKeysInterceptor:t}){const n=e.getSigningKey.bind(e);return async e=>{const i=await t();let a;if(i&&i.length&&(a=await r(i)),a&&a.length){const t=a.find((t=>!e||t.kid===e));if(t)return t}return n(e)}}},8730:(e,t,n)=>{const r=n(5753)("jwks"),{RateLimiter:i}=n(9439),a=n(9950);e.exports.A=function(e,{jwksRequestsPerMinute:t=10}){const n=e.getSigningKey.bind(e),o=new i(t,"minute",!0);return r(`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),r("Requests to the JWKS endpoint available for the next minute:",s),s<0)r("Too many requests to the JWKS endpoint"),i(new a("Too many requests to the JWKS endpoint"));else try{const r=await n(e);t(r)}catch(e){i(e)}}))}))}},3858:(e,t,n)=>{const r=n(8611),i=n(5692),a=n(7016);e.exports.A=e=>e.fetcher?e.fetcher(e.uri):new Promise(((t,n)=>{const{hostname:o,path:s,port:c,protocol:u}=a.parse(e.uri),p={hostname:o,path:s,port:c,method:"GET",...e.headers&&{headers:{...e.headers}},...e.timeout&&{timeout:e.timeout},...e.agent&&{agent:e.agent}},l=("https:"===u?i:r).request(p,(e=>{let r="";e.setEncoding("utf8"),e.on("data",(e=>{r+=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(r&&JSON.parse(r))}catch(e){n(e)}}))}));l.on("timeout",(()=>l.destroy())).on("error",(e=>n(e))).end()}))},5747:(e,t,n)=>{var r=n(3387),i=n(7599);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=r.sign,t.verify=i.verify,t.decode=i.decode,t.isValid=i.isValid,t.createSign=function(e){return new r(e)},t.createVerify=function(e){return new i(e)}},8948:(e,t,n)=>{var r=n(2861).Buffer,i=n(2203);function a(e){if(this.buffer=null,this.writable=!0,this.readable=!0,!e)return this.buffer=r.alloc(0),this;if("function"==typeof e.pipe)return this.buffer=r.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(a,i),a.prototype.write=function(e){this.buffer=r.concat([this.buffer,r.from(e)]),this.emit("data",e)},a.prototype.end=function(e){e&&this.write(e),this.emit("end",e),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=a},3387:(e,t,n)=>{var r=n(2861).Buffer,i=n(8948),a=n(8789),o=n(2203),s=n(2851),c=n(9023);function u(e,t){return r.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(e){var t=e.header,n=e.payload,r=e.secret||e.privateKey,i=e.encoding,o=a(t.alg),p=function(e,t,n){n=n||"utf8";var r=u(s(e),"binary"),i=u(s(t),n);return c.format("%s.%s",r,i)}(t,n,i),l=o.sign(p,r);return c.format("%s.%s",p,l)}function l(e){var t=e.secret||e.privateKey||e.key,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(l,o),l.prototype.sign=function(){try{var e=p({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")}},l.sign=p,e.exports=l},2851:(e,t,n)=>{var r=n(181).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||r.isBuffer(e)?e.toString():JSON.stringify(e)}},7599:(e,t,n)=>{var r=n(2861).Buffer,i=n(8948),a=n(8789),o=n(2203),s=n(2851),c=n(9023),u=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function p(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}}(r.from(t,"base64").toString("binary"))}function l(e){return e.split(".")[2]}function d(e){return u.test(e)&&!!p(e)}function f(e,t,n){if(!t){var r=new Error("Missing algorithm parameter for jws.verify");throw r.code="MISSING_ALGORITHM",r}var i=l(e=s(e)),o=function(e){return e.split(".",2).join(".")}(e);return a(t).verify(o,i,n)}function m(e,t){if(t=t||{},!d(e=s(e)))return null;var n=p(e);if(!n)return null;var i=function(e,t){t=t||"utf8";var n=e.split(".")[1];return r.from(n,"base64").toString(t)}(e);return("JWT"===n.typ||t.json)&&(i=JSON.parse(i,t.encoding)),{header:n,payload:i,signature:l(e)}}function h(e){var t=(e=e||{}).secret||e.publicKey||e.key,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=f(this.signature.buffer,this.algorithm,this.key.buffer),t=m(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=m,h.isValid=d,h.verify=f,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 r=n(5472),i=n(3085),a=function(e,t,n){this.tokenBucket=new r(e,e,t,null),this.tokenBucket.content=e,this.curIntervalStart=i(),this.tokensThisInterval=0,this.fireImmediately=n};a.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,r=i();if((r<this.curIntervalStart||r-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=r,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)process.nextTick(t.bind(null,null,-1));else{var a=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-r);setTimeout((function(){n.tokenBucket.removeTokens(e,o)}),a)}return!1}return this.tokenBucket.removeTokens(e,o);function o(r,i){if(r)return t(r,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=a},5472:e=>{var t=function(e,t,n,r){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=r,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?r():this.parentBucket?this.parentBucket.removeTokens(e,(function(i,a){return i?t(i,null):e>n.content?r():(n.content-=e,void t(null,Math.min(a,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 r(){var r=Math.ceil((e-n.content)*(n.interval/n.tokensPerInterval));return setTimeout((function(){n.removeTokens(e,t)}),r),!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 r="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",o="[object Boolean]",s="[object Date]",c="[object Function]",u="[object GeneratorFunction]",p="[object Map]",l="[object Number]",d="[object Object]",f="[object Promise]",m="[object RegExp]",h="[object Set]",v="[object String]",g="[object Symbol]",y="[object WeakMap]",x="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",_="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",k="[object Int32Array]",j="[object Uint8Array]",A="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]",P=/\w*$/,R=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,C={};C[a]=C["[object Array]"]=C[x]=C[b]=C[o]=C[s]=C[w]=C[_]=C[E]=C[S]=C[k]=C[p]=C[l]=C[d]=C[m]=C[h]=C[v]=C[g]=C[j]=C[A]=C[O]=C[T]=!0,C["[object Error]"]=C[c]=C[y]=!1;var L="object"==typeof global&&global&&global.Object===Object&&global,J="object"==typeof self&&self&&self.Object===Object&&self,N=L||J||Function("return this")(),K=t&&!t.nodeType&&t,W=K&&e&&!e.nodeType&&e,$=W&&W.exports===K;function M(e,t){return e.set(t[0],t[1]),e}function H(e,t){return e.add(t),e}function U(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i<a;)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 B(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function F(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=N["__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.*?")+"$"),re=$?N.Buffer:void 0,ie=N.Symbol,ae=N.Uint8Array,oe=F(Object.getPrototypeOf,Object),se=Object.create,ce=X.propertyIsEnumerable,ue=G.splice,pe=Object.getOwnPropertySymbols,le=re?re.isBuffer:void 0,de=F(Object.keys,Object),fe=Ne(N,"DataView"),me=Ne(N,"Map"),he=Ne(N,"Promise"),ve=Ne(N,"Set"),ge=Ne(N,"WeakMap"),ye=Ne(Object,"create"),xe=He(fe),be=He(me),we=He(he),_e=He(ve),Ee=He(ge),Se=ie?ie.prototype:void 0,ke=Se?Se.valueOf:void 0;function je(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Te(e){this.__data__=new Ae(e)}function Pe(e,t,n){var r=e[t];ee.call(e,t)&&Ue(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Re(e,t){for(var n=e.length;n--;)if(Ue(e[n][0],t))return n;return-1}function Ie(e,t,n,r,i,f,y){var R;if(r&&(R=f?r(e,i,f,y):r(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,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e,R)}else{var L=We(e),J=L==c||L==u;if(Fe(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(L==d||L==a||J&&!f){if(D(e))return f?e:{};if(R=function(e){return"function"!=typeof e.constructor||Me(e)?{}:qe(t=oe(e))?se(t):{};var t}(J?{}:e),!t)return function(e,t){return Le(e,Ke(e),t)}(e,function(e,t){return e&&Le(t,Ge(t),e)}(R,e))}else{if(!C[L])return f?e:{};R=function(e,t,n,r){var i,a=e.constructor;switch(t){case x:return Ce(e);case o:case s:return new a(+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,r);case w:case _:case E:case S:case k:case j:case A:case O:case T:return function(e,t){var n=t?Ce(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case p:return function(e,t,n){return U(t?n(B(e),!0):B(e),M,new e.constructor)}(e,r,n);case l:case v:return new a(e);case m:return function(e){var t=new e.constructor(e.source,P.exec(e));return t.lastIndex=e.lastIndex,t}(e);case h:return function(e,t,n){return U(t?n(z(e),!0):z(e),H,new e.constructor)}(e,r,n);case g:return i=e,ke?Object(ke.call(i)):{}}}(e,L,Ie,t)}}y||(y=new Te);var N=y.get(e);if(N)return N;if(y.set(e,R),!I)var K=n?function(e){return function(e,t,n){var r=t(e);return De(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ge,Ke)}(e):Ge(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n););}(K||e,(function(i,a){K&&(i=e[a=i]),Pe(R,a,Ie(i,t,n,r,a,e,y))})),R}function Ce(e){var t=new e.constructor(e.byteLength);return new ae(t).set(new ae(e)),t}function Le(e,t,n,r){n||(n={});for(var i=-1,a=t.length;++i<a;){var o=t[i],s=r?r(n[o],e[o],o,n,e):void 0;Pe(n,o,void 0===s?e[o]:s)}return n}function Je(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Ne(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(He(e));var t}(n)?n:void 0}je.prototype.clear=function(){this.__data__=ye?ye(null):{}},je.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},je.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},je.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:ee.call(t,e)},je.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},Ae.prototype.clear=function(){this.__data__=[]},Ae.prototype.delete=function(e){var t=this.__data__,n=Re(t,e);return!(n<0||(n==t.length-1?t.pop():ue.call(t,n,1),0))},Ae.prototype.get=function(e){var t=this.__data__,n=Re(t,e);return n<0?void 0:t[n][1]},Ae.prototype.has=function(e){return Re(this.__data__,e)>-1},Ae.prototype.set=function(e,t){var n=this.__data__,r=Re(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Oe.prototype.clear=function(){this.__data__={hash:new je,map:new(me||Ae),string:new je}},Oe.prototype.delete=function(e){return Je(this,e).delete(e)},Oe.prototype.get=function(e){return Je(this,e).get(e)},Oe.prototype.has=function(e){return Je(this,e).has(e)},Oe.prototype.set=function(e,t){return Je(this,e).set(e,t),this},Te.prototype.clear=function(){this.__data__=new Ae},Te.prototype.delete=function(e){return this.__data__.delete(e)},Te.prototype.get=function(e){return this.__data__.get(e)},Te.prototype.has=function(e){return this.__data__.has(e)},Te.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ae){var r=n.__data__;if(!me||r.length<199)return r.push([e,t]),this;n=this.__data__=new Oe(r)}return n.set(e,t),this};var Ke=pe?F(pe,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 Me(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)}function He(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ue(e,t){return e===t||e!=e&&t!=t}(fe&&We(new fe(new ArrayBuffer(1)))!=b||me&&We(new me)!=p||he&&We(he.resolve())!=f||ve&&We(new ve)!=h||ge&&We(new ge)!=y)&&(We=function(e){var t=te.call(e),n=t==d?e.constructor:void 0,r=n?He(n):void 0;if(r)switch(r){case xe:return b;case be:return p;case we:return f;case _e:return h;case Ee:return y}return t});var De=Array.isArray;function Be(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!ze(e)}var Fe=le||function(){return!1};function ze(e){var t=qe(e)?te.call(e):"";return t==c||t==u}function qe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ge(e){return Be(e)?function(e,t){var n=De(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Be(e)}(e)&&ee.call(e,"callee")&&(!ce.call(e,"callee")||te.call(e)==a)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!ee.call(e,o)||i&&("length"==o||$e(o,r))||n.push(o);return n}(e):function(e){if(!Me(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)}},2543:function(e,t,n){var r;e=n.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=32,u=128,p=1/0,l=9007199254740991,d=NaN,f=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",c],["partialRight",64],["rearg",256]],h="[object Arguments]",v="[object Array]",g="[object Boolean]",y="[object Date]",x="[object Error]",b="[object Function]",w="[object GeneratorFunction]",_="[object Map]",E="[object Number]",S="[object Object]",k="[object Promise]",j="[object RegExp]",A="[object Set]",O="[object String]",T="[object Symbol]",P="[object WeakMap]",R="[object ArrayBuffer]",I="[object DataView]",C="[object Float32Array]",L="[object Float64Array]",J="[object Int8Array]",N="[object Int16Array]",K="[object Int32Array]",W="[object Uint8Array]",$="[object Uint8ClampedArray]",M="[object Uint16Array]",H="[object Uint32Array]",U=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,z=/[&<>"']/g,q=RegExp(F.source),G=RegExp(z.source),V=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,ie=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,de=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,he=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,be=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",je="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+we+"]",Te="["+Ae+"]",Pe="["+_e+"]",Re="\\d+",Ie="["+Ee+"]",Ce="["+Se+"]",Le="[^"+we+Ae+Re+Ee+Se+ke+"]",Je="\\ud83c[\\udffb-\\udfff]",Ne="[^"+we+"]",Ke="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+ke+"]",Me="\\u200d",He="(?:"+Ce+"|"+Le+")",Ue="(?:"+$e+"|"+Le+")",De="(?:['’](?:d|ll|m|re|s|t|ve))?",Be="(?:['’](?:D|LL|M|RE|S|T|VE))?",Fe="(?:"+Pe+"|"+Je+")?",ze="["+je+"]?",qe=ze+Fe+"(?:"+Me+"(?:"+[Ne,Ke,We].join("|")+")"+ze+Fe+")*",Ge="(?:"+[Ie,Ke,We].join("|")+")"+qe,Ve="(?:"+[Ne+Pe+"?",Pe,Ke,We,Oe].join("|")+")",Xe=RegExp("['’]","g"),Ye=RegExp(Pe,"g"),Ze=RegExp(Je+"(?="+Je+")|"+Ve+qe,"g"),Qe=RegExp([$e+"?"+Ce+"+"+De+"(?="+[Te,$e,"$"].join("|")+")",Ue+"+"+Be+"(?="+[Te,$e+He,"$"].join("|")+")",$e+"?"+He+"+"+De,$e+"+"+Be,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Ge].join("|"),"g"),et=RegExp("["+Me+we+_e+je+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,it={};it[C]=it[L]=it[J]=it[N]=it[K]=it[W]=it[$]=it[M]=it[H]=!0,it[h]=it[v]=it[R]=it[g]=it[I]=it[y]=it[x]=it[b]=it[_]=it[E]=it[S]=it[j]=it[A]=it[O]=it[P]=!1;var at={};at[h]=at[v]=at[R]=at[I]=at[g]=at[y]=at[C]=at[L]=at[J]=at[N]=at[K]=at[_]=at[E]=at[S]=at[j]=at[A]=at[O]=at[T]=at[W]=at[$]=at[M]=at[H]=!0,at[x]=at[b]=at[P]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,ct=parseInt,ut="object"==typeof global&&global&&global.Object===Object&&global,pt="object"==typeof self&&self&&self.Object===Object&&self,lt=ut||pt||Function("return this")(),dt=t&&!t.nodeType&&t,ft=dt&&e&&!e.nodeType&&e,mt=ft&&ft.exports===dt,ht=mt&&ut.process,vt=function(){try{return ft&&ft.require&&ft.require("util").types||ht&&ht.binding&&ht.binding("util")}catch(e){}}(),gt=vt&&vt.isArrayBuffer,yt=vt&&vt.isDate,xt=vt&&vt.isMap,bt=vt&&vt.isRegExp,wt=vt&&vt.isSet,_t=vt&&vt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function jt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Tt(e,t){return!(null==e||!e.length)&&$t(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function It(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Ct(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Lt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Jt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Nt=Dt("length");function Kt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Wt(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function $t(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Wt(e,Ht,n)}function Mt(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function Ht(e){return e!=e}function Ut(e,t){var n=null==e?0:e.length;return n?zt(e,t)/n:d}function Dt(e){return function(t){return null==t?i:t[e]}}function Bt(e){return function(t){return null==e?i:e[t]}}function Ft(e,t,n,r,i){return i(e,(function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)})),n}function zt(e,t){for(var n,r=-1,a=e.length;++r<a;){var o=t(e[r]);o!==i&&(n=n===i?o:n+o)}return n}function qt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Gt(e){return e?e.slice(0,dn(e)+1).replace(re,""):e}function Vt(e){return function(t){return e(t)}}function Xt(e,t){return Rt(t,(function(t){return e[t]}))}function Yt(e,t){return e.has(t)}function Zt(e,t){for(var n=-1,r=e.length;++n<r&&$t(t,e[n],0)>-1;);return n}function Qt(e,t){for(var n=e.length;n--&&$t(t,e[n],0)>-1;);return n}var en=Bt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Bt({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+ot[e]}function rn(e){return et.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function on(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==s||(e[n]=s,a[i++]=n)}return a}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return rn(e)?function(e){for(var t=Ze.lastIndex=0;Ze.test(e);)++t;return t}(e):Nt(e)}function ln(e){return rn(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function dn(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var fn=Bt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),mn=function e(t){var n,r=(t=null==t?lt:mn.defaults(lt.Object(),t,mn.pick(lt,nt))).Array,ie=t.Date,we=t.Error,_e=t.Function,Ee=t.Math,Se=t.Object,ke=t.RegExp,je=t.String,Ae=t.TypeError,Oe=r.prototype,Te=_e.prototype,Pe=Se.prototype,Re=t["__core-js_shared__"],Ie=Te.toString,Ce=Pe.hasOwnProperty,Le=0,Je=(n=/[^.]+$/.exec(Re&&Re.keys&&Re.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ne=Pe.toString,Ke=Ie.call(Se),We=lt._,$e=ke("^"+Ie.call(Ce).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=mt?t.Buffer:i,He=t.Symbol,Ue=t.Uint8Array,De=Me?Me.allocUnsafe:i,Be=on(Se.getPrototypeOf,Se),Fe=Se.create,ze=Pe.propertyIsEnumerable,qe=Oe.splice,Ge=He?He.isConcatSpreadable:i,Ve=He?He.iterator:i,Ze=He?He.toStringTag:i,et=function(){try{var e=ca(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==lt.clearTimeout&&t.clearTimeout,ut=ie&&ie.now!==lt.Date.now&&ie.now,pt=t.setTimeout!==lt.setTimeout&&t.setTimeout,dt=Ee.ceil,ft=Ee.floor,ht=Se.getOwnPropertySymbols,vt=Me?Me.isBuffer:i,Nt=t.isFinite,Bt=Oe.join,hn=on(Se.keys,Se),vn=Ee.max,gn=Ee.min,yn=ie.now,xn=t.parseInt,bn=Ee.random,wn=Oe.reverse,_n=ca(t,"DataView"),En=ca(t,"Map"),Sn=ca(t,"Promise"),kn=ca(t,"Set"),jn=ca(t,"WeakMap"),An=ca(Se,"create"),On=jn&&new jn,Tn={},Pn=Na(_n),Rn=Na(En),In=Na(Sn),Cn=Na(kn),Ln=Na(jn),Jn=He?He.prototype:i,Nn=Jn?Jn.valueOf:i,Kn=Jn?Jn.toString:i;function Wn(e){if(es(e)&&!Do(e)&&!(e instanceof Un)){if(e instanceof Hn)return e;if(Ce.call(e,"__wrapped__"))return Ka(e)}return new Hn(e)}var $n=function(){function e(){}return function(t){if(!Qo(t))return{};if(Fe)return Fe(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Mn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Un(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Dn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Bn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Fn;++t<n;)this.add(e[t])}function qn(e){var t=this.__data__=new Bn(e);this.size=t.size}function Gn(e,t){var n=Do(e),r=!n&&Uo(e),i=!n&&!r&&qo(e),a=!n&&!r&&!i&&cs(e),o=n||r||i||a,s=o?qt(e.length,je):[],c=s.length;for(var u in e)!t&&!Ce.call(e,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ha(u,c))||s.push(u);return s}function Vn(e){var t=e.length;return t?e[Fr(0,t-1)]:i}function Xn(e,t){return Ra(ji(e),ar(t,0,e.length))}function Yn(e){return Ra(ji(e))}function Zn(e,t,n){(n!==i&&!$o(e[t],n)||n===i&&!(t in e))&&rr(e,t,n)}function Qn(e,t,n){var r=e[t];Ce.call(e,t)&&$o(r,n)&&(n!==i||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if($o(e[n][0],t))return n;return-1}function tr(e,t,n,r){return pr(e,(function(e,i,a){t(r,e,n(e),a)})),r}function nr(e,t){return e&&Ai(t,Ps(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var n=-1,a=t.length,o=r(a),s=null==e;++n<a;)o[n]=s?i:ks(e,t[n]);return o}function ar(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function or(e,t,n,r,a,o){var s,c=1&t,u=2&t,p=4&t;if(n&&(s=a?n(e,r,a,o):n(e)),s!==i)return s;if(!Qo(e))return e;var l=Do(e);if(l){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ce.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!c)return ji(e,s)}else{var d=la(e),f=d==b||d==w;if(qo(e))return bi(e,c);if(d==S||d==h||f&&!a){if(s=u||f?{}:fa(e),!c)return u?function(e,t){return Ai(e,pa(e),t)}(e,function(e,t){return e&&Ai(t,Rs(t),e)}(s,e)):function(e,t){return Ai(e,ua(e),t)}(e,nr(s,e))}else{if(!at[d])return a?e:{};s=function(e,t,n){var r,i=e.constructor;switch(t){case R:return wi(e);case g:case y:return new i(+e);case I:return function(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case C:case L:case J:case N:case K:case W:case $:case M:case H:return _i(e,n);case _:return new i;case E:case O:return new i(e);case j:return function(e){var t=new e.constructor(e.source,de.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new i;case T:return r=e,Nn?Se(Nn.call(r)):{}}}(e,d,c)}}o||(o=new qn);var m=o.get(e);if(m)return m;o.set(e,s),as(e)?e.forEach((function(r){s.add(or(r,t,n,r,e,o))})):ts(e)&&e.forEach((function(r,i){s.set(i,or(r,t,n,i,e,o))}));var v=l?i:(p?u?ta:ea:u?Rs:Ps)(e);return kt(v||e,(function(r,i){v&&(r=e[i=r]),Qn(s,i,or(r,t,n,i,e,o))})),s}function sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var a=n[r],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function cr(e,t,n){if("function"!=typeof e)throw new Ae(a);return Aa((function(){e.apply(i,n)}),t)}function ur(e,t,n,r){var i=-1,a=Tt,o=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=Rt(t,Vt(n))),r?(a=Pt,o=!1):t.length>=200&&(a=Yt,o=!1,t=new zn(t));e:for(;++i<s;){var p=e[i],l=null==n?p:n(p);if(p=r||0!==p?p:0,o&&l==l){for(var d=u;d--;)if(t[d]===l)continue e;c.push(p)}else a(t,l,r)||c.push(p)}return c}Wn.templateSettings={escape:V,evaluate:X,interpolate:Y,variable:"",imports:{_:Wn}},Wn.prototype=Mn.prototype,Wn.prototype.constructor=Wn,Hn.prototype=$n(Mn.prototype),Hn.prototype.constructor=Hn,Un.prototype=$n(Mn.prototype),Un.prototype.constructor=Un,Dn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Dn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Dn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===o?i:n}return Ce.call(t,e)?t[e]:i},Dn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==i:Ce.call(t,e)},Dn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===i?o:t,this},Bn.prototype.clear=function(){this.__data__=[],this.size=0},Bn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():qe.call(t,n,1),--this.size,0))},Bn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?i:t[n][1]},Bn.prototype.has=function(e){return er(this.__data__,e)>-1},Bn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new Dn,map:new(En||Bn),string:new Dn}},Fn.prototype.delete=function(e){var t=oa(this,e).delete(e);return this.size-=t?1:0,t},Fn.prototype.get=function(e){return oa(this,e).get(e)},Fn.prototype.has=function(e){return oa(this,e).has(e)},Fn.prototype.set=function(e,t){var n=oa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,o),this},zn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.clear=function(){this.__data__=new Bn,this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qn.prototype.get=function(e){return this.__data__.get(e)},qn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Bn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fn(r)}return n.set(e,t),this.size=n.size,this};var pr=Pi(yr),lr=Pi(xr,!0);function dr(e,t){var n=!0;return pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function fr(e,t,n){for(var r=-1,a=e.length;++r<a;){var o=e[r],s=t(o);if(null!=s&&(c===i?s==s&&!ss(s):n(s,c)))var c=s,u=o}return u}function mr(e,t){var n=[];return pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function hr(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=ma),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?hr(s,t-1,n,r,i):It(i,s):r||(i[i.length]=s)}return i}var vr=Ri(),gr=Ri(!0);function yr(e,t){return e&&vr(e,t,Ps)}function xr(e,t){return e&&gr(e,t,Ps)}function br(e,t){return Ot(t,(function(t){return Xo(e[t])}))}function wr(e,t){for(var n=0,r=(t=vi(t,e)).length;null!=e&&n<r;)e=e[Ja(t[n++])];return n&&n==r?e:i}function _r(e,t,n){var r=t(e);return Do(e)?r:It(r,n(e))}function Er(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Se(e)?function(e){var t=Ce.call(e,Ze),n=e[Ze];try{e[Ze]=i;var r=!0}catch(e){}var a=Ne.call(e);return r&&(t?e[Ze]=n:delete e[Ze]),a}(e):function(e){return Ne.call(e)}(e)}function Sr(e,t){return e>t}function kr(e,t){return null!=e&&Ce.call(e,t)}function jr(e,t){return null!=e&&t in Se(e)}function Ar(e,t,n){for(var a=n?Pt:Tt,o=e[0].length,s=e.length,c=s,u=r(s),p=1/0,l=[];c--;){var d=e[c];c&&t&&(d=Rt(d,Vt(t))),p=gn(d.length,p),u[c]=!n&&(t||o>=120&&d.length>=120)?new zn(c&&d):i}d=e[0];var f=-1,m=u[0];e:for(;++f<o&&l.length<p;){var h=d[f],v=t?t(h):h;if(h=n||0!==h?h:0,!(m?Yt(m,v):a(l,v,n))){for(c=s;--c;){var g=u[c];if(!(g?Yt(g,v):a(e[c],v,n)))continue e}m&&m.push(v),l.push(h)}}return l}function Or(e,t,n){var r=null==(e=Sa(e,t=vi(t,e)))?e:e[Ja(Ga(t))];return null==r?i:Et(r,e,n)}function Tr(e){return es(e)&&Er(e)==h}function Pr(e,t,n,r,a){return e===t||(null==e||null==t||!es(e)&&!es(t)?e!=e&&t!=t:function(e,t,n,r,a,o){var s=Do(e),c=Do(t),u=s?v:la(e),p=c?v:la(t),l=(u=u==h?S:u)==S,d=(p=p==h?S:p)==S,f=u==p;if(f&&qo(e)){if(!qo(t))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new qn),s||cs(e)?Zi(e,t,n,r,a,o):function(e,t,n,r,i,a,o){switch(n){case I:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R:return!(e.byteLength!=t.byteLength||!a(new Ue(e),new Ue(t)));case g:case y:case E:return $o(+e,+t);case x:return e.name==t.name&&e.message==t.message;case j:case O:return e==t+"";case _:var s=an;case A:var c=1&r;if(s||(s=cn),e.size!=t.size&&!c)return!1;var u=o.get(e);if(u)return u==t;r|=2,o.set(e,t);var p=Zi(s(e),s(t),r,i,a,o);return o.delete(e),p;case T:if(Nn)return Nn.call(e)==Nn.call(t)}return!1}(e,t,u,n,r,a,o);if(!(1&n)){var m=l&&Ce.call(e,"__wrapped__"),b=d&&Ce.call(t,"__wrapped__");if(m||b){var w=m?e.value():e,k=b?t.value():t;return o||(o=new qn),a(w,k,n,r,o)}}return!!f&&(o||(o=new qn),function(e,t,n,r,a,o){var s=1&n,c=ea(e),u=c.length;if(u!=ea(t).length&&!s)return!1;for(var p=u;p--;){var l=c[p];if(!(s?l in t:Ce.call(t,l)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var m=!0;o.set(e,t),o.set(t,e);for(var h=s;++p<u;){var v=e[l=c[p]],g=t[l];if(r)var y=s?r(g,v,l,t,e,o):r(v,g,l,e,t,o);if(!(y===i?v===g||a(v,g,n,r,o):y)){m=!1;break}h||(h="constructor"==l)}if(m&&!h){var x=e.constructor,b=t.constructor;x==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof b&&b instanceof b||(m=!1)}return o.delete(e),o.delete(t),m}(e,t,n,r,a,o))}(e,t,n,r,Pr,a))}function Rr(e,t,n,r){var a=n.length,o=a,s=!r;if(null==e)return!o;for(e=Se(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){var u=(c=n[a])[0],p=e[u],l=c[1];if(s&&c[2]){if(p===i&&!(u in e))return!1}else{var d=new qn;if(r)var f=r(p,l,u,e,t,d);if(!(f===i?Pr(l,p,3,r,d):f))return!1}}return!0}function Ir(e){return!(!Qo(e)||(t=e,Je&&Je in t))&&(Xo(e)?$e:he).test(Na(e));var t}function Cr(e){return"function"==typeof e?e:null==e?nc:"object"==typeof e?Do(e)?Wr(e[0],e[1]):Kr(e):lc(e)}function Lr(e){if(!ba(e))return hn(e);var t=[];for(var n in Se(e))Ce.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Jr(e,t){return e<t}function Nr(e,t){var n=-1,i=Fo(e)?r(e.length):[];return pr(e,(function(e,r,a){i[++n]=t(e,r,a)})),i}function Kr(e){var t=sa(e);return 1==t.length&&t[0][2]?_a(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Wr(e,t){return ga(e)&&wa(t)?_a(Ja(e),t):function(n){var r=ks(n,e);return r===i&&r===t?js(n,e):Pr(t,r,3)}}function $r(e,t,n,r,a){e!==t&&vr(t,(function(o,s){if(a||(a=new qn),Qo(o))!function(e,t,n,r,a,o,s){var c=ka(e,n),u=ka(t,n),p=s.get(u);if(p)Zn(e,n,p);else{var l=o?o(c,u,n+"",e,t,s):i,d=l===i;if(d){var f=Do(u),m=!f&&qo(u),h=!f&&!m&&cs(u);l=u,f||m||h?Do(c)?l=c:zo(c)?l=ji(c):m?(d=!1,l=bi(u,!0)):h?(d=!1,l=_i(u,!0)):l=[]:rs(u)||Uo(u)?(l=c,Uo(c)?l=vs(c):Qo(c)&&!Xo(c)||(l=fa(u))):d=!1}d&&(s.set(u,l),a(l,u,r,o,s),s.delete(u)),Zn(e,n,l)}}(e,t,s,n,$r,r,a);else{var c=r?r(ka(e,s),o,s+"",e,t,a):i;c===i&&(c=o),Zn(e,s,c)}}),Rs)}function Mr(e,t){var n=e.length;if(n)return ha(t+=t<0?n:0,n)?e[t]:i}function Hr(e,t,n){t=t.length?Rt(t,(function(e){return Do(e)?function(t){return wr(t,1===e.length?e[0]:e)}:e})):[nc];var r=-1;t=Rt(t,Vt(aa()));var i=Nr(e,(function(e,n,i){var a=Rt(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return function(e){var t=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Ei(i[r],a[r]);if(c)return r>=s?c:c*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));t--;)e[t]=e[t].value;return e}(i)}function Ur(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=wr(e,o);n(s,o)&&Xr(a,vi(o,e),s)}return a}function Dr(e,t,n,r){var i=r?Mt:$t,a=-1,o=t.length,s=e;for(e===t&&(t=ji(t)),n&&(s=Rt(e,Vt(n)));++a<o;)for(var c=0,u=t[a],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&qe.call(s,c,1),qe.call(e,c,1);return e}function Br(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;ha(i)?qe.call(e,i,1):ci(e,i)}}return e}function Fr(e,t){return e+ft(bn()*(t-e+1))}function zr(e,t){var n="";if(!e||t<1||t>l)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function qr(e,t){return Oa(Ea(e,t,nc),e+"")}function Gr(e){return Vn($s(e))}function Vr(e,t){var n=$s(e);return Ra(n,ar(t,0,n.length))}function Xr(e,t,n,r){if(!Qo(e))return e;for(var a=-1,o=(t=vi(t,e)).length,s=o-1,c=e;null!=c&&++a<o;){var u=Ja(t[a]),p=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(a!=s){var l=c[u];(p=r?r(l,u,c):i)===i&&(p=Qo(l)?l:ha(t[a+1])?[]:{})}Qn(c,u,p),c=c[u]}return e}var Yr=On?function(e,t){return On.set(e,t),e}:nc,Zr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Qs(t),writable:!0})}:nc;function Qr(e){return Ra($s(e))}function ei(e,t,n){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=r(a);++i<a;)o[i]=e[i+t];return o}function ti(e,t){var n;return pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function ni(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!ss(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ri(e,t,nc,n)}function ri(e,t,n,r){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,c=null===t,u=ss(t),p=t===i;a<o;){var l=ft((a+o)/2),d=n(e[l]),f=d!==i,m=null===d,h=d==d,v=ss(d);if(s)var g=r||h;else g=p?h&&(r||f):c?h&&f&&(r||!m):u?h&&f&&!m&&(r||!v):!m&&!v&&(r?d<=t:d<t);g?a=l+1:o=l}return gn(o,4294967294)}function ii(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!$o(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function ai(e){return"number"==typeof e?e:ss(e)?d:+e}function oi(e){if("string"==typeof e)return e;if(Do(e))return Rt(e,oi)+"";if(ss(e))return Kn?Kn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function si(e,t,n){var r=-1,i=Tt,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=Pt;else if(a>=200){var u=t?null:zi(e);if(u)return cn(u);o=!1,i=Yt,c=new zn}else c=t?[]:s;e:for(;++r<a;){var p=e[r],l=t?t(p):p;if(p=n||0!==p?p:0,o&&l==l){for(var d=c.length;d--;)if(c[d]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function ci(e,t){return null==(e=Sa(e,t=vi(t,e)))||delete e[Ja(Ga(t))]}function ui(e,t,n,r){return Xr(e,t,n(wr(e,t)),r)}function pi(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?ei(e,r?0:a,r?a+1:i):ei(e,r?a+1:0,r?i:a)}function li(e,t){var n=e;return n instanceof Un&&(n=n.value()),Ct(t,(function(e,t){return t.func.apply(t.thisArg,It([e],t.args))}),n)}function di(e,t,n){var i=e.length;if(i<2)return i?si(e[0]):[];for(var a=-1,o=r(i);++a<i;)for(var s=e[a],c=-1;++c<i;)c!=a&&(o[a]=ur(o[a]||s,e[c],t,n));return si(hr(o,1),t,n)}function fi(e,t,n){for(var r=-1,a=e.length,o=t.length,s={};++r<a;){var c=r<o?t[r]:i;n(s,e[r],c)}return s}function mi(e){return zo(e)?e:[]}function hi(e){return"function"==typeof e?e:nc}function vi(e,t){return Do(e)?e:ga(e,t)?[e]:La(gs(e))}var gi=qr;function yi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ei(e,t,n)}var xi=ot||function(e){return lt.clearTimeout(e)};function bi(e,t){if(t)return e.slice();var n=e.length,r=De?De(n):new e.constructor(n);return e.copy(r),r}function wi(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function _i(e,t){var n=t?wi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==i,r=null===e,a=e==e,o=ss(e),s=t!==i,c=null===t,u=t==t,p=ss(t);if(!c&&!p&&!o&&e>t||o&&s&&u&&!c&&!p||r&&s&&u||!n&&u||!a)return 1;if(!r&&!o&&!p&&e<t||p&&n&&a&&!r&&!o||c&&n&&a||!s&&a||!u)return-1}return 0}function Si(e,t,n,i){for(var a=-1,o=e.length,s=n.length,c=-1,u=t.length,p=vn(o-s,0),l=r(u+p),d=!i;++c<u;)l[c]=t[c];for(;++a<s;)(d||a<o)&&(l[n[a]]=e[a]);for(;p--;)l[c++]=e[a++];return l}function ki(e,t,n,i){for(var a=-1,o=e.length,s=-1,c=n.length,u=-1,p=t.length,l=vn(o-c,0),d=r(l+p),f=!i;++a<l;)d[a]=e[a];for(var m=a;++u<p;)d[m+u]=t[u];for(;++s<c;)(f||a<o)&&(d[m+n[s]]=e[a++]);return d}function ji(e,t){var n=-1,i=e.length;for(t||(t=r(i));++n<i;)t[n]=e[n];return t}function Ai(e,t,n,r){var a=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var c=t[o],u=r?r(n[c],e[c],c,n,e):i;u===i&&(u=e[c]),a?rr(n,c,u):Qn(n,c,u)}return n}function Oi(e,t){return function(n,r){var i=Do(n)?St:tr,a=t?t():{};return i(n,e,aa(r,2),a)}}function Ti(e){return qr((function(t,n){var r=-1,a=n.length,o=a>1?n[a-1]:i,s=a>2?n[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&va(n[0],n[1],s)&&(o=a<3?i:o,a=1),t=Se(t);++r<a;){var c=n[r];c&&e(t,c,r,o)}return t}))}function Pi(e,t){return function(n,r){if(null==n)return n;if(!Fo(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Se(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function Ri(e){return function(t,n,r){for(var i=-1,a=Se(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===n(a[c],c,a))break}return t}}function Ii(e){return function(t){var n=rn(t=gs(t))?ln(t):i,r=n?n[0]:t.charAt(0),a=n?yi(n,1).join(""):t.slice(1);return r[e]()+a}}function Ci(e){return function(t){return Ct(Xs(Us(t).replace(Xe,"")),e,"")}}function Li(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),r=e.apply(n,t);return Qo(r)?r:n}}function Ji(e){return function(t,n,r){var a=Se(t);if(!Fo(t)){var o=aa(n,3);t=Ps(t),n=function(e){return o(a[e],e,a)}}var s=e(t,n,r);return s>-1?a[o?t[s]:s]:i}}function Ni(e){return Qi((function(t){var n=t.length,r=n,o=Hn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(a);if(o&&!c&&"wrapper"==ra(s))var c=new Hn([],!0)}for(r=c?r:n;++r<n;){var u=ra(s=t[r]),p="wrapper"==u?na(s):i;c=p&&ya(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?c[ra(p[0])].apply(c,p[3]):1==s.length&&ya(s)?c[u]():c.thru(s)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&Do(r))return c.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i<n;)a=t[i].call(this,a);return a}}))}function Ki(e,t,n,a,o,s,c,p,l,d){var f=t&u,m=1&t,h=2&t,v=24&t,g=512&t,y=h?i:Li(e);return function u(){for(var x=arguments.length,b=r(x),w=x;w--;)b[w]=arguments[w];if(v)var _=ia(u),E=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,_);if(a&&(b=Si(b,a,o,v)),s&&(b=ki(b,s,c,v)),x-=E,v&&x<d){var S=sn(b,_);return Bi(e,t,Ki,u.placeholder,n,b,S,p,l,d-x)}var k=m?n:this,j=h?k[e]:e;return x=b.length,p?b=function(e,t){for(var n=e.length,r=gn(t.length,n),a=ji(e);r--;){var o=t[r];e[r]=ha(o,n)?a[o]:i}return e}(b,p):g&&x>1&&b.reverse(),f&&l<x&&(b.length=l),this&&this!==lt&&this instanceof u&&(j=y||Li(j)),j.apply(k,b)}}function Wi(e,t){return function(n,r){return function(e,t,n,r){return yr(e,(function(e,i,a){t(r,n(e),i,a)})),r}(n,e,t(r),{})}}function $i(e,t){return function(n,r){var a;if(n===i&&r===i)return t;if(n!==i&&(a=n),r!==i){if(a===i)return r;"string"==typeof n||"string"==typeof r?(n=oi(n),r=oi(r)):(n=ai(n),r=ai(r)),a=e(n,r)}return a}}function Mi(e){return Qi((function(t){return t=Rt(t,Vt(aa())),qr((function(n){var r=this;return e(t,(function(e){return Et(e,r,n)}))}))}))}function Hi(e,t){var n=(t=t===i?" ":oi(t)).length;if(n<2)return n?zr(t,e):t;var r=zr(t,dt(e/pn(t)));return rn(t)?yi(ln(r),0,e).join(""):r.slice(0,e)}function Ui(e){return function(t,n,a){return a&&"number"!=typeof a&&va(t,n,a)&&(n=a=i),t=ds(t),n===i?(n=t,t=0):n=ds(n),function(e,t,n,i){for(var a=-1,o=vn(dt((t-e)/(n||1)),0),s=r(o);o--;)s[i?o:++a]=e,e+=n;return s}(t,n,a=a===i?t<n?1:-1:ds(a),e)}}function Di(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=hs(t),n=hs(n)),e(t,n)}}function Bi(e,t,n,r,a,o,s,u,p,l){var d=8&t;t|=d?c:64,4&(t&=~(d?64:c))||(t&=-4);var f=[e,t,a,d?o:i,d?s:i,d?i:o,d?i:s,u,p,l],m=n.apply(i,f);return ya(e)&&ja(m,f),m.placeholder=r,Ta(m,e,t)}function Fi(e){var t=Ee[e];return function(e,n){if(e=hs(e),(n=null==n?0:gn(fs(n),292))&&Nt(e)){var r=(gs(e)+"e").split("e");return+((r=(gs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zi=kn&&1/cn(new kn([,-0]))[1]==p?function(e){return new kn(e)}:sc;function qi(e){return function(t){var n=la(t);return n==_?an(t):n==A?un(t):function(e,t){return Rt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Gi(e,t,n,o,p,l,d,f){var m=2&t;if(!m&&"function"!=typeof e)throw new Ae(a);var h=o?o.length:0;if(h||(t&=-97,o=p=i),d=d===i?d:vn(fs(d),0),f=f===i?f:fs(f),h-=p?p.length:0,64&t){var v=o,g=p;o=p=i}var y=m?i:na(e),x=[e,t,n,o,p,v,g,l,d,f];if(y&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,o=r==u&&8==n||r==u&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!o)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var c=t[3];if(c){var p=e[3];e[3]=p?Si(p,c,t[4]):c,e[4]=p?sn(e[3],s):t[4]}(c=t[5])&&(p=e[5],e[5]=p?ki(p,c,t[6]):c,e[6]=p?sn(e[5],s):t[6]),(c=t[7])&&(e[7]=c),r&u&&(e[8]=null==e[8]?t[8]:gn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(x,y),e=x[0],t=x[1],n=x[2],o=x[3],p=x[4],!(f=x[9]=x[9]===i?m?0:e.length:vn(x[9]-h,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var a=Li(e);return function o(){for(var s=arguments.length,c=r(s),u=s,p=ia(o);u--;)c[u]=arguments[u];var l=s<3&&c[0]!==p&&c[s-1]!==p?[]:sn(c,p);return(s-=l.length)<n?Bi(e,t,Ki,o.placeholder,i,c,l,i,i,n-s):Et(this&&this!==lt&&this instanceof o?a:e,this,c)}}(e,t,f):t!=c&&33!=t||p.length?Ki.apply(i,x):function(e,t,n,i){var a=1&t,o=Li(e);return function t(){for(var s=-1,c=arguments.length,u=-1,p=i.length,l=r(p+c),d=this&&this!==lt&&this instanceof t?o:e;++u<p;)l[u]=i[u];for(;c--;)l[u++]=arguments[++s];return Et(d,a?n:this,l)}}(e,t,n,o);else var b=function(e,t,n){var r=1&t,i=Li(e);return function t(){return(this&&this!==lt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Ta((y?Yr:ja)(b,x),e,t)}function Vi(e,t,n,r){return e===i||$o(e,Pe[n])&&!Ce.call(r,n)?t:e}function Xi(e,t,n,r,a,o){return Qo(e)&&Qo(t)&&(o.set(t,e),$r(e,t,i,Xi,o),o.delete(t)),e}function Yi(e){return rs(e)?i:e}function Zi(e,t,n,r,a,o){var s=1&n,c=e.length,u=t.length;if(c!=u&&!(s&&u>c))return!1;var p=o.get(e),l=o.get(t);if(p&&l)return p==t&&l==e;var d=-1,f=!0,m=2&n?new zn:i;for(o.set(e,t),o.set(t,e);++d<c;){var h=e[d],v=t[d];if(r)var g=s?r(v,h,d,t,e,o):r(h,v,d,e,t,o);if(g!==i){if(g)continue;f=!1;break}if(m){if(!Jt(t,(function(e,t){if(!Yt(m,t)&&(h===e||a(h,e,n,r,o)))return m.push(t)}))){f=!1;break}}else if(h!==v&&!a(h,v,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function Qi(e){return Oa(Ea(e,i,Da),e+"")}function ea(e){return _r(e,Ps,ua)}function ta(e){return _r(e,Rs,pa)}var na=On?function(e){return On.get(e)}:sc;function ra(e){for(var t=e.name+"",n=Tn[t],r=Ce.call(Tn,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function ia(e){return(Ce.call(Wn,"placeholder")?Wn:e).placeholder}function aa(){var e=Wn.iteratee||rc;return e=e===rc?Cr:e,arguments.length?e(arguments[0],arguments[1]):e}function oa(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function sa(e){for(var t=Ps(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,wa(i)]}return t}function ca(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Ir(n)?n:i}var ua=ht?function(e){return null==e?[]:(e=Se(e),Ot(ht(e),(function(t){return ze.call(e,t)})))}:mc,pa=ht?function(e){for(var t=[];e;)It(t,ua(e)),e=Be(e);return t}:mc,la=Er;function da(e,t,n){for(var r=-1,i=(t=vi(t,e)).length,a=!1;++r<i;){var o=Ja(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&Zo(i)&&ha(o,i)&&(Do(e)||Uo(e))}function fa(e){return"function"!=typeof e.constructor||ba(e)?{}:$n(Be(e))}function ma(e){return Do(e)||Uo(e)||!!(Ge&&e&&e[Ge])}function ha(e,t){var n=typeof e;return!!(t=null==t?l:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function va(e,t,n){if(!Qo(n))return!1;var r=typeof t;return!!("number"==r?Fo(n)&&ha(t,n.length):"string"==r&&t in n)&&$o(n[t],e)}function ga(e,t){if(Do(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||Q.test(e)||!Z.test(e)||null!=t&&e in Se(t)}function ya(e){var t=ra(e),n=Wn[t];if("function"!=typeof n||!(t in Un.prototype))return!1;if(e===n)return!0;var r=na(n);return!!r&&e===r[0]}(_n&&la(new _n(new ArrayBuffer(1)))!=I||En&&la(new En)!=_||Sn&&la(Sn.resolve())!=k||kn&&la(new kn)!=A||jn&&la(new jn)!=P)&&(la=function(e){var t=Er(e),n=t==S?e.constructor:i,r=n?Na(n):"";if(r)switch(r){case Pn:return I;case Rn:return _;case In:return k;case Cn:return A;case Ln:return P}return t});var xa=Re?Xo:hc;function ba(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)}function wa(e){return e==e&&!Qo(e)}function _a(e,t){return function(n){return null!=n&&n[e]===t&&(t!==i||e in Se(n))}}function Ea(e,t,n){return t=vn(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=vn(i.length-t,0),s=r(o);++a<o;)s[a]=i[t+a];a=-1;for(var c=r(t+1);++a<t;)c[a]=i[a];return c[t]=n(s),Et(e,this,c)}}function Sa(e,t){return t.length<2?e:wr(e,ei(t,0,-1))}function ka(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ja=Pa(Yr),Aa=pt||function(e,t){return lt.setTimeout(e,t)},Oa=Pa(Zr);function Ta(e,t,n){var r=t+"";return Oa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return kt(m,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(se):[]}(r),n)))}function Pa(e){var t=0,n=0;return function(){var r=yn(),a=16-(r-n);if(n=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ra(e,t){var n=-1,r=e.length,a=r-1;for(t=t===i?r:t;++n<t;){var o=Fr(n,a),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var Ia,Ca,La=(Ia=Co((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,i){t.push(r?i.replace(pe,"$1"):n||e)})),t}),(function(e){return 500===Ca.size&&Ca.clear(),e})),Ca=Ia.cache,Ia);function Ja(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Na(e){if(null!=e){try{return Ie.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ka(e){if(e instanceof Un)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=ji(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wa=qr((function(e,t){return zo(e)?ur(e,hr(t,1,zo,!0)):[]})),$a=qr((function(e,t){var n=Ga(t);return zo(n)&&(n=i),zo(e)?ur(e,hr(t,1,zo,!0),aa(n,2)):[]})),Ma=qr((function(e,t){var n=Ga(t);return zo(n)&&(n=i),zo(e)?ur(e,hr(t,1,zo,!0),i,n):[]}));function Ha(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:fs(n);return i<0&&(i=vn(r+i,0)),Wt(e,aa(t,3),i)}function Ua(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r-1;return n!==i&&(a=fs(n),a=n<0?vn(r+a,0):gn(a,r-1)),Wt(e,aa(t,3),a,!0)}function Da(e){return null!=e&&e.length?hr(e,1):[]}function Ba(e){return e&&e.length?e[0]:i}var Fa=qr((function(e){var t=Rt(e,mi);return t.length&&t[0]===e[0]?Ar(t):[]})),za=qr((function(e){var t=Ga(e),n=Rt(e,mi);return t===Ga(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Ar(n,aa(t,2)):[]})),qa=qr((function(e){var t=Ga(e),n=Rt(e,mi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Ar(n,i,t):[]}));function Ga(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Va=qr(Xa);function Xa(e,t){return e&&e.length&&t&&t.length?Dr(e,t):e}var Ya=Qi((function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Br(e,Rt(t,(function(e){return ha(e,n)?+e:e})).sort(Ei)),r}));function Za(e){return null==e?e:wn.call(e)}var Qa=qr((function(e){return si(hr(e,1,zo,!0))})),eo=qr((function(e){var t=Ga(e);return zo(t)&&(t=i),si(hr(e,1,zo,!0),aa(t,2))})),to=qr((function(e){var t=Ga(e);return t="function"==typeof t?t:i,si(hr(e,1,zo,!0),i,t)}));function no(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,(function(e){if(zo(e))return t=vn(e.length,t),!0})),qt(t,(function(t){return Rt(e,Dt(t))}))}function ro(e,t){if(!e||!e.length)return[];var n=no(e);return null==t?n:Rt(n,(function(e){return Et(t,i,e)}))}var io=qr((function(e,t){return zo(e)?ur(e,t):[]})),ao=qr((function(e){return di(Ot(e,zo))})),oo=qr((function(e){var t=Ga(e);return zo(t)&&(t=i),di(Ot(e,zo),aa(t,2))})),so=qr((function(e){var t=Ga(e);return t="function"==typeof t?t:i,di(Ot(e,zo),i,t)})),co=qr(no),uo=qr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,ro(e,n)}));function po(e){var t=Wn(e);return t.__chain__=!0,t}function lo(e,t){return t(e)}var fo=Qi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Un&&ha(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:lo,args:[a],thisArg:i}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)})),mo=Oi((function(e,t,n){Ce.call(e,n)?++e[n]:rr(e,n,1)})),ho=Ji(Ha),vo=Ji(Ua);function go(e,t){return(Do(e)?kt:pr)(e,aa(t,3))}function yo(e,t){return(Do(e)?jt:lr)(e,aa(t,3))}var xo=Oi((function(e,t,n){Ce.call(e,n)?e[n].push(t):rr(e,n,[t])})),bo=qr((function(e,t,n){var i=-1,a="function"==typeof t,o=Fo(e)?r(e.length):[];return pr(e,(function(e){o[++i]=a?Et(t,e,n):Or(e,t,n)})),o})),wo=Oi((function(e,t,n){rr(e,n,t)}));function _o(e,t){return(Do(e)?Rt:Nr)(e,aa(t,3))}var Eo=Oi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),So=qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&va(e,t[0],t[1])?t=[]:n>2&&va(t[0],t[1],t[2])&&(t=[t[0]]),Hr(e,hr(t,1),[])})),ko=ut||function(){return lt.Date.now()};function jo(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Gi(e,u,i,i,i,i,t)}function Ao(e,t){var n;if("function"!=typeof t)throw new Ae(a);return e=fs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Oo=qr((function(e,t,n){var r=1;if(n.length){var i=sn(n,ia(Oo));r|=c}return Gi(e,r,t,n,i)})),To=qr((function(e,t,n){var r=3;if(n.length){var i=sn(n,ia(To));r|=c}return Gi(t,r,e,n,i)}));function Po(e,t,n){var r,o,s,c,u,p,l=0,d=!1,f=!1,m=!0;if("function"!=typeof e)throw new Ae(a);function h(t){var n=r,a=o;return r=o=i,l=t,c=e.apply(a,n)}function v(e){var n=e-p;return p===i||n>=t||n<0||f&&e-l>=s}function g(){var e=ko();if(v(e))return y(e);u=Aa(g,function(e){var n=t-(e-p);return f?gn(n,s-(e-l)):n}(e))}function y(e){return u=i,m&&r?h(e):(r=o=i,c)}function x(){var e=ko(),n=v(e);if(r=arguments,o=this,p=e,n){if(u===i)return function(e){return l=e,u=Aa(g,t),d?h(e):c}(p);if(f)return xi(u),u=Aa(g,t),h(p)}return u===i&&(u=Aa(g,t)),c}return t=hs(t)||0,Qo(n)&&(d=!!n.leading,s=(f="maxWait"in n)?vn(hs(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),x.cancel=function(){u!==i&&xi(u),l=0,r=p=o=u=i},x.flush=function(){return u===i?c:y(ko())},x}var Ro=qr((function(e,t){return cr(e,1,t)})),Io=qr((function(e,t,n){return cr(e,hs(t)||0,n)}));function Co(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(a);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Co.Cache||Fn),n}function Lo(e){if("function"!=typeof e)throw new Ae(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Co.Cache=Fn;var Jo=gi((function(e,t){var n=(t=1==t.length&&Do(t[0])?Rt(t[0],Vt(aa())):Rt(hr(t,1),Vt(aa()))).length;return qr((function(r){for(var i=-1,a=gn(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return Et(e,this,r)}))})),No=qr((function(e,t){var n=sn(t,ia(No));return Gi(e,c,i,t,n)})),Ko=qr((function(e,t){var n=sn(t,ia(Ko));return Gi(e,64,i,t,n)})),Wo=Qi((function(e,t){return Gi(e,256,i,i,i,t)}));function $o(e,t){return e===t||e!=e&&t!=t}var Mo=Di(Sr),Ho=Di((function(e,t){return e>=t})),Uo=Tr(function(){return arguments}())?Tr:function(e){return es(e)&&Ce.call(e,"callee")&&!ze.call(e,"callee")},Do=r.isArray,Bo=gt?Vt(gt):function(e){return es(e)&&Er(e)==R};function Fo(e){return null!=e&&Zo(e.length)&&!Xo(e)}function zo(e){return es(e)&&Fo(e)}var qo=vt||hc,Go=yt?Vt(yt):function(e){return es(e)&&Er(e)==y};function Vo(e){if(!es(e))return!1;var t=Er(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Xo(e){if(!Qo(e))return!1;var t=Er(e);return t==b||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(e){return"number"==typeof e&&e==fs(e)}function Zo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function Qo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=xt?Vt(xt):function(e){return es(e)&&la(e)==_};function ns(e){return"number"==typeof e||es(e)&&Er(e)==E}function rs(e){if(!es(e)||Er(e)!=S)return!1;var t=Be(e);if(null===t)return!0;var n=Ce.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ie.call(n)==Ke}var is=bt?Vt(bt):function(e){return es(e)&&Er(e)==j},as=wt?Vt(wt):function(e){return es(e)&&la(e)==A};function os(e){return"string"==typeof e||!Do(e)&&es(e)&&Er(e)==O}function ss(e){return"symbol"==typeof e||es(e)&&Er(e)==T}var cs=_t?Vt(_t):function(e){return es(e)&&Zo(e.length)&&!!it[Er(e)]},us=Di(Jr),ps=Di((function(e,t){return e<=t}));function ls(e){if(!e)return[];if(Fo(e))return os(e)?ln(e):ji(e);if(Ve&&e[Ve])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ve]());var t=la(e);return(t==_?an:t==A?cn:$s)(e)}function ds(e){return e?(e=hs(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function fs(e){var t=ds(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ar(fs(e),0,f):0}function hs(e){if("number"==typeof e)return e;if(ss(e))return d;if(Qo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Qo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gt(e);var n=me.test(e);return n||ve.test(e)?ct(e.slice(2),n?2:8):fe.test(e)?d:+e}function vs(e){return Ai(e,Rs(e))}function gs(e){return null==e?"":oi(e)}var ys=Ti((function(e,t){if(ba(t)||Fo(t))Ai(t,Ps(t),e);else for(var n in t)Ce.call(t,n)&&Qn(e,n,t[n])})),xs=Ti((function(e,t){Ai(t,Rs(t),e)})),bs=Ti((function(e,t,n,r){Ai(t,Rs(t),e,r)})),ws=Ti((function(e,t,n,r){Ai(t,Ps(t),e,r)})),_s=Qi(ir),Es=qr((function(e,t){e=Se(e);var n=-1,r=t.length,a=r>2?t[2]:i;for(a&&va(t[0],t[1],a)&&(r=1);++n<r;)for(var o=t[n],s=Rs(o),c=-1,u=s.length;++c<u;){var p=s[c],l=e[p];(l===i||$o(l,Pe[p])&&!Ce.call(e,p))&&(e[p]=o[p])}return e})),Ss=qr((function(e){return e.push(i,Xi),Et(Cs,i,e)}));function ks(e,t,n){var r=null==e?i:wr(e,t);return r===i?n:r}function js(e,t){return null!=e&&da(e,t,jr)}var As=Wi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ne.call(t)),e[t]=n}),Qs(nc)),Os=Wi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ne.call(t)),Ce.call(e,t)?e[t].push(n):e[t]=[n]}),aa),Ts=qr(Or);function Ps(e){return Fo(e)?Gn(e):Lr(e)}function Rs(e){return Fo(e)?Gn(e,!0):function(e){if(!Qo(e))return function(e){var t=[];if(null!=e)for(var n in Se(e))t.push(n);return t}(e);var t=ba(e),n=[];for(var r in e)("constructor"!=r||!t&&Ce.call(e,r))&&n.push(r);return n}(e)}var Is=Ti((function(e,t,n){$r(e,t,n)})),Cs=Ti((function(e,t,n,r){$r(e,t,n,r)})),Ls=Qi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Rt(t,(function(t){return t=vi(t,e),r||(r=t.length>1),t})),Ai(e,ta(e),n),r&&(n=or(n,7,Yi));for(var i=t.length;i--;)ci(n,t[i]);return n})),Js=Qi((function(e,t){return null==e?{}:function(e,t){return Ur(e,t,(function(t,n){return js(e,n)}))}(e,t)}));function Ns(e,t){if(null==e)return{};var n=Rt(ta(e),(function(e){return[e]}));return t=aa(t),Ur(e,n,(function(e,n){return t(e,n[0])}))}var Ks=qi(Ps),Ws=qi(Rs);function $s(e){return null==e?[]:Xt(e,Ps(e))}var Ms=Ci((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Vs(gs(e).toLowerCase())}function Us(e){return(e=gs(e))&&e.replace(ye,en).replace(Ye,"")}var Ds=Ci((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Bs=Ci((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Fs=Ii("toLowerCase"),zs=Ci((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),qs=Ci((function(e,t,n){return e+(n?" ":"")+Vs(t)})),Gs=Ci((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Vs=Ii("toUpperCase");function Xs(e,t,n){return e=gs(e),(t=n?i:t)===i?function(e){return tt.test(e)}(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var Ys=qr((function(e,t){try{return Et(e,i,t)}catch(e){return Vo(e)?e:new we(e)}})),Zs=Qi((function(e,t){return kt(t,(function(t){t=Ja(t),rr(e,t,Oo(e[t],e))})),e}));function Qs(e){return function(){return e}}var ec=Ni(),tc=Ni(!0);function nc(e){return e}function rc(e){return Cr("function"==typeof e?e:or(e,1))}var ic=qr((function(e,t){return function(n){return Or(n,e,t)}})),ac=qr((function(e,t){return function(n){return Or(e,n,t)}}));function oc(e,t,n){var r=Ps(t),i=br(t,r);null!=n||Qo(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=br(t,Ps(t)));var a=!(Qo(n)&&"chain"in n&&!n.chain),o=Xo(e);return kt(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=ji(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function sc(){}var cc=Mi(Rt),uc=Mi(At),pc=Mi(Jt);function lc(e){return ga(e)?Dt(Ja(e)):function(e){return function(t){return wr(t,e)}}(e)}var dc=Ui(),fc=Ui(!0);function mc(){return[]}function hc(){return!1}var vc,gc=$i((function(e,t){return e+t}),0),yc=Fi("ceil"),xc=$i((function(e,t){return e/t}),1),bc=Fi("floor"),wc=$i((function(e,t){return e*t}),1),_c=Fi("round"),Ec=$i((function(e,t){return e-t}),0);return Wn.after=function(e,t){if("function"!=typeof t)throw new Ae(a);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},Wn.ary=jo,Wn.assign=ys,Wn.assignIn=xs,Wn.assignInWith=bs,Wn.assignWith=ws,Wn.at=_s,Wn.before=Ao,Wn.bind=Oo,Wn.bindAll=Zs,Wn.bindKey=To,Wn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Do(e)?e:[e]},Wn.chain=po,Wn.chunk=function(e,t,n){t=(n?va(e,t,n):t===i)?1:vn(fs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,c=r(dt(a/t));o<a;)c[s++]=ei(e,o,o+=t);return c},Wn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},Wn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],i=e;i--;)t[i-1]=arguments[i];return It(Do(n)?ji(n):[n],hr(t,1))},Wn.cond=function(e){var t=null==e?0:e.length,n=aa();return e=t?Rt(e,(function(e){if("function"!=typeof e[1])throw new Ae(a);return[n(e[0]),e[1]]})):[],qr((function(n){for(var r=-1;++r<t;){var i=e[r];if(Et(i[0],this,n))return Et(i[1],this,n)}}))},Wn.conforms=function(e){return function(e){var t=Ps(e);return function(n){return sr(n,e,t)}}(or(e,1))},Wn.constant=Qs,Wn.countBy=mo,Wn.create=function(e,t){var n=$n(e);return null==t?n:nr(n,t)},Wn.curry=function e(t,n,r){var a=Gi(t,8,i,i,i,i,i,n=r?i:n);return a.placeholder=e.placeholder,a},Wn.curryRight=function e(t,n,r){var a=Gi(t,16,i,i,i,i,i,n=r?i:n);return a.placeholder=e.placeholder,a},Wn.debounce=Po,Wn.defaults=Es,Wn.defaultsDeep=Ss,Wn.defer=Ro,Wn.delay=Io,Wn.difference=Wa,Wn.differenceBy=$a,Wn.differenceWith=Ma,Wn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=n||t===i?1:fs(t))<0?0:t,r):[]},Wn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,0,(t=r-(t=n||t===i?1:fs(t)))<0?0:t):[]},Wn.dropRightWhile=function(e,t){return e&&e.length?pi(e,aa(t,3),!0,!0):[]},Wn.dropWhile=function(e,t){return e&&e.length?pi(e,aa(t,3),!0):[]},Wn.fill=function(e,t,n,r){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&va(e,t,n)&&(n=0,r=a),function(e,t,n,r){var a=e.length;for((n=fs(n))<0&&(n=-n>a?0:a+n),(r=r===i||r>a?a:fs(r))<0&&(r+=a),r=n>r?0:ms(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Wn.filter=function(e,t){return(Do(e)?Ot:mr)(e,aa(t,3))},Wn.flatMap=function(e,t){return hr(_o(e,t),1)},Wn.flatMapDeep=function(e,t){return hr(_o(e,t),p)},Wn.flatMapDepth=function(e,t,n){return n=n===i?1:fs(n),hr(_o(e,t),n)},Wn.flatten=Da,Wn.flattenDeep=function(e){return null!=e&&e.length?hr(e,p):[]},Wn.flattenDepth=function(e,t){return null!=e&&e.length?hr(e,t=t===i?1:fs(t)):[]},Wn.flip=function(e){return Gi(e,512)},Wn.flow=ec,Wn.flowRight=tc,Wn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},Wn.functions=function(e){return null==e?[]:br(e,Ps(e))},Wn.functionsIn=function(e){return null==e?[]:br(e,Rs(e))},Wn.groupBy=xo,Wn.initial=function(e){return null!=e&&e.length?ei(e,0,-1):[]},Wn.intersection=Fa,Wn.intersectionBy=za,Wn.intersectionWith=qa,Wn.invert=As,Wn.invertBy=Os,Wn.invokeMap=bo,Wn.iteratee=rc,Wn.keyBy=wo,Wn.keys=Ps,Wn.keysIn=Rs,Wn.map=_o,Wn.mapKeys=function(e,t){var n={};return t=aa(t,3),yr(e,(function(e,r,i){rr(n,t(e,r,i),e)})),n},Wn.mapValues=function(e,t){var n={};return t=aa(t,3),yr(e,(function(e,r,i){rr(n,r,t(e,r,i))})),n},Wn.matches=function(e){return Kr(or(e,1))},Wn.matchesProperty=function(e,t){return Wr(e,or(t,1))},Wn.memoize=Co,Wn.merge=Is,Wn.mergeWith=Cs,Wn.method=ic,Wn.methodOf=ac,Wn.mixin=oc,Wn.negate=Lo,Wn.nthArg=function(e){return e=fs(e),qr((function(t){return Mr(t,e)}))},Wn.omit=Ls,Wn.omitBy=function(e,t){return Ns(e,Lo(aa(t)))},Wn.once=function(e){return Ao(2,e)},Wn.orderBy=function(e,t,n,r){return null==e?[]:(Do(t)||(t=null==t?[]:[t]),Do(n=r?i:n)||(n=null==n?[]:[n]),Hr(e,t,n))},Wn.over=cc,Wn.overArgs=Jo,Wn.overEvery=uc,Wn.overSome=pc,Wn.partial=No,Wn.partialRight=Ko,Wn.partition=Eo,Wn.pick=Js,Wn.pickBy=Ns,Wn.property=lc,Wn.propertyOf=function(e){return function(t){return null==e?i:wr(e,t)}},Wn.pull=Va,Wn.pullAll=Xa,Wn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Dr(e,t,aa(n,2)):e},Wn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Dr(e,t,i,n):e},Wn.pullAt=Ya,Wn.range=dc,Wn.rangeRight=fc,Wn.rearg=Wo,Wn.reject=function(e,t){return(Do(e)?Ot:mr)(e,Lo(aa(t,3)))},Wn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=aa(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return Br(e,i),n},Wn.rest=function(e,t){if("function"!=typeof e)throw new Ae(a);return qr(e,t=t===i?t:fs(t))},Wn.reverse=Za,Wn.sampleSize=function(e,t,n){return t=(n?va(e,t,n):t===i)?1:fs(t),(Do(e)?Xn:Vr)(e,t)},Wn.set=function(e,t,n){return null==e?e:Xr(e,t,n)},Wn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Xr(e,t,n,r)},Wn.shuffle=function(e){return(Do(e)?Yn:Qr)(e)},Wn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&va(e,t,n)?(t=0,n=r):(t=null==t?0:fs(t),n=n===i?r:fs(n)),ei(e,t,n)):[]},Wn.sortBy=So,Wn.sortedUniq=function(e){return e&&e.length?ii(e):[]},Wn.sortedUniqBy=function(e,t){return e&&e.length?ii(e,aa(t,2)):[]},Wn.split=function(e,t,n){return n&&"number"!=typeof n&&va(e,t,n)&&(t=n=i),(n=n===i?f:n>>>0)?(e=gs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=oi(t))&&rn(e)?yi(ln(e),0,n):e.split(t,n):[]},Wn.spread=function(e,t){if("function"!=typeof e)throw new Ae(a);return t=null==t?0:vn(fs(t),0),qr((function(n){var r=n[t],i=yi(n,0,t);return r&&It(i,r),Et(e,this,i)}))},Wn.tail=function(e){var t=null==e?0:e.length;return t?ei(e,1,t):[]},Wn.take=function(e,t,n){return e&&e.length?ei(e,0,(t=n||t===i?1:fs(t))<0?0:t):[]},Wn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ei(e,(t=r-(t=n||t===i?1:fs(t)))<0?0:t,r):[]},Wn.takeRightWhile=function(e,t){return e&&e.length?pi(e,aa(t,3),!1,!0):[]},Wn.takeWhile=function(e,t){return e&&e.length?pi(e,aa(t,3)):[]},Wn.tap=function(e,t){return t(e),e},Wn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Ae(a);return Qo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Po(e,t,{leading:r,maxWait:t,trailing:i})},Wn.thru=lo,Wn.toArray=ls,Wn.toPairs=Ks,Wn.toPairsIn=Ws,Wn.toPath=function(e){return Do(e)?Rt(e,Ja):ss(e)?[e]:ji(La(gs(e)))},Wn.toPlainObject=vs,Wn.transform=function(e,t,n){var r=Do(e),i=r||qo(e)||cs(e);if(t=aa(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:Qo(e)&&Xo(a)?$n(Be(e)):{}}return(i?kt:yr)(e,(function(e,r,i){return t(n,e,r,i)})),n},Wn.unary=function(e){return jo(e,1)},Wn.union=Qa,Wn.unionBy=eo,Wn.unionWith=to,Wn.uniq=function(e){return e&&e.length?si(e):[]},Wn.uniqBy=function(e,t){return e&&e.length?si(e,aa(t,2)):[]},Wn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?si(e,i,t):[]},Wn.unset=function(e,t){return null==e||ci(e,t)},Wn.unzip=no,Wn.unzipWith=ro,Wn.update=function(e,t,n){return null==e?e:ui(e,t,hi(n))},Wn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ui(e,t,hi(n),r)},Wn.values=$s,Wn.valuesIn=function(e){return null==e?[]:Xt(e,Rs(e))},Wn.without=io,Wn.words=Xs,Wn.wrap=function(e,t){return No(hi(t),e)},Wn.xor=ao,Wn.xorBy=oo,Wn.xorWith=so,Wn.zip=co,Wn.zipObject=function(e,t){return fi(e||[],t||[],Qn)},Wn.zipObjectDeep=function(e,t){return fi(e||[],t||[],Xr)},Wn.zipWith=uo,Wn.entries=Ks,Wn.entriesIn=Ws,Wn.extend=xs,Wn.extendWith=bs,oc(Wn,Wn),Wn.add=gc,Wn.attempt=Ys,Wn.camelCase=Ms,Wn.capitalize=Hs,Wn.ceil=yc,Wn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=hs(n))==n?n:0),t!==i&&(t=(t=hs(t))==t?t:0),ar(hs(e),t,n)},Wn.clone=function(e){return or(e,4)},Wn.cloneDeep=function(e){return or(e,5)},Wn.cloneDeepWith=function(e,t){return or(e,5,t="function"==typeof t?t:i)},Wn.cloneWith=function(e,t){return or(e,4,t="function"==typeof t?t:i)},Wn.conformsTo=function(e,t){return null==t||sr(e,t,Ps(t))},Wn.deburr=Us,Wn.defaultTo=function(e,t){return null==e||e!=e?t:e},Wn.divide=xc,Wn.endsWith=function(e,t,n){e=gs(e),t=oi(t);var r=e.length,a=n=n===i?r:ar(fs(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},Wn.eq=$o,Wn.escape=function(e){return(e=gs(e))&&G.test(e)?e.replace(z,tn):e},Wn.escapeRegExp=function(e){return(e=gs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Wn.every=function(e,t,n){var r=Do(e)?At:dr;return n&&va(e,t,n)&&(t=i),r(e,aa(t,3))},Wn.find=ho,Wn.findIndex=Ha,Wn.findKey=function(e,t){return Kt(e,aa(t,3),yr)},Wn.findLast=vo,Wn.findLastIndex=Ua,Wn.findLastKey=function(e,t){return Kt(e,aa(t,3),xr)},Wn.floor=bc,Wn.forEach=go,Wn.forEachRight=yo,Wn.forIn=function(e,t){return null==e?e:vr(e,aa(t,3),Rs)},Wn.forInRight=function(e,t){return null==e?e:gr(e,aa(t,3),Rs)},Wn.forOwn=function(e,t){return e&&yr(e,aa(t,3))},Wn.forOwnRight=function(e,t){return e&&xr(e,aa(t,3))},Wn.get=ks,Wn.gt=Mo,Wn.gte=Ho,Wn.has=function(e,t){return null!=e&&da(e,t,kr)},Wn.hasIn=js,Wn.head=Ba,Wn.identity=nc,Wn.includes=function(e,t,n,r){e=Fo(e)?e:$s(e),n=n&&!r?fs(n):0;var i=e.length;return n<0&&(n=vn(i+n,0)),os(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&$t(e,t,n)>-1},Wn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:fs(n);return i<0&&(i=vn(r+i,0)),$t(e,t,i)},Wn.inRange=function(e,t,n){return t=ds(t),n===i?(n=t,t=0):n=ds(n),function(e,t,n){return e>=gn(t,n)&&e<vn(t,n)}(e=hs(e),t,n)},Wn.invoke=Ts,Wn.isArguments=Uo,Wn.isArray=Do,Wn.isArrayBuffer=Bo,Wn.isArrayLike=Fo,Wn.isArrayLikeObject=zo,Wn.isBoolean=function(e){return!0===e||!1===e||es(e)&&Er(e)==g},Wn.isBuffer=qo,Wn.isDate=Go,Wn.isElement=function(e){return es(e)&&1===e.nodeType&&!rs(e)},Wn.isEmpty=function(e){if(null==e)return!0;if(Fo(e)&&(Do(e)||"string"==typeof e||"function"==typeof e.splice||qo(e)||cs(e)||Uo(e)))return!e.length;var t=la(e);if(t==_||t==A)return!e.size;if(ba(e))return!Lr(e).length;for(var n in e)if(Ce.call(e,n))return!1;return!0},Wn.isEqual=function(e,t){return Pr(e,t)},Wn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Pr(e,t,i,n):!!r},Wn.isError=Vo,Wn.isFinite=function(e){return"number"==typeof e&&Nt(e)},Wn.isFunction=Xo,Wn.isInteger=Yo,Wn.isLength=Zo,Wn.isMap=ts,Wn.isMatch=function(e,t){return e===t||Rr(e,t,sa(t))},Wn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Rr(e,t,sa(t),n)},Wn.isNaN=function(e){return ns(e)&&e!=+e},Wn.isNative=function(e){if(xa(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ir(e)},Wn.isNil=function(e){return null==e},Wn.isNull=function(e){return null===e},Wn.isNumber=ns,Wn.isObject=Qo,Wn.isObjectLike=es,Wn.isPlainObject=rs,Wn.isRegExp=is,Wn.isSafeInteger=function(e){return Yo(e)&&e>=-9007199254740991&&e<=l},Wn.isSet=as,Wn.isString=os,Wn.isSymbol=ss,Wn.isTypedArray=cs,Wn.isUndefined=function(e){return e===i},Wn.isWeakMap=function(e){return es(e)&&la(e)==P},Wn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==Er(e)},Wn.join=function(e,t){return null==e?"":Bt.call(e,t)},Wn.kebabCase=Ds,Wn.last=Ga,Wn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==i&&(a=(a=fs(n))<0?vn(r+a,0):gn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):Wt(e,Ht,a,!0)},Wn.lowerCase=Bs,Wn.lowerFirst=Fs,Wn.lt=us,Wn.lte=ps,Wn.max=function(e){return e&&e.length?fr(e,nc,Sr):i},Wn.maxBy=function(e,t){return e&&e.length?fr(e,aa(t,2),Sr):i},Wn.mean=function(e){return Ut(e,nc)},Wn.meanBy=function(e,t){return Ut(e,aa(t,2))},Wn.min=function(e){return e&&e.length?fr(e,nc,Jr):i},Wn.minBy=function(e,t){return e&&e.length?fr(e,aa(t,2),Jr):i},Wn.stubArray=mc,Wn.stubFalse=hc,Wn.stubObject=function(){return{}},Wn.stubString=function(){return""},Wn.stubTrue=function(){return!0},Wn.multiply=wc,Wn.nth=function(e,t){return e&&e.length?Mr(e,fs(t)):i},Wn.noConflict=function(){return lt._===this&&(lt._=We),this},Wn.noop=sc,Wn.now=ko,Wn.pad=function(e,t,n){e=gs(e);var r=(t=fs(t))?pn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Hi(ft(i),n)+e+Hi(dt(i),n)},Wn.padEnd=function(e,t,n){e=gs(e);var r=(t=fs(t))?pn(e):0;return t&&r<t?e+Hi(t-r,n):e},Wn.padStart=function(e,t,n){e=gs(e);var r=(t=fs(t))?pn(e):0;return t&&r<t?Hi(t-r,n)+e:e},Wn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),xn(gs(e).replace(re,""),t||0)},Wn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&va(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ds(e),t===i?(t=e,e=0):t=ds(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var a=bn();return gn(e+a*(t-e+st("1e-"+((a+"").length-1))),t)}return Fr(e,t)},Wn.reduce=function(e,t,n){var r=Do(e)?Ct:Ft,i=arguments.length<3;return r(e,aa(t,4),n,i,pr)},Wn.reduceRight=function(e,t,n){var r=Do(e)?Lt:Ft,i=arguments.length<3;return r(e,aa(t,4),n,i,lr)},Wn.repeat=function(e,t,n){return t=(n?va(e,t,n):t===i)?1:fs(t),zr(gs(e),t)},Wn.replace=function(){var e=arguments,t=gs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Wn.result=function(e,t,n){var r=-1,a=(t=vi(t,e)).length;for(a||(a=1,e=i);++r<a;){var o=null==e?i:e[Ja(t[r])];o===i&&(r=a,o=n),e=Xo(o)?o.call(e):o}return e},Wn.round=_c,Wn.runInContext=e,Wn.sample=function(e){return(Do(e)?Vn:Gr)(e)},Wn.size=function(e){if(null==e)return 0;if(Fo(e))return os(e)?pn(e):e.length;var t=la(e);return t==_||t==A?e.size:Lr(e).length},Wn.snakeCase=zs,Wn.some=function(e,t,n){var r=Do(e)?Jt:ti;return n&&va(e,t,n)&&(t=i),r(e,aa(t,3))},Wn.sortedIndex=function(e,t){return ni(e,t)},Wn.sortedIndexBy=function(e,t,n){return ri(e,t,aa(n,2))},Wn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ni(e,t);if(r<n&&$o(e[r],t))return r}return-1},Wn.sortedLastIndex=function(e,t){return ni(e,t,!0)},Wn.sortedLastIndexBy=function(e,t,n){return ri(e,t,aa(n,2),!0)},Wn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ni(e,t,!0)-1;if($o(e[n],t))return n}return-1},Wn.startCase=qs,Wn.startsWith=function(e,t,n){return e=gs(e),n=null==n?0:ar(fs(n),0,e.length),t=oi(t),e.slice(n,n+t.length)==t},Wn.subtract=Ec,Wn.sum=function(e){return e&&e.length?zt(e,nc):0},Wn.sumBy=function(e,t){return e&&e.length?zt(e,aa(t,2)):0},Wn.template=function(e,t,n){var r=Wn.templateSettings;n&&va(e,t,n)&&(t=i),e=gs(e),t=bs({},t,r,Vi);var a,o,s=bs({},t.imports,r.imports,Vi),c=Ps(s),u=Xt(s,c),p=0,l=t.interpolate||xe,d="__p += '",f=ke((t.escape||xe).source+"|"+l.source+"|"+(l===Y?le:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),m="//# sourceURL="+(Ce.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(f,(function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(p,c).replace(be,nn),n&&(a=!0,d+="' +\n__e("+n+") +\n'"),s&&(o=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),p=c+t.length,t})),d+="';\n";var h=Ce.call(t,"variable")&&t.variable;if(h){if(ue.test(h))throw new we("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(o?d.replace(U,""):d).replace(D,"$1").replace(B,"$1;"),d="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Ys((function(){return _e(c,m+"return "+d).apply(i,u)}));if(v.source=d,Vo(v))throw v;return v},Wn.times=function(e,t){if((e=fs(e))<1||e>l)return[];var n=f,r=gn(e,f);t=aa(t),e-=f;for(var i=qt(r,t);++n<e;)t(n);return i},Wn.toFinite=ds,Wn.toInteger=fs,Wn.toLength=ms,Wn.toLower=function(e){return gs(e).toLowerCase()},Wn.toNumber=hs,Wn.toSafeInteger=function(e){return e?ar(fs(e),-9007199254740991,l):0===e?e:0},Wn.toString=gs,Wn.toUpper=function(e){return gs(e).toUpperCase()},Wn.trim=function(e,t,n){if((e=gs(e))&&(n||t===i))return Gt(e);if(!e||!(t=oi(t)))return e;var r=ln(e),a=ln(t);return yi(r,Zt(r,a),Qt(r,a)+1).join("")},Wn.trimEnd=function(e,t,n){if((e=gs(e))&&(n||t===i))return e.slice(0,dn(e)+1);if(!e||!(t=oi(t)))return e;var r=ln(e);return yi(r,0,Qt(r,ln(t))+1).join("")},Wn.trimStart=function(e,t,n){if((e=gs(e))&&(n||t===i))return e.replace(re,"");if(!e||!(t=oi(t)))return e;var r=ln(e);return yi(r,Zt(r,ln(t))).join("")},Wn.truncate=function(e,t){var n=30,r="...";if(Qo(t)){var a="separator"in t?t.separator:a;n="length"in t?fs(t.length):n,r="omission"in t?oi(t.omission):r}var o=(e=gs(e)).length;if(rn(e)){var s=ln(e);o=s.length}if(n>=o)return e;var c=n-pn(r);if(c<1)return r;var u=s?yi(s,0,c).join(""):e.slice(0,c);if(a===i)return u+r;if(s&&(c+=u.length-c),is(a)){if(e.slice(c).search(a)){var p,l=u;for(a.global||(a=ke(a.source,gs(de.exec(a))+"g")),a.lastIndex=0;p=a.exec(l);)var d=p.index;u=u.slice(0,d===i?c:d)}}else if(e.indexOf(oi(a),c)!=c){var f=u.lastIndexOf(a);f>-1&&(u=u.slice(0,f))}return u+r},Wn.unescape=function(e){return(e=gs(e))&&q.test(e)?e.replace(F,fn):e},Wn.uniqueId=function(e){var t=++Le;return gs(e)+t},Wn.upperCase=Gs,Wn.upperFirst=Vs,Wn.each=go,Wn.eachRight=yo,Wn.first=Ba,oc(Wn,(vc={},yr(Wn,(function(e,t){Ce.call(Wn.prototype,t)||(vc[t]=e)})),vc),{chain:!1}),Wn.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Wn[e].placeholder=Wn})),kt(["drop","take"],(function(e,t){Un.prototype[e]=function(n){n=n===i?1:vn(fs(n),0);var r=this.__filtered__&&!t?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=gn(n,r.__takeCount__):r.__views__.push({size:gn(n,f),type:e+(r.__dir__<0?"Right":"")}),r},Un.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Un.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:aa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Un.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Un.prototype[e]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(nc)},Un.prototype.find=function(e){return this.filter(e).head()},Un.prototype.findLast=function(e){return this.reverse().find(e)},Un.prototype.invokeMap=qr((function(e,t){return"function"==typeof e?new Un(this):this.map((function(n){return Or(n,e,t)}))})),Un.prototype.reject=function(e){return this.filter(Lo(aa(e)))},Un.prototype.slice=function(e,t){e=fs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Un(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=fs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Un.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Un.prototype.toArray=function(){return this.take(f)},yr(Un.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=Wn[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);a&&(Wn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof Un,u=s[0],p=c||Do(t),l=function(e){var t=a.apply(Wn,It([e],s));return r&&d?t[0]:t};p&&n&&"function"==typeof u&&1!=u.length&&(c=p=!1);var d=this.__chain__,f=!!this.__actions__.length,m=o&&!d,h=c&&!f;if(!o&&p){t=h?t:new Un(this);var v=e.apply(t,s);return v.__actions__.push({func:lo,args:[l],thisArg:i}),new Hn(v,d)}return m&&h?e.apply(this,s):(v=this.thru(l),m?r?v.value()[0]:v.value():v)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Oe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Wn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Do(i)?i:[],e)}return this[n]((function(n){return t.apply(Do(n)?n:[],e)}))}})),yr(Un.prototype,(function(e,t){var n=Wn[t];if(n){var r=n.name+"";Ce.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[Ki(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var e=new Un(this.__wrapped__);return e.__actions__=ji(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ji(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ji(this.__views__),e},Un.prototype.reverse=function(){if(this.__filtered__){var e=new Un(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Un.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Do(e),r=t<0,i=n?e.length:0,a=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=gn(t,e+o);break;case"takeRight":e=vn(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,u=r?s:o-1,p=this.__iteratees__,l=p.length,d=0,f=gn(c,this.__takeCount__);if(!n||!r&&i==c&&f==c)return li(e,this.__actions__);var m=[];e:for(;c--&&d<f;){for(var h=-1,v=e[u+=t];++h<l;){var g=p[h],y=g.iteratee,x=g.type,b=y(v);if(2==x)v=b;else if(!b){if(1==x)continue e;break e}}m[d++]=v}return m},Wn.prototype.at=fo,Wn.prototype.chain=function(){return po(this)},Wn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Wn.prototype.next=function(){this.__values__===i&&(this.__values__=ls(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Wn.prototype.plant=function(e){for(var t,n=this;n instanceof Mn;){var r=Ka(n);r.__index__=0,r.__values__=i,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},Wn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Un){var t=e;return this.__actions__.length&&(t=new Un(this)),(t=t.reverse()).__actions__.push({func:lo,args:[Za],thisArg:i}),new Hn(t,this.__chain__)}return this.thru(Za)},Wn.prototype.toJSON=Wn.prototype.valueOf=Wn.prototype.value=function(){return li(this.__wrapped__,this.__actions__)},Wn.prototype.first=Wn.prototype.head,Ve&&(Wn.prototype[Ve]=function(){return this}),Wn}();lt._=mn,(r=function(){return mn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},9831:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}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(r(arguments[t]));return e},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],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(1901)),c=n(4434),u=o(n(7193)),p=n(7644),l=n(3503);function d(e){var t=new s.default(e),n=e.load,r=e.hash,o=e.bypass,l=e.itemMaxAge,d=e.freeze,f=e.clone,m=e.queueMaxAge||1e3,h=new Map,v=new c.EventEmitter,g=Object.assign({del:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var a=r.apply(void 0,i(e));t.del(a)},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,g);function y(e,t){var n,r;try{for(var o=a(e),s=o.next();!s.done;s=o.next()){var c=s.value;f?setImmediate.apply(void 0,i([c],t.map(u.default))):setImmediate.apply(void 0,i([c],t))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function x(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=[],a=0;a<arguments.length;a++)e[a]=arguments[a];var s,c=e.slice(0,-1),u=e.slice(-1).pop();if(o&&o.apply(void 0,i(c)))return x.apply(void 0,i(["miss"],c)),n.apply(void 0,i(e));s=0!==c.length||r?r.apply(void 0,i(c)):"_";var f=t.get(s);if(f)return x.apply(void 0,i(["hit"],c)),y([u],[null].concat(f));var v=h.get(s);if(v&&v.expiresAt>Date.now())return v.queue.push(u),void x.apply(void 0,i(["queue"],c));x.apply(void 0,i(["miss"],c));var g=Date.now(),b=[u];h.set(s,{queue:b,expiresAt:g+m}),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,r){d&&r.forEach(p.deepFreeze),l?t.set(e,r,l.apply(void 0,i(n.concat(r)))):t.set(e,r)}(s,c,e.slice(1)),h.delete(s),x.apply(void 0,i(["loaded",Date.now()-g],c)),y(b,e)}]))}),g)}t.asyncMemoizer=d,d.sync=l.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 r=n(9831);e.exports=r.asyncMemoizer},3503:function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}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(r(arguments[t]));return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.syncMemoizer=void 0;var o=a(n(1901)),s=n(4434),c=a(n(7193)),u=n(7644);t.syncMemoizer=function(e){var t=new o.default(e),n=e.load,r=e.hash,a=e.bypass,p=e.itemMaxAge,l=e.freeze,d=e.clone,f=new s.EventEmitter,m=Object.assign({del:function(){var e=r.apply(void 0,i(arguments));t.del(e)},reset:function(){return t.reset()},keys:t.keys.bind(t),on:f.on.bind(f),once:f.once.bind(f)},e);if(e.disable)return Object.assign(n,m);function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.emit.apply(f,i([e],t))}function v(e){return e&&e.then&&"function"==typeof e.then}function g(e){var t=e;return d&&(t=v(t)?t.then(c.default):c.default(t)),l&&(v(t)?t=t.then(u.deepFreeze):u.deepFreeze(t)),t}return Object.assign((function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];if(a&&a.apply(void 0,i(e)))return h.apply(void 0,i(["miss"],e)),n.apply(void 0,i(e));var s=r.apply(void 0,i(e)),c=t.get(s);if(c)return h.apply(void 0,i(["hit"],e)),g(c);h.apply(void 0,i(["miss"],e));var u=n.apply(void 0,i(e));return p?t.set(s,u,p.apply(void 0,i(e.concat([u])))):t.set(s,u),g(u)}),m)}},1901:(e,t,n)=>{e.exports=l;var r,i=n(7089),a=n(9023),o=n(349),s={},c="function"==typeof Symbol;function u(e,t,n){var i;return s[t]?i=s[t]:(i=r(t),s[t]=i),2===arguments.length?e[i]:(e[i]=n,n)}function p(){return 1}function l(e){if(!(this instanceof l))return new l(e);"number"==typeof e&&(e={max:e}),e||(e={});var t=u(this,"max",e.max);(!t||"number"!=typeof t||t<=0)&&u(this,"max",1/0);var n=e.length||p;"function"!=typeof n&&(n=p),u(this,"lengthCalculator",n),u(this,"allowStale",e.stale||!1),u(this,"maxAge",e.maxAge||0),u(this,"dispose",e.dispose),this.reset()}function d(e,t,n,r){var i=n.value;m(e,i)&&(v(e,n),u(e,"allowStale")||(i=void 0)),i&&t.call(r,i.value,i.key,e)}function f(e,t,n){var r=u(e,"cache").get(t);if(r){var i=r.value;m(e,i)?(v(e,r),u(e,"allowStale")||(i=void 0)):n&&u(e,"lruList").unshiftNode(r),i&&(i=i.value)}return i}function m(e,t){if(!t||!t.maxAge&&!u(e,"maxAge"))return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:u(e,"maxAge")&&n>u(e,"maxAge")}function h(e){if(u(e,"length")>u(e,"max"))for(var t=u(e,"lruList").tail;u(e,"length")>u(e,"max")&&null!==t;){var n=t.prev;v(e,t),t=n}}function v(e,t){if(t){var n=t.value;u(e,"dispose")&&u(e,"dispose").call(this,n.key,n.value),u(e,"length",u(e,"length")-n.length),u(e,"cache").delete(n.key),u(e,"lruList").removeNode(t)}}function g(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}r=c?function(e){return Symbol.for(e)}:function(e){return"_"+e},Object.defineProperty(l.prototype,"max",{set:function(e){(!e||"number"!=typeof e||e<=0)&&(e=1/0),u(this,"max",e),h(this)},get:function(){return u(this,"max")},enumerable:!0}),Object.defineProperty(l.prototype,"allowStale",{set:function(e){u(this,"allowStale",!!e)},get:function(){return u(this,"allowStale")},enumerable:!0}),Object.defineProperty(l.prototype,"maxAge",{set:function(e){(!e||"number"!=typeof e||e<0)&&(e=0),u(this,"maxAge",e),h(this)},get:function(){return u(this,"maxAge")},enumerable:!0}),Object.defineProperty(l.prototype,"lengthCalculator",{set:function(e){"function"!=typeof e&&(e=p),e!==u(this,"lengthCalculator")&&(u(this,"lengthCalculator",e),u(this,"length",0),u(this,"lruList").forEach((function(e){e.length=u(this,"lengthCalculator").call(this,e.value,e.key),u(this,"length",u(this,"length")+e.length)}),this)),h(this)},get:function(){return u(this,"lengthCalculator")},enumerable:!0}),Object.defineProperty(l.prototype,"length",{get:function(){return u(this,"length")},enumerable:!0}),Object.defineProperty(l.prototype,"itemCount",{get:function(){return u(this,"lruList").length},enumerable:!0}),l.prototype.rforEach=function(e,t){t=t||this;for(var n=u(this,"lruList").tail;null!==n;){var r=n.prev;d(this,e,n,t),n=r}},l.prototype.forEach=function(e,t){t=t||this;for(var n=u(this,"lruList").head;null!==n;){var r=n.next;d(this,e,n,t),n=r}},l.prototype.keys=function(){return u(this,"lruList").toArray().map((function(e){return e.key}),this)},l.prototype.values=function(){return u(this,"lruList").toArray().map((function(e){return e.value}),this)},l.prototype.reset=function(){u(this,"dispose")&&u(this,"lruList")&&u(this,"lruList").length&&u(this,"lruList").forEach((function(e){u(this,"dispose").call(this,e.key,e.value)}),this),u(this,"cache",new i),u(this,"lruList",new o),u(this,"length",0)},l.prototype.dump=function(){return u(this,"lruList").map((function(e){if(!m(this,e))return{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}}),this).toArray().filter((function(e){return e}))},l.prototype.dumpLru=function(){return u(this,"lruList")},l.prototype.inspect=function(e,t){var n="LRUCache {",r=!1;u(this,"allowStale")&&(n+="\n allowStale: true",r=!0);var i=u(this,"max");i&&i!==1/0&&(r&&(n+=","),n+="\n max: "+a.inspect(i,t),r=!0);var o=u(this,"maxAge");o&&(r&&(n+=","),n+="\n maxAge: "+a.inspect(o,t),r=!0);var s=u(this,"lengthCalculator");s&&s!==p&&(r&&(n+=","),n+="\n length: "+a.inspect(u(this,"length"),t),r=!0);var c=!1;return u(this,"lruList").forEach((function(e){c?n+=",\n ":(r&&(n+=",\n"),c=!0,n+="\n ");var i=a.inspect(e.key).split("\n").join("\n "),u={value:e.value};e.maxAge!==o&&(u.maxAge=e.maxAge),s!==p&&(u.length=e.length),m(this,e)&&(u.stale=!0),u=a.inspect(u,t).split("\n").join("\n "),n+=i+" => "+u})),(c||r)&&(n+="\n"),n+="}"},l.prototype.set=function(e,t,n){var r=(n=n||u(this,"maxAge"))?Date.now():0,i=u(this,"lengthCalculator").call(this,t,e);if(u(this,"cache").has(e)){if(i>u(this,"max"))return v(this,u(this,"cache").get(e)),!1;var a=u(this,"cache").get(e).value;return u(this,"dispose")&&u(this,"dispose").call(this,e,a.value),a.now=r,a.maxAge=n,a.value=t,u(this,"length",u(this,"length")+(i-a.length)),a.length=i,this.get(e),h(this),!0}var o=new g(e,t,i,r,n);return o.length>u(this,"max")?(u(this,"dispose")&&u(this,"dispose").call(this,e,t),!1):(u(this,"length",u(this,"length")+o.length),u(this,"lruList").unshift(o),u(this,"cache").set(e,u(this,"lruList").head),h(this),!0)},l.prototype.has=function(e){return!!u(this,"cache").has(e)&&!m(this,u(this,"cache").get(e).value)},l.prototype.get=function(e){return f(this,e,!0)},l.prototype.peek=function(e){return f(this,e,!1)},l.prototype.pop=function(){var e=u(this,"lruList").tail;return e?(v(this,e),e.value):null},l.prototype.del=function(e){v(this,u(this,"cache").get(e))},l.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var a=i-t;a>0&&this.set(r.k,r.v,a)}}},l.prototype.prune=function(){var e=this;u(this,"cache").forEach((function(t,n){f(e,n,!1)}))}},349:e=>{function t(e){var n=this;if(n instanceof t||(n=new t),n.tail=null,n.head=null,n.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){n.push(e)}));else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)n.push(arguments[r]);return n}function n(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function r(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,n,r){if(!(this instanceof i))return new i(e,t,n,r);this.list=r,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=t,t.Node=i,t.create=t,t.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;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.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++}},t.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++}},t.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)n(this,arguments[e]);return this.length},t.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)r(this,arguments[e]);return this.length},t.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}},t.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}},t.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},t.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},t.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},t.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},t.prototype.map=function(e,n){n=n||this;for(var r=new t,i=this.head;null!==i;)r.push(e.call(n,i.value,this)),i=i.next;return r},t.prototype.mapReverse=function(e,n){n=n||this;for(var r=new t,i=this.tail;null!==i;)r.push(e.call(n,i.value,this)),i=i.prev;return r},t.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},t.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},t.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},t.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},t.prototype.slice=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var r=new t;if(n<e||n<0)return r;e<0&&(e=0),n>this.length&&(n=this.length);for(var i=0,a=this.head;null!==a&&i<e;i++)a=a.next;for(;null!==a&&i<n;i++,a=a.next)r.push(a.value);return r},t.prototype.sliceReverse=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var r=new t;if(n<e||n<0)return r;e<0&&(e=0),n>this.length&&(n=this.length);for(var i=this.length,a=this.tail;null!==a&&i>n;i--)a=a.prev;for(;null!==a&&i>e;i--,a=a.prev)r.push(a.value);return r},t.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},7598:(e,t,n)=>{e.exports=n(1813)},6049:(e,t,n)=>{"use strict";var r,i,a,o=n(7598),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;function p(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||!u.test(t[1]))&&"UTF-8"}t.charset=p,t.charsets={lookup:p},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 r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),r=n&&t.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[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),r=t.extensions,i=t.types,a=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){r[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var u=a.indexOf(o[i[c]].source),p=a.indexOf(t.source);if("application/octet-stream"!==i[c]&&(u>p||u===p&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},6585:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,a=7*i;function o(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,u,p=typeof e;if("string"===p&&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*a;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;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"===p&&isFinite(e))return s.long?(c=e,(u=Math.abs(c))>=i?o(c,u,i,"day"):u>=r?o(c,u,r,"hour"):u>=n?o(c,u,n,"minute"):u>=t?o(c,u,t,"second"):c+" ms"):function(e){var a=Math.abs(e);return a>=i?Math.round(e/i)+"d":a>=r?Math.round(e/r)+"h":a>=n?Math.round(e/n)+"m":a>=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 r=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},a=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?r(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 r=n.match(/^(.+):(\d+)$/),i=r?r[1]:n,o=r?parseInt(r[2]):0;return!(!o||o===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!a.call(e,i)):e!==i)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var u=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return u&&-1===u.indexOf("://")&&(u=n+"://"+u),u}},7089:(e,t,n)=>{"pseudomap"===process.env.npm_package_name&&"test"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||process.env.TEST_PSEUDOMAP?e.exports=n(71):e.exports=Map},71:e=>{var t=Object.prototype.hasOwnProperty;function n(e){if(!(this instanceof n))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),e)if(e instanceof n||"function"==typeof Map&&e instanceof Map)e.forEach((function(e,t){this.set(t,e)}),this);else{if(!Array.isArray(e))throw new TypeError("invalid argument");e.forEach((function(e){this.set(e[0],e[1])}),this)}}function r(e,t){return e===t||e!=e&&t!=t}function i(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,n){for(var i=0,a="_"+n,o=a;t.call(e,o);o=a+i++)if(r(e[o].key,n))return e[o]}e.exports=n,n.prototype.forEach=function(e,t){t=t||this,Object.keys(this._data).forEach((function(n){"size"!==n&&e.call(t,this._data[n].value,this._data[n].key)}),this)},n.prototype.has=function(e){return!!a(this._data,e)},n.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},n.prototype.set=function(e,n){!function(e,n,a){for(var o=0,s="_"+n,c=s;t.call(e,c);c=s+o++)if(r(e[c].key,n))return void(e[c].value=a);e.size++,e[c]=new i(n,a,c)}(this._data,e,n)},n.prototype.delete=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},n.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,"_data",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(n.prototype,"size",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),n.prototype.values=n.prototype.keys=n.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},2861:(e,t,n)=>{var r=n(181),i=r.Buffer;function a(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=r:(a(r,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(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 r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},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 r.SlowBuffer(e)}},3904:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=a(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("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 p(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new p(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 l(e.value,t).test(this.value):""===e.operator?""===e.value||new l(this.value,t).test(e.semver):!((t=a(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 a=n(8587),{safeRe:o,t:s}=n(9718),c=n(2111),u=n(7272),p=n(3908),l=n(8311)},8311:(e,t,n)=>{const r=/\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(r," "),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=>!g(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&&y(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=a.get(t);if(n)return n;const r=this.options.loose,i=r?p[l.HYPHENRANGELOOSE]:p[l.HYPHENRANGE];e=e.replace(i,P(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(p[l.COMPARATORTRIM],d),c("comparator trim",e),e=e.replace(p[l.TILDETRIM],f),c("tilde trim",e),e=e.replace(p[l.CARETTRIM],m),c("caret trim",e);let o=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>T(e,this.options)));r&&(o=o.filter((e=>(c("loose invalid filter",e,this.options),!!e.match(p[l.COMPARATORLOOSE]))))),c("range list",o);const u=new Map,y=o.map((e=>new s(e,this.options)));for(const e of y){if(g(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");const x=[...u.values()];return a.set(t,x),x}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((n=>x(n,t)&&e.set.some((e=>x(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 u(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 a=new(n(8794)),o=n(8587),s=n(3904),c=n(7272),u=n(3908),{safeRe:p,t:l,comparatorTrimReplace:d,tildeTrimReplace:f,caretTrimReplace:m}=n(9718),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:v}=n(6874),g=e=>"<0.0.0-0"===e.value,y=e=>""===e.value,x=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},b=(e,t)=>(c("comp",e,t),e=S(e,t),c("caret",e),e=_(e,t),c("tildes",e),e=j(e,t),c("xrange",e),e=O(e,t),c("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{const n=t.loose?p[l.TILDELOOSE]:p[l.TILDE];return e.replace(n,((t,n,r,i,a)=>{let o;return c("tilde",e,t,n,r,i,a),w(n)?o="":w(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:w(i)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(c("replaceTilde pr",a),o=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,c("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{c("caret",e,t);const n=t.loose?p[l.CARETLOOSE]:p[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,a,o)=>{let s;return c("caret",e,t,n,i,a,o),w(n)?s="":w(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(a)?s="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:o?(c("replaceCaret pr",o),s="0"===n?"0"===i?`>=${n}.${i}.${a}-${o} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${o} <${+n+1}.0.0-0`):(c("no pr"),s="0"===n?"0"===i?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),c("caret return",s),s}))},j=(e,t)=>(c("replaceXRanges",e,t),e.split(/\s+/).map((e=>A(e,t))).join(" ")),A=(e,t)=>{e=e.trim();const n=t.loose?p[l.XRANGELOOSE]:p[l.XRANGE];return e.replace(n,((n,r,i,a,o,s)=>{c("xRange",e,n,r,i,a,o,s);const u=w(i),p=u||w(a),l=p||w(o),d=l;return"="===r&&d&&(r=""),s=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(p&&(a=0),o=0,">"===r?(r=">=",p?(i=+i+1,a=0,o=0):(a=+a+1,o=0)):"<="===r&&(r="<",p?i=+i+1:a=+a+1),"<"===r&&(s="-0"),n=`${r+i}.${a}.${o}${s}`):p?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:l&&(n=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`),c("xRange return",n),n}))},O=(e,t)=>(c("replaceStars",e,t),e.trim().replace(p[l.STAR],"")),T=(e,t)=>(c("replaceGTE0",e,t),e.trim().replace(p[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),P=e=>(t,n,r,i,a,o,s,c,u,p,l,d)=>`${n=w(r)?"":w(i)?`>=${r}.0.0${e?"-0":""}`:w(a)?`>=${r}.${i}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${c=w(u)?"":w(p)?`<${+u+1}.0.0-0`:w(l)?`<${u}.${+p+1}.0-0`:d?`<=${u}.${p}.${l}-${d}`:e?`<${u}.${p}.${+l+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 r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},3908:(e,t,n)=>{const r=n(7272),{MAX_LENGTH:i,MAX_SAFE_INTEGER:a}=n(6874),{safeRe:o,t:s}=n(9718),c=n(8587),{compareIdentifiers:u}=n(1123);class p{constructor(e,t){if(t=c(t),e instanceof p){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`);r("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>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||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<a)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(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof p||(e=new p(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof p||(e=new p(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(r("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 u(n,i)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const n=this.build[t],i=e.build[t];if(r("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 u(n,i)}while(++t)}inc(e,t,n){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"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(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}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=p},7414:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},2111:(e,t,n)=>{const r=n(4641),i=n(3999),a=n(5580),o=n(4089),s=n(7059),c=n(5200);e.exports=(e,t,n,u)=>{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 r(e,n,u);case"!=":return i(e,n,u);case">":return a(e,n,u);case">=":return o(e,n,u);case"<":return s(e,n,u);case"<=":return c(e,n,u);default:throw new TypeError(`Invalid operator: ${t}`)}}},6170:(e,t,n)=>{const r=n(3908),i=n(144),{safeRe:a,t:o}=n(9718);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?a[o.COERCERTLFULL]:a[o.COERCERTL];let i;for(;(i=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),r.lastIndex=i.index+i[1].length+i[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?a[o.COERCEFULL]:a[o.COERCE]);if(null===n)return null;const s=n[2],c=n[3]||"0",u=n[4]||"0",p=t.includePrerelease&&n[5]?`-${n[5]}`:"",l=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${s}.${c}.${u}${p}${l}`,t)}},909:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n)=>{const i=new r(e,n),a=new r(t,n);return i.compare(a)||i.compareBuild(a)}},1763:(e,t,n)=>{const r=n(560);e.exports=(e,t)=>r(e,t,!0)},560:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},1832:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,null,!0),i=r(t,null,!0),a=n.compare(i);if(0===a)return null;const o=a>0,s=o?n:i,c=o?i:n,u=!!s.prerelease.length;if(c.prerelease.length&&!u)return c.patch||c.minor?s.patch?"patch":s.minor?"minor":"major":"major";const p=u?"pre":"";return n.major!==i.major?p+"major":n.minor!==i.minor?p+"minor":n.patch!==i.patch?p+"patch":"prerelease"}},4641:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>0===r(e,t,n)},5580:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)>0},4089:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)>=0},3007:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n,i,a)=>{"string"==typeof n&&(a=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,a).version}catch(e){return null}}},7059:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)<0},5200:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(e,t,n)<=0},2938:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).major},6254:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).minor},3999:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>0!==r(e,t,n)},144:(e,t,n)=>{const r=n(3908);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},4493:(e,t,n)=>{const r=n(3908);e.exports=(e,t)=>new r(e,t).patch},1729:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9970:(e,t,n)=>{const r=n(560);e.exports=(e,t,n)=>r(t,e,n)},4277:(e,t,n)=>{const r=n(909);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},7638:(e,t,n)=>{const r=n(8311);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},3927:(e,t,n)=>{const r=n(909);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},6953:(e,t,n)=>{const r=n(144);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},9589:(e,t,n)=>{const r=n(9718),i=n(6874),a=n(3908),o=n(1123),s=n(144),c=n(6953),u=n(7414),p=n(3007),l=n(1832),d=n(2938),f=n(6254),m=n(4493),h=n(1729),v=n(560),g=n(9970),y=n(1763),x=n(909),b=n(3927),w=n(4277),_=n(5580),E=n(7059),S=n(4641),k=n(3999),j=n(4089),A=n(5200),O=n(2111),T=n(6170),P=n(3904),R=n(8311),I=n(7638),C=n(7631),L=n(9628),J=n(270),N=n(1261),K=n(3874),W=n(7075),$=n(5571),M=n(5342),H=n(6780),U=n(2525),D=n(5032);e.exports={parse:s,valid:c,clean:u,inc:p,diff:l,major:d,minor:f,patch:m,prerelease:h,compare:v,rcompare:g,compareLoose:y,compareBuild:x,sort:b,rsort:w,gt:_,lt:E,eq:S,neq:k,gte:j,lte:A,cmp:O,coerce:T,Comparator:P,Range:R,satisfies:I,toComparators:C,maxSatisfying:L,minSatisfying:J,minVersion:N,validRange:K,outside:W,gtr:$,ltr:M,intersects:H,simplifyRange:U,subset:D,SemVer:a,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},6874:e=>{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=>{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=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},8794:e=>{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=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},9718:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:a}=n(6874),o=n(7272),s=(t=e.exports={}).re=[],c=t.safeRe=[],u=t.src=[],p=t.t={};let l=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",a],[d,i]],m=(e,t,n)=>{const r=(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=l++;o(e,i,t),p[e]=i,u[i]=t,s[i]=new RegExp(t,n?"g":void 0),c[i]=new RegExp(r,n?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[p.NUMERICIDENTIFIER]}|${u[p.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NUMERICIDENTIFIERLOOSE]}|${u[p.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),m("FULL",`^${u[p.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),m("LOOSE",`^${u[p.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),m("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),m("COERCE",`${u[p.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[p.COERCEPLAIN]+`(?:${u[p.PRERELEASE]})?`+`(?:${u[p.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",u[p.COERCE],!0),m("COERCERTLFULL",u[p.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},5571:(e,t,n)=>{const r=n(7075);e.exports=(e,t,n)=>r(e,t,">",n)},6780:(e,t,n)=>{const r=n(8311);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},5342:(e,t,n)=>{const r=n(7075);e.exports=(e,t,n)=>r(e,t,"<",n)},9628:(e,t,n)=>{const r=n(3908),i=n(8311);e.exports=(e,t,n)=>{let a=null,o=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(a&&-1!==o.compare(e)||(a=e,o=new r(a,n)))})),a}},270:(e,t,n)=>{const r=n(3908),i=n(8311);e.exports=(e,t,n)=>{let a=null,o=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(a&&1!==o.compare(e)||(a=e,o=new r(a,n)))})),a}},1261:(e,t,n)=>{const r=n(3908),i=n(8311),a=n(5580);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("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 r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!a(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||n&&!a(n,o)||(n=o)}return n&&e.test(n)?n:null}},7075:(e,t,n)=>{const r=n(3908),i=n(3904),{ANY:a}=i,o=n(8311),s=n(7638),c=n(5580),u=n(7059),p=n(5200),l=n(4089);e.exports=(e,t,n,d)=>{let f,m,h,v,g;switch(e=new r(e,d),t=new o(t,d),n){case">":f=c,m=p,h=u,v=">",g=">=";break;case"<":f=u,m=l,h=c,v="<",g="<=";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 r=t.set[n];let o=null,s=null;if(r.forEach((e=>{e.semver===a&&(e=new i(">=0.0.0")),o=o||e,s=s||e,f(e.semver,o.semver,d)?o=e:h(e.semver,s.semver,d)&&(s=e)})),o.operator===v||o.operator===g)return!1;if((!s.operator||s.operator===v)&&m(e,s.semver))return!1;if(s.operator===g&&h(e,s.semver))return!1}return!0}},2525:(e,t,n)=>{const r=n(7638),i=n(560);e.exports=(e,t,n)=>{const a=[];let o=null,s=null;const c=e.sort(((e,t)=>i(e,t,n)));for(const e of c)r(e,t,n)?(s=e,o||(o=e)):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);const u=[];for(const[e,t]of a)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const p=u.join(" || "),l="string"==typeof t.raw?t.raw:String(t);return p.length<l.length?p:t}},5032:(e,t,n)=>{const r=n(8311),i=n(3904),{ANY:a}=i,o=n(7638),s=n(560),c=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],p=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===a){if(1===t.length&&t[0].semver===a)return!0;e=n.includePrerelease?c:u}if(1===t.length&&t[0].semver===a){if(n.includePrerelease)return!0;t=u}const r=new Set;let i,p,f,m,h,v,g;for(const t of e)">"===t.operator||">="===t.operator?i=l(i,t,n):"<"===t.operator||"<="===t.operator?p=d(p,t,n):r.add(t.semver);if(r.size>1)return null;if(i&&p){if(f=s(i.semver,p.semver,n),f>0)return null;if(0===f&&(">="!==i.operator||"<="!==p.operator))return null}for(const e of r){if(i&&!o(e,String(i),n))return null;if(p&&!o(e,String(p),n))return null;for(const r of t)if(!o(e,String(r),n))return!1;return!0}let y=!(!p||n.includePrerelease||!p.semver.prerelease.length)&&p.semver,x=!(!i||n.includePrerelease||!i.semver.prerelease.length)&&i.semver;y&&1===y.prerelease.length&&"<"===p.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,i)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(m=l(i,e,n),m===e&&m!==i)return!1}else if(">="===i.operator&&!o(i.semver,String(e),n))return!1;if(p)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(h=d(p,e,n),h===e&&h!==p)return!1}else if("<="===p.operator&&!o(p.semver,String(e),n))return!1;if(!e.operator&&(p||i)&&0!==f)return!1}return!(i&&v&&!p&&0!==f||p&&g&&!i&&0!==f||x||y)},l=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=p(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},7631:(e,t,n)=>{const r=n(8311);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3874:(e,t,n)=>{const r=n(8311);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},7687:(e,t,n)=>{"use strict";const r=n(857),i=n(2018),a=n(5884),{env:o}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===s)return 0;if(a("color=16m")||a("color=full")||a("color=truecolor"))return 3;if(a("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=r.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}a("no-color")||a("no-colors")||a("color=false")||a("color=never")?s=0:(a("color")||a("colors")||a("color=true")||a("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(u(e,e&&e.isTTY))},stdout:c(u(!0,i.isatty(1))),stderr:c(u(!0,i.isatty(2)))}},3027:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.httpPostWithRetry=void 0;const i=r(n(9329)),a=n(5692),o=i.default.create({httpsAgent:new a.Agent({keepAlive:!0})});t.httpPostWithRetry=async function(e,t,n,r){let i=0;for(;;){++i;try{return await o.post(e,t,n)}catch(t){if(r.debug(`HTTP POST to ${e} failed (attempt ${i}):`),r.debug(t.response&&t.response.data||t),i>=5)throw r.error(`No success after ${i} attempts, seizing further attempts`),t;i>=2&&(r.debug("Doing exponential backoff with jitter, before attempting HTTP POST again ..."),await new Promise((e=>setTimeout(e,25*(Math.pow(2,i)+Math.random()*i)))),r.debug("Done waiting, will try HTTP POST again now"))}}}},2086:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeSafeBase64=t.safeBase64Stringify=void 0,t.safeBase64Stringify=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},t.decodeSafeBase64=function(e){const t=e.replace(/-/g,"+").replace(/_/g,"/");return Buffer.from(t,"base64").toString()}},357:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseHandler=t.createRequestHandler=t.staticPage=t.redirectTo=void 0;const i=r(n(1571)),a=n(3103);function o(e){const t={...e,region:process.env.AWS_REGION};return i.default.replace(/\${([^}]*)}/g,((e,n)=>t[n]||""))}function s(e,t){var n,r;if(!t)throw new Error("Expected response value");return{...t,headers:{...null!==(n=t.headers)&&void 0!==n?n:{},...(r=e.httpHeaders,Object.entries(r).reduce(((e,[t,n])=>Object.assign(e,{[t.toLowerCase()]:[{key:t,value:n}]})),{}))}}}t.redirectTo=function(e,t){return{status:"307",statusDescription:"Temporary Redirect",headers:{location:[{key:"location",value:e}],...(null==t?void 0:t.cookies)?{"set-cookie":t.cookies.map((e=>({key:"set-cookie",value:e})))}:{}}}},t.staticPage=function(e){var t;return{body:o(e),status:null!==(t=e.statusCode)&&void 0!==t?t:"500",headers:{"content-type":[{key:"Content-Type",value:"text/html; charset=UTF-8"}]}}},t.createRequestHandler=function(e){let t;return async n=>{t||(t=(0,a.getConfig)()),t.logger.debug("Handling event:",n);const r=s(t,await e(t,n));return t.logger.debug("Returning response:",r),r}},t.createResponseHandler=function(e){let t;return async n=>{t||(t=(0,a.getConfig)()),t.logger.debug("Handling event:",n);const r=s(t,await e(t,n));return t.logger.debug("Returning response:",r),r}}},3103:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getConfig=void 0;const o=n(7427),s=n(9896),c=a(n(6928)),u=n(4605);t.getConfig=function(){const e=JSON.parse((0,s.readFileSync)(c.join(__dirname,"/config.json"),"utf-8")),t=`https://cognito-idp.${/^(\S+?)_\S+$/.exec(e.userPoolId)[1]}.amazonaws.com/${e.userPoolId}`,n=`${t}/.well-known/jwks.json`;return{nonceMaxAge:parseInt((0,o.parse)(e.cookieSettings.nonce.toLowerCase())["max-age"])||86400,...e,tokenIssuer:t,tokenJwksUri:n,logger:new u.Logger(u.LogLevel[e.logLevel])}}},7918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCookies=t.extractAndParseCookies=void 0;const r=n(7427),i=n(2172);function a(e,t){return-1===t.toLowerCase().indexOf("domain")?`${t}; Domain=.${e}`:t}function o(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("; ")}t.extractAndParseCookies=function(e,t){const n=function(e){return e.cookie?e.cookie.reduce(((e,t)=>({...e,...(0,r.parse)(t.value)})),{}):{}}(e);if(!n)return{};const i=`CognitoIdentityServiceProvider.${t}`,a=n[`${i}.LastAuthUser`];return{tokenUserName:a,idToken:n[`${i}.${null!=a?a:""}.idToken`],accessToken:n[`${i}.${null!=a?a:""}.accessToken`],refreshToken:n[`${i}.${null!=a?a:""}.refreshToken`],scopes:n[`${i}.${null!=a?a:""}.tokenScopesString`],nonce:n["spa-auth-edge-nonce"],nonceHmac:n["spa-auth-edge-nonce-hmac"],pkce:n["spa-auth-edge-pkce"]}},t.generateCookies=function(e){const t=(0,i.decodeIdToken)(e.tokens.idToken),n=t["cognito:username"],r=`CognitoIdentityServiceProvider.${e.clientId}`,s=`${r}.${n}.idToken`,c=`${r}.${n}.accessToken`,u=`${r}.${n}.refreshToken`,p=`${r}.LastAuthUser`,l=`${r}.${n}.tokenScopesString`,d=e.oauthScopes.join(" "),f=`${r}.${n}.userData`,m=JSON.stringify({UserAttributes:[{Name:"sub",Value:t.sub},{Name:"email",Value:t.email}],Username:n}),h={[s]:`${e.tokens.idToken}; ${a(e.domainName,e.cookieSettings.idToken)}`,[c]:`${e.tokens.accessToken}; ${a(e.domainName,e.cookieSettings.accessToken)}`,[u]:`${e.tokens.refreshToken}; ${a(e.domainName,e.cookieSettings.refreshToken)}`,[p]:`${n}; ${a(e.domainName,e.cookieSettings.idToken)}`,[l]:`${d}; ${a(e.domainName,e.cookieSettings.accessToken)}`,[f]:`${encodeURIComponent(m)}; ${a(e.domainName,e.cookieSettings.idToken)}`,"amplify-signin-with-hostedUI":`true; ${a(e.domainName,e.cookieSettings.accessToken)}`};return"signOut"===e.event?Object.keys(h).forEach((e=>h[e]=o(h[e]))):"refreshFailed"===e.event&&(h[u]=o(h[u])),["spa-auth-edge-nonce","spa-auth-edge-nonce-hmac","spa-auth-edge-pkce"].forEach((e=>{h[e]=o(h[e])})),Object.entries(h).map((([e,t])=>`${e}=${t}`))}},2172:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeIdToken=t.validate=void 0;const i=n(4040),a=r(n(4601));let o;t.validate=async function(e,t,n,r){const s=(0,i.decode)(e,{complete:!0});if(!s||"string"==typeof s)return{validationError:new Error("Cannot parse JWT token")};const c=s.header.kid,u=await async function(e,t){o||(o=(0,a.default)({cache:!0,rateLimit:!0,jwksUri:e}));const n=await o.getSigningKey(t);return"rsaPublicKey"in n?n.rsaPublicKey:n.publicKey}(t,c);if(u instanceof Error)return{validationError:u};const p={audience:r,issuer:n,ignoreExpiration:!1};return new Promise((t=>(0,i.verify)(e,u,p,(e=>t(e?{validationError:e}:void 0)))))},t.decodeIdToken=function(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(Buffer.from(t,"base64").toString())}},4605:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=t.LogLevel=void 0,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"}(n=t.LogLevel||(t.LogLevel={})),t.Logger=class{constructor(e){this.logLevel=e}jsonify(e){return e.map((e=>{if("object"==typeof e)try{return JSON.stringify(e)}catch(t){return e}return e}))}info(...e){this.logLevel>=n.info&&console.log(...this.jsonify(e))}warn(...e){this.logLevel>=n.warn&&console.warn(...this.jsonify(e))}error(...e){this.logLevel>=n.error&&console.error(...this.jsonify(e))}debug(...e){this.logLevel>=n.debug&&console.trace(...this.jsonify(e))}}},3950:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNonceHmac=t.generateNonce=t.validateNonce=t.checkNonceAge=void 0;const r=n(6982);function i(e,t){const n=parseInt(e.slice(0,e.indexOf("T")));return isNaN(n)?{clientError:"Invalid nonce"}:o()-n>t?{clientError:`Nonce is too old (nonce is from ${new Date(1e3*n).toISOString()})`}:void 0}function a(e,t){return(0,r.createHmac)("sha256",t.nonceSigningSecret).update(e).digest("hex")}function o(){return Date.now()/1e3|0}t.checkNonceAge=i,t.validateNonce=function(e,t,n){const r=i(e,n.nonceMaxAge);if(r)return r;const o=a(e,n);return o!==t?{clientError:`Nonce signature mismatch! Expected ${o} but got ${t}`}:void 0},t.generateNonce=function(){const e=(0,r.randomBytes)(16).toString("hex");return`${o()}T${e}`},t.createNonceHmac=a},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")},9329:(e,t,n)=>{"use strict";const r=n(737),i=n(7016),a=n(6504),o=n(8611),s=n(5692),c=n(9023),u=n(3164),p=n(3106),l=n(2203),d=n(4434);function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const m=f(r),h=f(i),v=f(o),g=f(s),y=f(c),x=f(u),b=f(p),w=f(l);function _(e,t){return function(){return e.apply(t,arguments)}}const{toString:E}=Object.prototype,{getPrototypeOf:S}=Object,k=(j=Object.create(null),e=>{const t=E.call(e);return j[t]||(j[t]=t.slice(8,-1).toLowerCase())});var j;const A=e=>(e=e.toLowerCase(),t=>k(t)===e),O=e=>t=>typeof t===e,{isArray:T}=Array,P=O("undefined"),R=A("ArrayBuffer"),I=O("string"),C=O("function"),L=O("number"),J=e=>null!==e&&"object"==typeof e,N=e=>{if("object"!==k(e))return!1;const t=S(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},K=A("Date"),W=A("File"),$=A("Blob"),M=A("FileList"),H=A("URLSearchParams"),[U,D,B,F]=["ReadableStream","Request","Response","Headers"].map(A);function z(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),T(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function q(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,V=e=>!P(e)&&e!==G,X=(Y="undefined"!=typeof Uint8Array&&S(Uint8Array),e=>Y&&e instanceof Y);var Y;const Z=A("HTMLFormElement"),Q=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ee=A("RegExp"),te=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};z(n,((n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)})),Object.defineProperties(e,r)},ne="abcdefghijklmnopqrstuvwxyz",re="0123456789",ie={DIGIT:re,ALPHA:ne,ALPHA_DIGIT:ne+ne.toUpperCase()+re},ae=A("AsyncFunction"),oe=(se="function"==typeof setImmediate,ce=C(G.postMessage),se?setImmediate:ce?(ue=`axios@${Math.random()}`,pe=[],G.addEventListener("message",(({source:e,data:t})=>{e===G&&t===ue&&pe.length&&pe.shift()()}),!1),e=>{pe.push(e),G.postMessage(ue,"*")}):e=>setTimeout(e));var se,ce,ue,pe;const le="undefined"!=typeof queueMicrotask?queueMicrotask.bind(G):"undefined"!=typeof process&&process.nextTick||oe,de={isArray:T,isArrayBuffer:R,isBuffer:function(e){return null!==e&&!P(e)&&null!==e.constructor&&!P(e.constructor)&&C(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||C(e.append)&&("formdata"===(t=k(e))||"object"===t&&C(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&R(e.buffer),t},isString:I,isNumber:L,isBoolean:e=>!0===e||!1===e,isObject:J,isPlainObject:N,isReadableStream:U,isRequest:D,isResponse:B,isHeaders:F,isUndefined:P,isDate:K,isFile:W,isBlob:$,isRegExp:ee,isFunction:C,isStream:e=>J(e)&&C(e.pipe),isURLSearchParams:H,isTypedArray:X,isFileList:M,forEach:z,merge:function e(){const{caseless:t}=V(this)&&this||{},n={},r=(r,i)=>{const a=t&&q(n,i)||i;N(n[a])&&N(r)?n[a]=e(n[a],r):N(r)?n[a]=e({},r):T(r)?n[a]=r.slice():n[a]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&z(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(z(t,((t,r)=>{n&&C(t)?e[r]=_(t,n):e[r]=t}),{allOwnKeys:r}),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,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],r&&!r(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&S(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:A,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(T(e))return e;let t=e.length;if(!L(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Z,hasOwnProperty:Q,hasOwnProp:Q,reduceDescriptors:te,freezeMethods:e=>{te(e,((t,n)=>{if(C(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];C(r)&&(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={},r=e=>{e.forEach((e=>{n[e]=!0}))};return T(e)?r(e):r(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:q,global:G,isContextDefined:V,ALPHABET:ie,generateString:(e=16,t=ie.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&C(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(J(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=T(e)?[]:{};return z(e,((e,t)=>{const a=n(e,r+1);!P(a)&&(i[t]=a)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:ae,isThenable:e=>e&&(J(e)||C(e))&&C(e.then)&&C(e.catch),setImmediate:oe,asap:le};function fe(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}de.inherits(fe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const me=fe.prototype,he={};function ve(e){return de.isPlainObject(e)||de.isArray(e)}function ge(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function ye(e,t,n){return e?e.concat(t).map((function(e,t){return e=ge(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{he[e]={value:e}})),Object.defineProperties(fe,he),Object.defineProperty(me,"isAxiosError",{value:!0}),fe.from=(e,t,n,r,i,a)=>{const o=Object.create(me);return de.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),fe.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const xe=de.toFlatObject(de,{},null,(function(e){return/^is[A-Z]/.test(e)}));function be(e,t,n){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new(m.default||FormData);const r=(n=de.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!de.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(de.isDate(e))return e.toISOString();if(!s&&de.isBlob(e))throw new fe("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(e)||de.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(de.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(de.isArray(e)&&function(e){return de.isArray(e)&&!e.some(ve)}(e)||(de.isFileList(e)||de.endsWith(n,"[]"))&&(s=de.toArray(e)))return n=ge(n),s.forEach((function(e,r){!de.isUndefined(e)&&null!==e&&t.append(!0===o?ye([n],r,a):null===o?n:n+"[]",c(e))})),!1;return!!ve(e)||(t.append(ye(i,n,a),c(e)),!1)}const p=[],l=Object.assign(xe,{defaultVisitor:u,convertValue:c,isVisitable:ve});if(!de.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!de.isUndefined(n)){if(-1!==p.indexOf(n))throw Error("Circular reference detected in "+r.join("."));p.push(n),de.forEach(n,(function(n,a){!0===(!(de.isUndefined(n)||null===n)&&i.call(t,n,de.isString(a)?a.trim():a,r,l))&&e(n,r?r.concat(a):[a])})),p.pop()}}(e),t}function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function _e(e,t){this._pairs=[],e&&be(e,this,t)}const Ee=_e.prototype;function Se(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ke(e,t,n){if(!t)return e;const r=n&&n.encode||Se,i=n&&n.serialize;let a;if(a=i?i(t,n):de.isURLSearchParams(t)?t.toString():new _e(t,n).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Ee.append=function(e,t){this._pairs.push([e,t])},Ee.toString=function(e){const t=e?function(t){return e.call(this,t,we)}:we;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const je=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){de.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Ae={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Oe={isNode:!0,classes:{URLSearchParams:h.default.URLSearchParams,FormData:m.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},Te="undefined"!=typeof window&&"undefined"!=typeof document,Pe=(Re="undefined"!=typeof navigator&&navigator.product,Te&&["ReactNative","NativeScript","NS"].indexOf(Re)<0);var Re;const Ie="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ce=Te&&window.location.href||"http://localhost",Le={...Object.freeze({__proto__:null,hasBrowserEnv:Te,hasStandardBrowserWebWorkerEnv:Ie,hasStandardBrowserEnv:Pe,origin:Ce}),...Oe};function Je(e){function t(e,n,r,i){let a=e[i++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),s=i>=e.length;return a=!a&&de.isArray(r)?r.length:a,s?(de.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):(r[a]&&de.isObject(r[a])||(r[a]=[]),t(e,n,r[a],i)&&de.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}(r[a])),!o)}if(de.isFormData(e)&&de.isFunction(e.entries)){const n={};return de.forEachEntry(e,((e,r)=>{t(function(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Ne={transitional:Ae,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=de.isObject(e);if(i&&de.isHTMLForm(e)&&(e=new FormData(e)),de.isFormData(e))return r?JSON.stringify(Je(e)):e;if(de.isArrayBuffer(e)||de.isBuffer(e)||de.isStream(e)||de.isFile(e)||de.isBlob(e)||de.isReadableStream(e))return e;if(de.isArrayBufferView(e))return e.buffer;if(de.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return be(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Le.isNode&&de.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=de.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return be(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e){if(de.isString(e))try{return(0,JSON.parse)(e),de.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ne.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(de.isResponse(e)||de.isReadableStream(e))return e;if(e&&de.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw fe.from(e,fe.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:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],(e=>{Ne.headers[e]={}}));const Ke=Ne,We=de.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"]),$e=Symbol("internals");function Me(e){return e&&String(e).trim().toLowerCase()}function He(e){return!1===e||null==e?e:de.isArray(e)?e.map(He):String(e)}function Ue(e,t,n,r,i){return de.isFunction(r)?r.call(this,t,n):(i&&(t=n),de.isString(t)?de.isString(r)?-1!==t.indexOf(r):de.isRegExp(r)?r.test(t):void 0:void 0)}class De{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=Me(t);if(!i)throw new Error("header name must be a non-empty string");const a=de.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=He(e))}const a=(e,t)=>de.forEach(e,((e,n)=>i(e,n,t)));if(de.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(de.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&We[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(de.isHeaders(e))for(const[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=Me(e)){const n=de.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 r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(de.isFunction(t))return t.call(this,e,n);if(de.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Me(e)){const n=de.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ue(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=Me(e)){const i=de.findKey(n,e);!i||t&&!Ue(0,n[i],i,t)||(delete n[i],r=!0)}}return de.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Ue(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return de.forEach(this,((r,i)=>{const a=de.findKey(n,i);if(a)return t[a]=He(r),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]=He(r),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return de.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&de.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")}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[$e]=this[$e]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Me(e);t[r]||(function(e,t){const n=de.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return de.isArray(e)?e.forEach(r):r(e),this}}De.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),de.reduceDescriptors(De.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),de.freezeMethods(De);const Be=De;function Fe(e,t){const n=this||Ke,r=t||n,i=Be.from(r.headers);let a=r.data;return de.forEach(e,(function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function ze(e){return!(!e||!e.__CANCEL__)}function qe(e,t,n){fe.call(this,null==e?"canceled":e,fe.ERR_CANCELED,t,n),this.name="CanceledError"}function Ge(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new fe("Request failed with status code "+n.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Ve(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}de.inherits(qe,fe,{__CANCEL__:!0});const Xe="1.7.4";function Ye(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ze=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/,Qe=Symbol("internals");class et extends w.default.Transform{constructor(e){super({readableHighWaterMark:(e=de.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!de.isUndefined(t[e])))).chunkSize});const t=this[Qe]={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[Qe];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this[Qe],i=r.maxRate,a=this.readableHighWaterMark,o=r.timeWindow,s=i/(1e3/o),c=!1!==r.minChunkSize?Math.max(r.minChunkSize,.01*s):0,u=(e,t)=>{const n=Buffer.byteLength(e);r.bytesSeen+=n,r.bytes+=n,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(e)?process.nextTick(t):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(t)}},p=(e,t)=>{const n=Buffer.byteLength(e);let p,l=null,d=a,f=0;if(i){const e=Date.now();(!r.ts||(f=e-r.ts)>=o)&&(r.ts=e,p=s-r.bytes,r.bytes=p<0?-p:0,f=0),p=s-r.bytes}if(i){if(p<=0)return setTimeout((()=>{t(null,e)}),o-f);p<d&&(d=p)}d&&n>d&&n-d>c&&(l=e.subarray(d),e=e.subarray(0,d)),u(e,l?()=>{process.nextTick(t,null,l)}:t)};p(e,(function e(t,r){if(t)return n(t);r?p(r,e):n(null)}))}}const tt=et,{asyncIterator:nt}=Symbol,rt=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[nt]?yield*e[nt]():yield e},it=de.ALPHABET.ALPHA_DIGIT+"-_",at=new c.TextEncoder,ot="\r\n",st=at.encode(ot);class ct{constructor(e,t){const{escapeName:n}=this.constructor,r=de.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${ot}`;r?t=at.encode(String(t).replace(/\r?\n|\r\n?/g,ot)):i+=`Content-Type: ${t.type||"application/octet-stream"}${ot}`,this.headers=at.encode(i+ot),this.contentLength=r?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;de.isTypedArray(e)?yield e:yield*rt(e),yield st}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ut extends w.default.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=ut,lt=(e,t)=>de.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e,dt=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,a=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[o];i||(i=c),n[a]=s,r[a]=c;let p=o,l=0;for(;p!==a;)l+=n[p++],p%=e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-i<t)return;const d=u&&c-u;return d?Math.round(1e3*l/d):void 0}}(50,250);return function(e,t){let n,r,i=0,a=1e3/t;const o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout((()=>{r=null,o(n)}),a-s)))},()=>n&&o(n)]}((n=>{const a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,c=i(s);r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&a<=o?(o-a)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},ft=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},mt=e=>(...t)=>de.asap((()=>e(...t))),ht={flush:b.default.constants.Z_SYNC_FLUSH,finishFlush:b.default.constants.Z_SYNC_FLUSH},vt={flush:b.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:b.default.constants.BROTLI_OPERATION_FLUSH},gt=de.isFunction(b.default.createBrotliDecompress),{http:yt,https:xt}=x.default,bt=/https:?/,wt=Le.protocols.map((e=>e+":")),_t=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Et(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function St(e,t,n){let r=t;if(!r&&!1!==r){const e=a.getProxyForUrl(n);e&&(r=new URL(e))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||"")+":"+(r.auth.password||""));const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){St(e,t,e.href)}}const kt="undefined"!=typeof process&&"process"===de.kindOf(process),jt=(e,t)=>(({address:e,family:t})=>{if(!de.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(de.isObject(e)?e:{address:e,family:t}),At=kt&&function(e){return t=async function(t,n,r){let{data:i,lookup:a,family:o}=e;const{responseType:s,responseEncoding:c}=e,u=e.method.toUpperCase();let p,f,m=!1;if(a){const e=lt(a,(e=>de.isArray(e)?e:[e]));a=(t,n,r)=>{e(t,n,((e,t,i)=>{if(e)return r(e);const a=de.isArray(t)?t.map((e=>jt(e))):[jt(t,i)];n.all?r(e,a):r(e,a[0].address,a[0].family)}))}}const h=new d.EventEmitter,x=()=>{e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_),h.removeAllListeners()};function _(t){h.emit("abort",!t||t.type?new qe(null,e,f):t)}r(((e,t)=>{p=!0,t&&(m=!0,x())})),h.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_)));const E=Ve(e.baseURL,e.url),S=new URL(E,de.hasBrowserEnv?Le.origin:void 0),k=S.protocol||wt[0];if("data:"===k){let r;if("GET"!==u)return Ge(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){const r=n&&n.Blob||Le.classes.Blob,i=Ye(e);if(void 0===t&&r&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=Ze.exec(e);if(!n)throw new fe("Invalid URL",fe.ERR_INVALID_URL);const a=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!r)throw new fe("Blob is not supported",fe.ERR_NOT_SUPPORT);return new r([c],{type:a})}return c}throw new fe("Unsupported protocol "+i,fe.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw fe.from(t,fe.ERR_BAD_REQUEST,e)}return"text"===s?(r=r.toString(c),c&&"utf8"!==c||(r=de.stripBOM(r))):"stream"===s&&(r=w.default.Readable.from(r)),Ge(t,n,{data:r,status:200,statusText:"OK",headers:new Be,config:e})}if(-1===wt.indexOf(k))return n(new fe("Unsupported protocol "+k,fe.ERR_BAD_REQUEST,e));const j=Be.from(e.headers).normalize();j.set("User-Agent","axios/"+Xe,!1);const{onUploadProgress:A,onDownloadProgress:O}=e,T=e.maxRate;let P,R;if(de.isSpecCompliantForm(i)){const e=j.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:r="form-data-boundary",size:i=25,boundary:a=r+"-"+de.generateString(i,it)}=n||{};if(!de.isFormData(e))throw TypeError("FormData instance required");if(a.length<1||a.length>70)throw Error("boundary must be 10-70 characters long");const o=at.encode("--"+a+ot),s=at.encode("--"+a+"--"+ot+ot);let c=s.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new ct(e,t);return c+=n.size,n}));c+=o.byteLength*u.length,c=de.toFiniteNumber(c);const p={"Content-Type":`multipart/form-data; boundary=${a}`};return Number.isFinite(c)&&(p["Content-Length"]=c),t&&t(p),l.Readable.from(async function*(){for(const e of u)yield o,yield*e.encode();yield s}())})(i,(e=>{j.set(e)}),{tag:`axios-${Xe}-boundary`,boundary:e&&e[1]||void 0})}else if(de.isFormData(i)&&de.isFunction(i.getHeaders)){if(j.set(i.getHeaders()),!j.hasContentLength())try{const e=await y.default.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&j.setContentLength(e)}catch(e){}}else if(de.isBlob(i))i.size&&j.setContentType(i.type||"application/octet-stream"),j.setContentLength(i.size||0),i=w.default.Readable.from(rt(i));else if(i&&!de.isStream(i)){if(Buffer.isBuffer(i));else if(de.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!de.isString(i))return n(new fe("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",fe.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(j.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new fe("Request body larger than maxBodyLength limit",fe.ERR_BAD_REQUEST,e))}const I=de.toFiniteNumber(j.getContentLength());let C,L;de.isArray(T)?(P=T[0],R=T[1]):P=R=T,i&&(A||P)&&(de.isStream(i)||(i=w.default.Readable.from(i,{objectMode:!1})),i=w.default.pipeline([i,new tt({maxRate:de.toFiniteNumber(P)})],de.noop),A&&i.on("progress",_t(i,ft(I,dt(mt(A),!1,3))))),e.auth&&(C=(e.auth.username||"")+":"+(e.auth.password||"")),!C&&S.username&&(C=S.username+":"+S.password),C&&j.delete("authorization");try{L=ke(S.pathname+S.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}j.set("Accept-Encoding","gzip, compress, deflate"+(gt?", br":""),!1);const J={path:L,method:u,headers:j.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:C,protocol:k,family:o,beforeRedirect:Et,beforeRedirects:{}};let N;!de.isUndefined(a)&&(J.lookup=a),e.socketPath?J.socketPath=e.socketPath:(J.hostname=S.hostname,J.port=S.port,St(J,e.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+J.path));const K=bt.test(J.protocol);if(J.agent=K?e.httpsAgent:e.httpAgent,e.transport?N=e.transport:0===e.maxRedirects?N=K?g.default:v.default:(e.maxRedirects&&(J.maxRedirects=e.maxRedirects),e.beforeRedirect&&(J.beforeRedirects.config=e.beforeRedirect),N=K?xt:yt),e.maxBodyLength>-1?J.maxBodyLength=e.maxBodyLength:J.maxBodyLength=1/0,e.insecureHTTPParser&&(J.insecureHTTPParser=e.insecureHTTPParser),f=N.request(J,(function(r){if(f.destroyed)return;const i=[r],a=+r.headers["content-length"];if(O||R){const e=new tt({maxRate:de.toFiniteNumber(R)});O&&e.on("progress",_t(e,ft(a,dt(mt(O),!0,3)))),i.push(e)}let o=r;const p=r.req||f;if(!1!==e.decompress&&r.headers["content-encoding"])switch("HEAD"!==u&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(b.default.createUnzip(ht)),delete r.headers["content-encoding"];break;case"deflate":i.push(new pt),i.push(b.default.createUnzip(ht)),delete r.headers["content-encoding"];break;case"br":gt&&(i.push(b.default.createBrotliDecompress(vt)),delete r.headers["content-encoding"])}o=i.length>1?w.default.pipeline(i,de.noop):i[0];const l=w.default.finished(o,(()=>{l(),x()})),d={status:r.statusCode,statusText:r.statusMessage,headers:new Be(r.headers),config:e,request:p};if("stream"===s)d.data=o,Ge(t,n,d);else{const r=[];let i=0;o.on("data",(function(t){r.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(m=!0,o.destroy(),n(new fe("maxContentLength size of "+e.maxContentLength+" exceeded",fe.ERR_BAD_RESPONSE,e,p)))})),o.on("aborted",(function(){if(m)return;const t=new fe("maxContentLength size of "+e.maxContentLength+" exceeded",fe.ERR_BAD_RESPONSE,e,p);o.destroy(t),n(t)})),o.on("error",(function(t){f.destroyed||n(fe.from(t,null,e,p))})),o.on("end",(function(){try{let e=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=de.stripBOM(e))),d.data=e}catch(t){return n(fe.from(t,null,e,d.request,d))}Ge(t,n,d)}))}h.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),h.once("abort",(e=>{n(e),f.destroy(e)})),f.on("error",(function(t){n(fe.from(t,null,e,f))})),f.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new fe("error trying to parse `config.timeout` to int",fe.ERR_BAD_OPTION_VALUE,e,f));f.setTimeout(t,(function(){if(p)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Ae;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new fe(t,r.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,f)),_()}))}if(de.isStream(i)){let t=!1,n=!1;i.on("end",(()=>{t=!0})),i.once("error",(e=>{n=!0,f.destroy(e)})),i.on("close",(()=>{t||n||_(new qe("Request stream has been aborted",e,f))})),i.pipe(f)}else f.end(i)},new Promise(((e,n)=>{let r,i;const a=(e,t)=>{i||(i=!0,r&&r(e,t))},o=e=>{a(e,!0),n(e)};t((t=>{a(t),e(t)}),o,(e=>r=e)).catch(o)}));var t},Ot=Le.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=de.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},Tt=Le.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];de.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),de.isString(r)&&o.push("path="+r),de.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},Pt=e=>e instanceof Be?{...e}:e;function Rt(e,t){t=t||{};const n={};function r(e,t,n){return de.isPlainObject(e)&&de.isPlainObject(t)?de.merge.call({caseless:n},e,t):de.isPlainObject(t)?de.merge({},t):de.isArray(t)?t.slice():t}function i(e,t,n){return de.isUndefined(t)?de.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function a(e,t){if(!de.isUndefined(t))return r(void 0,t)}function o(e,t){return de.isUndefined(t)?de.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}const c={url:a,method:a,data:a,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)=>i(Pt(e),Pt(t),!0)};return de.forEach(Object.keys(Object.assign({},e,t)),(function(r){const a=c[r]||i,o=a(e[r],t[r],r);de.isUndefined(o)&&a!==s||(n[r]=o)})),n}const It=e=>{const t=Rt({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:o,headers:s,auth:c}=t;if(t.headers=s=Be.from(s),t.url=ke(Ve(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),de.isFormData(r))if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Le.hasStandardBrowserEnv&&(i&&de.isFunction(i)&&(i=i(t)),i||!1!==i&&Ot(t.url))){const e=a&&o&&Tt.read(o);e&&s.set(a,e)}return t},Ct="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=It(e);let i=r.data;const a=Be.from(r.headers).normalize();let o,s,c,u,p,{responseType:l,onUploadProgress:d,onDownloadProgress:f}=r;function m(){u&&u(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let h=new XMLHttpRequest;function v(){if(!h)return;const r=Be.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Ge((function(e){t(e),m()}),(function(e){n(e),m()}),{data:l&&"text"!==l&&"json"!==l?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.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 fe("Request aborted",fe.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new fe("Network Error",fe.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Ae;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new fe(t,i.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,h)),h=null},void 0===i&&a.setContentType(null),"setRequestHeader"in h&&de.forEach(a.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),de.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),l&&"json"!==l&&(h.responseType=r.responseType),f&&([c,p]=dt(f,!0),h.addEventListener("progress",c)),d&&h.upload&&([s,u]=dt(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(o=t=>{h&&(n(!t||t.type?new qe(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const g=Ye(r.url);g&&-1===Le.protocols.indexOf(g)?n(new fe("Unsupported protocol "+g+":",fe.ERR_BAD_REQUEST,e)):h.send(i||null)}))},Lt=(e,t)=>{let n,r=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;r.abort(t instanceof fe?t:new qe(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{i(new fe(`timeout ${t} of ms exceeded`,fe.ETIMEDOUT))}),t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=o,[s,()=>{a&&clearTimeout(a),a=null}]},Jt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Nt=(e,t,n,r,i)=>{const a=async function*(e,t,n){for await(const r of e)yield*Jt(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,i);let o,s=0,c=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await a.next();if(t)return c(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw c(e),e}},cancel:e=>(c(e),a.return())},{highWaterMark:2})},Kt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Wt=Kt&&"function"==typeof ReadableStream,$t=Kt&&("function"==typeof TextEncoder?(Mt=new TextEncoder,e=>Mt.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Mt;const Ht=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ut=Wt&&Ht((()=>{let e=!1;const t=new Request(Le.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Dt=Wt&&Ht((()=>de.isReadableStream(new Response("").body))),Bt={stream:Dt&&(e=>e.body)};var Ft;Kt&&(Ft=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Bt[e]&&(Bt[e]=de.isFunction(Ft[e])?t=>t[e]():(t,n)=>{throw new fe(`Response type '${e}' is not supported`,fe.ERR_NOT_SUPPORT,n)})})));const zt=Kt&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:p,withCredentials:l="same-origin",fetchOptions:d}=It(e);u=u?(u+"").toLowerCase():"text";let f,m,[h,v]=i||a||o?Lt([i,a],o):[];const g=()=>{!f&&setTimeout((()=>{h&&h.unsubscribe()})),f=!0};let y;try{if(c&&Ut&&"get"!==n&&"head"!==n&&0!==(y=await(async(e,t)=>{const n=de.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:de.isBlob(e)?e.size:de.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:de.isArrayBufferView(e)||de.isArrayBuffer(e)?e.byteLength:(de.isURLSearchParams(e)&&(e+=""),de.isString(e)?(await $t(e)).byteLength:void 0))(t):n})(p,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(de.isFormData(r)&&(e=n.headers.get("content-type"))&&p.setContentType(e),n.body){const[e,t]=ft(y,dt(mt(c)));r=Nt(n.body,65536,e,t,$t)}}de.isString(l)||(l=l?"include":"omit"),m=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:p.normalize().toJSON(),body:r,duplex:"half",credentials:l});let i=await fetch(m);const a=Dt&&("stream"===u||"response"===u);if(Dt&&(s||a)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=de.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&ft(t,dt(mt(s),!0))||[];i=new Response(Nt(i.body,65536,n,(()=>{r&&r(),a&&g()}),$t),e)}u=u||"text";let o=await Bt[de.findKey(Bt,u)||"text"](i,e);return!a&&g(),v&&v(),await new Promise(((t,n)=>{Ge(t,n,{data:o,headers:Be.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:m})}))}catch(t){if(g(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new fe("Network Error",fe.ERR_NETWORK,e,m),{cause:t.cause||t});throw fe.from(t,t&&t.code,e,m)}}),qt={http:At,xhr:Ct,fetch:zt};de.forEach(qt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Gt=e=>`- ${e}`,Vt=e=>de.isFunction(e)||null===e||!1===e,Xt=e=>{e=de.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){let t;if(n=e[a],r=n,!Vt(n)&&(r=qt[(t=String(n)).toLowerCase()],void 0===r))throw new fe(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+a]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new fe("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Gt).join("\n"):" "+Gt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Yt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qe(null,e)}function Zt(e){return Yt(e),e.headers=Be.from(e.headers),e.data=Fe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xt(e.adapter||Ke.adapter)(e).then((function(t){return Yt(e),t.data=Fe.call(e,e.transformResponse,t),t.headers=Be.from(t.headers),t}),(function(t){return ze(t)||(Yt(e),t&&t.response&&(t.response.data=Fe.call(e,e.transformResponse,t.response),t.response.headers=Be.from(t.response.headers))),Promise.reject(t)}))}const Qt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Qt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const en={};Qt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.4] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new fe(r(i," has been removed"+(t?" in "+t:"")),fe.ERR_DEPRECATED);return t&&!en[i]&&(en[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};const tn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new fe("option "+a+" must be "+n,fe.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new fe("Unknown option "+a,fe.ERR_BAD_OPTION)}},validators:Qt},nn=tn.validators;class rn{constructor(e){this.defaults=e,this.interceptors={request:new je,response:new je}}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=Rt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&tn.assertOptions(n,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),null!=r&&(de.isFunction(r)?t.paramsSerializer={serialize:r}:tn.assertOptions(r,{encode:nn.function,serialize:nn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&de.merge(i.common,i[t.method]);i&&de.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Be.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let p,l=0;if(!s){const e=[Zt.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),p=e.length,u=Promise.resolve(t);l<p;)u=u.then(e[l++],e[l++]);return u}p=o.length;let d=t;for(l=0;l<p;){const e=o[l++],t=o[l++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=Zt.call(this,d)}catch(e){return Promise.reject(e)}for(l=0,p=c.length;l<p;)u=u.then(c[l++],c[l++]);return u}getUri(e){return ke(Ve((e=Rt(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}de.forEach(["delete","get","head","options"],(function(e){rn.prototype[e]=function(t,n){return this.request(Rt(n||{},{method:e,url:t,data:(n||{}).data}))}})),de.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Rt(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}rn.prototype[e]=t(),rn.prototype[e+"Form"]=t(!0)}));const an=rn;class on{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 r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new qe(e,r,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)}static source(){let e;return{token:new on((function(t){e=t})),cancel:e}}}const sn=on,cn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(cn).forEach((([e,t])=>{cn[t]=e}));const un=cn,pn=function e(t){const n=new an(t),r=_(an.prototype.request,n);return de.extend(r,an.prototype,n,{allOwnKeys:!0}),de.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Rt(t,n))},r}(Ke);pn.Axios=an,pn.CanceledError=qe,pn.CancelToken=sn,pn.isCancel=ze,pn.VERSION=Xe,pn.toFormData=be,pn.AxiosError=fe,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 de.isObject(e)&&!0===e.isAxiosError},pn.mergeConfig=Rt,pn.AxiosHeaders=Be,pn.formToJSON=e=>Je(de.isHTMLForm(e)?new FormData(e):e),pn.getAdapter=Xt,pn.HttpStatusCode=un,pn.default=pn,e.exports=pn},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(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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 r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.handler=void 0;const t=n(3027),i=n(2086),a=n(357),o=n(7918),s=n(2172),c=n(3950);async function u({error:e,errorType:t,config:n,idToken:r,redirectedFromUri:i}){if("client"===t?n.logger.warn(e):n.logger.error(e),r){n.logger.debug("ID token found, will check if it is valid"),n.logger.info("Validating JWT ...");const e=await(0,s.validate)(r,n.tokenJwksUri,n.tokenIssuer,n.clientId);return void 0!==e&&n.logger.debug("ID token not valid:",e.validationError),n.logger.info("JWT is valid"),(0,a.redirectTo)(i)}return(0,a.staticPage)({title:"Sign-in issue",message:"We can't sign you in because of a technical problem",details:"client"===t?e:"Contact administrator",linkHref:i,linkText:"Retry",statusCode:"503"})}e.handler=(0,a.createRequestHandler)((async(e,n)=>{const r=n.Records[0].cf.request,s=r.headers.host[0].value;let p,l=`https://${s}`;const d=(0,o.extractAndParseCookies)(r.headers,e.clientId);p=d.idToken;const f=function(e){const{code:t,state:n,error:r,error_description:a}=Object.fromEntries(new URLSearchParams(e.querystring).entries());if(r)return{clientError:`[Cognito] ${r}: ${a}`};if(!t||!n||"string"!=typeof t||"string"!=typeof n)return{clientError:['Invalid query string. Your query string does not include parameters "state" and "code".',"This can happen if your authentication attempt did not originate from this site."].join(" ")};let o;try{o=JSON.parse((0,i.decodeSafeBase64)(n))}catch(e){return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'}}if(!o.requestedUri||!o.nonce)return{clientError:'Invalid query string. Your query string does not include a valid "state" parameter'};const{nonce:s,pkce:u,nonceHmac:p}=e.cookies;if(!s)return{clientError:"Your browser didn't send the nonce cookie along, but it is required for security (prevent CSRF)."};if(!u)return{clientError:"Your browser didn't send the pkce cookie along, but it is required for security (prevent CSRF)."};if(o.nonce!==s)return{clientError:"Nonce mismatch. This can happen if you start multiple authentication attempts in parallel (e.g. in separate tabs)"};const l=(0,c.validateNonce)(o.nonce,null!=p?p:"UNKNOWN",e.config);return l||{code:t,pkce:u,requestedUri:o.requestedUri||""}}({config:e,querystring:r.querystring,cookies:d});if("clientError"in f)return u({error:f.clientError,errorType:"client",config:e,redirectedFromUri:l,idToken:p});if("technicalError"in f)return u({error:f.technicalError,errorType:"server",config:e,redirectedFromUri:l,idToken:p});const{code:m,pkce:h,requestedUri:v}=f;e.logger.debug("Query string and cookies are valid"),l+=v;const g=await async function({config:e,domainName:n,code:r,pkce:i}){const a=`https://${e.cognitoAuthDomain}/oauth2/token`,o=new URLSearchParams({grant_type:"authorization_code",client_id:e.clientId,redirect_uri:`https://${n}${e.callbackPath}`,code:r,code_verifier:i}).toString(),s={headers:{"Content-Type":"application/x-www-form-urlencoded"}};if(e.clientSecret){const t=Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64");s.headers.Authorization=`Basic ${t}`}let c;e.logger.debug("HTTP POST to Cognito token endpoint:",{uri:a,body:o,requestConfig:s});try{c=await(0,t.httpPostWithRetry)(a,o,s,e.logger)}catch(e){return{error:`Failed to exchange authorization code for tokens: ${e}`}}const{status:u,headers:p,data:l}=c;return e.logger.info("Successfully exchanged authorization code for tokens"),e.logger.debug("Response from Cognito token endpoint:",{status:u,headers:p,tokens:l}),{idToken:l.id_token,accessToken:l.access_token,refreshToken:l.refresh_token}}({config:e,domainName:s,code:m,pkce:h});return"error"in g?u({error:g.error,errorType:"server",config:e,redirectedFromUri:l,idToken:p}):(0,a.redirectTo)(l,{cookies:(0,o.generateCookies)({event:"newTokens",tokens:g,domainName:s,...e})})}))})();var i=exports;for(var a in r)i[a]=r[a];r.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|