{"version":3,"file":"../cp_cookie_consent_v2.1.js","sources":["cp_cookie_consent_v2.1.js"],"sourcesContent":["/**\n * Adds banner and panel on the page for cookie management by user. Updates Google Tag Manager consent settings.\n */\nconst cpCookieConsent = (() => {\n let props = {\n cookieName: 'cpCookieConsent',\n cookieDelimiter: ',',\n cookieKeyValueDelimiter: ':',\n cookieDeniedValue: 'denied',\n cookieGrantedValue: 'granted',\n updateAllKey: 'all',\n lang: 'en',\n showDeclineAllButton: false,\n showManageButton: true,\n consentStateDefault: {}, // initial value sets in init() method\n managerCategories: [\n {\n id: 'necessary',\n title: 'Strictly necessary',\n // consentVars: ['security_storage', 'functionality_storage'],// TODO: Decide necessary or not\n description: `These cookies are required to support the core functionality of our website.`,\n disabled: true\n },\n {\n id: 'performance',\n title: 'Performance',\n consentVars: [\n 'analytics_storage',\n // 'personalization_storage'\n ],\n description: `These cookies enable us to analyse the use of the website in order to measure and improve performance.`\n },\n {\n id: 'marketing',\n title: 'Marketing',\n consentVars: ['ad_storage', 'ad_user_data', 'ad_personalization'],\n description: `These cookies are used to measure and improve the performance of our marketing campaigns.`\n },\n // {\n // id: 'uncategorized',\n // title: 'Uncategorized',\n // description: `lorem ipsum uncategorized`\n // }\n ],\n strings: {\n en: {\n buttonAcceptAll: 'Accept all cookies',\n buttonOnlyNecessary: 'Only use necessary',\n buttonManage: 'Customise cookies',\n buttonApply: 'Apply',\n message: 'Lorem ipsum Cookie Policy',\n mClose: 'Close cookie manager',\n mContentText: '