Free javascript Hosting


oil-min.js

Uploaded on Apr 20 2022 00:44 by dubv5

/*! 1.3.5-RELEASE */ !(function (e) {
function t(t) {
for (var n, r, i = t[0], s = t[1], a = 0, c = []; a < i.length; a++)
(r = i[a]), o[r] && c.push(o[r][0]), (o[r] = 0);
for (n in s)
Object.prototype.hasOwnProperty.call(s, n) && (e[n] = s[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 s = document.getElementsByTagName('head')[0],
a = document.createElement('script');
(a.charset = 'utf-8'),
(a.timeout = 120),
r.nc && a.setAttribute('nonce', r.nc),
(a.src = (function (e) {
return r.p + '' + e + '.1.3.5-RELEASE.chunk.js';
})(e));
var u = setTimeout(function () {
c({ type: 'timeout', target: a });
}, 12e4);
function c(t) {
(a.onerror = a.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,
s = new Error(
'Loading chunk ' +
e +
' failed.\n(' +
r +
': ' +
i +
')'
);
(s.type = r), (s.request = i), n[1](s);
}
o[e] = void 0;
}
}
(a.onerror = a.onload = c), s.appendChild(a);
}
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.3.5/release/current/'),
(r.oe = function (e) {
throw (console.error(e), e);
});
var i = (window.oilJsonp = window.oilJsonp || []),
s = i.push.bind(i);
(i.push = t), (i = i.slice());
for (var a = 0; a < i.length; a++) t(i[a]);
var u = s;
r((r.s = 118));
})([
function (e, t, n) {
var o = n(34)('wks'),
r = n(18),
i = n(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, 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.logError = function () {
((0, o.isDev)() || (0, r.isVerboseCookieSet)()) &&
window.console &&
a(window.console.error, arguments);
}),
(t.logInfo = function () {
((0, o.isDev)() || (0, r.isVerboseCookieSet)()) &&
window.console &&
a(window.console.info, arguments);
}),
(t.logWarn = function () {
((0, o.isDev)() || (0, r.isVerboseCookieSet)()) &&
window.console &&
a(window.console.warn, arguments);
}),
(t.logPreviewInfo = function () {
((0, o.isDev)() ||
(0, i.isPreviewMode)() ||
(0, r.isPreviewCookieSet)() ||
(0, r.isVerboseCookieSet)()) &&
a(window.console.info, arguments);
});
var o = n(6),
r = n(16),
i = n(5),
s = 'OIL: ';
function a(e, t) {
window.console || (window.console = {}),
window.console.log || (window.console.log = function () {});
var n = [s].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) {
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.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.getHubOrigin = c),
(t.getHubPath = l),
(t.getPublicPath = f),
(t.getLocaleUrl = d),
(t.getIabVendorListUrl = function () {
return u(
o.OIL_CONFIG.ATTR_IAB_VENDOR_LIST_URL,
'https://pbonlineassets.blob.core.windows.net/jsassets/cookie_policy/vendorlist.json'
);
}),
(t.getIabVendorBlacklist = function () {
return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST, void 0);
}),
(t.getCustomVendorListUrl = function () {
return u(o.OIL_CONFIG.ATTR_CUSTOM_VENDOR_LIST_URL, void 0);
}),
(t.getIabVendorWhitelist = function () {
return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST, void 0);
}),
(t.setIabVendorBlacklist = function (e) {
a(o.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST, e);
}),
(t.setIabVendorWhitelist = function (e) {
a(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.getCookieDomain = function () {
return u(o.OIL_CONFIG.ATTR_COOKIE_DOMAIN, '');
}),
(t.getLocaleVariantName = p),
(t.getLanguage = function () {
return v(p());
}),
(t.getLanguageFromLocale = v),
(t.getHubLocation = function () {
return c() + l();
}),
(t.getPoiListDirectory = function () {
var e,
t = c();
return -1 !== (e = t).indexOf('/', e.length - '/'.length)
? t.replace(/\/$/, '/poi-lists')
: t + '/poi-lists';
}),
(t.resetConfiguration = function () {
(0, i.setGlobalOilObject)('CONFIG', null);
}),
(t.getCustomPurposes = g),
(t.getCustomPurposeIds = function () {
return g().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 = _),
(t.setLocale = function (e) {
a(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];
a(o.OIL_CONFIG.ATTR_GDPR_APPLIES, e);
}),
(t.getShowLimitedVendors = function () {
return u(o.OIL_CONFIG.ATTR_SHOW_LIMITED_VENDORS_ONLY, !1);
}),
(t.isInfoBannerOnly = h),
(t.suppressCookies = m),
(t.isAmpModeActivated = function () {
return h() && m();
});
var o = n(13),
r = n(2),
i = n(6);
function s() {
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
),
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 = _()) && 'string' != typeof t) || void 0 !== d()
? t &&
(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.'
))
: (0, r.logError)(
'Incorrect or missing locale parameter found. Please review documentation on how to set the locale object in your configuration. Using default locale.'
),
f() && (n.p = f());
}
var t;
return (0, i.getGlobalOilObject)('CONFIG');
}
function a(e, t) {
s()[e] = t;
}
function u(e, t) {
var n = s();
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
? '/' === 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() {
var e = u(o.OIL_CONFIG.ATTR_PUBLIC_PATH, void 0);
return e && '/' !== e.substr(-1) && (e += '/'), e;
}
function d() {
return u(o.OIL_CONFIG.ATTR_LOCALE_URL, void 0);
}
function p() {
var e = _();
return (
e || (e = 'enEN_01'),
e && (0, i.isObject)(e)
? e.localeId
? e.localeId
: 'enEN_01'
: e
);
}
function v() {
return (arguments.length > 0 && void 0 !== arguments[0]
? arguments[0]
: 'en'
).substring(0, 2);
}
function g() {
return u(o.OIL_CONFIG.ATTR_CUSTOM_PURPOSES, []);
}
function _() {
return u(o.OIL_CONFIG.ATTR_LOCALE, void 0);
}
function h() {
return u(o.OIL_CONFIG.ATTR_INFO_BANNER_ONLY, !1);
}
function m() {
return u(o.OIL_CONFIG.ATTR_SUPPRESS_COOKIES, !1);
}
},
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 = s),
(t.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);
}),
(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(2),
r = n(13),
i = n(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';
t.OilVersion = {
get: function () {
return '1.3.5-RELEASE';
},
getLatestReleaseVersion: function () {
return '1.3.5';
},
};
},
function (e, t, n) {
var o = n(1),
r = n(8),
i = n(14),
s = n(23),
a = 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] = {}),
I = 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
? a(f, o)
: _ && 'function' == typeof f
? a(Function.call, f)
: f),
m && s(m, c, f, e & u.U),
O[c] != f && i(O, c, d),
_ && I[c] != f && (I[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),
s = Object.defineProperty;
t.f = n(10)
? Object.defineProperty
: function (e, t, n) {
if ((o(e), (t = i(t, !0)), o(n), r))
try {
return s(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_PREVIEW_MODE: 'preview_mode',
ATTR_COOKIE_EXPIRES_IN_DAYS: 'cookie_expires_in_days',
ATTR_COOKIE_DOMAIN: 'cookie_domain',
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',
}),
(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_OPT_IN_BUTTON_CLICKED =
'oil_optin_done_button_clicked'),
(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_CUSTOM_VENDORLIST_VERSION = 'cvl'),
(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 = _),
(t.setDomainCookie = h),
(t.getOilCookie = m),
(t.hasOutdatedOilCookie = O),
(t.findCookieConsideringCookieVersions = I),
(t.getSoiCookie = function () {
var e = I(L(), b);
return (
(0, s.logInfo)('Current Oil data from domain cookie: ', e),
e
);
}),
(t.setSoiCookieWithPoiCookieData = function (e) {
return new Promise(function (t, n) {
(0, l.loadVendorListAndCustomVendorList)()
.then(function () {
var n = L(),
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 s = {
opt_in: !0,
version: n.defaultCookieContent.version,
localeVariantName:
n.defaultCookieContent.localeVariantName,
localeVariantVersion:
n.defaultCookieContent.localeVariantVersion,
customVendorListVersion:
e.customVendorListVersion,
customPurposes: e.customPurposes,
consentString: (0, a.isInfoBannerOnly)()
? ''
: o,
configVersion: r,
};
h(n.name, s, n.expires, n.domain), t(s);
})
.catch(function (e) {
return n(e);
});
});
}),
(t.buildSoiCookie = y),
(t.setSoiCookie = function (e) {
return new Promise(function (t, n) {
y(e)
.then(function (e) {
h(
v,
e,
(0, a.getCookieExpireInDays)(),
(0, a.getCookieDomain)()
),
t(e);
})
.catch(function (e) {
return n(e);
});
});
}),
(t.setPreviewCookie = function () {
_(d, 'true');
}),
(t.setVerboseCookie = function () {
_(p, 'true');
}),
(t.removePreviewCookie = function () {
i.default.remove(d);
}),
(t.removeVerboseCookie = function () {
i.default.remove(p);
}),
(t.isPreviewCookieSet = function () {
return 'true' === i.default.get(d);
}),
(t.isVerboseCookieSet = function () {
return 'true' === i.default.get(p);
}),
(t.removeSubscriberCookies = C),
(t.removeHubCookie = function (e) {
C(), e && i.default.remove(e + '_' + v);
}),
(t.isBrowserCookieEnabled = function () {
i.default.set('oil_cookie_exp', 'cookiedata');
var e = w('oil_cookie_exp');
return i.default.remove('oil_cookie_exp'), e;
}),
(t.getStandardPurposesWithConsent = T),
(t.getCustomPurposesWithConsent = A);
var r,
i = (r = n(38)) && r.__esModule ? r : { default: r },
s = n(2),
a = n(5),
u = n(6),
c = n(13),
l = n(29),
f = n(56).ConsentString,
d = 'oil_preview',
p = 'oil_verbose',
v = 'oil_data',
g = 'oil_data_session';
function _(e, t) {
i.default.set(e, t);
}
function h(e, t, n) {
delete t.consentData,
i.default.set(e, t, { expires: n, domain: o });
}
function m(e) {
var t = i.default.getJSON(e.name);
return (t.consentData = new f(t.consentString)), t;
}
function O(e) {
return E(e.name, e.outdated_cookie_content_keys);
}
function I(e, t) {
var n = void 0;
return (
(function (e) {
return E(e.name, Object.keys(e.defaultCookieContent));
})(e)
? (n = m(e))
: (function (e) {
var t = Object.keys(e.defaultCookieContent);
return (
t.splice(t.indexOf('configVersion'), 1),
E(e.name, t)
);
})(e)
? ((n = m(e)).configVersion = c.OIL_CONFIG_DEFAULT_VERSION)
: (n = O(e) ? t(e) : e.defaultCookieContent),
n
);
}
function y(e) {
return new Promise(function (t, n) {
(0, l.loadVendorListAndCustomVendorList)()
.then(function () {
var n = L(),
o = n.defaultCookieContent.consentData;
o.setGlobalVendorList((0, l.getVendorList)()),
o.setPurposesAllowed(T(e)),
o.setVendorsAllowed((0, l.getLimitedVendorIds)());
var r = {
opt_in: !0,
version: n.defaultCookieContent.version,
localeVariantName:
n.defaultCookieContent.localeVariantName,
localeVariantVersion:
n.defaultCookieContent.localeVariantVersion,
customVendorListVersion: (0,
l.getCustomVendorListVersion)(),
customPurposes: A(e),
consentString: (0, a.isInfoBannerOnly)()
? ''
: o.getConsentString(),
configVersion: n.defaultCookieContent.configVersion,
};
t(r);
})
.catch(function (e) {
return n(e);
});
});
}
function C() {
i.default.remove(v), i.default.remove(g);
}
function T(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 A(e, t) {
return (
t || (t = (0, a.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 w(e) {
return void 0 !== i.default.get(e);
}
function E(e, t) {
return (function (e, t) {
if ('string' == typeof e && Array.isArray(t) && w(e)) {
var n = i.default.getJSON(e);
return t.every(function (e) {
return 'consentData' === e || n.hasOwnProperty(e);
});
}
return !1;
})(e, t);
}
function L() {
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)(),
domain: (0, a.getCookieDomain)(),
defaultCookieContent: {
opt_in: !1,
version: u.OilVersion.get(),
localeVariantName: (0, a.getLocaleVariantName)(),
localeVariantVersion: (0, u.getLocaleVariantVersion)(),
customPurposes: A((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 b(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 = A(t.privacy)),
n.consentData.setConsentLanguage(
(0, a.getLanguageFromLocale)(t.localeVariantName)
),
n.consentData.setPurposesAllowed(T(t.privacy)),
n.consentData.setVendorsAllowed((0, l.getLimitedVendorIds)()),
n.consentData.setGlobalVendorList((0, l.getVendorList)()),
(n.consentString = (0, a.isInfoBannerOnly)()
? ''
: 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),
s = n(18)('src'),
a = Function.toString,
u = ('' + a).split('toString');
(n(8).inspectSource = function (e) {
return a.call(e);
}),
(e.exports = function (e, t, n, a) {
var c = 'function' == typeof n;
c && (i(n, 'name') || r(n, 'name', t)),
e[t] !== n &&
(c &&
(i(n, s) ||
r(n, s, e[t] ? '' + e[t] : u.join(String(t)))),
e === o
? (e[t] = n)
: a
? 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[s]) || a.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.cachedCustomVendorList = t.cachedVendorList = t.DEFAULT_CUSTOM_VENDOR_LIST = t.DEFAULT_VENDOR_LIST = void 0),
(t.loadVendorListAndCustomVendorList = function () {
return u && c
? new Promise(function (e) {
e();
})
: l ||
((t.pendingVendorListPromise = l = new Promise(
function (e) {
var n = (0, o.getIabVendorListUrl)();
(0, i.fetchJsonData)(n)
.then(function (n) {
var o;
((o = n).vendors = o.vendors.sort(
function (e, t) {
return e.id - t.id;
}
)),
(t.cachedVendorList = u = n),
f().then(function () {
(t.pendingVendorListPromise = l = null),
e();
});
})
.catch(function (n) {
(0, r.logError)(
'OIL getVendorList failed and returned error: ' +
n +
'. Falling back to default vendor list!'
),
f().then(function () {
(t.pendingVendorListPromise = l = null),
e();
});
});
}
)),
l);
}),
(t.getPurposes = d),
(t.getPurposeIds = function () {
return d().map(function (e) {
return e.id;
});
}),
(t.getVendors = p),
(t.getVendorIds = v),
(t.getVendorList = function () {
return (
u || {
vendorListVersion: s.vendorListVersion,
lastUpdated: s.lastUpdated,
vendors: m(h()),
purposes: m(s.purposeIds),
features: [],
isDefault: !0,
}
);
}),
(t.getCustomVendorList = function () {
return c || a;
}),
(t.getCustomVendorListVersion = function () {
return c && !c.isDefault ? c.vendorListVersion : void 0;
}),
(t.clearVendorListCache = function () {
(t.cachedVendorList = u = void 0),
(t.cachedCustomVendorList = c = void 0),
(t.pendingVendorListPromise = l = null);
}),
(t.getVendorsToDisplay = function () {
return (0, o.getShowLimitedVendors)() ? g() : p();
}),
(t.getLimitedVendors = g),
(t.getLimitedVendorIds = _);
var o = n(5),
r = n(2),
i = n(6),
s = (t.DEFAULT_VENDOR_LIST = {
vendorListVersion: 36,
maxVendorId: 380,
lastUpdated: '2018-05-30T16:00:15Z',
purposeIds: [1, 2, 3, 4, 5],
}),
a = (t.DEFAULT_CUSTOM_VENDOR_LIST = {
vendorListVersion: -1,
isDefault: !0,
vendors: [],
}),
u = (t.cachedVendorList = void 0),
c = (t.cachedCustomVendorList = void 0),
l = (t.pendingVendorListPromise = null);
function f() {
return new Promise(function (e) {
var n = (0, o.getCustomVendorListUrl)();
n
? (0, i.fetchJsonData)(n)
.then(function (n) {
(t.cachedCustomVendorList = c = n), e();
})
.catch(function (n) {
(t.cachedCustomVendorList = c = a),
(0, r.logError)(
'OIL getCustomVendorList failed and returned error: ' +
n +
'. Falling back to default custom vendor list!'
),
e();
})
: ((t.cachedCustomVendorList = c = a), e());
});
}
function d() {
return u ? u.purposes : m(s.purposeIds);
}
function p() {
return u ? u.vendors : m(h());
}
function v() {
return p().map(function (e) {
return e.id;
});
}
function g() {
var e = p(),
t = _();
return (
(0, r.logInfo)('limiting vendors'),
e.filter(function (e) {
return t.indexOf(e.id) > -1;
})
);
}
function _() {
var e = void 0;
e = u ? v() : h();
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 h() {
return (function (e, t) {
for (; e--; ) t[e] = e + 1;
return t;
})(s.maxVendorId, []);
}
function m(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 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 = 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 || (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 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) {
s = v;
break;
}
t || (s[g] = 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 (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),
s = n(33)('IE_PROTO');
e.exports = function (e, t) {
var n,
a = r(e),
u = 0,
c = [];
for (n in a) n != s && o(a, n) && c.push(n);
for (; t.length > u; )
o(a, (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),
s = n(33)('IE_PROTO'),
a = 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
? ((a.prototype = o(e)),
(n = new a()),
(a.prototype = null),
(n[s] = 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, s;
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' == (s = o(t)) && 'function' == typeof t.callee
? 'Arguments'
: s;
};
},
function (e, t, n) {
var o,
r,
i,
s = n(24),
a = 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 () {
a('function' == typeof e ? e : Function(e), t);
}),
o(_),
_
);
}),
(p = function (e) {
delete h[e];
}),
'process' == n(15)(f)
? (o = function (e) {
f.nextTick(s(m, e, 1));
})
: g && g.now
? (o = function (e) {
g.now(s(m, e, 1));
})
: v
? ((i = (r = new v()).port2),
(r.port1.onmessage = O),
(o = s(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(s(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 =
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;
},
r = n(53),
i = r.encodeToBase64,
s = r.padRight;
function a(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 s(n, Math.max(0, e - n.length));
}
function u(e) {
for (
var t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: new Set(),
n = 0,
o = 0;
o < e.length;
o += 1
)
n = Math.max(n, e[o].id);
for (var r = 0; r < t.length; r += 1) n = Math.max(n, t[r]);
for (var i = '', s = 1; s <= n; s += 1)
i += -1 !== t.indexOf(s) ? '1' : '0';
return i;
}
function c(e, t) {
for (
var n = [],
o = [],
r = e.map(function (e) {
return e.id;
}),
i = 0;
i < e.length;
i += 1
) {
var s = e[i].id;
if (
(-1 !== t.indexOf(s) && n.push(s),
(-1 === t.indexOf(s) ||
i === e.length - 1 ||
-1 === r.indexOf(s + 1)) &&
n.length)
) {
var a = n.shift(),
u = n.pop();
(n = []),
o.push({
isRange: 'number' == typeof u,
startVendorId: a,
endVendorId: u,
});
}
}
return o;
}
function l(e) {
var t = 0;
return (
e.forEach(function (e) {
e.id > t && (t = e.id);
}),
t
);
}
e.exports = {
convertVendorsToRanges: c,
encodeConsentString: function (e) {
var t = e.maxVendorId,
n = e.vendorList,
r = void 0 === n ? {} : n,
s = e.allowedPurposeIds,
f = e.allowedVendorIds,
d = r.vendors,
p = void 0 === d ? [] : d,
v = r.purposes,
g = void 0 === v ? [] : v;
t || (t = l(p));
var _ = i(
o({}, e, {
maxVendorId: t,
purposeIdBitString: u(g, s),
isRange: !1,
vendorIdBitString: a(t, f),
})
),
h = c(p, f),
m = i(
o({}, e, {
maxVendorId: t,
purposeIdBitString: u(g, s),
isRange: !0,
defaultConsent: !1,
numEntries: h.length,
vendorRangeList: h,
})
);
return _.length < m.length ? _ : m;
},
getMaxVendorId: l,
encodeVendorIdsToBits: a,
encodePurposeIdsToBits: u,
};
},
function (e, t, n) {
'use strict';
var o = n(98),
r = n(54),
i = r.versionNumBits,
s = r.vendorVersionMap;
function a(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 u(e, t) {
return a(Math.max(0, t)) + e;
}
function c(e, t) {
return e + a(Math.max(0, t));
}
function l(e, t) {
var n = '';
return (
'number' != typeof e ||
isNaN(e) ||
(n = parseInt(e, 10).toString(2)),
t >= n.length && (n = u(n, t - n.length)),
n.length > t && (n = n.substring(0, t)),
n
);
}
function f(e) {
return l(!0 === e ? 1 : 0, 1);
}
function d(e, t) {
return e instanceof Date ? l(e.getTime() / 100, t) : l(e, t);
}
function p(e, t) {
return l(e.toUpperCase().charCodeAt(0) - 65, t);
}
function v(e) {
var t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: 12;
return p(e.slice(0, 1), t / 2) + p(e.slice(1), t / 2);
}
function g(e, t, n) {
return parseInt(e.substr(t, n), 2);
}
function _(e, t, n) {
return new Date(100 * g(e, t, n));
}
function h(e, t) {
return 1 === parseInt(e.substr(t, 1), 2);
}
function m(e) {
var t = g(e);
return String.fromCharCode(t + 65).toLowerCase();
}
function O(e, t, n) {
var o = e.substr(t, n);
return m(o.slice(0, n / 2)) + m(o.slice(n / 2));
}
function I(e) {
var t = e.input,
n = e.field,
o = n.name,
r = n.type,
i = n.numBits,
s = n.encoder,
a = n.validator;
if ('function' == typeof a && !a(t)) return '';
if ('function' == typeof s) return s(t);
var u = 'function' == typeof i ? i(t) : i,
p = t[o],
g = null === p || void 0 === p ? '' : p;
switch (r) {
case 'int':
return l(g, u);
case 'bool':
return f(g);
case 'date':
return d(g, u);
case 'bits':
return c(g, u - g.length).substring(0, u);
case 'list':
return g.reduce(function (e, t) {
return e + y({ input: t, fields: n.fields });
}, '');
case 'language':
return v(g, u);
default:
throw new Error(
'ConsentString - Unknown field type ' +
r +
' for encoding'
);
}
}
function y(e) {
var t = e.input;
return e.fields.reduce(function (e, n) {
return e + I({ input: t, field: n });
}, '');
}
function C(e, t) {
var n = e.version;
if ('number' != typeof n)
throw new Error('ConsentString - No version field to encode');
if (t[n]) return y({ input: e, fields: t[n].fields });
throw new Error('ConsentString - No definition for version ' + n);
}
e.exports = {
padRight: c,
padLeft: u,
encodeField: I,
encodeDataToBits: C,
encodeIntToBits: l,
encodeBoolToBits: f,
encodeDateToBits: d,
encodeLanguageToBits: v,
encodeLetterToBits: p,
encodeToBase64: function (e) {
var t = C(
e,
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: s
);
if (t) {
for (
var n = c(t, 7 - ((t.length + 7) % 8)), r = '', i = 0;
i < n.length;
i += 8
)
r += String.fromCharCode(parseInt(n.substr(i, 8), 2));
return o
.encode(r)
.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: g,
decodeBitsToDate: _,
decodeBitsToBool: h,
decodeBitsToLanguage: O,
decodeBitsToLetter: m,
decodeFromBase64: function (e, t) {
for (var n = e; n.length % 4 != 0; ) n += '=';
n = n.replace(/-/g, '+').replace(/_/g, '/');
for (var r = o.decode(n), 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 t =
arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: s,
n = g(e, 0, i);
if ('number' != typeof n)
throw new Error(
'ConsentString - Unknown version number in the string to decode'
);
if (!s[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,
s = o.numBits,
a = (function (t) {
var n = t.input,
o = t.output,
r = t.startPosition,
i = t.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(n, o, r);
var f =
'function' == typeof a ? a(o) : a;
switch (s) {
case 'int':
return {
fieldValue: g(n, r, f),
};
case 'bool':
return { fieldValue: h(n, r) };
case 'date':
return {
fieldValue: _(n, r, f),
};
case 'bits':
return {
fieldValue: n.substr(r, f),
};
case 'list':
return (function (
t,
n,
o,
r,
i
) {
var s = 0;
'function' == typeof i
? (s = i(n))
: 'number' ==
typeof i &&
(s = i);
for (
var a = o,
u = [],
c = 0;
c < s;
c += 1
) {
var l = e({
input: t,
fields: r.fields,
startPosition: a,
});
(a = l.newPosition),
u.push(
l.decodedObject
);
}
return {
fieldValue: u,
newPosition: a,
};
})(n, o, r, i, l);
case 'language':
return {
fieldValue: O(n, r, f),
};
default:
throw new Error(
'ConsentString - Unknown field type ' +
s +
' for decoding'
);
}
})({
input: n,
output: t,
startPosition: i,
field: o,
}),
u = a.fieldValue,
c = a.newPosition;
return (
void 0 !== u && (t[r] = u),
void 0 !== c
? (i = c)
: 'number' == typeof s && (i += s),
t
);
}, {}),
newPosition: i,
};
})({ input: e, fields: t[n].fields }).decodedObject;
})(a, t);
},
};
},
function (e, t, n) {
'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, t, n) {
'use strict';
var o = n(53),
r = o.decodeBitsToIds,
i = o.decodeFromBase64;
e.exports = {
decodeConsentString: function (e) {
var t = i(e),
n = t.version,
o = t.cmpId,
s = t.vendorListVersion,
a = 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: s,
allowedPurposeIds: r(a),
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,
s = o;
s <= i;
s += 1
)
e[s] = !0;
return e;
}, {});
m.allowedVendorIds = [];
for (var I = 1; I <= u; I += 1)
((d && !O[I]) || (!d && O[I])) &&
-1 === m.allowedVendorIds.indexOf(I) &&
m.allowedVendorIds.push(I);
} else m.allowedVendorIds = r(p);
return m;
},
};
},
function (e, t, n) {
'use strict';
var o = 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, s = r(t), a = o(s), u = a.length, c = 0, l = [];
u > c;

)
i.call(s, (n = a[c++])) && l.push(e ? [n, s[n]] : s[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, s) {
var a,
u = o(t),
c = r(u.length),
l = i(s, c);
if (e && n != n) {
for (; c > l; ) if ((a = u[l++]) != a) 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),
s = arguments.length,
a = r(s > 1 ? arguments[1] : void 0, n),
u = s > 2 ? arguments[2] : void 0,
c = void 0 === u ? n : r(u, n);
c > a;

)
t[a++] = e;
return t;
};
},
function (e, t, n) {
'use strict';
var o = n(44),
r = n(64),
i = n(27),
s = n(12);
(e.exports = n(65)(
Array,
'Array',
function (e, t) {
(this._t = s(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),
s = n(14),
a = 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,
I,
y = function (e) {
if (!d && e in w) return w[e];
switch (e) {
case 'keys':
case 'values':
return function () {
return new n(this, e);
};
}
return function () {
return new n(this, e);
};
},
C = t + ' Iterator',
T = 'values' == g,
A = !1,
w = e.prototype,
E = w[f] || w['@@iterator'] || (g && w[g]),
L = E || y(g),
b = g ? (T ? y('entries') : L) : void 0,
S = ('Array' == t && w.entries) || E;
if (
(S &&
(I = l(S.call(new e()))) !== Object.prototype &&
I.next &&
(c(I, C, !0), o || 'function' == typeof I[f] || s(I, f, p)),
T &&
E &&
'values' !== E.name &&
((A = !0),
(L = function () {
return E.call(this);
})),
(o && !h) || (!d && !A && w[f]) || s(w, f, L),
(a[t] = L),
(a[C] = p),
g)
)
if (
((m = {
values: T ? L : y('values'),
keys: _ ? L : y('keys'),
entries: b,
}),
h)
)
for (O in m) O in w || i(w, 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),
s = {};
n(14)(s, n(0)('iterator'), function () {
return this;
}),
(e.exports = function (e, t, n) {
(e.prototype = o(s, { 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, s = i(t), a = s.length, u = 0; a > u; )
o.f(e, (n = s[u++]), t[n]);
return e;
};
},
function (e, t, n) {
var o = n(11),
r = n(36),
i = n(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, t, n) {
'use strict';
var o = n(7),
r = n(26),
i = n(70),
s = ''.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 s ? s.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),
s = n(36),
a = 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 = 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),
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),
s = n(7),
a = 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),
I = n(12),
y = n(31),
C = n(22),
T = n(45),
A = n(80),
w = n(81),
E = n(9),
L = n(19),
b = w.f,
S = E.f,
P = A.f,
V = o.Symbol,
N = o.JSON,
R = N && N.stringify,
D = p('_hidden'),
x = p('toPrimitive'),
k = {}.propertyIsEnumerable,
M = l('symbol-registry'),
j = l('symbols'),
G = l('op-symbols'),
B = Object.prototype,
F = 'function' == typeof V,
U = o.QObject,
Y = !U || !U.prototype || !U.prototype.findChild,
H =
i &&
c(function () {
return (
7 !=
T(
S({}, 'a', {
get: function () {
return S(this, 'a', { value: 7 }).a;
},
})
).a
);
})
? function (e, t, n) {
var o = b(B, t);
o && delete B[t],
S(e, t, n),
o && e !== B && S(B, t, o);
}
: S,
J = function (e) {
var t = (j[e] = T(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 = y(t, !0)),
m(n),
r(j, t)
? (n.enumerable
? (r(e, D) && e[D][t] && (e[D][t] = !1),
(n = T(n, { enumerable: C(0, !1) })))
: (r(e, D) || S(e, D, C(1, {})), (e[D][t] = !0)),
H(e, t, n))
: S(e, t, n)
);
},
q = function (e, t) {
m(e);
for (var n, o = _((t = I(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 = y(e, !0)));
return (
!(this === B && r(j, e) && !r(G, e)) &&
(!(
t ||
!r(this, e) ||
!r(j, e) ||
(r(this, D) && this[D][e])
) ||
t)
);
},
X = function (e, t) {
if (
((e = I(e)), (t = y(t, !0)), e !== B || !r(j, t) || r(G, t))
) {
var n = b(e, t);
return (
!n ||
!r(j, t) ||
(r(e, D) && e[D][t]) ||
(n.enumerable = !0),
n
);
}
},
Q = function (e) {
for (var t, n = P(I(e)), o = [], i = 0; n.length > i; )
r(j, (t = n[i++])) || t == D || t == u || o.push(t);
return o;
},
Z = function (e) {
for (
var t, n = e === B, o = P(n ? G : I(e)), i = [], s = 0;
o.length > s;

)
!r(j, (t = o[s++])) || (n && !r(B, t)) || i.push(j[t]);
return i;
};
F ||
(a(
(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, D) &&
r(this[D], e) &&
(this[D][e] = !1),
H(this, e, C(1, n));
};
return (
i && Y && H(B, e, { configurable: !0, set: t }), J(e)
);
}).prototype,
'toString',
function () {
return this._k;
}
),
(w.f = X),
(E.f = K),
(n(48).f = A.f = Q),
(n(21).f = z),
(n(37).f = Z),
i && !n(20) && a(B, 'propertyIsEnumerable', z, !0),
(v.f = function (e) {
return J(p(e));
})),
s(s.G + s.W + s.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 = L(p.store), ne = 0; te.length > ne; ) g(te[ne++]);
s(s.S + s.F * !F, 'Symbol', {
for: function (e) {
return r(M, (e += '')) ? M[e] : (M[e] = V(e));
},
keyFor: function (e) {
if (!W(e)) throw TypeError(e + ' is not a symbol!');
for (var t in M) if (M[t] === e) return t;
},
useSetter: function () {
Y = !0;
},
useSimple: function () {
Y = !1;
},
}),
s(s.S + s.F * !F, 'Object', {
create: function (e, t) {
return void 0 === t ? T(e) : q(T(e), t);
},
defineProperty: K,
defineProperties: q,
getOwnPropertyDescriptor: X,
getOwnPropertyNames: Q,
getOwnPropertySymbols: Z,
}),
N &&
s(
s.S +
s.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[x] || n(14)(V.prototype, x, 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),
s = n(9).f,
a = 0,
u =
Object.isExtensible ||
function () {
return !0;
},
c = !n(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, 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),
s = n(47),
a = n(9).f;
e.exports = function (e) {
var t = r.Symbol || (r.Symbol = i ? {} : o.Symbol || {});
'_' == e.charAt(0) || e in t || a(t, e, { value: s.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 s, a = n(e), u = i.f, c = 0; a.length > c; )
u.call(e, (s = a[c++])) && t.push(s);
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,
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, t, n) {
var o = n(21),
r = n(22),
i = n(12),
s = n(31),
a = n(11),
u = n(39),
c = Object.getOwnPropertyDescriptor;
t.f = n(10)
? c
: function (e, t) {
if (((e = i(e)), (t = s(t, !0)), u))
try {
return c(e, t);
} catch (e) {}
if (a(e, t)) return r(!o.f.call(e, t), e[t]);
};
},
function (e, t, n) {
'use strict';
var o,
r,
i,
s,
a = 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),
I = n(91),
y = n(92),
C = n(93),
T = u.TypeError,
A = u.process,
w = A && A.versions,
E = (w && w.v8) || '',
L = u.Promise,
b = 'process' == l(A),
S = function () {},
P = (r = O.f),
V = !!(function () {
try {
var e = L.resolve(1),
t = ((e.constructor = {})[n(0)('species')] = function (
e
) {
e(S, S);
});
return (
(b || 'function' == typeof PromiseRejectionEvent) &&
e.then(S) instanceof t &&
0 !== E.indexOf('6.6') &&
-1 === y.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,
s = function (t) {
var n,
i,
s,
a = r ? t.ok : t.fail,
u = t.resolve,
c = t.reject,
l = t.domain;
try {
a
? (r ||
(2 == e._h && k(e),
(e._h = 1)),
!0 === a
? (n = o)
: (l && l.enter(),
(n = a(o)),
l && (l.exit(), (s = !0))),
n === t.promise
? c(T('Promise-chain cycle'))
: (i = N(n))
? i.call(n, u, c)
: u(n))
: c(o);
} catch (e) {
l && !s && l.exit(), c(e);
}
};
n.length > i;

)
s(n[i++]);
(e._c = []), (e._n = !1), t && !e._h && D(e);
});
}
},
D = function (e) {
h.call(u, function () {
var t,
n,
o,
r = e._v,
i = x(e);
if (
(i &&
((t = I(function () {
b
? 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 = b || x(e) ? 2 : 1)),
(e._a = void 0),
i && t.e)
)
throw t.v;
});
},
x = function (e) {
return 1 !== e._h && 0 === (e._a || e._c).length;
},
k = function (e) {
h.call(u, function () {
var t;
b
? A.emit('rejectionHandled', e)
: (t = u.onrejectionhandled) &&
t({ promise: e, reason: e._v });
});
},
M = 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));
},
j = function (e) {
var t,
n = this;
if (!n._d) {
(n._d = !0), (n = n._w || n);
try {
if (n === e)
throw T("Promise can't be resolved itself");
(t = N(e))
? m(function () {
var o = { _w: n, _d: !1 };
try {
t.call(e, c(j, o, 1), c(M, o, 1));
} catch (e) {
M.call(o, e);
}
})
: ((n._v = e), (n._s = 1), R(n, !1));
} catch (e) {
M.call({ _w: n, _d: !1 }, e);
}
}
};
V ||
((L = function (e) {
v(this, L, 'Promise', '_h'), p(e), o.call(this);
try {
e(c(j, 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 = n(94)(L.prototype, {
then: function (e, t) {
var n = P(_(this, L));
return (
(n.ok = 'function' != typeof e || e),
(n.fail = 'function' == typeof t && t),
(n.domain = b ? 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(j, e, 1)),
(this.reject = c(M, e, 1));
}),
(O.f = P = function (e) {
return e === L || e === s ? new i(e) : r(e);
})),
f(f.G + f.W + f.F * !V, { Promise: L }),
n(28)(L, 'Promise'),
n(95)('Promise'),
(s = n(8).Promise),
f(f.S + f.F * !V, 'Promise', {
reject: function (e) {
var t = P(this);
return (0, t.reject)(e), t.promise;
},
}),
f(f.S + f.F * (a || !V), 'Promise', {
resolve: function (e) {
return C(a && this === s ? L : this, e);
},
}),
f(
f.S +
f.F *
!(
V &&
n(96)(function (e) {
L.all(e).catch(S);
})
),
'Promise',
{
all: function (e) {
var t = this,
n = P(t),
o = n.resolve,
r = n.reject,
i = I(function () {
var n = [],
i = 0,
s = 1;
g(e, !1, function (e) {
var a = i++,
u = !1;
n.push(void 0),
s++,
t.resolve(e).then(function (e) {
u ||
((u = !0),
(n[a] = e),
--s || o(n));
}, r);
}),
--s || o(n);
});
return i.e && r(i.v), n.promise;
},
race: function (e) {
var t = this,
n = P(t),
o = n.reject,
r = I(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),
s = n(3),
a = 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 = a(e.length); p > O; O++)
if (
(_ = t ? m(s((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,
s = o(e).constructor;
return void 0 === s || void 0 == (n = o(s)[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,
s = o.process,
a = o.Promise,
u = 'process' == n(15)(s);
e.exports = function () {
var e,
t,
n,
c = function () {
var o, r;
for (u && (o = s.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 () {
s.nextTick(c);
};
else if (!i || (o.navigator && o.navigator.standalone))
if (a && a.resolve) {
var l = a.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),
s = n(0)('species');
e.exports = function (e) {
var t = o[e];
i &&
t &&
!t[s] &&
r.f(t, s, {
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],
s = i[o]();
(s.next = function () {
return { done: (n = !0) };
}),
(i[o] = function () {
return s;
}),
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;
};
})(),
i = n(52),
s = i.encodeConsentString,
a = i.getMaxVendorId,
u = i.encodeVendorIdsToBits,
c = i.encodePurposeIdsToBits,
l = n(55).decodeConsentString,
f = n(54).vendorVersionMap,
d = /^[a-z]{2}$/,
p = (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, l(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()),
s({
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: 'getLastUpdated',
value: function () {
return this.lastUpdated;
},
},
{
key: 'setLastUpdated',
value: function () {
var e =
arguments.length > 0 &&
void 0 !== arguments[0]
? arguments[0]
: null;
this.lastUpdated = e
? new Date(e)
: new Date();
},
},
{
key: 'getCreated',
value: function () {
return this.created;
},
},
{
key: 'setCreated',
value: function () {
var e =
arguments.length > 0 &&
void 0 !== arguments[0]
? arguments[0]
: null;
this.created = e ? new Date(e) : new Date();
},
},
{
key: 'getMaxVendorId',
value: function () {
return a(this.vendorList.vendors);
},
},
{
key: 'getParsedVendorConsents',
value: function () {
return u(
a(this.vendorList.vendors),
this.allowedVendorIds
);
},
},
{
key: 'getParsedPurposeConsents',
value: function () {
return c(
this.vendorList.purposes,
this.allowedPurposeIds
);
},
},
{
key: 'getMetadataString',
value: function () {
return s({
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: 'getGlobalVendorList',
value: function () {
return this.vendorList;
},
},
{
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 === d.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 = l(e),
n = {};
return (
f[t.version].metadataFields.forEach(
function (e) {
n[e] = t[e];
}
),
n
);
},
},
]
),
e
);
})();
e.exports = { ConsentString: p };
},
function (e, t, n) {
(function (e, o) {
var r;
/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */ !(function (
i
) {
var s =
('object' == typeof e && e && e.exports,
'object' == typeof o && o);
s.global !== s && s.window;
var a = function (e) {
this.message = e;
};
(a.prototype = new Error()).name = 'InvalidCharacterError';
var u = function (e) {
throw new a(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,
s = '',
a = -1,
l = e.length - i;
++a < l;

)
(t = e.charCodeAt(a) << 16),
(n = e.charCodeAt(++a) << 8),
(o = e.charCodeAt(++a)),
(s +=
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(a) << 8),
(n = e.charCodeAt(++a)),
(s +=
c.charAt((r = t + n) >> 10) +
c.charAt((r >> 4) & 63) +
c.charAt((r << 2) & 63) +
'='))
: 1 == i &&
((r = e.charCodeAt(a)),
(s +=
c.charAt(r >> 2) +
c.charAt((r << 4) & 63) +
'==')),
s
);
},
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 = '', s = -1; ++s < t; )
(o = c.indexOf(e.charAt(s))),
(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, s.getOrigin)()).then(function (
t
) {
t || e({ power_opt_in: !1 }), e(t);
})
: (n.onload = function () {
return p((0, s.getOrigin)()).then(
function (t) {
t ||
e({ power_opt_in: !1 }),
e(t);
}
);
})
: ((0, a.logInfo)(
'Could not initialize POI. Fallback to POI false.'
),
e({ power_opt_in: !1 }));
})
: e({ power_opt_in: !1 });
});
}),
(t.deActivatePowerOptIn = function () {
return (
(0, a.logInfo)('deActivatePowerOptIn'),
(0, i.isPoiActive)()
? new Promise(function (e) {
return f().then(function () {
d('oil-poi-delete', (0, s.getOrigin)(), {}),
setTimeout(e);
});
})
: new Promise(function (e) {
e();
})
);
});
var r = n(13),
i = n(5),
s = n(6),
a = n(2),
u = 500,
c = !1;
function l(e) {
var t = document.getElementById('oil-frame');
return (
t
? (0, a.logInfo)('Found iframe')
: ((0, a.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, a.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, a.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, a.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, a.logInfo)('Send to Frame:', e, t),
(0, i.isPoiActive)() &&
f().then(function (o) {
var r = o.iframe,
s = (0, i.getHubOrigin)(),
a = (0, i.getPoiGroupName)();
if (r && s) {
var u = JSON.stringify({
event: e,
origin: t,
group_name: a,
payload: n,
});
r.contentWindow.postMessage(u, s);
}
});
}
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, a.logInfo)(
'Message from hub received...',
e.origin,
u
),
(0, s.removeMessageListener)(n),
(c = !1),
t(u);
}
}
(0, i.isPoiActive)() || t(!1),
setTimeout(function () {
return d('oil-status-read', e);
}),
c || ((0, s.registerMessageListener)(n), (c = !0)),
setTimeout(function () {
(0, s.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(6),
s = n(29),
a = n(5);
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 s = e.parentElement;
s.insertBefore(n, e), s.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, s.getPurposeIds)().concat(
(0, a.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';
Object.defineProperty(t, '__esModule', { value: !0 }),
(t.sendConsentInformationToCustomVendors = function () {
return (0, o.loadVendorListAndCustomVendorList)().then(
function () {
var e = (0, o.getCustomVendorList)();
if (e && !e.isDefault) {
var t = (0, i.getSoiCookie)();
t &&
t.consentData &&
e.vendors.forEach(function (e) {
return (function (e, n) {
var o = t.consentData.getPurposesAllowed();
e.purposeIds.every(function (e) {
return -1 !== o.indexOf(e);
})
? s('opt-in', e.optInSnippet, e)
: s('opt-out', e.optOutSnippet, e);
})(e);
});
}
}
);
});
var o = n(29),
r = n(2),
i = n(16);
function s(e, t, n) {
if (t)
try {
(0, eval)(t);
} catch (t) {
(0, r.logError)(
'Error occurred while executing ' +
e +
' script for custom vendor ' +
n.id +
' (' +
n.name +
')! Error was: ',
t
);
}
}
},
,
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(2),
r = n(6),
i = n(122),
s = n(29),
a = {
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, s.getVendorList)();
},
};
function u(e) {
(0, s.loadVendorListAndCustomVendorList)()
.then(function () {
var t, n;
((t = e.command),
(n = e.parameter),
new Promise(function (e, r) {
return 'function' == typeof a[t]
? ((0, o.logInfo)(
'Processing command "' +
t +
'" with parameters "' +
n +
'"'
),
e(a[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';
n(119), n(57), (0, n(120).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, a.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', v),
(function () {
function t(e) {
new Promise(function (e) {
Promise.all([n.e(1), n.e(0)])
.then(
function (t) {
e(n(104));
}.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, a.setPreviewCookie)(), 'preview mode on';
}),
(0, o.setGlobalOilObject)(
'previewModeOff',
function () {
return (
(0, a.removePreviewCookie)(),
'preview mode off'
);
}
),
(0, o.setGlobalOilObject)(
'verboseModeOn',
function () {
return (
(0, a.setVerboseCookie)(),
'verbose mode on'
);
}
),
(0, o.setGlobalOilObject)(
'verboseModeOff',
function () {
return (
(0, a.removeVerboseCookie)(),
'verbose mode off'
);
}
),
(0, o.setGlobalOilObject)('reload', function () {
return (
(0, c.resetConfiguration)(),
e(),
'OIL reloaded'
);
}),
(0, o.setGlobalOilObject)('status', function () {
return (0, a.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, a.isPreviewCookieSet)())
) {
if (
!(0, c.isAmpModeActivated)() &&
!(0, a.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(104));
}.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, s.checkOptIn)().then(function (e) {
e
? ((0, o.sendEventToHostSite)(
l.EVENT_NAME_HAS_OPTED_IN
),
(0, f.executeCommandCollection)(),
g(),
(0,
p.sendConsentInformationToCustomVendors)().then(
function () {
return (0, i.logInfo)(
'Consent information sending to custom vendors after OIL start with found opt-in finished!'
);
}
))
: (new Promise(function (e) {
Promise.all([n.e(1), n.e(0)])
.then(
function (t) {
e(n(104));
}.bind(null, n)
)
.catch(n.oe);
})
.then(function (e) {
e.locale(function (e) {
return e.renderOil({ optIn: !1 });
}),
g();
})
.catch(function (e) {
(0,
i.logError)('Locale could not be loaded.', e);
}),
(0,
p.sendConsentInformationToCustomVendors)().then(
function () {
return (0, i.logInfo)(
'Consent information sending to custom vendors after OIL start without found opt-in finished!'
);
}
));
});
}
});
var o = n(6),
r = n(121),
i = n(2),
s = n(123),
a = n(16),
u = n(124),
c = n(5),
l = n(13),
f = n(105),
d = n(102),
p = n(103);
function v() {
document.removeEventListener('DOMContentLoaded', v),
(0, d.manageDomElementActivation)();
}
function g() {
(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, s.sendEventToHostSite)(a.EVENT_NAME_OPT_OUT);
}),
(0, c.executeCommandCollection)(),
(0, l.sendConsentInformationToCustomVendors)().then(
function () {
return (0, r.logInfo)(
'Consent information sending to custom vendors after opt-out is done!'
);
}
),
(0, u.manageDomElementActivation)();
});
var o = n(101),
r = n(2),
i = n(16),
s = n(6),
a = n(13),
u = n(102),
c = n(105),
l = n(103);
},
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: a(
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)
: s.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: a(
t.consentData.getPurposesAllowed(),
(0, i.getPurposeIds)(),
e
),
customPurposeConsents: a(
t.customPurposes,
(0, r.getCustomPurposeIds)(),
e
),
};
});
var o = n(16),
r = n(5),
i = n(29),
s = n(13);
function a(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;
}, {});
}
},
function (e, t, n) {
'use strict';
Object.defineProperty(t, '__esModule', { value: !0 }),
(t.checkOptIn = function () {
return new Promise(function (e, t) {
var n = (0, o.getSoiCookie)().opt_in,
s = n;
(0, i.verifyPowerOptIn)().then(function (i) {
!(function (e, t) {
i.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),
i.power_opt_in &&
((s = i.power_opt_in),
n ||
(0, o.setSoiCookieWithPoiCookieData)(i)
.then(function () {
return e(s);
})
.catch(function (e) {
return t(e);
})),
e(s);
});
});
});
var o = n(16),
r = n(2),
i = n(101);
},
function (e, t, n) {
'use strict';
Object.defineProperty(t, '__esModule', { value: !0 }),
(t.doSetTealiumVariables = d);
var o = n(5),
r = n(16);
function i(e, t, n) {
return (
t in e
? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0,
})
: (e[t] = n),
e
);
}
var s = '_dip_oil_purpose_all',
a = '_dip_oil_purpose_01',
u = '_dip_oil_purpose_02',
c = '_dip_oil_purpose_03',
l = '_dip_oil_purpose_04',
f = '_dip_oil_purpose_05';
function d() {
if (window && window.utag) {
!(function () {
if (!window.oilEventListenerForLoadingRules) {
window.oilEventListenerForLoadingRules = p;
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, r.getSoiCookie)().consentData;
if (t) {
var n = t.getPurposesAllowed();
5 === n.length
? (e[s] = 1)
: ((function (e, t) {
(e[a] = -1 !== t.indexOf(1) ? 1 : 0),
(e[u] = -1 !== t.indexOf(2) ? 1 : 0),
(e[c] = -1 !== t.indexOf(3) ? 1 : 0),
(e[l] = -1 !== t.indexOf(4) ? 1 : 0),
(e[f] = -1 !== t.indexOf(5) ? 1 : 0);
})(e, n),
(function (e) {
e[s] =
1 === e[a] &&
1 === e[u] &&
1 === e[c] &&
1 === e[l] &&
1 === e[f]
? 1
: 0;
})(e));
} else
!(function (e) {
(e[s] = 0),
(e[a] = 0),
(e[u] = 0),
(e[c] = 0),
(e[l] = 0),
(e[f] = 0);
})(e);
}
}
function p(e) {
var t;
e &&
e.data &&
((t = 'oil_opt'), -1 !== JSON.stringify(e.data).indexOf(t)) &&
(d(),
(function () {
var e = window.utag_data;
if (e) {
var t,
n =
(i((t = {}), s, e[s]),
i(t, a, e[a]),
i(t, u, e[u]),
i(t, c, e[c]),
i(t, l, e[l]),
i(t, f, e[f]),
t);
(0, o.isInfoBannerOnly)() || window.utag.view(n);
}
})());
}
},
]);

Back to list