PageSourceSearch

https://www.verkkokauppa.com/assets/build/7951.e0265e7432.js

js verkkokauppa.com collected 2026-09-24 08:46:14 UTC 25,677 bytes, 2 lines download raw bytes

1"use strict";(globalThis["__LOADABLE_LOADED_CHUNKS__"]||=[]).push([[7951],{17443(e,t,n){n.d(t,{U:()=>ae});var r=n(74690),o=n(93068);var s=n(65606);function i(){}function a(e,t=5){const{responseLogger:n=i,requestLogger:r=i}=e.defaults;e.interceptors.request.use(function(e){return r(e),e},function(e){return r(e),Promise.reject(e)}),e.interceptors.response.use(function(e){return n(e),e},async function(r){const{response:o}=r,{config:s}=r;if(n(r),!s||!e.defaults.retryOnError)return Promise.reject(r);const i=s.attempts||1;if(i>t)return r.attempts=s.attempts,Promise.reject(r);let a=null,c=(e=>Math.pow(Math.SQRT2,e))(i);return o?o.status>=500&&o.status<600?a=`Server ${o.status}`:429===o.status&&(a="Rate limit",o.headers&&r.response.headers["x-contentful-ratelimit-reset"]&&(c=o.headers["x-contentful-ratelimit-reset"])):a="Connection",a?(c=Math.floor(1e3*c+200*Math.random()+500),e.defaults.logHandler("warning",`${a} error occurred. Waiting for ${c} ms before retrying...`),s.attempts=i+1,delete s.httpAgent,delete s.httpsAgent,(e=>new Promise(t=>{setTimeout(t,e)}))(c).then(()=>e(s))):Promise.reject(r)})}var c=n(85015);class u extends Error{name="AbortError";constructor(){super("Throttled function aborted")}}const l=/(?<value>\d+)(%)/;function f(e,t=7){let n=t;if(l.test(e)){const r=e.match(l)?.groups;if(r&&r.value){const e=parseInt(r.value)/100;n=Math.round(t*e)}}return Math.min(30,Math.max(1,n))}function h(e,t){return t("info",`Throttle request to ${e}/s`),function({limit:e,interval:t,strict:n,onDelay:r}){if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const o=new Map;let s=0,i=0;const a=function(){const n=Date.now();return n-s>t?(i=1,s=n,0):(i<e?i++:(s+=t,i=1),s-n)};return function(e){const t=function(...n){if(!t.isEnabled)return(async()=>e.apply(this,n))();let s;return new Promise((t,i)=>{const c=()=>{t(e.apply(this,n)),o.delete(s)},u=a();u>0?(s=setTimeout(c,u),o.set(s,i),r?.()):c()})};return t.abort=()=>{for(const e of o.keys())clearTimeout(e),o.get(e)(new u);o.clear()},t.isEnabled=!0,Object.defineProperty(t,"queueSize",{get:()=>o.size}),t}}({limit:e,interval:1e3,strict:!1})}var p=n(55373);const d=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function y(e){const t=(0,o.Ay)(e);return t.httpAgent=e.httpAgent,t.httpsAgent=e.httpsAgent,t}function m(e,t){const n=function(e){const t={insecure:!1,retryOnError:!0,logHandler:(e,t)=>{if("error"===e&&t){const e=[t.name,t.message].filter(e=>e).join(" - ");return console.error(`[error] ${e}`),void console.error(t)}console.log(`[${e}] ${t}`)},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824,...e};if(!t.accessToken){const e=new TypeError("Expected parameter accessToken");throw t.logHandler("error",e),e}const n=t.insecure?"http":"https",r=t.space?`${t.space}/`:"";let o=t.defaultHostname,s=t.insecure?80:443;if(t.host&&d.test(t.host)){const e=t.host.split(":");2===e.length?[o,s]=e:o=e[0]}t.basePath&&(t.basePath=`/${t.basePath.split("/").filter(Boolean).join("/")}`);const i=e.baseURL||`${n}://${o}:${s}${t.basePath}/spaces/${r}`;return t.headers.Authorization||"function"==typeof t.accessToken||(t.headers.Authorization="Bearer "+t.accessToken),{baseURL:i,headers:t.headers,httpAgent:t.httpAgent,httpsAgent:t.httpsAgent,proxy:t.proxy,timeout:t.timeout,adapter:t.adapter,fetchOptions:t.fetchOptions,maxContentLength:t.maxContentLength,maxBodyLength:t.maxBodyLength,paramsSerializer:{serialize:e=>p.stringify(e)},logHandler:t.logHandler,responseLogger:t.responseLogger,requestLogger:t.requestLogger,retryOnError:t.retryOnError}}(t),r=e.create(n);return r.httpClientParams=t,r.cloneWithNewParams=function(n){return m(e,{...y(t),...n})},t.onBeforeRequest&&r.interceptors.request.use(t.onBeforeRequest),"function"==typeof t.accessToken&&function(e,t){e.interceptors.request.use(function(e){return t().then(t=>(e.headers.set("Authorization",`Bearer ${t}`),e))})}(r,t.accessToken),t.throttle&&((e,t="auto")=>{const{logHandler:n=i}=e.defaults;let r=c(t)?f(t):f("auto",t),o=h(r,n),s=!1,a=e.interceptors.request.use(e=>o(()=>e)(),function(e){return Promise.reject(e)});const u=e.interceptors.response.use(i=>{if(!s&&c(t)&&("auto"===t||l.test(t))&&i.headers&&i.headers["x-contentful-ratelimit-second-limit"]){const c=parseInt(i.headers["x-contentful-ratelimit-second-limit"]),u=f(t,c);u!==r&&(a&&e.interceptors.request.eject(a),r=u,o=h(u,n),a=e.interceptors.request.use(e=>o(()=>e)(),function(e){return Promise.reject(e)})),s=!0}return i},function(e){return Promise.reject(e)})})(r,t.throttle),a(r,t.retryLimit),t.onError&&r.interceptors.response.use(e=>e,t.onError),r}function g({query:e}){const t={};return delete e.resolveLinks,t.params=(0,o.Ay)(e),t}function w(e){const t=Object.getOwnPropertyNames(e);
1for(const n of t){const t=e[n];t&&"object"==typeof t&&w(t)}return Object.freeze(e)}function v(e){return w(e.sys||{}),e}function b(){const e=window;if(!e)return null;const t=e.navigator.userAgent,n=e.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(n)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(n)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(n)?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function L(e,t,n,r){const o=[];t&&o.push(`app ${t}`),n&&o.push(`integration ${n}`),r&&o.push("feature "+r),o.push(`sdk ${e}`);let i=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(i=b(),o.push("platform ReactNative")):void 0===s||s.browser?(i=b(),o.push("platform browser")):(i=function(){const e=s.platform||"linux",t=s.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?`${n[e]||"Linux"}/${t}`:null}(),o.push(`platform node.js/${s.versions&&s.versions.node?`v${s.versions.node}`:s.version}`))}catch(e){i=null}return i&&o.push(`os ${i}`),`${o.filter(e=>""!==e).join("; ")};`}function k(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return(0,o.Ay)(this)}})}var x=n(11331);function j(e){const{config:t,response:n}=e;let r;if(function(e){if(e?.headers?.["Authorization"]){const t=`...${e.headers["Authorization"].toString().substr(-5)}`;e.headers["Authorization"]=`Bearer ${t}`}if(e?.headers?.["X-Contentful-Resource-Resolution"]){const t=`...${e.headers["X-Contentful-Resource-Resolution"].toString().substr(-5)}`;e.headers["X-Contentful-Resource-Resolution"]=t}}(t),!x(n)||!x(t))throw e;const o=n?.data,s={status:n?.status,statusText:n?.statusText,message:"",details:{}};t&&x(t)&&(s.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),o&&"object"==typeof o&&("requestId"in o&&(s.requestId=o.requestId||"UNKNOWN"),"message"in o&&(s.message=o.message||""),"details"in o&&(s.details=o.details||{}),r=o.sys?.id);const i=new Error;i.name=r&&"Unknown"!==r?r:`${n?.status} ${n?.statusText}`;try{i.message=JSON.stringify(s,null,"  ")}catch{i.message=s?.message??""}throw i}var P=n(89133);function O(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||U(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,s,i,a=[],c=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,t)||U(e,t)||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 U(e,t){if(e){if("string"==typeof e)return E(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var $={},S=function(e,t){var n=t.entryId,r=t.linkType,o=t.spaceId,s=t.environmentId;return o&&s?e.get("".concat(o,"!").concat(s,"!").concat(r,"!").concat(n)):e.get("".concat(r,"!").concat(n))},C=function(e,t){var n=t.sys,r=n.type,o=n.linkType;
1if("ResourceLink"===r){if(!o.startsWith("Contentful:"))return t;var s=function(e){var t=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(t.test(e)){var n=T(e.match(t),4),r=(n[0],n[1]),o=n[2];return{spaceId:r,environmentId:void 0===o?"master":o,entryId:n[3]}}}(t.sys.urn),i=s.spaceId,a=s.environmentId,c=s.entryId,u=o.split(":")[1];return S(e,{linkType:u,entryId:c,spaceId:i,environmentId:a})||$}var l=t.sys.id;return S(e,{linkType:o,entryId:l})||$},R=function(e,t,n,r){if(t(e))return n(e);if(e&&"object"===A(e)){for(var o in e)e.hasOwnProperty(o)&&(e[o]=R(e[o],t,n,r));r&&(e=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}(e))}return e};const B=function(e,t){if(t=t||{},!e.items)return[];var n=(0,o.Ay)(e),r=Object.keys(n.includes||{}).reduce(function(e,t){return[].concat(O(e),O(n.includes[t]))},[]),s=[].concat(O(n.items),O(r)).filter(function(e){return Boolean(e.sys)}),i=new Map(s.reduce(function(e,t){var n=function(e){return e.space&&e.environment?["".concat(e.type,"!").concat(e.id),"".concat(e.space.sys.id,"!").concat(e.environment.sys.id,"!").concat(e.type,"!").concat(e.id)]:["".concat(e.type,"!").concat(e.id)]}(t.sys).map(function(e){return[e,t]});return e.push.apply(e,O(n)),e},[]));return s.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,R(n,function(e){return function(e){return e&&e.sys&&"Link"===e.sys.type}(e)||function(e){return e&&e.sys&&"ResourceLink"===e.sys.type}(e)},function(e){return function(e,t,n){var r=C(e,t);return r===$?n?r:t:r}(i,e,t.removeUnresolved)},t.removeUnresolved))}),n.items};var q=n(44106);function I(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(e=null,t=""){return q(this,e,t,(e,t)=>({sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}))}})}async function M(e,t,n){if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t["content_type"]&&!t.type)t.type="Entry";else if(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{withoutLinkResolution:r,withoutUnresolvableLinks:o,paginate:s}=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),n),i=await _(e,[],t,{paginate:s});r||(i.items=B(i,{removeUnresolved:o,itemEntryPoints:["fields"]}));const a=function(e){const t=e=>(t,n)=>(n.sys.type===e&&t.push(k(n)),t);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(i.items);return i.nextSyncToken&&(a.nextSyncToken=i.nextSyncToken),i.nextPageToken&&(a.nextPageToken=i.nextPageToken),v(I(k(a)))}async function _(e,t,n,{paginate:r}){const o=function(e){return e.nextPageToken?{sync_token:e.nextPageToken}:e.nextSyncToken?{sync_token:e.nextSyncToken}:e.sync_token?{sync_token:e.sync_token}:e}(n),s=(await e.get("sync",g({query:o}))).data||{};return t=t.concat(s.items||[]),s.nextPageUrl?r?(delete o.initial,o.sync_token=N(s.nextPageUrl),_(e,t,o,{paginate:r})):{items:t,nextPageToken:N(s.nextPageUrl)}:s.nextSyncUrl?{items:t,nextSyncToken:N(s.nextSyncUrl)}:{items:[]}}function N(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function W(e){const t={};let n=!1;for(const r in e)Array.isArray(e[r])&&(t[r]=e[r].join(","),n=!0);return n?Object.assign(Object.assign({},e),t):e}function z(e){if(!e.select)return new Set;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(e=>e.trim());return new Set(t)}function D(e){if(!e.select)return e;const t=z(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:[...t].join(",")}))}function H(e,{resolveLinks:t,removeUnresolved:n}){const r=I(e);return t&&(r.items=B(r,{removeUnresolved:n,itemEntryPoints:["fields"]})),r}
1class G extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}const X=e=>{if("object"!=typeof e||null===e||Array.isArray(e))throw new G("timelinePreview",`The 'timelinePreview' parameter must be an object.`);const t=function(e){return!(!e||"object"!=typeof e||"string"!=typeof e.lte)}(e.release),n=function(e){return!(!e||"object"!=typeof e||!("string"==typeof e.lte||e.lte instanceof Date))}(e.timestamp);if(!t&&!n)throw new G("timelinePreview",`The 'timelinePreview' object must have at least one of 'release' or 'timestamp' with a valid 'lte' property.`);return t||n},F=e=>{var t,n;const r=null==e?void 0:e.host,o=null!==(t=null==e?void 0:e.timelinePreview)&&void 0!==t?t:null===(n=null==e?void 0:e.alphaFeatures)||void 0===n?void 0:n.timelinePreview,s=function(e,t){if(void 0===t)return!1;const n=X(t),r=/^preview(\.eu)?\.contentful\.com$/,o="string"==typeof e&&r.test(e),s="string"!=typeof e||!e.endsWith(".contentful.com"),i=o||s;if(n&&!i)throw new G("timelinePreview",`The 'timelinePreview' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to enable Timeline Preview.\n      `);return!0}(r,o);return{enabled:s,timelinePreview:o}};function K(e,t){t?function(e){if(e.locale)throw new G("locale","The `locale` parameter is not allowed")}(e):function(e){if("*"===e.locale)throw new G("locale",`The use of locale='*' is no longer supported.To fetch an entry in all existing locales,\n      use client.withAllLocales instead of the locale='*' parameter.`)}(e)}function J(e){if("resolveLinks"in e)throw new G("resolveLinks",`The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved.\n      If you do not want to resolve links, use client.withoutLinkResolution.`)}function Q(e){if("removeUnresolved"in e)throw new G("removeUnresolved",`The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects.\n      If you do not want to include unresolved links, use client.withoutUnresolvableLinks.`)}function V(e){for(const t in e){const n=e[t];if("object"==typeof n&&null!==n&&!Array.isArray(n))throw new Error(`Objects are not supported as value for the "${t}" query parameter.`)}}var Y=n(31635);function Z(e){const{cursor:t,pagePrev:n,pageNext:r,skip:o}=e,s=(0,Y.Tt)(e,["cursor","pagePrev","pageNext","skip"]);return Object.assign(Object.assign(Object.assign(Object.assign({},s),{cursor:!0}),!!n&&{pagePrev:n}),!!r&&{pageNext:r})}function ee(e,t){const n=null==t?void 0:t.split("?")[1];if(n)return new URLSearchParams(n).get(e)}const te={prev:"pagePrev",next:"pageNext"};function ne(e){const t={};for(const[n,r]of Object.entries(te)){const o=ee(r,e.pages[n]);o&&(t[n]=o)}return Object.assign(Object.assign({},e),{pages:t})}const re=48*60*60;class oe extends Error{constructor(e,t,n){super("The resource could not be found."),this.sys={type:"Error",id:"NotFound"},this.details={type:"Entry",id:e,environment:t,space:n}}}function se({http:e,getGlobalOptions:t},n){const r=(e="unknown")=>new oe(e,t().environment,t().space),o=e=>{let n="space"===e?t().spaceBaseUrl:t().environmentBaseUrl;if(!n)throw new Error("Please define baseUrl for "+e);return n.endsWith("/")||(n+="/"),n};function s(t={}){var n,r;const o=e.httpClientParams,s=null!==(n=null==o?void 0:o.includeContentSourceMaps)&&void 0!==n?n:null===(r=null==o?void 0:o.alphaFeatures)||void 0===r?void 0:r.includeContentSourceMaps,i=function(e,t){if(void 0===t)return!1;if("boolean"!=typeof t)throw new G("includeContentSourceMaps",`The 'includeContentSourceMaps' parameter must be a boolean.`);const n="string"==typeof e&&e.startsWith("preview");if(t&&!n)throw new G("includeContentSourceMaps",`The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' or 'preview.eu.contentful.com' to include Content Source Maps.\n      `);return t}(null==o?void 0:o.host,s);if(i&&(t.includeContentSourceMaps=!0,t.select)){const e=z(t);e.add("sys"),t.select=Array.from(e).join(",")}return t}function i(t){const{enabled:n}=F(e.httpClientParams);return n?`timeline/${t}`:t}async function a({context:t,path:n,config:r}){const s=o(t);try{return function(e,t){var n;return(null===(n=null==t?void 0:t.params)||void 0===n?void 0:n.includeContentSourceMaps)?(0,P.yY)(e):e}((await e.get(s+n,r)).data,r)}catch(e){j(e)}}async function c(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}){const{withAllLocales:n}=t;return K(e,n),J(e),Q(e),V(e),l(n?Object.assign(Object.assign({},e),{locale:"*"}):e,t)}function u(t){const n=function(t){const{enabled:n,timelinePreview:r}=F(e.httpClientParams);return n&&((null==r?void 0:r.release)&&(t.release=r.release),(null==r?void 0:r.timestamp)&&(t.timestamp=r.timestamp)),t}(Object.assign({},t));return s(W(D(n)))}async function l(e,t){const{withoutLinkResolution:n,withoutUnresolvableLinks:r,
vendor: 4,762 bytes, line 1
1withLocaleBasedPublishing:o}=t;try{const t=g({query:u(e)});o&&(t.headers=Object.assign(Object.assign({},t.headers),{"X-Contentful-Locale-Based-Publishing":!0}));return H(await a({context:"environment",path:i("entries"),config:t}),{resolveLinks:!n,removeUnresolved:null!=r&&r})}catch(e){j(e)}}async function f(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}){const{withAllLocales:n}=t;K(e,n),V(e);return async function(e,t){const{withLocaleBasedPublishing:n}=t;try{const t=g({query:u(e)});return n&&(t.headers=Object.assign(Object.assign({},t.headers),{"X-Contentful-Locale-Based-Publishing":!0})),a({context:"environment",path:i("assets"),config:t})}catch(e){j(e)}}(n?Object.assign(Object.assign({},e),{locale:"*"}):e,t)}return{version:"0.0.0-determined-by-semantic-release",getSpace:async function(){return a({context:"space",path:""})},getContentType:async function(e){return a({context:"environment",path:`content_types/${e}`})},getContentTypes:async function(e={}){return a({context:"environment",path:"content_types",config:g({query:e})})},getAsset:async function(e,t={}){return async function(e,t,n={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}){const{withAllLocales:r}=n;K(t,r),V(t);const o=r?Object.assign(Object.assign({},t),{locale:"*"}):t;return async function(e,t,n){const{withLocaleBasedPublishing:r}=n;try{const n=g({query:u(t)});return r&&(n.headers=Object.assign(Object.assign({},n.headers),{"X-Contentful-Locale-Based-Publishing":!0})),a({context:"environment",path:i(`assets/${e}`),config:n})}catch(e){j(e)}}(e,o,n)}(e,t,n)},getAssets:async function(e={}){return f(e,n)},getAssetsWithCursor:async function(e={}){return ne(await f(Z(e),n))},getTag:async function(e){return a({context:"environment",path:`tags/${e}`})},getTags:async function(e={}){return V(e),a({context:"environment",path:"tags",config:g({query:W(D(e))})})},getLocales:async function(e={}){return V(e),a({context:"environment",path:"locales",config:g({query:D(e)})})},parseEntries:function(e){return function(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}){return function(e,t){const{withoutLinkResolution:n,withoutUnresolvableLinks:r}=t;return H(e,{resolveLinks:!n,removeUnresolved:null!=r&&r})}(e,t)}(e,n)},sync:async function(r,o={paginate:!0}){return async function(n,r,o={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}){J(n),Q(n);const s=Object.assign(Object.assign({},r),o);return function(e){e.defaults.baseURL=t().environmentBaseUrl}(e),M(e,n,s)}(r,o,n)},getEntry:async function(e,t={}){return async function(e,t,n={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1}){const{withAllLocales:o}=n;return K(t,o),J(t),Q(t),V(t),async function(e,t,n){if(!e)throw r(e);try{const o=await l(Object.assign({"sys.id":e},s(t)),n);if(o.items.length>0)return o.items[0];throw r(e)}catch(e){j(e)}}(e,o?Object.assign(Object.assign({},t),{locale:"*"}):t,n)}(e,t,n)},getEntries:async function(e={}){return c(e,n)},getEntriesWithCursor:async function(e={}){return ne(await c(Z(e),n))},getConceptScheme:function(e,t={}){return async function(e,t={}){try{return a({context:"environment",path:`taxonomy/concept-schemes/${e}`,config:g({query:W(D(t))})})}catch(e){j(e)}}(e,t)},getConceptSchemes:function(e={}){return async function(e={}){try{return a({context:"environment",path:"taxonomy/concept-schemes",config:g({query:W(D(e))})})}catch(e){j(e)}}(e)},getConcept:function(e,t={}){return async function(e,t={}){try{return a({context:"environment",path:`taxonomy/concepts/${e}`,config:g({query:W(D(t))})})}catch(e){j(e)}}(e,t)},getConcepts:function(e={}){return async function(e={}){try{return a({context:"environment",path:"taxonomy/concepts",config:g({query:W(D(e))})})}catch(e){j(e)}}(e)},getConceptAncestors:function(e,t={}){return async function(e,t={}){try{return a({context:"environment",path:`taxonomy/concepts/${e}/ancestors`,config:g({query:W(D(t))})})}catch(e){j(e)}}(e,t)},getConceptDescendants:function(e,t={}){return async function(e,t={}){try{return a({context:"environment",path:`taxonomy/concepts/${e}/descendants`,config:g({query:W(D(t))})})}catch(e){j(e)}}(e,t)},createAssetKey:async function(t){try{const e=Math.floor(Date.now()/1e3);!function(e,t,n){if(n=n||{},"number"!=typeof t)throw new G(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new G(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new G(e,`value (${t}) cannot be in the past, current time was ${n.now}
1`)}("expiresAt",t,{maximum:e+re,now:e})}catch(e){j(e)}return async function({context:t,path:n,data:r,config:s}){const i=o(t);try{return(await e.post(i+n,r,s)).data}catch(e){j(e)}}({context:"environment",path:"asset_keys",data:{expiresAt:t}})}}}const ie=({http:e,getGlobalOptions:t})=>{function n(r){return function({http:e,getGlobalOptions:t},n,r){const o=se({http:e,getGlobalOptions:t},n),s=o||{};return Object.defineProperty(s,"withAllLocales",{get:()=>r(Object.assign(Object.assign({},n),{withAllLocales:!0}))}),Object.defineProperty(s,"withoutLinkResolution",{get:()=>r(Object.assign(Object.assign({},n),{withoutLinkResolution:!0}))}),Object.defineProperty(s,"withoutUnresolvableLinks",{get:()=>r(Object.assign(Object.assign({},n),{withoutUnresolvableLinks:!0}))}),Object.defineProperty(s,"withLocaleBasedPublishing",{get:()=>r(Object.assign(Object.assign({},n),{withLocaleBasedPublishing:!0}))}),Object.create(s)}({http:e,getGlobalOptions:t},r,n)}const r=se({http:e,getGlobalOptions:t},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1});return Object.assign(Object.assign({},r),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0,withLocaleBasedPublishing:!1})},get withLocaleBasedPublishing(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1,withLocaleBasedPublishing:!0})}})};function ae(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");J(e),Q(e);const t=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),n=L(`contentful.js/${"0.0.0-determined-by-semantic-release"}`,t.application,t.integration);t.headers=Object.assign(Object.assign({},t.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":n});const o=m(r.A,t);if(!o.defaults.baseURL)throw new Error("Please define a baseURL");const s=function(e){return function(t){return Object.assign({},e,t)}}({space:t.space,environment:t.environment,spaceBaseUrl:o.defaults.baseURL,environmentBaseUrl:`${o.defaults.baseURL}environments/${t.environment}`});return o.defaults.baseURL=s({}).environmentBaseUrl,ie({http:o,getGlobalOptions:s})}}}]);
2//# sourceMappingURL=/assets/maps/7951.1a5e5dba5e.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.