@tashop/oil.js
Version:
oil.js Opt-In Layer for consent management based on the IAB TCF Standard
21 lines • 79.2 kB
HTML
<!DOCTYPE html>
<html lang="de" class="no-js">
<head>
<meta charset="utf-8"/>
<title>OIL - Hub-HTML</title>
<script>/*! 1.3.5-5-RELEASE */!function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="https://unpkg.com/@tashop/oil.js@1.3.5-5/release/current/",t(t.s=118)}([function(e,n,t){var o=t(34)("wks"),r=t(18),i=t(1).Symbol,s="function"==typeof i;(e.exports=function(e){return o[e]||(o[e]=s&&i[e]||(s?i:r)("Symbol."+e))}).store=o},function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.logError=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&a(window.console.error,arguments)},n.logInfo=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&a(window.console.info,arguments)},n.logWarn=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&a(window.console.warn,arguments)},n.logPreviewInfo=function(){((0,o.isDev)()||(0,i.isPreviewMode)()||(0,r.isPreviewCookieSet)()||(0,r.isVerboseCookieSet)())&&a(window.console.info,arguments)};var o=t(6),r=t(16),i=t(5),s="OIL: ";function a(e,n){window.console||(window.console={}),window.console.log||(window.console.log=function(){});var t=[s].concat(Array.prototype.slice.call(n));if(e)try{e.apply(window.console,t)}catch(n){try{e(u(t))}catch(e){}}else window.console.log(u(t))}function u(e){for(var n="",t=0;t<e.length;t++)n+=e[t];return n}},function(e,n,t){var o=t(4);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getConfigValue=l,n.getConfigVersion=function(){return l(r.OIL_CONFIG.ATTR_CONFIG_VERSION,r.OIL_CONFIG_DEFAULT_VERSION)},n.isPreviewMode=function(){return l(r.OIL_CONFIG.ATTR_PREVIEW_MODE,!1)},n.isPoiActive=function(){return l(r.OIL_CONFIG.ATTR_ACTIVATE_POI,!1)},n.getHubOrigin=f,n.getHubPath=d,n.getPublicPath=p,n.getLocaleUrl=v,n.getIabVendorListUrl=function(){return l(r.OIL_CONFIG.ATTR_IAB_VENDOR_LIST_URL,"https://vendorlist.consensu.org/vendorlist.json")},n.getIabVendorBlacklist=function(){return l(r.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,void 0)},n.getCustomVendorListUrl=function(){return l(r.OIL_CONFIG.ATTR_CUSTOM_VENDOR_LIST_URL,void 0)},n.getIabVendorWhitelist=function(){return l(r.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,void 0)},n.setIabVendorBlacklist=function(e){c(r.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,e)},n.setIabVendorWhitelist=function(e){c(r.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,e)},n.getPoiGroupName=function(){return l(r.OIL_CONFIG.ATTR_POI_GROUP_NAME,"default")},n.getCookieExpireInDays=function(){return l(r.OIL_CONFIG.ATTR_COOKIE_EXPIRES_IN_DAYS,31)},n.getLocaleVariantName=_,n.getLanguage=function(){return g(_())},n.getLanguageFromLocale=g,n.getHubLocation=function(){return f()+d()},n.getPoiListDirectory=function(){var e,n=f();return-1!==(e=n).indexOf("/",e.length-"/".length)?n.replace(/\/$/,"/poi-lists"):n+"/poi-lists"},n.resetConfiguration=function(){(0,s.setGlobalOilObject)("CONFIG",null)},n.getCustomPurposes=m,n.getCustomPurposeIds=function(){return m().map(function(e){return e.id})},n.getAdvancedSettingsPurposesDefault=function(){return l(r.OIL_CONFIG.ATTR_ADVANCED_SETTINGS_PURPOSES_DEFAULT,!1)},n.getDefaultToOptin=function(){return l(r.OIL_CONFIG.ATTR_DEFAULT_TO_OPTIN,!1)},n.getLocale=A,n.setLocale=function(e){c(r.OIL_CONFIG.ATTR_LOCALE,e)},n.gdprApplies=function(){return l(r.OIL_CONFIG.ATTR_GDPR_APPLIES_GLOBALLY,!1)||l(r.OIL_CONFIG.ATTR_GDPR_APPLIES,!1)},n.setGdprApplies=h,n.getShowLimitedVendors=function(){return l(r.OIL_CONFIG.ATTR_SHOW_LIMITED_VENDORS_ONLY,!1)},n.isInfoBannerOnly=O,n.suppressCookies=I,n.isAmpModeActivated=function(){return O()&&I()};var o,r=t(13),i=t(2),s=t(6),a=(o=t(97))&&o.__esModule?o:{default:o};function u(){if(!(0,s.getGlobalOilObject)("CONFIG")){var e=document.querySelector('script[type="application/configuration"]#oil-configuration');if(null===e&&(0,i.logInfo)("Using default config"),(0,s.setGlobalOilObject)("CONFIG",function(e){var n={};try{e&&e.text&&(n=JSON.parse(e.text),(0,i.logInfo)("Parsed config",n))}catch(e){(0,i.logError)("Error config",e)}return n}(e)),(0,s.setGlobalOilObject)("CONFIG_ATTRIBUTES",r.OIL_CONFIG),l(r.OIL_CONFIG.ATTR_CONFIG_VERSION,void 0)||(0,i.logError)('Your configuration is faulty - it must contain a "config_version" property. See the oil.js documentation for details.'),(o=A())&&"string"!=typeof o||void 0!==v()?o&&(0,s.isObject)(o)&&(o.localeId||(0,i.logError)('Your configuration is faulty - "locale" object misses "localeId" property. See the oil.js documentation for details.'),o.version||(0,i.logError)('Your configuration is faulty - "locale" object misses "version" property. See the oil.js documentation for details.')):(0,i.logInfo)("Incorrect or missing locale parameter found. Please review documentation on how to set the locale object in your configuration. Using default locale."),!l(r.OIL_CONFIG.ATTR_GDPR_APPLIES,!1)&&!l(r.OIL_CONFIG.ATTR_GDPR_APPLIES_GLOBALLY,!1)){var n=(0,a.default)();(0,i.logInfo)("GDPR config settings undefined. setGdprApplies using inEU() value: "+n),h(n)}p()&&(t.p=p())}var o;return(0,s.getGlobalOilObject)("CONFIG")}function c(e,n){u()[e]=n}function l(e,n){var t=u();return t&&void 0!==t[e]?t[e]:n}function f(){var e=l(r.OIL_CONFIG.ATTR_HUB_ORIGIN,"https://unpkg.com");return e?"/"===e||-1!==e.indexOf("http")?e:location.protocol+e:null}function d(){return l(r.OIL_CONFIG.ATTR_HUB_PATH,"/@tashop/oil.js@"+s.OilVersion.getLatestReleaseVersion()+"/release/current/hub.html")}function p(){var e=l(r.OIL_CONFIG.ATTR_PUBLIC_PATH,void 0);return e&&"/"!==e.substr(-1)&&(e+="/"),e}function v(){return l(r.OIL_CONFIG.ATTR_LOCALE_URL,void 0)}function _(){var e=A();return e||(e="enEN_01"),e&&(0,s.isObject)(e)?e.localeId?e.localeId:"enEN_01":e}function g(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en").substring(0,2)}function m(){return l(r.OIL_CONFIG.ATTR_CUSTOM_PURPOSES,[])}function A(){return l(r.OIL_CONFIG.ATTR_LOCALE,void 0)}function h(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];c(r.OIL_CONFIG.ATTR_GDPR_APPLIES,e)}function O(){return l(r.OIL_CONFIG.ATTR_INFO_BANNER_ONLY,!1)}function I(){return l(r.OIL_CONFIG.ATTR_SUPPRESS_COOKIES,!1)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.OilVersion=void 0,n.isProd=function(){return!1},n.isDev=function(){return!1},n.getOrigin=s,n.sendEventToHostSite=function(e){window.postMessage(e,s()),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)},n.removeMessageListener=function(e){l(d,e,!1)},n.registerMessageListener=function(e){c(f,e,!1)},n.getClientTimestamp=function(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Date.now()},n.arrayContains=function(e,n){for(var t=e.length,o=0;o<t;o++)if(e[o]===n)return!0;return!1},n.arrayContainsArray=function(e,n){if(!e||!n)return!1;for(var t={},o=0;o<e.length;o++)t[e[o]]||(t[e[o]]=0),t[e[o]]++;for(var r=0;r<n.length;r++)if(!t[n[r]]||--t[n[r]]<0)return!1;return!0},n.setGlobalOilObject=function(e,n){window[r.OIL_GLOBAL_OBJECT_NAME]||(window[r.OIL_GLOBAL_OBJECT_NAME]={}),window[r.OIL_GLOBAL_OBJECT_NAME][e]=n},n.getGlobalOilObject=function(e){return window[r.OIL_GLOBAL_OBJECT_NAME]?window[r.OIL_GLOBAL_OBJECT_NAME][e]:void 0},n.getLocaleVariantVersion=function(){var e=(0,i.getLocale)();return e&&e.version?e.version:0},n.getCommandCollection=function(){return window.__cmp?window.__cmp.commandCollection:void 0},n.fetchJsonData=function(e){return new Promise(function(n,t){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)n(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+"!");t(o)}},r.send()})},n.isObject=function(e){return e instanceof Object&&e.constructor===Object};var o=t(2),r=t(13),i=t(5);function s(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}var a=window.addEventListener?"addEventListener":"attachEvent",u=window.removeEventListener?"removeEventListener":"removeEvent",c=window[a],l=window[u],f="attachEvent"===a?"onmessage":"message",d="removeEvent"===u?"onmessage":"message";n.OilVersion={get:function(){return"1.3.5-5-RELEASE"},getLatestReleaseVersion:function(){return"1.3.5-5"}}},function(e,n,t){var o=t(1),r=t(8),i=t(14),s=t(23),a=t(24),u=function(e,n,t){var c,l,f,d,p=e&u.F,v=e&u.G,_=e&u.S,g=e&u.P,m=e&u.B,A=v?o:_?o[n]||(o[n]={}):(o[n]||{}).prototype,h=v?r:r[n]||(r[n]={}),O=h.prototype||(h.prototype={});for(c in v&&(t=n),t)f=((l=!p&&A&&void 0!==A[c])?A:t)[c],d=m&&l?a(f,o):g&&"function"==typeof f?a(Function.call,f):f,A&&s(A,c,f,e&u.U),h[c]!=f&&i(h,c,d),g&&O[c]!=f&&(O[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,n){var t=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},function(e,n,t){var o=t(3),r=t(39),i=t(31),s=Object.defineProperty;n.f=t(10)?Object.defineProperty:function(e,n,t){if(o(e),n=i(n,!0),o(t),r)try{return s(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},function(e,n,t){e.exports=!t(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n,t){var o=t(41),r=t(32);e.exports=function(e){return o(r(e))}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.OIL_SPEC={CMP_ID:80,CMP_VERSION:1,LATEST_CONSENT_STRING_VERSION:1},n.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_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_CUSTOM_VENDOR_LIST_URL:"customVendorListUrl",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",ATTR_INFO_BANNER_ONLY:"info_banner_only",ATTR_SUPPRESS_COOKIES:"suppress_cookies"},n.OIL_CONFIG_CPC_TYPES={CPC_TYPE_STANDARD:"standard",CPC_TYPE_TABS:"tabs"},n.OIL_CONFIG_DEFAULT_VERSION=0,n.EVENT_NAME_OPT_IN="oil_optin_done",n.EVENT_NAME_OPT_IN_BUTTON_CLICKED="oil_optin_done_button_clicked",n.EVENT_NAME_SOI_OPT_IN="oil_soi_optin_done",n.EVENT_NAME_POI_OPT_IN="oil_poi_optin_done",n.EVENT_NAME_OPT_OUT="oil_optout_done",n.EVENT_NAME_AS_PRIVACY_SELECTED="oil_as_cpc_privacy_selected",n.EVENT_NAME_ADVANCED_SETTINGS="oil_click_advanced_settings",n.EVENT_NAME_TIMEOUT="oil_hide_layer",n.EVENT_NAME_COMPANY_LIST="oil_click_company_list",n.EVENT_NAME_THIRD_PARTY_LIST="oil_click_thirdparty_list",n.EVENT_NAME_BACK_TO_MAIN="oil_click_back_to_main",n.EVENT_NAME_NO_COOKIES_ALLOWED="oil_no_cookies_allowed",n.EVENT_NAME_OIL_SHOWN="oil_shown",n.EVENT_NAME_HAS_OPTED_IN="oil_has_optedin",n.PRIVACY_MINIMUM_TRACKING=0,n.PRIVACY_FULL_TRACKING=1,n.POI_FALLBACK_NAME="fallback",n.POI_FALLBACK_GROUP_NAME="group_name",n.POI_PAYLOAD="payload",n.OIL_PAYLOAD_PRIVACY="p",n.OIL_PAYLOAD_VERSION="v",n.OIL_PAYLOAD_LOCALE_VARIANT_NAME="lvn",n.OIL_PAYLOAD_LOCALE_VARIANT_VERSION="lvv",n.OIL_PAYLOAD_CUSTOM_PURPOSES="cp",n.OIL_PAYLOAD_CUSTOM_VENDORLIST_VERSION="cvl",n.OIL_PAYLOAD_CONFIG_VERSION="cv",n.DATAQA_PRIVACY_PAGE="oil-PrivacyPage",n.JS_CLASS_BUTTON_OPTIN="as-js-optin",n.JS_CLASS_BUTTON_OILBACK="as-js-oilback",n.JS_CLASS_BUTTON_PROCEED="as-js-proceed",n.JS_CLASS_BUTTON_CANCEL="as-js-cancel",n.JS_CLASS_BUTTON_ADVANCED_SETTINGS="as-js-advanced-settings",n.CSS_CLASS_OPTOUT_DIALOG="as-oil-optout-confirm",n.DATA_CONTEXT_YES="YES",n.DATA_CONTEXT_CANCEL="CANCEL",n.DATA_CONTEXT_PROCEED="PROCEED",n.DATA_CONTEXT_ADVANCED_SETTINGS="ADVANCEDSETTINGS",n.DATA_CONTEXT_BACK="BACK",n.OIL_GLOBAL_OBJECT_NAME="AS_OIL",n.MANAGED_TAG_IDENTIFIER="as-oil",n.MANAGED_TAG_IDENTIFIER_ATTRIBUTE="data-managed",n.MANAGED_TAG_PURPOSES_ATTRIBUTE="data-purposes"},function(e,n,t){var o=t(9),r=t(22);e.exports=t(10)?function(e,n,t){return o.f(e,n,r(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n,t){"use strict";Object.defineProperty(n,"__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};n.setSessionCookie=g,n.setDomainCookie=m,n.getOilCookie=A,n.hasOutdatedOilCookie=h,n.findCookieConsideringCookieVersions=O,n.getSoiCookie=function(){var e=O(S(),P);return(0,s.logInfo)("Current Oil data from domain cookie: ",e),e},n.setSoiCookieWithPoiCookieData=function(e){return new Promise(function(n,t){(0,l.loadVendorListAndCustomVendorList)().then(function(){var t=S(),o=void 0,r=e.configVersion||t.configVersion;if(e.consentString)o=e.consentString;else{var i=t.defaultCookieContent.consentData;i.setPurposesAllowed(e.consentData.allowedPurposeIds),i.setVendorsAllowed(e.consentData.allowedVendorIds),i.setConsentLanguage(e.consentData.consentLanguage),o=i.getConsentString()}var s={opt_in:!0,version:t.defaultCookieContent.version,localeVariantName:t.defaultCookieContent.localeVariantName,localeVariantVersion:t.defaultCookieContent.localeVariantVersion,customVendorListVersion:e.customVendorListVersion,customPurposes:e.customPurposes,consentString:(0,a.isInfoBannerOnly)()?"":o,configVersion:r};m(t.name,s,t.expires),n(s)}).catch(function(e){return t(e)})})},n.buildSoiCookie=I,n.setSoiCookie=function(e){return new Promise(function(n,t){I(e).then(function(e){m(v,e,(0,a.getCookieExpireInDays)()),n(e)}).catch(function(e){return t(e)})})},n.setPreviewCookie=function(){g(d,"true")},n.setVerboseCookie=function(){g(p,"true")},n.removePreviewCookie=function(){i.default.remove(d)},n.removeVerboseCookie=function(){i.default.remove(p)},n.isPreviewCookieSet=function(){return"true"===i.default.get(d)},n.isVerboseCookieSet=function(){return"true"===i.default.get(p)},n.removeSubscriberCookies=y,n.removeHubCookie=function(e){y(),e&&i.default.remove(e+"_"+v)},n.isBrowserCookieEnabled=function(){i.default.set("oil_cookie_exp","cookiedata");var e=L("oil_cookie_exp");return i.default.remove("oil_cookie_exp"),e},n.getStandardPurposesWithConsent=C,n.getCustomPurposesWithConsent=T;var r,i=(r=t(38))&&r.__esModule?r:{default:r},s=t(2),a=t(5),u=t(6),c=t(13),l=t(29),f=t(56).ConsentString,d="oil_preview",p="oil_verbose",v="oil_data",_="oil_data_session";function g(e,n){i.default.set(e,n)}function m(e,n,t){delete n.consentData,i.default.set(e,n,{expires:t})}function A(e){var n=i.default.getJSON(e.name);return n.consentData=new f(n.consentString),n}function h(e){return E(e.name,e.outdated_cookie_content_keys)}function O(e,n){var t=void 0;return function(e){return E(e.name,Object.keys(e.defaultCookieContent))}(e)?t=A(e):function(e){var n=Object.keys(e.defaultCookieContent);return n.splice(n.indexOf("configVersion"),1),E(e.name,n)}(e)?(t=A(e)).configVersion=c.OIL_CONFIG_DEFAULT_VERSION:t=h(e)?n(e):e.defaultCookieContent,t}function I(e){return new Promise(function(n,t){(0,l.loadVendorListAndCustomVendorList)().then(function(){var t=S(),o=t.defaultCookieContent.consentData;o.setGlobalVendorList((0,l.getVendorList)()),o.setPurposesAllowed(C(e)),o.setVendorsAllowed((0,l.getLimitedVendorIds)());var r={opt_in:!0,version:t.defaultCookieContent.version,localeVariantName:t.defaultCookieContent.localeVariantName,localeVariantVersion:t.defaultCookieContent.localeVariantVersion,customVendorListVersion:(0,l.getCustomVendorListVersion)(),customPurposes:T(e),consentString:(0,a.isInfoBannerOnly)()?"":o.getConsentString(),configVersion:t.defaultCookieContent.configVersion};n(r)}).catch(function(e){return t(e)})})}function y(){i.default.remove(v),i.default.remove(_)}function C(e){return"object"===(void 0===e?"undefined":o(e))?(0,l.getPurposes)().map(function(e){return e.id}).filter(function(n){return e[n]}):1===e?(0,l.getPurposes)().map(function(e){return e.id}):[]}function T(e,n){return n||(n=(0,a.getCustomPurposes)()),"object"===(void 0===e?"undefined":o(e))?n.map(function(e){return e.id}).filter(function(n){return e[n]}):1===e?n.map(function(e){return e.id}):[]}function L(e){return void 0!==i.default.get(e)}function E(e,n){return function(e,n){if("string"==typeof e&&Array.isArray(n)&&L(e)){var t=i.default.getJSON(e);return n.every(function(e){return"consentData"===e||t.hasOwnProperty(e)})}return!1}(e,n)}function S(){var e=new f;return e.setCmpId(c.OIL_SPEC.CMP_ID),e.setCmpVersion(c.OIL_SPEC.CMP_VERSION),e.setConsentScreen(1),e.setConsentLanguage((0,a.getLanguage)()),e.setPurposesAllowed((0,a.getDefaultToOptin)()?(0,l.getPurposes)().map(function(e){return e.id}):[]),e.setVendorsAllowed((0,a.getDefaultToOptin)()?(0,l.getLimitedVendorIds)():[]),e.setGlobalVendorList((0,l.getVendorList)()),{name:v,expires:(0,a.getCookieExpireInDays)(),defaultCookieContent:{opt_in:!1,version:u.OilVersion.get(),localeVariantName:(0,a.getLocaleVariantName)(),localeVariantVersion:(0,u.getLocaleVariantVersion)(),customPurposes:T((0,a.getDefaultToOptin)()?1:0),consentData:e,consentString:(0,a.isInfoBannerOnly)()?"":e.getConsentString(),configVersion:(0,a.getConfigVersion)()},outdated_cookie_content_keys:["opt_in","timestamp","version","localeVariantName","localeVariantVersion","privacy"]}}function P(e){var n=i.default.getJSON(e.name),t=e.defaultCookieContent;return t.opt_in=n.opt_in,t.version=n.version,t.localeVariantName=n.localeVariantName,t.localeVariantVersion=n.localeVariantVersion,t.configVersion=c.OIL_CONFIG_DEFAULT_VERSION,t.customPurposes=T(n.privacy),t.consentData.setConsentLanguage((0,a.getLanguageFromLocale)(n.localeVariantName)),t.consentData.setPurposesAllowed(C(n.privacy)),t.consentData.setVendorsAllowed((0,l.getLimitedVendorIds)()),t.consentData.setGlobalVendorList((0,l.getVendorList)()),t.consentString=(0,a.isInfoBannerOnly)()?"":t.consentData.getConsentString(),t}},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n){var t=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+o).toString(36))}},function(e,n,t){var o=t(40),r=t(35);e.exports=Object.keys||function(e){return o(e,r)}},function(e,n){e.exports=!1},function(e,n){n.f={}.propertyIsEnumerable},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){var o=t(1),r=t(14),i=t(11),s=t(18)("src"),a=Function.toString,u=(""+a).split("toString");t(8).inspectSource=function(e){return a.call(e)},(e.exports=function(e,n,t,a){var c="function"==typeof t;c&&(i(t,"name")||r(t,"name",n)),e[n]!==t&&(c&&(i(t,s)||r(t,s,e[n]?""+e[n]:u.join(String(n)))),e===o?e[n]=t:a?e[n]?e[n]=t:r(e,n,t):(delete e[n],r(e,n,t)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,n,t){var o=t(25);e.exports=function(e,n,t){if(o(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,o){return e.call(n,t,o)};case 3:return function(t,o,r){return e.call(n,t,o,r)}}return function(){return e.apply(n,arguments)}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,n,t){var o=t(42),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,n){e.exports={}},function(e,n,t){var o=t(9).f,r=t(11),i=t(0)("toStringTag");e.exports=function(e,n,t){e&&!r(e=t?e:e.prototype,i)&&o(e,i,{configurable:!0,value:n})}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.pendingVendorListPromise=n.cachedCustomVendorList=n.cachedVendorList=n.DEFAULT_CUSTOM_VENDOR_LIST=n.DEFAULT_VENDOR_LIST=void 0,n.loadVendorListAndCustomVendorList=function(){return u&&c?new Promise(function(e){e()}):l||(n.pendingVendorListPromise=l=new Promise(function(e){var t=(0,o.getIabVendorListUrl)();(0,i.fetchJsonData)(t).then(function(t){var o;(o=t).vendors=o.vendors.sort(function(e,n){return e.id-n.id}),n.cachedVendorList=u=t,f().then(function(){n.pendingVendorListPromise=l=null,e()})}).catch(function(t){(0,r.logError)("OIL getVendorList failed and returned error: "+t+". Falling back to default vendor list!"),f().then(function(){n.pendingVendorListPromise=l=null,e()})})}),l)},n.getPurposes=d,n.getPurposeIds=function(){return d().map(function(e){return e.id})},n.getVendors=p,n.getVendorIds=v,n.getVendorList=function(){return u||{vendorListVersion:s.vendorListVersion,lastUpdated:s.lastUpdated,vendors:A(m()),purposes:A(s.purposeIds),features:[],isDefault:!0}},n.getCustomVendorList=function(){return c||a},n.getCustomVendorListVersion=function(){return c&&!c.isDefault?c.vendorListVersion:void 0},n.clearVendorListCache=function(){n.cachedVendorList=u=void 0,n.cachedCustomVendorList=c=void 0,n.pendingVendorListPromise=l=null},n.getVendorsToDisplay=function(){return(0,o.getShowLimitedVendors)()?_():p()},n.getLimitedVendors=_,n.getLimitedVendorIds=g;var o=t(5),r=t(2),i=t(6),s=n.DEFAULT_VENDOR_LIST={vendorListVersion:36,maxVendorId:380,lastUpdated:"2018-05-30T16:00:15Z",purposeIds:[1,2,3,4,5]},a=n.DEFAULT_CUSTOM_VENDOR_LIST={vendorListVersion:-1,isDefault:!0,vendors:[]},u=n.cachedVendorList=void 0,c=n.cachedCustomVendorList=void 0,l=n.pendingVendorListPromise=null;function f(){return new Promise(function(e){var t=(0,o.getCustomVendorListUrl)();t?(0,i.fetchJsonData)(t).then(function(t){n.cachedCustomVendorList=c=t,e()}).catch(function(t){n.cachedCustomVendorList=c=a,(0,r.logError)("OIL getCustomVendorList failed and returned error: "+t+". Falling back to default custom vendor list!"),e()}):(n.cachedCustomVendorList=c=a,e())})}function d(){return u?u.purposes:A(s.purposeIds)}function p(){return u?u.vendors:A(m())}function v(){return p().map(function(e){return e.id})}function _(){var e=p(),n=g();return(0,r.logInfo)("limiting vendors"),e.filter(function(e){return n.indexOf(e.id)>-1})}function g(){var e=void 0;e=u?v():m();var n=(0,o.getIabVendorWhitelist)(),t=(0,o.getIabVendorBlacklist)();return n&&n.length>0?e=e.filter(function(e){return n.indexOf(e)>-1}):t&&t.length>0&&(e=e.filter(function(e){return-1===t.indexOf(e)})),e}function m(){return function(e,n){for(;e--;)n[e]=e+1;return n}(s.maxVendorId,[])}function A(e){return e.map(function(e){return{id:e}})}},function(e,n,t){var o=t(4),r=t(1).document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,n,t){var o=t(4);e.exports=function(e,n){if(!o(e))return e;var t,r;if(n&&"function"==typeof(t=e.toString)&&!o(r=t.call(e)))return r;if("function"==typeof(t=e.valueOf)&&!o(r=t.call(e)))return r;if(!n&&"function"==typeof(t=e.toString)&&!o(r=t.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,n){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,n,t){var o=t(34)("keys"),r=t(18);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,n,t){var o=t(8),r=t(1),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,n){return i[e]||(i[e]=void 0!==n?n:{})})("versions",[]).push({version:o.version,mode:t(20)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n,t){var o=t(32);e.exports=function(e){return Object(o(e))}},function(e,n){n.f=Object.getOwnPropertySymbols},function(e,n,t){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,n={};e<arguments.length;e++){var t=arguments[e];for(var o in t)n[o]=t[o]}return n}return function n(t){function o(n,r,i){var s;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},o.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{s=JSON.stringify(r),/^[\{\[]/.test(s)&&(r=s)}catch(e){}r=t.write?t.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).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=n+"="+r+u}n||(s={});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 _=p[0].replace(f,decodeURIComponent);if(v=t.read?t.read(v,_):t(v,_)||v.replace(f,decodeURIComponent),this.json)try{v=JSON.parse(v)}catch(e){}if(n===_){s=v;break}n||(s[_]=v)}catch(e){}}return s}}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(n,t){o(n,"",e(t,{expires:-1}))},o.withConverter=n,o}(function(){})})?o.call(n,t,n,e):o)||(e.exports=r),e.exports=i()},function(e,n,t){e.exports=!t(10)&&!t(17)(function(){return 7!=Object.defineProperty(t(30)("div"),"a",{get:function(){return 7}}).a})},function(e,n,t){var o=t(11),r=t(12),i=t(60)(!1),s=t(33)("IE_PROTO");e.exports=function(e,n){var t,a=r(e),u=0,c=[];for(t in a)t!=s&&o(a,t)&&c.push(t);for(;n.length>u;)o(a,t=n[u++])&&(~i(c,t)||c.push(t));return c}},function(e,n,t){var o=t(15);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,n){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:t)(e)}},function(e,n,t){var o=t(42),r=Math.max,i=Math.min;e.exports=function(e,n){return(e=o(e))<0?r(e+n,0):i(e,n)}},function(e,n,t){var o=t(0)("unscopables"),r=Array.prototype;void 0==r[o]&&t(14)(r,o,{}),e.exports=function(e){r[o][e]=!0}},function(e,n,t){var o=t(3),r=t(67),i=t(35),s=t(33)("IE_PROTO"),a=function(){},u=function(){var e,n=t(30)("iframe"),o=i.length;for(n.style.display="none",t(46).appendChild(n),n.src="javascript:",(e=n.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,n){var t;return null!==e?(a.prototype=o(e),t=new a,a.prototype=null,t[s]=e):t=u(),void 0===n?t:r(t,n)}},function(e,n,t){var o=t(1).document;e.exports=o&&o.documentElement},function(e,n,t){n.f=t(0)},function(e,n,t){var o=t(40),r=t(35).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,n,t){var o=t(15),r=t(0)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=function(e){var n,t,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),r))?t:i?o(n):"Object"==(s=o(n))&&"function"==typeof n.callee?"Arguments":s}},function(e,n,t){var o,r,i,s=t(24),a=t(89),u=t(46),c=t(30),l=t(1),f=l.process,d=l.setImmediate,p=l.clearImmediate,v=l.MessageChannel,_=l.Dispatch,g=0,m={},A=function(){var e=+this;if(m.hasOwnProperty(e)){var n=m[e];delete m[e],n()}},h=function(e){A.call(e.data)};d&&p||(d=function(e){for(var n=[],t=1;arguments.length>t;)n.push(arguments[t++]);return m[++g]=function(){a("function"==typeof e?e:Function(e),n)},o(g),g},p=function(e){delete m[e]},"process"==t(15)(f)?o=function(e){f.nextTick(s(A,e,1))}:_&&_.now?o=function(e){_.now(s(A,e,1))}:v?(i=(r=new v).port2,r.port1.onmessage=h,o=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(o=function(e){l.postMessage(e+"","*")},l.addEventListener("message",h,!1)):o="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),A.call(e)}}:function(e){setTimeout(s(A,e,1),0)}),e.exports={set:d,clear:p}},function(e,n,t){"use strict";var o=t(25);e.exports.f=function(e){return new function(e){var n,t;this.promise=new e(function(e,o){if(void 0!==n||void 0!==t)throw TypeError("Bad Promise constructor");n=e,t=o}),this.resolve=o(n),this.reject=o(t)}(e)}},function(e,n,t){"use strict";var o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},r=t(53),i=r.encodeToBase64,s=r.padRight;function a(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t="",o=1;o<=e;o+=1)t+=-1!==n.indexOf(o)?"1":"0";return s(t,Math.max(0,e-t.length))}function u(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,t=0,o=0;o<e.length;o+=1)t=Math.max(t,e[o].id);for(var r=0;r<n.length;r+=1)t=Math.max(t,n[r]);for(var i="",s=1;s<=t;s+=1)i+=-1!==n.indexOf(s)?"1":"0";return i}function c(e,n){for(var t=[],o=[],r=e.map(function(e){return e.id}),i=0;i<e.length;i+=1){var s=e[i].id;if(-1!==n.indexOf(s)&&t.push(s),(-1===n.indexOf(s)||i===e.length-1||-1===r.indexOf(s+1))&&t.length){var a=t.shift(),u=t.pop();t=[],o.push({isRange:"number"==typeof u,startVendorId:a,endVendorId:u})}}return o}function l(e){var n=0;return e.forEach(function(e){e.id>n&&(n=e.id)}),n}e.exports={convertVendorsToRanges:c,encodeConsentString:function(e){var n=e.maxVendorId,t=e.vendorList,r=void 0===t?{}:t,s=e.allowedPurposeIds,f=e.allowedVendorIds,d=r.vendors,p=void 0===d?[]:d,v=r.purposes,_=void 0===v?[]:v;n||(n=l(p));var g=i(o({},e,{maxVendorId:n,purposeIdBitString:u(_,s),isRange:!1,vendorIdBitString:a(n,f)})),m=c(p,f),A=i(o({},e,{maxVendorId:n,purposeIdBitString:u(_,s),isRange:!0,defaultConsent:!1,numEntries:m.length,vendorRangeList:m}));return g.length<A.length?g:A},getMaxVendorId:l,encodeVendorIdsToBits:a,encodePurposeIdsToBits:u}},function(e,n,t){"use strict";var o=t(103),r=t(54),i=r.versionNumBits,s=r.vendorVersionMap;function a(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",t="",o=0;o<e;o+=1)t+=n;return t}function u(e,n){return a(Math.max(0,n))+e}function c(e,n){return e+a(Math.max(0,n))}function l(e,n){var t="";return"number"!=typeof e||isNaN(e)||(t=parseInt(e,10).toString(2)),n>=t.length&&(t=u(t,n-t.length)),t.length>n&&(t=t.substring(0,n)),t}function f(e){return l(!0===e?1:0,1)}function d(e,n){return e instanceof Date?l(e.getTime()/100,n):l(e,n)}function p(e,n){return l(e.toUpperCase().charCodeAt(0)-65,n)}function v(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return p(e.slice(0,1),n/2)+p(e.slice(1),n/2)}function _(e,n,t){return parseInt(e.substr(n,t),2)}function g(e,n,t){return new Date(100*_(e,n,t))}function m(e,n){return 1===parseInt(e.substr(n,1),2)}function A(e){var n=_(e);return String.fromCharCode(n+65).toLowerCase()}function h(e,n,t){var o=e.substr(n,t);return A(o.slice(0,t/2))+A(o.slice(t/2))}function O(e){var n=e.input,t=e.field,o=t.name,r=t.type,i=t.numBits,s=t.encoder,a=t.validator;if("function"==typeof a&&!a(n))return"";if("function"==typeof s)return s(n);var u="function"==typeof i?i(n):i,p=n[o],_=null===p||void 0===p?"":p;switch(r){case"int":return l(_,u);case"bool":return f(_);case"date":return d(_,u);case"bits":return c(_,u-_.length).substring(0,u);case"list":return _.reduce(function(e,n){return e+I({input:n,fields:t.fields})},"");case"language":return v(_,u);default:throw new Error("ConsentString - Unknown field type "+r+" for encoding")}}function I(e){var n=e.input;return e.fields.reduce(function(e,t){return e+O({input:n,field:t})},"")}function y(e,n){var t=e.version;if("number"!=typeof t)throw new Error("ConsentString - No version field to encode");if(n[t])return I({input:e,fields:n[t].fields});throw new Error("ConsentString - No definition for version "+t)}e.exports={padRight:c,padLeft:u,encodeField:O,encodeDataToBits:y,encodeIntToBits:l,encodeBoolToBits:f,encodeDateToBits:d,encodeLanguageToBits:v,encodeLetterToBits:p,encodeToBase64:function(e){var n=y(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:s);if(n){for(var t=c(n,7-(n.length+7)%8),r="",i=0;i<t.length;i+=8)r+=String.fromCharCode(parseInt(t.substr(i,8),2));return o.encode(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}return null},decodeBitsToIds:function(e){return e.split("").reduce(function(e,n,t){return"1"===n&&-1===e.indexOf(t+1)&&e.push(t+1),e},[])},decodeBitsToInt:_,decodeBitsToDate:g,decodeBitsToBool:m,decodeBitsToLanguage:h,decodeBitsToLetter:A,decodeFromBase64:function(e,n){for(var t=e;t.length%4!=0;)t+="=";t=t.replace(/-/g,"+").replace(/_/g,"/");for(var r=o.decode(t),a="",c=0;c<r.length;c+=1){var l=r.charCodeAt(c).toString(2);a+=u(l,8-l.length)}return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,t=_(e,0,i);if("number"!=typeof t)throw new Error("ConsentString - Unknown version number in the string to decode");if(!s[t])throw new Error("ConsentString - Unsupported version "+t+" in the string to decode");return function e(n){var t=n.input,o=n.fields,r=n.startPosition,i=void 0===r?0:r;return{decodedObject:o.reduce(function(n,o){var r=o.name,s=o.numBits,a=function(n){var t=n.input,o=n.output,r=n.startPosition,i=n.field,s=i.type,a=i.numBits,u=i.decoder,c=i.validator,l=i.listCount;if("function"==typeof c&&!c(o))return{newPosition:r};if("function"==typeof u)return u(t,o,r);var f="function"==typeof a?a(o):a;switch(s){case"int":return{fieldValue:_(t,r,f)};case"bool":return{fieldValue:m(t,r)};case"date":return{fieldValue:g(t,r,f)};case"bits":return{fieldValue:t.substr(r,f)};case"list":return function(n,t,o,r,i){var s=0;"function"==typeof i?s=i(t):"number"==typeof i&&(s=i);for(var a=o,u=[],c=0;c<s;c+=1){var l=e({input:n,fields:r.fields,startPosition:a});a=l.newPosition,u.push(l.decodedObject)}return{fieldValue:u,newPosition:a}}(t,o,r,i,l);case"language":return{fieldValue:h(t,r,f)};default:throw new Error("ConsentString - Unknown field type "+s+" for decoding")}}({input:t,output:n,startPosition:i,field:o}),u=a.fieldValue,c=a.newPosition;return void 0!==u&&(n[r]=u),void 0!==c?i=c:"number"==typeof s&&(i+=s),n},{}),newPosition:i}}({input:e,fields:n[t].fields}).decodedObject}(a,n)}}},function(e,n,t){"use strict";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,n,t){"use strict";var o=t(53),r=o.decodeBitsToIds,i=o.decodeFromBase64;e.exports={decodeConsentString:function(e){var n=i(e),t=n.version,o=n.cmpId,s=n.vendorListVersion,a=n.purposeIdBitString,u=n.maxVendorId,c=n.created,l=n.lastUpdated,f=n.isRange,d=n.defaultConsent,p=n.vendorIdBitString,v=n.vendorRangeList,_=n.cmpVersion,g=n.consentScreen,m=n.consentLanguage,A={version:t,cmpId:o,vendorListVersion:s,allowedPurposeIds:r(a),maxVendorId:u,created:c,lastUpdated:l,cmpVersion:_,consentScreen:g,consentLanguage:m};if(f){var h=v.reduce(function(e,n){for(var t=n.isRange,o=n.startVendorId,r=n.endVendorId,i=t?r:o,s=o;s<=i;s+=1)e[s]=!0;return e},{});A.allowedVendorIds=[];for(var O=1;O<=u;O+=1)(d&&!h[O]||!d&&h[O])&&-1===A.allowedVendorIds.indexOf(O)&&A.allowedVendorIds.push(O)}else A.allowedVendorIds=r(p);return A}}},function(e,n,t){"use strict";var o=t(102).ConsentString,r=t(55).decodeConsentString,i=t(52).encodeConsentString;e.exports={ConsentString:o,decodeConsentString:r,encodeConsentString:i}},function(e,n,t){"use strict";function o(){if(Object.values||t(58),Array.prototype.fill||t(61),Array.prototype.values||t(63),String.startsWith||t(69),Object.assign||t(73),window.Symbol||t(75),!window.Promise&&(t(82),t(8),"function"!=typeof window.CustomEvent)){var e=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),t};e.prototype=window.Event.prototype,window.CustomEvent=e}}Object.defineProperty(n,"__esModule",{value:!0}),n.generatePolyfills=o,n.default=o()},function(e,n,t){var o=t(7),r=t(59)(!1);o(o.S,"Object",{values:function(e){return r(e)}})},function(e,n,t){var o=t(19),r=t(12),i=t(21).f;e.exports=function(e){return function(n){for(var t,s=r(n),a=o(s),u=a.length,c=0,l=[];u>c;)i.call(s,t=a[c++])&&l.push(e?[t,s[t]]:s[t]);return l}}},function(e,n,t){var o=t(12),r=t(26),i=t(43);e.exports=function(e){return function(n,t,s){var a,u=o(n),c=r(u.length),l=i(s,c);if(e&&t!=t){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===t)return e||l||0;return!e&&-1}}},function(e,n,t){var o=t(7);o(o.P,"Array",{fill:t(62)}),t(44)("fill")},function(e,n,t){"use strict";var o=t(36),r=t(43),i=t(26);e.exports=function(e){for(var n=o(this),t=i(n.length),s=arguments.length,a=r(s>1?arguments[1]:void 0,t),u=s>2?arguments[2]:void 0,c=void 0===u?t:r(u,t);c>a;)n[a++]=e;return n}},function(e,n,t){"use strict";var o=t(44),r=t(64),i=t(27),s=t(12);e.exports=t(65)(Array,"Array",function(e,n){this._t=s(e),this._i=0,this._k=n},function(){var e=this._t,n=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,r(1)):r(0,"keys"==n?t:"values"==n?e[t]:[t,e[t]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,n){e.exports=function(e,n){return{value:n,done:!!e}}},function(e,n,t){"use strict";var o=t(20),r=t(7),i=t(23),s=t(14),a=t(27),u=t(66),c=t(28),l=t(68),f=t(0)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,n,t,v,_,g,m){u(t,n,v);var A,h,O,I=function(e){if(!d&&e in L)return L[e];switch(e){case"keys":case"values":return function(){return new t(this,e)}}return function(){return new t(this,e)}},y=n+" Iterator",C="values"==_,T=!1,L=e.prototype,E=L[f]||L["@@iterator"]||_&&L[_],S=E||I(_),P=_?C?I("entries"):S:void 0,w="Array"==n&&L.entries||E;if(w&&(O=l(w.call(new e)))!==Object.prototype&&O.next&&(c(O,y,!0),o||"function"==typeof O[f]||s(O,f,p)),C&&E&&"values"!==E.name&&(T=!0,S=function(){return E.call(this)}),o&&!m||!d&&!T&&L[f]||s(L,f,S),a[n]=S,a[y]=p,_)if(A={values:C?S:I("values"),keys:g?S:I("keys"),entries:P},m)for(h in A)h in L||i(L,h,A[h]);else r(r.P+r.F*(d||T),n,A);return A}},function(e,n,t){"use strict";var o=t(45),r=t(22),i=t(28),s={};t(14)(s,t(0)("iterator"),function(){return this}),e.exports=function(e,n,t){e.prototype=o(s,{next:r(1,t)}),i(e,n+" Iterator")}},function(e,n,t){var o=t(9),r=t(3),i=t(19);e.exports=t(10)?Object.defineProperties:function(e,n){r(e);for(var t,s=i(n),a=s.length,u=0;a>u;)o.f(e,t=s[u++],n[t]);return e}},function(e,n,t){var o=t(11),r=t(36),i=t(33)("IE_PROTO"),s=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?s:null}},function(e,n,t){"use strict";var o=t(7),r=t(26),i=t(70),s="".startsWith;o(o.P+o.F*t(72)("startsWith"),"String",{startsWith:function(e){var n=i(this,e,"startsWith"),t=r(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),o=String(e);return s?s.call(n,o,t):n.slice(t,t+o.length)===o}})},function(e,n,t){var o=t(71),r=t(32);e.exports=function(e,n,t){if(o(n))throw TypeError("String#"+t+" doesn't accept regex!");return String(r(e))}},function(e,n,t){var o=t(4),r=t(15),i=t(0)("match");e.exports=function(e){var n;return o(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==r(e))}},function(e,n,t){var o=t(0)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[o]=!1,!"/./"[e](n)}catch(e){}}return!0}},function(e,n,t){var o=t(7);o(o.S+o.F,"Object",{assign:t(74)})},function(e,n,t){"use strict";var o=t(19),r=t(37),i=t(21),s=t(36),a=t(41),u=Object.assign;e.exports=!u||t(17)(function(){var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach(function(e){n[e]=e}),7!=u({},e)[t]||Object.keys(u({},n)).join("")!=o})?function(e,n){for(var t=s(e),u=arguments.length,c=1,l=r.f,f=i.f;u>c;)for(var d,p=a(arguments[c++]),v=l?o(p).concat(l(p)):o(p),_=v.length,g=0;_>g;)f.call(p,d=v[g++])&&(t[d]=p[d]);return t}:u},function(e,n,t){"use strict";var o=t(1),r=t(11),i=t(10),s=t(7),a=t(23),u=t(76).KEY,c=t(17),l=t(34),f=t(28),d=t(18),p=t(0),v=t(47),_=t(77),g=t(78),m=t(79),A=t(3),h=t(4),O=t(12),I=t(31),y=t(22),C=t(45),T=t(80),L=t(81),E=t(9),S=t(19),P=L.f,w=E.f,V=T.f,b=o.Symbol,N=o.JSON,R=N&&N.stringify,k=p("_hidden"),D=p("toPrimitive"),x={}.propertyIsEnumerable,M=l("symbol-registry"),B=l("symbols"),G=l("op-symbols"),U=Object.prototype,F="function"==typeof b,j=o.QObject,Y=!j||!j.prototype||!j.prototype.findChild,H=i&&c(function(){return 7!=C(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(e,n,t){var o=P(U,n);o&&delete U[n],w(e,n,t),o&&e!==U&&w(U,n,o)}:w,K=function(e){var n=B[e]=C(b.prototype);return n._k=e,n},J=F&&"symbol"==typeof b.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof b},W=function(e,n,t){return e===U&&W(G,n,t),A(e),n=I(n,!0),A(t),r(B,n)?(t.enumerable?(r(e,k)&&e[k][n]&&(e[k][n]=!1),t=C(t,{enumerable:y(0,!1)})):(r(e,k)||w(e,k,y(1,{})),e[k][n]=!0),H(e,n,t)):w(e,n,t)},z=function(e,n){A(e);for(var t,o=g(n=O(n)),r=0,i=o.length;i>r;)W(e,t=o[r++],n[t]);return e},X=function(e){var n=x.call(this,e=I(e,!0));return!(this===U&&r(B,e)&&!r(G,e))&&(!(n||!r(this,e)||!r(B,e)||r(this,k)&&this[k][e])||n)},q=function(e,n){if(e=O(e),n=I(n,!0),e!==U||!r(B,n)||r(G,n)){var t=P(e,n);return!t||!r(B,n)||r(e,k)&&e[k][n]||(t.enumerable=!0),t}},Z=function(e){for(var n,t=V(O(e)),o=[],i=0;t.length>i;)r(B,n=t[i++])||n==k||n==u||o.push(n);return o},Q=function(e){for(var n,t=e===U,o=V(t?G:O(e)),i=[],s=0;o.length>s;)!r(B,n=o[s++])||t&&!r(U,n)||i.push(B[n]);return i};F||(a((b=function(){if(this instanceof b)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),n=function(t){this===U&&n.call(G,t),r(this,k)&&r(this[k],e)&&(this[k][e]=!1),H(this,e,y(1,t))};return i&&Y&&H(U,e,{configurable:!0,set:n}),K(e)}).prototype,"toString",function(){return this._k}),L.f=q,E.f=W,t(48).f=T.f=Z,t(21).f=X,t(37).f=Q,i&&!t(20)&&a(U,"propertyIsEnumerable",X,!0),v.f=function(e){return K(p(e))}),s(s.G+s.W+s.F*!F,{Symbol:b});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)p($[ee++]);for(var ne=S(p.store),te=0;ne.length>te;)_(ne[te++]);s(s.S+s.F*!F,"Symbol",{for:function(e){return r(M,e+="")?M[e]:M[e]=b(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var n in M)if(M[n]===e)return n},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),s(s.S+s.F*!F,"Object",{create:function(e,n){return void 0===n?C(e):z(C(e),n)},defineProperty:W,defineProperties:z,getOwnPropertyDescriptor:q,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),N&&s(s.S+s.F*(!F||c(function(){var e=b();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){for(var n,t,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(t=n=o[1],(h(n)||void 0!==e)&&!J(e))return m(n)||(n=function(e,n){if("function"==typeof t&&(n=t.call(this,e,n)),!J(n))return n}),o[1]=n,R.apply(N,o)}}),b.prototype[D]||t(14)(b.prototype,D,b.prototype.valueOf),f(b,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},function(e,n,t){var o=t(18)("meta"),r=t(4),i=t(11),s=t(9).f,a=0,u=Object.isExtensible||function(){return!0},c=!t(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,o,{value:{i:"O"+ ++a,w:{}}})},f=e.exports={KEY:o,NEED:!1,fastKey:function(e,n){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!u(e))return"F";if(!n)return"E";l(e)}return e[o].i},getWeak:function(e,n){if(!i(e,o)){if(!u(e))return!0;if(!n)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,n,t){var o=t(1),r=t(8),i=t(20),s=t(47),a=t(9).f;e.exports=function(e){var n=r.Symbol||(r.Symbol=i?{}:o.Symbol||{});"_"==e.charAt(0)||e in n||a(n,e,{value:s.f(e)})}},function(e,n,t){var o=t(19),r=t(37),i=t(21);e.exports=function(e){var n=o(e),t=r.f;if(t)for(var s,a=t(e),u=i.f,c=0;a.length>c;)u.call(e,s=a[c++])&&n.push(s);return n}},function(e,n,t){var o=t(15);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,n,t){var o=t(12),r=t(48).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(e){return s.slice()}}(e):r(o(e))}},function(e,n,t){var o=t(21),r=t(22),i=t(12),s=t(31),a=t(11),u=t(39),c=Object.getOwnPropertyDescriptor;n.f=t(10)?c:function(e,n){if(e=i(e),n=s(n,!0),u)try{return c(e,n)}catch(e){}if(a(e,n))return r(!o.f.call(e,n),e[n])}},function(e,n,t){"use strict";var o,r,i,s,a=t(20),u=t(1),c=t(24),l=t(49),f=t(7),d=t(4),p=t(25),v=t(83),_=t(84),g=t(88),m=t(50).set,A=t(90)(),h=t(51),O=t(91),I=t(92),y=t(93),C=u.TypeError,T=u.process,L=T&&T.versions,E=L&&L.v8||"",S=u.Promise,P="process"==l(T),w=function(){},V=r=h.f,b=!!function(){try{var e=S.resolve(1),n=(e.constructor={})[t(0)("species")]=function(e){e(w,w)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(w)instanceof n&&0!==E.indexOf("6.6")&&-1===I.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var n;return!(!d(e)||"function"!=typeof(n=e.then))&&n},R=function(e,n){if(!e._n){e._n=!0;var t=e._c;A(function(){for(var o=e._v,r=1==e._s,i=0,s=function(n){var t,i,s,a=r?n.ok:n.fail,u=n.resolve,c=n.reject,l=n.domain;try{a?(r||(2==e._h&&x(e),e._h=1),!0===a?t=o:(l&&l.enter(),t=a(o),l&&(l.exit(),s=!0)),t===n.promise?c(C("Promise-chain cycle")):(i=N(t))?i.call(t,u,c):u(t)):c(o)}catch(e){l&&!s&&l.exit(),c(e)}};t.length>i;)s(t[i++]);e._c=[],e._n=!1,n&&!e._h&&k(e)})}},k=function(e){m.call(u,function(){var n,t,o,r=e._v,i=D(e);if(i&&(n=O(function(){P?T.emit("unhandledRejection",r,e):(t=u.onunhandledrejection)?t({promise:e,reason:r}):(o=u.console)&&o.error&&o.error("Unhandled promise rejection",r)}),e._h=P||D(e)?2:1),e._a=void 0,i&&n.e)throw n.v})},D=function(e){return 1!==e._h&&0===(e._a||e._c).length},x=function(e){m.call(u,function(){var n;P?T.emit("rejectionHandled",e):(n=u.onrejectionhandled)&&n({promise:e,reason:e._v})})},M=function(e){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=e,n._s=2,n._a||(n._a=n._c.slice()),R(n,!0))},B=function(e){var n,t=this;if(!t._d){t._d=!0,t=t._w||t;try{if(t===e)throw C("Promise can't be resolved itself");(n=N(e))?A(function(){var o={_w:t,_d:!1};try{n.call(e,c(B,o,1),c(M,o,1))}catch(e){M.call(o,e)}}):(t._v=e,t._s=1,R(t,!1))}catch(e){M.call({_w:t,_d:!1},e)}}};b||(S=function(e){v(this,S,"Promise","_h"),p(e),o.call(this);try{e(c(B,this,1),c(M,this,1))}catch(e){M.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=t(94)(S.prototype,{then:function(e,n){var t=V(g(this,S));return t.ok="function"!=typeof e||e,t.fail="function"==typeof n&&n,t.domain=P?T.domain:void 0,this._c.push(t),this._a&&this._a.push(t),this._s&&R(this,!1),t.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=ne