(function(){if(!String.prototype.includes){String.prototype.includes=function(G,H){if(G instanceof RegExp){throw TypeError("first argument must not be a RegExp")}if(H===undefined){H=0}return this.indexOf(G,H)!==-1}}var n="_evidon_banner",v="_evh-ric-c",y="_evh-learn",z="_evh-ric-l",b="_evidon-background",F="_evidon-title",A="_evidon-message",w="_evidon-collapse-message",x="_evidon-decline-button",a="_evidon-accept-button",C="_evidon-option-button",B=800;var l=4,h=8,u=10,e=11,s=13,k=31,q=49;var D=1,E=2;var f="evidon-background",g="evidon-banner",t="evidon-banner-title",p="evidon-banner-message",i="evidon-banner-collapse-message",o="evidon-banner-image",m="evidon-banner-icon",j="evidon-banner-declinebutton",d="evidon-banner-acceptbutton",r="evidon-banner-optionbutton";var c=function(){var L=this,W=window.evidon.notice,S=document,M=null,J=false,K=false,I=false,H=null;function V(){if(S.documentMode===undefined){return 0}else{return S.documentMode}}function G(aa){var Z=window.evidon.notice._parseCss(aa);if(!Z.hasOwnProperty("cursor")){Z.cursor="pointer"}return window.evidon.notice._joinCss(Z)}function O(Z){var aa=Z.style.cssText;if(aa){}else{Z.onMouseOver="";Z.onMouseOut=""}}function P(Z){W.consentGiven(true,true,true,true)}function R(Z){if(H){clearTimeout(H)}window.evidon.notice.dropPixel(k);window.evidon.notice.declineGiven();if(W.regulationConsentTypeId===E){window.evidon.notice.postVendorChoices(e)}else{window.evidon.notice.postVendorChoices(k)}}function N(Z){if(H){clearTimeout(H)}window.evidon.notice.dropPixel(e);P(Z);window.evidon.notice.postVendorChoices(e)}function U(){if(H){clearTimeout(H)}L.closeConsentBanner();window.evidon.events.subscribe("l2closed",function(Z){if(window.evidon.notice._shouldShowConsentUI()){L.showConsentBanner();Y()}else{L.destroyNotice();window.evidon.notice.showNotice()}},1)}function X(Z){if(H){clearTimeout(H)}W.dropPixel(s);W.showOptions();U()}function Q(Z){if(H){clearTimeout(H)}if(W.regulationConsentTypeId!==2&&(W.closeConsentEnabled||!W.consentRequired)){W.dropPixel(u);W.consentGiven(true)}else{W.closeGiven()}}function Y(){if(typeof W.displaytimeout!=="undefined"&&W.displaytimeout>0){var Z=W.displaytimeout*1000;H=setTimeout(function(){W.closeGiven()},Z)}}function T(Z,aa){return Z.indexOf(aa,Z.length-aa.length)!==-1}this.hideForOptions=function(){U()};this.isOnBanner=function(Z){if(!Z){return false}else{if(Z.id&&Z.id==n){return true}else{if(Z.localName.toLowerCase()=="html"){return false}else{if(!Z.parentElement){return false}else{return L.isOnBanner(Z.parentElement)}}}}};this.closeConsentBanner=function(){var Z=S.getElementById(n),ab=100;if(!Z){return}Z.style.cssText=Z.style.cssText.replace(/opacity.*!important;/,"");var aa=setInterval(function(){ab-=10;Z.style.opacity=(ab/100);Z.style.filter="alpha(opacity="+ab+")";if(ab<=0){clearInterval(aa);Z.style.display="none"}},50)};this.showConsentBanner=function(){var Z=S.getElementById(n),ab=0;if(!Z){return}Z.style.cssText=Z.style.cssText.replace(/opacity.*!important;/,"opacity: 0 !important;");if(I){Z.style.display="flex"}else{Z.style.display="block"}var aa=setInterval(function(){ab+=10;Z.style.opacity=(ab/100);Z.style.filter="alpha(opacity="+ab+")";if(ab>=100){clearInterval(aa)}},50)};this.getBannerStyle=function(){var Z=(J)?M.mobileBannerStyle:M.bannerStyle;if(!T(Z,";")){Z+=";"}if(Z.indexOf("position:")===-1){Z+="position:fixed;"}if(Z.indexOf("z-index")===-1){Z+="z-index:2147483647;"}if(V()=="9"){Z=Z.replace("position:fixed","position:absolute")}else{Z=Z.replace("position:absolute","position:fixed")}var aa=window.evidon.notice._parseCss(Z);if(aa.hasOwnProperty("display")){I=aa.display.includes("flex")}return Z};this.createDeclineButton=function(){var Z=S.createElement("button");Z.id=x;Z.className=j;Z.style.cssText=(J)?G(M.mobileDeclineButtonStyle):G(M.declineButtonStyle);Z.onclick=R;return Z};this.createAcceptButton=function(){var Z=S.createElement("BUTTON");Z.id=a;Z.className=d;Z.style.cssText=(J)?G(M.mobileAcceptButtonStyle):G(M.acceptButtonStyle);Z.onclick=N;return Z};this.createOptionButton=function(){var Z=S.createElement("BUTTON");Z.id=C;Z.className=r;Z.style.cssText=(J)?G(M.mobileOptionButtonStyle):G(M.optionButtonStyle);Z.onclick=X;Z.setAttribute("role","options");Z.tabIndex=0;return Z};this.createCloseIcon=function(){var aa=(J)?G(M.mobileCloseIconStyle):G(M.closeIconStyle);var ab=(J)?M.mobileCloseIconStroke:M.closeIconStroke;var ac=(J)?M.mobileCloseIconWidth:M.closeIconWidth;var Z=window.evidon.notice._createCloseIcon(aa,v,m,ab,ac);Z.onclick=Q;return Z};this.createBanner=function(){var aa=S.createElement("div");aa.id=n;aa.className=g;aa.tabIndex-0;aa.setAttribute("role","dialog");aa.setAttribute("aria-label","Cookie notice banner");S.getElementsByTagName("body")[0].appendChild(aa);aa.style.cssText=L.getBannerStyle();var ao=(J?M.mobileShowTitle:M.showTitle);var aq=null;if(ao){aq=S.createElement("div");aq.id=F;aq.className=t;aq.style.cssText=(J)?M.mobileTitleStyle:M.titleStyle;aa.appendChild(aq)}var ai=S.createElement("div");ai.id=A;ai.className=p;ai.style.cssText=(J)?M.mobileMessageStyle:M.messageStyle;aa.appendChild(ai);if(J&&M.mobileShowCollapseMessage){if(aq){aq.style.display="none"}ai.style.display="none";var ac=S.createElement("div");ac.id=w;ac.className=i;ac.style.cssText=M.mobileCollapseMessageStyle;ac.onclick=function(){ac.style.display="none";ai.style.display="";if(aq){aq.style.display=""}};aa.appendChild(ac)}if(J){var am=(window.evidon.notice.enableDeclineButton!==null)?window.evidon.notice.enableDeclineButton:M.mobileShowDeclineButton;var an=(window.evidon.notice.enableOptionsButton!==null)?window.evidon.notice.enableOptionsButton:(typeof M.mobileShowOptionButton!=="undefined"&&M.mobileShowOptionButton);var ak=(window.evidon.notice.enableAcceptButton!==null)?window.evidon.notice.enableAcceptButton:M.mobileShowAcceptButton;if(am){aa.appendChild(L.createDeclineButton())}if(ak){aa.appendChild(L.createAcceptButton())}if(M.mobileShowCloseIcon){aa.appendChild(this.createCloseIcon())}if(an){aa.appendChild(this.createOptionButton())}if(M.mobileShowIcon&&M.mobileBannerIcon){var ag=S.createElement("img");ag.className=o;ag.alt="Logo Evidon";ag.style.cssText=M.mobileIconStyle;ag.src=M.mobileBannerIcon;aa.appendChild(ag)}}else{var am=(window.evidon.notice.enableDeclineButton!==null)?window.evidon.notice.enableDeclineButton:M.showDeclineButton;var an=(window.evidon.notice.enableOptionsButton!==null)?window.evidon.notice.enableOptionsButton:(typeof M.showOptionButton!=="undefined"&&M.showOptionButton);var ak=(window.evidon.notice.enableAcceptButton!==null)?window.evidon.notice.enableAcceptButton:M.showAcceptButton;if(am){aa.appendChild(this.createDeclineButton())}if(ak){aa.appendChild(this.createAcceptButton())}if(an){aa.appendChild(this.createOptionButton())}if(M.showCloseIcon){aa.appendChild(this.createCloseIcon())}if(M.showIcon&&M.bannerIcon){var ag=S.createElement("img");ag.className=o;ag.alt="Logo Evidon";ag.style.cssText=M.iconStyle;ag.src=M.bannerIcon;aa.appendChild(ag)}}if(W.iabEnabled&&W.getPreferencesDialogV2Enabled()){aa.style.paddingBottom="14px";aa.style.paddingTop="14px";var ah=S.createElement("div");ah.style.cssText="position:absolute; bottom:0; left:0; width:100%; padding:2px; text-align:center;";aa.appendChild(ah);var ae=S.createElement("button");ae.id="iabpurposebutton";ae.style.cssText="background-color:transparent; border:0; font-size: .9em; margin:2px 6px; cursor:pointer;";ae.onclick=function(){W.showPreferencesDialog(W.PREFDIAG_TABS.IAB,W.PREFDIAG_TABS.PURPOSES);U()};ah.appendChild(ae);var af=S.createElement("button");af.id="iabvendorbutton";af.style.cssText="background-color:transparent; border:0; font-size: .9em; margin:2px 6px; cursor:pointer;";af.onclick=function(){W.showPreferencesDialog(W.PREFDIAG_TABS.IAB,W.PREFDIAG_TABS.VENDORS);U()};ah.appendChild(af)}var al=J?M.mobileShowBackground:M.showBackground;if(al){var Z=S.createElement("DIV");Z.id=b;Z.className=f;Z.style.cssText=J?M.mobileBackgroundStyle:M.backgroundStyle;S.getElementsByTagName("body")[0].appendChild(Z);var ab=aa.style.cssText;var aj=ab.indexOf("z-index");if(aj===-1){aa.style.cssText+="z-index:2147483647;"}else{var ap=ab.split(";");for(var ad=0;ad-1){ap[ad]="z-index:2147483647";break}}aa.style.cssText=ap.join(";")}}Y()};this.setTextValues=function(at){if(!at){return}if(!K){return}var ae=window.evidon.notice;ae.dropPixel(l);var ab=document.getElementById(x);var Z=document.getElementById(a);var af=document.getElementById(C);var aq=(J)?at.mobileBannerTitle:at.bannerTitle;var ad=(J)?at.mobileBannerMessage:at.bannerMessage;if(ae.iabEnabled===1&&ae.iabVersion===2){if(ae.iabEnabled===1&&ae.iabVersion===2){if(J){if(at.mobileIabBannerText){ad=at.mobileIabBannerText}else{ad=at.mobileBannerMessage}}else{if(at.iabBannerText){ad=at.iabBannerText}else{ad=at.bannerMessage}}}}if(ae.isCCPA()&&at.hasOwnProperty("bannerCCPAMessage")){ad=(J)?at.mobileBannerCCPAMessage:at.bannerCCPAMessage}if(ae.cnilupdatesenabled){if(at.hasOwnProperty("cnilBannerText")){ad=ae.formatTranslation((J)?at.mobilecnilBannerText:at.cnilBannerText)}else{console.log("Updated CNIL functionality is enabled, but the translations are not available for this")}}var am=(J)?M.mobileShowCollapseMessage:false;var ac=(J)?at.mobileDeclineButtonText:at.declineButtonText;if(ae.cnilupdatesenabled){if(at.hasOwnProperty("rejectButtonText")){ac=(J)?at.mobilerejectButtonText:at.rejectButtonText}}var ai=ac;if(at.hasOwnProperty("optoutBannerDismissText")){ai=(J)?at.mobileOptoutBannerDismissText:at.optoutBannerDismissText}var aa=(J)?at.mobileAcceptButtonText:at.acceptButtonText;if(ae.cnilupdatesenabled){if(at.hasOwnProperty("cnilAcceptAllText")){aa=(J)?at.mobilecnilAcceptAllText:at.cnilAcceptAllText}}var ah=(J)?at.mobileOptionButton:at.optionButton;if(!ah){ah=(J)?at.mobileOptionButtonText:at.optionButtonText}if(ae.cnilupdatesenabled){if(at.hasOwnProperty("manageSettingsButtonText")){ah=(J)?at.mobilemanageSettingsButtonText:at.manageSettingsButtonText}}var aj=ah;if(at.hasOwnProperty("optoutOptionButtonText")){aj=(J)?at.mobileOptoutOptionButtonText:at.optoutOptionButtonText}var an=(ae.enableDeclineButton!==null)?ae.enableDeclineButton:(J)?M.mobileShowDeclineButton:M.showDeclineButton;var al=(ae.enableAcceptButton!==null)?ae.enableAcceptButton:(J)?M.mobileShowAcceptButton:M.showAcceptButton;if(ae.regulationConsentTypeId===2){al=false}var ao=(ae.enableOptionsButton!==null)?ae.enableOptionsButton:(J)?M.mobileShowOptionButton:M.showOptionButton;var ap=document.getElementById(F);if(ap){ap.innerHTML=ae.formatTranslation(aq)}document.getElementById(A).innerHTML=ae.formatTranslation(ad);if(am){document.getElementById(w).innerHTML=ae.formatTranslation(aq)}if(an&&ab&&ac){if(ae.regulationConsentTypeId===2){ab.innerHTML=ai;ab.setAttribute("aria-label",ai)}else{ab.innerHTML=ac}}else{if(ab&&!ac){ab.style.display="none"}}if(al&&Z&&aa){Z.innerHTML=aa}else{if(Z&&(!al||!aa)){Z.style.display="none"}}var ag="This button opens a pop-up";if(af&&ao&&ah){if(ae.regulationConsentTypeId===2){af.innerHTML=aj}else{af.innerHTML=ah}}else{if(af){af.style.display="none"}}if(document.getElementById("iabpurposebutton")){var ar=(J)?"mobilesnL2L3ShowPurposes":"snL2L3ShowPurposes";var ak=(at.hasOwnProperty(ar))?at[ar]:"Show Purposes";document.getElementById("iabpurposebutton").innerHTML=ak}if(document.getElementById("iabvendorbutton")){var ar=(J)?"mobilesnL2L3ShowVendors":"snL2L3ShowVendors";var au=(at.hasOwnProperty(ar))?at[ar]:"Show Vendors";document.getElementById("iabvendorbutton").innerHTML=au}};this.createNotice=function(){if(K){return}M=window.evidon.notice.getBannerStyle();if(!M){return}J=window.evidon.notice.isMobile();L.createBanner();K=true;var Z=window.evidon.notice.getTranslations();if(null!=Z){L.setTextValues(Z)}};this.destroyNotice=function(){var aa=document.getElementById(n);if(aa){aa.style.display="none";try{aa.parentElement.removeChild(aa)}catch(ab){}}var Z=document.getElementById(b);if(Z){Z.style.display="none";try{Z.parentElement.removeChild(Z)}catch(ab){}}K=false};this.scaleForMobile=function(){if(window.innerHeight