contentful-management 11.47.2 → 11.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful-management.browser.js +28 -2
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +28 -2
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/common-types.js +7 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-environment-api.js +11 -1
- package/dist/es-modules/entities/app-action.js +9 -0
- package/dist/typings/common-types.d.ts +17 -1
- package/dist/typings/create-environment-api.d.ts +13 -3
- package/dist/typings/create-organization-api.d.ts +264 -6
- package/dist/typings/entities/app-action.d.ts +59 -14
- package/dist/typings/plain/entities/app-action.d.ts +46 -0
- package/dist/typings/plain/entities/function-log.d.ts +14 -2
- package/package.json +7 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see contentful-management.node.min.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e={8909:(e,t,n)=>{e.exports={parallel:n(5946),serial:n(6893),serialOrdered:n(8424)}},9407: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={}}},7797:(e,t,n)=>{var a=n(4457);e.exports=function(e){var t=!1;return a((function(){t=!0})),function(n,i){t?e(n,i):a((function(){e(n,i)}))}}},4457: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)}},4407:(e,t,n)=>{var a=n(7797),i=n(9407);e.exports=function(e,t,n,o){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=function(e,t,n,i){return 2==e.length?e(n,a(i)):e(n,t,a(i))}(t,r,e[r],(function(e,t){r in n.jobs&&(delete n.jobs[r],e?i(n):n.results[r]=t,o(e,n.results))}))}},264:e=>{e.exports=function(e,t){var n=!Array.isArray(e),a={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&a.keyedList.sort(n?t:function(n,a){return t(e[n],e[a])}),a}},9712:(e,t,n)=>{var a=n(9407),i=n(7797);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,a(this),i(e)(null,this.results))}},5946:(e,t,n)=>{var a=n(4407),i=n(264),o=n(9712);e.exports=function(e,t,n){for(var r=i(e);r.index<(r.keyedList||e).length;)a(e,t,r,(function(e,t){e?n(e,t):0!==Object.keys(r.jobs).length||n(null,r.results)})),r.index++;return o.bind(r,n)}},6893:(e,t,n)=>{var a=n(8424);e.exports=function(e,t,n){return a(e,t,null,n)}},8424:(e,t,n)=>{var a=n(4407),i=n(264),o=n(9712);function r(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,r){var s=i(e,n);return a(e,t,s,(function n(i,o){i?r(i,o):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):r(null,s.results))})),o.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},3836:(e,t,n)=>{"use strict";var a=n(4499),i=n(6678),o=n(376),r=n(9707);e.exports=r||a.call(o,i)},6678:e=>{"use strict";e.exports=Function.prototype.apply},376:e=>{"use strict";e.exports=Function.prototype.call},946:(e,t,n)=>{"use strict";var a=n(4499),i=n(1711),o=n(376),r=n(3836);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return r(a,o,e)}},9707:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},3232:(e,t,n)=>{"use strict";var a=n(8897),i=n(946),o=i([a("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=a(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i([n]):n}},5645:(e,t,n)=>{var a=n(9023),i=n(2203).Stream,o=n(4145);function r(){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=r,a.inherits(r,i),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof o)){var t=o.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},r.prototype.pipe=function(e,t){return i.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},7989:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let a=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(i=a))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1236)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,r=null;function s(...e){if(!s.enabled)return;const a=s,i=Number(new Date),o=i-(n||i);a.diff=o,a.prev=n,a.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";r++;const o=t.formatters[i];if("function"==typeof o){const t=e[r];n=o.call(a,t),e.splice(r,1),r--}return n})),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=a,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function i(e,t){let n=0,a=0,i=-1,o=0;for(;n<e.length;)if(a<t.length&&(t[a]===e[n]||"*"===t[a]))"*"===t[a]?(i=a,o=n,a++):(n++,a++);else{if(-1===i)return!1;a=i+1,o++,n=o}for(;a<t.length&&"*"===t[a];)a++;return a===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(6301),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}},9221:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7989):e.exports=n(6221)},6221:(e,t,n)=>{const a=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let a=0;a<n.length;a++)e.inspectOpts[n[a]]=t.inspectOpts[n[a]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:a,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),o=` ${i};1m${a} [0m`;n[0]=o+n[0].split("\n").join("\n"+o),n.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+a+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):a.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(459);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let a=process.env[t];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[n]=a,e}),{}),e.exports=n(1236)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},4145:(e,t,n)=>{var a=n(2203).Stream,i=n(9023);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,i.inherits(o,a),o.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=a.prototype.pipe.apply(this,arguments);return this.resume(),e},o.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))},o.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))}}},1724:(e,t,n)=>{"use strict";var a,i=n(946),o=n(1399);try{a=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var r=!!a&&o&&o(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=r&&"function"==typeof r.get?i([r.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},7539:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},3841:e=>{"use strict";e.exports=EvalError},219:e=>{"use strict";e.exports=Error},6190:e=>{"use strict";e.exports=RangeError},3950:e=>{"use strict";e.exports=ReferenceError},6296:e=>{"use strict";e.exports=SyntaxError},1711:e=>{"use strict";e.exports=TypeError},3221:e=>{"use strict";e.exports=URIError},7960:e=>{"use strict";e.exports=Object},1615:(e,t,n)=>{var a;e.exports=function(){if(!a){try{a=n(9221)("follow-redirects")}catch(e){}"function"!=typeof a&&(a=function(){})}a.apply(null,arguments)}},3520:(e,t,n)=>{var a,i,o,r=n(7016),s=r.URL,c=n(8611),p=n(5692),l=n(2203).Writable,u=n(2613),d=n(1615);a="undefined"!=typeof process,i="undefined"!=typeof window&&"undefined"!=typeof document,o=D(Error.captureStackTrace),a||!i&&o||console.warn("The follow-redirects package should be excluded from browser builds.");var m=!1;try{u(new s(""))}catch(e){m="ERR_INVALID_URL"===e.code}var f=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],y=["abort","aborted","connect","error","socket","timeout"],v=Object.create(null);y.forEach((function(e){v[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var b=k("ERR_INVALID_URL","Invalid URL",TypeError),h=k("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h),x=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w=k("ERR_STREAM_WRITE_AFTER_END","write after end"),O=l.prototype.destroy||P;function j(e,t){l.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof h?e:new h({cause:e}))}},this._performRequest()}function I(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var i=a+":",o=n[i]=e[a],r=t[a]=Object.create(o);Object.defineProperties(r,{request:{value:function(e,a,o){return s&&e instanceof s?e=A(e):_(e)?e=A(T(e)):(o=a,a=S(e),e={protocol:i}),D(a)&&(o=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,_(a.host)||_(a.hostname)||(a.hostname="::1"),u.equal(a.protocol,i,"protocol mismatch"),d("options",a),new j(a,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=r.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function P(){}function T(e){var t;if(m)t=new s(e);else if(!_((t=S(r.parse(e))).protocol))throw new b({input:e});return t}function S(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new b({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new b({input:e.href||e});return e}function A(e,t){var n=t||{};for(var a of f)n[a]=e[a];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function E(e,t){var n;for(var a in t)e.test(a)&&(n=t[a],delete t[a]);return null==n?void 0:String(n).trim()}function k(e,t,n){function a(n){D(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return a.prototype=new(n||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),a}function C(e,t){for(var n of y)e.removeListener(n,v[n]);e.on("error",P),e.destroy(t)}function _(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}j.prototype=Object.create(l.prototype),j.prototype.abort=function(){C(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},j.prototype.destroy=function(e){return C(this._currentRequest,e),O.call(this,e),this},j.prototype.write=function(e,t,n){if(this._ending)throw new w;if(!(_(e)||"object"==typeof(a=e)&&"length"in a))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;D(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 x),this.abort()):n&&n()},j.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var a=this,i=this._currentRequest;this.write(e,t,(function(){a._ended=!0,i.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},j.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},j.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},j.prototype.setTimeout=function(e,t){var n=this;function a(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),o()}),e),a(t)}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),n.removeListener("close",o),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",a),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){j.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(j.prototype,e,{get:function(){return this._currentRequest[e]}})})),j.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))}},j.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(a._redirectable=this,y))a.on(i,v[i]);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(a===s._currentRequest)if(t)s.emit("error",t);else if(o<c.length){var n=c[o++];a.finished||a.write(n.data,n.encoding,e)}else s._ended&&a.end()}()}},j.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(C(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var i=this._options.beforeRedirect;i&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var o=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=[],E(/^content-/i,this._options.headers));var c,p,l=E(/^host$/i,this._options.headers),f=T(this._currentUrl),y=l||f.host,v=/^\w+:/.test(a)?this._currentUrl:r.format(Object.assign(f,{host:y})),b=(c=a,p=v,m?new s(c,p):T(r.resolve(p,c)));if(d("redirecting to",b.href),this._isRedirect=!0,A(b,this._options),(b.protocol!==f.protocol&&"https:"!==b.protocol||b.host!==y&&!function(e,t){u(_(e)&&_(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(b.host,y))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),D(i)){var h={headers:e.headers,statusCode:t},x={url:v,method:o,headers:n};i(this._options,h,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=I({http:c,https:p}),e.exports.wrap=I},2925:(e,t,n)=>{var a=n(5645),i=n(9023),o=n(6928),r=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(9613),d=n(8909),m=n(6686);function f(e){if(!(this instanceof f))return new f(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],a.call(this),e=e||{})this[t]=e[t]}e.exports=f,i.inherits(f,a),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=a.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),r=this._multiPartFooter();i(o),i(t),i(r),this._trackLength(o,t,n)}},f.prototype._trackLength=function(e,t,n){var a=0;null!=n.knownLength?a+=+n.knownLength:Buffer.isBuffer(t)?a=t.length:"string"==typeof t&&(a=Buffer.byteLength(t)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},f.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)):p.stat(e.path,(function(n,a){var i;n?t(n):(i=a.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")},f.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var a,i=this._getContentDisposition(t,n),o=this._getContentType(t,n),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(o||[])};for(var c in"object"==typeof n.header&&m(s,n.header),s)s.hasOwnProperty(c)&&null!=(a=s[c])&&(Array.isArray(a)||(a=[a]),a.length&&(r+=c+": "+a.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+r+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var n,a;return"string"==typeof t.filepath?n=o.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=o.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=o.basename(e.client._httpMessage.path||"")),n&&(a='filename="'+n+'"'),a},f.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=u.lookup(e.name)),!n&&e.path&&(n=u.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=u.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=f.DEFAULT_CONTENT_TYPE),n},f.prototype._multiPartFooter=function(){return function(e){var t=f.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},f.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+f.LINE_BREAK},f.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},f.prototype.setBoundary=function(e){this._boundary=e},f.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},f.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,a=this._streams.length;n<a;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(f.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},f.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},f.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},f.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},f.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,a){n?e(n):(a.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},f.prototype.submit=function(e,t){var n,a,i={method:"post"};return"string"==typeof e?(e=c(e),a=m({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(a=m(e,i)).port||(a.port="https:"==a.protocol?443:80),a.headers=this.getHeaders(e.headers),n="https:"==a.protocol?s.request(a):r.request(a),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&n.setHeader("Content-Length",a),this.pipe(n),t){var i,o=function(e,a){return n.removeListener("error",o),n.removeListener("response",i),t.call(this,e,a)};i=o.bind(this,null),n.on("error",o),n.on("response",i)}}.bind(this)),n},f.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},f.prototype.toString=function(){return"[object FormData]"}},6686:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},5845:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,a=function(e,t){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,r=function(e){for(var t=[],n=1,a=0;n<e.length;n+=1,a+=1)t[a]=e[n];return t}(arguments),s=n(0,i.length-r.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(o=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,a(r,arguments));return Object(t)===t?t:this}return i.apply(e,a(r,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},4499:(e,t,n)=>{"use strict";var a=n(5845);e.exports=Function.prototype.bind||a},8897:(e,t,n)=>{"use strict";var a,i=n(7960),o=n(219),r=n(3841),s=n(6190),c=n(3950),p=n(6296),l=n(1711),u=n(3221),d=n(4822),m=n(3700),f=n(3888),y=n(4670),v=n(9988),b=n(5786),h=n(3897),g=Function,x=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(1399),O=n(7539),j=function(){throw new l},I=w?function(){try{return j}catch(e){try{return w(arguments,"callee").get}catch(e){return j}}}():j,P=n(4923)(),T=n(6152),S=n(9548),A=n(1588),E=n(6678),k=n(376),C={},_="undefined"!=typeof Uint8Array&&T?T(Uint8Array):a,D={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":P&&T?T([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"undefined"==typeof Atomics?a:Atomics,"%BigInt%":"undefined"==typeof BigInt?a:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?a:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":C,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&T?T(T([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P&&T?T((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P&&T?T((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&T?T(""[Symbol.iterator]()):a,"%Symbol%":P?Symbol:a,"%SyntaxError%":p,"%ThrowTypeError%":I,"%TypedArray%":_,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?a:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?a:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?a:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?a:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":E,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":S,"%Math.abs%":d,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":b,"%Math.sign%":h,"%Reflect.getPrototypeOf%":A};if(T)try{null.error}catch(e){var R=T(T(e));D["%Error.prototype%"]=R}var z=function e(t){var n;if("%AsyncFunction%"===t)n=x("async function () {}");else if("%GeneratorFunction%"===t)n=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=x("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&T&&(n=T(i.prototype))}return D[t]=n,n},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$=n(4499),F=n(4313),q=$.call(k,Array.prototype.concat),U=$.call(E,Array.prototype.splice),L=$.call(k,String.prototype.replace),B=$.call(k,String.prototype.slice),N=$.call(k,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,V=function(e,t){var n,a=e;if(F(M,a)&&(a="%"+(n=M[a])[0]+"%"),F(D,a)){var i=D[a];if(i===C&&(i=z(a)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:i}}throw new p("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new p("invalid intrinsic syntax, expected opening `%`");var a=[];return L(e,W,(function(e,t,n,i){a[a.length]=n?L(i,K,"$1"):t||e})),a}(e),a=n.length>0?n[0]:"",i=V("%"+a+"%",t),o=i.name,r=i.value,s=!1,c=i.alias;c&&(a=c[0],U(n,q([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var m=n[u],f=B(m,0,1),y=B(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new p("property names with quotes must have matching quotes");if("constructor"!==m&&d||(s=!0),F(D,o="%"+(a+="."+m)+"%"))r=D[o];else if(null!=r){if(!(m in r)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&u+1>=n.length){var v=w(r,m);r=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:r[m]}else d=F(r,m),r=r[m];d&&!s&&(D[o]=r)}}return r}},9548:(e,t,n)=>{"use strict";var a=n(7960);e.exports=a.getPrototypeOf||null},1588:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},6152:(e,t,n)=>{"use strict";var a=n(1588),i=n(9548),o=n(1724);e.exports=a?function(e){return a(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},6433:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},1399:(e,t,n)=>{"use strict";var a=n(6433);if(a)try{a([],"length")}catch(e){a=null}e.exports=a},5704:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",a=t.indexOf(n+e),i=t.indexOf("--");return-1!==a&&(-1===i||a<i)}},4923:(e,t,n)=>{"use strict";var a="undefined"!=typeof Symbol&&Symbol,i=n(4361);e.exports=function(){return"function"==typeof a&&"function"==typeof Symbol&&"symbol"==typeof a("foo")&&"symbol"==typeof Symbol("bar")&&i()}},4361:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var a in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},4313:(e,t,n)=>{"use strict";var a=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(4499);e.exports=o.call(a,i)},7148:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3347:(e,t,n)=>{var a=n(1019)(Object.getPrototypeOf,Object);e.exports=a},1019:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},6397:e=>{var t=Array.isArray;e.exports=t},2934:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4679:(e,t,n)=>{var a=n(7148),i=n(3347),o=n(2934),r=Function.prototype,s=Object.prototype,c=r.toString,p=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=i(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},7571:(e,t,n)=>{var a=n(7148),i=n(6397),o=n(2934);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==a(e)}},4822:e=>{"use strict";e.exports=Math.abs},3700:e=>{"use strict";e.exports=Math.floor},3943:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},3888:e=>{"use strict";e.exports=Math.max},4670:e=>{"use strict";e.exports=Math.min},9988:e=>{"use strict";e.exports=Math.pow},5786:e=>{"use strict";e.exports=Math.round},3897:(e,t,n)=>{"use strict";var a=n(3943);e.exports=function(e){return a(e)||0===e?e:e<0?-1:1}},9370:(e,t,n)=>{e.exports=n(8761)},9613:(e,t,n)=>{"use strict";var a,i,o,r=n(9370),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];return!(!a||!a.length)&&a[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),a=t.extensions,i=t.types,o=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var p=o.indexOf(r[i[c]].source),l=o.indexOf(t.source);if("application/octet-stream"!==i[c]&&(p>l||p===l&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},6301:e=>{var t=1e3,n=60*t,a=60*n,i=24*a,o=7*i;function r(e,t,n,a){var i=t>=1.5*n;return Math.round(e/n)+" "+a+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\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(r){var s=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?r(c,p,i,"day"):p>=a?r(c,p,a,"hour"):p>=n?r(c,p,n,"minute"):p>=t?r(c,p,t,"second"):c+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=a?Math.round(e/a)+"h":o>=n?Math.round(e/n)+"m":o>=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))}},8527:(e,t,n)=>{var a="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=a&&i&&"function"==typeof i.get?i.get:null,r=a&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,h=String.prototype.slice,g=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,j=Array.prototype.concat,I=Array.prototype.join,P=Array.prototype.slice,T=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,_=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var a=e<0?-T(-e):T(e);if(a!==e){var i=String(a),o=h.call(t,i.length+1);return g.call(i,n,"$&_")+"."+g.call(g.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var z=n(6761),M=z.custom,$=W(M)?M:null,F={__proto__:null,double:'"',single:"'"},q={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function U(e,t,n){var a=n.quoteStyle||t,i=F[a];return i+e+i}function L(e){return g.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==H(e)||C&&"object"==typeof e&&C in e)}function N(e){return!("[object RegExp]"!==H(e)||C&&"object"==typeof e&&C in e)}function W(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,a,i){var s=n||{};if(V(s,"quoteStyle")&&!V(F,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!V(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return y?R(t,x):x}if("bigint"==typeof t){var O=String(t)+"n";return y?R(t,O):O}var T=void 0===s.depth?5:s.depth;if(void 0===a&&(a=0),a>=T&&T>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var A,M=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=I.call(Array(e.indent+1)," ")}return{base:n,prev:I.call(Array(t+1),n)}}(s,a);if(void 0===i)i=[];else if(X(i,t)>=0)return"[Circular]";function q(t,n,o){if(n&&(i=P.call(i)).push(n),o){var r={depth:s.depth};return V(s,"quoteStyle")&&(r.quoteStyle=s.quoteStyle),e(t,r,a+1,i)}return e(t,s,a+1,i)}if("function"==typeof t&&!N(t)){var K=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),J=te(t,q);return"[Function"+(K?": "+K:" (anonymous)")+"]"+(J.length>0?" { "+I.call(J,", ")+" }":"")}if(W(t)){var ne=k?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||k?ne:Q(ne)}if((A=t)&&"object"==typeof A&&("undefined"!=typeof HTMLElement&&A instanceof HTMLElement||"string"==typeof A.nodeName&&"function"==typeof A.getAttribute)){for(var ae="<"+w.call(String(t.nodeName)),ie=t.attributes||[],oe=0;oe<ie.length;oe++)ae+=" "+ie[oe].name+"="+U(L(ie[oe].value),"double",s);return ae+=">",t.childNodes&&t.childNodes.length&&(ae+="..."),ae+"</"+w.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var re=te(t,q);return M&&!function(e){for(var t=0;t<e.length;t++)if(X(e[t],"\n")>=0)return!1;return!0}(re)?"["+ee(re,M)+"]":"[ "+I.call(re,", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)){var se=te(t,q);return"cause"in Error.prototype||!("cause"in t)||_.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+I.call(se,", ")+" }":"{ ["+String(t)+"] "+I.call(j.call("[cause]: "+q(t.cause),se),", ")+" }"}if("object"==typeof t&&c){if($&&"function"==typeof t[$]&&z)return z(t,{depth:T-a});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return r&&r.call(t,(function(e,n){ce.push(q(n,t,!0)+" => "+q(e,t))})),Z("Map",o.call(t),ce,M)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var pe=[];return l&&l.call(t,(function(e){pe.push(q(e,t))})),Z("Set",p.call(t),pe,M)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch(e){}return!1}(t))return Q(q(S.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(f.call(t));if(function(e){return!("[object String]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)&&!N(t)){var le=te(t,q),ue=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",me=!ue&&C&&Object(t)===t&&C in t?h.call(H(t),8,-1):de?"Object":"",fe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(me||de?"["+I.call(j.call([],me||[],de||[]),": ")+"] ":"");return 0===le.length?fe+"{}":M?fe+"{"+ee(le,M)+"}":fe+"{ "+I.call(le,", ")+" }"}return String(t)};var K=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return K.call(e,t)}function H(e){return y.call(e)}function X(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1}function G(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,a="... "+n+" more character"+(n>1?"s":"");return G(h.call(e,0,t.maxStringLength),t)+a}var i=q[t.quoteStyle||"single"];return i.lastIndex=0,U(g.call(g.call(e,i,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,n,a){return e+" ("+t+") {"+(a?ee(n,a):I.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+I.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=B(e),a=[];if(n){a.length=e.length;for(var i=0;i<e.length;i++)a[i]=V(e,i)?t(e[i],e):""}var o,r="function"==typeof A?A(e):[];if(k){o={};for(var s=0;s<r.length;s++)o["$"+r[s]]=r[s]}for(var c in e)V(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&o["$"+c]instanceof Symbol||(O.call(/[^\w$]/,c)?a.push(t(c,e)+": "+t(e[c],e)):a.push(c+": "+t(e[c],e))));if("function"==typeof A)for(var p=0;p<r.length;p++)_.call(e,r[p])&&a.push("["+t(r[p])+"]: "+t(e[r[p]],e));return a}},6761:(e,t,n)=>{e.exports=n(9023).inspect},1420:(e,t,n)=>{"use strict";var a=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},o=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function r(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?a(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(r("npm_config_no_proxy")||r("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var a=n.match(/^(.+):(\d+)$/),i=a?a[1]:n,r=a?parseInt(a[2]):0;return!(!r||r===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!o.call(e,i)):e!==i)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var p=r("npm_config_"+n+"_proxy")||r(n+"_proxy")||r("npm_config_proxy")||r("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},769:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:a}},8985:(e,t,n)=>{"use strict";var a=n(1088),i=n(2286),o=n(769);e.exports={formats:o,parse:i,stringify:a}},2286:(e,t,n)=>{"use strict";var a=n(5364),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:a.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},p=function(e,t,n,o){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,p=n.depth>0&&/(\[[^[\]]*])/.exec(r),l=p?r.slice(0,p.index):r,u=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(p=s.exec(r))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,p[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(p[1])}if(p){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+r.slice(p.index)+"]")}return function(e,t,n,i){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var r=e.slice(0,-1).join("");o=Array.isArray(t)&&t[r]?t[r].length:0}for(var s=i?t:c(t,n,o),p=e.length-1;p>=0;--p){var l,u=e[p];if("[]"===u&&n.parseArrays)l=n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:a.combine([],s);else{l=n.plainObjects?{__proto__:null}:{};var d="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,m=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,f=parseInt(m,10);n.parseArrays||""!==m?!isNaN(f)&&u!==m&&String(f)===m&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(l=[])[f]=s:"__proto__"!==m&&(l[m]=s):l={0:s}}s=l}return s}(u,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return r;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?r.charset:e.charset,n=void 0===e.duplicates?r.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||r.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:r.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:r.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var l="string"==typeof e?function(e,t){var n={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=p.split(t.delimiter,t.throwOnLimitExceeded?l+1:l);if(t.throwOnLimitExceeded&&u.length>l)throw new RangeError("Parameter limit exceeded. Only "+l+" parameter"+(1===l?"":"s")+" allowed.");var d,m=-1,f=t.charset;if(t.charsetSentinel)for(d=0;d<u.length;++d)0===u[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[d]?f="utf-8":"utf8=%26%2310003%3B"===u[d]&&(f="iso-8859-1"),m=d,d=u.length);for(d=0;d<u.length;++d)if(d!==m){var y,v,b=u[d],h=b.indexOf("]="),g=-1===h?b.indexOf("="):h+1;-1===g?(y=t.decoder(b,r.decoder,f,"key"),v=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,g),r.decoder,f,"key"),v=a.maybeMap(c(b.slice(g+1),t,o(n[y])?n[y].length:0),(function(e){return t.decoder(e,r.decoder,f,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===f&&(v=s(String(v))),b.indexOf("[]=")>-1&&(v=o(v)?[v]:v);var x=i.call(n,y);x&&"combine"===t.duplicates?n[y]=a.combine(n[y],v):x&&"last"!==t.duplicates||(n[y]=v)}return n}(e,n):e,u=n.plainObjects?{__proto__:null}:{},d=Object.keys(l),m=0;m<d.length;++m){var f=d[m],y=p(f,l[f],n,"string"==typeof e);u=a.merge(u,y,n)}return!0===n.allowSparse?u:a.compact(u)}},1088:(e,t,n)=>{"use strict";var a=n(588),i=n(5364),o=n(769),r=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,p=Array.prototype.push,l=function(e,t){p.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,o,r,s,p,u,d,y,v,b,h,g,x,w,O,j,I){for(var P,T=t,S=I,A=0,E=!1;void 0!==(S=S.get(f))&&!E;){var k=S.get(t);if(A+=1,void 0!==k){if(k===A)throw new RangeError("Cyclic object value");E=!0}void 0===S.get(f)&&(A=0)}if("function"==typeof v?T=v(n,T):T instanceof Date?T=g(T):"comma"===o&&c(T)&&(T=i.maybeMap(T,(function(e){return e instanceof Date?g(e):e}))),null===T){if(p)return y&&!O?y(n,m.encoder,j,"key",x):n;T=""}if("string"==typeof(P=T)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||i.isBuffer(T))return y?[w(O?n:y(n,m.encoder,j,"key",x))+"="+w(y(T,m.encoder,j,"value",x))]:[w(n)+"="+w(String(T))];var C,_=[];if(void 0===T)return _;if("comma"===o&&c(T))O&&y&&(T=i.maybeMap(T,y)),C=[{value:T.length>0?T.join(",")||null:void 0}];else if(c(v))C=v;else{var D=Object.keys(T);C=b?D.sort(b):D}var R=d?String(n).replace(/\./g,"%2E"):String(n),z=r&&c(T)&&1===T.length?R+"[]":R;if(s&&c(T)&&0===T.length)return z+"[]";for(var M=0;M<C.length;++M){var $=C[M],F="object"==typeof $&&$&&void 0!==$.value?$.value:T[$];if(!u||null!==F){var q=h&&d?String($).replace(/\./g,"%2E"):String($),U=c(T)?"function"==typeof o?o(z,q):z:z+(h?"."+q:"["+q+"]");I.set(t,A);var L=a();L.set(f,I),l(_,e(F,U,o,r,s,p,u,d,"comma"===o&&O&&c(T)?null:y,v,b,h,g,x,w,O,j,L))}}return _};e.exports=function(e,t){var n,i=e,p=function(e){if(!e)return m;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!r.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a,i=o.formatters[n],p=m.filter;if(("function"==typeof e.filter||c(e.filter))&&(p=e.filter),a=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":m.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===e.allowDots?!0===e.encodeDotInKeys||m.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:a,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:m.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:p,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(t);"function"==typeof p.filter?i=(0,p.filter)("",i):c(p.filter)&&(n=p.filter);var u=[];if("object"!=typeof i||null===i)return"";var d=s[p.arrayFormat],f="comma"===d&&p.commaRoundTrip;n||(n=Object.keys(i)),p.sort&&n.sort(p.sort);for(var v=a(),b=0;b<n.length;++b){var h=n[b],g=i[h];p.skipNulls&&null===g||l(u,y(g,h,d,f,p.allowEmptyArrays,p.strictNullHandling,p.skipNulls,p.encodeDotInKeys,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,v))}var x=u.join(p.delimiter),w=!0===p.addQueryPrefix?"?":"";return p.charsetSentinel&&("iso-8859-1"===p.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),x.length>0?w+x:""}},5364:(e,t,n)=>{"use strict";var a=n(769),i=Object.prototype.hasOwnProperty,o=Array.isArray,r=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)void 0!==e[a]&&(n[a]=e[a]);return n},c=1024;e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var i=t[a],r=i.obj[i.prop],s=Object.keys(r),c=0;c<s.length;++c){var p=s[c],l=r[p];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:r,prop:p}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var a=[],i=0;i<n.length;++i)void 0!==n[i]&&a.push(n[i]);t.obj[t.prop]=a}}}(t),e},decode:function(e,t,n){var a=e.replace(/\+/g," ");if("iso-8859-1"===n)return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(e){return a}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var p="",l=0;l<s.length;l+=c){for(var u=s.length>=c?s.slice(l,l+c):s,d=[],m=0;m<u.length;++m){var f=u.charCodeAt(m);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===a.RFC1738&&(40===f||41===f)?d[d.length]=u.charAt(m):f<128?d[d.length]=r[f]:f<2048?d[d.length]=r[192|f>>6]+r[128|63&f]:f<55296||f>=57344?d[d.length]=r[224|f>>12]+r[128|f>>6&63]+r[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(m)),d[d.length]=r[240|f>>18]+r[128|f>>12&63]+r[128|f>>6&63]+r[128|63&f])}p+=d.join("")}return p},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},merge:function e(t,n,a){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(a&&(a.plainObjects||a.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var r=t;return o(t)&&!o(n)&&(r=s(t,a)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var r=t[o];r&&"object"==typeof r&&n&&"object"==typeof n?t[o]=e(r,n,a):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var r=n[o];return i.call(t,o)?t[o]=e(t[o],r,a):t[o]=r,t}),r)}}},3575:(e,t,n)=>{"use strict";var a=n(8527),i=n(1711),o=function(e,t,n){for(var a,i=e;null!=(a=i.next);i=a)if(a.key===t)return i.next=a.next,n||(a.next=e.next,e.next=a),a};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+a(e))},delete:function(t){var n=e&&e.next,a=function(e,t){if(e)return o(e,t,!0)}(e,t);return a&&n&&n===a&&(e=void 0),!!a},get:function(t){return function(e,t){if(e){var n=o(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var a=o(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},9167:(e,t,n)=>{"use strict";var a=n(8897),i=n(3232),o=n(8527),r=n(1711),s=a("%Map%",!0),c=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),l=i("Map.prototype.has",!0),u=i("Map.prototype.delete",!0),d=i("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){if(e){var n=u(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&l(e,t)},set:function(t,n){e||(e=new s),p(e,t,n)}};return t}},9075:(e,t,n)=>{"use strict";var a=n(8897),i=n(3232),o=n(8527),r=n(9167),s=n(1711),c=a("%WeakMap%",!0),p=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),u=i("WeakMap.prototype.has",!0),d=i("WeakMap.prototype.delete",!0);e.exports=c?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+o(e))},delete:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(r&&t)return t.delete(n);return!1},get:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?p(e,n):t&&t.get(n)},has:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?u(e,n):!!t&&t.has(n)},set:function(n,a){c&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new c),l(e,n,a)):r&&(t||(t=r()),t.set(n,a))}};return n}:r},588:(e,t,n)=>{"use strict";var a=n(1711),i=n(8527),o=n(3575),r=n(9167),s=n(9075)||r||o;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},459:(e,t,n)=>{"use strict";const a=n(857),i=n(2018),o=n(5704),{env:r}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function p(e,t){if(0===s)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const n=s||0;if("dumb"===r.TERM)return n;if("win32"===process.platform){const e=a.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in r))||"codeship"===r.CI_NAME?1:n;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:n}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),"FORCE_COLOR"in r&&(s="true"===r.FORCE_COLOR?1:"false"===r.FORCE_COLOR?0:0===r.FORCE_COLOR.length?1:Math.min(parseInt(r.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(p(e,e&&e.isTTY))},stdout:c(p(!0,i.isatty(1))),stderr:c(p(!0,i.isatty(2)))}},2613:e=>{"use strict";e.exports=require("assert")},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")},8761:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a),n.d(a,{RestAdapter:()=>ey,ScheduledActionReferenceFilters:()=>hv,WorkflowStepPermissionAction:()=>nh,WorkflowStepPermissionEffect:()=>ah,WorkflowStepPermissionType:()=>th,asIterator:()=>ng,createClient:()=>lg,editorInterfaceDefaults:()=>gt,fetchAll:()=>rg,isDraft:()=>Ey,isPublished:()=>Sy,isUpdated:()=>Ay,makeRequest:()=>Gf});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Sa,hasStandardBrowserEnv:()=>Ea,hasStandardBrowserWebWorkerEnv:()=>ka,navigator:()=>Aa,origin:()=>Ca});var t={};n.r(t),n.d(t,{createPersonalAccessToken:()=>ko,get:()=>Ao,getMany:()=>Eo,getManyForOrganization:()=>_o,revoke:()=>Co});var i={};n.r(i),n.d(i,{create:()=>Fo,createWithId:()=>qo,del:()=>Lo,get:()=>Mo,getMany:()=>$o,update:()=>Uo});var o={};n.r(o),n.d(o,{create:()=>Bo});var r={};n.r(r),n.d(r,{create:()=>tr,del:()=>er,get:()=>Qo,getMany:()=>Yo,getManyForEnvironment:()=>Zo,update:()=>nr});var s={};n.r(s),n.d(s,{create:()=>lr,createWithResponse:()=>dr,getCallDetails:()=>ur});var c={};n.r(c),n.d(c,{create:()=>hr,del:()=>br,get:()=>yr,getMany:()=>vr});var p={};n.r(p),n.d(p,{create:()=>Tr,del:()=>Ar,get:()=>Ir,getAppDefinitionUrl:()=>jr,getInstallationsForOrg:()=>Er,getMany:()=>Pr,update:()=>Sr});var l={};n.r(l),n.d(l,{del:()=>_r,get:()=>kr,upsert:()=>Cr});var u={};n.r(u),n.d(u,{del:()=>zr,get:()=>Dr,upsert:()=>Rr});var d={};n.r(d),n.d(d,{del:()=>Wr,get:()=>Lr,getAppInstallationUrl:()=>Ur,getForOrganization:()=>Kr,getMany:()=>Br,upsert:()=>Nr});var m={};n.r(m),n.d(m,{create:()=>Xr,del:()=>Gr,get:()=>Vr,getMany:()=>Hr});var f={};n.r(f),n.d(f,{create:()=>Jr});var y={};n.r(y),n.d(y,{del:()=>Zr,get:()=>Qr,upsert:()=>Yr});var v={};n.r(v),n.d(v,{create:()=>os,del:()=>is,get:()=>as});var b={};n.r(b),n.d(b,{create:()=>cs,del:()=>ps,get:()=>ls});var h={};n.r(h),n.d(h,{archive:()=>Is,create:()=>Ts,createFromFiles:()=>As,createWithId:()=>Ss,del:()=>ws,get:()=>bs,getMany:()=>gs,getPublished:()=>hs,processForAllLocales:()=>Cs,processForLocale:()=>ks,publish:()=>Os,unarchive:()=>Ps,unpublish:()=>js,update:()=>xs});var g={};n.r(g),n.d(g,{ValidationError:()=>_s,create:()=>Ds});var x={};n.r(x),n.d(x,{get:()=>Rs,publish:()=>zs,unpublish:()=>Ms,validate:()=>$s});var w={};n.r(w),n.d(w,{create:()=>Js,del:()=>Ys,get:()=>Xs,getAll:()=>Zs,getMany:()=>Gs,update:()=>Qs});var O={};n.r(O),n.d(O,{create:()=>ic,createWithId:()=>oc,del:()=>lc,get:()=>pc,getAncestors:()=>mc,getDescendants:()=>dc,getMany:()=>uc,getTotal:()=>fc,patch:()=>rc,update:()=>sc,updatePut:()=>cc});var j={};n.r(j),n.d(j,{create:()=>Ic,createWithId:()=>Pc,del:()=>wc,get:()=>xc,getMany:()=>Oc,getTotal:()=>jc,patch:()=>Tc,update:()=>Sc,updatePut:()=>Ac});var I={};n.r(I),n.d(I,{create:()=>Mc,createWithId:()=>$c,del:()=>qc,get:()=>Rc,getMany:()=>zc,publish:()=>Uc,unpublish:()=>Lc,update:()=>Fc});var P={};n.r(P),n.d(P,{get:()=>Vc,getMany:()=>Hc,update:()=>Xc});var T={};n.r(T),n.d(T,{archive:()=>rp,create:()=>cp,createWithId:()=>pp,del:()=>ap,get:()=>Yc,getMany:()=>ep,getPublished:()=>Zc,patch:()=>tp,publish:()=>ip,references:()=>lp,unarchive:()=>sp,unpublish:()=>op,update:()=>np});var S={};n.r(S),n.d(S,{create:()=>hp,createWithId:()=>gp,del:()=>bp,get:()=>fp,getMany:()=>yp,update:()=>vp});var A={};n.r(A),n.d(A,{createWithId:()=>Sp,del:()=>Ep,get:()=>Pp,getMany:()=>Tp,update:()=>Ap});var E={};n.r(E),n.d(E,{create:()=>Mp,del:()=>qp,disconnect:()=>Np,get:()=>Rp,getMany:()=>zp,install:()=>Bp,update:()=>$p,validate:()=>Lp,versionUpdate:()=>Fp,versions:()=>Up});var k={};n.r(k),n.d(k,{getForEnvironment:()=>Qp,getMany:()=>Jp});var C={};n.r(C),n.d(C,{create:()=>ol,createWithId:()=>rl,del:()=>cl,get:()=>al,getExtensionUrl:()=>nl,getMany:()=>il,update:()=>sl});var _={};n.r(_),n.d(_,{get:()=>ll,getMany:()=>ul,getManyForEnvironment:()=>dl});var D={};n.r(D),n.d(D,{get:()=>bl,getMany:()=>hl});var R={};n.r(R),n.d(R,{del:()=>jl,get:()=>gl,patch:()=>Ol,post:()=>xl,put:()=>wl,request:()=>Il});var z={};n.r(z),n.d(z,{create:()=>kl,del:()=>_l,get:()=>Al,getMany:()=>El,update:()=>Cl});var M={};n.r(M),n.d(M,{get:()=>Rl,getMany:()=>Dl});var $={};n.r($),n.d($,{create:()=>Ul,get:()=>Ll});var F={};n.r(F),n.d(F,{del:()=>Jl,get:()=>Hl,getMany:()=>Xl,update:()=>Gl});var q={};n.r(q),n.d(q,{create:()=>Zl,del:()=>tu,get:()=>Ql,getManyForUser:()=>Yl,update:()=>eu});var U={};n.r(U),n.d(U,{create:()=>iu,get:()=>nu,getMany:()=>au,revoke:()=>ou});var L={};n.r(L),n.d(L,{get:()=>ru,getMany:()=>su});var B={};n.r(B),n.d(B,{archive:()=>gu,create:()=>mu,del:()=>yu,get:()=>uu,publish:()=>vu,query:()=>du,unarchive:()=>xu,unpublish:()=>bu,update:()=>fu,validate:()=>hu});var N={};n.r(N),n.d(N,{get:()=>Iu,getMany:()=>Pu,queryForRelease:()=>Tu});var W={};n.r(W),n.d(W,{getMany:()=>Su});var K={};n.r(K),n.d(K,{del:()=>Cu,get:()=>Eu,upsert:()=>ku});var V={};n.r(V),n.d(V,{del:()=>Mu,get:()=>Ru,getForEnvironment:()=>Fu,getMany:()=>$u,upsert:()=>zu});var H={};n.r(H),n.d(H,{create:()=>Ku,createWithId:()=>Vu,del:()=>Xu,get:()=>Bu,getMany:()=>Nu,getManyForOrganization:()=>Wu,update:()=>Hu});var X={};n.r(X),n.d(X,{create:()=>Qu,del:()=>Yu,get:()=>Gu,getMany:()=>Ju,update:()=>Zu});var G={};n.r(G),n.d(G,{getForContentType:()=>od,getForEntry:()=>nd,getManyForContentType:()=>id,getManyForEntry:()=>td});var J={};n.r(J),n.d(J,{create:()=>dd,del:()=>fd,get:()=>pd,getMany:()=>ld,getManyForOrganization:()=>ud,update:()=>md});var Q={};n.r(Q),n.d(Q,{get:()=>yd,getMany:()=>vd});var Y={};n.r(Y),n.d(Y,{create:()=>Sd,createWithId:()=>Ad,del:()=>kd,get:()=>jd,getForOrganization:()=>Pd,getMany:()=>Id,getManyForOrganization:()=>Td,update:()=>Ed});var Z={};n.r(Z),n.d(Z,{createWithId:()=>qd,del:()=>Ld,get:()=>$d,getMany:()=>Fd,update:()=>Ud});var ee={};n.r(ee),n.d(ee,{create:()=>Qd,del:()=>Zd,get:()=>Xd,getAll:()=>Jd,getMany:()=>Gd,update:()=>Yd});var te={};n.r(te),n.d(te,{create:()=>cm,del:()=>lm,get:()=>om,getMany:()=>rm,getManyForSpace:()=>sm,update:()=>pm});var ne={};n.r(ne),n.d(ne,{create:()=>gm,del:()=>wm,get:()=>vm,getManyForOrganization:()=>bm,getManyForTeam:()=>hm,update:()=>xm});var ae={};n.r(ae),n.d(ae,{create:()=>Cm,del:()=>Dm,get:()=>Sm,getForOrganization:()=>Em,getMany:()=>Am,getManyForOrganization:()=>km,update:()=>_m});var ie={};n.r(ie),n.d(ie,{get:()=>zm,update:()=>Mm});var oe={};n.r(oe),n.d(oe,{create:()=>$m});var re={};n.r(re),n.d(re,{getManyForOrganization:()=>qm,getManyForSpace:()=>Fm});var se={};n.r(se),n.d(se,{getCurrent:()=>Lm,getForOrganization:()=>Nm,getForSpace:()=>Um,getManyForOrganization:()=>Wm,getManyForSpace:()=>Bm});var ce={};n.r(ce),n.d(ce,{get:()=>Vm,update:()=>Hm});var pe={};n.r(pe),n.d(pe,{create:()=>uf,createWithId:()=>df,del:()=>vf,deleteRetryPolicy:()=>hf,deleteSigningSecret:()=>bf,get:()=>af,getCallDetails:()=>rf,getHealthStatus:()=>sf,getMany:()=>cf,getManyCallDetails:()=>of,getRetryPolicy:()=>lf,getSigningSecret:()=>pf,update:()=>mf,upsertRetryPolicy:()=>yf,upsertSigningSecret:()=>ff});var le={};n.r(le),n.d(le,{complete:()=>_f,create:()=>Ef,del:()=>Cf,get:()=>Af,getMany:()=>Sf,update:()=>kf});var ue={};n.r(ue),n.d(ue,{create:()=>Lf,del:()=>Nf,get:()=>qf,getMany:()=>Uf,update:()=>Bf});var de={};n.r(de),n.d(de,{getMany:()=>Wf});var me={};n.r(me),n.d(me,{wrapApiKey:()=>ny,wrapApiKeyCollection:()=>ay});var fe={};n.r(fe),n.d(fe,{wrapAppAction:()=>iy,wrapAppActionCollection:()=>oy});var ye={};n.r(ye),n.d(ye,{default:()=>py,wrapAppActionCall:()=>ly,wrapAppActionCallResponse:()=>uy});var ve={};n.r(ve),n.d(ve,{wrapAppBundle:()=>dy,wrapAppBundleCollection:()=>my});var be={};n.r(be),n.d(be,{wrapAppDefinition:()=>fy,wrapAppDefinitionCollection:()=>yy});var he={};n.r(he),n.d(he,{wrapAppDetails:()=>vy});var ge={};n.r(ge),n.d(ge,{wrapAppInstallation:()=>by,wrapAppInstallationCollection:()=>hy});var xe={};n.r(xe),n.d(xe,{wrapAppSignedRequest:()=>gy});var we={};n.r(we),n.d(we,{wrapAppSigningSecret:()=>xy});var Oe={};n.r(Oe),n.d(Oe,{wrapAppEventSubscription:()=>wy});var je={};n.r(je),n.d(je,{wrapAppKey:()=>Oy,wrapAppKeyCollection:()=>jy});var Ie={};n.r(Ie),n.d(Ie,{wrapAppAccessToken:()=>Iy});var Pe={};n.r(Pe),n.d(Pe,{wrapAppUpload:()=>Py,wrapAppUploadCollection:()=>Ty});var Te={};n.r(Te),n.d(Te,{wrapAsset:()=>Ry,wrapAssetCollection:()=>zy});var Se={};n.r(Se),n.d(Se,{wrapAssetKey:()=>My});var Ae={};n.r(Ae),n.d(Ae,{BulkActionStatus:()=>Wy,wrapBulkAction:()=>Ky});var Ee={};n.r(Ee),n.d(Ee,{CommentNode:()=>Gy,default:()=>Jy,wrapComment:()=>Qy,wrapCommentCollection:()=>Yy});var ke={};n.r(ke),n.d(ke,{wrapEditorInterface:()=>Zy,wrapEditorInterfaceCollection:()=>ev});var Ce={};n.r(Ce),n.d(Ce,{wrapSnapshot:()=>tv,wrapSnapshotCollection:()=>nv});var _e={};n.r(_e),n.d(_e,{wrapContentType:()=>pv,wrapContentTypeCollection:()=>lv});var De={};n.r(De),n.d(De,{wrapEntry:()=>fv,wrapEntryCollection:()=>yv});var Re={};n.r(Re),n.d(Re,{wrapReleaseAction:()=>vv,wrapReleaseActionCollection:()=>bv});var ze={};n.r(ze),n.d(ze,{ReleaseReferenceFilters:()=>gv,wrapRelease:()=>xv,wrapReleaseCollection:()=>wv});var Me={};n.r(Me),n.d(Me,{default:()=>Pv,wrapTag:()=>Tv,wrapTagCollection:()=>Sv});var $e={};n.r($e),n.d($e,{wrapUIConfig:()=>Av});var Fe={};n.r(Fe),n.d(Fe,{wrapUserUIConfig:()=>Ev});var qe={};n.r(qe),n.d(qe,{wrapEnvironmentTemplateInstallation:()=>kv,wrapEnvironmentTemplateInstallationCollection:()=>Cv});var Ue={};n.r(Ue),n.d(Ue,{wrapFunction:()=>_v,wrapFunctionCollection:()=>Dv});var Le={};n.r(Le),n.d(Le,{wrapFunctionLog:()=>Rv,wrapFunctionLogCollection:()=>zv});var Be={};n.r(Be),n.d(Be,{wrapEnvironment:()=>Uv,wrapEnvironmentCollection:()=>Lv});var Ne={};n.r(Ne),n.d(Ne,{wrapEnvironmentAlias:()=>Bv,wrapEnvironmentAliasCollection:()=>Nv});var We={};n.r(We),n.d(We,{wrapEnvironmentTemplate:()=>Xv,wrapEnvironmentTemplateCollection:()=>Gv});var Ke={};n.r(Ke),n.d(Ke,{wrapExtension:()=>Jv,wrapExtensionCollection:()=>Qv});var Ve={};n.r(Ve),n.d(Ve,{wrapLocale:()=>Yv,wrapLocaleCollection:()=>Zv});var He={};n.r(He),n.d(He,{ScopeValues:()=>eb,wrapOAuthApplication:()=>tb,wrapOAuthApplicationCollection:()=>nb});var Xe={};n.r(Xe),n.d(Xe,{wrapOrganization:()=>rb,wrapOrganizationCollection:()=>sb});var Ge={};n.r(Ge),n.d(Ge,{wrapOrganizationInvitation:()=>cb});var Je={};n.r(Je),n.d(Je,{wrapOrganizationMembership:()=>pb,wrapOrganizationMembershipCollection:()=>lb});var Qe={};n.r(Qe),n.d(Qe,{wrapPersonalAccessToken:()=>ub,wrapPersonalAccessTokenCollection:()=>db});var Ye={};n.r(Ye),n.d(Ye,{wrapAccessToken:()=>mb,wrapAccessTokenCollection:()=>fb});var Ze={};n.r(Ze),n.d(Ze,{wrapPreviewApiKey:()=>yb,wrapPreviewApiKeyCollection:()=>vb});var et={};n.r(et),n.d(et,{wrapRole:()=>bb,wrapRoleCollection:()=>hb});var tt={};n.r(tt),n.d(tt,{ScheduledActionStatus:()=>xb,default:()=>wb,wrapScheduledAction:()=>Ob,wrapScheduledActionCollection:()=>jb});var nt={};n.r(nt),n.d(nt,{wrapSpace:()=>Ib,wrapSpaceCollection:()=>Pb});var at={};n.r(at),n.d(at,{wrapSpaceMember:()=>Tb,wrapSpaceMemberCollection:()=>Sb});var it={};n.r(it),n.d(it,{wrapSpaceMembership:()=>Ab,wrapSpaceMembershipCollection:()=>Eb});var ot={};n.r(ot),n.d(ot,{default:()=>Db,wrapTask:()=>Rb,wrapTaskCollection:()=>zb});var rt={};n.r(rt),n.d(rt,{wrapTeam:()=>Mb,wrapTeamCollection:()=>$b});var st={};n.r(st),n.d(st,{wrapTeamMembership:()=>Fb,wrapTeamMembershipCollection:()=>qb});var ct={};n.r(ct),n.d(ct,{wrapTeamSpaceMembership:()=>Ub,wrapTeamSpaceMembershipCollection:()=>Lb});var pt={};n.r(pt),n.d(pt,{wrapUpload:()=>Bb});var lt={};n.r(lt),n.d(lt,{wrapUsage:()=>Nb,wrapUsageCollection:()=>Wb});var ut={};n.r(ut),n.d(ut,{wrapUser:()=>Kb,wrapUserCollection:()=>Vb});var dt={};n.r(dt),n.d(dt,{wrapWebhook:()=>Jb,wrapWebhookCollection:()=>Qb});var mt={};n.r(mt),n.d(mt,{WorkflowStepActionType:()=>ih,WorkflowStepPermissionAction:()=>nh,WorkflowStepPermissionEffect:()=>ah,WorkflowStepPermissionType:()=>th,default:()=>oh,wrapWorkflowDefinition:()=>rh,wrapWorkflowDefinitionCollection:()=>sh});var ft={};n.r(ft);var yt={};n.r(yt);var vt={};n.r(vt),n.d(vt,{wrapResourceProvider:()=>lh});var bt={};n.r(bt),n.d(bt,{wrapResourceType:()=>mh,wrapResourceTypeforEnvironment:()=>fh,wrapResourceTypesForEnvironmentCollection:()=>yh});var ht={};n.r(ht),n.d(ht,{wrapResource:()=>vh,wrapResourceCollection:()=>bh});var gt={};n.r(gt),n.d(gt,{default:()=>Yh});var xt=Function.prototype.toString,wt=Object.create,Ot=Object.prototype.toString,jt=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}(),It="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new jt};function Pt(e){if(!e)return wt(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:wt(e);if(t&&~xt.call(t).indexOf("[native code]"))try{return new t}catch(e){}return wt(e)}var Tt="g"===/test/g.flags?function(e){return e.flags}:function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function St(e){var t=Ot.call(e);return t.substring(8,t.length-1)}var At="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||St(e)}:St,Et=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Ct=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,Dt=Object.prototype,Rt=Dt.hasOwnProperty,zt=Dt.propertyIsEnumerable,Mt="function"==typeof _t,$t=Mt?function(e){return Ct(e).concat(_t(e))}:Ct;function Ft(e,t,n){for(var a=$t(e),i=0,o=a.length,r=void 0,s=void 0;i<o;++i)if("callee"!==(r=a[i])&&"caller"!==r)if(s=kt(e,r)){s.get||s.set||(s.value=n.copier(s.value,n));try{Et(t,r,s)}catch(e){t[r]=s.value}}else t[r]=n.copier(e[r],n);return t}function qt(e,t){return e.slice(0)}function Ut(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e,a){n.set(a,t.copier(e,t))})),n}var Lt=Mt?function(e,t){var n=Pt(t.prototype);for(var a in t.cache.set(e,n),e)Rt.call(e,a)&&(n[a]=t.copier(e[a],t));for(var i=_t(e),o=0,r=i.length,s=void 0;o<r;++o)s=i[o],zt.call(e,s)&&(n[s]=t.copier(e[s],t));return n}:function(e,t){var n=Pt(t.prototype);for(var a in t.cache.set(e,n),e)Rt.call(e,a)&&(n[a]=t.copier(e[a],t));return n};function Bt(e,t){return new t.Constructor(e.valueOf())}function Nt(e,t){return e}function Wt(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e){n.add(t.copier(e,t))})),n}var Kt=Array.isArray,Vt=Object.assign,Ht=Object.getPrototypeOf||function(e){return e.__proto__},Xt={array:function(e,t){var n=new t.Constructor;t.cache.set(e,n);for(var a=0,i=e.length;a<i;++a)n[a]=t.copier(e[a],t);return n},arrayBuffer:qt,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(qt(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Nt,map:Ut,object:Lt,regExp:function(e,t){var n=new t.Constructor(e.source,Tt(e));return n.lastIndex=e.lastIndex,n},set:Wt},Gt=Vt({},Xt,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),Ft(e,n,t)},map:function(e,t){return Ft(e,Ut(e,t),t)},object:function(e,t){var n=Pt(t.prototype);return t.cache.set(e,n),Ft(e,n,t)},set:function(e,t){return Ft(e,Wt(e,t),t)}});function Jt(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Bt,DataView:e.dataView,Date:e.date,Error:e.error,Float32Array:e.arrayBuffer,Float64Array:e.arrayBuffer,Int8Array:e.arrayBuffer,Int16Array:e.arrayBuffer,Int32Array:e.arrayBuffer,Map:e.map,Number:Bt,Object:e.object,Promise:Nt,RegExp:e.regExp,Set:e.set,String:Bt,WeakMap:Nt,WeakSet:Nt,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Vt({},Xt,e)),n=t.Array,a=t.Object;function i(e,i){if(i.prototype=i.Constructor=void 0,!e||"object"!=typeof e)return e;if(i.cache.has(e))return i.cache.get(e);if(i.prototype=Ht(e),i.Constructor=i.prototype&&i.prototype.constructor,!i.Constructor||i.Constructor===Object)return a(e,i);if(Kt(e))return n(e,i);var o=t[At(e)];return o?o(e,i):"function"==typeof e.then?e:a(e,i)}return function(e){return i(e,{Constructor:void 0,cache:It(),copier:i,prototype:void 0})}}Jt(Vt({},Gt,{}));var Qt=Jt({});const Yt=require("process");function Zt(){}var en=n(7571);class tn extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const nn=/(?<value>\d+)(%)/;function an(e,t=7){let n=t;if(nn.test(e)){const a=e.match(nn)?.groups;if(a&&a.value){const e=parseInt(a.value)/100;n=Math.round(t*e)}}return Math.min(30,Math.max(1,n))}function on(e,t){return t("info",`Throttle request to ${e}/s`),function({limit:e,interval:t,strict:n,onDelay:a}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const i=new Map;let o=0,r=0;const s=[],c=n?function(){const n=Date.now();if(s.length>0&&n-s.at(-1)>t&&(s.length=0),s.length<e)return s.push(n),0;const a=s[0]+t;return s.shift(),s.push(a),Math.max(0,a-n)}:function(){const n=Date.now();return n-o>t?(r=1,o=n,0):(r<e?r++:(o+=t,r=1),o-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let o;return new Promise(((t,r)=>{const s=()=>{t(e.apply(this,n)),i.delete(o)},p=c();p>0?(o=setTimeout(s,p),i.set(o,r),a?.(...n)):s()}))};return t.abort=()=>{for(const e of i.keys())clearTimeout(e),i.get(e)(new tn);i.clear(),s.splice(0,s.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get:()=>i.size}),t}}({limit:e,interval:1e3,strict:!1})}var rn=n(8985);const sn=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function cn(e){const t=Qt(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}function pn(e,t){const n=function(e){const t={insecure:!1,retryOnError:!0,logHandler:(e,t)=>{if("error"===e&&t){const e=[t.name,t.message].filter((e=>e)).join(" - ");return console.error(`[error] ${e}`),void console.error(t)}console.log(`[${e}] ${t}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824,...e};if(!t.accessToken){const e=new TypeError("Expected parameter accessToken");throw t.logHandler("error",e),e}const n=t.insecure?"http":"https",a=t.space?`${t.space}/`:"";let i=t.defaultHostname,o=t.insecure?80:443;if(t.host&&sn.test(t.host)){const e=t.host.split(":");2===e.length?[i,o]=e:i=e[0]}t.basePath&&(t.basePath=`/${t.basePath.split("/").filter(Boolean).join("/")}`);const r=e.baseURL||`${n}://${i}:${o}${t.basePath}/spaces/${a}`;return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:r,headers:t.headers,httpAgent:t.httpAgent,httpsAgent:t.httpsAgent,proxy:t.proxy,timeout:t.timeout,adapter:t.adapter,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:e=>rn.stringify(e)},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),a=e.create(n);return a.httpClientParams=t,a.cloneWithNewParams=function(n){return pn(e,{...cn(t),...n})},t.onBeforeRequest&&a.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((t=>(e.headers.set("Authorization",`Bearer ${t}`),e)))}))}(a,t.accessToken),t.throttle&&((e,t="auto")=>{const{logHandler:n=Zt}=e.defaults;let a=en(t)?an(t):an("auto",t),i=on(a,n),o=!1,r=e.interceptors.request.use((e=>i((()=>e))()),(function(e){return Promise.reject(e)}));e.interceptors.response.use((s=>{if(!o&&en(t)&&("auto"===t||nn.test(t))&&s.headers&&s.headers["x-contentful-ratelimit-second-limit"]){const c=parseInt(s.headers["x-contentful-ratelimit-second-limit"]),p=an(t,c);p!==a&&(r&&e.interceptors.request.eject(r),a=p,i=on(p,n),r=e.interceptors.request.use((e=>i((()=>e))()),(function(e){return Promise.reject(e)}))),o=!0}return s}),(function(e){return Promise.reject(e)}))})(a,t.throttle),function(e,t=5){const{responseLogger:n=Zt,requestLogger:a=Zt}=e.defaults;e.interceptors.request.use((function(e){return a(e),e}),(function(e){return a(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return n(e),e}),(async function(a){const{response:i}=a,{config:o}=a;if(n(a),!o||!e.defaults.retryOnError)return Promise.reject(a);const r=o.attempts||1;if(r>t)return a.attempts=o.attempts,Promise.reject(a);let s=null,c=(p=r,Math.pow(Math.SQRT2,p));var p,l;return i?i.status>=500&&i.status<600?s=`Server ${i.status}`:429===i.status&&(s="Rate limit",i.headers&&a.response.headers["x-contentful-ratelimit-reset"]&&(c=i.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(c=Math.floor(1e3*c+200*Math.random()+500),e.defaults.logHandler("warning",`${s} error occurred. Waiting for ${c} ms before retrying...`),o.attempts=r+1,delete o.httpAgent,delete o.httpsAgent,(l=c,new Promise((e=>{setTimeout(e,l)}))).then((()=>e(o)))):Promise.reject(a)}))}(a,t.retryLimit),t.onError&&a.interceptors.response.use((e=>e),t.onError),a}function ln({query:e}){const t={};return delete e.resolveLinks,t.params=Qt(e),t}function un(e){const t=Object.getOwnPropertyNames(e);for(const n of t){const t=e[n];t&&"object"==typeof t&&un(t)}return Object.freeze(e)}function dn(e){return un(e.sys||{}),e}function mn(){const e=window;if(!e)return null;const t=e.navigator.userAgent,n=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(n)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(n)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(n)?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function fn(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Qt(this)}})}var yn=n(4679);function vn(e){const{config:t,response:n}=e;let a;if(t&&t.headers&&t.headers.Authorization){const e=`...${t.headers.Authorization.toString().substr(-5)}`;t.headers.Authorization=`Bearer ${e}`}if(!yn(n)||!yn(t))throw e;const i=n?.data,o={status:n?.status,statusText:n?.statusText,message:"",details:{}};t&&yn(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),i&&"object"==typeof i&&("requestId"in i&&(o.requestId=i.requestId||"UNKNOWN"),"message"in i&&(o.message=i.message||""),"details"in i&&(o.details=i.details||{}),a=i.sys?.id);const r=new Error;r.name=a&&"Unknown"!==a?a:`${n?.status} ${n?.statusText}`;try{r.message=JSON.stringify(o,null," ")}catch{r.message=o?.message??""}throw r}function bn(e,t){return function(){return e.apply(t,arguments)}}const{toString:hn}=Object.prototype,{getPrototypeOf:gn}=Object,xn=(wn=Object.create(null),e=>{const t=hn.call(e);return wn[t]||(wn[t]=t.slice(8,-1).toLowerCase())});var wn;const On=e=>(e=e.toLowerCase(),t=>xn(t)===e),jn=e=>t=>typeof t===e,{isArray:In}=Array,Pn=jn("undefined"),Tn=On("ArrayBuffer"),Sn=jn("string"),An=jn("function"),En=jn("number"),kn=e=>null!==e&&"object"==typeof e,Cn=e=>{if("object"!==xn(e))return!1;const t=gn(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},_n=On("Date"),Dn=On("File"),Rn=On("Blob"),zn=On("FileList"),Mn=On("URLSearchParams"),[$n,Fn,qn,Un]=["ReadableStream","Request","Response","Headers"].map(On);function Ln(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let a,i;if("object"!=typeof e&&(e=[e]),In(e))for(a=0,i=e.length;a<i;a++)t.call(null,e[a],a,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let r;for(a=0;a<o;a++)r=i[a],t.call(null,e[r],r,e)}}function Bn(e,t){t=t.toLowerCase();const n=Object.keys(e);let a,i=n.length;for(;i-- >0;)if(a=n[i],t===a.toLowerCase())return a;return null}const Nn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Wn=e=>!Pn(e)&&e!==Nn,Kn=(Vn="undefined"!=typeof Uint8Array&&gn(Uint8Array),e=>Vn&&e instanceof Vn);var Vn;const Hn=On("HTMLFormElement"),Xn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Gn=On("RegExp"),Jn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};Ln(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(a[i]=o||n)})),Object.defineProperties(e,a)},Qn="abcdefghijklmnopqrstuvwxyz",Yn="0123456789",Zn={DIGIT:Yn,ALPHA:Qn,ALPHA_DIGIT:Qn+Qn.toUpperCase()+Yn},ea=On("AsyncFunction"),ta=(na="function"==typeof setImmediate,aa=An(Nn.postMessage),na?setImmediate:aa?(ia=`axios@${Math.random()}`,oa=[],Nn.addEventListener("message",(({source:e,data:t})=>{e===Nn&&t===ia&&oa.length&&oa.shift()()}),!1),e=>{oa.push(e),Nn.postMessage(ia,"*")}):e=>setTimeout(e));var na,aa,ia,oa;const ra="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Nn):"undefined"!=typeof process&&process.nextTick||ta,sa={isArray:In,isArrayBuffer:Tn,isBuffer:function(e){return null!==e&&!Pn(e)&&null!==e.constructor&&!Pn(e.constructor)&&An(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||An(e.append)&&("formdata"===(t=xn(e))||"object"===t&&An(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Tn(e.buffer),t},isString:Sn,isNumber:En,isBoolean:e=>!0===e||!1===e,isObject:kn,isPlainObject:Cn,isReadableStream:$n,isRequest:Fn,isResponse:qn,isHeaders:Un,isUndefined:Pn,isDate:_n,isFile:Dn,isBlob:Rn,isRegExp:Gn,isFunction:An,isStream:e=>kn(e)&&An(e.pipe),isURLSearchParams:Mn,isTypedArray:Kn,isFileList:zn,forEach:Ln,merge:function e(){const{caseless:t}=Wn(this)&&this||{},n={},a=(a,i)=>{const o=t&&Bn(n,i)||i;Cn(n[o])&&Cn(a)?n[o]=e(n[o],a):Cn(a)?n[o]=e({},a):In(a)?n[o]=a.slice():n[o]=a};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Ln(arguments[e],a);return n},extend:(e,t,n,{allOwnKeys:a}={})=>(Ln(t,((t,a)=>{n&&An(t)?e[a]=bn(t,n):e[a]=t}),{allOwnKeys:a}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,a)=>{let i,o,r;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)r=i[o],a&&!a(r,e,t)||s[r]||(t[r]=e[r],s[r]=!0);e=!1!==n&&gn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:xn,kindOfTest:On,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return-1!==a&&a===n},toArray:e=>{if(!e)return null;if(In(e))return e;let t=e.length;if(!En(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 a;for(;(a=n.next())&&!a.done;){const n=a.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const a=[];for(;null!==(n=e.exec(t));)a.push(n);return a},isHTMLForm:Hn,hasOwnProperty:Xn,hasOwnProp:Xn,reduceDescriptors:Jn,freezeMethods:e=>{Jn(e,((t,n)=>{if(An(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const a=e[n];An(a)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},a=e=>{e.forEach((e=>{n[e]=!0}))};return In(e)?a(e):a(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Bn,global:Nn,isContextDefined:Wn,ALPHABET:Zn,generateString:(e=16,t=Zn.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n},isSpecCompliantForm:function(e){return!!(e&&An(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,a)=>{if(kn(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[a]=e;const i=In(e)?[]:{};return Ln(e,((e,t)=>{const o=n(e,a+1);!Pn(o)&&(i[t]=o)})),t[a]=void 0,i}}return e};return n(e,0)},isAsyncFn:ea,isThenable:e=>e&&(kn(e)||An(e))&&An(e.then)&&An(e.catch),setImmediate:ta,asap:ra};function ca(e,t,n,a,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),a&&(this.request=a),i&&(this.response=i,this.status=i.status?i.status:null)}sa.inherits(ca,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:sa.toJSONObject(this.config),code:this.code,status:this.status}}});const pa=ca.prototype,la={};["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=>{la[e]={value:e}})),Object.defineProperties(ca,la),Object.defineProperty(pa,"isAxiosError",{value:!0}),ca.from=(e,t,n,a,i,o)=>{const r=Object.create(pa);return sa.toFlatObject(e,r,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ca.call(r,e.message,t,n,a,i),r.cause=e,r.name=e.name,o&&Object.assign(r,o),r};const ua=ca,da=n(2925);function ma(e){return sa.isPlainObject(e)||sa.isArray(e)}function fa(e){return sa.endsWith(e,"[]")?e.slice(0,-2):e}function ya(e,t,n){return e?e.concat(t).map((function(e,t){return e=fa(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const va=sa.toFlatObject(sa,{},null,(function(e){return/^is[A-Z]/.test(e)})),ba=function(e,t,n){if(!sa.isObject(e))throw new TypeError("target must be an object");t=t||new(da||FormData);const a=(n=sa.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!sa.isUndefined(t[e])}))).metaTokens,i=n.visitor||p,o=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&sa.isSpecCompliantForm(t);if(!sa.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(sa.isDate(e))return e.toISOString();if(!s&&sa.isBlob(e))throw new ua("Blob is not supported. Use a Buffer instead.");return sa.isArrayBuffer(e)||sa.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(sa.endsWith(n,"{}"))n=a?n:n.slice(0,-2),e=JSON.stringify(e);else if(sa.isArray(e)&&function(e){return sa.isArray(e)&&!e.some(ma)}(e)||(sa.isFileList(e)||sa.endsWith(n,"[]"))&&(s=sa.toArray(e)))return n=fa(n),s.forEach((function(e,a){!sa.isUndefined(e)&&null!==e&&t.append(!0===r?ya([n],a,o):null===r?n:n+"[]",c(e))})),!1;return!!ma(e)||(t.append(ya(i,n,o),c(e)),!1)}const l=[],u=Object.assign(va,{defaultVisitor:p,convertValue:c,isVisitable:ma});if(!sa.isObject(e))throw new TypeError("data must be an object");return function e(n,a){if(!sa.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+a.join("."));l.push(n),sa.forEach(n,(function(n,o){!0===(!(sa.isUndefined(n)||null===n)&&i.call(t,n,sa.isString(o)?o.trim():o,a,u))&&e(n,a?a.concat(o):[o])})),l.pop()}}(e),t};function ha(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ga(e,t){this._pairs=[],e&&ba(e,this,t)}const xa=ga.prototype;xa.append=function(e,t){this._pairs.push([e,t])},xa.toString=function(e){const t=e?function(t){return e.call(this,t,ha)}:ha;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const wa=ga;function Oa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ja(e,t,n){if(!t)return e;const a=n&&n.encode||Oa;sa.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):sa.isURLSearchParams(t)?t.toString():new wa(t,n).toString(a),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const Ia=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){sa.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Pa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ta={isNode:!0,classes:{URLSearchParams:n(7016).URLSearchParams,FormData:da,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},Sa="undefined"!=typeof window&&"undefined"!=typeof document,Aa="object"==typeof navigator&&navigator||void 0,Ea=Sa&&(!Aa||["ReactNative","NativeScript","NS"].indexOf(Aa.product)<0),ka="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ca=Sa&&window.location.href||"http://localhost",_a={...e,...Ta},Da=function(e){function t(e,n,a,i){let o=e[i++];if("__proto__"===o)return!0;const r=Number.isFinite(+o),s=i>=e.length;return o=!o&&sa.isArray(a)?a.length:o,s?(sa.hasOwnProp(a,o)?a[o]=[a[o],n]:a[o]=n,!r):(a[o]&&sa.isObject(a[o])||(a[o]=[]),t(e,n,a[o],i)&&sa.isArray(a[o])&&(a[o]=function(e){const t={},n=Object.keys(e);let a;const i=n.length;let o;for(a=0;a<i;a++)o=n[a],t[o]=e[o];return t}(a[o])),!r)}if(sa.isFormData(e)&&sa.isFunction(e.entries)){const n={};return sa.forEachEntry(e,((e,a)=>{t(function(e){return sa.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),a,n,0)})),n}return null},Ra={transitional:Pa,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",a=n.indexOf("application/json")>-1,i=sa.isObject(e);if(i&&sa.isHTMLForm(e)&&(e=new FormData(e)),sa.isFormData(e))return a?JSON.stringify(Da(e)):e;if(sa.isArrayBuffer(e)||sa.isBuffer(e)||sa.isStream(e)||sa.isFile(e)||sa.isBlob(e)||sa.isReadableStream(e))return e;if(sa.isArrayBufferView(e))return e.buffer;if(sa.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ba(e,new _a.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,a){return _a.isNode&&sa.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=sa.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ba(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),function(e){if(sa.isString(e))try{return(0,JSON.parse)(e),sa.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ra.transitional,n=t&&t.forcedJSONParsing,a="json"===this.responseType;if(sa.isResponse(e)||sa.isReadableStream(e))return e;if(e&&sa.isString(e)&&(n&&!this.responseType||a)){const n=!(t&&t.silentJSONParsing)&&a;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw ua.from(e,ua.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:_a.classes.FormData,Blob:_a.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};sa.forEach(["delete","get","head","post","put","patch"],(e=>{Ra.headers[e]={}}));const za=Ra,Ma=sa.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"]),$a=Symbol("internals");function Fa(e){return e&&String(e).trim().toLowerCase()}function qa(e){return!1===e||null==e?e:sa.isArray(e)?e.map(qa):String(e)}function Ua(e,t,n,a,i){return sa.isFunction(a)?a.call(this,t,n):(i&&(t=n),sa.isString(t)?sa.isString(a)?-1!==t.indexOf(a):sa.isRegExp(a)?a.test(t):void 0:void 0)}class La{constructor(e){e&&this.set(e)}set(e,t,n){const a=this;function i(e,t,n){const i=Fa(t);if(!i)throw new Error("header name must be a non-empty string");const o=sa.findKey(a,i);(!o||void 0===a[o]||!0===n||void 0===n&&!1!==a[o])&&(a[o||t]=qa(e))}const o=(e,t)=>sa.forEach(e,((e,n)=>i(e,n,t)));if(sa.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(sa.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,a,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),a=e.substring(i+1).trim(),!n||t[n]&&Ma[n]||("set-cookie"===n?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)})),t})(e),t);else if(sa.isHeaders(e))for(const[t,a]of e.entries())i(a,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=Fa(e)){const n=sa.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}(e);if(sa.isFunction(t))return t.call(this,e,n);if(sa.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Fa(e)){const n=sa.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ua(0,this[n],n,t))}return!1}delete(e,t){const n=this;let a=!1;function i(e){if(e=Fa(e)){const i=sa.findKey(n,e);!i||t&&!Ua(0,n[i],i,t)||(delete n[i],a=!0)}}return sa.isArray(e)?e.forEach(i):i(e),a}clear(e){const t=Object.keys(this);let n=t.length,a=!1;for(;n--;){const i=t[n];e&&!Ua(0,this[i],i,e,!0)||(delete this[i],a=!0)}return a}normalize(e){const t=this,n={};return sa.forEach(this,((a,i)=>{const o=sa.findKey(n,i);if(o)return t[o]=qa(a),void delete t[i];const r=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();r!==i&&delete t[i],t[r]=qa(a),n[r]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return sa.forEach(this,((n,a)=>{null!=n&&!1!==n&&(t[a]=e&&sa.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[$a]=this[$a]={accessors:{}}).accessors,n=this.prototype;function a(e){const a=Fa(e);t[a]||(function(e,t){const n=sa.toCamelCase(" "+t);["get","set","has"].forEach((a=>{Object.defineProperty(e,a+n,{value:function(e,n,i){return this[a].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[a]=!0)}return sa.isArray(e)?e.forEach(a):a(e),this}}La.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),sa.reduceDescriptors(La.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),sa.freezeMethods(La);const Ba=La;function Na(e,t){const n=this||za,a=t||n,i=Ba.from(a.headers);let o=a.data;return sa.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Wa(e){return!(!e||!e.__CANCEL__)}function Ka(e,t,n){ua.call(this,null==e?"canceled":e,ua.ERR_CANCELED,t,n),this.name="CanceledError"}sa.inherits(Ka,ua,{__CANCEL__:!0});const Va=Ka;function Ha(e,t,n){const a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new ua("Request failed with status code "+n.status,[ua.ERR_BAD_REQUEST,ua.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Xa(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ga=n(1420),Ja=n(8611),Qa=n(5692),Ya=n(9023),Za=n(3520);const ei=require("zlib"),ti="1.7.9";function ni(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const ai=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var ii=n(2203);const oi=Symbol("internals");class ri extends ii.Transform{constructor(e){super({readableHighWaterMark:(e=sa.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!sa.isUndefined(t[e])))).chunkSize});const t=this[oi]={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[oi];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const a=this[oi],i=a.maxRate,o=this.readableHighWaterMark,r=a.timeWindow,s=i/(1e3/r),c=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);a.bytesSeen+=n,a.bytes+=n,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=o,m=0;if(i){const e=Date.now();(!a.ts||(m=e-a.ts)>=r)&&(a.ts=e,l=s-a.bytes,a.bytes=l<0?-l:0,m=0),l=s-a.bytes}if(i){if(l<=0)return setTimeout((()=>{t(null,e)}),r-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,a){if(t)return n(t);a?l(a,e):n(null)}))}}const si=ri,ci=require("events"),{asyncIterator:pi}=Symbol,li=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[pi]?yield*e[pi]():yield e},ui=sa.ALPHABET.ALPHA_DIGIT+"-_",di="function"==typeof TextEncoder?new TextEncoder:new Ya.TextEncoder,mi="\r\n",fi=di.encode(mi);class yi{constructor(e,t){const{escapeName:n}=this.constructor,a=sa.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!a&&t.name?`; filename="${n(t.name)}"`:""}${mi}`;a?t=di.encode(String(t).replace(/\r?\n|\r\n?/g,mi)):i+=`Content-Type: ${t.type||"application/octet-stream"}${mi}`,this.headers=di.encode(i+mi),this.contentLength=a?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;sa.isTypedArray(e)?yield e:yield*li(e),yield fi}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class vi extends ii.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 bi=vi,hi=(e,t)=>sa.isAsyncFn(e)?function(...n){const a=n.pop();e.apply(this,n).then((e=>{try{t?a(null,...t(e)):a(null,e)}catch(e){a(e)}}),a)}:e,gi=(e,t,n=3)=>{let a=0;const i=function(e,t){e=e||10;const n=new Array(e),a=new Array(e);let i,o=0,r=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=a[r];i||(i=c),n[o]=s,a[o]=c;let l=r,u=0;for(;l!==o;)u+=n[l++],l%=e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),c-i<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,a,i=0,o=1e3/t;const r=(t,o=Date.now())=>{i=o,n=null,a&&(clearTimeout(a),a=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?r(e,t):(n=e,a||(a=setTimeout((()=>{a=null,r(n)}),o-s)))},()=>n&&r(n)]}((n=>{const o=n.loaded,r=n.lengthComputable?n.total:void 0,s=o-a,c=i(s);a=o,e({loaded:o,total:r,progress:r?o/r:void 0,bytes:s,rate:c||void 0,estimated:c&&r&&o<=r?(r-o)/c:void 0,event:n,lengthComputable:null!=r,[t?"download":"upload"]:!0})}),n)},xi=(e,t)=>{const n=null!=e;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},wi=e=>(...t)=>sa.asap((()=>e(...t))),Oi={flush:ei.constants.Z_SYNC_FLUSH,finishFlush:ei.constants.Z_SYNC_FLUSH},ji={flush:ei.constants.BROTLI_OPERATION_FLUSH,finishFlush:ei.constants.BROTLI_OPERATION_FLUSH},Ii=sa.isFunction(ei.createBrotliDecompress),{http:Pi,https:Ti}=Za,Si=/https:?/,Ai=_a.protocols.map((e=>e+":")),Ei=(e,[t,n])=>(e.on("end",n).on("error",n),t);function ki(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Ci(e,t,n){let a=t;if(!a&&!1!==a){const e=Ga.getProxyForUrl(n);e&&(a=new URL(e))}if(a){if(a.username&&(a.auth=(a.username||"")+":"+(a.password||"")),a.auth){(a.auth.username||a.auth.password)&&(a.auth=(a.auth.username||"")+":"+(a.auth.password||""));const t=Buffer.from(a.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=a.hostname||a.host;e.hostname=t,e.host=t,e.port=a.port,e.path=n,a.protocol&&(e.protocol=a.protocol.includes(":")?a.protocol:`${a.protocol}:`)}e.beforeRedirects.proxy=function(e){Ci(e,t,e.href)}}const _i="undefined"!=typeof process&&"process"===sa.kindOf(process),Di=(e,t)=>(({address:e,family:t})=>{if(!sa.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(sa.isObject(e)?e:{address:e,family:t}),Ri=_i&&function(e){return t=async function(t,n,a){let{data:i,lookup:o,family:r}=e;const{responseType:s,responseEncoding:c}=e,p=e.method.toUpperCase();let l,u,d=!1;if(o){const e=hi(o,(e=>sa.isArray(e)?e:[e]));o=(t,n,a)=>{e(t,n,((e,t,i)=>{if(e)return a(e);const o=sa.isArray(t)?t.map((e=>Di(e))):[Di(t,i)];n.all?a(e,o):a(e,o[0].address,o[0].family)}))}}const m=new ci.EventEmitter,f=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),m.removeAllListeners()};function y(t){m.emit("abort",!t||t.type?new Va(null,e,u):t)}a(((e,t)=>{l=!0,t&&(d=!0,f())})),m.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));const v=Xa(e.baseURL,e.url),b=new URL(v,_a.hasBrowserEnv?_a.origin:void 0),h=b.protocol||Ai[0];if("data:"===h){let a;if("GET"!==p)return Ha(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{a=function(e,t,n){const a=n&&n.Blob||_a.classes.Blob,i=ni(e);if(void 0===t&&a&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=ai.exec(e);if(!n)throw new ua("Invalid URL",ua.ERR_INVALID_URL);const o=n[1],r=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),r?"base64":"utf8");if(t){if(!a)throw new ua("Blob is not supported",ua.ERR_NOT_SUPPORT);return new a([c],{type:o})}return c}throw new ua("Unsupported protocol "+i,ua.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw ua.from(t,ua.ERR_BAD_REQUEST,e)}return"text"===s?(a=a.toString(c),c&&"utf8"!==c||(a=sa.stripBOM(a))):"stream"===s&&(a=ii.Readable.from(a)),Ha(t,n,{data:a,status:200,statusText:"OK",headers:new Ba,config:e})}if(-1===Ai.indexOf(h))return n(new ua("Unsupported protocol "+h,ua.ERR_BAD_REQUEST,e));const g=Ba.from(e.headers).normalize();g.set("User-Agent","axios/"+ti,!1);const{onUploadProgress:x,onDownloadProgress:w}=e,O=e.maxRate;let j,I;if(sa.isSpecCompliantForm(i)){const e=g.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:a="form-data-boundary",size:i=25,boundary:o=a+"-"+sa.generateString(i,ui)}=n||{};if(!sa.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");const r=di.encode("--"+o+mi),s=di.encode("--"+o+"--"+mi+mi);let c=s.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new yi(e,t);return c+=n.size,n}));c+=r.byteLength*p.length,c=sa.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),ii.Readable.from(async function*(){for(const e of p)yield r,yield*e.encode();yield s}())})(i,(e=>{g.set(e)}),{tag:`axios-${ti}-boundary`,boundary:e&&e[1]||void 0})}else if(sa.isFormData(i)&&sa.isFunction(i.getHeaders)){if(g.set(i.getHeaders()),!g.hasContentLength())try{const e=await Ya.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&g.setContentLength(e)}catch(e){}}else if(sa.isBlob(i)||sa.isFile(i))i.size&&g.setContentType(i.type||"application/octet-stream"),g.setContentLength(i.size||0),i=ii.Readable.from(li(i));else if(i&&!sa.isStream(i)){if(Buffer.isBuffer(i));else if(sa.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!sa.isString(i))return n(new ua("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ua.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(g.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new ua("Request body larger than maxBodyLength limit",ua.ERR_BAD_REQUEST,e))}const P=sa.toFiniteNumber(g.getContentLength());let T,S;sa.isArray(O)?(j=O[0],I=O[1]):j=I=O,i&&(x||j)&&(sa.isStream(i)||(i=ii.Readable.from(i,{objectMode:!1})),i=ii.pipeline([i,new si({maxRate:sa.toFiniteNumber(j)})],sa.noop),x&&i.on("progress",Ei(i,xi(P,gi(wi(x),!1,3))))),e.auth&&(T=(e.auth.username||"")+":"+(e.auth.password||"")),!T&&b.username&&(T=b.username+":"+b.password),T&&g.delete("authorization");try{S=ja(b.pathname+b.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const a=new Error(t.message);return a.config=e,a.url=e.url,a.exists=!0,n(a)}g.set("Accept-Encoding","gzip, compress, deflate"+(Ii?", br":""),!1);const A={path:S,method:p,headers:g.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:T,protocol:h,family:r,beforeRedirect:ki,beforeRedirects:{}};let E;!sa.isUndefined(o)&&(A.lookup=o),e.socketPath?A.socketPath=e.socketPath:(A.hostname=b.hostname.startsWith("[")?b.hostname.slice(1,-1):b.hostname,A.port=b.port,Ci(A,e.proxy,h+"//"+b.hostname+(b.port?":"+b.port:"")+A.path));const k=Si.test(A.protocol);if(A.agent=k?e.httpsAgent:e.httpAgent,e.transport?E=e.transport:0===e.maxRedirects?E=k?Qa:Ja:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),e.beforeRedirect&&(A.beforeRedirects.config=e.beforeRedirect),E=k?Ti:Pi),e.maxBodyLength>-1?A.maxBodyLength=e.maxBodyLength:A.maxBodyLength=1/0,e.insecureHTTPParser&&(A.insecureHTTPParser=e.insecureHTTPParser),u=E.request(A,(function(a){if(u.destroyed)return;const i=[a],o=+a.headers["content-length"];if(w||I){const e=new si({maxRate:sa.toFiniteNumber(I)});w&&e.on("progress",Ei(e,xi(o,gi(wi(w),!0,3)))),i.push(e)}let r=a;const l=a.req||u;if(!1!==e.decompress&&a.headers["content-encoding"])switch("HEAD"!==p&&204!==a.statusCode||delete a.headers["content-encoding"],(a.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(ei.createUnzip(Oi)),delete a.headers["content-encoding"];break;case"deflate":i.push(new bi),i.push(ei.createUnzip(Oi)),delete a.headers["content-encoding"];break;case"br":Ii&&(i.push(ei.createBrotliDecompress(ji)),delete a.headers["content-encoding"])}r=i.length>1?ii.pipeline(i,sa.noop):i[0];const y=ii.finished(r,(()=>{y(),f()})),v={status:a.statusCode,statusText:a.statusMessage,headers:new Ba(a.headers),config:e,request:l};if("stream"===s)v.data=r,Ha(t,n,v);else{const a=[];let i=0;r.on("data",(function(t){a.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(d=!0,r.destroy(),n(new ua("maxContentLength size of "+e.maxContentLength+" exceeded",ua.ERR_BAD_RESPONSE,e,l)))})),r.on("aborted",(function(){if(d)return;const t=new ua("stream has been aborted",ua.ERR_BAD_RESPONSE,e,l);r.destroy(t),n(t)})),r.on("error",(function(t){u.destroyed||n(ua.from(t,null,e,l))})),r.on("end",(function(){try{let e=1===a.length?a[0]:Buffer.concat(a);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=sa.stripBOM(e))),v.data=e}catch(t){return n(ua.from(t,null,e,v.request,v))}Ha(t,n,v)}))}m.once("abort",(e=>{r.destroyed||(r.emit("error",e),r.destroy())}))})),m.once("abort",(e=>{n(e),u.destroy(e)})),u.on("error",(function(t){n(ua.from(t,null,e,u))})),u.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new ua("error trying to parse `config.timeout` to int",ua.ERR_BAD_OPTION_VALUE,e,u));u.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const a=e.transitional||Pa;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ua(t,a.clarifyTimeoutError?ua.ETIMEDOUT:ua.ECONNABORTED,e,u)),y()}))}if(sa.isStream(i)){let t=!1,n=!1;i.on("end",(()=>{t=!0})),i.once("error",(e=>{n=!0,u.destroy(e)})),i.on("close",(()=>{t||n||y(new Va("Request stream has been aborted",e,u))})),i.pipe(u)}else u.end(i)},new Promise(((e,n)=>{let a,i;const o=(e,t)=>{i||(i=!0,a&&a(e,t))},r=e=>{o(e,!0),n(e)};t((t=>{o(t),e(t)}),r,(e=>a=e)).catch(r)}));var t},zi=_a.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_a.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_a.origin),_a.navigator&&/(msie|trident)/i.test(_a.navigator.userAgent)):()=>!0,Mi=_a.hasStandardBrowserEnv?{write(e,t,n,a,i,o){const r=[e+"="+encodeURIComponent(t)];sa.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),sa.isString(a)&&r.push("path="+a),sa.isString(i)&&r.push("domain="+i),!0===o&&r.push("secure"),document.cookie=r.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(){}},$i=e=>e instanceof Ba?{...e}:e;function Fi(e,t){t=t||{};const n={};function a(e,t,n,a){return sa.isPlainObject(e)&&sa.isPlainObject(t)?sa.merge.call({caseless:a},e,t):sa.isPlainObject(t)?sa.merge({},t):sa.isArray(t)?t.slice():t}function i(e,t,n,i){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:a(void 0,e,0,i):a(e,t,0,i)}function o(e,t){if(!sa.isUndefined(t))return a(void 0,t)}function r(e,t){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function s(n,i,o){return o in t?a(n,i):o in e?a(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(e,t,n)=>i($i(e),$i(t),0,!0)};return sa.forEach(Object.keys(Object.assign({},e,t)),(function(a){const o=c[a]||i,r=o(e[a],t[a],a);sa.isUndefined(r)&&o!==s||(n[a]=r)})),n}const qi=e=>{const t=Fi({},e);let n,{data:a,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:r,headers:s,auth:c}=t;if(t.headers=s=Ba.from(s),t.url=ja(Xa(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),sa.isFormData(a))if(_a.hasStandardBrowserEnv||_a.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(_a.hasStandardBrowserEnv&&(i&&sa.isFunction(i)&&(i=i(t)),i||!1!==i&&zi(t.url))){const e=o&&r&&Mi.read(r);e&&s.set(o,e)}return t},Ui="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const a=qi(e);let i=a.data;const o=Ba.from(a.headers).normalize();let r,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=a;function f(){p&&p(),l&&l(),a.cancelToken&&a.cancelToken.unsubscribe(r),a.signal&&a.signal.removeEventListener("abort",r)}let y=new XMLHttpRequest;function v(){if(!y)return;const a=Ba.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Ha((function(e){t(e),f()}),(function(e){n(e),f()}),{data:u&&"text"!==u&&"json"!==u?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:a,config:e,request:y}),y=null}y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(n(new ua("Request aborted",ua.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new ua("Network Error",ua.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const i=a.transitional||Pa;a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(new ua(t,i.clarifyTimeoutError?ua.ETIMEDOUT:ua.ECONNABORTED,e,y)),y=null},void 0===i&&o.setContentType(null),"setRequestHeader"in y&&sa.forEach(o.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),sa.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),u&&"json"!==u&&(y.responseType=a.responseType),m&&([c,l]=gi(m,!0),y.addEventListener("progress",c)),d&&y.upload&&([s,p]=gi(d),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(r=t=>{y&&(n(!t||t.type?new Va(null,e,y):t),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(r),a.signal&&(a.signal.aborted?r():a.signal.addEventListener("abort",r)));const b=ni(a.url);b&&-1===_a.protocols.indexOf(b)?n(new ua("Unsupported protocol "+b+":",ua.ERR_BAD_REQUEST,e)):y.send(i||null)}))},Li=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,a=new AbortController;const i=function(e){if(!n){n=!0,r();const t=e instanceof Error?e:this.reason;a.abort(t instanceof ua?t:new Va(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new ua(`timeout ${t} of ms exceeded`,ua.ETIMEDOUT))}),t);const r=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=a;return s.unsubscribe=()=>sa.asap(r),s}},Bi=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let a,i=0;for(;i<n;)a=i+t,yield e.slice(i,a),i=a},Ni=(e,t,n,a)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Bi(n,t)}(e,t);let o,r=0,s=e=>{o||(o=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await i.next();if(t)return s(),void e.close();let o=a.byteLength;if(n){let e=r+=o;n(e)}e.enqueue(new Uint8Array(a))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},Wi="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ki=Wi&&"function"==typeof ReadableStream,Vi=Wi&&("function"==typeof TextEncoder?(Hi=new TextEncoder,e=>Hi.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Hi;const Xi=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Gi=Ki&&Xi((()=>{let e=!1;const t=new Request(_a.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ji=Ki&&Xi((()=>sa.isReadableStream(new Response("").body))),Qi={stream:Ji&&(e=>e.body)};var Yi;Wi&&(Yi=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Qi[e]&&(Qi[e]=sa.isFunction(Yi[e])?t=>t[e]():(t,n)=>{throw new ua(`Response type '${e}' is not supported`,ua.ERR_NOT_SUPPORT,n)})})));const Zi=Wi&&(async e=>{let{url:t,method:n,data:a,signal:i,cancelToken:o,timeout:r,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=qi(e);p=p?(p+"").toLowerCase():"text";let m,f=Li([i,o&&o.toAbortSignal()],r);const y=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let v;try{if(c&&Gi&&"get"!==n&&"head"!==n&&0!==(v=await(async(e,t)=>{const n=sa.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(sa.isBlob(e))return e.size;if(sa.isSpecCompliantForm(e)){const t=new Request(_a.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return sa.isArrayBufferView(e)||sa.isArrayBuffer(e)?e.byteLength:(sa.isURLSearchParams(e)&&(e+=""),sa.isString(e)?(await Vi(e)).byteLength:void 0)})(t):n})(l,a))){let e,n=new Request(t,{method:"POST",body:a,duplex:"half"});if(sa.isFormData(a)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=xi(v,gi(wi(c)));a=Ni(n.body,65536,e,t)}}sa.isString(u)||(u=u?"include":"omit");const i="credentials"in Request.prototype;m=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:a,duplex:"half",credentials:i?u:void 0});let o=await fetch(m);const r=Ji&&("stream"===p||"response"===p);if(Ji&&(s||r&&y)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=sa.toFiniteNumber(o.headers.get("content-length")),[n,a]=s&&xi(t,gi(wi(s),!0))||[];o=new Response(Ni(o.body,65536,n,(()=>{a&&a(),y&&y()})),e)}p=p||"text";let b=await Qi[sa.findKey(Qi,p)||"text"](o,e);return!r&&y&&y(),await new Promise(((t,n)=>{Ha(t,n,{data:b,headers:Ba.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:m})}))}catch(t){if(y&&y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new ua("Network Error",ua.ERR_NETWORK,e,m),{cause:t.cause||t});throw ua.from(t,t&&t.code,e,m)}}),eo={http:Ri,xhr:Ui,fetch:Zi};sa.forEach(eo,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const to=e=>`- ${e}`,no=e=>sa.isFunction(e)||null===e||!1===e,ao=e=>{e=sa.isArray(e)?e:[e];const{length:t}=e;let n,a;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],a=n,!no(n)&&(a=eo[(t=String(n)).toLowerCase()],void 0===a))throw new ua(`Unknown adapter '${t}'`);if(a)break;i[t||"#"+o]=a}if(!a){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(to).join("\n"):" "+to(e[0]):"as no adapter specified";throw new ua("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return a};function io(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Va(null,e)}function oo(e){return io(e),e.headers=Ba.from(e.headers),e.data=Na.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ao(e.adapter||za.adapter)(e).then((function(t){return io(e),t.data=Na.call(e,e.transformResponse,t),t.headers=Ba.from(t.headers),t}),(function(t){return Wa(t)||(io(e),t&&t.response&&(t.response.data=Na.call(e,e.transformResponse,t.response),t.response.headers=Ba.from(t.response.headers))),Promise.reject(t)}))}const ro={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ro[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const so={};ro.transitional=function(e,t,n){function a(e,t){return"[Axios v1.7.9] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new ua(a(i," has been removed"+(t?" in "+t:"")),ua.ERR_DEPRECATED);return t&&!so[i]&&(so[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},ro.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const co={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ua("options must be an object",ua.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let i=a.length;for(;i-- >0;){const o=a[i],r=t[o];if(r){const t=e[o],n=void 0===t||r(t,o,e);if(!0!==n)throw new ua("option "+o+" must be "+n,ua.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ua("Unknown option "+o,ua.ERR_BAD_OPTION)}},validators:ro},po=co.validators;class lo{constructor(e){this.defaults=e,this.interceptors={request:new Ia,response:new Ia}}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=Fi(this.defaults,t);const{transitional:n,paramsSerializer:a,headers:i}=t;void 0!==n&&co.assertOptions(n,{silentJSONParsing:po.transitional(po.boolean),forcedJSONParsing:po.transitional(po.boolean),clarifyTimeoutError:po.transitional(po.boolean)},!1),null!=a&&(sa.isFunction(a)?t.paramsSerializer={serialize:a}:co.assertOptions(a,{encode:po.function,serialize:po.function},!0)),co.assertOptions(t,{baseUrl:po.spelling("baseURL"),withXsrfToken:po.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&sa.merge(i.common,i[t.method]);i&&sa.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Ba.concat(o,i);const r=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!s){const e=[oo.bind(this),void 0];for(e.unshift.apply(e,r),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=r.length;let d=t;for(u=0;u<l;){const e=r[u++],t=r[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=oo.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return ja(Xa((e=Fi(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}sa.forEach(["delete","get","head","options"],(function(e){lo.prototype[e]=function(t,n){return this.request(Fi(n||{},{method:e,url:t,data:(n||{}).data}))}})),sa.forEach(["post","put","patch"],(function(e){function t(t){return function(n,a,i){return this.request(Fi(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))}}lo.prototype[e]=t(),lo.prototype[e+"Form"]=t(!0)}));const uo=lo;class mo{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const a=new Promise((e=>{n.subscribe(e),t=e})).then(e);return a.cancel=function(){n.unsubscribe(t)},a},e((function(e,a,i){n.reason||(n.reason=new Va(e,a,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new mo((function(t){e=t})),cancel:e}}}const fo=mo,yo={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(yo).forEach((([e,t])=>{yo[t]=e}));const vo=yo,bo=function e(t){const n=new uo(t),a=bn(uo.prototype.request,n);return sa.extend(a,uo.prototype,n,{allOwnKeys:!0}),sa.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e(Fi(t,n))},a}(za);bo.Axios=uo,bo.CanceledError=Va,bo.CancelToken=fo,bo.isCancel=Wa,bo.VERSION=ti,bo.toFormData=ba,bo.AxiosError=ua,bo.Cancel=bo.CanceledError,bo.all=function(e){return Promise.all(e)},bo.spread=function(e){return function(t){return e.apply(null,t)}},bo.isAxiosError=function(e){return sa.isObject(e)&&!0===e.isAxiosError},bo.mergeConfig=Fi,bo.AxiosHeaders=Ba,bo.formToJSON=e=>Da(sa.isHTMLForm(e)?new FormData(e):e),bo.getAdapter=ao,bo.HttpStatusCode=vo,bo.default=bo;const ho=bo;function go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?go(Object(n),!0).forEach((function(t){wo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oo(e){var t;return null===(t=e.defaults.baseURL)||void 0===t?void 0:t.split("/spaces")[0]}function jo(e,t,n){return e.get(t,xo({baseURL:Oo(e)},n)).then((e=>e.data),vn)}function Io(e,t,n,a){return e.patch(t,n,xo({baseURL:Oo(e)},a)).then((e=>e.data),vn)}function Po(e,t,n,a){return e.post(t,n,xo({baseURL:Oo(e)},a)).then((e=>e.data),vn)}function To(e,t,n,a){return e.put(t,n,xo({baseURL:Oo(e)},a)).then((e=>e.data),vn)}function So(e,t,n){return e.delete(t,xo({baseURL:Oo(e)},n)).then((e=>e.data),vn)}const Ao=(e,t)=>jo(e,`/users/me/access_tokens/${t.tokenId}`),Eo=(e,t)=>jo(e,"/users/me/access_tokens",{params:t.query}),ko=(e,t,n,a)=>Po(e,"/users/me/access_tokens",n,{headers:a}),Co=(e,t)=>To(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),_o=(e,t)=>jo(e,`/organizations/${t.organizationId}/access_tokens`,{params:t.query});function Do(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ro(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(n),!0).forEach((function(t){zo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Do(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mo=(e,t)=>jo(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),$o=(e,t)=>jo(e,`/spaces/${t.spaceId}/api_keys`,{params:t.query}),Fo=(e,t,n,a)=>Po(e,`/spaces/${t.spaceId}/api_keys`,n,{headers:a}),qo=(e,t,n,a)=>To(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,n,{headers:a}),Uo=(e,t,n,a)=>{var i;const o=Qt(n);return"accessToken"in o&&delete o.accessToken,"preview_api_key"in o&&delete o.preview_api_key,"policies"in o&&delete o.policies,delete o.sys,To(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,o,{headers:Ro({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Lo=(e,t)=>So(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),Bo=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/access_tokens`,void 0,{headers:{Authorization:`Bearer ${n.jwt}`}}),No=["spaceId"];function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return e&&e.select&&!/sys/i.test(e.select)?Ko(Ko({},e),{},{select:e.select+",sys"}):e}function Xo(e){if(e&&e.spaceId){const{spaceId:t}=e;return Ko(Ko({},function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,No)),{},{"sys.space.sys.id[in]":t})}return e}const Go=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/actions`,Jo=e=>`${Go(e)}/${e.appActionId}`,Qo=(e,t)=>jo(e,Jo(t)),Yo=(e,t)=>jo(e,Go(t),{params:Ho(t.query)}),Zo=(e,t)=>jo(e,(e=>e.environmentId?`/spaces/${e.spaceId}/environments/${e.environmentId}/actions`:`/spaces/${e.spaceId}/actions`)(t),{params:Ho(t.query)}),er=(e,t)=>So(e,Jo(t)),tr=(e,t,n)=>Po(e,Go(t),n),nr=(e,t,n)=>To(e,Jo(t),n),ar=e=>(t,n,...a)=>{const i=fn(Qt(n));return i.items=i.items.map((n=>e(t,n,...a))),i},ir=e=>(t,n,...a)=>{const i=fn(Qt(n));return i.items=i.items.map((n=>e(t,n,...a))),i};function or(e){return e<300}async function rr(e=1e3){return new Promise((t=>setTimeout(t,e)))}function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lr=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n),ur=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/actions/${t.appActionId}/calls/${t.callId}`),dr=async(e,t,n)=>async function(e,t,{callId:n}){let a=1;const i=t.retryInterval||2e3,o=t.retries||15;return new Promise(((r,s)=>{const c=async()=>{try{var p,l;const d=await ur(e,cr(cr({},t),{},{callId:n}));if(null!=d&&null!==(p=d.response)&&void 0!==p&&p.statusCode&&!or(null==d||null===(l=d.response)||void 0===l?void 0:l.statusCode)){const e=new Error("App action not found or lambda fails");s(e)}else if(or(d.statusCode))r(d);else if(u=d.statusCode,[404,422,429,400].includes(u)&&a<o)a++,await rr(i),c();else{const e=new Error("The app action response is taking longer than expected to process.");s(e)}}catch(e){if(a++,a>o)return void s(new Error("The app action response is taking longer than expected to process."));await rr(i),c()}var u};c()}))}(e,t,{callId:(await Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),mr=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/app_bundles`,fr=e=>`${mr(e)}/${e.appBundleId}`,yr=(e,t)=>jo(e,fr(t)),vr=(e,t)=>jo(e,mr(t),{params:Ho(t.query)}),br=(e,t)=>So(e,fr(t)),hr=(e,t,n)=>{const{appUploadId:a,comment:i,actions:o,functions:r}=n,s={upload:{sys:{type:"Link",linkType:"AppUpload",id:a}},comment:i,actions:o,functions:r};return Po(e,mr(t),s)};function gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){wr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Or=e=>`/organizations/${e.organizationId}/app_definitions`,jr=e=>Or(e)+`/${e.appDefinitionId}`,Ir=(e,t)=>jo(e,jr(t),{params:Ho(t.query)}),Pr=(e,t)=>jo(e,Or(t),{params:t.query}),Tr=(e,t,n)=>{const a=Qt(n);return Po(e,Or(t),a)},Sr=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,jr(t),o,{headers:xr({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Ar=(e,t)=>So(e,jr(t)),Er=(e,t)=>jo(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:xr(xr({},Xo(Ho(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),kr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Cr=(e,t,n)=>To(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`,n),_r=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Dr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),Rr=(e,t,n)=>To(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`,n),zr=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`);function Mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(n),!0).forEach((function(t){Fr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qr=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations`,Ur=e=>qr(e)+`/${e.appDefinitionId}`,Lr=(e,t)=>jo(e,Ur(t),{params:Ho(t.query)}),Br=(e,t)=>jo(e,qr(t),{params:Ho(t.query)}),Nr=(e,t,n,a)=>{const i=Qt(n);return To(e,Ur(t),i,{headers:$r($r({},a),t.acceptAllTerms&&{"X-Contentful-Marketplace":"i-accept-end-user-license-agreement,i-accept-marketplace-terms-of-service,i-accept-privacy-policy"})})},Wr=(e,t)=>So(e,Ur(t)),Kr=(e,t)=>jo(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:$r($r({},Xo(Ho(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),Vr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Hr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`),Xr=(e,t,n)=>Po(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`,n),Gr=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Jr=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/signed_requests`,n),Qr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),Yr=(e,t,n)=>To(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`,n),Zr=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`);function es(e,t){var n;const{hostUpload:a,defaultHostnameUpload:i,timeout:o}=e.httpClientParams;return e.cloneWithNewParams({host:a||i,timeout:null!==(n=null!=o?o:null==t?void 0:t.uploadTimeout)&&void 0!==n?n:3e5})}const ts=e=>`/organizations/${e.organizationId}/app_uploads`,ns=e=>`${ts(e)}/${e.appUploadId}`,as=(e,t)=>jo(es(e),ns(t)),is=(e,t)=>So(es(e),ns(t)),os=(e,t,n)=>{const a=es(e),{file:i}=n;return Po(a,ts(t),i,{headers:{"Content-Type":"application/octet-stream"}})},rs=e=>{const t=`/spaces/${e.spaceId}/uploads`,n=`/spaces/${e.spaceId}/environments/${e.environmentId}/uploads`;return e.environmentId?n:t},ss=e=>rs(e)+`/${e.uploadId}`,cs=(e,t,n)=>{const a=es(e),{file:i}=n;return i?Po(a,rs(t),i,{headers:{"Content-Type":"application/octet-stream"}}):Promise.reject(new Error("Unable to locate a file to upload."))},ps=(e,t)=>So(es(e),ss(t)),ls=(e,t)=>jo(es(e),ss(t)),us=["asset","locale","options"],ds=["asset","options"];function ms(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ys(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fs(Object(n),!0).forEach((function(t){vs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vs(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bs=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,{params:Ho(t.query),headers:a?ys({},a):void 0}),hs=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/assets`,{params:Ho(t.query),headers:a?ys({},a):void 0}),gs=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,{params:Ho(t.query),headers:a?ys({},a):void 0}),xs=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,o,{headers:ys({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ws=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`),Os=(e,t,n)=>{var a,i;const o=null!==(a=t.locales)&&void 0!==a&&a.length?{add:{fields:{"*":t.locales}}}:null;return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,o,{headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}})},js=(e,t,n)=>{var a;if(null!==(a=t.locales)&&void 0!==a&&a.length){const a={remove:{fields:{"*":t.locales}}};return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,a,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`)},Is=(e,t)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ps=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ts=(e,t,n)=>{const a=Qt(n);return Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,a)},Ss=(e,t,n)=>{const a=Qt(n);return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,a)},As=async(e,t,n)=>{const a=es(e,{uploadTimeout:t.uploadTimeout}),{file:i}=n.fields;return Promise.all(Object.keys(i).map((async e=>{const{contentType:n,fileName:o}=i[e];return cs(a,t,i[e]).then((t=>({[e]:{contentType:n,fileName:o,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((a=>{const i=a.reduce(((e,t)=>ys(ys({},e),t)),{}),o=ys(ys({},n),{},{fields:ys(ys({},n.fields),{},{file:i})});return Ts(e,t,o)})).catch(vn)};async function Es(e,t,{resolve:n,reject:a,locale:i,processingCheckWait:o=3e3,processingCheckRetries:r=10,checkCount:s=0}){return bs(e,t).then((c=>{if(c.fields.file[i].url)n(c);else if(s===r){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",a(e)}else s++,setTimeout((()=>Es(e,t,{resolve:n,reject:a,locale:i,checkCount:s,processingCheckWait:o,processingCheckRetries:r})),o)}))}const ks=async(e,t)=>{let{asset:n,locale:a,options:{processingCheckRetries:i,processingCheckWait:o}={}}=t,r=ms(t,us);return To(e,`/spaces/${r.spaceId}/environments/${r.environmentId}/assets/${n.sys.id}/files/${a}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>Es(e,{spaceId:r.spaceId,environmentId:r.environmentId,assetId:n.sys.id},{resolve:t,reject:s,locale:a,processingCheckWait:o,processingCheckRetries:i})))))},Cs=async(e,t)=>{let{asset:n,options:a={}}=t,i=ms(t,ds);const o=Object.keys(n.fields.file||{});let r=n;const s=o.map((t=>ks(e,ys(ys({},i),{},{asset:n,locale:t,options:a})).then((e=>{r=e}))));return Promise.all(s).then((()=>r))};class _s extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const Ds=(e,t,n)=>{const a=n.expiresAt,i=Math.floor(Date.now()/1e3);((e,t,n)=>{if(n=n||{},"number"!=typeof t)throw new _s(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new _s(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new _s(e,`value (${t}) cannot be in the past, current time was ${n.now}`)})("expiresAt",a,{maximum:i+172800,now:i});const o={expiresAt:a};return Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/asset_keys`,o)},Rs=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/actions/${t.bulkActionId}`),zs=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/publish`,n),Ms=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/unpublish`,n),$s=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/validate`,n),Fs=["version"];function qs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Us(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qs(Object(n),!0).forEach((function(t){Ls(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ls(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bs="X-Contentful-Version",Ns="x-contentful-comment-body-format",Ws="x-contentful-parent-entity-reference",Ks="x-contentful-parent-id",Vs=e=>`${Hs(e)}/${e.commentId}`,Hs=e=>{const t="entryId"in e?{spaceId:e.spaceId,environmentId:e.environmentId,parentEntityType:"Entry",parentEntityId:e.entryId}:e,{parentEntityId:n,parentEntityType:a}=t,i=function(e){switch(e){case"ContentType":return"content_types";case"Entry":return"entries";case"Workflow":return"workflows"}}(a),o="parentEntityVersion"in t?`/versions/${t.parentEntityVersion}`:"";return`${(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}`)(t)}/${i}/${n}${o}/comments`},Xs=(e,t)=>jo(e,Vs(t),{headers:"rich-text"===t.bodyFormat?{[Ns]:t.bodyFormat}:{}}),Gs=(e,t)=>jo(e,Hs(t),{params:Ho(t.query),headers:"rich-text"===t.bodyFormat?{[Ns]:t.bodyFormat}:{}}),Js=(e,t,n)=>{const a=Qt(n);return Po(e,Hs(t),a,{headers:Us(Us(Us({},"string"!=typeof n.body?{[Ns]:"rich-text"}:{}),"parentEntityReference"in t&&t.parentEntityReference?{[Ws]:t.parentEntityReference}:{}),t.parentCommentId?{[Ks]:t.parentCommentId}:{})})},Qs=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Vs(t),o,{headers:Us(Us({[Bs]:null!==(i=n.sys.version)&&void 0!==i?i:0},"string"!=typeof n.body?{[Ns]:"rich-text"}:{}),a)})},Ys=(e,t)=>{let{version:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Fs);return So(e,Vs(a),{headers:{[Bs]:n}})},Zs=Gs;function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(n),!0).forEach((function(t){nc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return`/organizations/${e}/taxonomy/concepts`}const ic=(e,t,n)=>Po(e,ac(t.organizationId),n),oc=(e,t,n)=>To(e,`${ac(t.organizationId)}/${t.conceptId}`,n),rc=(e,t,n,a)=>Io(e,`${ac(t.organizationId)}/${t.conceptId}`,n,{headers:tc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),sc=(e,t,n,a)=>Io(e,`${ac(t.organizationId)}/${t.conceptId}`,n,{headers:tc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),cc=(e,t,n,a)=>To(e,`${ac(t.organizationId)}/${t.conceptId}`,n,{headers:tc({"X-Contentful-Version":t.version},a)}),pc=(e,t)=>jo(e,`${ac(t.organizationId)}/${t.conceptId}`),lc=(e,t,n)=>{var a;return So(e,`${ac(t.organizationId)}/${t.conceptId}`,{headers:tc({"X-Contentful-Version":null!==(a=t.version)&&void 0!==a?a:0},n)})},uc=(e,t)=>{const{url:n,queryParams:a}=yc("",t);return jo(e,n,{params:a})},dc=(e,t)=>{const{url:n,queryParams:a}=yc(`/${t.conceptId}/descendants`,t);return jo(e,n,{params:a})},mc=(e,t)=>{const{url:n,queryParams:a}=yc(`/${t.conceptId}/ancestors`,t);return jo(e,n,{params:a})},fc=(e,t)=>jo(e,`${ac(t.organizationId)}/total`);function yc(e,t){var n,a;return null!==(n=t.query)&&void 0!==n&&n.pageUrl?{url:null===(a=t.query)||void 0===a?void 0:a.pageUrl,queryParams:{}}:{url:`${ac(t.organizationId)}${e}`,queryParams:t.query||{}}}function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function bc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vc(Object(n),!0).forEach((function(t){hc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gc(e){return`/organizations/${e}/taxonomy/concept-schemes`}const xc=(e,t)=>jo(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`),wc=(e,t,n)=>So(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,{headers:bc({"X-Contentful-Version":t.version},n)}),Oc=(e,t)=>{var n,a,i;return jo(e,null!==(n=null===(a=t.query)||void 0===a?void 0:a.pageUrl)&&void 0!==n?n:gc(t.organizationId),{params:null!==(i=t.query)&&void 0!==i&&i.pageUrl?{}:t.query})},jc=(e,t)=>jo(e,`${gc(t.organizationId)}/total`),Ic=(e,t,n)=>Po(e,gc(t.organizationId),n),Pc=(e,t,n)=>To(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n),Tc=(e,t,n,a)=>Io(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:bc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),Sc=(e,t,n,a)=>Io(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:bc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),Ac=(e,t,n,a)=>To(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:bc({"X-Contentful-Version":t.version},a)});function Ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ec(Object(n),!0).forEach((function(t){Cc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _c=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types`,Dc=e=>_c(e)+`/${e.contentTypeId}`,Rc=(e,t,n)=>jo(e,Dc(t),{params:Ho(t.query),headers:n}),zc=(e,t,n)=>jo(e,_c(t),{params:t.query,headers:n}),Mc=(e,t,n,a)=>{const i=Qt(n);return Po(e,_c(t),i,{headers:a})},$c=(e,t,n,a)=>{const i=Qt(n);return To(e,Dc(t),i,{headers:a})},Fc=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Dc(t),o,{headers:kc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},qc=(e,t,n)=>So(e,Dc(t),{headers:n}),Uc=(e,t,n,a)=>To(e,Dc(t)+"/published",null,{headers:kc({"X-Contentful-Version":n.sys.version},a)}),Lc=(e,t,n)=>So(e,Dc(t)+"/published",{headers:n});function Bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bc(Object(n),!0).forEach((function(t){Wc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kc=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/editor_interface`,Vc=(e,t)=>jo(e,Kc(t)),Hc=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/editor_interfaces`),Xc=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Kc(t),o,{headers:Nc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})};function Gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Jc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gc(Object(n),!0).forEach((function(t){Qc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Yc=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,{params:Ho(t.query),headers:Jc({},a)}),Zc=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/entries`,{params:Ho(t.query),headers:Jc({},a)}),ep=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,{params:Ho(t.query),headers:Jc({},a)}),tp=(e,t,n,a)=>Io(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,n,{headers:Jc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),np=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,o,{headers:Jc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ap=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`),ip=(e,t,n)=>{var a;const i=null!==(a=t.locales)&&void 0!==a&&a.length?{add:{fields:{"*":t.locales}}}:null;return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,i,{headers:{"X-Contentful-Version":n.sys.version}})},op=(e,t,n)=>{var a;if(null!==(a=t.locales)&&void 0!==a&&a.length){const a={remove:{fields:{"*":t.locales}}};return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,a,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`)},rp=(e,t)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),sp=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),cp=(e,t,n)=>{const a=Qt(n);return Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},pp=(e,t,n)=>{const a=Qt(n);return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},lp=(e,t)=>{const{spaceId:n,environmentId:a,entryId:i,include:o}=t;return jo(e,`/spaces/${n}/environments/${a}/entries/${i}/references?include=${o||2}`)};function up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?up(Object(n),!0).forEach((function(t){mp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):up(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fp=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),yp=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments`,{params:t.query}),vp=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,o,{headers:dp(dp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},bp=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),hp=(e,t,n,a)=>{const i=Qt(n);return Po(e,`/spaces/${t.spaceId}/environments`,i,{headers:a})},gp=(e,t,n,a)=>{const i=Qt(n);return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,i,{headers:dp(dp({},a),t.sourceEnvironmentId?{"X-Contentful-Source-Environment":t.sourceEnvironmentId}:{})})};function xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function wp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xp(Object(n),!0).forEach((function(t){Op(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Op(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jp=e=>`/spaces/${e.spaceId}/environment_aliases`,Ip=e=>jp(e)+`/${e.environmentAliasId}`,Pp=(e,t)=>jo(e,Ip(t)),Tp=(e,t)=>jo(e,jp(t),{params:t.query}),Sp=(e,t,n,a)=>{const i=Qt(n);return To(e,Ip(t),i,{headers:a})},Ap=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Ip(t),o,{headers:wp(wp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Ep=(e,t)=>So(e,Ip(t));function kp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kp(Object(n),!0).forEach((function(t){_p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _p(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Dp=(e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"),Rp=(e,{organizationId:t,environmentTemplateId:n,version:a,query:i={}},o)=>jo(e,a?Dp(t,n,"versions",a):Dp(t,n),{params:i,headers:o}),zp=(e,{organizationId:t,query:n={}},a)=>jo(e,Dp(t),{params:n,headers:a}),Mp=(e,{organizationId:t},n,a)=>Po(e,Dp(t),n,{headers:a}),$p=(e,{organizationId:t,environmentTemplateId:n},a,i)=>{var o;const r=Qt(a);return delete r.sys,To(e,Dp(t,n),r,{headers:Cp({"X-Contentful-Version":null!==(o=a.sys.version)&&void 0!==o?o:0},i)})},Fp=(e,{organizationId:t,version:n,environmentTemplateId:a},i,o)=>Io(e,Dp(t,a,"versions",n),i,{headers:o}),qp=(e,{organizationId:t,environmentTemplateId:n},a)=>So(e,Dp(t,n),{headers:a}),Up=(e,{organizationId:t,environmentTemplateId:n,query:a={}},i)=>jo(e,Dp(t,n,"versions"),{params:a,headers:i}),Lp=(e,{spaceId:t,environmentId:n,environmentTemplateId:a,version:i},o,r)=>To(e,i?`/spaces/${t}/environments/${n}/template_installations/${a}/versions/${i}/validated`:`/spaces/${t}/environments/${n}/template_installations/${a}/validated`,o,{headers:r}),Bp=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i,o)=>Po(e,`/spaces/${t}/environments/${n}/template_installations/${a}/versions`,i,{headers:o}),Np=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i)=>So(e,`/spaces/${t}/environments/${n}/template_installations/${a}`,{headers:i}),Wp=["organizationId","environmentTemplateId","spaceId","environmentId"],Kp=["spaceId","environmentId","environmentTemplateId","installationId"];function Vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vp(Object(n),!0).forEach((function(t){Xp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gp(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const Jp=(e,t,n)=>{let{organizationId:a,environmentTemplateId:i,spaceId:o,environmentId:r}=t,s=Gp(t,Wp);return jo(e,((e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"))(a,i,"template_installations"),{params:Hp(Hp(Hp({},s),r&&{"environment.sys.id":r}),o&&{"space.sys.id":o}),headers:n})},Qp=(e,t,n)=>{let{spaceId:a,environmentId:i,environmentTemplateId:o,installationId:r}=t,s=Gp(t,Kp);return jo(e,`/spaces/${a}/environments/${i}/template_installations/${o}`,{params:Hp(Hp({},r&&{"sys.id":r}),s),headers:n})};function Yp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yp(Object(n),!0).forEach((function(t){el(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function el(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const tl=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/extensions`,nl=e=>tl(e)+`/${e.extensionId}`,al=(e,t)=>jo(e,nl(t),{params:Ho(t.query)}),il=(e,t)=>jo(e,tl(t),{params:Ho(t.query)}),ol=(e,t,n,a)=>Po(e,tl(t),n,{headers:a}),rl=(e,t,n,a)=>{const i=Qt(n);return To(e,nl(t),i,{headers:a})},sl=async(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,nl(t),o,{headers:Zp({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},cl=(e,t)=>So(e,nl(t)),pl=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/functions`,ll=(e,t)=>jo(e,(e=>`${pl(e)}/${e.functionId}`)(t)),ul=(e,t)=>jo(e,pl(t),{params:t.query}),dl=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions`)(t),{params:t.query});function ml(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function fl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(n),!0).forEach((function(t){yl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ml(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vl={"x-contentful-enable-alpha-feature":"function-logs"},bl=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs/${e.logId}`)(t),{headers:fl({},vl)}),hl=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs`)(t),{params:t.query,headers:fl({},vl)}),gl=(e,{url:t,config:n})=>jo(e,t,n),xl=(e,{url:t,config:n},a)=>Po(e,t,a,n),wl=(e,{url:t,config:n},a)=>To(e,t,a,n),Ol=(e,{url:t,config:n},a)=>Io(e,t,a,n),jl=(e,{url:t,config:n})=>So(e,t,n),Il=(e,{url:t,config:n})=>function(e,t,n){return e(t,xo({baseURL:Oo(e)},n)).then((e=>e.data),vn)}(e,t,n);function Pl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Tl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pl(Object(n),!0).forEach((function(t){Sl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Al=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),El=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,{params:Ho(t.query)}),kl=(e,t,n,a)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,n,{headers:a}),Cl=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,delete o.default,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`,o,{headers:Tl(Tl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},_l=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Dl=(e,t)=>jo(e,"/organizations",{params:null==t?void 0:t.query}),Rl=(e,t)=>Dl(e,{query:{limit:100}}).then((e=>{const n=e.items.find((e=>e.sys.id===t.organizationId));if(!n){const n=new Error(`No organization was found with the ID ${t.organizationId} instead got ${JSON.stringify(e)}`);return n.status=404,n.statusText="Not Found",Promise.reject(n)}return n}));function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ml(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(n),!0).forEach((function(t){$l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $l(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Fl={"x-contentful-enable-alpha-feature":"organization-user-management-api"},ql={"x-contentful-enable-alpha-feature":"pending-org-membership"},Ul=(e,t,n,a)=>Po(e,`/organizations/${t.organizationId}/invitations`,n,{headers:Ml(Ml({},ql),a)}),Ll=(e,t,n)=>jo(e,`/organizations/${t.organizationId}/invitations/${t.invitationId}`,{headers:Ml(Ml({},Fl),n)});function Bl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bl(Object(n),!0).forEach((function(t){Wl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kl=e=>`/organizations/${e.organizationId}/organization_memberships`,Vl=e=>`${Kl(e)}/${e.organizationMembershipId}`,Hl=(e,t)=>jo(e,Vl(t)),Xl=(e,t)=>jo(e,Kl(t),{params:t.query}),Gl=(e,t,n,a)=>{var i;const o=Qt(n);delete o.sys;const{role:r}=o;return To(e,Vl(t),{role:r},{headers:Nl(Nl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Jl=(e,t)=>So(e,Vl(t)),Ql=(e,t)=>jo(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),Yl=(e,t)=>jo(e,`/users/${t.userId}/oauth_applications`,{params:t.query}),Zl=(e,t,n,a)=>Po(e,`/users/${t.userId}/oauth_applications`,n,{headers:a}),eu=(e,t,n,a)=>To(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`,n,{headers:a}),tu=(e,t)=>So(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),nu=(e,t)=>jo(e,`/users/me/access_tokens/${t.tokenId}`),au=(e,t)=>jo(e,"/users/me/access_tokens",{params:t.query}),iu=(e,t,n,a)=>Po(e,"/users/me/access_tokens",n,{headers:a}),ou=(e,t)=>To(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),ru=(e,t)=>jo(e,`/spaces/${t.spaceId}/preview_api_keys/${t.previewApiKeyId}`),su=(e,t)=>jo(e,`/spaces/${t.spaceId}/preview_api_keys`,{params:t.query});function cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cu(Object(n),!0).forEach((function(t){lu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const uu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),du=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,{params:t.query}),mu=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,n),fu=(e,t,n,a)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`,n,{headers:pu({"X-Contentful-Version":t.version},a)}),yu=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),vu=(e,t,n)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,null,{headers:pu({"X-Contentful-Version":t.version},n)}),bu=(e,t,n)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,{headers:pu({"X-Contentful-Version":t.version},n)}),hu=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/validate`,n),gu=(e,t)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,null,{headers:{"X-Contentful-Version":t.version}}),xu=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,{headers:{"X-Contentful-Version":t.version}});function wu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(n),!0).forEach((function(t){ju(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ju(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Iu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/actions/${t.actionId}`),Pu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:t.query}),Tu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:Ou({"sys.release.sys.id[in]":t.releaseId},t.query)}),Su=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types/${e.resourceTypeId}/resources`)(t),{params:t.query}),Au=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider`,Eu=(e,t)=>jo(e,Au(t)),ku=(e,t,n,a)=>To(e,Au(t),n,{headers:a}),Cu=(e,t)=>So(e,Au(t)),_u=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider/resource_types`,Du=e=>`${_u(e)}/${e.resourceTypeId}`,Ru=(e,t)=>jo(e,Du(t)),zu=(e,t,n,a)=>{const i=Qt(n);return To(e,Du(t),i,{headers:a})},Mu=(e,t)=>So(e,Du(t)),$u=(e,t)=>jo(e,_u(t)),Fu=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types`)(t));function qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){Lu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bu=(e,t)=>jo(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Nu=(e,t)=>jo(e,`/spaces/${t.spaceId}/roles`,{params:Ho(t.query)}),Wu=(e,t)=>jo(e,`/organizations/${t.organizationId}/roles`,{params:Ho(t.query)}),Ku=(e,t,n,a)=>Po(e,`/spaces/${t.spaceId}/roles`,n,{headers:a}),Vu=(e,t,n,a)=>To(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,n,{headers:a}),Hu=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,o,{headers:Uu(Uu({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Xu=(e,t)=>So(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Gu=(e,t)=>jo(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),Ju=(e,t)=>jo(e,`/spaces/${t.spaceId}/scheduled_actions`,{params:Ho(t.query)}),Qu=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/scheduled_actions`,n),Yu=(e,t)=>So(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),Zu=(e,t,n)=>{var a;return To(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,n,{params:{"environment.sys.id":null===(a=n.environment)||void 0===a?void 0:a.sys.id},headers:{"X-Contentful-Version":t.version}})},ed=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/snapshots`,td=(e,t)=>jo(e,ed(t),{params:Ho(t.query)}),nd=(e,t)=>jo(e,(e=>ed(e)+`/${e.snapshotId}`)(t)),ad=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/snapshots`,id=(e,t)=>jo(e,ad(t),{params:Ho(t.query)}),od=(e,t)=>jo(e,(e=>ad(e)+`/${e.snapshotId}`)(t));function rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rd(Object(n),!0).forEach((function(t){cd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pd=(e,t)=>jo(e,`/spaces/${t.spaceId}`),ld=(e,t)=>jo(e,"/spaces",{params:t.query}),ud=(e,t)=>jo(e,`/organizations/${t.organizationId}/spaces`,{params:t.query}),dd=(e,t,n,a)=>Po(e,"/spaces",n,{headers:t.organizationId?sd(sd({},a),{},{"X-Contentful-Organization":t.organizationId}):a}),md=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}`,o,{headers:sd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},fd=(e,t)=>So(e,`/spaces/${t.spaceId}`),yd=(e,t)=>jo(e,`/spaces/${t.spaceId}/space_members/${t.spaceMemberId}`),vd=(e,t)=>jo(e,`/spaces/${t.spaceId}/space_members`,{params:t.query});function bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function hd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bd(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xd(){console.warn("The user attribute in the space membership root is deprecated. The attribute has been moved inside the sys object (i.e. sys.user)")}const wd=e=>`/spaces/${e.spaceId}/space_memberships`,Od=e=>`${wd(e)}/${e.spaceMembershipId}`,jd=(e,t)=>(xd(),jo(e,Od(t))),Id=(e,t)=>(xd(),jo(e,wd(t),{params:t.query})),Pd=(e,t)=>jo(e,`/organizations/${t.organizationId}/space_memberships/${t.spaceMembershipId}`),Td=(e,t)=>jo(e,`/organizations/${t.organizationId}/space_memberships`,{params:t.query}),Sd=(e,t,n,a)=>(xd(),Po(e,wd(t),n,{headers:a})),Ad=(e,t,n,a)=>(xd(),To(e,Od(t),n,{headers:a})),Ed=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Od(t),o,{headers:hd(hd({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},kd=(e,t)=>So(e,Od(t)),Cd=["version"];function _d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Dd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_d(Object(n),!0).forEach((function(t){Rd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zd=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/tags`,Md=e=>zd(e)+`/${e.tagId}`,$d=(e,t)=>jo(e,Md(t)),Fd=(e,t)=>jo(e,zd(t),{params:t.query}),qd=(e,t,n)=>{var a;const i=Qt(n);return To(e,Md(t),i,{headers:{"X-Contentful-Tag-Visibility":null!==(a=n.sys.visibility)&&void 0!==a?a:"private"}})},Ud=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Md(t),o,{headers:Dd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Ld=(e,t)=>{let{version:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Cd);return So(e,Md(a),{headers:{"X-Contentful-Version":n}})},Bd=["version"];function Nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Wd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nd(Object(n),!0).forEach((function(t){Kd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Vd=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/tasks`,Hd=e=>`${Vd(e)}/${e.taskId}`,Xd=(e,t)=>jo(e,Hd(t)),Gd=(e,t)=>jo(e,Vd(t),{params:Ho(t.query)}),Jd=Gd,Qd=(e,t,n)=>{const a=Qt(n);return Po(e,Vd(t),a)},Yd=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Hd(t),o,{headers:Wd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Zd=(e,t)=>{let{version:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Bd);return So(e,Hd(a),{headers:{"X-Contentful-Version":n}})};function em(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function tm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?em(Object(n),!0).forEach((function(t){nm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):em(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const am=e=>`/organizations/${e.organizationId}/teams`,im=e=>`${am(e)}/${e.teamId}`,om=(e,t)=>jo(e,im(t)),rm=(e,t)=>jo(e,am(t),{params:Ho(t.query)}),sm=(e,t)=>jo(e,`/spaces/${t.spaceId}/teams`,{params:Ho(t.query)}),cm=(e,t,n,a)=>Po(e,am(t),n,{headers:a}),pm=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,im(t),o,{headers:tm({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},lm=(e,t)=>So(e,im(t));function um(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?um(Object(n),!0).forEach((function(t){mm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fm=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships`,ym=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships/${e.teamMembershipId}`,vm=(e,t)=>jo(e,ym(t)),bm=(e,t)=>jo(e,`/organizations/${t.organizationId}/team_memberships`,{params:Ho(t.query)}),hm=(e,t)=>jo(e,fm(t),{params:Ho(t.query)}),gm=(e,t,n,a)=>Po(e,fm(t),n,{headers:a}),xm=(e,t,n,a)=>{const i=Qt(n);return delete i.sys,To(e,ym(t),i,{headers:dm({"X-Contentful-Version":n.sys.version||0},a)})},wm=(e,t)=>So(e,ym(t));function Om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Om(Object(n),!0).forEach((function(t){Im(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Om(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Im(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pm=e=>`/spaces/${e.spaceId}/team_space_memberships`,Tm=e=>`${Pm(e)}/${e.teamSpaceMembershipId}`,Sm=(e,t)=>jo(e,Tm(t)),Am=(e,t)=>jo(e,Pm(t),{params:t.query}),Em=(e,t)=>jo(e,`/organizations/${t.organizationId}/team_space_memberships/${t.teamSpaceMembershipId}`),km=(e,t)=>{const n=t.query||{};return t.teamId&&(n["sys.team.sys.id"]=t.teamId),jo(e,`/organizations/${t.organizationId}/team_space_memberships`,{params:t.query})},Cm=(e,t,n,a)=>Po(e,Pm(t),n,{headers:jm({"x-contentful-team":t.teamId},a)}),_m=(e,t,n,a)=>{const i=Qt(n);return delete i.sys,To(e,Tm(t),i,{headers:jm({"X-Contentful-Version":n.sys.version||0,"x-contentful-team":n.sys.team.sys.id},a)})},Dm=(e,t)=>So(e,Tm(t)),Rm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config`,zm=(e,t)=>jo(e,Rm(t)),Mm=(e,t,n)=>{var a;const i=Qt(n);return delete i.sys,To(e,Rm(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},$m=(e,t)=>{const n=es(e),a=(e=>{var t;return`/spaces/${e.spaceId}/environments/${null!==(t=e.environmentId)&&void 0!==t?t:"master"}/upload_credentials`})(t);return Po(n,a)},Fm=(e,t)=>jo(e,`/organizations/${t.organizationId}/space_periodic_usages`,{params:t.query}),qm=(e,t)=>jo(e,`/organizations/${t.organizationId}/organization_periodic_usages`,{params:t.query}),Um=(e,t)=>jo(e,`/spaces/${t.spaceId}/users/${t.userId}`),Lm=(e,t)=>jo(e,"/users/me",{params:null==t?void 0:t.query}),Bm=(e,t)=>jo(e,`/spaces/${t.spaceId}/users`,{params:t.query}),Nm=(e,t)=>jo(e,`/organizations/${t.organizationId}/users/${t.userId}`),Wm=(e,t)=>jo(e,`/organizations/${t.organizationId}/users`,{params:t.query}),Km=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config/me`,Vm=(e,t)=>jo(e,Km(t)),Hm=(e,t,n)=>{var a;const i=Qt(n);return delete i.sys,To(e,Km(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})};function Xm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Gm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xm(Object(n),!0).forEach((function(t){Jm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qm=e=>`/spaces/${e.spaceId}/webhook_definitions`,Ym=e=>`/spaces/${e.spaceId}/webhooks`,Zm=e=>`${Qm(e)}/${e.webhookDefinitionId}`,ef=e=>`/spaces/${e.spaceId}/webhook_settings`,tf=e=>`${ef(e)}/signing_secret`,nf=e=>`${ef(e)}/retry_policy`,af=(e,t)=>jo(e,Zm(t)),of=(e,t)=>jo(e,(e=>`${Ym(e)}/${e.webhookDefinitionId}/calls`)(t),{params:Ho(t.query)}),rf=(e,t)=>jo(e,(e=>`${Ym(e)}/${e.webhookDefinitionId}/calls/${e.callId}`)(t)),sf=(e,t)=>jo(e,(e=>`${Ym(e)}/${e.webhookDefinitionId}/health`)(t)),cf=(e,t)=>jo(e,Qm(t),{params:Ho(t.query)}),pf=(e,t)=>jo(e,tf(t)),lf=(e,t)=>jo(e,nf(t)),uf=(e,t,n,a)=>{const i=Qt(n);return Po(e,Qm(t),i,{headers:a})},df=(e,t,n,a)=>{const i=Qt(n);return To(e,Zm(t),i,{headers:a})},mf=async(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Zm(t),o,{headers:Gm({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ff=async(e,t,n)=>{const a=Qt(n);return To(e,tf(t),a)},yf=async(e,t,n)=>{const a=Qt(n);return To(e,nf(t),a)},vf=(e,t)=>So(e,Zm(t)),bf=async(e,t)=>So(e,tf(t)),hf=async(e,t)=>So(e,nf(t)),gf=["version"],xf=["version"];function wf(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Of(Object(n),!0).forEach((function(t){If(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function If(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows`,Tf=e=>`${Pf(e)}/${e.workflowId}`,Sf=(e,t,n)=>jo(e,Pf(t),{headers:n,params:t.query}),Af=(e,t,n)=>jo(e,Tf(t),{headers:n}),Ef=(e,t,n,a)=>{const i=Qt(n);return Po(e,Pf(t),i,{headers:a})},kf=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Tf(t),o,{headers:jf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Cf=(e,t,n)=>{let{version:a}=t,i=wf(t,gf);return So(e,Tf(i),{headers:jf({"X-Contentful-Version":a},n)})},_f=(e,t,n)=>{let{version:a}=t;return To(e,(i=wf(t,xf),`${Tf(i)}/complete`),null,{headers:jf({"X-Contentful-Version":a},n)});var i},Df=["version"];function Rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function zf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rf(Object(n),!0).forEach((function(t){Mf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $f=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflow_definitions`,Ff=e=>`${$f(e)}/${e.workflowDefinitionId}`,qf=(e,t,n)=>jo(e,Ff(t),{headers:n}),Uf=(e,t,n)=>jo(e,$f(t),{headers:n,params:t.query}),Lf=(e,t,n,a)=>{const i=Qt(n);return Po(e,$f(t),i,{headers:a})},Bf=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Ff(t),o,{headers:zf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Nf=(e,t,n)=>{let{version:a}=t,i=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Df);return So(e,Ff(i),{headers:zf({"X-Contentful-Version":a},n)})},Wf=(e,t,n)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows_changelog`)(t),{headers:n,params:t.query}),Kf={ApiKey:i,AppAction:r,AppActionCall:s,AppBundle:c,AppDefinition:p,AppInstallation:d,AppUpload:v,AppSignedRequest:f,AppSigningSecret:y,AppEventSubscription:u,AppKey:m,AppAccessToken:o,AppDetails:l,Asset:h,AssetKey:g,BulkAction:x,Comment:w,Concept:O,ConceptScheme:j,ContentType:I,EditorInterface:P,Entry:T,Environment:S,EnvironmentAlias:A,EnvironmentTemplate:E,EnvironmentTemplateInstallation:k,Extension:C,Function:_,FunctionLog:D,Http:R,Locale:z,Organization:M,OrganizationInvitation:$,OrganizationMembership:F,OAuthApplication:q,PersonalAccessToken:U,AccessToken:t,PreviewApiKey:L,Release:B,ReleaseAction:N,Resource:W,ResourceProvider:K,ResourceType:V,Role:H,ScheduledAction:X,Snapshot:G,Space:J,SpaceMember:Q,SpaceMembership:Y,Tag:Z,Task:ee,Team:te,TeamMembership:ne,TeamSpaceMembership:ae,UIConfig:ie,Upload:b,UploadCredential:oe,Usage:re,User:se,UserUIConfig:ce,Webhook:pe,WorkflowDefinition:ue,Workflow:le,WorkflowsChangelog:de};function Vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vf(Object(n),!0).forEach((function(t){Xf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gf=async({axiosInstance:e,entityType:t,action:n,params:a,payload:i,headers:o,userAgent:r})=>{var s;const c=null===(s=Kf[t])||void 0===s?void 0:s["delete"===n?"del":n];if(void 0===c)throw new Error("Unknown endpoint");return await c(e,a,i,Hf(Hf({},o),r?{"X-Contentful-User-Agent":r}:{}))};function Jf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Qf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jf(Object(n),!0).forEach((function(t){Yf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zf={defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"};class ey{constructor(e){if(Yf(this,"params",void 0),Yf(this,"axiosInstance",void 0),!e.accessToken)throw new TypeError("Expected parameter accessToken");const t=Qt(e);t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,this.params=Qf(Qf({},Zf),t),this.axiosInstance=pn(ho,Qf(Qf({},this.params),{},{headers:Qf(Qf({"Content-Type":"application/vnd.contentful.management.v1+json"},e.userAgent?{"X-Contentful-User-Agent":e.userAgent}:{}),this.params.headers)}))}async makeRequest(e){return Gf(Qf(Qf({},e),{},{axiosInstance:this.axiosInstance}))}}function ty(e,t){return Object.keys(t).reduce(((e,n)=>(Object.defineProperty(e,n,{enumerable:!1,configurable:!0,writable:!1,value:t[n]}),e)),e)}function ny(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>{var t,n;return{spaceId:null!==(t=null===(n=e.sys.space)||void 0===n?void 0:n.sys.id)&&void 0!==t?t:"",apiKeyId:e.sys.id}};return{update:function(){return e({entityType:"ApiKey",action:"update",params:t(this),payload:this,headers:{}}).then((t=>ny(e,t)))},delete:function(){return e({entityType:"ApiKey",action:"delete",params:t(this)})}}}(e));return dn(n)}const ay=ar(ny);function iy(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appActionId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:t(n)})}}}(e));return dn(n)}const oy=ar(iy);function ry(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ry(Object(n),!0).forEach((function(t){cy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ry(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function py(e,t){return{createWithResponse:function(){return e({entityType:"AppActionCall",action:"createWithResponse",params:sy({spaceId:"space-id",environmentId:"environment-id",appDefinitionId:"app-definiton-id",appActionId:"app-action-id"},t),payload:{parameters:{recipient:"Alice <alice@my-company.com>",message_body:"Hello from Bob!"}}}).then((t=>uy(e,t)))},getCallDetails:function(){return e({entityType:"AppActionCall",action:"getCallDetails",params:{spaceId:"space-id",environmentId:"environment-id",callId:"call-id",appActionId:"app-action-id"}}).then((t=>uy(e,t)))}}}function ly(e,t){return ty(fn(Qt(t)),py(e))}function uy(e,t,n){return ty(fn(Qt(t)),py(e,n))}function dy(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appBundleId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppBundle",action:"delete",params:t(n)})}}}(e));return dn(n)}const my=ar(dy);function fy(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapAppBundle:t,wrapAppBundleCollection:n}=hh.appBundle,{wrapResourceProvider:a}=hh.resourceProvider,i=e=>({appDefinitionId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"update",params:i(t),headers:{},payload:t}).then((t=>fy(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"delete",params:i(t)})},getAppBundle(n){const a=this.toPlainObject();return e({entityType:"AppBundle",action:"get",params:{appBundleId:n,appDefinitionId:a.sys.id,organizationId:a.sys.organization.sys.id}}).then((n=>t(e,n)))},getAppBundles(t={}){const a=this.toPlainObject();return e({entityType:"AppBundle",action:"getMany",params:{organizationId:a.sys.organization.sys.id,appDefinitionId:a.sys.id,query:t}}).then((t=>n(e,t)))},createAppBundle(n){const a=this.toPlainObject();return e({entityType:"AppBundle",action:"create",params:{appDefinitionId:a.sys.id,organizationId:a.sys.organization.sys.id},payload:n}).then((n=>t(e,n)))},getInstallationsForOrg(t={}){const n=this.toPlainObject();return e({entityType:"AppDefinition",action:"getInstallationsForOrg",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id,query:t}})},upsertResourceProvider(t){const n=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id},payload:t}).then((t=>a(e,t)))},getResourceProvider(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"get",params:{appDefinitionId:t.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>a(e,t)))}}}(e));return dn(n)}const yy=ar(fy);function vy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppDetails",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function by(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,appDefinitionId:e.sys.appDefinition.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:t(n),headers:{},payload:n}).then((t=>by(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"delete",params:t(n)})}}}(e));return dn(n)}const hy=ar(by);function gy(e,t){return fn(Qt(t))}function xy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function wy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Oy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppKey",action:"delete",params:(t=this,{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,fingerprint:t.sys.id})});var t}}}(e))}const jy=ar(Oy);function Iy(e,t){return dn(fn(Qt(t)))}function Py(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appUploadId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"delete",params:t(n)})}}}(e));return dn(n)}const Ty=ar(Py),Sy=e=>!!e.sys.publishedVersion,Ay=e=>!!(e.sys.publishedVersion&&e.sys.version>e.sys.publishedVersion+1),Ey=e=>!e.sys.publishedVersion,ky=e=>!!e.sys.archivedVersion;function Cy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cy(Object(n),!0).forEach((function(t){Dy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ry(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,assetId:e.sys.id});return{processForLocale:function(n,a){const i=this.toPlainObject();return e({entityType:"Asset",action:"processForLocale",params:_y(_y({},t(i)),{},{locale:n,options:a,asset:i})}).then((t=>Ry(e,t)))},processForAllLocales:function(n){const a=this.toPlainObject();return e({entityType:"Asset",action:"processForAllLocales",params:_y(_y({},t(a)),{},{asset:a,options:n})}).then((t=>Ry(e,t)))},update:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"update",params:t(n),payload:n,headers:{}}).then((t=>Ry(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"delete",params:t(n)})},publish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"publish",params:t(n),payload:n}).then((t=>Ry(e,t)))},unpublish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unpublish",params:t(n)}).then((t=>Ry(e,t)))},archive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"archive",params:t(n)}).then((t=>Ry(e,t)))},unarchive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unarchive",params:t(n)}).then((t=>Ry(e,t)))},isPublished:function(){const e=this.toPlainObject();return Sy(e)},isUpdated:function(){const e=this.toPlainObject();return Ay(e)},isDraft:function(){const e=this.toPlainObject();return Ey(e)},isArchived:function(){const e=this.toPlainObject();return ky(e)}}}(e));return dn(n)}const zy=ar(Ry);function My(e,t){return fn(Qt(t))}function $y(e){return new Promise((t=>setTimeout(t,e)))}const Fy=30,qy=1e3,Uy=2e3;class Ly extends Error{constructor(e,t){var n,a,i;super(e),n=this,i=void 0,(a=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(a="action"))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,this.action=t,this.name=this.constructor.name}}class By extends Ly{}async function Ny(e,t){var n,a,i,o,r;let s,c=0,p=!1;const l=null!==(n=null==t?void 0:t.retryCount)&&void 0!==n?n:Fy,u=null!==(a=null==t?void 0:t.retryIntervalMs)&&void 0!==a?a:Uy,d=null!==(i=null==t?void 0:t.initialDelayMs)&&void 0!==i?i:qy,m=null===(o=null==t?void 0:t.throwOnFailedExecution)||void 0===o||o;for(await $y(d);c<l&&!p;){if(s=await e(),s&&["succeeded","failed"].includes(s.sys.status)){if(p=!0,"failed"===s.sys.status&&m)throw new By(`${s.sys.type} failed to execute.`,s);return s}await $y(u),c+=1}throw new Ly(`${null===(r=s)||void 0===r?void 0:r.sys.type} didn't finish processing within the expected timeframe.`,s)}let Wy=function(e){return e.created="created",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e}({});function Ky(e,t){const n=ty(fn(Qt(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,bulkActionId:e.sys.id}})();return e({entityType:"BulkAction",action:"get",params:t}).then((t=>Ky(e,t)))},async waitProcessing(e){return Ny((async()=>this.get()),e)}}}(e));return dn(n)}function Vy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vy(Object(n),!0).forEach((function(t){Xy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.values(Wy);let Gy=function(e){return e.Document="document",e.Paragraph="paragraph",e.Mention="mention",e}({});function Jy(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,commentId:e.sys.id});return{update:async function(){const n=this.toPlainObject(),a=await e({entityType:"Comment",action:"update",params:t(n),payload:n});return Qy(e,a)},delete:async function(){const n=this.toPlainObject();await e({entityType:"Comment",action:"delete",params:Hy(Hy({},t(n)),{},{version:n.sys.version})})}}}function Qy(e,t){return dn(ty(fn(Qt(t)),Jy(e)))}const Yy=ar(Qy);function Zy(e,t){const n=ty(fn(Qt(t)),function(e){return{update:function(){const t=this,n=t.toPlainObject();return e({entityType:"EditorInterface",action:"update",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.contentType.sys.id},payload:n}).then((t=>Zy(e,t)))},getControlForField:function(e){const t=(this.controls||[]).filter((t=>t.fieldId===e));return t&&t.length>0?t[0]:null}}}(e));return dn(n)}const ev=ar(Zy);function tv(e,t){return dn(ty(fn(Qt(t)),{}))}const nv=ar(tv),av=["fieldId"],iv=function(e,t,n){const a=e.fields.find((e=>e.id===t));return a?(a[n]=!0,Promise.resolve(e)):Promise.reject(new Error(`Tried to omitAndDeleteField on a nonexistent field, ${t}, on the content type ${e.name}.`))},ov=(e,t,n)=>{let{fieldId:a}=t,i=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,av);return iv(n,a,"omitted").then((t=>e({entityType:"ContentType",action:"update",params:i,payload:t}))).then((t=>e({entityType:"ContentType",action:"publish",params:i,payload:t}))).then((e=>iv(e,a,"deleted"))).then((t=>e({entityType:"ContentType",action:"update",params:i,payload:t})))};function rv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rv(Object(n),!0).forEach((function(t){cv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>{const t=e.toPlainObject();return{raw:t,params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.id}}};return{update:function(){const{raw:n,params:a}=t(this);return e({entityType:"ContentType",action:"update",params:a,payload:n}).then((t=>pv(e,t)))},delete:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"delete",params:n}).then((()=>{}))},publish:function(){const{raw:n,params:a}=t(this);return e({entityType:"ContentType",action:"publish",params:a,payload:n}).then((t=>pv(e,t)))},unpublish:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"unpublish",params:n}).then((t=>pv(e,t)))},getEditorInterface:function(){const{params:n}=t(this);return e({entityType:"EditorInterface",action:"get",params:n}).then((t=>Zy(e,t)))},getSnapshots:function(n={}){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getManyForContentType",params:sv(sv({},a),{},{query:n})}).then((t=>nv(e,t)))},getSnapshot:function(n){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getForContentType",params:sv(sv({},a),{},{snapshotId:n})}).then((e=>tv(0,e)))},isPublished:function(){return Sy(this)},isUpdated:function(){return Ay(this)},isDraft:function(){return Ey(this)},omitAndDeleteField:function(n){const{raw:a,params:i}=t(this);return ov(e,sv(sv({},i),{},{fieldId:n}),a).then((t=>pv(e,t)))}}}(e));return dn(n)}const lv=ar(pv);function uv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uv(Object(n),!0).forEach((function(t){mv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fv(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapEntry:t,wrapEntryCollection:n}=hh.entry,{wrapSnapshot:a,wrapSnapshotCollection:i}=hh.snapshot,{wrapTask:o,wrapTaskCollection:r}=hh.task,{wrapComment:s,wrapCommentCollection:c}=hh.comment,p=e=>{const t=e.toPlainObject();return{params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,entryId:t.sys.id},raw:t}};return{update:function(){const{raw:n,params:a}=p(this);return e({entityType:"Entry",action:"update",params:a,payload:n}).then((n=>t(e,n)))},patch:function(n){const{raw:a,params:i}=p(this);return e({entityType:"Entry",action:"patch",params:dv(dv({},i),{},{version:a.sys.version}),payload:n}).then((n=>t(e,n)))},delete:function(){const{params:t}=p(this);return e({entityType:"Entry",action:"delete",params:t})},publish:function(){const{raw:n,params:a}=p(this);return e({entityType:"Entry",action:"publish",params:a,payload:n}).then((n=>t(e,n)))},unpublish:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unpublish",params:n}).then((n=>t(e,n)))},archive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"archive",params:n}).then((n=>t(e,n)))},unarchive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unarchive",params:n}).then((n=>t(e,n)))},getSnapshots:function(t={}){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getManyForEntry",params:dv(dv({},n),{},{query:t})}).then((t=>i(e,t)))},getSnapshot:function(t){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getForEntry",params:dv(dv({},n),{},{snapshotId:t})}).then((t=>a(e,t)))},createComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"create",params:{spaceId:n.spaceId,environmentId:n.environmentId,parentEntityId:n.entryId,parentEntityType:"Entry"},payload:t}).then((t=>s(e,t)))},getComments:function(){const{params:t}=p(this);return e({entityType:"Comment",action:"getMany",params:t}).then((t=>c(e,t)))},getComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"get",params:dv(dv({},n),{},{commentId:t})}).then((t=>s(e,t)))},createTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"create",params:n,payload:t}).then((t=>o(e,t)))},getTasks:function(t={}){const{params:n}=p(this);return e({entityType:"Task",action:"getMany",params:dv(dv({},n),{},{query:t})}).then((t=>r(e,t)))},getTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"get",params:dv(dv({},n),{},{taskId:t})}).then((t=>o(e,t)))},isPublished:function(){const e=this.toPlainObject();return Sy(e)},isUpdated:function(){const e=this.toPlainObject();return Ay(e)},isDraft:function(){const e=this.toPlainObject();return Ey(e)},isArchived:function(){const e=this.toPlainObject();return ky(e)},references:function(t){const a=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.environment.sys.id,entryId:a.sys.id,include:null==t?void 0:t.include}}).then((t=>n(e,t)))}}}(e));return dn(n)}const yv=ar(fv);function vv(e,t){const n=ty(fn(Qt(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,releaseId:e.sys.release.sys.id,actionId:e.sys.id}})();return e({entityType:"ReleaseAction",action:"get",params:t}).then((t=>vv(e,t)))},async waitProcessing(e){return Ny((async()=>this.get()),e)}}}(e));return dn(n)}const bv=ar(vv);let hv=function(e){return e.contentTypeAnnotationNotIn="sys.contentType.metadata.annotations.ContentType[nin]",e}({});const gv=hv;function xv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>{const t=e.toPlainObject();return{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,releaseId:t.sys.id,version:t.sys.version}};return{async archive(){const n=t(this);return e({entityType:"Release",action:"archive",params:n}).then((t=>xv(e,t)))},async unarchive(){const n=t(this);return e({entityType:"Release",action:"unarchive",params:n}).then((t=>xv(e,t)))},async update(n){const a=t(this);return e({entityType:"Release",action:"update",params:a,payload:n}).then((t=>xv(e,t)))},async delete(){const n=t(this);await e({entityType:"Release",action:"delete",params:n})},async publish(n){const a=t(this);return e({entityType:"Release",action:"publish",params:a}).then((t=>vv(e,t))).then((e=>e.waitProcessing(n)))},async unpublish(n){const a=t(this);return e({entityType:"Release",action:"unpublish",params:a}).then((t=>vv(e,t))).then((e=>e.waitProcessing(n)))},async validate(n){const a=t(this);return e({entityType:"Release",action:"validate",params:a,payload:null==n?void 0:n.payload}).then((t=>vv(e,t))).then((e=>e.waitProcessing(null==n?void 0:n.processingOptions)))}}}(e));return dn(n)}const wv=ir(xv);function Ov(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ov(Object(n),!0).forEach((function(t){Iv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ov(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Iv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pv(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,tagId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"update",params:t(n),payload:n}).then((t=>Tv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"delete",params:jv(jv({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Tv(e,t){return dn(ty(fn(Qt(t)),Pv(e)))}const Sv=ar(Tv);function Av(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapUIConfig:t}=hh.uiConfig;return{update:async function(){const{raw:n,params:a}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),i=await e({entityType:"UIConfig",action:"update",params:a,payload:n});return t(e,i)}}}(e));return dn(n)}function Ev(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapUserUIConfig:t}=hh.userUIConfig;return{update:async function(){const{raw:n,params:a}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),i=await e({entityType:"UserUIConfig",action:"update",params:a,payload:n});return t(e,i)}}}(e));return dn(n)}function kv(e,t){return dn(fn(Qt(t)))}const Cv=ir(kv);function _v(e,t){const n=ty(fn(Qt(t)),function(e){return{getFunction:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,functionId:t.sys.id}}).then((t=>_v(e,t)))},getManyFunctions:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{appDefinitionId:t.sys.appDefinition.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>Dv(e,t)))},getManyFunctionsForEnvironment:(t,n,a)=>e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:t,environmentId:n,appInstallationId:a}}).then((t=>Dv(e,t)))}}(e));return dn(n)}const Dv=ar(_v);function Rv(e,t){return dn(fn(Qt(t)))}const zv=ar(Rv),Mv=["installationId"];function $v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$v(Object(n),!0).forEach((function(t){qv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uv(e,t){return dn(ty(fn(Qt(t)),function(e){const{wrapEnvironment:t}=hh.environment,{wrapContentType:n,wrapContentTypeCollection:a}=hh.contentType,{wrapEntry:i,wrapEntryCollection:o}=hh.entry,{wrapAsset:r,wrapAssetCollection:s}=hh.asset,{wrapAssetKey:c}=hh.assetKey,{wrapLocale:p,wrapLocaleCollection:l}=hh.locale,{wrapSnapshotCollection:u}=hh.snapshot,{wrapEditorInterface:d,wrapEditorInterfaceCollection:m}=hh.editorInterface,{wrapUpload:f}=hh.upload,{wrapExtension:y,wrapExtensionCollection:v}=hh.extension,{wrapAppInstallation:b,wrapAppInstallationCollection:h}=hh.appInstallation,{wrapAppSignedRequest:g}=hh.appSignedRequest,{wrapAppActionCall:x}=hh.appActionCall,{wrapBulkAction:w}=hh.bulkAction,{wrapAppAccessToken:O}=hh.appAccessToken,{wrapResourceTypesForEnvironmentCollection:j}=hh.resourceType,{wrapResourceCollection:I}=hh.resource;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Environment",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((()=>{}))},update:function(){const n=this.toPlainObject();return e({entityType:"Environment",action:"update",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:n}).then((n=>t(e,n)))},getEntryFromData:t=>i(e,t),getAssetFromData:t=>r(e,t),getBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,bulkActionId:t}}).then((t=>w(e,t)))},createPublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"publish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>w(e,t)))},createValidateBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"validate",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>w(e,t)))},createUnpublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"unpublish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>w(e,t)))},getContentType(t){const a=this.toPlainObject();return e({entityType:"ContentType",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t}}).then((t=>n(e,t)))},getContentTypes(t={}){const n=this.toPlainObject();return e({entityType:"ContentType",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>a(e,t)))},createContentType(t){const a=this.toPlainObject();return e({entityType:"ContentType",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id},payload:t}).then((t=>n(e,t)))},createContentTypeWithId(t,a){const i=this.toPlainObject();return e({entityType:"ContentType",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t},payload:a}).then((t=>n(e,t)))},getEditorInterfaceForContentType(t){const n=this.toPlainObject();return e({entityType:"EditorInterface",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,contentTypeId:t}}).then((t=>d(e,t)))},getEditorInterfaces(){const t=this.toPlainObject();return e({entityType:"EditorInterface",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>m(e,t)))},getEntry(t,n={}){const a=this.toPlainObject();return e({entityType:"Entry",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:t,query:ln({query:n}).params}}).then((t=>i(e,t)))},deleteEntry(t){const n=this.toPlainObject();return e({entityType:"Entry",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,entryId:t}}).then((()=>{}))},getEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>o(e,t)))},getPublishedEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>o(e,t)))},createEntry(t,n){const a=this.toPlainObject();return e({entityType:"Entry",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t},payload:n}).then((t=>i(e,t)))},createEntryWithId(t,n,a){const o=this.toPlainObject();return e({entityType:"Entry",action:"createWithId",params:{spaceId:o.sys.space.sys.id,environmentId:o.sys.id,entryId:n,contentTypeId:t},payload:a}).then((t=>i(e,t)))},getEntryReferences(t,n){const a=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:t,include:null==n?void 0:n.include}}).then((t=>o(e,t)))},getAsset(t,n={}){const a=this.toPlainObject();return e({entityType:"Asset",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,assetId:t,query:ln({query:n}).params}}).then((t=>r(e,t)))},getAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>s(e,t)))},getPublishedAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>s(e,t)))},createAsset(t){const n=this.toPlainObject();return e({entityType:"Asset",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>r(e,t)))},createAssetWithId(t,n){const a=this.toPlainObject();return e({entityType:"Asset",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,assetId:t},payload:n}).then((t=>r(e,t)))},createAssetFromFiles(t,n){const a=this.toPlainObject();return e({entityType:"Asset",action:"createFromFiles",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,uploadTimeout:null==n?void 0:n.uploadTimeout},payload:t}).then((t=>r(e,t)))},createAssetKey(t){const n=this.toPlainObject();return e({entityType:"AssetKey",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>c(e,t)))},getUpload(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,uploadId:t}}).then((t=>f(e,t)))},createUpload:function(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>f(e,t)))},getLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,localeId:t}}).then((t=>p(e,t)))},getLocales(t={}){const n=this.toPlainObject();return e({entityType:"Locale",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>l(e,t)))},createLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>p(e,t)))},getUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,extensionId:t}}).then((t=>y(e,t)))},getUiExtensions(){const t=this.toPlainObject();return e({entityType:"Extension",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>v(e,t)))},createUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>y(e,t)))},createUiExtensionWithId(t,n){const a=this.toPlainObject();return e({entityType:"Extension",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,extensionId:t},payload:n}).then((t=>y(e,t)))},createAppInstallation(t,n,{acceptAllTerms:a}={}){const i=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t,acceptAllTerms:a},payload:n}).then((t=>b(e,t)))},getAppInstallation(t){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,appDefinitionId:t}}).then((t=>b(e,t)))},getAppInstallations(){const t=this.toPlainObject();return e({entityType:"AppInstallation",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>h(e,t)))},createAppActionCall(t,n,a){const i=this.toPlainObject();return e({entityType:"AppActionCall",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t,appActionId:n},payload:a}).then((t=>x(e,t)))},createAppSignedRequest(t,n){const a=this.toPlainObject();return e({entityType:"AppSignedRequest",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>g(e,t)))},createAppAccessToken(t,n){const a=this.toPlainObject();return e({entityType:"AppAccessToken",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},getFunctionsForEnvironment(t,n){const a=this.toPlainObject();return e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appInstallationId:t,query:n}}).then((t=>Dv(e,t)))},getFunctionLogs(t,n,a){const i=this.toPlainObject();return e({entityType:"FunctionLog",action:"getMany",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appInstallationId:t,functionId:n,query:a?ln({query:a}).params:void 0}}).then((t=>zv(e,t)))},getFunctionLog(t,n,a){const i=this.toPlainObject();return e({entityType:"FunctionLog",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appInstallationId:t,functionId:n,logId:a}}).then((e=>Rv(0,e)))},getEntrySnapshots(t,n={}){const a=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForEntry",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:t,query:n}}).then((t=>u(e,t)))},getContentTypeSnapshots(t,n={}){const a=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForContentType",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t,query:n}}).then((t=>u(e,t)))},createTag(t,n,a){const i=this.toPlainObject();return e({entityType:"Tag",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,tagId:t},payload:{name:n,sys:{visibility:null!=a?a:"private"}}}).then((t=>Tv(e,t)))},getTags(t={}){const n=this.toPlainObject();return e({entityType:"Tag",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>Sv(e,t)))},getTag(t){const n=this.toPlainObject();return e({entityType:"Tag",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,tagId:t}}).then((t=>Tv(e,t)))},getRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}}).then((t=>xv(e,t)))},getReleases(t){const n=this.toPlainObject();return e({entityType:"Release",action:"query",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>wv(e,t)))},createRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>xv(e,t)))},updateRelease({releaseId:t,payload:n,version:a}){const i=this.toPlainObject();return e({entityType:"Release",action:"update",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:a},payload:n}).then((t=>xv(e,t)))},deleteRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}})},publishRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"publish",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>vv(e,t)))},unpublishRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"unpublish",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>vv(e,t)))},validateRelease({releaseId:t,payload:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"validate",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t},payload:n}).then((t=>vv(e,t)))},archiveRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"archive",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>xv(e,t)))},unarchiveRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"unarchive",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>xv(e,t)))},getReleaseAction({actionId:t,releaseId:n}){const a=this.toPlainObject();return e({entityType:"ReleaseAction",action:"get",params:{actionId:t,spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:n}}).then((t=>vv(e,t)))},getReleaseActions({query:t}){const n=this.toPlainObject();return e({entityType:"ReleaseAction",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>bv(e,t)))},async getUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return Av(e,n)},async getUserUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UserUIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return Ev(e,n)},async getEnvironmentTemplateInstallations(t,n={}){let{installationId:a}=n,i=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Mv);const o=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getForEnvironment",params:Fv(Fv({environmentTemplateId:t},a&&{installationId:a}),{},{query:Fv({},ln({query:i}).params),spaceId:o.sys.space.sys.id,environmentId:o.sys.id})}).then((t=>Cv(e,t)))},async getResourceTypes(t){const n=this.toPlainObject();return e({entityType:"ResourceType",action:"getForEnvironment",params:{query:t,spaceId:n.sys.space.sys.id,environmentId:n.sys.id}}).then((t=>j(e,t)))},async getResourcesForResourceType(t,n){const a=this.toPlainObject();return e({entityType:"Resource",action:"getMany",params:{query:n,spaceId:a.sys.space.sys.id,environmentId:a.sys.id,resourceTypeId:t}}).then((t=>I(e,t)))}}}(e)))}const Lv=ar(Uv);function Bv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentAliasId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"update",params:t(n),payload:n}).then((t=>Bv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return dn(n)}const Nv=ar(Bv),Wv=["spaceId","environmentId"];function Kv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Vv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kv(Object(n),!0).forEach((function(t){Hv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xv(e,t,n){return dn(ty(fn(Qt(t)),function(e,t){const{wrapEnvironmentTemplate:n,wrapEnvironmentTemplateCollection:a}=hh.environmentTemplate,{wrapEnvironmentTemplateInstallationCollection:i}=hh.environmentTemplateInstallation;return{update:function(){const a=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"update",params:{organizationId:t,environmentTemplateId:a.sys.id},payload:a}).then((a=>n(e,a,t)))},updateVersion:function({versionName:a,versionDescription:i}){const o=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versionUpdate",params:{organizationId:t,environmentTemplateId:o.sys.id,version:o.sys.version},payload:{versionName:a,versionDescription:i}}).then((a=>n(e,a,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"delete",params:{organizationId:t,environmentTemplateId:n.sys.id}})},getVersions:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versions",params:{organizationId:t,environmentTemplateId:n.sys.id}}).then((n=>a(e,n,t)))},getInstallations:function(n={}){let{spaceId:a,environmentId:o}=n,r=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Wv);const s=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getMany",params:{organizationId:t,environmentTemplateId:s.sys.id,query:Vv({},ln({query:r}).params),spaceId:a,environmentId:o}}).then((t=>i(e,t)))},validate:function({spaceId:t,environmentId:n,version:a,takeover:i,changeSet:o}){const r=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"validate",params:{spaceId:t,version:a,environmentId:n,environmentTemplateId:r.sys.id},payload:Vv(Vv({},i&&{takeover:i}),o&&{changeSet:o})})},install:function({spaceId:t,environmentId:n,installation:a}){const i=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"install",params:{spaceId:t,environmentId:n,environmentTemplateId:i.sys.id},payload:a})},disconnect:function({spaceId:t,environmentId:n}){const a=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"disconnect",params:{spaceId:t,environmentId:n,environmentTemplateId:a.sys.id}})}}}(e,n)))}const Gv=ir(Xv);function Jv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,extensionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"update",params:t(n),payload:n}).then((t=>Jv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"delete",params:t(n)})}}}(e));return dn(n)}const Qv=ar(Jv);function Yv(e,t){delete t.internal_code;const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,localeId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"update",params:t(n),payload:n}).then((t=>Yv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return dn(n)}const Zv=ar(Yv);let eb=function(e){return e.Read="content_management_read",e.Manage="content_management_manage",e}({});function tb(e,t,n){const a=ty(fn(Qt(t)),function(e,t){const n=e=>({userId:t,oauthApplicationId:e.sys.id});return{async update(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"update",params:n(t),payload:t})},async delete(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"delete",params:n(t)})}}}(e,n));return dn(a)}const nb=ir(tb);function ab(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ib(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ab(Object(n),!0).forEach((function(t){ob(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ab(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ob(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rb(e,t){const n=fn(Qt(t)),a=function(e){const{wrapAppDefinition:t,wrapAppDefinitionCollection:n}=hh.appDefinition,{wrapUser:a,wrapUserCollection:i}=hh.user,{wrapOrganizationMembership:o,wrapOrganizationMembershipCollection:r}=hh.organizationMembership,{wrapTeamMembership:s,wrapTeamMembershipCollection:c}=hh.teamMembership,{wrapTeamSpaceMembership:p,wrapTeamSpaceMembershipCollection:l}=hh.teamSpaceMembership,{wrapTeam:u,wrapTeamCollection:d}=hh.team,{wrapSpaceMembership:m,wrapSpaceMembershipCollection:f}=hh.spaceMembership,{wrapOrganizationInvitation:y}=hh.organizationInvitation,{wrapAppUpload:v}=hh.appUpload,{wrapAppSigningSecret:b}=hh.appSigningSecret,{wrapAppEventSubscription:h}=hh.appEventSubscription,{wrapAppKey:g,wrapAppKeyCollection:x}=hh.appKey,{wrapAppDetails:w}=hh.appDetails,{wrapAppAction:O,wrapAppActionCollection:j}=hh.appAction,{wrapFunction:I,wrapFunctionCollection:P}=hh.func,{wrapRoleCollection:T}=hh.role,{wrapSpaceCollection:S}=hh.space;return{getSpaces(t={}){const n=this.toPlainObject();return e({entityType:"Space",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>S(e,t)))},getUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForOrganization",params:{organizationId:n.sys.id,userId:t}}).then((t=>a(e,t)))},getUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>i(e,t)))},getOrganizationMembership(t){const n=this.toPlainObject().sys.id;return e({entityType:"OrganizationMembership",action:"get",params:{organizationId:n,organizationMembershipId:t}}).then((t=>o(e,t,n)))},getOrganizationMemberships(t={}){const n=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"getMany",params:ib({organizationId:n.sys.id},t)}).then((t=>r(e,t,n.sys.id)))},createTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>u(e,t)))},getTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"get",params:{organizationId:n.sys.id,teamId:t}}).then((t=>u(e,t)))},getTeams(t={}){const n=this.toPlainObject();return e({entityType:"Team",action:"getMany",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>d(e,t)))},createTeamMembership(t,n){const a=this.toPlainObject();return e({entityType:"TeamMembership",action:"create",params:{organizationId:a.sys.id,teamId:t},payload:n}).then((t=>s(e,t)))},getTeamMembership(t,n){const a=this.toPlainObject();return e({entityType:"TeamMembership",action:"get",params:{organizationId:a.sys.id,teamId:t,teamMembershipId:n}}).then((t=>s(e,t)))},getTeamMemberships(t={}){const{teamId:n,query:a={}}=t,i=this.toPlainObject();return n?e({entityType:"TeamMembership",action:"getManyForTeam",params:{organizationId:i.sys.id,teamId:n,query:ln({query:a}).params}}).then((t=>c(e,t))):e({entityType:"TeamMembership",action:"getManyForOrganization",params:{organizationId:i.sys.id,query:ln({query:a}).params}}).then((t=>c(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t.query||{}}).params,teamId:t.teamId}}).then((t=>l(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>p(e,t)))},getOrganizationSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,spaceMembershipId:t}}).then((t=>m(e,t)))},getOrganizationSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>f(e,t)))},getOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"get",params:{organizationId:n.sys.id,invitationId:t}}).then((t=>y(e,t)))},createOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>y(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>T(e,t)))},createAppDefinition(n){const a=this.toPlainObject();return e({entityType:"AppDefinition",action:"create",params:{organizationId:a.sys.id},payload:n}).then((n=>t(e,n)))},getAppDefinitions(t={}){const a=this.toPlainObject();return e({entityType:"AppDefinition",action:"getMany",params:{organizationId:a.sys.id,query:t}}).then((t=>n(e,t)))},getAppDefinition(n){const a=this.toPlainObject();return e({entityType:"AppDefinition",action:"get",params:{organizationId:a.sys.id,appDefinitionId:n}}).then((n=>t(e,n)))},getAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"get",params:{organizationId:n.sys.id,appUploadId:t}}).then((t=>v(e,t)))},createAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"create",params:{organizationId:n.sys.id},payload:{file:t}}).then((t=>v(e,t)))},upsertAppSigningSecret(t,n){const a=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"upsert",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>b(e,t)))},getAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>b(e,t)))},deleteAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},upsertAppEventSubscription(t,n){const a=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"upsert",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>h(e,t)))},getAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>h(e,t)))},deleteAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppKey(t,n){const a=this.toPlainObject();return e({entityType:"AppKey",action:"create",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>g(e,t)))},getAppKey(t,n){const a=this.toPlainObject();return e({entityType:"AppKey",action:"get",params:{organizationId:a.sys.id,appDefinitionId:t,fingerprint:n}}).then((t=>g(e,t)))},getAppKeys(t,n={}){const a=this.toPlainObject();return e({entityType:"AppKey",action:"getMany",params:{organizationId:a.sys.id,appDefinitionId:t,query:ln({query:n}).params}}).then((t=>x(e,t)))},deleteAppKey(t,n){const a=this.toPlainObject();return e({entityType:"AppKey",action:"delete",params:{organizationId:a.sys.id,appDefinitionId:t,fingerprint:n}}).then((()=>{}))},upsertAppDetails(t,n){const a=this.toPlainObject();return e({entityType:"AppDetails",action:"upsert",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>w(e,t)))},getAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>w(e,t)))},deleteAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppAction(t,n){const a=this.toPlainObject();return e({entityType:"AppAction",action:"create",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},updateAppAction(t,n,a){const i=this.toPlainObject();return e({entityType:"AppAction",action:"update",params:{organizationId:i.sys.id,appDefinitionId:t,appActionId:n},payload:a}).then((t=>O(e,t)))},deleteAppAction(t,n){const a=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:{organizationId:a.sys.id,appDefinitionId:t,appActionId:n}}).then((()=>{}))},getAppAction(t,n){const a=this.toPlainObject();return e({entityType:"AppAction",action:"get",params:{organizationId:a.sys.id,appDefinitionId:t,appActionId:n}}).then((t=>O(e,t)))},getAppActions(t){const n=this.toPlainObject();return e({entityType:"AppAction",action:"getMany",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>j(e,t)))},getFunction(t,n){const a=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:a.sys.id,appDefinitionId:t,functionId:n}}).then((t=>I(e,t)))},getFunctions(t,n){const a=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{organizationId:a.sys.id,appDefinitionId:t,query:n}}).then((t=>P(e,t)))}}}(e);return dn(ty(n,a))}const sb=ar(rb);function cb(e,t){return dn(fn(Qt(t)))}function pb(e,t,n){const a=ty(fn(Qt(t)),function(e,t){const n=e=>({organizationMembershipId:e.sys.id,organizationId:t});return{update:function(){const a=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"update",params:n(a),payload:a}).then((n=>pb(e,n,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"delete",params:n(t)})}}}(e,n));return dn(a)}const lb=ar(pb);function ub(e,t){return dn(ty(fn(Qt(t)),{revoke:function(){return e({entityType:"PersonalAccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>ub(e,t)))}}))}const db=ar(ub);function mb(e,t){return dn(ty(fn(Qt(t)),{revoke:function(){return e({entityType:"AccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>mb(e,t)))}}))}const fb=ar(mb);function yb(e,t){return dn(ty(fn(Qt(t)),{}))}const vb=ar(yb);function bb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,roleId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"update",params:t(n),payload:n}).then((t=>bb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"delete",params:t(n)})}}}(e));return dn(n)}const hb=ar(bb),gb=["sys"];let xb=function(e){return e.scheduled="scheduled",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e.canceled="canceled",e}({});function wb(e){const t=e=>{var t;const n=e.toPlainObject();return{spaceId:n.sys.space.sys.id,environmentId:null===(t=n.environment)||void 0===t?void 0:t.sys.id,scheduledActionId:n.sys.id,version:n.sys.version}};return{async delete(){const n=t(this);return e({entityType:"ScheduledAction",action:"delete",params:n}).then((t=>Ob(e,t)))},async update(){const n=t(this),a=this.toPlainObject(),{sys:i}=a,o=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(a,gb);return e({entityType:"ScheduledAction",action:"update",params:n,payload:o}).then((t=>Ob(e,t)))}}}function Ob(e,t){return dn(ty(fn(Qt(t)),wb(e)))}const jb=ar(Ob);function Ib(e,t){const n=fn(Qt(t)),a=function(e){const{wrapSpace:t}=hh.space,{wrapEnvironment:n,wrapEnvironmentCollection:a}=hh.environment,{wrapWebhook:i,wrapWebhookCollection:o}=hh.webhook,{wrapRole:r,wrapRoleCollection:s}=hh.role,{wrapUser:c,wrapUserCollection:p}=hh.user,{wrapSpaceMember:l,wrapSpaceMemberCollection:u}=hh.spaceMember,{wrapSpaceMembership:d,wrapSpaceMembershipCollection:m}=hh.spaceMembership,{wrapTeamSpaceMembership:f,wrapTeamSpaceMembershipCollection:y}=hh.teamSpaceMembership,{wrapTeamCollection:v}=hh.team,{wrapApiKey:b,wrapApiKeyCollection:h}=hh.apiKey,{wrapEnvironmentAlias:g,wrapEnvironmentAliasCollection:x}=hh.environmentAlias,{wrapPreviewApiKey:w,wrapPreviewApiKeyCollection:O}=hh.previewApiKey,{wrapScheduledAction:j,wrapScheduledActionCollection:I}=hh.scheduledAction;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Space",action:"delete",params:{spaceId:t.sys.id}})},update:function(){const n=this.toPlainObject();return e({entityType:"Space",action:"update",params:{spaceId:n.sys.id},payload:n,headers:{}}).then((n=>t(e,n)))},getEnvironment(t){const a=this.toPlainObject();return e({entityType:"Environment",action:"get",params:{spaceId:a.sys.id,environmentId:t}}).then((t=>n(e,t)))},getEnvironments(t={}){const n=this.toPlainObject();return e({entityType:"Environment",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>a(e,t)))},createEnvironment(t={}){const a=this.toPlainObject();return e({entityType:"Environment",action:"create",params:{spaceId:a.sys.id},payload:t}).then((t=>n(e,t)))},createEnvironmentWithId(t,a,i){const o=this.toPlainObject();return e({entityType:"Environment",action:"createWithId",params:{spaceId:o.sys.id,environmentId:t,sourceEnvironmentId:i},payload:a}).then((t=>n(e,t)))},getWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"get",params:{spaceId:n.sys.id,webhookDefinitionId:t}}).then((t=>i(e,t)))},getWebhooks(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>o(e,t)))},getWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getSigningSecret",params:{spaceId:t.sys.id}})},getWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getRetryPolicy",params:{spaceId:t.sys.id}})},createWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>i(e,t)))},createWebhookWithId(t,n){const a=this.toPlainObject();return e({entityType:"Webhook",action:"createWithId",params:{spaceId:a.sys.id,webhookDefinitionId:t},payload:n}).then((t=>i(e,t)))},upsertWebhookSigningSecret:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertSigningSecret",params:{spaceId:n.sys.id},payload:t})},upsertWebhookRetryPolicy:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertRetryPolicy",params:{spaceId:n.sys.id},payload:t})},deleteWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteSigningSecret",params:{spaceId:t.sys.id}})},deleteWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteRetryPolicy",params:{spaceId:t.sys.id}})},getRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"get",params:{spaceId:n.sys.id,roleId:t}}).then((t=>r(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>s(e,t)))},createRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>r(e,t)))},createRoleWithId(t,n){const a=this.toPlainObject();return e({entityType:"Role",action:"createWithId",params:{spaceId:a.sys.id,roleId:t},payload:n}).then((t=>r(e,t)))},getSpaceUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForSpace",params:{spaceId:n.sys.id,userId:t}}).then((t=>c(e,t)))},getSpaceUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForSpace",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>p(e,t)))},getTeams(t={limit:100}){const n=this.toPlainObject();return e({entityType:"Team",action:"getManyForSpace",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>v(e,t)))},getSpaceMember(t){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"get",params:{spaceId:n.sys.id,spaceMemberId:t}}).then((t=>l(e,t)))},getSpaceMembers(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>u(e,t)))},getSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"get",params:{spaceId:n.sys.id,spaceMembershipId:t}}).then((t=>d(e,t)))},getSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>m(e,t)))},createSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>d(e,t)))},createSpaceMembershipWithId(t,n){const a=this.toPlainObject();return e({entityType:"SpaceMembership",action:"createWithId",params:{spaceId:a.sys.id,spaceMembershipId:t},payload:n}).then((t=>d(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"get",params:{spaceId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>f(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>y(e,t)))},createTeamSpaceMembership(t,n){const a=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"create",params:{spaceId:a.sys.id,teamId:t},payload:n}).then((t=>f(e,t)))},getApiKey(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"get",params:{spaceId:n.sys.id,apiKeyId:t}}).then((t=>b(e,t)))},getApiKeys(){const t=this.toPlainObject();return e({entityType:"ApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>h(e,t)))},getPreviewApiKeys(){const t=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>O(e,t)))},getPreviewApiKey(t){const n=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"get",params:{spaceId:n.sys.id,previewApiKeyId:t}}).then((t=>w(e,t)))},createApiKey:function(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>b(e,t)))},createApiKeyWithId(t,n){const a=this.toPlainObject();return e({entityType:"ApiKey",action:"createWithId",params:{spaceId:a.sys.id,apiKeyId:t},payload:n}).then((t=>b(e,t)))},createEnvironmentAliasWithId(t,n){const a=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"createWithId",params:{spaceId:a.sys.id,environmentAliasId:t},payload:n}).then((t=>g(e,t)))},getEnvironmentAlias(t){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"get",params:{spaceId:n.sys.id,environmentAliasId:t}}).then((t=>g(e,t)))},getEnvironmentAliases(){const t=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>x(e,t)))},getScheduledActions(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>I(e,t)))},getScheduledAction({scheduledActionId:t,environmentId:n}){const a=this.toPlainObject();return e({entityType:"ScheduledAction",action:"get",params:{spaceId:a.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))},createScheduledAction(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>j(e,t)))},updateScheduledAction({scheduledActionId:t,payload:n,version:a}){const i=this.toPlainObject();return e({entityType:"ScheduledAction",action:"update",params:{spaceId:i.sys.id,version:a,scheduledActionId:t},payload:n}).then((t=>j(e,t)))},deleteScheduledAction({scheduledActionId:t,environmentId:n}){const a=this.toPlainObject();return e({entityType:"ScheduledAction",action:"delete",params:{spaceId:a.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))}}}(e);return dn(ty(n,a))}const Pb=ar(Ib);function Tb(e,t){return dn(fn(Qt(t)))}const Sb=ar(Tb);function Ab(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,spaceMembershipId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"update",params:t(n),payload:n}).then((t=>Ab(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"delete",params:t(n)})}}}(e));return dn(n)}const Eb=ar(Ab);function kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kb(Object(n),!0).forEach((function(t){_b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _b(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Db(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,taskId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"update",params:t(n),payload:n}).then((t=>Rb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"delete",params:Cb(Cb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Rb(e,t){return dn(ty(fn(Qt(t)),Db(e)))}const zb=ar(Rb);function Mb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({teamId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"update",params:t(n),payload:n}).then((t=>Mb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"delete",params:t(n)})}}}(e));return dn(n)}const $b=ar(Mb);function Fb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({teamMembershipId:e.sys.id,teamId:e.sys.team.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"update",params:t(n),payload:n}).then((t=>Fb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"delete",params:t(n)})}}}(e));return dn(n)}const qb=ar(Fb);function Ub(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({teamSpaceMembershipId:e.sys.id,spaceId:e.sys.space.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"update",params:t(n),payload:n}).then((t=>Ub(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"delete",params:t(n)})}}}(e));return dn(n)}const Lb=ar(Ub);function Bb(e,t){const n=ty(fn(Qt(t)),function(e){return{delete:async function(){const t=this.toPlainObject();await e({entityType:"Upload",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id,uploadId:t.sys.id}})}}}(e));return dn(n)}function Nb(e,t){return dn(ty(fn(Qt(t)),{}))}const Wb=ar(Nb);function Kb(e,t){return dn(ty(fn(Qt(t)),{}))}const Vb=ar(Kb);function Hb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Xb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hb(Object(n),!0).forEach((function(t){Gb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,webhookDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"update",params:t(n),payload:n}).then((t=>Jb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"delete",params:t(n)})},getCalls:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getManyCallDetails",params:t(n)})},getCall:function(n){const a=this.toPlainObject();return e({entityType:"Webhook",action:"getCallDetails",params:Xb(Xb({},t(a)),{},{callId:n})})},getHealth:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getHealthStatus",params:t(n)})}}}(e));return dn(n)}const Qb=ar(Jb);function Yb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yb(Object(n),!0).forEach((function(t){eh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let th=function(e){return e.EntityPermission="entity_permission",e.WorkflowPermission="workflow_permission",e}({}),nh=function(e){return e.Edit="edit",e.Publish="publish",e.Delete="delete",e}({}),ah=function(e){return e.Allow="allow",e.Deny="deny",e}({}),ih=function(e){return e.App="app",e.Email="email",e.Task="task",e}({});function oh(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,workflowDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"update",params:t(n),payload:n}).then((t=>rh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"delete",params:Zb(Zb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function rh(e,t){return dn(ty(fn(Qt(t)),oh(e)))}const sh=ar(rh),ch=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id}),ph=e=>({sys:{id:e.sys.id},type:e.type,function:e.function});function lh(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapResourceType:t}=hh.resourceType;return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:ch(t),headers:{},payload:ph(t)}).then((t=>lh(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"delete",params:ch(t)})},getResourceType:function(n){return e({entityType:"ResourceType",action:"get",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n}}).then((n=>t(e,n)))},upsertResourceType:function(n,a){return e({entityType:"ResourceType",action:"upsert",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n},headers:{},payload:a}).then((n=>t(e,n)))},getResourceTypes:function(){return e({entityType:"ResourceType",action:"getMany",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}}).then((n=>(n.items=n.items.map((n=>t(e,n))),n)))}}}(e));return dn(n)}const uh=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,resourceTypeId:e.sys.id}),dh=e=>({name:e.name,defaultFieldMapping:e.defaultFieldMapping});function mh(e,t){const n=ty(fn(Qt(t)),function(e){return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"upsert",params:uh(t),headers:{},payload:dh(t)}).then((t=>mh(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"delete",params:uh(t)})}}}(e));return dn(n)}function fh(e,t){return dn(fn(t))}const yh=ir(fh);function vh(e,t){return dn(fn(t))}const bh=ir(vh),hh={accessToken:Ye,appAction:fe,appActionCall:ye,appBundle:ve,apiKey:me,appDefinition:be,appInstallation:ge,appUpload:Pe,appDetails:he,appSignedRequest:xe,appSigningSecret:we,appEventSubscription:Oe,appKey:je,appAccessToken:Ie,asset:Te,assetKey:Se,bulkAction:Ae,comment:Ee,concept:ft,conceptScheme:yt,contentType:_e,editorInterface:ke,entry:De,environment:Be,environmentAlias:Ne,environmentTemplate:We,environmentTemplateInstallation:qe,extension:Ke,func:Ue,functionLog:Le,locale:Ve,oauthApplication:He,organization:Xe,organizationInvitation:Ge,organizationMembership:Je,personalAccessToken:Qe,previewApiKey:Ze,release:ze,releaseAction:Re,resourceProvider:vt,resourceType:bt,resource:ht,role:et,scheduledAction:tt,snapshot:Ce,space:nt,spaceMember:at,spaceMembership:it,tag:Me,task:ot,team:rt,teamMembership:st,teamSpaceMembership:ct,uiConfig:$e,upload:pt,usage:lt,user:ut,userUIConfig:Fe,webhook:dt,workflowDefinition:mt},gh=["url"];function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function wh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xh(Object(n),!0).forEach((function(t){Oh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jh=({makeRequest:e,defaults:t},n,a)=>(i,o,r)=>e({entityType:n,action:a,params:wh(wh({},t),i),payload:o,headers:r});function Ih(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ph(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ih(Object(n),!0).forEach((function(t){Th(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ih(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Th(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sh=(e,t)=>{const n={makeRequest:e,defaults:t};return{raw:{getDefaultParams:()=>t,get:(t,n)=>e({entityType:"Http",action:"get",params:{url:t,config:n}}),patch:(t,n,a)=>e({entityType:"Http",action:"patch",params:{url:t,config:a},payload:n}),post:(t,n,a)=>e({entityType:"Http",action:"post",params:{url:t,config:a},payload:n}),put:(t,n,a)=>e({entityType:"Http",action:"put",params:{url:t,config:a},payload:n}),delete:(t,n)=>e({entityType:"Http",action:"delete",params:{url:t,config:n}}),http:(t,n)=>e({entityType:"Http",action:"request",params:{url:t,config:n}})},appAction:{get:jh(n,"AppAction","get"),getMany:jh(n,"AppAction","getMany"),getManyForEnvironment:jh(n,"AppAction","getManyForEnvironment"),delete:jh(n,"AppAction","delete"),create:jh(n,"AppAction","create"),update:jh(n,"AppAction","update")},appActionCall:{create:jh(n,"AppActionCall","create"),getCallDetails:jh(n,"AppActionCall","getCallDetails"),createWithResponse:jh(n,"AppActionCall","createWithResponse")},appBundle:{get:jh(n,"AppBundle","get"),getMany:jh(n,"AppBundle","getMany"),delete:jh(n,"AppBundle","delete"),create:jh(n,"AppBundle","create")},appDetails:{upsert:jh(n,"AppDetails","upsert"),get:jh(n,"AppDetails","get"),delete:jh(n,"AppDetails","delete")},appEventSubscription:{upsert:jh(n,"AppEventSubscription","upsert"),get:jh(n,"AppEventSubscription","get"),delete:jh(n,"AppEventSubscription","delete")},appKey:{create:jh(n,"AppKey","create"),get:jh(n,"AppKey","get"),getMany:jh(n,"AppKey","getMany"),delete:jh(n,"AppKey","delete")},appSignedRequest:{create:jh(n,"AppSignedRequest","create")},appSigningSecret:{upsert:jh(n,"AppSigningSecret","upsert"),get:jh(n,"AppSigningSecret","get"),delete:jh(n,"AppSigningSecret","delete")},appAccessToken:{create:jh(n,"AppAccessToken","create")},concept:{create:jh(n,"Concept","create"),createWithId:jh(n,"Concept","createWithId"),get:jh(n,"Concept","get"),delete:jh(n,"Concept","delete"),patch:jh(n,"Concept","patch"),update:jh(n,"Concept","update"),updatePut:jh(n,"Concept","updatePut"),getMany:jh(n,"Concept","getMany"),getDescendants:jh(n,"Concept","getDescendants"),getAncestors:jh(n,"Concept","getAncestors"),getTotal:jh(n,"Concept","getTotal")},conceptScheme:{get:jh(n,"ConceptScheme","get"),getMany:jh(n,"ConceptScheme","getMany"),getTotal:jh(n,"ConceptScheme","getTotal"),delete:jh(n,"ConceptScheme","delete"),create:jh(n,"ConceptScheme","create"),createWithId:jh(n,"ConceptScheme","createWithId"),patch:jh(n,"ConceptScheme","patch"),update:jh(n,"ConceptScheme","update"),updatePut:jh(n,"ConceptScheme","updatePut")},function:{get:jh(n,"Function","get"),getMany:jh(n,"Function","getMany"),getManyForEnvironment:jh(n,"Function","getManyForEnvironment")},functionLog:{get:jh(n,"FunctionLog","get"),getMany:jh(n,"FunctionLog","getMany")},editorInterface:{get:jh(n,"EditorInterface","get"),getMany:jh(n,"EditorInterface","getMany"),update:jh(n,"EditorInterface","update")},space:{get:jh(n,"Space","get"),getMany:jh(n,"Space","getMany"),getManyForOrganization:jh(n,"Space","getManyForOrganization"),update:jh(n,"Space","update"),delete:jh(n,"Space","delete"),create:jh(n,"Space","create")},environment:{get:jh(n,"Environment","get"),getMany:jh(n,"Environment","getMany"),create:jh(n,"Environment","create"),createWithId:jh(n,"Environment","createWithId"),update:jh(n,"Environment","update"),delete:jh(n,"Environment","delete")},environmentAlias:{get:jh(n,"EnvironmentAlias","get"),getMany:jh(n,"EnvironmentAlias","getMany"),createWithId:jh(n,"EnvironmentAlias","createWithId"),update:jh(n,"EnvironmentAlias","update"),delete:jh(n,"EnvironmentAlias","delete")},environmentTemplate:{get:jh(n,"EnvironmentTemplate","get"),getMany:jh(n,"EnvironmentTemplate","getMany"),create:jh(n,"EnvironmentTemplate","create"),versionUpdate:jh(n,"EnvironmentTemplate","versionUpdate"),update:jh(n,"EnvironmentTemplate","update"),install:jh(n,"EnvironmentTemplate","install"),versions:jh(n,"EnvironmentTemplate","versions"),validate:jh(n,"EnvironmentTemplate","validate"),disconnect:jh(n,"EnvironmentTemplate","disconnect"),delete:jh(n,"EnvironmentTemplate","delete")},environmentTemplateInstallation:{getMany:jh(n,"EnvironmentTemplateInstallation","getMany"),getForEnvironment:jh(n,"EnvironmentTemplateInstallation","getForEnvironment")},bulkAction:{get:jh(n,"BulkAction","get"),publish:jh(n,"BulkAction","publish"),unpublish:jh(n,"BulkAction","unpublish"),validate:jh(n,"BulkAction","validate")},comment:{get:jh(n,"Comment","get"),getMany:jh(n,"Comment","getMany"),create:jh(n,"Comment","create"),update:jh(n,"Comment","update"),delete:jh(n,"Comment","delete")},contentType:{get:jh(n,"ContentType","get"),getMany:jh(n,"ContentType","getMany"),update:jh(n,"ContentType","update"),delete:jh(n,"ContentType","delete"),publish:jh(n,"ContentType","publish"),unpublish:jh(n,"ContentType","unpublish"),create:jh(n,"ContentType","create"),createWithId:jh(n,"ContentType","createWithId"),omitAndDeleteField:(n,a,i)=>ov(e,Ph(Ph({},Ph(Ph({},t),n)),{},{fieldId:i}),a)},user:{getManyForSpace:jh(n,"User","getManyForSpace"),getForSpace:jh(n,"User","getForSpace"),getCurrent:jh(n,"User","getCurrent"),getForOrganization:jh(n,"User","getForOrganization"),getManyForOrganization:jh(n,"User","getManyForOrganization")},task:{get:jh(n,"Task","get"),getMany:jh(n,"Task","getMany"),create:jh(n,"Task","create"),update:jh(n,"Task","update"),delete:jh(n,"Task","delete")},entry:{getPublished:jh(n,"Entry","getPublished"),getMany:jh(n,"Entry","getMany"),get:jh(n,"Entry","get"),update:jh(n,"Entry","update"),patch:jh(n,"Entry","patch"),delete:jh(n,"Entry","delete"),publish:jh(n,"Entry","publish"),unpublish:jh(n,"Entry","unpublish"),archive:jh(n,"Entry","archive"),unarchive:jh(n,"Entry","unarchive"),create:jh(n,"Entry","create"),createWithId:jh(n,"Entry","createWithId"),references:jh(n,"Entry","references")},asset:{getPublished:jh(n,"Asset","getPublished"),getMany:jh(n,"Asset","getMany"),get:jh(n,"Asset","get"),update:jh(n,"Asset","update"),delete:jh(n,"Asset","delete"),publish:jh(n,"Asset","publish"),unpublish:jh(n,"Asset","unpublish"),archive:jh(n,"Asset","archive"),unarchive:jh(n,"Asset","unarchive"),create:jh(n,"Asset","create"),createWithId:jh(n,"Asset","createWithId"),createFromFiles:jh(n,"Asset","createFromFiles"),processForAllLocales:(n,a,i)=>e({entityType:"Asset",action:"processForAllLocales",params:Ph(Ph({},Ph(Ph({},t),n)),{},{options:i,asset:a})}),processForLocale:(n,a,i,o)=>e({entityType:"Asset",action:"processForLocale",params:Ph(Ph({},Ph(Ph({},t),n)),{},{locale:i,asset:a,options:o})})},appUpload:{get:jh(n,"AppUpload","get"),delete:jh(n,"AppUpload","delete"),create:jh(n,"AppUpload","create")},assetKey:{create:jh(n,"AssetKey","create")},upload:{get:jh(n,"Upload","get"),create:jh(n,"Upload","create"),delete:jh(n,"Upload","delete")},uploadCredential:{create:jh(n,"UploadCredential","create")},locale:{get:jh(n,"Locale","get"),getMany:jh(n,"Locale","getMany"),delete:jh(n,"Locale","delete"),update:jh(n,"Locale","update"),create:jh(n,"Locale","create")},personalAccessToken:{get:jh(n,"PersonalAccessToken","get"),getMany:jh(n,"PersonalAccessToken","getMany"),create:(t,n)=>e({entityType:"PersonalAccessToken",action:"create",params:{},headers:n,payload:t}),revoke:jh(n,"PersonalAccessToken","revoke")},accessToken:{get:jh(n,"AccessToken","get"),getMany:jh(n,"AccessToken","getMany"),createPersonalAccessToken:(t,n)=>e({entityType:"AccessToken",action:"createPersonalAccessToken",params:{},headers:n,payload:t}),revoke:jh(n,"AccessToken","revoke"),getManyForOrganization:jh(n,"AccessToken","getManyForOrganization")},usage:{getManyForSpace:jh(n,"Usage","getManyForSpace"),getManyForOrganization:jh(n,"Usage","getManyForOrganization")},release:{archive:jh(n,"Release","archive"),get:jh(n,"Release","get"),query:jh(n,"Release","query"),create:jh(n,"Release","create"),update:jh(n,"Release","update"),delete:jh(n,"Release","delete"),publish:jh(n,"Release","publish"),unarchive:jh(n,"Release","unarchive"),unpublish:jh(n,"Release","unpublish"),validate:jh(n,"Release","validate")},releaseAction:{get:jh(n,"ReleaseAction","get"),getMany:jh(n,"ReleaseAction","getMany"),queryForRelease:jh(n,"ReleaseAction","queryForRelease")},role:{get:jh(n,"Role","get"),getMany:jh(n,"Role","getMany"),getManyForOrganization:jh(n,"Role","getManyForOrganization"),create:jh(n,"Role","create"),createWithId:jh(n,"Role","createWithId"),update:jh(n,"Role","update"),delete:jh(n,"Role","delete")},scheduledActions:{get:jh(n,"ScheduledAction","get"),getMany:jh(n,"ScheduledAction","getMany"),create:jh(n,"ScheduledAction","create"),delete:jh(n,"ScheduledAction","delete"),update:jh(n,"ScheduledAction","update")},previewApiKey:{get:jh(n,"PreviewApiKey","get"),getMany:jh(n,"PreviewApiKey","getMany")},apiKey:{get:jh(n,"ApiKey","get"),getMany:jh(n,"ApiKey","getMany"),create:jh(n,"ApiKey","create"),createWithId:jh(n,"ApiKey","createWithId"),update:jh(n,"ApiKey","update"),delete:jh(n,"ApiKey","delete")},appDefinition:{get:jh(n,"AppDefinition","get"),getMany:jh(n,"AppDefinition","getMany"),create:jh(n,"AppDefinition","create"),update:jh(n,"AppDefinition","update"),delete:jh(n,"AppDefinition","delete"),getInstallationsForOrg:jh(n,"AppDefinition","getInstallationsForOrg")},appInstallation:{get:jh(n,"AppInstallation","get"),getMany:jh(n,"AppInstallation","getMany"),getForOrganization:jh(n,"AppInstallation","getForOrganization"),upsert:jh(n,"AppInstallation","upsert"),delete:jh(n,"AppInstallation","delete")},resource:{getMany:jh(n,"Resource","getMany")},resourceProvider:{get:jh(n,"ResourceProvider","get"),upsert:jh(n,"ResourceProvider","upsert"),delete:jh(n,"ResourceProvider","delete")},resourceType:{get:jh(n,"ResourceType","get"),getMany:jh(n,"ResourceType","getMany"),upsert:jh(n,"ResourceType","upsert"),delete:jh(n,"ResourceType","delete"),getForEnvironment:jh(n,"ResourceType","getForEnvironment")},extension:{get:jh(n,"Extension","get"),getMany:jh(n,"Extension","getMany"),create:jh(n,"Extension","create"),createWithId:jh(n,"Extension","createWithId"),update:jh(n,"Extension","update"),delete:jh(n,"Extension","delete")},webhook:{get:jh(n,"Webhook","get"),getMany:jh(n,"Webhook","getMany"),getHealthStatus:jh(n,"Webhook","getHealthStatus"),getCallDetails:jh(n,"Webhook","getCallDetails"),getSigningSecret:jh(n,"Webhook","getSigningSecret"),getRetryPolicy:jh(n,"Webhook","getRetryPolicy"),getManyCallDetails:jh(n,"Webhook","getManyCallDetails"),create:jh(n,"Webhook","create"),update:jh(n,"Webhook","update"),upsertSigningSecret:jh(n,"Webhook","upsertSigningSecret"),upsertRetryPolicy:jh(n,"Webhook","upsertRetryPolicy"),delete:jh(n,"Webhook","delete"),deleteSigningSecret:jh(n,"Webhook","deleteSigningSecret"),deleteRetryPolicy:jh(n,"Webhook","deleteRetryPolicy")},snapshot:{getManyForEntry:jh(n,"Snapshot","getManyForEntry"),getForEntry:jh(n,"Snapshot","getForEntry"),getManyForContentType:jh(n,"Snapshot","getManyForContentType"),getForContentType:jh(n,"Snapshot","getForContentType")},tag:{get:jh(n,"Tag","get"),getMany:jh(n,"Tag","getMany"),createWithId:jh(n,"Tag","createWithId"),update:jh(n,"Tag","update"),delete:jh(n,"Tag","delete")},organization:{getAll:jh(n,"Organization","getMany"),get:jh(n,"Organization","get")},organizationInvitation:{get:jh(n,"OrganizationInvitation","get"),create:jh(n,"OrganizationInvitation","create")},organizationMembership:{get:jh(n,"OrganizationMembership","get"),getMany:jh(n,"OrganizationMembership","getMany"),update:jh(n,"OrganizationMembership","update"),delete:jh(n,"OrganizationMembership","delete")},oauthApplication:{get:jh(n,"OAuthApplication","get"),getManyForUser:jh(n,"OAuthApplication","getManyForUser"),update:jh(n,"OAuthApplication","update"),delete:jh(n,"OAuthApplication","delete"),create:jh(n,"OAuthApplication","create")},spaceMember:{get:jh(n,"SpaceMember","get"),getMany:jh(n,"SpaceMember","getMany")},spaceMembership:{get:jh(n,"SpaceMembership","get"),getMany:jh(n,"SpaceMembership","getMany"),getForOrganization:jh(n,"SpaceMembership","getForOrganization"),getManyForOrganization:jh(n,"SpaceMembership","getManyForOrganization"),create:jh(n,"SpaceMembership","create"),createWithId:jh(n,"SpaceMembership","createWithId"),update:jh(n,"SpaceMembership","update"),delete:jh(n,"SpaceMembership","delete")},team:{get:jh(n,"Team","get"),getMany:jh(n,"Team","getMany"),getManyForSpace:jh(n,"Team","getManyForSpace"),create:jh(n,"Team","create"),update:jh(n,"Team","update"),delete:jh(n,"Team","delete")},teamMembership:{get:jh(n,"TeamMembership","get"),getManyForOrganization:jh(n,"TeamMembership","getManyForOrganization"),getManyForTeam:jh(n,"TeamMembership","getManyForTeam"),create:jh(n,"TeamMembership","create"),update:jh(n,"TeamMembership","update"),delete:jh(n,"TeamMembership","delete")},teamSpaceMembership:{get:jh(n,"TeamSpaceMembership","get"),getMany:jh(n,"TeamSpaceMembership","getMany"),getForOrganization:jh(n,"TeamSpaceMembership","getForOrganization"),getManyForOrganization:jh(n,"TeamSpaceMembership","getManyForOrganization"),create:jh(n,"TeamSpaceMembership","create"),update:jh(n,"TeamSpaceMembership","update"),delete:jh(n,"TeamSpaceMembership","delete")},uiConfig:{get:jh(n,"UIConfig","get"),update:jh(n,"UIConfig","update")},userUIConfig:{get:jh(n,"UserUIConfig","get"),update:jh(n,"UserUIConfig","update")},workflowDefinition:{get:jh(n,"WorkflowDefinition","get"),getMany:jh(n,"WorkflowDefinition","getMany"),create:jh(n,"WorkflowDefinition","create"),update:jh(n,"WorkflowDefinition","update"),delete:jh(n,"WorkflowDefinition","delete")},workflow:{get:jh(n,"Workflow","get"),getMany:jh(n,"Workflow","getMany"),create:jh(n,"Workflow","create"),update:jh(n,"Workflow","update"),delete:jh(n,"Workflow","delete"),complete:jh(n,"Workflow","complete")},workflowsChangelog:{getMany:jh(n,"WorkflowsChangelog","getMany")}}};let Ah=function(e){return e.BUILTIN="builtin",e.EXTENSION="extension",e.SIDEBAR_BUILTIN="sidebar-builtin",e.APP="app",e.EDITOR_BUILTIN="editor-builtin",e}({});const Eh={widgetId:"publication-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Publish & Status",description:"Built-in - View entry status, publish, etc."},kh={widgetId:"releases-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Release",description:"Built-in - View release, add to it, etc."},Ch={widgetId:"content-preview-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Preview",description:"Built-in - Displays preview functionality."},_h={widgetId:"incoming-links-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Links",description:"Built-in - Shows where an entry is linked."},Dh={widgetId:"translation-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Translation",description:"Built-in - Manage which translations are visible."},Rh={widgetId:"versions-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Versions",description:"Built-in - View previously published versions. Available only for master environment."},zh={widgetId:"users-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Users",description:"Built-in - Displays users on the same entry."},Mh=[Eh,kh,Ch,_h,Dh,Rh,zh],$h=[Eh,kh,_h,Dh,zh],Fh="Editor",qh="References",Uh="reference-tree",Lh="Tags",Bh="tags-editor",Nh=[{widgetId:"default-editor",widgetNamespace:Ah.EDITOR_BUILTIN,name:Fh},{widgetId:Uh,widgetNamespace:Ah.EDITOR_BUILTIN,name:qh},{widgetId:Bh,widgetNamespace:Ah.EDITOR_BUILTIN,name:Lh}];function Wh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Kh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wh(Object(n),!0).forEach((function(t){Vh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hh=["Text","Symbol","Integer","Number","Boolean"],Xh={Symbol:{type:"Symbol"},Text:{type:"Text"},RichText:{type:"RichText"},Integer:{type:"Integer"},Number:{type:"Number"},Boolean:{type:"Boolean"},Date:{type:"Date"},Location:{type:"Location"},Object:{type:"Object"},File:{type:"File"},Entry:{type:"Link",linkType:"Entry"},Asset:{type:"Link",linkType:"Asset"},Resource:{type:"ResourceLink"},Symbols:{type:"Array",items:{type:"Symbol"}},Entries:{type:"Array",items:{type:"Link",linkType:"Entry"}},Assets:{type:"Array",items:{type:"Link",linkType:"Asset"}},Resources:{type:"Array",items:{type:"ResourceLink"}}},Gh=Object.keys(Xh),Jh={Text:{widgetId:"markdown"},Symbol:{widgetId:"singleLine"},Integer:{widgetId:"numberEditor"},Number:{widgetId:"numberEditor"},Boolean:{widgetId:"boolean"},Date:{widgetId:"datePicker"},Location:{widgetId:"locationEditor"},Object:{widgetId:"objectEditor"},RichText:{widgetId:"richTextEditor"},Entry:{widgetId:"entryLinkEditor"},Asset:{widgetId:"assetLinkEditor"},Symbols:{widgetId:"tagEditor"},Entries:{widgetId:"entryLinksEditor"},Assets:{widgetId:"assetLinksEditor"},File:{widgetId:"fileEditor"},Resource:{widgetId:"resourceLinkEditor"},Resources:{widgetId:"resourceLinksEditor"}},Qh={Boolean:{falseLabel:"No",helpText:null,trueLabel:"Yes"},Date:{helpText:null,ampm:"24",format:"timeZ"},Entry:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Asset:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Entries:{helpText:null,bulkEditing:!1,showCreateEntityAction:!0,showLinkEntityAction:!0},Assets:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0}},Yh={SidebarEntryConfiguration:Mh,SidebarAssetConfiguration:$h,EntryConfiguration:Nh,getDefaultControlOfField:function(e){const t=(n=e,Gh.find((e=>{const t=Xh[e],a={type:n.type,linkType:n.linkType,items:n.items};return a.items&&(a.items={type:a.items.type,linkType:a.items.linkType}),"Link"===t.type?t.linkType===a.linkType:"Array"===t.type&&t.items&&a.items?"Link"===t.items.type?t.items.linkType===a.items.linkType:t.items.type===a.items.type:t.type===a.type})));var n;if(!t)throw new Error("Invalid field type");return(e.validations||[]).find((e=>"in"in e))&&Hh.includes(t)?{widgetId:"dropdown",fieldId:e.id,widgetNamespace:"builtin"}:function(e,t){const n=Kh(Kh({},Jh[e]),{},{settings:{helpText:null},widgetNamespace:"builtin",fieldId:t});return e in Qh&&(n.settings=Kh(Kh({},n.settings),Qh[e])),n}(t,e.id)}};function Zh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function eg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zh(Object(n),!0).forEach((function(t){tg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ng=(e,t)=>({[Symbol.asyncIterator](){let n=Qt(t);const a=()=>e(Qt(n));let i=a();return{current:0,async next(){const{total:e=0,items:t=[],skip:o=0,limit:r=100}=await i;if(e===this.current)return{done:!0,value:null};const s=t[this.current++-o],c=this.current%r==0,p=this.current===e;return c&&!p&&(n=eg(eg({},n),{},{query:eg(eg({},n.query),{},{skip:o+r})}),i=a()),{done:!1,value:s}}}}});function ag(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ig(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ag(Object(n),!0).forEach((function(t){og(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ag(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function og(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function rg(e,t){const n=await e(ig({},t));if("total"in n){const{total:i,limit:o,items:r}=n;if(!(i>r.length))return r;const s=Math.ceil(i/o),c=(a=s,Array.from(Array(Math.abs(a-1)),((e,t)=>1+t))).map((n=>e(ig(ig({},t),{},{query:ig(ig({},t.query),{},{limit:o,skip:n*o})})).then((e=>e.items)))),p=await Promise.all(c);return[...r,...p.flat(1)]}var a;if("pages"in n){const{pages:a,items:i}=n;if(!a.next)return i;const o=function(e){const t=e.indexOf("?");if(t<0)return null;const n=e.slice(t+1);return new URLSearchParams(n).get("pageNext")}(a.next);if(!o)throw new Error('Missing "pageNext" query param from pages.next from response.');return[...i,...await rg(e,ig(ig({},t),{},{query:ig(ig({},t.query),{},{pageNext:o})}))]}throw new Error('Can not determine collection type of response, neither property "total" nor "pages" are present.')}function sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sg(Object(n),!0).forEach((function(t){pg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lg(e,t={}){const n=function(e,t,n,a){const i=[];t&&i.push(`app ${t}`),n&&i.push(`integration ${n}`),a&&i.push("feature "+a),i.push(`sdk ${e}`);let o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=mn(),i.push("platform ReactNative")):void 0===Yt||Yt.browser?(o=mn(),i.push("platform browser")):(o=function(){const e=Yt.platform||"linux",t=Yt.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?`${n[e]||"Linux"}/${t}`:null}(),i.push(`platform node.js/${Yt.versions&&Yt.versions.node?`v${Yt.versions.node}`:Yt.version}`))}catch(e){o=null}return o&&i.push(`os ${o}`),`${i.filter((e=>""!==e)).join("; ")};`}(("plain"===t.type?"contentful-management-plain.js":"contentful-management.js")+"/11.47.2",e.application,e.integration,e.feature),a=function(e){return"apiAdapter"in e?e.apiAdapter:new ey(e)}(cg(cg({},e),{},{userAgent:n})),i=e=>a.makeRequest(cg(cg({},e),{},{userAgent:n}));return"plain"===t.type?Sh(i,t.defaults):function(e){const{wrapSpace:t,wrapSpaceCollection:n}=hh.space,{wrapUser:a}=hh.user,{wrapPersonalAccessToken:i,wrapPersonalAccessTokenCollection:o}=hh.personalAccessToken,{wrapAccessToken:r,wrapAccessTokenCollection:s}=hh.accessToken,{wrapOrganization:c,wrapOrganizationCollection:p}=hh.organization,{wrapUsageCollection:l}=hh.usage,{wrapAppDefinition:u}=hh.appDefinition,{wrapEnvironmentTemplate:d,wrapEnvironmentTemplateCollection:m}=hh.environmentTemplate,{wrapOAuthApplication:f,wrapOAuthApplicationCollection:y}=hh.oauthApplication;return{getEnvironmentTemplates:function(t,n={}){return e({entityType:"EnvironmentTemplate",action:"getMany",params:{organizationId:t,query:ln({query:n}).params}}).then((n=>m(e,n,t)))},getEnvironmentTemplate:function({organizationId:t,environmentTemplateId:n,version:a,query:i={}}){return e({entityType:"EnvironmentTemplate",action:"get",params:{organizationId:t,environmentTemplateId:n,version:a,query:ln({query:i}).params}}).then((n=>d(e,n,t)))},createEnvironmentTemplate:function(t,n){return e({entityType:"EnvironmentTemplate",action:"create",params:{organizationId:t},payload:n}).then((n=>d(e,n,t)))},getSpaces:function(t={}){return e({entityType:"Space",action:"getMany",params:{query:ln({query:t}).params}}).then((t=>n(e,t)))},getSpace:function(n){return e({entityType:"Space",action:"get",params:{spaceId:n}}).then((n=>t(e,n)))},createSpace:function(n,a){return e({entityType:"Space",action:"create",params:{organizationId:a},payload:n}).then((n=>t(e,n)))},getOrganization:function(t){return e({entityType:"Organization",action:"get",params:{organizationId:t}}).then((t=>c(e,t)))},getOrganizations:function(t={}){return e({entityType:"Organization",action:"getMany",params:{query:ln({query:t}).params}}).then((t=>p(e,t)))},getCurrentUser:function(t){return e({entityType:"User",action:"getCurrent",params:t}).then((t=>a(e,t)))},getOAuthApplication:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"get",params:t}).then((t=>f(e,t,n)))},getOAuthApplications:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"getManyForUser",params:t}).then((t=>y(e,t,n)))},createOAuthApplication:function(t,n){const{userId:a}=t;return e({entityType:"OAuthApplication",action:"create",params:t,payload:n}).then((t=>f(e,t,a)))},getAppDefinition:function(t){return e({entityType:"AppDefinition",action:"get",params:t}).then((t=>u(e,t)))},createPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"create",params:{},payload:t}).then((t=>i(e,t)))},getPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"get",params:{tokenId:t}}).then((t=>i(e,t)))},getPersonalAccessTokens:function(){return e({entityType:"PersonalAccessToken",action:"getMany",params:{}}).then((t=>o(e,t)))},getAccessToken:function(t){return e({entityType:"AccessToken",action:"get",params:{tokenId:t}}).then((t=>r(e,t)))},getAccessTokens:function(){return e({entityType:"AccessToken",action:"getMany",params:{}}).then((t=>s(e,t)))},getOrganizationAccessTokens:function(t,n={}){return e({entityType:"AccessToken",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>s(e,t)))},getOrganizationUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},getSpaceUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForSpace",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},rawRequest:function(t){let{url:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,gh);return e({entityType:"Http",action:"request",params:{url:n,config:a}})}}}(i)}})(),module.exports=a})();
|
|
2
|
+
(()=>{var e={8909:(e,t,n)=>{e.exports={parallel:n(5946),serial:n(6893),serialOrdered:n(8424)}},9407: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={}}},7797:(e,t,n)=>{var a=n(4457);e.exports=function(e){var t=!1;return a((function(){t=!0})),function(n,i){t?e(n,i):a((function(){e(n,i)}))}}},4457: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)}},4407:(e,t,n)=>{var a=n(7797),i=n(9407);e.exports=function(e,t,n,o){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=function(e,t,n,i){return 2==e.length?e(n,a(i)):e(n,t,a(i))}(t,r,e[r],(function(e,t){r in n.jobs&&(delete n.jobs[r],e?i(n):n.results[r]=t,o(e,n.results))}))}},264:e=>{e.exports=function(e,t){var n=!Array.isArray(e),a={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&a.keyedList.sort(n?t:function(n,a){return t(e[n],e[a])}),a}},9712:(e,t,n)=>{var a=n(9407),i=n(7797);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,a(this),i(e)(null,this.results))}},5946:(e,t,n)=>{var a=n(4407),i=n(264),o=n(9712);e.exports=function(e,t,n){for(var r=i(e);r.index<(r.keyedList||e).length;)a(e,t,r,(function(e,t){e?n(e,t):0!==Object.keys(r.jobs).length||n(null,r.results)})),r.index++;return o.bind(r,n)}},6893:(e,t,n)=>{var a=n(8424);e.exports=function(e,t,n){return a(e,t,null,n)}},8424:(e,t,n)=>{var a=n(4407),i=n(264),o=n(9712);function r(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,r){var s=i(e,n);return a(e,t,s,(function n(i,o){i?r(i,o):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):r(null,s.results))})),o.bind(s,r)},e.exports.ascending=r,e.exports.descending=function(e,t){return-1*r(e,t)}},3836:(e,t,n)=>{"use strict";var a=n(4499),i=n(6678),o=n(376),r=n(9707);e.exports=r||a.call(o,i)},6678:e=>{"use strict";e.exports=Function.prototype.apply},376:e=>{"use strict";e.exports=Function.prototype.call},946:(e,t,n)=>{"use strict";var a=n(4499),i=n(1711),o=n(376),r=n(3836);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return r(a,o,e)}},9707:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},3232:(e,t,n)=>{"use strict";var a=n(8897),i=n(946),o=i([a("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=a(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i([n]):n}},5645:(e,t,n)=>{var a=n(9023),i=n(2203).Stream,o=n(4145);function r(){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=r,a.inherits(r,i),r.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},r.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},r.prototype.append=function(e){if(r.isStreamLike(e)){if(!(e instanceof o)){var t=o.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},r.prototype.pipe=function(e,t){return i.prototype.pipe.call(this,e,t),this.resume(),e},r.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}}},r.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){r.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},r.prototype._pipeNext=function(e){if(this._currentStream=e,r.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},r.prototype.write=function(e){this.emit("data",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},r.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")},r.prototype.end=function(){this._reset(),this.emit("end")},r.prototype.destroy=function(){this._reset(),this.emit("close")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},r.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)},r.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},7989:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let a=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(i=a))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(1236)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,r=null;function s(...e){if(!s.enabled)return;const a=s,i=Number(new Date),o=i-(n||i);a.diff=o,a.prev=n,a.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";r++;const o=t.formatters[i];if("function"==typeof o){const t=e[r];n=o.call(a,t),e.splice(r,1),r--}return n})),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=a,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function i(e,t){let n=0,a=0,i=-1,o=0;for(;n<e.length;)if(a<t.length&&(t[a]===e[n]||"*"===t[a]))"*"===t[a]?(i=a,o=n,a++):(n++,a++);else{if(-1===i)return!1;a=i+1,o++,n=o}for(;a<t.length&&"*"===t[a];)a++;return a===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(6301),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}},9221:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7989):e.exports=n(6221)},6221:(e,t,n)=>{const a=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let a=0;a<n.length;a++)e.inspectOpts[n[a]]=t.inspectOpts[n[a]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:a,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),o=` ${i};1m${a} [0m`;n[0]=o+n[0].split("\n").join("\n"+o),n.push(i+"m+"+e.exports.humanize(this.diff)+"[0m")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+a+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):a.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(459);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let a=process.env[t];return a=!!/^(yes|on|true|enabled)$/i.test(a)||!/^(no|off|false|disabled)$/i.test(a)&&("null"===a?null:Number(a)),e[n]=a,e}),{}),e.exports=n(1236)(t);const{formatters:o}=e.exports;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},4145:(e,t,n)=>{var a=n(2203).Stream,i=n(9023);function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=o,i.inherits(o,a),o.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(o.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),o.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},o.prototype.resume=function(){this._released||this.release(),this.source.resume()},o.prototype.pause=function(){this.source.pause()},o.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},o.prototype.pipe=function(){var e=a.prototype.pipe.apply(this,arguments);return this.resume(),e},o.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))},o.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))}}},1724:(e,t,n)=>{"use strict";var a,i=n(946),o=n(1399);try{a=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var r=!!a&&o&&o(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=r&&"function"==typeof r.get?i([r.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},7539:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},3841:e=>{"use strict";e.exports=EvalError},219:e=>{"use strict";e.exports=Error},6190:e=>{"use strict";e.exports=RangeError},3950:e=>{"use strict";e.exports=ReferenceError},6296:e=>{"use strict";e.exports=SyntaxError},1711:e=>{"use strict";e.exports=TypeError},3221:e=>{"use strict";e.exports=URIError},7960:e=>{"use strict";e.exports=Object},1615:(e,t,n)=>{var a;e.exports=function(){if(!a){try{a=n(9221)("follow-redirects")}catch(e){}"function"!=typeof a&&(a=function(){})}a.apply(null,arguments)}},3520:(e,t,n)=>{var a,i,o,r=n(7016),s=r.URL,c=n(8611),p=n(5692),l=n(2203).Writable,u=n(2613),d=n(1615);a="undefined"!=typeof process,i="undefined"!=typeof window&&"undefined"!=typeof document,o=D(Error.captureStackTrace),a||!i&&o||console.warn("The follow-redirects package should be excluded from browser builds.");var m=!1;try{u(new s(""))}catch(e){m="ERR_INVALID_URL"===e.code}var f=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],y=["abort","aborted","connect","error","socket","timeout"],v=Object.create(null);y.forEach((function(e){v[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var b=k("ERR_INVALID_URL","Invalid URL",TypeError),h=k("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=k("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",h),x=k("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),w=k("ERR_STREAM_WRITE_AFTER_END","write after end"),O=l.prototype.destroy||P;function j(e,t){l.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof h?e:new h({cause:e}))}},this._performRequest()}function I(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var i=a+":",o=n[i]=e[a],r=t[a]=Object.create(o);Object.defineProperties(r,{request:{value:function(e,a,o){return s&&e instanceof s?e=A(e):_(e)?e=A(T(e)):(o=a,a=S(e),e={protocol:i}),D(a)&&(o=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,_(a.host)||_(a.hostname)||(a.hostname="::1"),u.equal(a.protocol,i,"protocol mismatch"),d("options",a),new j(a,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=r.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function P(){}function T(e){var t;if(m)t=new s(e);else if(!_((t=S(r.parse(e))).protocol))throw new b({input:e});return t}function S(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new b({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new b({input:e.href||e});return e}function A(e,t){var n=t||{};for(var a of f)n[a]=e[a];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function E(e,t){var n;for(var a in t)e.test(a)&&(n=t[a],delete t[a]);return null==n?void 0:String(n).trim()}function k(e,t,n){function a(n){D(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return a.prototype=new(n||Error),Object.defineProperties(a.prototype,{constructor:{value:a,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),a}function C(e,t){for(var n of y)e.removeListener(n,v[n]);e.on("error",P),e.destroy(t)}function _(e){return"string"==typeof e||e instanceof String}function D(e){return"function"==typeof e}j.prototype=Object.create(l.prototype),j.prototype.abort=function(){C(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},j.prototype.destroy=function(e){return C(this._currentRequest,e),O.call(this,e),this},j.prototype.write=function(e,t,n){if(this._ending)throw new w;if(!(_(e)||"object"==typeof(a=e)&&"length"in a))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;D(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 x),this.abort()):n&&n()},j.prototype.end=function(e,t,n){if(D(e)?(n=e,e=t=null):D(t)&&(n=t,t=null),e){var a=this,i=this._currentRequest;this.write(e,t,(function(){a._ended=!0,i.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},j.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},j.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},j.prototype.setTimeout=function(e,t){var n=this;function a(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),o()}),e),a(t)}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),n.removeListener("close",o),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",a),this.on("abort",o),this.on("error",o),this.on("response",o),this.on("close",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){j.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(j.prototype,e,{get:function(){return this._currentRequest[e]}})})),j.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))}},j.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var a=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(a._redirectable=this,y))a.on(i,v[i]);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(a===s._currentRequest)if(t)s.emit("error",t);else if(o<c.length){var n=c[o++];a.finished||a.write(n.data,n.encoding,e)}else s._ended&&a.end()}()}},j.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(C(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var i=this._options.beforeRedirect;i&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var o=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=[],E(/^content-/i,this._options.headers));var c,p,l=E(/^host$/i,this._options.headers),f=T(this._currentUrl),y=l||f.host,v=/^\w+:/.test(a)?this._currentUrl:r.format(Object.assign(f,{host:y})),b=(c=a,p=v,m?new s(c,p):T(r.resolve(p,c)));if(d("redirecting to",b.href),this._isRedirect=!0,A(b,this._options),(b.protocol!==f.protocol&&"https:"!==b.protocol||b.host!==y&&!function(e,t){u(_(e)&&_(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(b.host,y))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),D(i)){var h={headers:e.headers,statusCode:t},x={url:v,method:o,headers:n};i(this._options,h,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=I({http:c,https:p}),e.exports.wrap=I},2925:(e,t,n)=>{var a=n(5645),i=n(9023),o=n(6928),r=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(9613),d=n(8909),m=n(6686);function f(e){if(!(this instanceof f))return new f(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],a.call(this),e=e||{})this[t]=e[t]}e.exports=f,i.inherits(f,a),f.LINE_BREAK="\r\n",f.DEFAULT_CONTENT_TYPE="application/octet-stream",f.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=a.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),r=this._multiPartFooter();i(o),i(t),i(r),this._trackLength(o,t,n)}},f.prototype._trackLength=function(e,t,n){var a=0;null!=n.knownLength?a+=+n.knownLength:Buffer.isBuffer(t)?a=t.length:"string"==typeof t&&(a=Buffer.byteLength(t)),this._valueLength+=a,this._overheadLength+=Buffer.byteLength(e)+f.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},f.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)):p.stat(e.path,(function(n,a){var i;n?t(n):(i=a.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")},f.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var a,i=this._getContentDisposition(t,n),o=this._getContentType(t,n),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(o||[])};for(var c in"object"==typeof n.header&&m(s,n.header),s)s.hasOwnProperty(c)&&null!=(a=s[c])&&(Array.isArray(a)||(a=[a]),a.length&&(r+=c+": "+a.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+r+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var n,a;return"string"==typeof t.filepath?n=o.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=o.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=o.basename(e.client._httpMessage.path||"")),n&&(a='filename="'+n+'"'),a},f.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=u.lookup(e.name)),!n&&e.path&&(n=u.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=u.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=f.DEFAULT_CONTENT_TYPE),n},f.prototype._multiPartFooter=function(){return function(e){var t=f.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},f.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+f.LINE_BREAK},f.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},f.prototype.setBoundary=function(e){this._boundary=e},f.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},f.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,a=this._streams.length;n<a;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(f.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},f.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},f.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},f.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},f.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,a){n?e(n):(a.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},f.prototype.submit=function(e,t){var n,a,i={method:"post"};return"string"==typeof e?(e=c(e),a=m({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(a=m(e,i)).port||(a.port="https:"==a.protocol?443:80),a.headers=this.getHeaders(e.headers),n="https:"==a.protocol?s.request(a):r.request(a),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&n.setHeader("Content-Length",a),this.pipe(n),t){var i,o=function(e,a){return n.removeListener("error",o),n.removeListener("response",i),t.call(this,e,a)};i=o.bind(this,null),n.on("error",o),n.on("response",i)}}.bind(this)),n},f.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},f.prototype.toString=function(){return"[object FormData]"}},6686:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},5845:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,a=function(e,t){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,r=function(e){for(var t=[],n=1,a=0;n<e.length;n+=1,a+=1)t[a]=e[n];return t}(arguments),s=n(0,i.length-r.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(o=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=i.apply(this,a(r,arguments));return Object(t)===t?t:this}return i.apply(e,a(r,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},4499:(e,t,n)=>{"use strict";var a=n(5845);e.exports=Function.prototype.bind||a},8897:(e,t,n)=>{"use strict";var a,i=n(7960),o=n(219),r=n(3841),s=n(6190),c=n(3950),p=n(6296),l=n(1711),u=n(3221),d=n(4822),m=n(3700),f=n(3888),y=n(4670),v=n(9988),b=n(5786),h=n(3897),g=Function,x=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(1399),O=n(7539),j=function(){throw new l},I=w?function(){try{return j}catch(e){try{return w(arguments,"callee").get}catch(e){return j}}}():j,P=n(4923)(),T=n(6152),S=n(9548),A=n(1588),E=n(6678),k=n(376),C={},_="undefined"!=typeof Uint8Array&&T?T(Uint8Array):a,D={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":P&&T?T([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":C,"%AsyncGenerator%":C,"%AsyncGeneratorFunction%":C,"%AsyncIteratorPrototype%":C,"%Atomics%":"undefined"==typeof Atomics?a:Atomics,"%BigInt%":"undefined"==typeof BigInt?a:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?a:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":C,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&T?T(T([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&P&&T?T((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&P&&T?T((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&T?T(""[Symbol.iterator]()):a,"%Symbol%":P?Symbol:a,"%SyntaxError%":p,"%ThrowTypeError%":I,"%TypedArray%":_,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?a:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?a:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?a:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?a:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":E,"%Object.defineProperty%":O,"%Object.getPrototypeOf%":S,"%Math.abs%":d,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":b,"%Math.sign%":h,"%Reflect.getPrototypeOf%":A};if(T)try{null.error}catch(e){var R=T(T(e));D["%Error.prototype%"]=R}var z=function e(t){var n;if("%AsyncFunction%"===t)n=x("async function () {}");else if("%GeneratorFunction%"===t)n=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=x("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&T&&(n=T(i.prototype))}return D[t]=n,n},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},$=n(4499),F=n(4313),q=$.call(k,Array.prototype.concat),U=$.call(E,Array.prototype.splice),L=$.call(k,String.prototype.replace),B=$.call(k,String.prototype.slice),N=$.call(k,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,V=function(e,t){var n,a=e;if(F(M,a)&&(a="%"+(n=M[a])[0]+"%"),F(D,a)){var i=D[a];if(i===C&&(i=z(a)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:i}}throw new p("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new p("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new p("invalid intrinsic syntax, expected opening `%`");var a=[];return L(e,W,(function(e,t,n,i){a[a.length]=n?L(i,K,"$1"):t||e})),a}(e),a=n.length>0?n[0]:"",i=V("%"+a+"%",t),o=i.name,r=i.value,s=!1,c=i.alias;c&&(a=c[0],U(n,q([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var m=n[u],f=B(m,0,1),y=B(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===y||"'"===y||"`"===y)&&f!==y)throw new p("property names with quotes must have matching quotes");if("constructor"!==m&&d||(s=!0),F(D,o="%"+(a+="."+m)+"%"))r=D[o];else if(null!=r){if(!(m in r)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&u+1>=n.length){var v=w(r,m);r=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:r[m]}else d=F(r,m),r=r[m];d&&!s&&(D[o]=r)}}return r}},9548:(e,t,n)=>{"use strict";var a=n(7960);e.exports=a.getPrototypeOf||null},1588:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},6152:(e,t,n)=>{"use strict";var a=n(1588),i=n(9548),o=n(1724);e.exports=a?function(e){return a(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},6433:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},1399:(e,t,n)=>{"use strict";var a=n(6433);if(a)try{a([],"length")}catch(e){a=null}e.exports=a},5704:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",a=t.indexOf(n+e),i=t.indexOf("--");return-1!==a&&(-1===i||a<i)}},4923:(e,t,n)=>{"use strict";var a="undefined"!=typeof Symbol&&Symbol,i=n(4361);e.exports=function(){return"function"==typeof a&&"function"==typeof Symbol&&"symbol"==typeof a("foo")&&"symbol"==typeof Symbol("bar")&&i()}},4361:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var a in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},4313:(e,t,n)=>{"use strict";var a=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(4499);e.exports=o.call(a,i)},7148:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3347:(e,t,n)=>{var a=n(1019)(Object.getPrototypeOf,Object);e.exports=a},1019:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},6397:e=>{var t=Array.isArray;e.exports=t},2934:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4679:(e,t,n)=>{var a=n(7148),i=n(3347),o=n(2934),r=Function.prototype,s=Object.prototype,c=r.toString,p=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=a(e))return!1;var t=i(e);if(null===t)return!0;var n=p.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},7571:(e,t,n)=>{var a=n(7148),i=n(6397),o=n(2934);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==a(e)}},4822:e=>{"use strict";e.exports=Math.abs},3700:e=>{"use strict";e.exports=Math.floor},3943:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},3888:e=>{"use strict";e.exports=Math.max},4670:e=>{"use strict";e.exports=Math.min},9988:e=>{"use strict";e.exports=Math.pow},5786:e=>{"use strict";e.exports=Math.round},3897:(e,t,n)=>{"use strict";var a=n(3943);e.exports=function(e){return a(e)||0===e?e:e<0?-1:1}},9370:(e,t,n)=>{e.exports=n(8761)},9613:(e,t,n)=>{"use strict";var a,i,o,r=n(9370),s=n(6928).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,p=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];return!(!a||!a.length)&&a[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),a=t.extensions,i=t.types,o=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var p=o.indexOf(r[i[c]].source),l=o.indexOf(t.source);if("application/octet-stream"!==i[c]&&(p>l||p===l&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},6301:e=>{var t=1e3,n=60*t,a=60*n,i=24*a,o=7*i;function r(e,t,n,a){var i=t>=1.5*n;return Math.round(e/n)+" "+a+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var r=/^(-?(?:\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(r){var s=parseFloat(r[1]);switch((r[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?r(c,p,i,"day"):p>=a?r(c,p,a,"hour"):p>=n?r(c,p,n,"minute"):p>=t?r(c,p,t,"second"):c+" ms"):function(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=a?Math.round(e/a)+"h":o>=n?Math.round(e/n)+"m":o>=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))}},8527:(e,t,n)=>{var a="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=a&&i&&"function"==typeof i.get?i.get:null,r=a&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,p=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,h=String.prototype.slice,g=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,j=Array.prototype.concat,I=Array.prototype.join,P=Array.prototype.slice,T=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,_=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function R(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var a=e<0?-T(-e):T(e);if(a!==e){var i=String(a),o=h.call(t,i.length+1);return g.call(i,n,"$&_")+"."+g.call(g.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var z=n(6761),M=z.custom,$=W(M)?M:null,F={__proto__:null,double:'"',single:"'"},q={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function U(e,t,n){var a=n.quoteStyle||t,i=F[a];return i+e+i}function L(e){return g.call(String(e),/"/g,""")}function B(e){return!("[object Array]"!==H(e)||C&&"object"==typeof e&&C in e)}function N(e){return!("[object RegExp]"!==H(e)||C&&"object"==typeof e&&C in e)}function W(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,a,i){var s=n||{};if(V(s,"quoteStyle")&&!V(F,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!V(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return y?R(t,x):x}if("bigint"==typeof t){var O=String(t)+"n";return y?R(t,O):O}var T=void 0===s.depth?5:s.depth;if(void 0===a&&(a=0),a>=T&&T>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var A,M=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=I.call(Array(e.indent+1)," ")}return{base:n,prev:I.call(Array(t+1),n)}}(s,a);if(void 0===i)i=[];else if(X(i,t)>=0)return"[Circular]";function q(t,n,o){if(n&&(i=P.call(i)).push(n),o){var r={depth:s.depth};return V(s,"quoteStyle")&&(r.quoteStyle=s.quoteStyle),e(t,r,a+1,i)}return e(t,s,a+1,i)}if("function"==typeof t&&!N(t)){var K=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),J=te(t,q);return"[Function"+(K?": "+K:" (anonymous)")+"]"+(J.length>0?" { "+I.call(J,", ")+" }":"")}if(W(t)){var ne=k?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||k?ne:Q(ne)}if((A=t)&&"object"==typeof A&&("undefined"!=typeof HTMLElement&&A instanceof HTMLElement||"string"==typeof A.nodeName&&"function"==typeof A.getAttribute)){for(var ae="<"+w.call(String(t.nodeName)),ie=t.attributes||[],oe=0;oe<ie.length;oe++)ae+=" "+ie[oe].name+"="+U(L(ie[oe].value),"double",s);return ae+=">",t.childNodes&&t.childNodes.length&&(ae+="..."),ae+"</"+w.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var re=te(t,q);return M&&!function(e){for(var t=0;t<e.length;t++)if(X(e[t],"\n")>=0)return!1;return!0}(re)?"["+ee(re,M)+"]":"[ "+I.call(re,", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)){var se=te(t,q);return"cause"in Error.prototype||!("cause"in t)||_.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+I.call(se,", ")+" }":"{ ["+String(t)+"] "+I.call(j.call("[cause]: "+q(t.cause),se),", ")+" }"}if("object"==typeof t&&c){if($&&"function"==typeof t[$]&&z)return z(t,{depth:T-a});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return r&&r.call(t,(function(e,n){ce.push(q(n,t,!0)+" => "+q(e,t))})),Z("Map",o.call(t),ce,M)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var pe=[];return l&&l.call(t,(function(e){pe.push(q(e,t))})),Z("Set",p.call(t),pe,M)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch(e){}return!1}(t))return Q(q(S.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(f.call(t));if(function(e){return!("[object String]"!==H(e)||C&&"object"==typeof e&&C in e)}(t))return Q(q(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==H(e)||C&&"object"==typeof e&&C in e)}(t)&&!N(t)){var le=te(t,q),ue=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",me=!ue&&C&&Object(t)===t&&C in t?h.call(H(t),8,-1):de?"Object":"",fe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(me||de?"["+I.call(j.call([],me||[],de||[]),": ")+"] ":"");return 0===le.length?fe+"{}":M?fe+"{"+ee(le,M)+"}":fe+"{ "+I.call(le,", ")+" }"}return String(t)};var K=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return K.call(e,t)}function H(e){return y.call(e)}function X(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,a=e.length;n<a;n++)if(e[n]===t)return n;return-1}function G(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,a="... "+n+" more character"+(n>1?"s":"");return G(h.call(e,0,t.maxStringLength),t)+a}var i=q[t.quoteStyle||"single"];return i.lastIndex=0,U(g.call(g.call(e,i,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,n,a){return e+" ("+t+") {"+(a?ee(n,a):I.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+I.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=B(e),a=[];if(n){a.length=e.length;for(var i=0;i<e.length;i++)a[i]=V(e,i)?t(e[i],e):""}var o,r="function"==typeof A?A(e):[];if(k){o={};for(var s=0;s<r.length;s++)o["$"+r[s]]=r[s]}for(var c in e)V(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&o["$"+c]instanceof Symbol||(O.call(/[^\w$]/,c)?a.push(t(c,e)+": "+t(e[c],e)):a.push(c+": "+t(e[c],e))));if("function"==typeof A)for(var p=0;p<r.length;p++)_.call(e,r[p])&&a.push("["+t(r[p])+"]: "+t(e[r[p]],e));return a}},6761:(e,t,n)=>{e.exports=n(9023).inspect},1420:(e,t,n)=>{"use strict";var a=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},o=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function r(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?a(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(r("npm_config_no_proxy")||r("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var a=n.match(/^(.+):(\d+)$/),i=a?a[1]:n,r=a?parseInt(a[2]):0;return!(!r||r===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!o.call(e,i)):e!==i)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var p=r("npm_config_"+n+"_proxy")||r(n+"_proxy")||r("npm_config_proxy")||r("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},769:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:a}},8985:(e,t,n)=>{"use strict";var a=n(1088),i=n(2286),o=n(769);e.exports={formats:o,parse:i,stringify:a}},2286:(e,t,n)=>{"use strict";var a=n(5364),i=Object.prototype.hasOwnProperty,o=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:a.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},p=function(e,t,n,o){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,p=n.depth>0&&/(\[[^[\]]*])/.exec(r),l=p?r.slice(0,p.index):r,u=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(p=s.exec(r))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,p[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(p[1])}if(p){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+r.slice(p.index)+"]")}return function(e,t,n,i){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var r=e.slice(0,-1).join("");o=Array.isArray(t)&&t[r]?t[r].length:0}for(var s=i?t:c(t,n,o),p=e.length-1;p>=0;--p){var l,u=e[p];if("[]"===u&&n.parseArrays)l=n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:a.combine([],s);else{l=n.plainObjects?{__proto__:null}:{};var d="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,m=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,f=parseInt(m,10);n.parseArrays||""!==m?!isNaN(f)&&u!==m&&String(f)===m&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(l=[])[f]=s:"__proto__"!==m&&(l[m]=s):l={0:s}}s=l}return s}(u,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return r;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?r.charset:e.charset,n=void 0===e.duplicates?r.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||r.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:r.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:r.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:r.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:r.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:r.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:r.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:r.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:r.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:r.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:r.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:r.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:r.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:r.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var l="string"==typeof e?function(e,t){var n={__proto__:null},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;p=p.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=p.split(t.delimiter,t.throwOnLimitExceeded?l+1:l);if(t.throwOnLimitExceeded&&u.length>l)throw new RangeError("Parameter limit exceeded. Only "+l+" parameter"+(1===l?"":"s")+" allowed.");var d,m=-1,f=t.charset;if(t.charsetSentinel)for(d=0;d<u.length;++d)0===u[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[d]?f="utf-8":"utf8=%26%2310003%3B"===u[d]&&(f="iso-8859-1"),m=d,d=u.length);for(d=0;d<u.length;++d)if(d!==m){var y,v,b=u[d],h=b.indexOf("]="),g=-1===h?b.indexOf("="):h+1;-1===g?(y=t.decoder(b,r.decoder,f,"key"),v=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,g),r.decoder,f,"key"),v=a.maybeMap(c(b.slice(g+1),t,o(n[y])?n[y].length:0),(function(e){return t.decoder(e,r.decoder,f,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===f&&(v=s(String(v))),b.indexOf("[]=")>-1&&(v=o(v)?[v]:v);var x=i.call(n,y);x&&"combine"===t.duplicates?n[y]=a.combine(n[y],v):x&&"last"!==t.duplicates||(n[y]=v)}return n}(e,n):e,u=n.plainObjects?{__proto__:null}:{},d=Object.keys(l),m=0;m<d.length;++m){var f=d[m],y=p(f,l[f],n,"string"==typeof e);u=a.merge(u,y,n)}return!0===n.allowSparse?u:a.compact(u)}},1088:(e,t,n)=>{"use strict";var a=n(588),i=n(5364),o=n(769),r=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,p=Array.prototype.push,l=function(e,t){p.apply(e,c(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,m={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,o,r,s,p,u,d,y,v,b,h,g,x,w,O,j,I){for(var P,T=t,S=I,A=0,E=!1;void 0!==(S=S.get(f))&&!E;){var k=S.get(t);if(A+=1,void 0!==k){if(k===A)throw new RangeError("Cyclic object value");E=!0}void 0===S.get(f)&&(A=0)}if("function"==typeof v?T=v(n,T):T instanceof Date?T=g(T):"comma"===o&&c(T)&&(T=i.maybeMap(T,(function(e){return e instanceof Date?g(e):e}))),null===T){if(p)return y&&!O?y(n,m.encoder,j,"key",x):n;T=""}if("string"==typeof(P=T)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||i.isBuffer(T))return y?[w(O?n:y(n,m.encoder,j,"key",x))+"="+w(y(T,m.encoder,j,"value",x))]:[w(n)+"="+w(String(T))];var C,_=[];if(void 0===T)return _;if("comma"===o&&c(T))O&&y&&(T=i.maybeMap(T,y)),C=[{value:T.length>0?T.join(",")||null:void 0}];else if(c(v))C=v;else{var D=Object.keys(T);C=b?D.sort(b):D}var R=d?String(n).replace(/\./g,"%2E"):String(n),z=r&&c(T)&&1===T.length?R+"[]":R;if(s&&c(T)&&0===T.length)return z+"[]";for(var M=0;M<C.length;++M){var $=C[M],F="object"==typeof $&&$&&void 0!==$.value?$.value:T[$];if(!u||null!==F){var q=h&&d?String($).replace(/\./g,"%2E"):String($),U=c(T)?"function"==typeof o?o(z,q):z:z+(h?"."+q:"["+q+"]");I.set(t,A);var L=a();L.set(f,I),l(_,e(F,U,o,r,s,p,u,d,"comma"===o&&O&&c(T)?null:y,v,b,h,g,x,w,O,j,L))}}return _};e.exports=function(e,t){var n,i=e,p=function(e){if(!e)return m;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||m.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!r.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a,i=o.formatters[n],p=m.filter;if(("function"==typeof e.filter||c(e.filter))&&(p=e.filter),a=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":m.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===e.allowDots?!0===e.encodeDotInKeys||m.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:a,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:m.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:p,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(t);"function"==typeof p.filter?i=(0,p.filter)("",i):c(p.filter)&&(n=p.filter);var u=[];if("object"!=typeof i||null===i)return"";var d=s[p.arrayFormat],f="comma"===d&&p.commaRoundTrip;n||(n=Object.keys(i)),p.sort&&n.sort(p.sort);for(var v=a(),b=0;b<n.length;++b){var h=n[b],g=i[h];p.skipNulls&&null===g||l(u,y(g,h,d,f,p.allowEmptyArrays,p.strictNullHandling,p.skipNulls,p.encodeDotInKeys,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,v))}var x=u.join(p.delimiter),w=!0===p.addQueryPrefix?"?":"";return p.charsetSentinel&&("iso-8859-1"===p.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),x.length>0?w+x:""}},5364:(e,t,n)=>{"use strict";var a=n(769),i=Object.prototype.hasOwnProperty,o=Array.isArray,r=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)void 0!==e[a]&&(n[a]=e[a]);return n},c=1024;e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var i=t[a],r=i.obj[i.prop],s=Object.keys(r),c=0;c<s.length;++c){var p=s[c],l=r[p];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:r,prop:p}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var a=[],i=0;i<n.length;++i)void 0!==n[i]&&a.push(n[i]);t.obj[t.prop]=a}}}(t),e},decode:function(e,t,n){var a=e.replace(/\+/g," ");if("iso-8859-1"===n)return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(e){return a}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var p="",l=0;l<s.length;l+=c){for(var u=s.length>=c?s.slice(l,l+c):s,d=[],m=0;m<u.length;++m){var f=u.charCodeAt(m);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===a.RFC1738&&(40===f||41===f)?d[d.length]=u.charAt(m):f<128?d[d.length]=r[f]:f<2048?d[d.length]=r[192|f>>6]+r[128|63&f]:f<55296||f>=57344?d[d.length]=r[224|f>>12]+r[128|f>>6&63]+r[128|63&f]:(m+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(m)),d[d.length]=r[240|f>>18]+r[128|f>>12&63]+r[128|f>>6&63]+r[128|63&f])}p+=d.join("")}return p},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},merge:function e(t,n,a){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(a&&(a.plainObjects||a.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var r=t;return o(t)&&!o(n)&&(r=s(t,a)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var r=t[o];r&&"object"==typeof r&&n&&"object"==typeof n?t[o]=e(r,n,a):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var r=n[o];return i.call(t,o)?t[o]=e(t[o],r,a):t[o]=r,t}),r)}}},3575:(e,t,n)=>{"use strict";var a=n(8527),i=n(1711),o=function(e,t,n){for(var a,i=e;null!=(a=i.next);i=a)if(a.key===t)return i.next=a.next,n||(a.next=e.next,e.next=a),a};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+a(e))},delete:function(t){var n=e&&e.next,a=function(e,t){if(e)return o(e,t,!0)}(e,t);return a&&n&&n===a&&(e=void 0),!!a},get:function(t){return function(e,t){if(e){var n=o(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var a=o(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},9167:(e,t,n)=>{"use strict";var a=n(8897),i=n(3232),o=n(8527),r=n(1711),s=a("%Map%",!0),c=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),l=i("Map.prototype.has",!0),u=i("Map.prototype.delete",!0),d=i("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){if(e){var n=u(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&l(e,t)},set:function(t,n){e||(e=new s),p(e,t,n)}};return t}},9075:(e,t,n)=>{"use strict";var a=n(8897),i=n(3232),o=n(8527),r=n(9167),s=n(1711),c=a("%WeakMap%",!0),p=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),u=i("WeakMap.prototype.has",!0),d=i("WeakMap.prototype.delete",!0);e.exports=c?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+o(e))},delete:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(r&&t)return t.delete(n);return!1},get:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?p(e,n):t&&t.get(n)},has:function(n){return c&&n&&("object"==typeof n||"function"==typeof n)&&e?u(e,n):!!t&&t.has(n)},set:function(n,a){c&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new c),l(e,n,a)):r&&(t||(t=r()),t.set(n,a))}};return n}:r},588:(e,t,n)=>{"use strict";var a=n(1711),i=n(8527),o=n(3575),r=n(9167),s=n(9075)||r||o;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},459:(e,t,n)=>{"use strict";const a=n(857),i=n(2018),o=n(5704),{env:r}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function p(e,t){if(0===s)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const n=s||0;if("dumb"===r.TERM)return n;if("win32"===process.platform){const e=a.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in r))||"codeship"===r.CI_NAME?1:n;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("truecolor"===r.COLORTERM)return 3;if("TERM_PROGRAM"in r){const e=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)||"COLORTERM"in r?1:n}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),"FORCE_COLOR"in r&&(s="true"===r.FORCE_COLOR?1:"false"===r.FORCE_COLOR?0:0===r.FORCE_COLOR.length?1:Math.min(parseInt(r.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(p(e,e&&e.isTTY))},stdout:c(p(!0,i.isatty(1))),stderr:c(p(!0,i.isatty(2)))}},2613:e=>{"use strict";e.exports=require("assert")},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")},8761:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')}},t={};function n(a){var i=t[a];if(void 0!==i)return i.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};(()=>{"use strict";n.r(a),n.d(a,{RestAdapter:()=>ey,ScheduledActionReferenceFilters:()=>hv,WorkflowStepPermissionAction:()=>nh,WorkflowStepPermissionEffect:()=>ah,WorkflowStepPermissionType:()=>th,asIterator:()=>ng,createClient:()=>lg,editorInterfaceDefaults:()=>gt,fetchAll:()=>rg,isDraft:()=>Ey,isPublished:()=>Sy,isUpdated:()=>Ay,makeRequest:()=>Gf});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>Sa,hasStandardBrowserEnv:()=>Ea,hasStandardBrowserWebWorkerEnv:()=>ka,navigator:()=>Aa,origin:()=>Ca});var t={};n.r(t),n.d(t,{createPersonalAccessToken:()=>ko,get:()=>Ao,getMany:()=>Eo,getManyForOrganization:()=>_o,revoke:()=>Co});var i={};n.r(i),n.d(i,{create:()=>Fo,createWithId:()=>qo,del:()=>Lo,get:()=>Mo,getMany:()=>$o,update:()=>Uo});var o={};n.r(o),n.d(o,{create:()=>Bo});var r={};n.r(r),n.d(r,{create:()=>tr,del:()=>er,get:()=>Qo,getMany:()=>Yo,getManyForEnvironment:()=>Zo,update:()=>nr});var s={};n.r(s),n.d(s,{create:()=>lr,createWithResponse:()=>dr,getCallDetails:()=>ur});var c={};n.r(c),n.d(c,{create:()=>hr,del:()=>br,get:()=>yr,getMany:()=>vr});var p={};n.r(p),n.d(p,{create:()=>Tr,del:()=>Ar,get:()=>Ir,getAppDefinitionUrl:()=>jr,getInstallationsForOrg:()=>Er,getMany:()=>Pr,update:()=>Sr});var l={};n.r(l),n.d(l,{del:()=>_r,get:()=>kr,upsert:()=>Cr});var u={};n.r(u),n.d(u,{del:()=>zr,get:()=>Dr,upsert:()=>Rr});var d={};n.r(d),n.d(d,{del:()=>Wr,get:()=>Lr,getAppInstallationUrl:()=>Ur,getForOrganization:()=>Kr,getMany:()=>Br,upsert:()=>Nr});var m={};n.r(m),n.d(m,{create:()=>Xr,del:()=>Gr,get:()=>Vr,getMany:()=>Hr});var f={};n.r(f),n.d(f,{create:()=>Jr});var y={};n.r(y),n.d(y,{del:()=>Zr,get:()=>Qr,upsert:()=>Yr});var v={};n.r(v),n.d(v,{create:()=>os,del:()=>is,get:()=>as});var b={};n.r(b),n.d(b,{create:()=>cs,del:()=>ps,get:()=>ls});var h={};n.r(h),n.d(h,{archive:()=>Is,create:()=>Ts,createFromFiles:()=>As,createWithId:()=>Ss,del:()=>ws,get:()=>bs,getMany:()=>gs,getPublished:()=>hs,processForAllLocales:()=>Cs,processForLocale:()=>ks,publish:()=>Os,unarchive:()=>Ps,unpublish:()=>js,update:()=>xs});var g={};n.r(g),n.d(g,{ValidationError:()=>_s,create:()=>Ds});var x={};n.r(x),n.d(x,{get:()=>Rs,publish:()=>zs,unpublish:()=>Ms,validate:()=>$s});var w={};n.r(w),n.d(w,{create:()=>Js,del:()=>Ys,get:()=>Xs,getAll:()=>Zs,getMany:()=>Gs,update:()=>Qs});var O={};n.r(O),n.d(O,{create:()=>ic,createWithId:()=>oc,del:()=>lc,get:()=>pc,getAncestors:()=>mc,getDescendants:()=>dc,getMany:()=>uc,getTotal:()=>fc,patch:()=>rc,update:()=>sc,updatePut:()=>cc});var j={};n.r(j),n.d(j,{create:()=>Ic,createWithId:()=>Pc,del:()=>wc,get:()=>xc,getMany:()=>Oc,getTotal:()=>jc,patch:()=>Tc,update:()=>Sc,updatePut:()=>Ac});var I={};n.r(I),n.d(I,{create:()=>Mc,createWithId:()=>$c,del:()=>qc,get:()=>Rc,getMany:()=>zc,publish:()=>Uc,unpublish:()=>Lc,update:()=>Fc});var P={};n.r(P),n.d(P,{get:()=>Vc,getMany:()=>Hc,update:()=>Xc});var T={};n.r(T),n.d(T,{archive:()=>rp,create:()=>cp,createWithId:()=>pp,del:()=>ap,get:()=>Yc,getMany:()=>ep,getPublished:()=>Zc,patch:()=>tp,publish:()=>ip,references:()=>lp,unarchive:()=>sp,unpublish:()=>op,update:()=>np});var S={};n.r(S),n.d(S,{create:()=>hp,createWithId:()=>gp,del:()=>bp,get:()=>fp,getMany:()=>yp,update:()=>vp});var A={};n.r(A),n.d(A,{createWithId:()=>Sp,del:()=>Ep,get:()=>Pp,getMany:()=>Tp,update:()=>Ap});var E={};n.r(E),n.d(E,{create:()=>Mp,del:()=>qp,disconnect:()=>Np,get:()=>Rp,getMany:()=>zp,install:()=>Bp,update:()=>$p,validate:()=>Lp,versionUpdate:()=>Fp,versions:()=>Up});var k={};n.r(k),n.d(k,{getForEnvironment:()=>Qp,getMany:()=>Jp});var C={};n.r(C),n.d(C,{create:()=>ol,createWithId:()=>rl,del:()=>cl,get:()=>al,getExtensionUrl:()=>nl,getMany:()=>il,update:()=>sl});var _={};n.r(_),n.d(_,{get:()=>ll,getMany:()=>ul,getManyForEnvironment:()=>dl});var D={};n.r(D),n.d(D,{get:()=>bl,getMany:()=>hl});var R={};n.r(R),n.d(R,{del:()=>jl,get:()=>gl,patch:()=>Ol,post:()=>xl,put:()=>wl,request:()=>Il});var z={};n.r(z),n.d(z,{create:()=>kl,del:()=>_l,get:()=>Al,getMany:()=>El,update:()=>Cl});var M={};n.r(M),n.d(M,{get:()=>Rl,getMany:()=>Dl});var $={};n.r($),n.d($,{create:()=>Ul,get:()=>Ll});var F={};n.r(F),n.d(F,{del:()=>Jl,get:()=>Hl,getMany:()=>Xl,update:()=>Gl});var q={};n.r(q),n.d(q,{create:()=>Zl,del:()=>tu,get:()=>Ql,getManyForUser:()=>Yl,update:()=>eu});var U={};n.r(U),n.d(U,{create:()=>iu,get:()=>nu,getMany:()=>au,revoke:()=>ou});var L={};n.r(L),n.d(L,{get:()=>ru,getMany:()=>su});var B={};n.r(B),n.d(B,{archive:()=>gu,create:()=>mu,del:()=>yu,get:()=>uu,publish:()=>vu,query:()=>du,unarchive:()=>xu,unpublish:()=>bu,update:()=>fu,validate:()=>hu});var N={};n.r(N),n.d(N,{get:()=>Iu,getMany:()=>Pu,queryForRelease:()=>Tu});var W={};n.r(W),n.d(W,{getMany:()=>Su});var K={};n.r(K),n.d(K,{del:()=>Cu,get:()=>Eu,upsert:()=>ku});var V={};n.r(V),n.d(V,{del:()=>Mu,get:()=>Ru,getForEnvironment:()=>Fu,getMany:()=>$u,upsert:()=>zu});var H={};n.r(H),n.d(H,{create:()=>Ku,createWithId:()=>Vu,del:()=>Xu,get:()=>Bu,getMany:()=>Nu,getManyForOrganization:()=>Wu,update:()=>Hu});var X={};n.r(X),n.d(X,{create:()=>Qu,del:()=>Yu,get:()=>Gu,getMany:()=>Ju,update:()=>Zu});var G={};n.r(G),n.d(G,{getForContentType:()=>od,getForEntry:()=>nd,getManyForContentType:()=>id,getManyForEntry:()=>td});var J={};n.r(J),n.d(J,{create:()=>dd,del:()=>fd,get:()=>pd,getMany:()=>ld,getManyForOrganization:()=>ud,update:()=>md});var Q={};n.r(Q),n.d(Q,{get:()=>yd,getMany:()=>vd});var Y={};n.r(Y),n.d(Y,{create:()=>Sd,createWithId:()=>Ad,del:()=>kd,get:()=>jd,getForOrganization:()=>Pd,getMany:()=>Id,getManyForOrganization:()=>Td,update:()=>Ed});var Z={};n.r(Z),n.d(Z,{createWithId:()=>qd,del:()=>Ld,get:()=>$d,getMany:()=>Fd,update:()=>Ud});var ee={};n.r(ee),n.d(ee,{create:()=>Qd,del:()=>Zd,get:()=>Xd,getAll:()=>Jd,getMany:()=>Gd,update:()=>Yd});var te={};n.r(te),n.d(te,{create:()=>cm,del:()=>lm,get:()=>om,getMany:()=>rm,getManyForSpace:()=>sm,update:()=>pm});var ne={};n.r(ne),n.d(ne,{create:()=>gm,del:()=>wm,get:()=>vm,getManyForOrganization:()=>bm,getManyForTeam:()=>hm,update:()=>xm});var ae={};n.r(ae),n.d(ae,{create:()=>Cm,del:()=>Dm,get:()=>Sm,getForOrganization:()=>Em,getMany:()=>Am,getManyForOrganization:()=>km,update:()=>_m});var ie={};n.r(ie),n.d(ie,{get:()=>zm,update:()=>Mm});var oe={};n.r(oe),n.d(oe,{create:()=>$m});var re={};n.r(re),n.d(re,{getManyForOrganization:()=>qm,getManyForSpace:()=>Fm});var se={};n.r(se),n.d(se,{getCurrent:()=>Lm,getForOrganization:()=>Nm,getForSpace:()=>Um,getManyForOrganization:()=>Wm,getManyForSpace:()=>Bm});var ce={};n.r(ce),n.d(ce,{get:()=>Vm,update:()=>Hm});var pe={};n.r(pe),n.d(pe,{create:()=>uf,createWithId:()=>df,del:()=>vf,deleteRetryPolicy:()=>hf,deleteSigningSecret:()=>bf,get:()=>af,getCallDetails:()=>rf,getHealthStatus:()=>sf,getMany:()=>cf,getManyCallDetails:()=>of,getRetryPolicy:()=>lf,getSigningSecret:()=>pf,update:()=>mf,upsertRetryPolicy:()=>yf,upsertSigningSecret:()=>ff});var le={};n.r(le),n.d(le,{complete:()=>_f,create:()=>Ef,del:()=>Cf,get:()=>Af,getMany:()=>Sf,update:()=>kf});var ue={};n.r(ue),n.d(ue,{create:()=>Lf,del:()=>Nf,get:()=>qf,getMany:()=>Uf,update:()=>Bf});var de={};n.r(de),n.d(de,{getMany:()=>Wf});var me={};n.r(me),n.d(me,{wrapApiKey:()=>ny,wrapApiKeyCollection:()=>ay});var fe={};n.r(fe),n.d(fe,{wrapAppAction:()=>iy,wrapAppActionCollection:()=>oy});var ye={};n.r(ye),n.d(ye,{default:()=>py,wrapAppActionCall:()=>ly,wrapAppActionCallResponse:()=>uy});var ve={};n.r(ve),n.d(ve,{wrapAppBundle:()=>dy,wrapAppBundleCollection:()=>my});var be={};n.r(be),n.d(be,{wrapAppDefinition:()=>fy,wrapAppDefinitionCollection:()=>yy});var he={};n.r(he),n.d(he,{wrapAppDetails:()=>vy});var ge={};n.r(ge),n.d(ge,{wrapAppInstallation:()=>by,wrapAppInstallationCollection:()=>hy});var xe={};n.r(xe),n.d(xe,{wrapAppSignedRequest:()=>gy});var we={};n.r(we),n.d(we,{wrapAppSigningSecret:()=>xy});var Oe={};n.r(Oe),n.d(Oe,{wrapAppEventSubscription:()=>wy});var je={};n.r(je),n.d(je,{wrapAppKey:()=>Oy,wrapAppKeyCollection:()=>jy});var Ie={};n.r(Ie),n.d(Ie,{wrapAppAccessToken:()=>Iy});var Pe={};n.r(Pe),n.d(Pe,{wrapAppUpload:()=>Py,wrapAppUploadCollection:()=>Ty});var Te={};n.r(Te),n.d(Te,{wrapAsset:()=>Ry,wrapAssetCollection:()=>zy});var Se={};n.r(Se),n.d(Se,{wrapAssetKey:()=>My});var Ae={};n.r(Ae),n.d(Ae,{BulkActionStatus:()=>Wy,wrapBulkAction:()=>Ky});var Ee={};n.r(Ee),n.d(Ee,{CommentNode:()=>Gy,default:()=>Jy,wrapComment:()=>Qy,wrapCommentCollection:()=>Yy});var ke={};n.r(ke),n.d(ke,{wrapEditorInterface:()=>Zy,wrapEditorInterfaceCollection:()=>ev});var Ce={};n.r(Ce),n.d(Ce,{wrapSnapshot:()=>tv,wrapSnapshotCollection:()=>nv});var _e={};n.r(_e),n.d(_e,{wrapContentType:()=>pv,wrapContentTypeCollection:()=>lv});var De={};n.r(De),n.d(De,{wrapEntry:()=>fv,wrapEntryCollection:()=>yv});var Re={};n.r(Re),n.d(Re,{wrapReleaseAction:()=>vv,wrapReleaseActionCollection:()=>bv});var ze={};n.r(ze),n.d(ze,{ReleaseReferenceFilters:()=>gv,wrapRelease:()=>xv,wrapReleaseCollection:()=>wv});var Me={};n.r(Me),n.d(Me,{default:()=>Pv,wrapTag:()=>Tv,wrapTagCollection:()=>Sv});var $e={};n.r($e),n.d($e,{wrapUIConfig:()=>Av});var Fe={};n.r(Fe),n.d(Fe,{wrapUserUIConfig:()=>Ev});var qe={};n.r(qe),n.d(qe,{wrapEnvironmentTemplateInstallation:()=>kv,wrapEnvironmentTemplateInstallationCollection:()=>Cv});var Ue={};n.r(Ue),n.d(Ue,{wrapFunction:()=>_v,wrapFunctionCollection:()=>Dv});var Le={};n.r(Le),n.d(Le,{wrapFunctionLog:()=>Rv,wrapFunctionLogCollection:()=>zv});var Be={};n.r(Be),n.d(Be,{wrapEnvironment:()=>Uv,wrapEnvironmentCollection:()=>Lv});var Ne={};n.r(Ne),n.d(Ne,{wrapEnvironmentAlias:()=>Bv,wrapEnvironmentAliasCollection:()=>Nv});var We={};n.r(We),n.d(We,{wrapEnvironmentTemplate:()=>Xv,wrapEnvironmentTemplateCollection:()=>Gv});var Ke={};n.r(Ke),n.d(Ke,{wrapExtension:()=>Jv,wrapExtensionCollection:()=>Qv});var Ve={};n.r(Ve),n.d(Ve,{wrapLocale:()=>Yv,wrapLocaleCollection:()=>Zv});var He={};n.r(He),n.d(He,{ScopeValues:()=>eb,wrapOAuthApplication:()=>tb,wrapOAuthApplicationCollection:()=>nb});var Xe={};n.r(Xe),n.d(Xe,{wrapOrganization:()=>rb,wrapOrganizationCollection:()=>sb});var Ge={};n.r(Ge),n.d(Ge,{wrapOrganizationInvitation:()=>cb});var Je={};n.r(Je),n.d(Je,{wrapOrganizationMembership:()=>pb,wrapOrganizationMembershipCollection:()=>lb});var Qe={};n.r(Qe),n.d(Qe,{wrapPersonalAccessToken:()=>ub,wrapPersonalAccessTokenCollection:()=>db});var Ye={};n.r(Ye),n.d(Ye,{wrapAccessToken:()=>mb,wrapAccessTokenCollection:()=>fb});var Ze={};n.r(Ze),n.d(Ze,{wrapPreviewApiKey:()=>yb,wrapPreviewApiKeyCollection:()=>vb});var et={};n.r(et),n.d(et,{wrapRole:()=>bb,wrapRoleCollection:()=>hb});var tt={};n.r(tt),n.d(tt,{ScheduledActionStatus:()=>xb,default:()=>wb,wrapScheduledAction:()=>Ob,wrapScheduledActionCollection:()=>jb});var nt={};n.r(nt),n.d(nt,{wrapSpace:()=>Ib,wrapSpaceCollection:()=>Pb});var at={};n.r(at),n.d(at,{wrapSpaceMember:()=>Tb,wrapSpaceMemberCollection:()=>Sb});var it={};n.r(it),n.d(it,{wrapSpaceMembership:()=>Ab,wrapSpaceMembershipCollection:()=>Eb});var ot={};n.r(ot),n.d(ot,{default:()=>Db,wrapTask:()=>Rb,wrapTaskCollection:()=>zb});var rt={};n.r(rt),n.d(rt,{wrapTeam:()=>Mb,wrapTeamCollection:()=>$b});var st={};n.r(st),n.d(st,{wrapTeamMembership:()=>Fb,wrapTeamMembershipCollection:()=>qb});var ct={};n.r(ct),n.d(ct,{wrapTeamSpaceMembership:()=>Ub,wrapTeamSpaceMembershipCollection:()=>Lb});var pt={};n.r(pt),n.d(pt,{wrapUpload:()=>Bb});var lt={};n.r(lt),n.d(lt,{wrapUsage:()=>Nb,wrapUsageCollection:()=>Wb});var ut={};n.r(ut),n.d(ut,{wrapUser:()=>Kb,wrapUserCollection:()=>Vb});var dt={};n.r(dt),n.d(dt,{wrapWebhook:()=>Jb,wrapWebhookCollection:()=>Qb});var mt={};n.r(mt),n.d(mt,{WorkflowStepActionType:()=>ih,WorkflowStepPermissionAction:()=>nh,WorkflowStepPermissionEffect:()=>ah,WorkflowStepPermissionType:()=>th,default:()=>oh,wrapWorkflowDefinition:()=>rh,wrapWorkflowDefinitionCollection:()=>sh});var ft={};n.r(ft);var yt={};n.r(yt);var vt={};n.r(vt),n.d(vt,{wrapResourceProvider:()=>lh});var bt={};n.r(bt),n.d(bt,{wrapResourceType:()=>mh,wrapResourceTypeforEnvironment:()=>fh,wrapResourceTypesForEnvironmentCollection:()=>yh});var ht={};n.r(ht),n.d(ht,{wrapResource:()=>vh,wrapResourceCollection:()=>bh});var gt={};n.r(gt),n.d(gt,{default:()=>Yh});var xt=Function.prototype.toString,wt=Object.create,Ot=Object.prototype.toString,jt=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}(),It="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new jt};function Pt(e){if(!e)return wt(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:wt(e);if(t&&~xt.call(t).indexOf("[native code]"))try{return new t}catch(e){}return wt(e)}var Tt="g"===/test/g.flags?function(e){return e.flags}:function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function St(e){var t=Ot.call(e);return t.substring(8,t.length-1)}var At="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||St(e)}:St,Et=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,Ct=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,Dt=Object.prototype,Rt=Dt.hasOwnProperty,zt=Dt.propertyIsEnumerable,Mt="function"==typeof _t,$t=Mt?function(e){return Ct(e).concat(_t(e))}:Ct;function Ft(e,t,n){for(var a=$t(e),i=0,o=a.length,r=void 0,s=void 0;i<o;++i)if("callee"!==(r=a[i])&&"caller"!==r)if(s=kt(e,r)){s.get||s.set||(s.value=n.copier(s.value,n));try{Et(t,r,s)}catch(e){t[r]=s.value}}else t[r]=n.copier(e[r],n);return t}function qt(e,t){return e.slice(0)}function Ut(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e,a){n.set(a,t.copier(e,t))})),n}var Lt=Mt?function(e,t){var n=Pt(t.prototype);for(var a in t.cache.set(e,n),e)Rt.call(e,a)&&(n[a]=t.copier(e[a],t));for(var i=_t(e),o=0,r=i.length,s=void 0;o<r;++o)s=i[o],zt.call(e,s)&&(n[s]=t.copier(e[s],t));return n}:function(e,t){var n=Pt(t.prototype);for(var a in t.cache.set(e,n),e)Rt.call(e,a)&&(n[a]=t.copier(e[a],t));return n};function Bt(e,t){return new t.Constructor(e.valueOf())}function Nt(e,t){return e}function Wt(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach((function(e){n.add(t.copier(e,t))})),n}var Kt=Array.isArray,Vt=Object.assign,Ht=Object.getPrototypeOf||function(e){return e.__proto__},Xt={array:function(e,t){var n=new t.Constructor;t.cache.set(e,n);for(var a=0,i=e.length;a<i;++a)n[a]=t.copier(e[a],t);return n},arrayBuffer:qt,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(qt(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Nt,map:Ut,object:Lt,regExp:function(e,t){var n=new t.Constructor(e.source,Tt(e));return n.lastIndex=e.lastIndex,n},set:Wt},Gt=Vt({},Xt,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),Ft(e,n,t)},map:function(e,t){return Ft(e,Ut(e,t),t)},object:function(e,t){var n=Pt(t.prototype);return t.cache.set(e,n),Ft(e,n,t)},set:function(e,t){return Ft(e,Wt(e,t),t)}});function Jt(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Bt,DataView:e.dataView,Date:e.date,Error:e.error,Float32Array:e.arrayBuffer,Float64Array:e.arrayBuffer,Int8Array:e.arrayBuffer,Int16Array:e.arrayBuffer,Int32Array:e.arrayBuffer,Map:e.map,Number:Bt,Object:e.object,Promise:Nt,RegExp:e.regExp,Set:e.set,String:Bt,WeakMap:Nt,WeakSet:Nt,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Vt({},Xt,e)),n=t.Array,a=t.Object;function i(e,i){if(i.prototype=i.Constructor=void 0,!e||"object"!=typeof e)return e;if(i.cache.has(e))return i.cache.get(e);if(i.prototype=Ht(e),i.Constructor=i.prototype&&i.prototype.constructor,!i.Constructor||i.Constructor===Object)return a(e,i);if(Kt(e))return n(e,i);var o=t[At(e)];return o?o(e,i):"function"==typeof e.then?e:a(e,i)}return function(e){return i(e,{Constructor:void 0,cache:It(),copier:i,prototype:void 0})}}Jt(Vt({},Gt,{}));var Qt=Jt({});const Yt=require("process");function Zt(){}var en=n(7571);class tn extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const nn=/(?<value>\d+)(%)/;function an(e,t=7){let n=t;if(nn.test(e)){const a=e.match(nn)?.groups;if(a&&a.value){const e=parseInt(a.value)/100;n=Math.round(t*e)}}return Math.min(30,Math.max(1,n))}function on(e,t){return t("info",`Throttle request to ${e}/s`),function({limit:e,interval:t,strict:n,onDelay:a}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const i=new Map;let o=0,r=0;const s=[],c=n?function(){const n=Date.now();if(s.length>0&&n-s.at(-1)>t&&(s.length=0),s.length<e)return s.push(n),0;const a=s[0]+t;return s.shift(),s.push(a),Math.max(0,a-n)}:function(){const n=Date.now();return n-o>t?(r=1,o=n,0):(r<e?r++:(o+=t,r=1),o-n)};return e=>{const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let o;return new Promise(((t,r)=>{const s=()=>{t(e.apply(this,n)),i.delete(o)},p=c();p>0?(o=setTimeout(s,p),i.set(o,r),a?.(...n)):s()}))};return t.abort=()=>{for(const e of i.keys())clearTimeout(e),i.get(e)(new tn);i.clear(),s.splice(0,s.length)},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get:()=>i.size}),t}}({limit:e,interval:1e3,strict:!1})}var rn=n(8985);const sn=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function cn(e){const t=Qt(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}function pn(e,t){const n=function(e){const t={insecure:!1,retryOnError:!0,logHandler:(e,t)=>{if("error"===e&&t){const e=[t.name,t.message].filter((e=>e)).join(" - ");return console.error(`[error] ${e}`),void console.error(t)}console.log(`[${e}] ${t}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824,...e};if(!t.accessToken){const e=new TypeError("Expected parameter accessToken");throw t.logHandler("error",e),e}const n=t.insecure?"http":"https",a=t.space?`${t.space}/`:"";let i=t.defaultHostname,o=t.insecure?80:443;if(t.host&&sn.test(t.host)){const e=t.host.split(":");2===e.length?[i,o]=e:i=e[0]}t.basePath&&(t.basePath=`/${t.basePath.split("/").filter(Boolean).join("/")}`);const r=e.baseURL||`${n}://${i}:${o}${t.basePath}/spaces/${a}`;return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:r,headers:t.headers,httpAgent:t.httpAgent,httpsAgent:t.httpsAgent,proxy:t.proxy,timeout:t.timeout,adapter:t.adapter,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:e=>rn.stringify(e)},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),a=e.create(n);return a.httpClientParams=t,a.cloneWithNewParams=function(n){return pn(e,{...cn(t),...n})},t.onBeforeRequest&&a.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((t=>(e.headers.set("Authorization",`Bearer ${t}`),e)))}))}(a,t.accessToken),t.throttle&&((e,t="auto")=>{const{logHandler:n=Zt}=e.defaults;let a=en(t)?an(t):an("auto",t),i=on(a,n),o=!1,r=e.interceptors.request.use((e=>i((()=>e))()),(function(e){return Promise.reject(e)}));e.interceptors.response.use((s=>{if(!o&&en(t)&&("auto"===t||nn.test(t))&&s.headers&&s.headers["x-contentful-ratelimit-second-limit"]){const c=parseInt(s.headers["x-contentful-ratelimit-second-limit"]),p=an(t,c);p!==a&&(r&&e.interceptors.request.eject(r),a=p,i=on(p,n),r=e.interceptors.request.use((e=>i((()=>e))()),(function(e){return Promise.reject(e)}))),o=!0}return s}),(function(e){return Promise.reject(e)}))})(a,t.throttle),function(e,t=5){const{responseLogger:n=Zt,requestLogger:a=Zt}=e.defaults;e.interceptors.request.use((function(e){return a(e),e}),(function(e){return a(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return n(e),e}),(async function(a){const{response:i}=a,{config:o}=a;if(n(a),!o||!e.defaults.retryOnError)return Promise.reject(a);const r=o.attempts||1;if(r>t)return a.attempts=o.attempts,Promise.reject(a);let s=null,c=(p=r,Math.pow(Math.SQRT2,p));var p,l;return i?i.status>=500&&i.status<600?s=`Server ${i.status}`:429===i.status&&(s="Rate limit",i.headers&&a.response.headers["x-contentful-ratelimit-reset"]&&(c=i.headers["x-contentful-ratelimit-reset"])):s="Connection",s?(c=Math.floor(1e3*c+200*Math.random()+500),e.defaults.logHandler("warning",`${s} error occurred. Waiting for ${c} ms before retrying...`),o.attempts=r+1,delete o.httpAgent,delete o.httpsAgent,(l=c,new Promise((e=>{setTimeout(e,l)}))).then((()=>e(o)))):Promise.reject(a)}))}(a,t.retryLimit),t.onError&&a.interceptors.response.use((e=>e),t.onError),a}function ln({query:e}){const t={};return delete e.resolveLinks,t.params=Qt(e),t}function un(e){const t=Object.getOwnPropertyNames(e);for(const n of t){const t=e[n];t&&"object"==typeof t&&un(t)}return Object.freeze(e)}function dn(e){return un(e.sys||{}),e}function mn(){const e=window;if(!e)return null;const t=e.navigator.userAgent,n=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(n)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(n)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(n)?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function fn(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Qt(this)}})}var yn=n(4679);function vn(e){const{config:t,response:n}=e;let a;if(t&&t.headers&&t.headers.Authorization){const e=`...${t.headers.Authorization.toString().substr(-5)}`;t.headers.Authorization=`Bearer ${e}`}if(!yn(n)||!yn(t))throw e;const i=n?.data,o={status:n?.status,statusText:n?.statusText,message:"",details:{}};t&&yn(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),i&&"object"==typeof i&&("requestId"in i&&(o.requestId=i.requestId||"UNKNOWN"),"message"in i&&(o.message=i.message||""),"details"in i&&(o.details=i.details||{}),a=i.sys?.id);const r=new Error;r.name=a&&"Unknown"!==a?a:`${n?.status} ${n?.statusText}`;try{r.message=JSON.stringify(o,null," ")}catch{r.message=o?.message??""}throw r}function bn(e,t){return function(){return e.apply(t,arguments)}}const{toString:hn}=Object.prototype,{getPrototypeOf:gn}=Object,xn=(wn=Object.create(null),e=>{const t=hn.call(e);return wn[t]||(wn[t]=t.slice(8,-1).toLowerCase())});var wn;const On=e=>(e=e.toLowerCase(),t=>xn(t)===e),jn=e=>t=>typeof t===e,{isArray:In}=Array,Pn=jn("undefined"),Tn=On("ArrayBuffer"),Sn=jn("string"),An=jn("function"),En=jn("number"),kn=e=>null!==e&&"object"==typeof e,Cn=e=>{if("object"!==xn(e))return!1;const t=gn(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},_n=On("Date"),Dn=On("File"),Rn=On("Blob"),zn=On("FileList"),Mn=On("URLSearchParams"),[$n,Fn,qn,Un]=["ReadableStream","Request","Response","Headers"].map(On);function Ln(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let a,i;if("object"!=typeof e&&(e=[e]),In(e))for(a=0,i=e.length;a<i;a++)t.call(null,e[a],a,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let r;for(a=0;a<o;a++)r=i[a],t.call(null,e[r],r,e)}}function Bn(e,t){t=t.toLowerCase();const n=Object.keys(e);let a,i=n.length;for(;i-- >0;)if(a=n[i],t===a.toLowerCase())return a;return null}const Nn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Wn=e=>!Pn(e)&&e!==Nn,Kn=(Vn="undefined"!=typeof Uint8Array&&gn(Uint8Array),e=>Vn&&e instanceof Vn);var Vn;const Hn=On("HTMLFormElement"),Xn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Gn=On("RegExp"),Jn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};Ln(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(a[i]=o||n)})),Object.defineProperties(e,a)},Qn="abcdefghijklmnopqrstuvwxyz",Yn="0123456789",Zn={DIGIT:Yn,ALPHA:Qn,ALPHA_DIGIT:Qn+Qn.toUpperCase()+Yn},ea=On("AsyncFunction"),ta=(na="function"==typeof setImmediate,aa=An(Nn.postMessage),na?setImmediate:aa?(ia=`axios@${Math.random()}`,oa=[],Nn.addEventListener("message",(({source:e,data:t})=>{e===Nn&&t===ia&&oa.length&&oa.shift()()}),!1),e=>{oa.push(e),Nn.postMessage(ia,"*")}):e=>setTimeout(e));var na,aa,ia,oa;const ra="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Nn):"undefined"!=typeof process&&process.nextTick||ta,sa={isArray:In,isArrayBuffer:Tn,isBuffer:function(e){return null!==e&&!Pn(e)&&null!==e.constructor&&!Pn(e.constructor)&&An(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||An(e.append)&&("formdata"===(t=xn(e))||"object"===t&&An(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Tn(e.buffer),t},isString:Sn,isNumber:En,isBoolean:e=>!0===e||!1===e,isObject:kn,isPlainObject:Cn,isReadableStream:$n,isRequest:Fn,isResponse:qn,isHeaders:Un,isUndefined:Pn,isDate:_n,isFile:Dn,isBlob:Rn,isRegExp:Gn,isFunction:An,isStream:e=>kn(e)&&An(e.pipe),isURLSearchParams:Mn,isTypedArray:Kn,isFileList:zn,forEach:Ln,merge:function e(){const{caseless:t}=Wn(this)&&this||{},n={},a=(a,i)=>{const o=t&&Bn(n,i)||i;Cn(n[o])&&Cn(a)?n[o]=e(n[o],a):Cn(a)?n[o]=e({},a):In(a)?n[o]=a.slice():n[o]=a};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Ln(arguments[e],a);return n},extend:(e,t,n,{allOwnKeys:a}={})=>(Ln(t,((t,a)=>{n&&An(t)?e[a]=bn(t,n):e[a]=t}),{allOwnKeys:a}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,a)=>{let i,o,r;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)r=i[o],a&&!a(r,e,t)||s[r]||(t[r]=e[r],s[r]=!0);e=!1!==n&&gn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:xn,kindOfTest:On,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return-1!==a&&a===n},toArray:e=>{if(!e)return null;if(In(e))return e;let t=e.length;if(!En(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 a;for(;(a=n.next())&&!a.done;){const n=a.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const a=[];for(;null!==(n=e.exec(t));)a.push(n);return a},isHTMLForm:Hn,hasOwnProperty:Xn,hasOwnProp:Xn,reduceDescriptors:Jn,freezeMethods:e=>{Jn(e,((t,n)=>{if(An(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const a=e[n];An(a)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},a=e=>{e.forEach((e=>{n[e]=!0}))};return In(e)?a(e):a(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Bn,global:Nn,isContextDefined:Wn,ALPHABET:Zn,generateString:(e=16,t=Zn.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n},isSpecCompliantForm:function(e){return!!(e&&An(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,a)=>{if(kn(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[a]=e;const i=In(e)?[]:{};return Ln(e,((e,t)=>{const o=n(e,a+1);!Pn(o)&&(i[t]=o)})),t[a]=void 0,i}}return e};return n(e,0)},isAsyncFn:ea,isThenable:e=>e&&(kn(e)||An(e))&&An(e.then)&&An(e.catch),setImmediate:ta,asap:ra};function ca(e,t,n,a,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),a&&(this.request=a),i&&(this.response=i,this.status=i.status?i.status:null)}sa.inherits(ca,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:sa.toJSONObject(this.config),code:this.code,status:this.status}}});const pa=ca.prototype,la={};["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=>{la[e]={value:e}})),Object.defineProperties(ca,la),Object.defineProperty(pa,"isAxiosError",{value:!0}),ca.from=(e,t,n,a,i,o)=>{const r=Object.create(pa);return sa.toFlatObject(e,r,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ca.call(r,e.message,t,n,a,i),r.cause=e,r.name=e.name,o&&Object.assign(r,o),r};const ua=ca,da=n(2925);function ma(e){return sa.isPlainObject(e)||sa.isArray(e)}function fa(e){return sa.endsWith(e,"[]")?e.slice(0,-2):e}function ya(e,t,n){return e?e.concat(t).map((function(e,t){return e=fa(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const va=sa.toFlatObject(sa,{},null,(function(e){return/^is[A-Z]/.test(e)})),ba=function(e,t,n){if(!sa.isObject(e))throw new TypeError("target must be an object");t=t||new(da||FormData);const a=(n=sa.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!sa.isUndefined(t[e])}))).metaTokens,i=n.visitor||p,o=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&sa.isSpecCompliantForm(t);if(!sa.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(sa.isDate(e))return e.toISOString();if(!s&&sa.isBlob(e))throw new ua("Blob is not supported. Use a Buffer instead.");return sa.isArrayBuffer(e)||sa.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(sa.endsWith(n,"{}"))n=a?n:n.slice(0,-2),e=JSON.stringify(e);else if(sa.isArray(e)&&function(e){return sa.isArray(e)&&!e.some(ma)}(e)||(sa.isFileList(e)||sa.endsWith(n,"[]"))&&(s=sa.toArray(e)))return n=fa(n),s.forEach((function(e,a){!sa.isUndefined(e)&&null!==e&&t.append(!0===r?ya([n],a,o):null===r?n:n+"[]",c(e))})),!1;return!!ma(e)||(t.append(ya(i,n,o),c(e)),!1)}const l=[],u=Object.assign(va,{defaultVisitor:p,convertValue:c,isVisitable:ma});if(!sa.isObject(e))throw new TypeError("data must be an object");return function e(n,a){if(!sa.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+a.join("."));l.push(n),sa.forEach(n,(function(n,o){!0===(!(sa.isUndefined(n)||null===n)&&i.call(t,n,sa.isString(o)?o.trim():o,a,u))&&e(n,a?a.concat(o):[o])})),l.pop()}}(e),t};function ha(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ga(e,t){this._pairs=[],e&&ba(e,this,t)}const xa=ga.prototype;xa.append=function(e,t){this._pairs.push([e,t])},xa.toString=function(e){const t=e?function(t){return e.call(this,t,ha)}:ha;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const wa=ga;function Oa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ja(e,t,n){if(!t)return e;const a=n&&n.encode||Oa;sa.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):sa.isURLSearchParams(t)?t.toString():new wa(t,n).toString(a),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const Ia=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){sa.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Pa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ta={isNode:!0,classes:{URLSearchParams:n(7016).URLSearchParams,FormData:da,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},Sa="undefined"!=typeof window&&"undefined"!=typeof document,Aa="object"==typeof navigator&&navigator||void 0,Ea=Sa&&(!Aa||["ReactNative","NativeScript","NS"].indexOf(Aa.product)<0),ka="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ca=Sa&&window.location.href||"http://localhost",_a={...e,...Ta},Da=function(e){function t(e,n,a,i){let o=e[i++];if("__proto__"===o)return!0;const r=Number.isFinite(+o),s=i>=e.length;return o=!o&&sa.isArray(a)?a.length:o,s?(sa.hasOwnProp(a,o)?a[o]=[a[o],n]:a[o]=n,!r):(a[o]&&sa.isObject(a[o])||(a[o]=[]),t(e,n,a[o],i)&&sa.isArray(a[o])&&(a[o]=function(e){const t={},n=Object.keys(e);let a;const i=n.length;let o;for(a=0;a<i;a++)o=n[a],t[o]=e[o];return t}(a[o])),!r)}if(sa.isFormData(e)&&sa.isFunction(e.entries)){const n={};return sa.forEachEntry(e,((e,a)=>{t(function(e){return sa.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),a,n,0)})),n}return null},Ra={transitional:Pa,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",a=n.indexOf("application/json")>-1,i=sa.isObject(e);if(i&&sa.isHTMLForm(e)&&(e=new FormData(e)),sa.isFormData(e))return a?JSON.stringify(Da(e)):e;if(sa.isArrayBuffer(e)||sa.isBuffer(e)||sa.isStream(e)||sa.isFile(e)||sa.isBlob(e)||sa.isReadableStream(e))return e;if(sa.isArrayBufferView(e))return e.buffer;if(sa.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ba(e,new _a.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,a){return _a.isNode&&sa.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=sa.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ba(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),function(e){if(sa.isString(e))try{return(0,JSON.parse)(e),sa.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ra.transitional,n=t&&t.forcedJSONParsing,a="json"===this.responseType;if(sa.isResponse(e)||sa.isReadableStream(e))return e;if(e&&sa.isString(e)&&(n&&!this.responseType||a)){const n=!(t&&t.silentJSONParsing)&&a;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw ua.from(e,ua.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:_a.classes.FormData,Blob:_a.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};sa.forEach(["delete","get","head","post","put","patch"],(e=>{Ra.headers[e]={}}));const za=Ra,Ma=sa.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"]),$a=Symbol("internals");function Fa(e){return e&&String(e).trim().toLowerCase()}function qa(e){return!1===e||null==e?e:sa.isArray(e)?e.map(qa):String(e)}function Ua(e,t,n,a,i){return sa.isFunction(a)?a.call(this,t,n):(i&&(t=n),sa.isString(t)?sa.isString(a)?-1!==t.indexOf(a):sa.isRegExp(a)?a.test(t):void 0:void 0)}class La{constructor(e){e&&this.set(e)}set(e,t,n){const a=this;function i(e,t,n){const i=Fa(t);if(!i)throw new Error("header name must be a non-empty string");const o=sa.findKey(a,i);(!o||void 0===a[o]||!0===n||void 0===n&&!1!==a[o])&&(a[o||t]=qa(e))}const o=(e,t)=>sa.forEach(e,((e,n)=>i(e,n,t)));if(sa.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(sa.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,a,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),a=e.substring(i+1).trim(),!n||t[n]&&Ma[n]||("set-cookie"===n?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)})),t})(e),t);else if(sa.isHeaders(e))for(const[t,a]of e.entries())i(a,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=Fa(e)){const n=sa.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}(e);if(sa.isFunction(t))return t.call(this,e,n);if(sa.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Fa(e)){const n=sa.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ua(0,this[n],n,t))}return!1}delete(e,t){const n=this;let a=!1;function i(e){if(e=Fa(e)){const i=sa.findKey(n,e);!i||t&&!Ua(0,n[i],i,t)||(delete n[i],a=!0)}}return sa.isArray(e)?e.forEach(i):i(e),a}clear(e){const t=Object.keys(this);let n=t.length,a=!1;for(;n--;){const i=t[n];e&&!Ua(0,this[i],i,e,!0)||(delete this[i],a=!0)}return a}normalize(e){const t=this,n={};return sa.forEach(this,((a,i)=>{const o=sa.findKey(n,i);if(o)return t[o]=qa(a),void delete t[i];const r=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();r!==i&&delete t[i],t[r]=qa(a),n[r]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return sa.forEach(this,((n,a)=>{null!=n&&!1!==n&&(t[a]=e&&sa.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[$a]=this[$a]={accessors:{}}).accessors,n=this.prototype;function a(e){const a=Fa(e);t[a]||(function(e,t){const n=sa.toCamelCase(" "+t);["get","set","has"].forEach((a=>{Object.defineProperty(e,a+n,{value:function(e,n,i){return this[a].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[a]=!0)}return sa.isArray(e)?e.forEach(a):a(e),this}}La.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),sa.reduceDescriptors(La.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),sa.freezeMethods(La);const Ba=La;function Na(e,t){const n=this||za,a=t||n,i=Ba.from(a.headers);let o=a.data;return sa.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Wa(e){return!(!e||!e.__CANCEL__)}function Ka(e,t,n){ua.call(this,null==e?"canceled":e,ua.ERR_CANCELED,t,n),this.name="CanceledError"}sa.inherits(Ka,ua,{__CANCEL__:!0});const Va=Ka;function Ha(e,t,n){const a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new ua("Request failed with status code "+n.status,[ua.ERR_BAD_REQUEST,ua.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Xa(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Ga=n(1420),Ja=n(8611),Qa=n(5692),Ya=n(9023),Za=n(3520);const ei=require("zlib"),ti="1.7.9";function ni(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const ai=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var ii=n(2203);const oi=Symbol("internals");class ri extends ii.Transform{constructor(e){super({readableHighWaterMark:(e=sa.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!sa.isUndefined(t[e])))).chunkSize});const t=this[oi]={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[oi];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const a=this[oi],i=a.maxRate,o=this.readableHighWaterMark,r=a.timeWindow,s=i/(1e3/r),c=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);a.bytesSeen+=n,a.bytes+=n,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=o,m=0;if(i){const e=Date.now();(!a.ts||(m=e-a.ts)>=r)&&(a.ts=e,l=s-a.bytes,a.bytes=l<0?-l:0,m=0),l=s-a.bytes}if(i){if(l<=0)return setTimeout((()=>{t(null,e)}),r-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,a){if(t)return n(t);a?l(a,e):n(null)}))}}const si=ri,ci=require("events"),{asyncIterator:pi}=Symbol,li=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[pi]?yield*e[pi]():yield e},ui=sa.ALPHABET.ALPHA_DIGIT+"-_",di="function"==typeof TextEncoder?new TextEncoder:new Ya.TextEncoder,mi="\r\n",fi=di.encode(mi);class yi{constructor(e,t){const{escapeName:n}=this.constructor,a=sa.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!a&&t.name?`; filename="${n(t.name)}"`:""}${mi}`;a?t=di.encode(String(t).replace(/\r?\n|\r\n?/g,mi)):i+=`Content-Type: ${t.type||"application/octet-stream"}${mi}`,this.headers=di.encode(i+mi),this.contentLength=a?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;sa.isTypedArray(e)?yield e:yield*li(e),yield fi}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class vi extends ii.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 bi=vi,hi=(e,t)=>sa.isAsyncFn(e)?function(...n){const a=n.pop();e.apply(this,n).then((e=>{try{t?a(null,...t(e)):a(null,e)}catch(e){a(e)}}),a)}:e,gi=(e,t,n=3)=>{let a=0;const i=function(e,t){e=e||10;const n=new Array(e),a=new Array(e);let i,o=0,r=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=a[r];i||(i=c),n[o]=s,a[o]=c;let l=r,u=0;for(;l!==o;)u+=n[l++],l%=e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),c-i<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,a,i=0,o=1e3/t;const r=(t,o=Date.now())=>{i=o,n=null,a&&(clearTimeout(a),a=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?r(e,t):(n=e,a||(a=setTimeout((()=>{a=null,r(n)}),o-s)))},()=>n&&r(n)]}((n=>{const o=n.loaded,r=n.lengthComputable?n.total:void 0,s=o-a,c=i(s);a=o,e({loaded:o,total:r,progress:r?o/r:void 0,bytes:s,rate:c||void 0,estimated:c&&r&&o<=r?(r-o)/c:void 0,event:n,lengthComputable:null!=r,[t?"download":"upload"]:!0})}),n)},xi=(e,t)=>{const n=null!=e;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},wi=e=>(...t)=>sa.asap((()=>e(...t))),Oi={flush:ei.constants.Z_SYNC_FLUSH,finishFlush:ei.constants.Z_SYNC_FLUSH},ji={flush:ei.constants.BROTLI_OPERATION_FLUSH,finishFlush:ei.constants.BROTLI_OPERATION_FLUSH},Ii=sa.isFunction(ei.createBrotliDecompress),{http:Pi,https:Ti}=Za,Si=/https:?/,Ai=_a.protocols.map((e=>e+":")),Ei=(e,[t,n])=>(e.on("end",n).on("error",n),t);function ki(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Ci(e,t,n){let a=t;if(!a&&!1!==a){const e=Ga.getProxyForUrl(n);e&&(a=new URL(e))}if(a){if(a.username&&(a.auth=(a.username||"")+":"+(a.password||"")),a.auth){(a.auth.username||a.auth.password)&&(a.auth=(a.auth.username||"")+":"+(a.auth.password||""));const t=Buffer.from(a.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=a.hostname||a.host;e.hostname=t,e.host=t,e.port=a.port,e.path=n,a.protocol&&(e.protocol=a.protocol.includes(":")?a.protocol:`${a.protocol}:`)}e.beforeRedirects.proxy=function(e){Ci(e,t,e.href)}}const _i="undefined"!=typeof process&&"process"===sa.kindOf(process),Di=(e,t)=>(({address:e,family:t})=>{if(!sa.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(sa.isObject(e)?e:{address:e,family:t}),Ri=_i&&function(e){return t=async function(t,n,a){let{data:i,lookup:o,family:r}=e;const{responseType:s,responseEncoding:c}=e,p=e.method.toUpperCase();let l,u,d=!1;if(o){const e=hi(o,(e=>sa.isArray(e)?e:[e]));o=(t,n,a)=>{e(t,n,((e,t,i)=>{if(e)return a(e);const o=sa.isArray(t)?t.map((e=>Di(e))):[Di(t,i)];n.all?a(e,o):a(e,o[0].address,o[0].family)}))}}const m=new ci.EventEmitter,f=()=>{e.cancelToken&&e.cancelToken.unsubscribe(y),e.signal&&e.signal.removeEventListener("abort",y),m.removeAllListeners()};function y(t){m.emit("abort",!t||t.type?new Va(null,e,u):t)}a(((e,t)=>{l=!0,t&&(d=!0,f())})),m.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(y),e.signal&&(e.signal.aborted?y():e.signal.addEventListener("abort",y)));const v=Xa(e.baseURL,e.url),b=new URL(v,_a.hasBrowserEnv?_a.origin:void 0),h=b.protocol||Ai[0];if("data:"===h){let a;if("GET"!==p)return Ha(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{a=function(e,t,n){const a=n&&n.Blob||_a.classes.Blob,i=ni(e);if(void 0===t&&a&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=ai.exec(e);if(!n)throw new ua("Invalid URL",ua.ERR_INVALID_URL);const o=n[1],r=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),r?"base64":"utf8");if(t){if(!a)throw new ua("Blob is not supported",ua.ERR_NOT_SUPPORT);return new a([c],{type:o})}return c}throw new ua("Unsupported protocol "+i,ua.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw ua.from(t,ua.ERR_BAD_REQUEST,e)}return"text"===s?(a=a.toString(c),c&&"utf8"!==c||(a=sa.stripBOM(a))):"stream"===s&&(a=ii.Readable.from(a)),Ha(t,n,{data:a,status:200,statusText:"OK",headers:new Ba,config:e})}if(-1===Ai.indexOf(h))return n(new ua("Unsupported protocol "+h,ua.ERR_BAD_REQUEST,e));const g=Ba.from(e.headers).normalize();g.set("User-Agent","axios/"+ti,!1);const{onUploadProgress:x,onDownloadProgress:w}=e,O=e.maxRate;let j,I;if(sa.isSpecCompliantForm(i)){const e=g.getContentType(/boundary=([-_\w\d]{10,70})/i);i=((e,t,n)=>{const{tag:a="form-data-boundary",size:i=25,boundary:o=a+"-"+sa.generateString(i,ui)}=n||{};if(!sa.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");const r=di.encode("--"+o+mi),s=di.encode("--"+o+"--"+mi+mi);let c=s.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new yi(e,t);return c+=n.size,n}));c+=r.byteLength*p.length,c=sa.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),ii.Readable.from(async function*(){for(const e of p)yield r,yield*e.encode();yield s}())})(i,(e=>{g.set(e)}),{tag:`axios-${ti}-boundary`,boundary:e&&e[1]||void 0})}else if(sa.isFormData(i)&&sa.isFunction(i.getHeaders)){if(g.set(i.getHeaders()),!g.hasContentLength())try{const e=await Ya.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&g.setContentLength(e)}catch(e){}}else if(sa.isBlob(i)||sa.isFile(i))i.size&&g.setContentType(i.type||"application/octet-stream"),g.setContentLength(i.size||0),i=ii.Readable.from(li(i));else if(i&&!sa.isStream(i)){if(Buffer.isBuffer(i));else if(sa.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!sa.isString(i))return n(new ua("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ua.ERR_BAD_REQUEST,e));i=Buffer.from(i,"utf-8")}if(g.setContentLength(i.length,!1),e.maxBodyLength>-1&&i.length>e.maxBodyLength)return n(new ua("Request body larger than maxBodyLength limit",ua.ERR_BAD_REQUEST,e))}const P=sa.toFiniteNumber(g.getContentLength());let T,S;sa.isArray(O)?(j=O[0],I=O[1]):j=I=O,i&&(x||j)&&(sa.isStream(i)||(i=ii.Readable.from(i,{objectMode:!1})),i=ii.pipeline([i,new si({maxRate:sa.toFiniteNumber(j)})],sa.noop),x&&i.on("progress",Ei(i,xi(P,gi(wi(x),!1,3))))),e.auth&&(T=(e.auth.username||"")+":"+(e.auth.password||"")),!T&&b.username&&(T=b.username+":"+b.password),T&&g.delete("authorization");try{S=ja(b.pathname+b.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const a=new Error(t.message);return a.config=e,a.url=e.url,a.exists=!0,n(a)}g.set("Accept-Encoding","gzip, compress, deflate"+(Ii?", br":""),!1);const A={path:S,method:p,headers:g.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:T,protocol:h,family:r,beforeRedirect:ki,beforeRedirects:{}};let E;!sa.isUndefined(o)&&(A.lookup=o),e.socketPath?A.socketPath=e.socketPath:(A.hostname=b.hostname.startsWith("[")?b.hostname.slice(1,-1):b.hostname,A.port=b.port,Ci(A,e.proxy,h+"//"+b.hostname+(b.port?":"+b.port:"")+A.path));const k=Si.test(A.protocol);if(A.agent=k?e.httpsAgent:e.httpAgent,e.transport?E=e.transport:0===e.maxRedirects?E=k?Qa:Ja:(e.maxRedirects&&(A.maxRedirects=e.maxRedirects),e.beforeRedirect&&(A.beforeRedirects.config=e.beforeRedirect),E=k?Ti:Pi),e.maxBodyLength>-1?A.maxBodyLength=e.maxBodyLength:A.maxBodyLength=1/0,e.insecureHTTPParser&&(A.insecureHTTPParser=e.insecureHTTPParser),u=E.request(A,(function(a){if(u.destroyed)return;const i=[a],o=+a.headers["content-length"];if(w||I){const e=new si({maxRate:sa.toFiniteNumber(I)});w&&e.on("progress",Ei(e,xi(o,gi(wi(w),!0,3)))),i.push(e)}let r=a;const l=a.req||u;if(!1!==e.decompress&&a.headers["content-encoding"])switch("HEAD"!==p&&204!==a.statusCode||delete a.headers["content-encoding"],(a.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":i.push(ei.createUnzip(Oi)),delete a.headers["content-encoding"];break;case"deflate":i.push(new bi),i.push(ei.createUnzip(Oi)),delete a.headers["content-encoding"];break;case"br":Ii&&(i.push(ei.createBrotliDecompress(ji)),delete a.headers["content-encoding"])}r=i.length>1?ii.pipeline(i,sa.noop):i[0];const y=ii.finished(r,(()=>{y(),f()})),v={status:a.statusCode,statusText:a.statusMessage,headers:new Ba(a.headers),config:e,request:l};if("stream"===s)v.data=r,Ha(t,n,v);else{const a=[];let i=0;r.on("data",(function(t){a.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(d=!0,r.destroy(),n(new ua("maxContentLength size of "+e.maxContentLength+" exceeded",ua.ERR_BAD_RESPONSE,e,l)))})),r.on("aborted",(function(){if(d)return;const t=new ua("stream has been aborted",ua.ERR_BAD_RESPONSE,e,l);r.destroy(t),n(t)})),r.on("error",(function(t){u.destroyed||n(ua.from(t,null,e,l))})),r.on("end",(function(){try{let e=1===a.length?a[0]:Buffer.concat(a);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=sa.stripBOM(e))),v.data=e}catch(t){return n(ua.from(t,null,e,v.request,v))}Ha(t,n,v)}))}m.once("abort",(e=>{r.destroyed||(r.emit("error",e),r.destroy())}))})),m.once("abort",(e=>{n(e),u.destroy(e)})),u.on("error",(function(t){n(ua.from(t,null,e,u))})),u.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new ua("error trying to parse `config.timeout` to int",ua.ERR_BAD_OPTION_VALUE,e,u));u.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const a=e.transitional||Pa;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ua(t,a.clarifyTimeoutError?ua.ETIMEDOUT:ua.ECONNABORTED,e,u)),y()}))}if(sa.isStream(i)){let t=!1,n=!1;i.on("end",(()=>{t=!0})),i.once("error",(e=>{n=!0,u.destroy(e)})),i.on("close",(()=>{t||n||y(new Va("Request stream has been aborted",e,u))})),i.pipe(u)}else u.end(i)},new Promise(((e,n)=>{let a,i;const o=(e,t)=>{i||(i=!0,a&&a(e,t))},r=e=>{o(e,!0),n(e)};t((t=>{o(t),e(t)}),r,(e=>a=e)).catch(r)}));var t},zi=_a.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_a.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_a.origin),_a.navigator&&/(msie|trident)/i.test(_a.navigator.userAgent)):()=>!0,Mi=_a.hasStandardBrowserEnv?{write(e,t,n,a,i,o){const r=[e+"="+encodeURIComponent(t)];sa.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),sa.isString(a)&&r.push("path="+a),sa.isString(i)&&r.push("domain="+i),!0===o&&r.push("secure"),document.cookie=r.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(){}},$i=e=>e instanceof Ba?{...e}:e;function Fi(e,t){t=t||{};const n={};function a(e,t,n,a){return sa.isPlainObject(e)&&sa.isPlainObject(t)?sa.merge.call({caseless:a},e,t):sa.isPlainObject(t)?sa.merge({},t):sa.isArray(t)?t.slice():t}function i(e,t,n,i){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:a(void 0,e,0,i):a(e,t,0,i)}function o(e,t){if(!sa.isUndefined(t))return a(void 0,t)}function r(e,t){return sa.isUndefined(t)?sa.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function s(n,i,o){return o in t?a(n,i):o in e?a(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(e,t,n)=>i($i(e),$i(t),0,!0)};return sa.forEach(Object.keys(Object.assign({},e,t)),(function(a){const o=c[a]||i,r=o(e[a],t[a],a);sa.isUndefined(r)&&o!==s||(n[a]=r)})),n}const qi=e=>{const t=Fi({},e);let n,{data:a,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:r,headers:s,auth:c}=t;if(t.headers=s=Ba.from(s),t.url=ja(Xa(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),sa.isFormData(a))if(_a.hasStandardBrowserEnv||_a.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(_a.hasStandardBrowserEnv&&(i&&sa.isFunction(i)&&(i=i(t)),i||!1!==i&&zi(t.url))){const e=o&&r&&Mi.read(r);e&&s.set(o,e)}return t},Ui="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const a=qi(e);let i=a.data;const o=Ba.from(a.headers).normalize();let r,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=a;function f(){p&&p(),l&&l(),a.cancelToken&&a.cancelToken.unsubscribe(r),a.signal&&a.signal.removeEventListener("abort",r)}let y=new XMLHttpRequest;function v(){if(!y)return;const a=Ba.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Ha((function(e){t(e),f()}),(function(e){n(e),f()}),{data:u&&"text"!==u&&"json"!==u?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:a,config:e,request:y}),y=null}y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(n(new ua("Request aborted",ua.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new ua("Network Error",ua.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const i=a.transitional||Pa;a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(new ua(t,i.clarifyTimeoutError?ua.ETIMEDOUT:ua.ECONNABORTED,e,y)),y=null},void 0===i&&o.setContentType(null),"setRequestHeader"in y&&sa.forEach(o.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),sa.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),u&&"json"!==u&&(y.responseType=a.responseType),m&&([c,l]=gi(m,!0),y.addEventListener("progress",c)),d&&y.upload&&([s,p]=gi(d),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(r=t=>{y&&(n(!t||t.type?new Va(null,e,y):t),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(r),a.signal&&(a.signal.aborted?r():a.signal.addEventListener("abort",r)));const b=ni(a.url);b&&-1===_a.protocols.indexOf(b)?n(new ua("Unsupported protocol "+b+":",ua.ERR_BAD_REQUEST,e)):y.send(i||null)}))},Li=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,a=new AbortController;const i=function(e){if(!n){n=!0,r();const t=e instanceof Error?e:this.reason;a.abort(t instanceof ua?t:new Va(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new ua(`timeout ${t} of ms exceeded`,ua.ETIMEDOUT))}),t);const r=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=a;return s.unsubscribe=()=>sa.asap(r),s}},Bi=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let a,i=0;for(;i<n;)a=i+t,yield e.slice(i,a),i=a},Ni=(e,t,n,a)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Bi(n,t)}(e,t);let o,r=0,s=e=>{o||(o=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await i.next();if(t)return s(),void e.close();let o=a.byteLength;if(n){let e=r+=o;n(e)}e.enqueue(new Uint8Array(a))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},Wi="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ki=Wi&&"function"==typeof ReadableStream,Vi=Wi&&("function"==typeof TextEncoder?(Hi=new TextEncoder,e=>Hi.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Hi;const Xi=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Gi=Ki&&Xi((()=>{let e=!1;const t=new Request(_a.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ji=Ki&&Xi((()=>sa.isReadableStream(new Response("").body))),Qi={stream:Ji&&(e=>e.body)};var Yi;Wi&&(Yi=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Qi[e]&&(Qi[e]=sa.isFunction(Yi[e])?t=>t[e]():(t,n)=>{throw new ua(`Response type '${e}' is not supported`,ua.ERR_NOT_SUPPORT,n)})})));const Zi=Wi&&(async e=>{let{url:t,method:n,data:a,signal:i,cancelToken:o,timeout:r,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=qi(e);p=p?(p+"").toLowerCase():"text";let m,f=Li([i,o&&o.toAbortSignal()],r);const y=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let v;try{if(c&&Gi&&"get"!==n&&"head"!==n&&0!==(v=await(async(e,t)=>{const n=sa.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(sa.isBlob(e))return e.size;if(sa.isSpecCompliantForm(e)){const t=new Request(_a.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return sa.isArrayBufferView(e)||sa.isArrayBuffer(e)?e.byteLength:(sa.isURLSearchParams(e)&&(e+=""),sa.isString(e)?(await Vi(e)).byteLength:void 0)})(t):n})(l,a))){let e,n=new Request(t,{method:"POST",body:a,duplex:"half"});if(sa.isFormData(a)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=xi(v,gi(wi(c)));a=Ni(n.body,65536,e,t)}}sa.isString(u)||(u=u?"include":"omit");const i="credentials"in Request.prototype;m=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:a,duplex:"half",credentials:i?u:void 0});let o=await fetch(m);const r=Ji&&("stream"===p||"response"===p);if(Ji&&(s||r&&y)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=sa.toFiniteNumber(o.headers.get("content-length")),[n,a]=s&&xi(t,gi(wi(s),!0))||[];o=new Response(Ni(o.body,65536,n,(()=>{a&&a(),y&&y()})),e)}p=p||"text";let b=await Qi[sa.findKey(Qi,p)||"text"](o,e);return!r&&y&&y(),await new Promise(((t,n)=>{Ha(t,n,{data:b,headers:Ba.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:m})}))}catch(t){if(y&&y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new ua("Network Error",ua.ERR_NETWORK,e,m),{cause:t.cause||t});throw ua.from(t,t&&t.code,e,m)}}),eo={http:Ri,xhr:Ui,fetch:Zi};sa.forEach(eo,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const to=e=>`- ${e}`,no=e=>sa.isFunction(e)||null===e||!1===e,ao=e=>{e=sa.isArray(e)?e:[e];const{length:t}=e;let n,a;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],a=n,!no(n)&&(a=eo[(t=String(n)).toLowerCase()],void 0===a))throw new ua(`Unknown adapter '${t}'`);if(a)break;i[t||"#"+o]=a}if(!a){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(to).join("\n"):" "+to(e[0]):"as no adapter specified";throw new ua("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return a};function io(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Va(null,e)}function oo(e){return io(e),e.headers=Ba.from(e.headers),e.data=Na.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ao(e.adapter||za.adapter)(e).then((function(t){return io(e),t.data=Na.call(e,e.transformResponse,t),t.headers=Ba.from(t.headers),t}),(function(t){return Wa(t)||(io(e),t&&t.response&&(t.response.data=Na.call(e,e.transformResponse,t.response),t.response.headers=Ba.from(t.response.headers))),Promise.reject(t)}))}const ro={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ro[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const so={};ro.transitional=function(e,t,n){function a(e,t){return"[Axios v1.7.9] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new ua(a(i," has been removed"+(t?" in "+t:"")),ua.ERR_DEPRECATED);return t&&!so[i]&&(so[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},ro.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const co={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ua("options must be an object",ua.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let i=a.length;for(;i-- >0;){const o=a[i],r=t[o];if(r){const t=e[o],n=void 0===t||r(t,o,e);if(!0!==n)throw new ua("option "+o+" must be "+n,ua.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ua("Unknown option "+o,ua.ERR_BAD_OPTION)}},validators:ro},po=co.validators;class lo{constructor(e){this.defaults=e,this.interceptors={request:new Ia,response:new Ia}}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=Fi(this.defaults,t);const{transitional:n,paramsSerializer:a,headers:i}=t;void 0!==n&&co.assertOptions(n,{silentJSONParsing:po.transitional(po.boolean),forcedJSONParsing:po.transitional(po.boolean),clarifyTimeoutError:po.transitional(po.boolean)},!1),null!=a&&(sa.isFunction(a)?t.paramsSerializer={serialize:a}:co.assertOptions(a,{encode:po.function,serialize:po.function},!0)),co.assertOptions(t,{baseUrl:po.spelling("baseURL"),withXsrfToken:po.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&sa.merge(i.common,i[t.method]);i&&sa.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Ba.concat(o,i);const r=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!s){const e=[oo.bind(this),void 0];for(e.unshift.apply(e,r),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=r.length;let d=t;for(u=0;u<l;){const e=r[u++],t=r[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=oo.call(this,d)}catch(e){return Promise.reject(e)}for(u=0,l=c.length;u<l;)p=p.then(c[u++],c[u++]);return p}getUri(e){return ja(Xa((e=Fi(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}sa.forEach(["delete","get","head","options"],(function(e){lo.prototype[e]=function(t,n){return this.request(Fi(n||{},{method:e,url:t,data:(n||{}).data}))}})),sa.forEach(["post","put","patch"],(function(e){function t(t){return function(n,a,i){return this.request(Fi(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))}}lo.prototype[e]=t(),lo.prototype[e+"Form"]=t(!0)}));const uo=lo;class mo{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const a=new Promise((e=>{n.subscribe(e),t=e})).then(e);return a.cancel=function(){n.unsubscribe(t)},a},e((function(e,a,i){n.reason||(n.reason=new Va(e,a,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new mo((function(t){e=t})),cancel:e}}}const fo=mo,yo={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(yo).forEach((([e,t])=>{yo[t]=e}));const vo=yo,bo=function e(t){const n=new uo(t),a=bn(uo.prototype.request,n);return sa.extend(a,uo.prototype,n,{allOwnKeys:!0}),sa.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e(Fi(t,n))},a}(za);bo.Axios=uo,bo.CanceledError=Va,bo.CancelToken=fo,bo.isCancel=Wa,bo.VERSION=ti,bo.toFormData=ba,bo.AxiosError=ua,bo.Cancel=bo.CanceledError,bo.all=function(e){return Promise.all(e)},bo.spread=function(e){return function(t){return e.apply(null,t)}},bo.isAxiosError=function(e){return sa.isObject(e)&&!0===e.isAxiosError},bo.mergeConfig=Fi,bo.AxiosHeaders=Ba,bo.formToJSON=e=>Da(sa.isHTMLForm(e)?new FormData(e):e),bo.getAdapter=ao,bo.HttpStatusCode=vo,bo.default=bo;const ho=bo;function go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?go(Object(n),!0).forEach((function(t){wo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oo(e){var t;return null===(t=e.defaults.baseURL)||void 0===t?void 0:t.split("/spaces")[0]}function jo(e,t,n){return e.get(t,xo({baseURL:Oo(e)},n)).then((e=>e.data),vn)}function Io(e,t,n,a){return e.patch(t,n,xo({baseURL:Oo(e)},a)).then((e=>e.data),vn)}function Po(e,t,n,a){return e.post(t,n,xo({baseURL:Oo(e)},a)).then((e=>e.data),vn)}function To(e,t,n,a){return e.put(t,n,xo({baseURL:Oo(e)},a)).then((e=>e.data),vn)}function So(e,t,n){return e.delete(t,xo({baseURL:Oo(e)},n)).then((e=>e.data),vn)}const Ao=(e,t)=>jo(e,`/users/me/access_tokens/${t.tokenId}`),Eo=(e,t)=>jo(e,"/users/me/access_tokens",{params:t.query}),ko=(e,t,n,a)=>Po(e,"/users/me/access_tokens",n,{headers:a}),Co=(e,t)=>To(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),_o=(e,t)=>jo(e,`/organizations/${t.organizationId}/access_tokens`,{params:t.query});function Do(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ro(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Do(Object(n),!0).forEach((function(t){zo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Do(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mo=(e,t)=>jo(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),$o=(e,t)=>jo(e,`/spaces/${t.spaceId}/api_keys`,{params:t.query}),Fo=(e,t,n,a)=>Po(e,`/spaces/${t.spaceId}/api_keys`,n,{headers:a}),qo=(e,t,n,a)=>To(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,n,{headers:a}),Uo=(e,t,n,a)=>{var i;const o=Qt(n);return"accessToken"in o&&delete o.accessToken,"preview_api_key"in o&&delete o.preview_api_key,"policies"in o&&delete o.policies,delete o.sys,To(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,o,{headers:Ro({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Lo=(e,t)=>So(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),Bo=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/access_tokens`,void 0,{headers:{Authorization:`Bearer ${n.jwt}`}}),No=["spaceId"];function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vo(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e){return e&&e.select&&!/sys/i.test(e.select)?Ko(Ko({},e),{},{select:e.select+",sys"}):e}function Xo(e){if(e&&e.spaceId){const{spaceId:t}=e;return Ko(Ko({},function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,No)),{},{"sys.space.sys.id[in]":t})}return e}const Go=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/actions`,Jo=e=>`${Go(e)}/${e.appActionId}`,Qo=(e,t)=>jo(e,Jo(t)),Yo=(e,t)=>jo(e,Go(t),{params:Ho(t.query)}),Zo=(e,t)=>jo(e,(e=>e.environmentId?`/spaces/${e.spaceId}/environments/${e.environmentId}/actions`:`/spaces/${e.spaceId}/actions`)(t),{params:Ho(t.query)}),er=(e,t)=>So(e,Jo(t)),tr=(e,t,n)=>Po(e,Go(t),n),nr=(e,t,n)=>To(e,Jo(t),n),ar=e=>(t,n,...a)=>{const i=fn(Qt(n));return i.items=i.items.map((n=>e(t,n,...a))),i},ir=e=>(t,n,...a)=>{const i=fn(Qt(n));return i.items=i.items.map((n=>e(t,n,...a))),i};function or(e){return e<300}async function rr(e=1e3){return new Promise((t=>setTimeout(t,e)))}function sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sr(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lr=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n),ur=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/actions/${t.appActionId}/calls/${t.callId}`),dr=async(e,t,n)=>async function(e,t,{callId:n}){let a=1;const i=t.retryInterval||2e3,o=t.retries||15;return new Promise(((r,s)=>{const c=async()=>{try{var p,l;const d=await ur(e,cr(cr({},t),{},{callId:n}));if(null!=d&&null!==(p=d.response)&&void 0!==p&&p.statusCode&&!or(null==d||null===(l=d.response)||void 0===l?void 0:l.statusCode)){const e=new Error("App action not found or lambda fails");s(e)}else if(or(d.statusCode))r(d);else if(u=d.statusCode,[404,422,429,400].includes(u)&&a<o)a++,await rr(i),c();else{const e=new Error("The app action response is taking longer than expected to process.");s(e)}}catch(e){if(a++,a>o)return void s(new Error("The app action response is taking longer than expected to process."));await rr(i),c()}var u};c()}))}(e,t,{callId:(await Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),mr=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/app_bundles`,fr=e=>`${mr(e)}/${e.appBundleId}`,yr=(e,t)=>jo(e,fr(t)),vr=(e,t)=>jo(e,mr(t),{params:Ho(t.query)}),br=(e,t)=>So(e,fr(t)),hr=(e,t,n)=>{const{appUploadId:a,comment:i,actions:o,functions:r}=n,s={upload:{sys:{type:"Link",linkType:"AppUpload",id:a}},comment:i,actions:o,functions:r};return Po(e,mr(t),s)};function gr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function xr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gr(Object(n),!0).forEach((function(t){wr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Or=e=>`/organizations/${e.organizationId}/app_definitions`,jr=e=>Or(e)+`/${e.appDefinitionId}`,Ir=(e,t)=>jo(e,jr(t),{params:Ho(t.query)}),Pr=(e,t)=>jo(e,Or(t),{params:t.query}),Tr=(e,t,n)=>{const a=Qt(n);return Po(e,Or(t),a)},Sr=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,jr(t),o,{headers:xr({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Ar=(e,t)=>So(e,jr(t)),Er=(e,t)=>jo(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:xr(xr({},Xo(Ho(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),kr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Cr=(e,t,n)=>To(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`,n),_r=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Dr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),Rr=(e,t,n)=>To(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`,n),zr=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`);function Mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(n),!0).forEach((function(t){Fr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const qr=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations`,Ur=e=>qr(e)+`/${e.appDefinitionId}`,Lr=(e,t)=>jo(e,Ur(t),{params:Ho(t.query)}),Br=(e,t)=>jo(e,qr(t),{params:Ho(t.query)}),Nr=(e,t,n,a)=>{const i=Qt(n);return To(e,Ur(t),i,{headers:$r($r({},a),t.acceptAllTerms&&{"X-Contentful-Marketplace":"i-accept-end-user-license-agreement,i-accept-marketplace-terms-of-service,i-accept-privacy-policy"})})},Wr=(e,t)=>So(e,Ur(t)),Kr=(e,t)=>jo(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:$r($r({},Xo(Ho(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),Vr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Hr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`),Xr=(e,t,n)=>Po(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`,n),Gr=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Jr=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/signed_requests`,n),Qr=(e,t)=>jo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),Yr=(e,t,n)=>To(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`,n),Zr=(e,t)=>So(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`);function es(e,t){var n;const{hostUpload:a,defaultHostnameUpload:i,timeout:o}=e.httpClientParams;return e.cloneWithNewParams({host:a||i,timeout:null!==(n=null!=o?o:null==t?void 0:t.uploadTimeout)&&void 0!==n?n:3e5})}const ts=e=>`/organizations/${e.organizationId}/app_uploads`,ns=e=>`${ts(e)}/${e.appUploadId}`,as=(e,t)=>jo(es(e),ns(t)),is=(e,t)=>So(es(e),ns(t)),os=(e,t,n)=>{const a=es(e),{file:i}=n;return Po(a,ts(t),i,{headers:{"Content-Type":"application/octet-stream"}})},rs=e=>{const t=`/spaces/${e.spaceId}/uploads`,n=`/spaces/${e.spaceId}/environments/${e.environmentId}/uploads`;return e.environmentId?n:t},ss=e=>rs(e)+`/${e.uploadId}`,cs=(e,t,n)=>{const a=es(e),{file:i}=n;return i?Po(a,rs(t),i,{headers:{"Content-Type":"application/octet-stream"}}):Promise.reject(new Error("Unable to locate a file to upload."))},ps=(e,t)=>So(es(e),ss(t)),ls=(e,t)=>jo(es(e),ss(t)),us=["asset","locale","options"],ds=["asset","options"];function ms(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ys(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fs(Object(n),!0).forEach((function(t){vs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vs(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bs=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,{params:Ho(t.query),headers:a?ys({},a):void 0}),hs=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/assets`,{params:Ho(t.query),headers:a?ys({},a):void 0}),gs=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,{params:Ho(t.query),headers:a?ys({},a):void 0}),xs=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,o,{headers:ys({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ws=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`),Os=(e,t,n)=>{var a,i;const o=null!==(a=t.locales)&&void 0!==a&&a.length?{add:{fields:{"*":t.locales}}}:null;return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,o,{headers:{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0}})},js=(e,t,n)=>{var a;if(null!==(a=t.locales)&&void 0!==a&&a.length){const a={remove:{fields:{"*":t.locales}}};return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,a,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`)},Is=(e,t)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ps=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ts=(e,t,n)=>{const a=Qt(n);return Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,a)},Ss=(e,t,n)=>{const a=Qt(n);return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,a)},As=async(e,t,n)=>{const a=es(e,{uploadTimeout:t.uploadTimeout}),{file:i}=n.fields;return Promise.all(Object.keys(i).map((async e=>{const{contentType:n,fileName:o}=i[e];return cs(a,t,i[e]).then((t=>({[e]:{contentType:n,fileName:o,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((a=>{const i=a.reduce(((e,t)=>ys(ys({},e),t)),{}),o=ys(ys({},n),{},{fields:ys(ys({},n.fields),{},{file:i})});return Ts(e,t,o)})).catch(vn)};async function Es(e,t,{resolve:n,reject:a,locale:i,processingCheckWait:o=3e3,processingCheckRetries:r=10,checkCount:s=0}){return bs(e,t).then((c=>{if(c.fields.file[i].url)n(c);else if(s===r){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",a(e)}else s++,setTimeout((()=>Es(e,t,{resolve:n,reject:a,locale:i,checkCount:s,processingCheckWait:o,processingCheckRetries:r})),o)}))}const ks=async(e,t)=>{let{asset:n,locale:a,options:{processingCheckRetries:i,processingCheckWait:o}={}}=t,r=ms(t,us);return To(e,`/spaces/${r.spaceId}/environments/${r.environmentId}/assets/${n.sys.id}/files/${a}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>Es(e,{spaceId:r.spaceId,environmentId:r.environmentId,assetId:n.sys.id},{resolve:t,reject:s,locale:a,processingCheckWait:o,processingCheckRetries:i})))))},Cs=async(e,t)=>{let{asset:n,options:a={}}=t,i=ms(t,ds);const o=Object.keys(n.fields.file||{});let r=n;const s=o.map((t=>ks(e,ys(ys({},i),{},{asset:n,locale:t,options:a})).then((e=>{r=e}))));return Promise.all(s).then((()=>r))};class _s extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const Ds=(e,t,n)=>{const a=n.expiresAt,i=Math.floor(Date.now()/1e3);((e,t,n)=>{if(n=n||{},"number"!=typeof t)throw new _s(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new _s(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new _s(e,`value (${t}) cannot be in the past, current time was ${n.now}`)})("expiresAt",a,{maximum:i+172800,now:i});const o={expiresAt:a};return Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/asset_keys`,o)},Rs=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/actions/${t.bulkActionId}`),zs=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/publish`,n),Ms=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/unpublish`,n),$s=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/validate`,n),Fs=["version"];function qs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Us(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qs(Object(n),!0).forEach((function(t){Ls(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ls(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bs="X-Contentful-Version",Ns="x-contentful-comment-body-format",Ws="x-contentful-parent-entity-reference",Ks="x-contentful-parent-id",Vs=e=>`${Hs(e)}/${e.commentId}`,Hs=e=>{const t="entryId"in e?{spaceId:e.spaceId,environmentId:e.environmentId,parentEntityType:"Entry",parentEntityId:e.entryId}:e,{parentEntityId:n,parentEntityType:a}=t,i=function(e){switch(e){case"ContentType":return"content_types";case"Entry":return"entries";case"Workflow":return"workflows"}}(a),o="parentEntityVersion"in t?`/versions/${t.parentEntityVersion}`:"";return`${(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}`)(t)}/${i}/${n}${o}/comments`},Xs=(e,t)=>jo(e,Vs(t),{headers:"rich-text"===t.bodyFormat?{[Ns]:t.bodyFormat}:{}}),Gs=(e,t)=>jo(e,Hs(t),{params:Ho(t.query),headers:"rich-text"===t.bodyFormat?{[Ns]:t.bodyFormat}:{}}),Js=(e,t,n)=>{const a=Qt(n);return Po(e,Hs(t),a,{headers:Us(Us(Us({},"string"!=typeof n.body?{[Ns]:"rich-text"}:{}),"parentEntityReference"in t&&t.parentEntityReference?{[Ws]:t.parentEntityReference}:{}),t.parentCommentId?{[Ks]:t.parentCommentId}:{})})},Qs=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Vs(t),o,{headers:Us(Us({[Bs]:null!==(i=n.sys.version)&&void 0!==i?i:0},"string"!=typeof n.body?{[Ns]:"rich-text"}:{}),a)})},Ys=(e,t)=>{let{version:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Fs);return So(e,Vs(a),{headers:{[Bs]:n}})},Zs=Gs;function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(n),!0).forEach((function(t){nc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return`/organizations/${e}/taxonomy/concepts`}const ic=(e,t,n)=>Po(e,ac(t.organizationId),n),oc=(e,t,n)=>To(e,`${ac(t.organizationId)}/${t.conceptId}`,n),rc=(e,t,n,a)=>Io(e,`${ac(t.organizationId)}/${t.conceptId}`,n,{headers:tc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),sc=(e,t,n,a)=>Io(e,`${ac(t.organizationId)}/${t.conceptId}`,n,{headers:tc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),cc=(e,t,n,a)=>To(e,`${ac(t.organizationId)}/${t.conceptId}`,n,{headers:tc({"X-Contentful-Version":t.version},a)}),pc=(e,t)=>jo(e,`${ac(t.organizationId)}/${t.conceptId}`),lc=(e,t,n)=>{var a;return So(e,`${ac(t.organizationId)}/${t.conceptId}`,{headers:tc({"X-Contentful-Version":null!==(a=t.version)&&void 0!==a?a:0},n)})},uc=(e,t)=>{const{url:n,queryParams:a}=yc("",t);return jo(e,n,{params:a})},dc=(e,t)=>{const{url:n,queryParams:a}=yc(`/${t.conceptId}/descendants`,t);return jo(e,n,{params:a})},mc=(e,t)=>{const{url:n,queryParams:a}=yc(`/${t.conceptId}/ancestors`,t);return jo(e,n,{params:a})},fc=(e,t)=>jo(e,`${ac(t.organizationId)}/total`);function yc(e,t){var n,a;return null!==(n=t.query)&&void 0!==n&&n.pageUrl?{url:null===(a=t.query)||void 0===a?void 0:a.pageUrl,queryParams:{}}:{url:`${ac(t.organizationId)}${e}`,queryParams:t.query||{}}}function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function bc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vc(Object(n),!0).forEach((function(t){hc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gc(e){return`/organizations/${e}/taxonomy/concept-schemes`}const xc=(e,t)=>jo(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`),wc=(e,t,n)=>So(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,{headers:bc({"X-Contentful-Version":t.version},n)}),Oc=(e,t)=>{var n,a,i;return jo(e,null!==(n=null===(a=t.query)||void 0===a?void 0:a.pageUrl)&&void 0!==n?n:gc(t.organizationId),{params:null!==(i=t.query)&&void 0!==i&&i.pageUrl?{}:t.query})},jc=(e,t)=>jo(e,`${gc(t.organizationId)}/total`),Ic=(e,t,n)=>Po(e,gc(t.organizationId),n),Pc=(e,t,n)=>To(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n),Tc=(e,t,n,a)=>Io(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:bc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),Sc=(e,t,n,a)=>Io(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:bc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),Ac=(e,t,n,a)=>To(e,`${gc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:bc({"X-Contentful-Version":t.version},a)});function Ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ec(Object(n),!0).forEach((function(t){Cc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _c=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types`,Dc=e=>_c(e)+`/${e.contentTypeId}`,Rc=(e,t,n)=>jo(e,Dc(t),{params:Ho(t.query),headers:n}),zc=(e,t,n)=>jo(e,_c(t),{params:t.query,headers:n}),Mc=(e,t,n,a)=>{const i=Qt(n);return Po(e,_c(t),i,{headers:a})},$c=(e,t,n,a)=>{const i=Qt(n);return To(e,Dc(t),i,{headers:a})},Fc=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Dc(t),o,{headers:kc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},qc=(e,t,n)=>So(e,Dc(t),{headers:n}),Uc=(e,t,n,a)=>To(e,Dc(t)+"/published",null,{headers:kc({"X-Contentful-Version":n.sys.version},a)}),Lc=(e,t,n)=>So(e,Dc(t)+"/published",{headers:n});function Bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bc(Object(n),!0).forEach((function(t){Wc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kc=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/editor_interface`,Vc=(e,t)=>jo(e,Kc(t)),Hc=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/editor_interfaces`),Xc=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Kc(t),o,{headers:Nc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})};function Gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Jc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gc(Object(n),!0).forEach((function(t){Qc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qc(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Yc=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,{params:Ho(t.query),headers:Jc({},a)}),Zc=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/entries`,{params:Ho(t.query),headers:Jc({},a)}),ep=(e,t,n,a)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,{params:Ho(t.query),headers:Jc({},a)}),tp=(e,t,n,a)=>Io(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,n,{headers:Jc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),np=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,o,{headers:Jc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ap=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`),ip=(e,t,n)=>{var a;const i=null!==(a=t.locales)&&void 0!==a&&a.length?{add:{fields:{"*":t.locales}}}:null;return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,i,{headers:{"X-Contentful-Version":n.sys.version}})},op=(e,t,n)=>{var a;if(null!==(a=t.locales)&&void 0!==a&&a.length){const a={remove:{fields:{"*":t.locales}}};return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,a,{headers:{"X-Contentful-Version":null==n?void 0:n.sys.version}})}return So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`)},rp=(e,t)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),sp=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),cp=(e,t,n)=>{const a=Qt(n);return Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},pp=(e,t,n)=>{const a=Qt(n);return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},lp=(e,t)=>{const{spaceId:n,environmentId:a,entryId:i,include:o}=t;return jo(e,`/spaces/${n}/environments/${a}/entries/${i}/references?include=${o||2}`)};function up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?up(Object(n),!0).forEach((function(t){mp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):up(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fp=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),yp=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments`,{params:t.query}),vp=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,o,{headers:dp(dp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},bp=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),hp=(e,t,n,a)=>{const i=Qt(n);return Po(e,`/spaces/${t.spaceId}/environments`,i,{headers:a})},gp=(e,t,n,a)=>{const i=Qt(n);return To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,i,{headers:dp(dp({},a),t.sourceEnvironmentId?{"X-Contentful-Source-Environment":t.sourceEnvironmentId}:{})})};function xp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function wp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xp(Object(n),!0).forEach((function(t){Op(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Op(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jp=e=>`/spaces/${e.spaceId}/environment_aliases`,Ip=e=>jp(e)+`/${e.environmentAliasId}`,Pp=(e,t)=>jo(e,Ip(t)),Tp=(e,t)=>jo(e,jp(t),{params:t.query}),Sp=(e,t,n,a)=>{const i=Qt(n);return To(e,Ip(t),i,{headers:a})},Ap=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Ip(t),o,{headers:wp(wp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Ep=(e,t)=>So(e,Ip(t));function kp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kp(Object(n),!0).forEach((function(t){_p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _p(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Dp=(e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"),Rp=(e,{organizationId:t,environmentTemplateId:n,version:a,query:i={}},o)=>jo(e,a?Dp(t,n,"versions",a):Dp(t,n),{params:i,headers:o}),zp=(e,{organizationId:t,query:n={}},a)=>jo(e,Dp(t),{params:n,headers:a}),Mp=(e,{organizationId:t},n,a)=>Po(e,Dp(t),n,{headers:a}),$p=(e,{organizationId:t,environmentTemplateId:n},a,i)=>{var o;const r=Qt(a);return delete r.sys,To(e,Dp(t,n),r,{headers:Cp({"X-Contentful-Version":null!==(o=a.sys.version)&&void 0!==o?o:0},i)})},Fp=(e,{organizationId:t,version:n,environmentTemplateId:a},i,o)=>Io(e,Dp(t,a,"versions",n),i,{headers:o}),qp=(e,{organizationId:t,environmentTemplateId:n},a)=>So(e,Dp(t,n),{headers:a}),Up=(e,{organizationId:t,environmentTemplateId:n,query:a={}},i)=>jo(e,Dp(t,n,"versions"),{params:a,headers:i}),Lp=(e,{spaceId:t,environmentId:n,environmentTemplateId:a,version:i},o,r)=>To(e,i?`/spaces/${t}/environments/${n}/template_installations/${a}/versions/${i}/validated`:`/spaces/${t}/environments/${n}/template_installations/${a}/validated`,o,{headers:r}),Bp=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i,o)=>Po(e,`/spaces/${t}/environments/${n}/template_installations/${a}/versions`,i,{headers:o}),Np=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i)=>So(e,`/spaces/${t}/environments/${n}/template_installations/${a}`,{headers:i}),Wp=["organizationId","environmentTemplateId","spaceId","environmentId"],Kp=["spaceId","environmentId","environmentTemplateId","installationId"];function Vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vp(Object(n),!0).forEach((function(t){Xp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xp(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gp(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const Jp=(e,t,n)=>{let{organizationId:a,environmentTemplateId:i,spaceId:o,environmentId:r}=t,s=Gp(t,Wp);return jo(e,((e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"))(a,i,"template_installations"),{params:Hp(Hp(Hp({},s),r&&{"environment.sys.id":r}),o&&{"space.sys.id":o}),headers:n})},Qp=(e,t,n)=>{let{spaceId:a,environmentId:i,environmentTemplateId:o,installationId:r}=t,s=Gp(t,Kp);return jo(e,`/spaces/${a}/environments/${i}/template_installations/${o}`,{params:Hp(Hp({},r&&{"sys.id":r}),s),headers:n})};function Yp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yp(Object(n),!0).forEach((function(t){el(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function el(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const tl=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/extensions`,nl=e=>tl(e)+`/${e.extensionId}`,al=(e,t)=>jo(e,nl(t),{params:Ho(t.query)}),il=(e,t)=>jo(e,tl(t),{params:Ho(t.query)}),ol=(e,t,n,a)=>Po(e,tl(t),n,{headers:a}),rl=(e,t,n,a)=>{const i=Qt(n);return To(e,nl(t),i,{headers:a})},sl=async(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,nl(t),o,{headers:Zp({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},cl=(e,t)=>So(e,nl(t)),pl=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/functions`,ll=(e,t)=>jo(e,(e=>`${pl(e)}/${e.functionId}`)(t)),ul=(e,t)=>jo(e,pl(t),{params:t.query}),dl=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions`)(t),{params:t.query});function ml(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function fl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(n),!0).forEach((function(t){yl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ml(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const vl={"x-contentful-enable-alpha-feature":"function-logs"},bl=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs/${e.logId}`)(t),{headers:fl({},vl)}),hl=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations/${e.appInstallationId}/functions/${e.functionId}/logs`)(t),{params:t.query,headers:fl({},vl)}),gl=(e,{url:t,config:n})=>jo(e,t,n),xl=(e,{url:t,config:n},a)=>Po(e,t,a,n),wl=(e,{url:t,config:n},a)=>To(e,t,a,n),Ol=(e,{url:t,config:n},a)=>Io(e,t,a,n),jl=(e,{url:t,config:n})=>So(e,t,n),Il=(e,{url:t,config:n})=>function(e,t,n){return e(t,xo({baseURL:Oo(e)},n)).then((e=>e.data),vn)}(e,t,n);function Pl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Tl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pl(Object(n),!0).forEach((function(t){Sl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Al=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),El=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,{params:Ho(t.query)}),kl=(e,t,n,a)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,n,{headers:a}),Cl=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,delete o.default,To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`,o,{headers:Tl(Tl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},_l=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Dl=(e,t)=>jo(e,"/organizations",{params:null==t?void 0:t.query}),Rl=(e,t)=>Dl(e,{query:{limit:100}}).then((e=>{const n=e.items.find((e=>e.sys.id===t.organizationId));if(!n){const n=new Error(`No organization was found with the ID ${t.organizationId} instead got ${JSON.stringify(e)}`);return n.status=404,n.statusText="Not Found",Promise.reject(n)}return n}));function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ml(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(n),!0).forEach((function(t){$l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $l(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Fl={"x-contentful-enable-alpha-feature":"organization-user-management-api"},ql={"x-contentful-enable-alpha-feature":"pending-org-membership"},Ul=(e,t,n,a)=>Po(e,`/organizations/${t.organizationId}/invitations`,n,{headers:Ml(Ml({},ql),a)}),Ll=(e,t,n)=>jo(e,`/organizations/${t.organizationId}/invitations/${t.invitationId}`,{headers:Ml(Ml({},Fl),n)});function Bl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Nl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bl(Object(n),!0).forEach((function(t){Wl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wl(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Kl=e=>`/organizations/${e.organizationId}/organization_memberships`,Vl=e=>`${Kl(e)}/${e.organizationMembershipId}`,Hl=(e,t)=>jo(e,Vl(t)),Xl=(e,t)=>jo(e,Kl(t),{params:t.query}),Gl=(e,t,n,a)=>{var i;const o=Qt(n);delete o.sys;const{role:r}=o;return To(e,Vl(t),{role:r},{headers:Nl(Nl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Jl=(e,t)=>So(e,Vl(t)),Ql=(e,t)=>jo(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),Yl=(e,t)=>jo(e,`/users/${t.userId}/oauth_applications`,{params:t.query}),Zl=(e,t,n,a)=>Po(e,`/users/${t.userId}/oauth_applications`,n,{headers:a}),eu=(e,t,n,a)=>To(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`,n,{headers:a}),tu=(e,t)=>So(e,`/users/${t.userId}/oauth_applications/${t.oauthApplicationId}`),nu=(e,t)=>jo(e,`/users/me/access_tokens/${t.tokenId}`),au=(e,t)=>jo(e,"/users/me/access_tokens",{params:t.query}),iu=(e,t,n,a)=>Po(e,"/users/me/access_tokens",n,{headers:a}),ou=(e,t)=>To(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),ru=(e,t)=>jo(e,`/spaces/${t.spaceId}/preview_api_keys/${t.previewApiKeyId}`),su=(e,t)=>jo(e,`/spaces/${t.spaceId}/preview_api_keys`,{params:t.query});function cu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cu(Object(n),!0).forEach((function(t){lu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const uu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),du=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,{params:t.query}),mu=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,n),fu=(e,t,n,a)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`,n,{headers:pu({"X-Contentful-Version":t.version},a)}),yu=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),vu=(e,t,n)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,null,{headers:pu({"X-Contentful-Version":t.version},n)}),bu=(e,t,n)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,{headers:pu({"X-Contentful-Version":t.version},n)}),hu=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/validate`,n),gu=(e,t)=>To(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,null,{headers:{"X-Contentful-Version":t.version}}),xu=(e,t)=>So(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,{headers:{"X-Contentful-Version":t.version}});function wu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(n),!0).forEach((function(t){ju(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ju(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Iu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/actions/${t.actionId}`),Pu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:t.query}),Tu=(e,t)=>jo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:Ou({"sys.release.sys.id[in]":t.releaseId},t.query)}),Su=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types/${e.resourceTypeId}/resources`)(t),{params:t.query}),Au=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider`,Eu=(e,t)=>jo(e,Au(t)),ku=(e,t,n,a)=>To(e,Au(t),n,{headers:a}),Cu=(e,t)=>So(e,Au(t)),_u=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider/resource_types`,Du=e=>`${_u(e)}/${e.resourceTypeId}`,Ru=(e,t)=>jo(e,Du(t)),zu=(e,t,n,a)=>{const i=Qt(n);return To(e,Du(t),i,{headers:a})},Mu=(e,t)=>So(e,Du(t)),$u=(e,t)=>jo(e,_u(t)),Fu=(e,t)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types`)(t));function qu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(n),!0).forEach((function(t){Lu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lu(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bu=(e,t)=>jo(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Nu=(e,t)=>jo(e,`/spaces/${t.spaceId}/roles`,{params:Ho(t.query)}),Wu=(e,t)=>jo(e,`/organizations/${t.organizationId}/roles`,{params:Ho(t.query)}),Ku=(e,t,n,a)=>Po(e,`/spaces/${t.spaceId}/roles`,n,{headers:a}),Vu=(e,t,n,a)=>To(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,n,{headers:a}),Hu=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,o,{headers:Uu(Uu({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Xu=(e,t)=>So(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Gu=(e,t)=>jo(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),Ju=(e,t)=>jo(e,`/spaces/${t.spaceId}/scheduled_actions`,{params:Ho(t.query)}),Qu=(e,t,n)=>Po(e,`/spaces/${t.spaceId}/scheduled_actions`,n),Yu=(e,t)=>So(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),Zu=(e,t,n)=>{var a;return To(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,n,{params:{"environment.sys.id":null===(a=n.environment)||void 0===a?void 0:a.sys.id},headers:{"X-Contentful-Version":t.version}})},ed=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/snapshots`,td=(e,t)=>jo(e,ed(t),{params:Ho(t.query)}),nd=(e,t)=>jo(e,(e=>ed(e)+`/${e.snapshotId}`)(t)),ad=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/snapshots`,id=(e,t)=>jo(e,ad(t),{params:Ho(t.query)}),od=(e,t)=>jo(e,(e=>ad(e)+`/${e.snapshotId}`)(t));function rd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rd(Object(n),!0).forEach((function(t){cd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pd=(e,t)=>jo(e,`/spaces/${t.spaceId}`),ld=(e,t)=>jo(e,"/spaces",{params:t.query}),ud=(e,t)=>jo(e,`/organizations/${t.organizationId}/spaces`,{params:t.query}),dd=(e,t,n,a)=>Po(e,"/spaces",n,{headers:t.organizationId?sd(sd({},a),{},{"X-Contentful-Organization":t.organizationId}):a}),md=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,`/spaces/${t.spaceId}`,o,{headers:sd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},fd=(e,t)=>So(e,`/spaces/${t.spaceId}`),yd=(e,t)=>jo(e,`/spaces/${t.spaceId}/space_members/${t.spaceMemberId}`),vd=(e,t)=>jo(e,`/spaces/${t.spaceId}/space_members`,{params:t.query});function bd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function hd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bd(Object(n),!0).forEach((function(t){gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xd(){console.warn("The user attribute in the space membership root is deprecated. The attribute has been moved inside the sys object (i.e. sys.user)")}const wd=e=>`/spaces/${e.spaceId}/space_memberships`,Od=e=>`${wd(e)}/${e.spaceMembershipId}`,jd=(e,t)=>(xd(),jo(e,Od(t))),Id=(e,t)=>(xd(),jo(e,wd(t),{params:t.query})),Pd=(e,t)=>jo(e,`/organizations/${t.organizationId}/space_memberships/${t.spaceMembershipId}`),Td=(e,t)=>jo(e,`/organizations/${t.organizationId}/space_memberships`,{params:t.query}),Sd=(e,t,n,a)=>(xd(),Po(e,wd(t),n,{headers:a})),Ad=(e,t,n,a)=>(xd(),To(e,Od(t),n,{headers:a})),Ed=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Od(t),o,{headers:hd(hd({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},kd=(e,t)=>So(e,Od(t)),Cd=["version"];function _d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Dd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_d(Object(n),!0).forEach((function(t){Rd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zd=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/tags`,Md=e=>zd(e)+`/${e.tagId}`,$d=(e,t)=>jo(e,Md(t)),Fd=(e,t)=>jo(e,zd(t),{params:t.query}),qd=(e,t,n)=>{var a;const i=Qt(n);return To(e,Md(t),i,{headers:{"X-Contentful-Tag-Visibility":null!==(a=n.sys.visibility)&&void 0!==a?a:"private"}})},Ud=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Md(t),o,{headers:Dd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Ld=(e,t)=>{let{version:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Cd);return So(e,Md(a),{headers:{"X-Contentful-Version":n}})},Bd=["version"];function Nd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Wd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nd(Object(n),!0).forEach((function(t){Kd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kd(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Vd=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/tasks`,Hd=e=>`${Vd(e)}/${e.taskId}`,Xd=(e,t)=>jo(e,Hd(t)),Gd=(e,t)=>jo(e,Vd(t),{params:Ho(t.query)}),Jd=Gd,Qd=(e,t,n)=>{const a=Qt(n);return Po(e,Vd(t),a)},Yd=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Hd(t),o,{headers:Wd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Zd=(e,t)=>{let{version:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Bd);return So(e,Hd(a),{headers:{"X-Contentful-Version":n}})};function em(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function tm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?em(Object(n),!0).forEach((function(t){nm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):em(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const am=e=>`/organizations/${e.organizationId}/teams`,im=e=>`${am(e)}/${e.teamId}`,om=(e,t)=>jo(e,im(t)),rm=(e,t)=>jo(e,am(t),{params:Ho(t.query)}),sm=(e,t)=>jo(e,`/spaces/${t.spaceId}/teams`,{params:Ho(t.query)}),cm=(e,t,n,a)=>Po(e,am(t),n,{headers:a}),pm=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,im(t),o,{headers:tm({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},lm=(e,t)=>So(e,im(t));function um(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?um(Object(n),!0).forEach((function(t){mm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):um(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fm=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships`,ym=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships/${e.teamMembershipId}`,vm=(e,t)=>jo(e,ym(t)),bm=(e,t)=>jo(e,`/organizations/${t.organizationId}/team_memberships`,{params:Ho(t.query)}),hm=(e,t)=>jo(e,fm(t),{params:Ho(t.query)}),gm=(e,t,n,a)=>Po(e,fm(t),n,{headers:a}),xm=(e,t,n,a)=>{const i=Qt(n);return delete i.sys,To(e,ym(t),i,{headers:dm({"X-Contentful-Version":n.sys.version||0},a)})},wm=(e,t)=>So(e,ym(t));function Om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Om(Object(n),!0).forEach((function(t){Im(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Om(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Im(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pm=e=>`/spaces/${e.spaceId}/team_space_memberships`,Tm=e=>`${Pm(e)}/${e.teamSpaceMembershipId}`,Sm=(e,t)=>jo(e,Tm(t)),Am=(e,t)=>jo(e,Pm(t),{params:t.query}),Em=(e,t)=>jo(e,`/organizations/${t.organizationId}/team_space_memberships/${t.teamSpaceMembershipId}`),km=(e,t)=>{const n=t.query||{};return t.teamId&&(n["sys.team.sys.id"]=t.teamId),jo(e,`/organizations/${t.organizationId}/team_space_memberships`,{params:t.query})},Cm=(e,t,n,a)=>Po(e,Pm(t),n,{headers:jm({"x-contentful-team":t.teamId},a)}),_m=(e,t,n,a)=>{const i=Qt(n);return delete i.sys,To(e,Tm(t),i,{headers:jm({"X-Contentful-Version":n.sys.version||0,"x-contentful-team":n.sys.team.sys.id},a)})},Dm=(e,t)=>So(e,Tm(t)),Rm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config`,zm=(e,t)=>jo(e,Rm(t)),Mm=(e,t,n)=>{var a;const i=Qt(n);return delete i.sys,To(e,Rm(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},$m=(e,t)=>{const n=es(e),a=(e=>{var t;return`/spaces/${e.spaceId}/environments/${null!==(t=e.environmentId)&&void 0!==t?t:"master"}/upload_credentials`})(t);return Po(n,a)},Fm=(e,t)=>jo(e,`/organizations/${t.organizationId}/space_periodic_usages`,{params:t.query}),qm=(e,t)=>jo(e,`/organizations/${t.organizationId}/organization_periodic_usages`,{params:t.query}),Um=(e,t)=>jo(e,`/spaces/${t.spaceId}/users/${t.userId}`),Lm=(e,t)=>jo(e,"/users/me",{params:null==t?void 0:t.query}),Bm=(e,t)=>jo(e,`/spaces/${t.spaceId}/users`,{params:t.query}),Nm=(e,t)=>jo(e,`/organizations/${t.organizationId}/users/${t.userId}`),Wm=(e,t)=>jo(e,`/organizations/${t.organizationId}/users`,{params:t.query}),Km=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config/me`,Vm=(e,t)=>jo(e,Km(t)),Hm=(e,t,n)=>{var a;const i=Qt(n);return delete i.sys,To(e,Km(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})};function Xm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Gm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xm(Object(n),!0).forEach((function(t){Jm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jm(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qm=e=>`/spaces/${e.spaceId}/webhook_definitions`,Ym=e=>`/spaces/${e.spaceId}/webhooks`,Zm=e=>`${Qm(e)}/${e.webhookDefinitionId}`,ef=e=>`/spaces/${e.spaceId}/webhook_settings`,tf=e=>`${ef(e)}/signing_secret`,nf=e=>`${ef(e)}/retry_policy`,af=(e,t)=>jo(e,Zm(t)),of=(e,t)=>jo(e,(e=>`${Ym(e)}/${e.webhookDefinitionId}/calls`)(t),{params:Ho(t.query)}),rf=(e,t)=>jo(e,(e=>`${Ym(e)}/${e.webhookDefinitionId}/calls/${e.callId}`)(t)),sf=(e,t)=>jo(e,(e=>`${Ym(e)}/${e.webhookDefinitionId}/health`)(t)),cf=(e,t)=>jo(e,Qm(t),{params:Ho(t.query)}),pf=(e,t)=>jo(e,tf(t)),lf=(e,t)=>jo(e,nf(t)),uf=(e,t,n,a)=>{const i=Qt(n);return Po(e,Qm(t),i,{headers:a})},df=(e,t,n,a)=>{const i=Qt(n);return To(e,Zm(t),i,{headers:a})},mf=async(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Zm(t),o,{headers:Gm({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ff=async(e,t,n)=>{const a=Qt(n);return To(e,tf(t),a)},yf=async(e,t,n)=>{const a=Qt(n);return To(e,nf(t),a)},vf=(e,t)=>So(e,Zm(t)),bf=async(e,t)=>So(e,tf(t)),hf=async(e,t)=>So(e,nf(t)),gf=["version"],xf=["version"];function wf(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Of(Object(n),!0).forEach((function(t){If(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function If(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows`,Tf=e=>`${Pf(e)}/${e.workflowId}`,Sf=(e,t,n)=>jo(e,Pf(t),{headers:n,params:t.query}),Af=(e,t,n)=>jo(e,Tf(t),{headers:n}),Ef=(e,t,n,a)=>{const i=Qt(n);return Po(e,Pf(t),i,{headers:a})},kf=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Tf(t),o,{headers:jf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Cf=(e,t,n)=>{let{version:a}=t,i=wf(t,gf);return So(e,Tf(i),{headers:jf({"X-Contentful-Version":a},n)})},_f=(e,t,n)=>{let{version:a}=t;return To(e,(i=wf(t,xf),`${Tf(i)}/complete`),null,{headers:jf({"X-Contentful-Version":a},n)});var i},Df=["version"];function Rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function zf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rf(Object(n),!0).forEach((function(t){Mf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $f=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflow_definitions`,Ff=e=>`${$f(e)}/${e.workflowDefinitionId}`,qf=(e,t,n)=>jo(e,Ff(t),{headers:n}),Uf=(e,t,n)=>jo(e,$f(t),{headers:n,params:t.query}),Lf=(e,t,n,a)=>{const i=Qt(n);return Po(e,$f(t),i,{headers:a})},Bf=(e,t,n,a)=>{var i;const o=Qt(n);return delete o.sys,To(e,Ff(t),o,{headers:zf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Nf=(e,t,n)=>{let{version:a}=t,i=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Df);return So(e,Ff(i),{headers:zf({"X-Contentful-Version":a},n)})},Wf=(e,t,n)=>jo(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows_changelog`)(t),{headers:n,params:t.query}),Kf={ApiKey:i,AppAction:r,AppActionCall:s,AppBundle:c,AppDefinition:p,AppInstallation:d,AppUpload:v,AppSignedRequest:f,AppSigningSecret:y,AppEventSubscription:u,AppKey:m,AppAccessToken:o,AppDetails:l,Asset:h,AssetKey:g,BulkAction:x,Comment:w,Concept:O,ConceptScheme:j,ContentType:I,EditorInterface:P,Entry:T,Environment:S,EnvironmentAlias:A,EnvironmentTemplate:E,EnvironmentTemplateInstallation:k,Extension:C,Function:_,FunctionLog:D,Http:R,Locale:z,Organization:M,OrganizationInvitation:$,OrganizationMembership:F,OAuthApplication:q,PersonalAccessToken:U,AccessToken:t,PreviewApiKey:L,Release:B,ReleaseAction:N,Resource:W,ResourceProvider:K,ResourceType:V,Role:H,ScheduledAction:X,Snapshot:G,Space:J,SpaceMember:Q,SpaceMembership:Y,Tag:Z,Task:ee,Team:te,TeamMembership:ne,TeamSpaceMembership:ae,UIConfig:ie,Upload:b,UploadCredential:oe,Usage:re,User:se,UserUIConfig:ce,Webhook:pe,WorkflowDefinition:ue,Workflow:le,WorkflowsChangelog:de};function Vf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vf(Object(n),!0).forEach((function(t){Xf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gf=async({axiosInstance:e,entityType:t,action:n,params:a,payload:i,headers:o,userAgent:r})=>{var s;const c=null===(s=Kf[t])||void 0===s?void 0:s["delete"===n?"del":n];if(void 0===c)throw new Error("Unknown endpoint");return await c(e,a,i,Hf(Hf({},o),r?{"X-Contentful-User-Agent":r}:{}))};function Jf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Qf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jf(Object(n),!0).forEach((function(t){Yf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yf(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zf={defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"};class ey{constructor(e){if(Yf(this,"params",void 0),Yf(this,"axiosInstance",void 0),!e.accessToken)throw new TypeError("Expected parameter accessToken");const t=Qt(e);t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,this.params=Qf(Qf({},Zf),t),this.axiosInstance=pn(ho,Qf(Qf({},this.params),{},{headers:Qf(Qf({"Content-Type":"application/vnd.contentful.management.v1+json"},e.userAgent?{"X-Contentful-User-Agent":e.userAgent}:{}),this.params.headers)}))}async makeRequest(e){return Gf(Qf(Qf({},e),{},{axiosInstance:this.axiosInstance}))}}function ty(e,t){return Object.keys(t).reduce(((e,n)=>(Object.defineProperty(e,n,{enumerable:!1,configurable:!0,writable:!1,value:t[n]}),e)),e)}function ny(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>{var t,n;return{spaceId:null!==(t=null===(n=e.sys.space)||void 0===n?void 0:n.sys.id)&&void 0!==t?t:"",apiKeyId:e.sys.id}};return{update:function(){return e({entityType:"ApiKey",action:"update",params:t(this),payload:this,headers:{}}).then((t=>ny(e,t)))},delete:function(){return e({entityType:"ApiKey",action:"delete",params:t(this)})}}}(e));return dn(n)}const ay=ar(ny);function iy(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appActionId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:t(n)})}}}(e));return dn(n)}const oy=ar(iy);function ry(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ry(Object(n),!0).forEach((function(t){cy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ry(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function py(e,t){return{createWithResponse:function(){return e({entityType:"AppActionCall",action:"createWithResponse",params:sy({spaceId:"space-id",environmentId:"environment-id",appDefinitionId:"app-definiton-id",appActionId:"app-action-id"},t),payload:{parameters:{recipient:"Alice <alice@my-company.com>",message_body:"Hello from Bob!"}}}).then((t=>uy(e,t)))},getCallDetails:function(){return e({entityType:"AppActionCall",action:"getCallDetails",params:{spaceId:"space-id",environmentId:"environment-id",callId:"call-id",appActionId:"app-action-id"}}).then((t=>uy(e,t)))}}}function ly(e,t){return ty(fn(Qt(t)),py(e))}function uy(e,t,n){return ty(fn(Qt(t)),py(e,n))}function dy(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,appBundleId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppBundle",action:"delete",params:t(n)})}}}(e));return dn(n)}const my=ar(dy);function fy(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapAppBundle:t,wrapAppBundleCollection:n}=hh.appBundle,{wrapResourceProvider:a}=hh.resourceProvider,i=e=>({appDefinitionId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"update",params:i(t),headers:{},payload:t}).then((t=>fy(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"AppDefinition",action:"delete",params:i(t)})},getAppBundle(n){const a=this.toPlainObject();return e({entityType:"AppBundle",action:"get",params:{appBundleId:n,appDefinitionId:a.sys.id,organizationId:a.sys.organization.sys.id}}).then((n=>t(e,n)))},getAppBundles(t={}){const a=this.toPlainObject();return e({entityType:"AppBundle",action:"getMany",params:{organizationId:a.sys.organization.sys.id,appDefinitionId:a.sys.id,query:t}}).then((t=>n(e,t)))},createAppBundle(n){const a=this.toPlainObject();return e({entityType:"AppBundle",action:"create",params:{appDefinitionId:a.sys.id,organizationId:a.sys.organization.sys.id},payload:n}).then((n=>t(e,n)))},getInstallationsForOrg(t={}){const n=this.toPlainObject();return e({entityType:"AppDefinition",action:"getInstallationsForOrg",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id,query:t}})},upsertResourceProvider(t){const n=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:{appDefinitionId:n.sys.id,organizationId:n.sys.organization.sys.id},payload:t}).then((t=>a(e,t)))},getResourceProvider(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"get",params:{appDefinitionId:t.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>a(e,t)))}}}(e));return dn(n)}const yy=ar(fy);function vy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppDetails",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function by(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,appDefinitionId:e.sys.appDefinition.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:t(n),headers:{},payload:n}).then((t=>by(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"delete",params:t(n)})}}}(e));return dn(n)}const hy=ar(by);function gy(e,t){return fn(Qt(t))}function xy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function wy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}})}}}(e))}function Oy(e,t){return ty(fn(Qt(t)),function(e){return{delete:function(){return e({entityType:"AppKey",action:"delete",params:(t=this,{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,fingerprint:t.sys.id})});var t}}}(e))}const jy=ar(Oy);function Iy(e,t){return dn(fn(Qt(t)))}function Py(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({organizationId:e.sys.organization.sys.id,appUploadId:e.sys.id});return{delete:function(){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"delete",params:t(n)})}}}(e));return dn(n)}const Ty=ar(Py),Sy=e=>!!e.sys.publishedVersion,Ay=e=>!!(e.sys.publishedVersion&&e.sys.version>e.sys.publishedVersion+1),Ey=e=>!e.sys.publishedVersion,ky=e=>!!e.sys.archivedVersion;function Cy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cy(Object(n),!0).forEach((function(t){Dy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ry(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,assetId:e.sys.id});return{processForLocale:function(n,a){const i=this.toPlainObject();return e({entityType:"Asset",action:"processForLocale",params:_y(_y({},t(i)),{},{locale:n,options:a,asset:i})}).then((t=>Ry(e,t)))},processForAllLocales:function(n){const a=this.toPlainObject();return e({entityType:"Asset",action:"processForAllLocales",params:_y(_y({},t(a)),{},{asset:a,options:n})}).then((t=>Ry(e,t)))},update:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"update",params:t(n),payload:n,headers:{}}).then((t=>Ry(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"delete",params:t(n)})},publish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"publish",params:t(n),payload:n}).then((t=>Ry(e,t)))},unpublish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unpublish",params:t(n)}).then((t=>Ry(e,t)))},archive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"archive",params:t(n)}).then((t=>Ry(e,t)))},unarchive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unarchive",params:t(n)}).then((t=>Ry(e,t)))},isPublished:function(){const e=this.toPlainObject();return Sy(e)},isUpdated:function(){const e=this.toPlainObject();return Ay(e)},isDraft:function(){const e=this.toPlainObject();return Ey(e)},isArchived:function(){const e=this.toPlainObject();return ky(e)}}}(e));return dn(n)}const zy=ar(Ry);function My(e,t){return fn(Qt(t))}function $y(e){return new Promise((t=>setTimeout(t,e)))}const Fy=30,qy=1e3,Uy=2e3;class Ly extends Error{constructor(e,t){var n,a,i;super(e),n=this,i=void 0,(a=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(a="action"))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,this.action=t,this.name=this.constructor.name}}class By extends Ly{}async function Ny(e,t){var n,a,i,o,r;let s,c=0,p=!1;const l=null!==(n=null==t?void 0:t.retryCount)&&void 0!==n?n:Fy,u=null!==(a=null==t?void 0:t.retryIntervalMs)&&void 0!==a?a:Uy,d=null!==(i=null==t?void 0:t.initialDelayMs)&&void 0!==i?i:qy,m=null===(o=null==t?void 0:t.throwOnFailedExecution)||void 0===o||o;for(await $y(d);c<l&&!p;){if(s=await e(),s&&["succeeded","failed"].includes(s.sys.status)){if(p=!0,"failed"===s.sys.status&&m)throw new By(`${s.sys.type} failed to execute.`,s);return s}await $y(u),c+=1}throw new Ly(`${null===(r=s)||void 0===r?void 0:r.sys.type} didn't finish processing within the expected timeframe.`,s)}let Wy=function(e){return e.created="created",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e}({});function Ky(e,t){const n=ty(fn(Qt(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,bulkActionId:e.sys.id}})();return e({entityType:"BulkAction",action:"get",params:t}).then((t=>Ky(e,t)))},async waitProcessing(e){return Ny((async()=>this.get()),e)}}}(e));return dn(n)}function Vy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Hy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vy(Object(n),!0).forEach((function(t){Xy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xy(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.values(Wy);let Gy=function(e){return e.Document="document",e.Paragraph="paragraph",e.Mention="mention",e}({});function Jy(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,commentId:e.sys.id});return{update:async function(){const n=this.toPlainObject(),a=await e({entityType:"Comment",action:"update",params:t(n),payload:n});return Qy(e,a)},delete:async function(){const n=this.toPlainObject();await e({entityType:"Comment",action:"delete",params:Hy(Hy({},t(n)),{},{version:n.sys.version})})}}}function Qy(e,t){return dn(ty(fn(Qt(t)),Jy(e)))}const Yy=ar(Qy);function Zy(e,t){const n=ty(fn(Qt(t)),function(e){return{update:function(){const t=this,n=t.toPlainObject();return e({entityType:"EditorInterface",action:"update",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.contentType.sys.id},payload:n}).then((t=>Zy(e,t)))},getControlForField:function(e){const t=(this.controls||[]).filter((t=>t.fieldId===e));return t&&t.length>0?t[0]:null}}}(e));return dn(n)}const ev=ar(Zy);function tv(e,t){return dn(ty(fn(Qt(t)),{}))}const nv=ar(tv),av=["fieldId"],iv=function(e,t,n){const a=e.fields.find((e=>e.id===t));return a?(a[n]=!0,Promise.resolve(e)):Promise.reject(new Error(`Tried to omitAndDeleteField on a nonexistent field, ${t}, on the content type ${e.name}.`))},ov=(e,t,n)=>{let{fieldId:a}=t,i=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,av);return iv(n,a,"omitted").then((t=>e({entityType:"ContentType",action:"update",params:i,payload:t}))).then((t=>e({entityType:"ContentType",action:"publish",params:i,payload:t}))).then((e=>iv(e,a,"deleted"))).then((t=>e({entityType:"ContentType",action:"update",params:i,payload:t})))};function rv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function sv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rv(Object(n),!0).forEach((function(t){cv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>{const t=e.toPlainObject();return{raw:t,params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,contentTypeId:t.sys.id}}};return{update:function(){const{raw:n,params:a}=t(this);return e({entityType:"ContentType",action:"update",params:a,payload:n}).then((t=>pv(e,t)))},delete:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"delete",params:n}).then((()=>{}))},publish:function(){const{raw:n,params:a}=t(this);return e({entityType:"ContentType",action:"publish",params:a,payload:n}).then((t=>pv(e,t)))},unpublish:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"unpublish",params:n}).then((t=>pv(e,t)))},getEditorInterface:function(){const{params:n}=t(this);return e({entityType:"EditorInterface",action:"get",params:n}).then((t=>Zy(e,t)))},getSnapshots:function(n={}){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getManyForContentType",params:sv(sv({},a),{},{query:n})}).then((t=>nv(e,t)))},getSnapshot:function(n){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getForContentType",params:sv(sv({},a),{},{snapshotId:n})}).then((e=>tv(0,e)))},isPublished:function(){return Sy(this)},isUpdated:function(){return Ay(this)},isDraft:function(){return Ey(this)},omitAndDeleteField:function(n){const{raw:a,params:i}=t(this);return ov(e,sv(sv({},i),{},{fieldId:n}),a).then((t=>pv(e,t)))}}}(e));return dn(n)}const lv=ar(pv);function uv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uv(Object(n),!0).forEach((function(t){mv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fv(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapEntry:t,wrapEntryCollection:n}=hh.entry,{wrapSnapshot:a,wrapSnapshotCollection:i}=hh.snapshot,{wrapTask:o,wrapTaskCollection:r}=hh.task,{wrapComment:s,wrapCommentCollection:c}=hh.comment,p=e=>{const t=e.toPlainObject();return{params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,entryId:t.sys.id},raw:t}};return{update:function(){const{raw:n,params:a}=p(this);return e({entityType:"Entry",action:"update",params:a,payload:n}).then((n=>t(e,n)))},patch:function(n){const{raw:a,params:i}=p(this);return e({entityType:"Entry",action:"patch",params:dv(dv({},i),{},{version:a.sys.version}),payload:n}).then((n=>t(e,n)))},delete:function(){const{params:t}=p(this);return e({entityType:"Entry",action:"delete",params:t})},publish:function(){const{raw:n,params:a}=p(this);return e({entityType:"Entry",action:"publish",params:a,payload:n}).then((n=>t(e,n)))},unpublish:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unpublish",params:n}).then((n=>t(e,n)))},archive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"archive",params:n}).then((n=>t(e,n)))},unarchive:function(){const{params:n}=p(this);return e({entityType:"Entry",action:"unarchive",params:n}).then((n=>t(e,n)))},getSnapshots:function(t={}){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getManyForEntry",params:dv(dv({},n),{},{query:t})}).then((t=>i(e,t)))},getSnapshot:function(t){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getForEntry",params:dv(dv({},n),{},{snapshotId:t})}).then((t=>a(e,t)))},createComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"create",params:{spaceId:n.spaceId,environmentId:n.environmentId,parentEntityId:n.entryId,parentEntityType:"Entry"},payload:t}).then((t=>s(e,t)))},getComments:function(){const{params:t}=p(this);return e({entityType:"Comment",action:"getMany",params:t}).then((t=>c(e,t)))},getComment:function(t){const{params:n}=p(this);return e({entityType:"Comment",action:"get",params:dv(dv({},n),{},{commentId:t})}).then((t=>s(e,t)))},createTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"create",params:n,payload:t}).then((t=>o(e,t)))},getTasks:function(t={}){const{params:n}=p(this);return e({entityType:"Task",action:"getMany",params:dv(dv({},n),{},{query:t})}).then((t=>r(e,t)))},getTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"get",params:dv(dv({},n),{},{taskId:t})}).then((t=>o(e,t)))},isPublished:function(){const e=this.toPlainObject();return Sy(e)},isUpdated:function(){const e=this.toPlainObject();return Ay(e)},isDraft:function(){const e=this.toPlainObject();return Ey(e)},isArchived:function(){const e=this.toPlainObject();return ky(e)},references:function(t){const a=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.environment.sys.id,entryId:a.sys.id,include:null==t?void 0:t.include}}).then((t=>n(e,t)))}}}(e));return dn(n)}const yv=ar(fv);function vv(e,t){const n=ty(fn(Qt(t)),function(e){return{async get(){const t=(()=>{const e=this.toPlainObject();return{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,releaseId:e.sys.release.sys.id,actionId:e.sys.id}})();return e({entityType:"ReleaseAction",action:"get",params:t}).then((t=>vv(e,t)))},async waitProcessing(e){return Ny((async()=>this.get()),e)}}}(e));return dn(n)}const bv=ar(vv);let hv=function(e){return e.contentTypeAnnotationNotIn="sys.contentType.metadata.annotations.ContentType[nin]",e}({});const gv=hv;function xv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>{const t=e.toPlainObject();return{spaceId:t.sys.space.sys.id,environmentId:t.sys.environment.sys.id,releaseId:t.sys.id,version:t.sys.version}};return{async archive(){const n=t(this);return e({entityType:"Release",action:"archive",params:n}).then((t=>xv(e,t)))},async unarchive(){const n=t(this);return e({entityType:"Release",action:"unarchive",params:n}).then((t=>xv(e,t)))},async update(n){const a=t(this);return e({entityType:"Release",action:"update",params:a,payload:n}).then((t=>xv(e,t)))},async delete(){const n=t(this);await e({entityType:"Release",action:"delete",params:n})},async publish(n){const a=t(this);return e({entityType:"Release",action:"publish",params:a}).then((t=>vv(e,t))).then((e=>e.waitProcessing(n)))},async unpublish(n){const a=t(this);return e({entityType:"Release",action:"unpublish",params:a}).then((t=>vv(e,t))).then((e=>e.waitProcessing(n)))},async validate(n){const a=t(this);return e({entityType:"Release",action:"validate",params:a,payload:null==n?void 0:n.payload}).then((t=>vv(e,t))).then((e=>e.waitProcessing(null==n?void 0:n.processingOptions)))}}}(e));return dn(n)}const wv=ir(xv);function Ov(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function jv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ov(Object(n),!0).forEach((function(t){Iv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ov(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Iv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pv(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,tagId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"update",params:t(n),payload:n}).then((t=>Tv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"delete",params:jv(jv({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Tv(e,t){return dn(ty(fn(Qt(t)),Pv(e)))}const Sv=ar(Tv);function Av(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapUIConfig:t}=hh.uiConfig;return{update:async function(){const{raw:n,params:a}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),i=await e({entityType:"UIConfig",action:"update",params:a,payload:n});return t(e,i)}}}(e));return dn(n)}function Ev(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapUserUIConfig:t}=hh.userUIConfig;return{update:async function(){const{raw:n,params:a}=(()=>{const e=this.toPlainObject();return{params:{spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id},raw:e}})(),i=await e({entityType:"UserUIConfig",action:"update",params:a,payload:n});return t(e,i)}}}(e));return dn(n)}function kv(e,t){return dn(fn(Qt(t)))}const Cv=ir(kv);function _v(e,t){const n=ty(fn(Qt(t)),function(e){return{getFunction:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:t.sys.organization.sys.id,appDefinitionId:t.sys.appDefinition.sys.id,functionId:t.sys.id}}).then((t=>_v(e,t)))},getManyFunctions:function(){const t=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{appDefinitionId:t.sys.appDefinition.sys.id,organizationId:t.sys.organization.sys.id}}).then((t=>Dv(e,t)))},getManyFunctionsForEnvironment:(t,n,a)=>e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:t,environmentId:n,appInstallationId:a}}).then((t=>Dv(e,t)))}}(e));return dn(n)}const Dv=ar(_v);function Rv(e,t){return dn(fn(Qt(t)))}const zv=ar(Rv),Mv=["installationId"];function $v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Fv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$v(Object(n),!0).forEach((function(t){qv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uv(e,t){return dn(ty(fn(Qt(t)),function(e){const{wrapEnvironment:t}=hh.environment,{wrapContentType:n,wrapContentTypeCollection:a}=hh.contentType,{wrapEntry:i,wrapEntryCollection:o}=hh.entry,{wrapAsset:r,wrapAssetCollection:s}=hh.asset,{wrapAssetKey:c}=hh.assetKey,{wrapLocale:p,wrapLocaleCollection:l}=hh.locale,{wrapSnapshotCollection:u}=hh.snapshot,{wrapEditorInterface:d,wrapEditorInterfaceCollection:m}=hh.editorInterface,{wrapUpload:f}=hh.upload,{wrapExtension:y,wrapExtensionCollection:v}=hh.extension,{wrapAppInstallation:b,wrapAppInstallationCollection:h}=hh.appInstallation,{wrapAppSignedRequest:g}=hh.appSignedRequest,{wrapAppActionCall:x}=hh.appActionCall,{wrapBulkAction:w}=hh.bulkAction,{wrapAppAccessToken:O}=hh.appAccessToken,{wrapResourceTypesForEnvironmentCollection:j}=hh.resourceType,{wrapResourceCollection:I}=hh.resource;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Environment",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((()=>{}))},update:function(){const n=this.toPlainObject();return e({entityType:"Environment",action:"update",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:n}).then((n=>t(e,n)))},getEntryFromData:t=>i(e,t),getAssetFromData:t=>r(e,t),getBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,bulkActionId:t}}).then((t=>w(e,t)))},createPublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"publish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>w(e,t)))},createValidateBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"validate",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>w(e,t)))},createUnpublishBulkAction(t){const n=this.toPlainObject();return e({entityType:"BulkAction",action:"unpublish",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>w(e,t)))},getContentType(t){const a=this.toPlainObject();return e({entityType:"ContentType",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t}}).then((t=>n(e,t)))},getContentTypes(t={}){const n=this.toPlainObject();return e({entityType:"ContentType",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>a(e,t)))},createContentType(t){const a=this.toPlainObject();return e({entityType:"ContentType",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id},payload:t}).then((t=>n(e,t)))},createContentTypeWithId(t,a){const i=this.toPlainObject();return e({entityType:"ContentType",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,contentTypeId:t},payload:a}).then((t=>n(e,t)))},getEditorInterfaceForContentType(t){const n=this.toPlainObject();return e({entityType:"EditorInterface",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,contentTypeId:t}}).then((t=>d(e,t)))},getEditorInterfaces(){const t=this.toPlainObject();return e({entityType:"EditorInterface",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>m(e,t)))},getEntry(t,n={}){const a=this.toPlainObject();return e({entityType:"Entry",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:t,query:ln({query:n}).params}}).then((t=>i(e,t)))},deleteEntry(t){const n=this.toPlainObject();return e({entityType:"Entry",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,entryId:t}}).then((()=>{}))},getEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>o(e,t)))},getPublishedEntries(t={}){const n=this.toPlainObject();return e({entityType:"Entry",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>o(e,t)))},createEntry(t,n){const a=this.toPlainObject();return e({entityType:"Entry",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t},payload:n}).then((t=>i(e,t)))},createEntryWithId(t,n,a){const o=this.toPlainObject();return e({entityType:"Entry",action:"createWithId",params:{spaceId:o.sys.space.sys.id,environmentId:o.sys.id,entryId:n,contentTypeId:t},payload:a}).then((t=>i(e,t)))},getEntryReferences(t,n){const a=this.toPlainObject();return e({entityType:"Entry",action:"references",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:t,include:null==n?void 0:n.include}}).then((t=>o(e,t)))},getAsset(t,n={}){const a=this.toPlainObject();return e({entityType:"Asset",action:"get",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,assetId:t,query:ln({query:n}).params}}).then((t=>r(e,t)))},getAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>s(e,t)))},getPublishedAssets(t={}){const n=this.toPlainObject();return e({entityType:"Asset",action:"getPublished",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>s(e,t)))},createAsset(t){const n=this.toPlainObject();return e({entityType:"Asset",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>r(e,t)))},createAssetWithId(t,n){const a=this.toPlainObject();return e({entityType:"Asset",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,assetId:t},payload:n}).then((t=>r(e,t)))},createAssetFromFiles(t,n){const a=this.toPlainObject();return e({entityType:"Asset",action:"createFromFiles",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,uploadTimeout:null==n?void 0:n.uploadTimeout},payload:t}).then((t=>r(e,t)))},createAssetKey(t){const n=this.toPlainObject();return e({entityType:"AssetKey",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>c(e,t)))},getUpload(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,uploadId:t}}).then((t=>f(e,t)))},createUpload:function(t){const n=this.toPlainObject();return e({entityType:"Upload",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>f(e,t)))},getLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,localeId:t}}).then((t=>p(e,t)))},getLocales(t={}){const n=this.toPlainObject();return e({entityType:"Locale",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>l(e,t)))},createLocale(t){const n=this.toPlainObject();return e({entityType:"Locale",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>p(e,t)))},getUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,extensionId:t}}).then((t=>y(e,t)))},getUiExtensions(){const t=this.toPlainObject();return e({entityType:"Extension",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>v(e,t)))},createUiExtension(t){const n=this.toPlainObject();return e({entityType:"Extension",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>y(e,t)))},createUiExtensionWithId(t,n){const a=this.toPlainObject();return e({entityType:"Extension",action:"createWithId",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,extensionId:t},payload:n}).then((t=>y(e,t)))},createAppInstallation(t,n,{acceptAllTerms:a}={}){const i=this.toPlainObject();return e({entityType:"AppInstallation",action:"upsert",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t,acceptAllTerms:a},payload:n}).then((t=>b(e,t)))},getAppInstallation(t){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,appDefinitionId:t}}).then((t=>b(e,t)))},getAppInstallations(){const t=this.toPlainObject();return e({entityType:"AppInstallation",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).then((t=>h(e,t)))},createAppActionCall(t,n,a){const i=this.toPlainObject();return e({entityType:"AppActionCall",action:"create",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appDefinitionId:t,appActionId:n},payload:a}).then((t=>x(e,t)))},createAppSignedRequest(t,n){const a=this.toPlainObject();return e({entityType:"AppSignedRequest",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>g(e,t)))},createAppAccessToken(t,n){const a=this.toPlainObject();return e({entityType:"AppAccessToken",action:"create",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},getFunctionsForEnvironment(t,n){const a=this.toPlainObject();return e({entityType:"Function",action:"getManyForEnvironment",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,appInstallationId:t,query:n}}).then((t=>Dv(e,t)))},getFunctionLogs(t,n,a){const i=this.toPlainObject();return e({entityType:"FunctionLog",action:"getMany",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appInstallationId:t,functionId:n,query:a?ln({query:a}).params:void 0}}).then((t=>zv(e,t)))},getFunctionLog(t,n,a){const i=this.toPlainObject();return e({entityType:"FunctionLog",action:"get",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,appInstallationId:t,functionId:n,logId:a}}).then((e=>Rv(0,e)))},getEntrySnapshots(t,n={}){const a=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForEntry",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,entryId:t,query:n}}).then((t=>u(e,t)))},getContentTypeSnapshots(t,n={}){const a=this.toPlainObject();return e({entityType:"Snapshot",action:"getManyForContentType",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,contentTypeId:t,query:n}}).then((t=>u(e,t)))},createTag(t,n,a){const i=this.toPlainObject();return e({entityType:"Tag",action:"createWithId",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,tagId:t},payload:{name:n,sys:{visibility:null!=a?a:"private"}}}).then((t=>Tv(e,t)))},getTags(t={}){const n=this.toPlainObject();return e({entityType:"Tag",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:ln({query:t}).params}}).then((t=>Sv(e,t)))},getTag(t){const n=this.toPlainObject();return e({entityType:"Tag",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,tagId:t}}).then((t=>Tv(e,t)))},getRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"get",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}}).then((t=>xv(e,t)))},getReleases(t){const n=this.toPlainObject();return e({entityType:"Release",action:"query",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>wv(e,t)))},createRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"create",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id},payload:t}).then((t=>xv(e,t)))},updateRelease({releaseId:t,payload:n,version:a}){const i=this.toPlainObject();return e({entityType:"Release",action:"update",params:{spaceId:i.sys.space.sys.id,environmentId:i.sys.id,releaseId:t,version:a},payload:n}).then((t=>xv(e,t)))},deleteRelease(t){const n=this.toPlainObject();return e({entityType:"Release",action:"delete",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,releaseId:t}})},publishRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"publish",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>vv(e,t)))},unpublishRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"unpublish",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>vv(e,t)))},validateRelease({releaseId:t,payload:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"validate",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t},payload:n}).then((t=>vv(e,t)))},archiveRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"archive",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>xv(e,t)))},unarchiveRelease({releaseId:t,version:n}){const a=this.toPlainObject();return e({entityType:"Release",action:"unarchive",params:{spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:t,version:n}}).then((t=>xv(e,t)))},getReleaseAction({actionId:t,releaseId:n}){const a=this.toPlainObject();return e({entityType:"ReleaseAction",action:"get",params:{actionId:t,spaceId:a.sys.space.sys.id,environmentId:a.sys.id,releaseId:n}}).then((t=>vv(e,t)))},getReleaseActions({query:t}){const n=this.toPlainObject();return e({entityType:"ReleaseAction",action:"getMany",params:{spaceId:n.sys.space.sys.id,environmentId:n.sys.id,query:t}}).then((t=>bv(e,t)))},async getUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return Av(e,n)},async getUserUIConfig(){const t=this.toPlainObject(),n=await e({entityType:"UserUIConfig",action:"get",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}});return Ev(e,n)},async getEnvironmentTemplateInstallations(t,n={}){let{installationId:a}=n,i=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Mv);const o=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getForEnvironment",params:Fv(Fv({environmentTemplateId:t},a&&{installationId:a}),{},{query:Fv({},ln({query:i}).params),spaceId:o.sys.space.sys.id,environmentId:o.sys.id})}).then((t=>Cv(e,t)))},async getResourceTypes(t){const n=this.toPlainObject();return e({entityType:"ResourceType",action:"getForEnvironment",params:{query:t,spaceId:n.sys.space.sys.id,environmentId:n.sys.id}}).then((t=>j(e,t)))},async getResourcesForResourceType(t,n){const a=this.toPlainObject();return e({entityType:"Resource",action:"getMany",params:{query:n,spaceId:a.sys.space.sys.id,environmentId:a.sys.id,resourceTypeId:t}}).then((t=>I(e,t)))}}}(e)))}const Lv=ar(Uv);function Bv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentAliasId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"update",params:t(n),payload:n}).then((t=>Bv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return dn(n)}const Nv=ar(Bv),Wv=["spaceId","environmentId"];function Kv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Vv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kv(Object(n),!0).forEach((function(t){Hv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hv(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xv(e,t,n){return dn(ty(fn(Qt(t)),function(e,t){const{wrapEnvironmentTemplate:n,wrapEnvironmentTemplateCollection:a}=hh.environmentTemplate,{wrapEnvironmentTemplateInstallationCollection:i}=hh.environmentTemplateInstallation;return{update:function(){const a=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"update",params:{organizationId:t,environmentTemplateId:a.sys.id},payload:a}).then((a=>n(e,a,t)))},updateVersion:function({versionName:a,versionDescription:i}){const o=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versionUpdate",params:{organizationId:t,environmentTemplateId:o.sys.id,version:o.sys.version},payload:{versionName:a,versionDescription:i}}).then((a=>n(e,a,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"delete",params:{organizationId:t,environmentTemplateId:n.sys.id}})},getVersions:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versions",params:{organizationId:t,environmentTemplateId:n.sys.id}}).then((n=>a(e,n,t)))},getInstallations:function(n={}){let{spaceId:a,environmentId:o}=n,r=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Wv);const s=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getMany",params:{organizationId:t,environmentTemplateId:s.sys.id,query:Vv({},ln({query:r}).params),spaceId:a,environmentId:o}}).then((t=>i(e,t)))},validate:function({spaceId:t,environmentId:n,version:a,takeover:i,changeSet:o}){const r=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"validate",params:{spaceId:t,version:a,environmentId:n,environmentTemplateId:r.sys.id},payload:Vv(Vv({},i&&{takeover:i}),o&&{changeSet:o})})},install:function({spaceId:t,environmentId:n,installation:a}){const i=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"install",params:{spaceId:t,environmentId:n,environmentTemplateId:i.sys.id},payload:a})},disconnect:function({spaceId:t,environmentId:n}){const a=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"disconnect",params:{spaceId:t,environmentId:n,environmentTemplateId:a.sys.id}})}}}(e,n)))}const Gv=ir(Xv);function Jv(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,extensionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"update",params:t(n),payload:n}).then((t=>Jv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"delete",params:t(n)})}}}(e));return dn(n)}const Qv=ar(Jv);function Yv(e,t){delete t.internal_code;const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,localeId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"update",params:t(n),payload:n}).then((t=>Yv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return dn(n)}const Zv=ar(Yv);let eb=function(e){return e.Read="content_management_read",e.Manage="content_management_manage",e}({});function tb(e,t,n){const a=ty(fn(Qt(t)),function(e,t){const n=e=>({userId:t,oauthApplicationId:e.sys.id});return{async update(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"update",params:n(t),payload:t})},async delete(){const t=this.toPlainObject();return e({entityType:"OAuthApplication",action:"delete",params:n(t)})}}}(e,n));return dn(a)}const nb=ir(tb);function ab(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ib(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ab(Object(n),!0).forEach((function(t){ob(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ab(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ob(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rb(e,t){const n=fn(Qt(t)),a=function(e){const{wrapAppDefinition:t,wrapAppDefinitionCollection:n}=hh.appDefinition,{wrapUser:a,wrapUserCollection:i}=hh.user,{wrapOrganizationMembership:o,wrapOrganizationMembershipCollection:r}=hh.organizationMembership,{wrapTeamMembership:s,wrapTeamMembershipCollection:c}=hh.teamMembership,{wrapTeamSpaceMembership:p,wrapTeamSpaceMembershipCollection:l}=hh.teamSpaceMembership,{wrapTeam:u,wrapTeamCollection:d}=hh.team,{wrapSpaceMembership:m,wrapSpaceMembershipCollection:f}=hh.spaceMembership,{wrapOrganizationInvitation:y}=hh.organizationInvitation,{wrapAppUpload:v}=hh.appUpload,{wrapAppSigningSecret:b}=hh.appSigningSecret,{wrapAppEventSubscription:h}=hh.appEventSubscription,{wrapAppKey:g,wrapAppKeyCollection:x}=hh.appKey,{wrapAppDetails:w}=hh.appDetails,{wrapAppAction:O,wrapAppActionCollection:j}=hh.appAction,{wrapFunction:I,wrapFunctionCollection:P}=hh.func,{wrapRoleCollection:T}=hh.role,{wrapSpaceCollection:S}=hh.space;return{getSpaces(t={}){const n=this.toPlainObject();return e({entityType:"Space",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>S(e,t)))},getUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForOrganization",params:{organizationId:n.sys.id,userId:t}}).then((t=>a(e,t)))},getUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>i(e,t)))},getOrganizationMembership(t){const n=this.toPlainObject().sys.id;return e({entityType:"OrganizationMembership",action:"get",params:{organizationId:n,organizationMembershipId:t}}).then((t=>o(e,t,n)))},getOrganizationMemberships(t={}){const n=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"getMany",params:ib({organizationId:n.sys.id},t)}).then((t=>r(e,t,n.sys.id)))},createTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>u(e,t)))},getTeam(t){const n=this.toPlainObject();return e({entityType:"Team",action:"get",params:{organizationId:n.sys.id,teamId:t}}).then((t=>u(e,t)))},getTeams(t={}){const n=this.toPlainObject();return e({entityType:"Team",action:"getMany",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>d(e,t)))},createTeamMembership(t,n){const a=this.toPlainObject();return e({entityType:"TeamMembership",action:"create",params:{organizationId:a.sys.id,teamId:t},payload:n}).then((t=>s(e,t)))},getTeamMembership(t,n){const a=this.toPlainObject();return e({entityType:"TeamMembership",action:"get",params:{organizationId:a.sys.id,teamId:t,teamMembershipId:n}}).then((t=>s(e,t)))},getTeamMemberships(t={}){const{teamId:n,query:a={}}=t,i=this.toPlainObject();return n?e({entityType:"TeamMembership",action:"getManyForTeam",params:{organizationId:i.sys.id,teamId:n,query:ln({query:a}).params}}).then((t=>c(e,t))):e({entityType:"TeamMembership",action:"getManyForOrganization",params:{organizationId:i.sys.id,query:ln({query:a}).params}}).then((t=>c(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t.query||{}}).params,teamId:t.teamId}}).then((t=>l(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>p(e,t)))},getOrganizationSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getForOrganization",params:{organizationId:n.sys.id,spaceMembershipId:t}}).then((t=>m(e,t)))},getOrganizationSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>f(e,t)))},getOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"get",params:{organizationId:n.sys.id,invitationId:t}}).then((t=>y(e,t)))},createOrganizationInvitation(t){const n=this.toPlainObject();return e({entityType:"OrganizationInvitation",action:"create",params:{organizationId:n.sys.id},payload:t}).then((t=>y(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:ln({query:t}).params}}).then((t=>T(e,t)))},createAppDefinition(n){const a=this.toPlainObject();return e({entityType:"AppDefinition",action:"create",params:{organizationId:a.sys.id},payload:n}).then((n=>t(e,n)))},getAppDefinitions(t={}){const a=this.toPlainObject();return e({entityType:"AppDefinition",action:"getMany",params:{organizationId:a.sys.id,query:t}}).then((t=>n(e,t)))},getAppDefinition(n){const a=this.toPlainObject();return e({entityType:"AppDefinition",action:"get",params:{organizationId:a.sys.id,appDefinitionId:n}}).then((n=>t(e,n)))},getAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"get",params:{organizationId:n.sys.id,appUploadId:t}}).then((t=>v(e,t)))},createAppUpload(t){const n=this.toPlainObject();return e({entityType:"AppUpload",action:"create",params:{organizationId:n.sys.id},payload:{file:t}}).then((t=>v(e,t)))},upsertAppSigningSecret(t,n){const a=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"upsert",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>b(e,t)))},getAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>b(e,t)))},deleteAppSigningSecret(t){const n=this.toPlainObject();return e({entityType:"AppSigningSecret",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},upsertAppEventSubscription(t,n){const a=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"upsert",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>h(e,t)))},getAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>h(e,t)))},deleteAppEventSubscription(t){const n=this.toPlainObject();return e({entityType:"AppEventSubscription",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppKey(t,n){const a=this.toPlainObject();return e({entityType:"AppKey",action:"create",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>g(e,t)))},getAppKey(t,n){const a=this.toPlainObject();return e({entityType:"AppKey",action:"get",params:{organizationId:a.sys.id,appDefinitionId:t,fingerprint:n}}).then((t=>g(e,t)))},getAppKeys(t,n={}){const a=this.toPlainObject();return e({entityType:"AppKey",action:"getMany",params:{organizationId:a.sys.id,appDefinitionId:t,query:ln({query:n}).params}}).then((t=>x(e,t)))},deleteAppKey(t,n){const a=this.toPlainObject();return e({entityType:"AppKey",action:"delete",params:{organizationId:a.sys.id,appDefinitionId:t,fingerprint:n}}).then((()=>{}))},upsertAppDetails(t,n){const a=this.toPlainObject();return e({entityType:"AppDetails",action:"upsert",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>w(e,t)))},getAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"get",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>w(e,t)))},deleteAppDetails(t){const n=this.toPlainObject();return e({entityType:"AppDetails",action:"delete",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((()=>{}))},createAppAction(t,n){const a=this.toPlainObject();return e({entityType:"AppAction",action:"create",params:{organizationId:a.sys.id,appDefinitionId:t},payload:n}).then((t=>O(e,t)))},updateAppAction(t,n,a){const i=this.toPlainObject();return e({entityType:"AppAction",action:"update",params:{organizationId:i.sys.id,appDefinitionId:t,appActionId:n},payload:a}).then((t=>O(e,t)))},deleteAppAction(t,n){const a=this.toPlainObject();return e({entityType:"AppAction",action:"delete",params:{organizationId:a.sys.id,appDefinitionId:t,appActionId:n}}).then((()=>{}))},getAppAction(t,n){const a=this.toPlainObject();return e({entityType:"AppAction",action:"get",params:{organizationId:a.sys.id,appDefinitionId:t,appActionId:n}}).then((t=>O(e,t)))},getAppActions(t){const n=this.toPlainObject();return e({entityType:"AppAction",action:"getMany",params:{organizationId:n.sys.id,appDefinitionId:t}}).then((t=>j(e,t)))},getFunction(t,n){const a=this.toPlainObject();return e({entityType:"Function",action:"get",params:{organizationId:a.sys.id,appDefinitionId:t,functionId:n}}).then((t=>I(e,t)))},getFunctions(t,n){const a=this.toPlainObject();return e({entityType:"Function",action:"getMany",params:{organizationId:a.sys.id,appDefinitionId:t,query:n}}).then((t=>P(e,t)))}}}(e);return dn(ty(n,a))}const sb=ar(rb);function cb(e,t){return dn(fn(Qt(t)))}function pb(e,t,n){const a=ty(fn(Qt(t)),function(e,t){const n=e=>({organizationMembershipId:e.sys.id,organizationId:t});return{update:function(){const a=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"update",params:n(a),payload:a}).then((n=>pb(e,n,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"delete",params:n(t)})}}}(e,n));return dn(a)}const lb=ar(pb);function ub(e,t){return dn(ty(fn(Qt(t)),{revoke:function(){return e({entityType:"PersonalAccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>ub(e,t)))}}))}const db=ar(ub);function mb(e,t){return dn(ty(fn(Qt(t)),{revoke:function(){return e({entityType:"AccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>mb(e,t)))}}))}const fb=ar(mb);function yb(e,t){return dn(ty(fn(Qt(t)),{}))}const vb=ar(yb);function bb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,roleId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"update",params:t(n),payload:n}).then((t=>bb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"delete",params:t(n)})}}}(e));return dn(n)}const hb=ar(bb),gb=["sys"];let xb=function(e){return e.scheduled="scheduled",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e.canceled="canceled",e}({});function wb(e){const t=e=>{var t;const n=e.toPlainObject();return{spaceId:n.sys.space.sys.id,environmentId:null===(t=n.environment)||void 0===t?void 0:t.sys.id,scheduledActionId:n.sys.id,version:n.sys.version}};return{async delete(){const n=t(this);return e({entityType:"ScheduledAction",action:"delete",params:n}).then((t=>Ob(e,t)))},async update(){const n=t(this),a=this.toPlainObject(),{sys:i}=a,o=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(a,gb);return e({entityType:"ScheduledAction",action:"update",params:n,payload:o}).then((t=>Ob(e,t)))}}}function Ob(e,t){return dn(ty(fn(Qt(t)),wb(e)))}const jb=ar(Ob);function Ib(e,t){const n=fn(Qt(t)),a=function(e){const{wrapSpace:t}=hh.space,{wrapEnvironment:n,wrapEnvironmentCollection:a}=hh.environment,{wrapWebhook:i,wrapWebhookCollection:o}=hh.webhook,{wrapRole:r,wrapRoleCollection:s}=hh.role,{wrapUser:c,wrapUserCollection:p}=hh.user,{wrapSpaceMember:l,wrapSpaceMemberCollection:u}=hh.spaceMember,{wrapSpaceMembership:d,wrapSpaceMembershipCollection:m}=hh.spaceMembership,{wrapTeamSpaceMembership:f,wrapTeamSpaceMembershipCollection:y}=hh.teamSpaceMembership,{wrapTeamCollection:v}=hh.team,{wrapApiKey:b,wrapApiKeyCollection:h}=hh.apiKey,{wrapEnvironmentAlias:g,wrapEnvironmentAliasCollection:x}=hh.environmentAlias,{wrapPreviewApiKey:w,wrapPreviewApiKeyCollection:O}=hh.previewApiKey,{wrapScheduledAction:j,wrapScheduledActionCollection:I}=hh.scheduledAction;return{delete:function(){const t=this.toPlainObject();return e({entityType:"Space",action:"delete",params:{spaceId:t.sys.id}})},update:function(){const n=this.toPlainObject();return e({entityType:"Space",action:"update",params:{spaceId:n.sys.id},payload:n,headers:{}}).then((n=>t(e,n)))},getEnvironment(t){const a=this.toPlainObject();return e({entityType:"Environment",action:"get",params:{spaceId:a.sys.id,environmentId:t}}).then((t=>n(e,t)))},getEnvironments(t={}){const n=this.toPlainObject();return e({entityType:"Environment",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>a(e,t)))},createEnvironment(t={}){const a=this.toPlainObject();return e({entityType:"Environment",action:"create",params:{spaceId:a.sys.id},payload:t}).then((t=>n(e,t)))},createEnvironmentWithId(t,a,i){const o=this.toPlainObject();return e({entityType:"Environment",action:"createWithId",params:{spaceId:o.sys.id,environmentId:t,sourceEnvironmentId:i},payload:a}).then((t=>n(e,t)))},getWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"get",params:{spaceId:n.sys.id,webhookDefinitionId:t}}).then((t=>i(e,t)))},getWebhooks(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>o(e,t)))},getWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getSigningSecret",params:{spaceId:t.sys.id}})},getWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"getRetryPolicy",params:{spaceId:t.sys.id}})},createWebhook(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>i(e,t)))},createWebhookWithId(t,n){const a=this.toPlainObject();return e({entityType:"Webhook",action:"createWithId",params:{spaceId:a.sys.id,webhookDefinitionId:t},payload:n}).then((t=>i(e,t)))},upsertWebhookSigningSecret:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertSigningSecret",params:{spaceId:n.sys.id},payload:t})},upsertWebhookRetryPolicy:function(t){const n=this.toPlainObject();return e({entityType:"Webhook",action:"upsertRetryPolicy",params:{spaceId:n.sys.id},payload:t})},deleteWebhookSigningSecret:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteSigningSecret",params:{spaceId:t.sys.id}})},deleteWebhookRetryPolicy:function(){const t=this.toPlainObject();return e({entityType:"Webhook",action:"deleteRetryPolicy",params:{spaceId:t.sys.id}})},getRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"get",params:{spaceId:n.sys.id,roleId:t}}).then((t=>r(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>s(e,t)))},createRole(t){const n=this.toPlainObject();return e({entityType:"Role",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>r(e,t)))},createRoleWithId(t,n){const a=this.toPlainObject();return e({entityType:"Role",action:"createWithId",params:{spaceId:a.sys.id,roleId:t},payload:n}).then((t=>r(e,t)))},getSpaceUser(t){const n=this.toPlainObject();return e({entityType:"User",action:"getForSpace",params:{spaceId:n.sys.id,userId:t}}).then((t=>c(e,t)))},getSpaceUsers(t={}){const n=this.toPlainObject();return e({entityType:"User",action:"getManyForSpace",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>p(e,t)))},getTeams(t={limit:100}){const n=this.toPlainObject();return e({entityType:"Team",action:"getManyForSpace",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>v(e,t)))},getSpaceMember(t){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"get",params:{spaceId:n.sys.id,spaceMemberId:t}}).then((t=>l(e,t)))},getSpaceMembers(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMember",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>u(e,t)))},getSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"get",params:{spaceId:n.sys.id,spaceMembershipId:t}}).then((t=>d(e,t)))},getSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>m(e,t)))},createSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>d(e,t)))},createSpaceMembershipWithId(t,n){const a=this.toPlainObject();return e({entityType:"SpaceMembership",action:"createWithId",params:{spaceId:a.sys.id,spaceMembershipId:t},payload:n}).then((t=>d(e,t)))},getTeamSpaceMembership(t){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"get",params:{spaceId:n.sys.id,teamSpaceMembershipId:t}}).then((t=>f(e,t)))},getTeamSpaceMemberships(t={}){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"getMany",params:{spaceId:n.sys.id,query:ln({query:t}).params}}).then((t=>y(e,t)))},createTeamSpaceMembership(t,n){const a=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"create",params:{spaceId:a.sys.id,teamId:t},payload:n}).then((t=>f(e,t)))},getApiKey(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"get",params:{spaceId:n.sys.id,apiKeyId:t}}).then((t=>b(e,t)))},getApiKeys(){const t=this.toPlainObject();return e({entityType:"ApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>h(e,t)))},getPreviewApiKeys(){const t=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>O(e,t)))},getPreviewApiKey(t){const n=this.toPlainObject();return e({entityType:"PreviewApiKey",action:"get",params:{spaceId:n.sys.id,previewApiKeyId:t}}).then((t=>w(e,t)))},createApiKey:function(t){const n=this.toPlainObject();return e({entityType:"ApiKey",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>b(e,t)))},createApiKeyWithId(t,n){const a=this.toPlainObject();return e({entityType:"ApiKey",action:"createWithId",params:{spaceId:a.sys.id,apiKeyId:t},payload:n}).then((t=>b(e,t)))},createEnvironmentAliasWithId(t,n){const a=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"createWithId",params:{spaceId:a.sys.id,environmentAliasId:t},payload:n}).then((t=>g(e,t)))},getEnvironmentAlias(t){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"get",params:{spaceId:n.sys.id,environmentAliasId:t}}).then((t=>g(e,t)))},getEnvironmentAliases(){const t=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"getMany",params:{spaceId:t.sys.id}}).then((t=>x(e,t)))},getScheduledActions(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"getMany",params:{spaceId:n.sys.id,query:t}}).then((t=>I(e,t)))},getScheduledAction({scheduledActionId:t,environmentId:n}){const a=this.toPlainObject();return e({entityType:"ScheduledAction",action:"get",params:{spaceId:a.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))},createScheduledAction(t){const n=this.toPlainObject();return e({entityType:"ScheduledAction",action:"create",params:{spaceId:n.sys.id},payload:t}).then((t=>j(e,t)))},updateScheduledAction({scheduledActionId:t,payload:n,version:a}){const i=this.toPlainObject();return e({entityType:"ScheduledAction",action:"update",params:{spaceId:i.sys.id,version:a,scheduledActionId:t},payload:n}).then((t=>j(e,t)))},deleteScheduledAction({scheduledActionId:t,environmentId:n}){const a=this.toPlainObject();return e({entityType:"ScheduledAction",action:"delete",params:{spaceId:a.sys.id,environmentId:n,scheduledActionId:t}}).then((t=>j(e,t)))}}}(e);return dn(ty(n,a))}const Pb=ar(Ib);function Tb(e,t){return dn(fn(Qt(t)))}const Sb=ar(Tb);function Ab(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,spaceMembershipId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"update",params:t(n),payload:n}).then((t=>Ab(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"delete",params:t(n)})}}}(e));return dn(n)}const Eb=ar(Ab);function kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Cb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kb(Object(n),!0).forEach((function(t){_b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _b(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Db(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,entryId:e.sys.parentEntity.sys.id,taskId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"update",params:t(n),payload:n}).then((t=>Rb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"delete",params:Cb(Cb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Rb(e,t){return dn(ty(fn(Qt(t)),Db(e)))}const zb=ar(Rb);function Mb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({teamId:e.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"update",params:t(n),payload:n}).then((t=>Mb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"delete",params:t(n)})}}}(e));return dn(n)}const $b=ar(Mb);function Fb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({teamMembershipId:e.sys.id,teamId:e.sys.team.sys.id,organizationId:e.sys.organization.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"update",params:t(n),payload:n}).then((t=>Fb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"delete",params:t(n)})}}}(e));return dn(n)}const qb=ar(Fb);function Ub(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({teamSpaceMembershipId:e.sys.id,spaceId:e.sys.space.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"update",params:t(n),payload:n}).then((t=>Ub(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"delete",params:t(n)})}}}(e));return dn(n)}const Lb=ar(Ub);function Bb(e,t){const n=ty(fn(Qt(t)),function(e){return{delete:async function(){const t=this.toPlainObject();await e({entityType:"Upload",action:"delete",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id,uploadId:t.sys.id}})}}}(e));return dn(n)}function Nb(e,t){return dn(ty(fn(Qt(t)),{}))}const Wb=ar(Nb);function Kb(e,t){return dn(ty(fn(Qt(t)),{}))}const Vb=ar(Kb);function Hb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Xb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hb(Object(n),!0).forEach((function(t){Gb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gb(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jb(e,t){const n=ty(fn(Qt(t)),function(e){const t=e=>({spaceId:e.sys.space.sys.id,webhookDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"update",params:t(n),payload:n}).then((t=>Jb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"delete",params:t(n)})},getCalls:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getManyCallDetails",params:t(n)})},getCall:function(n){const a=this.toPlainObject();return e({entityType:"Webhook",action:"getCallDetails",params:Xb(Xb({},t(a)),{},{callId:n})})},getHealth:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getHealthStatus",params:t(n)})}}}(e));return dn(n)}const Qb=ar(Jb);function Yb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Zb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yb(Object(n),!0).forEach((function(t){eh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let th=function(e){return e.EntityPermission="entity_permission",e.WorkflowPermission="workflow_permission",e}({}),nh=function(e){return e.Edit="edit",e.Publish="publish",e.Delete="delete",e}({}),ah=function(e){return e.Allow="allow",e.Deny="deny",e}({}),ih=function(e){return e.App="app",e.Email="email",e.Task="task",e}({});function oh(e){const t=e=>({spaceId:e.sys.space.sys.id,environmentId:e.sys.environment.sys.id,workflowDefinitionId:e.sys.id});return{update:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"update",params:t(n),payload:n}).then((t=>rh(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"delete",params:Zb(Zb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function rh(e,t){return dn(ty(fn(Qt(t)),oh(e)))}const sh=ar(rh),ch=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id}),ph=e=>({sys:{id:e.sys.id},type:e.type,function:e.function});function lh(e,t){const n=ty(fn(Qt(t)),function(e){const{wrapResourceType:t}=hh.resourceType;return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:ch(t),headers:{},payload:ph(t)}).then((t=>lh(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"delete",params:ch(t)})},getResourceType:function(n){return e({entityType:"ResourceType",action:"get",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n}}).then((n=>t(e,n)))},upsertResourceType:function(n,a){return e({entityType:"ResourceType",action:"upsert",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id,resourceTypeId:n},headers:{},payload:a}).then((n=>t(e,n)))},getResourceTypes:function(){return e({entityType:"ResourceType",action:"getMany",params:{organizationId:this.sys.organization.sys.id,appDefinitionId:this.sys.appDefinition.sys.id}}).then((n=>(n.items=n.items.map((n=>t(e,n))),n)))}}}(e));return dn(n)}const uh=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,resourceTypeId:e.sys.id}),dh=e=>({name:e.name,defaultFieldMapping:e.defaultFieldMapping});function mh(e,t){const n=ty(fn(Qt(t)),function(e){return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"upsert",params:uh(t),headers:{},payload:dh(t)}).then((t=>mh(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"delete",params:uh(t)})}}}(e));return dn(n)}function fh(e,t){return dn(fn(t))}const yh=ir(fh);function vh(e,t){return dn(fn(t))}const bh=ir(vh),hh={accessToken:Ye,appAction:fe,appActionCall:ye,appBundle:ve,apiKey:me,appDefinition:be,appInstallation:ge,appUpload:Pe,appDetails:he,appSignedRequest:xe,appSigningSecret:we,appEventSubscription:Oe,appKey:je,appAccessToken:Ie,asset:Te,assetKey:Se,bulkAction:Ae,comment:Ee,concept:ft,conceptScheme:yt,contentType:_e,editorInterface:ke,entry:De,environment:Be,environmentAlias:Ne,environmentTemplate:We,environmentTemplateInstallation:qe,extension:Ke,func:Ue,functionLog:Le,locale:Ve,oauthApplication:He,organization:Xe,organizationInvitation:Ge,organizationMembership:Je,personalAccessToken:Qe,previewApiKey:Ze,release:ze,releaseAction:Re,resourceProvider:vt,resourceType:bt,resource:ht,role:et,scheduledAction:tt,snapshot:Ce,space:nt,spaceMember:at,spaceMembership:it,tag:Me,task:ot,team:rt,teamMembership:st,teamSpaceMembership:ct,uiConfig:$e,upload:pt,usage:lt,user:ut,userUIConfig:Fe,webhook:dt,workflowDefinition:mt},gh=["url"];function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function wh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xh(Object(n),!0).forEach((function(t){Oh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const jh=({makeRequest:e,defaults:t},n,a)=>(i,o,r)=>e({entityType:n,action:a,params:wh(wh({},t),i),payload:o,headers:r});function Ih(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ph(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ih(Object(n),!0).forEach((function(t){Th(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ih(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Th(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sh=(e,t)=>{const n={makeRequest:e,defaults:t};return{raw:{getDefaultParams:()=>t,get:(t,n)=>e({entityType:"Http",action:"get",params:{url:t,config:n}}),patch:(t,n,a)=>e({entityType:"Http",action:"patch",params:{url:t,config:a},payload:n}),post:(t,n,a)=>e({entityType:"Http",action:"post",params:{url:t,config:a},payload:n}),put:(t,n,a)=>e({entityType:"Http",action:"put",params:{url:t,config:a},payload:n}),delete:(t,n)=>e({entityType:"Http",action:"delete",params:{url:t,config:n}}),http:(t,n)=>e({entityType:"Http",action:"request",params:{url:t,config:n}})},appAction:{get:jh(n,"AppAction","get"),getMany:jh(n,"AppAction","getMany"),getManyForEnvironment:jh(n,"AppAction","getManyForEnvironment"),delete:jh(n,"AppAction","delete"),create:jh(n,"AppAction","create"),update:jh(n,"AppAction","update")},appActionCall:{create:jh(n,"AppActionCall","create"),getCallDetails:jh(n,"AppActionCall","getCallDetails"),createWithResponse:jh(n,"AppActionCall","createWithResponse")},appBundle:{get:jh(n,"AppBundle","get"),getMany:jh(n,"AppBundle","getMany"),delete:jh(n,"AppBundle","delete"),create:jh(n,"AppBundle","create")},appDetails:{upsert:jh(n,"AppDetails","upsert"),get:jh(n,"AppDetails","get"),delete:jh(n,"AppDetails","delete")},appEventSubscription:{upsert:jh(n,"AppEventSubscription","upsert"),get:jh(n,"AppEventSubscription","get"),delete:jh(n,"AppEventSubscription","delete")},appKey:{create:jh(n,"AppKey","create"),get:jh(n,"AppKey","get"),getMany:jh(n,"AppKey","getMany"),delete:jh(n,"AppKey","delete")},appSignedRequest:{create:jh(n,"AppSignedRequest","create")},appSigningSecret:{upsert:jh(n,"AppSigningSecret","upsert"),get:jh(n,"AppSigningSecret","get"),delete:jh(n,"AppSigningSecret","delete")},appAccessToken:{create:jh(n,"AppAccessToken","create")},concept:{create:jh(n,"Concept","create"),createWithId:jh(n,"Concept","createWithId"),get:jh(n,"Concept","get"),delete:jh(n,"Concept","delete"),patch:jh(n,"Concept","patch"),update:jh(n,"Concept","update"),updatePut:jh(n,"Concept","updatePut"),getMany:jh(n,"Concept","getMany"),getDescendants:jh(n,"Concept","getDescendants"),getAncestors:jh(n,"Concept","getAncestors"),getTotal:jh(n,"Concept","getTotal")},conceptScheme:{get:jh(n,"ConceptScheme","get"),getMany:jh(n,"ConceptScheme","getMany"),getTotal:jh(n,"ConceptScheme","getTotal"),delete:jh(n,"ConceptScheme","delete"),create:jh(n,"ConceptScheme","create"),createWithId:jh(n,"ConceptScheme","createWithId"),patch:jh(n,"ConceptScheme","patch"),update:jh(n,"ConceptScheme","update"),updatePut:jh(n,"ConceptScheme","updatePut")},function:{get:jh(n,"Function","get"),getMany:jh(n,"Function","getMany"),getManyForEnvironment:jh(n,"Function","getManyForEnvironment")},functionLog:{get:jh(n,"FunctionLog","get"),getMany:jh(n,"FunctionLog","getMany")},editorInterface:{get:jh(n,"EditorInterface","get"),getMany:jh(n,"EditorInterface","getMany"),update:jh(n,"EditorInterface","update")},space:{get:jh(n,"Space","get"),getMany:jh(n,"Space","getMany"),getManyForOrganization:jh(n,"Space","getManyForOrganization"),update:jh(n,"Space","update"),delete:jh(n,"Space","delete"),create:jh(n,"Space","create")},environment:{get:jh(n,"Environment","get"),getMany:jh(n,"Environment","getMany"),create:jh(n,"Environment","create"),createWithId:jh(n,"Environment","createWithId"),update:jh(n,"Environment","update"),delete:jh(n,"Environment","delete")},environmentAlias:{get:jh(n,"EnvironmentAlias","get"),getMany:jh(n,"EnvironmentAlias","getMany"),createWithId:jh(n,"EnvironmentAlias","createWithId"),update:jh(n,"EnvironmentAlias","update"),delete:jh(n,"EnvironmentAlias","delete")},environmentTemplate:{get:jh(n,"EnvironmentTemplate","get"),getMany:jh(n,"EnvironmentTemplate","getMany"),create:jh(n,"EnvironmentTemplate","create"),versionUpdate:jh(n,"EnvironmentTemplate","versionUpdate"),update:jh(n,"EnvironmentTemplate","update"),install:jh(n,"EnvironmentTemplate","install"),versions:jh(n,"EnvironmentTemplate","versions"),validate:jh(n,"EnvironmentTemplate","validate"),disconnect:jh(n,"EnvironmentTemplate","disconnect"),delete:jh(n,"EnvironmentTemplate","delete")},environmentTemplateInstallation:{getMany:jh(n,"EnvironmentTemplateInstallation","getMany"),getForEnvironment:jh(n,"EnvironmentTemplateInstallation","getForEnvironment")},bulkAction:{get:jh(n,"BulkAction","get"),publish:jh(n,"BulkAction","publish"),unpublish:jh(n,"BulkAction","unpublish"),validate:jh(n,"BulkAction","validate")},comment:{get:jh(n,"Comment","get"),getMany:jh(n,"Comment","getMany"),create:jh(n,"Comment","create"),update:jh(n,"Comment","update"),delete:jh(n,"Comment","delete")},contentType:{get:jh(n,"ContentType","get"),getMany:jh(n,"ContentType","getMany"),update:jh(n,"ContentType","update"),delete:jh(n,"ContentType","delete"),publish:jh(n,"ContentType","publish"),unpublish:jh(n,"ContentType","unpublish"),create:jh(n,"ContentType","create"),createWithId:jh(n,"ContentType","createWithId"),omitAndDeleteField:(n,a,i)=>ov(e,Ph(Ph({},Ph(Ph({},t),n)),{},{fieldId:i}),a)},user:{getManyForSpace:jh(n,"User","getManyForSpace"),getForSpace:jh(n,"User","getForSpace"),getCurrent:jh(n,"User","getCurrent"),getForOrganization:jh(n,"User","getForOrganization"),getManyForOrganization:jh(n,"User","getManyForOrganization")},task:{get:jh(n,"Task","get"),getMany:jh(n,"Task","getMany"),create:jh(n,"Task","create"),update:jh(n,"Task","update"),delete:jh(n,"Task","delete")},entry:{getPublished:jh(n,"Entry","getPublished"),getMany:jh(n,"Entry","getMany"),get:jh(n,"Entry","get"),update:jh(n,"Entry","update"),patch:jh(n,"Entry","patch"),delete:jh(n,"Entry","delete"),publish:jh(n,"Entry","publish"),unpublish:jh(n,"Entry","unpublish"),archive:jh(n,"Entry","archive"),unarchive:jh(n,"Entry","unarchive"),create:jh(n,"Entry","create"),createWithId:jh(n,"Entry","createWithId"),references:jh(n,"Entry","references")},asset:{getPublished:jh(n,"Asset","getPublished"),getMany:jh(n,"Asset","getMany"),get:jh(n,"Asset","get"),update:jh(n,"Asset","update"),delete:jh(n,"Asset","delete"),publish:jh(n,"Asset","publish"),unpublish:jh(n,"Asset","unpublish"),archive:jh(n,"Asset","archive"),unarchive:jh(n,"Asset","unarchive"),create:jh(n,"Asset","create"),createWithId:jh(n,"Asset","createWithId"),createFromFiles:jh(n,"Asset","createFromFiles"),processForAllLocales:(n,a,i)=>e({entityType:"Asset",action:"processForAllLocales",params:Ph(Ph({},Ph(Ph({},t),n)),{},{options:i,asset:a})}),processForLocale:(n,a,i,o)=>e({entityType:"Asset",action:"processForLocale",params:Ph(Ph({},Ph(Ph({},t),n)),{},{locale:i,asset:a,options:o})})},appUpload:{get:jh(n,"AppUpload","get"),delete:jh(n,"AppUpload","delete"),create:jh(n,"AppUpload","create")},assetKey:{create:jh(n,"AssetKey","create")},upload:{get:jh(n,"Upload","get"),create:jh(n,"Upload","create"),delete:jh(n,"Upload","delete")},uploadCredential:{create:jh(n,"UploadCredential","create")},locale:{get:jh(n,"Locale","get"),getMany:jh(n,"Locale","getMany"),delete:jh(n,"Locale","delete"),update:jh(n,"Locale","update"),create:jh(n,"Locale","create")},personalAccessToken:{get:jh(n,"PersonalAccessToken","get"),getMany:jh(n,"PersonalAccessToken","getMany"),create:(t,n)=>e({entityType:"PersonalAccessToken",action:"create",params:{},headers:n,payload:t}),revoke:jh(n,"PersonalAccessToken","revoke")},accessToken:{get:jh(n,"AccessToken","get"),getMany:jh(n,"AccessToken","getMany"),createPersonalAccessToken:(t,n)=>e({entityType:"AccessToken",action:"createPersonalAccessToken",params:{},headers:n,payload:t}),revoke:jh(n,"AccessToken","revoke"),getManyForOrganization:jh(n,"AccessToken","getManyForOrganization")},usage:{getManyForSpace:jh(n,"Usage","getManyForSpace"),getManyForOrganization:jh(n,"Usage","getManyForOrganization")},release:{archive:jh(n,"Release","archive"),get:jh(n,"Release","get"),query:jh(n,"Release","query"),create:jh(n,"Release","create"),update:jh(n,"Release","update"),delete:jh(n,"Release","delete"),publish:jh(n,"Release","publish"),unarchive:jh(n,"Release","unarchive"),unpublish:jh(n,"Release","unpublish"),validate:jh(n,"Release","validate")},releaseAction:{get:jh(n,"ReleaseAction","get"),getMany:jh(n,"ReleaseAction","getMany"),queryForRelease:jh(n,"ReleaseAction","queryForRelease")},role:{get:jh(n,"Role","get"),getMany:jh(n,"Role","getMany"),getManyForOrganization:jh(n,"Role","getManyForOrganization"),create:jh(n,"Role","create"),createWithId:jh(n,"Role","createWithId"),update:jh(n,"Role","update"),delete:jh(n,"Role","delete")},scheduledActions:{get:jh(n,"ScheduledAction","get"),getMany:jh(n,"ScheduledAction","getMany"),create:jh(n,"ScheduledAction","create"),delete:jh(n,"ScheduledAction","delete"),update:jh(n,"ScheduledAction","update")},previewApiKey:{get:jh(n,"PreviewApiKey","get"),getMany:jh(n,"PreviewApiKey","getMany")},apiKey:{get:jh(n,"ApiKey","get"),getMany:jh(n,"ApiKey","getMany"),create:jh(n,"ApiKey","create"),createWithId:jh(n,"ApiKey","createWithId"),update:jh(n,"ApiKey","update"),delete:jh(n,"ApiKey","delete")},appDefinition:{get:jh(n,"AppDefinition","get"),getMany:jh(n,"AppDefinition","getMany"),create:jh(n,"AppDefinition","create"),update:jh(n,"AppDefinition","update"),delete:jh(n,"AppDefinition","delete"),getInstallationsForOrg:jh(n,"AppDefinition","getInstallationsForOrg")},appInstallation:{get:jh(n,"AppInstallation","get"),getMany:jh(n,"AppInstallation","getMany"),getForOrganization:jh(n,"AppInstallation","getForOrganization"),upsert:jh(n,"AppInstallation","upsert"),delete:jh(n,"AppInstallation","delete")},resource:{getMany:jh(n,"Resource","getMany")},resourceProvider:{get:jh(n,"ResourceProvider","get"),upsert:jh(n,"ResourceProvider","upsert"),delete:jh(n,"ResourceProvider","delete")},resourceType:{get:jh(n,"ResourceType","get"),getMany:jh(n,"ResourceType","getMany"),upsert:jh(n,"ResourceType","upsert"),delete:jh(n,"ResourceType","delete"),getForEnvironment:jh(n,"ResourceType","getForEnvironment")},extension:{get:jh(n,"Extension","get"),getMany:jh(n,"Extension","getMany"),create:jh(n,"Extension","create"),createWithId:jh(n,"Extension","createWithId"),update:jh(n,"Extension","update"),delete:jh(n,"Extension","delete")},webhook:{get:jh(n,"Webhook","get"),getMany:jh(n,"Webhook","getMany"),getHealthStatus:jh(n,"Webhook","getHealthStatus"),getCallDetails:jh(n,"Webhook","getCallDetails"),getSigningSecret:jh(n,"Webhook","getSigningSecret"),getRetryPolicy:jh(n,"Webhook","getRetryPolicy"),getManyCallDetails:jh(n,"Webhook","getManyCallDetails"),create:jh(n,"Webhook","create"),update:jh(n,"Webhook","update"),upsertSigningSecret:jh(n,"Webhook","upsertSigningSecret"),upsertRetryPolicy:jh(n,"Webhook","upsertRetryPolicy"),delete:jh(n,"Webhook","delete"),deleteSigningSecret:jh(n,"Webhook","deleteSigningSecret"),deleteRetryPolicy:jh(n,"Webhook","deleteRetryPolicy")},snapshot:{getManyForEntry:jh(n,"Snapshot","getManyForEntry"),getForEntry:jh(n,"Snapshot","getForEntry"),getManyForContentType:jh(n,"Snapshot","getManyForContentType"),getForContentType:jh(n,"Snapshot","getForContentType")},tag:{get:jh(n,"Tag","get"),getMany:jh(n,"Tag","getMany"),createWithId:jh(n,"Tag","createWithId"),update:jh(n,"Tag","update"),delete:jh(n,"Tag","delete")},organization:{getAll:jh(n,"Organization","getMany"),get:jh(n,"Organization","get")},organizationInvitation:{get:jh(n,"OrganizationInvitation","get"),create:jh(n,"OrganizationInvitation","create")},organizationMembership:{get:jh(n,"OrganizationMembership","get"),getMany:jh(n,"OrganizationMembership","getMany"),update:jh(n,"OrganizationMembership","update"),delete:jh(n,"OrganizationMembership","delete")},oauthApplication:{get:jh(n,"OAuthApplication","get"),getManyForUser:jh(n,"OAuthApplication","getManyForUser"),update:jh(n,"OAuthApplication","update"),delete:jh(n,"OAuthApplication","delete"),create:jh(n,"OAuthApplication","create")},spaceMember:{get:jh(n,"SpaceMember","get"),getMany:jh(n,"SpaceMember","getMany")},spaceMembership:{get:jh(n,"SpaceMembership","get"),getMany:jh(n,"SpaceMembership","getMany"),getForOrganization:jh(n,"SpaceMembership","getForOrganization"),getManyForOrganization:jh(n,"SpaceMembership","getManyForOrganization"),create:jh(n,"SpaceMembership","create"),createWithId:jh(n,"SpaceMembership","createWithId"),update:jh(n,"SpaceMembership","update"),delete:jh(n,"SpaceMembership","delete")},team:{get:jh(n,"Team","get"),getMany:jh(n,"Team","getMany"),getManyForSpace:jh(n,"Team","getManyForSpace"),create:jh(n,"Team","create"),update:jh(n,"Team","update"),delete:jh(n,"Team","delete")},teamMembership:{get:jh(n,"TeamMembership","get"),getManyForOrganization:jh(n,"TeamMembership","getManyForOrganization"),getManyForTeam:jh(n,"TeamMembership","getManyForTeam"),create:jh(n,"TeamMembership","create"),update:jh(n,"TeamMembership","update"),delete:jh(n,"TeamMembership","delete")},teamSpaceMembership:{get:jh(n,"TeamSpaceMembership","get"),getMany:jh(n,"TeamSpaceMembership","getMany"),getForOrganization:jh(n,"TeamSpaceMembership","getForOrganization"),getManyForOrganization:jh(n,"TeamSpaceMembership","getManyForOrganization"),create:jh(n,"TeamSpaceMembership","create"),update:jh(n,"TeamSpaceMembership","update"),delete:jh(n,"TeamSpaceMembership","delete")},uiConfig:{get:jh(n,"UIConfig","get"),update:jh(n,"UIConfig","update")},userUIConfig:{get:jh(n,"UserUIConfig","get"),update:jh(n,"UserUIConfig","update")},workflowDefinition:{get:jh(n,"WorkflowDefinition","get"),getMany:jh(n,"WorkflowDefinition","getMany"),create:jh(n,"WorkflowDefinition","create"),update:jh(n,"WorkflowDefinition","update"),delete:jh(n,"WorkflowDefinition","delete")},workflow:{get:jh(n,"Workflow","get"),getMany:jh(n,"Workflow","getMany"),create:jh(n,"Workflow","create"),update:jh(n,"Workflow","update"),delete:jh(n,"Workflow","delete"),complete:jh(n,"Workflow","complete")},workflowsChangelog:{getMany:jh(n,"WorkflowsChangelog","getMany")}}};let Ah=function(e){return e.BUILTIN="builtin",e.EXTENSION="extension",e.SIDEBAR_BUILTIN="sidebar-builtin",e.APP="app",e.EDITOR_BUILTIN="editor-builtin",e}({});const Eh={widgetId:"publication-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Publish & Status",description:"Built-in - View entry status, publish, etc."},kh={widgetId:"releases-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Release",description:"Built-in - View release, add to it, etc."},Ch={widgetId:"content-preview-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Preview",description:"Built-in - Displays preview functionality."},_h={widgetId:"incoming-links-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Links",description:"Built-in - Shows where an entry is linked."},Dh={widgetId:"translation-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Translation",description:"Built-in - Manage which translations are visible."},Rh={widgetId:"versions-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Versions",description:"Built-in - View previously published versions. Available only for master environment."},zh={widgetId:"users-widget",widgetNamespace:Ah.SIDEBAR_BUILTIN,name:"Users",description:"Built-in - Displays users on the same entry."},Mh=[Eh,kh,Ch,_h,Dh,Rh,zh],$h=[Eh,kh,_h,Dh,zh],Fh="Editor",qh="References",Uh="reference-tree",Lh="Tags",Bh="tags-editor",Nh=[{widgetId:"default-editor",widgetNamespace:Ah.EDITOR_BUILTIN,name:Fh},{widgetId:Uh,widgetNamespace:Ah.EDITOR_BUILTIN,name:qh},{widgetId:Bh,widgetNamespace:Ah.EDITOR_BUILTIN,name:Lh}];function Wh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Kh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wh(Object(n),!0).forEach((function(t){Vh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vh(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hh=["Text","Symbol","Integer","Number","Boolean"],Xh={Symbol:{type:"Symbol"},Text:{type:"Text"},RichText:{type:"RichText"},Integer:{type:"Integer"},Number:{type:"Number"},Boolean:{type:"Boolean"},Date:{type:"Date"},Location:{type:"Location"},Object:{type:"Object"},File:{type:"File"},Entry:{type:"Link",linkType:"Entry"},Asset:{type:"Link",linkType:"Asset"},Resource:{type:"ResourceLink"},Symbols:{type:"Array",items:{type:"Symbol"}},Entries:{type:"Array",items:{type:"Link",linkType:"Entry"}},Assets:{type:"Array",items:{type:"Link",linkType:"Asset"}},Resources:{type:"Array",items:{type:"ResourceLink"}}},Gh=Object.keys(Xh),Jh={Text:{widgetId:"markdown"},Symbol:{widgetId:"singleLine"},Integer:{widgetId:"numberEditor"},Number:{widgetId:"numberEditor"},Boolean:{widgetId:"boolean"},Date:{widgetId:"datePicker"},Location:{widgetId:"locationEditor"},Object:{widgetId:"objectEditor"},RichText:{widgetId:"richTextEditor"},Entry:{widgetId:"entryLinkEditor"},Asset:{widgetId:"assetLinkEditor"},Symbols:{widgetId:"tagEditor"},Entries:{widgetId:"entryLinksEditor"},Assets:{widgetId:"assetLinksEditor"},File:{widgetId:"fileEditor"},Resource:{widgetId:"resourceLinkEditor"},Resources:{widgetId:"resourceLinksEditor"}},Qh={Boolean:{falseLabel:"No",helpText:null,trueLabel:"Yes"},Date:{helpText:null,ampm:"24",format:"timeZ"},Entry:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Asset:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0},Entries:{helpText:null,bulkEditing:!1,showCreateEntityAction:!0,showLinkEntityAction:!0},Assets:{helpText:null,showCreateEntityAction:!0,showLinkEntityAction:!0}},Yh={SidebarEntryConfiguration:Mh,SidebarAssetConfiguration:$h,EntryConfiguration:Nh,getDefaultControlOfField:function(e){const t=(n=e,Gh.find((e=>{const t=Xh[e],a={type:n.type,linkType:n.linkType,items:n.items};return a.items&&(a.items={type:a.items.type,linkType:a.items.linkType}),"Link"===t.type?t.linkType===a.linkType:"Array"===t.type&&t.items&&a.items?"Link"===t.items.type?t.items.linkType===a.items.linkType:t.items.type===a.items.type:t.type===a.type})));var n;if(!t)throw new Error("Invalid field type");return(e.validations||[]).find((e=>"in"in e))&&Hh.includes(t)?{widgetId:"dropdown",fieldId:e.id,widgetNamespace:"builtin"}:function(e,t){const n=Kh(Kh({},Jh[e]),{},{settings:{helpText:null},widgetNamespace:"builtin",fieldId:t});return e in Qh&&(n.settings=Kh(Kh({},n.settings),Qh[e])),n}(t,e.id)}};function Zh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function eg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zh(Object(n),!0).forEach((function(t){tg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ng=(e,t)=>({[Symbol.asyncIterator](){let n=Qt(t);const a=()=>e(Qt(n));let i=a();return{current:0,async next(){const{total:e=0,items:t=[],skip:o=0,limit:r=100}=await i;if(e===this.current)return{done:!0,value:null};const s=t[this.current++-o],c=this.current%r==0,p=this.current===e;return c&&!p&&(n=eg(eg({},n),{},{query:eg(eg({},n.query),{},{skip:o+r})}),i=a()),{done:!1,value:s}}}}});function ag(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ig(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ag(Object(n),!0).forEach((function(t){og(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ag(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function og(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function rg(e,t){const n=await e(ig({},t));if("total"in n){const{total:i,limit:o,items:r}=n;if(!(i>r.length))return r;const s=Math.ceil(i/o),c=(a=s,Array.from(Array(Math.abs(a-1)),((e,t)=>1+t))).map((n=>e(ig(ig({},t),{},{query:ig(ig({},t.query),{},{limit:o,skip:n*o})})).then((e=>e.items)))),p=await Promise.all(c);return[...r,...p.flat(1)]}var a;if("pages"in n){const{pages:a,items:i}=n;if(!a.next)return i;const o=function(e){const t=e.indexOf("?");if(t<0)return null;const n=e.slice(t+1);return new URLSearchParams(n).get("pageNext")}(a.next);if(!o)throw new Error('Missing "pageNext" query param from pages.next from response.');return[...i,...await rg(e,ig(ig({},t),{},{query:ig(ig({},t.query),{},{pageNext:o})}))]}throw new Error('Can not determine collection type of response, neither property "total" nor "pages" are present.')}function sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function cg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sg(Object(n),!0).forEach((function(t){pg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pg(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lg(e,t={}){const n=function(e,t,n,a){const i=[];t&&i.push(`app ${t}`),n&&i.push(`integration ${n}`),a&&i.push("feature "+a),i.push(`sdk ${e}`);let o=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(o=mn(),i.push("platform ReactNative")):void 0===Yt||Yt.browser?(o=mn(),i.push("platform browser")):(o=function(){const e=Yt.platform||"linux",t=Yt.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?`${n[e]||"Linux"}/${t}`:null}(),i.push(`platform node.js/${Yt.versions&&Yt.versions.node?`v${Yt.versions.node}`:Yt.version}`))}catch(e){o=null}return o&&i.push(`os ${o}`),`${i.filter((e=>""!==e)).join("; ")};`}(("plain"===t.type?"contentful-management-plain.js":"contentful-management.js")+"/11.48.0",e.application,e.integration,e.feature),a=function(e){return"apiAdapter"in e?e.apiAdapter:new ey(e)}(cg(cg({},e),{},{userAgent:n})),i=e=>a.makeRequest(cg(cg({},e),{},{userAgent:n}));return"plain"===t.type?Sh(i,t.defaults):function(e){const{wrapSpace:t,wrapSpaceCollection:n}=hh.space,{wrapUser:a}=hh.user,{wrapPersonalAccessToken:i,wrapPersonalAccessTokenCollection:o}=hh.personalAccessToken,{wrapAccessToken:r,wrapAccessTokenCollection:s}=hh.accessToken,{wrapOrganization:c,wrapOrganizationCollection:p}=hh.organization,{wrapUsageCollection:l}=hh.usage,{wrapAppDefinition:u}=hh.appDefinition,{wrapEnvironmentTemplate:d,wrapEnvironmentTemplateCollection:m}=hh.environmentTemplate,{wrapOAuthApplication:f,wrapOAuthApplicationCollection:y}=hh.oauthApplication;return{getEnvironmentTemplates:function(t,n={}){return e({entityType:"EnvironmentTemplate",action:"getMany",params:{organizationId:t,query:ln({query:n}).params}}).then((n=>m(e,n,t)))},getEnvironmentTemplate:function({organizationId:t,environmentTemplateId:n,version:a,query:i={}}){return e({entityType:"EnvironmentTemplate",action:"get",params:{organizationId:t,environmentTemplateId:n,version:a,query:ln({query:i}).params}}).then((n=>d(e,n,t)))},createEnvironmentTemplate:function(t,n){return e({entityType:"EnvironmentTemplate",action:"create",params:{organizationId:t},payload:n}).then((n=>d(e,n,t)))},getSpaces:function(t={}){return e({entityType:"Space",action:"getMany",params:{query:ln({query:t}).params}}).then((t=>n(e,t)))},getSpace:function(n){return e({entityType:"Space",action:"get",params:{spaceId:n}}).then((n=>t(e,n)))},createSpace:function(n,a){return e({entityType:"Space",action:"create",params:{organizationId:a},payload:n}).then((n=>t(e,n)))},getOrganization:function(t){return e({entityType:"Organization",action:"get",params:{organizationId:t}}).then((t=>c(e,t)))},getOrganizations:function(t={}){return e({entityType:"Organization",action:"getMany",params:{query:ln({query:t}).params}}).then((t=>p(e,t)))},getCurrentUser:function(t){return e({entityType:"User",action:"getCurrent",params:t}).then((t=>a(e,t)))},getOAuthApplication:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"get",params:t}).then((t=>f(e,t,n)))},getOAuthApplications:function(t){const{userId:n}=t;return e({entityType:"OAuthApplication",action:"getManyForUser",params:t}).then((t=>y(e,t,n)))},createOAuthApplication:function(t,n){const{userId:a}=t;return e({entityType:"OAuthApplication",action:"create",params:t,payload:n}).then((t=>f(e,t,a)))},getAppDefinition:function(t){return e({entityType:"AppDefinition",action:"get",params:t}).then((t=>u(e,t)))},createPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"create",params:{},payload:t}).then((t=>i(e,t)))},getPersonalAccessToken:function(t){return e({entityType:"PersonalAccessToken",action:"get",params:{tokenId:t}}).then((t=>i(e,t)))},getPersonalAccessTokens:function(){return e({entityType:"PersonalAccessToken",action:"getMany",params:{}}).then((t=>o(e,t)))},getAccessToken:function(t){return e({entityType:"AccessToken",action:"get",params:{tokenId:t}}).then((t=>r(e,t)))},getAccessTokens:function(){return e({entityType:"AccessToken",action:"getMany",params:{}}).then((t=>s(e,t)))},getOrganizationAccessTokens:function(t,n={}){return e({entityType:"AccessToken",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>s(e,t)))},getOrganizationUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForOrganization",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},getSpaceUsage:function(t,n={}){return e({entityType:"Usage",action:"getManyForSpace",params:{organizationId:t,query:n}}).then((t=>l(e,t)))},rawRequest:function(t){let{url:n}=t,a=function(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(-1!==t.indexOf(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,gh);return e({entityType:"Http",action:"request",params:{url:n,config:a}})}}}(i)}})(),module.exports=a})();
|