@tashop/oil.js
Version:
oil.js Opt-In Layer for consent management based on the IAB TCF Standard
2 lines • 50.8 kB
JavaScript
/*! 1.3.5-5-RELEASE */
(window.oilJsonp=window.oilJsonp||[]).push([[0],{109:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oilWrapper=e.handleOptIn=e.oilShowPreferenceCenter=e.renderOil=void 0;var o=i(135);Object.defineProperty(e,"renderOil",{enumerable:!0,get:function(){return o.renderOil}}),Object.defineProperty(e,"oilShowPreferenceCenter",{enumerable:!0,get:function(){return o.oilShowPreferenceCenter}}),Object.defineProperty(e,"handleOptIn",{enumerable:!0,get:function(){return o.handleOptIn}}),Object.defineProperty(e,"oilWrapper",{enumerable:!0,get:function(){return o.oilWrapper}}),e.locale=function(t){var e=this,i=(0,r.getLocale)();if(!function(t){var e;return!t||!t.texts||(e=t.texts,Object.values(a.OIL_LABELS).filter(function(t){return!t.startsWith(a.OPTIONAL_LABEL_PREFIX)}).filter(function(t){return!e[t]})).length>0}(i))return t(this);var o=(0,r.getLocaleUrl)();if(!o)return d(c.default,i),t(this);(0,l.fetchJsonData)(o).then(function(o){return d(o,i),t(e)}).catch(function(o){return(0,s.logError)("OIL backend returned error: "+o+". Falling back to default locale '"+c.default.localeId+"', version "+c.default.version+"!"),d(c.default,i),t(e)})};var n,a=i(134),s=i(2),l=i(6),r=i(5),c=(n=i(159))&&n.__esModule?n:{default:n};function d(t,e){if(e&&e.texts){for(var i in t.texts)e.texts[i]||(e.texts[i]=t.texts[i]);for(var o in c.default.texts)e.texts[o]||(0,s.logWarn)(o+" missing from locale config.");(0,r.setLocale)(e)}else(0,r.setLocale)(t)}},133:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPersistMinimumTracking=function(){return(0,n.getConfigValue)(o.OIL_CONFIG.ATTR_PERSIST_MINIMUM_TRACKING,!0)},e.isAdvancedSettings=function(){return(0,n.getConfigValue)(o.OIL_CONFIG.ATTR_ADVANCED_SETTINGS,!1)},e.getTimeOutValue=function(){return(0,n.getConfigValue)(o.OIL_CONFIG.ATTR_TIMEOUT,a)},e.getTheme=function(){return(0,n.getConfigValue)(o.OIL_CONFIG.ATTR_THEME,"light")},e.getCpcType=function(){return(0,n.getConfigValue)(o.OIL_CONFIG.ATTR_CPC_TYPE,o.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD)},e.getLabel=function(t){return s(t,t)},e.getLabelWithDefault=s,e.isOptoutConfirmRequired=function(){return(0,n.getConfigValue)(o.OIL_CONFIG.ATTR_REQUIRE_OPTOUT_CONFIRM,!1)};var o=i(13),n=i(5),a=60;function s(t,e){var i=(0,n.getLocale)();return(0,n.getConfigValue)(t,i&&i.texts&&i.texts[t]?i.texts[t]:e)}},134:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OIL_LABELS={ATTR_LABEL_INTRO_HEADING:"label_intro_heading",ATTR_LABEL_INTRO:"label_intro",ATTR_LABEL_BUTTON_YES:"label_button_yes",ATTR_LABEL_BUTTON_BACK:"label_button_back",ATTR_LABEL_BUTTON_ADVANCED_SETTINGS:"label_button_advanced_settings",ATTR_LABEL_POI_GROUP_LIST_HEADING:"label_poi_group_list_heading",ATTR_LABEL_POI_GROUP_LIST_TEXT:"label_poi_group_list_text",ATTR_LABEL_THIRD_PARTY:"label_third_party",ATTR_LABEL_THIRD_PARTY_LIST_HEADING:"label_thirdparty_list_heading",ATTR_LABEL_THIRD_PARTY_LIST_TEXT:"label_thirdparty_list_text",ATTR_LABEL_CUSTOM_THIRD_PARTY_HEADING:"label_custom_thirdparty_heading",ATTR_LABEL_CPC_HEADING:"label_cpc_heading",ATTR_LABEL_CPC_TEXT:"label_cpc_text",ATTR_LABEL_CPC_ACTIVATE_ALL:"label_cpc_activate_all",ATTR_LABEL_CPC_DEACTIVATE_ALL:"label_cpc_deactivate_all",ATTR_LABEL_CPC_PURPOSE_DESC:"label_cpc_purpose_desc",ATTR_LABEL_CPC_PURPOSE_OPTOUT_HEADING:"label_cpc_purpose_optout_confirm_heading",ATTR_LABEL_CPC_PURPOSE_OPTOUT_TEXT:"label_cpc_purpose_optout_confirm_text",ATTR_LABEL_CPC_PURPOSE_OPTOUT_PROCEED:"label_cpc_purpose_optout_confirm_proceed",ATTR_LABEL_CPC_PURPOSE_OPTOUT_CANCEL:"label_cpc_purpose_optout_confirm_cancel",ATTR_LABEL_NO_COOKIES_HEADING:"label_nocookie_head",ATTR_LABEL_NO_COOKIES_TEXT:"label_nocookie_text"},e.OPTIONAL_LABEL_PREFIX="label_cpc_purpose"},135:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasRunningTimeout=e.oilWrapper=void 0,e.stopTimeOut=x,e.forEach=E,e.renderOil=w,e.oilShowPreferenceCenter=O,e.handleOptIn=y,i(140);var o=i(6),n=i(16),a=i(13),s=i(142),l=i(106),r=i(144),c=i(145),d=T(i(139)),p=T(i(148)),_=i(2),u=i(133),f=i(5),h=i(151),m=i(152),g=i(29),b=i(107),v=i(108);function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}var L=e.oilWrapper=function(){var t=document.createElement("div");return t.setAttribute("class","as-oil "+(0,u.getTheme)()),t.setAttribute("data-qa","oil-Layer"),t},A=e.hasRunningTimeout=void 0;function x(){A&&(clearTimeout(A),e.hasRunningTimeout=A=void 0)}function E(t,e,i){for(var o=0;o<t.length;o++)e.call(i,t[o])}function w(t){!function(t){return!0!==t.optIn&&(0,f.gdprApplies)()}(t)?I():(t.noCookie?S((0,c.oilNoCookiesTemplate)()):t.advancedSettings?S(function(){var t=(0,u.getCpcType)();switch(t){case a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD:return d.oilAdvancedSettingsTemplate();case a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_TABS:return p.oilAdvancedSettingsTemplate();default:return(0,_.logError)("Found unknown CPC type '"+t+"'! Falling back to CPC type '"+a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD+"'!"),d.oilAdvancedSettingsTemplate()}}()):(!A&&(0,u.getTimeOutValue)()>0&&((0,_.logInfo)("OIL will auto-hide in",(0,u.getTimeOutValue)(),"seconds."),e.hasRunningTimeout=A=setTimeout(function(){I(),(0,o.sendEventToHostSite)(a.EVENT_NAME_TIMEOUT),(0,f.isInfoBannerOnly)()&&y(),e.hasRunningTimeout=A=void 0},1e3*(0,u.getTimeOutValue)())),S((0,r.oilDefaultTemplate)())),(0,o.sendEventToHostSite)(a.EVENT_NAME_OIL_SHOWN))}function O(){new Promise(function(t){i.e(2).then(function(e){t(i(138))}.bind(null,i)).catch(i.oe)}),(0,g.loadVendorListAndCustomVendorList)().then(function(){new Promise(function(t){i.e(3).then(function(e){t(i(137))}.bind(null,i)).catch(i.oe)}).then(function(t){t.getGroupList().then(function(){if((0,f.gdprApplies)()){var t=document.querySelector(".as-oil"),e=document.querySelector("#oil-preference-center");t?w({advancedSettings:!0}):e?(e.innerHTML=function(){var t=(0,u.getCpcType)();switch(t){case a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD:return d.oilAdvancedSettingsInlineTemplate();case a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_TABS:return p.oilAdvancedSettingsInlineTemplate();default:return(0,_.logError)("Found unknown CPC type '"+t+"'! Falling back to CPC type '"+a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD+"'!"),d.oilAdvancedSettingsInlineTemplate()}}(),U(k())):w({advancedSettings:!0});var i,o=(0,h.getSoiConsentData)();i=o?o.getPurposesAllowed():(0,f.getAdvancedSettingsPurposesDefault)()?(0,g.getPurposeIds)():[],(0,h.applyPrivacySettings)(i)}else(0,_.logInfo)("GDPR does not apply. Oil preference center not shown.")})})}).catch(function(t){return(0,_.logError)(t)})}function C(){(0,o.sendEventToHostSite)(a.EVENT_NAME_OPT_IN_BUTTON_CLICKED),y()}function y(){var t,e;x(),(0,f.isPoiActive)()?new Promise(function(t){i.e(3).then(function(e){t(i(137))}.bind(null,i)).catch(i.oe)}).then(function(t){t.getGroupList().then(function(){var t;(t=(0,h.getPrivacySettings)(),(0,_.logInfo)("Handling POI with settings: ",t),j(t),M(t)?(0,s.oilPowerOptIn)(t).then(function(){w({optIn:!0}),(0,f.isPoiActive)()&&(0,o.sendEventToHostSite)(a.EVENT_NAME_POI_OPT_IN)}):((0,n.removeSubscriberCookies)(),(0,l.deActivatePowerOptIn)())).then(P)})}):(t=(0,h.getPrivacySettings)(),(0,_.logInfo)("Handling SOI with settings: ",t),j(t),M(t)?(0,s.oilOptIn)(t).then(function(){w({optIn:!0}),(0,o.sendEventToHostSite)(a.EVENT_NAME_SOI_OPT_IN)}):new Promise(function(t){(0,n.removeSubscriberCookies)(),t()})).then(P),(e=document.querySelector("."+a.JS_CLASS_BUTTON_OPTIN))&&(e.className+=" as-oil__btn-optin-clicked",window.setTimeout(function(){e.className=e.className.replace(" as-js-clicked","")},1200))}function P(){var t=(0,o.getGlobalOilObject)("commandCollectionExecutor");t&&t(),(0,v.sendConsentInformationToCustomVendors)().then(function(){return(0,_.logInfo)("Consent information sending to custom vendors after user's opt-in finished!")}),(0,b.manageDomElementActivation)()}function S(t){var e=L();e.innerHTML=t,function(t){I(),document.body.insertBefore(t,document.body.firstElementChild),U(k())}(e)}function I(){var t=k();t.oilWrapper&&E(t.oilWrapper,function(t){t.parentElement.removeChild(t)})}function k(){return{oilWrapper:document.querySelectorAll(".as-oil"),btnOptIn:document.querySelectorAll("."+a.JS_CLASS_BUTTON_OPTIN),btnPoiOptIn:document.querySelectorAll(".as-js-optin-poi"),companyList:document.querySelectorAll(".as-js-companyList"),thirdPartyList:document.querySelectorAll(".as-js-thirdPartyList"),btnAdvancedSettings:document.querySelectorAll("."+a.JS_CLASS_BUTTON_ADVANCED_SETTINGS),btnBack:document.querySelectorAll("."+a.JS_CLASS_BUTTON_OILBACK)}}function N(){(0,_.logInfo)("Handling Back Button"),x(),w({}),(0,o.sendEventToHostSite)(a.EVENT_NAME_BACK_TO_MAIN)}function B(){(0,_.logInfo)("Handling Show Advanced Settings"),x(),O(),(0,o.sendEventToHostSite)(a.EVENT_NAME_ADVANCED_SETTINGS)}function R(){(0,_.logInfo)("Handling Show Company List"),x(),new Promise(function(t){i.e(2).then(function(e){t(i(138))}.bind(null,i)).catch(i.oe)}).then(function(t){t.renderOilGroupListTemplate(S)}).catch(function(t){(0,_.logError)("Error on oilShowCompanyList.",t)}),(0,o.sendEventToHostSite)(a.EVENT_NAME_COMPANY_LIST)}function D(){(0,_.logInfo)("Handling Show Third Party List"),x(),new Promise(function(t){i.e(2).then(function(e){t(i(138))}.bind(null,i)).catch(i.oe)}).then(function(t){t.renderOilThirdPartyListTemplate(S)}).catch(function(t){(0,_.logError)("Error on oilShowThirdPartyList.",t)}),(0,o.sendEventToHostSite)(a.EVENT_NAME_THIRD_PARTY_LIST)}function j(t){(0,o.isObject)(t)&&(0,o.sendEventToHostSite)(a.EVENT_NAME_AS_PRIVACY_SELECTED)}function M(t){return t!==a.PRIVACY_MINIMUM_TRACKING||(0,u.isPersistMinimumTracking)()}function V(t,e){t&&E(t,function(t){t&&t.addEventListener("click",e,!1)})}function U(t){V(t.btnOptIn,C),V(t.btnAdvancedSettings,B),V(t.btnBack,N),V(t.companyList,R),V(t.thirdPartyList,D),function(){(0,u.isOptoutConfirmRequired)()&&(0,m.activateOptoutConfirm)();var t=(0,u.getCpcType)();switch(t){case a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD:d.attachCpcHandlers();break;case a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_TABS:p.attachCpcHandlers();break;default:(0,_.logError)("Found unknown CPC type '"+t+"'! Falling back to CPC type '"+a.OIL_CONFIG_CPC_TYPES.CPC_TYPE_STANDARD+"'!"),d.attachCpcHandlers()}}()}},136:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AdvancedSettingsButton=e.BackButton=e.CancelButton=e.ProceedButton=e.YesButton=void 0;var o=i(134),n=i(133),a=i(13);e.YesButton=function(t){return'\n <button class="'+t+'" data-context="'+a.DATA_CONTEXT_YES+'" data-qa="oil-YesButton">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_BUTTON_YES)+"\n </button>\n "},e.ProceedButton=function(){return'\n <button class="as-oil__btn-proceed as-oil__btn-blue '+a.JS_CLASS_BUTTON_PROCEED+'" data-context="'+a.DATA_CONTEXT_PROCEED+'" data-qa="oil-proceed-button">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_OPTOUT_PROCEED)+"\n </button>\n "},e.CancelButton=function(){return'\n <button class="as-oil__btn-cancel as-oil__btn-grey '+a.JS_CLASS_BUTTON_CANCEL+'" data-context="'+a.DATA_CONTEXT_CANCEL+'" data-qa="oil-cancel-button">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_OPTOUT_CANCEL)+"\n </button>\n "},e.BackButton=function(){return'\n <button class="as-oil-back-button '+a.JS_CLASS_BUTTON_OILBACK+'" data-context="'+a.DATA_CONTEXT_BACK+'" data-qa="oil-back-button">\n <span class="as-oil-back-button__text">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_BUTTON_BACK)+'\n </span>\n <svg class="as-oil-back-button__icon" width="22" height="22" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg">\n <g fill="none" fill-rule="evenodd">\n <circle fill="#757575" cx="11" cy="11" r="11"/>\n <path d="M15.592 14.217a.334.334 0 0 1 .098.245c0 .098-.033.18-.098.246l-.928.908a.303.303 0 0 1-.22.098.33.33 0 0 1-.244-.098L11 12.4l-3.2 3.216a.303.303 0 0 1-.22.098.33.33 0 0 1-.244-.098l-.928-.908a.334.334 0 0 1-.098-.246c0-.098.033-.18.098-.245L9.632 11 6.408 7.808c-.163-.164-.163-.327 0-.491l.904-.933a.473.473 0 0 1 .244-.098.33.33 0 0 1 .244.098L11 9.576l3.2-3.192a.473.473 0 0 1 .244-.098.33.33 0 0 1 .244.098l.904.933c.163.164.163.32 0 .466l-3.224 3.192 3.224 3.242z"\n fill="#FFF" opacity=".88"/>\n </g>\n </svg>\n </button>\n '},e.AdvancedSettingsButton=function(t){return!0===t?'\n <button class="as-oil__btn-cpc '+a.JS_CLASS_BUTTON_ADVANCED_SETTINGS+'" data-context="'+a.DATA_CONTEXT_ADVANCED_SETTINGS+'" data-qa="oil-AdvancedSettingsButton">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_BUTTON_ADVANCED_SETTINGS)+"\n </button>\n ":""}},139:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oilAdvancedSettingsTemplate=function(){return'\n <div id="as-oil-cpc" class="as-oil-content-overlay" data-qa="oil-cpc-overlay">\n '+p()+"\n </div>"},e.oilAdvancedSettingsInlineTemplate=p,e.attachCpcHandlers=function(){(0,n.forEach)(document.querySelectorAll(".as-js-btn-activate-all"),function(t){t&&t.addEventListener("click",A,!1)}),(0,n.forEach)(document.querySelectorAll(".as-js-btn-deactivate-all"),function(t){t&&t.addEventListener("click",x,!1)})},e.deactivateAll=x,i(146);var o=i(134),n=i(135),a=i(133),s=i(5),l=i(13),r=i(6),c=i(29),d=i(136);function p(){return'<div class="as-oil-l-wrapper-layout-max-width as-oil-cpc-wrapper">\n <div class="as-oil__heading">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_HEADING)+'\n </div>\n <p class="as-oil__intro-txt">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_TEXT)+"\n </p>\n "+v()+"\n "+(0,d.BackButton)()+"\n "+_()+"\n </div>"}var _=function(){return'\n<div data-qa="cpc-snippet" class="as-oil-l-row as-oil-cpc__content">\n <div class="as-oil-cpc__left">\n <a href="#as-oil-cpc-purposes" onclick=\''+l.OIL_GLOBAL_OBJECT_NAME+'._switchLeftMenuClass(this)\' class="as-oil-cpc__category-link as-oil-cpc__category-link--active">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_DESC)+'\n </a>\n <a href="#as-oil-cpc-third-parties" onclick=\''+l.OIL_GLOBAL_OBJECT_NAME+'._switchLeftMenuClass(this)\' class="as-oil-cpc__category-link">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_THIRD_PARTY)+"\n </a>\n "+(u()?'\n <a href="#as-oil-cpc-custom-third-parties" onclick=\''+l.OIL_GLOBAL_OBJECT_NAME+'._switchLeftMenuClass(this)\' class="as-oil-cpc__category-link">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CUSTOM_THIRD_PARTY_HEADING)+"\n </a>\n ":"")+'\n </div>\n <div class="as-oil-cpc__middle as-js-purposes">\n <div class="as-oil-cpc__row-title" id="as-oil-cpc-purposes">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_DESC)+"\n </div>\n "+T((0,c.getPurposes)())+"\n "+T((0,s.getCustomPurposes)())+"\n\n "+f()+"\n "+h()+'\n </div>\n <div class="as-oil-cpc__right">\n <div class="as-oil-l-row as-oil-l-buttons-'+(0,a.getTheme)()+'">\n <div class="as-oil-l-item">\n '+(0,d.YesButton)("as-oil__btn-optin "+l.JS_CLASS_BUTTON_OPTIN)+"\n </div>\n </div>\n </div>\n</div>"},u=function(){return!!(0,s.getCustomVendorListUrl)()},f=function(){return'\n<div class="as-oil-cpc__row-title" id="as-oil-cpc-third-parties">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_THIRD_PARTY)+'\n</div>\n<div id="as-js-third-parties-list">\n '+m()+"\n</div>"},h=function(){return u()?'\n<div class="as-oil-cpc__row-title" id="as-oil-cpc-custom-third-parties">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CUSTOM_THIRD_PARTY_HEADING)+'\n</div>\n<div id="as-oil-custom-third-parties-list">\n '+g()+"\n</div>":""},m=function(){var t=(0,c.getVendorList)();return t&&!t.isDefault?'<div class="as-oil-poi-group-list">'+(0,c.getVendorsToDisplay)().map(function(t){return b(t)}).join("")+"</div>":"Missing vendor list! Maybe vendor list retrieval has failed! Please contact web administrator!"},g=function(){var t=(0,c.getCustomVendorList)();return t&&!t.isDefault?'<div class="as-oil-poi-group-list">'+t.vendors.map(function(t){return b(t)}).join("")+"</div>":"Missing custom vendor list! Maybe vendor list retrieval has failed! Please contact web administrator!"},b=function(t){if(t.name)return'\n <div class="as-oil-third-party-list-element">\n <span onclick=\''+l.OIL_GLOBAL_OBJECT_NAME+'._toggleViewElements(this)\'>\n <svg class=\'as-oil-icon-plus\' width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">\n <path d="M5.675 4.328H10v1.344H5.675V10h-1.35V5.672H0V4.328h4.325V0h1.35z" fill="#0068FF" fill-rule="evenodd" fill-opacity=".88"/>\n </svg>\n <svg class=\'as-oil-icon-minus\' style=\'display: none;\' width="10" height="5" viewBox="0 0 10 5" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0h10v1.5H0z" fill="#3B7BE2" fill-rule="evenodd" opacity=".88"/>\n </svg>\n <span class=\'as-oil-third-party-name\'>'+t.name+"</span>\n </span>\n <div class='as-oil-third-party-toggle-part' style='display: none;'>\n <a class='as-oil-third-party-link' href='"+t.policyUrl+"'>"+t.policyUrl+"</a>\n </div>\n </div>\n "},v=function(){return'\n <div class="as-oil-cpc__row-btn-all">\n <span class="as-js-btn-deactivate-all as-oil__btn-grey">'+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_DEACTIVATE_ALL)+'</span>\n <span class="as-js-btn-activate-all as-oil__btn-blue">'+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_ACTIVATE_ALL)+"</span>\n </div>\n "},T=function(t){return t.map(function(t){return'\n<div class="as-oil-cpc__purpose">\n <div class="as-oil-cpc__purpose-container">\n <div class="as-oil-cpc__purpose-header">'+(e={id:t.id,header:(0,a.getLabelWithDefault)("label_cpc_purpose_"+L(t.id)+"_text",t.name||"Error: Missing text for purpose with id "+t.id+"!"),text:(0,a.getLabelWithDefault)("label_cpc_purpose_"+L(t.id)+"_desc",t.description||""),value:!1}).header+'</div>\n <div class="as-oil-cpc__purpose-text">'+e.text+'</div>\n <label class="as-oil-cpc__switch">\n <input data-id="'+(i=e.id)+'" id="as-js-purpose-slider-'+i+'" class="as-js-purpose-slider" type="checkbox" name="oil-cpc-purpose-'+i+'" value="'+e.value+'"/>\n <span class="as-oil-cpc__status"></span>\n <span class="as-oil-cpc__slider"></span>\n </label>\n </div>\n</div>';var e,i}).join("")},L=function(t){return t<10?"0"+t:t};function A(){var t=document.querySelectorAll(".as-js-purpose-slider");(0,n.forEach)(t,function(t){t&&(t.checked=!0)})}function x(){(0,n.forEach)(document.querySelectorAll(".as-js-purpose-slider"),function(t){t&&(t.checked=!1)})}(0,r.setGlobalOilObject)("_switchLeftMenuClass",function(t){var e=t.parentNode.children;(0,n.forEach)(e,function(t){t.className=t.className.replace(new RegExp("\\s?as-oil-cpc__category-link--active\\s?","g"),"")}),t.className+=" as-oil-cpc__category-link--active"})},140:function(t,e,i){var o=i(141);"string"==typeof o&&(o=[[t.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};i(116)(o,n),o.locals&&(t.exports=o.locals)},141:function(t,e,i){(t.exports=i(115)(!1)).push([t.i,'.as-oil__btn-cpc,.as-oil__intro-txt--link{color:#262626}.dark .as-oil__btn-cpc,.dark .as-oil__intro-txt--link{color:#f5f5f5}.dark .as-oil__btn-cpc:hover,.dark .as-oil__intro-txt--link:hover{color:#dcdcdc}.as-oil__btn-cpc:hover,.as-oil__intro-txt--link:hover{color:#0d0d0d;background-color:transparent}.as-oil{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:fixed;z-index:2147483647;bottom:0;left:0;width:100%;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#262626;font-size:14px}.as-oil,.as-oil *,.as-oil:after,.as-oil :after,.as-oil:before,.as-oil :before{box-sizing:border-box}.as-oil.dark{color:#f5f5f5}.as-oil a{cursor:pointer}@media (max-width:600px){.as-oil-fixed{position:fixed;bottom:0;left:0;height:100%;width:100%;overflow-y:scroll}}.as-oil-content-overlay{position:absolute;width:100%;bottom:0;left:0;padding:2rem 5rem;background-color:#f9f9f9;opacity:.97;box-shadow:0 -8px 20px 0 rgba(0,0,0,.2)}.as-oil-content-overlay:after{content:"";display:table;clear:both}.dark .as-oil-content-overlay{background-color:#262626}.small .as-oil-content-overlay{padding:.5rem!important}@media (max-width:600px){.as-oil-content-overlay{padding:1rem!important}}.as-oil__heading{max-width:840px;font-size:1.45rem;font-weight:600;line-height:1.15}.as-oil__heading:first-of-type{margin-top:0}.small .as-oil__heading{display:none}@media (max-width:600px){.as-oil__heading{margin:.5rem 0;font-size:1rem;line-height:1.3333;text-align:center}}.as-oil__intro-txt{display:inline-block;min-width:75%;max-width:75%;font-size:.9375rem;font-weight:400;line-height:1.4}.small .as-oil__intro-txt{margin:0 0 0 1rem}@media (max-width:600px){.small .as-oil__intro-txt{margin:.5rem 0}}@media (max-width:600px){.as-oil__intro-txt{margin:.5rem 0;min-width:100%;max-width:100%}}.as-oil__intro-txt--link{padding:4px 1px 0;margin:0 1px;text-decoration:underline}@media (min-width:601px) and (max-width:1023px){.as-oil-l-buttons{max-width:24%}}.as-oil__btn-optin{min-width:160px;min-height:42px;margin:0;padding:.5rem 1rem;font-size:1.1rem;font-weight:700;border:none;border-radius:3px;outline:none;cursor:pointer;color:#fff;background-color:#3f7edf;transition:opacity .8s ease 0s}.small .as-oil__btn-optin{min-width:120px;min-height:32px}@media (max-width:600px){.as-oil__btn-optin{width:100%;min-width:auto;padding:0}}.as-oil__btn-optin:hover{color:#f2f2f2;background-color:#2264c9}.as-oil__btn-optin.as-oil__btn-optin-clicked{opacity:.3}.as-oil__btn-blue{min-width:160px;min-height:42px;margin:0;padding:.5rem 1rem;font-size:1.1rem;font-weight:700;border:none;border-radius:3px;outline:none;cursor:pointer;color:#fff;background-color:#3f7edf}.small .as-oil__btn-blue{min-width:120px;min-height:32px}@media (max-width:600px){.as-oil__btn-blue{width:100%;min-width:auto;padding:0}}.as-oil__btn-blue:hover{color:#f2f2f2;background-color:#2264c9}.as-oil__btn-grey{min-width:160px;min-height:42px;margin:0;padding:.5rem 1rem;font-size:1.1rem;font-weight:700;border:none;border-radius:3px;outline:none;cursor:pointer;color:#aaa;background-color:#eee}.small .as-oil__btn-grey{min-width:120px;min-height:32px}@media (max-width:600px){.as-oil__btn-grey{width:100%;min-width:auto;padding:0}}.as-oil__btn-grey:hover{color:#9d9d9d;background-color:#e1e1e1}.as-oil-back-button{border:none;background-color:transparent;position:absolute;top:0;right:0}@media (max-width:600px){.as-oil-back-button{float:right;text-align:right;margin:0;padding:0}.as-oil-back-button .as-oil-back-button__text{visibility:hidden}}@media (min-width:601px){.as-oil-back-button{display:flex;align-items:center}}.as-oil-back-button__text{margin-right:6px}.as-oil__btn-cpc{float:right;min-height:auto;min-width:135px;margin:.75rem 0;padding:4px;font-size:14px;font-weight:400;text-decoration:none;background-color:transparent;border:none;border-bottom:1px solid;border-radius:0;cursor:pointer}@media (max-width:600px){.as-oil__btn-cpc{float:none;width:100%;font-size:.75rem;border-bottom:none;margin:0;padding:0}}@media (min-width:601px) and (max-width:1023px){.as-oil__btn-cpc{float:none}}.as-oil-l-row{display:inline-block;margin:1rem 0;min-width:20%}.as-oil-l-row:last-of-type{margin-bottom:0}.small .as-oil-l-row{margin:0 0 .5rem;min-width:0}@media (max-width:600px){.as-oil-l-row{display:block;width:100%}}.as-oil-l-row--fixed-width,.as-oil-l-wrapper-layout-max-width{max-width:1280px;position:relative;margin:0 auto}.as-oil-l-item{float:right;clear:both;text-align:right}@supports (display:flex){.as-oil-l-item{float:none}}.as-oil-l-item:first-of-type{margin-left:0}.as-oil-l-item:last-of-type{margin-right:0}@media (max-width:600px){.as-oil-l-item{width:100%;margin:1rem 0}.as-oil-l-item:first-of-type{margin-top:0}.as-oil-l-item:last-of-type{margin-bottom:0}.small .as-oil-l-item{margin:0}}@supports (display:flex){.as-oil-l-item--stretch{flex:1 0 auto}}',""])},142:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oilPowerOptIn=function(t){return(0,c.isAmpModeActivated)()?((0,s.sendEventToHostSite)(l.EVENT_NAME_OPT_IN),Promise.resolve(!0)):new Promise(function(e,i){(0,r.setSoiCookie)(t).then(function(t){var i,r=(d(i={},l.OIL_PAYLOAD_PRIVACY,(0,c.isInfoBannerOnly)()?"":t.consentString),d(i,l.OIL_PAYLOAD_VERSION,t.version),d(i,l.OIL_PAYLOAD_LOCALE_VARIANT_NAME,t.localeVariantName),d(i,l.OIL_PAYLOAD_LOCALE_VARIANT_VERSION,t.localeVariantVersion),d(i,l.OIL_PAYLOAD_CUSTOM_VENDORLIST_VERSION,t.customVendorListVersion),d(i,l.OIL_PAYLOAD_CUSTOM_PURPOSES,t.customPurposes),d(i,l.OIL_PAYLOAD_CONFIG_VERSION,t.configVersion),i);(0,c.isPoiActive)()&&((0,a.activatePowerOptInWithIFrame)(r),(0,o.verifyPowerOptIn)().then(function(t){!1===t.power_opt_in&&((0,n.logInfo)("iFrame POI didn't work. Trying fallback now."),(0,a.activatePowerOptInWithRedirect)(r))})),(0,s.sendEventToHostSite)(l.EVENT_NAME_OPT_IN),e(!0)}).catch(function(t){return i(t)})})},e.oilOptIn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.PRIVACY_FULL_TRACKING;return(0,c.isAmpModeActivated)()?((0,s.sendEventToHostSite)(l.EVENT_NAME_OPT_IN),Promise.resolve(!0)):new Promise(function(e,i){(0,r.setSoiCookie)(t).then(function(){(0,s.sendEventToHostSite)(l.EVENT_NAME_OPT_IN),e(!0)}).catch(function(t){return i(t)})})};var o=i(106),n=i(2),a=i(143),s=i(6),l=i(13),r=i(16),c=i(5);function d(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}},143:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.activatePowerOptInWithIFrame=function(t){return(0,n.isPoiActive)()?new Promise(function(e){return(0,a.init)().then(function(){(0,a.sendEventToFrame)("oil-poi-activate",(0,s.getOrigin)(),t),setTimeout(e)})}):new Promise(function(t){t()})},e.redirectToLocation=function(t){window.location.replace(t)},e.activatePowerOptInWithRedirect=function(t){if((0,n.isPoiActive)()){var i=JSON.stringify(t),a=encodeURIComponent(i),s=(0,n.getHubLocation)(),l=(0,n.getPoiGroupName)();if(s){var r=s+"?"+o.POI_FALLBACK_NAME+"=1";l&&(r=r+"&"+o.POI_FALLBACK_GROUP_NAME+"="+l),t&&(r=r+"&"+o.POI_PAYLOAD+"="+a),e.redirectToLocation(r)}}};var o=i(13),n=i(5),a=i(106),s=i(6)},144:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oilDefaultTemplate=function(){return'\n <div class="as-oil-content-overlay" data-qa="oil-full">\n <div class="as-oil-l-wrapper-layout-max-width">\n <div class="as-oil__heading">\n '+(0,n.getLabel)(a.OIL_LABELS.ATTR_LABEL_INTRO_HEADING)+'\n </div>\n <p class="as-oil__intro-txt">\n '+(0,n.getLabel)(a.OIL_LABELS.ATTR_LABEL_INTRO)+'\n </p>\n <div class="as-oil-l-row as-oil-l-buttons">\n <div class="as-oil-l-item">\n '+(0,s.YesButton)("as-oil__btn-optin "+o.JS_CLASS_BUTTON_OPTIN)+'\n </div>\n <div class="as-oil-l-item as-oil-l-item--stretch">\n '+(0,s.AdvancedSettingsButton)((0,n.isAdvancedSettings)())+"\n </div>\n </div>\n\n </div>\n </div>\n"};var o=i(13),n=i(133),a=i(134),s=i(136)},145:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oilNoCookiesTemplate=function(){return'\n <div class="as-oil-content-overlay oil-nocookies" data-qa="oil-nocookies">\n <div class="as-oil-l-wrapper-layout-max-width">\n <div class="as-oil__heading">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_NO_COOKIES_HEADING)+'\n </div>\n <p class="as-oil__intro-txt">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_NO_COOKIES_TEXT)+"\n </p>\n </div>\n </div>\n"};var o=i(134),n=i(133)},146:function(t,e,i){var o=i(147);"string"==typeof o&&(o=[[t.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};i(116)(o,n),o.locals&&(t.exports=o.locals)},147:function(t,e,i){(t.exports=i(115)(!1)).push([t.i,'#oil-preference-center{overflow:hidden}#oil-preference-center .as-oil-back-button{display:none}@media (max-width:849px){#as-oil-cpc.as-oil-content-overlay{padding:2rem 1rem}}.as-oil-cpc__status{position:absolute;top:5px;left:-25px;color:#3f7edf;font-weight:500}.as-oil-cpc__slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#eaeaea;transition:.4s;border-radius:17px}.as-oil-cpc__slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background-color:#767676;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);transition:.4s;border-radius:50%}.as-oil-cpc__middle{flex:1 1 auto;padding:24px;display:inline-block;overflow:scroll;max-height:500px;height:30vh;width:100%}@media (max-width:600px){.as-oil-cpc__middle{padding:0}}.checkmark{display:inline-block;position:absolute}.checkmark-on:after{border:solid #000;border-color:rgba(52,140,32,.6);border-width:0 2px 2px 0;content:"";display:block;height:12px;transform:rotate(45deg);width:6px}.checkmark-off{height:14px;width:14px}.checkmark-off:after,.checkmark-off:before{background:rgba(255,0,0,.6);content:"";height:2px;left:0;margin-left:-3px;margin-top:3px;position:absolute;top:50%;width:100%}.checkmark-off:before{transform:rotate(45deg)}.checkmark-off:after{transform:rotate(-45deg)}.as-oil-center{text-align:center}.as-oil-margin-top{margin-top:1rem}.as-oil-cpc-wrapper button{cursor:pointer}@media (min-width:601px){.as-oil-cpc-wrapper .as-oil-l-buttons-light{float:right}}@media (max-width:600px){.as-oil-cpc-wrapper .as-oil-l-buttons-light{padding:8px}}@media (min-width:601px){.as-oil-cpc-wrapper .as-oil-l-buttons-dark{float:right}}@media (max-width:600px){.as-oil-cpc-wrapper .as-oil-l-buttons-dark{background:#262626;padding:8px}}.as-oil-cpc-wrapper .as-oil__heading,.as-oil-cpc-wrapper .as-oil__intro-txt{margin-left:200px;display:block;max-width:100%}@media (max-width:929px){.as-oil-cpc-wrapper .as-oil__heading,.as-oil-cpc-wrapper .as-oil__intro-txt{margin-left:0;margin-right:20px;text-align:center}}.as-oil-cpc__content{display:flex}@media (max-width:600px){.as-oil-cpc__content{display:block}}.as-oil-cpc__left{flex:0 0 200px;max-width:200px;display:inline-block;text-align:right;text-transform:uppercase;font-size:1.1rem;margin-bottom:-25px;border-right:1px solid #ccc}@media (max-width:849px){.as-oil-cpc__left{display:none}}@media (max-width:929px){.as-oil-cpc__left{flex:0}}.as-oil-cpc__left:first-child{padding-top:40px}.as-oil-cpc__left a{text-decoration:none}.as-oil-cpc__right{flex:0 0 200px;display:inline-block;align-self:flex-end}@media (max-width:600px){.as-oil-cpc__right{flex:0;display:block}}.as-oil-cpc__row-btn-all{text-align:right}@media (max-width:600px){.as-oil-cpc__row-btn-all span{display:inline-block;width:49%;text-align:center;padding:.7rem 1rem}}.as-oil-cpc__row-title{font-size:1.2rem;font-weight:600;margin:20px 8px}.as-oil-cpc__category-link{padding:6px 12px;display:block;border-right:2px solid hsla(0,0%,100%,0)}.as-oil-cpc__category-link--active{border-right:2px solid #3f7ddf}.as-oil-cpc__purpose{border:1px solid #eaeaea;border-radius:5px;padding:20px;margin:16px 0}.as-oil-cpc__purpose-container{position:relative}.as-oil-cpc__purpose-header{font-size:1rem;font-weight:500;margin:0 75px 30px 0}.as-oil-cpc__purpose-text{font-size:.9rem;color:#737373}.dark .as-oil-cpc__purpose-text{color:#a9a9a9}.light .as-oil-cpc__left a{color:#262626}.as-oil-cpc__switch{position:absolute;display:inline-block;width:50px;height:26px;right:0;top:0;float:right}.as-oil-cpc__switch input{display:none}.as-oil-cpc__switch input+.as-oil-cpc__status:after{content:"Off"}.as-oil-cpc__switch input:checked~.as-oil-cpc__slider{background-color:#3f7edf}.as-oil-cpc__switch input:checked~.as-oil-cpc__status:after{content:"On"}.as-oil-cpc__switch input:focus~.as-oil-cpc__slider{box-shadow:0 0 1px #3f7edf}.as-oil-cpc__switch input:checked~.as-oil-cpc__slider:before{transform:translateX(20px);background-color:#2a2a2a}.as-oil.dark .as-oil-back-button__text,.as-oil.dark .as-oil-cpc__left a{color:#f5f5f5!important}.as-oil.dark .as-oil-cpc__purpose{background-color:#383737}',""])},148:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.oilAdvancedSettingsTemplate=function(){return'\n <div id="as-oil-cpc" class="as-oil-content-overlay" data-qa="oil-cpc-overlay">\n '+d()+"\n </div>\n "},e.oilAdvancedSettingsInlineTemplate=d,e.attachCpcHandlers=function(){(0,n.forEach)(document.querySelectorAll(".as-js-purpose-slider"),function(t){t&&t.addEventListener("change",function(t){return function(t){var e=t.getAttribute("data-id"),i=document.getElementById("purpose-feature-texts-"+e).getElementsByClassName("checkmark");if(t.checked)for(var o=0;o<i.length;o++)i[o].classList.remove("checkmark-off"),i[o].classList.add("checkmark-on");else for(var n=0;n<i.length;n++)i[n].classList.remove("checkmark-on"),i[n].classList.add("checkmark-off")}(t.target||t.srcElement)},!1)}),(0,n.forEach)(document.querySelectorAll(".as-js-tab-label"),function(t){t&&t.addEventListener("click",function(t){return function(t){for(var e=document.getElementsByClassName("as-js-tab-label"),i=0;i<e.length;i++)e[i].classList.remove("as-oil-tabs-cpc__purpose-label-active"),e[i].classList.add("as-oil-tabs-cpc__purpose-label-inactive");t.classList.remove("as-oil-tabs-cpc__purpose-label-inactive"),t.classList.add("as-oil-tabs-cpc__purpose-label-active");for(var o=document.getElementsByClassName("as-js-tab-section"),n=0;n<o.length;n++)o[n].style.display="none";var a=t.getAttribute("data-id");document.getElementById("as-js-tab-section-"+a).style.display="block"}(t.target||t.srcElement)},!1)});var t=document.getElementById("as-js-third-parties-link");t&&t.addEventListener("click",b,!1)},i(149);var o=i(134),n=i(135),a=i(133),s=i(5),l=i(13),r=i(29),c=i(136);function d(){return'\n <div class="as-oil-l-wrapper-layout-max-width as-oil-tabs-cpc__wrapper">\n <div class="as-oil-tabs-cpc__headline as-oil-center">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_HEADING)+'\n </div>\n <p class="as-oil-center as-oil-margin-top">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_TEXT)+"\n </p>\n <hr/>\n "+(0,c.BackButton)()+"\n "+p()+"\n </div>\n "}var p=function(){return'\n <div class="as-oil-tabs-cpc__purpose-description as-oil-center as-oil-margin-top" id="as-oil-cpc-purposes">\n '+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_DESC)+'\n </div>\n <div class="as-oil-cpc__middle">\n '+u((0,r.getPurposes)().concat((0,s.getCustomPurposes)()))+'\n <div class="as-oil-margin-top">\n <div class="as-oil-tabs-cpc__third-parties-link" id="as-js-third-parties-link"><span>i</span>'+(0,a.getLabel)(o.OIL_LABELS.ATTR_LABEL_THIRD_PARTY)+'</a></div>\n \n <div id="as-js-third-parties-list" class="as-oil-tabs-cpc__third-parties-list" style="display: none;">\n '+f()+"\n \n "+(m()?'\n <div id="as-oil-custom-third-parties-list">\n '+h()+"\n </div>\n ":"")+'\n </div>\n \n \n </div>\n </div>\n <hr>\n <div class="as-oil-l-item">\n '+(0,c.YesButton)("as-oil__btn-optin "+l.JS_CLASS_BUTTON_OPTIN)+"\n </div>\n "},_=function(t){return t<10?"0"+t:t},u=function(t){return'\n <div class="as-oil-tabs-cpc__purpose-labels as-oil-margin-top">\n '+function(t){return t.map(function(t){return'\n <span data-id="'+(i=(e={id:t.id,label:(0,a.getLabelWithDefault)("label_cpc_purpose_"+_(t.id)+"_text",t.name||"Error: Missing text for purpose with id "+t.id+"!")}).id)+'" class="as-js-tab-label '+(1===i?"as-oil-tabs-cpc__purpose-label-active":"as-oil-tabs-cpc__purpose-label-inactive")+'">'+e.label+"</span>\n ";var e,i}).join("")}(t)+'\n </div>\n <div class="as-oil-tabs-cpc__purpose-text as-oil-margin-top">\n '+function(t){return t.map(function(t){return'\n <section id="as-js-tab-section-'+(i=(e={id:t.id,text:(0,a.getLabelWithDefault)("label_cpc_purpose_"+_(t.id)+"_desc",t.description||""),featureTexts:(0,a.getLabelWithDefault)("label_cpc_purpose_"+_(t.id)+"_features",[]),isSelected:!1}).id)+'" class="as-oil-margin-top as-js-tab-section">\n <div>\n <p>'+e.text+'</p>\n <label class="as-oil-tabs-cpc__switch">\n <input data-id="'+i+'" id="as-js-purpose-slider-'+i+'" class="as-js-purpose-slider" type="checkbox" name="oil-cpc-purpose-'+i+'" value="'+e.isSelected+'">\n <span class="as-oil-cpc__slider"></span>\n </label>\n </div>\n <div class="as-oil-tabs-cpc__purpose-feature-texts as-oil-margin-top" id="purpose-feature-texts-'+i+'">\n '+((o=e.featureTexts).length>0?"\n <ul>\n "+o.map(function(t){return function(t){return'\n <li>\n <span class="checkmark checkmark-off"></span><span>'+t+"</span>\n </li>\n "}(t)}).join("")+"\n </ul>\n ":"")+"\n </div>\n </section>\n ";var e,i,o}).join("")}(t)+"\n </div>\n "},f=function(){var t=(0,r.getVendorList)();return t&&!t.isDefault?'<div class="as-oil-poi-group-list">'+(0,r.getVendorsToDisplay)().map(function(t){if(t.name)return g(t)}).join("")+"</div>":"Missing vendor list! Maybe vendor list retrieval has failed! Please contact web administrator!"},h=function(){var t=(0,r.getCustomVendorList)();return t&&!t.isDefault&&t.vendors?'<div class="as-oil-poi-group-list">'+t.vendors.map(function(t){if(t.name)return g(t)}).join("")+"</div>":"Missing custom vendor list! Maybe custom vendor list retrieval has failed! Please contact web administrator!"},m=function(){return!!(0,s.getCustomVendorListUrl)()},g=function(t){return'\n <div class="as-oil-third-party-list-element">\n <span onclick=\''+l.OIL_GLOBAL_OBJECT_NAME+'._toggleViewElements(this)\'>\n <svg class=\'as-oil-icon-plus\' width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">\n <path d="M5.675 4.328H10v1.344H5.675V10h-1.35V5.672H0V4.328h4.325V0h1.35z" fill="#0068FF" fill-rule="evenodd" fill-opacity=".88"/>\n </svg>\n <svg class=\'as-oil-icon-minus\' style=\'display: none;\' width="10" height="5" viewBox="0 0 10 5" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0h10v1.5H0z" fill="#3B7BE2" fill-rule="evenodd" opacity=".88"/>\n </svg>\n <span class=\'as-oil-third-party-name\'>'+t.name+"</span>\n </span>\n <div class='as-oil-third-party-toggle-part' style='display: none;'>\n <a class='as-oil-third-party-link' href='"+t.policyUrl+"'>"+t.policyUrl+"</a>\n </div>\n </div>\n "};function b(){var t=document.getElementById("as-js-third-parties-list");t.style.display="none"===t.style.display?"block":"none"}},149:function(t,e,i){var o=i(150);"string"==typeof o&&(o=[[t.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};i(116)(o,n),o.locals&&(t.exports=o.locals)},150:function(t,e,i){(t.exports=i(115)(!1)).push([t.i,'#oil-preference-center{overflow:hidden}#oil-preference-center .as-oil-back-button{display:none}@media (max-width:849px){#as-oil-cpc.as-oil-content-overlay{padding:2rem 1rem}}.as-oil-cpc__status{position:absolute;top:5px;left:-25px;color:#3f7edf;font-weight:500}.as-oil-cpc__slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#eaeaea;transition:.4s;border-radius:17px}.as-oil-cpc__slider:before{position:absolute;content:"";height:20px;width:20px;left:3px;bottom:3px;background-color:#767676;box-shadow:0 2px 4px 0 rgba(0,0,0,.08);transition:.4s;border-radius:50%}.as-oil-cpc__middle{flex:1 1 auto;padding:24px;display:inline-block;overflow:scroll;max-height:500px;height:30vh;width:100%}@media (max-width:600px){.as-oil-cpc__middle{padding:0}}.checkmark{display:inline-block;position:absolute}.checkmark-on:after{border:solid #000;border-color:rgba(52,140,32,.6);border-width:0 2px 2px 0;content:"";display:block;height:12px;transform:rotate(45deg);width:6px}.checkmark-off{height:14px;width:14px}.checkmark-off:after,.checkmark-off:before{background:rgba(255,0,0,.6);content:"";height:2px;left:0;margin-left:-3px;margin-top:3px;position:absolute;top:50%;width:100%}.checkmark-off:before{transform:rotate(45deg)}.checkmark-off:after{transform:rotate(-45deg)}.as-oil-center{text-align:center}.as-oil-margin-top{margin-top:1rem}.as-oil-tabs-cpc__headline{display:block;max-width:100%;font-size:1.45rem;font-weight:600;line-height:1.15}@media (max-width:600px){.as-oil-tabs-cpc__headline{margin-right:20px}}.as-oil-tabs-cpc__wrapper hr{border:0;border-top:1px solid #d8d8d8}.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-labels{border-collapse:separate;border-spacing:1px;display:table;width:100%}.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-labels span{border-radius:5px;box-sizing:border-box;display:table-cell;font-size:14px;font-weight:700;height:50px;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:all .3s ease-in-out;vertical-align:middle;white-space:nowrap}@media (max-width:600px){.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-labels span{display:table-header-group;height:auto}}.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-text section{animation-direction:normal;animation-duration:.3s;animation-iteration-count:1;animation-name:content;animation-timing-function:ease-in-out;display:none;line-height:1.4;position:relative}.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-text section:first-child{display:block}.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-text section div{display:table;width:100%}.as-oil-tabs-cpc__wrapper .as-oil-tabs-cpc__purpose-text section p{display:table-cell;width:80%}.as-oil-tabs-cpc__purpose-feature-texts{display:table}.as-oil-tabs-cpc__purpose-feature-texts ul{display:table-cell;list-style:none;width:100%}@media (max-width:600px){.as-oil-tabs-cpc__purpose-feature-texts ul{padding-left:1.5rem}}.as-oil-tabs-cpc__purpose-feature-texts ul li{list-style-position:inside;text-indent:-1.3rem}.as-oil-tabs-cpc__purpose-feature-texts ul li span:nth-child(2){margin-left:1.3rem}@keyframes content{0%{opacity:0;transform:translateY(5%)}to{opacity:1;transform:translateY(0)}}.as-js-tab-label:first-child:last-child,.as-js-tab-label:first-child:last-child ~ .as-js-tab-label{width:100%}.as-js-tab-label:first-child:nth-last-child(2),.as-js-tab-label:first-child:nth-last-child(2)~.as-js-tab-label{width:50%}.as-js-tab-label:first-child:nth-last-child(3),.as-js-tab-label:first-child:nth-last-child(3)~.as-js-tab-label{width:33.33333%}.as-js-tab-label:first-child:nth-last-child(4),.as-js-tab-label:first-child:nth-last-child(4)~.as-js-tab-label{width:25%}.as-js-tab-label:first-child:nth-last-child(5),.as-js-tab-label:first-child:nth-last-child(5)~.as-js-tab-label{width:20%}.as-oil-tabs-cpc__purpose-label-active{background:#3f7edf;color:#fff;cursor:default}.as-oil-tabs-cpc__purpose-label-inactive{color:#aaa;background:#eee;cursor:pointer}.as-oil-tabs-cpc__third-parties-link{cursor:pointer;text-decoration:none}.as-oil-tabs-cpc__third-parties-link span{background:#3f7edf;border-radius:50%;color:#fff;display:inline-block;font-weight:700;height:20px;line-height:20px;margin-right:.5rem;text-align:center;width:20px}.as-oil-tabs-cpc__third-parties-list{margin-left:1.7rem;margin-top:.5rem}.as-oil-tabs-cpc__purpose-description{font-size:.7375rem;font-weight:400;line-height:1.4}.as-oil-tabs-cpc__switch{display:table-cell;height:26px;margin-left:30px;position:absolute;width:50px}@media (max-width:600px){.as-oil-tabs-cpc__switch{margin-left:5px}}.as-oil-tabs-cpc__switch input{display:none}.as-oil-tabs-cpc__switch input:checked~.as-oil-cpc__slider{background-color:#3f7edf}.as-oil-tabs-cpc__switch input:focus~.as-oil-cpc__slider{box-shadow:0 0 1px #3f7edf}.as-oil-tabs-cpc__switch input:checked~.as-oil-cpc__slider:before{background-color:#2a2a2a;transform:translateX(20px)}',""])},151:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSoiConsentData=function(){var t=(0,o.getSoiCookie)();return t.opt_in?t.consentData:void 0},e.getPrivacySettings=function(){if(document.querySelector(".as-js-purpose-slider")){var t={};return(0,s.forEach)(document.querySelectorAll(".as-js-purpose-slider"),function(e){var i=e.dataset?e.dataset.id:e.getAttribute("data-id");t[i]=e.checked},this),t}return n.PRIVACY_FULL_TRACKING},e.applyPrivacySettings=function(t){(0,a.logInfo)("Apply privacy settings from cookie",t);for(var e=1;e<=(0,l.getPurposes)().length;e++)document.querySelector("#as-js-purpose-slider-"+e).checked=-1!==t.indexOf(e);1===t&&(0,s.forEach)(document.querySelectorAll(".as-js-purpose-slider"),function(t){t&&(t.checked=!0)}),0===t&&(0,s.forEach)(document.querySelectorAll(".as-js-purpose-slider"),function(t){t&&(t.checked=!1)})};var o=i(16),n=i(13),a=i(2),s=i(135),l=i(29)},152:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.showOptoutConfirmation=r,e.activateOptoutConfirm=function(){(0,n.forEach)(document.querySelectorAll(".as-js-purpose-slider"),function(t){t.addEventListener("click",p,!0)}),(0,n.forEach)(document.querySelectorAll(".as-js-btn-deactivate-all"),function(t){t.addEventListener("click",d,!0)})};var o=i(153),n=i(135),a=i(139),s=i(13),l=i(2);function r(){return new Promise(function(t){var e=document.querySelector("#as-oil-cpc");if(null===e&&(e=document.querySelector("#oil-preference-center")),null!==e){var i=(0,o.OptoutConfirmDialog)();e.insertBefore(i,e.firstElementChild),document.querySelector("."+s.JS_CLASS_BUTTON_CANCEL).addEventListener("click",function(){return t(!0)},!1),document.querySelector("."+s.JS_CLASS_BUTTON_PROCEED).addEventListener("click",function(){return t(!1)},!1),document.querySelector("."+s.CSS_CLASS_OPTOUT_DIALOG).addEventListener("click",function(e){e.target.id===s.CSS_CLASS_OPTOUT_DIALOG&&t(!0)},!1)}else(0,l.logError)("No wrapper for the CPC was found.")})}function c(){var t=document.querySelector("."+s.CSS_CLASS_OPTOUT_DIALOG);t.parentNode.removeChild(t)}function d(t){return r().then(function(t){t||(0,a.deactivateAll)(),c()}),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),!1}function p(t){t.target.checked||(r().then(function(e){t.target.checked=e,t.target.dispatchEvent(new CustomEvent("change")),c()}),t.target.checked=!0,t.preventDefault(),t.stopPropagation())}},153:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OptoutConfirmDialog=void 0;var o=i(134),n=i(133),a=i(136);i(154),e.OptoutConfirmDialog=function(){var t=document.createElement("div");return t.id="as-oil-optout-confirm",t.className="as-oil-optout-confirm",t.innerHTML='\n <div class="as-oil-optout-confirm__dialog">\n <div class="as-oil-optout-confirm__dialog__heading">\n '+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_OPTOUT_HEADING)+"\n </div>\n <p>\n "+(0,n.getLabel)(o.OIL_LABELS.ATTR_LABEL_CPC_PURPOSE_OPTOUT_TEXT)+'\n </p>\n <div class="as-oil-l-row as-oil-l-buttons">\n '+(0,a.CancelButton)()+"\n "+(0,a.ProceedButton)()+"\n </div>\n </div>\n ",t}},154:function(t,e,i){var o=i(155);"string"==typeof o&&(o=[[t.i,o,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};i(116)(o,n),o.locals&&(t.exports=o.locals)},155:function(t,e,i){(t.exports=i(115)(!1)).push([t.i,".as-oil-optout-confirm{position:absolute;width:100%;height:100%;z-index:1;background-color:rgba(0,0,0,.7);margin:-2rem -5rem}@media (max-width:600px){.as-oil-optout-confirm{margin:-1rem}}@media (min-width:601px) and (max-width:849px){.as-oil-optout-confirm{margin:-2rem -1rem}}.as-oil-optout-confirm .as-oil-optout-confirm__dialog{text-align:center;min-width:320px;max-width:420px;background-color:#f9f9f9;margin:0 auto;margin-top:10%;padding:1rem}.as-oil-optout-confirm .as-oil-optout-confirm__dialog p{width:100%;text-align:justify}.as-oil-optout-confirm .as-oil-optout-confirm__dialog .as-oil-optout-confirm__dialog__heading{font-size:1.25rem;font-weight:500;line-height:1.15}@media (min-width:601px) and (max-width:1023px){.as-oil-optout-confirm .as-oil-optout-confirm__dialog .as-oil-l-buttons{max-width:unset}}.dark .as-oil-optout-confirm__dialog{background-color:#262626}",""])},159:function(t,e){t.exports={localeId:"enEN_00",version:0,texts:{label_intro_heading:"We use cookies and other technologies",label_intro:'The website uses cookies, web beacons, JavaScript and similar technologies. I agree that <a href="javascript:void(0)" class="as-oil__intro-txt--link as-js-thirdPartyList">trusted partners</a> generate pseudonymous user profiles for adapting the website to the user, for market research and for advertising. The generated data can also be shared with third parties while the user profiles cannot be combined with personal data. Detailed information, also on the right to withdraw consent, can be found in the website\'s privacy policy.',label_button_yes:"OK",label_button_back:"Back",label_button_advanced_settings:"More information",label_cpc_heading:"Privacy settings:",label_cpc_text:"Please select a privacy setting",label_cpc_activate_all:"Activate all",label_cpc_deactivate_all:"Deactivate all",label_third_party:"IAB 3rd Parties",label_custom_thirdparty_heading:"Publisher 3rd Parties",label_cpc_purpose_desc:"Purpose",label_cpc_purpose_optout_confirm_heading:"Are you really sure?",label_cpc_purpose_optout_confirm_text:"This setting will significantly affect your experience on our website.",label_cpc_purpose_optout_confirm_proceed:"Continue",label_cpc_purpose_optout_confirm_cancel:"Cancel",label_poi_group_list_heading:"Your consent for companies of the group",label_poi_group_list_