!function(e){window.BorlabsCookie=function(){"use strict";var o,t,n="data-cookie-accordion",i="data-cookie-accordion-parent",a="data-cookie-accordion-status",c="data-cookie-accordion-target",s="#BorlabsCookieBox input[type='checkbox']",r="#BorlabsCookieBox",d="#BorlabsCookieBoxWrap",l="data-borlabs-cookie-group",u="#BorlabsCookieBox input[type='checkbox'][name='cookieGroup[]']",b="data-cookie-accept",h="data-cookie-accept-all",k="data-cookie-back",p="data-cookie-individual",f="data-cookie-refuse",v="data-borlabs-cookie-preference",g=".borlabs-cookie-preference",m="data-borlabs-cookie-switch",x="._brlbs-btn-switch-status",y="data-borlabs-cookie-unblock",C="data-borlabs-cookie-type",w="data-borlabs-cookie-id",L="data-borlabs-script-blocker-id",_="data-borlabs-script-blocker-js-handle",B="input[type='checkbox'][name='unblockAll']",S="data-borlabs-cookie-uid",O="data-borlabs-cookie-consent-history",j=".BorlabsCookie",I={},T={},D={},A={},U={scriptBlockerId:{},jsHandle:{}},E=!1,P={consents:{},expires:null,uid:null,version:null},H={consentSaved:null,codeUnblocked:null,codeUnblockedAfterConsent:null};function N(e,o){if(o){var t=o.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])'),n=Array.from(t).filter((function(e){return 0!==e.offsetHeight})),i=n[0],a=n[n.length-1];("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===i&&(e.preventDefault(),a.focus()):document.activeElement===a&&(e.preventDefault(),i.focus()))}}function R(e){e.addEventListener("keydown",(function(o){return N(o,e)}),!0)}function G(e){e.removeEventListener("keydown",(function(o){return N(o,e)}),!0)}function J(){e(r).attr("aria-modal",!1)}var M=function(){e(d).length&&"SCRIPT"===e(d)[0].tagName&&e(d).after(e(d).html()),e(document).on("click","["+b+"]",(function(e){e.preventDefault(),Y(),q()})),e(document).on("click","["+h+"]",(function(e){e.preventDefault(),K()})),e(document).on("click","["+k+"]",(function(e){e.preventDefault(),W()})),e(document).on("click","["+p+"]",(function(e){e.preventDefault(),$()})),e(document).on("click","["+f+"]",(function(o){o.preventDefault();var t=[];e(u+":checked").each((function(){-1===t.indexOf(this.value)&&(e(this).trigger("click"),t.push(this.value))})),Y(),q()})),F(),Q(),Z(),!0===ee()?(re(),de(),le(),document.dispatchEvent(H.codeUnblocked),J()):o.showCookieBox?0===o.hideCookieBoxOnPages.length||-1===o.hideCookieBoxOnPages.indexOf(window.location.protocol+"//"+window.location.hostname+window.location.pathname)?o.cookiesForBots&&/bot|googlebot|crawler|spider|robot|crawling|lighthouse/i.test(navigator.userAgent.toLowerCase())?(te(o.cookies,!1),re(),de(),le(),J(),document.dispatchEvent(H.codeUnblocked)):o.respectDoNotTrack&&void 0!==navigator.doNotTrack&&"1"===navigator.doNotTrack?(te({essential:o.cookies.essential},!1),re(),de(),le(),J(),document.dispatchEvent(H.codeUnblocked)):z(!0):(re(),de(),le(),J(),document.dispatchEvent(H.codeUnblocked)):J()},z=function(t){e(r).attr("aria-modal",!0),e("body").addClass("borlabs-position-fix"),R(document.querySelector(".cookie-box")),void 0===t&&(t=!1);var n=e(u),i=null;return Object.keys(P.consents).length?(e("["+l+"]").each((function(){-1===Object.keys(P.consents).indexOf(this.dataset.borlabsCookieGroup)&&e(this).addClass("borlabs-hide")})),n.length&&"1"===o.boxLayoutAdvanced&&n.each((function(){i=this.value,"string"==typeof this.dataset.borlabsCookieCheckbox&&("object"==typeof P.consents[i]?e(this).prop("checked",!0):e(this).prop("checked",!1))}))):n.length&&n.each((function(){i=this.value,"1"===o.boxLayoutAdvanced&&"1"===o.ignorePreSelectStatus&&!1===E&&"essential"!==i&&(e(this).prop("checked",!1),e(s+"[name='cookies["+i+"][]']").prop("checked",!1).trigger("change"))})),o.blockContent?(e(r+" > div").addClass("_brlbs-block-content"),o.animation?(e(r+" > div").addClass("_brlbs-bg-animation"),setTimeout((function(){e(r+" > div").addClass("_brlbs-bg-dark")}),25)):e(r+" > div").addClass("_brlbs-bg-dark")):e("._brlbs-"+o.boxLayout+"-wrap").addClass("_brlbs-position-fixed"),e(r+" > div").css("display",""),e(r+" > div").addClass("show-cookie-box"),o.animation&&e(r+" ._brlbs-"+o.boxLayout).addClass("animated "+o.animationIn+(t&&o.animationDelay?" delay-1s":"")),e("#CookieBoxSaveButton")[0].focus(),!0},q=function(){return J(),G(document.querySelector(".cookie-box")),o.animation&&(e(r+" ._brlbs-"+o.boxLayout).removeClass("delay-1s "),e(r+" ._brlbs-"+o.boxLayout).removeClass(o.animationIn),e(r+" ._brlbs-"+o.boxLayout).addClass(o.animationOut)),e(r+" > div").addClass("borlabs-hide"),o.blockContent?e(r+" > div").removeClass("_brlbs-bg-dark"):e("._brlbs-"+o.boxLayout+"-wrap").addClass("_brlbs-position-fixed"),setTimeout((function(){e("._brlbs-"+o.boxLayout+"-wrap").removeAttr("style"),e("._brlbs-"+o.boxLayout+" .cookie-box .container").removeAttr("style"),e("._brlbs-"+o.boxLayout+" .cookie-preference .container").removeAttr("style"),o.animation&&(e("._brlbs-"+o.boxLayout).removeClass("animated"),e("._brlbs-"+o.boxLayout).removeClass("delay-1s"),e("._brlbs-"+o.boxLayout).removeClass(o.animationIn),e("._brlbs-"+o.boxLayout).removeClass(o.animationOut)),e(r+" > div").removeClass("show-cookie-box"),o.blockContent&&e(r+" > div").removeClass("_brlbs-block-content")}),o.animation?1e3:0),e("body").removeClass("borlabs-position-fix"),!0},$=function(){G(document.querySelector(".cookie-box")),R(document.querySelector(".cookie-preference"));var t=e(u),n=null;t.length&&t.each((function(){n=this.value,Object.keys(P.consents).length?!1===E&&(void 0!==P.consents[n]?(e(this).prop("checked",!0),e(this).trigger("change"),e(s+"[name='cookies["+n+"][]']").each((function(){-1!==P.consents[n].indexOf(this.value)?e(this).prop("checked",!0):e(this).prop("checked",!1),e(this).trigger("change")}))):(e(this).prop("checked",!1),e(this).trigger("change"),e(s+"[name='cookies["+n+"][]']").prop("checked",!1).trigger("change"))):("1"===o.ignorePreSelectStatus&&!1===E&&(e(this).prop("checked",!1),e(r+" ["+l+"='"+this.value+"']").addClass("borlabs-hide")),e(this).trigger("change"),e(s+"[name='cookies["+n+"][]']").each((function(){"1"===o.ignorePreSelectStatus&&!1===E&&e(this).prop("checked",!1),e(this).trigger("change")})))})),e("._brlbs-"+o.boxLayout+" .cookie-box .container").animate({height:0,opacity:0},(function(){e("._brlbs-"+o.boxLayout+" .cookie-box").attr("aria-hidden",!0),e("._brlbs-"+o.boxLayout+" .cookie-preference").attr("aria-hidden",!1),e("#CookiePrefSave")[0].focus(),e("._brlbs-"+o.boxLayout+"-wrap").animate({width:"100vw",maxWidth:"box"===o.boxLayout?"768px":"100%"},"box"===o.boxLayout?400:0,(function(){var t=e("._brlbs-"+o.boxLayout+" .cookie-preference .container")[0].scrollHeight;e("._brlbs-"+o.boxLayout+" .cookie-preference .container").animate({height:"80vh",maxHeight:t,opacity:1})}))}))},W=function(){G(document.querySelector(".cookie-preference")),e("._brlbs-"+o.boxLayout+" .cookie-preference .container").animate({height:0,opacity:0},(function(){e("._brlbs-"+o.boxLayout+" .cookie-box").attr("aria-hidden",!1),e("._brlbs-"+o.boxLayout+" .cookie-preference").attr("aria-hidden",!0),e("._brlbs-"+o.boxLayout+"-wrap").animate({maxWidth:"box"===o.boxLayout?"375px":"100%"},"box"===o.boxLayout?400:0,(function(){var t=e("._brlbs-"+o.boxLayout+" .cookie-box .container")[0].scrollHeight+"px";e("._brlbs-"+o.boxLayout+" .cookie-box .container").animate({height:t,opacity:1})})),e("#CookieBoxSaveButton")[0].focus()}))},V=function(t){return void 0!==t&&t.preventDefault(),e("._brlbs-"+o.boxLayout+" .cookie-preference .container a["+k+"]").css("display","none"),e("._brlbs-"+o.boxLayout+" .cookie-preference .container a["+k+"] + span._brlbs-separator").css("display","none"),e("._brlbs-"+o.boxLayout+" .cookie-box .container").css("height",0),e("._brlbs-"+o.boxLayout+" .cookie-box .container").css("opacity",0),e("._brlbs-"+o.boxLayout+"-wrap").css({width:"100vw",maxWidth:"box"===o.boxLayout?"768px":"100%"}),z(!1),setTimeout((function(){$()}),500),!0},F=function(){e("["+n+"]").on("click","["+c+"]",(function(){var o=e(this).closest("["+n+"]");o.find("["+i+"]:visible").length&&(o.find("["+a+"='hide']").addClass("borlabs-hide"),o.find("["+a+"='show']").removeClass("borlabs-hide"),o.find("["+i+"]:visible").slideUp()),o.find("["+i+"='"+this.dataset.cookieAccordionTarget+"']:hidden").length&&(e(this).children("["+a+"='show']").addClass("borlabs-hide"),e(this).children("["+a+"='hide']").removeClass("borlabs-hide"),o.find("["+i+"='"+this.dataset.cookieAccordionTarget+"']").slideDown())}))},K=function(){var o=e(u),t=null;o.length&&o.each((function(){t=this.value,e(this).prop("checked",!0),e(this).trigger("change"),e(s+"[name='cookies["+t+"][]']").each((function(){e(this).prop("checked",!0),e(this).trigger("change")}))})),Y(),q()},Q=function(){e(document).on("click",u,(function(){E=!0,this.checked?(e(s+"[name='cookies["+this.value+"][]']").prop("checked",!0).trigger("change"),e(u+"[value='"+this.value+"']").prop("checked",!0),e(r+" ["+l+"='"+this.value+"']").length&&e(r+" ["+l+"='"+this.value+"']").removeClass("borlabs-hide")):(e(s+"[name='cookies["+this.value+"][]']").prop("checked",!1).trigger("change"),e(u+"[value='"+this.value+"']").prop("checked",!1),e(r+" ["+l+"='"+this.value+"']").length&&e(r+" ["+l+"='"+this.value+"']").addClass("borlabs-hide"))}))},Z=function(){e(document).on("click",s+"[name^='cookies']",(function(){E=!0,this.checked&&(e(u+"[value='"+this.dataset.cookieGroup+"']").prop("checked",!0).trigger("change"),e(r+" ["+l+"='"+this.dataset.cookieGroup+"']").length&&e(r+" ["+l+"='"+this.dataset.cookieGroup+"']").removeClass("borlabs-hide"))}))},X=function(){!0===this.checked?(e(this).parent().parent().children(x).children().last().css("display","none"),e(this).parent().parent().children(x).children().first().css("display","inline-block")):(e(this).parent().parent().children(x).children().first().css("display","none"),e(this).parent().parent().children(x).children().last().css("display","inline-block"))},Y=function(){var t={essential:o.cookies.essential},n=e(u+":checked"),i=e(s+"[name^='cookies']:checked");if(n.length&&(n.each((function(){this.value.length&&new RegExp(/^[a-z-_]{3,}$/).test(this.value)&&"essential"!==this.value&&(t[this.value]=[])})),i.length&&i.each((function(){this.value.length&&"string"==typeof this.dataset.cookieGroup&&new RegExp(/^[a-z-_]{3,}$/).test(this.value)&&new RegExp(/^[a-z-_]{3,}$/).test(this.dataset.cookieGroup)&&t[this.dataset.cookieGroup].push(this.value)}))),Object.keys(P.consents).length)for(var a in P.consents)if(void 0!==t[a])for(var c in P.consents[a])-1===t[a].indexOf(P.consents[a][c])&&ue(a,P.consents[a][c]);else if(void 0!==I[a])for(var r in I[a])ue(a,r);te(t,!1),"1"!==o.reloadAfterConsent&&(re(),de(),le(),document.dispatchEvent(H.codeUnblockedAfterConsent),document.dispatchEvent(H.codeUnblocked))},ee=function(){var e=!1;return"string"==typeof P.version&&(P.version===o.cookieVersion?e=!0:P.consents={}),e},oe=function(){if(document.cookie.length)for(var e=document.cookie.split(";"),t=0;t<e.length;t++)try{e[t]=decodeURIComponent(e[t]);var n=e[t].split("="),i=void 0!==n[0]?n[0].trim():"",a=void 0!==n[1]?n[1].trim():"";if("borlabs-cookie"===i){var c=JSON.parse(decodeURIComponent(a));void 0!==c.domainPath?c.domainPath===o.cookieDomain+o.cookiePath&&(P=c):P=c}}catch(o){console.log("The cookie is spoiled:"),console.dir(e[t]),console.dir(o)}return P},te=function(e,t){var n={},i="",a=[];if(!1===t||!1===ee()){var c=new Date;c.setTime(c.getTime()+24*parseInt(o.cookieLifetime)*60*60*1e3),i=c.toUTCString()}else i=P.expires;n.consents=e,n.domainPath=o.cookieDomain+o.cookiePath,n.expires=i,n.uid=P.uid,n.version=o.cookieVersion,void 0===n.consents.essential&&(n.consents.essential=o.cookies.essential),a.push("borlabs-cookie="+encodeURIComponent(JSON.stringify(n))),""!==o.cookieDomain&&""===o.automaticCookieDomainAndPath&&a.push("domain="+o.cookieDomain),a.push("path="+o.cookiePath),a.push("expires="+i),a.push("SameSite=Lax"),document.cookie=a.join(";"),oe(),ve(),me(),document.dispatchEvent(H.consentSaved)},ne=function(e,t,n){var i,a="",c=[],s="",r=new Date;return null==t||!1===t?""!==o.cookieDomain&&""===o.automaticCookieDomainAndPath&&(a=o.cookieDomain):a=t,void 0===n&&(n=!1),(i=function(e,o){var t={name:"",value:""};if(void 0===o&&(o=!1),o&&(e=e.replace("*","")),document.cookie.length)for(var n=document.cookie.split(";"),i=0;i<n.length;i++)try{n[i]=decodeURIComponent(n[i]);var a=n[i].split("="),c=void 0!==a[0]?a[0].trim():"",s=void 0!==a[1]?a[1].trim():"";o?-1!==c.indexOf(e)&&(t.name=c,t.value=s):c===e&&(t.name=c,t.value=s)}catch(e){console.log("The cookie is spoiled:"),console.dir(n[i]),console.dir(e)}return t}(e,n)).name.length&&(c.push(i.name+"="),""!==a&&c.push("domain="+a),c.push("path="+o.cookiePath),r.setTime(r.getTime()-864e5),s=r.toUTCString(),c.push("expires="+s),document.cookie=c.join(";")),!0},ie=function(e,o){return function(e,o){"string"==typeof e&&e.length&&new RegExp(/^[a-z-_]{3,}$/).test(e)&&(void 0===P.consents[e]&&(P.consents[e]=[]),"string"==typeof o&&new RegExp(/^[a-z-_]{3,}$/).test(o)&&-1===P.consents[e].indexOf(o)&&P.consents[e].push(o)),te(P.consents,!0)}(e,o),!0},ae=function(e,o){return function(e,o){if("string"==typeof e&&e.length&&new RegExp(/^[a-z-_]{3,}$/).test(e)){var t=!0;"string"==typeof o&&new RegExp(/^[a-z-_]{3,}$/).test(o)&&void 0!==P.consents[e]&&-1!==P.consents[e].indexOf(o)&&(P.consents[e].splice(P.consents[e].indexOf(o),1),t=!1),!0===t&&void 0!==P.consents[e]&&delete P.consents[e]}Object.keys(P.consents).length&&te(P.consents,!0)}(e,o),ue(e,o),!0},ce=function(e){var o=!1;for(var t in P.consents)-1!==P.consents[t].indexOf(e)&&(o=!0);return o},se=function(){function e(){var e="";if("object"==typeof window.crypto){var o=0,t=new Uint32Array(4);for(window.crypto.getRandomValues(t);o<4;o++)e+="abcdefhgihjklmnopqrstuvwxyz0123456789"[t[o]%37]}else e=Math.floor(65536*(1+Math.random())).toString(16).substring(1);return e}return e()+e()+"-"+e()+e()+"-"+e()+e()+"-"+e()+e()},re=function(){for(var o in P.consents)for(var n in P.consents[o]){var i=P.consents[o][n];void 0!==I[o]&&void 0!==I[o][i]&&(void 0!==t[o]&&void 0!==t[o][i]&&(e("body").append(fe(t[o][i])),delete t[o][i]),void 0!==I[o][i].optInJS&&(e("body").append(fe(I[o][i].optInJS)),I[o][i].optInJS=""))}},de=function(){e("["+C+"='cookie-group']").each((function(){if(void 0!==P.consents[this.dataset.borlabsCookieId]){var t="";t="javascript"===o.cookieBoxIntegration?fe(this.firstChild.innerHTML):fe(this.innerHTML),e(this).prev().length?e(this).prev().after(t):e(this).parent().prepend(t),this.parentNode.removeChild(this)}}))},le=function(){e("["+C+"='cookie']").each((function(){for(var t in P.consents)if(-1!==P.consents[t].indexOf(this.dataset.borlabsCookieId)){var n="";n="javascript"===o.cookieBoxIntegration?fe(this.firstChild.innerHTML):fe(this.innerHTML),e(this).prev().length?e(this).prev().after(n):e(this).parent().prepend(n),this.parentNode.removeChild(this)}}))},ue=function(o,t){void 0!==I[o]&&void 0!==I[o][t]&&void 0!==I[o][t].optOutJS&&(e("body").append(fe(I[o][t].optOutJS)),I[o][t].optOutJS="")},be=function(t){t.preventDefault();var n,i,a=e(this).parents(".BorlabsCookie"),c=!1;if(n=a.find("["+C+"='content-blocker']")[0].dataset.borlabsCookieId,void 0!==T[n]&&void 0!==T[n].settings.unblockAll&&"1"===T[n].settings.unblockAll&&(c=!0),(i=a.find(B)).length&&(c=!!i[0].checked),c)for(var s in e("["+C+"='content-blocker']["+w+"='"+n+"']").each((function(){he(e(this).parents(".BorlabsCookie"))})),o.cookies)-1!==o.cookies[s].indexOf(n)&&ie(s,n);else he(a)},he=function(e){var t=e.find("["+C+"='content-blocker']"),n="";if(t.length){var i="";n=t[0].dataset.borlabsCookieId,void 0!==T[n].settings.executeGlobalCodeBeforeUnblocking&&"1"===T[n].settings.executeGlobalCodeBeforeUnblocking&&void 0===D[n]&&(T[n].global(T[n]),D[n]=!0),i="javascript"===o.cookieBoxIntegration?fe(t[0].firstChild.innerHTML):fe(t[0].innerHTML);var a=setInterval((function(){var o=!0;if(void 0!==A[n]){var t;if(void 0!==A[n].scriptBlockerId)for(t in A[n].scriptBlockerId)!0!==pe(A[n].scriptBlockerId[t],"scriptBlockerId")&&(o=!1);if(void 0!==A[n].scriptBlockerId)for(t in A[n].jsHandle)!0!==pe(A[n].jsHandle[t],"jsHandle")&&(o=!1)}!0===o&&(clearInterval(a),e.prev().length?e.prev().after(i):e.parent().prepend(i),void 0!==T[n].settings.executeGlobalCodeBeforeUnblocking&&"0"!==T[n].settings.executeGlobalCodeBeforeUnblocking||void 0===D[n]&&(T[n].global(T[n]),D[n]=!0),T[n].init(e.prev()[0],T[n]),e[0].parentNode.removeChild(e[0]))}),50)}},ke=function(o,t,n){var i=e(o)[0];if(void 0!==i){var a=document.createElement("script");if(""!==i.id&&(a.id=i.id),""!==i.className&&(a.className=i.className),""!==i.dataset)for(var c in i.dataset)if(-1===c.indexOf("borlabs")){var s=c.split(/(?=[A-Z])/);for(var r in s)s[r]="-"+s[r].toLowerCase();a.setAttribute("data"+s.join(""),i.dataset.hasOwnProperty(c))}"string"==typeof i.dataset.borlabsScriptBlockerSrc?(a.src=i.dataset.borlabsScriptBlockerSrc,a.onload=function(){U[n][t]--,ke(o,t,n)},i.parentNode.insertBefore(a,i),i.parentNode.removeChild(i)):(a.type="text/javascript",a.innerHTML=i.innerHTML,i.parentNode.insertBefore(a,i),i.parentNode.removeChild(i),U[n][t]--,ke(o,t,n))}return!0},pe=function(e,o){var t=!1;return void 0!==U[o][e]&&0===U[o][e]&&(t=!0),t},fe=function(e){return decodeURIComponent(Array.prototype.map.call(window.atob(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))},ve=function(){!1===/bot|googlebot|crawler|spider|robot|crawling|lighthouse/i.test(navigator.userAgent.toLowerCase())&&e.ajax(o.ajaxURL,{type:"POST",data:{action:"borlabs_cookie_handler",type:"log",language:o.language,cookieData:P}}).done((function(){o.reloadAfterConsent&&Object.keys(P.consents).length>0&&location.reload(!0)}))},ge=function(){e.ajax(o.ajaxURL,{type:"POST",data:{action:"borlabs_cookie_handler",type:"consent_history",language:o.language,uid:P.uid}}).done((function(o){(o=e.parseJSON(o)).length&&e.each(o,(function(o,t){e("["+O+"] table").append("<tr><td>"+t.stamp+"</td><td>"+t.version+"</td><td>"+t.consent+"</td></tr>")}))}))},me=function(){if(o.crossDomainCookie.length)for(var t in o.crossDomainCookie){var n=o.crossDomainCookie[t];e("body").append('<iframe class="borlabs-hide" src="'+n+"?__borlabsCookieCall=cDC&cookieLang="+o.language+"&cookieData="+encodeURIComponent(JSON.stringify(P))+'"></iframe>')}},xe=function(){e(j+" [name^='borlabsCookie']").each((function(){ce(this.value)?this.checked=!0:this.checked=!1,e(this).trigger("change")})),e(document).on("change",j+" [name^='borlabsCookie']",(function(){this.checked?ie(this.dataset.cookieGroup,this.value):ae(this.dataset.cookieGroup,this.value)}))},ye=function(){if(Object.keys(I).length)for(var e in I)if(Object.keys(I[e]).length)for(var o in I[e])if(void 0!==I[e][o].settings&&void 0!==I[e][o].settings.blockCookiesBeforeConsent&&"1"===I[e][o].settings.blockCookiesBeforeConsent&&void 0!==I[e][o].cookieNameList&&!1===ce(o))for(var t in I[e][o].cookieNameList)ne(t,null,-1!==t.indexOf("*"))};return{addConsent:ie,allocateScriptBlockerToContentBlocker:function(e,o,t){"scriptBlockerId"!==t&&"jsHandle"!==t||(void 0===A[e]&&(A[e]={scriptBlockerId:[],jsHandle:[]}),-1===A[e][t].indexOf(o)&&A[e][t].push(o))},callWhenLoaded:function(e,o){var t=function(){!0===window.hasOwnProperty(e)?o(o):window.setTimeout(t,1e3)};t()},checkCookieConsent:ce,checkCookieGroupConsent:function(e){var o=!1;return void 0!==P.consents[e]&&(o=!0),o},deleteCookie:ne,getCookie:oe,hideCookieBox:q,init:function(n,i,a,c){return"about:blank"!==window.location.href&&(o=e.extend({ajaxURL:"",language:"en",animation:"1",animationDelay:"",animationIn:"fadeIn",animationOut:"fadeOut",blockContent:"",boxLayout:"box",boxLayoutAdvanced:"0",automaticCookieDomainAndPath:"",cookieDomain:"",cookiePath:"",cookieLifetime:"365",crossDomainCookie:[],cookieBeforeConsent:"",cookiesForBots:"1",cookieVersion:"1",hideCookieBoxOnPages:[],respectDoNotTrack:"",reloadAfterConsent:"",showCookieBox:"1",cookieBoxIntegration:"javascript",ignorePreSelectStatus:"1",cookies:[]},n),t=c,I=i,T=a,H.consentSaved=document.createEvent("Event"),H.consentSaved.initEvent("borlabs-cookie-consent-saved",!0,!0),H.codeUnblocked=document.createEvent("Event"),H.codeUnblocked.initEvent("borlabs-cookie-code-unblocked",!0,!0),H.codeUnblockedAfterConsent=document.createEvent("Event"),H.codeUnblockedAfterConsent.initEvent("borlabs-cookie-code-unblocked-after-consent",!0,!0),oe(),ye(),null===P.uid&&(P.uid=se()),o.cookieBeforeConsent&&"function"==typeof Object&&(void 0===Object.entries&&(Object.entries=function(e){for(var o=Object.keys(e),t=o.length,n=new Array(t);t--;)n[t]=[o[t],e[o[t]]];return n}),0===Object.entries(P.consents).length&&ve()),M(),e(document).on("click","["+y+"]",be),e(document).on("click","["+v+"]",V),e(document).on("click",g,V),e(document).on("change","["+m+"]",X),e(document).on("keydown",(function(o){9===o.keyCode&&e(j).addClass("_brlbs-keyboard")})),e(document).on("mousedown",(function(o){e(j).is(":visible")&&e(j).removeClass("_brlbs-keyboard")})),e("body").on("focus",j+"._brlbs-keyboard input[type='checkbox']",(function(o){var t=e(o.currentTarget).closest("label");t&&e(t).addClass("_brlbs-focused")})),e(j).on("blur","input[type='checkbox']",(function(o){var t=e(o.currentTarget).closest("label");t&&e(t).removeClass("_brlbs-focused")})),e("["+O+"]").length&&ge(),xe(),e("["+S+"]").length&&e("["+S+"]").each((function(){e(this).html(P.uid)})),!0)},initConsentHistoryTable:ge,initSwitchConsentButtonStatus:xe,openCookiePreference:V,removeConsent:ae,showCookieBox:z,unblockContentId:function(o){e("["+C+"='content-blocker']["+w+"='"+o+"']").each((function(){he(e(this).parents(".BorlabsCookie"))}))},unblockScriptBlockerId:function(o){var t="["+L+"='"+o+"']";return e(t).length&&(U.scriptBlockerId[o]=e(t).length,ke(t,o,"scriptBlockerId")),!0},unblockScriptBlockerJSHandle:function(o){var t="["+_+"='"+o+"']";return e(t).length&&(U.jsHandle[o]=e(t).length,ke(t,o,"jsHandle")),!0}}}()}(jQuery);