/**handles:wpautoterms_base,advanced-popups,cookie-law-info**/
!function(){var o=[],r=!1;function n(){if(!r)for(var n in r=!0,o)o[n](jQuery)}function e(n){r?n(jQuery):o.push(n)}wp.domReady(n),window.wpAutoTermsDomReady=e;var i=window.onerror;window.onerror=function(){n(),i&amp;&amp;i.apply(null,arguments)},jQuery.readyException=n}();
"use strict";jQuery(document).ready(function(i){var e={},c;(e={sPrevious:window.scrollY,sDirection:"down",init:function(o){(c=e).popupInit(o),c.events(o)},events:function(o){i(document).on("click",".adp-popup-close",c.closePopup),i(document).on("click",".adp-popup-accept",c.acceptPopup),i(document).on("click",".adp-popup-accept",c.closePopup),i(document).keyup(function(o){"Escape"===o.key&amp;&amp;i('.adp-popup-open[data-esc-close="true"]').each(function(o,e){c.closePopup(e)}),"F4"===o.key&amp;&amp;i('.adp-popup-open[data-esc-close="true"]').each(function(o,e){c.closePopup(e)})}),i(document).on("click",".adp-popup-overlay",function(o){c.closePopup(i(this).prev())})},popupInit:function(o){i(document).on("scroll",function(){var o=window.scrollY;o&gt;c.sPrevious?c.sDirection="down":c.sDirection="up",c.sPrevious=o}),i(".adp-popup").each(function(o,e){var p;"manual"!==i(e).data("open-trigger")||(p=i(e).data("open-manual-selector"))&amp;&amp;i(document).on("click",p,function(o){event.preventDefault(),i(e).removeClass("adp-popup-already-opened"),c.openPopup(e)}),c.isAllowPopup(e)&amp;&amp;c.openTriggerPopup(e)})},openTriggerPopup:function(o){let p=o.originalEvent?this:o;var o=i(p).data("open-trigger"),n,e,t,a;"viewed"===o&amp;&amp;c.openPopup(p),"delay"===o&amp;&amp;setTimeout(function(){c.openPopup(p)},1e3*i(p).data("open-delay-number")),"exit"===o&amp;&amp;(n=!0,document.addEventListener("mousemove",function(o){var e=window.pageYOffset||document.documentElement.scrollTop;o.pageY-e=t&amp;&amp;c.openPopup(p),"%"===e&amp;&amp;c.getScrollPercent()&gt;=t&amp;&amp;c.openPopup(p)})),"accept"===o&amp;&amp;(c.getCookie("adp-popup-accept-"+i(p).data("id")||0)||c.openPopup(p))},closeTriggerPopup:function(o){let e=o.originalEvent?this:o;var o=i(e).data("close-trigger"),p,n,t,a;"delay"===o&amp;&amp;setTimeout(function(){c.closePopup(e)},1e3*i(e).data("close-delay-number")),"scroll"===o&amp;&amp;(p=i(e).data("close-scroll-type"),n=i(e).data("close-scroll-position"),t=i(e).data("init-scroll-px"),a=i(e).data("init-scroll-percent"),i(document).on("scroll",function(){"px"===p&amp;&amp;("up"===c.sDirection&amp;&amp;window.scrollY=t+n&amp;&amp;c.closePopup(e)),"%"===p&amp;&amp;("up"===c.sDirection&amp;&amp;c.getScrollPercent()=a+n&amp;&amp;c.closePopup(e))}))},openPopup:function(o){var e=o.originalEvent?this:o,o,o;i(e).hasClass("adp-popup-open")||i(e).hasClass("adp-popup-already-opened")||(i(e).addClass("adp-popup-open"),i(e).data("init-scroll-px",window.scrollY),i(e).data("init-scroll-percent",c.getScrollPercent()),i(e).is('[data-body-scroll-disable="true"]')&amp;&amp;i("body").addClass("adp-popup-scroll-hidden"),o=parseInt(c.getCookie("adp-popup-"+i(e).data("id"))||0)+1,c.setCookie("adp-popup-"+i(e).data("id"),o,{expires:i(e).data("limit-lifetime")}),o=i(e).data("open-animation"),c.applyAnimation(e,o),c.closeTriggerPopup(e))},acceptPopup:function(o){var o=o.originalEvent?this:o,o=i(o).closest(".adp-popup");c.setCookie("adp-popup-accept-"+i(o).data("id"),1,{expires:360})},closePopup:function(o){var o=o.originalEvent?this:o;let e=i(o).closest(".adp-popup");var o=i(e).data("exit-animation");c.applyAnimation(e,o,function(){i(e).addClass("adp-popup-already-opened"),i(e).removeClass("adp-popup-open"),i("body").removeClass("adp-popup-scroll-hidden")})},isAllowPopup:function(o){var e=o.originalEvent?this:o,o=parseInt(i(e).data("limit-display")||0),e=parseInt(c.getCookie("adp-popup-"+i(e).data("id")));if(!(o&amp;&amp;e&amp;&amp;o&lt;=e))return!0},applyAnimation:function(o,e,p){var o=i(o).closest(&quot;.adp-popup&quot;),n,n;n=&quot;function&quot;==typeof p?&quot;popupExitFade&quot;:&quot;popupOpenFade&quot;,i(o).next(&quot;.adp-popup-overlay&quot;).addClass(&quot;adp-popup-animated &quot;+n).one(&quot;webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend&quot;,function(){i(this).removeClass(&quot;adp-popup-animated &quot;+n)}),i(o).find(&quot;.adp-popup-wrap&quot;).addClass(&quot;adp-popup-animated &quot;+e).one(&quot;webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend&quot;,function(){i(this).removeClass(&quot;adp-popup-animated &quot;+e),&quot;function&quot;==typeof p&amp;&amp;p()})},getCookie:function(o){var o=document.cookie.match(new RegExp(&quot;(?:^|; )&quot;+o.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,&quot;\\$1&quot;)+&quot;=([^;]*)&quot;));return o?decodeURIComponent(o[1]):void 0},setCookie:function(o,e,p){(p=p||{}).path=p.hasOwnProperty(&quot;path&quot;)?p.path:&quot;/&quot;,p.expires=parseInt(p.expires),&quot;number&quot;==typeof p.expires&amp;&amp;p.expires&amp;&amp;(p.expires=(new Date).setDate((new Date).getDate()+p.expires),p.expires=new Date(p.expires).toUTCString());var n=o+&quot;=&quot;+(e=encodeURIComponent(e)),t;for(t in p){n+=&quot;; &quot;+t;var a=p[t];!0!==a&amp;&amp;(n+=&quot;=&quot;+a)}document.cookie=n},getScrollPercent:function(){var o=document.documentElement,e=document.body,p=&quot;scrollTop&quot;,n=&quot;scrollHeight&quot;;return(o[p]||e[p])/((o[n]||e[n])-o.clientHeight)*100}}).init()});
CLI_ACCEPT_COOKIE_NAME=&quot;undefined&quot;!=typeof CLI_ACCEPT_COOKIE_NAME?CLI_ACCEPT_COOKIE_NAME:&quot;viewed_cookie_policy&quot;,CLI_PREFERNCE_COOKIE=&quot;undefined&quot;!=typeof CLI_PREFERNCE_COOKIE?CLI_PREFERNCE_COOKIE:&quot;CookieLawInfoConsent&quot;,CLI_ACCEPT_COOKIE_EXPIRE=&quot;undefined&quot;!=typeof CLI_ACCEPT_COOKIE_EXPIRE?CLI_ACCEPT_COOKIE_EXPIRE:365,CLI_COOKIEBAR_AS_POPUP=&quot;undefined&quot;!=typeof CLI_COOKIEBAR_AS_POPUP&amp;&amp;CLI_COOKIEBAR_AS_POPUP;var CLI_Cookie={set:function(e,t,i){var o=&quot;&quot;,n,n,n,i;!0===Boolean(Cli_Data.secure_cookies)&amp;&amp;(o=&quot;;secure&quot;),n=i?((n=new Date).setTime(n.getTime()+24*i*60*60*1e3),&quot;; expires=&quot;+n.toGMTString()):&quot;&quot;,document.cookie=e+&quot;=&quot;+t+o+n+&quot;; path=/&quot;,i&lt;1&amp;&amp;(host_name=window.location.hostname,document.cookie=e+&quot;=&quot;+t+n+&quot;; path=/; domain=.&quot;+host_name+&quot;;&quot;,1!=host_name.indexOf(&quot;www&quot;)&amp;&amp;(i=host_name.replace(&quot;www&quot;,&quot;&quot;),document.cookie=e+&quot;=&quot;+t+o+n+&quot;; path=/; domain=&quot;+i+&quot;;&quot;),host_name=host_name.substring(host_name.lastIndexOf(&quot;.&quot;,host_name.lastIndexOf(&quot;.&quot;)-1)),document.cookie=e+&quot;=&quot;+t+o+n+&quot;; path=/; domain=&quot;+host_name+&quot;;&quot;)},read:function(e){for(var t=e+&quot;=&quot;,i=document.cookie.split(&quot;;&quot;),o=0;o&lt;i.length;o++){for(var n=i[o];&quot; &quot;==n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},erase:function(e){this.set(e,&quot;&quot;,-10)},exists:function(e){return null!==this.read(e)},getallcookies:function(){for(var e=document.cookie.split(&quot;;&quot;),t={},i=0;i&lt;e.length;i++){var o=e[i].split(&quot;=&quot;);t[(o[0]+&quot;&quot;).trim()]=unescape(o[1])}return t}},CLI={bar_config:{},showagain_config:{},allowedCategories:[],js_blocking_enabled:!1,set:function(e){var e;&quot;function&quot;==typeof JSON.parse?(&quot;object&quot;!=typeof e.settings?this.settings=JSON.parse(e.settings):this.settings=e.settings,this.js_blocking_enabled=Boolean(Cli_Data.js_blocking),this.settings=e.settings,this.bar_elm=jQuery(this.settings.notify_div_id),this.showagain_elm=jQuery(this.settings.showagain_div_id),this.settingsModal=jQuery(&quot;#cliSettingsPopup&quot;),this.main_button=jQuery(&quot;.cli-plugin-main-button&quot;),this.main_link=jQuery(&quot;.cli-plugin-main-link&quot;),this.reject_link=jQuery(&quot;.cookie_action_close_header_reject&quot;),this.delete_link=jQuery(&quot;.cookielawinfo-cookie-delete&quot;),this.settings_button=jQuery(&quot;.cli_settings_button&quot;),this.accept_all_button=jQuery(&quot;.wt-cli-accept-all-btn&quot;),&quot;popup&quot;==this.settings.cookie_bar_as&amp;&amp;(CLI_COOKIEBAR_AS_POPUP=!0),this.mayBeSetPreferenceCookie(),this.addStyleAttribute(),this.configBar(),this.toggleBar(),this.attachDelete(),this.attachEvents(),this.configButtons(),this.reviewConsent(),e=this.hideBarInReadMoreLink(),!0===Boolean(this.settings.scroll_close)&amp;&amp;!1===e&amp;&amp;window.addEventListener(&quot;scroll&quot;,CLI.closeOnScroll,!1)):console.log(&quot;CookieLawInfo requires JSON.parse but your browser doesn&#039;t support it&quot;)},hideBarInReadMoreLink:function(){return!!(!0===Boolean(CLI.settings.button_2_hidebar)&amp;&amp;0&lt;this.main_link.length&amp;&amp;this.main_link.hasClass(&quot;cli-minimize-bar&quot;))&amp;&amp;(this.hideHeader(),cliBlocker.cookieBar(!1),this.showagain_elm.slideDown(this.settings.animate_speed_show),!0)},attachEvents:function(){jQuery(document).on(&quot;click&quot;,&quot;.wt-cli-privacy-btn&quot;,function(e){e.preventDefault(),CLI.accept_close(),CLI.settingsPopUpClose()}),jQuery(&quot;.wt-cli-accept-btn&quot;).on(&quot;click&quot;,function(e){e.preventDefault(),CLI.acceptRejectCookies(jQuery(this))}),jQuery(&quot;.wt-cli-accept-all-btn&quot;).on(&quot;click&quot;,function(e){e.preventDefault(),CLI.acceptRejectCookies(jQuery(this),&quot;accept&quot;)}),jQuery(&quot;.wt-cli-reject-btn&quot;).on(&quot;click&quot;,function(e){e.preventDefault(),CLI.acceptRejectCookies(jQuery(this),&quot;reject&quot;)}),this.settingsPopUp(),this.settingsTabbedAccordion(),this.toggleUserPreferenceCheckBox(),this.hideCookieBarOnClose(),this.cookieLawInfoRunCallBacks()},acceptRejectCookies(e,t=&quot;custom&quot;){var i=!(!e[0].hasAttribute(&quot;href&quot;)||&quot;#&quot;==e.attr(&quot;href&quot;)),o=!1,o=&quot;accept&quot;==t?(this.enableAllCookies(),this.accept_close(),!!CLI.settings.button_7_new_win):&quot;reject&quot;==t?(this.disableAllCookies(),this.reject_close(),!!Boolean(this.settings.button_3_new_win)):(this.accept_close(),!!Boolean(this.settings.button_1_new_win));i&amp;&amp;(o?window.open(e.attr(&quot;href&quot;),&quot;_blank&quot;):window.location.href=e.attr(&quot;href&quot;))},toggleUserPreferenceCheckBox:function(){jQuery(&quot;.cli-user-preference-checkbox&quot;).each(function(){categoryCookie=&quot;cookielawinfo-&quot;+jQuery(this).attr(&quot;data-id&quot;),categoryCookieValue=CLI_Cookie.read(categoryCookie),null==categoryCookieValue?jQuery(this).is(&quot;:checked&quot;)?CLI_Cookie.set(categoryCookie,&quot;yes&quot;,CLI_ACCEPT_COOKIE_EXPIRE):CLI_Cookie.set(categoryCookie,&quot;no&quot;,CLI_ACCEPT_COOKIE_EXPIRE):&quot;yes&quot;==categoryCookieValue?jQuery(this).prop(&quot;checked&quot;,!0):jQuery(this).prop(&quot;checked&quot;,!1)}),jQuery(&quot;.cli-user-preference-checkbox&quot;).on(&quot;click&quot;,function(e){var t=jQuery(this).attr(&quot;data-id&quot;),i=jQuery(&quot;.cli-user-preference-checkbox[data-id=&quot;+t+&quot;]&quot;);jQuery(this).is(&quot;:checked&quot;)?(CLI_Cookie.set(&quot;cookielawinfo-&quot;+t,&quot;yes&quot;,CLI_ACCEPT_COOKIE_EXPIRE),i.prop(&quot;checked&quot;,!0)):(CLI_Cookie.set(&quot;cookielawinfo-&quot;+t,&quot;no&quot;,CLI_ACCEPT_COOKIE_EXPIRE),i.prop(&quot;checked&quot;,!1)),CLI.checkCategories(),CLI.generateConsent()})},settingsPopUp:function(){jQuery(document).on(&quot;click&quot;,&quot;.cli_settings_button&quot;,function(e){e.preventDefault(),CLI.settingsModal.addClass(&quot;cli-show&quot;).css({opacity:0}).animate({opacity:1}),CLI.settingsModal.removeClass(&quot;cli-blowup cli-out&quot;).addClass(&quot;cli-blowup&quot;),jQuery(&quot;body&quot;).addClass(&quot;cli-modal-open&quot;),jQuery(&quot;.cli-settings-overlay&quot;).addClass(&quot;cli-show&quot;),jQuery(&quot;#cookie-law-info-bar&quot;).css({opacity:.1}),jQuery(&quot;.cli-settings-mobile&quot;).is(&quot;:visible&quot;)||CLI.settingsModal.find(&quot;.cli-nav-link:eq(0)&quot;).trigger(&quot;click&quot;)}),jQuery(&quot;#cliModalClose&quot;).on(&quot;click&quot;,function(e){CLI.settingsPopUpClose()}),CLI.settingsModal.on(&quot;click&quot;,function(e){document.getElementsByClassName(&quot;cli-modal-dialog&quot;)[0].contains(e.target)||CLI.settingsPopUpClose()}),jQuery(&quot;.cli_enable_all_btn&quot;).on(&quot;click&quot;,function(e){var t=jQuery(this),i=t.attr(&quot;data-enable-text&quot;),o=t.attr(&quot;data-disable-text&quot;);t.hasClass(&quot;cli-enabled&quot;)?(CLI.disableAllCookies(),t.html(i)):(CLI.enableAllCookies(),t.html(o)),jQuery(this).toggleClass(&quot;cli-enabled&quot;)}),this.privacyReadmore()},settingsTabbedAccordion:function(){jQuery(&quot;.cli-tab-header&quot;).on(&quot;click&quot;,function(e){jQuery(e.target).hasClass(&quot;cli-slider&quot;)||jQuery(e.target).hasClass(&quot;cli-user-preference-checkbox&quot;)||(jQuery(this).hasClass(&quot;cli-tab-active&quot;)?(jQuery(this).removeClass(&quot;cli-tab-active&quot;),jQuery(this).siblings(&quot;.cli-tab-content&quot;).slideUp(200)):(jQuery(&quot;.cli-tab-header&quot;).removeClass(&quot;cli-tab-active&quot;),jQuery(this).addClass(&quot;cli-tab-active&quot;),jQuery(&quot;.cli-tab-content&quot;).slideUp(200),jQuery(this).siblings(&quot;.cli-tab-content&quot;).slideDown(200)))})},settingsPopUpClose:function(){this.settingsModal.removeClass(&quot;cli-show&quot;),this.settingsModal.addClass(&quot;cli-out&quot;),jQuery(&quot;body&quot;).removeClass(&quot;cli-modal-open&quot;),jQuery(&quot;.cli-settings-overlay&quot;).removeClass(&quot;cli-show&quot;),jQuery(&quot;#cookie-law-info-bar&quot;).css({opacity:1})},privacyReadmore:function(){var t=jQuery(&quot;.cli-privacy-content .cli-privacy-content-text&quot;),e,i,o,n,s,a,c;0&lt;t.length&amp;&amp;(i=t.clone().html(),o=t.outerHeight(),s=function(e){var t=jQuery(&quot;<div />").html(e.html()),t;t.find("table").remove(),e.html(t.html()),currentText=e.text(),250&lt;currentText.trim().length&amp;&amp;(t=currentText.substring(0,250),e.empty().html(t).append(&quot;...&quot;))},a=function(e,t){return e.html(t)},250&lt;t.html().length?jQuery(&quot;.cli-privacy-readmore&quot;).show():jQuery(&quot;.cli-privacy-readmore&quot;).hide(),s(t),jQuery(&quot;a.cli-privacy-readmore&quot;).on(&quot;click&quot;,function(e){e.preventDefault(),jQuery(&quot;.cli-privacy-overview&quot;).hasClass(&quot;cli-collapsed&quot;)?(s(t),jQuery(&quot;.cli-privacy-overview&quot;).removeClass(&quot;cli-collapsed&quot;),t.css(&quot;height&quot;,&quot;100%&quot;)):(jQuery(&quot;.cli-privacy-overview&quot;).addClass(&quot;cli-collapsed&quot;),a(t,i))}))},attachDelete:function(){this.delete_link.on(&quot;click&quot;,function(e){for(var t in CLI_Cookie.erase(CLI_ACCEPT_COOKIE_NAME),Cli_Data.nn_cookie_ids)CLI_Cookie.erase(Cli_Data.nn_cookie_ids[t]);return CLI.generateConsent(),!1})},configButtons:function(){this.main_button.css(&quot;color&quot;,this.settings.button_1_link_colour),Boolean(this.settings.button_1_as_button)&amp;&amp;(this.main_button.css(&quot;background-color&quot;,this.settings.button_1_button_colour),this.main_button.on(&quot;mouseenter&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_1_button_hover)}).on(&quot;mouseleave&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_1_button_colour)})),this.main_link.css(&quot;color&quot;,this.settings.button_2_link_colour),Boolean(this.settings.button_2_as_button)&amp;&amp;(this.main_link.css(&quot;background-color&quot;,this.settings.button_2_button_colour),this.main_link.on(&quot;mouseenter&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_2_button_hover)}).on(&quot;mouseleave&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_2_button_colour)})),this.reject_link.css(&quot;color&quot;,this.settings.button_3_link_colour),Boolean(this.settings.button_3_as_button)&amp;&amp;(this.reject_link.css(&quot;background-color&quot;,this.settings.button_3_button_colour),this.reject_link.on(&quot;mouseenter&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_3_button_hover)}).on(&quot;mouseleave&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_3_button_colour)})),this.settings_button.css(&quot;color&quot;,this.settings.button_4_link_colour),Boolean(this.settings.button_4_as_button)&amp;&amp;(this.settings_button.css(&quot;background-color&quot;,this.settings.button_4_button_colour),this.settings_button.on(&quot;mouseenter&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_4_button_hover)}).on(&quot;mouseleave&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_4_button_colour)})),this.accept_all_button.css(&quot;color&quot;,this.settings.button_7_link_colour),this.settings.button_7_as_button&amp;&amp;(this.accept_all_button.css(&quot;background-color&quot;,this.settings.button_7_button_colour),this.accept_all_button.on(&quot;mouseenter&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_7_button_hover)}).on(&quot;mouseleave&quot;,function(){jQuery(this).css(&quot;background-color&quot;,CLI.settings.button_7_button_colour)}))},toggleBar:function(){CLI_COOKIEBAR_AS_POPUP&amp;&amp;this.barAsPopUp(1),&quot;widget&quot;==CLI.settings.cookie_bar_as&amp;&amp;this.barAsWidget(1),CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)?this.hideHeader():this.displayHeader(),Boolean(this.settings.show_once_yn)&amp;&amp;setTimeout(function(){CLI.close_header()},CLI.settings.show_once),!1===CLI.js_blocking_enabled&amp;&amp;(!0===Boolean(Cli_Data.ccpaEnabled)?&quot;ccpa&quot;===Cli_Data.ccpaType&amp;&amp;!1===Boolean(Cli_Data.ccpaBarEnabled)&amp;&amp;cliBlocker.cookieBar(!1):jQuery(&quot;.wt-cli-ccpa-opt-out,.wt-cli-ccpa-checkbox,.wt-cli-ccpa-element&quot;).remove()),this.showagain_elm.on(&quot;click&quot;,function(e){e.preventDefault(),CLI.showagain_elm.slideUp(CLI.settings.animate_speed_hide,function(){CLI.bar_elm.slideDown(CLI.settings.animate_speed_show),CLI_COOKIEBAR_AS_POPUP&amp;&amp;CLI.showPopupOverlay()})})},configShowAgain:function(){var e;this.showagain_config={&quot;background-color&quot;:this.settings.background,color:this.l1hs(this.settings.text),position:&quot;fixed&quot;,&quot;font-family&quot;:this.settings.font_family},Boolean(this.settings.border_on)&amp;&amp;(e=&quot;border-&quot;+this.settings.notify_position_vertical,this.showagain_config.border=&quot;1px solid &quot;+this.l1hs(this.settings.border),this.showagain_config[e]=&quot;none&quot;);var t,i=jQuery(window).width(),e=this.settings.showagain_x_position;i&lt;300?(e=10,this.showagain_config.width=i-20):this.showagain_config.width=&quot;auto&quot;;var o=400&lt;i?500:i-20,n,i;CLI_COOKIEBAR_AS_POPUP?(&quot;left&quot;==(i=this.settings.popup_showagain_position.split(&quot;-&quot;))[1]?this.showagain_config.left=e:&quot;right&quot;==i[1]&amp;&amp;(this.showagain_config.right=e),&quot;top&quot;==i[0]?this.showagain_config.top=0:&quot;bottom&quot;==i[0]&amp;&amp;(this.showagain_config.bottom=0),this.bar_config.position=&quot;fixed&quot;):&quot;widget&quot;==this.settings.cookie_bar_as?(this.showagain_config.bottom=0,&quot;left&quot;==this.settings.widget_position?this.showagain_config.left=e:&quot;right&quot;==this.settings.widget_position&amp;&amp;(this.showagain_config.right=e)):(&quot;top&quot;==this.settings.notify_position_vertical?this.showagain_config.top=&quot;0&quot;:&quot;bottom&quot;==this.settings.notify_position_vertical&amp;&amp;(this.bar_config.position=&quot;fixed&quot;,this.bar_config.bottom=&quot;0&quot;,this.showagain_config.bottom=&quot;0&quot;),&quot;left&quot;==this.settings.notify_position_horizontal?this.showagain_config.left=e:&quot;right&quot;==this.settings.notify_position_horizontal&amp;&amp;(this.showagain_config.right=e)),this.showagain_elm.css(this.showagain_config)},configBar:function(){this.bar_config={&quot;background-color&quot;:this.settings.background,color:this.settings.text,&quot;font-family&quot;:this.settings.font_family},&quot;top&quot;==this.settings.notify_position_vertical?(this.bar_config.top=&quot;0&quot;,!0===Boolean(this.settings.header_fix)&amp;&amp;(this.bar_config.position=&quot;fixed&quot;)):this.bar_config.bottom=&quot;0&quot;,this.configShowAgain(),this.bar_elm.css(this.bar_config).hide()},l1hs:function(e){return&quot;#&quot;!=e.charAt(0)?&quot;#&quot;+e:(e=e.substring(1,e.length),this.l1hs(e))},close_header:function(){CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,&quot;yes&quot;,CLI_ACCEPT_COOKIE_EXPIRE),this.hideHeader()},accept_close:function(){return this.hidePopupOverlay(),this.generateConsent(),this.cookieLawInfoRunCallBacks(),CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,&quot;yes&quot;,CLI_ACCEPT_COOKIE_EXPIRE),Boolean(this.settings.notify_animate_hide)?!0===CLI.js_blocking_enabled?this.bar_elm.slideUp(this.settings.animate_speed_hide,cliBlocker.runScripts):this.bar_elm.slideUp(this.settings.animate_speed_hide):!0===CLI.js_blocking_enabled?this.bar_elm.hide(0,cliBlocker.runScripts):this.bar_elm.hide(),Boolean(this.settings.showagain_tab)&amp;&amp;this.showagain_elm.slideDown(this.settings.animate_speed_show),!0===Boolean(this.settings.accept_close_reload)&amp;&amp;this.reload_current_page(),!1},reject_close:function(){for(var e in this.hidePopupOverlay(),this.generateConsent(),this.cookieLawInfoRunCallBacks(),Cli_Data.nn_cookie_ids)CLI_Cookie.erase(Cli_Data.nn_cookie_ids[e]);return CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME,&quot;no&quot;,CLI_ACCEPT_COOKIE_EXPIRE),Boolean(this.settings.notify_animate_hide)?!0===CLI.js_blocking_enabled?this.bar_elm.slideUp(this.settings.animate_speed_hide,cliBlocker.runScripts):this.bar_elm.slideUp(this.settings.animate_speed_hide):!0===CLI.js_blocking_enabled?this.bar_elm.hide(cliBlocker.runScripts):this.bar_elm.hide(),Boolean(this.settings.showagain_tab)&amp;&amp;this.showagain_elm.slideDown(this.settings.animate_speed_show),!0===Boolean(this.settings.reject_close_reload)&amp;&amp;this.reload_current_page(),!1},reload_current_page:function(){window.location.reload(!0)},closeOnScroll:function(){100&lt;window.pageYOffset&amp;&amp;!CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&amp;&amp;(CLI.accept_close(),!0===Boolean(CLI.settings.scroll_close_reload)&amp;&amp;window.location.reload(),window.removeEventListener(&quot;scroll&quot;,CLI.closeOnScroll,!1))},displayHeader:function(){Boolean(this.settings.notify_animate_show)?this.bar_elm.slideDown(this.settings.animate_speed_show):this.bar_elm.show(),this.showagain_elm.hide(),CLI_COOKIEBAR_AS_POPUP&amp;&amp;this.showPopupOverlay()},hideHeader:function(){Boolean(this.settings.showagain_tab)?Boolean(this.settings.notify_animate_show)?this.showagain_elm.slideDown(this.settings.animate_speed_show):this.showagain_elm.show():this.showagain_elm.hide(),this.bar_elm.slideUp(this.settings.animate_speed_show),this.hidePopupOverlay()},hidePopupOverlay:function(){jQuery(&quot;body&quot;).removeClass(&quot;cli-barmodal-open&quot;),jQuery(&quot;.cli-popupbar-overlay&quot;).removeClass(&quot;cli-show&quot;)},showPopupOverlay:function(){this.bar_elm.length&amp;&amp;Boolean(this.settings.popup_overlay)&amp;&amp;(jQuery(&quot;body&quot;).addClass(&quot;cli-barmodal-open&quot;),jQuery(&quot;.cli-popupbar-overlay&quot;).addClass(&quot;cli-show&quot;))},barAsWidget:function(e){var t=this.bar_elm;t.attr(&quot;data-cli-type&quot;,&quot;widget&quot;);var i=jQuery(window),o=i.height()-40,i=i.width(),n;t.css({width:400&lt;i?300:i-30,height:&quot;auto&quot;,&quot;max-height&quot;:o,overflow:&quot;auto&quot;,position:&quot;fixed&quot;,&quot;box-sizing&quot;:&quot;border-box&quot;}),!1===this.checkifStyleAttributeExist()&amp;&amp;t.css({padding:&quot;25px 15px&quot;}),&quot;left&quot;==this.settings.widget_position?t.css({left:&quot;15px&quot;,right:&quot;auto&quot;,bottom:&quot;15px&quot;,top:&quot;auto&quot;}):t.css({left:&quot;auto&quot;,right:&quot;15px&quot;,bottom:&quot;15px&quot;,top:&quot;auto&quot;}),e&amp;&amp;this.setResize()},barAsPopUp:function(e){if(&quot;function&quot;==typeof cookie_law_info_bar_as_popup)return!1;var t=this.bar_elm;t.attr(&quot;data-cli-type&quot;,&quot;popup&quot;);var i=jQuery(window),o=i.height()-40,i=i.width(),i=700&lt;i?500:i-20;t.css({width:i,height:&quot;auto&quot;,&quot;max-height&quot;:o,bottom:&quot;&quot;,top:&quot;50%&quot;,left:&quot;50%&quot;,&quot;margin-left&quot;:i/2*-1,&quot;margin-top&quot;:&quot;-100px&quot;,overflow:&quot;auto&quot;}).addClass(&quot;cli-bar-popup cli-modal-content&quot;),!1===this.checkifStyleAttributeExist()&amp;&amp;t.css({padding:&quot;25px 15px&quot;}),cli_h=t.height(),li_h=cli_h&lt;200?200:cli_h,t.css({top:&quot;50%&quot;,&quot;margin-top&quot;:-1*(cli_h/2+30)}),setTimeout(function(){t.css({bottom:&quot;&quot;})},100),e&amp;&amp;this.setResize()},setResize:function(){var e=null;jQuery(window).resize(function(){clearTimeout(e),e=setTimeout(function(){CLI_COOKIEBAR_AS_POPUP&amp;&amp;CLI.barAsPopUp(),&quot;widget&quot;==CLI.settings.cookie_bar_as&amp;&amp;CLI.barAsWidget(),CLI.configShowAgain()},500)})},enableAllCookies:function(){jQuery(&quot;.cli-user-preference-checkbox&quot;).each(function(){var e=jQuery(this),t=e.attr(&quot;data-id&quot;);&quot;checkbox-necessary&quot;!=t&amp;&amp;(e.prop(&quot;checked&quot;,!0),CLI_Cookie.set(&quot;cookielawinfo-&quot;+t,&quot;yes&quot;,CLI_ACCEPT_COOKIE_EXPIRE))})},disableAllCookies:function(){jQuery(&quot;.cli-user-preference-checkbox&quot;).each(function(){var e=jQuery(this),t=e.attr(&quot;data-id&quot;);cliCategorySlug=t.replace(&quot;checkbox-&quot;,&quot;&quot;),-1===Cli_Data.strictlyEnabled.indexOf(cliCategorySlug)&amp;&amp;(e.prop(&quot;checked&quot;,!1),CLI_Cookie.set(&quot;cookielawinfo-&quot;+t,&quot;no&quot;,CLI_ACCEPT_COOKIE_EXPIRE))})},hideCookieBarOnClose:function(){jQuery(document).on(&quot;click&quot;,&quot;.cli_cookie_close_button&quot;,function(e){e.preventDefault();var t=jQuery(this);&quot;ccpa&quot;===Cli_Data.ccpaType&amp;&amp;CLI.enableAllCookies(),CLI.accept_close()})},checkCategories:function(){var t=[],i={};jQuery(&quot;.cli-user-preference-checkbox&quot;).each(function(){var e=!1;cli_chkbox_elm=jQuery(this),cli_chkbox_data_id=cli_chkbox_elm.attr(&quot;data-id&quot;),cli_chkbox_data_id=cli_chkbox_data_id.replace(&quot;checkbox-&quot;,&quot;&quot;),cli_chkbox_data_id_trimmed=cli_chkbox_data_id.replace(&quot;-&quot;,&quot;_&quot;),jQuery(cli_chkbox_elm).is(&quot;:checked&quot;)&amp;&amp;(e=!0,t.push(cli_chkbox_data_id)),i[cli_chkbox_data_id_trimmed]=e}),CLI.allowedCategories=t},cookieLawInfoRunCallBacks:function(){this.checkCategories(),&quot;yes&quot;==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&amp;&amp;&quot;function&quot;==typeof CookieLawInfo_Accept_Callback&amp;&amp;CookieLawInfo_Accept_Callback()},generateConsent:function(){var e=CLI_Cookie.read(CLI_PREFERNCE_COOKIE);cliConsent={},null!==e&amp;&amp;(cliConsent=window.atob(e),cliConsent=JSON.parse(cliConsent)),cliConsent.ver=Cli_Data.consentVersion,categories=[],jQuery(&quot;.cli-user-preference-checkbox&quot;).each(function(){categoryVal=&quot;&quot;,cli_chkbox_data_id=jQuery(this).attr(&quot;data-id&quot;),cli_chkbox_data_id=cli_chkbox_data_id.replace(&quot;checkbox-&quot;,&quot;&quot;),categoryVal=!!jQuery(this).is(&quot;:checked&quot;),cliConsent[cli_chkbox_data_id]=categoryVal}),cliConsent=JSON.stringify(cliConsent),cliConsent=window.btoa(cliConsent),CLI_Cookie.set(CLI_PREFERNCE_COOKIE,cliConsent,CLI_ACCEPT_COOKIE_EXPIRE)},addStyleAttribute:function(){var e=this.bar_elm,t=&quot;&quot;;0&lt;jQuery(e).find(&quot;.cli-bar-container&quot;).length&amp;&amp;(t=(t=(t=jQuery(&quot;.cli-bar-container&quot;).attr(&quot;class&quot;)).replace(&quot;cli-bar-container&quot;,&quot;&quot;)).trim(),jQuery(e).attr(&quot;data-cli-style&quot;,t))},getParameterByName:function(e,t){t=t||window.location.href,e=e.replace(/[\[\]]/g,&quot;\\$&amp;&quot;);var i,t=new RegExp(&quot;[?&amp;]&quot;+e+&quot;(=([^&amp;#]*)|&amp;|#|$)&quot;).exec(t);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g,&quot; &quot;)):&quot;&quot;:null},CookieLawInfo_Callback:function(e,t){e=void 0===e||e,t=void 0===t||t,!0===CLI.js_blocking_enabled&amp;&amp;!0===Boolean(Cli_Data.custom_integration)&amp;&amp;(cliBlocker.cookieBar(e),cliBlocker.runScripts(t))},checkifStyleAttributeExist:function(){var e=!1,t=this.bar_elm.attr(&quot;data-cli-style&quot;);return e=void 0!==t&amp;&amp;!1!==t?!0:e},reviewConsent:function(){jQuery(document).on(&quot;click&quot;,&quot;.cli_manage_current_consent,.wt-cli-manage-consent-link&quot;,function(){CLI.displayHeader()})},mayBeSetPreferenceCookie:function(){&quot;1&quot;===CLI.getParameterByName(&quot;cli_bypass&quot;)&amp;&amp;CLI.generateConsent()}},cliBlocker={blockingStatus:!0,scriptsLoaded:!1,ccpaEnabled:!1,ccpaRegionBased:!1,ccpaApplicable:!1,ccpaBarEnabled:!1,cliShowBar:!0,isBypassEnabled:CLI.getParameterByName(&quot;cli_bypass&quot;),checkPluginStatus:function(e,t){this.ccpaEnabled=Boolean(Cli_Data.ccpaEnabled),this.ccpaRegionBased=Boolean(Cli_Data.ccpaRegionBased),this.ccpaBarEnabled=Boolean(Cli_Data.ccpaBarEnabled),!0===Boolean(Cli_Data.custom_integration)?e(!1):(!0===this.ccpaEnabled?(this.ccpaApplicable=!0,&quot;ccpa&quot;===Cli_Data.ccpaType&amp;&amp;!0!==this.ccpaBarEnabled&amp;&amp;(this.cliShowBar=!1,this.blockingStatus=!1)):jQuery(&quot;.wt-cli-ccpa-opt-out,.wt-cli-ccpa-checkbox,.wt-cli-ccpa-element&quot;).remove(),&quot;1&quot;===cliBlocker.isBypassEnabled&amp;&amp;(cliBlocker.blockingStatus=!1),e(this.cliShowBar),t(this.blockingStatus))},cookieBar:function(e){cliBlocker.cliShowBar=e=void 0===e||e,!1===cliBlocker.cliShowBar?(CLI.bar_elm.hide(),CLI.showagain_elm.hide(),CLI.settingsModal.removeClass(&quot;cli-blowup cli-out&quot;),CLI.hidePopupOverlay(),jQuery(&quot;.cli-settings-overlay&quot;).removeClass(&quot;cli-show&quot;)):CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)?CLI.hideHeader():CLI.displayHeader()},removeCookieByCategory:function(){if(!0===cliBlocker.blockingStatus&amp;&amp;null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)){var e=Cli_Data.non_necessary_cookies,t;for(t in e)if(currentCategory=t,-1===CLI.allowedCategories.indexOf(currentCategory))for(var i=e[currentCategory],o=0;o&lt;i.length;o++)null!==CLI_Cookie.read(i[o])&amp;&amp;CLI_Cookie.erase(i[o])}},runScripts:function(e){cliBlocker.blockingStatus=e=void 0===e||e,srcReplaceableElms=[&quot;iframe&quot;,&quot;IFRAME&quot;,&quot;EMBED&quot;,&quot;embed&quot;,&quot;OBJECT&quot;,&quot;object&quot;,&quot;IMG&quot;,&quot;img&quot;];var e=function(e){n.renderScripts(),e(),cliBlocker.scriptsLoaded=!0},n={scriptsDone:function(){var e;void 0!==Cli_Data.triggerDomRefresh&amp;&amp;!0===Boolean(Cli_Data.triggerDomRefresh)&amp;&amp;((e=document.createEvent(&quot;Event&quot;)).initEvent(&quot;DOMContentLoaded&quot;,!0,!0),window.document.dispatchEvent(e))},seq:function(e,t,i){e[i=void 0===i?0:i](function(){++i===e.length?t():n.seq(e,t,i)})},insertScript:function(e,t){var i=&quot;&quot;,o=e.getAttribute(&quot;data-cli-script-type&quot;),n=e.getAttribute(&quot;data-cli-element-position&quot;),s=e.getAttribute(&quot;data-cli-block&quot;),i=document.createElement(&quot;script&quot;),a=cliBlocker.ccpaOptedOut();i.type=&quot;text/plain&quot;,e.async&amp;&amp;(i.async=e.async),e.defer&amp;&amp;(i.defer=e.defer),e.src?(i.onload=t,i.onerror=t,i.src=e.src):i.textContent=e.innerText;for(var c=jQuery(e).prop(&quot;attributes&quot;),l=0;l&lt;c.length;++l)&quot;id&quot;!==c[l].nodeName&amp;&amp;i.setAttribute(c[l].nodeName,c[l].value);!0===cliBlocker.blockingStatus?(&quot;yes&quot;==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&amp;&amp;-1!==CLI.allowedCategories.indexOf(o)&amp;&amp;(i.setAttribute(&quot;data-cli-consent&quot;,&quot;accepted&quot;),i.type=&quot;text/javascript&quot;),!0===cliBlocker.ccpaApplicable&amp;&amp;(!0!==a&amp;&amp;null!=CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)||(i.type=&quot;text/plain&quot;))):i.type=&quot;text/javascript&quot;,e.type!=i.type?((&quot;head&quot;===n?document.head:document.body).appendChild(i),e.src||t(),e.parentNode.removeChild(e)):t()},renderScripts:function(){var e=document.querySelectorAll(&#039;script[data-cli-class=&quot;cli-blocker-script&quot;]&#039;),i,o;0&lt;e.length&amp;&amp;(i=[],Array.prototype.forEach.call(e,function(t){o=t.getAttribute(&quot;type&quot;),i.push(function(e){n.insertScript(t,e)})}),n.seq(i,n.scriptsDone))}};e(cliBlocker.removeCookieByCategory)},ccpaOptedOut:function(){var e=!1,t=CLI_Cookie.read(CLI_PREFERNCE_COOKIE);return null!==t&amp;&amp;(cliConsent=window.atob(t),cliConsent=JSON.parse(cliConsent),void 0!==cliConsent.ccpaOptout&amp;&amp;(e=cliConsent.ccpaOptout)),e}};jQuery(document).ready(function(){&quot;undefined&quot;!=typeof cli_cookiebar_settings&amp;&amp;(CLI.set({settings:cli_cookiebar_settings}),!0===CLI.js_blocking_enabled&amp;&amp;cliBlocker.checkPluginStatus(cliBlocker.cookieBar,cliBlocker.runScripts))});