Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

contentful-management

Package Overview
Dependencies
Maintainers
6
Versions
585
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-management - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

dist/contentful-management.min.js

@@ -8,3 +8,3 @@ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["contentful-management"]=e():t["contentful-management"]=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=123)}([function(t,e,n){function r(t){return o(t,i|a)}var o=n(25),i=1,a=4;t.exports=r},function(t,e,n){"use strict";var r=(n(21),n(50));n.d(e,"b",function(){return r.a});var o=n(51);n.d(e,"e",function(){return o.a});var i=(n(52),n(53));n.d(e,"d",function(){return i.a});var a=(n(12),n(22),n(54));n.d(e,"c",function(){return a.a});var u=n(55);n.d(e,"a",function(){return u.a})},function(t,e,n){"use strict";function r(t,e){return Object.keys(e).reduce(function(t,n){return Object.defineProperty(t,n,{enumerable:!1,configurable:!1,writable:!1,value:e[n]}),t},t)}e.a=r},function(t,e,n){"use strict";function r(t){var e=t.http,n=t.entityPath,r=t.wrapperMethod;return function(){var t=this.toPlainObject(),o=d()(t,["sys"]);return e.put(n+"/"+this.sys.id,o,{headers:{"X-Contentful-Version":this.sys.version}}).then(function(t){return r(e,t.data)},y.a)}}function o(t){var e=t.http,n=t.entityPath;return function(){return e.delete(n+"/"+this.sys.id).then(function(t){},y.a)}}function i(t){var e=t.http,n=t.entityPath,r=t.wrapperMethod;return function(){return e.put(n+"/"+this.sys.id+"/published",null,{headers:{"X-Contentful-Version":this.sys.version}}).then(function(t){return r(e,t.data)},y.a)}}function a(t){var e=t.http,n=t.entityPath,r=t.wrapperMethod;return function(){return e.delete(n+"/"+this.sys.id+"/published").then(function(t){return r(e,t.data)},y.a)}}function u(t){var e=t.http,n=t.entityPath,r=t.wrapperMethod;return function(){return e.put(n+"/"+this.sys.id+"/archived").then(function(t){return r(e,t.data)},y.a)}}function c(t){var e=t.http,n=t.entityPath,r=t.wrapperMethod;return function(){return e.delete(n+"/"+this.sys.id+"/archived").then(function(t){return r(e,t.data)},y.a)}}function s(){return function(){return!!this.sys.publishedVersion}}function f(){return function(){return this.sys.publishedVersion&&this.sys.version>this.sys.publishedVersion+1}}function p(){return function(){return!this.sys.publishedVersion}}function l(){return function(){return!!this.sys.archivedVersion}}var h=n(17),d=n.n(h),y=n(4);e.a=r,e.b=o,e.c=i,e.d=a,e.h=u,e.i=c,e.e=s,e.f=f,e.g=p,e.j=l},function(t,e,n){"use strict";function r(t){var e=t.data,n=t.config,r=t.response,o={status:r.status,statusText:r.statusText},a=void 0;n.headers&&n.headers.Authorization&&(n.headers.Authorization="Bearer ACCESS_TOKEN"),i()(n)&&(o.request={url:n.url,headers:n.headers,method:n.method,payloadData:n.data}),i()(e)&&("requestId"in e&&(o.requestId=e.requestId),"sys"in e&&"type"in e.sys&&(o.message=e.message,e.details&&(o.details=e.details)),"sys"in e&&"id"in e.sys&&(a=e.sys.id));var u=new Error;throw u.name=a&&"Unknown"!==a?a:r.status+" "+r.statusText,u.message=JSON.stringify(o,null," "),u}var o=n(11),i=n.n(o);e.a=r},function(t,e,n){function r(t,e,n,r){var a=!n;n||(n={});for(var u=-1,c=e.length;++u<c;){var s=e[u],f=r?r(n[s],t[s],s,n,t):void 0;void 0===f&&(f=t[s]),a?i(n,s,f):o(n,s,f)}return n}var o=n(13),i=n(24);t.exports=r},function(t,e,n){(function(e,r){/*!

*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function i(t){G=t}function a(t){J=t}function u(){return function(){return e.nextTick(l)}}function c(){return"undefined"!=typeof Y?function(){Y(l)}:p()}function s(){var t=0,e=new Z(l),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function f(){var t=new MessageChannel;return t.port1.onmessage=l,function(){return t.port2.postMessage(0)}}function p(){var t=setTimeout;return function(){return t(l,1)}}function l(){for(var t=0;t<B;t+=2){var e=nt[t],n=nt[t+1];e(n),nt[t]=void 0,nt[t+1]=void 0}B=0}function h(){try{var t=n(122);return Y=t.runOnLoop||t.runOnContext,c()}catch(t){return p()}}function d(t,e){var n=arguments,r=this,o=new this.constructor(v);void 0===o[ot]&&z(o);var i=r._state;return i?!function(){var t=n[i-1];J(function(){return S(i,o,t,r._result)})}():k(r,o,t,e),o}function y(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(v);return O(n,t),n}function v(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function g(t){try{return t.then}catch(t){return ct.error=t,ct}}function _(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function w(t,e,n){J(function(t){var r=!1,o=_(n,e,function(n){r||(r=!0,e!==n?O(t,n):P(t,n))},function(e){r||(r=!0,C(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,C(t,o))},t)}function j(t,e){e._state===at?P(t,e._result):e._state===ut?C(t,e._result):k(e,void 0,function(e){return O(t,e)},function(e){return C(t,e)})}function x(t,e,n){e.constructor===t.constructor&&n===d&&e.constructor.resolve===y?j(t,e):n===ct?C(t,ct.error):void 0===n?P(t,e):o(n)?w(t,e,n):P(t,e)}function O(e,n){e===n?C(e,b()):t(n)?x(e,n,g(n)):P(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function P(t,e){t._state===it&&(t._result=e,t._state=at,0!==t._subscribers.length&&J(T,t))}function C(t,e){t._state===it&&(t._state=ut,t._result=e,J(A,t))}function k(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+at]=n,o[i+ut]=r,0===i&&t._state&&J(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?S(n,r,o,i):o(i);t._subscribers.length=0}}function M(){this.error=null}function E(t,e){try{return t(e)}catch(t){return st.error=t,st}}function S(t,e,n,r){var i=o(n),a=void 0,u=void 0,c=void 0,s=void 0;if(i){if(a=E(n,r),a===st?(s=!0,u=a.error,a=null):c=!0,e===a)return void C(e,m())}else a=r,c=!0;e._state!==it||(i&&c?O(e,a):s?C(e,u):t===at?P(e,a):t===ut&&C(e,a))}function R(t,e){try{e(function(e){O(t,e)},function(e){C(t,e)})}catch(e){C(t,e)}}function L(){return ft++}function z(t){t[ot]=ft++,t._state=void 0,t._result=void 0,t._subscribers=[]}function I(t,e){this._instanceConstructor=t,this.promise=new t(v),this.promise[ot]||z(this.promise),X(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&P(this.promise,this._result))):C(this.promise,F())}function F(){return new Error("Array Methods must be provided an Array")}function D(t){return new I(this,t).promise}function N(t){var e=this;return new e(X(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function W(t){var e=this,n=new e(v);return C(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function U(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function H(t){this[ot]=L(),this._result=this._state=void 0,this._subscribers=[],v!==t&&("function"!=typeof t&&q(),this instanceof H?R(this,t):U())}function K(){var t=void 0;if("undefined"!=typeof r)t=r;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=H}var V=void 0;V=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var X=V,B=0,Y=void 0,G=void 0,J=function(t,e){nt[B]=t,nt[B+1]=e,B+=2,2===B&&(G?G(l):rt())},$="undefined"!=typeof window?window:void 0,Q=$||{},Z=Q.MutationObserver||Q.WebKitMutationObserver,tt="undefined"==typeof self&&"undefined"!=typeof e&&"[object process]"==={}.toString.call(e),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,nt=new Array(1e3),rt=void 0;rt=tt?u():Z?s():et?f():void 0===$?h():p();var ot=Math.random().toString(36).substring(16),it=void 0,at=1,ut=2,ct=new M,st=new M,ft=0;return I.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===it&&n<t;n++)this._eachEntry(e[n],n)},I.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===y){var o=g(t);if(o===d&&t._state!==it)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===H){var i=new n(v);x(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},I.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===it&&(this._remaining--,t===ut?C(r,n):this._result[e]=n),0===this._remaining&&P(r,this._result)},I.prototype._willSettleAt=function(t,e){var n=this;k(t,void 0,function(t){return n._settledAt(at,e,t)},function(t){return n._settledAt(ut,e,t)})},H.all=D,H.race=N,H.resolve=y,H.reject=W,H._setScheduler=i,H._setAsap=a,H._asap=J,H.prototype={constructor:H,then:d,catch:function(t){return this.then(null,t)}},H.polyfill=K,H.Promise=H,H})}).call(e,n(34),n(37))},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(90),i=n(91),a=n(92),u=n(93),c=n(94);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(32);t.exports=r},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(89);t.exports=r},function(t,e,n){var r=n(14),o=r(Object,"create");t.exports=o},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";function r(t){return new o.Promise(function(e){setTimeout(e,t||3e3)})}var o=n(6);n.n(o);e.a=r},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(24),i=n(32),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){var r=n(15),o=r(Object.keys,Object);t.exports=o},function(t,e,n){var r=n(61),o=n(25),i=n(66),a=n(27),u=n(5),c=n(72),s=n(74),f=n(28),p=1,l=2,h=4,d=s(function(t,e){var n={};if(null==t)return n;var s=!1;e=r(e,function(e){return e=a(e,t),s||(s=e.length>1),e}),u(t,f(t),n),s&&(n=o(n,p|l|h,c));for(var d=e.length;d--;)i(n,e[d]);return n});t.exports=d},function(t,e,n){var r=n(13),o=n(5),i=n(71),a=n(111),u=n(30),c=n(16),s=Object.prototype,f=s.hasOwnProperty,p=i(function(t,e){if(u(e)||a(e))return void o(e,c(e),t);for(var n in e)f.call(e,n)&&r(t,n,e[n])});t.exports=p},function(t,e,n){"use strict";function r(t){return{update:function(){var e=this.toPlainObject(),n=c()(e,["sys"]);return t.put("content_types/"+this.sys.contentType.sys.id+"/editor_interface",n,{headers:{"X-Contentful-Version":this.sys.version}}).then(function(e){return o(t,e.data)},p.a)},getControlForField:function(t){var e=this.controls.filter(function(e){return e.fieldId===t});return e&&e.length>0?e[0]:null}}}function o(t,e){var o=n.i(s.c)(a()(e));return n.i(f.a)(o,r(t)),n.i(s.d)(o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),a=n.n(i),u=n(17),c=n.n(u),s=n(1),f=n(2),p=n(4);e.wrapEditorInterface=o},function(t,e,n){"use strict";var r=n(48),o=n(44),i=n(42),a=n(43),u=n(19),c=n(45),s=n(49),f=n(47),p=n(46),l=n(41);e.a={space:r,entry:o,asset:i,contentType:a,editorInterface:u,locale:c,webhook:s,spaceMembership:f,role:p,apiKey:l}},function(t,e,n){"use strict";function r(t){var e=0;return function(r,a){if(e<t){var u=r.headers&&r.headers["X-Contentful-RateLimit-Reset"]||Math.pow(2,e);return e++,u*=1e3*(1.2*Math.random()+1),n.i(i.a)(u).then(a)}return o.Promise.reject(r)}}var o=n(6),i=(n.n(o),n(12));e.a=r},function(t,e,n){"use strict";function r(t,e,r){function u(){function o(){var t=u-(new Date).getTime();if(t<r)return n.i(a.a)(r-t)}if(!(f>=e)){var u=(new Date).getTime();if(s.length){var p=s.shift();f++;var l=void 0;try{var h=i.Promise.resolve(t.apply(p.self,p.args));p.resolve(h),l=h.catch(function(){})}catch(t){p.reject(t),l=i.Promise.resolve()}l.then(o).then(c)}}}function c(){f--,u()}e=o("concurrency",e),r=o("delay",r);var s=[],f=0;return function(){var t=this,e=Array.prototype.slice.call(arguments);return new i.Promise(function(n,r){s.push({reject:r,resolve:n,self:t,args:e}),u()})}}function o(t,e){if(e=parseInt(e,10),isNaN(e)||e<1)throw new TypeError(t+" must be a positive integer");return e}var i=n(6),a=(n.n(i),n(12));e.a=r},function(t,e,n){var r=n(14),o=n(31),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(73);t.exports=r},function(t,e,n){function r(t,e,n,C,k,T){var M,R=e&x,L=e&O,I=e&A;if(n&&(M=k?n(t,C,k,T):n(t)),void 0!==M)return M;if(!w(t))return t;var F=g(t);if(F){if(M=v(t),!R)return f(t,M)}else{var D=y(t),N=D==E||D==S;if(_(t))return s(t,R);if(D==z||D==P||N&&!k){if(M=L||N?{}:m(t),!R)return L?l(t,c(M,t)):p(t,u(M,t))}else{if(!Q[D])return k?t:{};M=b(t,D,r,R)}}T||(T=new o);var W=T.get(t);if(W)return W;T.set(t,M);var q=I?L?d:h:L?keysIn:j,U=F?void 0:q(t);return i(U||t,function(o,i){U&&(i=o,o=t[i]),a(M,i,r(o,e,n,i,t,T))}),M}var o=n(58),i=n(60),a=n(13),u=n(62),c=n(63),s=n(67),f=n(68),p=n(69),l=n(70),h=n(76),d=n(28),y=n(79),v=n(85),b=n(86),m=n(87),g=n(110),_=n(112),w=n(11),j=n(16),x=1,O=2,A=4,P="[object Arguments]",C="[object Array]",k="[object Boolean]",T="[object Date]",M="[object Error]",E="[object Function]",S="[object GeneratorFunction]",R="[object Map]",L="[object Number]",z="[object Object]",I="[object RegExp]",F="[object Set]",D="[object String]",N="[object Symbol]",W="[object WeakMap]",q="[object ArrayBuffer]",U="[object DataView]",H="[object Float32Array]",K="[object Float64Array]",V="[object Int8Array]",X="[object Int16Array]",B="[object Int32Array]",Y="[object Uint8Array]",G="[object Uint8ClampedArray]",J="[object Uint16Array]",$="[object Uint32Array]",Q={};Q[P]=Q[C]=Q[q]=Q[U]=Q[k]=Q[T]=Q[H]=Q[K]=Q[V]=Q[X]=Q[B]=Q[R]=Q[L]=Q[z]=Q[I]=Q[F]=Q[D]=Q[N]=Q[Y]=Q[G]=Q[J]=Q[$]=!0,Q[M]=Q[E]=Q[W]=!1,t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){var r=n(15),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){var r=n(75),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t){if(!a(t)||o(t)!=u)return!1;var e=i(t);if(null===e)return!0;var n=p.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==l}var o=n(26),i=n(29),a=n(115),u="[object Object]",c=Function.prototype,s=Object.prototype,f=c.toString,p=s.hasOwnProperty,l=f.call(Object);t.exports=r},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function a(){y&&h&&(y=!1,h.length?d=h.concat(d):v=-1,d.length&&u())}function u(){if(!y){var t=o(a);y=!0;for(var e=d.length;e;){for(h=d,d=[];++v<e;)h&&h[v].run();v=-1,e=d.length}h=null,y=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function s(){}var f,p,l=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var h,d=[],y=!1,v=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new c(t,e)),1!==d.length||y||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=s,l.addListener=s,l.once=s,l.off=s,l.removeListener=s,l.removeAllListeners=s,l.emit=s,l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}();e.arrayToObject=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)"undefined"!=typeof t[r]&&(n[r]=t[r]);return n},e.merge=function(t,n,o){if(!n)return t;if("object"!=typeof n){if(Array.isArray(t))t.push(n);else{if("object"!=typeof t)return[t,n];t[n]=!0}return t}if("object"!=typeof t)return[t].concat(n);var i=t;return Array.isArray(t)&&!Array.isArray(n)&&(i=e.arrayToObject(t,o)),Array.isArray(t)&&Array.isArray(n)?(n.forEach(function(n,i){r.call(t,i)?t[i]&&"object"==typeof t[i]?t[i]=e.merge(t[i],n,o):t.push(n):t[i]=n}),t):Object.keys(n).reduce(function(t,r){var i=n[r];return Object.prototype.hasOwnProperty.call(t,r)?t[r]=e.merge(t[r],i,o):t[r]=i,t},i)},e.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},e.encode=function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),n="",r=0;r<e.length;++r){var i=e.charCodeAt(r);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=e.charAt(r):i<128?n+=o[i]:i<2048?n+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},e.compact=function(t,n){if("object"!=typeof t||null===t)return t;var r=n||[],o=r.indexOf(t);if(o!==-1)return r[o];if(r.push(t),Array.isArray(t)){for(var i=[],a=0;a<t.length;++a)t[a]&&"object"==typeof t[a]?i.push(e.compact(t[a],r)):"undefined"!=typeof t[a]&&i.push(t[a]);return i}var u=Object.keys(t);return u.forEach(function(n){t[n]=e.compact(t[n],r)}),t},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isBuffer=function(t){return null!==t&&"undefined"!=typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){function e(){return a.get("").then(function(t){return s(a,t.data)},o.a)}function n(t){return a.get(t).then(function(t){return c(a,t.data)},o.a)}function r(t,e){return a.post("",t,{headers:e?{"X-Contentful-Organization":e}:{}}).then(function(t){return c(a,t.data)},o.a)}var a=t.http,u=i.a.space,c=u.wrapSpace,s=u.wrapSpaceCollection;return{getSpaces:e,getSpace:n,createSpace:r}}var o=n(4),i=n(20);e.a=r},function(t,e){t.exports="2.1.1"},function(t,e,n){"use strict";function r(t){function e(){return q.delete("").then(function(t){},i.a)}function r(){var t=this.toPlainObject(),e=c()(t,["sys"]);return q.put("",e,{headers:{"X-Contentful-Version":t.sys.version}}).then(function(t){return U(q,t.data)},i.a)}function u(t){return q.get("content_types/"+t).then(function(t){return K(q,t.data)},i.a)}function s(t){return q.get("content_types/"+t+"/editor_interface").then(function(t){return ht(q,t.data)},i.a)}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return q.get("content_types",n.i(o.e)({query:t})).then(function(t){return V(q,t.data)},i.a)}function p(t){return q.post("content_types",t).then(function(t){return K(q,t.data)},i.a)}function l(t,e){return q.put("content_types/"+t,e).then(function(t){return K(q,t.data)},i.a)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W(e),q.get("entries/"+t,n.i(o.e)({query:e})).then(function(t){return B(q,t.data)},i.a)}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return W(t),q.get("entries",n.i(o.e)({query:t})).then(function(t){return Y(q,t.data)},i.a)}function y(t,e){return q.post("entries",e,{headers:{"X-Contentful-Content-Type":t}}).then(function(t){return B(q,t.data)},i.a)}function v(t,e,n){return q.put("entries/"+e,n,{headers:{"X-Contentful-Content-Type":t}}).then(function(t){return B(q,t.data)},i.a)}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W(e),q.get("assets/"+t,n.i(o.e)({query:e})).then(function(t){return J(q,t.data)},i.a)}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return W(t),q.get("assets",n.i(o.e)({query:t})).then(function(t){return $(q,t.data)},i.a)}function g(t){return q.post("assets",t).then(function(t){return J(q,t.data)},i.a)}function _(t,e){return q.put("assets/"+t,e).then(function(t){return J(q,t.data)},i.a)}function w(t){return q.get("locales/"+t).then(function(t){return Z(q,t.data)},i.a)}function j(){return q.get("locales").then(function(t){return tt(q,t.data)},i.a)}function x(t){return q.post("locales",t).then(function(t){return Z(q,t.data)},i.a)}function O(t){return q.get("webhook_definitions/"+t).then(function(t){return nt(q,t.data)},i.a)}function A(){return q.get("webhook_definitions").then(function(t){return rt(q,t.data)},i.a)}function P(t){return q.post("webhook_definitions",t).then(function(t){return nt(q,t.data)},i.a)}function C(t,e){return q.put("webhook_definitions/"+t,e).then(function(t){return nt(q,t.data)},i.a)}function k(t){return q.get("space_memberships/"+t).then(function(t){return ct(q,t.data)},i.a)}function T(){return q.get("space_memberships").then(function(t){return st(q,t.data)},i.a)}function M(t){return q.post("space_memberships",t).then(function(t){return ct(q,t.data)},i.a)}function E(t,e){return q.put("space_memberships/"+t,e).then(function(t){return ct(q,t.data)},i.a)}function S(t){return q.get("roles/"+t).then(function(t){return it(q,t.data)},i.a)}function R(){return q.get("roles").then(function(t){return at(q,t.data)},i.a)}function L(t){return q.post("roles",t).then(function(t){return it(q,t.data)},i.a)}function z(t,e){return q.put("roles/"+t,e).then(function(t){return it(q,t.data)},i.a)}function I(t){return q.get("api_keys/"+t).then(function(t){return pt(q,t.data)},i.a)}function F(){return q.get("api_keys").then(function(t){return lt(q,t.data)},i.a)}function D(t){return q.post("api_keys",t).then(function(t){return pt(q,t.data)},i.a)}function N(t,e){return q.put("api_keys/"+t,e).then(function(t){return pt(q,t.data)},i.a)}function W(t){t.select&&!/sys/i.test(t.select)&&(t.select+=",sys")}var q=t.http,U=a.a.space.wrapSpace,H=a.a.contentType,K=H.wrapContentType,V=H.wrapContentTypeCollection,X=a.a.entry,B=X.wrapEntry,Y=X.wrapEntryCollection,G=a.a.asset,J=G.wrapAsset,$=G.wrapAssetCollection,Q=a.a.locale,Z=Q.wrapLocale,tt=Q.wrapLocaleCollection,et=a.a.webhook,nt=et.wrapWebhook,rt=et.wrapWebhookCollection,ot=a.a.role,it=ot.wrapRole,at=ot.wrapRoleCollection,ut=a.a.spaceMembership,ct=ut.wrapSpaceMembership,st=ut.wrapSpaceMembershipCollection,ft=a.a.apiKey,pt=ft.wrapApiKey,lt=ft.wrapApiKeyCollection,ht=a.a.editorInterface.wrapEditorInterface;return{delete:e,update:r,getContentType:u,getContentTypes:f,createContentType:p,createContentTypeWithId:l,getEditorInterfaceForContentType:s,getEntry:h,getEntries:d,createEntry:y,createEntryWithId:v,getAsset:b,getAssets:m,createAsset:g,createAssetWithId:_,getLocale:w,getLocales:j,createLocale:x,getWebhook:O,getWebhooks:A,createWebhook:P,createWebhookWithId:C,getRole:S,getRoles:R,createRole:L,createRoleWithId:z,getSpaceMembership:k,getSpaceMemberships:T,createSpaceMembership:M,createSpaceMembershipWithId:E,getApiKey:I,getApiKeys:F,createApiKey:D,createApiKeyWithId:N}}var o=n(1),i=n(4),a=n(20),u=n(17),c=n.n(u);e.a=r},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"api_keys",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"api_keys"})}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapApiKey=o,e.wrapApiKeyCollection=i},function(t,e,n){"use strict";function r(t){function e(n){var r=n.resolve,i=n.reject,a=n.id,u=n.locale,c=n.processingCheckWait,s=void 0===c?h:c,f=n.processingCheckRetries,l=void 0===f?d:f,y=n.checkCount,v=void 0===y?0:y;t.get("assets/"+a).then(function(e){return o(t,e.data)},p.a).then(function(t){if(t.fields.file[u].url)r(t);else if(v===l){var n=new Error;n.name="AssetProcessingTimeout",n.message="Asset is taking longer then expected to process.",i(n)}else v++,setTimeout(function(){return e({resolve:r,reject:i,id:a,locale:u,checkCount:v,processingCheckWait:s,processingCheckRetries:l})},s)})}function r(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.processingCheckWait,i=r.processingCheckRetries,u=this.sys.id;return t.put("assets/"+this.sys.id+"/files/"+n+"/process",null,{headers:{"X-Contentful-Version":this.sys.version}}).then(function(){return new a.Promise(function(t,r){return e({resolve:t,reject:r,id:u,locale:n,processingCheckWait:o,processingCheckRetries:i})})},p.a)}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,n=Object.keys(this.fields.file);return a.Promise.all(n.map(function(n){return r.call(e,n,t)})).then(function(t){return t[0]})}return{update:n.i(l.a)({http:t,entityPath:"assets",wrapperMethod:o}),delete:n.i(l.b)({http:t,entityPath:"assets"}),publish:n.i(l.c)({http:t,entityPath:"assets",wrapperMethod:o}),unpublish:n.i(l.d)({http:t,entityPath:"assets",wrapperMethod:o}),archive:n.i(l.h)({http:t,entityPath:"assets",wrapperMethod:o}),unarchive:n.i(l.i)({http:t,entityPath:"assets",wrapperMethod:o}),processForLocale:r,processForAllLocales:i,isPublished:n.i(l.e)(),isUpdated:n.i(l.f)(),isDraft:n.i(l.g)(),isArchived:n.i(l.j)()}}function o(t,e){var o=n.i(s.c)(c()(e));return n.i(f.a)(o,r(t)),n.i(s.d)(o)}function i(t,e){var r=n.i(s.c)(c()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(s.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(6),u=(n.n(a),n(0)),c=n.n(u),s=n(1),f=n(2),p=n(4),l=n(3);e.wrapAsset=o,e.wrapAssetCollection=i;var h=500,d=5},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"content_types",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"content_types"}),publish:n.i(f.c)({http:t,entityPath:"content_types",wrapperMethod:o}),unpublish:n.i(f.d)({http:t,entityPath:"content_types",wrapperMethod:o}),getEditorInterface:function(){return t.get("content_types/"+this.sys.id+"/editor_interface").then(function(e){return n.i(p.wrapEditorInterface)(t,e.data)},l.a)},isPublished:n.i(f.e)(),isUpdated:n.i(f.f)(),isDraft:n.i(f.g)()}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3),p=n(19),l=n(4);e.wrapContentType=o,e.wrapContentTypeCollection=i},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"entries",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"entries"}),publish:n.i(f.c)({http:t,entityPath:"entries",wrapperMethod:o}),unpublish:n.i(f.d)({http:t,entityPath:"entries",wrapperMethod:o}),archive:n.i(f.h)({http:t,entityPath:"entries",wrapperMethod:o}),unarchive:n.i(f.i)({http:t,entityPath:"entries",wrapperMethod:o}),isPublished:n.i(f.e)(),isUpdated:n.i(f.f)(),isDraft:n.i(f.g)(),isArchived:n.i(f.j)()}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e,r){var i=n.i(c.c)(u()(e));return i.items=i.items.map(function(e){return o(t,e)}),n.i(c.d)(i)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapEntry=o,e.wrapEntryCollection=i},function(t,e,n){"use strict";function r(t){return{update:function(){var e=this;return delete e.default,delete e.fallback_code,delete e.fallbackCode,n.i(f.a)({http:t,entityPath:"locales",wrapperMethod:o}).call(e)},delete:n.i(f.b)({http:t,entityPath:"locales"})}}function o(t,e){delete e.internal_code;var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapLocale=o,e.wrapLocaleCollection=i},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"roles",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"roles"})}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapRole=o,e.wrapRoleCollection=i},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"space_memberships",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"space_memberships"})}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapSpaceMembership=o,e.wrapSpaceMembershipCollection=i},function(t,e,n){"use strict";function r(t,e){var r=n.i(u.c)(a()(e)),o=t.httpClientParams,i=o.rateLimit,f=o.rateLimitPeriod,p=o.maxRetries,l=o.retryOnTooManyRequests,h={concurrency:i,delay:f,maxRetries:p,retryOnTooManyRequests:l},d=n.i(u.a)(t.cloneWithNewParams({space:r.sys.id}),h),y=n.i(s.a)({http:d}),v=n.i(c.a)(r,y);return n.i(u.d)(v)}function o(t,e){var o=n.i(u.c)(a()(e));return o.items=o.items.map(function(e){return r(t,e)}),n.i(u.d)(o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),a=n.n(i),u=n(1),c=n(2),s=n(40);e.wrapSpace=r,e.wrapSpaceCollection=o},function(t,e,n){"use strict";function r(t){return{update:n.i(p.a)({http:t,entityPath:"webhook_definitions",wrapperMethod:o}),delete:n.i(p.b)({http:t,entityPath:"webhook_definitions"}),getCalls:function(){return t.get("webhooks/"+this.sys.id+"/calls").then(function(t){return t.data},f.a)},getCall:function(e){return t.get("webhooks/"+this.sys.id+"/calls/"+e).then(function(t){return t.data},f.a)},getHealth:function(){return t.get("webhooks/"+this.sys.id+"/health").then(function(t){return t.data},f.a)}}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(4),p=n(3);e.wrapWebhook=o,e.wrapWebhookCollection=i},function(t,e,n){"use strict";(function(t){function r(e,n){var o=n.space,a=n.accessToken,c=n.insecure,p=n.host,l=n.defaultHostname,h=n.agent,d=n.headers,y=p&&p.split(":")||[],v=f(y,2),b=v[0],m=v[1];b=b||l,m=m||(c?80:443);var g=(c?"http":"https")+"://"+b+":"+m+"/spaces/";o&&(g+=o+"/"),d=d||{},d.Authorization="Bearer "+a,t&&t.release&&"node"===t.release.name&&(d["user-agent"]="node.js/"+t.version,d["Accept-Encoding"]="gzip");var _=e.create({baseURL:g,headers:d,agent:h,paramsSerializer:i.a.stringify});return _.httpClientParams=n,_.cloneWithNewParams=function(t){return r(e,s()(u()(n),t))},_}var o=n(118),i=n.n(o),a=n(0),u=n.n(a),c=n(18),s=n.n(c);e.a=r;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()}).call(e,n(34))},function(t,e,n){"use strict";function r(t){var e=t.query,n={};return delete e.resolveLinks,n.params=i()(e),n}var o=n(0),i=n.n(o);e.a=r},function(t,e,n){"use strict"},function(t,e,n){"use strict";function r(t){return Object.keys(t).forEach(function(e){var n=t[e];a()(n)&&r(n)}),Object.freeze(t)}function o(t){return r(t.sys||{}),t}var i=n(33),a=n.n(i);e.a=o},function(t,e,n){"use strict";function r(t){return Object.defineProperty(t,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return i()(this)}})}var o=n(0),i=n.n(o);e.a=r},function(t,e,n){"use strict";function r(t,e){var r=e.concurrency,i=e.delay,c=e.maxRetries,s=e.retryOnTooManyRequests;return["get","post","put","delete","patch","head"].reduce(function(t,e){var a=t[e].bind(t);return s&&(a=o(a,c)),t[e]=n.i(u.a)(a,r,i),t},a()(t))}function o(t,e){return function r(){var o=this;o.backoff=o.backoff||n.i(c.a)(e);var i=Array.prototype.slice.call(arguments),a=t.apply(o,i);return a=a.catch(function(t){if(429===t.status||t.status>=500)return o.backoff(t,function(){return r.apply(o,i)});throw t})}}var i=n(0),a=n.n(i),u=n(22),c=n(21);e.a=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(80),i=n(81),a=n(82),u=n(83),c=n(84);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(95),i=n(96),a=n(97),u=n(98),c=n(99);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(7),i=n(103),a=n(104),u=n(105),c=n(106),s=n(107);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e){function n(t,e){
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function i(t){G=t}function a(t){J=t}function u(){return function(){return e.nextTick(l)}}function c(){return"undefined"!=typeof Y?function(){Y(l)}:p()}function s(){var t=0,e=new Z(l),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function f(){var t=new MessageChannel;return t.port1.onmessage=l,function(){return t.port2.postMessage(0)}}function p(){var t=setTimeout;return function(){return t(l,1)}}function l(){for(var t=0;t<B;t+=2){var e=nt[t],n=nt[t+1];e(n),nt[t]=void 0,nt[t+1]=void 0}B=0}function h(){try{var t=n(122);return Y=t.runOnLoop||t.runOnContext,c()}catch(t){return p()}}function d(t,e){var n=arguments,r=this,o=new this.constructor(v);void 0===o[ot]&&z(o);var i=r._state;return i?!function(){var t=n[i-1];J(function(){return S(i,o,t,r._result)})}():k(r,o,t,e),o}function y(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(v);return O(n,t),n}function v(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function g(t){try{return t.then}catch(t){return ct.error=t,ct}}function _(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function w(t,e,n){J(function(t){var r=!1,o=_(n,e,function(n){r||(r=!0,e!==n?O(t,n):P(t,n))},function(e){r||(r=!0,C(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,C(t,o))},t)}function j(t,e){e._state===at?P(t,e._result):e._state===ut?C(t,e._result):k(e,void 0,function(e){return O(t,e)},function(e){return C(t,e)})}function x(t,e,n){e.constructor===t.constructor&&n===d&&e.constructor.resolve===y?j(t,e):n===ct?C(t,ct.error):void 0===n?P(t,e):o(n)?w(t,e,n):P(t,e)}function O(e,n){e===n?C(e,b()):t(n)?x(e,n,g(n)):P(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function P(t,e){t._state===it&&(t._result=e,t._state=at,0!==t._subscribers.length&&J(T,t))}function C(t,e){t._state===it&&(t._state=ut,t._result=e,J(A,t))}function k(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+at]=n,o[i+ut]=r,0===i&&t._state&&J(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?S(n,r,o,i):o(i);t._subscribers.length=0}}function M(){this.error=null}function E(t,e){try{return t(e)}catch(t){return st.error=t,st}}function S(t,e,n,r){var i=o(n),a=void 0,u=void 0,c=void 0,s=void 0;if(i){if(a=E(n,r),a===st?(s=!0,u=a.error,a=null):c=!0,e===a)return void C(e,m())}else a=r,c=!0;e._state!==it||(i&&c?O(e,a):s?C(e,u):t===at?P(e,a):t===ut&&C(e,a))}function R(t,e){try{e(function(e){O(t,e)},function(e){C(t,e)})}catch(e){C(t,e)}}function L(){return ft++}function z(t){t[ot]=ft++,t._state=void 0,t._result=void 0,t._subscribers=[]}function I(t,e){this._instanceConstructor=t,this.promise=new t(v),this.promise[ot]||z(this.promise),X(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&P(this.promise,this._result))):C(this.promise,F())}function F(){return new Error("Array Methods must be provided an Array")}function D(t){return new I(this,t).promise}function N(t){var e=this;return new e(X(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function W(t){var e=this,n=new e(v);return C(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function U(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function H(t){this[ot]=L(),this._result=this._state=void 0,this._subscribers=[],v!==t&&("function"!=typeof t&&q(),this instanceof H?R(this,t):U())}function K(){var t=void 0;if("undefined"!=typeof r)t=r;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=H}var V=void 0;V=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var X=V,B=0,Y=void 0,G=void 0,J=function(t,e){nt[B]=t,nt[B+1]=e,B+=2,2===B&&(G?G(l):rt())},$="undefined"!=typeof window?window:void 0,Q=$||{},Z=Q.MutationObserver||Q.WebKitMutationObserver,tt="undefined"==typeof self&&"undefined"!=typeof e&&"[object process]"==={}.toString.call(e),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,nt=new Array(1e3),rt=void 0;rt=tt?u():Z?s():et?f():void 0===$?h():p();var ot=Math.random().toString(36).substring(16),it=void 0,at=1,ut=2,ct=new M,st=new M,ft=0;return I.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===it&&n<t;n++)this._eachEntry(e[n],n)},I.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===y){var o=g(t);if(o===d&&t._state!==it)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===H){var i=new n(v);x(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},I.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===it&&(this._remaining--,t===ut?C(r,n):this._result[e]=n),0===this._remaining&&P(r,this._result)},I.prototype._willSettleAt=function(t,e){var n=this;k(t,void 0,function(t){return n._settledAt(at,e,t)},function(t){return n._settledAt(ut,e,t)})},H.all=D,H.race=N,H.resolve=y,H.reject=W,H._setScheduler=i,H._setAsap=a,H._asap=J,H.prototype={constructor:H,then:d,catch:function(t){return this.then(null,t)}},H.polyfill=K,H.Promise=H,H})}).call(e,n(34),n(37))},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(90),i=n(91),a=n(92),u=n(93),c=n(94);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(32);t.exports=r},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(89);t.exports=r},function(t,e,n){var r=n(14),o=r(Object,"create");t.exports=o},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){"use strict";function r(t){return new o.Promise(function(e){setTimeout(e,t||3e3)})}var o=n(6);n.n(o);e.a=r},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(24),i=n(32),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){var r=n(15),o=r(Object.keys,Object);t.exports=o},function(t,e,n){var r=n(61),o=n(25),i=n(66),a=n(27),u=n(5),c=n(72),s=n(74),f=n(28),p=1,l=2,h=4,d=s(function(t,e){var n={};if(null==t)return n;var s=!1;e=r(e,function(e){return e=a(e,t),s||(s=e.length>1),e}),u(t,f(t),n),s&&(n=o(n,p|l|h,c));for(var d=e.length;d--;)i(n,e[d]);return n});t.exports=d},function(t,e,n){var r=n(13),o=n(5),i=n(71),a=n(111),u=n(30),c=n(16),s=Object.prototype,f=s.hasOwnProperty,p=i(function(t,e){if(u(e)||a(e))return void o(e,c(e),t);for(var n in e)f.call(e,n)&&r(t,n,e[n])});t.exports=p},function(t,e,n){"use strict";function r(t){return{update:function(){var e=this.toPlainObject(),n=c()(e,["sys"]);return t.put("content_types/"+this.sys.contentType.sys.id+"/editor_interface",n,{headers:{"X-Contentful-Version":this.sys.version}}).then(function(e){return o(t,e.data)},p.a)},getControlForField:function(t){var e=this.controls.filter(function(e){return e.fieldId===t});return e&&e.length>0?e[0]:null}}}function o(t,e){var o=n.i(s.c)(a()(e));return n.i(f.a)(o,r(t)),n.i(s.d)(o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),a=n.n(i),u=n(17),c=n.n(u),s=n(1),f=n(2),p=n(4);e.wrapEditorInterface=o},function(t,e,n){"use strict";var r=n(48),o=n(44),i=n(42),a=n(43),u=n(19),c=n(45),s=n(49),f=n(47),p=n(46),l=n(41);e.a={space:r,entry:o,asset:i,contentType:a,editorInterface:u,locale:c,webhook:s,spaceMembership:f,role:p,apiKey:l}},function(t,e,n){"use strict";function r(t){var e=0;return function(r,a){if(e<t){var u=r.headers&&r.headers["X-Contentful-RateLimit-Reset"]||Math.pow(2,e);return e++,u*=1e3*(1.2*Math.random()+1),n.i(i.a)(u).then(a)}return o.Promise.reject(r)}}var o=n(6),i=(n.n(o),n(12));e.a=r},function(t,e,n){"use strict";function r(t,e,r){function u(){function o(){var t=u-(new Date).getTime();if(t<r)return n.i(a.a)(r-t)}if(!(f>=e)){var u=(new Date).getTime();if(s.length){var p=s.shift();f++;var l=void 0;try{var h=i.Promise.resolve(t.apply(p.self,p.args));p.resolve(h),l=h.catch(function(){})}catch(t){p.reject(t),l=i.Promise.resolve()}l.then(o).then(c)}}}function c(){f--,u()}e=o("concurrency",e),r=o("delay",r);var s=[],f=0;return function(){var t=this,e=Array.prototype.slice.call(arguments);return new i.Promise(function(n,r){s.push({reject:r,resolve:n,self:t,args:e}),u()})}}function o(t,e){if(e=parseInt(e,10),isNaN(e)||e<1)throw new TypeError(t+" must be a positive integer");return e}var i=n(6),a=(n.n(i),n(12));e.a=r},function(t,e,n){var r=n(14),o=n(31),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(73);t.exports=r},function(t,e,n){function r(t,e,n,C,k,T){var M,R=e&x,L=e&O,I=e&A;if(n&&(M=k?n(t,C,k,T):n(t)),void 0!==M)return M;if(!w(t))return t;var F=g(t);if(F){if(M=v(t),!R)return f(t,M)}else{var D=y(t),N=D==E||D==S;if(_(t))return s(t,R);if(D==z||D==P||N&&!k){if(M=L||N?{}:m(t),!R)return L?l(t,c(M,t)):p(t,u(M,t))}else{if(!Q[D])return k?t:{};M=b(t,D,r,R)}}T||(T=new o);var W=T.get(t);if(W)return W;T.set(t,M);var q=I?L?d:h:L?keysIn:j,U=F?void 0:q(t);return i(U||t,function(o,i){U&&(i=o,o=t[i]),a(M,i,r(o,e,n,i,t,T))}),M}var o=n(58),i=n(60),a=n(13),u=n(62),c=n(63),s=n(67),f=n(68),p=n(69),l=n(70),h=n(76),d=n(28),y=n(79),v=n(85),b=n(86),m=n(87),g=n(110),_=n(112),w=n(11),j=n(16),x=1,O=2,A=4,P="[object Arguments]",C="[object Array]",k="[object Boolean]",T="[object Date]",M="[object Error]",E="[object Function]",S="[object GeneratorFunction]",R="[object Map]",L="[object Number]",z="[object Object]",I="[object RegExp]",F="[object Set]",D="[object String]",N="[object Symbol]",W="[object WeakMap]",q="[object ArrayBuffer]",U="[object DataView]",H="[object Float32Array]",K="[object Float64Array]",V="[object Int8Array]",X="[object Int16Array]",B="[object Int32Array]",Y="[object Uint8Array]",G="[object Uint8ClampedArray]",J="[object Uint16Array]",$="[object Uint32Array]",Q={};Q[P]=Q[C]=Q[q]=Q[U]=Q[k]=Q[T]=Q[H]=Q[K]=Q[V]=Q[X]=Q[B]=Q[R]=Q[L]=Q[z]=Q[I]=Q[F]=Q[D]=Q[N]=Q[Y]=Q[G]=Q[J]=Q[$]=!0,Q[M]=Q[E]=Q[W]=!1,t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){var r=n(15),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){var r=n(75),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t){if(!a(t)||o(t)!=u)return!1;var e=i(t);if(null===e)return!0;var n=p.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==l}var o=n(26),i=n(29),a=n(115),u="[object Object]",c=Function.prototype,s=Object.prototype,f=c.toString,p=s.hasOwnProperty,l=f.call(Object);t.exports=r},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function a(){y&&h&&(y=!1,h.length?d=h.concat(d):v=-1,d.length&&u())}function u(){if(!y){var t=o(a);y=!0;for(var e=d.length;e;){for(h=d,d=[];++v<e;)h&&h[v].run();v=-1,e=d.length}h=null,y=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function s(){}var f,p,l=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var h,d=[],y=!1,v=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new c(t,e)),1!==d.length||y||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=s,l.addListener=s,l.once=s,l.off=s,l.removeListener=s,l.removeAllListeners=s,l.emit=s,l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},function(t,e,n){"use strict";var r=String.prototype.replace,o=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(t){return r.call(t,o,"+")},RFC3986:function(t){return t}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}();e.arrayToObject=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)"undefined"!=typeof t[r]&&(n[r]=t[r]);return n},e.merge=function(t,n,o){if(!n)return t;if("object"!=typeof n){if(Array.isArray(t))t.push(n);else{if("object"!=typeof t)return[t,n];t[n]=!0}return t}if("object"!=typeof t)return[t].concat(n);var i=t;return Array.isArray(t)&&!Array.isArray(n)&&(i=e.arrayToObject(t,o)),Array.isArray(t)&&Array.isArray(n)?(n.forEach(function(n,i){r.call(t,i)?t[i]&&"object"==typeof t[i]?t[i]=e.merge(t[i],n,o):t.push(n):t[i]=n}),t):Object.keys(n).reduce(function(t,r){var i=n[r];return Object.prototype.hasOwnProperty.call(t,r)?t[r]=e.merge(t[r],i,o):t[r]=i,t},i)},e.decode=function(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return t}},e.encode=function(t){if(0===t.length)return t;for(var e="string"==typeof t?t:String(t),n="",r=0;r<e.length;++r){var i=e.charCodeAt(r);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=e.charAt(r):i<128?n+=o[i]:i<2048?n+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},e.compact=function(t,n){if("object"!=typeof t||null===t)return t;var r=n||[],o=r.indexOf(t);if(o!==-1)return r[o];if(r.push(t),Array.isArray(t)){for(var i=[],a=0;a<t.length;++a)t[a]&&"object"==typeof t[a]?i.push(e.compact(t[a],r)):"undefined"!=typeof t[a]&&i.push(t[a]);return i}var u=Object.keys(t);return u.forEach(function(n){t[n]=e.compact(t[n],r)}),t},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isBuffer=function(t){return null!==t&&"undefined"!=typeof t&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){function e(){return a.get("").then(function(t){return s(a,t.data)},o.a)}function n(t){return a.get(t).then(function(t){return c(a,t.data)},o.a)}function r(t,e){return a.post("",t,{headers:e?{"X-Contentful-Organization":e}:{}}).then(function(t){return c(a,t.data)},o.a)}var a=t.http,u=i.a.space,c=u.wrapSpace,s=u.wrapSpaceCollection;return{getSpaces:e,getSpace:n,createSpace:r}}var o=n(4),i=n(20);e.a=r},function(t,e){t.exports="2.1.2"},function(t,e,n){"use strict";function r(t){function e(){return q.delete("").then(function(t){},i.a)}function r(){var t=this.toPlainObject(),e=c()(t,["sys"]);return q.put("",e,{headers:{"X-Contentful-Version":t.sys.version}}).then(function(t){return U(q,t.data)},i.a)}function u(t){return q.get("content_types/"+t).then(function(t){return K(q,t.data)},i.a)}function s(t){return q.get("content_types/"+t+"/editor_interface").then(function(t){return ht(q,t.data)},i.a)}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return q.get("content_types",n.i(o.e)({query:t})).then(function(t){return V(q,t.data)},i.a)}function p(t){return q.post("content_types",t).then(function(t){return K(q,t.data)},i.a)}function l(t,e){return q.put("content_types/"+t,e).then(function(t){return K(q,t.data)},i.a)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W(e),q.get("entries/"+t,n.i(o.e)({query:e})).then(function(t){return B(q,t.data)},i.a)}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return W(t),q.get("entries",n.i(o.e)({query:t})).then(function(t){return Y(q,t.data)},i.a)}function y(t,e){return q.post("entries",e,{headers:{"X-Contentful-Content-Type":t}}).then(function(t){return B(q,t.data)},i.a)}function v(t,e,n){return q.put("entries/"+e,n,{headers:{"X-Contentful-Content-Type":t}}).then(function(t){return B(q,t.data)},i.a)}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W(e),q.get("assets/"+t,n.i(o.e)({query:e})).then(function(t){return J(q,t.data)},i.a)}function m(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return W(t),q.get("assets",n.i(o.e)({query:t})).then(function(t){return $(q,t.data)},i.a)}function g(t){return q.post("assets",t).then(function(t){return J(q,t.data)},i.a)}function _(t,e){return q.put("assets/"+t,e).then(function(t){return J(q,t.data)},i.a)}function w(t){return q.get("locales/"+t).then(function(t){return Z(q,t.data)},i.a)}function j(){return q.get("locales").then(function(t){return tt(q,t.data)},i.a)}function x(t){return q.post("locales",t).then(function(t){return Z(q,t.data)},i.a)}function O(t){return q.get("webhook_definitions/"+t).then(function(t){return nt(q,t.data)},i.a)}function A(){return q.get("webhook_definitions").then(function(t){return rt(q,t.data)},i.a)}function P(t){return q.post("webhook_definitions",t).then(function(t){return nt(q,t.data)},i.a)}function C(t,e){return q.put("webhook_definitions/"+t,e).then(function(t){return nt(q,t.data)},i.a)}function k(t){return q.get("space_memberships/"+t).then(function(t){return ct(q,t.data)},i.a)}function T(){return q.get("space_memberships").then(function(t){return st(q,t.data)},i.a)}function M(t){return q.post("space_memberships",t).then(function(t){return ct(q,t.data)},i.a)}function E(t,e){return q.put("space_memberships/"+t,e).then(function(t){return ct(q,t.data)},i.a)}function S(t){return q.get("roles/"+t).then(function(t){return it(q,t.data)},i.a)}function R(){return q.get("roles").then(function(t){return at(q,t.data)},i.a)}function L(t){return q.post("roles",t).then(function(t){return it(q,t.data)},i.a)}function z(t,e){return q.put("roles/"+t,e).then(function(t){return it(q,t.data)},i.a)}function I(t){return q.get("api_keys/"+t).then(function(t){return pt(q,t.data)},i.a)}function F(){return q.get("api_keys").then(function(t){return lt(q,t.data)},i.a)}function D(t){return q.post("api_keys",t).then(function(t){return pt(q,t.data)},i.a)}function N(t,e){return q.put("api_keys/"+t,e).then(function(t){return pt(q,t.data)},i.a)}function W(t){t.select&&!/sys/i.test(t.select)&&(t.select+=",sys")}var q=t.http,U=a.a.space.wrapSpace,H=a.a.contentType,K=H.wrapContentType,V=H.wrapContentTypeCollection,X=a.a.entry,B=X.wrapEntry,Y=X.wrapEntryCollection,G=a.a.asset,J=G.wrapAsset,$=G.wrapAssetCollection,Q=a.a.locale,Z=Q.wrapLocale,tt=Q.wrapLocaleCollection,et=a.a.webhook,nt=et.wrapWebhook,rt=et.wrapWebhookCollection,ot=a.a.role,it=ot.wrapRole,at=ot.wrapRoleCollection,ut=a.a.spaceMembership,ct=ut.wrapSpaceMembership,st=ut.wrapSpaceMembershipCollection,ft=a.a.apiKey,pt=ft.wrapApiKey,lt=ft.wrapApiKeyCollection,ht=a.a.editorInterface.wrapEditorInterface;return{delete:e,update:r,getContentType:u,getContentTypes:f,createContentType:p,createContentTypeWithId:l,getEditorInterfaceForContentType:s,getEntry:h,getEntries:d,createEntry:y,createEntryWithId:v,getAsset:b,getAssets:m,createAsset:g,createAssetWithId:_,getLocale:w,getLocales:j,createLocale:x,getWebhook:O,getWebhooks:A,createWebhook:P,createWebhookWithId:C,getRole:S,getRoles:R,createRole:L,createRoleWithId:z,getSpaceMembership:k,getSpaceMemberships:T,createSpaceMembership:M,createSpaceMembershipWithId:E,getApiKey:I,getApiKeys:F,createApiKey:D,createApiKeyWithId:N}}var o=n(1),i=n(4),a=n(20),u=n(17),c=n.n(u);e.a=r},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"api_keys",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"api_keys"})}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapApiKey=o,e.wrapApiKeyCollection=i},function(t,e,n){"use strict";function r(t){function e(n){var r=n.resolve,i=n.reject,a=n.id,u=n.locale,c=n.processingCheckWait,s=void 0===c?h:c,f=n.processingCheckRetries,l=void 0===f?d:f,y=n.checkCount,v=void 0===y?0:y;t.get("assets/"+a).then(function(e){return o(t,e.data)},p.a).then(function(t){if(t.fields.file[u].url)r(t);else if(v===l){var n=new Error;n.name="AssetProcessingTimeout",n.message="Asset is taking longer then expected to process.",i(n)}else v++,setTimeout(function(){return e({resolve:r,reject:i,id:a,locale:u,checkCount:v,processingCheckWait:s,processingCheckRetries:l})},s)})}function r(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.processingCheckWait,i=r.processingCheckRetries,u=this.sys.id;return t.put("assets/"+this.sys.id+"/files/"+n+"/process",null,{headers:{"X-Contentful-Version":this.sys.version}}).then(function(){return new a.Promise(function(t,r){return e({resolve:t,reject:r,id:u,locale:n,processingCheckWait:o,processingCheckRetries:i})})},p.a)}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,n=Object.keys(this.fields.file);return a.Promise.all(n.map(function(n){return r.call(e,n,t)})).then(function(t){return t[0]})}return{update:n.i(l.a)({http:t,entityPath:"assets",wrapperMethod:o}),delete:n.i(l.b)({http:t,entityPath:"assets"}),publish:n.i(l.c)({http:t,entityPath:"assets",wrapperMethod:o}),unpublish:n.i(l.d)({http:t,entityPath:"assets",wrapperMethod:o}),archive:n.i(l.h)({http:t,entityPath:"assets",wrapperMethod:o}),unarchive:n.i(l.i)({http:t,entityPath:"assets",wrapperMethod:o}),processForLocale:r,processForAllLocales:i,isPublished:n.i(l.e)(),isUpdated:n.i(l.f)(),isDraft:n.i(l.g)(),isArchived:n.i(l.j)()}}function o(t,e){var o=n.i(s.c)(c()(e));return n.i(f.a)(o,r(t)),n.i(s.d)(o)}function i(t,e){var r=n.i(s.c)(c()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(s.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(6),u=(n.n(a),n(0)),c=n.n(u),s=n(1),f=n(2),p=n(4),l=n(3);e.wrapAsset=o,e.wrapAssetCollection=i;var h=500,d=5},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"content_types",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"content_types"}),publish:n.i(f.c)({http:t,entityPath:"content_types",wrapperMethod:o}),unpublish:n.i(f.d)({http:t,entityPath:"content_types",wrapperMethod:o}),getEditorInterface:function(){return t.get("content_types/"+this.sys.id+"/editor_interface").then(function(e){return n.i(p.wrapEditorInterface)(t,e.data)},l.a)},isPublished:n.i(f.e)(),isUpdated:n.i(f.f)(),isDraft:n.i(f.g)()}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3),p=n(19),l=n(4);e.wrapContentType=o,e.wrapContentTypeCollection=i},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"entries",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"entries"}),publish:n.i(f.c)({http:t,entityPath:"entries",wrapperMethod:o}),unpublish:n.i(f.d)({http:t,entityPath:"entries",wrapperMethod:o}),archive:n.i(f.h)({http:t,entityPath:"entries",wrapperMethod:o}),unarchive:n.i(f.i)({http:t,entityPath:"entries",wrapperMethod:o}),isPublished:n.i(f.e)(),isUpdated:n.i(f.f)(),isDraft:n.i(f.g)(),isArchived:n.i(f.j)()}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e,r){var i=n.i(c.c)(u()(e));return i.items=i.items.map(function(e){return o(t,e)}),n.i(c.d)(i)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapEntry=o,e.wrapEntryCollection=i},function(t,e,n){"use strict";function r(t){return{update:function(){var e=this;return delete e.default,delete e.fallback_code,delete e.fallbackCode,n.i(f.a)({http:t,entityPath:"locales",wrapperMethod:o}).call(e)},delete:n.i(f.b)({http:t,entityPath:"locales"})}}function o(t,e){delete e.internal_code;var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapLocale=o,e.wrapLocaleCollection=i},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"roles",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"roles"})}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapRole=o,e.wrapRoleCollection=i},function(t,e,n){"use strict";function r(t){return{update:n.i(f.a)({http:t,entityPath:"space_memberships",wrapperMethod:o}),delete:n.i(f.b)({http:t,entityPath:"space_memberships"})}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(3);e.wrapSpaceMembership=o,e.wrapSpaceMembershipCollection=i},function(t,e,n){"use strict";function r(t,e){var r=n.i(u.c)(a()(e)),o=t.httpClientParams,i=o.rateLimit,f=o.rateLimitPeriod,p=o.maxRetries,l=o.retryOnTooManyRequests,h={concurrency:i,delay:f,maxRetries:p,retryOnTooManyRequests:l},d=n.i(u.a)(t.cloneWithNewParams({space:r.sys.id}),h),y=n.i(s.a)({http:d}),v=n.i(c.a)(r,y);return n.i(u.d)(v)}function o(t,e){var o=n.i(u.c)(a()(e));return o.items=o.items.map(function(e){return r(t,e)}),n.i(u.d)(o)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),a=n.n(i),u=n(1),c=n(2),s=n(40);e.wrapSpace=r,e.wrapSpaceCollection=o},function(t,e,n){"use strict";function r(t){return{update:n.i(p.a)({http:t,entityPath:"webhook_definitions",wrapperMethod:o}),delete:n.i(p.b)({http:t,entityPath:"webhook_definitions"}),getCalls:function(){return t.get("webhooks/"+this.sys.id+"/calls").then(function(t){return t.data},f.a)},getCall:function(e){return t.get("webhooks/"+this.sys.id+"/calls/"+e).then(function(t){return t.data},f.a)},getHealth:function(){return t.get("webhooks/"+this.sys.id+"/health").then(function(t){return t.data},f.a)}}}function o(t,e){var o=n.i(c.c)(u()(e));return n.i(s.a)(o,r(t)),n.i(c.d)(o)}function i(t,e){var r=n.i(c.c)(u()(e));return r.items=r.items.map(function(e){return o(t,e)}),n.i(c.d)(r)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),u=n.n(a),c=n(1),s=n(2),f=n(4),p=n(3);e.wrapWebhook=o,e.wrapWebhookCollection=i},function(t,e,n){"use strict";(function(t){function r(e,n){var o=n.space,a=n.accessToken,c=n.insecure,p=n.host,l=n.defaultHostname,h=n.agent,d=n.headers,y=p&&p.split(":")||[],v=f(y,2),b=v[0],m=v[1];b=b||l,m=m||(c?80:443);var g=(c?"http":"https")+"://"+b+":"+m+"/spaces/";o&&(g+=o+"/"),d=d||{},d.Authorization="Bearer "+a,t&&t.release&&"node"===t.release.name&&(d["user-agent"]="node.js/"+t.version,d["Accept-Encoding"]="gzip");var _=e.create({baseURL:g,headers:d,agent:h,paramsSerializer:i.a.stringify});return _.httpClientParams=n,_.cloneWithNewParams=function(t){return r(e,s()(u()(n),t))},_}var o=n(118),i=n.n(o),a=n(0),u=n.n(a),c=n(18),s=n.n(c);e.a=r;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()}).call(e,n(34))},function(t,e,n){"use strict";function r(t){var e=t.query,n={};return delete e.resolveLinks,n.params=i()(e),n}var o=n(0),i=n.n(o);e.a=r},function(t,e,n){"use strict"},function(t,e,n){"use strict";function r(t){return Object.keys(t).forEach(function(e){var n=t[e];a()(n)&&r(n)}),Object.freeze(t)}function o(t){return r(t.sys||{}),t}var i=n(33),a=n.n(i);e.a=o},function(t,e,n){"use strict";function r(t){return Object.defineProperty(t,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return i()(this)}})}var o=n(0),i=n.n(o);e.a=r},function(t,e,n){"use strict";function r(t,e){var r=e.concurrency,i=e.delay,c=e.maxRetries,s=e.retryOnTooManyRequests;return["get","post","put","delete","patch","head"].reduce(function(t,e){var a=t[e].bind(t);return s&&(a=o(a,c)),t[e]=n.i(u.a)(a,r,i),t},a()(t))}function o(t,e){return function r(){var o=this;o.backoff=o.backoff||n.i(c.a)(e);var i=Array.prototype.slice.call(arguments),a=t.apply(o,i);return a=a.catch(function(t){if(429===t.status||t.status>=500)return o.backoff(t,function(){return r.apply(o,i)});throw t})}}var i=n(0),a=n.n(i),u=n(22),c=n(21);e.a=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(80),i=n(81),a=n(82),u=n(83),c=n(84);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(95),i=n(96),a=n(97),u=n(98),c=n(99);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(7),i=n(103),a=n(104),u=n(105),c=n(106),s=n(107);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e){function n(t,e){
for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(5),i=n(16);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(5),i=n(116);t.exports=r},function(t,e,n){var r=n(11),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){function r(t,e){return a(i(t,e,o),t+"")}var o=n(109),i=n(100),a=n(102);t.exports=r},function(t,e,n){function r(t,e){return e=o(e,t),t=a(t,e),null==t||delete t[u(i(e))]}var o=n(27),i=n(117),a=n(101),u=n(108);t.exports=r},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}var o=n(31),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i,c=u?o.Buffer:void 0,s=c?c.allocUnsafe:void 0;t.exports=r}).call(e,n(121)(t))},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(5),i=n(77);t.exports=r},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(5),i=n(78);t.exports=r},function(t,e,n){function r(t){return o(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var c=n[r];c&&t(e,c,r,a)}return e})}var o=n(65),i=n(88);t.exports=r},function(t,e,n){function r(t){return o(t)?void 0:t}var o=n(33);t.exports=r},function(t,e,n){var r=n(14),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(37))},function(t,e,n){var r=n(15),o=r(Object.keys,Object);t.exports=o},function(t,e){function n(){return[]}t.exports=n},function(t,e){function n(){return[]}t.exports=n},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(10);t.exports=r},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===i?void 0:n}return u.call(e,t)?e[t]:void 0}var o=n(10),i="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:a.call(e,t)}var o=n(10),i=Object.prototype,a=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?i:e,this}var o=n(10),i="__lodash_hash_undefined__";t.exports=r},function(t,e){function n(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var r=Object.prototype,o=r.hasOwnProperty;t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){return"function"!=typeof t.constructor||a(t)?{}:o(i(t))}var o=n(64),i=n(29),a=n(30);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():a.call(e,n,1),--this.size,!0}var o=n(8),i=Array.prototype,a=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(8);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(8);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(8);t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(56),i=n(7),a=n(23);t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(9);t.exports=r},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(9);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(9);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(9);t.exports=r},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,a=-1,u=i(r.length-e,0),c=Array(u);++a<u;)c[a]=r[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=r[a];return s[e]=n(c),o(t,this,s)}}var o=n(59),i=Math.max;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(7);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<u-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(t,e),this.size=n.size,this}var o=n(7),i=n(23),a=n(57),u=200;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(113),i=n(114);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==u||e==c||e==a||e==s}var o=n(26),i=n(11),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},function(t,e,n){"use strict";var r=n(120),o=n(119),i=n(35);t.exports={formats:i,parse:o,stringify:r}},function(t,e,n){"use strict";var r=n(36),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e){for(var n={},r=t.split(e.delimiter,e.parameterLimit===1/0?void 0:e.parameterLimit),i=0;i<r.length;++i){var a,u,c=r[i],s=c.indexOf("]=")===-1?c.indexOf("="):c.indexOf("]=")+1;s===-1?(a=e.decoder(c),u=e.strictNullHandling?null:""):(a=e.decoder(c.slice(0,s)),u=e.decoder(c.slice(s+1))),o.call(n,a)?n[a]=[].concat(n[a]).concat(u):n[a]=u}return n},u=function(t,e,n){if(!t.length)return e;var r,o=t.shift();if("[]"===o)r=[],r=r.concat(u(t,e,n));else{r=n.plainObjects?Object.create(null):{};var i="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,a=parseInt(i,10);!isNaN(a)&&o!==i&&String(a)===i&&a>=0&&n.parseArrays&&a<=n.arrayLimit?(r=[],r[a]=u(t,e,n)):r[i]=u(t,e,n)}return r},c=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/^([^[]*)/,a=/(\[[^[\]]*])/g,c=i.exec(r),s=[];if(c[1]){if(!n.plainObjects&&o.call(Object.prototype,c[1])&&!n.allowPrototypes)return;s.push(c[1])}for(var f=0;null!==(c=a.exec(r))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(c[1])}return c&&s.push("["+r.slice(c.index)+"]"),u(s,e,n)}};t.exports=function(t,e){var n=e||{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===t||null===t||"undefined"==typeof t)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof t?a(t,n):t,u=n.plainObjects?Object.create(null):{},s=Object.keys(o),f=0;f<s.length;++f){var p=s[f],l=c(p,o[p],n);u=r.merge(u,l,n)}return r.compact(u)}},function(t,e,n){"use strict";var r=n(36),o=n(35),i={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},a=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:r.encode,serializeDate:function(t){return a.call(t)},skipNulls:!1,strictNullHandling:!1},c=function t(e,n,o,i,a,u,c,s,f,p,l){var h=e;if("function"==typeof c)h=c(n,h);else if(h instanceof Date)h=p(h);else if(null===h){if(i)return u?u(n):n;h=""}if("string"==typeof h||"number"==typeof h||"boolean"==typeof h||r.isBuffer(h))return u?[l(u(n))+"="+l(u(h))]:[l(n)+"="+l(String(h))];var d=[];if("undefined"==typeof h)return d;var y;if(Array.isArray(c))y=c;else{var v=Object.keys(h);y=s?v.sort(s):v}for(var b=0;b<y.length;++b){var m=y[b];a&&null===h[m]||(d=Array.isArray(h)?d.concat(t(h[m],o(n,m),o,i,a,u,c,s,f,p,l)):d.concat(t(h[m],n+(f?"."+m:"["+m+"]"),o,i,a,u,c,s,f,p,l)))}return d};t.exports=function(t,e){var n=t,r=e||{};if(null!==r.encoder&&void 0!==r.encoder&&"function"!=typeof r.encoder)throw new TypeError("Encoder has to be a function.");var a="undefined"==typeof r.delimiter?u.delimiter:r.delimiter,s="boolean"==typeof r.strictNullHandling?r.strictNullHandling:u.strictNullHandling,f="boolean"==typeof r.skipNulls?r.skipNulls:u.skipNulls,p="boolean"==typeof r.encode?r.encode:u.encode,l=p?"function"==typeof r.encoder?r.encoder:u.encoder:null,h="function"==typeof r.sort?r.sort:null,d="undefined"!=typeof r.allowDots&&r.allowDots,y="function"==typeof r.serializeDate?r.serializeDate:u.serializeDate;if("undefined"==typeof r.format)r.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,r.format))throw new TypeError("Unknown format option provided.");var v,b,m=o.formatters[r.format];"function"==typeof r.filter?(b=r.filter,n=b("",n)):Array.isArray(r.filter)&&(b=r.filter,v=b);var g=[];if("object"!=typeof n||null===n)return"";var _;_=r.arrayFormat in i?r.arrayFormat:"indices"in r?r.indices?"indices":"repeat":"indices";var w=i[_];v||(v=Object.keys(n)),h&&v.sort(h);for(var j=0;j<v.length;++j){var x=v[j];f&&null===n[x]||(g=g.concat(c(n[x],x,w,s,f,l,b,h,d,y,m)))}return g.join(a)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){},function(t,e,n){"use strict";function r(t,e){var r={rateLimit:6,rateLimitPeriod:1e3,maxRetries:5,retryOnTooManyRequests:!0},o={"Content-Type":"application/vnd.contentful.management.v1+json","X-Contentful-User-Agent":"contentful-management.js/"+f.a};if(e=u()(r,i()(e)),!e.accessToken)throw new TypeError("Expected parameter accessToken");e.defaultHostname="api.contentful.com",e.headers=u()(e.headers||{},o);var a=n.i(c.a)(n.i(c.b)(t,e),{concurrency:e.rateLimit,delay:e.rateLimitPeriod,maxRetries:e.maxRetries,retryOnTooManyRequests:e.retryOnTooManyRequests}),s=n.i(p.a)({http:a});return s}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=n.n(o),a=n(18),u=n.n(a),c=n(1),s=n(39),f=n.n(s),p=n(38);e.default=r}])});
{
"name": "contentful-management",
"version": "2.1.1",
"version": "2.1.2",
"description": "Client for Contentful's Content Management API",

@@ -5,0 +5,0 @@ "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",

@@ -1,1 +0,1 @@

module.exports = '2.1.1'
module.exports = '2.1.2'

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc