1let cmplz_cookie_data=[],cmplzCleanCookieInterval;function cmplz_log(...args){"undefined"!=typeof complianz&&complianz.debug&&console.warn(...args)}function cmplz_create_element(el,content){el=document.createElement(el);return el.innerHtml=content,el}function cmplz_add_event(event,selector,callback){document.addEventListener(event,e=>{e.target.closest(selector)&&callback(e)})}function cmplz_is_hidden(el){return null===el.offsetParent}function cmplz_html_decode(input){return(new DOMParser).parseFromString(input,"text/html").documentElement.textContent}function cmplz_sanitize_placeholder_html(input){var template=document.createElement("template");return template.innerHTML=String(input||""),template.content.querySelectorAll("script, iframe, object, embed, link, style, base, meta").forEach(el=>{el.remove()}),template.content.querySelectorAll("*").forEach(el=>{Array.from(el.attributes).forEach(attr=>{var attrValue,attrName=attr.name.toLowerCase();0!==attrName.indexOf("on")&&(attrValue=attr.value.trim(),"href"!==attrName&&"src"!==attrName&&"xlink:href"!==attrName||!/^\s*(javascript:|data:)/i.test(attrValue))||el.removeAttribute(attr.name)})}),template.innerHTML}function cmplz_is_safe_script_src(scriptUrl){if("string"!=typeof scriptUrl)return!1;scriptUrl=scriptUrl.trim();if(!scriptUrl)return!1;try{var parsedUrl=new URL(scriptUrl,window.location.href);return"http:"===parsedUrl.protocol||"https:"===parsedUrl.protocol}catch(e){return!1}}function cmplz_trap_focus(){var focusableElements;cmplz_banner&&(cmplz_original_active_element=cmplz_banner.ownerDocument.activeElement,complianz.soft_cookiewall&&document.body.classList.add("cmplz-banner-active"),document.addEventListener("keydown",cmplz_handle_tab_navigation),0<(focusableElements=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).length)&&focusableElements[0].focus()}function cmplz_handle_tab_navigation(e){var firstElement,focusableElements,activeElement,focusIsInBanner;"Tab"===e.key&&cmplz_banner&&(0===(focusableElements=Array.from(cmplz_banner.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(function(el){return null!==el.offsetParent})).length?e.preventDefault():(firstElement=focusableElements[0],focusableElements=focusableElements[focusableElements.length-1],activeElement=cmplz_banner.ownerDocument.activeElement,focusIsInBanner=cmplz_banner.contains(activeElement),e.shiftKey?focusIsInBanner&&activeElement!==firstElement||(e.preventDefault(),focusableElements.focus()):focusIsInBanner&&activeElement!==focusableElements||(e.preventDefault(),firstElement.focus())))}function cmplz_release_focus_trap(){document.removeEventListener("keydown",cmplz_handle_tab_navigation),document.body.classList.remove("cmplz-banner-active");var triggerSource=cmplz_banner_trigger_source;if(cmplz_banner_trigger_source="page-load","manage-consent"===triggerSource){if(cmplz_original_active_element&&cmplz_original_active_element.focus)try{cmplz_original_active_element.focus()}catch(e){document.body.focus()}}else cmplz_last_input_was_keyboard&&(document.querySelector('a[href="#content"], a[href="#main"], a[href="#main-content"], .skip-link')||document.body).focus()}function cmplzLoadConsentAreaContent(consentedCategory,consentedService){document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(obj=>{let category=obj.getAttribute("data-category"),service=obj.getAttribute("data-service");var postId=obj.getAttribute("data-post_id"),blockId=obj.getAttribute("data-block_id");if(consentedCategory===category||consentedService===service){let request=new XMLHttpRequest;request.open("GET",complianz.url+"consent-area/"+postId+"/"+blockId,!0),request.setRequestHeader("Content-type","application/json"),request.send(),obj.classList.remove("cmplz-placeholder"),request.onload=function(){obj.innerHTML=JSON.parse(request.response),obj.querySelectorAll("script").forEach(scriptEl=>{cmplz_run_script(scriptEl.innerHTML,category,service,"inline",scriptEl)})}}})}document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(cmplzConsentArea=>{cmplzConsentArea.addEventListener("click",e=>{let container=e.target;(container=container.classList.contains("cmplz-consent-area")?container:e.target.closest(".cmplz-consent-area.cmplz-placeholder"))&&(cmplz_set_service_consent(e=container.getAttribute("data-service"),!0),cmplzLoadConsentAreaContent(!1,e),cmplz_enable_category(null,e),cmplz_set_banner_status("dismissed"))}),document.addEventListener("cmplz_enable_category",function(consentData){cmplzLoadConsentAreaContent(consentData.detail.category,consentData.detail.service)})}),document.addEventListener("cmplz_manage_consent_container_loaded",function(){var end_pos,url=window.location.href;-1!==url.indexOf("#")&&(end_pos=-1!==url.lastIndexOf("?")?url.lastIndexOf("?"):void 0,url=url.substring(url.indexOf("#")+1,end_pos),end_pos=document.getElementById(url))&&(url=end_pos.getBoundingClientRect().top+window.pageYOffset-200,window.scrollTo({top:url,behavior:"smooth"}))}),complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),(()=>{function CustomEvent(event,params){params=params||{bubbles:!1,cancelable:!1,detail:void 0};var evt=document.createEvent("CustomEvent");return evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail),evt}"function"!=typeof window.CustomEvent&&(CustomEvent.prototype=window.Event.prototype,window.CustomEvent=CustomEvent)})();let cmplz_banner,cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container"),cmplz_manage_consent_button,cmplz_waiting_inline_scripts=[],cmplz_waiting_scripts=[],cmplz_fired_scripts=[],cmplz_placeholder_class_index=0,cmplz_all_scripts_hook_fired=!1,cmplz_consent_stored_once=!1,cmplz_fired_category_events=["functional"],cmplz_fired_service_events=[],cmplz_categories=["functional","preferences","statistics","marketing"],cmplz_original_active_element=null,cmplz_banner_trigger_source="page-load",cmplz_last_input_was_keyboard=!1,cmplz_set_category_as_body_class=(document.addEventListener("keydown",function(){cmplz_last_input_was_keyboard=!0},!0),document.addEventListener("pointerdown",function(){cmplz_last_input_was_keyboard=!1},!0),window.cmplz_get_cookie=function(name){if("undefined"!=typeof document){name=complianz.prefix+name;var cookies=document.cookie.split(";");for(let i=0;i<cookies.length;
1i++){var cookie=cookies[i].trim();if(cookie.startsWith(name+"="))return decodeURIComponent(cookie.substring(name.length+1))}}return""},window.cmplz_set_cookie=function(name,value,use_prefix){var secure,date,domain,cookiePath;"undefined"!=typeof document&&(use_prefix=void 0===use_prefix||use_prefix,secure="https:"===window.location.protocol?";secure":"",(date=new Date).setTime(date.getTime()+24*complianz.cookie_expiry*60*60*1e3),date=";expires="+date.toGMTString(),domain=0<(domain=cmplz_get_cookie_domain()).length?";domain="+domain:"",use_prefix=use_prefix?complianz.prefix:"",cookiePath=cmplz_get_cookie_path(),value=encodeURIComponent(value),document.cookie=""+use_prefix+name+`=${value};SameSite=Lax${secure}${date}${domain};path=`+cookiePath)},window.cmplz_in_array=function(needle,haystack){return haystack.includes(needle)},window.cmplz_highest_accepted_category=function(){var consentedCategories=cmplz_accepted_categories(),priorityCategories=["marketing","statistics","preferences"];for(let i=0;i<priorityCategories.length;i++)if(cmplz_in_array(priorityCategories[i],consentedCategories))return priorityCategories[i];return"functional"},()=>{let classList=document.body.classList;for(let i=classList.length-1;0<=i;i--)classList[i].startsWith("cmplz-")&&"cmplz-document"!==classList[i]&&classList.remove(classList[i]);var cats=cmplz_accepted_categories(),cats=(Object.values(cats).forEach(category=>{"string"==typeof category&&classList.add("cmplz-"+category)}),cmplz_get_all_service_consents()),cats=(Object.entries(cats).forEach(([service,consent])=>{consent&&classList.add("cmplz-"+service)}),classList.add("cmplz-"+complianz.region,"cmplz-"+complianz.consenttype),new CustomEvent("cmplz_set_category_as_bodyclass"));document.dispatchEvent(cats)}),cmplz_append_css=css=>{var head=document.head||document.getElementsByTagName("head")[0],style=document.createElement("style");style.setAttribute("type","text/css"),style.appendChild(document.createTextNode(css)),head.appendChild(style)},cmplz_load_css=path=>{var head=document.head||document.getElementsByTagName("head")[0],targetObj=document.createElement("link");targetObj.rel="stylesheet",targetObj.type="text/css",targetObj.href=path,head.appendChild(targetObj)};function cmplz_run_script(script,category,service,type,sourceObj){var targetObj=document.createElement("script");if("inline"!==type&&cmplz_is_safe_script_src(script)?targetObj.src=script:("string"!=typeof script&&(script=script.innerHTML),targetObj.textContent=[script,"cmplzScriptLoaded();"].join("\n")),!cmplz_in_array(script,cmplz_fired_scripts)){cmplzCopyAttributes(sourceObj,targetObj);try{"inline"!==type?targetObj.onload=function(){cmplz_run_after_all_scripts(category,service),cmplz_maybe_run_waiting_scripts(script,category,service,sourceObj)}:window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(category,service),cmplz_maybe_run_waiting_scripts(script,category,service,sourceObj)},document.head.appendChild(targetObj)}catch(exception){throw cmplz_run_after_all_scripts(category,service),"Something went wrong "+exception+" while loading "+script}}}function cmplz_maybe_run_waiting_scripts(script,category,service,sourceObj){var waitingScript=cmplz_get_waiting_script(cmplz_waiting_scripts,script),waitingScript=(waitingScript&&cmplz_run_script(waitingScript,category,service,"src",sourceObj),cmplz_get_waiting_script(cmplz_waiting_inline_scripts,script));waitingScript&&cmplz_run_script(waitingScript,category,service,"inline",sourceObj)}let cmplzLazyLoader=()=>{var cmplzLazyLoadElements=document.querySelectorAll(".cmplz-blocked-content-container");let cmplzObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{var src,index;entry.isIntersecting&&((src=(entry=entry.target).getAttribute("data-placeholder-image"))&&(index=entry.getAttribute("data-placeholder_class_index"),cmplz_append_css(".cmplz-placeholder-"+index+" {background-image: url("+src+") !important;}"),cmplz_set_blocked_content_container_aspect_ratio(entry,src,index)),observer.unobserve(entry))})});cmplzLazyLoadElements.forEach(element=>{cmplzObserver.observe(element)})};function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(obj=>{var service,category,blocked_image_container,curIndex;obj.classList.contains("cmplz-processed")||(obj.classList.add("cmplz-processed"),service=obj.getAttribute("data-service"),category=obj.getAttribute("data-category"),(blocked_image_container=obj.parentElement).classList.add("cmplz-blocked-content-container"),curIndex=blocked_image_container.getAttribute("data-placeholder_class_index"),"lazy"===obj.getAttribute("loading")&&(obj.removeAttribute("loading"),obj.setAttribute("data-deferlazy",1)),null===curIndex&&(cmplz_placeholder_class_index++,blocked_image_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),blocked_image_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(blocked_image_container,category,service)))}),document.querySelectorAll(".cmplz-placeholder-element").forEach(obj=>
1{if(!obj.classList.contains("cmplz-processed")){obj.classList.add("cmplz-processed");var service=obj.getAttribute("data-service"),category=obj.getAttribute("data-category");let blocked_content_container;null===(blocked_content_container=obj.classList.contains("cmplz-iframe")?("lazy"===obj.getAttribute("loading")&&(obj.removeAttribute("loading"),obj.setAttribute("data-deferlazy",1)),obj.parentElement):obj).getAttribute("data-placeholder_class_index")&&(cmplz_placeholder_class_index++,blocked_content_container.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),blocked_content_container.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(blocked_content_container,category,service),category=obj.getAttribute("data-placeholder-image"))&&void 0!==category&&category.length&&blocked_content_container.setAttribute("data-placeholder-image",category)}}),cmplzLazyLoader(),cmplz_has_consent("statistics")&&cmplz_enable_category("statistics"),cmplz_has_consent("marketing")&&cmplz_enable_category("marketing")}function cmplz_insert_placeholder_text(container,category,service){if(!container.querySelector(".cmplz-blocked-content-notice")){let placeholder_text=complianz.placeholdertext;category=category||"marketing";let body;if(void 0!==placeholder_text){if(1===Number(complianz.clean_cookies)){let service_nicename=service?service.replace("-"," "):"";service_nicename=service_nicename.charAt(0).toUpperCase()+service_nicename.slice(1),placeholder_text=placeholder_text.replace("{service}",service_nicename),(body=cmplz_create_element("div",placeholder_text)).innerHTML=cmplz_sanitize_placeholder_html(placeholder_text),body.classList.add("cmplz-blocked-content-notice");var btn=body.querySelector("button"),btn=(btn.setAttribute("data-service",service),btn.setAttribute("data-category",category),btn.setAttribute("aria-label",complianz.aria_label.replace("{service}",service_nicename)),complianz.page_links[complianz.region]),link=body.querySelector(".cmplz-links a");btn&&btn.hasOwnProperty("cookie-statement")?(link.setAttribute("href",btn["cookie-statement"].url),"{title}"===link.innerText&&(link.innerText=btn["cookie-statement"].title)):link&&(link.parentElement.style.display="none")}else{let btn=cmplz_create_element("button","");link=complianz.categories.hasOwnProperty(category)?complianz.categories[category]:"marketing";btn.innerText=placeholder_text.replace("{category}",link),btn.classList.add("cmplz-blocked-content-notice","cmplz-accept-category","cmplz-accept-"+category),btn.setAttribute("data-service",service),btn.setAttribute("data-category",category),btn.setAttribute("aria-label",complianz.aria_label.replace("{category}",category)),body=btn}("VIDEO"!==container.tagName?container:container.parentElement).appendChild(body)}}}function cmplz_set_blocked_content_container_aspect_ratio(container,src,placeholder_class_index){var img;null!=container&&((img=new Image).addEventListener("load",function(){var imgWidth=this.naturalWidth||1,imgWidth=this.naturalHeight*(container.clientWidth/imgWidth),imgWidth=-1===src.indexOf("placeholder.jpg")?"height:"+imgWidth+"px;":"";cmplz_append_css(".cmplz-placeholder-"+placeholder_class_index+" {"+imgWidth+"}")}),img.src=src)}let cmplzResizeTimer;function cmplz_enable_category(category,service){1===Number(complianz.tm_categories)&&""!==category&&cmplz_run_tm_event(category);var details={},details=(details.category=category,details.categories=cmplz_accepted_categories(),details.region=complianz.region,new CustomEvent("cmplz_before_category",{detail:details}));if(document.dispatchEvent(details),service=void 0!==service?service:"do_not_match","functional"!==(category=""===category?"do_not_match":category)){"marketing"===category&&cmplz_set_integrations_cookies();let selector;selector="do_not_match"!==service?'.cmplz-blocked-content-notice [data-service="'+service+'"]':1!==Number(complianz.clean_cookies)?".cmplz-blocked-content-notice.cmplz-accept-"+category:'.cmplz-blocked-content-notice [data-category="'+category+'"]',document.querySelectorAll(selector).forEach(obj=>{var blockedElementService=obj.getAttribute("data-service");obj.parentNode.classList.contains("cmplz-blocked-content-notice")&&(obj=obj.parentNode),cmplz_is_service_denied(blockedElementService)||obj.parentNode.removeChild(obj)}),document.querySelectorAll('[data-category="'+category+'"], [data-service="'+service+'"]').forEach(obj=>{var elementService=obj.getAttribute("data-service");if(!cmplz_is_service_denied(elementService)&&"functional"!==obj.getAttribute("data-category")&&!obj.classList.contains("cmplz-activated")){elementService=obj.tagName;if("LINK"===elementService){obj.classList.add("cmplz-activated");var src=obj.getAttribute("data-href");cmplz_load_css(src,category)}else if("IMG"===elementService){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");obj.setAttribute("src",src),obj.getAttribute("data-deferlazy")&&obj.setAttribute("loading","lazy"),cmplz_remove_placeholder(obj)}else if("IFRAME"===elementService){obj.classList.add("cmplz-activated");let src=obj.getAttribute("data-src-cmplz");elementService=obj.getAttribute("data-cmplz-target")?obj.getAttribute("data-cmplz-target"):"src";"1"===cmplz_get_url_parameter(obj.getAttribute(elementService),"autoplay")&&(src+="&autoplay=1"),obj.getAttribute("data-deferlazy")&&obj.setAttribute("loading","lazy"),obj.addEventListener("load",()=>{cmplz_remove_placeholder(obj)}),obj.setAttribute(elementService,src)}else obj.classList.contains("cmplz-placeholder-element")&&(obj.classList.add("cmplz-activated"),src=obj.getAttribute("data-placeholder_class_index"),obj.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+src))}});details=document.querySelectorAll('script[data-category="'+category+'"], script[data-service="'+service+'"]');
1details.forEach(obj=>{var waitfor=obj.getAttribute("data-waitfor"),src=obj.getAttribute("data-cmplz-src");waitfor&&(src?cmplz_waiting_scripts[waitfor]=src:0<obj.innerText.length&&(cmplz_waiting_inline_scripts[waitfor]=obj)),obj.parentElement&&obj.parentElement.removeChild(obj)}),details.forEach(obj=>{var psID,postScribeObj,script_mime_type=obj.getAttribute("type");!obj.classList.contains("cmplz-activated")&&script_mime_type&&"text/javascript"!==script_mime_type&&(obj.classList.add("cmplz-activated"),(script_mime_type=obj.getAttribute("data-cmplz-src"))?(obj.removeAttribute("type"),cmplz_is_waiting_script(cmplz_waiting_scripts,script_mime_type)||(obj.getAttribute("data-post_scribe_id")?(psID="#"+obj.getAttribute("data-post_scribe_id"),(postScribeObj=document.querySelector(psID))&&(postScribeObj.innerHtml(""),postscribe(psID,"<script src="+script_mime_type+"><\/script>"))):cmplz_run_script(script_mime_type,category,service,"src",obj))):0<obj.innerText.length&&(cmplz_is_waiting_script(cmplz_waiting_inline_scripts,obj.innerText)||cmplz_run_script(obj.innerText,category,service,"inline",obj)))}),cmplz_run_after_all_scripts(category,service)}}function cmplz_remove_placeholder(obj){var cssIndex,blocked_content_container=obj.closest(".cmplz-blocked-content-container");blocked_content_container&&(cssIndex=blocked_content_container.getAttribute("data-placeholder_class_index"),blocked_content_container.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+cssIndex)),obj.classList.remove("cmplz-iframe-styles","cmplz-iframe","video-wrap")}function cmplz_get_waiting_script(waiting_scripts,src){for(var waitfor in waiting_scripts){var output;if(waiting_scripts.hasOwnProperty(waitfor))if(-1!==src.indexOf(waitfor))return output=waiting_scripts[waitfor],delete waiting_scripts[waitfor],output}return!1}function cmplz_array_is_empty(arr){for(var key in arr)if(arr.hasOwnProperty(key))return!1;return!0}function cmplz_is_waiting_script(waiting_scripts,srcOrScript){for(var waitfor in waiting_scripts)if(waiting_scripts.hasOwnProperty(waitfor)){let waitingScript=waiting_scripts[waitfor];if("string"!=typeof waitingScript&&(waitingScript=waitingScript.innerText),-1!==srcOrScript.indexOf(waitingScript)||-1!==waitingScript.indexOf(srcOrScript))return!0}return!1}function cmplz_run_after_all_scripts(category,service){var enableService="do_not_match"!==service&&!cmplz_in_array(service,cmplz_fired_service_events),enableCategory="do_not_match"!==category&&!cmplz_in_array(category,cmplz_fired_category_events);if((enableCategory||enableService)&&(enableCategory&&cmplz_fired_category_events.push(category),enableService&&cmplz_fired_service_events.push(service),(enableCategory={}).category=category,enableCategory.service=service,enableCategory.categories=cmplz_accepted_categories(),enableCategory.services=cmplz_get_all_service_consents(),enableCategory.region=complianz.region,enableService=new CustomEvent("cmplz_enable_category",{detail:enableCategory}),document.dispatchEvent(enableService)),!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)){let event=new CustomEvent("cmplz_run_after_all_scripts",{detail:category,service:service});document.dispatchEvent(event),cmplz_all_scripts_hook_fired=!0}}window.addEventListener("resize",function(){clearTimeout(cmplzResizeTimer),cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},!0),1===Number(complianz.block_ajax_content)&&setInterval(function(){cmplz_set_blocked_content_container()},2e3);let cmplz_fired_events=[];function cmplz_run_tm_event(category){-1===cmplz_fired_events.indexOf(category)&&(cmplz_fired_events.push(category),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cmplz_event_"+category}),category=new CustomEvent("cmplz_tag_manager_event",{detail:category}),document.dispatchEvent(category))}function cmplz_fire_before_categories_consent(categories){var details={},categories=(details.categories=categories,details.region=complianz.region,new CustomEvent("cmplz_before_categories_consent",{detail:details}));document.dispatchEvent(categories)}function cmplz_check_cookie_policy_id(){var user_policy_id=cmplz_get_cookie("policy_id");user_policy_id&&parseInt(complianz.current_policy_id)!==parseInt(user_policy_id)&&
1(cmplz_deny_all(),cmplz_set_banner_status("show"),cmplz_clear_cookies("cmplz"))}function cmplz_do_not_track(){var dnt="doNotTrack"in navigator&&"1"===navigator.doNotTrack,gpc="globalPrivacyControl"in navigator&&navigator.globalPrivacyControl;return!(!complianz.do_not_track_enabled||!gpc&&!dnt)}function cmplz_get_services_on_page(){let services=[];return document.querySelectorAll("[data-service]").forEach(obj=>{var service=obj.getAttribute("data-service"),obj=obj.getAttribute("data-category");-1===services.indexOf(service)&&services.push({category:obj,service:service})}),services}function cmplzEnsureBannerCss(){var handleId="cmplz-banner-"+complianz.user_banner_id+"-"+complianz.consenttype+"-css",handleId=document.getElementById(handleId);if(handleId&&"stylesheet"===handleId.rel)return handleId.sheet&&handleId.sheet.disabled&&(handleId.sheet.disabled=!1),handleId;var link,handleId=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);-1!==complianz.css_file.indexOf("cookiebanner/css/defaults/banner")&&cmplz_log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory");let filename=handleId.split("?")[0].split("/").pop(),injected=null;return document.querySelectorAll('link[rel="stylesheet"]').forEach(function(el){el.href.split("?")[0].split("/").pop()===filename&&(injected=el)}),injected?(injected.sheet&&injected.sheet.disabled&&(injected.sheet.disabled=!1),injected):((link=document.createElement("link")).href=handleId,link.type="text/css",link.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(link),link)}function cmplzSyncConsentState(){var banners=document.querySelectorAll(".cmplz-cookiebanner");1<banners.length&&banners.forEach(function(banner){banner.closest("[data-wp-router-region]")&&banner.remove()});let dismissed="dismissed"===cmplz_get_banner_status();document.querySelectorAll(".cmplz-cookiebanner").forEach(function(banner){banner.classList.toggle("cmplz-show",!dismissed),banner.classList.toggle("cmplz-dismissed",dismissed)});banners=document.querySelectorAll("#cmplz-manage-consent");Array.prototype.some.call(banners,function(btn){return!btn.closest("[data-wp-router-region]")})&&banners.forEach(function(btn){btn.closest("[data-wp-router-region]")&&btn.remove()})}function cmplzInitNavigationHook(){if(document.querySelector("[data-wp-router-region]")){let onNavigate=function(){cmplzEnsureBannerCss(),cmplzSyncConsentState()};if("module"===complianz.iapi_nav)document.addEventListener("cmplz_router_navigated",onNavigate);else{let onNavigateDeferred=function(){requestAnimationFrame(function(){onNavigate(),setTimeout(onNavigate,150)})};["pushState","replaceState"].forEach(function(method){let original=history[method];history[method]=function(){var result=original.apply(this,arguments);return onNavigateDeferred(),result}}),window.addEventListener("popstate",onNavigateDeferred)}}}function cmplz_is_bot(){var reBot=new RegExp("(googlebot/|Googlebot-Mobile|Google-InspectionTool|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),userAgent=navigator.userAgent;return reBot.test(userAgent)}function cmplz_is_speedbot(){var userAgent=navigator.userAgent;return new RegExp("(GTmetrix|pingdom|pingbot|Lighthouse)","i").test(userAgent)}function cmplz_exists_service_consent(){var consented_services,consented_services_json=cmplz_get_cookie("consented_services");try{for(var key in consented_services=JSON.parse(consented_services_json))if(consented_services.hasOwnProperty(key)&&!0===consented_services[key])return!0}catch(e){}return!1}function cmplz_set_service_consent(service,consented){var consented_services_json=cmplz_get_cookie("consented_services");let consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}consented_services[service]=consented,cmplz_set_cookie("consented_services",JSON.stringify(consented_services));consented_services_json={},consented_services_json.service=service,consented_services_json.value=consented,consented_services_json.region=compl
1ianz.region,cmplz_all_scripts_hook_fired=!1,service=new CustomEvent("cmplz_status_change_service",{detail:consented_services_json});document.dispatchEvent(service)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var consented_services_json=cmplz_get_cookie("consented_services");let consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}return consented_services}function cmplz_get_cookie_path(){return void 0!==complianz.cookie_path&&""!==complianz.cookie_path?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){return 1===Number(complianz.set_cookies_on_root)&&3<complianz.cookie_domain.length&&!complianz.cookie_domain.includes("localhost")?complianz.cookie_domain:""}function cmplz_reload_browser_compatible(){var url;-1<navigator.userAgent.toLowerCase().indexOf("firefox")?((url=new URL(window.location.href)).searchParams.set("cmplz-force-reload",Date.now().toString()),window.location.href=url.toString()):window.location.reload()}window.cmplz_accept_all=function(){for(var key in cmplz_clear_all_service_consents(),cmplz_fire_before_categories_consent(cmplz_categories),cmplz_categories)cmplz_categories.hasOwnProperty(key)&&cmplz_set_consent(cmplz_categories[key],"allow");cmplz_sync_category_checkboxes()},window.cmplz_deny_all=function(){for(var key in cmplz_categories)cmplz_categories.hasOwnProperty(key)&&cmplz_set_consent(cmplz_categories[key],"deny");let reload=!1;"functional"===cmplz_highest_accepted_category()&&!cmplz_exists_service_consent()||(reload=!0),cmplz_clear_cookies("cmplz_service")&&(reload=!0),cmplz_clear_all_service_consents(),cmplz_integrations_revoke(),cmplz_fire_categories_event(),cmplz_track_status();var event=new CustomEvent("cmplz_revoke",{detail:reload});document.dispatchEvent(event),!complianz.tcf_active&&reload&&cmplz_reload_browser_compatible()},window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data),cmplz_maybe_auto_redirect(),cmplz_set_blocked_content_container(),window.wp_consent_type=complianz.consenttype;var key,category,event=new CustomEvent("wp_consent_type_defined"),rev_cats=(document.dispatchEvent(event),event=new CustomEvent("cmplz_before_cookiebanner"),document.dispatchEvent(event),1===Number(complianz.forceEnableStats)&&"optin"===complianz.consenttype&&cmplz_set_consent("statistics","allow"),cmplz_categories.reverse()),consented_categories=[];for(key in rev_cats)rev_cats.hasOwnProperty(key)&&(category=cmplz_categories[key],cmplz_has_consent(category))&&consented_categories.push(category);cmplz_fire_before_categories_consent(consented_categories);for(let key in consented_categories)if(rev_cats.hasOwnProperty(key)){let category=consented_categories[key];cmplz_enable_category(category)}if(cmplz_exists_service_consent()){cmplz_enable_category("","general");var services=cmplz_get_services_on_page();for(let key in services)if(services.hasOwnProperty(key)){var service=services[key].service;let category=services[key].category;cmplz_has_service_consent(service,category)&&(document.querySelectorAll('.cmplz-accept-service[data-service="'+service+'"]').forEach(obj=>{obj.checked=!0}),cmplz_enable_category("",service))}}cmplz_sync_category_checkboxes(),cmplz_integrations_init(),cmplz_check_cookie_policy_id(),cmplz_set_up_auto_dismiss(),cmplz_load_manage_consent_container(),event=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz}),document.dispatchEvent(event),""===cmplz_get_cookie("saved_categories")&&("optin"!==complianz.consenttype&&"optout"!==complianz.consenttype?cmplz_track_status():cmplz_do_not_track()&&cmplz_track_status("do_not_track")),cmplz_set_category_as_body_class(),cmplz_fire_categories_event(),cmplz_do_not_track()?(cmplz_log("global privacy control or do not track detected: no banner."),cmplz_track_status("do_not_track")):("optin"===complianz.consenttype?(complianz.forceEnableStats&&cmplz_enable_category("statistics"),cmplz_log("opt-in"),show_cookie_banner):"optout"===complianz.consenttype?(cmplz_log("opt-out"),show_cookie_banner):(cmplz_log("other consent type, no co
1okie warning"),cmplz_accept_all))()},window.show_cookie_banner=function(){let disableCookiebanner=complianz.disable_cookiebanner||cmplz_is_speedbot(),tmpDismissCookiebanner=!1;(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy"))&&(tmpDismissCookiebanner=!0);var container=document.getElementById("cmplz-cookiebanner-container");container&&document.body.prepend(container);let pageLinks=complianz.page_links[complianz.region];(cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype))||(disableCookiebanner=!0),cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);function revealBanner(){var closeButton;disableCookiebanner||(cmplz_banner.classList.remove("cmplz-hidden"),cmplz_manage_consent_button.classList.remove("cmplz-hidden"),"show"===cmplz_get_banner_status()&&(cmplz_trap_focus(),closeButton=cmplz_banner.querySelector(".cmplz-close"))&&closeButton.focus())}container=cmplzEnsureBannerCss(),disableCookiebanner||((!container||!container.sheet)&&container?(container.addEventListener("load",revealBanner),setTimeout(revealBanner,500)):revealBanner()),cmplz_banner&&!disableCookiebanner&&(cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(obj=>{var pageType,docElement=obj;for(pageType in docElement.classList.add("cmplz-hidden"),pageLinks)pageLinks.hasOwnProperty(pageType)&&docElement.classList.contains(pageType)&&(docElement.setAttribute("href",pageLinks[pageType].url+docElement.getAttribute("data-relative_url")),"{title}"===docElement.innerText&&(docElement.innerText=cmplz_html_decode(pageLinks[pageType].title)),docElement.classList.remove("cmplz-hidden"))}),cmplz_set_banner_status(),tmpDismissCookiebanner)&&(cmplz_banner.classList.remove("cmplz-show"),cmplz_banner.classList.add("cmplz-dismissed"),cmplz_manage_consent_button.classList.remove("cmplz-dismissed"),cmplz_manage_consent_button.classList.add("cmplz-show")),container=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(container)},window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")},window.cmplz_set_banner_status=function(status){let prevStatus=cmplz_get_cookie("banner-status");(status=void 0!==status?status:prevStatus)!==prevStatus&&cmplz_set_cookie("banner-status",status),0===status.length&&(status="show"),prevStatus="show"===status?"dismissed":"show",cmplz_banner&&0<status.length&&(cmplz_banner.classList.remove("cmplz-"+prevStatus),cmplz_banner.classList.add("cmplz-"+status),cmplz_manage_consent_button)&&(cmplz_manage_consent_button.classList.add("cmplz-"+prevStatus),cmplz_manage_consent_button.classList.remove("cmplz-"+status)),cmplz_banner_container&&complianz.soft_cookiewall&&(cmplz_banner_container.classList.remove("cmplz-"+prevStatus),cmplz_banner_container.classList.add("cmplz-"+status,"cmplz-soft-cookiewall"));var event=new CustomEvent("cmplz_banner_status",{detail:status});document.dispatchEvent(event),cmplz_start_clean(),"show"===status?(cmplz_trap_focus(),(event=cmplz_banner.querySelector(".cmplz-close"))&&event.focus()):cmplz_release_focus_trap()},window.cmplz_has_consent=function(category){if(cmplz_is_bot())return!0;if("functional"===category)return!0;let has_consent,value;return has_consent=cmplz_do_not_track()?(value=cmplz_get_cookie(category),"allow"===value):(value=cmplz_get_cookie(category),("optout"===complianz.consenttype||"other"===complianz.consenttype)&&""===value||"allow"===value)},window.cmplz_is_service_denied=function(service){var consented_services_json=cmplz_get_cookie("consented_services");let consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}return!!consented_services.hasOwnProperty(service)&&!consented_services[service]},window.cmplz_has_service_consent=function(service,category){var consented_services_json=cmplz_get_cookie("consented_services");let consented_services;try{consented_services=JSON.parse(consented_services_json)}catch(e){consented_services={}}return consented_services.hasOwnProperty(service)?consented_services[service]:cmplz_has_consent(category)},window.cmplz_set_consent=function(category,value){cmplz_set_accepted_cookie_policy_id(),value="functional"===category?"allow":value;var details,previous_value=cmplz_get_cookie(category);let checked="allow"===value;
1document.querySelectorAll("input.cmplz-"+category).forEach(obj=>{obj.checked=checked}),previous_value!==value&&(cmplz_set_cookie(category,value),"allow"===value&&cmplz_enable_category(category),cmplz_wp_set_consent(category,value),"statistics"===category&&cmplz_wp_set_consent("statistics-anonymous","allow"),(details=new Object).category=category,details.value=value,details.region=complianz.region,details.categories=cmplz_accepted_categories(),cmplz_all_scripts_hook_fired=!1,details=new CustomEvent("cmplz_status_change",{detail:details}),document.dispatchEvent(details),"marketing"===category)&&"deny"===value&&"allow"===previous_value&&(cmplz_integrations_revoke(),setTimeout(function(){cmplz_reload_browser_compatible()},500))};let cmplz_user_data=[];if("undefined"!=typeof Storage&&sessionStorage.cmplz_user_data&&(cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)),1!==Number(complianz.geoip)||0!==cmplz_user_data.length&&cmplz_user_data.version===complianz.version&&cmplz_user_data.banner_version===complianz.banner_version)conditionally_show_banner();else{let request=new XMLHttpRequest,cmplzUserRegion=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");cmplzUserRegion=cmplzUserRegion?"&cmplz_user_region="+cmplzUserRegion:"",request.open("GET",complianz.url+"banner&"+complianz.locale+cmplzUserRegion,!0),request.setRequestHeader("Content-type","application/json"),request.send(),request.onload=function(){cmplz_user_data=JSON.parse(request.response),sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data),conditionally_show_banner()}}if(cmplzInitNavigationHook(),1===Number(complianz.store_consent)){let cmplz_id_cookie=cmplz_get_cookie("id"),cmplz_id_session="",cmplz_id="";"undefined"!=typeof Storage&&sessionStorage.cmplz_id&&(cmplz_id_session=JSON.parse(sessionStorage.cmplz_id)),0===cmplz_id_cookie.length&&0<cmplz_id_session.length&&(cmplz_id=cmplz_id_session,cmplz_set_cookie("id",cmplz_id)),0<cmplz_id_cookie.length&&0===cmplz_id_session.length&&(cmplz_id=cmplz_id_cookie),"undefined"!=typeof Storage&&(sessionStorage.cmplz_id=JSON.stringify(cmplz_id))}function cmplz_track_status_end(){cmplz_consent_stored_once||cmplz_track_status()}function cmplz_set_up_auto_dismiss(){if("dismissed"!==cmplz_get_banner_status()){if("optout"===complianz.consenttype&&1===Number(complianz.dismiss_on_scroll)){let onWindowScroll=function(){window.pageYOffset>Math.floor(400)&&(window.removeEventListener("scroll",onWindowScroll),this.onWindowScroll=null,"dismissed"!==cmplz_get_banner_status())&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())};window.addEventListener("scroll",onWindowScroll)}var delay=parseInt(complianz.dismiss_timeout);"optout"===complianz.consenttype&&0<delay&&window.setTimeout(function(){"dismissed"!==cmplz_get_banner_status()&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())},Math.floor(delay))}}function cmplz_fire_categories_event(){var details=new Object,details=(details.category=cmplz_highest_accepted_category(),details.categories=cmplz_accepted_categories(),details.region=complianz.region,new CustomEvent("cmplz_fire_categories",{detail:details}));document.dispatchEvent(details)}function cmplz_track_status(status){let cats=[];status=void 0!==status&&status;var event=new CustomEvent("cmplz_track_status",{detail:status});document.dispatchEvent(event),cats=status?[status]:cmplz_accepted_categories(),cmplz_set_category_as_body_class();let saved_cats,saved_services;try{saved_cats=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){saved_cats={}}try{saved_services=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){saved_services={}}var event=cmplz_get_all_service_consents();cmplz_equals(saved_cats,cats)&&cmplz_equals(saved_services,event)||1!==Number(complianz.store_consent)||cmplz_is_bot()||cmplz_is_speedbot()||(cmplz_set_cookie("saved_categories",JSON.stringify(cats)),cmplz_set_cookie("saved_services",JSON.stringify(event)),cmplz_consent_stored_once=!0,status={consented_categories:cats,consented_services:event,consenttype:window.wp_consent_type},(event=new XMLHttpRequest).open("POST",complianz.url+"track",!0),event.setRequestHeader("Content-type","application/json"),event.send(JSON.stringify(status)))}function cmplz_accepted_categories(){let consentedCategories=cmplz_categories,consentedTemp=[];for(var key in consentedCategories)consentedCategories.hasOwnProperty(key)&&(key=consentedCategories[key],cmplz_has_consent(key))&&consentedTemp.push(key);return consentedCategories=consentedCategories.filter(function(value){return cmplz_in_array(value,consentedTemp)})}function cmplz_sync_category_checkboxes(){for(var key in cmplz_categories)cmplz_categories.hasOwnProperty(key)&&(key=cmplz_categories[key],cmplz_has_consent(key)||"functional"===key?document.querySelectorAll("input.cmplz-"+key).forEac
1h(obj=>{obj.checked=!0}):document.querySelectorAll("input.cmplz-"+key).forEach(obj=>{obj.checked=!1})),document.querySelectorAll(".cmplz-accept-service").forEach(obj=>{var service=obj.getAttribute("data-service"),category=obj.getAttribute("data-category");cmplz_has_service_consent(service,category)?obj.checked=!0:cmplz_is_service_denied(service)?obj.checked=!1:obj.checked=!!cmplz_has_consent(category)})}function cmplz_merge_object(userdata,ajax_data){var key,output={};for(key in ajax_data)ajax_data.hasOwnProperty(key)&&(output[key]=ajax_data[key]);for(let key in userdata)ajax_data.hasOwnProperty(key)&&void 0!==ajax_data[key]||userdata.hasOwnProperty(key)&&(output[key]=userdata[key]);return output}function cmplz_clear_cookies(cookie_part){if("undefined"==typeof document)return!1;let foundCookie=!1,secure="https:"===window.location.protocol?";secure":"",expires="expires="+(new Date).toGMTString(),pathParts=location.pathname.replace(/^\/|\/$/g,"").split("/");return document.cookie.split("; ").forEach(function(cookie){let cookieName=cookie.split(";")[0].split("=")[0];if(-1!==cookieName.indexOf(cookie_part)){foundCookie=!0;let domainParts=window.location.hostname.split(".");var skipLast=1<domainParts.length;for(pathParts.forEach(function(pathPart){pathPart="/"+pathPart;document.cookie=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+";"+expires+";domain=."+domainParts.join(".")+";path="+pathPart,document.cookie=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+";"+expires+";domain=."+domainParts.join(".")+";path="+pathPart+"/"});0<domainParts.length;){let domain="."+domainParts.join(".");domainParts.shift(),skipLast&&1===domainParts.length&&domainParts.shift(),pathParts.forEach(function(pathPart){pathPart="/"+pathPart;document.cookie=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+";"+expires+";domain="+domain+";path="+pathPart,document.cookie=encodeURIComponent(cookieName)+"=;SameSite=Lax"+secure+";"+expires+";domain="+domain+";path="+pathPart+"/"})}}}),cmplz_set_accepted_cookie_policy_id(),foundCookie}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var key,cookiesToSet=complianz.set_cookies;for(key in cookiesToSet)cookiesToSet.hasOwnProperty(key)&&"1"===cookiesToSet[key][1]&&cmplz_set_cookie(key,cookiesToSet[key][1],!1)}function cmplz_integrations_revoke(){var key,revokeValue,cookiesToSet=complianz.set_cookies;for(key in cookiesToSet)cookiesToSet.hasOwnProperty(key)&&(revokeValue=cookiesToSet[key][1],cmplz_set_cookie(key,revokeValue,!1),0===Number(revokeValue))&&cmplz_clear_cookies(key)}function cmplz_set_integrations_cookies(){var key,cookiesToSet=complianz.set_cookies;for(key in cookiesToSet)cookiesToSet.hasOwnProperty(key)&&cmplz_set_cookie(key,cookiesToSet[key][0],!1)}function cmplz_get_url_parameter(sPageURL,sParam){if(sPageURL&&void 0!==sPageURL&&-1!==sPageURL.indexOf("?")){sPageURL=sPageURL.split("?")[1];if(sPageURL){var sURLVariables=sPageURL.split("&");for(let i=0;i<sURLVariables.length;i++){var sParameterName=sURLVariables[i].split("=");if(sParameterName[0]===sParam)return void 0===sParameterName[1]||decodeURIComponent(sParameterName[1])}}}return!1}function cmplz_maybe_auto_redirect(){var redirect=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect"),region=cmplz_get_url_parameter(window.location.href,"cmplz-region");redirect&&!region&&(redirect=window.location.href.split("#")[0]+"&cmplz-region="+complianz.region,region=window.location.hash,window.location.href=redirect+region)}function cmplz_wp_set_consent(type,value){"function"==typeof wp_set_consent&&wp_set_consent(type,value)}function cmplz_start_clean(){if(1===Number(complianz.clean_cookies))if((cmplz_cookie_data="undefined"!=typeof Storage?JSON.parse(sessionStorage.getItem("cmplz_cookie_data")):cmplz_cookie_data)&&0!==cmplz_cookie_data.length)cmplz_setup_clean_interval();else{let request=new XMLHttpRequest;request.open("GET",complianz.url+"cookie_data",!0),request.setRequestHeader("Content-type","application/json"),request.send(),request.onload=function(){cmplz_cookie_data=JSON.parse(request.response),sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data)),cmplz_setup_clean_interval()}}}function cmplz_do_cleanup(){var category;for(category of["preferences","statistics","marketing"])if(!cmplz_has_consent(category)&&cmplz_cookie_data.hasOwnProperty(category)){var service,item,services=cmplz_cookie_data[category];for(service in services)if(!cmplz_has_service_consent(service,category))for(item of services[service])cmplz_clear_cookies(item),
1cmplz_clear_storage(item)}}function cmplz_setup_clean_interval(){!cmplz_cookie_data||cmplzCleanCookieInterval||(cmplz_do_cleanup(),cmplzCleanCookieInterval=setInterval(cmplz_do_cleanup,1e3))}function cmplz_clear_storage(item){"undefined"!=typeof Storage&&(localStorage.getItem(item)&&localStorage.removeItem(item),sessionStorage.getItem(item))&&sessionStorage.removeItem(item)}function cmplz_load_manage_consent_container(){let manage_consent_container=document.querySelector(".cmplz-manage-consent-container");if(manage_consent_container){let request=new XMLHttpRequest;request.open("GET",complianz.url+"manage_consent_html&"+complianz.locale,!0),request.setRequestHeader("Content-type","application/json"),request.send(),request.onload=function(){var html=JSON.parse(request.response);manage_consent_container.insertAdjacentHTML("beforeend",html),cmplz_sync_category_checkboxes();document.querySelector("#cmplz-manage-consent-container-nojavascript").style.display="none",manage_consent_container.style.display="block";html=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(html)}}}function cmplz_equals(array_1,array_2){if("object"!=typeof array_1||null===array_1||Array.isArray(array_1)||"object"!=typeof array_2||null===array_2||Array.isArray(array_2)){if(Array.isArray(array_1)||(array_1=Object.keys(array_1),array_2=Object.keys(array_2)),!array_1||!array_2)return!1;if(array_1.length!==array_2.length)return!1;for(let i=0,l=array_1.length;i<l;i++)if(array_1[i]instanceof Array&&array_2[i]instanceof Array){if(!cmplz_equals(array_1[i],array_2[i]))return!1}else if(array_1[i]!==array_2[i])return!1}else{var key;for(key of[...new Set([...Object.keys(array_1),...Object.keys(array_2)])])if(array_1[key]!==array_2[key])return!1}return!0}function cmplzCopyAttributes(source,target){let excludes=["type","data-service","data-category","async"];Array.from(source.attributes).forEach(attribute=>{"data-script-type"===attribute.nodeName&&"module"===attribute.nodeValue?(target.setAttribute("type","module"),target.removeAttribute("data-script-type")):excludes.includes(attribute.nodeName)||target.setAttribute(attribute.nodeName,attribute.nodeValue)})}document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&cmplz_track_status_end()}),window.addEventListener("pagehide",cmplz_track_status_end,!1),window.addEventListener("beforeunload",cmplz_track_status_end,!1),document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault(),setTimeout(()=>{cmplz_accept_all(),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()},0)}),cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();var e=e.target,service=e.getAttribute("data-service"),e=e.getAttribute("data-category")||"marketing";1===Number(complianz.clean_cookies)&&void 0!==service&&service?(cmplz_set_service_consent(service,!0),cmplz_enable_category("","general"),cmplz_enable_category("",service)):cmplz_set_consent(e,"allow"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept-service",function(e){var e=e.target;"INPUT"!==e.tagName&&(void 0!==(e=e.getAttribute("data-service"))&&(cmplz_set_service_consent(e,!0),cmplz_enable_category("","general"),cmplz_enable_category("",e)),cmplz_fire_categories_event(),cmplz_track_status())}),cmplz_add_event("change",".cmplz-accept-service",function(e){var obj=e.target,tagName=obj.tagName,service=obj.getAttribute("data-service");void 0!==service&&("INPUT"===tagName?(cmplz_set_banner_status("dismissed"),obj.checked?(cmplz_set_service_consent(service,!0),cmplz_enable_category("",service)):(cmplz_set_service_consent(service,!1),setTimeout(function(){cmplz_reload_browser_compatible()},500))):(e.preventDefault(),cmplz_set_service_consent(service,!0),cmplz_enable_category("","general"),cmplz_enable_category("",service),setTimeout(function(){cmplz_reload_browser_compatible()},500))),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-save-preferences",function(e){var key,category,categoryElement,e=e.target,consented_categories=(cmplz_banner=e.closest(".cmplz-cookiebanner"),[]);for(key in cmplz_categories)cmplz_categories.hasOwnProperty(key)&&(category=cmplz_categories[key],categoryElement=cmplz_banner.querySelector("input.cmplz-"+category))&&categoryElement.checked&&consented_categories.push(category);cmplz_fire_before_categories_consent(consented_categories);for(let key in cmplz_categories)if(cmplz_categories.hasOwnProperty(key)){let category=cmplz_categories[key];consented_categories.includes(category)?cmplz_set_consent(category,"allow"):cmplz_set_consent(category,"deny")}cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-close",function(){cmplz_set_banner_status("dismissed")}),cmplz_add_event("click",".cmplz-view-preferences",function(e){var e=e.target;(cmplz_banner=e.closest(".cmplz-cookiebanner")).querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")?(cmplz_banner.classList.remove("cmplz-categories-v
1isible"),cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"):(cmplz_banner.classList.add("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block",(e=cmplz_banner.querySelector(".cmplz-categories .cmplz-category"))&&(e=e.querySelector(".cmplz-category-toggle"))&&e.focus())}),cmplz_add_event("click",".cmplz-category-toggle",function(e){var isExpanded,e=e.target.closest(".cmplz-category-toggle");e&&(isExpanded="true"===e.getAttribute("aria-expanded"),e.setAttribute("aria-expanded",String(!isExpanded)),e=e.closest(".cmplz-category"))&&(e=e.querySelector(".cmplz-description"))&&(e.hidden=isExpanded)}),cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(){for(var key in cmplz_categories){var categoryElement;cmplz_categories.hasOwnProperty(key)&&(key=cmplz_categories[key],categoryElement=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+key))&&(categoryElement.checked?cmplz_set_consent(key,"allow"):cmplz_set_consent(key,"deny"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())}}),cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault(),cmplz_set_banner_status("dismissed"),cmplz_deny_all()}),cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var e=document.querySelector(".cmplz-cookiebanner .cmplz-categories"),saveSettings=document.querySelector(".cmplz-save-settings"),manageSettings=document.querySelector("button.cmplz-manage-settings");cmplz_is_hidden(e)?(saveSettings.style.display="block",manageSettings.style.display="none",e.style.display="block"):(saveSettings.style.display="none",manageSettings.style.display="block",e.style.display="none")}),cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault(),cmplz_banner_trigger_source="manage-consent",cmplz_set_banner_status("show")}),cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){32===(e.keyCode||e.which)&&e.target.click()}),cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){13===(e.keyCode||e.which)&&e.target.click()});let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode"),cmplz_times_checked=0;void 0!==window.jQuery&&jQuery(document).ready(function($){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(){cmplz_activate_wp_video()});let cmplzInterval=setInterval(function(){cmplz_times_checked+=1,document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100?cmplz_activate_wp_video():clearInterval(cmplzInterval)},500)}function cmplz_activate_wp_video(){if(document.querySelector(".cmplz-wp-video-shortcode")){var c_key,s_key,selectorVideo,categories=cmplz_accepted_categories(),services=cmplz_get_all_service_consents(),selectorVideos=[];for(c_key in categories)if(categories.hasOwnProperty(c_key)){var category=categories[c_key];if("functional"===category)break;selectorVideos.push('.cmplz-wp-video-shortcode[data-category="'+category+'"]')}for(s_key in services)services.hasOwnProperty(s_key)&&selectorVideos.push('.cmplz-wp-video-shortcode[data-service="'+s_key+'"]');selectorVideo=selectorVideos.join(",");let should_initialize_video=!1;0<selectorVideo.length&&document.querySelectorAll(selectorVideo).forEach(obj=>{should_initialize_video=!0,obj.setAttribute("controls","controls"),obj.classList.add("wp-video-shortcode","cmplz-processed"),obj.classList.remove("cmplz-wp-video-shortcode"),obj.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");var blocked_notice=obj.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");blocked_notice&&blocked_notice.parentElement.removeChild(blocked_notice),obj.classList.remove("cmplz-blocked-content-container")}),should_initialize_video&&(window.wp.mediaelement?window.wp.mediaelement.initialize():(selectorVideo={videoWidth:"100%",videoHeight:"100%",enableAutosize:!0},$(".wp-video-shortcode").mediaelementplayer(selectorVideo)))}}function cmplz_activate_fitvids(obj){obj=$(obj);"function"==typeof obj.parent().fitVids&&obj.parent().fitVids()}document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(obj=>{cmplz_activate_fitvids(obj)}),document.addEventListener("cmplz_enable_category",function(){document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(obj=>{cmplz_activate_fitvids(obj)})})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.