New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

contentful

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful - npm Package Compare versions

Comparing version 7.0.4 to 7.0.5

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.contentful=t():e.contentful=t()}(window,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=32)}([function(e,t,n){var r=n(51);e.exports=function(e){return r(e,5)}},function(e,t,n){"use strict";function r(e){return"[object Array]"===c.call(e)}function o(e){return null!==e&&"object"==typeof e}function i(e){return"[object Function]"===c.call(e)}function a(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var u=n(12),s=n(34),c=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:function(e){return"[object ArrayBuffer]"===c.call(e)},isBuffer:s,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===c.call(e)},isFile:function(e){return"[object File]"===c.call(e)},isBlob:function(e){return"[object Blob]"===c.call(e)},isFunction:i,isStream:function(e){return o(e)&&i(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:a,merge:function e(){function t(t,r){n[r]="object"==typeof n[r]&&"object"==typeof t?e(n[r],t):t}for(var n={},r=0,o=arguments.length;r<o;r++)a(arguments[r],t);return n},extend:function(e,t,n){return a(t,function(t,r){e[r]=n&&"function"==typeof t?u(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";(function(e){function r(){return void 0!==e&&!e.browser}function o(){return e.versions.node?"v"+e.versions.node:e.version}n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o})}).call(this,n(13))},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(53),i=n(54),a=n(55),u=n(56),s=n(57);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(18);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(9)(Object,"create");e.exports=r},function(e,t,n){var r=n(74);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(21),o=n(22);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,s=t.length;++u<s;){var c=t[u],f=i?i(n[c],e[c],c,n,e):void 0;void 0===f&&(f=e[c]),a?o(n,c,f):r(n,c,f)}return n}},function(e,t,n){"use strict";(function(t){function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=n(1),i=n(36),a={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var e;return"undefined"==typeof XMLHttpRequest?void 0!==t&&(e=n(14)):e=n(14),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&300>e},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],function(e){u.headers[e]={}}),o.forEach(["post","put","patch"],function(e){u.headers[e]=o.merge(a)}),e.exports=u}).call(this,n(13))},function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},function(){},function(e){"use strict";e.exports=function(e,t){return function(){for(var n=Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e){function t(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(e){if(s===setTimeout)return setTimeout(e,0);if((s===t||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function o(){d&&l&&(d=!1,l.length?p=l.concat(p):h=-1,p.length&&i())}function i(){if(!d){var e=r(o);d=!0;for(var t=p.length;t;){for(l=p,p=[];++h<t;)l&&l[h].run();h=-1,t=p.length}l=null,d=!1,function(e){if(c===clearTimeout)return clearTimeout(e);if((c===n||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{c(e)}catch(t){try{return c.call(null,e)}catch(t){return c.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function u(){}var s,c,f=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:t}catch(e){s=t}try{c="function"==typeof clearTimeout?clearTimeout:n}catch(e){c=n}}();var l,p=[],d=!1,h=-1;f.nextTick=function(e){var t=Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||d||r(i)},a.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(){return[]},f.binding=function(){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(1),o=n(37),i=n(39),a=n(40),u=n(41),s=n(15),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(42);e.exports=function(e){return new Promise(function(t,f){var l=e.data,p=e.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||u(e.url)||(d=new window.XDomainRequest,h="onload",y=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var v=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+c(v+":"+m)}if(d.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[h]=function(){if(d&&(4===d.readyState||y)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:e,request:d};o(t,f,r),d=null}},d.onerror=function(){f(s("Network Error",e,null,d)),d=null},d.ontimeout=function(){f(s("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n(43),b=(e.withCredentials||u(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),f(e),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(e,t,n){"use strict";var r=n(38);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(9)(n(20),"Map");e.exports=r},function(e,t,n){var r=n(63),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(22),o=n(18),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(79);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(10)(Object.keys,Object);e.exports=r},function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(10)(Object.getPrototypeOf,Object);e.exports=r},function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=function(){for(var e=[],t=0;256>t;++t)e.push("%"+((16>t?"0":"")+t.toString(16)).toUpperCase());return e}(),r=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:r,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:i,prop:s}),n.push(c))}return function(e){for(var t,n;e.length;)if(t=(n=e.pop()).obj[n.prop],Array.isArray(t)){for(var r=[],o=0;o<t.length;++o)void 0!==t[o]&&r.push(t[o]);n.obj[n.prop]=r}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t,r="string"==typeof e?e:e+"",o="",i=0;i<r.length;++i)45===(t=r.charCodeAt(i))||46===t||95===t||126===t||48<=t&&57>=t||65<=t&&90>=t||97<=t&&122>=t?o+=r.charAt(i):128>t?o+=n[t]:2048>t?o+=n[192|t>>6]+n[128|63&t]:55296>t||57344<=t?o+=n[224|t>>12]+n[128|63&t>>6]+n[128|63&t]:(i+=1,t=65536+((1023&t)<<10|1023&r.charCodeAt(i)),o+=n[240|t>>18]+n[128|63&t>>12]+n[128|63&t>>6]+n[128|63&t]);return o},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(n,o,i){if(!o)return n;if("object"!=typeof o){if(Array.isArray(n))n.push(o);else{if("object"!=typeof n)return[n,o];(i.plainObjects||i.allowPrototypes||!t.call(Object.prototype,o))&&(n[o]=!0)}return n}if("object"!=typeof n)return[n].concat(o);var a=n;return Array.isArray(n)&&!Array.isArray(o)&&(a=r(n,i)),Array.isArray(n)&&Array.isArray(o)?(o.forEach(function(r,o){t.call(n,o)?n[o]&&"object"==typeof n[o]?n[o]=e(n[o],r,i):n.push(r):n[o]=r}),n):Object.keys(o).reduce(function(n,r){var a=o[r];return n[r]=t.call(n,r)?e(n[r],a,i):a,n},a)}}},function(e){"use strict";var t=String.prototype.replace,n=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){e.exports=n(33)},function(e,t,n){"use strict";var r=n(102),o=n(103),i=n(27);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){var r=n(104),o=n(25),i=n(105),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,f=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==f}},function(e,t){function n(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,i){if(0<n.length){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,o):r.push(o),~n.indexOf(i)&&(i=t.call(this,o,i))}else n.push(i);return null==e?i:e.call(this,o,i)}}(e.exports=function(e,t,r,o){return JSON.stringify(e,n(t,o),r)}).getSerialize=n},function(e,t,n){e.exports=n(106)},function(e,t,n){"use strict";function r(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var o=n(1),i=n(12),a=n(35),u=n(8),s=r(u);s.Axios=a,s.create=function(e){return r(o.merge(u,e))},s.Cancel=n(17),s.CancelToken=n(49),s.isCancel=n(16),s.all=function(e){return Promise.all(e)},s.spread=n(50),e.exports=s,e.exports.default=s},function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var o=n(8),i=n(1),a=n(44),u=n(45);r.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),(e=i.merge(o,this.defaults,{method:"get"},e)).method=e.method.toLowerCase();var t=[u,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(1);e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null===e||void 0===e||(o.isArray(e)&&(t+="[]"),!o.isArray(e)&&(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(1),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&0<=o.indexOf(t))return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},function(e){"use strict";function t(){this.message="String contains an invalid character"}t.prototype=new Error,t.prototype.code=5,t.prototype.name="InvalidCharacterError",e.exports=function(e){for(var n,r,o=e+"",i="",a=0,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|a)||(u="=",a%1);i+=u.charAt(63&n>>8-a%1*8)){if(255<(r=o.charCodeAt(a+=.75)))throw new t;n=n<<8|r}return i}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(1);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(1),i=n(46),a=n(16),u=n(8),s=n(47),c=n(48);e.exports=function(e){return r(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||u.adapter)(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(17);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){var r=n(52),o=n(78),i=n(21),a=n(80),u=n(81),s=n(83),c=n(85),f=n(86),l=n(88),p=n(90),d=n(91),h=n(92),y=n(93),v=n(94),m=n(95),g=n(98),b=n(99),x=n(100),w=n(24),j=n(101),O=n(23),_=1,A=2,T=4,E="[object Arguments]",P="[object Function]",k="[object GeneratorFunction]",S="[object Object]",L={};L[E]=L["[object Array]"]=L["[object ArrayBuffer]"]=L["[object DataView]"]=L["[object Boolean]"]=L["[object Date]"]=L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Map]"]=L["[object Number]"]=L[S]=L["[object RegExp]"]=L["[object Set]"]=L["[object String]"]=L["[object Symbol]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L["[object Error]"]=L[P]=L["[object WeakMap]"]=!1,e.exports=function e(t,n,C,U,R,N){var B,z=n&_,D=n&A;if(C&&(B=R?C(t,U,R,N):C(t)),void 0!==B)return B;if(!w(t))return t;var F=g(t);if(F){if(B=y(t),!z)return c(t,B)}else{var q=h(t),H=q==P||q==k;if(b(t))return s(t,z);if(q==S||q==E||H&&!R){if(B=D||H?{}:m(t),!z)return D?l(t,u(B,t)):f(t,a(B,t))}else{if(!L[q])return R?t:{};B=v(t,q,z)}}N||(N=new r);var M=N.get(t);if(M)return M;if(N.set(t,B),j(t))return t.forEach(function(r){B.add(e(r,n,C,r,t,N))}),B;if(x(t))return t.forEach(function(r,o){B.set(o,e(r,n,C,o,t,N))}),B;var I=n&T?D?d:p:D?keysIn:O,W=F?void 0:I(t);return o(W||t,function(r,o){W&&(r=t[o=r]),i(B,o,e(r,n,C,o,t,N))}),B}},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(3),i=n(58),a=n(59),u=n(60),s=n(61),c=n(62);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(4),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(0>n)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(4);e.exports=function(e){var t=this.__data__,n=r(t,e);return 0>n?void 0:t[n][1]}},function(e,t,n){var r=n(4);e.exports=function(e){return-1<r(this.__data__,e)}},function(e,t,n){var r=n(4);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return 0>o?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(3);e.exports=function(){this.__data__=new r,this.size=0}},function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e){e.exports=function(e){return this.__data__.get(e)}},function(e){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(3),o=n(19),i=n(65);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(64))},function(e){var t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(66),i=n(73),a=n(75),u=n(76),s=n(77);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(67),o=n(3),i=n(19);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(68),i=n(69),a=n(70),u=n(71),s=n(72);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(5);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(5),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(5),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(5);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(6);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(6);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(6);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(6);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(9),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(7),o=n(23);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(7),o=n(82);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(20),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(84)(e))},function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],!e.children&&(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(7),o=n(87);e.exports=function(e,t){return r(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,n){var r=n(7),o=n(89);e.exports=function(e,t){return r(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,n){var r=n(10)(Object.keys,Object);e.exports=r},function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e){e.exports=function(e){return e}},function(e,t,n){var r=n(96),o=n(25),i=n(97);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(24),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e){e.exports=function(){return!1}},function(e){var t=Array.isArray;e.exports=t},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e,t,n){"use strict";var r=n(26),o=n(27),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},s=function e(t,n,o,i,a,s,c,f,l,p,d,h){var y=t;if("function"==typeof c)y=c(n,y);else if(y instanceof Date)y=p(y);else if(null===y){if(i)return s&&!h?s(n,u.encoder):n;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||r.isBuffer(y))return s?[d(h?n:s(n,u.encoder))+"="+d(s(y,u.encoder))]:[d(n)+"="+d(y+"")];var v,m=[];if(void 0===y)return m;if(Array.isArray(c))v=c;else{var g=Object.keys(y);v=f?g.sort(f):g}for(var b,x=0;x<v.length;++x)b=v[x],(!a||null!==y[b])&&(m=Array.isArray(y)?m.concat(e(y[b],o(n,b),o,i,a,s,c,f,l,p,d,h)):m.concat(e(y[b],n+(l?"."+b:"["+b+"]"),o,i,a,s,c,f,l,p,d,h)));return m};e.exports=function(e,t){var n=e,a=t?r.assign({},t):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var c=void 0===a.delimiter?u.delimiter:a.delimiter,f="boolean"==typeof a.strictNullHandling?a.strictNullHandling:u.strictNullHandling,l="boolean"==typeof a.skipNulls?a.skipNulls:u.skipNulls,p="boolean"==typeof a.encode?a.encode:u.encode,d="function"==typeof a.encoder?a.encoder:u.encoder,h="function"==typeof a.sort?a.sort:null,y=void 0!==a.allowDots&&a.allowDots,v="function"==typeof a.serializeDate?a.serializeDate:u.serializeDate,m="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:u.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var g,b,x=o.formatters[a.format];"function"==typeof a.filter?n=(b=a.filter)("",n):Array.isArray(a.filter)&&(g=b=a.filter);var w=[];if("object"!=typeof n||null===n)return"";var j=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices",O=i[j];g||(g=Object.keys(n)),h&&g.sort(h);for(var _,A=0;A<g.length;++A)_=g[A],(!l||null!==n[_])&&(w=w.concat(s(n[_],_,O,f,l,p?d:null,b,h,y,v,x,m)));var T=w.join(c),E=!0===a.addQueryPrefix?"?":"";return 0<T.length?E+T:""}},function(e,t,n){"use strict";var r=n(26),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(e,t){for(var n={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,u=r.split(t.delimiter,a),s=0;s<u.length;++s){var c,f,l=u[s],p=l.indexOf("]="),d=-1===p?l.indexOf("="):p+1;-1===d?(c=t.decoder(l,i.decoder),f=t.strictNullHandling?null:""):(c=t.decoder(l.slice(0,d),i.decoder),f=t.decoder(l.slice(d+1),i.decoder)),n[c]=o.call(n,c)?[].concat(n[c]).concat(f):f}return n},u=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),u=a?r.slice(0,a.index):r,s=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;s.push(u)}for(var c=0;null!==(a=i.exec(r))&&c<n.depth;){if(c+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;0<=o;--o){var i,a=e[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(u,10);!isNaN(s)&&a!==u&&s+""===u&&0<=s&&n.parseArrays&&s<=n.arrayLimit?(i=[])[s]=r:i[u]=r}r=i}return r}(s,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,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=!1!==n.parseArrays,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,""===e||null===e||void 0===e)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof e?a(e,n):e,s=n.plainObjects?Object.create(null):{},c=Object.keys(o),f=0;f<c.length;++f){var l=c[f],p=u(l,o[l],n);s=r.merge(s,p,n)}return r.compact(s)}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";function r(e,t){var n=q({},{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] "+n),void console.error(t)}console.log("["+e+"] "+t)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,proxy:!1,basePath:""},t);if(!n.accessToken){var o=new TypeError("Expected parameter accessToken");throw n.logHandler("error",o),o}var i=n.insecure?"http":"https",a=n.space?n.space+"/":"",u=n.defaultHostname,s=n.insecure?80:443;if(H.test(n.host)){var c=n.host.split(":");if(2===c.length){var f=F(c,2);u=f[0],s=f[1]}else u=c[0]}n.basePath&&(n.basePath="/"+n.basePath.split("/").filter(Boolean).join("/"));var l=t.baseURL||i+"://"+u+":"+s+n.basePath+"/spaces/"+a;n.headers.Authorization="Bearer "+n.accessToken,Object(D.b)()&&(n.headers["user-agent"]="node.js/"+Object(D.a)(),n.headers["Accept-Encoding"]="gzip");var p={baseURL:l,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:N.a.stringify,proxy:n.proxy,timeout:n.timeout,logHandler:n.logHandler,retryOnError:n.retryOnError},d=e.create(p);return d.httpClientParams=t,d.cloneWithNewParams=function(n){return r(e,q({},U()(t),n))},function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5;e.interceptors.response.use(function(e){return e},function(n){var r=Math.pow,o=n.response,i=n.config;if(!i||!e.defaults.retryOnError)return Promise.reject(n);var a=null,u=0;if(o)z=0;else{if(a="Connection",++z>t)return n.attempts=z,Promise.reject(n);u=r(Math.SQRT2,z),o={}}if(500<=o.status&&600>o.status){a="Server "+o.status;var s=(o.headers||{})["x-contentful-request-id"]||null;if(B[s]=B[s]||0,B[s]++,B[s]>t||!s)return n.attempts=B[s],Promise.reject(n);u=r(Math.SQRT2,B[s])}else 429===o.status&&(a="Rate limit",o.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(u=o.headers["x-contentful-ratelimit-reset"]));return a?(u=Math.floor(1e3*u+200*Math.random()+500),e.defaults.logHandler("warning",a+" error occurred. Waiting for "+u+" ms before retrying..."),new Promise(function(t){setTimeout(function(){t(e(i))},u)})):Promise.reject(n)})}(d),d}function o(e){var t=e.query,n={};return delete t.resolveLinks,n.params=U()(t),n}function i(e){return function e(t){return Object.keys(t).forEach(function(n){var r=t[n];I()(r)&&e(r)}),Object.freeze(t)}(e.sys||{}),e}function a(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,n=null;return-1===["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?-1===["iPhone","iPad","iPod"].indexOf(t)?-1===["Win32","Win64","Windows","WinCE"].indexOf(t)?/Android/.test(e)?n="Android":/Linux/.test(t)&&(n="Linux"):n="Windows":n="iOS":n="macOS",n}function u(e,t,n,r){var o=[];t&&o.push("app "+t),n&&o.push("integration "+n),r&&o.push("feature "+r),o.push("sdk "+e);var i=null;return"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=a(),o.push("platform ReactNative")):Object(D.b)()?(i=function(){var e=Object(W.platform)()||"linux",t=Object(W.release)()||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?(n[e]||"Linux")+"/"+t:null}(),o.push("platform node.js/"+Object(D.a)())):(i=a(),o.push("platform browser")),i&&o.push("os "+i),o.filter(function(e){return""!==e}).join("; ")+";"}function s(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return U()(this)}})}function c(e){return i(s(e))}function f(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return X()(this,e,t,function(e,t){return{sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}})}})}function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function p(e){return i(s(U()(e)))}function d(e,t){var n=t.resolveLinks,r=t.removeUnresolved,o=f(s(U()(e)));return n&&(o.items=Y(o,{removeUnresolved:r,itemEntryPoints:["fields"]})),i(o)}function h(e){return i(s(U()(e)))}function y(e){return i(s(U()(e)))}function v(e){return i(s(U()(e)))}function m(e){return i(s(U()(e)))}function g(e){return i(s(U()(e)))}function b(e){return i(s(U()(e)))}function x(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&"Entry"!==t.type)throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");var r=ee({},{resolveLinks:!0,removeUnresolved:!1,paginate:!0},n),o=r.resolveLinks,a=r.removeUnresolved;return w(e,[],t,{paginate:r.paginate}).then(function(e){o&&(e.items=Y(e,{removeUnresolved:a,itemEntryPoints:["fields"]}));var t=function(e){var t=function(e){return function(t,n){return n.sys.type===e&&t.push(s(n)),t}};return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(e.items);return e.nextSyncToken&&(t.nextSyncToken=e.nextSyncToken),e.nextPageToken&&(t.nextPageToken=e.nextPageToken),i(f(s(t)))},function(e){throw e})}function w(e,t,n,r){var i=r.paginate;return n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type),e.get("sync",o({query:n})).then(function(r){var o=r.data;return t=t.concat(o.items),o.nextPageUrl?i?(delete n.initial,n.sync_token=j(o.nextPageUrl),w(e,t,n,{paginate:i})):{items:t,nextPageToken:j(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:j(o.nextSyncUrl)}:void 0})}function j(e){var t=e.split("?");return 0<t.length?t[1].replace("sync_token=",""):""}function O(e){function t(e){if(e.data)throw e.data;throw e}function n(e){e.select&&!/sys/i.test(e.select)&&(e.select+=",sys")}function r(e){e.defaults.baseURL=a().environmentBaseUrl}var i=e.http,a=e.getGlobalOptions,u=Z.space.wrapSpace,s=Z.contentType,c=s.wrapContentType,f=s.wrapContentTypeCollection,l=Z.entry,p=l.wrapEntry,d=l.wrapEntryCollection,h=Z.asset,y=h.wrapAsset,v=h.wrapAssetCollection,m=Z.locale.wrapLocaleCollection;return{getSpace:function(){return function(e){e.defaults.baseURL=a().spaceBaseUrl}(i),i.get("").then(function(e){return u(e.data)},t)},getContentType:function(e){return r(i),i.get("content_types/"+e).then(function(e){return c(e.data)},t)},getContentTypes:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(i),i.get("content_types",o({query:e})).then(function(e){return f(e.data)},t)},getEntry:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getEntries(te({"sys.id":e},n)).then(function(t){if(0<t.items.length)return p(t.items[0]);throw function(e){var t=new Error("The resource could not be found.");return t.sys={type:"Error",id:"NotFound"},t.details={type:"Entry",id:e,environment:a().environment,space:a().space},t}(e)},t)},getEntries:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};r(i);var u=a(e),s=u.resolveLinks,c=u.removeUnresolved;return n(e),i.get("entries",o({query:e})).then(function(e){return d(e.data,{resolveLinks:s,removeUnresolved:c})},t)},getAsset:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r(i),n(a),i.get("assets/"+e,o({query:a})).then(function(e){return y(e.data)},t)},getAssets:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(i),n(e),i.get("assets",o({query:e})).then(function(e){return v(e.data)},t)},getLocales:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(i),i.get("locales",o({query:e})).then(function(e){return m(e.data)},t)},parseEntries:function(e){var t=a({}),n=t.resolveLinks,r=t.removeUnresolved;return d(e,{resolveLinks:n,removeUnresolved:r})},sync:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{paginate:!0},n=a(e),o=n.resolveLinks,u=n.removeUnresolved;return r(i),x(i,e,te({resolveLinks:o,removeUnresolved:u},t))}}}function _(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");var t=ne({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"},e),n=u("contentful.js/0.0.0-determined-by-semantic-release",t.application,t.integration);t.headers=ne({},t.headers,{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":n});var o=r(L.a,t),i=function(e){return function(t){return Object.assign({},e,t)}}({resolveLinks:t.resolveLinks,environment:t.environment,removeUnresolved:t.removeUnresolved,spaceBaseUrl:o.defaults.baseURL,environmentBaseUrl:o.defaults.baseURL+"environments/"+t.environment});return o.defaults.baseURL=i().environmentBaseUrl,O({http:o,getGlobalOptions:i})}n.r(t);var A={};n.r(A),n.d(A,"wrapSpace",function(){return c});var T={};n.r(T),n.d(T,"wrapEntry",function(){return p}),n.d(T,"wrapEntryCollection",function(){return d});var E={};n.r(E),n.d(E,"wrapAsset",function(){return h}),n.d(E,"wrapAssetCollection",function(){return y});var P={};n.r(P),n.d(P,"wrapContentType",function(){return v}),n.d(P,"wrapContentTypeCollection",function(){return m});var k={};n.r(k),n.d(k,"wrapLocale",function(){return g}),n.d(k,"wrapLocaleCollection",function(){return b});var S=n(28),L=n.n(S),C=n(0),U=n.n(C),R=n(29),N=n.n(R),B={},z=0,D=n(2),F=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),q=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},H=/^(?!\w+:\/\/)([^\s:]+\.[^\s:]+)(?::(\d+))?(?!:)$/,M=n(30),I=n.n(M),W=n(11),V=n(31),X=n.n(V),Q="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},$={},G=function(e){return e&&e.sys&&"Link"===e.sys.type},J=function(e,t){var n=t.sys,r=n.linkType,o=n.id;return function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return e[n];return $}(e,function(e){var t=e.sys;return t.type===r&&t.id===o})},K=function e(t,n,r,o){if(n(t))return r(t);if(t&&"object"===(void 0===t?"undefined":Q(t))){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],n,r,o));o&&(t=function(e){if(Array.isArray(e))return e.filter(function(e){return e!==$});for(var t in e)e[t]===$&&delete e[t];return e}(t))}return t},Y=function(e,t){if(t=t||{},!e.items)return[];var n=U()(e),r=Object.keys(n.includes||{}).reduce(function(t,n){return[].concat(l(t),l(e.includes[n]))},[]),o=[].concat(l(n.items),l(r));return o.forEach(function(e){var n=function(e,t){return Array.isArray(t)?Object.keys(e).filter(function(e){return-1!==t.indexOf(e)}).reduce(function(t,n){return t[n]=e[n],t},{}):e}(e,t.itemEntryPoints);Object.assign(e,K(n,G,function(e){return function(e,t,n){var r=J(e,t);return r===$?n?r:t:r}(o,e,t.removeUnresolved)},t.removeUnresolved))}),n.items},Z={space:A,entry:T,asset:E,contentType:P,locale:k},ee=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},te=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};n.d(t,"createClient",function(){return _});var ne=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.contentful=t():e.contentful=t()}(window,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=32)}([function(e,t,n){var r=n(51);e.exports=function(e){return r(e,5)}},function(e,t,n){"use strict";function r(e){return"[object Array]"===c.call(e)}function o(e){return null!==e&&"object"==typeof e}function i(e){return"[object Function]"===c.call(e)}function a(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var u=n(12),s=n(34),c=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:function(e){return"[object ArrayBuffer]"===c.call(e)},isBuffer:s,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===c.call(e)},isFile:function(e){return"[object File]"===c.call(e)},isBlob:function(e){return"[object Blob]"===c.call(e)},isFunction:i,isStream:function(e){return o(e)&&i(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:a,merge:function e(){function t(t,r){n[r]="object"==typeof n[r]&&"object"==typeof t?e(n[r],t):t}for(var n={},r=0,o=arguments.length;r<o;r++)a(arguments[r],t);return n},extend:function(e,t,n){return a(t,function(t,r){e[r]=n&&"function"==typeof t?u(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";(function(e){function r(){return void 0!==e&&!e.browser}function o(){return e.versions.node?"v"+e.versions.node:e.version}n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o})}).call(this,n(13))},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(53),i=n(54),a=n(55),u=n(56),s=n(57);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(18);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(9)(Object,"create");e.exports=r},function(e,t,n){var r=n(74);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(21),o=n(22);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var u=-1,s=t.length;++u<s;){var c=t[u],f=i?i(n[c],e[c],c,n,e):void 0;void 0===f&&(f=e[c]),a?o(n,c,f):r(n,c,f)}return n}},function(e,t,n){"use strict";(function(t){function r(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=n(1),i=n(36),a={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var e;return"undefined"==typeof XMLHttpRequest?void 0!==t&&(e=n(14)):e=n(14),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&300>e},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],function(e){u.headers[e]={}}),o.forEach(["post","put","patch"],function(e){u.headers[e]=o.merge(a)}),e.exports=u}).call(this,n(13))},function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},function(){},function(e){"use strict";e.exports=function(e,t){return function(){for(var n=Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e){function t(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function r(e){if(s===setTimeout)return setTimeout(e,0);if((s===t||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function o(){d&&l&&(d=!1,l.length?p=l.concat(p):h=-1,p.length&&i())}function i(){if(!d){var e=r(o);d=!0;for(var t=p.length;t;){for(l=p,p=[];++h<t;)l&&l[h].run();h=-1,t=p.length}l=null,d=!1,function(e){if(c===clearTimeout)return clearTimeout(e);if((c===n||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{c(e)}catch(t){try{return c.call(null,e)}catch(t){return c.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function u(){}var s,c,f=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:t}catch(e){s=t}try{c="function"==typeof clearTimeout?clearTimeout:n}catch(e){c=n}}();var l,p=[],d=!1,h=-1;f.nextTick=function(e){var t=Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||d||r(i)},a.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(){return[]},f.binding=function(){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(1),o=n(37),i=n(39),a=n(40),u=n(41),s=n(15),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(42);e.exports=function(e){return new Promise(function(t,f){var l=e.data,p=e.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||u(e.url)||(d=new window.XDomainRequest,h="onload",y=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var v=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+c(v+":"+m)}if(d.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[h]=function(){if(d&&(4===d.readyState||y)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:e,request:d};o(t,f,r),d=null}},d.onerror=function(){f(s("Network Error",e,null,d)),d=null},d.ontimeout=function(){f(s("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n(43),b=(e.withCredentials||u(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),f(e),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(e,t,n){"use strict";var r=n(38);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(9)(n(20),"Map");e.exports=r},function(e,t,n){var r=n(63),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(22),o=n(18),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(79);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(10)(Object.keys,Object);e.exports=r},function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(10)(Object.getPrototypeOf,Object);e.exports=r},function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=function(){for(var e=[],t=0;256>t;++t)e.push("%"+((16>t?"0":"")+t.toString(16)).toUpperCase());return e}(),r=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:r,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),u=0;u<a.length;++u){var s=a[u],c=i[s];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:i,prop:s}),n.push(c))}return function(e){for(var t,n;e.length;)if(t=(n=e.pop()).obj[n.prop],Array.isArray(t)){for(var r=[],o=0;o<t.length;++o)void 0!==t[o]&&r.push(t[o]);n.obj[n.prop]=r}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t,r="string"==typeof e?e:e+"",o="",i=0;i<r.length;++i)45===(t=r.charCodeAt(i))||46===t||95===t||126===t||48<=t&&57>=t||65<=t&&90>=t||97<=t&&122>=t?o+=r.charAt(i):128>t?o+=n[t]:2048>t?o+=n[192|t>>6]+n[128|63&t]:55296>t||57344<=t?o+=n[224|t>>12]+n[128|63&t>>6]+n[128|63&t]:(i+=1,t=65536+((1023&t)<<10|1023&r.charCodeAt(i)),o+=n[240|t>>18]+n[128|63&t>>12]+n[128|63&t>>6]+n[128|63&t]);return o},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(n,o,i){if(!o)return n;if("object"!=typeof o){if(Array.isArray(n))n.push(o);else{if("object"!=typeof n)return[n,o];(i.plainObjects||i.allowPrototypes||!t.call(Object.prototype,o))&&(n[o]=!0)}return n}if("object"!=typeof n)return[n].concat(o);var a=n;return Array.isArray(n)&&!Array.isArray(o)&&(a=r(n,i)),Array.isArray(n)&&Array.isArray(o)?(o.forEach(function(r,o){t.call(n,o)?n[o]&&"object"==typeof n[o]?n[o]=e(n[o],r,i):n.push(r):n[o]=r}),n):Object.keys(o).reduce(function(n,r){var a=o[r];return n[r]=t.call(n,r)?e(n[r],a,i):a,n},a)}}},function(e){"use strict";var t=String.prototype.replace,n=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){e.exports=n(33)},function(e,t,n){"use strict";var r=n(102),o=n(103),i=n(27);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){var r=n(104),o=n(25),i=n(105),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,f=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==f}},function(e,t){function n(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,i){if(0<n.length){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,o):r.push(o),~n.indexOf(i)&&(i=t.call(this,o,i))}else n.push(i);return null==e?i:e.call(this,o,i)}}(e.exports=function(e,t,r,o){return JSON.stringify(e,n(t,o),r)}).getSerialize=n},function(e,t,n){e.exports=n(106)},function(e,t,n){"use strict";function r(e){var t=new a(e),n=i(a.prototype.request,t);return o.extend(n,a.prototype,t),o.extend(n,t),n}var o=n(1),i=n(12),a=n(35),u=n(8),s=r(u);s.Axios=a,s.create=function(e){return r(o.merge(u,e))},s.Cancel=n(17),s.CancelToken=n(49),s.isCancel=n(16),s.all=function(e){return Promise.all(e)},s.spread=n(50),e.exports=s,e.exports.default=s},function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var o=n(8),i=n(1),a=n(44),u=n(45);r.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),(e=i.merge(o,this.defaults,{method:"get"},e)).method=e.method.toLowerCase();var t=[u,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(15);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(1);e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(o.isURLSearchParams(t))i=t.toString();else{var a=[];o.forEach(t,function(e,t){null===e||void 0===e||(o.isArray(e)&&(t+="[]"),!o.isArray(e)&&(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(1),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&0<=o.indexOf(t))return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(n){var o=r.isString(n)?e(n):n;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},function(e){"use strict";function t(){this.message="String contains an invalid character"}t.prototype=new Error,t.prototype.code=5,t.prototype.name="InvalidCharacterError",e.exports=function(e){for(var n,r,o=e+"",i="",a=0,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|a)||(u="=",a%1);i+=u.charAt(63&n>>8-a%1*8)){if(255<(r=o.charCodeAt(a+=.75)))throw new t;n=n<<8|r}return i}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";function r(){this.handlers=[]}var o=n(1);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=n(1),i=n(46),a=n(16),u=n(8),s=n(47),c=n(48);e.exports=function(e){return r(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||u.adapter)(e).then(function(t){return r(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new o(e),t(n.reason))})}var o=n(17);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){var r=n(52),o=n(78),i=n(21),a=n(80),u=n(81),s=n(83),c=n(85),f=n(86),l=n(88),p=n(90),d=n(91),h=n(92),y=n(93),v=n(94),m=n(95),g=n(98),b=n(99),x=n(100),w=n(24),j=n(101),O=n(23),_=1,A=2,T=4,E="[object Arguments]",P="[object Function]",k="[object GeneratorFunction]",S="[object Object]",L={};L[E]=L["[object Array]"]=L["[object ArrayBuffer]"]=L["[object DataView]"]=L["[object Boolean]"]=L["[object Date]"]=L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Map]"]=L["[object Number]"]=L[S]=L["[object RegExp]"]=L["[object Set]"]=L["[object String]"]=L["[object Symbol]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L["[object Error]"]=L[P]=L["[object WeakMap]"]=!1,e.exports=function e(t,n,C,U,R,N){var B,z=n&_,D=n&A;if(C&&(B=R?C(t,U,R,N):C(t)),void 0!==B)return B;if(!w(t))return t;var F=g(t);if(F){if(B=y(t),!z)return c(t,B)}else{var q=h(t),H=q==P||q==k;if(b(t))return s(t,z);if(q==S||q==E||H&&!R){if(B=D||H?{}:m(t),!z)return D?l(t,u(B,t)):f(t,a(B,t))}else{if(!L[q])return R?t:{};B=v(t,q,z)}}N||(N=new r);var M=N.get(t);if(M)return M;if(N.set(t,B),j(t))return t.forEach(function(r){B.add(e(r,n,C,r,t,N))}),B;if(x(t))return t.forEach(function(r,o){B.set(o,e(r,n,C,o,t,N))}),B;var I=n&T?D?d:p:D?keysIn:O,W=F?void 0:I(t);return o(W||t,function(r,o){W&&(r=t[o=r]),i(B,o,e(r,n,C,o,t,N))}),B}},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(3),i=n(58),a=n(59),u=n(60),s=n(61),c=n(62);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(4),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(0>n)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(4);e.exports=function(e){var t=this.__data__,n=r(t,e);return 0>n?void 0:t[n][1]}},function(e,t,n){var r=n(4);e.exports=function(e){return-1<r(this.__data__,e)}},function(e,t,n){var r=n(4);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return 0>o?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(3);e.exports=function(){this.__data__=new r,this.size=0}},function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e){e.exports=function(e){return this.__data__.get(e)}},function(e){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(3),o=n(19),i=n(65);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(64))},function(e){var t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(66),i=n(73),a=n(75),u=n(76),s=n(77);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(67),o=n(3),i=n(19);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(68),i=n(69),a=n(70),u=n(71),s=n(72);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(5);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(5),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(5),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(5);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(6);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(6);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(6);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(6);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(9),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(7),o=n(23);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(7),o=n(82);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(20),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(84)(e))},function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],!e.children&&(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(7),o=n(87);e.exports=function(e,t){return r(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,n){var r=n(7),o=n(89);e.exports=function(e,t){return r(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,n){var r=n(10)(Object.keys,Object);e.exports=r},function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e){e.exports=function(e){return e}},function(e,t,n){var r=n(96),o=n(25),i=n(97);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(24),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e){e.exports=function(){return!1}},function(e){var t=Array.isArray;e.exports=t},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e,t,n){"use strict";var r=n(26),o=n(27),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,u={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},s=function e(t,n,o,i,a,s,c,f,l,p,d,h){var y=t;if("function"==typeof c)y=c(n,y);else if(y instanceof Date)y=p(y);else if(null===y){if(i)return s&&!h?s(n,u.encoder):n;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||r.isBuffer(y))return s?[d(h?n:s(n,u.encoder))+"="+d(s(y,u.encoder))]:[d(n)+"="+d(y+"")];var v,m=[];if(void 0===y)return m;if(Array.isArray(c))v=c;else{var g=Object.keys(y);v=f?g.sort(f):g}for(var b,x=0;x<v.length;++x)b=v[x],(!a||null!==y[b])&&(m=Array.isArray(y)?m.concat(e(y[b],o(n,b),o,i,a,s,c,f,l,p,d,h)):m.concat(e(y[b],n+(l?"."+b:"["+b+"]"),o,i,a,s,c,f,l,p,d,h)));return m};e.exports=function(e,t){var n=e,a=t?r.assign({},t):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var c=void 0===a.delimiter?u.delimiter:a.delimiter,f="boolean"==typeof a.strictNullHandling?a.strictNullHandling:u.strictNullHandling,l="boolean"==typeof a.skipNulls?a.skipNulls:u.skipNulls,p="boolean"==typeof a.encode?a.encode:u.encode,d="function"==typeof a.encoder?a.encoder:u.encoder,h="function"==typeof a.sort?a.sort:null,y=void 0!==a.allowDots&&a.allowDots,v="function"==typeof a.serializeDate?a.serializeDate:u.serializeDate,m="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:u.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var g,b,x=o.formatters[a.format];"function"==typeof a.filter?n=(b=a.filter)("",n):Array.isArray(a.filter)&&(g=b=a.filter);var w=[];if("object"!=typeof n||null===n)return"";var j=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices",O=i[j];g||(g=Object.keys(n)),h&&g.sort(h);for(var _,A=0;A<g.length;++A)_=g[A],(!l||null!==n[_])&&(w=w.concat(s(n[_],_,O,f,l,p?d:null,b,h,y,v,x,m)));var T=w.join(c),E=!0===a.addQueryPrefix?"?":"";return 0<T.length?E+T:""}},function(e,t,n){"use strict";var r=n(26),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(e,t){for(var n={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,u=r.split(t.delimiter,a),s=0;s<u.length;++s){var c,f,l=u[s],p=l.indexOf("]="),d=-1===p?l.indexOf("="):p+1;-1===d?(c=t.decoder(l,i.decoder),f=t.strictNullHandling?null:""):(c=t.decoder(l.slice(0,d),i.decoder),f=t.decoder(l.slice(d+1),i.decoder)),n[c]=o.call(n,c)?[].concat(n[c]).concat(f):f}return n},u=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),u=a?r.slice(0,a.index):r,s=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;s.push(u)}for(var c=0;null!==(a=i.exec(r))&&c<n.depth;){if(c+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;0<=o;--o){var i,a=e[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,s=parseInt(u,10);!isNaN(s)&&a!==u&&s+""===u&&0<=s&&n.parseArrays&&s<=n.arrayLimit?(i=[])[s]=r:i[u]=r}r=i}return r}(s,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,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=!1!==n.parseArrays,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,""===e||null===e||void 0===e)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof e?a(e,n):e,s=n.plainObjects?Object.create(null):{},c=Object.keys(o),f=0;f<c.length;++f){var l=c[f],p=u(l,o[l],n);s=r.merge(s,p,n)}return r.compact(s)}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";function r(e,t){var n=q({},{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] "+n),void console.error(t)}console.log("["+e+"] "+t)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,proxy:!1,basePath:""},t);if(!n.accessToken){var o=new TypeError("Expected parameter accessToken");throw n.logHandler("error",o),o}var i=n.insecure?"http":"https",a=n.space?n.space+"/":"",u=n.defaultHostname,s=n.insecure?80:443;if(H.test(n.host)){var c=n.host.split(":");if(2===c.length){var f=F(c,2);u=f[0],s=f[1]}else u=c[0]}n.basePath&&(n.basePath="/"+n.basePath.split("/").filter(Boolean).join("/"));var l=t.baseURL||i+"://"+u+":"+s+n.basePath+"/spaces/"+a;n.headers.Authorization="Bearer "+n.accessToken,Object(D.b)()&&(n.headers["user-agent"]="node.js/"+Object(D.a)(),n.headers["Accept-Encoding"]="gzip");var p={baseURL:l,headers:n.headers,httpAgent:n.httpAgent,httpsAgent:n.httpsAgent,paramsSerializer:N.a.stringify,proxy:n.proxy,timeout:n.timeout,logHandler:n.logHandler,retryOnError:n.retryOnError},d=e.create(p);return d.httpClientParams=t,d.cloneWithNewParams=function(n){return r(e,q({},U()(t),n))},function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5;e.interceptors.response.use(function(e){return e},function(n){var r=Math.pow,o=n.response,i=n.config;if(!i||!e.defaults.retryOnError)return Promise.reject(n);var a=null,u=0;if(o)z=0;else{if(a="Connection",++z>t)return n.attempts=z,Promise.reject(n);u=r(Math.SQRT2,z),o={}}if(500<=o.status&&600>o.status){a="Server "+o.status;var s=(o.headers||{})["x-contentful-request-id"]||null;if(B[s]=B[s]||0,B[s]++,B[s]>t||!s)return n.attempts=B[s],Promise.reject(n);u=r(Math.SQRT2,B[s])}else 429===o.status&&(a="Rate limit",o.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(u=o.headers["x-contentful-ratelimit-reset"]));return a?(u=Math.floor(1e3*u+200*Math.random()+500),e.defaults.logHandler("warning",a+" error occurred. Waiting for "+u+" ms before retrying..."),function(e){return new Promise(function(t){setTimeout(t,e)})}(u).then(function(){return e(i)})):Promise.reject(n)})}(d),d}function o(e){var t=e.query,n={};return delete t.resolveLinks,n.params=U()(t),n}function i(e){return function e(t){return Object.keys(t).forEach(function(n){var r=t[n];I()(r)&&e(r)}),Object.freeze(t)}(e.sys||{}),e}function a(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,n=null;return-1===["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?-1===["iPhone","iPad","iPod"].indexOf(t)?-1===["Win32","Win64","Windows","WinCE"].indexOf(t)?/Android/.test(e)?n="Android":/Linux/.test(t)&&(n="Linux"):n="Windows":n="iOS":n="macOS",n}function u(e,t,n,r){var o=[];t&&o.push("app "+t),n&&o.push("integration "+n),r&&o.push("feature "+r),o.push("sdk "+e);var i=null;return"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=a(),o.push("platform ReactNative")):Object(D.b)()?(i=function(){var e=Object(W.platform)()||"linux",t=Object(W.release)()||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?(n[e]||"Linux")+"/"+t:null}(),o.push("platform node.js/"+Object(D.a)())):(i=a(),o.push("platform browser")),i&&o.push("os "+i),o.filter(function(e){return""!==e}).join("; ")+";"}function s(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return U()(this)}})}function c(e){return i(s(e))}function f(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return X()(this,e,t,function(e,t){return{sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}})}})}function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function p(e){return i(s(U()(e)))}function d(e,t){var n=t.resolveLinks,r=t.removeUnresolved,o=f(s(U()(e)));return n&&(o.items=Y(o,{removeUnresolved:r,itemEntryPoints:["fields"]})),i(o)}function h(e){return i(s(U()(e)))}function y(e){return i(s(U()(e)))}function v(e){return i(s(U()(e)))}function m(e){return i(s(U()(e)))}function g(e){return i(s(U()(e)))}function b(e){return i(s(U()(e)))}function x(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&"Entry"!==t.type)throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");var r=ee({},{resolveLinks:!0,removeUnresolved:!1,paginate:!0},n),o=r.resolveLinks,a=r.removeUnresolved;return w(e,[],t,{paginate:r.paginate}).then(function(e){o&&(e.items=Y(e,{removeUnresolved:a,itemEntryPoints:["fields"]}));var t=function(e){var t=function(e){return function(t,n){return n.sys.type===e&&t.push(s(n)),t}};return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(e.items);return e.nextSyncToken&&(t.nextSyncToken=e.nextSyncToken),e.nextPageToken&&(t.nextPageToken=e.nextPageToken),i(f(s(t)))},function(e){throw e})}function w(e,t,n,r){var i=r.paginate;return n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type),e.get("sync",o({query:n})).then(function(r){var o=r.data;return t=t.concat(o.items),o.nextPageUrl?i?(delete n.initial,n.sync_token=j(o.nextPageUrl),w(e,t,n,{paginate:i})):{items:t,nextPageToken:j(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:j(o.nextSyncUrl)}:void 0})}function j(e){var t=e.split("?");return 0<t.length?t[1].replace("sync_token=",""):""}function O(e){function t(e){if(e.data)throw e.data;throw e}function n(e){e.select&&!/sys/i.test(e.select)&&(e.select+=",sys")}function r(e){e.defaults.baseURL=a().environmentBaseUrl}var i=e.http,a=e.getGlobalOptions,u=Z.space.wrapSpace,s=Z.contentType,c=s.wrapContentType,f=s.wrapContentTypeCollection,l=Z.entry,p=l.wrapEntry,d=l.wrapEntryCollection,h=Z.asset,y=h.wrapAsset,v=h.wrapAssetCollection,m=Z.locale.wrapLocaleCollection;return{getSpace:function(){return function(e){e.defaults.baseURL=a().spaceBaseUrl}(i),i.get("").then(function(e){return u(e.data)},t)},getContentType:function(e){return r(i),i.get("content_types/"+e).then(function(e){return c(e.data)},t)},getContentTypes:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(i),i.get("content_types",o({query:e})).then(function(e){return f(e.data)},t)},getEntry:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getEntries(te({"sys.id":e},n)).then(function(t){if(0<t.items.length)return p(t.items[0]);throw function(e){var t=new Error("The resource could not be found.");return t.sys={type:"Error",id:"NotFound"},t.details={type:"Entry",id:e,environment:a().environment,space:a().space},t}(e)},t)},getEntries:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};r(i);var u=a(e),s=u.resolveLinks,c=u.removeUnresolved;return n(e),i.get("entries",o({query:e})).then(function(e){return d(e.data,{resolveLinks:s,removeUnresolved:c})},t)},getAsset:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r(i),n(a),i.get("assets/"+e,o({query:a})).then(function(e){return y(e.data)},t)},getAssets:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(i),n(e),i.get("assets",o({query:e})).then(function(e){return v(e.data)},t)},getLocales:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r(i),i.get("locales",o({query:e})).then(function(e){return m(e.data)},t)},parseEntries:function(e){var t=a({}),n=t.resolveLinks,r=t.removeUnresolved;return d(e,{resolveLinks:n,removeUnresolved:r})},sync:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{paginate:!0},n=a(e),o=n.resolveLinks,u=n.removeUnresolved;return r(i),x(i,e,te({resolveLinks:o,removeUnresolved:u},t))}}}function _(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");var t=ne({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"},e),n=u("contentful.js/0.0.0-determined-by-semantic-release",t.application,t.integration);t.headers=ne({},t.headers,{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":n});var o=r(L.a,t),i=function(e){return function(t){return Object.assign({},e,t)}}({resolveLinks:t.resolveLinks,environment:t.environment,removeUnresolved:t.removeUnresolved,spaceBaseUrl:o.defaults.baseURL,environmentBaseUrl:o.defaults.baseURL+"environments/"+t.environment});return o.defaults.baseURL=i().environmentBaseUrl,O({http:o,getGlobalOptions:i})}n.r(t);var A={};n.r(A),n.d(A,"wrapSpace",function(){return c});var T={};n.r(T),n.d(T,"wrapEntry",function(){return p}),n.d(T,"wrapEntryCollection",function(){return d});var E={};n.r(E),n.d(E,"wrapAsset",function(){return h}),n.d(E,"wrapAssetCollection",function(){return y});var P={};n.r(P),n.d(P,"wrapContentType",function(){return v}),n.d(P,"wrapContentTypeCollection",function(){return m});var k={};n.r(k),n.d(k,"wrapLocale",function(){return g}),n.d(k,"wrapLocaleCollection",function(){return b});var S=n(28),L=n.n(S),C=n(0),U=n.n(C),R=n(29),N=n.n(R),B={},z=0,D=n(2),F=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),q=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},H=/^(?!\w+:\/\/)([^\s:]+\.[^\s:]+)(?::(\d+))?(?!:)$/,M=n(30),I=n.n(M),W=n(11),V=n(31),X=n.n(V),Q="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},$={},G=function(e){return e&&e.sys&&"Link"===e.sys.type},J=function(e,t){var n=t.sys,r=n.linkType,o=n.id;return function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return e[n];return $}(e,function(e){var t=e.sys;return t.type===r&&t.id===o})},K=function e(t,n,r,o){if(n(t))return r(t);if(t&&"object"===(void 0===t?"undefined":Q(t))){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],n,r,o));o&&(t=function(e){if(Array.isArray(e))return e.filter(function(e){return e!==$});for(var t in e)e[t]===$&&delete e[t];return e}(t))}return t},Y=function(e,t){if(t=t||{},!e.items)return[];var n=U()(e),r=Object.keys(n.includes||{}).reduce(function(t,n){return[].concat(l(t),l(e.includes[n]))},[]),o=[].concat(l(n.items),l(r));return o.forEach(function(e){var n=function(e,t){return Array.isArray(t)?Object.keys(e).filter(function(e){return-1!==t.indexOf(e)}).reduce(function(t,n){return t[n]=e[n],t},{}):e}(e,t.itemEntryPoints);Object.assign(e,K(n,G,function(e){return function(e,t,n){var r=J(e,t);return r===$?n?r:t:r}(o,e,t.removeUnresolved)},t.removeUnresolved))}),n.items},Z={space:A,entry:T,asset:E,contentType:P,locale:k},ee=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},te=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};n.d(t,"createClient",function(){return _});var ne=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}}])});

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

