contentful-management 11.33.0 → 11.35.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 +929 -191
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +841 -147
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/index.js +4 -0
- package/dist/es-modules/adapters/REST/endpoints/resource-type.js +23 -0
- package/dist/es-modules/adapters/REST/endpoints/resource.js +5 -0
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/create-environment-api.js +78 -0
- package/dist/es-modules/entities/index.js +4 -0
- package/dist/es-modules/entities/resource-provider.js +41 -0
- package/dist/es-modules/entities/resource-type.js +93 -0
- package/dist/es-modules/entities/resource.js +7 -0
- package/dist/es-modules/plain/entities/resource-type.js +1 -0
- package/dist/es-modules/plain/entities/resource.js +1 -0
- package/dist/es-modules/plain/plain-client.js +10 -0
- package/dist/typings/adapters/REST/endpoints/index.d.ts +4 -0
- package/dist/typings/adapters/REST/endpoints/resource-type.d.ts +6 -0
- package/dist/typings/adapters/REST/endpoints/resource.d.ts +2 -0
- package/dist/typings/common-types.d.ts +49 -0
- package/dist/typings/constants/editor-interface-defaults/controls-defaults.d.ts +1 -1
- package/dist/typings/create-environment-api.d.ts +50 -0
- package/dist/typings/entities/index.d.ts +4 -0
- package/dist/typings/entities/resource-provider.d.ts +5 -1
- package/dist/typings/entities/resource-type.d.ts +52 -0
- package/dist/typings/entities/resource.d.ts +36 -0
- package/dist/typings/export-types.d.ts +2 -0
- package/dist/typings/plain/common-types.d.ts +5 -1
- package/dist/typings/plain/entities/resource-type.d.ts +14 -0
- package/dist/typings/plain/entities/resource.d.ts +38 -0
- package/package.json +1 -1
|
@@ -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,r){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,i){return 2==e.length?e(n,a(i)):e(n,t,a(i))}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?i(n):n.results[o]=t,r(e,n.results))}))}},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),r=n(9712);e.exports=function(e,t,n){for(var o=i(e);o.index<(o.keyedList||e).length;)a(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return r.bind(o,n)}},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),r=n(9712);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,o){var s=i(e,n);return a(e,t,s,(function n(i,r){i?o(i,r):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):o(null,s.results))})),r.bind(s,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},9343:(e,t,n)=>{"use strict";var a=n(8897),i=n(8179),r=i(a("String.prototype.indexOf"));e.exports=function(e,t){var n=a(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?i(n):n}},8179:(e,t,n)=>{"use strict";var a=n(4499),i=n(8897),r=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||a.call(o,r),c=i("%Object.getOwnPropertyDescriptor%",!0),p=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(p)try{p({},"a",{value:1})}catch(e){p=null}e.exports=function(e){var t=s(a,o,arguments);return c&&p&&c(t,"length").configurable&&p(t,"length",{value:1+l(0,e.length-(arguments.length-1))}),t};var u=function(){return s(a,r,arguments)};p?p(e.exports,"apply",{value:u}):e.exports.apply=u},5645:(e,t,n)=>{var a=n(9023),i=n(2203).Stream,r=n(4145);function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=o,a.inherits(o,i),o.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof r)){var t=r.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return i.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1020: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}},9780:(e,t,n)=>{"use strict";var a=n(8889),i=n(7735),r=n(1020);e.exports={formats:r,parse:i,stringify:a}},7735:(e,t,n)=>{"use strict";var a=n(4285),i=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:a.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,n,a){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(r),p=s?r.slice(0,s.index):r,l=[];if(p){if(!n.plainObjects&&i.call(Object.prototype,p)&&!n.allowPrototypes)return;l.push(p)}for(var u=0;n.depth>0&&null!==(s=o.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+r.slice(s.index)+"]"),function(e,t,n,a){for(var i=a?t:c(t,n),r=e.length-1;r>=0;--r){var o,s=e[r];if("[]"===s&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(p,10);n.parseArrays||""!==p?!isNaN(l)&&s!==p&&String(l)===p&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(o=[])[l]=i:"__proto__"!==p&&(o[p]=i):o={0:i}}i=o}return i}(l,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return o;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");var t=void 0===e.charset?o.charset:e.charset;return{allowDots:void 0===e.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,p={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,u),m=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?f="utf-8":"utf8=%26%2310003%3B"===d[n]&&(f="iso-8859-1"),m=n,n=d.length);for(n=0;n<d.length;++n)if(n!==m){var y,v,b=d[n],h=b.indexOf("]="),g=-1===h?b.indexOf("="):h+1;-1===g?(y=t.decoder(b,o.decoder,f,"key"),v=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,g),o.decoder,f,"key"),v=a.maybeMap(c(b.slice(g+1),t),(function(e){return t.decoder(e,o.decoder,f,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===f&&(v=s(v)),b.indexOf("[]=")>-1&&(v=r(v)?[v]:v),i.call(p,y)?p[y]=a.combine(p[y],v):p[y]=v}return p}(e,n):e,u=n.plainObjects?Object.create(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)}},8889:(e,t,n)=>{"use strict";var a=n(588),i=n(4285),r=n(1020),o=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=r.default,m={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:r.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,r,o,s,p,u,d,y,v,b,h,g,x,w,O){for(var j,I=t,P=O,T=0,S=!1;void 0!==(P=P.get(f))&&!S;){var k=P.get(t);if(T+=1,void 0!==k){if(k===T)throw new RangeError("Cyclic object value");S=!0}void 0===P.get(f)&&(T=0)}if("function"==typeof d?I=d(n,I):I instanceof Date?I=b(I):"comma"===r&&c(I)&&(I=i.maybeMap(I,(function(e){return e instanceof Date?b(e):e}))),null===I){if(s)return u&&!x?u(n,m.encoder,w,"key",h):n;I=""}if("string"==typeof(j=I)||"number"==typeof j||"boolean"==typeof j||"symbol"==typeof j||"bigint"==typeof j||i.isBuffer(I))return u?[g(x?n:u(n,m.encoder,w,"key",h))+"="+g(u(I,m.encoder,w,"value",h))]:[g(n)+"="+g(String(I))];var E,A=[];if(void 0===I)return A;if("comma"===r&&c(I))x&&u&&(I=i.maybeMap(I,u)),E=[{value:I.length>0?I.join(",")||null:void 0}];else if(c(d))E=d;else{var C=Object.keys(I);E=y?C.sort(y):C}for(var _=o&&c(I)&&1===I.length?n+"[]":n,D=0;D<E.length;++D){var R=E[D],z="object"==typeof R&&void 0!==R.value?R.value:I[R];if(!p||null!==z){var M=c(I)?"function"==typeof r?r(_,R):_:_+(v?"."+R:"["+R+"]");O.set(t,T);var $=a();$.set(f,O),l(A,e(z,M,r,o,s,p,"comma"===r&&x&&c(I)?null:u,d,y,v,b,h,g,x,w,$))}}return A};e.exports=function(e,t){var n,i=e,p=function(e){if(!e)return m;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=r.default;if(void 0!==e.format){if(!o.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=r.formatters[n],i=m.filter;return("function"==typeof e.filter||c(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:void 0===e.allowDots?m.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:i,format:n,formatter:a,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,d=[];if("object"!=typeof i||null===i)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=s[u];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===f&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),p.sort&&n.sort(p.sort);for(var b=a(),h=0;h<n.length;++h){var g=n[h];p.skipNulls&&null===i[g]||l(d,y(i[g],g,f,v,p.strictNullHandling,p.skipNulls,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,b))}var x=d.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:""}},4285:(e,t,n)=>{"use strict";var a=n(1020),i=Object.prototype.hasOwnProperty,r=Array.isArray,o=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?Object.create(null):{},a=0;a<e.length;++a)void 0!==e[a]&&(n[a]=e[a]);return n};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],o=i.obj[i.prop],s=Object.keys(o),c=0;c<s.length;++c){var p=s[c],l=o[p];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:o,prop:p}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(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,r){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 c="",p=0;p<s.length;++p){var l=s.charCodeAt(p);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===a.RFC1738&&(40===l||41===l)?c+=s.charAt(p):l<128?c+=o[l]:l<2048?c+=o[192|l>>6]+o[128|63&l]:l<55296||l>=57344?c+=o[224|l>>12]+o[128|l>>6&63]+o[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(p)),c+=o[240|l>>18]+o[128|l>>12&63]+o[128|l>>6&63]+o[128|63&l])}return c},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(r(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){if(r(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 o=t;return r(t)&&!r(n)&&(o=s(t,a)),r(t)&&r(n)?(n.forEach((function(n,r){if(i.call(t,r)){var o=t[r];o&&"object"==typeof o&&n&&"object"==typeof n?t[r]=e(o,n,a):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var o=n[r];return i.call(t,r)?t[r]=e(t[r],o,a):t[r]=o,t}),o)}}},3156:e=>{var t=1e3,n=60*t,a=60*n,i=24*a,r=7*i;function o(e,t,n,a){var i=t>=1.5*n;return Math.round(e/n)+" "+a+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?o(c,p,i,"day"):p>=a?o(c,p,a,"hour"):p>=n?o(c,p,n,"minute"):p>=t?o(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=i?Math.round(e/i)+"d":r>=a?Math.round(e/a)+"h":r>=n?Math.round(e/n)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7989:(e,t,n)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":a(console))&&console.log&&(e=console).log.apply(e,arguments)},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){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var a=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(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(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.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"],e.exports=n(1236)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,n)=>{"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return a.colors[Math.abs(t)%a.colors.length]}function a(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var r=o,s=Number(new Date),c=s-(n||s);r.diff=c,r.prev=n,r.curr=s,n=s,t[0]=a.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var p=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;p++;var i=a.formatters[n];if("function"==typeof i){var o=t[p];e=i.call(r,o),t.splice(p,1),p--}return e})),a.formatArgs.call(r,t),(r.log||a.log).apply(r,t)}}return o.namespace=e,o.enabled=a.enabled(e),o.useColors=a.useColors(),o.color=t(e),o.destroy=i,o.extend=r,"function"==typeof a.init&&a.init(o),a.instances.push(o),o}function i(){var e=a.instances.indexOf(this);return-1!==e&&(a.instances.splice(e,1),!0)}function r(e,t){return a(this.namespace+(void 0===t?":":t)+e)}return a.debug=a,a.default=a,a.coerce=function(e){return e instanceof Error?e.stack||e.message:e},a.disable=function(){a.enable("")},a.enable=function(e){var t;a.save(e),a.names=[],a.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+e.substr(1)+"$")):a.names.push(new RegExp("^"+e+"$")));for(t=0;t<a.instances.length;t++){var r=a.instances[t];r.enabled=a.enabled(r.namespace)}},a.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=a.skips.length;t<n;t++)if(a.skips[t].test(e))return!1;for(t=0,n=a.names.length;t<n;t++)if(a.names[t].test(e))return!0;return!1},a.humanize=n(3156),Object.keys(e).forEach((function(t){a[t]=e[t]})),a.instances=[],a.names=[],a.skips=[],a.formatters={},a.selectColor=t,a.enable(a.load()),a}},9221:(e,t,n)=>{"use strict";"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7989):e.exports=n(6221)},6221:(e,t,n)=>{"use strict";var a=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),a=0;a<n.length;a++)e.inspectOpts[n[a]]=t.inspectOpts[n[a]]},t.log=function(){return process.stderr.write(i.format.apply(i,arguments)+"\n")},t.formatArgs=function(n){var a=this.namespace;if(this.useColors){var i=this.color,r="[3"+(i<8?i:"8;5;"+i),o=" ".concat(r,";1m").concat(a," [0m");n[0]=o+n[0].split("\n").join("\n"+o),n.push(r+"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.colors=[6,2,3,4,5,1];try{var r=n(459);r&&(r.stderr||r).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((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),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);var o=e.exports.formatters;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return 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 r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,i.inherits(r,a),r.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=a.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},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=n(7016),i=a.URL,r=n(8611),o=n(5692),s=n(2203).Writable,c=n(2613),p=n(1615),l=!1;try{c(new i)}catch(e){l="ERR_INVALID_URL"===e.code}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],m=Object.create(null);d.forEach((function(e){m[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var f=S("ERR_INVALID_URL","Invalid URL",TypeError),y=S("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),v=S("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",y),b=S("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=S("ERR_STREAM_WRITE_AFTER_END","write after end"),g=s.prototype.destroy||O;function x(e,t){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof y?e:new y({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var r=a+":",o=n[r]=e[a],s=t[a]=Object.create(o);Object.defineProperties(s,{request:{value:function(e,a,o){return i&&e instanceof i?e=P(e):E(e)?e=P(j(e)):(o=a,a=I(e),e={protocol:r}),A(a)&&(o=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,E(a.host)||E(a.hostname)||(a.hostname="::1"),c.equal(a.protocol,r,"protocol mismatch"),p("options",a),new x(a,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=s.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function O(){}function j(e){var t;if(l)t=new i(e);else if(!E((t=I(a.parse(e))).protocol))throw new f({input:e});return t}function I(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new f({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new f({input:e.href||e});return e}function P(e,t){var n=t||{};for(var a of u)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 T(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 S(e,t,n){function a(n){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 k(e,t){for(var n of d)e.removeListener(n,m[n]);e.on("error",O),e.destroy(t)}function E(e){return"string"==typeof e||e instanceof String}function A(e){return"function"==typeof e}x.prototype=Object.create(s.prototype),x.prototype.abort=function(){k(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},x.prototype.destroy=function(e){return k(this._currentRequest,e),g.call(this,e),this},x.prototype.write=function(e,t,n){if(this._ending)throw new h;if(!(E(e)||"object"==typeof(a=e)&&"length"in a))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;A(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new b),this.abort()):n&&n()},x.prototype.end=function(e,t,n){if(A(e)?(n=e,e=t=null):A(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)},x.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,t){var n=this;function a(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),a(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",a),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){x.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})})),x.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))}},x.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var r of(i._redirectable=this,d))i.on(r,m[r]);if(this._currentUrl=/^\//.test(this._options.path)?a.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(o<c.length){var n=c[o++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},x.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,r=e.headers.location;if(!r||!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(k(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new v;var o=this._options.beforeRedirect;o&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],T(/^content-/i,this._options.headers));var u,d,m=T(/^host$/i,this._options.headers),f=j(this._currentUrl),y=m||f.host,b=/^\w+:/.test(r)?this._currentUrl:a.format(Object.assign(f,{host:y})),h=(u=r,d=b,l?new i(u,d):j(a.resolve(d,u)));if(p("redirecting to",h.href),this._isRedirect=!0,P(h,this._options),(h.protocol!==f.protocol&&"https:"!==h.protocol||h.host!==y&&!function(e,t){c(E(e)&&E(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(h.host,y))&&T(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),A(o)){var g={headers:e.headers,statusCode:t},x={url:b,method:s,headers:n};o(this._options,g,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:r,https:o}),e.exports.wrap=w},2925:(e,t,n)=>{var a=n(5645),i=n(9023),r=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(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 r=a.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(o),r(t),r(s),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),r=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&m(s,n.header),s)s.hasOwnProperty(c)&&null!=(a=s[c])&&(Array.isArray(a)||(a=[a]),a.length&&(o+=c+": "+a.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+o+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var n,a;return"string"==typeof t.filepath?n=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=r.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=r.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):o.request(a),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&n.setHeader("Content-Length",a),this.pipe(n),t){var i,r=function(e,a){return n.removeListener("error",r),n.removeListener("response",i),t.call(this,e,a)};i=r.bind(this,null),n.on("error",r),n.on("response",i)}}.bind(this)),n},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 r,o=function(e){for(var t=[],n=1,a=0;n<e.length;n+=1,a+=1)t[a]=e[n];return t}(arguments),s=n(0,i.length-o.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var t=i.apply(this,a(o,arguments));return Object(t)===t?t:this}return i.apply(e,a(o,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,r.prototype=new l,l.prototype=null}return r}},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=SyntaxError,r=Function,o=TypeError,s=function(e){try{return r('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var p=function(){throw new o},l=c?function(){try{return p}catch(e){try{return c(arguments,"callee").get}catch(e){return p}}}():p,u=n(4923)(),d=n(9372)(),m=Object.getPrototypeOf||(d?function(e){return e.__proto__}:null),f={},y="undefined"!=typeof Uint8Array&&m?m(Uint8Array):a,v={"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":u&&m?m([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%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%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u&&m?m(m([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u&&m?m((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u&&m?m((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u&&m?m(""[Symbol.iterator]()):a,"%Symbol%":u?Symbol:a,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":y,"%TypeError%":o,"%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%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet};if(m)try{null.error}catch(e){var b=m(m(e));v["%Error.prototype%"]=b}var h=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&m&&(n=m(i.prototype))}return v[t]=n,n},g={"%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"]},x=n(4499),w=n(8066),O=x.call(Function.call,Array.prototype.concat),j=x.call(Function.apply,Array.prototype.splice),I=x.call(Function.call,String.prototype.replace),P=x.call(Function.call,String.prototype.slice),T=x.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,k=/\\(\\)?/g,E=function(e,t){var n,a=e;if(w(g,a)&&(a="%"+(n=g[a])[0]+"%"),w(v,a)){var r=v[a];if(r===f&&(r=h(a)),void 0===r&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:r}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=P(e,0,1),n=P(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var a=[];return I(e,S,(function(e,t,n,i){a[a.length]=n?I(i,k,"$1"):t||e})),a}(e),a=n.length>0?n[0]:"",r=E("%"+a+"%",t),s=r.name,p=r.value,l=!1,u=r.alias;u&&(a=u[0],j(n,O([0,1],u)));for(var d=1,m=!0;d<n.length;d+=1){var f=n[d],y=P(f,0,1),b=P(f,-1);if(('"'===y||"'"===y||"`"===y||'"'===b||"'"===b||"`"===b)&&y!==b)throw new i("property names with quotes must have matching quotes");if("constructor"!==f&&m||(l=!0),w(v,s="%"+(a+="."+f)+"%"))p=v[s];else if(null!=p){if(!(f in p)){if(!t)throw new o("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&d+1>=n.length){var h=c(p,f);p=(m=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:p[f]}else m=w(p,f),p=p[f];m&&!l&&(v[s]=p)}}return p}},5704:e=>{"use strict";e.exports=(e,t)=>{t=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)}},9372:e=>{"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},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(t 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 a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},8066:(e,t,n)=>{"use strict";var a=n(4499);e.exports=a.call(Function.call,Object.prototype.hasOwnProperty)},7501:e=>{var t,n,a=Function.prototype,i=Object.prototype,r=a.toString,o=i.hasOwnProperty,s=r.call(Object),c=i.toString,p=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=p(e);if(null===t)return!0;var n=o.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&r.call(n)==s}},567:e=>{var t=Object.prototype.toString,n=Array.isArray;e.exports=function(e){return"string"==typeof e||!n(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==t.call(e)}},9370:(e,t,n)=>{e.exports=n(8761)},9613:(e,t,n)=>{"use strict";var a,i,r,o=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&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];return!(!a||!a.length)&&a[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),a=t.extensions,i=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var p=r.indexOf(o[i[c]].source),l=r.indexOf(t.source);if("application/octet-stream"!==i[c]&&(p>l||p===l&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},8527:(e,t,n)=>{var a="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=a&&i&&"function"==typeof i.get?i.get:null,o=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,k=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="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),r=h.call(t,i.length+1);return g.call(i,n,"$&_")+"."+g.call(g.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var z=n(6761),M=z.custom,$=B(M)?M:null;function F(e,t,n){var a="double"===(n.quoteStyle||t)?'"':"'";return a+e+a}function q(e){return g.call(String(e),/"/g,""")}function L(e){return!("[object Array]"!==K(e)||C&&"object"==typeof e&&C in e)}function U(e){return!("[object RegExp]"!==K(e)||C&&"object"==typeof e&&C in e)}function B(e){if(A)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(W(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(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=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(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(W(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 H(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 L(t)?"[Array]":"[Object]";var k,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(V(i,t)>=0)return"[Circular]";function N(t,n,r){if(n&&(i=P.call(i)).push(n),r){var o={depth:s.depth};return W(s,"quoteStyle")&&(o.quoteStyle=s.quoteStyle),e(t,o,a+1,i)}return e(t,s,a+1,i)}if("function"==typeof t&&!U(t)){var X=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=Z(t,N);return"[Function"+(X?": "+X:" (anonymous)")+"]"+(ee.length>0?" { "+I.call(ee,", ")+" }":"")}if(B(t)){var te=A?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||A?te:G(te)}if((k=t)&&"object"==typeof k&&("undefined"!=typeof HTMLElement&&k instanceof HTMLElement||"string"==typeof k.nodeName&&"function"==typeof k.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)ne+=" "+ae[ie].name+"="+F(q(ae[ie].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+w.call(String(t.nodeName))+">"}if(L(t)){if(0===t.length)return"[]";var re=Z(t,N);return M&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(re)?"["+Y(re,M)+"]":"[ "+I.call(re,", ")+" ]"}if(function(e){return!("[object Error]"!==K(e)||C&&"object"==typeof e&&C in e)}(t)){var oe=Z(t,N);return"cause"in Error.prototype||!("cause"in t)||_.call(t,"cause")?0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+I.call(oe,", ")+" }":"{ ["+String(t)+"] "+I.call(j.call("[cause]: "+N(t.cause),oe),", ")+" }"}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(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return o&&o.call(t,(function(e,n){se.push(N(n,t,!0)+" => "+N(e,t))})),Q("Map",r.call(t),se,M)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return l&&l.call(t,(function(e){ce.push(N(e,t))})),Q("Set",p.call(t),ce,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 J("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 J("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==K(e)||C&&"object"==typeof e&&C in e)}(t))return G(N(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 G(N(S.call(t)));if(function(e){return!("[object Boolean]"!==K(e)||C&&"object"==typeof e&&C in e)}(t))return G(f.call(t));if(function(e){return!("[object String]"!==K(e)||C&&"object"==typeof e&&C in e)}(t))return G(N(String(t)));if(!function(e){return!("[object Date]"!==K(e)||C&&"object"==typeof e&&C in e)}(t)&&!U(t)){var pe=Z(t,N),le=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",de=!le&&C&&Object(t)===t&&C in t?h.call(K(t),8,-1):ue?"Object":"",me=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ue?"["+I.call(j.call([],de||[],ue||[]),": ")+"] ":"");return 0===pe.length?me+"{}":M?me+"{"+Y(pe,M)+"}":me+"{ "+I.call(pe,", ")+" }"}return String(t)};var N=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return N.call(e,t)}function K(e){return y.call(e)}function V(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 H(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,a="... "+n+" more character"+(n>1?"s":"");return H(h.call(e,0,t.maxStringLength),t)+a}return F(g.call(g.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,X),"single",t)}function X(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 G(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function Q(e,t,n,a){return e+" ("+t+") {"+(a?Y(n,a):I.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+I.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=L(e),a=[];if(n){a.length=e.length;for(var i=0;i<e.length;i++)a[i]=W(e,i)?t(e[i],e):""}var r,o="function"==typeof k?k(e):[];if(A){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var c in e)W(e,c)&&(n&&String(Number(c))===c&&c<e.length||A&&r["$"+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 k)for(var p=0;p<o.length;p++)_.call(e,o[p])&&a.push("["+t(o[p])+"]: "+t(e[o[p]],e));return a}},6761:(e,t,n)=>{e.exports=n(9023).inspect},1370:e=>{"use strict";class t extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}e.exports=({limit:e,interval:n,strict:a})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");const i=new Map;let r=0,o=0;const s=[],c=a?function(){const t=Date.now();if(s.length<e)return s.push(t),0;const a=s.shift()+n;return t>=a?(s.push(t),0):(s.push(a),a-t)}:function(){const t=Date.now();return t-r>n?(o=1,r=t,0):(o<e?o++:(r+=n,o=1),r-t)};return e=>{const n=function(...t){if(!n.isEnabled)return(async()=>e.apply(this,t))();let a;return new Promise(((n,r)=>{a=setTimeout((()=>{n(e.apply(this,t)),i.delete(a)}),c()),i.set(a,r)}))};return n.abort=()=>{for(const e of i.keys())clearTimeout(e),i.get(e)(new t);i.clear(),s.splice(0,s.length)},n.isEnabled=!0,n}},e.exports.AbortError=t},1420:(e,t,n)=>{"use strict";var a=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.T=function(e){var t="string"==typeof e?a(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var a=n.match(/^(.+):(\d+)$/),i=a?a[1]:n,o=a?parseInt(a[2]):0;return!(!o||o===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!r.call(e,i)):e!==i)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var p=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},588:(e,t,n)=>{"use strict";var a=n(8897),i=n(9343),r=n(8527),o=a("%TypeError%"),s=a("%WeakMap%",!0),c=a("%Map%",!0),p=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),u=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),m=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),y=function(e,t){for(var n,a=e;null!==(n=a.next);a=n)if(n.key===t)return a.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,a={assert:function(e){if(!a.has(e))throw new o("Side channel does not contain "+r(e))},get:function(a){if(s&&a&&("object"==typeof a||"function"==typeof a)){if(e)return p(e,a)}else if(c){if(t)return d(t,a)}else if(n)return function(e,t){var n=y(e,t);return n&&n.value}(n,a)},has:function(a){if(s&&a&&("object"==typeof a||"function"==typeof a)){if(e)return u(e,a)}else if(c){if(t)return f(t,a)}else if(n)return function(e,t){return!!y(e,t)}(n,a);return!1},set:function(a,i){s&&a&&("object"==typeof a||"function"==typeof a)?(e||(e=new s),l(e,a,i)):c?(t||(t=new c),m(t,a,i)):(n||(n={key:{},next:null}),function(e,t,n){var a=y(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(n,a,i))}};return a}},459:(e,t,n)=>{"use strict";const a=n(857),i=n(5704),r=process.env;let o;function s(e){const t=function(e){if(!1===o)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==o)return 0;const t=o?1:0;if("win32"===process.platform){const e=a.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&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"].some((e=>e in r))||"codeship"===r.CI_NAME?1:t;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:(r.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}i("no-color")||i("no-colors")||i("color=false")?o=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(o=!0),"FORCE_COLOR"in r&&(o=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},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 r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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:()=>Nf,ScheduledActionReferenceFilters:()=>sv,WorkflowStepPermissionAction:()=>$b,WorkflowStepPermissionEffect:()=>Fb,WorkflowStepPermissionType:()=>Mb,asIterator:()=>Ah,createClient:()=>Fh,editorInterfaceDefaults:()=>ct,fetchAll:()=>Rh,isDraft:()=>hy,isPublished:()=>vy,isUpdated:()=>by});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>ga,hasStandardBrowserEnv:()=>wa,hasStandardBrowserWebWorkerEnv:()=>Oa,navigator:()=>xa,origin:()=>ja});var t={};n.r(t),n.d(t,{create:()=>no,createWithId:()=>ao,del:()=>ro,get:()=>eo,getMany:()=>to,update:()=>io});var i={};n.r(i),n.d(i,{create:()=>go,del:()=>ho,get:()=>yo,getMany:()=>vo,getManyForEnvironment:()=>bo,update:()=>xo});var r={};n.r(r),n.d(r,{create:()=>ko,createWithResponse:()=>Ao,getCallDetails:()=>Eo});var o={};n.r(o),n.d(o,{create:()=>Mo,del:()=>zo,get:()=>Do,getMany:()=>Ro});var s={};n.r(s),n.d(s,{create:()=>Wo,del:()=>Vo,get:()=>Bo,getAppDefinitionUrl:()=>Uo,getInstallationsForOrg:()=>Ho,getMany:()=>No,update:()=>Ko});var c={};n.r(c),n.d(c,{del:()=>Jo,get:()=>Xo,upsert:()=>Go});var p={};n.r(p),n.d(p,{del:()=>rs,get:()=>ns,getAppInstallationUrl:()=>ts,getForOrganization:()=>os,getMany:()=>as,upsert:()=>is});var l={};n.r(l),n.d(l,{create:()=>ss});var u={};n.r(u),n.d(u,{del:()=>ls,get:()=>cs,upsert:()=>ps});var d={};n.r(d),n.d(d,{del:()=>ms,get:()=>us,upsert:()=>ds});var m={};n.r(m),n.d(m,{create:()=>vs,del:()=>bs,get:()=>fs,getMany:()=>ys});var f={};n.r(f),n.d(f,{create:()=>hs});var y={};n.r(y),n.d(y,{create:()=>Is,del:()=>js,get:()=>Os});var v={};n.r(v),n.d(v,{create:()=>Ss,del:()=>ks,get:()=>Es});var b={};n.r(b),n.d(b,{archive:()=>Ns,create:()=>Ks,createFromFiles:()=>Hs,createWithId:()=>Vs,del:()=>Ls,get:()=>Ms,getMany:()=>Fs,getPublished:()=>$s,processForAllLocales:()=>Js,processForLocale:()=>Gs,publish:()=>Us,unarchive:()=>Ws,unpublish:()=>Bs,update:()=>qs});var h={};n.r(h),n.d(h,{ValidationError:()=>Qs,create:()=>Ys});var g={};n.r(g),n.d(g,{get:()=>Zs,publish:()=>ec,unpublish:()=>tc,validate:()=>nc});var x={};n.r(x),n.d(x,{create:()=>yc,del:()=>bc,get:()=>mc,getAll:()=>hc,getMany:()=>fc,update:()=>vc});var w={};n.r(w),n.d(w,{create:()=>jc,del:()=>Tc,get:()=>Pc,getAncestors:()=>Ec,getDescendants:()=>kc,getMany:()=>Sc,getTotal:()=>Ac,update:()=>Ic});var O={};n.r(O),n.d(O,{create:()=>Lc,del:()=>$c,get:()=>Mc,getMany:()=>Fc,getTotal:()=>qc,update:()=>Uc});var j={};n.r(j),n.d(j,{create:()=>Gc,createWithId:()=>Jc,del:()=>Yc,get:()=>Hc,getMany:()=>Xc,publish:()=>Zc,unpublish:()=>ep,update:()=>Qc});var I={};n.r(I),n.d(I,{get:()=>rp,getMany:()=>op,update:()=>sp});var P={};n.r(P),n.d(P,{archive:()=>gp,create:()=>wp,createWithId:()=>Op,del:()=>vp,get:()=>up,getMany:()=>mp,getPublished:()=>dp,patch:()=>fp,publish:()=>bp,references:()=>jp,unarchive:()=>xp,unpublish:()=>hp,update:()=>yp});var T={};n.r(T),n.d(T,{create:()=>Cp,createWithId:()=>_p,del:()=>Ap,get:()=>Sp,getMany:()=>kp,update:()=>Ep});var S={};n.r(S),n.d(S,{createWithId:()=>Lp,del:()=>Bp,get:()=>Fp,getMany:()=>qp,update:()=>Up});var k={};n.r(k),n.d(k,{create:()=>Gp,del:()=>Yp,disconnect:()=>nl,get:()=>Hp,getMany:()=>Xp,install:()=>tl,update:()=>Jp,validate:()=>el,versionUpdate:()=>Qp,versions:()=>Zp});var E={};n.r(E),n.d(E,{getForEnvironment:()=>ll,getMany:()=>pl});var A={};n.r(A),n.d(A,{create:()=>hl,createWithId:()=>gl,del:()=>wl,get:()=>vl,getExtensionUrl:()=>yl,getMany:()=>bl,update:()=>xl});var C={};n.r(C),n.d(C,{del:()=>Tl,get:()=>Ol,patch:()=>Pl,post:()=>jl,put:()=>Il,request:()=>Sl});var _={};n.r(_),n.d(_,{create:()=>Dl,del:()=>zl,get:()=>Cl,getMany:()=>_l,update:()=>Rl});var D={};n.r(D),n.d(D,{get:()=>$l,getMany:()=>Ml});var R={};n.r(R),n.d(R,{create:()=>Nl,get:()=>Wl});var z={};n.r(z),n.d(z,{del:()=>Zl,get:()=>Jl,getMany:()=>Ql,update:()=>Yl});var M={};n.r(M),n.d(M,{create:()=>nu,get:()=>eu,getMany:()=>tu,revoke:()=>au});var $={};n.r($),n.d($,{createPersonalAccessToken:()=>ou,get:()=>iu,getMany:()=>ru,getManyForOrganization:()=>cu,revoke:()=>su});var F={};n.r(F),n.d(F,{get:()=>pu,getMany:()=>lu});var q={};n.r(q),n.d(q,{archive:()=>Ou,create:()=>vu,del:()=>hu,get:()=>fu,publish:()=>gu,query:()=>yu,unarchive:()=>ju,unpublish:()=>xu,update:()=>bu,validate:()=>wu});var L={};n.r(L),n.d(L,{get:()=>Su,getMany:()=>ku,queryForRelease:()=>Eu});var U={};n.r(U),n.d(U,{del:()=>Du,get:()=>Cu,upsert:()=>_u});var B={};n.r(B),n.d(B,{create:()=>Lu,createWithId:()=>Uu,del:()=>Nu,get:()=>$u,getMany:()=>Fu,getManyForOrganization:()=>qu,update:()=>Bu});var N={};n.r(N),n.d(N,{create:()=>Vu,del:()=>Hu,get:()=>Wu,getMany:()=>Ku,update:()=>Xu});var W={};n.r(W),n.d(W,{getForContentType:()=>ed,getForEntry:()=>Qu,getManyForContentType:()=>Zu,getManyForEntry:()=>Ju});var K={};n.r(K),n.d(K,{create:()=>sd,del:()=>pd,get:()=>id,getMany:()=>rd,getManyForOrganization:()=>od,update:()=>cd});var V={};n.r(V),n.d(V,{get:()=>ld,getMany:()=>ud});var H={};n.r(H),n.d(H,{create:()=>Od,createWithId:()=>jd,del:()=>Pd,get:()=>hd,getForOrganization:()=>xd,getMany:()=>gd,getManyForOrganization:()=>wd,update:()=>Id});var X={};n.r(X),n.d(X,{createWithId:()=>Rd,del:()=>Md,get:()=>_d,getMany:()=>Dd,update:()=>zd});var G={};n.r(G),n.d(G,{create:()=>Vd,del:()=>Xd,get:()=>Nd,getAll:()=>Kd,getMany:()=>Wd,update:()=>Hd});var J={};n.r(J),n.d(J,{create:()=>am,del:()=>rm,get:()=>em,getMany:()=>tm,getManyForSpace:()=>nm,update:()=>im});var Q={};n.r(Q),n.d(Q,{create:()=>fm,del:()=>vm,get:()=>um,getManyForOrganization:()=>dm,getManyForTeam:()=>mm,update:()=>ym});var Y={};n.r(Y),n.d(Y,{create:()=>Tm,del:()=>km,get:()=>Om,getForOrganization:()=>Im,getMany:()=>jm,getManyForOrganization:()=>Pm,update:()=>Sm});var Z={};n.r(Z),n.d(Z,{get:()=>Am,update:()=>Cm});var ee={};n.r(ee),n.d(ee,{getManyForOrganization:()=>Dm,getManyForSpace:()=>_m});var te={};n.r(te),n.d(te,{getCurrent:()=>zm,getForOrganization:()=>$m,getForSpace:()=>Rm,getManyForOrganization:()=>Fm,getManyForSpace:()=>Mm});var ne={};n.r(ne),n.d(ne,{get:()=>Lm,update:()=>Um});var ae={};n.r(ae),n.d(ae,{create:()=>rf,createWithId:()=>of,del:()=>lf,deleteRetryPolicy:()=>df,deleteSigningSecret:()=>uf,get:()=>Qm,getCallDetails:()=>Zm,getHealthStatus:()=>ef,getMany:()=>tf,getManyCallDetails:()=>Ym,getRetryPolicy:()=>af,getSigningSecret:()=>nf,update:()=>sf,upsertRetryPolicy:()=>pf,upsertSigningSecret:()=>cf});var ie={};n.r(ie),n.d(ie,{complete:()=>Pf,create:()=>Of,del:()=>If,getMany:()=>wf,update:()=>jf});var re={};n.r(re),n.d(re,{create:()=>Rf,del:()=>Mf,get:()=>_f,getMany:()=>Df,update:()=>zf});var oe={};n.r(oe),n.d(oe,{getMany:()=>$f});var se={};n.r(se),n.d(se,{wrapApiKey:()=>Kf,wrapApiKeyCollection:()=>Vf});var ce={};n.r(ce),n.d(ce,{wrapAppAction:()=>Hf,wrapAppActionCollection:()=>Xf});var pe={};n.r(pe),n.d(pe,{default:()=>Yf,wrapAppActionCall:()=>Zf,wrapAppActionCallResponse:()=>ey});var le={};n.r(le),n.d(le,{wrapAppBundle:()=>ty,wrapAppBundleCollection:()=>ny});var ue={};n.r(ue),n.d(ue,{wrapAppDefinition:()=>ay,wrapAppDefinitionCollection:()=>iy});var de={};n.r(de),n.d(de,{wrapAppDetails:()=>ry});var me={};n.r(me),n.d(me,{wrapAppInstallation:()=>oy,wrapAppInstallationCollection:()=>sy});var fe={};n.r(fe),n.d(fe,{wrapAppSignedRequest:()=>cy});var ye={};n.r(ye),n.d(ye,{wrapAppSigningSecret:()=>py});var ve={};n.r(ve),n.d(ve,{wrapAppEventSubscription:()=>ly});var be={};n.r(be),n.d(be,{wrapAppKey:()=>uy,wrapAppKeyCollection:()=>dy});var he={};n.r(he),n.d(he,{wrapAppAccessToken:()=>my});var ge={};n.r(ge),n.d(ge,{wrapAppUpload:()=>fy,wrapAppUploadCollection:()=>yy});var xe={};n.r(xe),n.d(xe,{wrapAsset:()=>jy,wrapAssetCollection:()=>Iy});var we={};n.r(we),n.d(we,{wrapAssetKey:()=>Py});var Oe={};n.r(Oe),n.d(Oe,{BulkActionStatus:()=>Dy,wrapBulkAction:()=>Ry});var je={};n.r(je),n.d(je,{CommentNode:()=>Fy,default:()=>qy,wrapComment:()=>Ly,wrapCommentCollection:()=>Uy});var Ie={};n.r(Ie),n.d(Ie,{wrapEditorInterface:()=>By,wrapEditorInterfaceCollection:()=>Ny});var Pe={};n.r(Pe),n.d(Pe,{wrapSnapshot:()=>Wy,wrapSnapshotCollection:()=>Ky});var Te={};n.r(Te),n.d(Te,{wrapContentType:()=>Yy,wrapContentTypeCollection:()=>Zy});var Se={};n.r(Se),n.d(Se,{wrapEntry:()=>av,wrapEntryCollection:()=>iv});var ke={};n.r(ke),n.d(ke,{wrapReleaseAction:()=>rv,wrapReleaseActionCollection:()=>ov});var Ee={};n.r(Ee),n.d(Ee,{ReleaseReferenceFilters:()=>cv,wrapRelease:()=>pv,wrapReleaseCollection:()=>lv});var Ae={};n.r(Ae),n.d(Ae,{default:()=>fv,wrapTag:()=>yv,wrapTagCollection:()=>vv});var Ce={};n.r(Ce),n.d(Ce,{wrapUIConfig:()=>bv});var _e={};n.r(_e),n.d(_e,{wrapUserUIConfig:()=>hv});var De={};n.r(De),n.d(De,{wrapEnvironmentTemplateInstallation:()=>gv,wrapEnvironmentTemplateInstallationCollection:()=>xv});var Re={};n.r(Re),n.d(Re,{wrapEnvironment:()=>Pv,wrapEnvironmentCollection:()=>Tv});var ze={};n.r(ze),n.d(ze,{wrapEnvironmentAlias:()=>Sv,wrapEnvironmentAliasCollection:()=>kv});var Me={};n.r(Me),n.d(Me,{wrapEnvironmentTemplate:()=>Dv,wrapEnvironmentTemplateCollection:()=>Rv});var $e={};n.r($e),n.d($e,{wrapExtension:()=>zv,wrapExtensionCollection:()=>Mv});var Fe={};n.r(Fe),n.d(Fe,{wrapLocale:()=>$v,wrapLocaleCollection:()=>Fv});var qe={};n.r(qe),n.d(qe,{wrapOrganization:()=>Bv,wrapOrganizationCollection:()=>Nv});var Le={};n.r(Le),n.d(Le,{wrapOrganizationInvitation:()=>Wv});var Ue={};n.r(Ue),n.d(Ue,{wrapOrganizationMembership:()=>Kv,wrapOrganizationMembershipCollection:()=>Vv});var Be={};n.r(Be),n.d(Be,{wrapPersonalAccessToken:()=>Hv,wrapPersonalAccessTokenCollection:()=>Xv});var Ne={};n.r(Ne),n.d(Ne,{wrapAccessToken:()=>Gv,wrapAccessTokenCollection:()=>Jv});var We={};n.r(We),n.d(We,{wrapPreviewApiKey:()=>Qv,wrapPreviewApiKeyCollection:()=>Yv});var Ke={};n.r(Ke),n.d(Ke,{wrapRole:()=>Zv,wrapRoleCollection:()=>eb});var Ve={};n.r(Ve),n.d(Ve,{default:()=>nb,wrapScheduledAction:()=>ab,wrapScheduledActionCollection:()=>ib});var He={};n.r(He),n.d(He,{wrapSpace:()=>rb,wrapSpaceCollection:()=>ob});var Xe={};n.r(Xe),n.d(Xe,{wrapSpaceMember:()=>sb,wrapSpaceMemberCollection:()=>cb});var Ge={};n.r(Ge),n.d(Ge,{wrapSpaceMembership:()=>pb,wrapSpaceMembershipCollection:()=>lb});var Je={};n.r(Je),n.d(Je,{default:()=>fb,wrapTask:()=>yb,wrapTaskCollection:()=>vb});var Qe={};n.r(Qe),n.d(Qe,{wrapTeam:()=>bb,wrapTeamCollection:()=>hb});var Ye={};n.r(Ye),n.d(Ye,{wrapTeamMembership:()=>gb,wrapTeamMembershipCollection:()=>xb});var Ze={};n.r(Ze),n.d(Ze,{wrapTeamSpaceMembership:()=>wb,wrapTeamSpaceMembershipCollection:()=>Ob});var et={};n.r(et),n.d(et,{wrapUpload:()=>jb});var tt={};n.r(tt),n.d(tt,{wrapUsage:()=>Ib,wrapUsageCollection:()=>Pb});var nt={};n.r(nt),n.d(nt,{wrapUser:()=>Tb,wrapUserCollection:()=>Sb});var at={};n.r(at),n.d(at,{wrapWebhook:()=>Cb,wrapWebhookCollection:()=>_b});var it={};n.r(it),n.d(it,{WorkflowStepActionType:()=>qb,WorkflowStepPermissionAction:()=>$b,WorkflowStepPermissionEffect:()=>Fb,WorkflowStepPermissionType:()=>Mb,default:()=>Lb,wrapWorkflowDefinition:()=>Ub,wrapWorkflowDefinitionCollection:()=>Bb});var rt={};n.r(rt);var ot={};n.r(ot);var st={};n.r(st),n.d(st,{wrapResourceProvider:()=>Kb});var ct={};n.r(ct),n.d(ct,{default:()=>Th});var pt=Function.prototype.toString,lt=Object.create,ut=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,mt=Object.getOwnPropertyNames,ft=Object.getOwnPropertySymbols,yt=Object.getPrototypeOf,vt=Object.prototype,bt=vt.hasOwnProperty,ht=vt.propertyIsEnumerable,gt="function"==typeof ft,xt="function"==typeof WeakMap,wt=function(){if(xt)return function(){return new WeakMap};var e=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}();return function(){return new e}}(),Ot=function(e,t){var n=e.__proto__||yt(e);if(!n)return lt(null);var a=n.constructor;if(a===t.Object)return n===t.Object.prototype?{}:lt(n);if(~pt.call(a).indexOf("[native code]"))try{return new a}catch(e){}return lt(n)},jt=function(e,t,n,a){var i=Ot(e,t);for(var r in a.set(e,i),e)bt.call(e,r)&&(i[r]=n(e[r],a));if(gt)for(var o=ft(e),s=0,c=o.length,p=void 0;s<c;++s)p=o[s],ht.call(e,p)&&(i[p]=n(e[p],a));return i},It=function(e,t,n,a){var i=Ot(e,t);a.set(e,i);for(var r=gt?mt(e).concat(ft(e)):mt(e),o=0,s=r.length,c=void 0,p=void 0;o<s;++o)if("callee"!==(c=r[o])&&"caller"!==c)if(p=dt(e,c)){p.get||p.set||(p.value=n(e[c],a));try{ut(i,c,p)}catch(e){i[c]=p.value}}else i[c]=n(e[c],a);return i},Pt=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},Tt=Array.isArray,St=Object.getPrototypeOf,kt=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function Et(e,t){var n=!(!t||!t.isStrict),a=t&&t.realm||kt,i=n?It:jt,r=function(e,t){if(!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);var o,s=e.__proto__||St(e),c=s&&s.constructor;if(!c||c===a.Object)return i(e,a,r,t);if(Tt(e)){if(n)return It(e,a,r,t);o=new c,t.set(e,o);for(var p=0,l=e.length;p<l;++p)o[p]=r(e[p],t);return o}if(e instanceof a.Date)return new c(e.getTime());if(e instanceof a.RegExp)return(o=new c(e.source,e.flags||Pt(e))).lastIndex=e.lastIndex,o;if(a.Map&&e instanceof a.Map)return o=new c,t.set(e,o),e.forEach((function(e,n){o.set(n,r(e,t))})),o;if(a.Set&&e instanceof a.Set)return o=new c,t.set(e,o),e.forEach((function(e){o.add(r(e,t))})),o;if(a.Blob&&e instanceof a.Blob)return e.slice(0,e.size,e.type);if(a.Buffer&&a.Buffer.isBuffer(e))return o=a.Buffer.allocUnsafe?a.Buffer.allocUnsafe(e.length):new c(e.length),t.set(e,o),e.copy(o),o;if(a.ArrayBuffer){if(a.ArrayBuffer.isView(e))return o=new c(e.buffer.slice(0)),t.set(e,o),o;if(e instanceof a.ArrayBuffer)return o=e.slice(0),t.set(e,o),o}return"function"==typeof e.then||e instanceof Error||a.WeakMap&&e instanceof a.WeakMap||a.WeakSet&&e instanceof a.WeakSet?e:i(e,a,r,t)};return r(e,wt())}Et.default=Et,Et.strict=function(e,t){return Et(e,{isStrict:!0,realm:t?t.realm:void 0})};var At=n(9780),Ct=n.n(At),_t=n(567),Dt=n.n(_t),Rt=n(1370),zt=n.n(Rt),Mt=n(7501),$t=n.n(Mt);function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function qt(e,t,n,a,i,r,o){try{var s=e[r](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(a,i)}function Lt(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 Ut(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 Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){Lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nt(){Nt=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,n){return e[t]=n}}function l(e,t,n,a){var r=t&&t.prototype instanceof b?t:b,o=Object.create(r.prototype),s=new A(a||[]);return i(o,"_invoke",{value:T(e,n,s)}),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var d="suspendedStart",m="suspendedYield",f="executing",y="completed",v={};function b(){}function h(){}function g(){}var x={};p(x,o,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(C([])));O&&O!==n&&a.call(O,o)&&(x=O);var j=g.prototype=b.prototype=Object.create(x);function I(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(i,r,o,s){var c=u(e[i],e,r);if("throw"!==c.type){var p=c.arg,l=p.value;return l&&"object"==typeof l&&a.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(l).then((function(e){p.value=e,o(p)}),(function(e){return n("throw",e,o,s)}))}s(c.arg)}var r;i(this,"_invoke",{value:function(e,a){function i(){return new t((function(t,i){n(e,a,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,n,a){var i=d;return function(r,o){if(i===f)throw Error("Generator is already running");if(i===y){if("throw"===r)throw o;return{value:e,done:!0}}for(a.method=r,a.arg=o;;){var s=a.delegate;if(s){var c=S(s,a);if(c){if(c===v)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===d)throw i=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=f;var p=u(t,n,a);if("normal"===p.type){if(i=a.done?y:m,p.arg===v)continue;return{value:p.arg,done:a.done}}"throw"===p.type&&(i=y,a.method="throw",a.arg=p.arg)}}}function S(t,n){var a=n.method,i=t.iterator[a];if(i===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),v;var r=u(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,v;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}throw new TypeError(typeof t+" is not iterable")}return h.prototype=g,i(j,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:h,configurable:!0}),h.displayName=p(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,p(e,c,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},I(P.prototype),p(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,a,i,r){void 0===r&&(r=Promise);var o=new P(l(e,n,a,i),r);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},I(j),p(j,c,"Generator"),p(j,o,(function(){return this})),p(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=C,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(a,i){return s.type="throw",s.arg=t,n.next=a,i&&(n.method="next",n.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),p=a.call(o,"finallyLoc");if(c&&p){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!p)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var i=a.arg;E(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:C(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),v}},t}function Wt(e,t){return Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wt(e,t)}function Kt(e){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kt(e)}function Vt(e,t){if(e){if("string"==typeof e)return Ft(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ft(e,t):void 0}}function Ht(){Ht=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,a,i){var r=RegExp(e,a);return t.set(r,i||t.get(e)),Wt(r,n.prototype)}function a(e,n){var a=t.get(n);return Object.keys(a).reduce((function(t,n){var i=a[n];if("number"==typeof i)t[n]=e[i];else{for(var r=0;void 0===e[i[r]]&&r+1<i.length;)r++;t[n]=e[i[r]]}return t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wt(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=a(n,this);var i=n.indices;i&&(i.groups=a(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var r=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){var n=r[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var o=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(a(e,o)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},Ht.apply(this,arguments)}function Xt(){}var Gt=function(e){return new Promise((function(t){setTimeout(t,e)}))},Jt=function(e){return Math.pow(Math.SQRT2,e)};var Qt=Ht(/(\d+)(%)/,{value:1});function Yt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,n=t;if(Qt.test(e)){var a,i=null===(a=e.match(Qt))||void 0===a?void 0:a.groups;if(i&&i.value){var r=parseInt(i.value)/100;n=Math.round(t*r)}}return Math.min(30,Math.max(1,n))}function Zt(e,t){return t("info","Throttle request to ".concat(e,"/s")),zt()({limit:e,interval:1e3,strict:!1})}var en=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function tn(e,t){var n=Bt(Bt({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){if("error"===e&&t){var n=[t.name,t.message].filter((function(e){return e})).join(" - ");return console.error("[error] ".concat(n)),void console.error(t)}console.log("[".concat(e,"] ").concat(t))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),t);if(!n.accessToken){var a=new TypeError("Expected parameter accessToken");throw n.logHandler("error",a),a}var i,r,o=n.insecure?"http":"https",s=n.space?"".concat(n.space,"/"):"",c=n.defaultHostname,p=n.insecure?80:443;if(n.host&&en.test(n.host)){var l=n.host.split(":");if(2===l.length){var u=(r=2,function(e){if(Array.isArray(e))return e}(i=l)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,s=[],c=!0,p=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(s.push(a.value),s.length!==t);c=!0);}catch(e){p=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(p)throw i}}return s}}(i,r)||Vt(i,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());c=u[0],p=u[1]}else c=l[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var d=t.baseURL||"".concat(o,"://").concat(c,":").concat(p).concat(n.basePath,"/spaces/").concat(s);n.headers.Authorization||"function"==typeof n.accessToken||(n.headers.Authorization="Bearer "+n.accessToken);var m={baseURL:d,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,paramsSerializer:{serialize:function(e){return Ct().stringify(e)}},logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},f=e.create(m);return f.httpClientParams=t,f.cloneWithNewParams=function(n){return tn(e,Bt(Bt({},Et(t)),n))},n.onBeforeRequest&&f.interceptors.request.use(n.onBeforeRequest),"function"==typeof n.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((function(t){return e.headers.set("Authorization","Bearer ".concat(t)),e}))}))}(f,n.accessToken),n.throttle&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=e.defaults.logHandler,a=void 0===n?Xt:n,i=Dt()(t)?Yt(t):Yt("auto",t),r=Zt(i,a),o=!1,s=e.interceptors.request.use((function(e){return r((function(){return e}))()}),(function(e){return Promise.reject(e)}));e.interceptors.response.use((function(n){if(!o&&Dt()(t)&&("auto"===t||Qt.test(t))&&n.headers&&n.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(n.headers["x-contentful-ratelimit-second-limit"]),p=Yt(t,c);p!==i&&(s&&e.interceptors.request.eject(s),i=p,r=Zt(p,a),s=e.interceptors.request.use((function(e){return r((function(){return e}))()}),(function(e){return Promise.reject(e)}))),o=!0}return n}),(function(e){return Promise.reject(e)}))}(f,n.throttle),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.defaults,a=n.responseLogger,i=void 0===a?Xt:a,r=n.requestLogger,o=void 0===r?Xt:r;e.interceptors.request.use((function(e){return o(e),e}),(function(e){return o(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return i(e),e}),function(){var n,a=(n=Nt().mark((function n(a){var r,o,s,c,p;return Nt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a.response,o=a.config,i(a),o&&e.defaults.retryOnError){n.next=5;break}return n.abrupt("return",Promise.reject(a));case 5:if(!((s=o.attempts||1)>t)){n.next=9;break}return a.attempts=o.attempts,n.abrupt("return",Promise.reject(a));case 9:if(c=null,p=Jt(s),r?r.status>=500&&r.status<600?c="Server ".concat(r.status):429===r.status&&(c="Rate limit",r.headers&&a.response.headers["x-contentful-ratelimit-reset"]&&(p=r.headers["x-contentful-ratelimit-reset"])):c="Connection",!c){n.next=20;break}return p=Math.floor(1e3*p+200*Math.random()+500),e.defaults.logHandler("warning","".concat(c," error occurred. Waiting for ").concat(p," ms before retrying...")),o.attempts=s+1,delete o.httpAgent,delete o.httpsAgent,o.url=o.url.split("?")[0],n.abrupt("return",Gt(p).then((function(){return e(o)})));case 20:return n.abrupt("return",Promise.reject(a));case 21:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){qt(r,a,i,o,s,"next",e)}function s(e){qt(r,a,i,o,s,"throw",e)}o(void 0)}))});return function(e){return a.apply(this,arguments)}}())}(f,n.retryLimit),n.onError&&f.interceptors.response.use((function(e){return e}),n.onError),f}function nn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=Et(t),n}function an(e){var t,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=Vt(e))){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){o=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(o)throw i}}}}(Object.getOwnPropertyNames(e));try{for(n.s();!(t=n.n()).done;){var a=e[t.value];a&&"object"===Kt(a)&&an(a)}}catch(e){n.e(e)}finally{n.f()}return Object.freeze(e)}function rn(e){return an(e.sys||{}),e}function on(){var e=window;if(!e)return null;var 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 sn(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Et(this)}})}function cn(e){var t,n=e.config,a=e.response;if(n&&n.headers&&n.headers.Authorization){var i="...".concat(n.headers.Authorization.toString().substr(-5));n.headers.Authorization="Bearer ".concat(i)}if(!$t()(a)||!$t()(n))throw e;var r,o=null==a?void 0:a.data,s={status:null==a?void 0:a.status,statusText:null==a?void 0:a.statusText,message:"",details:{}};n&&$t()(n)&&(s.request={url:n.url,headers:n.headers,method:n.method,payloadData:n.data}),o&&"object"===Kt(o)&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),t=null===(r=o.sys)||void 0===r?void 0:r.id);var c=new Error;c.name=t&&"Unknown"!==t?t:"".concat(null==a?void 0:a.status," ").concat(null==a?void 0:a.statusText);try{c.message=JSON.stringify(s,null," ")}catch(e){var p;c.message=null!==(p=null==s?void 0:s.message)&&void 0!==p?p:""}throw c}function pn(e,t){return function(){return e.apply(t,arguments)}}const{toString:ln}=Object.prototype,{getPrototypeOf:un}=Object,dn=(mn=Object.create(null),e=>{const t=ln.call(e);return mn[t]||(mn[t]=t.slice(8,-1).toLowerCase())});var mn;const fn=e=>(e=e.toLowerCase(),t=>dn(t)===e),yn=e=>t=>typeof t===e,{isArray:vn}=Array,bn=yn("undefined"),hn=fn("ArrayBuffer"),gn=yn("string"),xn=yn("function"),wn=yn("number"),On=e=>null!==e&&"object"==typeof e,jn=e=>{if("object"!==dn(e))return!1;const t=un(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},In=fn("Date"),Pn=fn("File"),Tn=fn("Blob"),Sn=fn("FileList"),kn=fn("URLSearchParams"),[En,An,Cn,_n]=["ReadableStream","Request","Response","Headers"].map(fn);function Dn(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let a,i;if("object"!=typeof e&&(e=[e]),vn(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),r=i.length;let o;for(a=0;a<r;a++)o=i[a],t.call(null,e[o],o,e)}}function Rn(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 zn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Mn=e=>!bn(e)&&e!==zn,$n=(Fn="undefined"!=typeof Uint8Array&&un(Uint8Array),e=>Fn&&e instanceof Fn);var Fn;const qn=fn("HTMLFormElement"),Ln=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Un=fn("RegExp"),Bn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};Dn(n,((n,i)=>{let r;!1!==(r=t(n,i,e))&&(a[i]=r||n)})),Object.defineProperties(e,a)},Nn="abcdefghijklmnopqrstuvwxyz",Wn="0123456789",Kn={DIGIT:Wn,ALPHA:Nn,ALPHA_DIGIT:Nn+Nn.toUpperCase()+Wn},Vn=fn("AsyncFunction"),Hn=(Xn="function"==typeof setImmediate,Gn=xn(zn.postMessage),Xn?setImmediate:Gn?(Jn=`axios@${Math.random()}`,Qn=[],zn.addEventListener("message",(({source:e,data:t})=>{e===zn&&t===Jn&&Qn.length&&Qn.shift()()}),!1),e=>{Qn.push(e),zn.postMessage(Jn,"*")}):e=>setTimeout(e));var Xn,Gn,Jn,Qn;const Yn="undefined"!=typeof queueMicrotask?queueMicrotask.bind(zn):"undefined"!=typeof process&&process.nextTick||Hn,Zn={isArray:vn,isArrayBuffer:hn,isBuffer:function(e){return null!==e&&!bn(e)&&null!==e.constructor&&!bn(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||xn(e.append)&&("formdata"===(t=dn(e))||"object"===t&&xn(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&hn(e.buffer),t},isString:gn,isNumber:wn,isBoolean:e=>!0===e||!1===e,isObject:On,isPlainObject:jn,isReadableStream:En,isRequest:An,isResponse:Cn,isHeaders:_n,isUndefined:bn,isDate:In,isFile:Pn,isBlob:Tn,isRegExp:Un,isFunction:xn,isStream:e=>On(e)&&xn(e.pipe),isURLSearchParams:kn,isTypedArray:$n,isFileList:Sn,forEach:Dn,merge:function e(){const{caseless:t}=Mn(this)&&this||{},n={},a=(a,i)=>{const r=t&&Rn(n,i)||i;jn(n[r])&&jn(a)?n[r]=e(n[r],a):jn(a)?n[r]=e({},a):vn(a)?n[r]=a.slice():n[r]=a};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Dn(arguments[e],a);return n},extend:(e,t,n,{allOwnKeys:a}={})=>(Dn(t,((t,a)=>{n&&xn(t)?e[a]=pn(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,r,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)o=i[r],a&&!a(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&un(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:dn,kindOfTest:fn,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(vn(e))return e;let t=e.length;if(!wn(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:qn,hasOwnProperty:Ln,hasOwnProp:Ln,reduceDescriptors:Bn,freezeMethods:e=>{Bn(e,((t,n)=>{if(xn(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const a=e[n];xn(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 vn(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:Rn,global:zn,isContextDefined:Mn,ALPHABET:Kn,generateString:(e=16,t=Kn.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n},isSpecCompliantForm:function(e){return!!(e&&xn(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,a)=>{if(On(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[a]=e;const i=vn(e)?[]:{};return Dn(e,((e,t)=>{const r=n(e,a+1);!bn(r)&&(i[t]=r)})),t[a]=void 0,i}}return e};return n(e,0)},isAsyncFn:Vn,isThenable:e=>e&&(On(e)||xn(e))&&xn(e.then)&&xn(e.catch),setImmediate:Hn,asap:Yn};function ea(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)}Zn.inherits(ea,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:Zn.toJSONObject(this.config),code:this.code,status:this.status}}});const ta=ea.prototype,na={};["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=>{na[e]={value:e}})),Object.defineProperties(ea,na),Object.defineProperty(ta,"isAxiosError",{value:!0}),ea.from=(e,t,n,a,i,r)=>{const o=Object.create(ta);return Zn.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ea.call(o,e.message,t,n,a,i),o.cause=e,o.name=e.name,r&&Object.assign(o,r),o};const aa=ea,ia=n(2925);function ra(e){return Zn.isPlainObject(e)||Zn.isArray(e)}function oa(e){return Zn.endsWith(e,"[]")?e.slice(0,-2):e}function sa(e,t,n){return e?e.concat(t).map((function(e,t){return e=oa(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ca=Zn.toFlatObject(Zn,{},null,(function(e){return/^is[A-Z]/.test(e)})),pa=function(e,t,n){if(!Zn.isObject(e))throw new TypeError("target must be an object");t=t||new(ia||FormData);const a=(n=Zn.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Zn.isUndefined(t[e])}))).metaTokens,i=n.visitor||p,r=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Zn.isSpecCompliantForm(t);if(!Zn.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Zn.isDate(e))return e.toISOString();if(!s&&Zn.isBlob(e))throw new aa("Blob is not supported. Use a Buffer instead.");return Zn.isArrayBuffer(e)||Zn.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(Zn.endsWith(n,"{}"))n=a?n:n.slice(0,-2),e=JSON.stringify(e);else if(Zn.isArray(e)&&function(e){return Zn.isArray(e)&&!e.some(ra)}(e)||(Zn.isFileList(e)||Zn.endsWith(n,"[]"))&&(s=Zn.toArray(e)))return n=oa(n),s.forEach((function(e,a){!Zn.isUndefined(e)&&null!==e&&t.append(!0===o?sa([n],a,r):null===o?n:n+"[]",c(e))})),!1;return!!ra(e)||(t.append(sa(i,n,r),c(e)),!1)}const l=[],u=Object.assign(ca,{defaultVisitor:p,convertValue:c,isVisitable:ra});if(!Zn.isObject(e))throw new TypeError("data must be an object");return function e(n,a){if(!Zn.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+a.join("."));l.push(n),Zn.forEach(n,(function(n,r){!0===(!(Zn.isUndefined(n)||null===n)&&i.call(t,n,Zn.isString(r)?r.trim():r,a,u))&&e(n,a?a.concat(r):[r])})),l.pop()}}(e),t};function la(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ua(e,t){this._pairs=[],e&&pa(e,this,t)}const da=ua.prototype;da.append=function(e,t){this._pairs.push([e,t])},da.toString=function(e){const t=e?function(t){return e.call(this,t,la)}:la;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ma=ua;function fa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ya(e,t,n){if(!t)return e;const a=n&&n.encode||fa,i=n&&n.serialize;let r;if(r=i?i(t,n):Zn.isURLSearchParams(t)?t.toString():new ma(t,n).toString(a),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}const va=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){Zn.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ha={isNode:!0,classes:{URLSearchParams:n(7016).URLSearchParams,FormData:ia,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},ga="undefined"!=typeof window&&"undefined"!=typeof document,xa="object"==typeof navigator&&navigator||void 0,wa=ga&&(!xa||["ReactNative","NativeScript","NS"].indexOf(xa.product)<0),Oa="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ja=ga&&window.location.href||"http://localhost",Ia={...e,...ha},Pa=function(e){function t(e,n,a,i){let r=e[i++];if("__proto__"===r)return!0;const o=Number.isFinite(+r),s=i>=e.length;return r=!r&&Zn.isArray(a)?a.length:r,s?(Zn.hasOwnProp(a,r)?a[r]=[a[r],n]:a[r]=n,!o):(a[r]&&Zn.isObject(a[r])||(a[r]=[]),t(e,n,a[r],i)&&Zn.isArray(a[r])&&(a[r]=function(e){const t={},n=Object.keys(e);let a;const i=n.length;let r;for(a=0;a<i;a++)r=n[a],t[r]=e[r];return t}(a[r])),!o)}if(Zn.isFormData(e)&&Zn.isFunction(e.entries)){const n={};return Zn.forEachEntry(e,((e,a)=>{t(function(e){return Zn.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),a,n,0)})),n}return null},Ta={transitional:ba,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",a=n.indexOf("application/json")>-1,i=Zn.isObject(e);if(i&&Zn.isHTMLForm(e)&&(e=new FormData(e)),Zn.isFormData(e))return a?JSON.stringify(Pa(e)):e;if(Zn.isArrayBuffer(e)||Zn.isBuffer(e)||Zn.isStream(e)||Zn.isFile(e)||Zn.isBlob(e)||Zn.isReadableStream(e))return e;if(Zn.isArrayBufferView(e))return e.buffer;if(Zn.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return pa(e,new Ia.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,a){return Ia.isNode&&Zn.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=Zn.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return pa(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),function(e){if(Zn.isString(e))try{return(0,JSON.parse)(e),Zn.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ta.transitional,n=t&&t.forcedJSONParsing,a="json"===this.responseType;if(Zn.isResponse(e)||Zn.isReadableStream(e))return e;if(e&&Zn.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 aa.from(e,aa.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:Ia.classes.FormData,Blob:Ia.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Zn.forEach(["delete","get","head","post","put","patch"],(e=>{Ta.headers[e]={}}));const Sa=Ta,ka=Zn.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"]),Ea=Symbol("internals");function Aa(e){return e&&String(e).trim().toLowerCase()}function Ca(e){return!1===e||null==e?e:Zn.isArray(e)?e.map(Ca):String(e)}function _a(e,t,n,a,i){return Zn.isFunction(a)?a.call(this,t,n):(i&&(t=n),Zn.isString(t)?Zn.isString(a)?-1!==t.indexOf(a):Zn.isRegExp(a)?a.test(t):void 0:void 0)}class Da{constructor(e){e&&this.set(e)}set(e,t,n){const a=this;function i(e,t,n){const i=Aa(t);if(!i)throw new Error("header name must be a non-empty string");const r=Zn.findKey(a,i);(!r||void 0===a[r]||!0===n||void 0===n&&!1!==a[r])&&(a[r||t]=Ca(e))}const r=(e,t)=>Zn.forEach(e,((e,n)=>i(e,n,t)));if(Zn.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(Zn.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,a,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),a=e.substring(i+1).trim(),!n||t[n]&&ka[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(Zn.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=Aa(e)){const n=Zn.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(Zn.isFunction(t))return t.call(this,e,n);if(Zn.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Aa(e)){const n=Zn.findKey(this,e);return!(!n||void 0===this[n]||t&&!_a(0,this[n],n,t))}return!1}delete(e,t){const n=this;let a=!1;function i(e){if(e=Aa(e)){const i=Zn.findKey(n,e);!i||t&&!_a(0,n[i],i,t)||(delete n[i],a=!0)}}return Zn.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&&!_a(0,this[i],i,e,!0)||(delete this[i],a=!0)}return a}normalize(e){const t=this,n={};return Zn.forEach(this,((a,i)=>{const r=Zn.findKey(n,i);if(r)return t[r]=Ca(a),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();o!==i&&delete t[i],t[o]=Ca(a),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Zn.forEach(this,((n,a)=>{null!=n&&!1!==n&&(t[a]=e&&Zn.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[Ea]=this[Ea]={accessors:{}}).accessors,n=this.prototype;function a(e){const a=Aa(e);t[a]||(function(e,t){const n=Zn.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 Zn.isArray(e)?e.forEach(a):a(e),this}}Da.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Zn.reduceDescriptors(Da.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Zn.freezeMethods(Da);const Ra=Da;function za(e,t){const n=this||Sa,a=t||n,i=Ra.from(a.headers);let r=a.data;return Zn.forEach(e,(function(e){r=e.call(n,r,i.normalize(),t?t.status:void 0)})),i.normalize(),r}function Ma(e){return!(!e||!e.__CANCEL__)}function $a(e,t,n){aa.call(this,null==e?"canceled":e,aa.ERR_CANCELED,t,n),this.name="CanceledError"}Zn.inherits($a,aa,{__CANCEL__:!0});const Fa=$a;function qa(e,t,n){const a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new aa("Request failed with status code "+n.status,[aa.ERR_BAD_REQUEST,aa.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function La(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 Ua=n(1420),Ba=n(8611),Na=n(5692),Wa=n(9023),Ka=n(3520);const Va=require("zlib"),Ha="1.7.5";function Xa(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Ga=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var Ja=n(2203);const Qa=Symbol("internals");class Ya extends Ja.Transform{constructor(e){super({readableHighWaterMark:(e=Zn.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!Zn.isUndefined(t[e])))).chunkSize});const t=this[Qa]={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[Qa];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const a=this[Qa],i=a.maxRate,r=this.readableHighWaterMark,o=a.timeWindow,s=i/(1e3/o),c=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);a.bytesSeen+=n,a.bytes+=n,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=r,m=0;if(i){const e=Date.now();(!a.ts||(m=e-a.ts)>=o)&&(a.ts=e,l=s-a.bytes,a.bytes=l<0?-l:0,m=0),l=s-a.bytes}if(i){if(l<=0)return setTimeout((()=>{t(null,e)}),o-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,a){if(t)return n(t);a?l(a,e):n(null)}))}}const Za=Ya,ei=require("events"),{asyncIterator:ti}=Symbol,ni=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[ti]?yield*e[ti]():yield e},ai=Zn.ALPHABET.ALPHA_DIGIT+"-_",ii=new Wa.TextEncoder,ri="\r\n",oi=ii.encode(ri);class si{constructor(e,t){const{escapeName:n}=this.constructor,a=Zn.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!a&&t.name?`; filename="${n(t.name)}"`:""}${ri}`;a?t=ii.encode(String(t).replace(/\r?\n|\r\n?/g,ri)):i+=`Content-Type: ${t.type||"application/octet-stream"}${ri}`,this.headers=ii.encode(i+ri),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;Zn.isTypedArray(e)?yield e:yield*ni(e),yield oi}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class ci extends Ja.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 pi=ci,li=(e,t)=>Zn.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,ui=(e,t,n=3)=>{let a=0;const i=function(e,t){e=e||10;const n=new Array(e),a=new Array(e);let i,r=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=a[o];i||(i=c),n[r]=s,a[r]=c;let l=o,u=0;for(;l!==r;)u+=n[l++],l%=e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-i<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,a,i=0,r=1e3/t;const o=(t,r=Date.now())=>{i=r,n=null,a&&(clearTimeout(a),a=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=r?o(e,t):(n=e,a||(a=setTimeout((()=>{a=null,o(n)}),r-s)))},()=>n&&o(n)]}((n=>{const r=n.loaded,o=n.lengthComputable?n.total:void 0,s=r-a,c=i(s);a=r,e({loaded:r,total:o,progress:o?r/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&r<=o?(o-r)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},di=(e,t)=>{const n=null!=e;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},mi=e=>(...t)=>Zn.asap((()=>e(...t))),fi={flush:Va.constants.Z_SYNC_FLUSH,finishFlush:Va.constants.Z_SYNC_FLUSH},yi={flush:Va.constants.BROTLI_OPERATION_FLUSH,finishFlush:Va.constants.BROTLI_OPERATION_FLUSH},vi=Zn.isFunction(Va.createBrotliDecompress),{http:bi,https:hi}=Ka,gi=/https:?/,xi=Ia.protocols.map((e=>e+":")),wi=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Oi(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function ji(e,t,n){let a=t;if(!a&&!1!==a){const e=(0,Ua.T)(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){ji(e,t,e.href)}}const Ii="undefined"!=typeof process&&"process"===Zn.kindOf(process),Pi=(e,t)=>(({address:e,family:t})=>{if(!Zn.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(Zn.isObject(e)?e:{address:e,family:t}),Ti=Ii&&function(e){return t=async function(t,n,a){let{data:i,lookup:r,family:o}=e;const{responseType:s,responseEncoding:c}=e,p=e.method.toUpperCase();let l,u,d=!1;if(r){const e=li(r,(e=>Zn.isArray(e)?e:[e]));r=(t,n,a)=>{e(t,n,((e,t,i)=>{if(e)return a(e);const r=Zn.isArray(t)?t.map((e=>Pi(e))):[Pi(t,i)];n.all?a(e,r):a(e,r[0].address,r[0].family)}))}}const m=new ei.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 Fa(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=La(e.baseURL,e.url),b=new URL(v,Ia.hasBrowserEnv?Ia.origin:void 0),h=b.protocol||xi[0];if("data:"===h){let a;if("GET"!==p)return qa(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{a=function(e,t,n){const a=n&&n.Blob||Ia.classes.Blob,i=Xa(e);if(void 0===t&&a&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=Ga.exec(e);if(!n)throw new aa("Invalid URL",aa.ERR_INVALID_URL);const r=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!a)throw new aa("Blob is not supported",aa.ERR_NOT_SUPPORT);return new a([c],{type:r})}return c}throw new aa("Unsupported protocol "+i,aa.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw aa.from(t,aa.ERR_BAD_REQUEST,e)}return"text"===s?(a=a.toString(c),c&&"utf8"!==c||(a=Zn.stripBOM(a))):"stream"===s&&(a=Ja.Readable.from(a)),qa(t,n,{data:a,status:200,statusText:"OK",headers:new Ra,config:e})}if(-1===xi.indexOf(h))return n(new aa("Unsupported protocol "+h,aa.ERR_BAD_REQUEST,e));const g=Ra.from(e.headers).normalize();g.set("User-Agent","axios/"+Ha,!1);const{onUploadProgress:x,onDownloadProgress:w}=e,O=e.maxRate;let j,I;if(Zn.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:r=a+"-"+Zn.generateString(i,ai)}=n||{};if(!Zn.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const o=ii.encode("--"+r+ri),s=ii.encode("--"+r+"--"+ri+ri);let c=s.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new si(e,t);return c+=n.size,n}));c+=o.byteLength*p.length,c=Zn.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),Ja.Readable.from(async function*(){for(const e of p)yield o,yield*e.encode();yield s}())})(i,(e=>{g.set(e)}),{tag:`axios-${Ha}-boundary`,boundary:e&&e[1]||void 0})}else if(Zn.isFormData(i)&&Zn.isFunction(i.getHeaders)){if(g.set(i.getHeaders()),!g.hasContentLength())try{const e=await Wa.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&g.setContentLength(e)}catch(e){}}else if(Zn.isBlob(i))i.size&&g.setContentType(i.type||"application/octet-stream"),g.setContentLength(i.size||0),i=Ja.Readable.from(ni(i));else if(i&&!Zn.isStream(i)){if(Buffer.isBuffer(i));else if(Zn.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!Zn.isString(i))return n(new aa("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",aa.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 aa("Request body larger than maxBodyLength limit",aa.ERR_BAD_REQUEST,e))}const P=Zn.toFiniteNumber(g.getContentLength());let T,S;Zn.isArray(O)?(j=O[0],I=O[1]):j=I=O,i&&(x||j)&&(Zn.isStream(i)||(i=Ja.Readable.from(i,{objectMode:!1})),i=Ja.pipeline([i,new Za({maxRate:Zn.toFiniteNumber(j)})],Zn.noop),x&&i.on("progress",wi(i,di(P,ui(mi(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=ya(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"+(vi?", br":""),!1);const k={path:S,method:p,headers:g.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:T,protocol:h,family:o,beforeRedirect:Oi,beforeRedirects:{}};let E;!Zn.isUndefined(r)&&(k.lookup=r),e.socketPath?k.socketPath=e.socketPath:(k.hostname=b.hostname,k.port=b.port,ji(k,e.proxy,h+"//"+b.hostname+(b.port?":"+b.port:"")+k.path));const A=gi.test(k.protocol);if(k.agent=A?e.httpsAgent:e.httpAgent,e.transport?E=e.transport:0===e.maxRedirects?E=A?Na:Ba:(e.maxRedirects&&(k.maxRedirects=e.maxRedirects),e.beforeRedirect&&(k.beforeRedirects.config=e.beforeRedirect),E=A?hi:bi),e.maxBodyLength>-1?k.maxBodyLength=e.maxBodyLength:k.maxBodyLength=1/0,e.insecureHTTPParser&&(k.insecureHTTPParser=e.insecureHTTPParser),u=E.request(k,(function(a){if(u.destroyed)return;const i=[a],r=+a.headers["content-length"];if(w||I){const e=new Za({maxRate:Zn.toFiniteNumber(I)});w&&e.on("progress",wi(e,di(r,ui(mi(w),!0,3)))),i.push(e)}let o=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(Va.createUnzip(fi)),delete a.headers["content-encoding"];break;case"deflate":i.push(new pi),i.push(Va.createUnzip(fi)),delete a.headers["content-encoding"];break;case"br":vi&&(i.push(Va.createBrotliDecompress(yi)),delete a.headers["content-encoding"])}o=i.length>1?Ja.pipeline(i,Zn.noop):i[0];const y=Ja.finished(o,(()=>{y(),f()})),v={status:a.statusCode,statusText:a.statusMessage,headers:new Ra(a.headers),config:e,request:l};if("stream"===s)v.data=o,qa(t,n,v);else{const a=[];let i=0;o.on("data",(function(t){a.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(d=!0,o.destroy(),n(new aa("maxContentLength size of "+e.maxContentLength+" exceeded",aa.ERR_BAD_RESPONSE,e,l)))})),o.on("aborted",(function(){if(d)return;const t=new aa("maxContentLength size of "+e.maxContentLength+" exceeded",aa.ERR_BAD_RESPONSE,e,l);o.destroy(t),n(t)})),o.on("error",(function(t){u.destroyed||n(aa.from(t,null,e,l))})),o.on("end",(function(){try{let e=1===a.length?a[0]:Buffer.concat(a);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=Zn.stripBOM(e))),v.data=e}catch(t){return n(aa.from(t,null,e,v.request,v))}qa(t,n,v)}))}m.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),m.once("abort",(e=>{n(e),u.destroy(e)})),u.on("error",(function(t){n(aa.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 aa("error trying to parse `config.timeout` to int",aa.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||ba;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new aa(t,a.clarifyTimeoutError?aa.ETIMEDOUT:aa.ECONNABORTED,e,u)),y()}))}if(Zn.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 Fa("Request stream has been aborted",e,u))})),i.pipe(u)}else u.end(i)},new Promise(((e,n)=>{let a,i;const r=(e,t)=>{i||(i=!0,a&&a(e,t))},o=e=>{r(e,!0),n(e)};t((t=>{r(t),e(t)}),o,(e=>a=e)).catch(o)}));var t},Si=Ia.hasStandardBrowserEnv?function(){const e=Ia.navigator&&/(msie|trident)/i.test(Ia.navigator.userAgent),t=document.createElement("a");let n;function a(n){let a=n;return e&&(t.setAttribute("href",a),a=t.href),t.setAttribute("href",a),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=a(window.location.href),function(e){const t=Zn.isString(e)?a(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},ki=Ia.hasStandardBrowserEnv?{write(e,t,n,a,i,r){const o=[e+"="+encodeURIComponent(t)];Zn.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Zn.isString(a)&&o.push("path="+a),Zn.isString(i)&&o.push("domain="+i),!0===r&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},Ei=e=>e instanceof Ra?{...e}:e;function Ai(e,t){t=t||{};const n={};function a(e,t,n){return Zn.isPlainObject(e)&&Zn.isPlainObject(t)?Zn.merge.call({caseless:n},e,t):Zn.isPlainObject(t)?Zn.merge({},t):Zn.isArray(t)?t.slice():t}function i(e,t,n){return Zn.isUndefined(t)?Zn.isUndefined(e)?void 0:a(void 0,e,n):a(e,t,n)}function r(e,t){if(!Zn.isUndefined(t))return a(void 0,t)}function o(e,t){return Zn.isUndefined(t)?Zn.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function s(n,i,r){return r in t?a(n,i):r in e?a(void 0,n):void 0}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t)=>i(Ei(e),Ei(t),!0)};return Zn.forEach(Object.keys(Object.assign({},e,t)),(function(a){const r=c[a]||i,o=r(e[a],t[a],a);Zn.isUndefined(o)&&r!==s||(n[a]=o)})),n}const Ci=e=>{const t=Ai({},e);let n,{data:a,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:o,headers:s,auth:c}=t;if(t.headers=s=Ra.from(s),t.url=ya(La(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Zn.isFormData(a))if(Ia.hasStandardBrowserEnv||Ia.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(Ia.hasStandardBrowserEnv&&(i&&Zn.isFunction(i)&&(i=i(t)),i||!1!==i&&Si(t.url))){const e=r&&o&&ki.read(o);e&&s.set(r,e)}return t},_i="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const a=Ci(e);let i=a.data;const r=Ra.from(a.headers).normalize();let o,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=a;function f(){p&&p(),l&&l(),a.cancelToken&&a.cancelToken.unsubscribe(o),a.signal&&a.signal.removeEventListener("abort",o)}let y=new XMLHttpRequest;function v(){if(!y)return;const a=Ra.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());qa((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 aa("Request aborted",aa.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new aa("Network Error",aa.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||ba;a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(new aa(t,i.clarifyTimeoutError?aa.ETIMEDOUT:aa.ECONNABORTED,e,y)),y=null},void 0===i&&r.setContentType(null),"setRequestHeader"in y&&Zn.forEach(r.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),Zn.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),u&&"json"!==u&&(y.responseType=a.responseType),m&&([c,l]=ui(m,!0),y.addEventListener("progress",c)),d&&y.upload&&([s,p]=ui(d),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(o=t=>{y&&(n(!t||t.type?new Fa(null,e,y):t),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(o),a.signal&&(a.signal.aborted?o():a.signal.addEventListener("abort",o)));const b=Xa(a.url);b&&-1===Ia.protocols.indexOf(b)?n(new aa("Unsupported protocol "+b+":",aa.ERR_BAD_REQUEST,e)):y.send(i||null)}))},Di=(e,t)=>{let n,a=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;a.abort(t instanceof aa?t:new Fa(t instanceof Error?t.message:t))}};let r=t&&setTimeout((()=>{i(new aa(`timeout ${t} of ms exceeded`,aa.ETIMEDOUT))}),t);const o=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",i)));const{signal:s}=a;return s.unsubscribe=o,[s,()=>{r&&clearTimeout(r),r=null}]},Ri=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},zi=(e,t,n,a,i)=>{const r=async function*(e,t,n){for await(const a of e)yield*Ri(ArrayBuffer.isView(a)?a:await n(String(a)),t)}(e,t,i);let o,s=0,c=e=>{o||(o=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await r.next();if(t)return c(),void e.close();let i=a.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(a))}catch(e){throw c(e),e}},cancel:e=>(c(e),r.return())},{highWaterMark:2})},Mi="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,$i=Mi&&"function"==typeof ReadableStream,Fi=Mi&&("function"==typeof TextEncoder?(qi=new TextEncoder,e=>qi.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var qi;const Li=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ui=$i&&Li((()=>{let e=!1;const t=new Request(Ia.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Bi=$i&&Li((()=>Zn.isReadableStream(new Response("").body))),Ni={stream:Bi&&(e=>e.body)};var Wi;Mi&&(Wi=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Ni[e]&&(Ni[e]=Zn.isFunction(Wi[e])?t=>t[e]():(t,n)=>{throw new aa(`Response type '${e}' is not supported`,aa.ERR_NOT_SUPPORT,n)})})));const Ki=Mi&&(async e=>{let{url:t,method:n,data:a,signal:i,cancelToken:r,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=Ci(e);p=p?(p+"").toLowerCase():"text";let m,f,[y,v]=i||r||o?Di([i,r],o):[];const b=()=>{!m&&setTimeout((()=>{y&&y.unsubscribe()})),m=!0};let h;try{if(c&&Ui&&"get"!==n&&"head"!==n&&0!==(h=await(async(e,t)=>{const n=Zn.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:Zn.isBlob(e)?e.size:Zn.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Zn.isArrayBufferView(e)||Zn.isArrayBuffer(e)?e.byteLength:(Zn.isURLSearchParams(e)&&(e+=""),Zn.isString(e)?(await Fi(e)).byteLength:void 0))(t):n})(l,a))){let e,n=new Request(t,{method:"POST",body:a,duplex:"half"});if(Zn.isFormData(a)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=di(h,ui(mi(c)));a=zi(n.body,65536,e,t,Fi)}}Zn.isString(u)||(u=u?"include":"omit");const i="credentials"in Request.prototype;f=new Request(t,{...d,signal:y,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:a,duplex:"half",credentials:i?u:void 0});let r=await fetch(f);const o=Bi&&("stream"===p||"response"===p);if(Bi&&(s||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=r[t]}));const t=Zn.toFiniteNumber(r.headers.get("content-length")),[n,a]=s&&di(t,ui(mi(s),!0))||[];r=new Response(zi(r.body,65536,n,(()=>{a&&a(),o&&b()}),Fi),e)}p=p||"text";let m=await Ni[Zn.findKey(Ni,p)||"text"](r,e);return!o&&b(),v&&v(),await new Promise(((t,n)=>{qa(t,n,{data:m,headers:Ra.from(r.headers),status:r.status,statusText:r.statusText,config:e,request:f})}))}catch(t){if(b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new aa("Network Error",aa.ERR_NETWORK,e,f),{cause:t.cause||t});throw aa.from(t,t&&t.code,e,f)}}),Vi={http:Ti,xhr:_i,fetch:Ki};Zn.forEach(Vi,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Hi=e=>`- ${e}`,Xi=e=>Zn.isFunction(e)||null===e||!1===e,Gi=e=>{e=Zn.isArray(e)?e:[e];const{length:t}=e;let n,a;const i={};for(let r=0;r<t;r++){let t;if(n=e[r],a=n,!Xi(n)&&(a=Vi[(t=String(n)).toLowerCase()],void 0===a))throw new aa(`Unknown adapter '${t}'`);if(a)break;i[t||"#"+r]=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(Hi).join("\n"):" "+Hi(e[0]):"as no adapter specified";throw new aa("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return a};function Ji(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fa(null,e)}function Qi(e){return Ji(e),e.headers=Ra.from(e.headers),e.data=za.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Gi(e.adapter||Sa.adapter)(e).then((function(t){return Ji(e),t.data=za.call(e,e.transformResponse,t),t.headers=Ra.from(t.headers),t}),(function(t){return Ma(t)||(Ji(e),t&&t.response&&(t.response.data=za.call(e,e.transformResponse,t.response),t.response.headers=Ra.from(t.response.headers))),Promise.reject(t)}))}const Yi={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Yi[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Zi={};Yi.transitional=function(e,t,n){function a(e,t){return"[Axios v1.7.5] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,r)=>{if(!1===e)throw new aa(a(i," has been removed"+(t?" in "+t:"")),aa.ERR_DEPRECATED);return t&&!Zi[i]&&(Zi[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,r)}};const er={assertOptions:function(e,t,n){if("object"!=typeof e)throw new aa("options must be an object",aa.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let i=a.length;for(;i-- >0;){const r=a[i],o=t[r];if(o){const t=e[r],n=void 0===t||o(t,r,e);if(!0!==n)throw new aa("option "+r+" must be "+n,aa.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new aa("Unknown option "+r,aa.ERR_BAD_OPTION)}},validators:Yi},tr=er.validators;class nr{constructor(e){this.defaults=e,this.interceptors={request:new va,response:new va}}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=Ai(this.defaults,t);const{transitional:n,paramsSerializer:a,headers:i}=t;void 0!==n&&er.assertOptions(n,{silentJSONParsing:tr.transitional(tr.boolean),forcedJSONParsing:tr.transitional(tr.boolean),clarifyTimeoutError:tr.transitional(tr.boolean)},!1),null!=a&&(Zn.isFunction(a)?t.paramsSerializer={serialize:a}:er.assertOptions(a,{encode:tr.function,serialize:tr.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=i&&Zn.merge(i.common,i[t.method]);i&&Zn.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Ra.concat(r,i);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!s){const e=[Qi.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(u=0;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=Qi.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 ya(La((e=Ai(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Zn.forEach(["delete","get","head","options"],(function(e){nr.prototype[e]=function(t,n){return this.request(Ai(n||{},{method:e,url:t,data:(n||{}).data}))}})),Zn.forEach(["post","put","patch"],(function(e){function t(t){return function(n,a,i){return this.request(Ai(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))}}nr.prototype[e]=t(),nr.prototype[e+"Form"]=t(!0)}));const ar=nr;class ir{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 Fa(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)}static source(){let e;return{token:new ir((function(t){e=t})),cancel:e}}}const rr=ir,or={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(or).forEach((([e,t])=>{or[t]=e}));const sr=or,cr=function e(t){const n=new ar(t),a=pn(ar.prototype.request,n);return Zn.extend(a,ar.prototype,n,{allOwnKeys:!0}),Zn.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e(Ai(t,n))},a}(Sa);cr.Axios=ar,cr.CanceledError=Fa,cr.CancelToken=rr,cr.isCancel=Ma,cr.VERSION=Ha,cr.toFormData=pa,cr.AxiosError=aa,cr.Cancel=cr.CanceledError,cr.all=function(e){return Promise.all(e)},cr.spread=function(e){return function(t){return e.apply(null,t)}},cr.isAxiosError=function(e){return Zn.isObject(e)&&!0===e.isAxiosError},cr.mergeConfig=Ai,cr.AxiosHeaders=Ra,cr.formToJSON=e=>Pa(Zn.isHTMLForm(e)?new FormData(e):e),cr.getAdapter=Gi,cr.HttpStatusCode=sr,cr.default=cr;const pr=cr;var lr=Function.prototype.toString,ur=Object.create,dr=Object.prototype.toString,mr=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}(),fr="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new mr};function yr(e){if(!e)return ur(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:ur(e);if(t&&~lr.call(t).indexOf("[native code]"))try{return new t}catch(e){}return ur(e)}var vr="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 br(e){var t=dr.call(e);return t.substring(8,t.length-1)}var hr="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||br(e)}:br,gr=Object.defineProperty,xr=Object.getOwnPropertyDescriptor,wr=Object.getOwnPropertyNames,Or=Object.getOwnPropertySymbols,jr=Object.prototype,Ir=jr.hasOwnProperty,Pr=jr.propertyIsEnumerable,Tr="function"==typeof Or,Sr=Tr?function(e){return wr(e).concat(Or(e))}:wr;function kr(e,t,n){for(var a=Sr(e),i=0,r=a.length,o=void 0,s=void 0;i<r;++i)if("callee"!==(o=a[i])&&"caller"!==o)if(s=xr(e,o)){s.get||s.set||(s.value=n.copier(s.value,n));try{gr(t,o,s)}catch(e){t[o]=s.value}}else t[o]=n.copier(e[o],n);return t}function Er(e,t){return e.slice(0)}function Ar(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 Cr=Tr?function(e,t){var n=yr(t.prototype);for(var a in t.cache.set(e,n),e)Ir.call(e,a)&&(n[a]=t.copier(e[a],t));for(var i=Or(e),r=0,o=i.length,s=void 0;r<o;++r)s=i[r],Pr.call(e,s)&&(n[s]=t.copier(e[s],t));return n}:function(e,t){var n=yr(t.prototype);for(var a in t.cache.set(e,n),e)Ir.call(e,a)&&(n[a]=t.copier(e[a],t));return n};function _r(e,t){return new t.Constructor(e.valueOf())}function Dr(e,t){return e}function Rr(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 zr=Array.isArray,Mr=Object.assign,$r=Object.getPrototypeOf||function(e){return e.__proto__},Fr={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:Er,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(Er(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:Dr,map:Ar,object:Cr,regExp:function(e,t){var n=new t.Constructor(e.source,vr(e));return n.lastIndex=e.lastIndex,n},set:Rr},qr=Mr({},Fr,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),kr(e,n,t)},map:function(e,t){return kr(e,Ar(e,t),t)},object:function(e,t){var n=yr(t.prototype);return t.cache.set(e,n),kr(e,n,t)},set:function(e,t){return kr(e,Rr(e,t),t)}});function Lr(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:_r,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:_r,Object:e.object,Promise:Dr,RegExp:e.regExp,Set:e.set,String:_r,WeakMap:Dr,WeakSet:Dr,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Mr({},Fr,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=$r(e),i.Constructor=i.prototype&&i.prototype.constructor,!i.Constructor||i.Constructor===Object)return a(e,i);if(zr(e))return n(e,i);var r=t[hr(e)];return r?r(e,i):"function"==typeof e.then?e:a(e,i)}return function(e){return i(e,{Constructor:void 0,cache:fr(),copier:i,prototype:void 0})}}Lr(Mr({},qr,{}));var Ur=Lr({});function Br(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 Nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(n),!0).forEach((function(t){Wr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Br(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}function Kr(e){var t;return null===(t=e.defaults.baseURL)||void 0===t?void 0:t.split("/spaces")[0]}function Vr(e,t,n){return e.get(t,Nr({baseURL:Kr(e)},n)).then((e=>e.data),cn)}function Hr(e,t,n,a){return e.patch(t,n,Nr({baseURL:Kr(e)},a)).then((e=>e.data),cn)}function Xr(e,t,n,a){return e.post(t,n,Nr({baseURL:Kr(e)},a)).then((e=>e.data),cn)}function Gr(e,t,n,a){return e.put(t,n,Nr({baseURL:Kr(e)},a)).then((e=>e.data),cn)}function Jr(e,t,n){return e.delete(t,Nr({baseURL:Kr(e)},n)).then((e=>e.data),cn)}function Qr(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 Yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(n),!0).forEach((function(t){Zr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zr(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 eo=(e,t)=>Vr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),to=(e,t)=>Vr(e,`/spaces/${t.spaceId}/api_keys`,{params:t.query}),no=(e,t,n,a)=>Xr(e,`/spaces/${t.spaceId}/api_keys`,n,{headers:a}),ao=(e,t,n,a)=>Gr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,n,{headers:a}),io=(e,t,n,a)=>{var i;const r=Ur(n);return"accessToken"in r&&delete r.accessToken,"preview_api_key"in r&&delete r.preview_api_key,"policies"in r&&delete r.policies,delete r.sys,Gr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,r,{headers:Yr({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},ro=(e,t)=>Jr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),oo=["spaceId"];function so(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 co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(Object(n),!0).forEach((function(t){po(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function po(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 lo(e){return e&&e.select&&!/sys/i.test(e.select)?co(co({},e),{},{select:e.select+",sys"}):e}function uo(e){if(e&&e.spaceId){const{spaceId:t}=e;return co(co({},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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,oo)),{},{"sys.space.sys.id[in]":t})}return e}const mo=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/actions`,fo=e=>`${mo(e)}/${e.appActionId}`,yo=(e,t)=>Vr(e,fo(t)),vo=(e,t)=>Vr(e,mo(t),{params:lo(t.query)}),bo=(e,t)=>Vr(e,(e=>e.environmentId?`/spaces/${e.spaceId}/environments/${e.environmentId}/actions`:`/spaces/${e.spaceId}/actions`)(t),{params:lo(t.query)}),ho=(e,t)=>Jr(e,fo(t)),go=(e,t,n)=>Xr(e,mo(t),n),xo=(e,t,n)=>Gr(e,fo(t),n),wo=e=>(t,n,...a)=>{const i=sn(Ur(n));return i.items=i.items.map((n=>e(t,n,...a))),i},Oo=e=>(t,n,...a)=>{const i=sn(Ur(n));return i.items=i.items.map((n=>e(t,n,...a))),i};function jo(e){return e<300}async function Io(e=1e3){return new Promise((t=>setTimeout(t,e)))}function Po(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 To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Po(Object(n),!0).forEach((function(t){So(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function So(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 ko=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n),Eo=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/actions/${t.appActionId}/calls/${t.callId}`),Ao=async(e,t,n)=>async function(e,t,{callId:n}){let a=1;const i=t.retryInterval||2e3,r=t.retries||15;return new Promise(((o,s)=>{const c=async()=>{try{var p,l;const d=await Eo(e,To(To({},t),{},{callId:n}));if(null!=d&&null!==(p=d.response)&&void 0!==p&&p.statusCode&&!jo(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(jo(d.statusCode))o(d);else if(u=d.statusCode,[404,422,429,400].includes(u)&&a<r)a++,await Io(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>r)return void s(new Error("The app action response is taking longer than expected to process."));await Io(i),c()}var u};c()}))}(e,t,{callId:(await Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),Co=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/app_bundles`,_o=e=>`${Co(e)}/${e.appBundleId}`,Do=(e,t)=>Vr(e,_o(t)),Ro=(e,t)=>Vr(e,Co(t),{params:lo(t.query)}),zo=(e,t)=>Jr(e,_o(t)),Mo=(e,t,n)=>{const{appUploadId:a,comment:i,actions:r,functions:o}=n,s={upload:{sys:{type:"Link",linkType:"AppUpload",id:a}},comment:i,actions:r,functions:o};return Xr(e,Co(t),s)};function $o(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 Fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(n),!0).forEach((function(t){qo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qo(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 Lo=e=>`/organizations/${e.organizationId}/app_definitions`,Uo=e=>Lo(e)+`/${e.appDefinitionId}`,Bo=(e,t)=>Vr(e,Uo(t),{params:lo(t.query)}),No=(e,t)=>Vr(e,Lo(t),{params:t.query}),Wo=(e,t,n)=>{const a=Ur(n);return Xr(e,Lo(t),a)},Ko=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Uo(t),r,{headers:Fo({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Vo=(e,t)=>Jr(e,Uo(t)),Ho=(e,t)=>Vr(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:Fo(Fo({},uo(lo(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),Xo=(e,t)=>Vr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Go=(e,t,n)=>Gr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`,n),Jo=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`);function Qo(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 Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(n),!0).forEach((function(t){Zo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(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 es=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations`,ts=e=>es(e)+`/${e.appDefinitionId}`,ns=(e,t)=>Vr(e,ts(t),{params:lo(t.query)}),as=(e,t)=>Vr(e,es(t),{params:lo(t.query)}),is=(e,t,n,a)=>{const i=Ur(n);return Gr(e,ts(t),i,{headers:Yo(Yo({},a),t.acceptAllTerms&&{"X-Contentful-Marketplace":"i-accept-end-user-license-agreement,i-accept-marketplace-terms-of-service,i-accept-privacy-policy"})})},rs=(e,t)=>Jr(e,ts(t)),os=(e,t)=>Vr(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:Yo(Yo({},uo(lo(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),ss=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/signed_requests`,n),cs=(e,t)=>Vr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),ps=(e,t,n)=>Gr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`,n),ls=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),us=(e,t)=>Vr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),ds=(e,t,n)=>Gr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`,n),ms=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),fs=(e,t)=>Vr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),ys=(e,t)=>Vr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`),vs=(e,t,n)=>Xr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`,n),bs=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),hs=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/access_tokens`,void 0,{headers:{Authorization:`Bearer ${n.jwt}`}});function gs(e,t){var n;const{hostUpload:a,defaultHostnameUpload:i,timeout:r}=e.httpClientParams;return e.cloneWithNewParams({host:a||i,timeout:null!==(n=null!=r?r:null==t?void 0:t.uploadTimeout)&&void 0!==n?n:3e5})}const xs=e=>`/organizations/${e.organizationId}/app_uploads`,ws=e=>`${xs(e)}/${e.appUploadId}`,Os=(e,t)=>Vr(gs(e),ws(t)),js=(e,t)=>Jr(gs(e),ws(t)),Is=(e,t,n)=>{const a=gs(e),{file:i}=n;return Xr(a,xs(t),i,{headers:{"Content-Type":"application/octet-stream"}})},Ps=e=>{const t=`/spaces/${e.spaceId}/uploads`,n=`/spaces/${e.spaceId}/environments/${e.environmentId}/uploads`;return e.environmentId?n:t},Ts=e=>Ps(e)+`/${e.uploadId}`,Ss=(e,t,n)=>{const a=gs(e),{file:i}=n;return i?Xr(a,Ps(t),i,{headers:{"Content-Type":"application/octet-stream"}}):Promise.reject(new Error("Unable to locate a file to upload."))},ks=(e,t)=>Jr(gs(e),Ts(t)),Es=(e,t)=>Vr(gs(e),Ts(t)),As=["asset","locale","options"],Cs=["asset","options"];function _s(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ds(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 Rs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ds(Object(n),!0).forEach((function(t){zs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ds(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zs(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 Ms=(e,t,n,a)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,{params:lo(t.query),headers:a?Rs({},a):void 0}),$s=(e,t,n,a)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/assets`,{params:lo(t.query),headers:a?Rs({},a):void 0}),Fs=(e,t,n,a)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,{params:lo(t.query),headers:a?Rs({},a):void 0}),qs=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,r,{headers:Rs({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Ls=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`),Us=(e,t,n)=>{var a;return Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,null,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},Bs=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`),Ns=(e,t)=>Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ws=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Ks=(e,t,n)=>{const a=Ur(n);return Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,a)},Vs=(e,t,n)=>{const a=Ur(n);return Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,a)},Hs=async(e,t,n)=>{const a=gs(e,{uploadTimeout:t.uploadTimeout}),{file:i}=n.fields;return Promise.all(Object.keys(i).map((async e=>{const{contentType:n,fileName:r}=i[e];return Ss(a,t,i[e]).then((t=>({[e]:{contentType:n,fileName:r,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((a=>{const i=a.reduce(((e,t)=>Rs(Rs({},e),t)),{}),r=Rs(Rs({},n),{},{fields:Rs(Rs({},n.fields),{},{file:i})});return Ks(e,t,r)})).catch(cn)};async function Xs(e,t,{resolve:n,reject:a,locale:i,processingCheckWait:r=3e3,processingCheckRetries:o=10,checkCount:s=0}){return Ms(e,t).then((c=>{if(c.fields.file[i].url)n(c);else if(s===o){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",a(e)}else s++,setTimeout((()=>Xs(e,t,{resolve:n,reject:a,locale:i,checkCount:s,processingCheckWait:r,processingCheckRetries:o})),r)}))}const Gs=async(e,t)=>{let{asset:n,locale:a,options:{processingCheckRetries:i,processingCheckWait:r}={}}=t,o=_s(t,As);return Gr(e,`/spaces/${o.spaceId}/environments/${o.environmentId}/assets/${n.sys.id}/files/${a}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>Xs(e,{spaceId:o.spaceId,environmentId:o.environmentId,assetId:n.sys.id},{resolve:t,reject:s,locale:a,processingCheckWait:r,processingCheckRetries:i})))))},Js=async(e,t)=>{let{asset:n,options:a={}}=t,i=_s(t,Cs);const r=Object.keys(n.fields.file||{});let o=n;const s=r.map((t=>Gs(e,Rs(Rs({},i),{},{asset:n,locale:t,options:a})).then((e=>{o=e}))));return Promise.all(s).then((()=>o))};class Qs extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const Ys=(e,t,n)=>{const a=n.expiresAt,i=Math.floor(Date.now()/1e3);((e,t,n)=>{if(n=n||{},"number"!=typeof t)throw new Qs(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new Qs(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new Qs(e,`value (${t}) cannot be in the past, current time was ${n.now}`)})("expiresAt",a,{maximum:i+172800,now:i});const r={expiresAt:a};return Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/asset_keys`,r)},Zs=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/actions/${t.bulkActionId}`),ec=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/publish`,n),tc=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/unpublish`,n),nc=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/validate`,n),ac=["version"];function ic(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 rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ic(Object(n),!0).forEach((function(t){oc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oc(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 sc="X-Contentful-Version",cc="x-contentful-comment-body-format",pc="x-contentful-parent-entity-reference",lc="x-contentful-parent-id",uc=e=>`${dc(e)}/${e.commentId}`,dc=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),r="parentEntityVersion"in t?`/versions/${t.parentEntityVersion}`:"";return`${(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}`)(t)}/${i}/${n}${r}/comments`},mc=(e,t)=>Vr(e,uc(t),{headers:"rich-text"===t.bodyFormat?{[cc]:t.bodyFormat}:{}}),fc=(e,t)=>Vr(e,dc(t),{params:lo(t.query),headers:"rich-text"===t.bodyFormat?{[cc]:t.bodyFormat}:{}}),yc=(e,t,n)=>{const a=Ur(n);return Xr(e,dc(t),a,{headers:rc(rc(rc({},"string"!=typeof n.body?{[cc]:"rich-text"}:{}),"parentEntityReference"in t&&t.parentEntityReference?{[pc]:t.parentEntityReference}:{}),t.parentCommentId?{[lc]:t.parentCommentId}:{})})},vc=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,uc(t),r,{headers:rc(rc({[sc]:null!==(i=n.sys.version)&&void 0!==i?i:0},"string"!=typeof n.body?{[cc]:"rich-text"}:{}),a)})},bc=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,ac);return Jr(e,uc(a),{headers:{[sc]:n}})},hc=fc;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 xc(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){wc(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 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}function Oc(e){return`/organizations/${e}/taxonomy/concepts`}const jc=(e,t,n)=>Xr(e,Oc(t.organizationId),n),Ic=(e,t,n,a)=>{var i;return Hr(e,`${Oc(t.organizationId)}/${t.conceptId}`,n,{headers:xc({"X-Contentful-Version":null!==(i=t.version)&&void 0!==i?i:0,"Content-Type":"application/json-patch+json"},a)})},Pc=(e,t)=>Vr(e,`${Oc(t.organizationId)}/${t.conceptId}`),Tc=(e,t,n)=>{var a;return Jr(e,`${Oc(t.organizationId)}/${t.conceptId}`,{headers:xc({"X-Contentful-Version":null!==(a=t.version)&&void 0!==a?a:0},n)})},Sc=(e,t)=>{const{url:n,queryParams:a}=Cc("",t);return Vr(e,n,{params:a})},kc=(e,t)=>{const{url:n,queryParams:a}=Cc(`/${t.conceptId}/descendants`,t);return Vr(e,n,{params:a})},Ec=(e,t)=>{const{url:n,queryParams:a}=Cc(`/${t.conceptId}/ancestors`,t);return Vr(e,n,{params:a})},Ac=(e,t)=>Vr(e,`${Oc(t.organizationId)}/total`);function Cc(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:`${Oc(t.organizationId)}${e}`,queryParams:t.query||{}}}function _c(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 Dc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_c(Object(n),!0).forEach((function(t){Rc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rc(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 zc(e){return`/organizations/${e}/taxonomy/concept-schemes`}const Mc=(e,t)=>Vr(e,`${zc(t.organizationId)}/${t.conceptSchemeId}`),$c=(e,t,n)=>Jr(e,`${zc(t.organizationId)}/${t.conceptSchemeId}`,{headers:Dc({"X-Contentful-Version":t.version},n)}),Fc=(e,t)=>{var n,a,i;return Vr(e,null!==(n=null===(a=t.query)||void 0===a?void 0:a.pageUrl)&&void 0!==n?n:zc(t.organizationId),{params:null!==(i=t.query)&&void 0!==i&&i.pageUrl?{}:t.query})},qc=(e,t)=>Vr(e,`${zc(t.organizationId)}/total`),Lc=(e,t,n)=>Xr(e,zc(t.organizationId),n),Uc=(e,t,n,a)=>Hr(e,`${zc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:Dc({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)});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`,Vc=e=>Kc(e)+`/${e.contentTypeId}`,Hc=(e,t,n)=>Vr(e,Vc(t),{params:lo(t.query),headers:n}),Xc=(e,t,n)=>Vr(e,Kc(t),{params:t.query,headers:n}),Gc=(e,t,n,a)=>{const i=Ur(n);return Xr(e,Kc(t),i,{headers:a})},Jc=(e,t,n,a)=>{const i=Ur(n);return Gr(e,Vc(t),i,{headers:a})},Qc=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Vc(t),r,{headers:Nc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Yc=(e,t,n)=>Jr(e,Vc(t),{headers:n}),Zc=(e,t,n,a)=>Gr(e,Vc(t)+"/published",null,{headers:Nc({"X-Contentful-Version":n.sys.version},a)}),ep=(e,t,n)=>Jr(e,Vc(t)+"/published",{headers:n});function tp(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 np(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tp(Object(n),!0).forEach((function(t){ap(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ap(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 ip=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/editor_interface`,rp=(e,t)=>Vr(e,ip(t)),op=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/editor_interfaces`),sp=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,ip(t),r,{headers:np({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})};function cp(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 pp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cp(Object(n),!0).forEach((function(t){lp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lp(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 up=(e,t,n,a)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,{params:lo(t.query),headers:pp({},a)}),dp=(e,t,n,a)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/entries`,{params:lo(t.query),headers:pp({},a)}),mp=(e,t,n,a)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,{params:lo(t.query),headers:pp({},a)}),fp=(e,t,n,a)=>Hr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,n,{headers:pp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),yp=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,r,{headers:pp({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},vp=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`),bp=(e,t,n)=>Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,null,{headers:{"X-Contentful-Version":n.sys.version}}),hp=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`),gp=(e,t)=>Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),xp=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),wp=(e,t,n)=>{const a=Ur(n);return Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},Op=(e,t,n)=>{const a=Ur(n);return Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},jp=(e,t)=>{const{spaceId:n,environmentId:a,entryId:i,include:r}=t;return Vr(e,`/spaces/${n}/environments/${a}/entries/${i}/references?include=${r||2}`)};function Ip(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 Pp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ip(Object(n),!0).forEach((function(t){Tp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ip(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tp(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 Sp=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),kp=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments`,{params:t.query}),Ep=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,r,{headers:Pp(Pp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Ap=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),Cp=(e,t,n,a)=>{const i=Ur(n);return Xr(e,`/spaces/${t.spaceId}/environments`,i,{headers:a})},_p=(e,t,n,a)=>{const i=Ur(n);return Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,i,{headers:Pp(Pp({},a),t.sourceEnvironmentId?{"X-Contentful-Source-Environment":t.sourceEnvironmentId}:{})})};function Dp(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 Rp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dp(Object(n),!0).forEach((function(t){zp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zp(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 Mp=e=>`/spaces/${e.spaceId}/environment_aliases`,$p=e=>Mp(e)+`/${e.environmentAliasId}`,Fp=(e,t)=>Vr(e,$p(t)),qp=(e,t)=>Vr(e,Mp(t),{params:t.query}),Lp=(e,t,n,a)=>{const i=Ur(n);return Gr(e,$p(t),i,{headers:a})},Up=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,$p(t),r,{headers:Rp(Rp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Bp=(e,t)=>Jr(e,$p(t));function Np(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?Np(Object(n),!0).forEach((function(t){Kp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Np(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kp(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 Vp=(e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"),Hp=(e,{organizationId:t,environmentTemplateId:n,version:a,query:i={}},r)=>Vr(e,a?Vp(t,n,"versions",a):Vp(t,n),{params:i,headers:r}),Xp=(e,{organizationId:t,query:n={}},a)=>Vr(e,Vp(t),{params:n,headers:a}),Gp=(e,{organizationId:t},n,a)=>Xr(e,Vp(t),n,{headers:a}),Jp=(e,{organizationId:t,environmentTemplateId:n},a,i)=>{var r;const o=Ur(a);return delete o.sys,Gr(e,Vp(t,n),o,{headers:Wp({"X-Contentful-Version":null!==(r=a.sys.version)&&void 0!==r?r:0},i)})},Qp=(e,{organizationId:t,version:n,environmentTemplateId:a},i,r)=>Hr(e,Vp(t,a,"versions",n),i,{headers:r}),Yp=(e,{organizationId:t,environmentTemplateId:n},a)=>Jr(e,Vp(t,n),{headers:a}),Zp=(e,{organizationId:t,environmentTemplateId:n,query:a={}},i)=>Vr(e,Vp(t,n,"versions"),{params:a,headers:i}),el=(e,{spaceId:t,environmentId:n,environmentTemplateId:a,version:i},r,o)=>Gr(e,i?`/spaces/${t}/environments/${n}/template_installations/${a}/versions/${i}/validated`:`/spaces/${t}/environments/${n}/template_installations/${a}/validated`,r,{headers:o}),tl=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i,r)=>Xr(e,`/spaces/${t}/environments/${n}/template_installations/${a}/versions`,i,{headers:r}),nl=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i)=>Jr(e,`/spaces/${t}/environments/${n}/template_installations/${a}`,{headers:i}),al=["organizationId","environmentTemplateId","spaceId","environmentId"],il=["spaceId","environmentId","environmentTemplateId","installationId"];function rl(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 ol(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rl(Object(n),!0).forEach((function(t){sl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rl(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}function cl(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const pl=(e,t,n)=>{let{organizationId:a,environmentTemplateId:i,spaceId:r,environmentId:o}=t,s=cl(t,al);return Vr(e,((e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"))(a,i,"template_installations"),{params:ol(ol(ol({},s),o&&{"environment.sys.id":o}),r&&{"space.sys.id":r}),headers:n})},ll=(e,t,n)=>{let{spaceId:a,environmentId:i,environmentTemplateId:r,installationId:o}=t,s=cl(t,il);return Vr(e,`/spaces/${a}/environments/${i}/template_installations/${r}`,{params:ol(ol({},o&&{"sys.id":o}),s),headers:n})};function ul(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 dl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ul(Object(n),!0).forEach((function(t){ml(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ul(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ml(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=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/extensions`,yl=e=>fl(e)+`/${e.extensionId}`,vl=(e,t)=>Vr(e,yl(t),{params:lo(t.query)}),bl=(e,t)=>Vr(e,fl(t),{params:lo(t.query)}),hl=(e,t,n,a)=>Xr(e,fl(t),n,{headers:a}),gl=(e,t,n,a)=>{const i=Ur(n);return Gr(e,yl(t),i,{headers:a})},xl=async(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,yl(t),r,{headers:dl({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},wl=(e,t)=>Jr(e,yl(t)),Ol=(e,{url:t,config:n})=>Vr(e,t,n),jl=(e,{url:t,config:n},a)=>Xr(e,t,a,n),Il=(e,{url:t,config:n},a)=>Gr(e,t,a,n),Pl=(e,{url:t,config:n},a)=>Hr(e,t,a,n),Tl=(e,{url:t,config:n})=>Jr(e,t,n),Sl=(e,{url:t,config:n})=>function(e,t,n){return e(t,Nr({baseURL:Kr(e)},n)).then((e=>e.data),cn)}(e,t,n);function kl(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 El(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kl(Object(n),!0).forEach((function(t){Al(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Al(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 Cl=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),_l=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,{params:lo(t.query)}),Dl=(e,t,n,a)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,n,{headers:a}),Rl=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,delete r.default,Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`,r,{headers:El(El({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},zl=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Ml=(e,t)=>Vr(e,"/organizations",{params:null==t?void 0:t.query}),$l=(e,t)=>Ml(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 Fl(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 ql(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fl(Object(n),!0).forEach((function(t){Ll(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ll(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 Ul={"x-contentful-enable-alpha-feature":"organization-user-management-api"},Bl={"x-contentful-enable-alpha-feature":"pending-org-membership"},Nl=(e,t,n,a)=>Xr(e,`/organizations/${t.organizationId}/invitations`,n,{headers:ql(ql({},Bl),a)}),Wl=(e,t,n)=>Vr(e,`/organizations/${t.organizationId}/invitations/${t.invitationId}`,{headers:ql(ql({},Ul),n)});function Kl(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 Vl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kl(Object(n),!0).forEach((function(t){Hl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hl(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 Xl=e=>`/organizations/${e.organizationId}/organization_memberships`,Gl=e=>`${Xl(e)}/${e.organizationMembershipId}`,Jl=(e,t)=>Vr(e,Gl(t)),Ql=(e,t)=>Vr(e,Xl(t),{params:t.query}),Yl=(e,t,n,a)=>{var i;const r=Ur(n);delete r.sys;const{role:o}=r;return Gr(e,Gl(t),{role:o},{headers:Vl(Vl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Zl=(e,t)=>Jr(e,Gl(t)),eu=(e,t)=>Vr(e,`/users/me/access_tokens/${t.tokenId}`),tu=(e,t)=>Vr(e,"/users/me/access_tokens",{params:t.query}),nu=(e,t,n,a)=>Xr(e,"/users/me/access_tokens",n,{headers:a}),au=(e,t)=>Gr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),iu=(e,t)=>Vr(e,`/users/me/access_tokens/${t.tokenId}`),ru=(e,t)=>Vr(e,"/users/me/access_tokens",{params:t.query}),ou=(e,t,n,a)=>Xr(e,"/users/me/access_tokens",n,{headers:a}),su=(e,t)=>Gr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),cu=(e,t)=>Vr(e,`/organizations/${t.organizationId}/access_tokens`,{params:t.query}),pu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/preview_api_keys/${t.previewApiKeyId}`),lu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/preview_api_keys`,{params:t.query});function uu(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 du(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uu(Object(n),!0).forEach((function(t){mu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mu(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 fu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),yu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,{params:t.query}),vu=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,n),bu=(e,t,n,a)=>Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`,n,{headers:du({"X-Contentful-Version":t.version},a)}),hu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),gu=(e,t,n)=>Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,null,{headers:du({"X-Contentful-Version":t.version},n)}),xu=(e,t,n)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,{headers:du({"X-Contentful-Version":t.version},n)}),wu=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/validate`,n),Ou=(e,t)=>Gr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,null,{headers:{"X-Contentful-Version":t.version}}),ju=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,{headers:{"X-Contentful-Version":t.version}});function Iu(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?Iu(Object(n),!0).forEach((function(t){Tu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tu(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 Su=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/actions/${t.actionId}`),ku=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:t.query}),Eu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:Pu({"sys.release.sys.id[in]":t.releaseId},t.query)}),Au=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider`,Cu=(e,t)=>Vr(e,Au(t)),_u=(e,t,n,a)=>Gr(e,Au(t),n,{headers:a}),Du=(e,t)=>Jr(e,Au(t));function Ru(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 zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ru(Object(n),!0).forEach((function(t){Mu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ru(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mu(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 $u=(e,t)=>Vr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Fu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/roles`,{params:lo(t.query)}),qu=(e,t)=>Vr(e,`/organizations/${t.organizationId}/roles`,{params:lo(t.query)}),Lu=(e,t,n,a)=>Xr(e,`/spaces/${t.spaceId}/roles`,n,{headers:a}),Uu=(e,t,n,a)=>Gr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,n,{headers:a}),Bu=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,r,{headers:zu(zu({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Nu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Wu=(e,t)=>Vr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),Ku=(e,t)=>Vr(e,`/spaces/${t.spaceId}/scheduled_actions`,{params:lo(t.query)}),Vu=(e,t,n)=>Xr(e,`/spaces/${t.spaceId}/scheduled_actions`,n),Hu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),Xu=(e,t,n)=>{var a;return Gr(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}})},Gu=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/snapshots`,Ju=(e,t)=>Vr(e,Gu(t),{params:lo(t.query)}),Qu=(e,t)=>Vr(e,(e=>Gu(e)+`/${e.snapshotId}`)(t)),Yu=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/snapshots`,Zu=(e,t)=>Vr(e,Yu(t),{params:lo(t.query)}),ed=(e,t)=>Vr(e,(e=>Yu(e)+`/${e.snapshotId}`)(t));function td(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 nd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?td(Object(n),!0).forEach((function(t){ad(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):td(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ad(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 id=(e,t)=>Vr(e,`/spaces/${t.spaceId}`),rd=(e,t)=>Vr(e,"/spaces",{params:t.query}),od=(e,t)=>Vr(e,`/organizations/${t.organizationId}/spaces`,{params:t.query}),sd=(e,t,n,a)=>Xr(e,"/spaces",n,{headers:t.organizationId?nd(nd({},a),{},{"X-Contentful-Organization":t.organizationId}):a}),cd=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,`/spaces/${t.spaceId}`,r,{headers:nd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},pd=(e,t)=>Jr(e,`/spaces/${t.spaceId}`),ld=(e,t)=>Vr(e,`/spaces/${t.spaceId}/space_members/${t.spaceMemberId}`),ud=(e,t)=>Vr(e,`/spaces/${t.spaceId}/space_members`,{params:t.query});function dd(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 md(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dd(Object(n),!0).forEach((function(t){fd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fd(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 yd(){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 vd=e=>`/spaces/${e.spaceId}/space_memberships`,bd=e=>`${vd(e)}/${e.spaceMembershipId}`,hd=(e,t)=>(yd(),Vr(e,bd(t))),gd=(e,t)=>(yd(),Vr(e,vd(t),{params:t.query})),xd=(e,t)=>Vr(e,`/organizations/${t.organizationId}/space_memberships/${t.spaceMembershipId}`),wd=(e,t)=>Vr(e,`/organizations/${t.organizationId}/space_memberships`,{params:t.query}),Od=(e,t,n,a)=>(yd(),Xr(e,vd(t),n,{headers:a})),jd=(e,t,n,a)=>(yd(),Gr(e,bd(t),n,{headers:a})),Id=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,bd(t),r,{headers:md(md({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Pd=(e,t)=>Jr(e,bd(t)),Td=["version"];function Sd(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 kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sd(Object(n),!0).forEach((function(t){Ed(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ed(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 Ad=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/tags`,Cd=e=>Ad(e)+`/${e.tagId}`,_d=(e,t)=>Vr(e,Cd(t)),Dd=(e,t)=>Vr(e,Ad(t),{params:t.query}),Rd=(e,t,n)=>{var a;const i=Ur(n);return Gr(e,Cd(t),i,{headers:{"X-Contentful-Tag-Visibility":null!==(a=n.sys.visibility)&&void 0!==a?a:"private"}})},zd=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Cd(t),r,{headers:kd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Md=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Td);return Jr(e,Cd(a),{headers:{"X-Contentful-Version":n}})},$d=["version"];function Fd(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 qd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fd(Object(n),!0).forEach((function(t){Ld(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ld(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 Ud=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/tasks`,Bd=e=>`${Ud(e)}/${e.taskId}`,Nd=(e,t)=>Vr(e,Bd(t)),Wd=(e,t)=>Vr(e,Ud(t),{params:lo(t.query)}),Kd=Wd,Vd=(e,t,n)=>{const a=Ur(n);return Xr(e,Ud(t),a)},Hd=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Bd(t),r,{headers:qd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Xd=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,$d);return Jr(e,Bd(a),{headers:{"X-Contentful-Version":n}})};function Gd(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 Jd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gd(Object(n),!0).forEach((function(t){Qd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qd(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 Yd=e=>`/organizations/${e.organizationId}/teams`,Zd=e=>`${Yd(e)}/${e.teamId}`,em=(e,t)=>Vr(e,Zd(t)),tm=(e,t)=>Vr(e,Yd(t),{params:lo(t.query)}),nm=(e,t)=>Vr(e,`/spaces/${t.spaceId}/teams`,{params:lo(t.query)}),am=(e,t,n,a)=>Xr(e,Yd(t),n,{headers:a}),im=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Zd(t),r,{headers:Jd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},rm=(e,t)=>Jr(e,Zd(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 sm(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){cm(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 cm(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=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships`,lm=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships/${e.teamMembershipId}`,um=(e,t)=>Vr(e,lm(t)),dm=(e,t)=>Vr(e,`/organizations/${t.organizationId}/team_memberships`,{params:lo(t.query)}),mm=(e,t)=>Vr(e,pm(t),{params:lo(t.query)}),fm=(e,t,n,a)=>Xr(e,pm(t),n,{headers:a}),ym=(e,t,n,a)=>{const i=Ur(n);return delete i.sys,Gr(e,lm(t),i,{headers:sm({"X-Contentful-Version":n.sys.version||0},a)})},vm=(e,t)=>Jr(e,lm(t));function bm(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 hm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bm(Object(n),!0).forEach((function(t){gm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gm(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 xm=e=>`/spaces/${e.spaceId}/team_space_memberships`,wm=e=>`${xm(e)}/${e.teamSpaceMembershipId}`,Om=(e,t)=>Vr(e,wm(t)),jm=(e,t)=>Vr(e,xm(t),{params:t.query}),Im=(e,t)=>Vr(e,`/organizations/${t.organizationId}/team_space_memberships/${t.teamSpaceMembershipId}`),Pm=(e,t)=>{const n=t.query||{};return t.teamId&&(n["sys.team.sys.id"]=t.teamId),Vr(e,`/organizations/${t.organizationId}/team_space_memberships`,{params:t.query})},Tm=(e,t,n,a)=>Xr(e,xm(t),n,{headers:hm({"x-contentful-team":t.teamId},a)}),Sm=(e,t,n,a)=>{const i=Ur(n);return delete i.sys,Gr(e,wm(t),i,{headers:hm({"X-Contentful-Version":n.sys.version||0,"x-contentful-team":n.sys.team.sys.id},a)})},km=(e,t)=>Jr(e,wm(t)),Em=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config`,Am=(e,t)=>Vr(e,Em(t)),Cm=(e,t,n)=>{var a;const i=Ur(n);return delete i.sys,Gr(e,Em(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},_m=(e,t)=>Vr(e,`/organizations/${t.organizationId}/space_periodic_usages`,{params:t.query}),Dm=(e,t)=>Vr(e,`/organizations/${t.organizationId}/organization_periodic_usages`,{params:t.query}),Rm=(e,t)=>Vr(e,`/spaces/${t.spaceId}/users/${t.userId}`),zm=(e,t)=>Vr(e,"/users/me",{params:null==t?void 0:t.query}),Mm=(e,t)=>Vr(e,`/spaces/${t.spaceId}/users`,{params:t.query}),$m=(e,t)=>Vr(e,`/organizations/${t.organizationId}/users/${t.userId}`),Fm=(e,t)=>Vr(e,`/organizations/${t.organizationId}/users`,{params:t.query}),qm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config/me`,Lm=(e,t)=>Vr(e,qm(t)),Um=(e,t,n)=>{var a;const i=Ur(n);return delete i.sys,Gr(e,qm(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})};function Bm(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 Nm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bm(Object(n),!0).forEach((function(t){Wm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wm(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 Km=e=>`/spaces/${e.spaceId}/webhook_definitions`,Vm=e=>`/spaces/${e.spaceId}/webhooks`,Hm=e=>`${Km(e)}/${e.webhookDefinitionId}`,Xm=e=>`/spaces/${e.spaceId}/webhook_settings`,Gm=e=>`${Xm(e)}/signing_secret`,Jm=e=>`${Xm(e)}/retry_policy`,Qm=(e,t)=>Vr(e,Hm(t)),Ym=(e,t)=>Vr(e,(e=>`${Vm(e)}/${e.webhookDefinitionId}/calls`)(t),{params:lo(t.query)}),Zm=(e,t)=>Vr(e,(e=>`${Vm(e)}/${e.webhookDefinitionId}/calls/${e.callId}`)(t)),ef=(e,t)=>Vr(e,(e=>`${Vm(e)}/${e.webhookDefinitionId}/health`)(t)),tf=(e,t)=>Vr(e,Km(t),{params:lo(t.query)}),nf=(e,t)=>Vr(e,Gm(t)),af=(e,t)=>Vr(e,Jm(t)),rf=(e,t,n,a)=>{const i=Ur(n);return Xr(e,Km(t),i,{headers:a})},of=(e,t,n,a)=>{const i=Ur(n);return Gr(e,Hm(t),i,{headers:a})},sf=async(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Hm(t),r,{headers:Nm({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},cf=async(e,t,n)=>{const a=Ur(n);return Gr(e,Gm(t),a)},pf=async(e,t,n)=>{const a=Ur(n);return Gr(e,Jm(t),a)},lf=(e,t)=>Jr(e,Hm(t)),uf=async(e,t)=>Jr(e,Gm(t)),df=async(e,t)=>Jr(e,Jm(t)),mf=["version"],ff=["version"];function yf(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}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 bf(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){hf(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 hf(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=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows`,xf=e=>`${gf(e)}/${e.workflowId}`,wf=(e,t,n)=>Vr(e,gf(t),{headers:n,params:t.query}),Of=(e,t,n,a)=>{const i=Ur(n);return Xr(e,gf(t),i,{headers:a})},jf=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,xf(t),r,{headers:bf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},If=(e,t,n)=>{let{version:a}=t,i=yf(t,mf);return Jr(e,xf(i),{headers:bf({"X-Contentful-Version":a},n)})},Pf=(e,t,n)=>{let{version:a}=t;return Gr(e,(i=yf(t,ff),`${xf(i)}/complete`),null,{headers:bf({"X-Contentful-Version":a},n)});var i},Tf=["version"];function Sf(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 kf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sf(Object(n),!0).forEach((function(t){Ef(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ef(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 Af=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflow_definitions`,Cf=e=>`${Af(e)}/${e.workflowDefinitionId}`,_f=(e,t,n)=>Vr(e,Cf(t),{headers:n}),Df=(e,t,n)=>Vr(e,Af(t),{headers:n,params:t.query}),Rf=(e,t,n,a)=>{const i=Ur(n);return Xr(e,Af(t),i,{headers:a})},zf=(e,t,n,a)=>{var i;const r=Ur(n);return delete r.sys,Gr(e,Cf(t),r,{headers:kf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Mf=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Tf);return Jr(e,Cf(i),{headers:kf({"X-Contentful-Version":a},n)})},$f=(e,t,n)=>Vr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows_changelog`)(t),{headers:n,params:t.query}),Ff={ApiKey:t,AppAction:i,AppActionCall:r,AppBundle:o,AppDefinition:s,AppInstallation:p,AppUpload:y,AppSignedRequest:l,AppSigningSecret:u,AppEventSubscription:d,AppKey:m,AppAccessToken:f,AppDetails:c,Asset:b,AssetKey:h,BulkAction:g,Comment:x,Concept:w,ConceptScheme:O,ContentType:j,EditorInterface:I,Entry:P,Environment:T,EnvironmentAlias:S,EnvironmentTemplate:k,EnvironmentTemplateInstallation:E,Extension:A,Http:C,Locale:_,Organization:D,OrganizationInvitation:R,OrganizationMembership:z,PersonalAccessToken:M,AccessToken:$,PreviewApiKey:F,Release:q,ReleaseAction:L,ResourceProvider:U,Role:B,ScheduledAction:N,Snapshot:W,Space:K,SpaceMember:V,SpaceMembership:H,Tag:X,Task:G,Team:J,TeamMembership:Q,TeamSpaceMembership:Y,UIConfig:Z,Upload:v,Usage:ee,User:te,UserUIConfig:ne,Webhook:ae,WorkflowDefinition:re,Workflow:ie,WorkflowsChangelog:oe};function qf(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 Lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qf(Object(n),!0).forEach((function(t){Uf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uf(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 Bf={defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"};class Nf{constructor(e){if(Uf(this,"params",void 0),Uf(this,"axiosInstance",void 0),!e.accessToken)throw new TypeError("Expected parameter accessToken");this.params=Lf(Lf({},Bf),Ur(e)),this.axiosInstance=tn(pr,Lf(Lf({},this.params),{},{headers:Lf(Lf({"Content-Type":"application/vnd.contentful.management.v1+json"},e.userAgent?{"X-Contentful-User-Agent":e.userAgent}:{}),this.params.headers)}))}async makeRequest({entityType:e,action:t,params:n,payload:a,headers:i,userAgent:r}){var o;const s=null===(o=Ff[e])||void 0===o?void 0:o["delete"===t?"del":t];if(void 0===s)throw new Error("Unknown endpoint");return await s(this.axiosInstance,n,a,Lf(Lf({},i),r?{"X-Contentful-User-Agent":r}:{}))}}function Wf(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 Kf(e,t){const n=Wf(sn(Ur(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=>Kf(e,t)))},delete:function(){return e({entityType:"ApiKey",action:"delete",params:t(this)})}}}(e));return rn(n)}const Vf=wo(Kf);function Hf(e,t){const n=Wf(sn(Ur(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 rn(n)}const Xf=wo(Hf);function Gf(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?Gf(Object(n),!0).forEach((function(t){Qf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qf(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 Yf(e,t){return{createWithResponse:function(){return e({entityType:"AppActionCall",action:"createWithResponse",params:Jf({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=>ey(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=>ey(e,t)))}}}function Zf(e,t){return Wf(sn(Ur(t)),Yf(e))}function ey(e,t,n){return Wf(sn(Ur(t)),Yf(e,n))}function ty(e,t){const n=Wf(sn(Ur(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 rn(n)}const ny=wo(ty);function ay(e,t){const n=Wf(sn(Ur(t)),function(e){const{wrapAppBundle:t,wrapAppBundleCollection:n}=Vb.appBundle,{wrapResourceProvider:a}=Vb.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=>ay(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 rn(n)}const iy=wo(ay);function ry(e,t){return Wf(sn(Ur(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 oy(e,t){const n=Wf(sn(Ur(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=>oy(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"delete",params:t(n)})}}}(e));return rn(n)}const sy=wo(oy);function cy(e,t){return sn(Ur(t))}function py(e,t){return Wf(sn(Ur(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 ly(e,t){return Wf(sn(Ur(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 uy(e,t){return Wf(sn(Ur(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 dy=wo(uy);function my(e,t){return rn(sn(Ur(t)))}function fy(e,t){const n=Wf(sn(Ur(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 rn(n)}const yy=wo(fy),vy=e=>!!e.sys.publishedVersion,by=e=>!!(e.sys.publishedVersion&&e.sys.version>e.sys.publishedVersion+1),hy=e=>!e.sys.publishedVersion,gy=e=>!!e.sys.archivedVersion;function xy(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 wy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xy(Object(n),!0).forEach((function(t){Oy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Oy(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 jy(e,t){const n=Wf(sn(Ur(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:wy(wy({},t(i)),{},{locale:n,options:a,asset:i})}).then((t=>jy(e,t)))},processForAllLocales:function(n){const a=this.toPlainObject();return e({entityType:"Asset",action:"processForAllLocales",params:wy(wy({},t(a)),{},{asset:a,options:n})}).then((t=>jy(e,t)))},update:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"update",params:t(n),payload:n,headers:{}}).then((t=>jy(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=>jy(e,t)))},unpublish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unpublish",params:t(n)}).then((t=>jy(e,t)))},archive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"archive",params:t(n)}).then((t=>jy(e,t)))},unarchive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unarchive",params:t(n)}).then((t=>jy(e,t)))},isPublished:function(){const e=this.toPlainObject();return vy(e)},isUpdated:function(){const e=this.toPlainObject();return by(e)},isDraft:function(){const e=this.toPlainObject();return hy(e)},isArchived:function(){const e=this.toPlainObject();return gy(e)}}}(e));return rn(n)}const Iy=wo(jy);function Py(e,t){return sn(Ur(t))}function Ty(e){return new Promise((t=>setTimeout(t,e)))}const Sy=30,ky=1e3,Ey=2e3;class Ay 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 Cy extends Ay{}async function _y(e,t){var n,a,i,r,o;let s,c=0,p=!1;const l=null!==(n=null==t?void 0:t.retryCount)&&void 0!==n?n:Sy,u=null!==(a=null==t?void 0:t.retryIntervalMs)&&void 0!==a?a:Ey,d=null!==(i=null==t?void 0:t.initialDelayMs)&&void 0!==i?i:ky,m=null===(r=null==t?void 0:t.throwOnFailedExecution)||void 0===r||r;for(await Ty(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 Cy(`${s.sys.type} failed to execute.`,s);return s}await Ty(u),c+=1}throw new Ay(`${null===(o=s)||void 0===o?void 0:o.sys.type} didn't finish processing within the expected timeframe.`,s)}let Dy=function(e){return e.created="created",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e}({});function Ry(e,t){const n=Wf(sn(Ur(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=>Ry(e,t)))},async waitProcessing(e){return _y((async()=>this.get()),e)}}}(e));return rn(n)}function zy(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 My(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zy(Object(n),!0).forEach((function(t){$y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $y(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(Dy);let Fy=function(e){return e.Document="document",e.Paragraph="paragraph",e.Mention="mention",e}({});function qy(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 Ly(e,a)},delete:async function(){const n=this.toPlainObject();await e({entityType:"Comment",action:"delete",params:My(My({},t(n)),{},{version:n.sys.version})})}}}function Ly(e,t){return rn(Wf(sn(Ur(t)),qy(e)))}const Uy=wo(Ly);function By(e,t){const n=Wf(sn(Ur(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=>By(e,t)))},getControlForField:function(e){const t=(this.controls||[]).filter((t=>t.fieldId===e));return t&&t.length>0?t[0]:null}}}(e));return rn(n)}const Ny=wo(By);function Wy(e,t){return rn(Wf(sn(Ur(t)),{}))}const Ky=wo(Wy),Vy=["fieldId"],Hy=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}.`))},Xy=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Vy);return Hy(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=>Hy(e,a,"deleted"))).then((t=>e({entityType:"ContentType",action:"update",params:i,payload:t})))};function Gy(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 Jy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gy(Object(n),!0).forEach((function(t){Qy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qy(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 Yy(e,t){const n=Wf(sn(Ur(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=>Yy(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=>Yy(e,t)))},unpublish:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"unpublish",params:n}).then((t=>Yy(e,t)))},getEditorInterface:function(){const{params:n}=t(this);return e({entityType:"EditorInterface",action:"get",params:n}).then((t=>By(e,t)))},getSnapshots:function(n={}){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getManyForContentType",params:Jy(Jy({},a),{},{query:n})}).then((t=>Ky(e,t)))},getSnapshot:function(n){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getForContentType",params:Jy(Jy({},a),{},{snapshotId:n})}).then((e=>Wy(0,e)))},isPublished:function(){return vy(this)},isUpdated:function(){return by(this)},isDraft:function(){return hy(this)},omitAndDeleteField:function(n){const{raw:a,params:i}=t(this);return Xy(e,Jy(Jy({},i),{},{fieldId:n}),a).then((t=>Yy(e,t)))}}}(e));return rn(n)}const Zy=wo(Yy);function ev(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 tv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ev(Object(n),!0).forEach((function(t){nv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ev(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nv(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 av(e,t){const n=Wf(sn(Ur(t)),function(e){const{wrapEntry:t,wrapEntryCollection:n}=Vb.entry,{wrapSnapshot:a,wrapSnapshotCollection:i}=Vb.snapshot,{wrapTask:r,wrapTaskCollection:o}=Vb.task,{wrapComment:s,wrapCommentCollection:c}=Vb.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:tv(tv({},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:tv(tv({},n),{},{query:t})}).then((t=>i(e,t)))},getSnapshot:function(t){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getForEntry",params:tv(tv({},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:tv(tv({},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=>r(e,t)))},getTasks:function(t={}){const{params:n}=p(this);return e({entityType:"Task",action:"getMany",params:tv(tv({},n),{},{query:t})}).then((t=>o(e,t)))},getTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"get",params:tv(tv({},n),{},{taskId:t})}).then((t=>r(e,t)))},isPublished:function(){const e=this.toPlainObject();return vy(e)},isUpdated:function(){const e=this.toPlainObject();return by(e)},isDraft:function(){const e=this.toPlainObject();return hy(e)},isArchived:function(){const e=this.toPlainObject();return gy(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 rn(n)}const iv=wo(av);function rv(e,t){const n=Wf(sn(Ur(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=>rv(e,t)))},async waitProcessing(e){return _y((async()=>this.get()),e)}}}(e));return rn(n)}const ov=wo(rv);let sv=function(e){return e.contentTypeAnnotationNotIn="sys.contentType.metadata.annotations.ContentType[nin]",e}({});const cv=sv;function pv(e,t){const n=Wf(sn(Ur(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=>pv(e,t)))},async unarchive(){const n=t(this);return e({entityType:"Release",action:"unarchive",params:n}).then((t=>pv(e,t)))},async update(n){const a=t(this);return e({entityType:"Release",action:"update",params:a,payload:n}).then((t=>pv(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=>rv(e,t))).then((e=>e.waitProcessing(n)))},async unpublish(n){const a=t(this);return e({entityType:"Release",action:"unpublish",params:a}).then((t=>rv(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=>rv(e,t))).then((e=>e.waitProcessing(null==n?void 0:n.processingOptions)))}}}(e));return rn(n)}const lv=Oo(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){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=>yv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"delete",params:dv(dv({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function yv(e,t){return rn(Wf(sn(Ur(t)),fv(e)))}const vv=wo(yv);function bv(e,t){const n=Wf(sn(Ur(t)),function(e){const{wrapUIConfig:t}=Vb.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 rn(n)}function hv(e,t){const n=Wf(sn(Ur(t)),function(e){const{wrapUserUIConfig:t}=Vb.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 rn(n)}function gv(e,t){return rn(sn(Ur(t)))}const xv=Oo(gv),wv=["installationId"];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,t){return rn(Wf(sn(Ur(t)),function(e){const{wrapEnvironment:t}=Vb.environment,{wrapContentType:n,wrapContentTypeCollection:a}=Vb.contentType,{wrapEntry:i,wrapEntryCollection:r}=Vb.entry,{wrapAsset:o,wrapAssetCollection:s}=Vb.asset,{wrapAssetKey:c}=Vb.assetKey,{wrapLocale:p,wrapLocaleCollection:l}=Vb.locale,{wrapSnapshotCollection:u}=Vb.snapshot,{wrapEditorInterface:d,wrapEditorInterfaceCollection:m}=Vb.editorInterface,{wrapUpload:f}=Vb.upload,{wrapExtension:y,wrapExtensionCollection:v}=Vb.extension,{wrapAppInstallation:b,wrapAppInstallationCollection:h}=Vb.appInstallation,{wrapAppSignedRequest:g}=Vb.appSignedRequest,{wrapAppActionCall:x}=Vb.appActionCall,{wrapBulkAction:w}=Vb.bulkAction,{wrapAppAccessToken:O}=Vb.appAccessToken;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=>o(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:nn({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:nn({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:nn({query:t}).params}}).then((t=>r(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:nn({query:t}).params}}).then((t=>r(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 r=this.toPlainObject();return e({entityType:"Entry",action:"createWithId",params:{spaceId:r.sys.space.sys.id,environmentId:r.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=>r(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:nn({query:n}).params}}).then((t=>o(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:nn({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:nn({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=>o(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=>o(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=>o(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(){const t=this.toPlainObject();return e({entityType:"Locale",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).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)))},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=>yv(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:nn({query:t}).params}}).then((t=>vv(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=>yv(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=>pv(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=>lv(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=>pv(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=>pv(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=>rv(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=>rv(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=>rv(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=>pv(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=>pv(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=>rv(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=>ov(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 bv(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 hv(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,wv);const r=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getForEnvironment",params:jv(jv({environmentTemplateId:t},a&&{installationId:a}),{},{query:jv({},nn({query:i}).params),spaceId:r.sys.space.sys.id,environmentId:r.sys.id})}).then((t=>xv(e,t)))}}}(e)))}const Tv=wo(Pv);function Sv(e,t){const n=Wf(sn(Ur(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=>Sv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return rn(n)}const kv=wo(Sv),Ev=["spaceId","environmentId"];function Av(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 Cv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Av(Object(n),!0).forEach((function(t){_v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Av(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _v(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 Dv(e,t,n){return rn(Wf(sn(Ur(t)),function(e,t){const{wrapEnvironmentTemplate:n,wrapEnvironmentTemplateCollection:a}=Vb.environmentTemplate,{wrapEnvironmentTemplateInstallationCollection:i}=Vb.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 r=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versionUpdate",params:{organizationId:t,environmentTemplateId:r.sys.id,version:r.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:r}=n,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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Ev);const s=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getMany",params:{organizationId:t,environmentTemplateId:s.sys.id,query:Cv({},nn({query:o}).params),spaceId:a,environmentId:r}}).then((t=>i(e,t)))},validate:function({spaceId:t,environmentId:n,version:a,takeover:i,changeSet:r}){const o=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"validate",params:{spaceId:t,version:a,environmentId:n,environmentTemplateId:o.sys.id},payload:Cv(Cv({},i&&{takeover:i}),r&&{changeSet:r})})},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 Rv=Oo(Dv);function zv(e,t){const n=Wf(sn(Ur(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=>zv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"delete",params:t(n)})}}}(e));return rn(n)}const Mv=wo(zv);function $v(e,t){delete t.internal_code;const n=Wf(sn(Ur(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=>$v(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return rn(n)}const Fv=wo($v);function qv(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 Lv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qv(Object(n),!0).forEach((function(t){Uv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uv(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 Bv(e,t){const n=sn(Ur(t)),a=function(e){const{wrapAppDefinition:t,wrapAppDefinitionCollection:n}=Vb.appDefinition,{wrapUser:a,wrapUserCollection:i}=Vb.user,{wrapOrganizationMembership:r,wrapOrganizationMembershipCollection:o}=Vb.organizationMembership,{wrapTeamMembership:s,wrapTeamMembershipCollection:c}=Vb.teamMembership,{wrapTeamSpaceMembership:p,wrapTeamSpaceMembershipCollection:l}=Vb.teamSpaceMembership,{wrapTeam:u,wrapTeamCollection:d}=Vb.team,{wrapSpaceMembership:m,wrapSpaceMembershipCollection:f}=Vb.spaceMembership,{wrapOrganizationInvitation:y}=Vb.organizationInvitation,{wrapAppUpload:v}=Vb.appUpload,{wrapAppSigningSecret:b}=Vb.appSigningSecret,{wrapAppEventSubscription:h}=Vb.appEventSubscription,{wrapAppKey:g,wrapAppKeyCollection:x}=Vb.appKey,{wrapAppDetails:w}=Vb.appDetails,{wrapAppAction:O,wrapAppActionCollection:j}=Vb.appAction,{wrapRoleCollection:I}=Vb.role,{wrapSpaceCollection:P}=Vb.space;return{getSpaces(t={}){const n=this.toPlainObject();return e({entityType:"Space",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:nn({query:t}).params}}).then((t=>P(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:nn({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=>r(e,t,n)))},getOrganizationMemberships(t={}){const n=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"getMany",params:Lv({organizationId:n.sys.id},t)}).then((t=>o(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:nn({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:nn({query:a}).params}}).then((t=>c(e,t))):e({entityType:"TeamMembership",action:"getManyForOrganization",params:{organizationId:i.sys.id,query:nn({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:nn({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:nn({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:nn({query:t}).params}}).then((t=>I(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:nn({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)))}}}(e);return rn(Wf(n,a))}const Nv=wo(Bv);function Wv(e,t){return rn(sn(Ur(t)))}function Kv(e,t,n){const a=Wf(sn(Ur(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=>Kv(e,n,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"delete",params:n(t)})}}}(e,n));return rn(a)}const Vv=wo(Kv);function Hv(e,t){return rn(Wf(sn(Ur(t)),{revoke:function(){return e({entityType:"PersonalAccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>Hv(e,t)))}}))}const Xv=wo(Hv);function Gv(e,t){return rn(Wf(sn(Ur(t)),{revoke:function(){return e({entityType:"AccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>Gv(e,t)))}}))}const Jv=wo(Gv);function Qv(e,t){return rn(Wf(sn(Ur(t)),{}))}const Yv=wo(Qv);function Zv(e,t){const n=Wf(sn(Ur(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=>Zv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"delete",params:t(n)})}}}(e));return rn(n)}const eb=wo(Zv),tb=["sys"];function nb(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=>ab(e,t)))},async update(){const n=t(this),a=this.toPlainObject(),{sys:i}=a,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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(a,tb);return e({entityType:"ScheduledAction",action:"update",params:n,payload:r}).then((t=>ab(e,t)))}}}function ab(e,t){return rn(Wf(sn(Ur(t)),nb(e)))}const ib=wo(ab);function rb(e,t){const n=sn(Ur(t)),a=function(e){const{wrapSpace:t}=Vb.space,{wrapEnvironment:n,wrapEnvironmentCollection:a}=Vb.environment,{wrapWebhook:i,wrapWebhookCollection:r}=Vb.webhook,{wrapRole:o,wrapRoleCollection:s}=Vb.role,{wrapUser:c,wrapUserCollection:p}=Vb.user,{wrapSpaceMember:l,wrapSpaceMemberCollection:u}=Vb.spaceMember,{wrapSpaceMembership:d,wrapSpaceMembershipCollection:m}=Vb.spaceMembership,{wrapTeamSpaceMembership:f,wrapTeamSpaceMembershipCollection:y}=Vb.teamSpaceMembership,{wrapTeamCollection:v}=Vb.team,{wrapApiKey:b,wrapApiKeyCollection:h}=Vb.apiKey,{wrapEnvironmentAlias:g,wrapEnvironmentAliasCollection:x}=Vb.environmentAlias,{wrapPreviewApiKey:w,wrapPreviewApiKeyCollection:O}=Vb.previewApiKey,{wrapScheduledAction:j,wrapScheduledActionCollection:I}=Vb.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 r=this.toPlainObject();return e({entityType:"Environment",action:"createWithId",params:{spaceId:r.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=>r(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=>o(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getMany",params:{spaceId:n.sys.id,query:nn({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=>o(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=>o(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:nn({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:nn({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:nn({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:nn({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:nn({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 rn(Wf(n,a))}const ob=wo(rb);function sb(e,t){return rn(sn(Ur(t)))}const cb=wo(sb);function pb(e,t){const n=Wf(sn(Ur(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=>pb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"delete",params:t(n)})}}}(e));return rn(n)}const lb=wo(pb);function ub(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 db(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ub(Object(n),!0).forEach((function(t){mb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ub(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mb(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 fb(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=>yb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"delete",params:db(db({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function yb(e,t){return rn(Wf(sn(Ur(t)),fb(e)))}const vb=wo(yb);function bb(e,t){const n=Wf(sn(Ur(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=>bb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"delete",params:t(n)})}}}(e));return rn(n)}const hb=wo(bb);function gb(e,t){const n=Wf(sn(Ur(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=>gb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"delete",params:t(n)})}}}(e));return rn(n)}const xb=wo(gb);function wb(e,t){const n=Wf(sn(Ur(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=>wb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"delete",params:t(n)})}}}(e));return rn(n)}const Ob=wo(wb);function jb(e,t){const n=Wf(sn(Ur(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 rn(n)}function Ib(e,t){return rn(Wf(sn(Ur(t)),{}))}const Pb=wo(Ib);function Tb(e,t){return rn(Wf(sn(Ur(t)),{}))}const Sb=wo(Tb);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 Eb(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){Ab(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 Ab(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 Cb(e,t){const n=Wf(sn(Ur(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=>Cb(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:Eb(Eb({},t(a)),{},{callId:n})})},getHealth:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getHealthStatus",params:t(n)})}}}(e));return rn(n)}const _b=wo(Cb);function Db(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 Rb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Db(Object(n),!0).forEach((function(t){zb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Db(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zb(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 Mb=function(e){return e.EntityPermission="entity_permission",e.WorkflowPermission="workflow_permission",e}({}),$b=function(e){return e.Edit="edit",e.Publish="publish",e.Delete="delete",e}({}),Fb=function(e){return e.Allow="allow",e.Deny="deny",e}({}),qb=function(e){return e.App="app",e.Email="email",e.Task="task",e}({});function Lb(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=>Ub(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"delete",params:Rb(Rb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Ub(e,t){return rn(Wf(sn(Ur(t)),Lb(e)))}const Bb=wo(Ub),Nb=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id}),Wb=e=>({sys:{id:e.sys.id},type:e.type,function:e.function});function Kb(e,t){const n=Wf(sn(Ur(t)),function(e){return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:Nb(t),headers:{},payload:Wb(t)}).then((t=>Kb(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"delete",params:Nb(t)})}}}(e));return rn(n)}const Vb={accessToken:Ne,appAction:ce,appActionCall:pe,appBundle:le,apiKey:se,appDefinition:ue,appInstallation:me,appUpload:ge,appDetails:de,appSignedRequest:fe,appSigningSecret:ye,appEventSubscription:ve,appKey:be,appAccessToken:he,asset:xe,assetKey:we,bulkAction:Oe,comment:je,concept:rt,conceptScheme:ot,contentType:Te,editorInterface:Ie,entry:Se,environment:Re,environmentAlias:ze,environmentTemplate:Me,environmentTemplateInstallation:De,extension:$e,locale:Fe,organization:qe,organizationInvitation:Le,organizationMembership:Ue,personalAccessToken:Be,previewApiKey:We,release:Ee,releaseAction:ke,resourceProvider:st,role:Ke,scheduledAction:Ve,snapshot:Pe,space:He,spaceMember:Xe,spaceMembership:Ge,tag:Ae,task:Je,team:Qe,teamMembership:Ye,teamSpaceMembership:Ze,uiConfig:Ce,upload:et,usage:tt,user:nt,userUIConfig:_e,webhook:at,workflowDefinition:it},Hb=["url"];function Xb(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 Gb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xb(Object(n),!0).forEach((function(t){Jb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jb(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 Qb=({makeRequest:e,defaults:t},n,a)=>(i,r,o)=>e({entityType:n,action:a,params:Gb(Gb({},t),i),payload:r,headers:o});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}const th=(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:Qb(n,"AppAction","get"),getMany:Qb(n,"AppAction","getMany"),getManyForEnvironment:Qb(n,"AppAction","getManyForEnvironment"),delete:Qb(n,"AppAction","delete"),create:Qb(n,"AppAction","create"),update:Qb(n,"AppAction","update")},appActionCall:{create:Qb(n,"AppActionCall","create"),getCallDetails:Qb(n,"AppActionCall","getCallDetails"),createWithResponse:Qb(n,"AppActionCall","createWithResponse")},appBundle:{get:Qb(n,"AppBundle","get"),getMany:Qb(n,"AppBundle","getMany"),delete:Qb(n,"AppBundle","delete"),create:Qb(n,"AppBundle","create")},appDetails:{upsert:Qb(n,"AppDetails","upsert"),get:Qb(n,"AppDetails","get"),delete:Qb(n,"AppDetails","delete")},appEventSubscription:{upsert:Qb(n,"AppEventSubscription","upsert"),get:Qb(n,"AppEventSubscription","get"),delete:Qb(n,"AppEventSubscription","delete")},appKey:{create:Qb(n,"AppKey","create"),get:Qb(n,"AppKey","get"),getMany:Qb(n,"AppKey","getMany"),delete:Qb(n,"AppKey","delete")},appSignedRequest:{create:Qb(n,"AppSignedRequest","create")},appSigningSecret:{upsert:Qb(n,"AppSigningSecret","upsert"),get:Qb(n,"AppSigningSecret","get"),delete:Qb(n,"AppSigningSecret","delete")},appAccessToken:{create:Qb(n,"AppAccessToken","create")},concept:{create:Qb(n,"Concept","create"),get:Qb(n,"Concept","get"),delete:Qb(n,"Concept","delete"),update:Qb(n,"Concept","update"),getMany:Qb(n,"Concept","getMany"),getDescendants:Qb(n,"Concept","getDescendants"),getAncestors:Qb(n,"Concept","getAncestors"),getTotal:Qb(n,"Concept","getTotal")},conceptScheme:{get:Qb(n,"ConceptScheme","get"),getMany:Qb(n,"ConceptScheme","getMany"),getTotal:Qb(n,"ConceptScheme","getTotal"),delete:Qb(n,"ConceptScheme","delete"),create:Qb(n,"ConceptScheme","create"),update:Qb(n,"ConceptScheme","update")},function:{getMany:Qb(n,"Function","getMany")},editorInterface:{get:Qb(n,"EditorInterface","get"),getMany:Qb(n,"EditorInterface","getMany"),update:Qb(n,"EditorInterface","update")},space:{get:Qb(n,"Space","get"),getMany:Qb(n,"Space","getMany"),getManyForOrganization:Qb(n,"Space","getManyForOrganization"),update:Qb(n,"Space","update"),delete:Qb(n,"Space","delete"),create:Qb(n,"Space","create")},environment:{get:Qb(n,"Environment","get"),getMany:Qb(n,"Environment","getMany"),create:Qb(n,"Environment","create"),createWithId:Qb(n,"Environment","createWithId"),update:Qb(n,"Environment","update"),delete:Qb(n,"Environment","delete")},environmentAlias:{get:Qb(n,"EnvironmentAlias","get"),getMany:Qb(n,"EnvironmentAlias","getMany"),createWithId:Qb(n,"EnvironmentAlias","createWithId"),update:Qb(n,"EnvironmentAlias","update"),delete:Qb(n,"EnvironmentAlias","delete")},environmentTemplate:{get:Qb(n,"EnvironmentTemplate","get"),getMany:Qb(n,"EnvironmentTemplate","getMany"),create:Qb(n,"EnvironmentTemplate","create"),versionUpdate:Qb(n,"EnvironmentTemplate","versionUpdate"),update:Qb(n,"EnvironmentTemplate","update"),install:Qb(n,"EnvironmentTemplate","install"),versions:Qb(n,"EnvironmentTemplate","versions"),validate:Qb(n,"EnvironmentTemplate","validate"),disconnect:Qb(n,"EnvironmentTemplate","disconnect"),delete:Qb(n,"EnvironmentTemplate","delete")},environmentTemplateInstallation:{getMany:Qb(n,"EnvironmentTemplateInstallation","getMany"),getForEnvironment:Qb(n,"EnvironmentTemplateInstallation","getForEnvironment")},bulkAction:{get:Qb(n,"BulkAction","get"),publish:Qb(n,"BulkAction","publish"),unpublish:Qb(n,"BulkAction","unpublish"),validate:Qb(n,"BulkAction","validate")},comment:{get:Qb(n,"Comment","get"),getMany:Qb(n,"Comment","getMany"),create:Qb(n,"Comment","create"),update:Qb(n,"Comment","update"),delete:Qb(n,"Comment","delete")},contentType:{get:Qb(n,"ContentType","get"),getMany:Qb(n,"ContentType","getMany"),update:Qb(n,"ContentType","update"),delete:Qb(n,"ContentType","delete"),publish:Qb(n,"ContentType","publish"),unpublish:Qb(n,"ContentType","unpublish"),create:Qb(n,"ContentType","create"),createWithId:Qb(n,"ContentType","createWithId"),omitAndDeleteField:(n,a,i)=>Xy(e,Zb(Zb({},Zb(Zb({},t),n)),{},{fieldId:i}),a)},user:{getManyForSpace:Qb(n,"User","getManyForSpace"),getForSpace:Qb(n,"User","getForSpace"),getCurrent:Qb(n,"User","getCurrent"),getForOrganization:Qb(n,"User","getForOrganization"),getManyForOrganization:Qb(n,"User","getManyForOrganization")},task:{get:Qb(n,"Task","get"),getMany:Qb(n,"Task","getMany"),create:Qb(n,"Task","create"),update:Qb(n,"Task","update"),delete:Qb(n,"Task","delete")},entry:{getPublished:Qb(n,"Entry","getPublished"),getMany:Qb(n,"Entry","getMany"),get:Qb(n,"Entry","get"),update:Qb(n,"Entry","update"),patch:Qb(n,"Entry","patch"),delete:Qb(n,"Entry","delete"),publish:Qb(n,"Entry","publish"),unpublish:Qb(n,"Entry","unpublish"),archive:Qb(n,"Entry","archive"),unarchive:Qb(n,"Entry","unarchive"),create:Qb(n,"Entry","create"),createWithId:Qb(n,"Entry","createWithId"),references:Qb(n,"Entry","references")},asset:{getPublished:Qb(n,"Asset","getPublished"),getMany:Qb(n,"Asset","getMany"),get:Qb(n,"Asset","get"),update:Qb(n,"Asset","update"),delete:Qb(n,"Asset","delete"),publish:Qb(n,"Asset","publish"),unpublish:Qb(n,"Asset","unpublish"),archive:Qb(n,"Asset","archive"),unarchive:Qb(n,"Asset","unarchive"),create:Qb(n,"Asset","create"),createWithId:Qb(n,"Asset","createWithId"),createFromFiles:Qb(n,"Asset","createFromFiles"),processForAllLocales:(n,a,i)=>e({entityType:"Asset",action:"processForAllLocales",params:Zb(Zb({},Zb(Zb({},t),n)),{},{options:i,asset:a})}),processForLocale:(n,a,i,r)=>e({entityType:"Asset",action:"processForLocale",params:Zb(Zb({},Zb(Zb({},t),n)),{},{locale:i,asset:a,options:r})})},appUpload:{get:Qb(n,"AppUpload","get"),delete:Qb(n,"AppUpload","delete"),create:Qb(n,"AppUpload","create")},assetKey:{create:Qb(n,"AssetKey","create")},upload:{get:Qb(n,"Upload","get"),create:Qb(n,"Upload","create"),delete:Qb(n,"Upload","delete")},locale:{get:Qb(n,"Locale","get"),getMany:Qb(n,"Locale","getMany"),delete:Qb(n,"Locale","delete"),update:Qb(n,"Locale","update"),create:Qb(n,"Locale","create")},personalAccessToken:{get:Qb(n,"PersonalAccessToken","get"),getMany:Qb(n,"PersonalAccessToken","getMany"),create:(t,n)=>e({entityType:"PersonalAccessToken",action:"create",params:{},headers:n,payload:t}),revoke:Qb(n,"PersonalAccessToken","revoke")},accessToken:{get:Qb(n,"AccessToken","get"),getMany:Qb(n,"AccessToken","getMany"),createPersonalAccessToken:(t,n)=>e({entityType:"AccessToken",action:"createPersonalAccessToken",params:{},headers:n,payload:t}),revoke:Qb(n,"AccessToken","revoke"),getManyForOrganization:Qb(n,"AccessToken","getManyForOrganization")},usage:{getManyForSpace:Qb(n,"Usage","getManyForSpace"),getManyForOrganization:Qb(n,"Usage","getManyForOrganization")},release:{archive:Qb(n,"Release","archive"),get:Qb(n,"Release","get"),query:Qb(n,"Release","query"),create:Qb(n,"Release","create"),update:Qb(n,"Release","update"),delete:Qb(n,"Release","delete"),publish:Qb(n,"Release","publish"),unarchive:Qb(n,"Release","unarchive"),unpublish:Qb(n,"Release","unpublish"),validate:Qb(n,"Release","validate")},releaseAction:{get:Qb(n,"ReleaseAction","get"),getMany:Qb(n,"ReleaseAction","getMany"),queryForRelease:Qb(n,"ReleaseAction","queryForRelease")},role:{get:Qb(n,"Role","get"),getMany:Qb(n,"Role","getMany"),getManyForOrganization:Qb(n,"Role","getManyForOrganization"),create:Qb(n,"Role","create"),createWithId:Qb(n,"Role","createWithId"),update:Qb(n,"Role","update"),delete:Qb(n,"Role","delete")},scheduledActions:{get:Qb(n,"ScheduledAction","get"),getMany:Qb(n,"ScheduledAction","getMany"),create:Qb(n,"ScheduledAction","create"),delete:Qb(n,"ScheduledAction","delete"),update:Qb(n,"ScheduledAction","update")},previewApiKey:{get:Qb(n,"PreviewApiKey","get"),getMany:Qb(n,"PreviewApiKey","getMany")},apiKey:{get:Qb(n,"ApiKey","get"),getMany:Qb(n,"ApiKey","getMany"),create:Qb(n,"ApiKey","create"),createWithId:Qb(n,"ApiKey","createWithId"),update:Qb(n,"ApiKey","update"),delete:Qb(n,"ApiKey","delete")},appDefinition:{get:Qb(n,"AppDefinition","get"),getMany:Qb(n,"AppDefinition","getMany"),create:Qb(n,"AppDefinition","create"),update:Qb(n,"AppDefinition","update"),delete:Qb(n,"AppDefinition","delete"),getInstallationsForOrg:Qb(n,"AppDefinition","getInstallationsForOrg")},appInstallation:{get:Qb(n,"AppInstallation","get"),getMany:Qb(n,"AppInstallation","getMany"),getForOrganization:Qb(n,"AppInstallation","getForOrganization"),upsert:Qb(n,"AppInstallation","upsert"),delete:Qb(n,"AppInstallation","delete")},resourceProvider:{get:Qb(n,"ResourceProvider","get"),upsert:Qb(n,"ResourceProvider","upsert"),delete:Qb(n,"ResourceProvider","delete")},extension:{get:Qb(n,"Extension","get"),getMany:Qb(n,"Extension","getMany"),create:Qb(n,"Extension","create"),createWithId:Qb(n,"Extension","createWithId"),update:Qb(n,"Extension","update"),delete:Qb(n,"Extension","delete")},webhook:{get:Qb(n,"Webhook","get"),getMany:Qb(n,"Webhook","getMany"),getHealthStatus:Qb(n,"Webhook","getHealthStatus"),getCallDetails:Qb(n,"Webhook","getCallDetails"),getSigningSecret:Qb(n,"Webhook","getSigningSecret"),getRetryPolicy:Qb(n,"Webhook","getRetryPolicy"),getManyCallDetails:Qb(n,"Webhook","getManyCallDetails"),create:Qb(n,"Webhook","create"),update:Qb(n,"Webhook","update"),upsertSigningSecret:Qb(n,"Webhook","upsertSigningSecret"),upsertRetryPolicy:Qb(n,"Webhook","upsertRetryPolicy"),delete:Qb(n,"Webhook","delete"),deleteSigningSecret:Qb(n,"Webhook","deleteSigningSecret"),deleteRetryPolicy:Qb(n,"Webhook","deleteRetryPolicy")},snapshot:{getManyForEntry:Qb(n,"Snapshot","getManyForEntry"),getForEntry:Qb(n,"Snapshot","getForEntry"),getManyForContentType:Qb(n,"Snapshot","getManyForContentType"),getForContentType:Qb(n,"Snapshot","getForContentType")},tag:{get:Qb(n,"Tag","get"),getMany:Qb(n,"Tag","getMany"),createWithId:Qb(n,"Tag","createWithId"),update:Qb(n,"Tag","update"),delete:Qb(n,"Tag","delete")},organization:{getAll:Qb(n,"Organization","getMany"),get:Qb(n,"Organization","get")},organizationInvitation:{get:Qb(n,"OrganizationInvitation","get"),create:Qb(n,"OrganizationInvitation","create")},organizationMembership:{get:Qb(n,"OrganizationMembership","get"),getMany:Qb(n,"OrganizationMembership","getMany"),update:Qb(n,"OrganizationMembership","update"),delete:Qb(n,"OrganizationMembership","delete")},spaceMember:{get:Qb(n,"SpaceMember","get"),getMany:Qb(n,"SpaceMember","getMany")},spaceMembership:{get:Qb(n,"SpaceMembership","get"),getMany:Qb(n,"SpaceMembership","getMany"),getForOrganization:Qb(n,"SpaceMembership","getForOrganization"),getManyForOrganization:Qb(n,"SpaceMembership","getManyForOrganization"),create:Qb(n,"SpaceMembership","create"),createWithId:Qb(n,"SpaceMembership","createWithId"),update:Qb(n,"SpaceMembership","update"),delete:Qb(n,"SpaceMembership","delete")},team:{get:Qb(n,"Team","get"),getMany:Qb(n,"Team","getMany"),getManyForSpace:Qb(n,"Team","getManyForSpace"),create:Qb(n,"Team","create"),update:Qb(n,"Team","update"),delete:Qb(n,"Team","delete")},teamMembership:{get:Qb(n,"TeamMembership","get"),getManyForOrganization:Qb(n,"TeamMembership","getManyForOrganization"),getManyForTeam:Qb(n,"TeamMembership","getManyForTeam"),create:Qb(n,"TeamMembership","create"),update:Qb(n,"TeamMembership","update"),delete:Qb(n,"TeamMembership","delete")},teamSpaceMembership:{get:Qb(n,"TeamSpaceMembership","get"),getMany:Qb(n,"TeamSpaceMembership","getMany"),getForOrganization:Qb(n,"TeamSpaceMembership","getForOrganization"),getManyForOrganization:Qb(n,"TeamSpaceMembership","getManyForOrganization"),create:Qb(n,"TeamSpaceMembership","create"),update:Qb(n,"TeamSpaceMembership","update"),delete:Qb(n,"TeamSpaceMembership","delete")},uiConfig:{get:Qb(n,"UIConfig","get"),update:Qb(n,"UIConfig","update")},userUIConfig:{get:Qb(n,"UserUIConfig","get"),update:Qb(n,"UserUIConfig","update")},workflowDefinition:{get:Qb(n,"WorkflowDefinition","get"),getMany:Qb(n,"WorkflowDefinition","getMany"),create:Qb(n,"WorkflowDefinition","create"),update:Qb(n,"WorkflowDefinition","update"),delete:Qb(n,"WorkflowDefinition","delete")},workflow:{getMany:Qb(n,"Workflow","getMany"),create:Qb(n,"Workflow","create"),update:Qb(n,"Workflow","update"),delete:Qb(n,"Workflow","delete"),complete:Qb(n,"Workflow","complete")},workflowsChangelog:{getMany:Qb(n,"WorkflowsChangelog","getMany")}}};let nh=function(e){return e.BUILTIN="builtin",e.EXTENSION="extension",e.SIDEBAR_BUILTIN="sidebar-builtin",e.APP="app",e.EDITOR_BUILTIN="editor-builtin",e}({});const ah={widgetId:"publication-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Publish & Status",description:"Built-in - View entry status, publish, etc."},ih={widgetId:"releases-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Release",description:"Built-in - View release, add to it, etc."},rh={widgetId:"content-preview-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Preview",description:"Built-in - Displays preview functionality."},oh={widgetId:"incoming-links-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Links",description:"Built-in - Shows where an entry is linked."},sh={widgetId:"translation-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Translation",description:"Built-in - Manage which translations are visible."},ch={widgetId:"versions-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Versions",description:"Built-in - View previously published versions. Available only for master environment."},ph={widgetId:"users-widget",widgetNamespace:nh.SIDEBAR_BUILTIN,name:"Users",description:"Built-in - Displays users on the same entry."},lh=[ah,ih,rh,oh,sh,ch,ph],uh=[ah,ih,oh,sh,ph],dh="Editor",mh="References",fh="reference-tree",yh="Tags",vh="tags-editor",bh=[{widgetId:"default-editor",widgetNamespace:nh.EDITOR_BUILTIN,name:dh},{widgetId:fh,widgetNamespace:nh.EDITOR_BUILTIN,name:mh},{widgetId:vh,widgetNamespace:nh.EDITOR_BUILTIN,name:yh}];function hh(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 gh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hh(Object(n),!0).forEach((function(t){xh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xh(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 wh=["Text","Symbol","Integer","Number","Boolean"],Oh={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"}}},jh=Object.keys(Oh),Ih={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"}},Ph={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}},Th={SidebarEntryConfiguration:lh,SidebarAssetConfiguration:uh,EntryConfiguration:bh,getDefaultControlOfField:function(e){const t=(n=e,jh.find((e=>{const t=Oh[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))&&wh.includes(t)?{widgetId:"dropdown",fieldId:e.id,widgetNamespace:"builtin"}:function(e,t){const n=gh(gh({},Ih[e]),{},{settings:{helpText:null},widgetNamespace:"builtin",fieldId:t});return e in Ph&&(n.settings=gh(gh({},n.settings),Ph[e])),n}(t,e.id)}};function Sh(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?Sh(Object(n),!0).forEach((function(t){Eh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sh(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}const Ah=(e,t)=>({[Symbol.asyncIterator](){let n=Ur(t);const a=()=>e(Ur(n));let i=a();return{current:0,async next(){const{total:e=0,items:t=[],skip:r=0,limit:o=100}=await i;if(e===this.current)return{done:!0,value:null};const s=t[this.current++-r],c=this.current%o==0,p=this.current===e;return c&&!p&&(n=kh(kh({},n),{},{query:kh(kh({},n.query),{},{skip:r+o})}),i=a()),{done:!1,value:s}}}}});function Ch(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 _h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ch(Object(n),!0).forEach((function(t){Dh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ch(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dh(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 Rh(e,t){const n=await e(_h({},t));if("total"in n){const{total:i,limit:r,items:o}=n;if(!(i>o.length))return o;const s=Math.ceil(i/r),c=(a=s,Array.from(Array(Math.abs(a-1)),((e,t)=>1+t))).map((n=>e(_h(_h({},t),{},{query:_h(_h({},t.query),{},{limit:r,skip:n*r})})).then((e=>e.items)))),p=await Promise.all(c);return[...o,...p.flat(1)]}var a;if("pages"in n){const{pages:a,items:i}=n;if(!a.next)return i;const r=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(!r)throw new Error('Missing "pageNext" query param from pages.next from response.');return[...i,...await Rh(e,_h(_h({},t),{},{query:_h(_h({},t.query),{},{pageNext:r})}))]}throw new Error('Can not determine collection type of response, neither property "total" nor "pages" are present.')}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 Mh(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){$h(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 $h(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 Fh(e,t={}){const n=function(e,t,n,a){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),a&&i.push("feature "+a),i.push("sdk ".concat(e));var r=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(r=on(),i.push("platform ReactNative")):"undefined"==typeof process||process.browser?(r=on(),i.push("platform browser")):(r=function(){var e=process.platform||"linux",t=process.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?"".concat(n[e]||"Linux","/").concat(t):null}(),i.push("platform node.js/".concat(process.versions&&process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){r=null}return r&&i.push("os ".concat(r)),"".concat(i.filter((function(e){return""!==e})).join("; "),";")}(("plain"===t.type?"contentful-management-plain.js":"contentful-management.js")+"/11.33.0",e.application,e.integration,e.feature),a=function(e){return"apiAdapter"in e?e.apiAdapter:new Nf(e)}(Mh(Mh({},e),{},{userAgent:n})),i=e=>a.makeRequest(Mh(Mh({},e),{},{userAgent:n}));return"plain"===t.type?th(i,t.defaults):function(e){const{wrapSpace:t,wrapSpaceCollection:n}=Vb.space,{wrapUser:a}=Vb.user,{wrapPersonalAccessToken:i,wrapPersonalAccessTokenCollection:r}=Vb.personalAccessToken,{wrapAccessToken:o,wrapAccessTokenCollection:s}=Vb.accessToken,{wrapOrganization:c,wrapOrganizationCollection:p}=Vb.organization,{wrapUsageCollection:l}=Vb.usage,{wrapAppDefinition:u}=Vb.appDefinition,{wrapEnvironmentTemplate:d,wrapEnvironmentTemplateCollection:m}=Vb.environmentTemplate;return{getEnvironmentTemplates:function(t,n={}){return e({entityType:"EnvironmentTemplate",action:"getMany",params:{organizationId:t,query:nn({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:nn({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:nn({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:nn({query:t}).params}}).then((t=>p(e,t)))},getCurrentUser:function(t){return e({entityType:"User",action:"getCurrent",params:t}).then((t=>a(e,t)))},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=>r(e,t)))},getAccessToken:function(t){return e({entityType:"AccessToken",action:"get",params:{tokenId:t}}).then((t=>o(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Hb);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,r){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=function(e,t,n,i){return 2==e.length?e(n,a(i)):e(n,t,a(i))}(t,o,e[o],(function(e,t){o in n.jobs&&(delete n.jobs[o],e?i(n):n.results[o]=t,r(e,n.results))}))}},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),r=n(9712);e.exports=function(e,t,n){for(var o=i(e);o.index<(o.keyedList||e).length;)a(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return r.bind(o,n)}},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),r=n(9712);function o(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,o){var s=i(e,n);return a(e,t,s,(function n(i,r){i?o(i,r):(s.index++,s.index<(s.keyedList||e).length?a(e,t,s,n):o(null,s.results))})),r.bind(s,o)},e.exports.ascending=o,e.exports.descending=function(e,t){return-1*o(e,t)}},9343:(e,t,n)=>{"use strict";var a=n(8897),i=n(8179),r=i(a("String.prototype.indexOf"));e.exports=function(e,t){var n=a(e,!!t);return"function"==typeof n&&r(e,".prototype.")>-1?i(n):n}},8179:(e,t,n)=>{"use strict";var a=n(4499),i=n(8897),r=n(8973),o=n(1711),s=i("%Function.prototype.apply%"),c=i("%Function.prototype.call%"),p=i("%Reflect.apply%",!0)||a.call(c,s),l=n(7539),u=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new o("a function is required");var t=p(a,c,arguments);return r(t,1+u(0,e.length-(arguments.length-1)),!0)};var d=function(){return p(a,s,arguments)};l?l(e.exports,"apply",{value:d}):e.exports.apply=d},5645:(e,t,n)=>{var a=n(9023),i=n(2203).Stream,r=n(4145);function o(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=o,a.inherits(o,i),o.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},o.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},o.prototype.append=function(e){if(o.isStreamLike(e)){if(!(e instanceof r)){var t=r.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},o.prototype.pipe=function(e,t){return i.prototype.pipe.call(this,e,t),this.resume(),e},o.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},o.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){o.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},o.prototype._pipeNext=function(e){if(this._currentStream=e,o.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},o.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},o.prototype.write=function(e){this.emit("data",e)},o.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},o.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},o.prototype.end=function(){this._reset(),this.emit("end")},o.prototype.destroy=function(){this._reset(),this.emit("close")},o.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},o.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},o.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},o.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1020: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}},9780:(e,t,n)=>{"use strict";var a=n(8889),i=n(7735),r=n(1020);e.exports={formats:r,parse:i,stringify:a}},7735:(e,t,n)=>{"use strict";var a=n(4285),i=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:a.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},p=function(e,t,n,a){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(r),p=s?r.slice(0,s.index):r,l=[];if(p){if(!n.plainObjects&&i.call(Object.prototype,p)&&!n.allowPrototypes)return;l.push(p)}for(var u=0;n.depth>0&&null!==(s=o.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+r.slice(s.index)+"]"),function(e,t,n,a){for(var i=a?t:c(t,n),r=e.length-1;r>=0;--r){var o,s=e[r];if("[]"===s&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var p="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(p,10);n.parseArrays||""!==p?!isNaN(l)&&s!==p&&String(l)===p&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(o=[])[l]=i:"__proto__"!==p&&(o[p]=i):o={0:i}}i=o}return i}(l,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return o;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");var t=void 0===e.charset?o.charset:e.charset;return{allowDots:void 0===e.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||a.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,p={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,u),m=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?f="utf-8":"utf8=%26%2310003%3B"===d[n]&&(f="iso-8859-1"),m=n,n=d.length);for(n=0;n<d.length;++n)if(n!==m){var y,v,b=d[n],h=b.indexOf("]="),g=-1===h?b.indexOf("="):h+1;-1===g?(y=t.decoder(b,o.decoder,f,"key"),v=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,g),o.decoder,f,"key"),v=a.maybeMap(c(b.slice(g+1),t),(function(e){return t.decoder(e,o.decoder,f,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===f&&(v=s(v)),b.indexOf("[]=")>-1&&(v=r(v)?[v]:v),i.call(p,y)?p[y]=a.combine(p[y],v):p[y]=v}return p}(e,n):e,u=n.plainObjects?Object.create(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)}},8889:(e,t,n)=>{"use strict";var a=n(588),i=n(4285),r=n(1020),o=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=r.default,m={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:r.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f={},y=function e(t,n,r,o,s,p,u,d,y,v,b,h,g,x,w,O){for(var j,I=t,P=O,T=0,S=!1;void 0!==(P=P.get(f))&&!S;){var k=P.get(t);if(T+=1,void 0!==k){if(k===T)throw new RangeError("Cyclic object value");S=!0}void 0===P.get(f)&&(T=0)}if("function"==typeof d?I=d(n,I):I instanceof Date?I=b(I):"comma"===r&&c(I)&&(I=i.maybeMap(I,(function(e){return e instanceof Date?b(e):e}))),null===I){if(s)return u&&!x?u(n,m.encoder,w,"key",h):n;I=""}if("string"==typeof(j=I)||"number"==typeof j||"boolean"==typeof j||"symbol"==typeof j||"bigint"==typeof j||i.isBuffer(I))return u?[g(x?n:u(n,m.encoder,w,"key",h))+"="+g(u(I,m.encoder,w,"value",h))]:[g(n)+"="+g(String(I))];var E,A=[];if(void 0===I)return A;if("comma"===r&&c(I))x&&u&&(I=i.maybeMap(I,u)),E=[{value:I.length>0?I.join(",")||null:void 0}];else if(c(d))E=d;else{var C=Object.keys(I);E=y?C.sort(y):C}for(var _=o&&c(I)&&1===I.length?n+"[]":n,R=0;R<E.length;++R){var D=E[R],z="object"==typeof D&&void 0!==D.value?D.value:I[D];if(!p||null!==z){var M=c(I)?"function"==typeof r?r(_,D):_:_+(v?"."+D:"["+D+"]");O.set(t,T);var $=a();$.set(f,O),l(A,e(z,M,r,o,s,p,"comma"===r&&x&&c(I)?null:u,d,y,v,b,h,g,x,w,$))}}return A};e.exports=function(e,t){var n,i=e,p=function(e){if(!e)return m;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=r.default;if(void 0!==e.format){if(!o.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=r.formatters[n],i=m.filter;return("function"==typeof e.filter||c(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:void 0===e.allowDots?m.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,delimiter:void 0===e.delimiter?m.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:m.encode,encoder:"function"==typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:i,format:n,formatter:a,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,d=[];if("object"!=typeof i||null===i)return"";u=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=s[u];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===f&&t&&t.commaRoundTrip;n||(n=Object.keys(i)),p.sort&&n.sort(p.sort);for(var b=a(),h=0;h<n.length;++h){var g=n[h];p.skipNulls&&null===i[g]||l(d,y(i[g],g,f,v,p.strictNullHandling,p.skipNulls,p.encode?p.encoder:null,p.filter,p.sort,p.allowDots,p.serializeDate,p.format,p.formatter,p.encodeValuesOnly,p.charset,b))}var x=d.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:""}},4285:(e,t,n)=>{"use strict";var a=n(1020),i=Object.prototype.hasOwnProperty,r=Array.isArray,o=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?Object.create(null):{},a=0;a<e.length;++a)void 0!==e[a]&&(n[a]=e[a]);return n};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],o=i.obj[i.prop],s=Object.keys(o),c=0;c<s.length;++c){var p=s[c],l=o[p];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:o,prop:p}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(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,r){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 c="",p=0;p<s.length;++p){var l=s.charCodeAt(p);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===a.RFC1738&&(40===l||41===l)?c+=s.charAt(p):l<128?c+=o[l]:l<2048?c+=o[192|l>>6]+o[128|63&l]:l<55296||l>=57344?c+=o[224|l>>12]+o[128|l>>6&63]+o[128|63&l]:(p+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(p)),c+=o[240|l>>18]+o[128|l>>12&63]+o[128|l>>6&63]+o[128|63&l])}return c},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(r(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){if(r(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 o=t;return r(t)&&!r(n)&&(o=s(t,a)),r(t)&&r(n)?(n.forEach((function(n,r){if(i.call(t,r)){var o=t[r];o&&"object"==typeof o&&n&&"object"==typeof n?t[r]=e(o,n,a):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var o=n[r];return i.call(t,r)?t[r]=e(t[r],o,a):t[r]=o,t}),o)}}},3156:e=>{var t=1e3,n=60*t,a=60*n,i=24*a,r=7*i;function o(e,t,n,a){var i=t>=1.5*n;return Math.round(e/n)+" "+a+(i?"s":"")}e.exports=function(e,s){s=s||{};var c,p,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var o=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*r;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===l&&isFinite(e))return s.long?(c=e,(p=Math.abs(c))>=i?o(c,p,i,"day"):p>=a?o(c,p,a,"hour"):p>=n?o(c,p,n,"minute"):p>=t?o(c,p,t,"second"):c+" ms"):function(e){var r=Math.abs(e);return r>=i?Math.round(e/i)+"d":r>=a?Math.round(e/a)+"h":r>=n?Math.round(e/n)+"m":r>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},7989:(e,t,n)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":a(console))&&console.log&&(e=console).log.apply(e,arguments)},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){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var a=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(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(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.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"],e.exports=n(1236)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1236:(e,t,n)=>{"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return a.colors[Math.abs(t)%a.colors.length]}function a(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var r=o,s=Number(new Date),c=s-(n||s);r.diff=c,r.prev=n,r.curr=s,n=s,t[0]=a.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var p=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;p++;var i=a.formatters[n];if("function"==typeof i){var o=t[p];e=i.call(r,o),t.splice(p,1),p--}return e})),a.formatArgs.call(r,t),(r.log||a.log).apply(r,t)}}return o.namespace=e,o.enabled=a.enabled(e),o.useColors=a.useColors(),o.color=t(e),o.destroy=i,o.extend=r,"function"==typeof a.init&&a.init(o),a.instances.push(o),o}function i(){var e=a.instances.indexOf(this);return-1!==e&&(a.instances.splice(e,1),!0)}function r(e,t){return a(this.namespace+(void 0===t?":":t)+e)}return a.debug=a,a.default=a,a.coerce=function(e){return e instanceof Error?e.stack||e.message:e},a.disable=function(){a.enable("")},a.enable=function(e){var t;a.save(e),a.names=[],a.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+e.substr(1)+"$")):a.names.push(new RegExp("^"+e+"$")));for(t=0;t<a.instances.length;t++){var r=a.instances[t];r.enabled=a.enabled(r.namespace)}},a.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=a.skips.length;t<n;t++)if(a.skips[t].test(e))return!1;for(t=0,n=a.names.length;t<n;t++)if(a.names[t].test(e))return!0;return!1},a.humanize=n(3156),Object.keys(e).forEach((function(t){a[t]=e[t]})),a.instances=[],a.names=[],a.skips=[],a.formatters={},a.selectColor=t,a.enable(a.load()),a}},9221:(e,t,n)=>{"use strict";"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(7989):e.exports=n(6221)},6221:(e,t,n)=>{"use strict";var a=n(2018),i=n(9023);t.init=function(e){e.inspectOpts={};for(var n=Object.keys(t.inspectOpts),a=0;a<n.length;a++)e.inspectOpts[n[a]]=t.inspectOpts[n[a]]},t.log=function(){return process.stderr.write(i.format.apply(i,arguments)+"\n")},t.formatArgs=function(n){var a=this.namespace;if(this.useColors){var i=this.color,r="[3"+(i<8?i:"8;5;"+i),o=" ".concat(r,";1m").concat(a," [0m");n[0]=o+n[0].split("\n").join("\n"+o),n.push(r+"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.colors=[6,2,3,4,5,1];try{var r=n(459);r&&(r.stderr||r).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((function(e){return/^debug_/i.test(e)})).reduce((function(e,t){var n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(e,t){return t.toUpperCase()})),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);var o=e.exports.formatters;o.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((function(e){return e.trim()})).join(" ")},o.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},9381:(e,t,n)=>{"use strict";var a=n(7539),i=n(6296),r=n(1711),o=n(1399);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new r("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,p=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],u=!!o&&o(e,t);if(a)a(e,t,{configurable:null===p&&u?u.configurable:!p,enumerable:null===s&&u?u.enumerable:!s,value:n,writable:null===c&&u?u.writable:!c});else{if(!l&&(s||c||p))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},4145:(e,t,n)=>{var a=n(2203).Stream,i=n(9023);function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=r,i.inherits(r,a),r.create=function(e,t){var n=new this;for(var a in t=t||{})n[a]=t[a];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=a.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},7539:(e,t,n)=>{"use strict";var a=n(8897)("%Object.defineProperty%",!0)||!1;if(a)try{a({},"a",{value:1})}catch(e){a=!1}e.exports=a},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},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=n(7016),i=a.URL,r=n(8611),o=n(5692),s=n(2203).Writable,c=n(2613),p=n(1615),l=!1;try{c(new i)}catch(e){l="ERR_INVALID_URL"===e.code}var u=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],d=["abort","aborted","connect","error","socket","timeout"],m=Object.create(null);d.forEach((function(e){m[e]=function(t,n,a){this._redirectable.emit(e,t,n,a)}}));var f=S("ERR_INVALID_URL","Invalid URL",TypeError),y=S("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),v=S("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",y),b=S("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),h=S("ERR_STREAM_WRITE_AFTER_END","write after end"),g=s.prototype.destroy||O;function x(e,t){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof y?e:new y({cause:e}))}},this._performRequest()}function w(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(a){var r=a+":",o=n[r]=e[a],s=t[a]=Object.create(o);Object.defineProperties(s,{request:{value:function(e,a,o){return i&&e instanceof i?e=P(e):E(e)?e=P(j(e)):(o=a,a=I(e),e={protocol:r}),A(a)&&(o=a,a=null),(a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,a)).nativeProtocols=n,E(a.host)||E(a.hostname)||(a.hostname="::1"),c.equal(a.protocol,r,"protocol mismatch"),p("options",a),new x(a,o)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var a=s.request(e,t,n);return a.end(),a},configurable:!0,enumerable:!0,writable:!0}})})),t}function O(){}function j(e){var t;if(l)t=new i(e);else if(!E((t=I(a.parse(e))).protocol))throw new f({input:e});return t}function I(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new f({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new f({input:e.href||e});return e}function P(e,t){var n=t||{};for(var a of u)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 T(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 S(e,t,n){function a(n){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 k(e,t){for(var n of d)e.removeListener(n,m[n]);e.on("error",O),e.destroy(t)}function E(e){return"string"==typeof e||e instanceof String}function A(e){return"function"==typeof e}x.prototype=Object.create(s.prototype),x.prototype.abort=function(){k(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},x.prototype.destroy=function(e){return k(this._currentRequest,e),g.call(this,e),this},x.prototype.write=function(e,t,n){if(this._ending)throw new h;if(!(E(e)||"object"==typeof(a=e)&&"length"in a))throw new TypeError("data should be a string, Buffer or Uint8Array");var a;A(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new b),this.abort()):n&&n()},x.prototype.end=function(e,t,n){if(A(e)?(n=e,e=t=null):A(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)},x.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},x.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},x.prototype.setTimeout=function(e,t){var n=this;function a(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function i(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),r()}),e),a(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",a),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){x.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._currentRequest[e]}})})),x.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))}},x.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var r of(i._redirectable=this,d))i.on(r,m[r]);if(this._currentUrl=/^\//.test(this._options.path)?a.format(this._options):this._options.path,this._isRedirect){var o=0,s=this,c=this._requestBodyBuffers;!function e(t){if(i===s._currentRequest)if(t)s.emit("error",t);else if(o<c.length){var n=c[o++];i.finished||i.write(n.data,n.encoding,e)}else s._ended&&i.end()}()}},x.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,r=e.headers.location;if(!r||!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(k(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new v;var o=this._options.beforeRedirect;o&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],T(/^content-/i,this._options.headers));var u,d,m=T(/^host$/i,this._options.headers),f=j(this._currentUrl),y=m||f.host,b=/^\w+:/.test(r)?this._currentUrl:a.format(Object.assign(f,{host:y})),h=(u=r,d=b,l?new i(u,d):j(a.resolve(d,u)));if(p("redirecting to",h.href),this._isRedirect=!0,P(h,this._options),(h.protocol!==f.protocol&&"https:"!==h.protocol||h.host!==y&&!function(e,t){c(E(e)&&E(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(h.host,y))&&T(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),A(o)){var g={headers:e.headers,statusCode:t},x={url:b,method:s,headers:n};o(this._options,g,x),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=w({http:r,https:o}),e.exports.wrap=w},2925:(e,t,n)=>{var a=n(5645),i=n(9023),r=n(6928),o=n(8611),s=n(5692),c=n(7016).parse,p=n(9896),l=n(2203).Stream,u=n(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 r=a.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),i.isArray(t))this._error(new Error("Arrays are not supported."));else{var o=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(o),r(t),r(s),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),r=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&m(s,n.header),s)s.hasOwnProperty(c)&&null!=(a=s[c])&&(Array.isArray(a)||(a=[a]),a.length&&(o+=c+": "+a.join("; ")+f.LINE_BREAK));return"--"+this.getBoundary()+f.LINE_BREAK+o+f.LINE_BREAK},f.prototype._getContentDisposition=function(e,t){var n,a;return"string"==typeof t.filepath?n=r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=r.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=r.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):o.request(a),this.getLength(function(e,a){if(e&&"Unknown stream"!==e)this._error(e);else if(a&&n.setHeader("Content-Length",a),this.pipe(n),t){var i,r=function(e,a){return n.removeListener("error",r),n.removeListener("response",i),t.call(this,e,a)};i=r.bind(this,null),n.on("error",r),n.on("response",i)}}.bind(this)),n},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 r,o=function(e){for(var t=[],n=1,a=0;n<e.length;n+=1,a+=1)t[a]=e[n];return t}(arguments),s=n(0,i.length-o.length),c=[],p=0;p<s;p++)c[p]="$"+p;if(r=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var t=i.apply(this,a(o,arguments));return Object(t)===t?t:this}return i.apply(e,a(o,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,r.prototype=new l,l.prototype=null}return r}},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(219),r=n(3841),o=n(6190),s=n(3950),c=n(6296),p=n(1711),l=n(3221),u=Function,d=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(e){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(e){m=null}var f=function(){throw new p},y=m?function(){try{return f}catch(e){try{return m(arguments,"callee").get}catch(e){return f}}}():f,v=n(4923)(),b=n(9372)(),h=Object.getPrototypeOf||(b?function(e){return e.__proto__}:null),g={},x="undefined"!=typeof Uint8Array&&h?h(Uint8Array):a,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":v&&h?h([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%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%":i,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":g,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&h?h(h([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&v&&h?h((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&v&&h?h((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&h?h(""[Symbol.iterator]()):a,"%Symbol%":v?Symbol:a,"%SyntaxError%":c,"%ThrowTypeError%":y,"%TypedArray%":x,"%TypeError%":p,"%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%":l,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet};if(h)try{null.error}catch(e){var O=h(h(e));w["%Error.prototype%"]=O}var j=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&h&&(n=h(i.prototype))}return w[t]=n,n},I={__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"]},P=n(4499),T=n(4313),S=P.call(Function.call,Array.prototype.concat),k=P.call(Function.apply,Array.prototype.splice),E=P.call(Function.call,String.prototype.replace),A=P.call(Function.call,String.prototype.slice),C=P.call(Function.call,RegExp.prototype.exec),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,D=function(e,t){var n,a=e;if(T(I,a)&&(a="%"+(n=I[a])[0]+"%"),T(w,a)){var i=w[a];if(i===g&&(i=j(a)),void 0===i&&!t)throw new p("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:i}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new p("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new p('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=A(e,0,1),n=A(e,-1);if("%"===t&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var a=[];return E(e,_,(function(e,t,n,i){a[a.length]=n?E(i,R,"$1"):t||e})),a}(e),a=n.length>0?n[0]:"",i=D("%"+a+"%",t),r=i.name,o=i.value,s=!1,l=i.alias;l&&(a=l[0],k(n,S([0,1],l)));for(var u=1,d=!0;u<n.length;u+=1){var f=n[u],y=A(f,0,1),v=A(f,-1);if(('"'===y||"'"===y||"`"===y||'"'===v||"'"===v||"`"===v)&&y!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==f&&d||(s=!0),T(w,r="%"+(a+="."+f)+"%"))o=w[r];else if(null!=o){if(!(f in o)){if(!t)throw new p("base intrinsic for "+e+" exists, but the property is not available.");return}if(m&&u+1>=n.length){var b=m(o,f);o=(d=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:o[f]}else d=T(o,f),o=o[f];d&&!s&&(w[r]=o)}}return o}},1399:(e,t,n)=>{"use strict";var a=n(8897)("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(e){a=null}e.exports=a},5704:e=>{"use strict";e.exports=(e,t)=>{t=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)}},6900:(e,t,n)=>{"use strict";var a=n(7539),i=function(){return!!a};i.hasArrayLengthDefineBug=function(){if(!a)return null;try{return 1!==a([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},9372:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},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(t 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 a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},4313:(e,t,n)=>{"use strict";var a=Function.prototype.call,i=Object.prototype.hasOwnProperty,r=n(4499);e.exports=r.call(a,i)},7501:e=>{var t,n,a=Function.prototype,i=Object.prototype,r=a.toString,o=i.hasOwnProperty,s=r.call(Object),c=i.toString,p=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=p(e);if(null===t)return!0;var n=o.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&r.call(n)==s}},567:e=>{var t=Object.prototype.toString,n=Array.isArray;e.exports=function(e){return"string"==typeof e||!n(e)&&function(e){return!!e&&"object"==typeof e}(e)&&"[object String]"==t.call(e)}},9370:(e,t,n)=>{e.exports=n(8761)},9613:(e,t,n)=>{"use strict";var a,i,r,o=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&&o[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!p.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var a=t.charset(n);a&&(n+="; charset="+a.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),a=n&&t.extensions[n[1].toLowerCase()];return!(!a||!a.length)&&a[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),a=t.extensions,i=t.types,r=["nginx","apache",void 0,"iana"],Object.keys(o).forEach((function(e){var t=o[e],n=t.extensions;if(n&&n.length){a[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(i[c]){var p=r.indexOf(o[i[c]].source),l=r.indexOf(t.source);if("application/octet-stream"!==i[c]&&(p>l||p===l&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))},8527:(e,t,n)=>{var a="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=a&&i&&"function"==typeof i.get?i.get:null,o=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,k=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,_=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function D(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),r=h.call(t,i.length+1);return g.call(i,n,"$&_")+"."+g.call(g.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var z=n(6761),M=z.custom,$=B(M)?M:null;function F(e,t,n){var a="double"===(n.quoteStyle||t)?'"':"'";return a+e+a}function q(e){return g.call(String(e),/"/g,""")}function L(e){return!("[object Array]"!==K(e)||C&&"object"==typeof e&&C in e)}function U(e){return!("[object RegExp]"!==K(e)||C&&"object"==typeof e&&C in e)}function B(e){if(A)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(W(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(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=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(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(W(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 H(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return y?D(t,x):x}if("bigint"==typeof t){var O=String(t)+"n";return y?D(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 L(t)?"[Array]":"[Object]";var k,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(V(i,t)>=0)return"[Circular]";function N(t,n,r){if(n&&(i=P.call(i)).push(n),r){var o={depth:s.depth};return W(s,"quoteStyle")&&(o.quoteStyle=s.quoteStyle),e(t,o,a+1,i)}return e(t,s,a+1,i)}if("function"==typeof t&&!U(t)){var X=function(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=Z(t,N);return"[Function"+(X?": "+X:" (anonymous)")+"]"+(ee.length>0?" { "+I.call(ee,", ")+" }":"")}if(B(t)){var te=A?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||A?te:G(te)}if((k=t)&&"object"==typeof k&&("undefined"!=typeof HTMLElement&&k instanceof HTMLElement||"string"==typeof k.nodeName&&"function"==typeof k.getAttribute)){for(var ne="<"+w.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)ne+=" "+ae[ie].name+"="+F(q(ae[ie].value),"double",s);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+"</"+w.call(String(t.nodeName))+">"}if(L(t)){if(0===t.length)return"[]";var re=Z(t,N);return M&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(re)?"["+Y(re,M)+"]":"[ "+I.call(re,", ")+" ]"}if(function(e){return!("[object Error]"!==K(e)||C&&"object"==typeof e&&C in e)}(t)){var oe=Z(t,N);return"cause"in Error.prototype||!("cause"in t)||_.call(t,"cause")?0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+I.call(oe,", ")+" }":"{ ["+String(t)+"] "+I.call(j.call("[cause]: "+N(t.cause),oe),", ")+" }"}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(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{p.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return o&&o.call(t,(function(e,n){se.push(N(n,t,!0)+" => "+N(e,t))})),Q("Map",r.call(t),se,M)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e);try{r.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return l&&l.call(t,(function(e){ce.push(N(e,t))})),Q("Set",p.call(t),ce,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 J("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 J("WeakSet");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{return m.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==K(e)||C&&"object"==typeof e&&C in e)}(t))return G(N(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 G(N(S.call(t)));if(function(e){return!("[object Boolean]"!==K(e)||C&&"object"==typeof e&&C in e)}(t))return G(f.call(t));if(function(e){return!("[object String]"!==K(e)||C&&"object"==typeof e&&C in e)}(t))return G(N(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]"!==K(e)||C&&"object"==typeof e&&C in e)}(t)&&!U(t)){var pe=Z(t,N),le=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",de=!le&&C&&Object(t)===t&&C in t?h.call(K(t),8,-1):ue?"Object":"",me=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ue?"["+I.call(j.call([],de||[],ue||[]),": ")+"] ":"");return 0===pe.length?me+"{}":M?me+"{"+Y(pe,M)+"}":me+"{ "+I.call(pe,", ")+" }"}return String(t)};var N=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return N.call(e,t)}function K(e){return y.call(e)}function V(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 H(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,a="... "+n+" more character"+(n>1?"s":"");return H(h.call(e,0,t.maxStringLength),t)+a}return F(g.call(g.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,X),"single",t)}function X(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 G(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function Q(e,t,n,a){return e+" ("+t+") {"+(a?Y(n,a):I.call(n,", "))+"}"}function Y(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+I.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=L(e),a=[];if(n){a.length=e.length;for(var i=0;i<e.length;i++)a[i]=W(e,i)?t(e[i],e):""}var r,o="function"==typeof k?k(e):[];if(A){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var c in e)W(e,c)&&(n&&String(Number(c))===c&&c<e.length||A&&r["$"+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 k)for(var p=0;p<o.length;p++)_.call(e,o[p])&&a.push("["+t(o[p])+"]: "+t(e[o[p]],e));return a}},6761:(e,t,n)=>{e.exports=n(9023).inspect},1370:e=>{"use strict";class t extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}e.exports=({limit:e,interval:n,strict:a})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");const i=new Map;let r=0,o=0;const s=[],c=a?function(){const t=Date.now();if(s.length<e)return s.push(t),0;const a=s.shift()+n;return t>=a?(s.push(t),0):(s.push(a),a-t)}:function(){const t=Date.now();return t-r>n?(o=1,r=t,0):(o<e?o++:(r+=n,o=1),r-t)};return e=>{const n=function(...t){if(!n.isEnabled)return(async()=>e.apply(this,t))();let a;return new Promise(((n,r)=>{a=setTimeout((()=>{n(e.apply(this,t)),i.delete(a)}),c()),i.set(a,r)}))};return n.abort=()=>{for(const e of i.keys())clearTimeout(e),i.get(e)(new t);i.clear(),s.splice(0,s.length)},n.isEnabled=!0,n}},e.exports.AbortError=t},1420:(e,t,n)=>{"use strict";var a=n(7016).parse,i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},r=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function o(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.T=function(e){var t="string"==typeof e?a(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(o("npm_config_no_proxy")||o("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var a=n.match(/^(.+):(\d+)$/),i=a?a[1]:n,o=a?parseInt(a[2]):0;return!(!o||o===t)||(/^[.*]/.test(i)?("*"===i.charAt(0)&&(i=i.slice(1)),!r.call(e,i)):e!==i)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||i[n]||0))return"";var p=o("npm_config_"+n+"_proxy")||o(n+"_proxy")||o("npm_config_proxy")||o("all_proxy");return p&&-1===p.indexOf("://")&&(p=n+"://"+p),p}},8973:(e,t,n)=>{"use strict";var a=n(8897),i=n(9381),r=n(6900)(),o=n(1399),s=n(1711),c=a("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,p=!0;if("length"in e&&o){var l=o(e,"length");l&&!l.configurable&&(a=!1),l&&!l.writable&&(p=!1)}return(a||p||!n)&&(r?i(e,"length",t,!0,!0):i(e,"length",t)),e}},588:(e,t,n)=>{"use strict";var a=n(8897),i=n(9343),r=n(8527),o=a("%TypeError%"),s=a("%WeakMap%",!0),c=a("%Map%",!0),p=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),u=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),m=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),y=function(e,t){for(var n,a=e;null!==(n=a.next);a=n)if(n.key===t)return a.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,a={assert:function(e){if(!a.has(e))throw new o("Side channel does not contain "+r(e))},get:function(a){if(s&&a&&("object"==typeof a||"function"==typeof a)){if(e)return p(e,a)}else if(c){if(t)return d(t,a)}else if(n)return function(e,t){var n=y(e,t);return n&&n.value}(n,a)},has:function(a){if(s&&a&&("object"==typeof a||"function"==typeof a)){if(e)return u(e,a)}else if(c){if(t)return f(t,a)}else if(n)return function(e,t){return!!y(e,t)}(n,a);return!1},set:function(a,i){s&&a&&("object"==typeof a||"function"==typeof a)?(e||(e=new s),l(e,a,i)):c?(t||(t=new c),m(t,a,i)):(n||(n={key:{},next:null}),function(e,t,n){var a=y(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(n,a,i))}};return a}},459:(e,t,n)=>{"use strict";const a=n(857),i=n(5704),r=process.env;let o;function s(e){const t=function(e){if(!1===o)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!e.isTTY&&!0!==o)return 0;const t=o?1:0;if("win32"===process.platform){const e=a.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&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"].some((e=>e in r))||"codeship"===r.CI_NAME?1:t;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:(r.TERM,t)}(e);return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(t)}i("no-color")||i("no-colors")||i("color=false")?o=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(o=!0),"FORCE_COLOR"in r&&(o=0===r.FORCE_COLOR.length||0!==parseInt(r.FORCE_COLOR,10)),e.exports={supportsColor:s,stdout:s(process.stdout),stderr:s(process.stderr)}},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 r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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:()=>ty,ScheduledActionReferenceFilters:()=>gv,WorkflowStepPermissionAction:()=>Gb,WorkflowStepPermissionEffect:()=>Jb,WorkflowStepPermissionType:()=>Xb,asIterator:()=>Gh,createClient:()=>ag,editorInterfaceDefaults:()=>dt,fetchAll:()=>Zh,isDraft:()=>Ay,isPublished:()=>ky,isUpdated:()=>Ey});var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>ja,hasStandardBrowserEnv:()=>Pa,hasStandardBrowserWebWorkerEnv:()=>Ta,navigator:()=>Ia,origin:()=>Sa});var t={};n.r(t),n.d(t,{create:()=>oo,createWithId:()=>so,del:()=>po,get:()=>io,getMany:()=>ro,update:()=>co});var i={};n.r(i),n.d(i,{create:()=>jo,del:()=>Oo,get:()=>go,getMany:()=>xo,getManyForEnvironment:()=>wo,update:()=>Io});var r={};n.r(r),n.d(r,{create:()=>_o,createWithResponse:()=>Do,getCallDetails:()=>Ro});var o={};n.r(o),n.d(o,{create:()=>Lo,del:()=>qo,get:()=>$o,getMany:()=>Fo});var s={};n.r(s),n.d(s,{create:()=>Xo,del:()=>Jo,get:()=>Vo,getAppDefinitionUrl:()=>Ko,getInstallationsForOrg:()=>Qo,getMany:()=>Ho,update:()=>Go});var c={};n.r(c),n.d(c,{del:()=>es,get:()=>Yo,upsert:()=>Zo});var p={};n.r(p),n.d(p,{del:()=>ps,get:()=>os,getAppInstallationUrl:()=>rs,getForOrganization:()=>ls,getMany:()=>ss,upsert:()=>cs});var l={};n.r(l),n.d(l,{create:()=>us});var u={};n.r(u),n.d(u,{del:()=>fs,get:()=>ds,upsert:()=>ms});var d={};n.r(d),n.d(d,{del:()=>bs,get:()=>ys,upsert:()=>vs});var m={};n.r(m),n.d(m,{create:()=>xs,del:()=>ws,get:()=>hs,getMany:()=>gs});var f={};n.r(f),n.d(f,{create:()=>Os});var y={};n.r(y),n.d(y,{create:()=>ks,del:()=>Ss,get:()=>Ts});var v={};n.r(v),n.d(v,{create:()=>Cs,del:()=>_s,get:()=>Rs});var b={};n.r(b),n.d(b,{archive:()=>Hs,create:()=>Gs,createFromFiles:()=>Qs,createWithId:()=>Js,del:()=>Ws,get:()=>Ls,getMany:()=>Bs,getPublished:()=>Us,processForAllLocales:()=>ec,processForLocale:()=>Zs,publish:()=>Ks,unarchive:()=>Xs,unpublish:()=>Vs,update:()=>Ns});var h={};n.r(h),n.d(h,{ValidationError:()=>tc,create:()=>nc});var g={};n.r(g),n.d(g,{get:()=>ac,publish:()=>ic,unpublish:()=>rc,validate:()=>oc});var x={};n.r(x),n.d(x,{create:()=>gc,del:()=>wc,get:()=>bc,getAll:()=>Oc,getMany:()=>hc,update:()=>xc});var w={};n.r(w),n.d(w,{create:()=>Sc,del:()=>Ac,get:()=>Ec,getAncestors:()=>Rc,getDescendants:()=>_c,getMany:()=>Cc,getTotal:()=>Dc,update:()=>kc});var O={};n.r(O),n.d(O,{create:()=>Wc,del:()=>Uc,get:()=>Lc,getMany:()=>Bc,getTotal:()=>Nc,update:()=>Kc});var j={};n.r(j),n.d(j,{create:()=>Zc,createWithId:()=>ep,del:()=>np,get:()=>Qc,getMany:()=>Yc,publish:()=>ap,unpublish:()=>ip,update:()=>tp});var I={};n.r(I),n.d(I,{get:()=>pp,getMany:()=>lp,update:()=>up});var P={};n.r(P),n.d(P,{archive:()=>jp,create:()=>Pp,createWithId:()=>Tp,del:()=>xp,get:()=>yp,getMany:()=>bp,getPublished:()=>vp,patch:()=>hp,publish:()=>wp,references:()=>Sp,unarchive:()=>Ip,unpublish:()=>Op,update:()=>gp});var T={};n.r(T),n.d(T,{create:()=>zp,createWithId:()=>Mp,del:()=>Dp,get:()=>Cp,getMany:()=>_p,update:()=>Rp});var S={};n.r(S),n.d(S,{createWithId:()=>Wp,del:()=>Vp,get:()=>Bp,getMany:()=>Np,update:()=>Kp});var k={};n.r(k),n.d(k,{create:()=>Zp,del:()=>nl,disconnect:()=>ol,get:()=>Qp,getMany:()=>Yp,install:()=>rl,update:()=>el,validate:()=>il,versionUpdate:()=>tl,versions:()=>al});var E={};n.r(E),n.d(E,{getForEnvironment:()=>fl,getMany:()=>ml});var A={};n.r(A),n.d(A,{create:()=>Ol,createWithId:()=>jl,del:()=>Pl,get:()=>xl,getExtensionUrl:()=>gl,getMany:()=>wl,update:()=>Il});var C={};n.r(C),n.d(C,{del:()=>Al,get:()=>Tl,patch:()=>El,post:()=>Sl,put:()=>kl,request:()=>Cl});var _={};n.r(_),n.d(_,{create:()=>$l,del:()=>ql,get:()=>zl,getMany:()=>Ml,update:()=>Fl});var R={};n.r(R),n.d(R,{get:()=>Ul,getMany:()=>Ll});var D={};n.r(D),n.d(D,{create:()=>Hl,get:()=>Xl});var z={};n.r(z),n.d(z,{del:()=>au,get:()=>eu,getMany:()=>tu,update:()=>nu});var M={};n.r(M),n.d(M,{create:()=>ou,get:()=>iu,getMany:()=>ru,revoke:()=>su});var $={};n.r($),n.d($,{createPersonalAccessToken:()=>lu,get:()=>cu,getMany:()=>pu,getManyForOrganization:()=>du,revoke:()=>uu});var F={};n.r(F),n.d(F,{get:()=>mu,getMany:()=>fu});var q={};n.r(q),n.d(q,{archive:()=>Tu,create:()=>xu,del:()=>Ou,get:()=>hu,publish:()=>ju,query:()=>gu,unarchive:()=>Su,unpublish:()=>Iu,update:()=>wu,validate:()=>Pu});var L={};n.r(L),n.d(L,{get:()=>Cu,getMany:()=>_u,queryForRelease:()=>Ru});var U={};n.r(U),n.d(U,{getMany:()=>Du});var B={};n.r(B),n.d(B,{del:()=>Fu,get:()=>Mu,upsert:()=>$u});var N={};n.r(N),n.d(N,{del:()=>Nu,get:()=>Uu,getForEnvironment:()=>Ku,getMany:()=>Wu,upsert:()=>Bu});var W={};n.r(W),n.d(W,{create:()=>Yu,createWithId:()=>Zu,del:()=>td,get:()=>Gu,getMany:()=>Ju,getManyForOrganization:()=>Qu,update:()=>ed});var K={};n.r(K),n.d(K,{create:()=>id,del:()=>rd,get:()=>nd,getMany:()=>ad,update:()=>od});var V={};n.r(V),n.d(V,{getForContentType:()=>dd,getForEntry:()=>pd,getManyForContentType:()=>ud,getManyForEntry:()=>cd});var H={};n.r(H),n.d(H,{create:()=>gd,del:()=>wd,get:()=>vd,getMany:()=>bd,getManyForOrganization:()=>hd,update:()=>xd});var X={};n.r(X),n.d(X,{get:()=>Od,getMany:()=>jd});var G={};n.r(G),n.d(G,{create:()=>Dd,createWithId:()=>zd,del:()=>$d,get:()=>Ad,getForOrganization:()=>_d,getMany:()=>Cd,getManyForOrganization:()=>Rd,update:()=>Md});var J={};n.r(J),n.d(J,{createWithId:()=>Vd,del:()=>Xd,get:()=>Wd,getMany:()=>Kd,update:()=>Hd});var Q={};n.r(Q),n.d(Q,{create:()=>im,del:()=>om,get:()=>tm,getAll:()=>am,getMany:()=>nm,update:()=>rm});var Y={};n.r(Y),n.d(Y,{create:()=>ym,del:()=>bm,get:()=>dm,getMany:()=>mm,getManyForSpace:()=>fm,update:()=>vm});var Z={};n.r(Z),n.d(Z,{create:()=>Tm,del:()=>km,get:()=>jm,getManyForOrganization:()=>Im,getManyForTeam:()=>Pm,update:()=>Sm});var ee={};n.r(ee),n.d(ee,{create:()=>Fm,del:()=>Lm,get:()=>Dm,getForOrganization:()=>Mm,getMany:()=>zm,getManyForOrganization:()=>$m,update:()=>qm});var te={};n.r(te),n.d(te,{get:()=>Bm,update:()=>Nm});var ne={};n.r(ne),n.d(ne,{getManyForOrganization:()=>Km,getManyForSpace:()=>Wm});var ae={};n.r(ae),n.d(ae,{getCurrent:()=>Hm,getForOrganization:()=>Gm,getForSpace:()=>Vm,getManyForOrganization:()=>Jm,getManyForSpace:()=>Xm});var ie={};n.r(ie),n.d(ie,{get:()=>Ym,update:()=>Zm});var re={};n.r(re),n.d(re,{create:()=>bf,createWithId:()=>hf,del:()=>Of,deleteRetryPolicy:()=>If,deleteSigningSecret:()=>jf,get:()=>lf,getCallDetails:()=>df,getHealthStatus:()=>mf,getMany:()=>ff,getManyCallDetails:()=>uf,getRetryPolicy:()=>vf,getSigningSecret:()=>yf,update:()=>gf,upsertRetryPolicy:()=>wf,upsertSigningSecret:()=>xf});var oe={};n.r(oe),n.d(oe,{complete:()=>$f,create:()=>Df,del:()=>Mf,getMany:()=>Rf,update:()=>zf});var se={};n.r(se),n.d(se,{create:()=>Vf,del:()=>Xf,get:()=>Wf,getMany:()=>Kf,update:()=>Hf});var ce={};n.r(ce),n.d(ce,{getMany:()=>Gf});var pe={};n.r(pe),n.d(pe,{wrapApiKey:()=>ay,wrapApiKeyCollection:()=>iy});var le={};n.r(le),n.d(le,{wrapAppAction:()=>ry,wrapAppActionCollection:()=>oy});var ue={};n.r(ue),n.d(ue,{default:()=>ly,wrapAppActionCall:()=>uy,wrapAppActionCallResponse:()=>dy});var de={};n.r(de),n.d(de,{wrapAppBundle:()=>my,wrapAppBundleCollection:()=>fy});var me={};n.r(me),n.d(me,{wrapAppDefinition:()=>yy,wrapAppDefinitionCollection:()=>vy});var fe={};n.r(fe),n.d(fe,{wrapAppDetails:()=>by});var ye={};n.r(ye),n.d(ye,{wrapAppInstallation:()=>hy,wrapAppInstallationCollection:()=>gy});var ve={};n.r(ve),n.d(ve,{wrapAppSignedRequest:()=>xy});var be={};n.r(be),n.d(be,{wrapAppSigningSecret:()=>wy});var he={};n.r(he),n.d(he,{wrapAppEventSubscription:()=>Oy});var ge={};n.r(ge),n.d(ge,{wrapAppKey:()=>jy,wrapAppKeyCollection:()=>Iy});var xe={};n.r(xe),n.d(xe,{wrapAppAccessToken:()=>Py});var we={};n.r(we),n.d(we,{wrapAppUpload:()=>Ty,wrapAppUploadCollection:()=>Sy});var Oe={};n.r(Oe),n.d(Oe,{wrapAsset:()=>zy,wrapAssetCollection:()=>My});var je={};n.r(je),n.d(je,{wrapAssetKey:()=>$y});var Ie={};n.r(Ie),n.d(Ie,{BulkActionStatus:()=>Ky,wrapBulkAction:()=>Vy});var Pe={};n.r(Pe),n.d(Pe,{CommentNode:()=>Jy,default:()=>Qy,wrapComment:()=>Yy,wrapCommentCollection:()=>Zy});var Te={};n.r(Te),n.d(Te,{wrapEditorInterface:()=>ev,wrapEditorInterfaceCollection:()=>tv});var Se={};n.r(Se),n.d(Se,{wrapSnapshot:()=>nv,wrapSnapshotCollection:()=>av});var ke={};n.r(ke),n.d(ke,{wrapContentType:()=>lv,wrapContentTypeCollection:()=>uv});var Ee={};n.r(Ee),n.d(Ee,{wrapEntry:()=>yv,wrapEntryCollection:()=>vv});var Ae={};n.r(Ae),n.d(Ae,{wrapReleaseAction:()=>bv,wrapReleaseActionCollection:()=>hv});var Ce={};n.r(Ce),n.d(Ce,{ReleaseReferenceFilters:()=>xv,wrapRelease:()=>wv,wrapReleaseCollection:()=>Ov});var _e={};n.r(_e),n.d(_e,{default:()=>Tv,wrapTag:()=>Sv,wrapTagCollection:()=>kv});var Re={};n.r(Re),n.d(Re,{wrapUIConfig:()=>Ev});var De={};n.r(De),n.d(De,{wrapUserUIConfig:()=>Av});var ze={};n.r(ze),n.d(ze,{wrapEnvironmentTemplateInstallation:()=>Cv,wrapEnvironmentTemplateInstallationCollection:()=>_v});var Me={};n.r(Me),n.d(Me,{wrapEnvironment:()=>$v,wrapEnvironmentCollection:()=>Fv});var $e={};n.r($e),n.d($e,{wrapEnvironmentAlias:()=>qv,wrapEnvironmentAliasCollection:()=>Lv});var Fe={};n.r(Fe),n.d(Fe,{wrapEnvironmentTemplate:()=>Kv,wrapEnvironmentTemplateCollection:()=>Vv});var qe={};n.r(qe),n.d(qe,{wrapExtension:()=>Hv,wrapExtensionCollection:()=>Xv});var Le={};n.r(Le),n.d(Le,{wrapLocale:()=>Gv,wrapLocaleCollection:()=>Jv});var Ue={};n.r(Ue),n.d(Ue,{wrapOrganization:()=>eb,wrapOrganizationCollection:()=>tb});var Be={};n.r(Be),n.d(Be,{wrapOrganizationInvitation:()=>nb});var Ne={};n.r(Ne),n.d(Ne,{wrapOrganizationMembership:()=>ab,wrapOrganizationMembershipCollection:()=>ib});var We={};n.r(We),n.d(We,{wrapPersonalAccessToken:()=>rb,wrapPersonalAccessTokenCollection:()=>ob});var Ke={};n.r(Ke),n.d(Ke,{wrapAccessToken:()=>sb,wrapAccessTokenCollection:()=>cb});var Ve={};n.r(Ve),n.d(Ve,{wrapPreviewApiKey:()=>pb,wrapPreviewApiKeyCollection:()=>lb});var He={};n.r(He),n.d(He,{wrapRole:()=>ub,wrapRoleCollection:()=>db});var Xe={};n.r(Xe),n.d(Xe,{default:()=>fb,wrapScheduledAction:()=>yb,wrapScheduledActionCollection:()=>vb});var Ge={};n.r(Ge),n.d(Ge,{wrapSpace:()=>bb,wrapSpaceCollection:()=>hb});var Je={};n.r(Je),n.d(Je,{wrapSpaceMember:()=>gb,wrapSpaceMemberCollection:()=>xb});var Qe={};n.r(Qe),n.d(Qe,{wrapSpaceMembership:()=>wb,wrapSpaceMembershipCollection:()=>Ob});var Ye={};n.r(Ye),n.d(Ye,{default:()=>Tb,wrapTask:()=>Sb,wrapTaskCollection:()=>kb});var Ze={};n.r(Ze),n.d(Ze,{wrapTeam:()=>Eb,wrapTeamCollection:()=>Ab});var et={};n.r(et),n.d(et,{wrapTeamMembership:()=>Cb,wrapTeamMembershipCollection:()=>_b});var tt={};n.r(tt),n.d(tt,{wrapTeamSpaceMembership:()=>Rb,wrapTeamSpaceMembershipCollection:()=>Db});var nt={};n.r(nt),n.d(nt,{wrapUpload:()=>zb});var at={};n.r(at),n.d(at,{wrapUsage:()=>Mb,wrapUsageCollection:()=>$b});var it={};n.r(it),n.d(it,{wrapUser:()=>Fb,wrapUserCollection:()=>qb});var rt={};n.r(rt),n.d(rt,{wrapWebhook:()=>Nb,wrapWebhookCollection:()=>Wb});var ot={};n.r(ot),n.d(ot,{WorkflowStepActionType:()=>Qb,WorkflowStepPermissionAction:()=>Gb,WorkflowStepPermissionEffect:()=>Jb,WorkflowStepPermissionType:()=>Xb,default:()=>Yb,wrapWorkflowDefinition:()=>Zb,wrapWorkflowDefinitionCollection:()=>eh});var st={};n.r(st);var ct={};n.r(ct);var pt={};n.r(pt),n.d(pt,{wrapResourceProvider:()=>ah});var lt={};n.r(lt),n.d(lt,{wrapResourceType:()=>oh,wrapResourceTypeforEnvironment:()=>sh,wrapResourceTypesForEnvironmentCollection:()=>ch});var ut={};n.r(ut),n.d(ut,{wrapResource:()=>ph,wrapResourceCollection:()=>lh});var dt={};n.r(dt),n.d(dt,{default:()=>Kh});var mt=Function.prototype.toString,ft=Object.create,yt=Object.defineProperty,vt=Object.getOwnPropertyDescriptor,bt=Object.getOwnPropertyNames,ht=Object.getOwnPropertySymbols,gt=Object.getPrototypeOf,xt=Object.prototype,wt=xt.hasOwnProperty,Ot=xt.propertyIsEnumerable,jt="function"==typeof ht,It="function"==typeof WeakMap,Pt=function(){if(It)return function(){return new WeakMap};var e=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}();return function(){return new e}}(),Tt=function(e,t){var n=e.__proto__||gt(e);if(!n)return ft(null);var a=n.constructor;if(a===t.Object)return n===t.Object.prototype?{}:ft(n);if(~mt.call(a).indexOf("[native code]"))try{return new a}catch(e){}return ft(n)},St=function(e,t,n,a){var i=Tt(e,t);for(var r in a.set(e,i),e)wt.call(e,r)&&(i[r]=n(e[r],a));if(jt)for(var o=ht(e),s=0,c=o.length,p=void 0;s<c;++s)p=o[s],Ot.call(e,p)&&(i[p]=n(e[p],a));return i},kt=function(e,t,n,a){var i=Tt(e,t);a.set(e,i);for(var r=jt?bt(e).concat(ht(e)):bt(e),o=0,s=r.length,c=void 0,p=void 0;o<s;++o)if("callee"!==(c=r[o])&&"caller"!==c)if(p=vt(e,c)){p.get||p.set||(p.value=n(e[c],a));try{yt(i,c,p)}catch(e){i[c]=p.value}}else i[c]=n(e[c],a);return i},Et=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},At=Array.isArray,Ct=Object.getPrototypeOf,_t=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function Rt(e,t){var n=!(!t||!t.isStrict),a=t&&t.realm||_t,i=n?kt:St,r=function(e,t){if(!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);var o,s=e.__proto__||Ct(e),c=s&&s.constructor;if(!c||c===a.Object)return i(e,a,r,t);if(At(e)){if(n)return kt(e,a,r,t);o=new c,t.set(e,o);for(var p=0,l=e.length;p<l;++p)o[p]=r(e[p],t);return o}if(e instanceof a.Date)return new c(e.getTime());if(e instanceof a.RegExp)return(o=new c(e.source,e.flags||Et(e))).lastIndex=e.lastIndex,o;if(a.Map&&e instanceof a.Map)return o=new c,t.set(e,o),e.forEach((function(e,n){o.set(n,r(e,t))})),o;if(a.Set&&e instanceof a.Set)return o=new c,t.set(e,o),e.forEach((function(e){o.add(r(e,t))})),o;if(a.Blob&&e instanceof a.Blob)return e.slice(0,e.size,e.type);if(a.Buffer&&a.Buffer.isBuffer(e))return o=a.Buffer.allocUnsafe?a.Buffer.allocUnsafe(e.length):new c(e.length),t.set(e,o),e.copy(o),o;if(a.ArrayBuffer){if(a.ArrayBuffer.isView(e))return o=new c(e.buffer.slice(0)),t.set(e,o),o;if(e instanceof a.ArrayBuffer)return o=e.slice(0),t.set(e,o),o}return"function"==typeof e.then||e instanceof Error||a.WeakMap&&e instanceof a.WeakMap||a.WeakSet&&e instanceof a.WeakSet?e:i(e,a,r,t)};return r(e,Pt())}Rt.default=Rt,Rt.strict=function(e,t){return Rt(e,{isStrict:!0,realm:t?t.realm:void 0})};var Dt=n(9780),zt=n.n(Dt),Mt=n(567),$t=n.n(Mt),Ft=n(1370),qt=n.n(Ft),Lt=n(7501),Ut=n.n(Lt);function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function Nt(e,t,n,a,i,r,o){try{var s=e[r](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(a,i)}function Wt(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 Kt(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 Vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(n),!0).forEach((function(t){Wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ht(){Ht=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,n){return e[t]=n}}function l(e,t,n,a){var r=t&&t.prototype instanceof b?t:b,o=Object.create(r.prototype),s=new A(a||[]);return i(o,"_invoke",{value:T(e,n,s)}),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var d="suspendedStart",m="suspendedYield",f="executing",y="completed",v={};function b(){}function h(){}function g(){}var x={};p(x,o,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(C([])));O&&O!==n&&a.call(O,o)&&(x=O);var j=g.prototype=b.prototype=Object.create(x);function I(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(i,r,o,s){var c=u(e[i],e,r);if("throw"!==c.type){var p=c.arg,l=p.value;return l&&"object"==typeof l&&a.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,o,s)}),(function(e){n("throw",e,o,s)})):t.resolve(l).then((function(e){p.value=e,o(p)}),(function(e){return n("throw",e,o,s)}))}s(c.arg)}var r;i(this,"_invoke",{value:function(e,a){function i(){return new t((function(t,i){n(e,a,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,n,a){var i=d;return function(r,o){if(i===f)throw Error("Generator is already running");if(i===y){if("throw"===r)throw o;return{value:e,done:!0}}for(a.method=r,a.arg=o;;){var s=a.delegate;if(s){var c=S(s,a);if(c){if(c===v)continue;return c}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(i===d)throw i=y,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i=f;var p=u(t,n,a);if("normal"===p.type){if(i=a.done?y:m,p.arg===v)continue;return{value:p.arg,done:a.done}}"throw"===p.type&&(i=y,a.method="throw",a.arg=p.arg)}}}function S(t,n){var a=n.method,i=t.iterator[a];if(i===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),v;var r=u(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,v;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}throw new TypeError(typeof t+" is not iterable")}return h.prototype=g,i(j,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:h,configurable:!0}),h.displayName=p(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,p(e,c,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},I(P.prototype),p(P.prototype,s,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,a,i,r){void 0===r&&(r=Promise);var o=new P(l(e,n,a,i),r);return t.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},I(j),p(j,c,"Generator"),p(j,o,(function(){return this})),p(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=C,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(a,i){return s.type="throw",s.arg=t,n.next=a,i&&(n.method="next",n.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),p=a.call(o,"finallyLoc");if(c&&p){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!p)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var i=a.arg;E(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:C(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),v}},t}function Xt(e,t){return Xt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Xt(e,t)}function Gt(e){return Gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gt(e)}function Jt(e,t){if(e){if("string"==typeof e)return Bt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bt(e,t):void 0}}function Qt(){Qt=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,a,i){var r=RegExp(e,a);return t.set(r,i||t.get(e)),Xt(r,n.prototype)}function a(e,n){var a=t.get(n);return Object.keys(a).reduce((function(t,n){var i=a[n];if("number"==typeof i)t[n]=e[i];else{for(var r=0;void 0===e[i[r]]&&r+1<i.length;)r++;t[n]=e[i[r]]}return t}),Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xt(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=a(n,this);var i=n.indices;i&&(i.groups=a(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var r=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){var n=r[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof i){var o=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(a(e,o)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},Qt.apply(this,arguments)}function Yt(){}var Zt=function(e){return new Promise((function(t){setTimeout(t,e)}))},en=function(e){return Math.pow(Math.SQRT2,e)};var tn=Qt(/(\d+)(%)/,{value:1});function nn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,n=t;if(tn.test(e)){var a,i=null===(a=e.match(tn))||void 0===a?void 0:a.groups;if(i&&i.value){var r=parseInt(i.value)/100;n=Math.round(t*r)}}return Math.min(30,Math.max(1,n))}function an(e,t){return t("info","Throttle request to ".concat(e,"/s")),qt()({limit:e,interval:1e3,strict:!1})}var rn=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function on(e,t){var n=Vt(Vt({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){if("error"===e&&t){var n=[t.name,t.message].filter((function(e){return e})).join(" - ");return console.error("[error] ".concat(n)),void console.error(t)}console.log("[".concat(e,"] ").concat(t))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),t);if(!n.accessToken){var a=new TypeError("Expected parameter accessToken");throw n.logHandler("error",a),a}var i,r,o=n.insecure?"http":"https",s=n.space?"".concat(n.space,"/"):"",c=n.defaultHostname,p=n.insecure?80:443;if(n.host&&rn.test(n.host)){var l=n.host.split(":");if(2===l.length){var u=(r=2,function(e){if(Array.isArray(e))return e}(i=l)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,i,r,o,s=[],c=!0,p=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=r.call(n)).done)&&(s.push(a.value),s.length!==t);c=!0);}catch(e){p=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(p)throw i}}return s}}(i,r)||Jt(i,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());c=u[0],p=u[1]}else c=l[0]}n.basePath&&(n.basePath="/".concat(n.basePath.split("/").filter(Boolean).join("/")));var d=t.baseURL||"".concat(o,"://").concat(c,":").concat(p).concat(n.basePath,"/spaces/").concat(s);n.headers.Authorization||"function"==typeof n.accessToken||(n.headers.Authorization="Bearer "+n.accessToken);var m={baseURL:d,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,proxy:n.proxy,timeout:n.timeout,adapter:n.adapter,maxContentLength:n.maxContentLength,maxBodyLength:n.maxBodyLength,paramsSerializer:{serialize:function(e){return zt().stringify(e)}},logHandler:n.logHandler,responseLogger:n.responseLogger,requestLogger:n.requestLogger,retryOnError:n.retryOnError},f=e.create(m);return f.httpClientParams=t,f.cloneWithNewParams=function(n){return on(e,Vt(Vt({},Rt(t)),n))},n.onBeforeRequest&&f.interceptors.request.use(n.onBeforeRequest),"function"==typeof n.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((function(t){return e.headers.set("Authorization","Bearer ".concat(t)),e}))}))}(f,n.accessToken),n.throttle&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=e.defaults.logHandler,a=void 0===n?Yt:n,i=$t()(t)?nn(t):nn("auto",t),r=an(i,a),o=!1,s=e.interceptors.request.use((function(e){return r((function(){return e}))()}),(function(e){return Promise.reject(e)}));e.interceptors.response.use((function(n){if(!o&&$t()(t)&&("auto"===t||tn.test(t))&&n.headers&&n.headers["x-contentful-ratelimit-second-limit"]){var c=parseInt(n.headers["x-contentful-ratelimit-second-limit"]),p=nn(t,c);p!==i&&(s&&e.interceptors.request.eject(s),i=p,r=an(p,a),s=e.interceptors.request.use((function(e){return r((function(){return e}))()}),(function(e){return Promise.reject(e)}))),o=!0}return n}),(function(e){return Promise.reject(e)}))}(f,n.throttle),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=e.defaults,a=n.responseLogger,i=void 0===a?Yt:a,r=n.requestLogger,o=void 0===r?Yt:r;e.interceptors.request.use((function(e){return o(e),e}),(function(e){return o(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return i(e),e}),function(){var n,a=(n=Ht().mark((function n(a){var r,o,s,c,p;return Ht().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a.response,o=a.config,i(a),o&&e.defaults.retryOnError){n.next=5;break}return n.abrupt("return",Promise.reject(a));case 5:if(!((s=o.attempts||1)>t)){n.next=9;break}return a.attempts=o.attempts,n.abrupt("return",Promise.reject(a));case 9:if(c=null,p=en(s),r?r.status>=500&&r.status<600?c="Server ".concat(r.status):429===r.status&&(c="Rate limit",r.headers&&a.response.headers["x-contentful-ratelimit-reset"]&&(p=r.headers["x-contentful-ratelimit-reset"])):c="Connection",!c){n.next=19;break}return p=Math.floor(1e3*p+200*Math.random()+500),e.defaults.logHandler("warning","".concat(c," error occurred. Waiting for ").concat(p," ms before retrying...")),o.attempts=s+1,delete o.httpAgent,delete o.httpsAgent,n.abrupt("return",Zt(p).then((function(){return e(o)})));case 19:return n.abrupt("return",Promise.reject(a));case 20:case"end":return n.stop()}}),n)})),function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){Nt(r,a,i,o,s,"next",e)}function s(e){Nt(r,a,i,o,s,"throw",e)}o(void 0)}))});return function(e){return a.apply(this,arguments)}}())}(f,n.retryLimit),n.onError&&f.interceptors.response.use((function(e){return e}),n.onError),f}function sn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=Rt(t),n}function cn(e){var t,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=Jt(e))){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,o=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){o=!0,i=e},f:function(){try{r||null==t.return||t.return()}finally{if(o)throw i}}}}(Object.getOwnPropertyNames(e));try{for(n.s();!(t=n.n()).done;){var a=e[t.value];a&&"object"===Gt(a)&&cn(a)}}catch(e){n.e(e)}finally{n.f()}return Object.freeze(e)}function pn(e){return cn(e.sys||{}),e}function ln(){var e=window;if(!e)return null;var 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 un(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return Rt(this)}})}function dn(e){var t,n=e.config,a=e.response;if(n&&n.headers&&n.headers.Authorization){var i="...".concat(n.headers.Authorization.toString().substr(-5));n.headers.Authorization="Bearer ".concat(i)}if(!Ut()(a)||!Ut()(n))throw e;var r,o=null==a?void 0:a.data,s={status:null==a?void 0:a.status,statusText:null==a?void 0:a.statusText,message:"",details:{}};n&&Ut()(n)&&(s.request={url:n.url,headers:n.headers,method:n.method,payloadData:n.data}),o&&"object"===Gt(o)&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),t=null===(r=o.sys)||void 0===r?void 0:r.id);var c=new Error;c.name=t&&"Unknown"!==t?t:"".concat(null==a?void 0:a.status," ").concat(null==a?void 0:a.statusText);try{c.message=JSON.stringify(s,null," ")}catch(e){var p;c.message=null!==(p=null==s?void 0:s.message)&&void 0!==p?p:""}throw c}function mn(e,t){return function(){return e.apply(t,arguments)}}const{toString:fn}=Object.prototype,{getPrototypeOf:yn}=Object,vn=(bn=Object.create(null),e=>{const t=fn.call(e);return bn[t]||(bn[t]=t.slice(8,-1).toLowerCase())});var bn;const hn=e=>(e=e.toLowerCase(),t=>vn(t)===e),gn=e=>t=>typeof t===e,{isArray:xn}=Array,wn=gn("undefined"),On=hn("ArrayBuffer"),jn=gn("string"),In=gn("function"),Pn=gn("number"),Tn=e=>null!==e&&"object"==typeof e,Sn=e=>{if("object"!==vn(e))return!1;const t=yn(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},kn=hn("Date"),En=hn("File"),An=hn("Blob"),Cn=hn("FileList"),_n=hn("URLSearchParams"),[Rn,Dn,zn,Mn]=["ReadableStream","Request","Response","Headers"].map(hn);function $n(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let a,i;if("object"!=typeof e&&(e=[e]),xn(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),r=i.length;let o;for(a=0;a<r;a++)o=i[a],t.call(null,e[o],o,e)}}function Fn(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 qn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Ln=e=>!wn(e)&&e!==qn,Un=(Bn="undefined"!=typeof Uint8Array&&yn(Uint8Array),e=>Bn&&e instanceof Bn);var Bn;const Nn=hn("HTMLFormElement"),Wn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Kn=hn("RegExp"),Vn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};$n(n,((n,i)=>{let r;!1!==(r=t(n,i,e))&&(a[i]=r||n)})),Object.defineProperties(e,a)},Hn="abcdefghijklmnopqrstuvwxyz",Xn="0123456789",Gn={DIGIT:Xn,ALPHA:Hn,ALPHA_DIGIT:Hn+Hn.toUpperCase()+Xn},Jn=hn("AsyncFunction"),Qn=(Yn="function"==typeof setImmediate,Zn=In(qn.postMessage),Yn?setImmediate:Zn?(ea=`axios@${Math.random()}`,ta=[],qn.addEventListener("message",(({source:e,data:t})=>{e===qn&&t===ea&&ta.length&&ta.shift()()}),!1),e=>{ta.push(e),qn.postMessage(ea,"*")}):e=>setTimeout(e));var Yn,Zn,ea,ta;const na="undefined"!=typeof queueMicrotask?queueMicrotask.bind(qn):"undefined"!=typeof process&&process.nextTick||Qn,aa={isArray:xn,isArrayBuffer:On,isBuffer:function(e){return null!==e&&!wn(e)&&null!==e.constructor&&!wn(e.constructor)&&In(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||In(e.append)&&("formdata"===(t=vn(e))||"object"===t&&In(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&On(e.buffer),t},isString:jn,isNumber:Pn,isBoolean:e=>!0===e||!1===e,isObject:Tn,isPlainObject:Sn,isReadableStream:Rn,isRequest:Dn,isResponse:zn,isHeaders:Mn,isUndefined:wn,isDate:kn,isFile:En,isBlob:An,isRegExp:Kn,isFunction:In,isStream:e=>Tn(e)&&In(e.pipe),isURLSearchParams:_n,isTypedArray:Un,isFileList:Cn,forEach:$n,merge:function e(){const{caseless:t}=Ln(this)&&this||{},n={},a=(a,i)=>{const r=t&&Fn(n,i)||i;Sn(n[r])&&Sn(a)?n[r]=e(n[r],a):Sn(a)?n[r]=e({},a):xn(a)?n[r]=a.slice():n[r]=a};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&$n(arguments[e],a);return n},extend:(e,t,n,{allOwnKeys:a}={})=>($n(t,((t,a)=>{n&&In(t)?e[a]=mn(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,r,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),r=i.length;r-- >0;)o=i[r],a&&!a(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&yn(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:vn,kindOfTest:hn,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(xn(e))return e;let t=e.length;if(!Pn(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:Nn,hasOwnProperty:Wn,hasOwnProp:Wn,reduceDescriptors:Vn,freezeMethods:e=>{Vn(e,((t,n)=>{if(In(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const a=e[n];In(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 xn(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:Fn,global:qn,isContextDefined:Ln,ALPHABET:Gn,generateString:(e=16,t=Gn.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n},isSpecCompliantForm:function(e){return!!(e&&In(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,a)=>{if(Tn(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[a]=e;const i=xn(e)?[]:{};return $n(e,((e,t)=>{const r=n(e,a+1);!wn(r)&&(i[t]=r)})),t[a]=void 0,i}}return e};return n(e,0)},isAsyncFn:Jn,isThenable:e=>e&&(Tn(e)||In(e))&&In(e.then)&&In(e.catch),setImmediate:Qn,asap:na};function ia(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)}aa.inherits(ia,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:aa.toJSONObject(this.config),code:this.code,status:this.status}}});const ra=ia.prototype,oa={};["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=>{oa[e]={value:e}})),Object.defineProperties(ia,oa),Object.defineProperty(ra,"isAxiosError",{value:!0}),ia.from=(e,t,n,a,i,r)=>{const o=Object.create(ra);return aa.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ia.call(o,e.message,t,n,a,i),o.cause=e,o.name=e.name,r&&Object.assign(o,r),o};const sa=ia,ca=n(2925);function pa(e){return aa.isPlainObject(e)||aa.isArray(e)}function la(e){return aa.endsWith(e,"[]")?e.slice(0,-2):e}function ua(e,t,n){return e?e.concat(t).map((function(e,t){return e=la(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const da=aa.toFlatObject(aa,{},null,(function(e){return/^is[A-Z]/.test(e)})),ma=function(e,t,n){if(!aa.isObject(e))throw new TypeError("target must be an object");t=t||new(ca||FormData);const a=(n=aa.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!aa.isUndefined(t[e])}))).metaTokens,i=n.visitor||p,r=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&aa.isSpecCompliantForm(t);if(!aa.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(aa.isDate(e))return e.toISOString();if(!s&&aa.isBlob(e))throw new sa("Blob is not supported. Use a Buffer instead.");return aa.isArrayBuffer(e)||aa.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(aa.endsWith(n,"{}"))n=a?n:n.slice(0,-2),e=JSON.stringify(e);else if(aa.isArray(e)&&function(e){return aa.isArray(e)&&!e.some(pa)}(e)||(aa.isFileList(e)||aa.endsWith(n,"[]"))&&(s=aa.toArray(e)))return n=la(n),s.forEach((function(e,a){!aa.isUndefined(e)&&null!==e&&t.append(!0===o?ua([n],a,r):null===o?n:n+"[]",c(e))})),!1;return!!pa(e)||(t.append(ua(i,n,r),c(e)),!1)}const l=[],u=Object.assign(da,{defaultVisitor:p,convertValue:c,isVisitable:pa});if(!aa.isObject(e))throw new TypeError("data must be an object");return function e(n,a){if(!aa.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+a.join("."));l.push(n),aa.forEach(n,(function(n,r){!0===(!(aa.isUndefined(n)||null===n)&&i.call(t,n,aa.isString(r)?r.trim():r,a,u))&&e(n,a?a.concat(r):[r])})),l.pop()}}(e),t};function fa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ya(e,t){this._pairs=[],e&&ma(e,this,t)}const va=ya.prototype;va.append=function(e,t){this._pairs.push([e,t])},va.toString=function(e){const t=e?function(t){return e.call(this,t,fa)}:fa;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ba=ya;function ha(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ga(e,t,n){if(!t)return e;const a=n&&n.encode||ha,i=n&&n.serialize;let r;if(r=i?i(t,n):aa.isURLSearchParams(t)?t.toString():new ba(t,n).toString(a),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}const xa=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){aa.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},wa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Oa={isNode:!0,classes:{URLSearchParams:n(7016).URLSearchParams,FormData:ca,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]},ja="undefined"!=typeof window&&"undefined"!=typeof document,Ia="object"==typeof navigator&&navigator||void 0,Pa=ja&&(!Ia||["ReactNative","NativeScript","NS"].indexOf(Ia.product)<0),Ta="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Sa=ja&&window.location.href||"http://localhost",ka={...e,...Oa},Ea=function(e){function t(e,n,a,i){let r=e[i++];if("__proto__"===r)return!0;const o=Number.isFinite(+r),s=i>=e.length;return r=!r&&aa.isArray(a)?a.length:r,s?(aa.hasOwnProp(a,r)?a[r]=[a[r],n]:a[r]=n,!o):(a[r]&&aa.isObject(a[r])||(a[r]=[]),t(e,n,a[r],i)&&aa.isArray(a[r])&&(a[r]=function(e){const t={},n=Object.keys(e);let a;const i=n.length;let r;for(a=0;a<i;a++)r=n[a],t[r]=e[r];return t}(a[r])),!o)}if(aa.isFormData(e)&&aa.isFunction(e.entries)){const n={};return aa.forEachEntry(e,((e,a)=>{t(function(e){return aa.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),a,n,0)})),n}return null},Aa={transitional:wa,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",a=n.indexOf("application/json")>-1,i=aa.isObject(e);if(i&&aa.isHTMLForm(e)&&(e=new FormData(e)),aa.isFormData(e))return a?JSON.stringify(Ea(e)):e;if(aa.isArrayBuffer(e)||aa.isBuffer(e)||aa.isStream(e)||aa.isFile(e)||aa.isBlob(e)||aa.isReadableStream(e))return e;if(aa.isArrayBufferView(e))return e.buffer;if(aa.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ma(e,new ka.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,a){return ka.isNode&&aa.isBuffer(e)?(this.append(t,e.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=aa.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ma(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||a?(t.setContentType("application/json",!1),function(e){if(aa.isString(e))try{return(0,JSON.parse)(e),aa.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Aa.transitional,n=t&&t.forcedJSONParsing,a="json"===this.responseType;if(aa.isResponse(e)||aa.isReadableStream(e))return e;if(e&&aa.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 sa.from(e,sa.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:ka.classes.FormData,Blob:ka.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};aa.forEach(["delete","get","head","post","put","patch"],(e=>{Aa.headers[e]={}}));const Ca=Aa,_a=aa.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"]),Ra=Symbol("internals");function Da(e){return e&&String(e).trim().toLowerCase()}function za(e){return!1===e||null==e?e:aa.isArray(e)?e.map(za):String(e)}function Ma(e,t,n,a,i){return aa.isFunction(a)?a.call(this,t,n):(i&&(t=n),aa.isString(t)?aa.isString(a)?-1!==t.indexOf(a):aa.isRegExp(a)?a.test(t):void 0:void 0)}class $a{constructor(e){e&&this.set(e)}set(e,t,n){const a=this;function i(e,t,n){const i=Da(t);if(!i)throw new Error("header name must be a non-empty string");const r=aa.findKey(a,i);(!r||void 0===a[r]||!0===n||void 0===n&&!1!==a[r])&&(a[r||t]=za(e))}const r=(e,t)=>aa.forEach(e,((e,n)=>i(e,n,t)));if(aa.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(aa.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,a,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),a=e.substring(i+1).trim(),!n||t[n]&&_a[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(aa.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=Da(e)){const n=aa.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(aa.isFunction(t))return t.call(this,e,n);if(aa.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Da(e)){const n=aa.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ma(0,this[n],n,t))}return!1}delete(e,t){const n=this;let a=!1;function i(e){if(e=Da(e)){const i=aa.findKey(n,e);!i||t&&!Ma(0,n[i],i,t)||(delete n[i],a=!0)}}return aa.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&&!Ma(0,this[i],i,e,!0)||(delete this[i],a=!0)}return a}normalize(e){const t=this,n={};return aa.forEach(this,((a,i)=>{const r=aa.findKey(n,i);if(r)return t[r]=za(a),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();o!==i&&delete t[i],t[o]=za(a),n[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return aa.forEach(this,((n,a)=>{null!=n&&!1!==n&&(t[a]=e&&aa.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[Ra]=this[Ra]={accessors:{}}).accessors,n=this.prototype;function a(e){const a=Da(e);t[a]||(function(e,t){const n=aa.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 aa.isArray(e)?e.forEach(a):a(e),this}}$a.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),aa.reduceDescriptors($a.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),aa.freezeMethods($a);const Fa=$a;function qa(e,t){const n=this||Ca,a=t||n,i=Fa.from(a.headers);let r=a.data;return aa.forEach(e,(function(e){r=e.call(n,r,i.normalize(),t?t.status:void 0)})),i.normalize(),r}function La(e){return!(!e||!e.__CANCEL__)}function Ua(e,t,n){sa.call(this,null==e?"canceled":e,sa.ERR_CANCELED,t,n),this.name="CanceledError"}aa.inherits(Ua,sa,{__CANCEL__:!0});const Ba=Ua;function Na(e,t,n){const a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new sa("Request failed with status code "+n.status,[sa.ERR_BAD_REQUEST,sa.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Wa(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 Ka=n(1420),Va=n(8611),Ha=n(5692),Xa=n(9023),Ga=n(3520);const Ja=require("zlib"),Qa="1.7.7";function Ya(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Za=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;var ei=n(2203);const ti=Symbol("internals");class ni extends ei.Transform{constructor(e){super({readableHighWaterMark:(e=aa.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!aa.isUndefined(t[e])))).chunkSize});const t=this[ti]={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[ti];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const a=this[ti],i=a.maxRate,r=this.readableHighWaterMark,o=a.timeWindow,s=i/(1e3/o),c=!1!==a.minChunkSize?Math.max(a.minChunkSize,.01*s):0,p=(e,t)=>{const n=Buffer.byteLength(e);a.bytesSeen+=n,a.bytes+=n,a.isCaptured&&this.emit("progress",a.bytesSeen),this.push(e)?process.nextTick(t):a.onReadCallback=()=>{a.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,u=null,d=r,m=0;if(i){const e=Date.now();(!a.ts||(m=e-a.ts)>=o)&&(a.ts=e,l=s-a.bytes,a.bytes=l<0?-l:0,m=0),l=s-a.bytes}if(i){if(l<=0)return setTimeout((()=>{t(null,e)}),o-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(u=e.subarray(d),e=e.subarray(0,d)),p(e,u?()=>{process.nextTick(t,null,u)}:t)};l(e,(function e(t,a){if(t)return n(t);a?l(a,e):n(null)}))}}const ai=ni,ii=require("events"),{asyncIterator:ri}=Symbol,oi=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[ri]?yield*e[ri]():yield e},si=aa.ALPHABET.ALPHA_DIGIT+"-_",ci=new Xa.TextEncoder,pi="\r\n",li=ci.encode(pi);class ui{constructor(e,t){const{escapeName:n}=this.constructor,a=aa.isString(t);let i=`Content-Disposition: form-data; name="${n(e)}"${!a&&t.name?`; filename="${n(t.name)}"`:""}${pi}`;a?t=ci.encode(String(t).replace(/\r?\n|\r\n?/g,pi)):i+=`Content-Type: ${t.type||"application/octet-stream"}${pi}`,this.headers=ci.encode(i+pi),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;aa.isTypedArray(e)?yield e:yield*oi(e),yield li}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class di extends ei.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 mi=di,fi=(e,t)=>aa.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,yi=(e,t,n=3)=>{let a=0;const i=function(e,t){e=e||10;const n=new Array(e),a=new Array(e);let i,r=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),p=a[o];i||(i=c),n[r]=s,a[r]=c;let l=o,u=0;for(;l!==r;)u+=n[l++],l%=e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-i<t)return;const d=p&&c-p;return d?Math.round(1e3*u/d):void 0}}(50,250);return function(e,t){let n,a,i=0,r=1e3/t;const o=(t,r=Date.now())=>{i=r,n=null,a&&(clearTimeout(a),a=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=r?o(e,t):(n=e,a||(a=setTimeout((()=>{a=null,o(n)}),r-s)))},()=>n&&o(n)]}((n=>{const r=n.loaded,o=n.lengthComputable?n.total:void 0,s=r-a,c=i(s);a=r,e({loaded:r,total:o,progress:o?r/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&r<=o?(o-r)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),n)},vi=(e,t)=>{const n=null!=e;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},bi=e=>(...t)=>aa.asap((()=>e(...t))),hi={flush:Ja.constants.Z_SYNC_FLUSH,finishFlush:Ja.constants.Z_SYNC_FLUSH},gi={flush:Ja.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ja.constants.BROTLI_OPERATION_FLUSH},xi=aa.isFunction(Ja.createBrotliDecompress),{http:wi,https:Oi}=Ga,ji=/https:?/,Ii=ka.protocols.map((e=>e+":")),Pi=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Ti(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Si(e,t,n){let a=t;if(!a&&!1!==a){const e=(0,Ka.T)(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){Si(e,t,e.href)}}const ki="undefined"!=typeof process&&"process"===aa.kindOf(process),Ei=(e,t)=>(({address:e,family:t})=>{if(!aa.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(aa.isObject(e)?e:{address:e,family:t}),Ai=ki&&function(e){return t=async function(t,n,a){let{data:i,lookup:r,family:o}=e;const{responseType:s,responseEncoding:c}=e,p=e.method.toUpperCase();let l,u,d=!1;if(r){const e=fi(r,(e=>aa.isArray(e)?e:[e]));r=(t,n,a)=>{e(t,n,((e,t,i)=>{if(e)return a(e);const r=aa.isArray(t)?t.map((e=>Ei(e))):[Ei(t,i)];n.all?a(e,r):a(e,r[0].address,r[0].family)}))}}const m=new ii.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 Ba(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=Wa(e.baseURL,e.url),b=new URL(v,ka.hasBrowserEnv?ka.origin:void 0),h=b.protocol||Ii[0];if("data:"===h){let a;if("GET"!==p)return Na(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{a=function(e,t,n){const a=n&&n.Blob||ka.classes.Blob,i=Ya(e);if(void 0===t&&a&&(t=!0),"data"===i){e=i.length?e.slice(i.length+1):e;const n=Za.exec(e);if(!n)throw new sa("Invalid URL",sa.ERR_INVALID_URL);const r=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!a)throw new sa("Blob is not supported",sa.ERR_NOT_SUPPORT);return new a([c],{type:r})}return c}throw new sa("Unsupported protocol "+i,sa.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw sa.from(t,sa.ERR_BAD_REQUEST,e)}return"text"===s?(a=a.toString(c),c&&"utf8"!==c||(a=aa.stripBOM(a))):"stream"===s&&(a=ei.Readable.from(a)),Na(t,n,{data:a,status:200,statusText:"OK",headers:new Fa,config:e})}if(-1===Ii.indexOf(h))return n(new sa("Unsupported protocol "+h,sa.ERR_BAD_REQUEST,e));const g=Fa.from(e.headers).normalize();g.set("User-Agent","axios/"+Qa,!1);const{onUploadProgress:x,onDownloadProgress:w}=e,O=e.maxRate;let j,I;if(aa.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:r=a+"-"+aa.generateString(i,si)}=n||{};if(!aa.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const o=ci.encode("--"+r+pi),s=ci.encode("--"+r+"--"+pi+pi);let c=s.byteLength;const p=Array.from(e.entries()).map((([e,t])=>{const n=new ui(e,t);return c+=n.size,n}));c+=o.byteLength*p.length,c=aa.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),ei.Readable.from(async function*(){for(const e of p)yield o,yield*e.encode();yield s}())})(i,(e=>{g.set(e)}),{tag:`axios-${Qa}-boundary`,boundary:e&&e[1]||void 0})}else if(aa.isFormData(i)&&aa.isFunction(i.getHeaders)){if(g.set(i.getHeaders()),!g.hasContentLength())try{const e=await Xa.promisify(i.getLength).call(i);Number.isFinite(e)&&e>=0&&g.setContentLength(e)}catch(e){}}else if(aa.isBlob(i))i.size&&g.setContentType(i.type||"application/octet-stream"),g.setContentLength(i.size||0),i=ei.Readable.from(oi(i));else if(i&&!aa.isStream(i)){if(Buffer.isBuffer(i));else if(aa.isArrayBuffer(i))i=Buffer.from(new Uint8Array(i));else{if(!aa.isString(i))return n(new sa("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",sa.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 sa("Request body larger than maxBodyLength limit",sa.ERR_BAD_REQUEST,e))}const P=aa.toFiniteNumber(g.getContentLength());let T,S;aa.isArray(O)?(j=O[0],I=O[1]):j=I=O,i&&(x||j)&&(aa.isStream(i)||(i=ei.Readable.from(i,{objectMode:!1})),i=ei.pipeline([i,new ai({maxRate:aa.toFiniteNumber(j)})],aa.noop),x&&i.on("progress",Pi(i,vi(P,yi(bi(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=ga(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"+(xi?", br":""),!1);const k={path:S,method:p,headers:g.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:T,protocol:h,family:o,beforeRedirect:Ti,beforeRedirects:{}};let E;!aa.isUndefined(r)&&(k.lookup=r),e.socketPath?k.socketPath=e.socketPath:(k.hostname=b.hostname.startsWith("[")?b.hostname.slice(1,-1):b.hostname,k.port=b.port,Si(k,e.proxy,h+"//"+b.hostname+(b.port?":"+b.port:"")+k.path));const A=ji.test(k.protocol);if(k.agent=A?e.httpsAgent:e.httpAgent,e.transport?E=e.transport:0===e.maxRedirects?E=A?Ha:Va:(e.maxRedirects&&(k.maxRedirects=e.maxRedirects),e.beforeRedirect&&(k.beforeRedirects.config=e.beforeRedirect),E=A?Oi:wi),e.maxBodyLength>-1?k.maxBodyLength=e.maxBodyLength:k.maxBodyLength=1/0,e.insecureHTTPParser&&(k.insecureHTTPParser=e.insecureHTTPParser),u=E.request(k,(function(a){if(u.destroyed)return;const i=[a],r=+a.headers["content-length"];if(w||I){const e=new ai({maxRate:aa.toFiniteNumber(I)});w&&e.on("progress",Pi(e,vi(r,yi(bi(w),!0,3)))),i.push(e)}let o=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(Ja.createUnzip(hi)),delete a.headers["content-encoding"];break;case"deflate":i.push(new mi),i.push(Ja.createUnzip(hi)),delete a.headers["content-encoding"];break;case"br":xi&&(i.push(Ja.createBrotliDecompress(gi)),delete a.headers["content-encoding"])}o=i.length>1?ei.pipeline(i,aa.noop):i[0];const y=ei.finished(o,(()=>{y(),f()})),v={status:a.statusCode,statusText:a.statusMessage,headers:new Fa(a.headers),config:e,request:l};if("stream"===s)v.data=o,Na(t,n,v);else{const a=[];let i=0;o.on("data",(function(t){a.push(t),i+=t.length,e.maxContentLength>-1&&i>e.maxContentLength&&(d=!0,o.destroy(),n(new sa("maxContentLength size of "+e.maxContentLength+" exceeded",sa.ERR_BAD_RESPONSE,e,l)))})),o.on("aborted",(function(){if(d)return;const t=new sa("maxContentLength size of "+e.maxContentLength+" exceeded",sa.ERR_BAD_RESPONSE,e,l);o.destroy(t),n(t)})),o.on("error",(function(t){u.destroyed||n(sa.from(t,null,e,l))})),o.on("end",(function(){try{let e=1===a.length?a[0]:Buffer.concat(a);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=aa.stripBOM(e))),v.data=e}catch(t){return n(sa.from(t,null,e,v.request,v))}Na(t,n,v)}))}m.once("abort",(e=>{o.destroyed||(o.emit("error",e),o.destroy())}))})),m.once("abort",(e=>{n(e),u.destroy(e)})),u.on("error",(function(t){n(sa.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 sa("error trying to parse `config.timeout` to int",sa.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||wa;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new sa(t,a.clarifyTimeoutError?sa.ETIMEDOUT:sa.ECONNABORTED,e,u)),y()}))}if(aa.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 Ba("Request stream has been aborted",e,u))})),i.pipe(u)}else u.end(i)},new Promise(((e,n)=>{let a,i;const r=(e,t)=>{i||(i=!0,a&&a(e,t))},o=e=>{r(e,!0),n(e)};t((t=>{r(t),e(t)}),o,(e=>a=e)).catch(o)}));var t},Ci=ka.hasStandardBrowserEnv?function(){const e=ka.navigator&&/(msie|trident)/i.test(ka.navigator.userAgent),t=document.createElement("a");let n;function a(n){let a=n;return e&&(t.setAttribute("href",a),a=t.href),t.setAttribute("href",a),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=a(window.location.href),function(e){const t=aa.isString(e)?a(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},_i=ka.hasStandardBrowserEnv?{write(e,t,n,a,i,r){const o=[e+"="+encodeURIComponent(t)];aa.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),aa.isString(a)&&o.push("path="+a),aa.isString(i)&&o.push("domain="+i),!0===r&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}},Ri=e=>e instanceof Fa?{...e}:e;function Di(e,t){t=t||{};const n={};function a(e,t,n){return aa.isPlainObject(e)&&aa.isPlainObject(t)?aa.merge.call({caseless:n},e,t):aa.isPlainObject(t)?aa.merge({},t):aa.isArray(t)?t.slice():t}function i(e,t,n){return aa.isUndefined(t)?aa.isUndefined(e)?void 0:a(void 0,e,n):a(e,t,n)}function r(e,t){if(!aa.isUndefined(t))return a(void 0,t)}function o(e,t){return aa.isUndefined(t)?aa.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function s(n,i,r){return r in t?a(n,i):r in e?a(void 0,n):void 0}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t)=>i(Ri(e),Ri(t),!0)};return aa.forEach(Object.keys(Object.assign({},e,t)),(function(a){const r=c[a]||i,o=r(e[a],t[a],a);aa.isUndefined(o)&&r!==s||(n[a]=o)})),n}const zi=e=>{const t=Di({},e);let n,{data:a,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:o,headers:s,auth:c}=t;if(t.headers=s=Fa.from(s),t.url=ga(Wa(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),aa.isFormData(a))if(ka.hasStandardBrowserEnv||ka.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(ka.hasStandardBrowserEnv&&(i&&aa.isFunction(i)&&(i=i(t)),i||!1!==i&&Ci(t.url))){const e=r&&o&&_i.read(o);e&&s.set(r,e)}return t},Mi="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const a=zi(e);let i=a.data;const r=Fa.from(a.headers).normalize();let o,s,c,p,l,{responseType:u,onUploadProgress:d,onDownloadProgress:m}=a;function f(){p&&p(),l&&l(),a.cancelToken&&a.cancelToken.unsubscribe(o),a.signal&&a.signal.removeEventListener("abort",o)}let y=new XMLHttpRequest;function v(){if(!y)return;const a=Fa.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Na((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 sa("Request aborted",sa.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new sa("Network Error",sa.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||wa;a.timeoutErrorMessage&&(t=a.timeoutErrorMessage),n(new sa(t,i.clarifyTimeoutError?sa.ETIMEDOUT:sa.ECONNABORTED,e,y)),y=null},void 0===i&&r.setContentType(null),"setRequestHeader"in y&&aa.forEach(r.toJSON(),(function(e,t){y.setRequestHeader(t,e)})),aa.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),u&&"json"!==u&&(y.responseType=a.responseType),m&&([c,l]=yi(m,!0),y.addEventListener("progress",c)),d&&y.upload&&([s,p]=yi(d),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(o=t=>{y&&(n(!t||t.type?new Ba(null,e,y):t),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(o),a.signal&&(a.signal.aborted?o():a.signal.addEventListener("abort",o)));const b=Ya(a.url);b&&-1===ka.protocols.indexOf(b)?n(new sa("Unsupported protocol "+b+":",sa.ERR_BAD_REQUEST,e)):y.send(i||null)}))},$i=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,a=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;a.abort(t instanceof sa?t:new Ba(t instanceof Error?t.message:t))}};let r=t&&setTimeout((()=>{r=null,i(new sa(`timeout ${t} of ms exceeded`,sa.ETIMEDOUT))}),t);const o=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=a;return s.unsubscribe=()=>aa.asap(o),s}},Fi=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},qi=(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*Fi(n,t)}(e,t);let r,o=0,s=e=>{r||(r=!0,a&&a(e))};return new ReadableStream({async pull(e){try{const{done:t,value:a}=await i.next();if(t)return s(),void e.close();let r=a.byteLength;if(n){let e=o+=r;n(e)}e.enqueue(new Uint8Array(a))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},Li="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ui=Li&&"function"==typeof ReadableStream,Bi=Li&&("function"==typeof TextEncoder?(Ni=new TextEncoder,e=>Ni.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ni;const Wi=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ki=Ui&&Wi((()=>{let e=!1;const t=new Request(ka.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Vi=Ui&&Wi((()=>aa.isReadableStream(new Response("").body))),Hi={stream:Vi&&(e=>e.body)};var Xi;Li&&(Xi=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Hi[e]&&(Hi[e]=aa.isFunction(Xi[e])?t=>t[e]():(t,n)=>{throw new sa(`Response type '${e}' is not supported`,sa.ERR_NOT_SUPPORT,n)})})));const Gi=Li&&(async e=>{let{url:t,method:n,data:a,signal:i,cancelToken:r,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:d}=zi(e);p=p?(p+"").toLowerCase():"text";let m,f=$i([i,r&&r.toAbortSignal()],o);const y=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let v;try{if(c&&Ki&&"get"!==n&&"head"!==n&&0!==(v=await(async(e,t)=>{const n=aa.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(aa.isBlob(e))return e.size;if(aa.isSpecCompliantForm(e)){const t=new Request(ka.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return aa.isArrayBufferView(e)||aa.isArrayBuffer(e)?e.byteLength:(aa.isURLSearchParams(e)&&(e+=""),aa.isString(e)?(await Bi(e)).byteLength:void 0)})(t):n})(l,a))){let e,n=new Request(t,{method:"POST",body:a,duplex:"half"});if(aa.isFormData(a)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=vi(v,yi(bi(c)));a=qi(n.body,65536,e,t)}}aa.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 r=await fetch(m);const o=Vi&&("stream"===p||"response"===p);if(Vi&&(s||o&&y)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=r[t]}));const t=aa.toFiniteNumber(r.headers.get("content-length")),[n,a]=s&&vi(t,yi(bi(s),!0))||[];r=new Response(qi(r.body,65536,n,(()=>{a&&a(),y&&y()})),e)}p=p||"text";let b=await Hi[aa.findKey(Hi,p)||"text"](r,e);return!o&&y&&y(),await new Promise(((t,n)=>{Na(t,n,{data:b,headers:Fa.from(r.headers),status:r.status,statusText:r.statusText,config:e,request:m})}))}catch(t){if(y&&y(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new sa("Network Error",sa.ERR_NETWORK,e,m),{cause:t.cause||t});throw sa.from(t,t&&t.code,e,m)}}),Ji={http:Ai,xhr:Mi,fetch:Gi};aa.forEach(Ji,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Qi=e=>`- ${e}`,Yi=e=>aa.isFunction(e)||null===e||!1===e,Zi=e=>{e=aa.isArray(e)?e:[e];const{length:t}=e;let n,a;const i={};for(let r=0;r<t;r++){let t;if(n=e[r],a=n,!Yi(n)&&(a=Ji[(t=String(n)).toLowerCase()],void 0===a))throw new sa(`Unknown adapter '${t}'`);if(a)break;i[t||"#"+r]=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(Qi).join("\n"):" "+Qi(e[0]):"as no adapter specified";throw new sa("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return a};function er(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ba(null,e)}function tr(e){return er(e),e.headers=Fa.from(e.headers),e.data=qa.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zi(e.adapter||Ca.adapter)(e).then((function(t){return er(e),t.data=qa.call(e,e.transformResponse,t),t.headers=Fa.from(t.headers),t}),(function(t){return La(t)||(er(e),t&&t.response&&(t.response.data=qa.call(e,e.transformResponse,t.response),t.response.headers=Fa.from(t.response.headers))),Promise.reject(t)}))}const nr={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{nr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ar={};nr.transitional=function(e,t,n){function a(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,r)=>{if(!1===e)throw new sa(a(i," has been removed"+(t?" in "+t:"")),sa.ERR_DEPRECATED);return t&&!ar[i]&&(ar[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,r)}};const ir={assertOptions:function(e,t,n){if("object"!=typeof e)throw new sa("options must be an object",sa.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let i=a.length;for(;i-- >0;){const r=a[i],o=t[r];if(o){const t=e[r],n=void 0===t||o(t,r,e);if(!0!==n)throw new sa("option "+r+" must be "+n,sa.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new sa("Unknown option "+r,sa.ERR_BAD_OPTION)}},validators:nr},rr=ir.validators;class or{constructor(e){this.defaults=e,this.interceptors={request:new xa,response:new xa}}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=Di(this.defaults,t);const{transitional:n,paramsSerializer:a,headers:i}=t;void 0!==n&&ir.assertOptions(n,{silentJSONParsing:rr.transitional(rr.boolean),forcedJSONParsing:rr.transitional(rr.boolean),clarifyTimeoutError:rr.transitional(rr.boolean)},!1),null!=a&&(aa.isFunction(a)?t.paramsSerializer={serialize:a}:ir.assertOptions(a,{encode:rr.function,serialize:rr.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=i&&aa.merge(i.common,i[t.method]);i&&aa.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Fa.concat(r,i);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let p;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,u=0;if(!s){const e=[tr.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,p=Promise.resolve(t);u<l;)p=p.then(e[u++],e[u++]);return p}l=o.length;let d=t;for(u=0;u<l;){const e=o[u++],t=o[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{p=tr.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 ga(Wa((e=Di(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}aa.forEach(["delete","get","head","options"],(function(e){or.prototype[e]=function(t,n){return this.request(Di(n||{},{method:e,url:t,data:(n||{}).data}))}})),aa.forEach(["post","put","patch"],(function(e){function t(t){return function(n,a,i){return this.request(Di(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))}}or.prototype[e]=t(),or.prototype[e+"Form"]=t(!0)}));const sr=or;class cr{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 Ba(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 cr((function(t){e=t})),cancel:e}}}const pr=cr,lr={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(lr).forEach((([e,t])=>{lr[t]=e}));const ur=lr,dr=function e(t){const n=new sr(t),a=mn(sr.prototype.request,n);return aa.extend(a,sr.prototype,n,{allOwnKeys:!0}),aa.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e(Di(t,n))},a}(Ca);dr.Axios=sr,dr.CanceledError=Ba,dr.CancelToken=pr,dr.isCancel=La,dr.VERSION=Qa,dr.toFormData=ma,dr.AxiosError=sa,dr.Cancel=dr.CanceledError,dr.all=function(e){return Promise.all(e)},dr.spread=function(e){return function(t){return e.apply(null,t)}},dr.isAxiosError=function(e){return aa.isObject(e)&&!0===e.isAxiosError},dr.mergeConfig=Di,dr.AxiosHeaders=Fa,dr.formToJSON=e=>Ea(aa.isHTMLForm(e)?new FormData(e):e),dr.getAdapter=Zi,dr.HttpStatusCode=ur,dr.default=dr;const mr=dr;var fr=Function.prototype.toString,yr=Object.create,vr=Object.prototype.toString,br=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}(),hr="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new br};function gr(e){if(!e)return yr(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:yr(e);if(t&&~fr.call(t).indexOf("[native code]"))try{return new t}catch(e){}return yr(e)}var xr="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 wr(e){var t=vr.call(e);return t.substring(8,t.length-1)}var Or="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||wr(e)}:wr,jr=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Pr=Object.getOwnPropertyNames,Tr=Object.getOwnPropertySymbols,Sr=Object.prototype,kr=Sr.hasOwnProperty,Er=Sr.propertyIsEnumerable,Ar="function"==typeof Tr,Cr=Ar?function(e){return Pr(e).concat(Tr(e))}:Pr;function _r(e,t,n){for(var a=Cr(e),i=0,r=a.length,o=void 0,s=void 0;i<r;++i)if("callee"!==(o=a[i])&&"caller"!==o)if(s=Ir(e,o)){s.get||s.set||(s.value=n.copier(s.value,n));try{jr(t,o,s)}catch(e){t[o]=s.value}}else t[o]=n.copier(e[o],n);return t}function Rr(e,t){return e.slice(0)}function Dr(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 zr=Ar?function(e,t){var n=gr(t.prototype);for(var a in t.cache.set(e,n),e)kr.call(e,a)&&(n[a]=t.copier(e[a],t));for(var i=Tr(e),r=0,o=i.length,s=void 0;r<o;++r)s=i[r],Er.call(e,s)&&(n[s]=t.copier(e[s],t));return n}:function(e,t){var n=gr(t.prototype);for(var a in t.cache.set(e,n),e)kr.call(e,a)&&(n[a]=t.copier(e[a],t));return n};function Mr(e,t){return new t.Constructor(e.valueOf())}function $r(e,t){return e}function Fr(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 qr=Array.isArray,Lr=Object.assign,Ur=Object.getPrototypeOf||function(e){return e.__proto__},Br={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:Rr,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(Rr(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:$r,map:Dr,object:zr,regExp:function(e,t){var n=new t.Constructor(e.source,xr(e));return n.lastIndex=e.lastIndex,n},set:Fr},Nr=Lr({},Br,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),_r(e,n,t)},map:function(e,t){return _r(e,Dr(e,t),t)},object:function(e,t){var n=gr(t.prototype);return t.cache.set(e,n),_r(e,n,t)},set:function(e,t){return _r(e,Fr(e,t),t)}});function Wr(e){var t=function(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Mr,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:Mr,Object:e.object,Promise:$r,RegExp:e.regExp,Set:e.set,String:Mr,WeakMap:$r,WeakSet:$r,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}(Lr({},Br,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=Ur(e),i.Constructor=i.prototype&&i.prototype.constructor,!i.Constructor||i.Constructor===Object)return a(e,i);if(qr(e))return n(e,i);var r=t[Or(e)];return r?r(e,i):"function"==typeof e.then?e:a(e,i)}return function(e){return i(e,{Constructor:void 0,cache:hr(),copier:i,prototype:void 0})}}Wr(Lr({},Nr,{}));var Kr=Wr({});function Vr(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 Hr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach((function(t){Xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xr(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 Gr(e){var t;return null===(t=e.defaults.baseURL)||void 0===t?void 0:t.split("/spaces")[0]}function Jr(e,t,n){return e.get(t,Hr({baseURL:Gr(e)},n)).then((e=>e.data),dn)}function Qr(e,t,n,a){return e.patch(t,n,Hr({baseURL:Gr(e)},a)).then((e=>e.data),dn)}function Yr(e,t,n,a){return e.post(t,n,Hr({baseURL:Gr(e)},a)).then((e=>e.data),dn)}function Zr(e,t,n,a){return e.put(t,n,Hr({baseURL:Gr(e)},a)).then((e=>e.data),dn)}function eo(e,t,n){return e.delete(t,Hr({baseURL:Gr(e)},n)).then((e=>e.data),dn)}function to(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 no(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?to(Object(n),!0).forEach((function(t){ao(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ao(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 io=(e,t)=>Jr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),ro=(e,t)=>Jr(e,`/spaces/${t.spaceId}/api_keys`,{params:t.query}),oo=(e,t,n,a)=>Yr(e,`/spaces/${t.spaceId}/api_keys`,n,{headers:a}),so=(e,t,n,a)=>Zr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,n,{headers:a}),co=(e,t,n,a)=>{var i;const r=Kr(n);return"accessToken"in r&&delete r.accessToken,"preview_api_key"in r&&delete r.preview_api_key,"policies"in r&&delete r.policies,delete r.sys,Zr(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`,r,{headers:no({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},po=(e,t)=>eo(e,`/spaces/${t.spaceId}/api_keys/${t.apiKeyId}`),lo=["spaceId"];function uo(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 mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(n),!0).forEach((function(t){fo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fo(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 yo(e){return e&&e.select&&!/sys/i.test(e.select)?mo(mo({},e),{},{select:e.select+",sys"}):e}function vo(e){if(e&&e.spaceId){const{spaceId:t}=e;return mo(mo({},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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,lo)),{},{"sys.space.sys.id[in]":t})}return e}const bo=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/actions`,ho=e=>`${bo(e)}/${e.appActionId}`,go=(e,t)=>Jr(e,ho(t)),xo=(e,t)=>Jr(e,bo(t),{params:yo(t.query)}),wo=(e,t)=>Jr(e,(e=>e.environmentId?`/spaces/${e.spaceId}/environments/${e.environmentId}/actions`:`/spaces/${e.spaceId}/actions`)(t),{params:yo(t.query)}),Oo=(e,t)=>eo(e,ho(t)),jo=(e,t,n)=>Yr(e,bo(t),n),Io=(e,t,n)=>Zr(e,ho(t),n),Po=e=>(t,n,...a)=>{const i=un(Kr(n));return i.items=i.items.map((n=>e(t,n,...a))),i},To=e=>(t,n,...a)=>{const i=un(Kr(n));return i.items=i.items.map((n=>e(t,n,...a))),i};function So(e){return e<300}async function ko(e=1e3){return new Promise((t=>setTimeout(t,e)))}function Eo(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 Ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(n),!0).forEach((function(t){Co(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Co(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 _o=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n),Ro=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/actions/${t.appActionId}/calls/${t.callId}`),Do=async(e,t,n)=>async function(e,t,{callId:n}){let a=1;const i=t.retryInterval||2e3,r=t.retries||15;return new Promise(((o,s)=>{const c=async()=>{try{var p,l;const d=await Ro(e,Ao(Ao({},t),{},{callId:n}));if(null!=d&&null!==(p=d.response)&&void 0!==p&&p.statusCode&&!So(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(So(d.statusCode))o(d);else if(u=d.statusCode,[404,422,429,400].includes(u)&&a<r)a++,await ko(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>r)return void s(new Error("The app action response is taking longer than expected to process."));await ko(i),c()}var u};c()}))}(e,t,{callId:(await Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/actions/${t.appActionId}/calls`,n)).sys.id}),zo=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/app_bundles`,Mo=e=>`${zo(e)}/${e.appBundleId}`,$o=(e,t)=>Jr(e,Mo(t)),Fo=(e,t)=>Jr(e,zo(t),{params:yo(t.query)}),qo=(e,t)=>eo(e,Mo(t)),Lo=(e,t,n)=>{const{appUploadId:a,comment:i,actions:r,functions:o}=n,s={upload:{sys:{type:"Link",linkType:"AppUpload",id:a}},comment:i,actions:r,functions:o};return Yr(e,zo(t),s)};function Uo(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 Bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach((function(t){No(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function No(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 Wo=e=>`/organizations/${e.organizationId}/app_definitions`,Ko=e=>Wo(e)+`/${e.appDefinitionId}`,Vo=(e,t)=>Jr(e,Ko(t),{params:yo(t.query)}),Ho=(e,t)=>Jr(e,Wo(t),{params:t.query}),Xo=(e,t,n)=>{const a=Kr(n);return Yr(e,Wo(t),a)},Go=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,Ko(t),r,{headers:Bo({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Jo=(e,t)=>eo(e,Ko(t)),Qo=(e,t)=>Jr(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:Bo(Bo({},vo(yo(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),Yo=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`),Zo=(e,t,n)=>Zr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`,n),es=(e,t)=>eo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/details`);function ts(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 ns(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ts(Object(n),!0).forEach((function(t){as(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ts(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function as(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 is=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/app_installations`,rs=e=>is(e)+`/${e.appDefinitionId}`,os=(e,t)=>Jr(e,rs(t),{params:yo(t.query)}),ss=(e,t)=>Jr(e,is(t),{params:yo(t.query)}),cs=(e,t,n,a)=>{const i=Kr(n);return Zr(e,rs(t),i,{headers:ns(ns({},a),t.acceptAllTerms&&{"X-Contentful-Marketplace":"i-accept-end-user-license-agreement,i-accept-marketplace-terms-of-service,i-accept-privacy-policy"})})},ps=(e,t)=>eo(e,rs(t)),ls=(e,t)=>Jr(e,(e=>`/app_definitions/${e.appDefinitionId}/app_installations`)(t),{params:ns(ns({},vo(yo(t.query))),{},{"sys.organization.sys.id[in]":t.organizationId})}),us=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/signed_requests`,n),ds=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),ms=(e,t,n)=>Zr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`,n),fs=(e,t)=>eo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/signing_secret`),ys=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),vs=(e,t,n)=>Zr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`,n),bs=(e,t)=>eo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/event_subscription`),hs=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),gs=(e,t)=>Jr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`),xs=(e,t,n)=>Yr(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys`,n),ws=(e,t)=>eo(e,`/organizations/${t.organizationId}/app_definitions/${t.appDefinitionId}/keys/${t.fingerprint}`),Os=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/app_installations/${t.appDefinitionId}/access_tokens`,void 0,{headers:{Authorization:`Bearer ${n.jwt}`}});function js(e,t){var n;const{hostUpload:a,defaultHostnameUpload:i,timeout:r}=e.httpClientParams;return e.cloneWithNewParams({host:a||i,timeout:null!==(n=null!=r?r:null==t?void 0:t.uploadTimeout)&&void 0!==n?n:3e5})}const Is=e=>`/organizations/${e.organizationId}/app_uploads`,Ps=e=>`${Is(e)}/${e.appUploadId}`,Ts=(e,t)=>Jr(js(e),Ps(t)),Ss=(e,t)=>eo(js(e),Ps(t)),ks=(e,t,n)=>{const a=js(e),{file:i}=n;return Yr(a,Is(t),i,{headers:{"Content-Type":"application/octet-stream"}})},Es=e=>{const t=`/spaces/${e.spaceId}/uploads`,n=`/spaces/${e.spaceId}/environments/${e.environmentId}/uploads`;return e.environmentId?n:t},As=e=>Es(e)+`/${e.uploadId}`,Cs=(e,t,n)=>{const a=js(e),{file:i}=n;return i?Yr(a,Es(t),i,{headers:{"Content-Type":"application/octet-stream"}}):Promise.reject(new Error("Unable to locate a file to upload."))},_s=(e,t)=>eo(js(e),As(t)),Rs=(e,t)=>Jr(js(e),As(t)),Ds=["asset","locale","options"],zs=["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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $s(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 Fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$s(Object(n),!0).forEach((function(t){qs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qs(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 Ls=(e,t,n,a)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,{params:yo(t.query),headers:a?Fs({},a):void 0}),Us=(e,t,n,a)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/assets`,{params:yo(t.query),headers:a?Fs({},a):void 0}),Bs=(e,t,n,a)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,{params:yo(t.query),headers:a?Fs({},a):void 0}),Ns=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,r,{headers:Fs({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Ws=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`),Ks=(e,t,n)=>{var a;return Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`,null,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},Vs=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/published`),Hs=(e,t)=>Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Xs=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}/archived`),Gs=(e,t,n)=>{const a=Kr(n);return Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets`,a)},Js=(e,t,n)=>{const a=Kr(n);return Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/assets/${t.assetId}`,a)},Qs=async(e,t,n)=>{const a=js(e,{uploadTimeout:t.uploadTimeout}),{file:i}=n.fields;return Promise.all(Object.keys(i).map((async e=>{const{contentType:n,fileName:r}=i[e];return Cs(a,t,i[e]).then((t=>({[e]:{contentType:n,fileName:r,uploadFrom:{sys:{type:"Link",linkType:"Upload",id:t.sys.id}}}})))}))).then((a=>{const i=a.reduce(((e,t)=>Fs(Fs({},e),t)),{}),r=Fs(Fs({},n),{},{fields:Fs(Fs({},n.fields),{},{file:i})});return Gs(e,t,r)})).catch(dn)};async function Ys(e,t,{resolve:n,reject:a,locale:i,processingCheckWait:r=3e3,processingCheckRetries:o=10,checkCount:s=0}){return Ls(e,t).then((c=>{if(c.fields.file[i].url)n(c);else if(s===o){const e=new Error;e.name="AssetProcessingTimeout",e.message="Asset is taking longer then expected to process.",a(e)}else s++,setTimeout((()=>Ys(e,t,{resolve:n,reject:a,locale:i,checkCount:s,processingCheckWait:r,processingCheckRetries:o})),r)}))}const Zs=async(e,t)=>{let{asset:n,locale:a,options:{processingCheckRetries:i,processingCheckWait:r}={}}=t,o=Ms(t,Ds);return Zr(e,`/spaces/${o.spaceId}/environments/${o.environmentId}/assets/${n.sys.id}/files/${a}/process`,null,{headers:{"X-Contentful-Version":n.sys.version}}).then((()=>new Promise(((t,s)=>Ys(e,{spaceId:o.spaceId,environmentId:o.environmentId,assetId:n.sys.id},{resolve:t,reject:s,locale:a,processingCheckWait:r,processingCheckRetries:i})))))},ec=async(e,t)=>{let{asset:n,options:a={}}=t,i=Ms(t,zs);const r=Object.keys(n.fields.file||{});let o=n;const s=r.map((t=>Zs(e,Fs(Fs({},i),{},{asset:n,locale:t,options:a})).then((e=>{o=e}))));return Promise.all(s).then((()=>o))};class tc extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const nc=(e,t,n)=>{const a=n.expiresAt,i=Math.floor(Date.now()/1e3);((e,t,n)=>{if(n=n||{},"number"!=typeof t)throw new tc(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new tc(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new tc(e,`value (${t}) cannot be in the past, current time was ${n.now}`)})("expiresAt",a,{maximum:i+172800,now:i});const r={expiresAt:a};return Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/asset_keys`,r)},ac=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/actions/${t.bulkActionId}`),ic=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/publish`,n),rc=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/unpublish`,n),oc=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/bulk_actions/validate`,n),sc=["version"];function cc(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 pc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cc(Object(n),!0).forEach((function(t){lc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lc(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 uc="X-Contentful-Version",dc="x-contentful-comment-body-format",mc="x-contentful-parent-entity-reference",fc="x-contentful-parent-id",yc=e=>`${vc(e)}/${e.commentId}`,vc=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),r="parentEntityVersion"in t?`/versions/${t.parentEntityVersion}`:"";return`${(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}`)(t)}/${i}/${n}${r}/comments`},bc=(e,t)=>Jr(e,yc(t),{headers:"rich-text"===t.bodyFormat?{[dc]:t.bodyFormat}:{}}),hc=(e,t)=>Jr(e,vc(t),{params:yo(t.query),headers:"rich-text"===t.bodyFormat?{[dc]:t.bodyFormat}:{}}),gc=(e,t,n)=>{const a=Kr(n);return Yr(e,vc(t),a,{headers:pc(pc(pc({},"string"!=typeof n.body?{[dc]:"rich-text"}:{}),"parentEntityReference"in t&&t.parentEntityReference?{[mc]:t.parentEntityReference}:{}),t.parentCommentId?{[fc]:t.parentCommentId}:{})})},xc=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,yc(t),r,{headers:pc(pc({[uc]:null!==(i=n.sys.version)&&void 0!==i?i:0},"string"!=typeof n.body?{[dc]:"rich-text"}:{}),a)})},wc=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,sc);return eo(e,yc(a),{headers:{[uc]:n}})},Oc=hc;function jc(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 Ic(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jc(Object(n),!0).forEach((function(t){Pc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pc(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 Tc(e){return`/organizations/${e}/taxonomy/concepts`}const Sc=(e,t,n)=>Yr(e,Tc(t.organizationId),n),kc=(e,t,n,a)=>{var i;return Qr(e,`${Tc(t.organizationId)}/${t.conceptId}`,n,{headers:Ic({"X-Contentful-Version":null!==(i=t.version)&&void 0!==i?i:0,"Content-Type":"application/json-patch+json"},a)})},Ec=(e,t)=>Jr(e,`${Tc(t.organizationId)}/${t.conceptId}`),Ac=(e,t,n)=>{var a;return eo(e,`${Tc(t.organizationId)}/${t.conceptId}`,{headers:Ic({"X-Contentful-Version":null!==(a=t.version)&&void 0!==a?a:0},n)})},Cc=(e,t)=>{const{url:n,queryParams:a}=zc("",t);return Jr(e,n,{params:a})},_c=(e,t)=>{const{url:n,queryParams:a}=zc(`/${t.conceptId}/descendants`,t);return Jr(e,n,{params:a})},Rc=(e,t)=>{const{url:n,queryParams:a}=zc(`/${t.conceptId}/ancestors`,t);return Jr(e,n,{params:a})},Dc=(e,t)=>Jr(e,`${Tc(t.organizationId)}/total`);function zc(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:`${Tc(t.organizationId)}${e}`,queryParams:t.query||{}}}function Mc(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 $c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mc(Object(n),!0).forEach((function(t){Fc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fc(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 qc(e){return`/organizations/${e}/taxonomy/concept-schemes`}const Lc=(e,t)=>Jr(e,`${qc(t.organizationId)}/${t.conceptSchemeId}`),Uc=(e,t,n)=>eo(e,`${qc(t.organizationId)}/${t.conceptSchemeId}`,{headers:$c({"X-Contentful-Version":t.version},n)}),Bc=(e,t)=>{var n,a,i;return Jr(e,null!==(n=null===(a=t.query)||void 0===a?void 0:a.pageUrl)&&void 0!==n?n:qc(t.organizationId),{params:null!==(i=t.query)&&void 0!==i&&i.pageUrl?{}:t.query})},Nc=(e,t)=>Jr(e,`${qc(t.organizationId)}/total`),Wc=(e,t,n)=>Yr(e,qc(t.organizationId),n),Kc=(e,t,n,a)=>Qr(e,`${qc(t.organizationId)}/${t.conceptSchemeId}`,n,{headers:$c({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)});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 Hc(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){Xc(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 Xc(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 Gc=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types`,Jc=e=>Gc(e)+`/${e.contentTypeId}`,Qc=(e,t,n)=>Jr(e,Jc(t),{params:yo(t.query),headers:n}),Yc=(e,t,n)=>Jr(e,Gc(t),{params:t.query,headers:n}),Zc=(e,t,n,a)=>{const i=Kr(n);return Yr(e,Gc(t),i,{headers:a})},ep=(e,t,n,a)=>{const i=Kr(n);return Zr(e,Jc(t),i,{headers:a})},tp=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,Jc(t),r,{headers:Hc({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},np=(e,t,n)=>eo(e,Jc(t),{headers:n}),ap=(e,t,n,a)=>Zr(e,Jc(t)+"/published",null,{headers:Hc({"X-Contentful-Version":n.sys.version},a)}),ip=(e,t,n)=>eo(e,Jc(t)+"/published",{headers:n});function rp(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 op(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rp(Object(n),!0).forEach((function(t){sp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sp(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 cp=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/editor_interface`,pp=(e,t)=>Jr(e,cp(t)),lp=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/editor_interfaces`),up=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,cp(t),r,{headers:op({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})};function dp(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 mp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dp(Object(n),!0).forEach((function(t){fp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fp(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 yp=(e,t,n,a)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,{params:yo(t.query),headers:mp({},a)}),vp=(e,t,n,a)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/public/entries`,{params:yo(t.query),headers:mp({},a)}),bp=(e,t,n,a)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,{params:yo(t.query),headers:mp({},a)}),hp=(e,t,n,a)=>Qr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,n,{headers:mp({"X-Contentful-Version":t.version,"Content-Type":"application/json-patch+json"},a)}),gp=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,r,{headers:mp({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},xp=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`),wp=(e,t,n)=>Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`,null,{headers:{"X-Contentful-Version":n.sys.version}}),Op=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/published`),jp=(e,t)=>Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),Ip=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}/archived`),Pp=(e,t,n)=>{const a=Kr(n);return Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},Tp=(e,t,n)=>{const a=Kr(n);return Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/entries/${t.entryId}`,a,{headers:{"X-Contentful-Content-Type":t.contentTypeId}})},Sp=(e,t)=>{const{spaceId:n,environmentId:a,entryId:i,include:r}=t;return Jr(e,`/spaces/${n}/environments/${a}/entries/${i}/references?include=${r||2}`)};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 Ep(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){Ap(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 Ap(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 Cp=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),_p=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments`,{params:t.query}),Rp=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,r,{headers:Ep(Ep({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Dp=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`),zp=(e,t,n,a)=>{const i=Kr(n);return Yr(e,`/spaces/${t.spaceId}/environments`,i,{headers:a})},Mp=(e,t,n,a)=>{const i=Kr(n);return Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}`,i,{headers:Ep(Ep({},a),t.sourceEnvironmentId?{"X-Contentful-Source-Environment":t.sourceEnvironmentId}:{})})};function $p(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 Fp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$p(Object(n),!0).forEach((function(t){qp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qp(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 Lp=e=>`/spaces/${e.spaceId}/environment_aliases`,Up=e=>Lp(e)+`/${e.environmentAliasId}`,Bp=(e,t)=>Jr(e,Up(t)),Np=(e,t)=>Jr(e,Lp(t),{params:t.query}),Wp=(e,t,n,a)=>{const i=Kr(n);return Zr(e,Up(t),i,{headers:a})},Kp=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,Up(t),r,{headers:Fp(Fp({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},Vp=(e,t)=>eo(e,Up(t));function Hp(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 Xp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hp(Object(n),!0).forEach((function(t){Gp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gp(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,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"),Qp=(e,{organizationId:t,environmentTemplateId:n,version:a,query:i={}},r)=>Jr(e,a?Jp(t,n,"versions",a):Jp(t,n),{params:i,headers:r}),Yp=(e,{organizationId:t,query:n={}},a)=>Jr(e,Jp(t),{params:n,headers:a}),Zp=(e,{organizationId:t},n,a)=>Yr(e,Jp(t),n,{headers:a}),el=(e,{organizationId:t,environmentTemplateId:n},a,i)=>{var r;const o=Kr(a);return delete o.sys,Zr(e,Jp(t,n),o,{headers:Xp({"X-Contentful-Version":null!==(r=a.sys.version)&&void 0!==r?r:0},i)})},tl=(e,{organizationId:t,version:n,environmentTemplateId:a},i,r)=>Qr(e,Jp(t,a,"versions",n),i,{headers:r}),nl=(e,{organizationId:t,environmentTemplateId:n},a)=>eo(e,Jp(t,n),{headers:a}),al=(e,{organizationId:t,environmentTemplateId:n,query:a={}},i)=>Jr(e,Jp(t,n,"versions"),{params:a,headers:i}),il=(e,{spaceId:t,environmentId:n,environmentTemplateId:a,version:i},r,o)=>Zr(e,i?`/spaces/${t}/environments/${n}/template_installations/${a}/versions/${i}/validated`:`/spaces/${t}/environments/${n}/template_installations/${a}/validated`,r,{headers:o}),rl=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i,r)=>Yr(e,`/spaces/${t}/environments/${n}/template_installations/${a}/versions`,i,{headers:r}),ol=(e,{spaceId:t,environmentId:n,environmentTemplateId:a},i)=>eo(e,`/spaces/${t}/environments/${n}/template_installations/${a}`,{headers:i}),sl=["organizationId","environmentTemplateId","spaceId","environmentId"],cl=["spaceId","environmentId","environmentTemplateId","installationId"];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 ll(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){ul(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 ul(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 dl(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const ml=(e,t,n)=>{let{organizationId:a,environmentTemplateId:i,spaceId:r,environmentId:o}=t,s=dl(t,sl);return Jr(e,((e,...t)=>`/organizations/${e}/environment_templates/`+t.join("/"))(a,i,"template_installations"),{params:ll(ll(ll({},s),o&&{"environment.sys.id":o}),r&&{"space.sys.id":r}),headers:n})},fl=(e,t,n)=>{let{spaceId:a,environmentId:i,environmentTemplateId:r,installationId:o}=t,s=dl(t,cl);return Jr(e,`/spaces/${a}/environments/${i}/template_installations/${r}`,{params:ll(ll({},o&&{"sys.id":o}),s),headers:n})};function yl(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 vl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yl(Object(n),!0).forEach((function(t){bl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(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 hl=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/extensions`,gl=e=>hl(e)+`/${e.extensionId}`,xl=(e,t)=>Jr(e,gl(t),{params:yo(t.query)}),wl=(e,t)=>Jr(e,hl(t),{params:yo(t.query)}),Ol=(e,t,n,a)=>Yr(e,hl(t),n,{headers:a}),jl=(e,t,n,a)=>{const i=Kr(n);return Zr(e,gl(t),i,{headers:a})},Il=async(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,gl(t),r,{headers:vl({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Pl=(e,t)=>eo(e,gl(t)),Tl=(e,{url:t,config:n})=>Jr(e,t,n),Sl=(e,{url:t,config:n},a)=>Yr(e,t,a,n),kl=(e,{url:t,config:n},a)=>Zr(e,t,a,n),El=(e,{url:t,config:n},a)=>Qr(e,t,a,n),Al=(e,{url:t,config:n})=>eo(e,t,n),Cl=(e,{url:t,config:n})=>function(e,t,n){return e(t,Hr({baseURL:Gr(e)},n)).then((e=>e.data),dn)}(e,t,n);function _l(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 Rl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_l(Object(n),!0).forEach((function(t){Dl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dl(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 zl=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Ml=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,{params:yo(t.query)}),$l=(e,t,n,a)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales`,n,{headers:a}),Fl=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,delete r.default,Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`,r,{headers:Rl(Rl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},ql=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/locales/${t.localeId}`),Ll=(e,t)=>Jr(e,"/organizations",{params:null==t?void 0:t.query}),Ul=(e,t)=>Ll(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 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={"x-contentful-enable-alpha-feature":"organization-user-management-api"},Vl={"x-contentful-enable-alpha-feature":"pending-org-membership"},Hl=(e,t,n,a)=>Yr(e,`/organizations/${t.organizationId}/invitations`,n,{headers:Nl(Nl({},Vl),a)}),Xl=(e,t,n)=>Jr(e,`/organizations/${t.organizationId}/invitations/${t.invitationId}`,{headers:Nl(Nl({},Kl),n)});function Gl(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 Jl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gl(Object(n),!0).forEach((function(t){Ql(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ql(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 Yl=e=>`/organizations/${e.organizationId}/organization_memberships`,Zl=e=>`${Yl(e)}/${e.organizationMembershipId}`,eu=(e,t)=>Jr(e,Zl(t)),tu=(e,t)=>Jr(e,Yl(t),{params:t.query}),nu=(e,t,n,a)=>{var i;const r=Kr(n);delete r.sys;const{role:o}=r;return Zr(e,Zl(t),{role:o},{headers:Jl(Jl({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},au=(e,t)=>eo(e,Zl(t)),iu=(e,t)=>Jr(e,`/users/me/access_tokens/${t.tokenId}`),ru=(e,t)=>Jr(e,"/users/me/access_tokens",{params:t.query}),ou=(e,t,n,a)=>Yr(e,"/users/me/access_tokens",n,{headers:a}),su=(e,t)=>Zr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),cu=(e,t)=>Jr(e,`/users/me/access_tokens/${t.tokenId}`),pu=(e,t)=>Jr(e,"/users/me/access_tokens",{params:t.query}),lu=(e,t,n,a)=>Yr(e,"/users/me/access_tokens",n,{headers:a}),uu=(e,t)=>Zr(e,`/users/me/access_tokens/${t.tokenId}/revoked`,null),du=(e,t)=>Jr(e,`/organizations/${t.organizationId}/access_tokens`,{params:t.query}),mu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/preview_api_keys/${t.previewApiKeyId}`),fu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/preview_api_keys`,{params:t.query});function yu(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 vu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yu(Object(n),!0).forEach((function(t){bu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bu(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 hu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),gu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,{params:t.query}),xu=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases`,n),wu=(e,t,n,a)=>Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`,n,{headers:vu({"X-Contentful-Version":t.version},a)}),Ou=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}`),ju=(e,t,n)=>Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,null,{headers:vu({"X-Contentful-Version":t.version},n)}),Iu=(e,t,n)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/published`,{headers:vu({"X-Contentful-Version":t.version},n)}),Pu=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/validate`,n),Tu=(e,t)=>Zr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,null,{headers:{"X-Contentful-Version":t.version}}),Su=(e,t)=>eo(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/archived`,{headers:{"X-Contentful-Version":t.version}});function ku(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 Eu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ku(Object(n),!0).forEach((function(t){Au(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ku(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Au(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 Cu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/releases/${t.releaseId}/actions/${t.actionId}`),_u=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:t.query}),Ru=(e,t)=>Jr(e,`/spaces/${t.spaceId}/environments/${t.environmentId}/release_actions`,{params:Eu({"sys.release.sys.id[in]":t.releaseId},t.query)}),Du=(e,t)=>Jr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types/${e.resourceTypeId}/resources`)(t),{params:t.query}),zu=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider`,Mu=(e,t)=>Jr(e,zu(t)),$u=(e,t,n,a)=>Zr(e,zu(t),n,{headers:a}),Fu=(e,t)=>eo(e,zu(t)),qu=e=>`/organizations/${e.organizationId}/app_definitions/${e.appDefinitionId}/resource_provider/resource_types`,Lu=e=>`${qu(e)}/${e.resourceTypeId}`,Uu=(e,t)=>Jr(e,Lu(t)),Bu=(e,t,n,a)=>{const i=Kr(n);return Zr(e,Lu(t),i,{headers:a})},Nu=(e,t)=>eo(e,Lu(t)),Wu=(e,t)=>Jr(e,qu(t)),Ku=(e,t)=>Jr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/resource_types`)(t));function Vu(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 Hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vu(Object(n),!0).forEach((function(t){Xu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xu(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 Gu=(e,t)=>Jr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),Ju=(e,t)=>Jr(e,`/spaces/${t.spaceId}/roles`,{params:yo(t.query)}),Qu=(e,t)=>Jr(e,`/organizations/${t.organizationId}/roles`,{params:yo(t.query)}),Yu=(e,t,n,a)=>Yr(e,`/spaces/${t.spaceId}/roles`,n,{headers:a}),Zu=(e,t,n,a)=>Zr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,n,{headers:a}),ed=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,`/spaces/${t.spaceId}/roles/${t.roleId}`,r,{headers:Hu(Hu({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},td=(e,t)=>eo(e,`/spaces/${t.spaceId}/roles/${t.roleId}`),nd=(e,t)=>Jr(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),ad=(e,t)=>Jr(e,`/spaces/${t.spaceId}/scheduled_actions`,{params:yo(t.query)}),id=(e,t,n)=>Yr(e,`/spaces/${t.spaceId}/scheduled_actions`,n),rd=(e,t)=>eo(e,`/spaces/${t.spaceId}/scheduled_actions/${t.scheduledActionId}`,{params:{"environment.sys.id":t.environmentId}}),od=(e,t,n)=>{var a;return Zr(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}})},sd=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/entries/${e.entryId}/snapshots`,cd=(e,t)=>Jr(e,sd(t),{params:yo(t.query)}),pd=(e,t)=>Jr(e,(e=>sd(e)+`/${e.snapshotId}`)(t)),ld=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/content_types/${e.contentTypeId}/snapshots`,ud=(e,t)=>Jr(e,ld(t),{params:yo(t.query)}),dd=(e,t)=>Jr(e,(e=>ld(e)+`/${e.snapshotId}`)(t));function md(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 fd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?md(Object(n),!0).forEach((function(t){yd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):md(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yd(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,t)=>Jr(e,`/spaces/${t.spaceId}`),bd=(e,t)=>Jr(e,"/spaces",{params:t.query}),hd=(e,t)=>Jr(e,`/organizations/${t.organizationId}/spaces`,{params:t.query}),gd=(e,t,n,a)=>Yr(e,"/spaces",n,{headers:t.organizationId?fd(fd({},a),{},{"X-Contentful-Organization":t.organizationId}):a}),xd=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,`/spaces/${t.spaceId}`,r,{headers:fd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},wd=(e,t)=>eo(e,`/spaces/${t.spaceId}`),Od=(e,t)=>Jr(e,`/spaces/${t.spaceId}/space_members/${t.spaceMemberId}`),jd=(e,t)=>Jr(e,`/spaces/${t.spaceId}/space_members`,{params:t.query});function Id(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 Pd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Id(Object(n),!0).forEach((function(t){Td(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Id(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Td(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 Sd(){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 kd=e=>`/spaces/${e.spaceId}/space_memberships`,Ed=e=>`${kd(e)}/${e.spaceMembershipId}`,Ad=(e,t)=>(Sd(),Jr(e,Ed(t))),Cd=(e,t)=>(Sd(),Jr(e,kd(t),{params:t.query})),_d=(e,t)=>Jr(e,`/organizations/${t.organizationId}/space_memberships/${t.spaceMembershipId}`),Rd=(e,t)=>Jr(e,`/organizations/${t.organizationId}/space_memberships`,{params:t.query}),Dd=(e,t,n,a)=>(Sd(),Yr(e,kd(t),n,{headers:a})),zd=(e,t,n,a)=>(Sd(),Zr(e,Ed(t),n,{headers:a})),Md=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,Ed(t),r,{headers:Pd(Pd({},a),{},{"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0})})},$d=(e,t)=>eo(e,Ed(t)),Fd=["version"];function qd(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 Ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qd(Object(n),!0).forEach((function(t){Ud(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ud(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 Bd=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/tags`,Nd=e=>Bd(e)+`/${e.tagId}`,Wd=(e,t)=>Jr(e,Nd(t)),Kd=(e,t)=>Jr(e,Bd(t),{params:t.query}),Vd=(e,t,n)=>{var a;const i=Kr(n);return Zr(e,Nd(t),i,{headers:{"X-Contentful-Tag-Visibility":null!==(a=n.sys.visibility)&&void 0!==a?a:"private"}})},Hd=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,Nd(t),r,{headers:Ld({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Xd=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Fd);return eo(e,Nd(a),{headers:{"X-Contentful-Version":n}})},Gd=["version"];function Jd(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 Qd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jd(Object(n),!0).forEach((function(t){Yd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yd(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}/entries/${e.entryId}/tasks`,em=e=>`${Zd(e)}/${e.taskId}`,tm=(e,t)=>Jr(e,em(t)),nm=(e,t)=>Jr(e,Zd(t),{params:yo(t.query)}),am=nm,im=(e,t,n)=>{const a=Kr(n);return Yr(e,Zd(t),a)},rm=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,em(t),r,{headers:Qd({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},om=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Gd);return eo(e,em(a),{headers:{"X-Contentful-Version":n}})};function sm(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 cm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sm(Object(n),!0).forEach((function(t){pm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pm(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 lm=e=>`/organizations/${e.organizationId}/teams`,um=e=>`${lm(e)}/${e.teamId}`,dm=(e,t)=>Jr(e,um(t)),mm=(e,t)=>Jr(e,lm(t),{params:yo(t.query)}),fm=(e,t)=>Jr(e,`/spaces/${t.spaceId}/teams`,{params:yo(t.query)}),ym=(e,t,n,a)=>Yr(e,lm(t),n,{headers:a}),vm=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,um(t),r,{headers:cm({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},bm=(e,t)=>eo(e,um(t));function hm(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?hm(Object(n),!0).forEach((function(t){xm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xm(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 wm=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships`,Om=e=>`/organizations/${e.organizationId}/teams/${e.teamId}/team_memberships/${e.teamMembershipId}`,jm=(e,t)=>Jr(e,Om(t)),Im=(e,t)=>Jr(e,`/organizations/${t.organizationId}/team_memberships`,{params:yo(t.query)}),Pm=(e,t)=>Jr(e,wm(t),{params:yo(t.query)}),Tm=(e,t,n,a)=>Yr(e,wm(t),n,{headers:a}),Sm=(e,t,n,a)=>{const i=Kr(n);return delete i.sys,Zr(e,Om(t),i,{headers:gm({"X-Contentful-Version":n.sys.version||0},a)})},km=(e,t)=>eo(e,Om(t));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 Am(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){Cm(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 Cm(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 _m=e=>`/spaces/${e.spaceId}/team_space_memberships`,Rm=e=>`${_m(e)}/${e.teamSpaceMembershipId}`,Dm=(e,t)=>Jr(e,Rm(t)),zm=(e,t)=>Jr(e,_m(t),{params:t.query}),Mm=(e,t)=>Jr(e,`/organizations/${t.organizationId}/team_space_memberships/${t.teamSpaceMembershipId}`),$m=(e,t)=>{const n=t.query||{};return t.teamId&&(n["sys.team.sys.id"]=t.teamId),Jr(e,`/organizations/${t.organizationId}/team_space_memberships`,{params:t.query})},Fm=(e,t,n,a)=>Yr(e,_m(t),n,{headers:Am({"x-contentful-team":t.teamId},a)}),qm=(e,t,n,a)=>{const i=Kr(n);return delete i.sys,Zr(e,Rm(t),i,{headers:Am({"X-Contentful-Version":n.sys.version||0,"x-contentful-team":n.sys.team.sys.id},a)})},Lm=(e,t)=>eo(e,Rm(t)),Um=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config`,Bm=(e,t)=>Jr(e,Um(t)),Nm=(e,t,n)=>{var a;const i=Kr(n);return delete i.sys,Zr(e,Um(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})},Wm=(e,t)=>Jr(e,`/organizations/${t.organizationId}/space_periodic_usages`,{params:t.query}),Km=(e,t)=>Jr(e,`/organizations/${t.organizationId}/organization_periodic_usages`,{params:t.query}),Vm=(e,t)=>Jr(e,`/spaces/${t.spaceId}/users/${t.userId}`),Hm=(e,t)=>Jr(e,"/users/me",{params:null==t?void 0:t.query}),Xm=(e,t)=>Jr(e,`/spaces/${t.spaceId}/users`,{params:t.query}),Gm=(e,t)=>Jr(e,`/organizations/${t.organizationId}/users/${t.userId}`),Jm=(e,t)=>Jr(e,`/organizations/${t.organizationId}/users`,{params:t.query}),Qm=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/ui_config/me`,Ym=(e,t)=>Jr(e,Qm(t)),Zm=(e,t,n)=>{var a;const i=Kr(n);return delete i.sys,Zr(e,Qm(t),i,{headers:{"X-Contentful-Version":null!==(a=n.sys.version)&&void 0!==a?a:0}})};function ef(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 tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ef(Object(n),!0).forEach((function(t){nf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ef(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nf(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 af=e=>`/spaces/${e.spaceId}/webhook_definitions`,rf=e=>`/spaces/${e.spaceId}/webhooks`,of=e=>`${af(e)}/${e.webhookDefinitionId}`,sf=e=>`/spaces/${e.spaceId}/webhook_settings`,cf=e=>`${sf(e)}/signing_secret`,pf=e=>`${sf(e)}/retry_policy`,lf=(e,t)=>Jr(e,of(t)),uf=(e,t)=>Jr(e,(e=>`${rf(e)}/${e.webhookDefinitionId}/calls`)(t),{params:yo(t.query)}),df=(e,t)=>Jr(e,(e=>`${rf(e)}/${e.webhookDefinitionId}/calls/${e.callId}`)(t)),mf=(e,t)=>Jr(e,(e=>`${rf(e)}/${e.webhookDefinitionId}/health`)(t)),ff=(e,t)=>Jr(e,af(t),{params:yo(t.query)}),yf=(e,t)=>Jr(e,cf(t)),vf=(e,t)=>Jr(e,pf(t)),bf=(e,t,n,a)=>{const i=Kr(n);return Yr(e,af(t),i,{headers:a})},hf=(e,t,n,a)=>{const i=Kr(n);return Zr(e,of(t),i,{headers:a})},gf=async(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,of(t),r,{headers:tf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},xf=async(e,t,n)=>{const a=Kr(n);return Zr(e,cf(t),a)},wf=async(e,t,n)=>{const a=Kr(n);return Zr(e,pf(t),a)},Of=(e,t)=>eo(e,of(t)),jf=async(e,t)=>eo(e,cf(t)),If=async(e,t)=>eo(e,pf(t)),Pf=["version"],Tf=["version"];function Sf(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function kf(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 Ef(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kf(Object(n),!0).forEach((function(t){Af(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Af(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 Cf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows`,_f=e=>`${Cf(e)}/${e.workflowId}`,Rf=(e,t,n)=>Jr(e,Cf(t),{headers:n,params:t.query}),Df=(e,t,n,a)=>{const i=Kr(n);return Yr(e,Cf(t),i,{headers:a})},zf=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,_f(t),r,{headers:Ef({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Mf=(e,t,n)=>{let{version:a}=t,i=Sf(t,Pf);return eo(e,_f(i),{headers:Ef({"X-Contentful-Version":a},n)})},$f=(e,t,n)=>{let{version:a}=t;return Zr(e,(i=Sf(t,Tf),`${_f(i)}/complete`),null,{headers:Ef({"X-Contentful-Version":a},n)});var i},Ff=["version"];function qf(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 Lf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qf(Object(n),!0).forEach((function(t){Uf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uf(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 Bf=e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflow_definitions`,Nf=e=>`${Bf(e)}/${e.workflowDefinitionId}`,Wf=(e,t,n)=>Jr(e,Nf(t),{headers:n}),Kf=(e,t,n)=>Jr(e,Bf(t),{headers:n,params:t.query}),Vf=(e,t,n,a)=>{const i=Kr(n);return Yr(e,Bf(t),i,{headers:a})},Hf=(e,t,n,a)=>{var i;const r=Kr(n);return delete r.sys,Zr(e,Nf(t),r,{headers:Lf({"X-Contentful-Version":null!==(i=n.sys.version)&&void 0!==i?i:0},a)})},Xf=(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Ff);return eo(e,Nf(i),{headers:Lf({"X-Contentful-Version":a},n)})},Gf=(e,t,n)=>Jr(e,(e=>`/spaces/${e.spaceId}/environments/${e.environmentId}/workflows_changelog`)(t),{headers:n,params:t.query}),Jf={ApiKey:t,AppAction:i,AppActionCall:r,AppBundle:o,AppDefinition:s,AppInstallation:p,AppUpload:y,AppSignedRequest:l,AppSigningSecret:u,AppEventSubscription:d,AppKey:m,AppAccessToken:f,AppDetails:c,Asset:b,AssetKey:h,BulkAction:g,Comment:x,Concept:w,ConceptScheme:O,ContentType:j,EditorInterface:I,Entry:P,Environment:T,EnvironmentAlias:S,EnvironmentTemplate:k,EnvironmentTemplateInstallation:E,Extension:A,Http:C,Locale:_,Organization:R,OrganizationInvitation:D,OrganizationMembership:z,PersonalAccessToken:M,AccessToken:$,PreviewApiKey:F,Release:q,ReleaseAction:L,Resource:U,ResourceProvider:B,ResourceType:N,Role:W,ScheduledAction:K,Snapshot:V,Space:H,SpaceMember:X,SpaceMembership:G,Tag:J,Task:Q,Team:Y,TeamMembership:Z,TeamSpaceMembership:ee,UIConfig:te,Upload:v,Usage:ne,User:ae,UserUIConfig:ie,Webhook:re,WorkflowDefinition:se,Workflow:oe,WorkflowsChangelog:ce};function Qf(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 Yf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qf(Object(n),!0).forEach((function(t){Zf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zf(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 ey={defaultHostname:"api.contentful.com",defaultHostnameUpload:"upload.contentful.com"};class ty{constructor(e){if(Zf(this,"params",void 0),Zf(this,"axiosInstance",void 0),!e.accessToken)throw new TypeError("Expected parameter accessToken");this.params=Yf(Yf({},ey),Kr(e)),this.axiosInstance=on(mr,Yf(Yf({},this.params),{},{headers:Yf(Yf({"Content-Type":"application/vnd.contentful.management.v1+json"},e.userAgent?{"X-Contentful-User-Agent":e.userAgent}:{}),this.params.headers)}))}async makeRequest({entityType:e,action:t,params:n,payload:a,headers:i,userAgent:r}){var o;const s=null===(o=Jf[e])||void 0===o?void 0:o["delete"===t?"del":t];if(void 0===s)throw new Error("Unknown endpoint");return await s(this.axiosInstance,n,a,Yf(Yf({},i),r?{"X-Contentful-User-Agent":r}:{}))}}function ny(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 ay(e,t){const n=ny(un(Kr(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=>ay(e,t)))},delete:function(){return e({entityType:"ApiKey",action:"delete",params:t(this)})}}}(e));return pn(n)}const iy=Po(ay);function ry(e,t){const n=ny(un(Kr(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 pn(n)}const oy=Po(ry);function sy(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 cy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sy(Object(n),!0).forEach((function(t){py(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function py(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 ly(e,t){return{createWithResponse:function(){return e({entityType:"AppActionCall",action:"createWithResponse",params:cy({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=>dy(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=>dy(e,t)))}}}function uy(e,t){return ny(un(Kr(t)),ly(e))}function dy(e,t,n){return ny(un(Kr(t)),ly(e,n))}function my(e,t){const n=ny(un(Kr(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 pn(n)}const fy=Po(my);function yy(e,t){const n=ny(un(Kr(t)),function(e){const{wrapAppBundle:t,wrapAppBundleCollection:n}=uh.appBundle,{wrapResourceProvider:a}=uh.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=>yy(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 pn(n)}const vy=Po(yy);function by(e,t){return ny(un(Kr(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 hy(e,t){const n=ny(un(Kr(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=>hy(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"AppInstallation",action:"delete",params:t(n)})}}}(e));return pn(n)}const gy=Po(hy);function xy(e,t){return un(Kr(t))}function wy(e,t){return ny(un(Kr(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 Oy(e,t){return ny(un(Kr(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 jy(e,t){return ny(un(Kr(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 Iy=Po(jy);function Py(e,t){return pn(un(Kr(t)))}function Ty(e,t){const n=ny(un(Kr(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 pn(n)}const Sy=Po(Ty),ky=e=>!!e.sys.publishedVersion,Ey=e=>!!(e.sys.publishedVersion&&e.sys.version>e.sys.publishedVersion+1),Ay=e=>!e.sys.publishedVersion,Cy=e=>!!e.sys.archivedVersion;function _y(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 Ry(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_y(Object(n),!0).forEach((function(t){Dy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_y(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 zy(e,t){const n=ny(un(Kr(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:Ry(Ry({},t(i)),{},{locale:n,options:a,asset:i})}).then((t=>zy(e,t)))},processForAllLocales:function(n){const a=this.toPlainObject();return e({entityType:"Asset",action:"processForAllLocales",params:Ry(Ry({},t(a)),{},{asset:a,options:n})}).then((t=>zy(e,t)))},update:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"update",params:t(n),payload:n,headers:{}}).then((t=>zy(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=>zy(e,t)))},unpublish:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unpublish",params:t(n)}).then((t=>zy(e,t)))},archive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"archive",params:t(n)}).then((t=>zy(e,t)))},unarchive:function(){const n=this.toPlainObject();return e({entityType:"Asset",action:"unarchive",params:t(n)}).then((t=>zy(e,t)))},isPublished:function(){const e=this.toPlainObject();return ky(e)},isUpdated:function(){const e=this.toPlainObject();return Ey(e)},isDraft:function(){const e=this.toPlainObject();return Ay(e)},isArchived:function(){const e=this.toPlainObject();return Cy(e)}}}(e));return pn(n)}const My=Po(zy);function $y(e,t){return un(Kr(t))}function Fy(e){return new Promise((t=>setTimeout(t,e)))}const qy=30,Ly=1e3,Uy=2e3;class By 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 Ny extends By{}async function Wy(e,t){var n,a,i,r,o;let s,c=0,p=!1;const l=null!==(n=null==t?void 0:t.retryCount)&&void 0!==n?n:qy,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:Ly,m=null===(r=null==t?void 0:t.throwOnFailedExecution)||void 0===r||r;for(await Fy(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 Ny(`${s.sys.type} failed to execute.`,s);return s}await Fy(u),c+=1}throw new By(`${null===(o=s)||void 0===o?void 0:o.sys.type} didn't finish processing within the expected timeframe.`,s)}let Ky=function(e){return e.created="created",e.inProgress="inProgress",e.succeeded="succeeded",e.failed="failed",e}({});function Vy(e,t){const n=ny(un(Kr(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=>Vy(e,t)))},async waitProcessing(e){return Wy((async()=>this.get()),e)}}}(e));return pn(n)}function Hy(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 Xy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hy(Object(n),!0).forEach((function(t){Gy(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hy(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gy(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(Ky);let Jy=function(e){return e.Document="document",e.Paragraph="paragraph",e.Mention="mention",e}({});function Qy(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 Yy(e,a)},delete:async function(){const n=this.toPlainObject();await e({entityType:"Comment",action:"delete",params:Xy(Xy({},t(n)),{},{version:n.sys.version})})}}}function Yy(e,t){return pn(ny(un(Kr(t)),Qy(e)))}const Zy=Po(Yy);function ev(e,t){const n=ny(un(Kr(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=>ev(e,t)))},getControlForField:function(e){const t=(this.controls||[]).filter((t=>t.fieldId===e));return t&&t.length>0?t[0]:null}}}(e));return pn(n)}const tv=Po(ev);function nv(e,t){return pn(ny(un(Kr(t)),{}))}const av=Po(nv),iv=["fieldId"],rv=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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,iv);return rv(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=>rv(e,a,"deleted"))).then((t=>e({entityType:"ContentType",action:"update",params:i,payload:t})))};function sv(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 cv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sv(Object(n),!0).forEach((function(t){pv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pv(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 lv(e,t){const n=ny(un(Kr(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=>lv(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=>lv(e,t)))},unpublish:function(){const{params:n}=t(this);return e({entityType:"ContentType",action:"unpublish",params:n}).then((t=>lv(e,t)))},getEditorInterface:function(){const{params:n}=t(this);return e({entityType:"EditorInterface",action:"get",params:n}).then((t=>ev(e,t)))},getSnapshots:function(n={}){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getManyForContentType",params:cv(cv({},a),{},{query:n})}).then((t=>av(e,t)))},getSnapshot:function(n){const{params:a}=t(this);return e({entityType:"Snapshot",action:"getForContentType",params:cv(cv({},a),{},{snapshotId:n})}).then((e=>nv(0,e)))},isPublished:function(){return ky(this)},isUpdated:function(){return Ey(this)},isDraft:function(){return Ay(this)},omitAndDeleteField:function(n){const{raw:a,params:i}=t(this);return ov(e,cv(cv({},i),{},{fieldId:n}),a).then((t=>lv(e,t)))}}}(e));return pn(n)}const uv=Po(lv);function dv(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 mv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dv(Object(n),!0).forEach((function(t){fv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fv(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 yv(e,t){const n=ny(un(Kr(t)),function(e){const{wrapEntry:t,wrapEntryCollection:n}=uh.entry,{wrapSnapshot:a,wrapSnapshotCollection:i}=uh.snapshot,{wrapTask:r,wrapTaskCollection:o}=uh.task,{wrapComment:s,wrapCommentCollection:c}=uh.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:mv(mv({},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:mv(mv({},n),{},{query:t})}).then((t=>i(e,t)))},getSnapshot:function(t){const{params:n}=p(this);return e({entityType:"Snapshot",action:"getForEntry",params:mv(mv({},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:mv(mv({},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=>r(e,t)))},getTasks:function(t={}){const{params:n}=p(this);return e({entityType:"Task",action:"getMany",params:mv(mv({},n),{},{query:t})}).then((t=>o(e,t)))},getTask:function(t){const{params:n}=p(this);return e({entityType:"Task",action:"get",params:mv(mv({},n),{},{taskId:t})}).then((t=>r(e,t)))},isPublished:function(){const e=this.toPlainObject();return ky(e)},isUpdated:function(){const e=this.toPlainObject();return Ey(e)},isDraft:function(){const e=this.toPlainObject();return Ay(e)},isArchived:function(){const e=this.toPlainObject();return Cy(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 pn(n)}const vv=Po(yv);function bv(e,t){const n=ny(un(Kr(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=>bv(e,t)))},async waitProcessing(e){return Wy((async()=>this.get()),e)}}}(e));return pn(n)}const hv=Po(bv);let gv=function(e){return e.contentTypeAnnotationNotIn="sys.contentType.metadata.annotations.ContentType[nin]",e}({});const xv=gv;function wv(e,t){const n=ny(un(Kr(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=>wv(e,t)))},async unarchive(){const n=t(this);return e({entityType:"Release",action:"unarchive",params:n}).then((t=>wv(e,t)))},async update(n){const a=t(this);return e({entityType:"Release",action:"update",params:a,payload:n}).then((t=>wv(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=>bv(e,t))).then((e=>e.waitProcessing(n)))},async unpublish(n){const a=t(this);return e({entityType:"Release",action:"unpublish",params:a}).then((t=>bv(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=>bv(e,t))).then((e=>e.waitProcessing(null==n?void 0:n.processingOptions)))}}}(e));return pn(n)}const Ov=To(wv);function jv(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 Iv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jv(Object(n),!0).forEach((function(t){Pv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pv(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 Tv(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=>Sv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Tag",action:"delete",params:Iv(Iv({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Sv(e,t){return pn(ny(un(Kr(t)),Tv(e)))}const kv=Po(Sv);function Ev(e,t){const n=ny(un(Kr(t)),function(e){const{wrapUIConfig:t}=uh.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 pn(n)}function Av(e,t){const n=ny(un(Kr(t)),function(e){const{wrapUserUIConfig:t}=uh.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 pn(n)}function Cv(e,t){return pn(un(Kr(t)))}const _v=To(Cv),Rv=["installationId"];function Dv(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 zv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dv(Object(n),!0).forEach((function(t){Mv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dv(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 $v(e,t){return pn(ny(un(Kr(t)),function(e){const{wrapEnvironment:t}=uh.environment,{wrapContentType:n,wrapContentTypeCollection:a}=uh.contentType,{wrapEntry:i,wrapEntryCollection:r}=uh.entry,{wrapAsset:o,wrapAssetCollection:s}=uh.asset,{wrapAssetKey:c}=uh.assetKey,{wrapLocale:p,wrapLocaleCollection:l}=uh.locale,{wrapSnapshotCollection:u}=uh.snapshot,{wrapEditorInterface:d,wrapEditorInterfaceCollection:m}=uh.editorInterface,{wrapUpload:f}=uh.upload,{wrapExtension:y,wrapExtensionCollection:v}=uh.extension,{wrapAppInstallation:b,wrapAppInstallationCollection:h}=uh.appInstallation,{wrapAppSignedRequest:g}=uh.appSignedRequest,{wrapAppActionCall:x}=uh.appActionCall,{wrapBulkAction:w}=uh.bulkAction,{wrapAppAccessToken:O}=uh.appAccessToken,{wrapResourceTypesForEnvironmentCollection:j}=uh.resourceType,{wrapResourceCollection:I}=uh.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=>o(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:sn({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:sn({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:sn({query:t}).params}}).then((t=>r(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:sn({query:t}).params}}).then((t=>r(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 r=this.toPlainObject();return e({entityType:"Entry",action:"createWithId",params:{spaceId:r.sys.space.sys.id,environmentId:r.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=>r(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:sn({query:n}).params}}).then((t=>o(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:sn({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:sn({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=>o(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=>o(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=>o(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(){const t=this.toPlainObject();return e({entityType:"Locale",action:"getMany",params:{spaceId:t.sys.space.sys.id,environmentId:t.sys.id}}).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)))},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=>Sv(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:sn({query:t}).params}}).then((t=>kv(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=>Sv(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=>wv(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=>Ov(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=>wv(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=>wv(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=>bv(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=>bv(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=>bv(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=>wv(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=>wv(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=>bv(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=>hv(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 Ev(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 Av(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Rv);const r=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getForEnvironment",params:zv(zv({environmentTemplateId:t},a&&{installationId:a}),{},{query:zv({},sn({query:i}).params),spaceId:r.sys.space.sys.id,environmentId:r.sys.id})}).then((t=>_v(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 Fv=Po($v);function qv(e,t){const n=ny(un(Kr(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=>qv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"EnvironmentAlias",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return pn(n)}const Lv=Po(qv),Uv=["spaceId","environmentId"];function Bv(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 Nv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bv(Object(n),!0).forEach((function(t){Wv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wv(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 Kv(e,t,n){return pn(ny(un(Kr(t)),function(e,t){const{wrapEnvironmentTemplate:n,wrapEnvironmentTemplateCollection:a}=uh.environmentTemplate,{wrapEnvironmentTemplateInstallationCollection:i}=uh.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 r=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"versionUpdate",params:{organizationId:t,environmentTemplateId:r.sys.id,version:r.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:r}=n,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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,Uv);const s=this.toPlainObject();return e({entityType:"EnvironmentTemplateInstallation",action:"getMany",params:{organizationId:t,environmentTemplateId:s.sys.id,query:Nv({},sn({query:o}).params),spaceId:a,environmentId:r}}).then((t=>i(e,t)))},validate:function({spaceId:t,environmentId:n,version:a,takeover:i,changeSet:r}){const o=this.toPlainObject();return e({entityType:"EnvironmentTemplate",action:"validate",params:{spaceId:t,version:a,environmentId:n,environmentTemplateId:o.sys.id},payload:Nv(Nv({},i&&{takeover:i}),r&&{changeSet:r})})},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 Vv=To(Kv);function Hv(e,t){const n=ny(un(Kr(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=>Hv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Extension",action:"delete",params:t(n)})}}}(e));return pn(n)}const Xv=Po(Hv);function Gv(e,t){delete t.internal_code;const n=ny(un(Kr(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=>Gv(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Locale",action:"delete",params:t(n)}).then((()=>{}))}}}(e));return pn(n)}const Jv=Po(Gv);function Qv(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 Yv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qv(Object(n),!0).forEach((function(t){Zv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zv(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 eb(e,t){const n=un(Kr(t)),a=function(e){const{wrapAppDefinition:t,wrapAppDefinitionCollection:n}=uh.appDefinition,{wrapUser:a,wrapUserCollection:i}=uh.user,{wrapOrganizationMembership:r,wrapOrganizationMembershipCollection:o}=uh.organizationMembership,{wrapTeamMembership:s,wrapTeamMembershipCollection:c}=uh.teamMembership,{wrapTeamSpaceMembership:p,wrapTeamSpaceMembershipCollection:l}=uh.teamSpaceMembership,{wrapTeam:u,wrapTeamCollection:d}=uh.team,{wrapSpaceMembership:m,wrapSpaceMembershipCollection:f}=uh.spaceMembership,{wrapOrganizationInvitation:y}=uh.organizationInvitation,{wrapAppUpload:v}=uh.appUpload,{wrapAppSigningSecret:b}=uh.appSigningSecret,{wrapAppEventSubscription:h}=uh.appEventSubscription,{wrapAppKey:g,wrapAppKeyCollection:x}=uh.appKey,{wrapAppDetails:w}=uh.appDetails,{wrapAppAction:O,wrapAppActionCollection:j}=uh.appAction,{wrapRoleCollection:I}=uh.role,{wrapSpaceCollection:P}=uh.space;return{getSpaces(t={}){const n=this.toPlainObject();return e({entityType:"Space",action:"getManyForOrganization",params:{organizationId:n.sys.id,query:sn({query:t}).params}}).then((t=>P(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:sn({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=>r(e,t,n)))},getOrganizationMemberships(t={}){const n=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"getMany",params:Yv({organizationId:n.sys.id},t)}).then((t=>o(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:sn({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:sn({query:a}).params}}).then((t=>c(e,t))):e({entityType:"TeamMembership",action:"getManyForOrganization",params:{organizationId:i.sys.id,query:sn({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:sn({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:sn({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:sn({query:t}).params}}).then((t=>I(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:sn({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)))}}}(e);return pn(ny(n,a))}const tb=Po(eb);function nb(e,t){return pn(un(Kr(t)))}function ab(e,t,n){const a=ny(un(Kr(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=>ab(e,n,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"OrganizationMembership",action:"delete",params:n(t)})}}}(e,n));return pn(a)}const ib=Po(ab);function rb(e,t){return pn(ny(un(Kr(t)),{revoke:function(){return e({entityType:"PersonalAccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>rb(e,t)))}}))}const ob=Po(rb);function sb(e,t){return pn(ny(un(Kr(t)),{revoke:function(){return e({entityType:"AccessToken",action:"revoke",params:{tokenId:t.sys.id}}).then((t=>sb(e,t)))}}))}const cb=Po(sb);function pb(e,t){return pn(ny(un(Kr(t)),{}))}const lb=Po(pb);function ub(e,t){const n=ny(un(Kr(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=>ub(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Role",action:"delete",params:t(n)})}}}(e));return pn(n)}const db=Po(ub),mb=["sys"];function fb(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=>yb(e,t)))},async update(){const n=t(this),a=this.toPlainObject(),{sys:i}=a,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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(a,mb);return e({entityType:"ScheduledAction",action:"update",params:n,payload:r}).then((t=>yb(e,t)))}}}function yb(e,t){return pn(ny(un(Kr(t)),fb(e)))}const vb=Po(yb);function bb(e,t){const n=un(Kr(t)),a=function(e){const{wrapSpace:t}=uh.space,{wrapEnvironment:n,wrapEnvironmentCollection:a}=uh.environment,{wrapWebhook:i,wrapWebhookCollection:r}=uh.webhook,{wrapRole:o,wrapRoleCollection:s}=uh.role,{wrapUser:c,wrapUserCollection:p}=uh.user,{wrapSpaceMember:l,wrapSpaceMemberCollection:u}=uh.spaceMember,{wrapSpaceMembership:d,wrapSpaceMembershipCollection:m}=uh.spaceMembership,{wrapTeamSpaceMembership:f,wrapTeamSpaceMembershipCollection:y}=uh.teamSpaceMembership,{wrapTeamCollection:v}=uh.team,{wrapApiKey:b,wrapApiKeyCollection:h}=uh.apiKey,{wrapEnvironmentAlias:g,wrapEnvironmentAliasCollection:x}=uh.environmentAlias,{wrapPreviewApiKey:w,wrapPreviewApiKeyCollection:O}=uh.previewApiKey,{wrapScheduledAction:j,wrapScheduledActionCollection:I}=uh.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 r=this.toPlainObject();return e({entityType:"Environment",action:"createWithId",params:{spaceId:r.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=>r(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=>o(e,t)))},getRoles(t={}){const n=this.toPlainObject();return e({entityType:"Role",action:"getMany",params:{spaceId:n.sys.id,query:sn({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=>o(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=>o(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:sn({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:sn({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:sn({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:sn({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:sn({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 pn(ny(n,a))}const hb=Po(bb);function gb(e,t){return pn(un(Kr(t)))}const xb=Po(gb);function wb(e,t){const n=ny(un(Kr(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=>wb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"SpaceMembership",action:"delete",params:t(n)})}}}(e));return pn(n)}const Ob=Po(wb);function jb(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?jb(Object(n),!0).forEach((function(t){Pb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pb(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 Tb(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=>Sb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Task",action:"delete",params:Ib(Ib({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Sb(e,t){return pn(ny(un(Kr(t)),Tb(e)))}const kb=Po(Sb);function Eb(e,t){const n=ny(un(Kr(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=>Eb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"Team",action:"delete",params:t(n)})}}}(e));return pn(n)}const Ab=Po(Eb);function Cb(e,t){const n=ny(un(Kr(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=>Cb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamMembership",action:"delete",params:t(n)})}}}(e));return pn(n)}const _b=Po(Cb);function Rb(e,t){const n=ny(un(Kr(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=>Rb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"TeamSpaceMembership",action:"delete",params:t(n)})}}}(e));return pn(n)}const Db=Po(Rb);function zb(e,t){const n=ny(un(Kr(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 pn(n)}function Mb(e,t){return pn(ny(un(Kr(t)),{}))}const $b=Po(Mb);function Fb(e,t){return pn(ny(un(Kr(t)),{}))}const qb=Po(Fb);function Lb(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 Ub(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lb(Object(n),!0).forEach((function(t){Bb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Bb(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 Nb(e,t){const n=ny(un(Kr(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=>Nb(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:Ub(Ub({},t(a)),{},{callId:n})})},getHealth:function(){const n=this.toPlainObject();return e({entityType:"Webhook",action:"getHealthStatus",params:t(n)})}}}(e));return pn(n)}const Wb=Po(Nb);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 Vb(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){Hb(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 Hb(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 Xb=function(e){return e.EntityPermission="entity_permission",e.WorkflowPermission="workflow_permission",e}({}),Gb=function(e){return e.Edit="edit",e.Publish="publish",e.Delete="delete",e}({}),Jb=function(e){return e.Allow="allow",e.Deny="deny",e}({}),Qb=function(e){return e.App="app",e.Email="email",e.Task="task",e}({});function Yb(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=>Zb(e,t)))},delete:function(){const n=this.toPlainObject();return e({entityType:"WorkflowDefinition",action:"delete",params:Vb(Vb({},t(n)),{},{version:n.sys.version})}).then((()=>{}))}}}function Zb(e,t){return pn(ny(un(Kr(t)),Yb(e)))}const eh=Po(Zb),th=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id}),nh=e=>({sys:{id:e.sys.id},type:e.type,function:e.function});function ah(e,t){const n=ny(un(Kr(t)),function(e){const{wrapResourceType:t}=uh.resourceType;return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"upsert",params:th(t),headers:{},payload:nh(t)}).then((t=>ah(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceProvider",action:"delete",params:th(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 pn(n)}const ih=e=>({organizationId:e.sys.organization.sys.id,appDefinitionId:e.sys.appDefinition.sys.id,resourceTypeId:e.sys.id}),rh=e=>({name:e.name,defaultFieldMapping:e.defaultFieldMapping});function oh(e,t){const n=ny(un(Kr(t)),function(e){return{upsert:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"upsert",params:ih(t),headers:{},payload:rh(t)}).then((t=>oh(e,t)))},delete:function(){const t=this.toPlainObject();return e({entityType:"ResourceType",action:"delete",params:ih(t)})}}}(e));return pn(n)}function sh(e,t){return pn(un(t))}const ch=To(sh);function ph(e,t){return pn(un(t))}const lh=To(ph),uh={accessToken:Ke,appAction:le,appActionCall:ue,appBundle:de,apiKey:pe,appDefinition:me,appInstallation:ye,appUpload:we,appDetails:fe,appSignedRequest:ve,appSigningSecret:be,appEventSubscription:he,appKey:ge,appAccessToken:xe,asset:Oe,assetKey:je,bulkAction:Ie,comment:Pe,concept:st,conceptScheme:ct,contentType:ke,editorInterface:Te,entry:Ee,environment:Me,environmentAlias:$e,environmentTemplate:Fe,environmentTemplateInstallation:ze,extension:qe,locale:Le,organization:Ue,organizationInvitation:Be,organizationMembership:Ne,personalAccessToken:We,previewApiKey:Ve,release:Ce,releaseAction:Ae,resourceProvider:pt,resourceType:lt,resource:ut,role:He,scheduledAction:Xe,snapshot:Se,space:Ge,spaceMember:Je,spaceMembership:Qe,tag:_e,task:Ye,team:Ze,teamMembership:et,teamSpaceMembership:tt,uiConfig:Re,upload:nt,usage:at,user:it,userUIConfig:De,webhook:rt,workflowDefinition:ot},dh=["url"];function mh(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 fh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mh(Object(n),!0).forEach((function(t){yh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yh(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 vh=({makeRequest:e,defaults:t},n,a)=>(i,r,o)=>e({entityType:n,action:a,params:fh(fh({},t),i),payload:r,headers:o});function bh(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 hh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach((function(t){gh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gh(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 xh=(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:vh(n,"AppAction","get"),getMany:vh(n,"AppAction","getMany"),getManyForEnvironment:vh(n,"AppAction","getManyForEnvironment"),delete:vh(n,"AppAction","delete"),create:vh(n,"AppAction","create"),update:vh(n,"AppAction","update")},appActionCall:{create:vh(n,"AppActionCall","create"),getCallDetails:vh(n,"AppActionCall","getCallDetails"),createWithResponse:vh(n,"AppActionCall","createWithResponse")},appBundle:{get:vh(n,"AppBundle","get"),getMany:vh(n,"AppBundle","getMany"),delete:vh(n,"AppBundle","delete"),create:vh(n,"AppBundle","create")},appDetails:{upsert:vh(n,"AppDetails","upsert"),get:vh(n,"AppDetails","get"),delete:vh(n,"AppDetails","delete")},appEventSubscription:{upsert:vh(n,"AppEventSubscription","upsert"),get:vh(n,"AppEventSubscription","get"),delete:vh(n,"AppEventSubscription","delete")},appKey:{create:vh(n,"AppKey","create"),get:vh(n,"AppKey","get"),getMany:vh(n,"AppKey","getMany"),delete:vh(n,"AppKey","delete")},appSignedRequest:{create:vh(n,"AppSignedRequest","create")},appSigningSecret:{upsert:vh(n,"AppSigningSecret","upsert"),get:vh(n,"AppSigningSecret","get"),delete:vh(n,"AppSigningSecret","delete")},appAccessToken:{create:vh(n,"AppAccessToken","create")},concept:{create:vh(n,"Concept","create"),get:vh(n,"Concept","get"),delete:vh(n,"Concept","delete"),update:vh(n,"Concept","update"),getMany:vh(n,"Concept","getMany"),getDescendants:vh(n,"Concept","getDescendants"),getAncestors:vh(n,"Concept","getAncestors"),getTotal:vh(n,"Concept","getTotal")},conceptScheme:{get:vh(n,"ConceptScheme","get"),getMany:vh(n,"ConceptScheme","getMany"),getTotal:vh(n,"ConceptScheme","getTotal"),delete:vh(n,"ConceptScheme","delete"),create:vh(n,"ConceptScheme","create"),update:vh(n,"ConceptScheme","update")},function:{getMany:vh(n,"Function","getMany")},editorInterface:{get:vh(n,"EditorInterface","get"),getMany:vh(n,"EditorInterface","getMany"),update:vh(n,"EditorInterface","update")},space:{get:vh(n,"Space","get"),getMany:vh(n,"Space","getMany"),getManyForOrganization:vh(n,"Space","getManyForOrganization"),update:vh(n,"Space","update"),delete:vh(n,"Space","delete"),create:vh(n,"Space","create")},environment:{get:vh(n,"Environment","get"),getMany:vh(n,"Environment","getMany"),create:vh(n,"Environment","create"),createWithId:vh(n,"Environment","createWithId"),update:vh(n,"Environment","update"),delete:vh(n,"Environment","delete")},environmentAlias:{get:vh(n,"EnvironmentAlias","get"),getMany:vh(n,"EnvironmentAlias","getMany"),createWithId:vh(n,"EnvironmentAlias","createWithId"),update:vh(n,"EnvironmentAlias","update"),delete:vh(n,"EnvironmentAlias","delete")},environmentTemplate:{get:vh(n,"EnvironmentTemplate","get"),getMany:vh(n,"EnvironmentTemplate","getMany"),create:vh(n,"EnvironmentTemplate","create"),versionUpdate:vh(n,"EnvironmentTemplate","versionUpdate"),update:vh(n,"EnvironmentTemplate","update"),install:vh(n,"EnvironmentTemplate","install"),versions:vh(n,"EnvironmentTemplate","versions"),validate:vh(n,"EnvironmentTemplate","validate"),disconnect:vh(n,"EnvironmentTemplate","disconnect"),delete:vh(n,"EnvironmentTemplate","delete")},environmentTemplateInstallation:{getMany:vh(n,"EnvironmentTemplateInstallation","getMany"),getForEnvironment:vh(n,"EnvironmentTemplateInstallation","getForEnvironment")},bulkAction:{get:vh(n,"BulkAction","get"),publish:vh(n,"BulkAction","publish"),unpublish:vh(n,"BulkAction","unpublish"),validate:vh(n,"BulkAction","validate")},comment:{get:vh(n,"Comment","get"),getMany:vh(n,"Comment","getMany"),create:vh(n,"Comment","create"),update:vh(n,"Comment","update"),delete:vh(n,"Comment","delete")},contentType:{get:vh(n,"ContentType","get"),getMany:vh(n,"ContentType","getMany"),update:vh(n,"ContentType","update"),delete:vh(n,"ContentType","delete"),publish:vh(n,"ContentType","publish"),unpublish:vh(n,"ContentType","unpublish"),create:vh(n,"ContentType","create"),createWithId:vh(n,"ContentType","createWithId"),omitAndDeleteField:(n,a,i)=>ov(e,hh(hh({},hh(hh({},t),n)),{},{fieldId:i}),a)},user:{getManyForSpace:vh(n,"User","getManyForSpace"),getForSpace:vh(n,"User","getForSpace"),getCurrent:vh(n,"User","getCurrent"),getForOrganization:vh(n,"User","getForOrganization"),getManyForOrganization:vh(n,"User","getManyForOrganization")},task:{get:vh(n,"Task","get"),getMany:vh(n,"Task","getMany"),create:vh(n,"Task","create"),update:vh(n,"Task","update"),delete:vh(n,"Task","delete")},entry:{getPublished:vh(n,"Entry","getPublished"),getMany:vh(n,"Entry","getMany"),get:vh(n,"Entry","get"),update:vh(n,"Entry","update"),patch:vh(n,"Entry","patch"),delete:vh(n,"Entry","delete"),publish:vh(n,"Entry","publish"),unpublish:vh(n,"Entry","unpublish"),archive:vh(n,"Entry","archive"),unarchive:vh(n,"Entry","unarchive"),create:vh(n,"Entry","create"),createWithId:vh(n,"Entry","createWithId"),references:vh(n,"Entry","references")},asset:{getPublished:vh(n,"Asset","getPublished"),getMany:vh(n,"Asset","getMany"),get:vh(n,"Asset","get"),update:vh(n,"Asset","update"),delete:vh(n,"Asset","delete"),publish:vh(n,"Asset","publish"),unpublish:vh(n,"Asset","unpublish"),archive:vh(n,"Asset","archive"),unarchive:vh(n,"Asset","unarchive"),create:vh(n,"Asset","create"),createWithId:vh(n,"Asset","createWithId"),createFromFiles:vh(n,"Asset","createFromFiles"),processForAllLocales:(n,a,i)=>e({entityType:"Asset",action:"processForAllLocales",params:hh(hh({},hh(hh({},t),n)),{},{options:i,asset:a})}),processForLocale:(n,a,i,r)=>e({entityType:"Asset",action:"processForLocale",params:hh(hh({},hh(hh({},t),n)),{},{locale:i,asset:a,options:r})})},appUpload:{get:vh(n,"AppUpload","get"),delete:vh(n,"AppUpload","delete"),create:vh(n,"AppUpload","create")},assetKey:{create:vh(n,"AssetKey","create")},upload:{get:vh(n,"Upload","get"),create:vh(n,"Upload","create"),delete:vh(n,"Upload","delete")},locale:{get:vh(n,"Locale","get"),getMany:vh(n,"Locale","getMany"),delete:vh(n,"Locale","delete"),update:vh(n,"Locale","update"),create:vh(n,"Locale","create")},personalAccessToken:{get:vh(n,"PersonalAccessToken","get"),getMany:vh(n,"PersonalAccessToken","getMany"),create:(t,n)=>e({entityType:"PersonalAccessToken",action:"create",params:{},headers:n,payload:t}),revoke:vh(n,"PersonalAccessToken","revoke")},accessToken:{get:vh(n,"AccessToken","get"),getMany:vh(n,"AccessToken","getMany"),createPersonalAccessToken:(t,n)=>e({entityType:"AccessToken",action:"createPersonalAccessToken",params:{},headers:n,payload:t}),revoke:vh(n,"AccessToken","revoke"),getManyForOrganization:vh(n,"AccessToken","getManyForOrganization")},usage:{getManyForSpace:vh(n,"Usage","getManyForSpace"),getManyForOrganization:vh(n,"Usage","getManyForOrganization")},release:{archive:vh(n,"Release","archive"),get:vh(n,"Release","get"),query:vh(n,"Release","query"),create:vh(n,"Release","create"),update:vh(n,"Release","update"),delete:vh(n,"Release","delete"),publish:vh(n,"Release","publish"),unarchive:vh(n,"Release","unarchive"),unpublish:vh(n,"Release","unpublish"),validate:vh(n,"Release","validate")},releaseAction:{get:vh(n,"ReleaseAction","get"),getMany:vh(n,"ReleaseAction","getMany"),queryForRelease:vh(n,"ReleaseAction","queryForRelease")},role:{get:vh(n,"Role","get"),getMany:vh(n,"Role","getMany"),getManyForOrganization:vh(n,"Role","getManyForOrganization"),create:vh(n,"Role","create"),createWithId:vh(n,"Role","createWithId"),update:vh(n,"Role","update"),delete:vh(n,"Role","delete")},scheduledActions:{get:vh(n,"ScheduledAction","get"),getMany:vh(n,"ScheduledAction","getMany"),create:vh(n,"ScheduledAction","create"),delete:vh(n,"ScheduledAction","delete"),update:vh(n,"ScheduledAction","update")},previewApiKey:{get:vh(n,"PreviewApiKey","get"),getMany:vh(n,"PreviewApiKey","getMany")},apiKey:{get:vh(n,"ApiKey","get"),getMany:vh(n,"ApiKey","getMany"),create:vh(n,"ApiKey","create"),createWithId:vh(n,"ApiKey","createWithId"),update:vh(n,"ApiKey","update"),delete:vh(n,"ApiKey","delete")},appDefinition:{get:vh(n,"AppDefinition","get"),getMany:vh(n,"AppDefinition","getMany"),create:vh(n,"AppDefinition","create"),update:vh(n,"AppDefinition","update"),delete:vh(n,"AppDefinition","delete"),getInstallationsForOrg:vh(n,"AppDefinition","getInstallationsForOrg")},appInstallation:{get:vh(n,"AppInstallation","get"),getMany:vh(n,"AppInstallation","getMany"),getForOrganization:vh(n,"AppInstallation","getForOrganization"),upsert:vh(n,"AppInstallation","upsert"),delete:vh(n,"AppInstallation","delete")},resource:{getMany:vh(n,"Resource","getMany")},resourceProvider:{get:vh(n,"ResourceProvider","get"),upsert:vh(n,"ResourceProvider","upsert"),delete:vh(n,"ResourceProvider","delete")},resourceType:{get:vh(n,"ResourceType","get"),getMany:vh(n,"ResourceType","getMany"),upsert:vh(n,"ResourceType","upsert"),delete:vh(n,"ResourceType","delete"),getForEnvironment:vh(n,"ResourceType","getForEnvironment")},extension:{get:vh(n,"Extension","get"),getMany:vh(n,"Extension","getMany"),create:vh(n,"Extension","create"),createWithId:vh(n,"Extension","createWithId"),update:vh(n,"Extension","update"),delete:vh(n,"Extension","delete")},webhook:{get:vh(n,"Webhook","get"),getMany:vh(n,"Webhook","getMany"),getHealthStatus:vh(n,"Webhook","getHealthStatus"),getCallDetails:vh(n,"Webhook","getCallDetails"),getSigningSecret:vh(n,"Webhook","getSigningSecret"),getRetryPolicy:vh(n,"Webhook","getRetryPolicy"),getManyCallDetails:vh(n,"Webhook","getManyCallDetails"),create:vh(n,"Webhook","create"),update:vh(n,"Webhook","update"),upsertSigningSecret:vh(n,"Webhook","upsertSigningSecret"),upsertRetryPolicy:vh(n,"Webhook","upsertRetryPolicy"),delete:vh(n,"Webhook","delete"),deleteSigningSecret:vh(n,"Webhook","deleteSigningSecret"),deleteRetryPolicy:vh(n,"Webhook","deleteRetryPolicy")},snapshot:{getManyForEntry:vh(n,"Snapshot","getManyForEntry"),getForEntry:vh(n,"Snapshot","getForEntry"),getManyForContentType:vh(n,"Snapshot","getManyForContentType"),getForContentType:vh(n,"Snapshot","getForContentType")},tag:{get:vh(n,"Tag","get"),getMany:vh(n,"Tag","getMany"),createWithId:vh(n,"Tag","createWithId"),update:vh(n,"Tag","update"),delete:vh(n,"Tag","delete")},organization:{getAll:vh(n,"Organization","getMany"),get:vh(n,"Organization","get")},organizationInvitation:{get:vh(n,"OrganizationInvitation","get"),create:vh(n,"OrganizationInvitation","create")},organizationMembership:{get:vh(n,"OrganizationMembership","get"),getMany:vh(n,"OrganizationMembership","getMany"),update:vh(n,"OrganizationMembership","update"),delete:vh(n,"OrganizationMembership","delete")},spaceMember:{get:vh(n,"SpaceMember","get"),getMany:vh(n,"SpaceMember","getMany")},spaceMembership:{get:vh(n,"SpaceMembership","get"),getMany:vh(n,"SpaceMembership","getMany"),getForOrganization:vh(n,"SpaceMembership","getForOrganization"),getManyForOrganization:vh(n,"SpaceMembership","getManyForOrganization"),create:vh(n,"SpaceMembership","create"),createWithId:vh(n,"SpaceMembership","createWithId"),update:vh(n,"SpaceMembership","update"),delete:vh(n,"SpaceMembership","delete")},team:{get:vh(n,"Team","get"),getMany:vh(n,"Team","getMany"),getManyForSpace:vh(n,"Team","getManyForSpace"),create:vh(n,"Team","create"),update:vh(n,"Team","update"),delete:vh(n,"Team","delete")},teamMembership:{get:vh(n,"TeamMembership","get"),getManyForOrganization:vh(n,"TeamMembership","getManyForOrganization"),getManyForTeam:vh(n,"TeamMembership","getManyForTeam"),create:vh(n,"TeamMembership","create"),update:vh(n,"TeamMembership","update"),delete:vh(n,"TeamMembership","delete")},teamSpaceMembership:{get:vh(n,"TeamSpaceMembership","get"),getMany:vh(n,"TeamSpaceMembership","getMany"),getForOrganization:vh(n,"TeamSpaceMembership","getForOrganization"),getManyForOrganization:vh(n,"TeamSpaceMembership","getManyForOrganization"),create:vh(n,"TeamSpaceMembership","create"),update:vh(n,"TeamSpaceMembership","update"),delete:vh(n,"TeamSpaceMembership","delete")},uiConfig:{get:vh(n,"UIConfig","get"),update:vh(n,"UIConfig","update")},userUIConfig:{get:vh(n,"UserUIConfig","get"),update:vh(n,"UserUIConfig","update")},workflowDefinition:{get:vh(n,"WorkflowDefinition","get"),getMany:vh(n,"WorkflowDefinition","getMany"),create:vh(n,"WorkflowDefinition","create"),update:vh(n,"WorkflowDefinition","update"),delete:vh(n,"WorkflowDefinition","delete")},workflow:{getMany:vh(n,"Workflow","getMany"),create:vh(n,"Workflow","create"),update:vh(n,"Workflow","update"),delete:vh(n,"Workflow","delete"),complete:vh(n,"Workflow","complete")},workflowsChangelog:{getMany:vh(n,"WorkflowsChangelog","getMany")}}};let wh=function(e){return e.BUILTIN="builtin",e.EXTENSION="extension",e.SIDEBAR_BUILTIN="sidebar-builtin",e.APP="app",e.EDITOR_BUILTIN="editor-builtin",e}({});const Oh={widgetId:"publication-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Publish & Status",description:"Built-in - View entry status, publish, etc."},jh={widgetId:"releases-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Release",description:"Built-in - View release, add to it, etc."},Ih={widgetId:"content-preview-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Preview",description:"Built-in - Displays preview functionality."},Ph={widgetId:"incoming-links-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Links",description:"Built-in - Shows where an entry is linked."},Th={widgetId:"translation-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Translation",description:"Built-in - Manage which translations are visible."},Sh={widgetId:"versions-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Versions",description:"Built-in - View previously published versions. Available only for master environment."},kh={widgetId:"users-widget",widgetNamespace:wh.SIDEBAR_BUILTIN,name:"Users",description:"Built-in - Displays users on the same entry."},Eh=[Oh,jh,Ih,Ph,Th,Sh,kh],Ah=[Oh,jh,Ph,Th,kh],Ch="Editor",_h="References",Rh="reference-tree",Dh="Tags",zh="tags-editor",Mh=[{widgetId:"default-editor",widgetNamespace:wh.EDITOR_BUILTIN,name:Ch},{widgetId:Rh,widgetNamespace:wh.EDITOR_BUILTIN,name:_h},{widgetId:zh,widgetNamespace:wh.EDITOR_BUILTIN,name:Dh}];function $h(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 Fh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$h(Object(n),!0).forEach((function(t){qh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qh(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 Lh=["Text","Symbol","Integer","Number","Boolean"],Uh={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"}}},Bh=Object.keys(Uh),Nh={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"}},Wh={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}},Kh={SidebarEntryConfiguration:Eh,SidebarAssetConfiguration:Ah,EntryConfiguration:Mh,getDefaultControlOfField:function(e){const t=(n=e,Bh.find((e=>{const t=Uh[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))&&Lh.includes(t)?{widgetId:"dropdown",fieldId:e.id,widgetNamespace:"builtin"}:function(e,t){const n=Fh(Fh({},Nh[e]),{},{settings:{helpText:null},widgetNamespace:"builtin",fieldId:t});return e in Wh&&(n.settings=Fh(Fh({},n.settings),Wh[e])),n}(t,e.id)}};function Vh(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 Hh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vh(Object(n),!0).forEach((function(t){Xh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xh(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 Gh=(e,t)=>({[Symbol.asyncIterator](){let n=Kr(t);const a=()=>e(Kr(n));let i=a();return{current:0,async next(){const{total:e=0,items:t=[],skip:r=0,limit:o=100}=await i;if(e===this.current)return{done:!0,value:null};const s=t[this.current++-r],c=this.current%o==0,p=this.current===e;return c&&!p&&(n=Hh(Hh({},n),{},{query:Hh(Hh({},n.query),{},{skip:r+o})}),i=a()),{done:!1,value:s}}}}});function Jh(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 Qh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jh(Object(n),!0).forEach((function(t){Yh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yh(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 Zh(e,t){const n=await e(Qh({},t));if("total"in n){const{total:i,limit:r,items:o}=n;if(!(i>o.length))return o;const s=Math.ceil(i/r),c=(a=s,Array.from(Array(Math.abs(a-1)),((e,t)=>1+t))).map((n=>e(Qh(Qh({},t),{},{query:Qh(Qh({},t.query),{},{limit:r,skip:n*r})})).then((e=>e.items)))),p=await Promise.all(c);return[...o,...p.flat(1)]}var a;if("pages"in n){const{pages:a,items:i}=n;if(!a.next)return i;const r=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(!r)throw new Error('Missing "pageNext" query param from pages.next from response.');return[...i,...await Zh(e,Qh(Qh({},t),{},{query:Qh(Qh({},t.query),{},{pageNext:r})}))]}throw new Error('Can not determine collection type of response, neither property "total" nor "pages" are present.')}function eg(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 tg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eg(Object(n),!0).forEach((function(t){ng(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ng(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 ag(e,t={}){const n=function(e,t,n,a){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),a&&i.push("feature "+a),i.push("sdk ".concat(e));var r=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(r=ln(),i.push("platform ReactNative")):"undefined"==typeof process||process.browser?(r=ln(),i.push("platform browser")):(r=function(){var e=process.platform||"linux",t=process.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?"".concat(n[e]||"Linux","/").concat(t):null}(),i.push("platform node.js/".concat(process.versions&&process.versions.node?"v".concat(process.versions.node):process.version)))}catch(e){r=null}return r&&i.push("os ".concat(r)),"".concat(i.filter((function(e){return""!==e})).join("; "),";")}(("plain"===t.type?"contentful-management-plain.js":"contentful-management.js")+"/11.35.0",e.application,e.integration,e.feature),a=function(e){return"apiAdapter"in e?e.apiAdapter:new ty(e)}(tg(tg({},e),{},{userAgent:n})),i=e=>a.makeRequest(tg(tg({},e),{},{userAgent:n}));return"plain"===t.type?xh(i,t.defaults):function(e){const{wrapSpace:t,wrapSpaceCollection:n}=uh.space,{wrapUser:a}=uh.user,{wrapPersonalAccessToken:i,wrapPersonalAccessTokenCollection:r}=uh.personalAccessToken,{wrapAccessToken:o,wrapAccessTokenCollection:s}=uh.accessToken,{wrapOrganization:c,wrapOrganizationCollection:p}=uh.organization,{wrapUsageCollection:l}=uh.usage,{wrapAppDefinition:u}=uh.appDefinition,{wrapEnvironmentTemplate:d,wrapEnvironmentTemplateCollection:m}=uh.environmentTemplate;return{getEnvironmentTemplates:function(t,n={}){return e({entityType:"EnvironmentTemplate",action:"getMany",params:{organizationId:t,query:sn({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:sn({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:sn({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:sn({query:t}).params}}).then((t=>p(e,t)))},getCurrentUser:function(t){return e({entityType:"User",action:"getCurrent",params:t}).then((t=>a(e,t)))},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=>r(e,t)))},getAccessToken:function(t){return e({entityType:"AccessToken",action:"get",params:{tokenId:t}}).then((t=>o(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(t.includes(a))continue;n[a]=e[a]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,dh);return e({entityType:"Http",action:"request",params:{url:n,config:a}})}}}(i)}})(),module.exports=a})();
|