consent-8.x-1.0-alpha5/js/oil/1.2.5/oil.1.2.5-RELEASE.min.js
js/oil/1.2.5/oil.1.2.5-RELEASE.min.js
/*! 1.2.5-RELEASE */!function(e){function t(t){for(var n,r,i=t[0],a=t[1],s=0,c=[];s<i.length;s++)r=i[s],o[r]&&c.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(u&&u(t);c.length;)c.shift()()}var n={},o={6:0};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.e=function(e){var t=[],n=o[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise(function(t,r){n=o[e]=[t,r]});t.push(n[2]=i);var a=document.getElementsByTagName("head")[0],s=document.createElement("script");s.charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.src=function(e){return r.p+""+e+".1.2.5-RELEASE.chunk.js"}(e);var u=setTimeout(function(){c({type:"timeout",target:s})},12e4);function c(t){s.onerror=s.onload=null,clearTimeout(u);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+r+": "+i+")");a.type=r,a.request=i,n[1](a)}o[e]=void 0}}s.onerror=s.onload=c,a.appendChild(s)}return Promise.all(t)},r.m=e,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="https://unpkg.com/@ideasio/oil.js@1.2.5/release/current/",r.oe=function(e){throw console.error(e),e};var i=window.oilJsonp=window.oilJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var u=a;r(r.s=116)}([function(e,t,n){var o=n(34)("wks"),r=n(18),i=n(1).Symbol,a="function"==typeof i;(e.exports=function(e){return o[e]||(o[e]=a&&i[e]||(a?i:r)("Symbol."+e))}).store=o},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OilVersion=void 0,t.isProd=function(){return!1},t.isDev=function(){return!1},t.getOrigin=a,t.sendEventToHostSite=function(e){window.postMessage(e,a()),window.AS_OIL.eventCollection=window.AS_OIL.eventCollection||[],window.AS_OIL.eventCollection.push({name:e,timestamp:(new Date).getTime()}),(0,o.logInfo)("Sent postmessage event: "+e)},t.removeMessageListener=function(e){l(d,e,!1)},t.registerMessageListener=function(e){c(f,e,!1)},t.getClientTimestamp=function(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Date.now()},t.arrayContains=function(e,t){for(var n=e.length,o=0;o<n;o++)if(e[o]===t)return!0;return!1},t.arrayContainsArray=function(e,t){if(!e||!t)return!1;for(var n={},o=0;o<e.length;o++)n[e[o]]||(n[e[o]]=0),n[e[o]]++;for(var r=0;r<t.length;r++)if(!n[t[r]]||--n[t[r]]<0)return!1;return!0},t.setGlobalOilObject=function(e,t){window[r.OIL_GLOBAL_OBJECT_NAME]||(window[r.OIL_GLOBAL_OBJECT_NAME]={}),window[r.OIL_GLOBAL_OBJECT_NAME][e]=t},t.getGlobalOilObject=function(e){return window[r.OIL_GLOBAL_OBJECT_NAME]?window[r.OIL_GLOBAL_OBJECT_NAME][e]:void 0},t.getLocaleVariantVersion=function(){var e=(0,i.getLocale)();return e&&e.version?e.version:0},t.getCommandCollection=function(){return window.__cmp?window.__cmp.commandCollection:void 0},t.fetchJsonData=function(e){return new Promise(function(t,n){var r=new XMLHttpRequest;(0,o.logInfo)("Fetching data from url: "+e),r.open("GET",e),r.onreadystatechange=function(){if(r.readyState===this.DONE)if(200===r.status)t(JSON.parse(r.responseText));else{var o=void 0;if(0!==r.status){var i=JSON.parse(r.responseText);o=new Error(i.errorMessage)}else o=new Error("Connection error occurred while fetching JSON data from "+e+"!");n(o)}},r.send()})},t.isObject=function(e){return e instanceof Object&&e.constructor===Object};var o=n(5),r=n(13),i=n(6);function a(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}var s=window.addEventListener?"addEventListener":"attachEvent",u=window.removeEventListener?"removeEventListener":"removeEvent",c=window[s],l=window[u],f="attachEvent"===s?"onmessage":"message",d="removeEvent"===u?"onmessage":"message";t.OilVersion={get:function(){return"1.2.5-RELEASE"},getLatestReleaseVersion:function(){return"1.2.5"}}},function(e,t,n){var o=n(4);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logError=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&s(window.console.error,arguments)},t.logInfo=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&s(window.console.info,arguments)},t.logWarn=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&s(window.console.warn,arguments)},t.logPreviewInfo=function(){((0,o.isDev)()||(0,i.isPreviewMode)()||(0,r.isPreviewCookieSet)()||(0,r.isVerboseCookieSet)())&&s(window.console.info,arguments)};var o=n(2),r=n(16),i=n(6),a="OIL: ";function s(e,t){window.console||(window.console={}),window.console.log||(window.console.log=function(){});var n=[a].concat(Array.prototype.slice.call(t));if(e)try{e.apply(window.console,n)}catch(t){try{e(u(n))}catch(e){}}else window.console.log(u(n))}function u(e){for(var t="",n=0;n<e.length;n++)t+=e[n];return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfigValue=u,t.getConfigVersion=function(){return u(o.OIL_CONFIG.ATTR_CONFIG_VERSION,o.OIL_CONFIG_DEFAULT_VERSION)},t.isPreviewMode=function(){return u(o.OIL_CONFIG.ATTR_PREVIEW_MODE,!1)},t.isPoiActive=function(){return u(o.OIL_CONFIG.ATTR_ACTIVATE_POI,!1)},t.isSubscriberSetCookieActive=function(){return u(o.OIL_CONFIG.ATTR_SUB_SET_COOKIE,!0)},t.getHubOrigin=c,t.getHubPath=l,t.getPublicPath=function(){var e=u(o.OIL_CONFIG.ATTR_PUBLIC_PATH,void 0);return e&&"/"!==e.substr(-1)&&(e+="/"),e},t.getLocaleUrl=f,t.getIabVendorListUrl=function(){return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_LIST_URL,"https://vendorlist.consensu.org/vendorlist.json")},t.getIabVendorBlacklist=function(){return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,void 0)},t.getIabVendorWhitelist=function(){return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,void 0)},t.setIabVendorBlacklist=function(e){s(o.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,e)},t.setIabVendorWhitelist=function(e){s(o.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,e)},t.getPoiGroupName=function(){return u(o.OIL_CONFIG.ATTR_POI_GROUP_NAME,"default")},t.getCookieExpireInDays=function(){return u(o.OIL_CONFIG.ATTR_COOKIE_EXPIRES_IN_DAYS,31)},t.getLocaleVariantName=d,t.getLanguage=function(){return p(d())},t.getLanguageFromLocale=p,t.getHubLocation=function(){return c()&&l()?c()+l():null},t.resetConfiguration=function(){(0,i.setGlobalOilObject)("CONFIG",null)},t.getCustomPurposes=v,t.getCustomPurposeIds=function(){return v().map(function(e){return e.id})},t.getAdvancedSettingsPurposesDefault=function(){return u(o.OIL_CONFIG.ATTR_ADVANCED_SETTINGS_PURPOSES_DEFAULT,!1)},t.getDefaultToOptin=function(){return u(o.OIL_CONFIG.ATTR_DEFAULT_TO_OPTIN,!1)},t.getLocale=g,t.setLocale=function(e){s(o.OIL_CONFIG.ATTR_LOCALE,e)},t.gdprApplies=function(){return u(o.OIL_CONFIG.ATTR_GDPR_APPLIES_GLOBALLY,!0)||u(o.OIL_CONFIG.ATTR_GDPR_APPLIES,!1)},t.setGdprApplies=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];s(o.OIL_CONFIG.ATTR_GDPR_APPLIES,e)},t.getShowLimitedVendors=function(){return u(o.OIL_CONFIG.ATTR_SHOW_LIMITED_VENDORS_ONLY,!1)};var o=n(13),r=n(5),i=n(2);function a(){if(!(0,i.getGlobalOilObject)("CONFIG")){var e=document.querySelector('script[type="application/configuration"]#oil-configuration');null===e&&(0,r.logInfo)("Using default config"),(0,i.setGlobalOilObject)("CONFIG",function(e){var t={};try{e&&e.text&&(t=JSON.parse(e.text),(0,r.logInfo)("Parsed config",t))}catch(e){(0,r.logError)("Error config",e)}return t}(e)),(0,i.setGlobalOilObject)("CONFIG_ATTRIBUTES",o.OIL_CONFIG),(n=g())&&"string"!=typeof n||void 0!==f()||((0,r.logError)("Incorrect or missing locale parameter found. Please review documentation on how to set the locale object in your configuration."),a="https://oil-backend.herokuapp.com/oil/api/userViewLocales/"+d(),s(o.OIL_CONFIG.ATTR_LOCALE_URL,a)),u(o.OIL_CONFIG.ATTR_CONFIG_VERSION,void 0)||(0,r.logError)('Your configuration is faulty - it must contain a "config_version" property. See the oil.js documentation for details.'),(t=g())&&(0,i.isObject)(t)&&(t.localeId||(0,r.logError)('Your configuration is faulty - "locale" object misses "localeId" property. See the oil.js documentation for details.'),t.version||(0,r.logError)('Your configuration is faulty - "locale" object misses "version" property. See the oil.js documentation for details.'))}var t,n,a;return(0,i.getGlobalOilObject)("CONFIG")}function s(e,t){a()[e]=t}function u(e,t){var n=a();return n&&void 0!==n[e]?n[e]:t}function c(){var e=u(o.OIL_CONFIG.ATTR_HUB_ORIGIN,"https://unpkg.com");return e?-1!==e.indexOf("http")?e:location.protocol+e:null}function l(){return u(o.OIL_CONFIG.ATTR_HUB_PATH,"/@ideasio/oil.js@"+i.OilVersion.getLatestReleaseVersion()+"/release/current/hub.html")}function f(){return u(o.OIL_CONFIG.ATTR_LOCALE_URL,void 0)}function d(){var e=g();return e||(e="enEN_01"),e&&(0,i.isObject)(e)?e.localeId?e.localeId:"enEN_01":e}function p(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en").substring(0,2)}function v(){return u(o.OIL_CONFIG.ATTR_CUSTOM_PURPOSES,[])}function g(){return u(o.OIL_CONFIG.ATTR_LOCALE,void 0)}},function(e,t,n){var o=n(1),r=n(8),i=n(14),a=n(23),s=n(24),u=function(e,t,n){var c,l,f,d,p=e&u.F,v=e&u.G,g=e&u.S,_=e&u.P,h=e&u.B,m=v?o:g?o[t]||(o[t]={}):(o[t]||{}).prototype,O=v?r:r[t]||(r[t]={}),y=O.prototype||(O.prototype={});for(c in v&&(n=t),n)f=((l=!p&&m&&void 0!==m[c])?m:n)[c],d=h&&l?s(f,o):_&&"function"==typeof f?s(Function.call,f):f,m&&a(m,c,f,e&u.U),O[c]!=f&&i(O,c,d),_&&y[c]!=f&&(y[c]=f)};o.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var o=n(3),r=n(39),i=n(31),a=Object.defineProperty;t.f=n(10)?Object.defineProperty:function(e,t,n){if(o(e),t=i(t,!0),o(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var o=n(41),r=n(32);e.exports=function(e){return o(r(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OIL_SPEC={CMP_ID:80,CMP_VERSION:1,LATEST_CONSENT_STRING_VERSION:1},t.OIL_CONFIG={ATTR_CONFIG_VERSION:"config_version",ATTR_ACTIVATE_POI:"poi_activate_poi",ATTR_HUB_ORIGIN:"poi_hub_origin",ATTR_HUB_PATH:"poi_hub_path",ATTR_PUBLIC_PATH:"publicPath",ATTR_HUB_LOCATION:"poi_hub_location",ATTR_SUB_SET_COOKIE:"poi_subscriber_set_cookie",ATTR_PREVIEW_MODE:"preview_mode",ATTR_COOKIE_EXPIRES_IN_DAYS:"cookie_expires_in_days",ATTR_TIMESTAMP:"timestamp",ATTR_PRIVACY_PAGE_URL:"privacy_page_url",ATTR_POI_GROUP_NAME:"poi_group_name",ATTR_ADVANCED_SETTINGS:"advanced_settings",ATTR_PERSIST_MINIMUM_TRACKING:"persist_min_tracking",ATTR_LOCALE:"locale",ATTR_CPC_TYPE:"cpc_type",ATTR_THEME:"theme",ATTR_TIMEOUT:"timeout",ATTR_LOCALE_URL:"locale_url",ATTR_IAB_VENDOR_LIST_URL:"iabVendorListUrl",ATTR_CUSTOM_PURPOSES:"customPurposes",ATTR_IAB_VENDOR_BLACKLIST:"iabVendorBlacklist",ATTR_IAB_VENDOR_WHITELIST:"iabVendorWhitelist",ATTR_SHOW_LIMITED_VENDORS_ONLY:"show_limited_vendors_only",ATTR_ADVANCED_SETTINGS_PURPOSES_DEFAULT:"advanced_settings_purposes_default",ATTR_DEFAULT_TO_OPTIN:"default_to_optin",ATTR_GDPR_APPLIES_GLOBALLY:"gdpr_applies_globally",ATTR_GDPR_APPLIES:"gdpr_applies",ATTR_REQUIRE_OPTOUT_CONFIRM:"require_optout_confirm"},t.OIL_CONFIG_CPC_TYPES={CPC_TYPE_STANDARD:"standard",CPC_TYPE_TABS:"tabs"},t.OIL_CONFIG_DEFAULT_VERSION=0,t.EVENT_NAME_OPT_IN="oil_optin_done",t.EVENT_NAME_SOI_OPT_IN="oil_soi_optin_done",t.EVENT_NAME_POI_OPT_IN="oil_poi_optin_done",t.EVENT_NAME_OPT_OUT="oil_optout_done",t.EVENT_NAME_AS_PRIVACY_SELECTED="oil_as_cpc_privacy_selected",t.EVENT_NAME_ADVANCED_SETTINGS="oil_click_advanced_settings",t.EVENT_NAME_TIMEOUT="oil_hide_layer",t.EVENT_NAME_COMPANY_LIST="oil_click_company_list",t.EVENT_NAME_THIRD_PARTY_LIST="oil_click_thirdparty_list",t.EVENT_NAME_BACK_TO_MAIN="oil_click_back_to_main",t.EVENT_NAME_NO_COOKIES_ALLOWED="oil_no_cookies_allowed",t.EVENT_NAME_OIL_SHOWN="oil_shown",t.EVENT_NAME_HAS_OPTED_IN="oil_has_optedin",t.PRIVACY_MINIMUM_TRACKING=0,t.PRIVACY_FULL_TRACKING=1,t.POI_FALLBACK_NAME="fallback",t.POI_FALLBACK_GROUP_NAME="group_name",t.POI_PAYLOAD="payload",t.OIL_PAYLOAD_PRIVACY="p",t.OIL_PAYLOAD_VERSION="v",t.OIL_PAYLOAD_LOCALE_VARIANT_NAME="lvn",t.OIL_PAYLOAD_LOCALE_VARIANT_VERSION="lvv",t.OIL_PAYLOAD_CUSTOM_PURPOSES="cp",t.OIL_PAYLOAD_CONFIG_VERSION="cv",t.DATAQA_PRIVACY_PAGE="oil-PrivacyPage",t.JS_CLASS_BUTTON_OPTIN="as-js-optin",t.JS_CLASS_BUTTON_OILBACK="as-js-oilback",t.JS_CLASS_BUTTON_PROCEED="as-js-proceed",t.JS_CLASS_BUTTON_CANCEL="as-js-cancel",t.JS_CLASS_BUTTON_ADVANCED_SETTINGS="as-js-advanced-settings",t.CSS_CLASS_OPTOUT_DIALOG="as-oil-optout-confirm",t.DATA_CONTEXT_YES="YES",t.DATA_CONTEXT_CANCEL="CANCEL",t.DATA_CONTEXT_PROCEED="PROCEED",t.DATA_CONTEXT_ADVANCED_SETTINGS="ADVANCEDSETTINGS",t.DATA_CONTEXT_BACK="BACK",t.OIL_GLOBAL_OBJECT_NAME="AS_OIL",t.MANAGED_TAG_IDENTIFIER="as-oil",t.MANAGED_TAG_IDENTIFIER_ATTRIBUTE="data-managed",t.MANAGED_TAG_PURPOSES_ATTRIBUTE="data-purposes"},function(e,t,n){var o=n(9),r=n(22);e.exports=n(10)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.setSessionCookie=h,t.setDomainCookie=m,t.getOilCookie=O,t.hasOutdatedOilCookie=y,t.findCookieConsideringCookieVersions=I,t.getSoiCookie=function(){var e=I(E(),P);return(0,a.logInfo)("Current Oil data from domain cookie: ",e),e},t.setSoiCookieWithPoiCookieData=function(e){return new Promise(function(t,n){(0,l.loadVendorList)().then(function(){var n=E(),o=void 0,r=e.configVersion||n.configVersion;if(e.consentString)o=e.consentString;else{var i=n.defaultCookieContent.consentData;i.setPurposesAllowed(e.consentData.allowedPurposeIds),i.setVendorsAllowed(e.consentData.allowedVendorIds),i.setConsentLanguage(e.consentData.consentLanguage),o=i.getConsentString()}var a={opt_in:!0,version:n.defaultCookieContent.version,localeVariantName:n.defaultCookieContent.localeVariantName,localeVariantVersion:n.defaultCookieContent.localeVariantVersion,customPurposes:e.customPurposes,consentString:o,configVersion:r};m(n.name,a,n.expires),t(a)}).catch(function(e){return n(e)})})},t.buildSoiCookie=b,t.setSoiCookie=function(e){return new Promise(function(t,n){b(e).then(function(e){m(g,e,(0,s.getCookieExpireInDays)()),t(e)}).catch(function(e){return n(e)})})},t.setPreviewCookie=function(){h(p,"true")},t.setVerboseCookie=function(){h(v,"true")},t.removePreviewCookie=function(){i.default.remove(p)},t.removeVerboseCookie=function(){i.default.remove(v)},t.isPreviewCookieSet=function(){return"true"===i.default.get(p)},t.isVerboseCookieSet=function(){return"true"===i.default.get(v)},t.removeSubscriberCookies=w,t.removeHubCookie=function(e){w(),e&&i.default.remove(e+"_"+g)},t.isBrowserCookieEnabled=function(){i.default.set("oil_cookie_exp","cookiedata");var e=S("oil_cookie_exp");return i.default.remove("oil_cookie_exp"),e},t.getStandardPurposesWithConsent=A,t.getCustomPurposesWithConsent=T;var r,i=(r=n(38))&&r.__esModule?r:{default:r},a=n(5),s=n(6),u=n(2),c=n(13),l=n(29),f=n(2),d=n(56).ConsentString,p="oil_preview",v="oil_verbose",g="oil_data",_="oil_data_session";function h(e,t){i.default.set(e,t)}function m(e,t,n){delete t.consentData,i.default.set(e,t,{expires:n})}function O(e){var t=i.default.getJSON(e.name);return t.consentData=new d(t.consentString),t}function y(e){return C(e.name,e.outdated_cookie_content_keys)}function I(e,t){var n=void 0;return function(e){return C(e.name,Object.keys(e.defaultCookieContent))}(e)?n=O(e):function(e){var t=Object.keys(e.defaultCookieContent);return t.splice(t.indexOf("configVersion"),1),C(e.name,t)}(e)?(n=O(e)).configVersion=c.OIL_CONFIG_DEFAULT_VERSION:n=y(e)?t(e):e.defaultCookieContent,n}function b(e){return new Promise(function(t,n){(0,l.loadVendorList)().then(function(){var n=E(),o=n.defaultCookieContent.consentData;o.setGlobalVendorList((0,l.getVendorList)()),o.setPurposesAllowed(A(e)),o.setVendorsAllowed((0,l.getLimitedVendorIds)()),t({opt_in:!0,version:n.defaultCookieContent.version,localeVariantName:n.defaultCookieContent.localeVariantName,localeVariantVersion:n.defaultCookieContent.localeVariantVersion,customPurposes:T(e),consentString:o.getConsentString(),configVersion:n.defaultCookieContent.configVersion})}).catch(function(e){return n(e)})})}function w(){i.default.remove(g),i.default.remove(_)}function A(e){return"object"===(void 0===e?"undefined":o(e))?(0,l.getPurposes)().map(function(e){return e.id}).filter(function(t){return e[t]}):1===e?(0,l.getPurposes)().map(function(e){return e.id}):[]}function T(e,t){return t||(t=(0,s.getCustomPurposes)()),"object"===(void 0===e?"undefined":o(e))?t.map(function(e){return e.id}).filter(function(t){return e[t]}):1===e?t.map(function(e){return e.id}):[]}function S(e){return void 0!==i.default.get(e)}function C(e,t){return function(e,t){if("string"==typeof e&&Array.isArray(t)&&S(e)){var n=i.default.getJSON(e);return t.every(function(e){return"consentData"===e||n.hasOwnProperty(e)})}return!1}(e,t)}function E(){var e=new d;return e.setCmpId(c.OIL_SPEC.CMP_ID),e.setCmpVersion(c.OIL_SPEC.CMP_VERSION),e.setConsentScreen(1),e.setConsentLanguage((0,s.getLanguage)()),e.setPurposesAllowed((0,s.getDefaultToOptin)()?(0,l.getPurposes)().map(function(e){return e.id}):[]),e.setVendorsAllowed((0,s.getDefaultToOptin)()?(0,l.getLimitedVendorIds)():[]),e.setGlobalVendorList((0,l.getVendorList)()),{name:g,expires:(0,s.getCookieExpireInDays)(),defaultCookieContent:{opt_in:!1,version:f.OilVersion.get(),localeVariantName:(0,s.getLocaleVariantName)(),localeVariantVersion:(0,u.getLocaleVariantVersion)(),customPurposes:T((0,s.getDefaultToOptin)()?1:0),consentData:e,consentString:e.getConsentString(),configVersion:(0,s.getConfigVersion)()},outdated_cookie_content_keys:["opt_in","timestamp","version","localeVariantName","localeVariantVersion","privacy"]}}function P(e){var t=i.default.getJSON(e.name),n=e.defaultCookieContent;return n.opt_in=t.opt_in,n.version=t.version,n.localeVariantName=t.localeVariantName,n.localeVariantVersion=t.localeVariantVersion,n.configVersion=c.OIL_CONFIG_DEFAULT_VERSION,n.customPurposes=T(t.privacy),n.consentData.setConsentLanguage((0,s.getLanguageFromLocale)(t.localeVariantName)),n.consentData.setPurposesAllowed(A(t.privacy)),n.consentData.setVendorsAllowed((0,l.getLimitedVendorIds)()),n.consentData.setGlobalVendorList((0,l.getVendorList)()),n.consentString=n.consentData.getConsentString(),n}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t,n){var o=n(40),r=n(35);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t){e.exports=!1},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var o=n(1),r=n(14),i=n(11),a=n(18)("src"),s=Function.toString,u=(""+s).split("toString");n(8).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||r(n,a,e[t]?""+e[t]:u.join(String(t)))),e===o?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var o=n(25);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var o=n(42),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t){e.exports={}},function(e,t,n){var o=n(9).f,r=n(11),i=n(0)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pendingVendorlistPromise=t.cachedVendorList=t.DEFAULT_VENDOR_LIST=void 0,t.loadVendorList=function(){return new Promise(function(e){if(s)e(s);else if(u)e(u);else{var n=(0,o.getIabVendorListUrl)();t.pendingVendorlistPromise=u=(0,i.fetchJsonData)(n),u.then(function(n){var o;t.cachedVendorList=s=n,t.pendingVendorlistPromise=u=null,(o=s).vendors=o.vendors.sort(function(e,t){return e.id-t.id}),e(s)}).catch(function(n){t.pendingVendorlistPromise=u=null,(0,r.logError)("OIL getVendorList failed and returned error: "+n+". Falling back to default vendor list!"),e(d())})}})},t.getPurposes=c,t.getPurposeIds=function(){return c().map(function(e){return e.id})},t.getVendors=l,t.getVendorIds=f,t.getVendorListVersion=function(){return s?s.vendorListVersion:a.vendorListVersion},t.getVendorList=d,t.clearVendorListCache=function(){t.cachedVendorList=s=void 0,t.pendingVendorlistPromise=u=null},t.getVendorsToDisplay=function(){return(0,o.getShowLimitedVendors)()?p():l()},t.getLimitedVendors=p,t.getLimitedVendorIds=v;var o=n(6),r=n(5),i=n(2),a=t.DEFAULT_VENDOR_LIST={vendorListVersion:36,maxVendorId:380,lastUpdated:"2018-05-30T16:00:15Z",purposeIds:[1,2,3,4,5]},s=t.cachedVendorList=void 0,u=t.pendingVendorlistPromise=null;function c(){return s?s.purposes:_(a.purposeIds)}function l(){return s?s.vendors:_(g())}function f(){return l().map(function(e){return e.id})}function d(){return s||{vendorListVersion:a.vendorListVersion,lastUpdated:a.lastUpdated,vendors:_(g()),purposes:_(a.purposeIds),features:[],isDefault:!0}}function p(){var e=l(),t=v();return(0,r.logInfo)("limiting vendors"),e.filter(function(e){return t.indexOf(e.id)>-1})}function v(){var e=void 0;e=s?f():g();var t=(0,o.getIabVendorWhitelist)(),n=(0,o.getIabVendorBlacklist)();return t&&t.length>0?e=e.filter(function(e){return t.indexOf(e)>-1}):n&&n.length>0&&(e=e.filter(function(e){return-1===n.indexOf(e)})),e}function g(){return function(e,t){for(;e--;)t[e]=e+1;return t}(a.maxVendorId,[])}function _(e){return e.map(function(e){return{id:e}})}},function(e,t,n){var o=n(4),r=n(1).document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,t,n){var o=n(4);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var o=n(34)("keys"),r=n(18);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t,n){var o=n(8),r=n(1),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:n(20)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var o=n(32);e.exports=function(e){return Object(o(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o,r,i;
/*!
* JavaScript Cookie v2.1.4
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
/*!
* JavaScript Cookie v2.1.4
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
void 0===(r="function"==typeof(o=i=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}return function t(n){function o(t,r,i){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},o.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(r),/^[\{\[]/.test(a)&&(r=a)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c]));return document.cookie=t+"="+r+u}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,d=0;d<l.length;d++){var p=l[d].split("="),v=p.slice(1).join("=");'"'===v.charAt(0)&&(v=v.slice(1,-1));try{var g=p[0].replace(f,decodeURIComponent);if(v=n.read?n.read(v,g):n(v,g)||v.replace(f,decodeURIComponent),this.json)try{v=JSON.parse(v)}catch(e){}if(t===g){a=v;break}t||(a[g]=v)}catch(e){}}return a}}return o.set=o,o.get=function(e){return o.call(o,e)},o.getJSON=function(){return o.apply({json:!0},[].slice.call(arguments))},o.defaults={},o.remove=function(t,n){o(t,"",e(n,{expires:-1}))},o.withConverter=t,o}(function(){})})?o.call(t,n,t,e):o)||(e.exports=r),e.exports=i()},function(e,t,n){e.exports=!n(10)&&!n(17)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var o=n(11),r=n(12),i=n(60)(!1),a=n(33)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),u=0,c=[];for(n in s)n!=a&&o(s,n)&&c.push(n);for(;t.length>u;)o(s,n=t[u++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var o=n(15);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},function(e,t,n){var o=n(42),r=Math.max,i=Math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):i(e,t)}},function(e,t,n){var o=n(0)("unscopables"),r=Array.prototype;void 0==r[o]&&n(14)(r,o,{}),e.exports=function(e){r[o][e]=!0}},function(e,t,n){var o=n(3),r=n(67),i=n(35),a=n(33)("IE_PROTO"),s=function(){},u=function(){var e,t=n(30)("iframe"),o=i.length;for(t.style.display="none",n(46).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;o--;)delete u.prototype[i[o]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=o(e),n=new s,s.prototype=null,n[a]=e):n=u(),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(1).document;e.exports=o&&o.documentElement},function(e,t,n){t.f=n(0)},function(e,t,n){var o=n(40),r=n(35).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){var o=n(15),r=n(0)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:i?o(t):"Object"==(a=o(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var o,r,i,a=n(24),s=n(89),u=n(46),c=n(30),l=n(1),f=l.process,d=l.setImmediate,p=l.clearImmediate,v=l.MessageChannel,g=l.Dispatch,_=0,h={},m=function(){var e=+this;if(h.hasOwnProperty(e)){var t=h[e];delete h[e],t()}},O=function(e){m.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return h[++_]=function(){s("function"==typeof e?e:Function(e),t)},o(_),_},p=function(e){delete h[e]},"process"==n(15)(f)?o=function(e){f.nextTick(a(m,e,1))}:g&&g.now?o=function(e){g.now(a(m,e,1))}:v?(i=(r=new v).port2,r.port1.onmessage=O,o=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(o=function(e){l.postMessage(e+"","*")},l.addEventListener("message",O,!1)):o="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){"use strict";var o=n(25);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o}),this.resolve=o(t),this.reject=o(n)}(e)}},function(e,t,n){"use strict";var o,r,i,a,s="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},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c=Array.from||(o=function(e){return"function"==typeof e},r=Math.pow(2,53)-1,i=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},a=function(e){var t=e.next();return!Boolean(t.done)&&t},function(e){var t,n,r,u=this,c=arguments.length>1?arguments[1]:void 0;if(void 0!==c){if(!o(c))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(t=arguments[2])}var l=function(e,t){if(null!=e&&null!=t){var n=e[t];if(null==n)return;if(!o(n))throw new TypeError(n+" is not a function");return n}}(e,function(e){if(null!=e){if(["string","number","boolean","symbol"].indexOf(void 0===e?"undefined":s(e))>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in e)return Symbol.iterator;if("@@iterator"in e)return"@@iterator"}}(e));if(void 0!==l){n=o(u)?Object(new u):[];var f,d,p=l.call(e);if(null==p)throw new TypeError("Array.from requires an array-like or iterable object");for(r=0;;){if(!(f=a(p)))return n.length=r,n;d=f.value,n[r]=c?c.call(t,d,r):d,r++}}else{var v=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var g,_=i(v.length);for(n=o(u)?Object(new u(_)):new Array(_),r=0;r<_;)g=v[r],n[r]=c?c.call(t,g,r):g,r++;n.length=_}return n});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 c(e)}var f=n(53),d=f.encodeToBase64,p=f.padRight;function v(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n=Math.max.apply(Math,[0].concat(l(e.map(function(e){return e.id})),l(c(t)))),o="",r=1;r<=n;r+=1)o+=-1!==t.indexOf(r)?"1":"0";return o}function g(e,t){var n=[],o=e.map(function(e){return e.id});return e.reduce(function(r,i,a){var s=i.id;if(-1!==t.indexOf(s)&&n.push(s),(-1===t.indexOf(s)||a===e.length-1||-1===o.indexOf(s+1))&&n.length){var u=n.shift(),c=n.pop();return n=[],[].concat(l(r),[{isRange:"number"==typeof c,startVendorId:u,endVendorId:c}])}return r},[])}e.exports={convertVendorsToRanges:g,encodeConsentString:function(e){var t=e.maxVendorId,n=e.vendorList,o=void 0===n?{}:n,r=e.allowedPurposeIds,i=e.allowedVendorIds,a=o.vendors,s=void 0===a?[]:a,c=o.purposes,l=void 0===c?[]:c;t||(t=0,s.forEach(function(e){e.id>t&&(t=e.id)}));var f=d(u({},e,{maxVendorId:t,purposeIdBitString:v(l,r),isRange:!1,vendorIdBitString:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n="",o=1;o<=e;o+=1)n+=-1!==t.indexOf(o)?"1":"0";return p(n,Math.max(0,e-n.length))}(t,i)})),_=g(s,i),h=d(u({},e,{maxVendorId:t,purposeIdBitString:v(l,r),isRange:!0,defaultConsent:!1,numEntries:_.length,vendorRangeList:_}));return f.length<h.length?f:h}}},function(e,t,n){"use strict";var o,r,i,a,s="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},u=Array.from||(o=function(e){return"function"==typeof e},r=Math.pow(2,53)-1,i=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},a=function(e){var t=e.next();return!Boolean(t.done)&&t},function(e){var t,n,r,u=this,c=arguments.length>1?arguments[1]:void 0;if(void 0!==c){if(!o(c))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(t=arguments[2])}var l=function(e,t){if(null!=e&&null!=t){var n=e[t];if(null==n)return;if(!o(n))throw new TypeError(n+" is not a function");return n}}(e,function(e){if(null!=e){if(["string","number","boolean","symbol"].indexOf(void 0===e?"undefined":s(e))>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in e)return Symbol.iterator;if("@@iterator"in e)return"@@iterator"}}(e));if(void 0!==l){n=o(u)?Object(new u):[];var f,d,p=l.call(e);if(null==p)throw new TypeError("Array.from requires an array-like or iterable object");for(r=0;;){if(!(f=a(p)))return n.length=r,n;d=f.value,n[r]=c?c.call(t,d,r):d,r++}}else{var v=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var g,_=i(v.length);for(n=o(u)?Object(new u(_)):new Array(_),r=0;r<_;)g=v[r],n[r]=c?c.call(t,g,r):g,r++;n.length=_}return n}),c=n(98),l=n(54),f=l.versionNumBits,d=l.vendorVersionMap;function p(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",n="",o=0;o<e;o+=1)n+=t;return n}function v(e,t){return p(Math.max(0,t))+e}function g(e,t){return e+p(Math.max(0,t))}function _(e,t){var n="";return"number"!=typeof e||isNaN(e)||(n=parseInt(e,10).toString(2)),t>=n.length&&(n=v(n,t-n.length)),n.length>t&&(n=n.substring(0,t)),n}function h(e){return _(!0===e?1:0,1)}function m(e,t){return e instanceof Date?_(e.getTime()/100,t):_(e,t)}function O(e,t){return _(e.toUpperCase().charCodeAt(0)-65,t)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return O(e.slice(0,1),t/2)+O(e.slice(1),t/2)}function I(e,t,n){return parseInt(e.substr(t,n),2)}function b(e,t,n){return new Date(100*I(e,t,n))}function w(e,t){return 1===parseInt(e.substr(t,1),2)}function A(e){var t=I(e);return String.fromCharCode(t+65).toLowerCase()}function T(e,t,n){var o=e.substr(t,n);return A(o.slice(0,n/2))+A(o.slice(n/2))}function S(e){var t=e.input,n=e.field,o=n.name,r=n.type,i=n.numBits,a=n.encoder,s=n.validator;if("function"==typeof s&&!s(t))return"";if("function"==typeof a)return a(t);var u="function"==typeof i?i(t):i,c=t[o],l=null===c||void 0===c?"":c;switch(r){case"int":return _(l,u);case"bool":return h(l);case"date":return m(l,u);case"bits":return g(l,u-l.length).substring(0,u);case"list":return l.reduce(function(e,t){return e+C({input:t,fields:n.fields})},"");case"language":return y(l,u);default:throw new Error("ConsentString - Unknown field type "+r+" for encoding")}}function C(e){var t=e.input;return e.fields.reduce(function(e,n){return e+S({input:t,field:n})},"")}function E(e,t){var n=e.version;if("number"!=typeof n)throw new Error("ConsentString - No version field to encode");if(t[n])return C({input:e,fields:t[n].fields});throw new Error("ConsentString - No definition for version "+n)}e.exports={padRight:g,padLeft:v,encodeField:S,encodeDataToBits:E,encodeIntToBits:_,encodeBoolToBits:h,encodeDateToBits:m,encodeLanguageToBits:y,encodeLetterToBits:O,encodeToBase64:function(e){var t=E(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:d);if(t){for(var n=g(t,7-(t.length+7)%8),o="",r=0;r<n.length;r+=8)o+=String.fromCharCode(parseInt(n.substr(r,8),2));return c.encode(o).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}return null},decodeBitsToIds:function(e){return e.split("").reduce(function(e,t,n){return"1"===t&&-1===e.indexOf(n+1)&&e.push(n+1),e},[])},decodeBitsToInt:I,decodeBitsToDate:b,decodeBitsToBool:w,decodeBitsToLanguage:T,decodeBitsToLetter:A,decodeFromBase64:function(e,t){for(var n=e;n.length%4!=0;)n+="=";n=n.replace(/-/g,"+").replace(/_/g,"/");for(var o=c.decode(n),r="",i=0;i<o.length;i+=1){var a=o.charCodeAt(i).toString(2);r+=v(a,8-a.length)}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,n=I(e,0,f);if("number"!=typeof n)throw new Error("ConsentString - Unknown version number in the string to decode");if(!d[n])throw new Error("ConsentString - Unsupported version "+n+" in the string to decode");return function e(t){var n=t.input,o=t.fields,r=t.startPosition,i=void 0===r?0:r;return{decodedObject:o.reduce(function(t,o){var r=o.name,a=o.numBits,s=function(t){var n=t.input,o=t.output,r=t.startPosition,i=t.field,a=i.type,s=i.numBits,c=i.decoder,l=i.validator,f=i.listCount;if("function"==typeof l&&!l(o))return{newPosition:r};if("function"==typeof c)return c(n,o,r);var d="function"==typeof s?s(o):s,p=0;switch("function"==typeof f?p=f(o):"number"==typeof f&&(p=f),a){case"int":return{fieldValue:I(n,r,d)};case"bool":return{fieldValue:w(n,r)};case"date":return{fieldValue:b(n,r,d)};case"bits":return{fieldValue:n.substr(r,d)};case"list":return new Array(p).fill().reduce(function(t){var o=e({input:n,fields:i.fields,startPosition:t.newPosition}),r=o.decodedObject,a=o.newPosition;return{fieldValue:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return u(e)}(t.fieldValue),[r]),newPosition:a}},{fieldValue:[],newPosition:r});case"language":return{fieldValue:T(n,r,d)};default:throw new Error("ConsentString - Unknown field type "+a+" for decoding")}}({input:n,output:t,startPosition:i,field:o}),c=s.fieldValue,l=s.newPosition;return void 0!==c&&(t[r]=c),void 0!==l?i=l:"number"==typeof a&&(i+=a),t},{}),newPosition:i}}({input:e,fields:t[n].fields}).decodedObject}(r,t)}}},function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator,Array.from||Math.pow(2,53),e.exports={versionNumBits:6,vendorVersionMap:{1:{version:1,metadataFields:["version","created","lastUpdated","cmpId","cmpVersion","consentScreen","vendorListVersion"],fields:[{name:"version",type:"int",numBits:6},{name:"created",type:"date",numBits:36},{name:"lastUpdated",type:"date",numBits:36},{name:"cmpId",type:"int",numBits:12},{name:"cmpVersion",type:"int",numBits:12},{name:"consentScreen",type:"int",numBits:6},{name:"consentLanguage",type:"language",numBits:12},{name:"vendorListVersion",type:"int",numBits:12},{name:"purposeIdBitString",type:"bits",numBits:24},{name:"maxVendorId",type:"int",numBits:16},{name:"isRange",type:"bool",numBits:1},{name:"vendorIdBitString",type:"bits",numBits:function(e){return e.maxVendorId},validator:function(e){return!e.isRange}},{name:"defaultConsent",type:"bool",numBits:1,validator:function(e){return e.isRange}},{name:"numEntries",numBits:12,type:"int",validator:function(e){return e.isRange}},{name:"vendorRangeList",type:"list",listCount:function(e){return e.numEntries},validator:function(e){return e.isRange},fields:[{name:"isRange",type:"bool",numBits:1},{name:"startVendorId",type:"int",numBits:16},{name:"endVendorId",type:"int",numBits:16,validator:function(e){return e.isRange}}]}]}}}},function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator;var o=(Array.from||Math.pow(2,53),n(53)),r=o.decodeBitsToIds,i=o.decodeFromBase64;e.exports={decodeConsentString:function(e){var t=i(e),n=t.version,o=t.cmpId,a=t.vendorListVersion,s=t.purposeIdBitString,u=t.maxVendorId,c=t.created,l=t.lastUpdated,f=t.isRange,d=t.defaultConsent,p=t.vendorIdBitString,v=t.vendorRangeList,g=t.cmpVersion,_=t.consentScreen,h=t.consentLanguage,m={version:n,cmpId:o,vendorListVersion:a,allowedPurposeIds:r(s),maxVendorId:u,created:c,lastUpdated:l,cmpVersion:g,consentScreen:_,consentLanguage:h};if(f){var O=v.reduce(function(e,t){for(var n=t.isRange,o=t.startVendorId,r=t.endVendorId,i=n?r:o,a=o;a<=i;a+=1)e[a]=!0;return e},{});m.allowedVendorIds=[];for(var y=0;y<=u;y+=1)(d&&!O[y]||!d&&O[y])&&-1===m.allowedVendorIds.indexOf(y)&&m.allowedVendorIds.push(y)}else m.allowedVendorIds=r(p);return m}}},function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator;var o=(Array.from||Math.pow(2,53),n(97).ConsentString),r=n(55).decodeConsentString,i=n(52).encodeConsentString;e.exports={ConsentString:o,decodeConsentString:r,encodeConsentString:i}},function(e,t,n){"use strict";function o(){if(Object.values||n(58),Array.prototype.fill||n(61),Array.prototype.values||n(63),String.startsWith||n(69),Object.assign||n(73),window.Symbol||n(75),!window.Promise&&(n(82),n(8),"function"!=typeof window.CustomEvent)){var e=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n};e.prototype=window.Event.prototype,window.CustomEvent=e}}Object.defineProperty(t,"__esModule",{value:!0}),t.generatePolyfills=o,t.default=o()},function(e,t,n){var o=n(7),r=n(59)(!1);o(o.S,"Object",{values:function(e){return r(e)}})},function(e,t,n){var o=n(19),r=n(12),i=n(21).f;e.exports=function(e){return function(t){for(var n,a=r(t),s=o(a),u=s.length,c=0,l=[];u>c;)i.call(a,n=s[c++])&&l.push(e?[n,a[n]]:a[n]);return l}}},function(e,t,n){var o=n(12),r=n(26),i=n(43);e.exports=function(e){return function(t,n,a){var s,u=o(t),c=r(u.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var o=n(7);o(o.P,"Array",{fill:n(62)}),n(44)("fill")},function(e,t,n){"use strict";var o=n(36),r=n(43),i=n(26);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:r(u,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var o=n(44),r=n(64),i=n(27),a=n(12);e.exports=n(65)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var o=n(20),r=n(7),i=n(23),a=n(14),s=n(27),u=n(66),c=n(28),l=n(68),f=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,v,g,_,h){u(n,t,v);var m,O,y,I=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},b=t+" Iterator",w="values"==g,A=!1,T=e.prototype,S=T[f]||T["@@iterator"]||g&&T[g],C=S||I(g),E=g?w?I("entries"):C:void 0,P="Array"==t&&T.entries||S;if(P&&(y=l(P.call(new e)))!==Object.prototype&&y.next&&(c(y,b,!0),o||"function"==typeof y[f]||a(y,f,p)),w&&S&&"values"!==S.name&&(A=!0,C=function(){return S.call(this)}),o&&!h||!d&&!A&&T[f]||a(T,f,C),s[t]=C,s[b]=p,g)if(m={values:w?C:I("values"),keys:_?C:I("keys"),entries:E},h)for(O in m)O in T||i(T,O,m[O]);else r(r.P+r.F*(d||A),t,m);return m}},function(e,t,n){"use strict";var o=n(45),r=n(22),i=n(28),a={};n(14)(a,n(0)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var o=n(9),r=n(3),i=n(19);e.exports=n(10)?Object.defineProperties:function(e,t){r(e);for(var n,a=i(t),s=a.length,u=0;s>u;)o.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var o=n(11),r=n(36),i=n(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var o=n(7),r=n(26),i=n(70),a="".startsWith;o(o.P+o.F*n(72)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return a?a.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){var o=n(71),r=n(32);e.exports=function(e,t,n){if(o(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var o=n(4),r=n(15),i=n(0)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},function(e,t,n){var o=n(0)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var o=n(7);o(o.S+o.F,"Object",{assign:n(74)})},function(e,t,n){"use strict";var o=n(19),r=n(37),i=n(21),a=n(36),s=n(41),u=Object.assign;e.exports=!u||n(17)(function(){var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=o})?function(e,t){for(var n=a(e),u=arguments.length,c=1,l=r.f,f=i.f;u>c;)for(var d,p=s(arguments[c++]),v=l?o(p).concat(l(p)):o(p),g=v.length,_=0;g>_;)f.call(p,d=v[_++])&&(n[d]=p[d]);return n}:u},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(10),a=n(7),s=n(23),u=n(76).KEY,c=n(17),l=n(34),f=n(28),d=n(18),p=n(0),v=n(47),g=n(77),_=n(78),h=n(79),m=n(3),O=n(4),y=n(12),I=n(31),b=n(22),w=n(45),A=n(80),T=n(81),S=n(9),C=n(19),E=T.f,P=S.f,L=A.f,V=o.Symbol,N=o.JSON,R=N&&N.stringify,x=p("_hidden"),D=p("toPrimitive"),k={}.propertyIsEnumerable,j=l("symbol-registry"),M=l("symbols"),G=l("op-symbols"),B=Object.prototype,F="function"==typeof V,U=o.QObject,H=!U||!U.prototype||!U.prototype.findChild,J=i&&c(function(){return 7!=w(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var o=E(B,t);o&&delete B[t],P(e,t,n),o&&e!==B&&P(B,t,o)}:P,Y=function(e){var t=M[e]=w(V.prototype);return t._k=e,t},W=F&&"symbol"==typeof V.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof V},K=function(e,t,n){return e===B&&K(G,t,n),m(e),t=I(t,!0),m(n),r(M,t)?(n.enumerable?(r(e,x)&&e[x][t]&&(e[x][t]=!1),n=w(n,{enumerable:b(0,!1)})):(r(e,x)||P(e,x,b(1,{})),e[x][t]=!0),J(e,t,n)):P(e,t,n)},q=function(e,t){m(e);for(var n,o=_(t=y(t)),r=0,i=o.length;i>r;)K(e,n=o[r++],t[n]);return e},z=function(e){var t=k.call(this,e=I(e,!0));return!(this===B&&r(M,e)&&!r(G,e))&&(!(t||!r(this,e)||!r(M,e)||r(this,x)&&this[x][e])||t)},X=function(e,t){if(e=y(e),t=I(t,!0),e!==B||!r(M,t)||r(G,t)){var n=E(e,t);return!n||!r(M,t)||r(e,x)&&e[x][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=L(y(e)),o=[],i=0;n.length>i;)r(M,t=n[i++])||t==x||t==u||o.push(t);return o},Z=function(e){for(var t,n=e===B,o=L(n?G:y(e)),i=[],a=0;o.length>a;)!r(M,t=o[a++])||n&&!r(B,t)||i.push(M[t]);return i};F||(s((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(G,n),r(this,x)&&r(this[x],e)&&(this[x][e]=!1),J(this,e,b(1,n))};return i&&H&&J(B,e,{configurable:!0,set:t}),Y(e)}).prototype,"toString",function(){return this._k}),T.f=X,S.f=K,n(48).f=A.f=Q,n(21).f=z,n(37).f=Z,i&&!n(20)&&s(B,"propertyIsEnumerable",z,!0),v.f=function(e){return Y(p(e))}),a(a.G+a.W+a.F*!F,{Symbol:V});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)p($[ee++]);for(var te=C(p.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!F,"Symbol",{for:function(e){return r(j,e+="")?j[e]:j[e]=V(e)},keyFor:function(e){if(!W(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!F,"Object",{create:function(e,t){return void 0===t?w(e):q(w(e),t)},defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Q,getOwnPropertySymbols:Z}),N&&a(a.S+a.F*(!F||c(function(){var e=V();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=t=o[1],(O(t)||void 0!==e)&&!W(e))return h(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!W(t))return t}),o[1]=t,R.apply(N,o)}}),V.prototype[D]||n(14)(V.prototype,D,V.prototype.valueOf),f(V,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},function(e,t,n){var o=n(18)("meta"),r=n(4),i=n(11),a=n(9).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,o,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[o].i},getWeak:function(e,t){if(!i(e,o)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[o].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!i(e,o)&&l(e),e}}},function(e,t,n){var o=n(1),r=n(8),i=n(20),a=n(47),s=n(9).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=i?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var o=n(19),r=n(37),i=n(21);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var a,s=n(e),u=i.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var o=n(15);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(12),r=n(48).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(o(e))}},function(e,t,n){var o=n(21),r=n(22),i=n(12),a=n(31),s=n(11),u=n(39),c=Object.getOwnPropertyDescriptor;t.f=n(10)?c:function(e,t){if(e=i(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return r(!o.f.call(e,t),e[t])}},function(e,t,n){"use strict";var o,r,i,a,s=n(20),u=n(1),c=n(24),l=n(49),f=n(7),d=n(4),p=n(25),v=n(83),g=n(84),_=n(88),h=n(50).set,m=n(90)(),O=n(51),y=n(91),I=n(92),b=n(93),w=u.TypeError,A=u.process,T=A&&A.versions,S=T&&T.v8||"",C=u.Promise,E="process"==l(A),P=function(){},L=r=O.f,V=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n(0)("species")]=function(e){e(P,P)};return(E||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==S.indexOf("6.6")&&-1===I.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},R=function(e,t){if(!e._n){e._n=!0;var n=e._c;m(function(){for(var o=e._v,r=1==e._s,i=0,a=function(t){var n,i,a,s=r?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(r||(2==e._h&&k(e),e._h=1),!0===s?n=o:(l&&l.enter(),n=s(o),l&&(l.exit(),a=!0)),n===t.promise?c(w("Promise-chain cycle")):(i=N(n))?i.call(n,u,c):u(n)):c(o)}catch(e){l&&!a&&l.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&x(e)})}},x=function(e){h.call(u,function(){var t,n,o,r=e._v,i=D(e);if(i&&(t=y(function(){E?A.emit("unhandledRejection",r,e):(n=u.onunhandledrejection)?n({promise:e,reason:r}):(o=u.console)&&o.error&&o.error("Unhandled promise rejection",r)}),e._h=E||D(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},D=function(e){return 1!==e._h&&0===(e._a||e._c).length},k=function(e){h.call(u,function(){var t;E?A.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},M=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw w("Promise can't be resolved itself");(t=N(e))?m(function(){var o={_w:n,_d:!1};try{t.call(e,c(M,o,1),c(j,o,1))}catch(e){j.call(o,e)}}):(n._v=e,n._s=1,R(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};V||(C=function(e){v(this,C,"Promise","_h"),p(e),o.call(this);try{e(c(M,this,1),c(j,this,1))}catch(e){j.call(this,e)}},(o=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(94)(C.prototype,{then:function(e,t){var n=L(_(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=E?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new o;this.promise=e,this.resolve=c(M,e,1),this.reject=c(j,e,1)},O.f=L=function(e){return e===C||e===a?new i(e):r(e)}),f(f.G+f.W+f.F*!V,{Promise:C}),n(28)(C,"Promise"),n(95)("Promise"),a=n(8).Promise,f(f.S+f.F*!V,"Promise",{reject:function(e){var t=L(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!V),"Promise",{resolve:function(e){return b(s&&this===a?C:this,e)}}),f(f.S+f.F*!(V&&n(96)(function(e){C.all(e).catch(P)})),"Promise",{all:function(e){var t=this,n=L(t),o=n.resolve,r=n.reject,i=y(function(){var n=[],i=0,a=1;g(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||o(n))},r)}),--a||o(n)});return i.e&&r(i.v),n.promise},race:function(e){var t=this,n=L(t),o=n.reject,r=y(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,o)})});return r.e&&o(r.v),n.promise}})},function(e,t){e.exports=function(e,t,n,o){if(!(e instanceof t)||void 0!==o&&o in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var o=n(24),r=n(85),i=n(86),a=n(3),s=n(26),u=n(87),c={},l={};(t=e.exports=function(e,t,n,f,d){var p,v,g,_,h=d?function(){return e}:u(e),m=o(n,f,t?2:1),O=0;if("function"!=typeof h)throw TypeError(e+" is not iterable!");if(i(h)){for(p=s(e.length);p>O;O++)if((_=t?m(a(v=e[O])[0],v[1]):m(e[O]))===c||_===l)return _}else for(g=h.call(e);!(v=g.next()).done;)if((_=r(g,m,v.value,t))===c||_===l)return _}).BREAK=c,t.RETURN=l},function(e,t,n){var o=n(3);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},function(e,t,n){var o=n(27),r=n(0)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[r]===e)}},function(e,t,n){var o=n(49),r=n(0)("iterator"),i=n(27);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||i[o(e)]}},function(e,t,n){var o=n(3),r=n(25),i=n(0)("species");e.exports=function(e,t){var n,a=o(e).constructor;return void 0===a||void 0==(n=o(a)[i])?t:r(n)}},function(e,t){e.exports=function(e,t,n){var o=void 0===n;switch(t.length){case 0:return o?e():e.call(n);case 1:return o?e(t[0]):e.call(n,t[0]);case 2:return o?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return o?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return o?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var o=n(1),r=n(50).set,i=o.MutationObserver||o.WebKitMutationObserver,a=o.process,s=o.Promise,u="process"==n(15)(a);e.exports=function(){var e,t,n,c=function(){var o,r;for(u&&(o=a.domain)&&o.exit();e;){r=e.fn,e=e.next;try{r()}catch(o){throw e?n():t=void 0,o}}t=void 0,o&&o.enter()};if(u)n=function(){a.nextTick(c)};else if(!i||o.navigator&&o.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(c)}}else n=function(){r.call(o,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(o){var r={fn:o,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var o=n(1).navigator;e.exports=o&&o.userAgent||""},function(e,t,n){var o=n(3),r=n(4),i=n(51);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var o=n(23);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(1),r=n(9),i=n(10),a=n(0)("species");e.exports=function(e){var t=o[e];i&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(0)("iterator"),r=!1;try{var i=[7][o]();i.return=function(){r=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i=[7],a=i[o]();a.next=function(){return{done:n=!0}},i[o]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var o="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},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();Array.from||Math.pow(2,53);var i=n(52).encodeConsentString,a=n(55).decodeConsentString,s=n(54).vendorVersionMap,u=/^[a-z]{2}$/,c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!function(t,n){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.created=new Date,this.lastUpdated=new Date,this.version=1,this.vendorList=null,this.vendorListVersion=null,this.cmpId=null,this.cmpVersion=null,this.consentScreen=null,this.consentLanguage=null,this.allowedPurposeIds=[],this.allowedVendorIds=[],t&&Object.assign(this,a(t))}return r(e,[{key:"getConsentString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.vendorList)throw new Error("ConsentString - A vendor list is required to encode a consent string");return!0===e&&(this.lastUpdated=new Date),i({version:this.getVersion(),vendorList:this.vendorList,allowedPurposeIds:this.allowedPurposeIds,allowedVendorIds:this.allowedVendorIds,created:this.created,lastUpdated:this.lastUpdated,cmpId:this.cmpId,cmpVersion:this.cmpVersion,consentScreen:this.consentScreen,consentLanguage:this.consentLanguage,vendorListVersion:this.vendorListVersion})}},{key:"getMetadataString",value:function(){return i({version:this.getVersion(),created:this.created,lastUpdated:this.lastUpdated,cmpId:this.cmpId,cmpVersion:this.cmpVersion,consentScreen:this.consentScreen,vendorListVersion:this.vendorListVersion})}},{key:"getVersion",value:function(){return this.version}},{key:"getVendorListVersion",value:function(){return this.vendorListVersion}},{key:"setGlobalVendorList",value:function(e){if("object"!==(void 0===e?"undefined":o(e)))throw new Error("ConsentString - You must provide an object when setting the global vendor list");if(!e.vendorListVersion||!Array.isArray(e.purposes)||!Array.isArray(e.vendors))throw new Error("ConsentString - The provided vendor list does not respect the schema from the IAB EU’s GDPR Consent and Transparency Framework");this.vendorList={vendorListVersion:e.vendorListVersion,lastUpdated:e.lastUpdated,purposes:e.purposes,features:e.features,vendors:e.vendors.slice(0).sort(function(e,t){return e.id<t.id?-1:1})},this.vendorListVersion=e.vendorListVersion}},{key:"setCmpId",value:function(e){this.cmpId=e}},{key:"getCmpId",value:function(){return this.cmpId}},{key:"setCmpVersion",value:function(e){this.cmpVersion=e}},{key:"getCmpVersion",value:function(){return this.cmpVersion}},{key:"setConsentScreen",value:function(e){this.consentScreen=e}},{key:"getConsentScreen",value:function(){return this.consentScreen}},{key:"setConsentLanguage",value:function(e){if(!1===u.test(e))throw new Error("ConsentString - The consent language must be a two-letter ISO639-1 code (en, fr, de, etc.)");this.consentLanguage=e}},{key:"getConsentLanguage",value:function(){return this.consentLanguage}},{key:"setPurposesAllowed",value:function(e){this.allowedPurposeIds=e}},{key:"getPurposesAllowed",value:function(){return this.allowedPurposeIds}},{key:"setPurposeAllowed",value:function(e,t){var n=this.allowedPurposeIds.indexOf(e);!0===t?-1===n&&this.allowedPurposeIds.push(e):!1===t&&-1!==n&&this.allowedPurposeIds.splice(n,1)}},{key:"isPurposeAllowed",value:function(e){return-1!==this.allowedPurposeIds.indexOf(e)}},{key:"setVendorsAllowed",value:function(e){this.allowedVendorIds=e}},{key:"getVendorsAllowed",value:function(){return this.allowedVendorIds}},{key:"setVendorAllowed",value:function(e,t){var n=this.allowedVendorIds.indexOf(e);!0===t?-1===n&&this.allowedVendorIds.push(e):!1===t&&-1!==n&&this.allowedVendorIds.splice(n,1)}},{key:"isVendorAllowed",value:function(e){return-1!==this.allowedVendorIds.indexOf(e)}}],[{key:"decodeMetadataString",value:function(e){var t=a(e),n={};return s[t.version].metadataFields.forEach(function(e){n[e]=t[e]}),n}}]),e}();e.exports={ConsentString:c}},function(e,t,n){(function(e,o){var r;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */!function(i){var a=("object"==typeof e&&e&&e.exports,"object"==typeof o&&o);a.global!==a&&a.window;var s=function(e){this.message=e};(s.prototype=new Error).name="InvalidCharacterError";var u=function(e){throw new s(e)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,f={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&u("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n,o,r,i=e.length%3,a="",s=-1,l=e.length-i;++s<l;)t=e.charCodeAt(s)<<16,n=e.charCodeAt(++s)<<8,o=e.charCodeAt(++s),a+=c.charAt((r=t+n+o)>>18&63)+c.charAt(r>>12&63)+c.charAt(r>>6&63)+c.charAt(63&r);return 2==i?(t=e.charCodeAt(s)<<8,n=e.charCodeAt(++s),a+=c.charAt((r=t+n)>>10)+c.charAt(r>>4&63)+c.charAt(r<<2&63)+"="):1==i&&(r=e.charCodeAt(s),a+=c.charAt(r>>2)+c.charAt(r<<4&63)+"=="),a},decode:function(e){var t=(e=String(e).replace(l,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&u("Invalid character: the string to be decoded is not correctly encoded.");for(var n,o,r=0,i="",a=-1;++a<t;)o=c.indexOf(e.charAt(a)),n=r%4?64*n+o:o,r++%4&&(i+=String.fromCharCode(255&n>>(-2*r&6)));return i},version:"0.1.0"};void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(99)(e),n(100))},function(e,t){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,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.addFrame=l,t.init=f,t.sendEventToFrame=d,t.verifyPowerOptIn=function(){return new Promise(function(e){(0,i.isPoiActive)()?f().then(function(t){var n=t.iframe;n?n.onload?p((0,a.getOrigin)()).then(function(t){t||e({power_opt_in:!1}),e(t)}):n.onload=function(){return p((0,a.getOrigin)()).then(function(t){t||e({power_opt_in:!1}),e(t)})}:((0,s.logInfo)("Could not initialize POI. Fallback to POI false."),e({power_opt_in:!1}))}):e({power_opt_in:!1})})},t.deActivatePowerOptIn=function(){return(0,s.logInfo)("deActivatePowerOptIn"),(0,i.isPoiActive)()?new Promise(function(e){return f().then(function(){d("oil-poi-delete",(0,a.getOrigin)(),{}),setTimeout(e)})}):new Promise(function(e){e()})};var r=n(13),i=n(6),a=n(2),s=n(5),u=500,c=!1;function l(e){var t=document.getElementById("oil-frame");return t?(0,s.logInfo)("Found iframe"):((0,s.logInfo)("Creating iframe..."),(t=document.createElement("iframe")).setAttribute("id","oil-frame"),t.setAttribute("title","oil-frame"),t.setAttribute("aria-hidden","true"),t.setAttribute("src",e),t.setAttribute("sandbox","allow-same-origin allow-scripts allow-forms allow-top-navigation"),t.style.width="0",t.style.height="0",t.style.border="0",t.style.border="none",t.style.display="block",document.body.appendChild(t)),t}function f(){return new Promise(function(e){return setTimeout(function(){if((0,s.logInfo)("Initializing Frame..."),(0,i.isPoiActive)()){var t=(0,i.getHubLocation)();if(t){var n=l(t);n&&!n.onload?n.onload=function(){return e({iframe:n})}:e({iframe:n})}else(0,s.logError)("Config for "+r.OIL_CONFIG.ATTR_HUB_ORIGIN+" and "+r.OIL_CONFIG.ATTR_HUB_PATH+" isnt set. No POI possible."),e(!1)}else(0,s.logInfo)("POI not active. Frame not initialized."),e(!1)})})}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,s.logInfo)("Send to Frame:",e,t),(0,i.isPoiActive)()&&f().then(function(o){var r=o.iframe,a=(0,i.getHubOrigin)(),s=(0,i.getPoiGroupName)();if(r&&a){var u=JSON.stringify({event:e,origin:t,group_name:s,payload:n});r.contentWindow.postMessage(u,a)}})}function p(e){return new Promise(function(t){function n(e){var r=(0,i.getHubOrigin)();if(r&&-1!==r.indexOf(e.origin)){var u="object"!==o(e.data)?JSON.parse(e.data):e.data;(0,s.logInfo)("Message from hub received...",e.origin,u),(0,a.removeMessageListener)(n),c=!1,t(u)}}(0,i.isPoiActive)()||t(!1),setTimeout(function(){return d("oil-status-read",e)}),c||((0,a.registerMessageListener)(n),c=!0),setTimeout(function(){(0,a.removeMessageListener)(n),c=!1,t(!1)},u)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.manageDomElementActivation=function(){for(var e=document.querySelectorAll("["+o.MANAGED_TAG_IDENTIFIER_ATTRIBUTE+"='"+o.MANAGED_TAG_IDENTIFIER+"']"),t=(0,r.getSoiCookie)(),n=0;n<e.length;n++)u(e[n],t)};var o=n(13),r=n(16),i=n(2),a=n(29),s=n(6);function u(e,t){"SCRIPT"===e.tagName?function(e,t){for(var n=document.createElement("script"),r=0;r<e.attributes.length;r++){var i=e.attributes[r];i.name.match(/^data-/)&&n.setAttribute(i.name,i.value)}f(e,t)?(e.getAttribute("data-type")&&(n.type=e.getAttribute("data-type")),e.getAttribute("data-src")&&(n.src=e.getAttribute("data-src"))):n.type=o.MANAGED_TAG_IDENTIFIER,n.innerText=e.innerText,n.text=e.text,n.class=e.class,n.id=e.id,n.defer=e.defer,n.async=e.async,n.charset=e.charset;var a=e.parentElement;a.insertBefore(n,e),a.removeChild(e)}(e,t):function(e,t){var n=["href","src","title","display"];if(f(e,t))for(var o=0;o<n.length;o++)c(e,n[o]);else for(var r=0;r<n.length;r++)l(e,n[r])}(e,t)}function c(e,t){var n=e.getAttribute("data-"+t);"display"===t?e.style.display=n||"":n&&e.setAttribute(t,n)}function l(e,t){"display"===t?e.style.display="none":e.hasAttribute(t)&&e.removeAttribute(t)}function f(e,t){if(t.opt_in){var n=function(e){var t=e.getAttribute(o.MANAGED_TAG_PURPOSES_ATTRIBUTE);return t?t.split(/,\s*/):(0,a.getPurposeIds)().concat((0,s.getCustomPurposeIds)())}(e),r=t.consentData.getPurposesAllowed();return r=r?r.concat(t.customPurposes):t.customPurposes,(0,i.arrayContainsArray)(r,n)}return!1}},,,,,,,,,,,,,,function(e,t,n){"use strict";n(117),n(57),(0,n(118).initOilLayer)()},function(e,t,n){"use strict";if(window.AS_OIL&&window.AS_OIL.CONFIG)n.p=window.AS_OIL.CONFIG.publicPath;else{var o=document.querySelector('script[type="application/configuration"]#oil-configuration');if(null!==o&&o.text)try{var r=JSON.parse(o.text);r&&r.hasOwnProperty("publicPath")&&(n.p=r.publicPath)}catch(e){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initOilLayer=function e(){if((0,i.logInfo)("Init OilLayer (version "+o.OilVersion.get()+")"),(0,c.isPreviewMode)()&&!(0,s.isPreviewCookieSet)()&&(0,i.logPreviewInfo)("Preview mode ON and OIL layer remains hidden. Run AS_OIL.previewModeOn() and reload to display the layer."),document.addEventListener("DOMContentLoaded",p),function(){function t(e){new Promise(function(e){Promise.all([n.e(1),n.e(0)]).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}).then(function(t){(0,c.getLocale)()?e(t):t.locale(e)}).catch(function(e){(0,i.logError)("Locale could not be loaded.",e)})}(0,o.setGlobalOilObject)("previewModeOn",function(){return(0,s.setPreviewCookie)(),"preview mode on"}),(0,o.setGlobalOilObject)("previewModeOff",function(){return(0,s.removePreviewCookie)(),"preview mode off"}),(0,o.setGlobalOilObject)("verboseModeOn",function(){return(0,s.setVerboseCookie)(),"verbose mode on"}),(0,o.setGlobalOilObject)("verboseModeOff",function(){return(0,s.removeVerboseCookie)(),"verbose mode off"}),(0,o.setGlobalOilObject)("reload",function(){return(0,c.resetConfiguration)(),e(),"OIL reloaded"}),(0,o.setGlobalOilObject)("status",function(){return(0,s.getSoiCookie)()}),(0,o.setGlobalOilObject)("showPreferenceCenter",function(){t(function(e){e.oilShowPreferenceCenter()})}),(0,o.setGlobalOilObject)("triggerOptIn",function(){t(function(e){e.handleOptIn()})}),(0,o.setGlobalOilObject)("triggerSoiOptIn",function(){t(function(e){e.handleSoiOptIn()})}),(0,o.setGlobalOilObject)("triggerPoiOptIn",function(){t(function(e){e.handlePoiOptIn()})}),(0,o.setGlobalOilObject)("triggerOptOut",function(){(0,r.handleOptOut)()}),(0,o.setGlobalOilObject)("applyGDPR",function(){return(0,c.setGdprApplies)(!0),e(),"GDPR applied"})}(),(0,u.doSetTealiumVariables)(),!(0,c.isPreviewMode)()||(0,s.isPreviewCookieSet)()){if(!(0,s.isBrowserCookieEnabled)())return(0,i.logInfo)("This browser doesn't allow cookies."),new Promise(function(e){Promise.all([n.e(1),n.e(0)]).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}).then(function(e){e.locale(function(e){return e.renderOil({noCookie:!0})})}).catch(function(e){(0,i.logError)("Locale could not be loaded.",e)}),void(0,o.sendEventToHostSite)(l.EVENT_NAME_NO_COOKIES_ALLOWED);(0,a.checkOptIn)().then(function(e){e?((0,o.sendEventToHostSite)(l.EVENT_NAME_HAS_OPTED_IN),(0,f.executeCommandCollection)(),v()):new Promise(function(e){Promise.all([n.e(1),n.e(0)]).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}).then(function(e){e.locale(function(e){return e.renderOil({optIn:!1})}),v()}).catch(function(e){(0,i.logError)("Locale could not be loaded.",e)})})}};var o=n(2),r=n(119),i=n(5),a=n(120),s=n(16),u=n(121),c=n(6),l=n(13),f=n(122),d=n(102);function p(){document.removeEventListener("DOMContentLoaded",p),(0,d.manageDomElementActivation)()}function v(){(0,o.setGlobalOilObject)("commandCollectionExecutor",f.executeCommandCollection)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleOptOut=function(){(0,r.logInfo)("OptOut Received."),(0,i.removeSubscriberCookies)(),(0,o.deActivatePowerOptIn)().then(function(){return(0,a.sendEventToHostSite)(s.EVENT_NAME_OPT_OUT)}),(0,u.manageDomElementActivation)()};var o=n(101),r=n(5),i=n(16),a=n(2),s=n(13),u=n(102)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkOptIn=function(){return new Promise(function(e,t){var n=(0,a.getSoiCookie)().opt_in,s=n;(0,o.verifyPowerOptIn)().then(function(o){!function(e,t){o.power_opt_in?(0,r.logPreviewInfo)("User has given POI permit, OIL not shown."):e?(0,r.logPreviewInfo)("User has given SOI permit, OIL not shown."):(0,r.logPreviewInfo)("User has not opted in at all, OIL should be shown.")}(n),o.power_opt_in&&(s=o.power_opt_in,(0,i.isSubscriberSetCookieActive)()&&!n&&(0,a.setSoiCookieWithPoiCookieData)(o).then(function(){return e(s)}).catch(function(e){return t(e)})),e(s)})})};var o=n(101),r=n(5),i=n(6),a=n(16)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.doSetTealiumVariables=f;var o=n(16);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i="_dip_oil_purpose_all",a="_dip_oil_purpose_01",s="_dip_oil_purpose_02",u="_dip_oil_purpose_03",c="_dip_oil_purpose_04",l="_dip_oil_purpose_05";function f(){if(window&&window.utag){!function(){if(!window.oilEventListenerForLoadingRules){window.oilEventListenerForLoadingRules=d;var e=window.addEventListener?"addEventListener":"attachEvent",t="attachEvent"===e?"onmessage":"message";(0,window[e])(t,window.oilEventListenerForLoadingRules,!1)}}(),window.utag_data||(window.utag_data={});var e=window.utag_data,t=(0,o.getSoiCookie)().consentData;if(t){var n=t.getPurposesAllowed();5===n.length?e[i]=1:(function(e,t){e[a]=-1!==t.indexOf(1)?1:0,e[s]=-1!==t.indexOf(2)?1:0,e[u]=-1!==t.indexOf(3)?1:0,e[c]=-1!==t.indexOf(4)?1:0,e[l]=-1!==t.indexOf(5)?1:0}(e,n),function(e){e[i]=1===e[a]&&1===e[s]&&1===e[u]&&1===e[c]&&1===e[l]?1:0}(e))}else!function(e){e[i]=0,e[a]=0,e[s]=0,e[u]=0,e[c]=0,e[l]=0}(e)}}function d(e){var t;e&&e.data&&(t="oil_opt",-1!==JSON.stringify(e.data).indexOf(t))&&(f(),function(){var e=window.utag_data;if(e){var t,n=(r(t={},i,e[i]),r(t,a,e[a]),r(t,s,e[s]),r(t,u,e[u]),r(t,c,e[c]),r(t,l,e[l]),t);window.utag.view(n)}}())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeCommandCollection=function(e){if(void 0!==e)u(e);else{var t=(0,r.getCommandCollection)();if(t)for(var n=t.length,o=0;o<n;o++)u(t[o])}};var o=n(5),r=n(2),i=n(123),a=n(29),s={getVendorConsents:function(e){return(0,i.getVendorConsentData)(e)},getConsentData:function(e){return(0,i.getConsentDataString)(e)},getPublisherConsents:function(e){return(0,i.getPublisherConsentData)(e)},getVendorList:function(){return(0,a.getVendorList)()}};function u(e){(0,a.loadVendorList)().then(function(){var t,n;(t=e.command,n=e.parameter,new Promise(function(e,r){return"function"==typeof s[t]?((0,o.logInfo)('Processing command "'+t+'" with parameters "'+n+'"'),e(s[t](n))):r('Invalid CMP command "'+t+'"')})).then(function(t){if(e.callback)e.callback(t,void 0!==t);else if(e.callId){var n=function(e,t){return{__cmpReturn:{returnValue:e,success:void 0!==e,callId:t.callId}}}(t,e);e.event.source.postMessage(n,e.event.origin)}else(0,o.logError)("Invalid command entry '"+JSON.stringify(e)+"' found!")},function(e){return(0,o.logError)(e)})}).catch(function(e){return(0,o.logError)(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVendorConsentData=function(e){var t=(0,o.getSoiCookie)();if(t&&t.consentData)return{metadata:t.consentData.getMetadataString(),gdprApplies:(0,r.gdprApplies)(),hasGlobalScope:!1,purposeConsents:s(t.consentData.getPurposesAllowed(),(0,i.getPurposeIds)()),vendorConsents:function(e,t){var n=t&&t.length?t:(0,i.getLimitedVendorIds)(),o=e.consentData.getVendorsAllowed();return n.reduce(function(e,t){return e[t]=-1!==o.indexOf(t),e},{})}(t,e)}},t.getConsentDataString=function(e){var t=(0,o.getSoiCookie)();if(t&&t.consentData){var n=function(e,t){var n=t?parseInt(t,10):a.OIL_SPEC.LATEST_CONSENT_STRING_VERSION;return!isNaN(n)&&n<=e.consentData.getVersion()?e.consentString:null}(t,e);if(n)return{gdprApplies:(0,r.gdprApplies)(),hasGlobalScope:!1,consentData:n}}},t.getPublisherConsentData=function(e){var t=(0,o.getSoiCookie)();if(t&&t.consentData&&t.customPurposes)return{metadata:t.consentData.getMetadataString(),gdprApplies:(0,r.gdprApplies)(),hasGlobalScope:!1,standardPurposeConsents:s(t.consentData.getPurposesAllowed(),(0,i.getPurposeIds)(),e),customPurposeConsents:s(t.customPurposes,(0,r.getCustomPurposeIds)(),e)}};var o=n(16),r=n(6),i=n(29),a=n(13);function s(e,t,n){return(n&&n.length?n:t).filter(function(e){return-1!==t.indexOf(e)}).reduce(function(t,n){return t[n]=-1!==e.indexOf(n),t},{})}}]);