module.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=37)}([function(e,t,r){var n=r(66);e.exports=function(e){return n(e,5)}},function(e,t,r){"use strict";function n(e){return"[object Array]"===c.call(e)}function o(e){return null!==e&&"object"==typeof e}function i(e){return"[object Function]"===c.call(e)}function s(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),n(e))for(var r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var a=r(12),u=r(39),c=Object.prototype.toString;e.exports={isArray:n,isArrayBuffer:function(e){return"[object ArrayBuffer]"===c.call(e)},isBuffer:u,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===c.call(e)},isFile:function(e){return"[object File]"===c.call(e)},isBlob:function(e){return"[object Blob]"===c.call(e)},isFunction:i,isStream:function(e){return o(e)&&i(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:s,merge:function e(){function t(t,n){r[n]="object"==typeof r[n]&&"object"==typeof t?e(r[n],t):t}for(var r={},n=0,o=arguments.length;n<o;n++)s(arguments[n],t);return r},extend:function(e,t,r){return s(t,function(t,n){e[n]=r&&"function"==typeof t?a(t,r):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var o=r(68),i=r(69),s=r(70),a=r(71),u=r(72);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,e.exports=n},function(e,t,r){var n=r(23);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(9)(Object,"create");e.exports=n},function(e,t,r){var n=r(88);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(26),o=r(27);e.exports=function(e,t,r,i){var s=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var c=t[a],f=i?i(r[c],e[c],c,r,e):void 0;void 0===f&&(f=e[c]),s?o(r,c,f):n(r,c,f)}return r}},function(e,t,r){"use strict";function n(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=r(1),i=r(41),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var e;return"undefined"==typeof XMLHttpRequest?"undefined"!=typeof process&&(e=r(47)):e=r(42),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(n(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(n(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&300>e},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],function(e){a.headers[e]={}}),o.forEach(["post","put","patch"],function(e){a.headers[e]=o.merge(s)}),e.exports=a},function(e,t,r){"use strict";var n=r(14);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e){e.exports=require("os")},function(e){"use strict";e.exports=function(e,t){return function(){for(var r=Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(8);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e}},function(e,t,r){"use strict";function n(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(1);e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(o.isURLSearchParams(t))i=t.toString();else{var s=[];o.forEach(t,function(e,t){null===e||void 0===e||(o.isArray(e)&&(t+="[]"),!o.isArray(e)&&(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))}))}),i=s.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e){e.exports=require("http")},function(e){e.exports=require("https")},function(e,t,r){function n(e,t){c.call(this),e.headers=e.headers||{},this._options=e,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;if(this._onNativeResponse=function(e){r._processResponse(e)},!e.pathname&&e.path){var n=e.path.indexOf("?");0>n?e.pathname=e.path:(e.pathname=e.path.substring(0,n),e.search=e.path.substring(n))}this._performRequest()}function o(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(o){var s=o+":",a=r[s]=e[o],c=t[o]=Object.create(a);c.request=function(e,o){return"string"==typeof e?(e=i.parse(e)).maxRedirects=t.maxRedirects:e=Object.assign({protocol:s,maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e),e.nativeProtocols=r,u.equal(e.protocol,s,"protocol mismatch"),f("options",e),new n(e,o)},c.get=function(e,t){var r=c.request(e,t);return r.end(),r}}),t}var i=r(19),s=r(16),a=r(17),u=r(48),c=r(49).Writable,f=r(50)("follow-redirects"),l={GET:!0,HEAD:!0,OPTIONS:!0,TRACE:!0},p=Object.create(null);["abort","aborted","error","socket","timeout"].forEach(function(e){p[e]=function(t){this._redirectable.emit(e,t)}}),n.prototype=Object.create(c.prototype),n.prototype.write=function(e,t,r){if(!("string"==typeof e||"object"==typeof e&&"length"in e))throw new Error("data should be a string, Buffer or Uint8Array");return"function"==typeof t&&(r=t,t=null),0===e.length?void(r&&r()):void(this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new Error("Request body larger than maxBodyLength limit")),this.abort()))},n.prototype.end=function(e,t,r){"function"==typeof e?(r=e,e=t=null):"function"==typeof t&&(r=t,t=null);var n=this._currentRequest;this.write(e||"",t,function(){n.end(null,null,r)})},n.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},n.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive","setTimeout"].forEach(function(e){n.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(n.prototype,e,{get:function(){return this._currentRequest[e]}})}),n.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var r=e.substr(0,e.length-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o in this._currentUrl=i.format(this._options),n._redirectable=this,p)o&&n.on(o,p[o]);if(this._isRedirect){var s=0,a=this._requestBodyBuffers;!function e(){if(s<a.length){var t=a[s++];n.write(t.data,t.encoding,e)}else n.end()}()}}else this.emit("error",new Error("Unsupported protocol "+e))},n.prototype._processResponse=function(e){this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:e.statusCode});var t=e.headers.location;if(t&&!1!==this._options.followRedirects&&300<=e.statusCode&&400>e.statusCode){if(++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new Error("Max redirects exceeded."));var r,n=this._options.headers;if(307!==e.statusCode&&!(this._options.method in l))for(r in this._options.method="GET",this._requestBodyBuffers=[],n)/^content-/i.test(r)&&delete n[r];if(!this._isRedirect)for(r in n)/^host$/i.test(r)&&delete n[r];var o=i.resolve(this._currentUrl,t);f("redirecting to",o),Object.assign(this._options,i.parse(o)),this._isRedirect=!0,this._performRequest(),e.destroy()}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=o({http:s,https:a}),e.exports.wrap=o},function(e){e.exports=require("url")},function(e,t,r){function n(e){function r(){if(r.enabled){var e=r,o=+new Date,i=o-(n||o);e.diff=i,e.prev=n,e.curr=o,n=o;for(var s=Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var u=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,function(r,n){if("%%"===r)return r;u++;var o=t.formatters[n];if("function"==typeof o){var i=s[u];r=o.call(e,i),s.splice(u,1),u--}return r}),t.formatArgs.call(e,s),(r.log||t.log||console.log.bind(console)).apply(e,s)}}var n;return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]}(e),r.destroy=o,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];var r,n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(r=0;r<t.instances.length;r++){var i=t.instances[r];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(52),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(9)(r(25),"Map");e.exports=n},function(e,t,r){var n=r(78),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){var n=r(27),o=r(23),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];i.call(e,t)&&o(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(93);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(10)(Object.keys,Object);e.exports=n},function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(10)(Object.getPrototypeOf,Object);e.exports=n},function(e){"use strict";var t=Object.prototype.hasOwnProperty,r=function(){for(var e=[],t=0;256>t;++t)e.push("%"+((16>t?"0":"")+t.toString(16)).toUpperCase());return e}(),n=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:n,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),a=0;a<s.length;++a){var u=s[a],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return function(e){for(var t,r;e.length;)if(t=(r=e.pop()).obj[r.prop],Array.isArray(t)){for(var n=[],o=0;o<t.length;++o)void 0!==t[o]&&n.push(t[o]);r.obj[r.prop]=n}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t,n="string"==typeof e?e:e+"",o="",i=0;i<n.length;++i)45===(t=n.charCodeAt(i))||46===t||95===t||126===t||48<=t&&57>=t||65<=t&&90>=t||97<=t&&122>=t?o+=n.charAt(i):128>t?o+=r[t]:2048>t?o+=r[192|t>>6]+r[128|63&t]:55296>t||57344<=t?o+=r[224|t>>12]+r[128|63&t>>6]+r[128|63&t]:(i+=1,t=65536+((1023&t)<<10|1023&n.charCodeAt(i)),o+=r[240|t>>18]+r[128|63&t>>12]+r[128|63&t>>6]+r[128|63&t]);return o},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(r,o,i){if(!o)return r;if("object"!=typeof o){if(Array.isArray(r))r.push(o);else{if("object"!=typeof r)return[r,o];(i.plainObjects||i.allowPrototypes||!t.call(Object.prototype,o))&&(r[o]=!0)}return r}if("object"!=typeof r)return[r].concat(o);var s=r;return Array.isArray(r)&&!Array.isArray(o)&&(s=n(r,i)),Array.isArray(r)&&Array.isArray(o)?(o.forEach(function(n,o){t.call(r,o)?r[o]&&"object"==typeof r[o]?r[o]=e(r[o],n,i):r.push(n):r[o]=n}),r):Object.keys(o).reduce(function(r,n){var s=o[n];return r[n]=t.call(r,n)?e(r[n],s,i):s,r},s)}}},function(e){"use strict";var t=String.prototype.replace,r=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,r){e.exports=r(38)},function(e,t,r){"use strict";var n=r(116),o=r(117),i=r(32);e.exports={formats:i,parse:o,stringify:n}},function(e,t,r){var n=r(118),o=r(30),i=r(119),s=Function.prototype,a=Object.prototype,u=s.toString,c=a.hasOwnProperty,f=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==f}},function(e,t){function r(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(o,i){if(0<r.length){var s=r.indexOf(this);~s?r.splice(s+1):r.push(this),~s?n.splice(s,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return null==e?i:e.call(this,o,i)}}(e.exports=function(e,t,n,o){return JSON.stringify(e,r(t,o),n)}).getSerialize=r},function(e,t,r){e.exports=r(120)},function(e,t,r){"use strict";function n(e){var t=new s(e),r=i(s.prototype.request,t);return o.extend(r,s.prototype,t),o.extend(r,t),r}var o=r(1),i=r(12),s=r(40),a=r(7),u=n(a);u.Axios=s,u.create=function(e){return n(o.merge(a,e))},u.Cancel=r(22),u.CancelToken=r(64),u.isCancel=r(21),u.all=function(e){return Promise.all(e)},u.spread=r(65),e.exports=u,e.exports.default=u},function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";function n(e){this.defaults=e,this.interceptors={request:new s,response:new s}}var o=r(7),i=r(1),s=r(59),a=r(60);n.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),(e=i.merge(o,this.defaults,{method:"get"},e)).method=e.method.toLowerCase();var t=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},i.forEach(["delete","get","head","options"],function(e){n.prototype[e]=function(t,r){return this.request(i.merge(r||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){n.prototype[e]=function(t,r,n){return this.request(i.merge(n||{},{method:e,url:t,data:r}))}}),e.exports=n},function(e,t,r){"use strict";var n=r(1);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(1),o=r(13),i=r(15),s=r(43),a=r(44),u=r(8),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||r(45);e.exports=function(e){return new Promise(function(t,f){var l=e.data,p=e.headers;n.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||a(e.url)||(d=new window.XDomainRequest,h="onload",y=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var v=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+c(v+":"+m)}if(d.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[h]=function(){if(d&&(4===d.readyState||y)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:r,config:e,request:d};o(t,f,n),d=null}},d.onerror=function(){f(u("Network Error",e,null,d)),d=null},d.ontimeout=function(){f(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=r(46),b=(e.withCredentials||a(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&n.forEach(p,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),f(e),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(e,t,r){"use strict";var n=r(1),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&0<=o.indexOf(t))return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}}),s):s}},function(e,t,r){"use strict";var n=r(1);e.exports=n.isStandardBrowserEnv()?function(){function e(e){var t=e;return r&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(r){var o=n.isString(r)?e(r):r;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},function(e){"use strict";function t(){this.message="String contains an invalid character"}t.prototype=new Error,t.prototype.code=5,t.prototype.name="InvalidCharacterError",e.exports=function(e){for(var r,n,o=e+"",i="",s=0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|s)||(a="=",s%1);i+=a.charAt(63&r>>8-s%1*8)){if(255<(n=o.charCodeAt(s+=.75)))throw new t;r=r<<8|n}return i}},function(e,t,r){"use strict";var n=r(1);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(1),o=r(13),i=r(15),s=r(16),a=r(17),u=r(18).http,c=r(18).https,f=r(19),l=r(57),p=r(58),d=r(8),h=r(14),y=/https:?/;e.exports=function(e){return new Promise(function(t,r){var v,m,g=e.data,b=e.headers;if(b["User-Agent"]||b["user-agent"]||(b["User-Agent"]="axios/"+p.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=new Buffer(new Uint8Array(g));else{if(!n.isString(g))return r(d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=new Buffer(g,"utf-8")}b["Content-Length"]=g.length}e.auth&&(m=(e.auth.username||"")+":"+(e.auth.password||""));var x=f.parse(e.url),w=x.protocol||"http:";if(!m&&x.auth){var C=x.auth.split(":");m=(C[0]||"")+":"+(C[1]||"")}m&&delete b.Authorization;var j=y.test(w),_=j?e.httpsAgent:e.httpAgent,O={hostname:x.hostname,port:x.port,path:i(x.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method,headers:b,agent:_,auth:m},A=e.proxy;if(!A&&!1!==A){var k=w.slice(0,-1)+"_proxy",E=process.env[k]||process.env[k.toUpperCase()];if(E){var F=f.parse(E);if(A={host:F.hostname,port:F.port},F.auth){var R=F.auth.split(":");A.auth={username:R[0],password:R[1]}}}}if(A&&(O.hostname=A.host,O.host=A.host,O.headers.host=x.hostname+(x.port?":"+x.port:""),O.port=A.port,O.path=w+"//"+x.hostname+(x.port?":"+x.port:"")+O.path,A.auth)){var S=new Buffer(A.auth.username+":"+A.auth.password,"utf8").toString("base64");O.headers["Proxy-Authorization"]="Basic "+S}var T,P=j&&(!A||y.test(A.protocol));e.transport?T=e.transport:0===e.maxRedirects?T=P?a:s:(e.maxRedirects&&(O.maxRedirects=e.maxRedirects),T=P?c:u);var L=T.request(O,function(n){if(!L.aborted){clearTimeout(v),v=null;var i=n;switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":i=i.pipe(l.createUnzip()),delete n.headers["content-encoding"]}var s=n.req||L,a={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:e,request:s};if("stream"===e.responseType)a.data=i,o(t,r,a);else{var u=[];i.on("data",function(t){u.push(t),-1<e.maxContentLength&&Buffer.concat(u).length>e.maxContentLength&&r(d("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,s))}),i.on("error",function(t){L.aborted||r(h(t,e,null,s))}),i.on("end",function(){var n=Buffer.concat(u);"arraybuffer"!==e.responseType&&(n=n.toString("utf8")),a.data=n,o(t,r,a)})}}});L.on("error",function(t){L.aborted||r(h(t,e,null,L))}),e.timeout&&!v&&(v=setTimeout(function(){L.abort(),r(d("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",L))},e.timeout)),e.cancelToken&&e.cancelToken.promise.then(function(e){L.aborted||(L.abort(),r(e))}),n.isStream(g)?g.pipe(L):L.end(g)})}},function(e){e.exports=require("assert")},function(e){e.exports=require("stream")},function(e,t,r){e.exports="undefined"==typeof process||"renderer"===process.type?r(51):r(53)},function(e,t,r){function n(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=r(20)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"===e||"%c"===e&&(i=++o)}),e.splice(i,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=n,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||!("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+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.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"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(n())},function(e){function t(e){if(!(100<(e+="").length)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();return"years"===n||"year"===n||"yrs"===n||"yr"===n||"y"===n?r*c:"days"===n||"day"===n||"d"===n?r*u:"hours"===n||"hour"===n||"hrs"===n||"hr"===n||"h"===n?r*a:"minutes"===n||"minute"===n||"mins"===n||"min"===n||"m"===n?r*s:"seconds"===n||"second"===n||"secs"===n||"sec"===n||"s"===n?r*i:"milliseconds"===n||"millisecond"===n||"msecs"===n||"msec"===n||"ms"===n?r:void 0}}}function r(e){var t=Math.round;return e>=u?t(e/u)+"d":e>=a?t(e/a)+"h":e>=s?t(e/s)+"m":e>=i?t(e/i)+"s":e+"ms"}function n(e){return o(e,u,"day")||o(e,a,"hour")||o(e,s,"minute")||o(e,i,"second")||e+" ms"}function o(e,t,r){return e<t?void 0:e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}var i=1e3,s=60*i,a=60*s,u=24*a,c=365.25*u;e.exports=function(e,o){o=o||{};var i=typeof e;if("string"==i&&0<e.length)return t(e);if("number"==i&&!1===isNaN(e))return o.long?n(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){function n(){return process.env.DEBUG}var o=r(54),i=r(55);(t=e.exports=r(20)).init=function(e){e.inspectOpts={};for(var r=Object.keys(t.inspectOpts),n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(){return process.stderr.write(i.format.apply(i,arguments)+"\n")},t.formatArgs=function(e){var r=this.namespace;if(this.useColors){var n=this.color,o="[3"+(8>n?n:"8;5;"+n),i=" "+o+";1m"+r+" ";e[0]=i+e[0].split("\n").join("\n"+i),e.push(o+"m+"+t.humanize(this.diff)+"")}else e[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+e[0]},t.save=function(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e},t.load=n,t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:o.isatty(process.stderr.fd)},t.colors=[6,2,3,4,5,1];try{var s=r(56);s&&2<=s.level&&(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 r=t.substring(6).toLowerCase().replace(/_([a-z])/g,function(e,t){return t.toUpperCase()}),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:+n),e[r]=n,e},{}),t.formatters.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(function(e){return e.trim()}).join(" ")},t.formatters.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)},t.enable(n())},function(e){e.exports=require("tty")},function(e){e.exports=require("util")},function(e){"use strict";var t=process.argv,r=t.indexOf("--"),n=function(e){e="--"+e;var n=t.indexOf(e);return-1!==n&&(!(-1!==r)||n<r)};e.exports=!!("FORCE_COLOR"in process.env)||!(n("no-color")||n("no-colors")||n("color=false"))&&(!!(n("color")||n("colors")||n("color=true")||n("color=always"))||(!process.stdout||process.stdout.isTTY)&&(!("win32"!==process.platform)||!!("COLORTERM"in process.env)||"dumb"!==process.env.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)))},function(e){e.exports=require("zlib")},function(e){e.exports={_from:"@contentful/axios@^0.18.0",_id:"@contentful/axios@0.18.0",_inBundle:!1,_integrity:"sha512-4r4Ww1IJlmRolKgovLTTmdS6CsdvXYVxgXRFwWSh1x36T/0Wg9kTwdaVaApZXcv1DfYyw9RSNdxIGSwTP2/Lag==",_location:"/@contentful/axios",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"@contentful/axios@^0.18.0",name:"@contentful/axios",escapedName:"@contentful%2faxios",scope:"@contentful",rawSpec:"^0.18.0",saveSpec:null,fetchSpec:"^0.18.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/@contentful/axios/-/axios-0.18.0.tgz",_shasum:"576e0e6047411a66971e82d40688a8c795e62f27",_spec:"@contentful/axios@^0.18.0",_where:"/home/travis/build/contentful/contentful.js",author:{name:"Matt Zabriskie"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},bugs:{url:"https://github.com/axios/axios/issues"},bundleDependencies:!1,bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}],dependencies:{"follow-redirects":"^1.2.5","is-buffer":"^1.1.5"},deprecated:!1,description:"Promise based HTTP client for the browser and node.js",devDependencies:{bundlesize:"^0.5.7",coveralls:"^2.11.9","es6-promise":"^4.0.5",grunt:"^1.0.1","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-nodeunit":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^19.0.0","grunt-karma":"^2.0.0","grunt-ts":"^6.0.0-beta.3","grunt-webpack":"^1.0.18","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.0.0","karma-firefox-launcher":"^1.0.0","karma-jasmine":"^1.0.2","karma-jasmine-ajax":"^0.1.13","karma-opera-launcher":"^1.0.0","karma-phantomjs-launcher":"^1.0.0","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^1.1.0","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0","phantomjs-prebuilt":"^2.1.7",sinon:"^1.17.4",typescript:"^2.0.3","url-search-params":"^0.6.1",webpack:"^1.13.1","webpack-dev-server":"^1.14.1"},homepage:"https://github.com/axios/axios",keywords:["xhr","http","ajax","promise","node"],license:"MIT",main:"index.js",name:"@contentful/axios",repository:{type:"git",url:"git+https://github.com/contentful/axios.git"},scripts:{build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test && bundlesize",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},typings:"./index.d.ts",version:"0.18.0"}},function(e,t,r){"use strict";function n(){this.handlers=[]}var o=r(1);n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=n},function(e,t,r){"use strict";function n(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=r(1),i=r(61),s=r(21),a=r(7),u=r(62),c=r(63);e.exports=function(e){return n(e),e.baseURL&&!u(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return n(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return s(t)||(n(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(1);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new o(e),t(r.reason))})}var o=r(22);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n(function(t){e=t}),cancel:e}},e.exports=n},function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){var n=r(67),o=r(92),i=r(26),s=r(94),a=r(95),u=r(97),c=r(99),f=r(100),l=r(102),p=r(104),d=r(105),h=r(106),y=r(107),v=r(108),m=r(109),g=r(112),b=r(113),x=r(114),w=r(29),C=r(115),j=r(28),_=1,O=2,A=4,k="[object Arguments]",E="[object Function]",F="[object GeneratorFunction]",R="[object Object]",S={};S[k]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[R]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[E]=S["[object WeakMap]"]=!1,e.exports=function e(t,r,T,P,L,U){var B,q=r&_,N=r&O;if(T&&(B=L?T(t,P,L,U):T(t)),void 0!==B)return B;if(!w(t))return t;var z=g(t);if(z){if(B=y(t),!q)return c(t,B)}else{var D=h(t),H=D==E||D==F;if(b(t))return u(t,q);if(D==R||D==k||H&&!L){if(B=N||H?{}:m(t),!q)return N?l(t,a(B,t)):f(t,s(B,t))}else{if(!S[D])return L?t:{};B=v(t,D,q)}}U||(U=new n);var M=U.get(t);if(M)return M;if(U.set(t,B),C(t))return t.forEach(function(n){B.add(e(n,r,T,n,t,U))}),B;if(x(t))return t.forEach(function(n,o){B.set(o,e(n,r,T,o,t,U))}),B;var I=r&A?N?d:p:N?keysIn:j,W=z?void 0:I(t);return o(W||t,function(n,o){W&&(n=t[o=n]),i(B,o,e(n,r,T,o,t,U))}),B}},function(e,t,r){function n(e){var t=this.__data__=new o(e);this.size=t.size}var o=r(2),i=r(73),s=r(74),a=r(75),u=r(76),c=r(77);n.prototype.clear=i,n.prototype.delete=s,n.prototype.get=a,n.prototype.has=u,n.prototype.set=c,e.exports=n},function(e){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(3),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(0>r)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(3);e.exports=function(e){var t=this.__data__,r=n(t,e);return 0>r?void 0:t[r][1]}},function(e,t,r){var n=r(3);e.exports=function(e){return-1<n(this.__data__,e)}},function(e,t,r){var n=r(3);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return 0>o?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(2);e.exports=function(){this.__data__=new n,this.size=0}},function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e){e.exports=function(e){return this.__data__.get(e)}},function(e){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(2),o=r(24),i=r(79);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(e,t),this.size=r.size,this}},function(e){var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var o=r(80),i=r(87),s=r(89),a=r(90),u=r(91);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,e.exports=n},function(e,t,r){var n=r(81),o=r(2),i=r(24);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var o=r(82),i=r(83),s=r(84),a=r(85),u=r(86);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,e.exports=n},function(e,t,r){var n=r(4);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(4),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(4),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(4);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(5);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(5);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(5);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(5);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(9),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(6),o=r(28);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(6),o=r(96);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(25),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(98)(e))},function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],!e.children&&(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(6),o=r(101);e.exports=function(e,t){return n(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,r){var n=r(6),o=r(103);e.exports=function(e,t){return n(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,r){var n=r(10)(Object.keys,Object);e.exports=n},function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e){e.exports=function(e){return e}},function(e,t,r){var n=r(110),o=r(30),i=r(111);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(29),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e){e.exports=function(){return!1}},function(e){var t=Array.isArray;e.exports=t},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e,t,r){"use strict";var n=r(31),o=r(32),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Date.prototype.toISOString,a={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},u=function e(t,r,o,i,s,u,c,f,l,p,d,h){var y=t;if("function"==typeof c)y=c(r,y);else if(y instanceof Date)y=p(y);else if(null===y){if(i)return u&&!h?u(r,a.encoder):r;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||n.isBuffer(y))return u?[d(h?r:u(r,a.encoder))+"="+d(u(y,a.encoder))]:[d(r)+"="+d(y+"")];var v,m=[];if(void 0===y)return m;if(Array.isArray(c))v=c;else{var g=Object.keys(y);v=f?g.sort(f):g}for(var b,x=0;x<v.length;++x)b=v[x],(!s||null!==y[b])&&(m=Array.isArray(y)?m.concat(e(y[b],o(r,b),o,i,s,u,c,f,l,p,d,h)):m.concat(e(y[b],r+(l?"."+b:"["+b+"]"),o,i,s,u,c,f,l,p,d,h)));return m};e.exports=function(e,t){var r=e,s=t?n.assign({},t):{};if(null!==s.encoder&&void 0!==s.encoder&&"function"!=typeof s.encoder)throw new TypeError("Encoder has to be a function.");var c=void 0===s.delimiter?a.delimiter:s.delimiter,f="boolean"==typeof s.strictNullHandling?s.strictNullHandling:a.strictNullHandling,l="boolean"==typeof s.skipNulls?s.skipNulls:a.skipNulls,p="boolean"==typeof s.encode?s.encode:a.encode,d="function"==typeof s.encoder?s.encoder:a.encoder,h="function"==typeof s.sort?s.sort:null,y=void 0!==s.allowDots&&s.allowDots,v="function"==typeof s.serializeDate?s.serializeDate:a.serializeDate,m="boolean"==typeof s.encodeValuesOnly?s.encodeValuesOnly:a.encodeValuesOnly;if(void 0===s.format)s.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,s.format))throw new TypeError("Unknown format option provided.");var g,b,x=o.formatters[s.format];"function"==typeof s.filter?r=(b=s.filter)("",r):Array.isArray(s.filter)&&(g=b=s.filter);var w=[];if("object"!=typeof r||null===r)return"";var C=s.arrayFormat in i?s.arrayFormat:"indices"in s?s.indices?"indices":"repeat":"indices",j=i[C];g||(g=Object.keys(r)),h&&g.sort(h);for(var _,O=0;O<g.length;++O)_=g[O],(!l||null!==r[_])&&(w=w.concat(u(r[_],_,j,f,l,p?d:null,b,h,y,v,x,m)));var A=w.join(c),k=!0===s.addQueryPrefix?"?":"";return 0<A.length?k+A:""}},function(e,t,r){"use strict";var n=r(31),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},s=function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,s=t.parameterLimit===1/0?void 0:t.parameterLimit,a=n.split(t.delimiter,s),u=0;u<a.length;++u){var c,f,l=a[u],p=l.indexOf("]="),d=-1===p?l.indexOf("="):p+1;-1===d?(c=t.decoder(l,i.decoder),f=t.strictNullHandling?null:""):(c=t.decoder(l.slice(0,d),i.decoder),f=t.decoder(l.slice(d+1),i.decoder)),r[c]=o.call(r,c)?[].concat(r[c]).concat(f):f}return r},a=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=/(\[[^[\]]*])/.exec(n),a=s?n.slice(0,s.index):n,u=[];if(a){if(!r.plainObjects&&o.call(Object.prototype,a)&&!r.allowPrototypes)return;u.push(a)}for(var c=0;null!==(s=i.exec(n))&&c<r.depth;){if(c+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+n.slice(s.index)+"]"),function(e,t,r){for(var n=t,o=e.length-1;0<=o;--o){var i,s=e[o];if("[]"===s)i=(i=[]).concat(n);else{i=r.plainObjects?Object.create(null):{};var a="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(a,10);!isNaN(u)&&s!==a&&u+""===a&&0<=u&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=n:i[a]=n}n=i}return n}(u,t,r)}};e.exports=function(e,t){var r=t?n.assign({},t):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?s(e,r):e,u=r.plainObjects?Object.create(null):{},c=Object.keys(o),f=0;f<c.length;++f){var l=c[f],p=a(l,o[l],r);u=n.merge(u,p,r)}return n.compact(u)}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){"use strict";function n(){return"undefined"!=typeof process&&!process.browser}function o(){return process.versions.node?"v"+process.versions.node:process.version}function i(e,t){var r=D({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){if("error"===e&&t){var r=[t.name,t.message].filter(function(e){return e}).join(" - ");return console.error("[error] "+r),void console.error(t)}console.log("["+e+"] "+t)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,proxy:!1,basePath:""},t);if(!r.accessToken){var s=new TypeError("Expected parameter accessToken");throw r.logHandler("error",s),s}var a=r.insecure?"http":"https",u=r.space?r.space+"/":"",c=r.defaultHostname,f=r.insecure?80:443;if(H.test(r.host)){var l=r.host.split(":");if(2===l.length){var p=z(l,2);c=p[0],f=p[1]}else c=l[0]}r.basePath&&(r.basePath="/"+r.basePath.split("/").filter(Boolean).join("/"));var d=t.baseURL||a+"://"+c+":"+f+r.basePath+"/spaces/"+u;r.headers.Authorization="Bearer "+r.accessToken,n()&&(r.headers["user-agent"]="node.js/"+o(),r.headers["Accept-Encoding"]="gzip");var h={baseURL:d,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:B.a.stringify,proxy:r.proxy,timeout:r.timeout,logHandler:r.logHandler,retryOnError:r.retryOnError},y=e.create(h);return y.httpClientParams=t,y.cloneWithNewParams=function(r){return i(e,D({},L()(t),r))},function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5;e.interceptors.response.use(function(e){return e},function(r){var n=Math.pow,o=r.response,i=r.config;if(!i||!e.defaults.retryOnError)return Promise.reject(r);var s=null,a=0;if(o)N=0;else{if(s="Connection",++N>t)return r.attempts=N,Promise.reject(r);a=n(Math.SQRT2,N),o={}}if(500<=o.status&&600>o.status){s="Server "+o.status;var u=(o.headers||{})["x-contentful-request-id"]||null;if(q[u]=q[u]||0,q[u]++,q[u]>t||!u)return r.attempts=q[u],Promise.reject(r);a=n(Math.SQRT2,q[u])}else 429===o.status&&(s="Rate limit",o.headers&&r.response.headers["x-contentful-ratelimit-reset"]&&(a=o.headers["x-contentful-ratelimit-reset"]));return s?(a=Math.floor(1e3*a+200*Math.random()+500),e.defaults.logHandler("warning",s+" error occurred. Waiting for "+a+" ms before retrying..."),new Promise(function(t){setTimeout(function(){t(e(i))},a)})):Promise.reject(r)})}(y),y}function s(e){var t=e.query,r={};return delete t.resolveLinks,r.params=L()(t),r}function a(e){return function e(t){return Object.keys(t).forEach(function(r){var n=t[r];I()(n)&&e(n)}),Object.freeze(t)}(e.sys||{}),e}function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,r=null;return-1===["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?-1===["iPhone","iPad","iPod"].indexOf(t)?-1===["Win32","Win64","Windows","WinCE"].indexOf(t)?/Android/.test(e)?r="Android":/Linux/.test(t)&&(r="Linux"):r="Windows":r="iOS":r="macOS",r}function c(e,t,r,i){var s=[];t&&s.push("app "+t),r&&s.push("integration "+r),i&&s.push("feature "+i),s.push("sdk "+e);var a=null;return"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),s.push("platform ReactNative")):n()?(a=function(){var e=Object(W.platform)()||"linux",t=Object(W.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?(r[e]||"Linux")+"/"+t:null}(),s.push("platform node.js/"+o())):(a=u(),s.push("platform browser")),a&&s.push("os "+a),s.filter(function(e){return""!==e}).join("; ")+";"}function f(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return L()(this)}})}function l(e){return a(f(e))}function p(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return V()(this,e,t,function(e,t){return{sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}})}})}function d(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function h(e){return a(f(L()(e)))}function y(e,t){var r=t.resolveLinks,n=t.removeUnresolved,o=p(f(L()(e)));return r&&(o.items=Z(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),a(o)}function v(e){return a(f(L()(e)))}function m(e){return a(f(L()(e)))}function g(e){return a(f(L()(e)))}function b(e){return a(f(L()(e)))}function x(e){return a(f(L()(e)))}function w(e){return a(f(L()(e)))}function C(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&"Entry"!==t.type)throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");var n=ee({},{resolveLinks:!0,removeUnresolved:!1,paginate:!0},r),o=n.resolveLinks,i=n.removeUnresolved;return function e(t,r,n,o){var i=o.paginate;return n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type),t.get("sync",s({query:n})).then(function(o){var s=o.data;return r=r.concat(s.items),s.nextPageUrl?i?(delete n.initial,n.sync_token=j(s.nextPageUrl),e(t,r,n,{paginate:i})):{items:r,nextPageToken:j(s.nextPageUrl)}:s.nextSyncUrl?{items:r,nextSyncToken:j(s.nextSyncUrl)}:void 0})}(e,[],t,{paginate:n.paginate}).then(function(e){o&&(e.items=Z(e,{removeUnresolved:i,itemEntryPoints:["fields"]}));var t=function(e){var t=function(e){return function(t,r){return r.sys.type===e&&t.push(f(r)),t}};return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(e.items);return e.nextSyncToken&&(t.nextSyncToken=e.nextSyncToken),e.nextPageToken&&(t.nextPageToken=e.nextPageToken),a(p(f(t)))},function(e){throw e})}function j(e){var t=e.split("?");return 0<t.length?t[1].replace("sync_token=",""):""}function _(e){function t(e){if(e.data)throw e.data;throw e}function r(e){e.select&&!/sys/i.test(e.select)&&(e.select+=",sys")}function n(e){e.defaults.baseURL=i().environmentBaseUrl}var o=e.http,i=e.getGlobalOptions,a=Y.space.wrapSpace,u=Y.contentType,c=u.wrapContentType,f=u.wrapContentTypeCollection,l=Y.entry,p=l.wrapEntry,d=l.wrapEntryCollection,h=Y.asset,y=h.wrapAsset,v=h.wrapAssetCollection,m=Y.locale.wrapLocaleCollection;return{getSpace:function(){return function(e){e.defaults.baseURL=i().spaceBaseUrl}(o),o.get("").then(function(e){return a(e.data)},t)},getContentType:function(e){return n(o),o.get("content_types/"+e).then(function(e){return c(e.data)},t)},getContentTypes:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n(o),o.get("content_types",s({query:e})).then(function(e){return f(e.data)},t)},getEntry:function(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getEntries(te({"sys.id":e},r)).then(function(t){if(0<t.items.length)return p(t.items[0]);throw function(e){var t=new Error("The resource could not be found.");return t.sys={type:"Error",id:"NotFound"},t.details={type:"Entry",id:e,environment:i().environment,space:i().space},t}(e)},t)},getEntries:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};n(o);var a=i(e),u=a.resolveLinks,c=a.removeUnresolved;return r(e),o.get("entries",s({query:e})).then(function(e){return d(e.data,{resolveLinks:u,removeUnresolved:c})},t)},getAsset:function(e){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return n(o),r(i),o.get("assets/"+e,s({query:i})).then(function(e){return y(e.data)},t)},getAssets:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n(o),r(e),o.get("assets",s({query:e})).then(function(e){return v(e.data)},t)},getLocales:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n(o),o.get("locales",s({query:e})).then(function(e){return m(e.data)},t)},parseEntries:function(e){var t=i({}),r=t.resolveLinks,n=t.removeUnresolved;return d(e,{resolveLinks:r,removeUnresolved:n})},sync:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{paginate:!0},r=i(e),s=r.resolveLinks,a=r.removeUnresolved;return n(o),C(o,e,te({resolveLinks:s,removeUnresolved:a},t))}}}function O(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");var t=re({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"},e),r=c("contentful.js/0.0.0-determined-by-semantic-release",t.application,t.integration);t.headers=re({},t.headers,{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});var n=i(T.a,t),o=function(e){return function(t){return Object.assign({},e,t)}}({resolveLinks:t.resolveLinks,environment:t.environment,removeUnresolved:t.removeUnresolved,spaceBaseUrl:n.defaults.baseURL,environmentBaseUrl:n.defaults.baseURL+"environments/"+t.environment});return n.defaults.baseURL=o().environmentBaseUrl,_({http:n,getGlobalOptions:o})}r.r(t);var A={};r.r(A),r.d(A,"wrapSpace",function(){return l});var k={};r.r(k),r.d(k,"wrapEntry",function(){return h}),r.d(k,"wrapEntryCollection",function(){return y});var E={};r.r(E),r.d(E,"wrapAsset",function(){return v}),r.d(E,"wrapAssetCollection",function(){return m});var F={};r.r(F),r.d(F,"wrapContentType",function(){return g}),r.d(F,"wrapContentTypeCollection",function(){return b});var R={};r.r(R),r.d(R,"wrapLocale",function(){return x}),r.d(R,"wrapLocaleCollection",function(){return w});var S=r(33),T=r.n(S),P=r(0),L=r.n(P),U=r(34),B=r.n(U),q={},N=0,z=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),D=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},H=/^(?!\w+:\/\/)([^\s:]+\.[^\s:]+)(?::(\d+))?(?!:)$/,M=r(35),I=r.n(M),W=r(11),G=r(36),V=r.n(G),$="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},X={},J=function(e){return e&&e.sys&&"Link"===e.sys.type},Q=function(e,t){var r=t.sys,n=r.linkType,o=r.id;return function(e,t){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return X}(e,function(e){var t=e.sys;return t.type===n&&t.id===o})},K=function e(t,r,n,o){if(r(t))return n(t);if(t&&"object"===(void 0===t?"undefined":$(t))){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],r,n,o));o&&(t=function(e){if(Array.isArray(e))return e.filter(function(e){return e!==X});for(var t in e)e[t]===X&&delete e[t];return e}(t))}return t},Z=function(e,t){if(t=t||{},!e.items)return[];var r=L()(e),n=Object.keys(r.includes||{}).reduce(function(t,r){return[].concat(d(t),d(e.includes[r]))},[]),o=[].concat(d(r.items),d(n));return o.forEach(function(e){var r=function(e,t){return Array.isArray(t)?Object.keys(e).filter(function(e){return-1!==t.indexOf(e)}).reduce(function(t,r){return t[r]=e[r],t},{}):e}(e,t.itemEntryPoints);Object.assign(e,K(r,J,function(e){return function(e,t,r){var n=Q(e,t);return n===X?r?n:t:n}(o,e,t.removeUnresolved)},t.removeUnresolved))}),r.items},Y={space:A,entry:k,asset:E,contentType:F,locale:R},ee=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},te=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};r.d(t,"createClient",function(){return O});var re=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}]);
module.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(t){return e[t]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=37)}([function(e,t,r){var n=r(66);e.exports=function(e){return n(e,5)}},function(e,t,r){"use strict";function n(e){return"[object Array]"===c.call(e)}function o(e){return null!==e&&"object"==typeof e}function i(e){return"[object Function]"===c.call(e)}function s(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),n(e))for(var r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var a=r(12),u=r(39),c=Object.prototype.toString;e.exports={isArray:n,isArrayBuffer:function(e){return"[object ArrayBuffer]"===c.call(e)},isBuffer:u,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:o,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===c.call(e)},isFile:function(e){return"[object File]"===c.call(e)},isBlob:function(e){return"[object Blob]"===c.call(e)},isFunction:i,isStream:function(e){return o(e)&&i(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:s,merge:function e(){function t(t,n){r[n]="object"==typeof r[n]&&"object"==typeof t?e(r[n],t):t}for(var r={},n=0,o=arguments.length;n<o;n++)s(arguments[n],t);return r},extend:function(e,t,r){return s(t,function(t,n){e[n]=r&&"function"==typeof t?a(t,r):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var o=r(68),i=r(69),s=r(70),a=r(71),u=r(72);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,e.exports=n},function(e,t,r){var n=r(23);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(9)(Object,"create");e.exports=n},function(e,t,r){var n=r(88);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(26),o=r(27);e.exports=function(e,t,r,i){var s=!r;r||(r={});for(var a=-1,u=t.length;++a<u;){var c=t[a],f=i?i(r[c],e[c],c,r,e):void 0;void 0===f&&(f=e[c]),s?o(r,c,f):n(r,c,f)}return r}},function(e,t,r){"use strict";function n(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var o=r(1),i=r(41),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var e;return"undefined"==typeof XMLHttpRequest?"undefined"!=typeof process&&(e=r(47)):e=r(42),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(n(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(n(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return 200<=e&&300>e},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],function(e){a.headers[e]={}}),o.forEach(["post","put","patch"],function(e){a.headers[e]=o.merge(s)}),e.exports=a},function(e,t,r){"use strict";var n=r(14);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e){e.exports=require("os")},function(e){"use strict";e.exports=function(e,t){return function(){for(var r=Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(8);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e}},function(e,t,r){"use strict";function n(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(1);e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(o.isURLSearchParams(t))i=t.toString();else{var s=[];o.forEach(t,function(e,t){null===e||void 0===e||(o.isArray(e)&&(t+="[]"),!o.isArray(e)&&(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),s.push(n(t)+"="+n(e))}))}),i=s.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e){e.exports=require("http")},function(e){e.exports=require("https")},function(e,t,r){function n(e,t){c.call(this),e.headers=e.headers||{},this._options=e,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;if(this._onNativeResponse=function(e){r._processResponse(e)},!e.pathname&&e.path){var n=e.path.indexOf("?");0>n?e.pathname=e.path:(e.pathname=e.path.substring(0,n),e.search=e.path.substring(n))}this._performRequest()}function o(e){var t={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(e).forEach(function(o){var s=o+":",a=r[s]=e[o],c=t[o]=Object.create(a);c.request=function(e,o){return"string"==typeof e?(e=i.parse(e)).maxRedirects=t.maxRedirects:e=Object.assign({protocol:s,maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e),e.nativeProtocols=r,u.equal(e.protocol,s,"protocol mismatch"),f("options",e),new n(e,o)},c.get=function(e,t){var r=c.request(e,t);return r.end(),r}}),t}var i=r(19),s=r(16),a=r(17),u=r(48),c=r(49).Writable,f=r(50)("follow-redirects"),l={GET:!0,HEAD:!0,OPTIONS:!0,TRACE:!0},p=Object.create(null);["abort","aborted","error","socket","timeout"].forEach(function(e){p[e]=function(t){this._redirectable.emit(e,t)}}),n.prototype=Object.create(c.prototype),n.prototype.write=function(e,t,r){if(!("string"==typeof e||"object"==typeof e&&"length"in e))throw new Error("data should be a string, Buffer or Uint8Array");return"function"==typeof t&&(r=t,t=null),0===e.length?void(r&&r()):void(this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new Error("Request body larger than maxBodyLength limit")),this.abort()))},n.prototype.end=function(e,t,r){"function"==typeof e?(r=e,e=t=null):"function"==typeof t&&(r=t,t=null);var n=this._currentRequest;this.write(e||"",t,function(){n.end(null,null,r)})},n.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},n.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive","setTimeout"].forEach(function(e){n.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(n.prototype,e,{get:function(){return this._currentRequest[e]}})}),n.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var r=e.substr(0,e.length-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var o in this._currentUrl=i.format(this._options),n._redirectable=this,p)o&&n.on(o,p[o]);if(this._isRedirect){var s=0,a=this._requestBodyBuffers;!function e(){if(s<a.length){var t=a[s++];n.write(t.data,t.encoding,e)}else n.end()}()}}else this.emit("error",new Error("Unsupported protocol "+e))},n.prototype._processResponse=function(e){this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:e.statusCode});var t=e.headers.location;if(t&&!1!==this._options.followRedirects&&300<=e.statusCode&&400>e.statusCode){if(++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new Error("Max redirects exceeded."));var r,n=this._options.headers;if(307!==e.statusCode&&!(this._options.method in l))for(r in this._options.method="GET",this._requestBodyBuffers=[],n)/^content-/i.test(r)&&delete n[r];if(!this._isRedirect)for(r in n)/^host$/i.test(r)&&delete n[r];var o=i.resolve(this._currentUrl,t);f("redirecting to",o),Object.assign(this._options,i.parse(o)),this._isRedirect=!0,this._performRequest(),e.destroy()}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]},e.exports=o({http:s,https:a}),e.exports.wrap=o},function(e){e.exports=require("url")},function(e,t,r){function n(e){function r(){if(r.enabled){var e=r,o=+new Date,i=o-(n||o);e.diff=i,e.prev=n,e.curr=o,n=o;for(var s=Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var u=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,function(r,n){if("%%"===r)return r;u++;var o=t.formatters[n];if("function"==typeof o){var i=s[u];r=o.call(e,i),s.splice(u,1),u--}return r}),t.formatArgs.call(e,s),(r.log||t.log||console.log.bind(console)).apply(e,s)}}var n;return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]}(e),r.destroy=o,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];var r,n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(r=0;r<t.instances.length;r++){var i=t.instances[r];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(52),t.instances=[],t.names=[],t.skips=[],t.formatters={}},function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(9)(r(25),"Map");e.exports=n},function(e,t,r){var n=r(78),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){var n=r(27),o=r(23),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];i.call(e,t)&&o(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(93);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(10)(Object.keys,Object);e.exports=n},function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var n=r(10)(Object.getPrototypeOf,Object);e.exports=n},function(e){"use strict";var t=Object.prototype.hasOwnProperty,r=function(){for(var e=[],t=0;256>t;++t)e.push("%"+((16>t?"0":"")+t.toString(16)).toUpperCase());return e}(),n=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:n,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),a=0;a<s.length;++a){var u=s[a],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return function(e){for(var t,r;e.length;)if(t=(r=e.pop()).obj[r.prop],Array.isArray(t)){for(var n=[],o=0;o<t.length;++o)void 0!==t[o]&&n.push(t[o]);r.obj[r.prop]=n}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t,n="string"==typeof e?e:e+"",o="",i=0;i<n.length;++i)45===(t=n.charCodeAt(i))||46===t||95===t||126===t||48<=t&&57>=t||65<=t&&90>=t||97<=t&&122>=t?o+=n.charAt(i):128>t?o+=r[t]:2048>t?o+=r[192|t>>6]+r[128|63&t]:55296>t||57344<=t?o+=r[224|t>>12]+r[128|63&t>>6]+r[128|63&t]:(i+=1,t=65536+((1023&t)<<10|1023&n.charCodeAt(i)),o+=r[240|t>>18]+r[128|63&t>>12]+r[128|63&t>>6]+r[128|63&t]);return o},isBuffer:function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(r,o,i){if(!o)return r;if("object"!=typeof o){if(Array.isArray(r))r.push(o);else{if("object"!=typeof r)return[r,o];(i.plainObjects||i.allowPrototypes||!t.call(Object.prototype,o))&&(r[o]=!0)}return r}if("object"!=typeof r)return[r].concat(o);var s=r;return Array.isArray(r)&&!Array.isArray(o)&&(s=n(r,i)),Array.isArray(r)&&Array.isArray(o)?(o.forEach(function(n,o){t.call(r,o)?r[o]&&"object"==typeof r[o]?r[o]=e(r[o],n,i):r.push(n):r[o]=n}),r):Object.keys(o).reduce(function(r,n){var s=o[n];return r[n]=t.call(r,n)?e(r[n],s,i):s,r},s)}}},function(e){"use strict";var t=String.prototype.replace,r=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,r){e.exports=r(38)},function(e,t,r){"use strict";var n=r(116),o=r(117),i=r(32);e.exports={formats:i,parse:o,stringify:n}},function(e,t,r){var n=r(118),o=r(30),i=r(119),s=Function.prototype,a=Object.prototype,u=s.toString,c=a.hasOwnProperty,f=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==f}},function(e,t){function r(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(o,i){if(0<r.length){var s=r.indexOf(this);~s?r.splice(s+1):r.push(this),~s?n.splice(s,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return null==e?i:e.call(this,o,i)}}(e.exports=function(e,t,n,o){return JSON.stringify(e,r(t,o),n)}).getSerialize=r},function(e,t,r){e.exports=r(120)},function(e,t,r){"use strict";function n(e){var t=new s(e),r=i(s.prototype.request,t);return o.extend(r,s.prototype,t),o.extend(r,t),r}var o=r(1),i=r(12),s=r(40),a=r(7),u=n(a);u.Axios=s,u.create=function(e){return n(o.merge(a,e))},u.Cancel=r(22),u.CancelToken=r(64),u.isCancel=r(21),u.all=function(e){return Promise.all(e)},u.spread=r(65),e.exports=u,e.exports.default=u},function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";function n(e){this.defaults=e,this.interceptors={request:new s,response:new s}}var o=r(7),i=r(1),s=r(59),a=r(60);n.prototype.request=function(e){"string"==typeof e&&(e=i.merge({url:arguments[0]},arguments[1])),(e=i.merge(o,this.defaults,{method:"get"},e)).method=e.method.toLowerCase();var t=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},i.forEach(["delete","get","head","options"],function(e){n.prototype[e]=function(t,r){return this.request(i.merge(r||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){n.prototype[e]=function(t,r,n){return this.request(i.merge(n||{},{method:e,url:t,data:r}))}}),e.exports=n},function(e,t,r){"use strict";var n=r(1);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(1),o=r(13),i=r(15),s=r(43),a=r(44),u=r(8),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||r(45);e.exports=function(e){return new Promise(function(t,f){var l=e.data,p=e.headers;n.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",y=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||a(e.url)||(d=new window.XDomainRequest,h="onload",y=!0,d.onprogress=function(){},d.ontimeout=function(){}),e.auth){var v=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+c(v+":"+m)}if(d.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d[h]=function(){if(d&&(4===d.readyState||y)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:r,config:e,request:d};o(t,f,n),d=null}},d.onerror=function(){f(u("Network Error",e,null,d)),d=null},d.ontimeout=function(){f(u("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var g=r(46),b=(e.withCredentials||a(e.url))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}if("setRequestHeader"in d&&n.forEach(p,function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)}),e.withCredentials&&(d.withCredentials=!0),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){d&&(d.abort(),f(e),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(e,t,r){"use strict";var n=r(1),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&0<=o.indexOf(t))return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}}),s):s}},function(e,t,r){"use strict";var n=r(1);e.exports=n.isStandardBrowserEnv()?function(){function e(e){var t=e;return r&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(r){var o=n.isString(r)?e(r):r;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},function(e){"use strict";function t(){this.message="String contains an invalid character"}t.prototype=new Error,t.prototype.code=5,t.prototype.name="InvalidCharacterError",e.exports=function(e){for(var r,n,o=e+"",i="",s=0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|s)||(a="=",s%1);i+=a.charAt(63&r>>8-s%1*8)){if(255<(n=o.charCodeAt(s+=.75)))throw new t;r=r<<8|n}return i}},function(e,t,r){"use strict";var n=r(1);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(1),o=r(13),i=r(15),s=r(16),a=r(17),u=r(18).http,c=r(18).https,f=r(19),l=r(57),p=r(58),d=r(8),h=r(14),y=/https:?/;e.exports=function(e){return new Promise(function(t,r){var v,m,g=e.data,b=e.headers;if(b["User-Agent"]||b["user-agent"]||(b["User-Agent"]="axios/"+p.version),g&&!n.isStream(g)){if(Buffer.isBuffer(g));else if(n.isArrayBuffer(g))g=new Buffer(new Uint8Array(g));else{if(!n.isString(g))return r(d("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));g=new Buffer(g,"utf-8")}b["Content-Length"]=g.length}e.auth&&(m=(e.auth.username||"")+":"+(e.auth.password||""));var x=f.parse(e.url),w=x.protocol||"http:";if(!m&&x.auth){var C=x.auth.split(":");m=(C[0]||"")+":"+(C[1]||"")}m&&delete b.Authorization;var j=y.test(w),_=j?e.httpsAgent:e.httpAgent,O={hostname:x.hostname,port:x.port,path:i(x.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method,headers:b,agent:_,auth:m},A=e.proxy;if(!A&&!1!==A){var k=w.slice(0,-1)+"_proxy",E=process.env[k]||process.env[k.toUpperCase()];if(E){var F=f.parse(E);if(A={host:F.hostname,port:F.port},F.auth){var R=F.auth.split(":");A.auth={username:R[0],password:R[1]}}}}if(A&&(O.hostname=A.host,O.host=A.host,O.headers.host=x.hostname+(x.port?":"+x.port:""),O.port=A.port,O.path=w+"//"+x.hostname+(x.port?":"+x.port:"")+O.path,A.auth)){var S=new Buffer(A.auth.username+":"+A.auth.password,"utf8").toString("base64");O.headers["Proxy-Authorization"]="Basic "+S}var T,P=j&&(!A||y.test(A.protocol));e.transport?T=e.transport:0===e.maxRedirects?T=P?a:s:(e.maxRedirects&&(O.maxRedirects=e.maxRedirects),T=P?c:u);var L=T.request(O,function(n){if(!L.aborted){clearTimeout(v),v=null;var i=n;switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":i=i.pipe(l.createUnzip()),delete n.headers["content-encoding"]}var s=n.req||L,a={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:e,request:s};if("stream"===e.responseType)a.data=i,o(t,r,a);else{var u=[];i.on("data",function(t){u.push(t),-1<e.maxContentLength&&Buffer.concat(u).length>e.maxContentLength&&r(d("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,s))}),i.on("error",function(t){L.aborted||r(h(t,e,null,s))}),i.on("end",function(){var n=Buffer.concat(u);"arraybuffer"!==e.responseType&&(n=n.toString("utf8")),a.data=n,o(t,r,a)})}}});L.on("error",function(t){L.aborted||r(h(t,e,null,L))}),e.timeout&&!v&&(v=setTimeout(function(){L.abort(),r(d("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",L))},e.timeout)),e.cancelToken&&e.cancelToken.promise.then(function(e){L.aborted||(L.abort(),r(e))}),n.isStream(g)?g.pipe(L):L.end(g)})}},function(e){e.exports=require("assert")},function(e){e.exports=require("stream")},function(e,t,r){e.exports="undefined"==typeof process||"renderer"===process.type?r(51):r(53)},function(e,t,r){function n(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=r(20)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"===e||"%c"===e&&(i=++o)}),e.splice(i,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=n,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||!("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+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.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"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(n())},function(e){function t(e){if(!(100<(e+="").length)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();return"years"===n||"year"===n||"yrs"===n||"yr"===n||"y"===n?r*c:"days"===n||"day"===n||"d"===n?r*u:"hours"===n||"hour"===n||"hrs"===n||"hr"===n||"h"===n?r*a:"minutes"===n||"minute"===n||"mins"===n||"min"===n||"m"===n?r*s:"seconds"===n||"second"===n||"secs"===n||"sec"===n||"s"===n?r*i:"milliseconds"===n||"millisecond"===n||"msecs"===n||"msec"===n||"ms"===n?r:void 0}}}function r(e){var t=Math.round;return e>=u?t(e/u)+"d":e>=a?t(e/a)+"h":e>=s?t(e/s)+"m":e>=i?t(e/i)+"s":e+"ms"}function n(e){return o(e,u,"day")||o(e,a,"hour")||o(e,s,"minute")||o(e,i,"second")||e+" ms"}function o(e,t,r){return e<t?void 0:e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}var i=1e3,s=60*i,a=60*s,u=24*a,c=365.25*u;e.exports=function(e,o){o=o||{};var i=typeof e;if("string"==i&&0<e.length)return t(e);if("number"==i&&!1===isNaN(e))return o.long?n(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){function n(){return process.env.DEBUG}var o=r(54),i=r(55);(t=e.exports=r(20)).init=function(e){e.inspectOpts={};for(var r=Object.keys(t.inspectOpts),n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(){return process.stderr.write(i.format.apply(i,arguments)+"\n")},t.formatArgs=function(e){var r=this.namespace;if(this.useColors){var n=this.color,o="[3"+(8>n?n:"8;5;"+n),i=" "+o+";1m"+r+" ";e[0]=i+e[0].split("\n").join("\n"+i),e.push(o+"m+"+t.humanize(this.diff)+"")}else e[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+e[0]},t.save=function(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e},t.load=n,t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:o.isatty(process.stderr.fd)},t.colors=[6,2,3,4,5,1];try{var s=r(56);s&&2<=s.level&&(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 r=t.substring(6).toLowerCase().replace(/_([a-z])/g,function(e,t){return t.toUpperCase()}),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:+n),e[r]=n,e},{}),t.formatters.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(function(e){return e.trim()}).join(" ")},t.formatters.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)},t.enable(n())},function(e){e.exports=require("tty")},function(e){e.exports=require("util")},function(e){"use strict";var t=process.argv,r=t.indexOf("--"),n=function(e){e="--"+e;var n=t.indexOf(e);return-1!==n&&(!(-1!==r)||n<r)};e.exports=!!("FORCE_COLOR"in process.env)||!(n("no-color")||n("no-colors")||n("color=false"))&&(!!(n("color")||n("colors")||n("color=true")||n("color=always"))||(!process.stdout||process.stdout.isTTY)&&(!("win32"!==process.platform)||!!("COLORTERM"in process.env)||"dumb"!==process.env.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)))},function(e){e.exports=require("zlib")},function(e){e.exports={_from:"@contentful/axios@^0.18.0",_id:"@contentful/axios@0.18.0",_inBundle:!1,_integrity:"sha512-4r4Ww1IJlmRolKgovLTTmdS6CsdvXYVxgXRFwWSh1x36T/0Wg9kTwdaVaApZXcv1DfYyw9RSNdxIGSwTP2/Lag==",_location:"/@contentful/axios",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"@contentful/axios@^0.18.0",name:"@contentful/axios",escapedName:"@contentful%2faxios",scope:"@contentful",rawSpec:"^0.18.0",saveSpec:null,fetchSpec:"^0.18.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/@contentful/axios/-/axios-0.18.0.tgz",_shasum:"576e0e6047411a66971e82d40688a8c795e62f27",_spec:"@contentful/axios@^0.18.0",_where:"/home/travis/build/contentful/contentful.js",author:{name:"Matt Zabriskie"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},bugs:{url:"https://github.com/axios/axios/issues"},bundleDependencies:!1,bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}],dependencies:{"follow-redirects":"^1.2.5","is-buffer":"^1.1.5"},deprecated:!1,description:"Promise based HTTP client for the browser and node.js",devDependencies:{bundlesize:"^0.5.7",coveralls:"^2.11.9","es6-promise":"^4.0.5",grunt:"^1.0.1","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-nodeunit":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^19.0.0","grunt-karma":"^2.0.0","grunt-ts":"^6.0.0-beta.3","grunt-webpack":"^1.0.18","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^1.3.0","karma-chrome-launcher":"^2.0.0","karma-coverage":"^1.0.0","karma-firefox-launcher":"^1.0.0","karma-jasmine":"^1.0.2","karma-jasmine-ajax":"^0.1.13","karma-opera-launcher":"^1.0.0","karma-phantomjs-launcher":"^1.0.0","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^1.1.0","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0","phantomjs-prebuilt":"^2.1.7",sinon:"^1.17.4",typescript:"^2.0.3","url-search-params":"^0.6.1",webpack:"^1.13.1","webpack-dev-server":"^1.14.1"},homepage:"https://github.com/axios/axios",keywords:["xhr","http","ajax","promise","node"],license:"MIT",main:"index.js",name:"@contentful/axios",repository:{type:"git",url:"git+https://github.com/contentful/axios.git"},scripts:{build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test && bundlesize",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},typings:"./index.d.ts",version:"0.18.0"}},function(e,t,r){"use strict";function n(){this.handlers=[]}var o=r(1);n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=n},function(e,t,r){"use strict";function n(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=r(1),i=r(61),s=r(21),a=r(7),u=r(62),c=r(63);e.exports=function(e){return n(e),e.baseURL&&!u(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return n(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return s(t)||(n(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(1);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new o(e),t(r.reason))})}var o=r(22);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n(function(t){e=t}),cancel:e}},e.exports=n},function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){var n=r(67),o=r(92),i=r(26),s=r(94),a=r(95),u=r(97),c=r(99),f=r(100),l=r(102),p=r(104),d=r(105),h=r(106),y=r(107),v=r(108),m=r(109),g=r(112),b=r(113),x=r(114),w=r(29),C=r(115),j=r(28),_=1,O=2,A=4,k="[object Arguments]",E="[object Function]",F="[object GeneratorFunction]",R="[object Object]",S={};S[k]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[R]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[E]=S["[object WeakMap]"]=!1,e.exports=function e(t,r,T,P,L,U){var B,q=r&_,N=r&O;if(T&&(B=L?T(t,P,L,U):T(t)),void 0!==B)return B;if(!w(t))return t;var z=g(t);if(z){if(B=y(t),!q)return c(t,B)}else{var D=h(t),H=D==E||D==F;if(b(t))return u(t,q);if(D==R||D==k||H&&!L){if(B=N||H?{}:m(t),!q)return N?l(t,a(B,t)):f(t,s(B,t))}else{if(!S[D])return L?t:{};B=v(t,D,q)}}U||(U=new n);var M=U.get(t);if(M)return M;if(U.set(t,B),C(t))return t.forEach(function(n){B.add(e(n,r,T,n,t,U))}),B;if(x(t))return t.forEach(function(n,o){B.set(o,e(n,r,T,o,t,U))}),B;var I=r&A?N?d:p:N?keysIn:j,W=z?void 0:I(t);return o(W||t,function(n,o){W&&(n=t[o=n]),i(B,o,e(n,r,T,o,t,U))}),B}},function(e,t,r){function n(e){var t=this.__data__=new o(e);this.size=t.size}var o=r(2),i=r(73),s=r(74),a=r(75),u=r(76),c=r(77);n.prototype.clear=i,n.prototype.delete=s,n.prototype.get=a,n.prototype.has=u,n.prototype.set=c,e.exports=n},function(e){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(3),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(0>r)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(3);e.exports=function(e){var t=this.__data__,r=n(t,e);return 0>r?void 0:t[r][1]}},function(e,t,r){var n=r(3);e.exports=function(e){return-1<n(this.__data__,e)}},function(e,t,r){var n=r(3);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return 0>o?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(2);e.exports=function(){this.__data__=new n,this.size=0}},function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e){e.exports=function(e){return this.__data__.get(e)}},function(e){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(2),o=r(24),i=r(79);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(e,t),this.size=r.size,this}},function(e){var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var o=r(80),i=r(87),s=r(89),a=r(90),u=r(91);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,e.exports=n},function(e,t,r){var n=r(81),o=r(2),i=r(24);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}var o=r(82),i=r(83),s=r(84),a=r(85),u=r(86);n.prototype.clear=o,n.prototype.delete=i,n.prototype.get=s,n.prototype.has=a,n.prototype.set=u,e.exports=n},function(e,t,r){var n=r(4);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(4),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(4),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(4);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(5);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(5);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(5);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(5);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(9),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(6),o=r(28);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(6),o=r(96);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(25),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(98)(e))},function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],!e.children&&(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(6),o=r(101);e.exports=function(e,t){return n(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,r){var n=r(6),o=r(103);e.exports=function(e,t){return n(e,o(e),t)}},function(e){e.exports=function(){return[]}},function(e,t,r){var n=r(10)(Object.keys,Object);e.exports=n},function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e){e.exports=function(e){return e}},function(e,t,r){var n=r(110),o=r(30),i=r(111);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(29),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e){e.exports=function(){return!1}},function(e){var t=Array.isArray;e.exports=t},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e){e.exports=function(){return!1}},function(e,t,r){"use strict";var n=r(31),o=r(32),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Date.prototype.toISOString,a={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return s.call(e)},skipNulls:!1,strictNullHandling:!1},u=function e(t,r,o,i,s,u,c,f,l,p,d,h){var y=t;if("function"==typeof c)y=c(r,y);else if(y instanceof Date)y=p(y);else if(null===y){if(i)return u&&!h?u(r,a.encoder):r;y=""}if("string"==typeof y||"number"==typeof y||"boolean"==typeof y||n.isBuffer(y))return u?[d(h?r:u(r,a.encoder))+"="+d(u(y,a.encoder))]:[d(r)+"="+d(y+"")];var v,m=[];if(void 0===y)return m;if(Array.isArray(c))v=c;else{var g=Object.keys(y);v=f?g.sort(f):g}for(var b,x=0;x<v.length;++x)b=v[x],(!s||null!==y[b])&&(m=Array.isArray(y)?m.concat(e(y[b],o(r,b),o,i,s,u,c,f,l,p,d,h)):m.concat(e(y[b],r+(l?"."+b:"["+b+"]"),o,i,s,u,c,f,l,p,d,h)));return m};e.exports=function(e,t){var r=e,s=t?n.assign({},t):{};if(null!==s.encoder&&void 0!==s.encoder&&"function"!=typeof s.encoder)throw new TypeError("Encoder has to be a function.");var c=void 0===s.delimiter?a.delimiter:s.delimiter,f="boolean"==typeof s.strictNullHandling?s.strictNullHandling:a.strictNullHandling,l="boolean"==typeof s.skipNulls?s.skipNulls:a.skipNulls,p="boolean"==typeof s.encode?s.encode:a.encode,d="function"==typeof s.encoder?s.encoder:a.encoder,h="function"==typeof s.sort?s.sort:null,y=void 0!==s.allowDots&&s.allowDots,v="function"==typeof s.serializeDate?s.serializeDate:a.serializeDate,m="boolean"==typeof s.encodeValuesOnly?s.encodeValuesOnly:a.encodeValuesOnly;if(void 0===s.format)s.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,s.format))throw new TypeError("Unknown format option provided.");var g,b,x=o.formatters[s.format];"function"==typeof s.filter?r=(b=s.filter)("",r):Array.isArray(s.filter)&&(g=b=s.filter);var w=[];if("object"!=typeof r||null===r)return"";var C=s.arrayFormat in i?s.arrayFormat:"indices"in s?s.indices?"indices":"repeat":"indices",j=i[C];g||(g=Object.keys(r)),h&&g.sort(h);for(var _,O=0;O<g.length;++O)_=g[O],(!l||null!==r[_])&&(w=w.concat(u(r[_],_,j,f,l,p?d:null,b,h,y,v,x,m)));var A=w.join(c),k=!0===s.addQueryPrefix?"?":"";return 0<A.length?k+A:""}},function(e,t,r){"use strict";var n=r(31),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},s=function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,s=t.parameterLimit===1/0?void 0:t.parameterLimit,a=n.split(t.delimiter,s),u=0;u<a.length;++u){var c,f,l=a[u],p=l.indexOf("]="),d=-1===p?l.indexOf("="):p+1;-1===d?(c=t.decoder(l,i.decoder),f=t.strictNullHandling?null:""):(c=t.decoder(l.slice(0,d),i.decoder),f=t.decoder(l.slice(d+1),i.decoder)),r[c]=o.call(r,c)?[].concat(r[c]).concat(f):f}return r},a=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=/(\[[^[\]]*])/.exec(n),a=s?n.slice(0,s.index):n,u=[];if(a){if(!r.plainObjects&&o.call(Object.prototype,a)&&!r.allowPrototypes)return;u.push(a)}for(var c=0;null!==(s=i.exec(n))&&c<r.depth;){if(c+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+n.slice(s.index)+"]"),function(e,t,r){for(var n=t,o=e.length-1;0<=o;--o){var i,s=e[o];if("[]"===s)i=(i=[]).concat(n);else{i=r.plainObjects?Object.create(null):{};var a="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(a,10);!isNaN(u)&&s!==a&&u+""===a&&0<=u&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=n:i[a]=n}n=i}return n}(u,t,r)}};e.exports=function(e,t){var r=t?n.assign({},t):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:i.delimiter,r.depth="number"==typeof r.depth?r.depth:i.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:i.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:i.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:i.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:i.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:i.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:i.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:i.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?s(e,r):e,u=r.plainObjects?Object.create(null):{},c=Object.keys(o),f=0;f<c.length;++f){var l=c[f],p=a(l,o[l],r);u=n.merge(u,p,r)}return n.compact(u)}},function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,r){"use strict";function n(){return"undefined"!=typeof process&&!process.browser}function o(){return process.versions.node?"v"+process.versions.node:process.version}function i(e,t){var r=D({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){if("error"===e&&t){var r=[t.name,t.message].filter(function(e){return e}).join(" - ");return console.error("[error] "+r),void console.error(t)}console.log("["+e+"] "+t)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,proxy:!1,basePath:""},t);if(!r.accessToken){var s=new TypeError("Expected parameter accessToken");throw r.logHandler("error",s),s}var a=r.insecure?"http":"https",u=r.space?r.space+"/":"",c=r.defaultHostname,f=r.insecure?80:443;if(H.test(r.host)){var l=r.host.split(":");if(2===l.length){var p=z(l,2);c=p[0],f=p[1]}else c=l[0]}r.basePath&&(r.basePath="/"+r.basePath.split("/").filter(Boolean).join("/"));var d=t.baseURL||a+"://"+c+":"+f+r.basePath+"/spaces/"+u;r.headers.Authorization="Bearer "+r.accessToken,n()&&(r.headers["user-agent"]="node.js/"+o(),r.headers["Accept-Encoding"]="gzip");var h={baseURL:d,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:B.a.stringify,proxy:r.proxy,timeout:r.timeout,logHandler:r.logHandler,retryOnError:r.retryOnError},y=e.create(h);return y.httpClientParams=t,y.cloneWithNewParams=function(r){return i(e,D({},L()(t),r))},function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:5;e.interceptors.response.use(function(e){return e},function(r){var n=Math.pow,o=r.response,i=r.config;if(!i||!e.defaults.retryOnError)return Promise.reject(r);var s=null,a=0;if(o)N=0;else{if(s="Connection",++N>t)return r.attempts=N,Promise.reject(r);a=n(Math.SQRT2,N),o={}}if(500<=o.status&&600>o.status){s="Server "+o.status;var u=(o.headers||{})["x-contentful-request-id"]||null;if(q[u]=q[u]||0,q[u]++,q[u]>t||!u)return r.attempts=q[u],Promise.reject(r);a=n(Math.SQRT2,q[u])}else 429===o.status&&(s="Rate limit",o.headers&&r.response.headers["x-contentful-ratelimit-reset"]&&(a=o.headers["x-contentful-ratelimit-reset"]));return s?(a=Math.floor(1e3*a+200*Math.random()+500),e.defaults.logHandler("warning",s+" error occurred. Waiting for "+a+" ms before retrying..."),function(e){return new Promise(function(t){setTimeout(t,e)})}(a).then(function(){return e(i)})):Promise.reject(r)})}(y),y}function s(e){var t=e.query,r={};return delete t.resolveLinks,r.params=L()(t),r}function a(e){return function e(t){return Object.keys(t).forEach(function(r){var n=t[r];I()(n)&&e(n)}),Object.freeze(t)}(e.sys||{}),e}function u(){if(!window)return null;var e=window.navigator.userAgent,t=window.navigator.platform,r=null;return-1===["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?-1===["iPhone","iPad","iPod"].indexOf(t)?-1===["Win32","Win64","Windows","WinCE"].indexOf(t)?/Android/.test(e)?r="Android":/Linux/.test(t)&&(r="Linux"):r="Windows":r="iOS":r="macOS",r}function c(e,t,r,i){var s=[];t&&s.push("app "+t),r&&s.push("integration "+r),i&&s.push("feature "+i),s.push("sdk "+e);var a=null;return"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=u(),s.push("platform ReactNative")):n()?(a=function(){var e=Object(W.platform)()||"linux",t=Object(W.release)()||"0.0.0",r={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in r?(r[e]||"Linux")+"/"+t:null}(),s.push("platform node.js/"+o())):(a=u(),s.push("platform browser")),a&&s.push("os "+a),s.filter(function(e){return""!==e}).join("; ")+";"}function f(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return L()(this)}})}function l(e){return a(f(e))}function p(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return V()(this,e,t,function(e,t){return{sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}})}})}function d(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function h(e){return a(f(L()(e)))}function y(e,t){var r=t.resolveLinks,n=t.removeUnresolved,o=p(f(L()(e)));return r&&(o.items=Z(o,{removeUnresolved:n,itemEntryPoints:["fields"]})),a(o)}function v(e){return a(f(L()(e)))}function m(e){return a(f(L()(e)))}function g(e){return a(f(L()(e)))}function b(e){return a(f(L()(e)))}function x(e){return a(f(L()(e)))}function w(e){return a(f(L()(e)))}function C(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&"Entry"!==t.type)throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");var n=ee({},{resolveLinks:!0,removeUnresolved:!1,paginate:!0},r),o=n.resolveLinks,i=n.removeUnresolved;return function e(t,r,n,o){var i=o.paginate;return n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type),t.get("sync",s({query:n})).then(function(o){var s=o.data;return r=r.concat(s.items),s.nextPageUrl?i?(delete n.initial,n.sync_token=j(s.nextPageUrl),e(t,r,n,{paginate:i})):{items:r,nextPageToken:j(s.nextPageUrl)}:s.nextSyncUrl?{items:r,nextSyncToken:j(s.nextSyncUrl)}:void 0})}(e,[],t,{paginate:n.paginate}).then(function(e){o&&(e.items=Z(e,{removeUnresolved:i,itemEntryPoints:["fields"]}));var t=function(e){var t=function(e){return function(t,r){return r.sys.type===e&&t.push(f(r)),t}};return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(e.items);return e.nextSyncToken&&(t.nextSyncToken=e.nextSyncToken),e.nextPageToken&&(t.nextPageToken=e.nextPageToken),a(p(f(t)))},function(e){throw e})}function j(e){var t=e.split("?");return 0<t.length?t[1].replace("sync_token=",""):""}function _(e){function t(e){if(e.data)throw e.data;throw e}function r(e){e.select&&!/sys/i.test(e.select)&&(e.select+=",sys")}function n(e){e.defaults.baseURL=i().environmentBaseUrl}var o=e.http,i=e.getGlobalOptions,a=Y.space.wrapSpace,u=Y.contentType,c=u.wrapContentType,f=u.wrapContentTypeCollection,l=Y.entry,p=l.wrapEntry,d=l.wrapEntryCollection,h=Y.asset,y=h.wrapAsset,v=h.wrapAssetCollection,m=Y.locale.wrapLocaleCollection;return{getSpace:function(){return function(e){e.defaults.baseURL=i().spaceBaseUrl}(o),o.get("").then(function(e){return a(e.data)},t)},getContentType:function(e){return n(o),o.get("content_types/"+e).then(function(e){return c(e.data)},t)},getContentTypes:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n(o),o.get("content_types",s({query:e})).then(function(e){return f(e.data)},t)},getEntry:function(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.getEntries(te({"sys.id":e},r)).then(function(t){if(0<t.items.length)return p(t.items[0]);throw function(e){var t=new Error("The resource could not be found.");return t.sys={type:"Error",id:"NotFound"},t.details={type:"Entry",id:e,environment:i().environment,space:i().space},t}(e)},t)},getEntries:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};n(o);var a=i(e),u=a.resolveLinks,c=a.removeUnresolved;return r(e),o.get("entries",s({query:e})).then(function(e){return d(e.data,{resolveLinks:u,removeUnresolved:c})},t)},getAsset:function(e){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return n(o),r(i),o.get("assets/"+e,s({query:i})).then(function(e){return y(e.data)},t)},getAssets:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n(o),r(e),o.get("assets",s({query:e})).then(function(e){return v(e.data)},t)},getLocales:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n(o),o.get("locales",s({query:e})).then(function(e){return m(e.data)},t)},parseEntries:function(e){var t=i({}),r=t.resolveLinks,n=t.removeUnresolved;return d(e,{resolveLinks:r,removeUnresolved:n})},sync:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{paginate:!0},r=i(e),s=r.resolveLinks,a=r.removeUnresolved;return n(o),C(o,e,te({resolveLinks:s,removeUnresolved:a},t))}}}function O(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");var t=re({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"},e),r=c("contentful.js/0.0.0-determined-by-semantic-release",t.application,t.integration);t.headers=re({},t.headers,{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});var n=i(T.a,t),o=function(e){return function(t){return Object.assign({},e,t)}}({resolveLinks:t.resolveLinks,environment:t.environment,removeUnresolved:t.removeUnresolved,spaceBaseUrl:n.defaults.baseURL,environmentBaseUrl:n.defaults.baseURL+"environments/"+t.environment});return n.defaults.baseURL=o().environmentBaseUrl,_({http:n,getGlobalOptions:o})}r.r(t);var A={};r.r(A),r.d(A,"wrapSpace",function(){return l});var k={};r.r(k),r.d(k,"wrapEntry",function(){return h}),r.d(k,"wrapEntryCollection",function(){return y});var E={};r.r(E),r.d(E,"wrapAsset",function(){return v}),r.d(E,"wrapAssetCollection",function(){return m});var F={};r.r(F),r.d(F,"wrapContentType",function(){return g}),r.d(F,"wrapContentTypeCollection",function(){return b});var R={};r.r(R),r.d(R,"wrapLocale",function(){return x}),r.d(R,"wrapLocaleCollection",function(){return w});var S=r(33),T=r.n(S),P=r(0),L=r.n(P),U=r(34),B=r.n(U),q={},N=0,z=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),D=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},H=/^(?!\w+:\/\/)([^\s:]+\.[^\s:]+)(?::(\d+))?(?!:)$/,M=r(35),I=r.n(M),W=r(11),G=r(36),V=r.n(G),$="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},X={},J=function(e){return e&&e.sys&&"Link"===e.sys.type},Q=function(e,t){var r=t.sys,n=r.linkType,o=r.id;return function(e,t){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return X}(e,function(e){var t=e.sys;return t.type===n&&t.id===o})},K=function e(t,r,n,o){if(r(t))return n(t);if(t&&"object"===(void 0===t?"undefined":$(t))){for(var i in t)t.hasOwnProperty(i)&&(t[i]=e(t[i],r,n,o));o&&(t=function(e){if(Array.isArray(e))return e.filter(function(e){return e!==X});for(var t in e)e[t]===X&&delete e[t];return e}(t))}return t},Z=function(e,t){if(t=t||{},!e.items)return[];var r=L()(e),n=Object.keys(r.includes||{}).reduce(function(t,r){return[].concat(d(t),d(e.includes[r]))},[]),o=[].concat(d(r.items),d(n));return o.forEach(function(e){var r=function(e,t){return Array.isArray(t)?Object.keys(e).filter(function(e){return-1!==t.indexOf(e)}).reduce(function(t,r){return t[r]=e[r],t},{}):e}(e,t.itemEntryPoints);Object.assign(e,K(r,J,function(e){return function(e,t,r){var n=Q(e,t);return n===X?r?n:t:n}(o,e,t.removeUnresolved)},t.removeUnresolved))}),r.items},Y={space:A,entry:k,asset:E,contentType:F,locale:R},ee=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},te=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};r.d(t,"createClient",function(){return O});var re=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}]);
{
"name": "contentful",
"description": "Client for Contentful's Content Delivery API",
"version": "7.0.4",
"version": "7.0.5",
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/",

@@ -63,3 +63,3 @@ "main": "./dist/contentful.node.js",

"contentful-resolve-response": "^1.1.4",
"contentful-sdk-core": "^6.0.1",
"contentful-sdk-core": "^6.0.2",
"json-stringify-safe": "^5.0.1",

@@ -66,0 +66,0 @@ "lodash": "^4.17.5"

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet