var a,c;"undefined"==typeof Optanon&&(Optanon=OneTrust={}); (function(){function T(){var b=t();return b.ConsentModel&&b.ConsentModel.Name.toLowerCase()===G.IMPLIEDCONSENT}function U(b){var e=[];for(b=0;bnew Date(g)&&!b?(M(location.href),C("OptanonConsent","AwaitingReconsent",!0)):(M("NotLandingPage"),C("OptanonConsent","AwaitingReconsent",!1),Ya&&Optanon.SetAlertBoxClosed(!0))}}function M(b){C("OptanonConsent","landingPath",b)}function Za(){var b=t();f=jQuery.noConflict(!0);f(window).on("load",Optanon.LoadBanner);window.jsonFeed=function(e){1==e.displayPopup||"true"== e.displayPopup||"true"==W||1==W?Optanon.loadDefaultBannerGroup(e):b.euOnly?(xa(),Optanon.IsAlertBoxClosedAndValid()||(X=!0),f(window).one("otloadbanner",function(){N();var b=!1;0new Date(g);return E("OptanonAlertBoxClosed")&&g&&e}function xa(){T()&&!la()&&"true"===x("OptanonConsent","AwaitingReconsent")&&(t(),f("#optanon-popup-bg").hide(),H(!0,!0),Optanon.Close(!0))}function Ca(){0=f(this).find(".optanon-cookie-policy-right").height()?f(this).find(".optanon-cookie-policy-right").height(f(this).find(".optanon-cookie-policy-left").height()): f(this).find(".optanon-cookie-policy-left").height(f(this).find(".optanon-cookie-policy-right").height())})}function gb(){f("#optanon #optanon-menu li").removeClass("menu-item-selected");f("#optanon #optanon-menu li").each(function(){f(this).text()==I&&f(this).click()});ma();var b=f("#optanon-popup-wrapper"),e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,g=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;b.css("margin-top", "10px");720>e?b.css("top","10px"):b.outerHeight()>g?b.css("top",Math.max(0,(g-b.outerHeight())/2+f(window).scrollTop())+"px"):b.css("top",Math.max(0,(g-b.outerHeight())/2)+"px");e=document.querySelector("#optanon #optanon-popup-bg");g=document.querySelector("#optanon #optanon-popup-wrapper");e.classList.add("fade-in");g.classList.add("fade-in");e.style.display="block";g.style.display="block";b.focus()}function F(b){b=t();b.ForceConsent?oa(b.AlertNoticeText)||Optanon.IsAlertBoxClosedAndValid()?f("#optanon #optanon-popup-bg, #optanon #optanon-popup-wrapper").fadeOut(400): (f("#optanon-popup-bg").css({"z-index":"7000"}),f("#optanon #optanon-popup-wrapper").fadeOut(400)):f("#optanon #optanon-popup-bg, #optanon #optanon-popup-wrapper").fadeOut(400)}function La(b){if(A(b)){var e=A(b).toLowerCase();b.Parent&&(e=A(b.Parent).toLowerCase());return"always active"==e||"inactive landingpage"==e||"active"==e||"do not track"==e&&!Ka}return!0}function Ma(){var b,e=t(),g;if(x("OptanonConsent","groups")){x("OptanonConsent","groups")&&!qa&&(qa=!0);b=!1;var e=P(x("OptanonConsent","groups")), h=P(x("OptanonConsent","groups").replace(/:0/g,"").replace(/:1/g,""));g=t();var f,n,q;if(x("OptanonConsent","groups")){for(n=0;n=h.length&&(h[1]="");document.cookie=b+"\x3d"+e+g+"; path\x3d/"+h[1]+"; domain\x3d."+h[0]+"; Samesite\x3dLax"}function E(b){b+="\x3d";var e=document.cookie.split(";"),g,h;for(g=0;g>>0;e>>=0;e=0>e?Math.max(m+e,0):Math.min(e,m);g=void 0===g?m:g>>0;for(m=0>g?Math.max(m+g,0):Math.min(g,m);ethis.length?!1: -1!==this.indexOf(b,e)});var X=!1,Ka="yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack,Pa=function(){var b=!0,e,g=t(),f;for(f=0;f=g.indexOf("hide-accept-button")&&(g=g+'\x3cdiv class\x3d"optanon-alert-box-button optanon-button-allow"\x3e\x3cdiv class\x3d"optanon-alert-box-button-middle accept-cookie-container"\x3e\x3cbutton class\x3d"optanon-allow-all accept-cookies-button" title\x3d"'+ b.AlertAllowCookiesText+'" aria-label\x3d"'+b.AlertAllowCookiesText+"\" onClick\x3d\"Optanon.TriggerGoogleAnalyticsEvent('OneTrust Cookie Consent', 'Banner Accept Cookies');\"\x3e"+b.AlertAllowCookiesText+"\x3c/button\x3e\x3c/div\x3e\x3c/div\x3e");0>=g.indexOf("hide-cookie-setting-button")&&(g=g+'\x3cdiv class\x3d"optanon-alert-box-button optanon-button-more"\x3e\x3cdiv class\x3d"optanon-alert-box-button-middle"\x3e\x3cbutton class\x3d"optanon-toggle-display cookie-settings-button" title\x3d"'+b.AlertMoreInfoText+ '" aria-label\x3d"'+b.AlertMoreInfoText+"\" onClick\x3d\"Optanon.TriggerGoogleAnalyticsEvent('OneTrust Cookie Consent', 'Banner Open Preferences');\"\x3e"+b.AlertMoreInfoText+"\x3c/button\x3e\x3c/div\x3e\x3c/div\x3e");g+='\x3c/div\x3e\x3cdiv class\x3d"optanon-clearfix optanon-alert-box-bottom-padding"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e';f("#optanon").before(g);mb();fb();0new Date(e))&&Optanon.ReconsentGroups(); return!e};this.ReconsentGroups=function(){var b=!1,e=P(x("OptanonConsent","groups")),f=P(x("OptanonConsent","groups").replace(/:0/g,"").replace(/:1/g,"")),h=t();if(x("OptanonConsent","groups")){for(var m=0;m