text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{226:function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"createHttpClient",(function(){return _})),r.d(t,"createRequestConfig",(function(){return M})),r.d(t,"enforceObjPath",(function(){return U})),r.d(t,"freezeSys",(function(){return L})),r.d(t,"getUserAgentHeader",(function(){return C})),r.d(t,"toPlainObject",(function(){return D}));var n=r(227),o=r.n(n),c=r(240),f=r.n(c),l=r(236);function y(e){return(y="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})(e)}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function v(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(t){d(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function m(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var t=[],r=!0,n=!1,o=void 0;try{for(var c,f=e[Symbol.iterator]();!(r=(c=f.next()).done)&&(t.push(c.value),!i||t.length!==i);r=!0);}catch(e){n=!0,o=e}finally{try{r||null==f.return||f.return()}finally{if(n)throw o}}return t}(e,i)||O(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var j={},P=0;function S(){}var A=function(e){return new Promise((function(t){setTimeout(t,e)}))};function x(){return void 0!==e&&!1}function E(){return e.versions&&e.versions.node?"v".concat(e.versions.node):e.version}var k=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function _(e,t){var r=v(v({},{insecure:!1,retryOnError:!0,logHandler:function(e,data){if("error"===e&&data){var title=[data.name,data.message].filter((function(a){return a})).join(" - ");return console.error("[error] ".concat(title)),void console.error(data)}console.log("[".concat(e,"] ").concat(data))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824}),t);if(!r.accessToken){var n=new TypeError("Expected parameter accessToken");throw r.logHandler("error",n),n}var c=r.insecure?"http":"https",l=r.space?"".concat(r.space,"/"):"",y=r.defaultHostname,d=r.insecure?80:443;if(r.host&&k.test(r.host)){var h=r.host.split(":");if(2===h.length){var O=m(h,2);y=O[0],d=O[1]}else y=h[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var w=t.baseURL||"".concat(c,"://").concat(y,":").concat(d).concat(r.basePath,"/spaces/").concat(l);r.headers.Authorization||"function"==typeof r.accessToken||(r.headers.Authorization="Bearer "+r.accessToken),x()&&(r.headers["user-agent"]="node.js/"+E(),r.headers["Accept-Encoding"]="gzip");var M={baseURL:w,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:f.a.stringify,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},U=e.create(M);return U.httpClientParams=t,U.cloneWithNewParams=function(r){return _(e,v(v({},o()(t)),r))},r.onBeforeRequest&&U.interceptors.request.use(r.onBeforeRequest),"function"==typeof r.accessToken&&function(e,t){e.interceptors.request.use((function(e){return t().then((function(t){return e.headers=v(v({},e.headers),{},{Authorization:"Bearer ".concat(t)}),e}))}))}(U,r.accessToken),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=e.defaults,n=r.responseLogger,o=void 0===n?S:n,c=r.requestLogger,f=void 0===c?S:c;e.interceptors.request.use((function(e){return f(e),e}),(function(e){return f(e),Promise.reject(e)})),e.interceptors.response.use((function(e){return o(e),e}),(function(r){var n=r.response,c=r.config;if(o(r),!c||!e.defaults.retryOnError)return Promise.reject(r);var f=null,l=0;if(n)P=0;else{if(f="Connection",++P>t)return r.attempts=P,Promise.reject(r);l=Math.pow(Math.SQRT2,P),n={}}if(n.status>=500&&n.status<600){f="Server ".concat(n.status);var y=(n.headers||{})["x-contentful-request-id"]||null;if(j[y]=j[y]||0,j[y]++,j[y]>t||!y)return r.attempts=j[y],Promise.reject(r);l=Math.pow(Math.SQRT2,j[y])}else 429===n.status&&(f="Rate limit",n.headers&&r.response.headers["x-contentful-ratelimit-reset"]&&(l=n.headers["x-contentful-ratelimit-reset"]));return f?(l=Math.floor(1e3*l+200*Math.random()+500),e.defaults.logHandler("warning","".concat(f," error occurred. Waiting for ").concat(l," ms before retrying...")),delete c.httpAgent,delete c.httpsAgent,A(l).then((function(){return e(c)}))):Promise.reject(r)}))}(U,r.retryLimit),r.onError&&U.interceptors.response.use((function(e){return e}),r.onError),U}function M(e){var t=e.query,r={};return delete t.resolveLinks,r.params=o()(t),r}function U(e,path){if(!(path in e)){var t=new Error;throw t.name="PropertyMissing",t.message="Required property ".concat(path," missing from:\n\n").concat(JSON.stringify(e),"\n\n"),t}return!0}function T(object){var e,t=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=O(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,f=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}(Object.getOwnPropertyNames(object));try{for(t.s();!(e=t.n()).done;){var r=object[e.value];r&&"object"===y(r)&&T(r)}}catch(e){t.e(e)}finally{t.f()}return Object.freeze(object)}function L(e){return T(e.sys||{}),e}function R(){var e=window;if(!e)return null;var t=e.navigator.userAgent,r=e.navigator.platform,n=null;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(r)?n="macOS":-1!==["iPhone","iPad","iPod"].indexOf(r)?n="iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(r)?n="Windows":/Android/.test(t)?n="Android":/Linux/.test(r)&&(n="Linux"),n}function C(e,t,r,n){var o=[];t&&o.push("app ".concat(t)),r&&o.push("integration ".concat(r)),n&&o.push("feature "+n),o.push("sdk ".concat(e));var c=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(c=R(),o.push("platform ReactNative")):x()?(c=function(){var e=Object(l.platform)()||"linux",t=Object(l.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?"".concat(r[e]||"Linux","/").concat(t):null}(),o.push("platform node.js/".concat(E()))):(c=R(),o.push("platform browser"))}catch(e){c=null}return c&&o.push("os ".concat(c)),"".concat(o.filter((function(e){return""!==e})).join("; "),";")}function D(data){return Object.defineProperty(data,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return o()(this)}})}}.call(this,r(110))},227:function(e,t,r){(function(t){var r;r=function(){"use strict";var e=Function.prototype.toString,r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,l=Object.getPrototypeOf,y=Object.prototype,d=y.hasOwnProperty,h=y.propertyIsEnumerable,v="function"==typeof f,m="function"==typeof WeakMap,O=function(object,t){if(!object.constructor)return r(null);var n=object.constructor,o=object.__proto__||l(object);if(n===t.Object)return o===t.Object.prototype?{}:r(o);if(~e.call(n).indexOf("[native code]"))try{return new n}catch(e){}return r(o)},w=function(object,e,t,r){var n=O(object,e);for(var o in r.set(object,n),object)d.call(object,o)&&(n[o]=t(object[o],r));if(v){var c=f(object),l=c.length;if(l)for(var y=0,symbol=void 0;y<l;y++)symbol=c[y],h.call(object,symbol)&&(n[symbol]=t(object[symbol],r))}return n},j=function(object,e,t,r){var l=O(object,e);r.set(object,l);var y=v?c(object).concat(f(object)):c(object),d=y.length;if(d)for(var h=0,m=void 0,w=void 0;h<d;h++)if("callee"!==(m=y[h])&&"caller"!==m)if(w=o(object,m)){w.get||w.set||(w.value=t(object[m],r));try{n(l,m,w)}catch(e){l[m]=w.value}}else l[m]=t(object[m],r);return l},P=Array.isArray,S="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:void(console&&console.error&&console.error('Unable to locate global object, returning "this".'));function A(object,e){var t=!(!e||!e.isStrict),n=e&&e.realm||S,o=t?j:w,c=function(object,e){if(!object||"object"!=typeof object)return object;if(e.has(object))return e.get(object);var r,f,l,y=object.constructor;if(y===n.Object)return o(object,n,c,e);if(P(object)){if(t)return j(object,n,c,e);var d=object.length;r=new y,e.set(object,r);for(var h=0;h<d;h++)r[h]=c(object[h],e);return r}if(object instanceof n.Date)return new y(object.getTime());if(object instanceof n.RegExp)return(r=new y(object.source,object.flags||(l="",(f=object).global&&(l+="g"),f.ignoreCase&&(l+="i"),f.multiline&&(l+="m"),f.unicode&&(l+="u"),f.sticky&&(l+="y"),l))).lastIndex=object.lastIndex,r;if(n.Map&&object instanceof n.Map)return r=new y,e.set(object,r),object.forEach((function(t,n){r.set(n,c(t,e))})),r;if(n.Set&&object instanceof n.Set)return r=new y,e.set(object,r),object.forEach((function(t){r.add(c(t,e))})),r;if(n.Blob&&object instanceof n.Blob)return object.slice(0,object.size,object.type);if(n.Buffer&&n.Buffer.isBuffer(object))return r=n.Buffer.allocUnsafe?n.Buffer.allocUnsafe(object.length):new y(object.length),e.set(object,r),object.copy(r),r;if(n.ArrayBuffer){if(n.ArrayBuffer.isView(object))return r=new y(object.buffer.slice(0)),e.set(object,r),r;if(object instanceof n.ArrayBuffer)return r=object.slice(0),e.set(object,r),r}return"function"==typeof object.then||object instanceof Error||n.WeakMap&&object instanceof n.WeakMap||n.WeakSet&&object instanceof n.WeakSet?object:o(object,n,c,e)};return c(object,function(){if(m)return new WeakMap;var object=r({has:function(e){return!!~object._keys.indexOf(e)},set:function(e,t){object._keys.push(e),object._values.push(t)},get:function(e){return object._values[object._keys.indexOf(e)]}});return object._keys=[],object._values=[],object}())}return A.default=A,A.strict=function(object,e){return A(object,{isStrict:!0,realm:e?e.realm:void 0})},A},e.exports=r()}).call(this,r(34))},229:function(e,t,r){"use strict";var n,o=SyntaxError,c=Function,f=TypeError,l=function(e){try{return c('"use strict"; return ('+e+").constructor;")()}catch(e){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(e){y=null}var d=function(){throw new f},h=y?function(){try{return d}catch(e){try{return y(arguments,"callee").get}catch(e){return d}}}():d,v=r(243)(),m=Object.getPrototypeOf||function(e){return e.__proto__},O={},w="undefined"==typeof Uint8Array?n:m(Uint8Array),j={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":v?m([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":O,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v?m(m([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&v?m((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&v?m((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v?m(""[Symbol.iterator]()):n,"%Symbol%":v?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":h,"%TypedArray%":w,"%TypeError%":f,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},P=function e(t){var r;if("%AsyncFunction%"===t)r=l("async function () {}");else if("%GeneratorFunction%"===t)r=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=l("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=m(o.prototype))}return j[t]=r,r},S={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},A=r(230),x=r(246),E=A.call(Function.call,Array.prototype.concat),k=A.call(Function.apply,Array.prototype.splice),_=A.call(Function.call,String.prototype.replace),M=A.call(Function.call,String.prototype.slice),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,L=function(e){var t=M(e,0,1),r=M(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return _(e,U,(function(e,t,r,o){n[n.length]=r?_(o,T,"$1"):t||e})),n},R=function(e,t){var r,n=e;if(x(S,n)&&(n="%"+(r=S[n])[0]+"%"),x(j,n)){var c=j[n];if(c===O&&(c=P(n)),void 0===c&&!t)throw new f("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:c}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new f("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new f('"allowMissing" argument must be a boolean');var r=L(e),n=r.length>0?r[0]:"",c=R("%"+n+"%",t),l=c.name,d=c.value,h=!1,v=c.alias;v&&(n=v[0],k(r,E([0,1],v)));for(var i=1,m=!0;i<r.length;i+=1){var O=r[i],w=M(O,0,1),P=M(O,-1);if(('"'===w||"'"===w||"`"===w||'"'===P||"'"===P||"`"===P)&&w!==P)throw new o("property names with quotes must have matching quotes");if("constructor"!==O&&m||(h=!0),x(j,l="%"+(n+="."+O)+"%"))d=j[l];else if(null!=d){if(!(O in d)){if(!t)throw new f("base intrinsic for "+e+" exists, but the property is not available.");return}if(y&&i+1>=r.length){var desc=y(d,O);d=(m=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:d[O]}else m=x(d,O),d=d[O];m&&!h&&(j[l]=d)}}return d}},230:function(e,t,r){"use strict";var n=r(245);e.exports=Function.prototype.bind||n},231:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g,c="RFC1738",f="RFC3986";e.exports={default:f,formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:c,RFC3986:f}},233:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=function(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const t=d(d({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=(0,o.getUserAgentHeader)("contentful.js/".concat("8.2.0"),t.application,t.integration);t.headers=d(d({},t.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const l=(0,o.createHttpClient)(n.default,t),y=(0,f.default)({resolveLinks:t.resolveLinks,environment:t.environment,removeUnresolved:t.removeUnresolved,spaceBaseUrl:l.defaults.baseURL,environmentBaseUrl:"".concat(l.defaults.baseURL,"environments/").concat(t.environment)});return l.defaults.baseURL=y().environmentBaseUrl,function(e){e.interceptors.response.use((e=>e),(e=>{if(e.response&&e.response.config.headers.Authorization){const t=e.response.config.headers.Authorization;e.response.config.headers.Authorization=e.response.config.headers.Authorization.replace(t,"Bearer...".concat(t.substr(-5))),e.response.request._headers&&e.response.request._headers.authorization&&(e.response.request._headers.authorization=e.response.request._headers.authorization.replace(t,"Bearer...".concat(t.substr(-5)))),e.response.request._header&&(e.response.request._header=e.response.request._header.replace(t,"Bearer...".concat(t.substr(-5))))}return Promise.reject(e)}))}(l),(0,c.default)({http:l,getGlobalOptions:y})};var n=l(r(58)),o=r(226),c=l(r(251)),f=l(r(263));function l(e){return e&&e.__esModule?e:{default:e}}function y(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function d(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?y(Object(source),!0).forEach((function(t){h(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},235:function(e,t,r){"use strict";var n=r(231),o=Object.prototype.hasOwnProperty,c=Array.isArray,f=function(){for(var e=[],i=0;i<256;++i)e.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return e}(),l=function(source,e){for(var t=e&&e.plainObjects?Object.create(null):{},i=0;i<source.length;++i)void 0!==source[i]&&(t[i]=source[i]);return t};e.exports={arrayToObject:l,assign:function(e,source){return Object.keys(source).reduce((function(e,t){return e[t]=source[t],e}),e)},combine:function(a,b){return[].concat(a,b)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],i=0;i<t.length;++i)for(var n=t[i],o=n.obj[n.prop],f=Object.keys(o),l=0;l<f.length;++l){var y=f[l],d=o[y];"object"==typeof d&&null!==d&&-1===r.indexOf(d)&&(t.push({obj:o,prop:y}),r.push(d))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(c(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,c){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===r)return escape(l).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var y="",i=0;i<l.length;++i){var d=l.charCodeAt(i);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||c===n.RFC1738&&(40===d||41===d)?y+=l.charAt(i):d<128?y+=f[d]:d<2048?y+=f[192|d>>6]+f[128|63&d]:d<55296||d>=57344?y+=f[224|d>>12]+f[128|d>>6&63]+f[128|63&d]:(i+=1,d=65536+((1023&d)<<10|1023&l.charCodeAt(i)),y+=f[240|d>>18]+f[128|d>>12&63]+f[128|d>>6&63]+f[128|63&d])}return y},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(c(e)){for(var r=[],i=0;i<e.length;i+=1)r.push(t(e[i]));return r}return t(e)},merge:function e(t,source,r){if(!source)return t;if("object"!=typeof source){if(c(t))t.push(source);else{if(!t||"object"!=typeof t)return[t,source];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,source))&&(t[source]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(source);var n=t;return c(t)&&!c(source)&&(n=l(t,r)),c(t)&&c(source)?(source.forEach((function(n,i){if(o.call(t,i)){var c=t[i];c&&"object"==typeof c&&n&&"object"==typeof n?t[i]=e(c,n,r):t.push(n)}else t[i]=n})),t):Object.keys(source).reduce((function(t,n){var c=source[n];return o.call(t,n)?t[n]=e(t[n],c,r):t[n]=c,t}),n)}}},237:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(data){return Object.defineProperty(data,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,o.default)(this,e,t,((e,t)=>({sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}})))}})};var n,o=(n=r(255))&&n.__esModule?n:{default:n}},238:function(e,t,r){"use strict";r.r(t);var n=r(227),o=r.n(n),c="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};function f(e){if(Array.isArray(e)){for(var i=0,t=Array(e.length);i<e.length;i++)t[i]=e[i];return t}return Array.from(e)}var l={},y=function(object){return object&&object.sys&&"Link"===object.sys.type},d=function(e){return e.type+"!"+e.id},h=function e(input,t,r,n){if(t(input))return r(input);if(input&&"object"===(void 0===input?"undefined":c(input))){for(var o in input)input.hasOwnProperty(o)&&(input[o]=e(input[o],t,r,n));n&&(input=function(input){if(Array.isArray(input))return input.filter((function(e){return e!==l}));for(var e in input)input[e]===l&&delete input[e];return input}(input))}return input},v=function(e,link,t){var r=function(e,link){var t=link.sys,r=t.linkType,n=t.id,o=d({type:r,id:n});return e.get(o)||l}(e,link);return r===l?t?r:link:r};t.default=function(e,t){if(t=t||{},!e.items)return[];var r=o()(e),n=Object.keys(r.includes||{}).reduce((function(t,r){return[].concat(f(t),f(e.includes[r]))}),[]),c=[].concat(f(r.items),f(n)),l=new Map(c.map((function(e){return[d(e.sys),e]})));return c.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,h(r,y,(function(link){return v(l,link,t.removeUnresolved)}),t.removeUnresolved))})),r.items}},240:function(e,t,r){"use strict";var n=r(241),o=r(250),c=r(231);e.exports={formats:c,parse:o,stringify:n}},241:function(e,t,r){"use strict";var n=r(242),o=r(235),c=r(231),f=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},y=Array.isArray,d=Array.prototype.push,h=function(e,t){d.apply(e,y(t)?t:[t])},v=Date.prototype.toISOString,m=c.default,O={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:m,formatter:c.formatters[m],indices:!1,serializeDate:function(e){return v.call(e)},skipNulls:!1,strictNullHandling:!1},w=function e(object,t,r,c,f,l,filter,d,v,m,w,j,P,S,A){var x,E=object;if(A.has(object))throw new RangeError("Cyclic object value");if("function"==typeof filter?E=filter(t,E):E instanceof Date?E=m(E):"comma"===r&&y(E)&&(E=o.maybeMap(E,(function(e){return e instanceof Date?m(e):e}))),null===E){if(c)return l&&!P?l(t,O.encoder,S,"key",w):t;E=""}if("string"==typeof(x=E)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||o.isBuffer(E))return l?[j(P?t:l(t,O.encoder,S,"key",w))+"="+j(l(E,O.encoder,S,"value",w))]:[j(t)+"="+j(String(E))];var k,_=[];if(void 0===E)return _;if("comma"===r&&y(E))k=[{value:E.length>0?E.join(",")||null:void 0}];else if(y(filter))k=filter;else{var M=Object.keys(E);k=d?M.sort(d):M}for(var i=0;i<k.length;++i){var U=k[i],T="object"==typeof U&&void 0!==U.value?U.value:E[U];if(!f||null!==T){var L=y(E)?"function"==typeof r?r(t,U):t:t+(v?"."+U:"["+U+"]");A.set(object,!0);var R=n();h(_,e(T,L,r,c,f,l,filter,d,v,m,w,j,P,S,R))}}return _};e.exports=function(object,e){var t,r=object,o=function(e){if(!e)return O;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||O.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=c.default;if(void 0!==e.format){if(!f.call(c.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=c.formatters[r],filter=O.filter;return("function"==typeof e.filter||y(e.filter))&&(filter=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:O.addQueryPrefix,allowDots:void 0===e.allowDots?O.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:O.charsetSentinel,delimiter:void 0===e.delimiter?O.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:O.encode,encoder:"function"==typeof e.encoder?e.encoder:O.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:O.encodeValuesOnly,filter:filter,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:O.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:O.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:O.strictNullHandling}}(e);"function"==typeof o.filter?r=(0,o.filter)("",r):y(o.filter)&&(t=o.filter);var d,v=[];if("object"!=typeof r||null===r)return"";d=e&&e.arrayFormat in l?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var m=l[d];t||(t=Object.keys(r)),o.sort&&t.sort(o.sort);for(var j=n(),i=0;i<t.length;++i){var P=t[i];o.skipNulls&&null===r[P]||h(v,w(r[P],P,m,o.strictNullHandling,o.skipNulls,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,j))}var S=v.join(o.delimiter),A=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?A+="utf8=%26%2310003%3B&":A+="utf8=%E2%9C%93&"),S.length>0?A+S:""}},242:function(e,t,r){"use strict";var n=r(229),o=r(247),c=r(249),f=n("%TypeError%"),l=n("%WeakMap%",!0),y=n("%Map%",!0),d=o("WeakMap.prototype.get",!0),h=o("WeakMap.prototype.set",!0),v=o("WeakMap.prototype.has",!0),m=o("Map.prototype.get",!0),O=o("Map.prototype.set",!0),w=o("Map.prototype.has",!0),j=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new f("Side channel does not contain "+c(e))},get:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return d(e,n)}else if(y){if(t)return m(t,n)}else if(r)return function(e,t){var r=j(e,t);return r&&r.value}(r,n)},has:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return v(e,n)}else if(y){if(t)return w(t,n)}else if(r)return function(e,t){return!!j(e,t)}(r,n);return!1},set:function(n,o){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),h(e,n,o)):y?(t||(t=new y),O(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=j(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},243:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(244);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},244:function(e,t,r){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},245:function(e,t,r){"use strict";var n="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,c=Object.prototype.toString,f="[object Function]";e.exports=function(e){var t=this;if("function"!=typeof t||c.call(t)!==f)throw new TypeError(n+t);for(var r,l=o.call(arguments,1),y=function(){if(this instanceof r){var n=t.apply(this,l.concat(o.call(arguments)));return Object(n)===n?n:this}return t.apply(e,l.concat(o.call(arguments)))},d=Math.max(0,t.length-l.length),h=[],i=0;i<d;i++)h.push("$"+i);if(r=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(y),t.prototype){var v=function(){};v.prototype=t.prototype,r.prototype=new v,v.prototype=null}return r}},246:function(e,t,r){"use strict";var n=r(230);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},247:function(e,t,r){"use strict";var n=r(229),o=r(248),c=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&c(e,".prototype.")>-1?o(r):r}},248:function(e,t,r){"use strict";var n=r(230),o=r(229),c=o("%Function.prototype.apply%"),f=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||n.call(f,c),y=o("%Object.getOwnPropertyDescriptor%",!0),d=o("%Object.defineProperty%",!0),h=o("%Math.max%");if(d)try{d({},"a",{value:1})}catch(e){d=null}e.exports=function(e){var t=l(n,f,arguments);if(y&&d){var desc=y(t,"length");desc.configurable&&d(t,"length",{value:1+h(0,e.length-(arguments.length-1))})}return t};var v=function(){return l(n,c,arguments)};d?d(e.exports,"apply",{value:v}):e.exports.apply=v},249:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,c=n&&o&&"function"==typeof o.get?o.get:null,f=n&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,y=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=l&&y&&"function"==typeof y.get?y.get:null,h=l&&Set.prototype.forEach,v="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,m="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,O=Boolean.prototype.valueOf,w=Object.prototype.toString,j=Function.prototype.toString,P=String.prototype.match,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,x="function"==typeof Symbol?Symbol.prototype.toString:null,E=Object.prototype.propertyIsEnumerable,k=r(234).custom,_=k&&L(k)?k:null;function M(s,e,t){var r="double"===(t.quoteStyle||e)?'"':"'";return r+s+r}function U(s){return String(s).replace(/"/g,"&quot;")}function T(e){return"[object Array]"===D(e)}function L(e){return"[object Symbol]"===D(e)}e.exports=function e(t,r,n,o){var l=r||{};if(C(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(C(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!C(l,"customInspect")||l.customInspect;if("boolean"!=typeof y)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(C(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return N(t,l);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var w=void 0===l.depth?5:l.depth;if(void 0===n&&(n=0),n>=w&&w>0&&"object"==typeof t)return T(t)?"[Array]":"[Object]";var A=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=Array(e.indent+1).join(" ")}return{base:r,prev:Array(t+1).join(r)}}(l,n);if(void 0===o)o=[];else if(I(o,t)>=0)return"[Circular]";function E(t,r,c){if(r&&(o=o.slice()).push(r),c){var f={depth:l.depth};return C(l,"quoteStyle")&&(f.quoteStyle=l.quoteStyle),e(t,f,n+1,o)}return e(t,l,n+1,o)}if("function"==typeof t){var k=function(e){if(e.name)return e.name;var t=P.call(j.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),R=G(t,E);return"[Function"+(k?": "+k:" (anonymous)")+"]"+(R.length>0?" { "+R.join(", ")+" }":"")}if(L(t)){var F=x.call(t);return"object"==typeof t?B(F):F}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var s="<"+String(t.nodeName).toLowerCase(),V=t.attributes||[],i=0;i<V.length;i++)s+=" "+V[i].name+"="+M(U(V[i].value),"double",l);return s+=">",t.childNodes&&t.childNodes.length&&(s+="..."),s+="</"+String(t.nodeName).toLowerCase()+">"}if(T(t)){if(0===t.length)return"[]";var Q=G(t,E);return A&&!function(e){for(var i=0;i<e.length;i++)if(I(e[i],"\n")>=0)return!1;return!0}(Q)?"["+H(Q,A)+"]":"[ "+Q.join(", ")+" ]"}if(function(e){return"[object Error]"===D(e)}(t)){var J=G(t,E);return 0===J.length?"["+String(t)+"]":"{ ["+String(t)+"] "+J.join(", ")+" }"}if("object"==typeof t&&y){if(_&&"function"==typeof t[_])return t[_]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{d.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var $=[];return f.call(t,(function(e,r){$.push(E(r,t,!0)+" => "+E(e,t))})),z("Map",c.call(t),$,A)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var K=[];return h.call(t,(function(e){K.push(E(e,t))})),z("Set",d.call(t),K,A)}if(function(e){if(!v||!e||"object"!=typeof e)return!1;try{v.call(e,v);try{m.call(e,m)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return W("WeakMap");if(function(e){if(!m||!e||"object"!=typeof e)return!1;try{m.call(e,m);try{v.call(e,v)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return W("WeakSet");if(function(e){return"[object Number]"===D(e)}(t))return B(E(Number(t)));if(function(e){return"[object BigInt]"===D(e)}(t))return B(E(S.call(t)));if(function(e){return"[object Boolean]"===D(e)}(t))return B(O.call(t));if(function(e){return"[object String]"===D(e)}(t))return B(E(String(t)));if(!function(e){return"[object Date]"===D(e)}(t)&&!function(e){return"[object RegExp]"===D(e)}(t)){var X=G(t,E);return 0===X.length?"{}":A?"{"+H(X,A)+"}":"{ "+X.join(", ")+" }"}return String(t)};var R=Object.prototype.hasOwnProperty||function(e){return e in this};function C(e,t){return R.call(e,t)}function D(e){return w.call(e)}function I(e,t){if(e.indexOf)return e.indexOf(t);for(var i=0,r=e.length;i<r;i++)if(e[i]===t)return i;return-1}function N(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return N(e.slice(0,t.maxStringLength),t)+n}return M(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,F),"single",t)}function F(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function B(e){return"Object("+e+")"}function W(e){return e+" { ? }"}function z(e,t,r,n){return e+" ("+t+") {"+(n?H(r,n):r.join(", "))+"}"}function H(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+e.join(","+r)+"\n"+t.prev}function G(e,t){var r=T(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=C(e,i)?t(e[i],e):""}for(var o in e)C(e,o)&&(r&&String(Number(o))===o&&o<e.length||(/[^\w$]/.test(o)?n.push(t(o,e)+": "+t(e[o],e)):n.push(o+": "+t(e[o],e))));if("function"==typeof A)for(var c=A(e),f=0;f<c.length;f++)E.call(e,c[f])&&n.push("["+t(c[f])+"]: "+t(e[c[f]],e));return n}},250:function(e,t,r){"use strict";var n=r(235),o=Object.prototype.hasOwnProperty,c=Array.isArray,f={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},l=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},y=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},d=function(e,t,r,n){if(e){var c=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,f=/(\[[^[\]]*])/g,l=r.depth>0&&/(\[[^[\]]*])/.exec(c),d=l?c.slice(0,l.index):c,h=[];if(d){if(!r.plainObjects&&o.call(Object.prototype,d)&&!r.allowPrototypes)return;h.push(d)}for(var i=0;r.depth>0&&null!==(l=f.exec(c))&&i<r.depth;){if(i+=1,!r.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;h.push(l[1])}return l&&h.push("["+c.slice(l.index)+"]"),function(e,t,r,n){for(var o=n?t:y(t,r),i=e.length-1;i>=0;--i){var c,f=e[i];if("[]"===f&&r.parseArrays)c=[].concat(o);else{c=r.plainObjects?Object.create(null):{};var l="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,d=parseInt(l,10);r.parseArrays||""!==l?!isNaN(d)&&f!==l&&String(d)===l&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(c=[])[d]=o:c[l]=o:c={0:o}}o=c}return o}(h,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return f;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?f.charset:e.charset;return{allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:f.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:f.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:f.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:f.comma,decoder:"function"==typeof e.decoder?e.decoder:f.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:f.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:f.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:f.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:f.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:f.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var h="string"==typeof e?function(e,t){var i,r={},d=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,v=d.split(t.delimiter,h),m=-1,O=t.charset;if(t.charsetSentinel)for(i=0;i<v.length;++i)0===v[i].indexOf("utf8=")&&("utf8=%E2%9C%93"===v[i]?O="utf-8":"utf8=%26%2310003%3B"===v[i]&&(O="iso-8859-1"),m=i,i=v.length);for(i=0;i<v.length;++i)if(i!==m){var w,j,P=v[i],S=P.indexOf("]="),A=-1===S?P.indexOf("="):S+1;-1===A?(w=t.decoder(P,f.decoder,O,"key"),j=t.strictNullHandling?null:""):(w=t.decoder(P.slice(0,A),f.decoder,O,"key"),j=n.maybeMap(y(P.slice(A+1),t),(function(e){return t.decoder(e,f.decoder,O,"value")}))),j&&t.interpretNumericEntities&&"iso-8859-1"===O&&(j=l(j)),P.indexOf("[]=")>-1&&(j=c(j)?[j]:j),o.call(r,w)?r[w]=n.combine(r[w],j):r[w]=j}return r}(e,r):e,v=r.plainObjects?Object.create(null):{},m=Object.keys(h),i=0;i<m.length;++i){var O=m[i],w=d(O,h[O],r,"string"==typeof e);v=n.merge(v,w,r)}return!0===r.allowSparse?v:n.compact(v)}},251:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{http:t,getGlobalOptions:r}=e;const{wrapSpace:y}=o.default.space,{wrapContentType:d,wrapContentTypeCollection:v}=o.default.contentType,{wrapEntry:m,wrapEntryCollection:O}=o.default.entry,{wrapAsset:w,wrapAssetCollection:j}=o.default.asset,{wrapAssetKey:P}=o.default.assetKey,{wrapLocaleCollection:S}=o.default.locale,A=e=>{const t=new Error("The resource could not be found.");return t.sys={type:"Error",id:"NotFound"},t.details={type:"Entry",id:e,environment:r().environment,space:r().space},t};function x(e){if(e.data)throw e.data;if(e.response&&e.response.data)throw e.response.data;throw e}function E(e){e.defaults.baseURL=r().environmentBaseUrl}return{getSpace:async function(){!function(e){e.defaults.baseURL=r().spaceBaseUrl}(t);try{const e=await t.get("");return y(e.data)}catch(e){x(e)}},getContentType:async function(e){E(t);try{const r=await t.get("content_types/".concat(e));return d(r.data)}catch(e){x(e)}},getContentTypes:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};E(t);try{const r=await t.get("content_types",(0,n.createRequestConfig)({query:e}));return v(r.data)}catch(e){x(e)}},getEntry:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw A(e);try{const r=await this.getEntries(h({"sys.id":e},t));if(r.items.length>0)return m(r.items[0]);throw A(e)}catch(e){x(e)}},getEntries:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};E(t);const{resolveLinks:o,removeUnresolved:c}=r(e);e=(0,f.default)(e);try{const r=await t.get("entries",(0,n.createRequestConfig)({query:e}));return O(r.data,{resolveLinks:o,removeUnresolved:c})}catch(e){x(e)}},getAsset:async function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};E(t),r=(0,f.default)(r);try{const o=await t.get("assets/".concat(e),(0,n.createRequestConfig)({query:r}));return w(o.data)}catch(e){x(e)}},getAssets:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};E(t),e=(0,f.default)(e);try{const r=await t.get("assets",(0,n.createRequestConfig)({query:e}));return j(r.data)}catch(e){x(e)}},createAssetKey:async function(e){E(t);try{const r=Math.floor(Date.now()/1e3),n=r+172800;(0,l.default)("expiresAt",e,{maximum:n,now:r});const o={expiresAt:e},c=await t.post("asset_keys",o);return P(c.data)}catch(e){x(e)}},getLocales:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};E(t);try{const r=await t.get("locales",(0,n.createRequestConfig)({query:e}));return S(r.data)}catch(e){x(e)}},parseEntries:function(data){const{resolveLinks:e,removeUnresolved:t}=r({});return O(data,{resolveLinks:e,removeUnresolved:t})},sync:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{paginate:!0};const{resolveLinks:o,removeUnresolved:f}=r(e);return E(t),(0,c.default)(t,e,h({resolveLinks:o,removeUnresolved:f},n))}}};var n=r(226),o=y(r(252)),c=y(r(260)),f=y(r(261)),l=y(r(262));function y(e){return e&&e.__esModule?e:{default:e}}function d(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function h(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(t){v(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},252:function(e,t,r){"use strict";function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n();if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var desc=o?Object.getOwnPropertyDescriptor(e,c):null;desc&&(desc.get||desc.set)?Object.defineProperty(r,c,desc):r[c]=e[c]}return r.default=e,t&&t.set(e,r),r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c={space:o(r(253)),entry:o(r(254)),asset:o(r(256)),assetKey:o(r(257)),contentType:o(r(258)),locale:o(r(259))};t.default=c},253:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapSpace=function(data){return(0,n.freezeSys)((0,n.toPlainObject)(data))};var n=r(226)},254:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapEntry=function(data){return(0,o.freezeSys)((0,o.toPlainObject)((0,n.default)(data)))},t.wrapEntryCollection=function(data,e){let{resolveLinks:t,removeUnresolved:r}=e;const l=(0,c.default)((0,o.toPlainObject)((0,n.default)(data)));t&&(l.items=(0,f.default)(l,{removeUnresolved:r,itemEntryPoints:["fields"]}));return(0,o.freezeSys)(l)};var n=l(r(227)),o=r(226),c=l(r(237)),f=l(r(238));function l(e){return e&&e.__esModule?e:{default:e}}},255: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,c){if(r.length>0){var f=r.indexOf(this);~f?r.splice(f+1):r.push(this),~f?n.splice(f,1/0,o):n.push(o),~r.indexOf(c)&&(c=t.call(this,o,c))}else r.push(c);return null==e?c:e.call(this,o,c)}}(e.exports=function(e,t,n,o){return JSON.stringify(e,r(t,o),n)}).getSerialize=r},256:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapAsset=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))},t.wrapAssetCollection=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))};var n,o=(n=r(227))&&n.__esModule?n:{default:n},c=r(226)},257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapAssetKey=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))};var n,o=(n=r(227))&&n.__esModule?n:{default:n},c=r(226)},258:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapContentType=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))},t.wrapContentTypeCollection=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))};var n,o=(n=r(227))&&n.__esModule?n:{default:n},c=r(226)},259:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapLocale=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))},t.wrapLocaleCollection=function(data){return(0,c.freezeSys)((0,c.toPlainObject)((0,o.default)(data)))};var n,o=(n=r(227))&&n.__esModule?n:{default:n},c=r(226)},260:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function(e,t){let r=arguments.length>2&&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`.");const f={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:l,removeUnresolved:d,paginate:m}=y(y({},f),r),O={paginate:m},w=await v(e,[],t,O);l&&(w.items=(0,o.default)(w,{removeUnresolved:d,itemEntryPoints:["fields"]}));const j=h(w.items);w.nextSyncToken&&(j.nextSyncToken=w.nextSyncToken);w.nextPageToken&&(j.nextPageToken=w.nextPageToken);return(0,n.freezeSys)((0,c.default)((0,n.toPlainObject)(j)))};var n=r(226),o=f(r(238)),c=f(r(237));function f(e){return e&&e.__esModule?e:{default:e}}function l(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function y(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(t){d(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){const t=e=>(t,r)=>(r.sys.type===e&&t.push((0,n.toPlainObject)(r)),t);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}async function v(e,t,r,o){let{paginate:c}=o;r.nextSyncToken&&(r.sync_token=r.nextSyncToken,delete r.nextSyncToken),r.nextPageToken&&(r.sync_token=r.nextPageToken,delete r.nextPageToken),r.sync_token&&(delete r.initial,delete r.type,delete r.content_type,delete r.limit);const data=(await e.get("sync",(0,n.createRequestConfig)({query:r}))).data||{};return t=t.concat(data.items||[]),data.nextPageUrl?c?(delete r.initial,r.sync_token=m(data.nextPageUrl),v(e,t,r,{paginate:c})):{items:t,nextPageToken:m(data.nextPageUrl)}:data.nextSyncUrl?{items:t,nextSyncToken:m(data.nextSyncUrl)}:{items:[]}}function m(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}},261:function(e,t,r){"use strict";function n(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(t){c(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.select)return e;const t=Array.isArray(e.select)?e.select:e.select.split(","),r=new Set(t);if(r.has("sys"))return e;return r.add("sys.id"),r.add("sys.type"),o(o({},e),{},{select:[...r].join(",")})}},262:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(r=r||{},"number"!=typeof t)throw new n(e,'only numeric values are allowed for timestamps, provided type was "'.concat(typeof t,'"'));if(r.maximum&&t>r.maximum)throw new n(e,"value (".concat(t,") cannot be further in the future than expected maximum (").concat(r.maximum,")"));if(r.now&&t<r.now)throw new n(e,"value (".concat(t,") cannot be in the past, current time was ").concat(r.now))},t.ValidationError=void 0;class n extends Error{constructor(e,t){super('Invalid "'.concat(e,'" provided, ')+t),this.name="ValidationError"}}t.ValidationError=n},263:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){return Object.assign({},e,t)}}}}]);