PageSourceSearch

https://ilsicilia.it/wp-content/cache/minify/be512.js?x67821

js ilsicilia.it collected 2026-10-02 07:50:41 UTC 87,376 bytes, 1 lines download raw bytes

1function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);c=!0);}catch(e){l=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,_toPropertyKey(i.key),i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var BricksIntersect=_createClass((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e);var n=t.element||!1,i=t.callback||!1,r=!t.hasOwnProperty("once")||t.once,o=!!t.hasOwnProperty("trigger")&&t.trigger;if("IntersectionObserver"in window){var a=!0,s=new IntersectionObserver((function(e,t){e.forEach((function(e){if("leaveView"===o?!e.isIntersecting:e.isIntersecting){if(a&&"leaveView"===o)return void(a=!1);n&&i&&i(e.target),r&&t.unobserve(e.target)}}))}),{threshold:t.threshold||0,root:t.root||null,rootMargin:(null==t?void 0:t.rootMargin)||"0px"});n instanceof Element&&s.observe(n)}else{var c=!1,l=function(){!1===c&&(c=!0,n.getBoundingClientRect().top<=window.innerHeight&&n.getBoundingClientRect().bottom>=0&&"none"!==window.getComputedStyle(n).display&&n&&i&&i(n),c=!1)};l(),document.addEventListener("scroll",l),window.addEventListener("resize",l),window.addEventListener("orientationchange",l)}}));function BricksIsInViewport(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function bricksQuerySelectorAll(e,t){if(Array.isArray(t)){var n=[];return t.forEach((function(t){n=n.concat(Array.prototype.slice.apply(e.querySelectorAll(t)))})),n}return Array.prototype.slice.apply(e.querySelectorAll(t))}var bricksUtils={subscribeEvents:function(e,t,n){t.forEach((function(t){e.addEventListener(t,(function(e){n(e)}))}))}},BricksFunction=function(){function e(t){var n,i,r,o,a=this;_classCallCheck(this,e),_defineProperty(this,"_customRun",null),_defineProperty(this,"_customEachElement",null),_defineProperty(this,"_customListenerHandler",null),_defineProperty(this,"_customAddEventListeners",null),_defineProperty(this,"_settings",{}),_defineProperty(this,"_initializedElements",new Set);var s={parentNode:document,selector:"",subscribeEvents:["bricks/ajax/pagination/completed","bricks/ajax/load_page/completed"],forceReinit:!1,frontEndOnly:!1,windowVariableCheck:[],additionalActions:[]};Object.assign(s,t),this._settings=s,this._customRun=null!==(n=null==t?void 0:t.run)&&void 0!==n?n:null,this._customEachElement=null!==(i=null==t?void 0:t.eachElement)&&void 0!==i?i:null,this._customListenerHandler=null!==(r=null==t?void 0:t.listenerHandler)&&void 0!==r?r:null,this._customAddEventListeners=null!==(o=null==t?void 0:t.addEventListeners)&&void 0!==o?o:null,this.cleanUpInitElements=this.cleanUpInitElements.bind(this),this.run=this.run.bind(this),this.eachElement=this.eachElement.bind(this),this.listenerHandler=this.listenerHandler.bind(this),this.addEventListeners=this.addEventListeners.bind(this),document.addEventListener("DOMContentLoaded",(function(){if(a.addEventListeners(),a._settings.additionalActions.length){var e,t=_createForOfIteratorHelper(a._settings.additionalActions);try{for(t.s();!(e=t.n()).done;){var n=e.value;"function"==typeof n&&n.call(a)}}catch(e){t.e(e)}finally{t.f()}}}))}return _createClass(e,[{key:"functionCanRun",value:function(){if(this._settings.frontEndOnly&&!document.body.classList.contains("bricks-is-frontend"))return!1;if(this._settings.windowVariableCheck.length){var e,t=_createForOfIteratorHelper(this._settings.windowVariableCheck);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(!window[n])return!1}}catch(e){t.e(e)}finally{t.f()}}return!0}},{key:"cleanUpInitElements",value:function(){var e,t=_createForOfIteratorHelper(this._initializedElements);try{for(t.s();!(e=t.n()).done;){var n=e.value;n.isConnected||this._initializedElements.delete(n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"eachElement",value:function(e){this._customEachElement&&"function"==typeof this._customEachElement&&this._customEachElement.call(this,e)}},{key:"run",value:function(e){var t=this;if(this.functionCanRun())if(this.cleanUpInitElements(),this._customRun&&"function"==typeof this._customRun)this._customRun.c
1all(this,e);else{var n=Object.assign({},this._settings);e&&Object.keys(e).forEach((function(t){n.hasOwnProperty(t)&&(n[t]=e[t])}));var i=bricksQuerySelectorAll(n.parentNode,n.selector);i.length&&i.forEach((function(e,i){if(n.forceReinit&&("function"==typeof n.forceReinit?n.forceReinit.call(t,e,i):n.forceReinit))return void t.eachElement(e,i);if(t._initializedElements.has(e)){var r=Array.from(t._initializedElements).find((function(t){return t===e}));r.isConnected||(t._initializedElements.delete(r),t._initializedElements.add(e,i),t.eachElement(e,i))}else t._initializedElements.add(e),t.eachElement(e,i)}))}}},{key:"listenerHandler",value:function(e){this._customListenerHandler&&"function"==typeof this._customListenerHandler?this._customListenerHandler.call(this,e):null!=e&&e.type&&(e.type,this.run())}},{key:"addEventListeners",value:function(){this.functionCanRun()&&(this._customAddEventListeners&&"function"==typeof this._customAddEventListeners?this._customAddEventListeners.call(this):this._settings.subscribeEvents.length&&bricksUtils.subscribeEvents(document,this._settings.subscribeEvents,this.listenerHandler))}}]),e}(),bricksLazyLoadFn=new BricksFunction({parentNode:document,selector:".bricks-lazy-hidden",eachElement:function(e){var t=window.bricksData.offsetLazyLoad||300;new BricksIntersect({element:e,callback:function(e){!function(e){if(e.classList.add("wait"),e.dataset.src&&(e.src=e.dataset.src,delete e.dataset.src),e.dataset.sizes&&(e.sizes=e.dataset.sizes,delete e.dataset.sizes),e.dataset.srcset&&(e.srcset=e.dataset.srcset,delete e.dataset.srcset),e.dataset.style){var t=e.getAttribute("style")||"";t+=e.dataset.style,e.setAttribute("style",t),e.classList.contains("splide__slide")||delete e.dataset.style}e.classList.remove("bricks-lazy-hidden"),e.classList.remove("wait"),e.classList.contains("bricks-lazy-load-isotope")&&bricksIsotope()}(e)},rootMargin:"".concat(t,"px")})},listenerHandler:function(e){setTimeout((function(){bricksLazyLoadFn.run()}),100)}});function bricksLazyLoad(){bricksLazyLoadFn.run()}var bricksAnimationFn=new BricksFunction({parentNode:document,selector:".brx-animated",removeAfterMs:3e3,eachElement:function(e){new BricksIntersect({element:e,callback:function(e){var t=e.dataset.animation;t&&(e.classList.add("brx-animate-".concat(t)),e.removeAttribute("data-animation"),e.addEventListener("animationend",(function(){var n;if(e.classList.remove("brx-animate-".concat(t)),e.classList.contains("brx-popup-content")&&t.includes("Out")){var i=e.closest(".brx-popup");i&&bricksClosePopup(i)}var r=null===(n=e.dataset)||void 0===n?void 0:n.animationId;if(r){var o=new CustomEvent("bricks/animation/end/".concat(r),{detail:{el:e}});document.dispatchEvent(o)}}),{once:!0}))}})},run:function(e){var t=bricksAnimationFn,n=(null==e?void 0:e.elementsToAnimate)||bricksQuerySelectorAll(t._settings.parentNode,t._settings.selector);t.removeAfterMs=(null==e?void 0:e.removeAfterMs)||t.removeAfterMs,n.forEach((function(e){t.eachElement(e)}))}});function bricksAnimation(){bricksAnimationFn.run()}var bricksInitQueryLoopInstancesFn=new BricksFunction({parentNode:document,selector:".brx-query-trail",subscribeEvents:["bricks/ajax/load_page/completed"],eachElement:function(e){var t,n,i=(null===(t=e.dataset)||void 0===t?void 0:t.observerMargin)||"1px",r=e.dataset.queryElementId,o=e.dataset.queryVars,a=null==e?void 0:e.classList.contains("bricks-isotope-sizer"),s=null==e?void 0:e.classList.contains("brx-infinite-scroll"),c=(null===(n=e.dataset)||void 0===n?void 0:n.brxAjaxLoader)||!1;window.bricksData.queryLoopInstances[r]={page:e.dataset.page,maxPages:e.dataset.maxPages,queryVars:o,observerMargin:i,infiniteScroll:s,isPostsElement:a,ajaxLoader:c};var l=a?e.previousElementSibling:Array.from(document.querySelectorAll(".brxe-".concat(r,":not(.brx-popup)"))).pop();a||e.remove(),l&&s&&(l.dataset.queryElementId=r,new BricksIntersect({element:l,callback:function(e){return bricksQueryLoadPage(e)},once:1,rootMargin:i}))}});function bricksInitQueryLoopInstances(){bricksInitQueryLoopInstancesFn.run()}function bricksAjaxLoader(){document.addEventListener("bricks/ajax/start",(function(e){var t=e.detail.queryId||!1;if(t){var n=window.bricksData.queryLoopInstances[t]||!1;if(n){var i=JSON.parse((null==n?void 0:n.ajaxLoader)||!1),r=(null==i?void 0:i.animation)||!1;if(r){var o,a=!(null==i||!i.selector)&&document.querySelector(i.selector);if(!a)a=n.isPostsElement?null===(o=document.querySelector('.bricks-isotope-sizer[data-query-element-id="'.concat(t,'"]')))||void 0===o?void 0:o.previousElementSibling:Array.from(document.querySelectorAll(".brxe-".concat(t,":not(.brx-popup)"))).pop();if(a){var s=a.nodeName.toLowerCase(),c=document.createElement(s);switch(c.classList.add("brx-loading-animation"),c.dataset.ajaxLoaderQueryId=t,null!=i&&i.color&&c.style.setProperty("--brx-loader-color",i.color),null!=i&&i.scale&&(c.style.transform="scale(".concat(i.scale,")")),r){case"default":c.innerHTML='<div class="brx-loading-default"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>';break;case"ellipsis":c.innerHTML='<div class="brx-loading-ellipsis"><div></div><div></div><div></div><div></div></div>';break;case"ring":c.innerHTML='<div class="brx-loading-ring"><div></div><div></div><div></div><div></div></div>';break;case"dual-ring":c.innerHTML='<div class="brx-loading-dual-ring"></div>';break;case"facebook":c.innerHTML='<div class="brx-loading-facebook"><div></div><div></div><div></div></div>';break;case"roller":c.innerHTML='<div class="brx-loading-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>';break;case"ripple":c.innerHTML='<div class="brx-loading-ripple"><div></div><div></div></div>';break;case"spinner":c.innerHTML='<div class="brx-loading-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'}a.insertAdjacentElement(null!=i&&i.selector?"beforeend":"afterend",c)}}}}})),document.addEventListener("bricks/ajax/end",(function(e){var t;(null!=e&&null!==(t=e.detail)&&void 0!==t&&t.queryId?document.querySelectorAll('.brx-loading-animation[data-ajax-loader-query-id="'.concat(e.detail.queryId,'"]')):[]).forEac
1h((function(e){return e.remove()}))}))}function bricksQueryLoadPage(e){return new Promise((function(t,n){var i,r=e.dataset.queryElementId,o=null===(i=window.bricksData.queryLoopInstances)||void 0===i?void 0:i[r];if(o&&(null==o||!o.isLoading)){var a=parseInt(o.page||1)+1,s=parseInt(o.maxPages||1);if(a>s)return delete window.bricksData.queryLoopInstances[r],void t({page:a,maxPages:s});window.bricksData.queryLoopInstances[r].isLoading=1;var c={postId:window.bricksData.postId,queryElementId:r,queryVars:o.queryVars,page:a,nonce:window.bricksData.nonce},l=window.bricksData.restApiUrl.concat("load_query_page");document.dispatchEvent(new CustomEvent("bricks/ajax/start",{detail:{queryId:r}}));var d=new XMLHttpRequest;d.open("POST",l,!0),d.setRequestHeader("Content-Type","application/json; charset=UTF-8"),d.setRequestHeader("X-WP-Nonce",window.bricksData.wpRestNonce),d.onreadystatechange=function(){if(d.readyState===XMLHttpRequest.DONE){var n=d.status;if(0===n||n>=200&&n<400){var i=JSON.parse(d.response),c=(null==i?void 0:i.html)||!1,l=(null==i?void 0:i.styles)||!1,u=(null==i?void 0:i.popups)||!1;c&&e.insertAdjacentHTML("afterend",c),u&&document.body.insertAdjacentHTML("beforeend",u),l&&document.body.insertAdjacentHTML("beforeend",l),window.bricksData.queryLoopInstances[r].page=a}window.bricksData.queryLoopInstances[r].isLoading=0,t({page:a,maxPages:s}),document.dispatchEvent(new CustomEvent("bricks/ajax/end",{detail:{queryId:r}})),setTimeout((function(){o.isPostsElement?newQueryTrail=e.parentNode.querySelector(".bricks-isotope-sizer").previousElementSibling:newQueryTrail=Array.from(document.querySelectorAll(".brxe-".concat(r,":not(.brx-popup)"))).pop(),document.dispatchEvent(new CustomEvent("bricks/ajax/load_page/completed",{detail:{queryTrailElement:newQueryTrail,queryId:r}})),o.infiniteScroll&&(newQueryTrail.dataset.queryElementId=r,BricksIsInViewport(newQueryTrail)?bricksQueryLoadPage(newQueryTrail):new BricksIntersect({element:newQueryTrail,callback:function(e){return bricksQueryLoadPage(e)},once:!0,rootMargin:o.observerMargin}))}),250)}},d.send(JSON.stringify(c))}}))}var bricksQueryPaginationFn=new BricksFunction({parentNode:document,selector:".brx-ajax-pagination a",subscribeEvents:["bricks/ajax/pagination/completed"],eachElement:function(e){var t;null!==(t=e.dataset)&&void 0!==t&&t.ajaxPagination||(e.dataset.ajaxPagination=1,e.addEventListener("click",(function(e){var t,n=e.currentTarget,i=n.getAttribute("href"),r=n.closest(".brx-ajax-pagination"),o=null==r||null===(t=r.dataset)||void 0===t?void 0:t.queryElementId,a=document.querySelector(".brxe-".concat(o));if(a){e.preventDefault(),document.dispatchEvent(new CustomEvent("bricks/ajax/start",{detail:{queryId:o}}));var s=new XMLHttpRequest;s.open("GET",i,!0),s.responseType="document",s.onload=function(){if(this.readyState===XMLHttpRequest.DONE){var e=this.status;if(0===e||e>=200&&e<400){var t=this.responseXML,n=a.parentNode,s=document.createElement("div");s.style.display="none",a.insertAdjacentElement("beforebegin",s),n.querySelectorAll(".brxe-".concat(o,":not(.brx-popup)")).forEach((function(e){return e.remove()})),t.querySelectorAll(".brxe-".concat(o,":not(.brx-popup)")).forEach((function(e){return s.insertAdjacentElement("beforebegin",e)})),s.remove(),document.querySelectorAll('.brx-popup[data-popup-loop="'.concat(o,'"]')).forEach((function(e){return e.remove()})),t.querySelectorAll('.brx-popup[data-popup-loop="'.concat(o,'"]')).forEach((function(e){return document.body.insertAdjacentElement("beforeend",e)}));
1var c=t.querySelector("#bricks-frontend-inline-inline-css"),l=document.querySelector("#bricks-frontend-inline-inline-css");l&&c&&l.replaceWith(c);var d=t.querySelector("#bricks-dynamic-data-inline-css"),u=document.querySelector("#bricks-dynamic-data-inline-css");u&&d&&u.replaceWith(d);var p=t.querySelector('.brx-ajax-pagination[data-query-element-id="'.concat(o,'"]'));r.replaceWith(p),document.dispatchEvent(new CustomEvent("bricks/ajax/end",{detail:{queryId:o}})),document.dispatchEvent(new CustomEvent("bricks/ajax/pagination/completed",{detail:{queryId:o}})),window.history.pushState({},"",i)}}},s.send()}})))}});function bricksQueryPagination(){bricksQueryPaginationFn.run()}function bricksStickyHeader(){var e=document.querySelector("#brx-header.sticky");if(e){var t,n,i=document.querySelector(".bricks-site-logo"),r=-1,o=e.hasAttribute("data-slide-up-after")?e.getAttribute("data-slide-up-after"):0;i&&(t=i.getAttribute("data-bricks-logo"),n=i.getAttribute("data-bricks-logo-inverse"));var a=function(){var a=window.pageYOffset;a>0?(e.classList.add("scrolling"),i&&n&&i.src!==n&&(i.src=n,i.srcset="")):(e.classList.remove("scrolling"),i&&t&&i.src!==t&&(i.src=t)),o&&(a>r&&r>=0?a>o&&(e.classList.add("slide-up"),e.classList.add("sliding")):(e.classList.remove("slide-up"),setTimeout((function(){e.classList.remove("sliding")}),400))),r=a};window.addEventListener("scroll",a),a()}}function bricksOnePageNavigation(){var e=document.getElementById("bricks-one-page-navigation");if(bricksIsFrontend&&e){var t=bricksQuerySelectorAll(document,"#brx-content > *"),n=[],i="",r="",o="";t&&(t.forEach((function(t){(i=t.getAttribute("id"))&&(n.push(i),o=document.createElement("li"),(r=document.createElement("a")).classList.add("bricks-one-page-".concat(i)),r.setAttribute("href","#".concat(i)),o.appendChild(r),e.appendChild(o))})),window.addEventListener("load",a),window.addEventListener("resize",a),document.addEventListener("scroll",a))}function a(){var e=window.scrollY;n.forEach((function(t){var n=document.getElementById(t),i=n.offsetTop,r=i+n.offsetHeight;e>=i-1&&e<r-1?document.querySelector(".bricks-one-page-".concat(t)).classList.add("active"):document.querySelector(".bricks-one-page-".concat(t)).classList.remove("active")}))}}function bricksSearchToggle(){bricksQuerySelectorAll(document,".brxe-search").forEach((function(e){var t=e.querySelector(".toggle"),n=e.querySelector(".bricks-search-overlay");if(t&&n){var i=n.previousElementSibling;document.addEventListener("keyup",(function(e){"Escape"===e.key&&("visible"===window.getComputedStyle(n).visibility&&(n.classList.remove("show"),i.focus(),i.setAttribute("aria-expanded",!1)))})),t.addEventListener("click",(function(){n.classList.toggle("show"),t.setAttribute("aria-expanded","false"===t.getAttribute("aria-expanded")),setTimeout((function(){e.querySelector("input[type=search]").focus()}),200)})),n.querySelector(".close").addEventListener("click",(function(){n.classList.remove("show"),i.focus(),i.setAttribute("aria-expanded",!1)}))}}))}var bricksAlertDismissFn=new BricksFunction({parentNode:document,selector:".brxe-alert svg",subscribeEvents:["bricks/ajax/pagination/completed","bricks/ajax/load_page/completed"],eachElement:function(e){e.addEventListener("click",(function(){e.closest(".brxe-alert").remove()}))}});function bricksAlertDismiss(){bricksAlertDismissFn.run()}var bricksTabsFn=new BricksFunction({parentNode:document,selector:".brxe-tabs, .brxe-tabs-nested",subscribeEvents:["bricks/ajax/pagination/completed","bricks/ajax/load_page/completed"],eachElement:function(e){var t=window.location.hash,n=e.querySelector(".tab-title"),i=n?Array.from(n.parentNode.children).filter((function(e){return e.classList.contains("tab-title")})):[],r=e.querySelector(".tab-pane"),o=r?Array.from(r.parentNode.children).filter((function(e){return e.classList.contains("tab-pane")})):[];if(i.length&&o.length){i.forEach((function(e,t){e.addEventListener("click",(function(){i.forEach((function(n,i){i===t?e.classList.add("brx-open"):n.classList.remove("brx-open")}
1)),o.forEach((function(e,n){n===t?e.classList.add("brx-open"):e.classList.remove("brx-open")}));var n=null!=e&&e.id&&!e.id.startsWith("brxe-")?"#".concat(e.id):"";n?history.pushState("",document.title,window.location.pathname+n):history.pushState("",document.title,window.location.pathname+window.location.search)}))}));var a=0;if(t){var s=i.findIndex((function(e){return(null==e?void 0:e.id)&&!e.id.startsWith("brxe-")&&e.id===t.replace("#","")}));a=-1!==s?s:0}i[a]&&i[a].classList.add("brx-open"),o[a]&&o[a].classList.add("brx-open")}}});function bricksTabs(){bricksTabsFn.run()}var bricksVideoOverlayClickDetectorFn=new BricksFunction({parentNode:document,selector:".bricks-video-overlay, .bricks-video-overlay-icon, .bricks-video-preview-image",subscribeEvents:["bricks/ajax/pagination/completed","bricks/ajax/load_page/completed"],frontEndOnly:!0,eachElement:function(e){e.addEventListener("click",(function(e){var t=e.target.closest(".brxe-video");if(t){var n=t.querySelector(".bricks-video-preview-image");if(n){var i=document.createElement("iframe");_toConsumableArray(n.attributes).forEach((function(e){"class"!==e.name&&"style"!==e.name&&("data-iframe-src"!==e.name?i.setAttribute(e.name,e.value):i.setAttribute("src",e.value))})),n.replaceWith(i)}var r=t.querySelector("iframe");r&&r.getAttribute("src")&&(r.src+="&autoplay=1");var o=t.querySelector("video");o&&o.play()}}))}});function bricksVideoOverlayClickDetector(){bricksVideoOverlayClickDetectorFn.run()}var bricksBackgroundVideoInitFn=new BricksFunction({parentNode:document,selector:".bricks-background-video-wrapper",subscribeEvents:["bricks/ajax/pagination/completed","bricks/ajax/load_page/completed"],forceReinit:function(e,t){return!bricksIsFrontend},eachElement:function(e){if(!e.classList.contains("loaded")){var t,n=e.getAttribute("data-background-video-url");if(n){var i=parseInt(e.getAttribute("data-background-video-show-at-breakpoint"));if(!(i&&window.innerWidth<i)){var r=e.getAttribute("data-background-video-scale"),o=e.getAttribute("data-background-video-ratio")||"16:9",a=parseInt(o.split(":")[0]||16),s=parseInt(o.split(":")[1]||9),c=parseInt(e.getAttribute("data-background-video-start"))||0,l=parseInt(e.getAttribute("data-background-video-end"))||0,d=1==e.getAttribute("data-background-video-loop");l<c&&(l=0);var u,p=!1,b=!1,v=!1;if(-1!==n.indexOf("youtube.com")){if(p=!0,b=!0,-1!==n.indexOf("watch?v=")){var m=n.lastIndexOf("=");t=n.slice(m+1)}else if(-1!==n.indexOf("embed/")){var f=n.lastIndexOf("/");t=n.slice(f+1)}n=n.replace("watch?v=","embed/")}if(-1!==n.indexOf("vimeo.com")&&(p=!0,v=!0,-1===n.indexOf("player.vimeo.com/video")&&(n=n.replace("vimeo.com","player.vimeo.com/video"))),p){if(b){if(!document.querySelector('script[src="https://www.youtube.com/iframe_api"]')){var g=document.createElement("script");g.src="https://www.youtube.com/iframe_api";var y=document.getElementsByTagName("script")[0];y.parentNode.insertBefore(g,y)}u=document.createElement("div"),bricksIsFrontend&&e.querySelector("video")&&e.removeChild(e.querySelector("video")),e.appendChild(u);var k=setInterval((function(){if(window.YT&&YT.Player){clearInterval(k);var e=new YT.Player(u,{width:"640",height:"360",videoId:t,playerVars:{autoplay:1,controls:0,start:c||void 0,mute:1,rel:0,showinfo:0,modestbranding:1,cc_load_policy:0,iv_load_policy:3,autohide:0,loop:0,playlist:t,enablejsapi:1},events:{onReady:function(t){if(l)var n=setInterval((function(){e.getCurrentTime()>=l&&(d?e.seekTo(c||0,!0):(e.pauseVideo(),clearInterval(n)))}),1e3)},onStateChange:function(t){d&&t.data==YT.PlayerState.ENDED&&e.seekTo(c||0,!0)}}})}}),100)}if(v){if(!document.querySelector('script[src="https://player.vimeo.com/api/player.js"]')){var h=document.createElement("script");h.src="https://player.vimeo.com/api/player.js";var w=document.getElementsByTagName("script")[0];w.parentNode.insertBefore(h,w)}bricksIsFrontend&&e.querySelector("video")&&e.removeChild(e.querySelector("video")),u=document.createElement("div"),e.appendChild(u);var x=n.split("/").pop(),S=setInterval((function(){if(window.Vimeo&&Vimeo.Player){clearInterval(S);var e=new Vimeo.Player(u,{id:x,width:640,autoplay:!0,controls:!1,background:!0,loop:d&&!c});c&&e.on("loaded",(function(){e.setCurrentTime(c)})),l&&e.on("timeupdate",(function(t){t.seconds>=l&&(d?(e.setCurrentTime(c||0),e.play()):e.pause())})),e.on("ended",(function(){d&&e.setCurrentTime(c||0).then((function(t){e.play()}))}))}}),100)}}else if(u=e.querySelector("video")){var L,E,I=null===(L=u.closest("[data-script-id]"))||void 0===L?void 0:L.getAttribute("data-script-id");d?u.hasAttribute("loop")||u.setAttribute("loop",""):u.removeAttribute("loop"),bricksIsFrontend||
1(u.currentTime=c||0),null!==(E=window.bricksData.videoInstances)&&void 0!==E&&E[I]||(window.bricksData.videoInstances[I]={}),window.bricksData.videoInstances[I].startTime=c,window.bricksData.videoInstances[I].endTime=l,window.bricksData.videoInstances[I].videoLoop=d;u.classList.contains("listening")||!c&&!l||(u.classList.add("listening"),u.addEventListener("loadedmetadata",(function(){window.bricksData.videoInstances[I].startTime&&(this.currentTime=window.bricksData.videoInstances[I].startTime,this.play())})),u.addEventListener("timeupdate",(function(){this.currentTime>=(window.bricksData.videoInstances[I].endTime||this.duration)-.25&&(window.bricksData.videoInstances[I].videoLoop?(this.currentTime=window.bricksData.videoInstances[I].startTime,u.paused&&this.play()):this.pause())})),u.addEventListener("ended",(function(){window.bricksData.videoInstances[I].videoLoop&&window.bricksData.videoInstances[I].startTime&&(this.currentTime=window.bricksData.videoInstances[I].startTime,this.play())})))}r&&(u.style.transform="translate(-50%, -50%) scale(".concat(r,")")),bricksIsFrontend?e.classList.contains("bricks-lazy-video")&&new BricksIntersect({element:e,callback:function(e){e.classList.remove("bricks-lazy-video"),p?e.appendChild(u):u.src=n}}):p?e.appendChild(u):u.src=n,e.classList.add("loaded"),new ResizeObserver((function(t){var n,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var r=n.value,o=void 0;if(r.contentBoxSize)o=(Array.isArray(r.contentBoxSize)?r.contentBoxSize[0]:r.contentBoxSize).inlineSize;else o=r.contentRect.width;var c=e.clientHeight,l=o*s/a;l<c&&(l=c,o=c*a/s),u.style.width="".concat(o,"px"),u.style.height="".concat(l,"px")}}catch(e){i.e(e)}finally{i.f()}})).observe(e)}}}}});function bricksBackgroundVideoInit(){bricksBackgroundVideoInitFn.run()}var bricksPhotoswipeFn=new BricksFunction({parentNode:document,selector:".bricks-lightbox",windowVariableCheck:["PhotoSwipeLightbox"],eachElement:function(e){var t=e,n="A"===e.tagName?"":"a",i=e.getAttribute("data-pswp-id"),r=e.getAttribute("data-animation-type")||"zoom";i&&(n=bricksQuerySelectorAll(document,'[data-pswp-id="'.concat(i,'"]')));var o={mainClass:"brx",gallery:t,counter:!t.classList.contains("brxe-carousel"),children:n,pswpModule:PhotoSwipe5,closeSVG:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>',showHideAnimationType:r},a=new PhotoSwipeLightbox(o);if(a.on("itemData",(function(t){var n=document.querySelector(".pswp__container"),i=e.getAttribute("data-pswp-video-url"),r=e.getAttribute("data-pswp-width"),o=e.getAttribute("data-pswp-height");if(r&&(r.includes("%")||r.includes("vw"))&&(r=window.innerWidth*(parseInt(r)/100)),o&&(o.includes("%")||o.includes("vh"))&&(o=window.innerHeight*(parseInt(o)/100)),r||(r=1280),o&&720!=o||(o=Math.round(r/16*9)),!n&&i){var a=bricksGetLightboxVideoNode(i);t.itemData={html:a.outerHTML,width:r,height:o}}})),a.on("contentAppend",(function(e){var t=e.content;if(t.element){var n=t.element.querySelector("video");n&&n.play()}})),t.classList.contains("brxe-carousel")){var s,c=t.getAttribute("data-script-id");null!==(s=bricksData.swiperInstances)&&void 0!==s&&null!==(s=s[c])&&void 0!==s&&s.loopedSlides&&(a.addFilter("numItems",(function(e,t){if(t.gallery){var n=0;t.gallery.classList.contains("brxe-carousel")&&(n=t.gallery.querySelectorAll(".swiper-slide-duplicate").length),e=e>n?e-n:e}return e})),a.addFilter("clickedIndex",(function(e,t){var n=t.target.closest(".swiper-slide");if(n){var i=bricksData.swiperInstances[c].slides.map((function(e,t){return{slide:e,index:t}})).filter(Boolean);if(i.length){var r=parseInt(n.dataset.swiperSlideIndex),o=i.filter((function(e){return e.slide.dataset.swiperSlideIndex==r}));o.length&&(e=o[0].index)}}return e})))}a.init()}});function bricksPhotoswipe(){bricksPhotoswipeFn.run()}function bricksGetLightboxVideoNode(e){if(e){hasContent=!0;var t=!1;if(-1!==e.indexOf("youtube.com")&&(t=!0,e=e.replace("watch?v=","embed/"),e+="?autoplay=1",e+="&rel=0"),-1!==e.indexOf("vimeo.com")&&(t=!0,-1===e.indexOf("player.vimeo.com/video")&&(e=e.replace("vimeo.com","player.vimeo.com/video")),e+="?autoplay=1"),t){var n=document.createElement("iframe");return n.setAttribute("src",e),n.setAttribute("allow","autoplay"),n.setAttribute("allowfullscreen",1),n}var i=document.createElement("video");return i.setAttribute("src",e),i.setAttribute("controls",1),i.setAttribute("playsinline",1),i}}var bricksAccordionFn=new BricksFunction({parentNode:document,selector:".brxe-accordion, .brxe-accordion-nested",eachElement:function(e){var t,n,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;e.style.transitionProperty="height, margin, padding",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(e.offsetHeight,"px"),e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0;var n=e.parentNode;window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),n.classList.remove("brx-open")}),t)},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return"none"===window.getComputedStyle(e).display?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;e.style.removeProperty("display");var n=window.getComputedStyle(e).display;"none"===n&&(n="block"),e.style.display=n;var i=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.transitionProperty="height, margin, padding",e.style.transitionDuration="".concat(t,"ms"),e.style.height="".concat(i,"px"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom");var r=e.parentNode;window.setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),r.classList.add("brx-open")}),t)}(e,t):i(e,t)},o=Array.from(e.children),a=e.hasAttribute("data-transition")?isNaN(e.dataset.transition)?0:e.dataset.transition:200,s=null===(t=e.dataset.scriptArgs)||void 0===t?void 0:t.includes("expandFirstItem"),c=null===(n=e.dataset.scriptArgs)||void 0===n?void 0:n.includes("independentToggle"),l=window.location.hash||"";(o=o.filter((function(e){return e.classList.contains("brxe-section")||e.classList.contains("brxe-container")||e.classList.contains("brxe-block")||e.classList.contains("brxe-div")||e.classList.contains("accordion-item")}
1))).forEach((function(t,n){0===n&&s&&t.classList.add("brx-open");var o=null!=t&&t.id&&!t.id.startsWith("brxe-")?"#".concat(t.id):"";o&&o===l&&t.classList.add("brx-open"),t.classList.contains("listening")||(t.classList.add("listening"),t.addEventListener("click",(function(t){var n=t.target.closest(".accordion-title-wrapper");if(n){var s=n.parentNode;if(s){var l=s.querySelector(".accordion-content-wrapper");if(l){if(t.stopPropagation(),!c){var d=e.querySelectorAll(".brx-open");d.length&&d.forEach((function(e){var t=e.querySelector(".accordion-content-wrapper");t&&t!==l&&i(t,a)}))}var u=!s.classList.contains("brx-open");o&&u?history.pushState("",document.title,window.location.pathname+o):history.pushState("",document.title,window.location.pathname+window.location.search),r(l,a)}}}})))}))}});function bricksAccordion(){bricksAccordionFn.run()}var bricksAnimatedTypingFn=new BricksFunction({parentNode:document,selector:".brxe-animated-typing",windowVariableCheck:["Typed"],eachElement:function(e){var t,n=e.dataset.scriptId;try{t=JSON.parse(e.dataset.scriptArgs)}catch(e){return!1}var i=e.querySelector(".typed");i&&(window.bricksData.animatedTypingInstances[n]&&!e.closest(".brxe-slider-nested.splide")&&window.bricksData.animatedTypingInstances[n].destroy(),t.hasOwnProperty("strings")&&t.strings&&(Array.isArray(t.strings)&&!t.strings.toString()||(window.bricksData.animatedTypingInstances[n]=new Typed(i,t))))}});function bricksAnimatedTyping(){bricksAnimatedTypingFn.run()}var bricksAudioFn=new BricksFunction({parentNode:document,selector:".brxe-audio",windowVariableCheck:["MediaElementPlayer"],eachElement:function(e){var t=e.querySelector("audio");if(t)new MediaElementPlayer(t)}});function bricksAudio(){bricksAudioFn.run()}var bricksPostReadingTimeFn=new BricksFunction({parentNode:document,selector:".brxe-post-reading-time",eachElement:function(e){var t=e.dataset.contentSelector||".brxe-post-content",n=document.querySelector(t);if(n||(n=document.querySelector("#brx-content")),n){var i=e.getAttribute("data-wpm")||200,r=e.getAttribute("data-prefix")||"",o=e.getAttribute("data-suffix")||"",a=n.textContent.split(" ").length,s=Math.ceil(a/parseInt(i));e.textContent=r+s+o}}});function bricksPostReadingTime(){bricksPostReadingTimeFn.run()}var bricksCountdownFn=new BricksFunction({parentNode:document,selector:".brxe-countdown",eachElement:function(e){countdown=function(e,t,n){var i=6e4*(("+"===t.timezone[3]?1:-1)*(60*parseInt(t.timezone.substring(4,6))+parseInt(t.timezone.substring(7,9)))),r=6e4*-(new Date).getTimezoneOffset(),o=t.date.replace(" ","T"),a=new Date(o).getTime()+r-i-(new Date).getTime();if(a<=0){if(clearInterval(e.dataset.bricksCountdownId),"hide"===t.action)return void(e.innerHTML="");if("text"===t.action)return void(e.innerHTML=t.actionText)}n&&(e.innerHTML="",t.fields.forEach((function(t){if(t.format){var n=document.createElement("div");if(n.classList.add("field"),t.prefix){var i=document.createElement("span");i.classList.add("prefix"),i.innerHTML=t.prefix,n.appendChild(i)}var r=document.createElement("span");if(r.classList.add("format"),n.appendChild(r),t.suffix){var o=document.createElement("span");o.classList.add("suffix"),o.innerHTML=t.suffix,n.appendChild(o)}e.appendChild(n)}})));var s=bricksQuerySelectorAll(e,".field"),c=Math.floor(a/864e5),l=Math.floor(a%864e5/36e5),d=Math.floor(a%36e5/6e4),u=Math.floor(a%6e4/1e3);t.fields.forEach((function(e,t){if(e.format){var n=e.format.toLowerCase();n.includes("%d")?(e.format.includes("%D")&&c<=9&&(c="0".concat(c)),s[t].querySelector(".format").innerHTML=n.replace("%d",a<=0?0:c)):n.includes("%h")?(e.format.includes("%H")&&l<=9&&(l="0".concat(l)),s[t].querySelector(".format").innerHTML=n.replace("%h",a<=0?0:l)):n.includes("%m")?(e.format.includes("%M")&&d<=9&&(d="0".concat(d)),s[t].querySelector(".format").innerHTML=n.replace("%m",a<=0?0:d)):n.includes("%s")&&(e.format.includes("%S")&&u<=9&&(u="0".concat(u)),s[t].querySelector(".format").innerHTML=n.replace("%s",a<=0?0:u))}}))};var t=e.dataset.bricksCountdownOptions;try{t=JSON.parse(t)}catch(e){return!1}if(t.hasOwnProperty("date")&&t.hasOwnProperty("fields")){var n=e.dataset.bricksCountdownId;n&&clearInterval(n),countdown(e,t,!0),n=setInterval(countdown,1e3,e,t,!1),e.dataset.bricksCountdownId=n}}});function bricksCountdown(){bricksCountdownFn.run()}var bricksCounterFn=new BricksFunction({parentNode:document,selector:".brxe-counter",subscribeEvents:["bricks/popup/open","bricks/ajax/pagination/completed","bricks/ajax/load_page/completed"],forceReinit:function(e,t){return e.closest(".brx-popup")},eachElement:function(e){var t=e.dataset.bricksCounterOptions;try{t=JSON.parse(t)}catch(e){return!1}var n=e.querySelector(".count"),i=t.hasOwnProperty("countFrom")?parseInt(t.countFrom):0,r=t.hasOwnProperty("countTo")?parseInt(t.countTo):100,o=t.hasOwnProperty("duration")?parseInt(t.duration):1e3;o<500&&(o=500);var a=o/(r-i),s=1;a<4&&(s=Math.ceil(4/a),a=4);var c=function(){var e=n.innerText.replace(/\D/g,""),o=(e=isNaN(e)?i:parseInt(e))+s<r?e+s:r;if(e>=r)return clearInterval(n.dataset.counterId),void delete n.dataset.counterId;
1n.innerText=t.thousands?o.toLocaleString():o},l=function(){n.innerText=i,null==n.dataset.counterId&&(n.dataset.counterId=setInterval(c,a))},d=n.closest(".brx-popup");d?d.classList.contains("hide")||l():new BricksIntersect({element:e,callback:l})},listenerHandler:function(e){var t;if(null!=e&&e.type)if("bricks/popup/open"===e.type){var n={parentNode:null!==(t=e.details)&&void 0!==t&&t.popupElement?e.details.popupElement:document};bricksCounterFn.run(n)}else bricksCounterFn.run()}});function bricksCounter(){bricksCounterFn.run()}var bricksTableOfContentsFn=new BricksFunction({parentNode:document,selector:".brxe-post-toc",eachElement:function(e){var t=e.dataset.scriptId;window.bricksData.tocbotInstances[t]&&tocbot.destroy();var n=e.dataset.contentSelector||".brxe-post-content",i=document.querySelector(n);if(i||(i=document.querySelector("#brx-content"))&&(n="#brx-content"),i){var r=e.dataset.headingSelectors||"h2, h3",o=i.querySelectorAll(r),a={};o.forEach((function(e){if(!e.id||a[e.id]){var n=function(e,t){var n=e.trim().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[!@#$%^&*()=:;,.„“"'`]/gi,"").replace(/\//gi,"-").split(" ").join("-");if(/^\d/.test(n))return"".concat(t,"-").concat(n);return n}(e.textContent,t);a[n]?(a[n]++,n="".concat(n,"-").concat(a[n])):a[n]=1,e.id=n}else a[e.id]=1})),headingsOffset=parseInt(e.dataset.headingsOffset)||0;var s=e.hasAttribute("data-smooth-scroll"),c={tocSelector:'.brxe-post-toc[data-script-id="'.concat(t,'"]'),contentSelector:n,headingSelector:r,ignoreSelector:e.dataset.ignoreSelector||".toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:e.dataset.collapseInactive?0:6,scrollSmooth:headingsOffset,scrollSmoothDuration:s&&headingsOffset?420:0,scrollSmoothOffset:headingsOffset?-headingsOffset:0,headingsOffset:headingsOffset,throttleTimeout:0,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,orderedList:!1,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0};tocbot.init(c),window.bricksData.tocbotInstances[t]=tocbot}}});function bricksTableOfContents(){bricksTableOfContentsFn.run()}var bricksFormFn=new BricksFunction({parentNode:document,selector:".brxe-form",eachElement:function(e){var t=e.getAttribute("data-element-id");bricksQuerySelectorAll(e,'input[type="checkbox"]').forEach((function(t){t.required&&t.addEventListener("click",(function(n){var i=t.getAttribute("name"),r=bricksQuerySelectorAll(e,'input[name="'.concat(i,'"]')),o=!1;r.forEach((function(e){!0===e.checked&&(o=!0)})),o?r.forEach((function(e){e.required=!1})):r.forEach((function(e){e.required=!0}))}))})),bricksQuerySelectorAll(e,".flatpickr").forEach((function(e){var t=e.dataset.bricksDatepickerOptions;t&&((t=JSON.parse(t)).disableMobile=!0,t.onReady=function(e,t,n){var i=n.altInput.previousElementSibling?n.altInput.previousElementSibling.getAttribute("aria-label"):"Date";n.altInput.setAttribute("aria-label",i||"Date")},flatpickr(e,t))}));var n={};bricksQuerySelectorAll(e,"input[type=file]").forEach((function(t){var i=t.getAttribute("data-files-ref"),r=t.getAttribute("data-maxsize")||!1,o=t.getAttribute("data-limit")||!1;r=!!r&&1024*parseInt(r)*1024,t.addEventListener("change",(function(a){var s=a.target.files,c=s.length,l=t.getAttribute("name");if(c)for(var d=e.querySelector('.file-result[data-files-ref="'.concat(i,'"]')),u=function(){var e=s[p],t=!1,i=d.cloneNode(!0);if(o&&n.hasOwnProperty(l)&&n[l].length>=o&&(t="limit"),r&&e.size>r&&(t="size"),t)i.classList.add("danger"),i.innerHTML=i.getAttribute("data-error-".concat(t)).replace("%s",e.name),setTimeout((function(){i.remove()}),5e3);else{n.hasOwnProperty(l)||(n[l]=[]),n[l].push(e),i.classList.add("show");var a=i.querySelector(".text"),c=i.querySelector(".remove");a.innerHTML=e.name,c.setAttribute("data-name",e.name),c.setAttribute("data-field",l),c.addEventListener("click",(function(e){for(var t=e.target.getAttribute("data-name"),r=e.target.getAttribute("data-field"),o=n[r],a=0;a<o.length;a++)if(o[a].name===t){n[l].splice(a,1);break}i.remove()}))}d.parentNode.insertBefore(i,d.nextSibling)},p=0;p<c;p++)u()}))})),e.addEventListener("submit",(function(i){if(i.preventDefault(),bricksIsFrontend){var r=document.getElementById("recaptcha-".concat(t)),o=e.querySelector(".recaptcha-error");
1if(r){var a=r.getAttribute("data-key");if(a)try{grecaptcha.ready((function(){try{grecaptcha.execute(a,{action:"bricks_form_submit"}).then((function(i){o.classList.remove("show"),bricksSubmitForm(t,e,n,i)})).catch((function(t){o.classList.add("show"),e.querySelector(".alert").innerText="Google reCaptcha ".concat(t)}))}catch(t){o.classList.add("show"),e.querySelector(".alert").innerText="Google reCaptcha ".concat(t)}}))}catch(t){o.classList.add("show"),e.querySelector(".alert").innerText="Google reCaptcha ".concat(t)}else o.classList.add("show")}else bricksSubmitForm(t,e,n,null)}}))}});function bricksForm(){bricksFormFn.run()}function bricksSubmitForm(e,t,n,i){var r=t.querySelector("button[type=submit]");r.classList.add("sending");var o=new FormData(t);o.append("action","bricks_form_submit"),o.append("postId",window.bricksData.postId),o.append("formId",e),o.append("recaptchaToken",i||""),o.append("nonce",window.bricksData.nonce),o.append("referrer",location.toString());var a=function(e){n[e].forEach((function(t){o.append("".concat(e,"[]"),t,t.name)}))};for(var s in n)a(s);var c=window.bricksData.ajaxUrl,l=new XMLHttpRequest;l.open("POST",c,!0),l.onreadystatechange=function(){var e,i,o,a,s,c=function(e){try{return JSON.parse(e)}catch(e){return null}}(l.response);if(window.bricksData.debug&&console.warn("bricks_form_submit",l,c),c){var d;if(!c.success||"mailchimp"!==(null===(e=c.data)||void 0===e?void 0:e.action)&&"sendgrid"!==(null===(i=c.data)||void 0===i?void 0:i.action)||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"bricksNewsletterSignup"})),c.success&&null!==(o=c.data)&&void 0!==o&&o.redirectTo)setTimeout((function(){window.location.href=c.data.redirectTo}),parseInt(null===(d=c.data)||void 0===d?void 0:d.redirectTimeout)||0);t.querySelector(".message")&&t.querySelector(".message").remove();var u=document.createElement("div");u.classList.add("message");var p,b=document.createElement("div");if(b.classList.add("text"),null!==(a=c.data)&&void 0!==a&&a.message)if(null!==(p=c.data.message)&&void 0!==p&&p.errors){var v=c.data.message.errors;Object.keys(v).forEach((function(e){b.innerHTML+=v[e][0]+"<br>"}))}else b.innerHTML=c.data.message;if(u.appendChild(b),null!==(s=c.data)&&void 0!==s&&s.info){var m=document.createElement("div"),f=document.createElement("div");f.innerHTML=c.data.info.join("<br>"),u.appendChild(m),m.appendChild(f)}else u.classList.add(c.data.type);if(t.appendChild(u),r.classList.remove("sending"),c.success){t.reset(),n={};var g=bricksQuerySelectorAll(t,".file-result");null!==g&&g.forEach((function(e){e.remove()}))}}},l.send(o)}var bricksIsotopeFn=new BricksFunction({parentNode:document,selector:".bricks-layout-wrapper.isotope",forceReinit:!0,windowVariableCheck:["Isotope"],eachElement:function(e){var t={itemSelector:".bricks-layout-item",percentPosition:!0},n=e.getAttribute("data-layout");
1"grid"===n?(t.layoutMode="fitRows",t.fitRows={gutter:".bricks-gutter-sizer"}):"masonry"!==n&&"metro"!==n||(t.masonry={columnWidth:".bricks-isotope-sizer",gutter:".bricks-gutter-sizer"});var i=new Isotope(e,t),r=e.parentNode.querySelector(".bricks-isotope-filters");r&&r.addEventListener("click",(function(e){var t=e.target.getAttribute("data-filter"),n=r.querySelector("li.active");t&&bricksIsFrontend&&(n&&n.classList.remove("active"),e.target.classList.add("active"),i.arrange({filter:t}))}))}});function bricksIsotope(){bricksIsotopeFn.run()}var bricksMapFn=new BricksFunction({parentNode:document,selector:".brxe-map",eachElement:function(e,t){setTimeout((function(){var t=function(){var t=e.dataset.bricksMapOptions;if(!t)return!1;try{return JSON.parse(t)}catch(e){return!1}}();if(t){var n=Array.isArray(null==t?void 0:t.addresses)?t.addresses:[{address:"Berlin, Germany"}],i=[],r={};null!=t&&t.marker&&(r.icon={url:t.marker},null!=t&&t.markerHeight&&null!=t&&t.markerWidth&&(r.icon.scaledSize=new google.maps.Size(parseInt(t.markerWidth),parseInt(t.markerHeight))));var o={};null!=t&&t.markerActive&&(o={url:t.markerActive},null!=t&&t.markerActiveHeight&&null!=t&&t.markerActiveWidth&&(o.scaledSize=new google.maps.Size(parseInt(t.markerActiveWidth),parseInt(t.markerActiveHeight))));var a=[],s=new google.maps.LatLngBounds,c="auto";t.draggable?t.scrollwheel&&t.draggable?c="cooperative":!t.scrollwheel&&t.draggable&&(c="greedy"):c="none",t.disableDefaultUI&&(t.fullscreenControl=!1,t.mapTypeControl=!1,t.streetViewControl=!1,t.zoomControl=!1);var l=t.zoom?parseInt(t.zoom):12,d={zoom:l,gestureHandling:c,fullscreenControl:t.fullscreenControl,mapTypeControl:t.mapTypeControl,streetViewControl:t.streetViewControl,zoomControl:t.zoomControl,disableDefaultUI:t.disableDefaultUI};t.zoomControl&&(null!=t&&t.maxZoom&&(d.maxZoom=parseInt(t.maxZoom)),null!=t&&t.minZoom&&(d.minZoom=parseInt(t.minZoom)));for(var u=new google.maps.Map(e,d),p=0;p<n.length;p++){var b=n[p];if(null!=b&&b.latitude&&null!=b&&b.longitude)f(b,{lat:parseFloat(b.latitude),lng:parseFloat(b.longitude)});else if(null!=b&&b.address){(new google.maps.Geocoder).geocode({address:b.address},m(b))}}if(null!=t&&t.type&&u.setMapTypeId(t.type),null!=t&&t.style)if("custom"===t.style&&null!=t&&t.customStyle){var v=JSON.stringify(t.customStyle);u.setOptions({styles:JSON.parse(v)})}else window.bricksData&&window.bricksData.mapStyles[t.style]&&u.setOptions({styles:JSON.parse(window.bricksData.mapStyles[t.style].style)})}function m(e){return function(t,n){if("OK"===n){var i=t[0].geometry.location;f(e,i)}else console.warn("Geocode error:",n)}}function f(e,t){r.map=u,r.position=t;var c=new google.maps.Marker(r);if(c.setMap(u),i.push(c),google.maps.event.addListener(c,"click",(function(){!function(e){var l;null!=r&&r.icon&&i.forEach((function(e){e.setIcon(r.icon)}));a.forEach((function(e){e.hide()})),null!==(l=o)&&void 0!==l&&l.url&&c.setIcon(o);var d,p="",b=(null==e?void 0:e.infoTitle)||!1,v=(null==e?void 0:e.infoSubtitle)||!1,m=(null==e?void 0:e.infoOpeningHours)||!1,f=(null==e?void 0:e.infoImages)||{};Array.isArray(f)||(f=Array.isArray(null===(d=f)||void 0===d?void 0:d.images)?f.images:[]);b&&(p+='<h3 class="title">'.concat(b,"</h3>"));v&&(p+='<p class="subtitle">'.concat(v,"</p>"));m&&(p+='<ul class="content">',(m=m.split("\n")).length&&m.forEach((function(e){p+="<li>".concat(e,"</li>")})),p+="</ul>");f.length&&(p+='<ul class="images bricks-lightbox">',f.forEach((function(t){p+="<li>",t.thumbnail&&t.src&&(p+='<a\n\t\t\t\t\t\t\t\t\tdata-pswp-src="'.concat(t.src,'"\n\t\t\t\t\t\t\t\t\tdata-pswp-width="').concat((null==t?void 0:t.width)||376,'"\n\t\t\t\t\t\t\t\t\tdata-pswp-height="').concat((null==t?void 0:t.height)||376,'"\n\t\t\t\t\t\t\t\t\tdata-pswp-id="').concat(e.id,'">'),p+='<img src="'.concat(t.thumbnail,'"/>'),p+="</a>"),p+="</li>"})),p+="</ul>");if(p){var g=parseInt(null==e?void 0:e.infoWidth)||300,y={content:p,disableAutoPan:!0,pixelOffset:new google.maps.Size(0,0),alignBottom:!1,infoBoxClearance:new google.maps.Size(20,20),enableEventPropagation:!1,zIndex:1001,boxStyle:{opacity:1,zIndex:999,top:0,left:0,width:"".concat(g,"px")}};void 0!==window.jQuery&&(y.closeBoxURL="",y.content+='<span class="close">×</span>');var k=new InfoBox(y);k.open(u,c),a.push(k),setTimeout((function(){var e=k.div_.offsetHeight,t=u.getProjection().fromLatLngToPoint(c.getPosition()),n=u.getProjection().fromPointToLatLng(new google.maps.Point(t.x,t.y-e*function(){var e=u.getCenter(),t=u.getZoom(),n=1,i=u.getProjection().fromLatLngToPoint(new google.maps.LatLng(e.lat()-n/Math.pow(2,t),e.lng()-n/Math.pow(2,t))),r=u.getProjection().fromLatLngToPoint(new google.maps.LatLng(e.lat()+n/Math.pow(2,t),e.lng()+n/Math.pow(2,t)));return Math.abs(r.x-i.x)}()/2));u.panTo(n)}),100),google.maps.event.addListener(k,"domready",(function(e){f.length&&bricksPhotoswipe(),void 0!==window.jQuery&&jQuery(".close").on("click",(function(){k.close(),null!=r&&r.icon&&c.setIcon(r.icon),n.length>1&&(s.extend(t),u.fitBounds(s),u.panToBounds(s))}))}))}}(e)})),s.extend(t),u.fitBounds(s),u.panToBounds(s),1===n.length)var d=google.maps.event.addListener(u,"idle",(function(){u.setZoom(l),google.maps.event.removeListener(d)}))}}),1e3*t)}});function bricksMap(){bricksMapFn.run()}var bricksPieChartFn=new BricksFunction({parentNode:document,selector:".brxe-pie-chart",windowVariableCheck:["EasyPieChart"],eachElement:function(e){new BricksIntersect({element:e,callback:function(e){var t=e.getElementsByTagName("canvas");t.length&&t[0].remove(),new EasyPieChart(e,{size:e.dataset.size&&e.dataset.size>0?e.dataset.size:160,lineWidth:e.dataset.lineWidth,barColor:e.dataset.barColor,trackColor:e.dataset.trackColor,lineCap:e.dataset.lineCap,scaleColor:e.dataset.scaleColor,scaleLength:e.dataset.scaleLength,rotate:0})},threshold:1})}});function bricksPieChart(){bricksPieChartFn.run()}var bricksPricingTablesFn=new BricksFunction({parentNode:document,selector:".brxe-pricing-tables",eachElement:function(e){var t=bricksQuerySelectorAll(e,".tab"),n=bricksQuerySelectorAll(e,".pricing-table");t.forEach((function(e){e.classList.contains("listening")||(e.classList.add("listening"),e.addEventListener("click",(function(){e.classList.contains("active")||(n.forEach((function(e){e.classList.toggle("active")})),t.forEach((function(e){e.classList.remove("active")})),e.classList.add("active"))})))}))}});function bricksPricingTables(){bricksPricingTablesFn.run()}var bricksPostReadingProgressBarFn=new BricksFunction({parentNode:document,selector:".brxe-post-reading-progress-bar",eachElement:function(e){var t=!!e.dataset.contentSelector&&document.querySelector(e.dataset.contentSelector);window.addEventListener("scroll",(function(){var n=window.scrollY,i=document.documentElement.scrollHeight-document.documentElement.clientHeight;if(t){var r=t.getBoundingClientRect();i=r.height,n=r.top>0?0:-r.top}
1e.setAttribute("value",Math.ceil(n/i*100))}))}});function bricksPostReadingProgressBar(){bricksPostReadingProgressBarFn.run()}var bricksProgressBarFn=new BricksFunction({parentNode:document,selector:".brxe-progress-bar .bar span",eachElement:function(e){new BricksIntersect({element:e,callback:function(){e.dataset.width&&setTimeout((function(){e.style.width=e.dataset.width}),"slow")},threshold:1})}});function bricksProgressBar(){bricksProgressBarFn.run()}var bricksSplideFn=new BricksFunction({parentNode:document,selector:".brxe-slider-nested.splide",windowVariableCheck:["Splide"],forceReinit:function(e,t){return!bricksIsFrontend},eachElement:function(e){var t=bricksQuerySelectorAll(e,[".splide__list > .brxe-container",".splide__list > .brxe-block",".splide__list > .brxe-div"]);t.forEach((function(e){e.classList.add("splide__slide"),e.dataset.id=e.id}));var n=e.dataset.scriptId;window.bricksData.splideInstances.hasOwnProperty(n)&&window.bricksData.splideInstances[n].destroy();var i=new Splide(e);i.mount(),window.bricksData.splideInstances[n]=i,t.forEach((function(t,n){if(t.dataset.id){t.id=t.dataset.id;var i=e.querySelector(".splide__pagination");if(i){var r=i.querySelector("li:nth-child(".concat(n+1,") .splide__pagination__page"));r&&r.setAttribute("aria-controls",t.id)}}if(!t.classList.contains("bricks-lazy-hidden")){var o=t.getAttribute("style")||"";t.dataset.style&&(o+=t.dataset.style,t.setAttribute("style",o))}}))}});function bricksSplide(){bricksSplideFn.run()}var bricksSwiperFn=new BricksFunction({parentNode:document,selector:".bricks-swiper-container",windowVariableCheck:["Swiper"],forceReinit:function(e,t){return!bricksIsFrontend},eachElement:function(e){var t;try{t=JSON.parse(e.dataset.scriptArgs)}catch(n){console.warn("bricksSwiper: Error parsing JSON of data-script-args",e),t={}}var n=e.classList.contains("[class*=brxe-]")?e:e.closest("[class*=brxe-]");if(n){bricksQuerySelectorAll(e,[".splide__list > .brxe-container",".splide__list > .brxe-block",".splide__list > .brxe-div"]).forEach((function(e){return e.classList.add("swiper-slide")}));var i=n.dataset.scriptId,r=window.bricksData.swiperInstances.hasOwnProperty(i)?window.bricksData.swiperInstances[i]:void 0;r&&r.destroy(),t.observer=!1,t.observeParents=!0,t.resizeObserver=!0,t.slidesToShow=t.hasOwnProperty("slidesToShow")?t.slidesToShow:1,t.slidesPerGroup=t.hasOwnProperty("slidesPerGroup")?t.slidesPerGroup:1,t.speed=t.hasOwnProperty("speed")?parseInt(t.speed):300,t.effect=t.hasOwnProperty("effect")?t.effect:"slide",t.spaceBetween=t.hasOwnProperty("spaceBetween")?t.spaceBetween:0,t.initialSlide=t.hasOwnProperty("initialSlide")?t.initialSlide:0,t.keyboard={enabled:bricksIsFrontend,onlyInViewport:!0,pageUpDown:!1},t.watchOverflow=!0,t.hasOwnProperty("effect")&&"flip"===t.effect&&(t.flipEffect={slideShadows:!1}),t.hasOwnProperty("effect")&&"fade"===t.effect&&(t.fadeEffect={crossFade:!0}),t.navigation&&(t.navigation={prevEl:n.querySelector(".bricks-swiper-button-prev"),nextEl:n.querySelector(".bricks-swiper-button-next")}),t.pagination&&(t.pagination={el:n.querySelector(".swiper-pagination"),type:"bullets",clickable:!0},1==t.dynamicBullets&&(delete t.dynamicBullets,t.pagination.dynamicBullets=!0)),r=new Swiper(e,t),window.bricksData.swiperInstances[i]=r}}});function bricksSwiper(){bricksSwiperFn.run()}var bricksVideoFn=new BricksFunction({parentNode:document,selector:".brxe-video",eachElement:function(e){bricksIsFrontend&&e.addEventListener("click",(function(){var t=e.querySelector(".bricks-video-overlay"),n=e.querySelector(".bricks-video-overlay-icon");t&&t.remove(),n&&n.remove()}));var t=e.querySelector("video");if(t){if(window.hasOwnProperty("Plyr")){var n,i=e.dataset.scriptId,r=e.querySelector(".bricks-plyr"),o=(null===(n=window.bricksData)||void 0===n||null===(n=n.videoInstances)||void 0===n?void 0:n[i])||void 0;o&&o.destroy(),r&&(o=new Plyr(r)),window.bricksData.videoInstances[i]=o}t.setAttribute("playsinline",!0)}}});function bricksVideo(){bricksVideoFn.run()}function bricksFacebookSDK(){if(document.querySelector(".brxe-facebook-page")){var e=window.bricksData.hasOwnProperty("locale")?window.bricksData.locale:"en_US",t=window.bricksData.hasOwnProperty("facebookAppId")?window.bricksData.facebookAppId:null,n="https://connect.facebook.net/".concat(e,"/sdk.js"),i=new XMLHttpRequest;i.open("GET",n),i.onreadystatechange=function(){if(4==this.readyState&&200==this.status){var e=document.createElement("script");e.type="text/javascript",e.id="bricks-facebook-page-sdk",e.appendChild(document.createTextNode(i.responseText)),document.body.appendChild(e),FB.init({appId:t,version:"v3.3",xfbml:!0})}},i.send()}}var bricksPrettifyFn=new BricksFunction({parentNode:document,selector:".prettyprint.prettyprinted",run:function(){if(window.hasOwnProperty("PR")){PR.prettyPrint();var e=bricksQuerySelectorAll(document,".prettyprint.prettyprinted");!bricksIsFrontend&&e.length&&e.forEach((function(e){e.classList.remove("prettyprinted"),PR.prettyPrint()}))}}});function bricksPrettify(){bricksPrettifyFn.run()}function bricksSkipLinks(){var e=bricksQuerySelectorAll(document,".skip-link");e&&e.forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n=document.getElementById(e.href.split("#")[1]);n&&(n.setAttribute("tabindex","-1"),n.addEventListener("blur",(function(){n.removeAttribute("tabindex")}),{once:!0}),n.focus())}))}))}var bricksInteractionsFn=new BricksFunction({parentNode:document,selector:"[data-interactions]",frontEndOnly:!0,eachElement:function(e){var t,n=[];try{n=JSON.parse(e.dataset.interactions)}catch(e){return console.info("error:bricksInteractions",e),!1}var i=(null===(t=e.dataset)||void 0===t?void 0:t.interactionId)||!1;
1n&&i&&n.forEach((function(t){var n,r=!1;if(null!=t&&t.trigger){if("scroll"===t.trigger){var o=0;if(null!=t&&t.scrollOffset)if((o=null==t?void 0:t.scrollOffset.replace("px","")).includes("%"))o=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)/100*parseInt(o);else o.includes("vh")&&(o=window.innerHeight/100*parseInt(o));t.scrollOffset=o}else"mouseleaveWindow"===t.trigger&&(t.trigger="mouseleave",r=!0);if("loadMore"===t.action){var a,s=null==t?void 0:t.loadMoreQuery;null!==(a=window.bricksData.queryLoopInstances)&&void 0!==a&&a[s]||(e.style.display="none")}if(e)switch(t.el=e,t.groupId=r?"document":i,null!==(n=window.bricksData)&&void 0!==n&&n.interactions||(window.bricksData.interactions=[]),window.bricksData.interactions.push(t),t.trigger){case"click":case"mouseover":case"mouseenter":case"mouseleave":case"focus":case"blur":(r?document.documentElement:e).addEventListener(t.trigger,bricksInteractionCallback,{once:null==t?void 0:t.runOnce});break;case"animationEnd":var c=(null==t?void 0:t.animationId)||!1;if(!c){var l=window.bricksData.interactions.filter((function(e){return e.groupId===i&&"startAnimation"===e.action&&e.id!==t.id}));l.length&&(c=l[l.length-1].id)}c&&c!==t.id&&document.addEventListener("bricks/animation/end/".concat(c),(function(n){bricksInteractionCallbackExecution(e,t)}),{once:null==t?void 0:t.runOnce});break;case"contentLoaded":var d=(null==t?void 0:t.delay)||0;d&&d.includes("ms")?d=parseInt(d):d&&d.includes("s")&&(d=1e3*parseFloat(d)),setTimeout((function(){bricksInteractionCallbackExecution(e,t)}),d);break;case"enterView":case"leaveView":new BricksIntersect({element:e,callback:function(e){return bricksInteractionCallbackExecution(e,t)},once:null==t?void 0:t.runOnce,trigger:null==t?void 0:t.trigger});break;case"showPopup":case"hidePopup":var u="showPopup"===t.trigger?"bricks/popup/open":"bricks/popup/close";document.addEventListener(u,(function(n){var i,r=(null===(i=n.detail)||void 0===i?void 0:i.popupElement)||!1;if(r&&r===e){var o=window.bricksData.interactions.findIndex((function(e){return e===t}));-1!==o&&(null!=t&&t.runOnce&&window.bricksData.interactions.splice(o,1),bricksInteractionCallbackExecution(e,t))}}));break;case"ajaxStart":case"ajaxEnd":var p="ajaxStart"===t.trigger?"bricks/ajax/start":"bricks/ajax/end",b=(null==t?void 0:t.ajaxQueryId)||!1;if(!b)return;document.addEventListener(p,(function(n){var i,r=(null===(i=n.detail)||void 0===i?void 0:i.queryId)||!1;if(r&&r===b){var o=window.bricksData.interactions.findIndex((function(e){return e===t}));-1!==o&&(null!=t&&t.runOnce&&window.bricksData.interactions.splice(o,1),bricksInteractionCallbackExecution(e,t))}}))}}}))}});function bricksInteractions(){bricksInteractionsFn.run()}function bricksPopups(){document.addEventListener("bricks/popup/open",(function(e){var t,n,i=(null===(t=e.detail)||void 0===t?void 0:t.popupElement)||!1,r=parseInt(i.getAttribute("data-popup-show-at"));if(r&&window.innerWidth<r)i.classList.add("hide");else if(i&&bricksIsFrontend){setTimeout((function(){var e,t,n;if(null===(e=i.dataset)||void 0===e||!e.popupDisableAutoFocus){var r=bricksGetFocusables(i);r.length&&r[0].focus()}null!==(t=i.dataset)&&void 0!==t&&t.popupScrollToTop&&(null===(n=i.querySelector(".brx-popup-content"))||void 0===n||n.scrollTo(0,0))}),100);var o=function(e){return function(e,t){if("Tab"===e.key){e.preventDefault();var n=bricksGetFocusables(t);if(!n.length)return;var i=n.indexOf(document.activeElement),r=n[e.shiftKey?i-1:i+1];r?r.focus():n[0].focus()}}(e,i)};document.addEventListener("keydown",o),document.addEventListener("bricks/popup/close",(function(){document.removeEventListener("keydown",o)}));var a=(null===(n=i.dataset)||void 0===n?void 0:n.popupCloseOn)||"backdrop-esc";if(a.includes("esc")){var s=function(e){return function(e,t){"Escape"===e.key&&bricksClosePopup(t)}(e,i)};document.addEventListener("keyup",s),document.addEventListener("bricks/popup/close",(function(){document.removeEventListener("keyup",s)}))}if(a.includes("backdrop")){var c=function(e){return function(e,t){e.target.classList.contains("brx-popup-backdrop")&&bricksClosePopup(t)}(e,i)};document.addEventListener("click",c),document.addEventListener("bricks/popup/close",(function(){document.removeEventListener("click",c)}))}}}))}function bricksScrollInteractions(){clearTimeout(bricksScrollTimeout),bricksScrollTimeout=setTimeout((function(){var e,t=Array.isArray(null===(e=window.bricksData)||void 0===e?void 0:e.interactions)?window.bricksData.interactions:[],n=window.scrollY,i=[];t.forEach((function(e,t){"scroll"===(null==e?void 0:e.trigger)&&n>=e.scrollOffset&&(bricksInteractionCallbackExecution(e.el,e),null!=e&&e.runOnce&&i.push(t))}
1)),i.forEach((function(e){window.bricksData.interactions.splice(e,1)}))}),100)}function bricksInteractionCallback(e){var t;if("click"===(null==e?void 0:e.type)){var n;if("A"===e.target.tagName&&"#"!==e.target.getAttribute("href")&&null!==(n=e.target.getAttribute("href"))&&void 0!==n&&n.startsWith("#"))return;e.preventDefault()}var i=(null==e||null===(t=e.currentTarget)||void 0===t||null===(t=t.dataset)||void 0===t?void 0:t.interactionId)||"document";window.bricksData.interactions.filter((function(e){return e.groupId===i})).forEach((function(t){(null==t?void 0:t.trigger)===e.type&&bricksInteractionCallbackExecution(t.el,t)}))}function bricksInteractionCallbackExecution(e,t){var n,i,r,o=(null==t?void 0:t.target)||"self";if(bricksInteractionCheckConditions(t)){switch(o){case"custom":null!=t&&t.targetSelector&&(r=bricksQuerySelectorAll(document,t.targetSelector));break;case"popup":var a;if(null!=t&&t.templateId)null!==(a=e.dataset)&&void 0!==a&&a.interactionLoopId&&(r=bricksQuerySelectorAll(document,'.brx-popup[data-popup-id="'.concat(t.templateId,'"][data-popup-loop-id="').concat(e.dataset.interactionLoopId,'"]'))),r&&r.length||(r=bricksQuerySelectorAll(document,'.brx-popup[data-popup-id="'.concat(t.templateId,'"]')));break;default:r=e}if(r)switch(r=Array.isArray(r)?r:[r],null==t?void 0:t.action){case"show":case"hide":r.forEach((function(e){null!=e&&e.classList.contains("brx-popup")?"show"===t.action?bricksOpenPopup(e):"hide"===t.action&&bricksClosePopup(e):"hide"===t.action?e.style.display="none":"none"===e.style.display?(e.style.display=null,"none"===window.getComputedStyle(e).display&&(e.style.display="block")):e.style.display="block"}));break;case"setAttribute":case"removeAttribute":case"toggleAttribute":var s=null==t?void 0:t.actionAttributeKey;s&&r.forEach((function(e){var n=(null==t?void 0:t.actionAttributeValue)||"";"class"===s?(n?n.split(" "):[]).forEach((function(n){"setAttribute"===t.action?e.classList.add(n):"removeAttribute"===t.action?e.classList.remove(n):e.classList.toggle(n)})):"setAttribute"===t.action?e.setAttribute(s,n):"removeAttribute"===t.action||e.hasAttribute(s)?e.removeAttribute(s):e.setAttribute(s,n)}));break;case"storageAdd":case"storageRemove":case"storageCount":var c=null==t?void 0:t.storageType,l=null==t?void 0:t.actionAttributeKey,d=t.hasOwnProperty("actionAttributeValue")?t.actionAttributeValue:0;if(c&&l)if("storageAdd"===t.action)bricksStorageSetItem(c,l,d);else if("storageRemove"===t.action)bricksStorageRemoveItem(c,l);else if("storageCount"===t.action){var u=bricksStorageGetItem(c,l);bricksStorageSetItem(c,l,(u=u?parseInt(u):0)+1)}break;case"startAnimation":var p=null==t?void 0:t.animationType;p&&r.forEach((function(e){var n,i=1e3,r=null===(n=e)||void 0===n?void 0:n.classList.contains("brx-popup");if(r&&(e=e.querySelector(".brx-popup-content")),null!=t&&t.animationDuration&&(e.style.animationDuration=t.animationDuration,t.animationDuration.includes("ms")?i=parseInt(t.animationDuration):t.animationDuration.includes("s")&&(i=1e3*parseFloat(t.animationDuration))),null!=t&&t.animationDelay&&(e.style.animationDelay=t.animationDelay,t.animationDelay.includes("ms")?i+=parseInt(t.animationDelay):t.animationDelay.includes("s")&&(i+=1e3*parseFloat(t.animationDelay))),r&&"showPopup"!==t.trigger&&"hidePopup"!==t.trigger){var o=e.parentNode;p.includes("In")&&bricksOpenPopup(o,i)}e.classList.add("brx-animated"),e.setAttribute("data-animation",p),e.setAttribute("data-animation-id",t.id||""),bricksAnimationFn.run({elementsToAnimate:[e],removeAfterMs:i})}));break;case"loadMore":var b=null==t?void 0:t.loadMoreQuery,v=null===(n=window.bricksData.queryLoopInstances)||void 0===n?void 0:n[b];if(!v)return;var m=v.isPostsElement?null===(i=document.querySelector('.bricks-isotope-sizer[data-query-element-id="'.concat(b,'"]')))||void 0===i?void 0:i.previousElementSibling:Array.from(document.querySelectorAll(".brxe-".concat(b,":not(.brx-popup)"))).pop();m&&(e.classList.contains("is-loading")||(e.classList.add("is-loading"),m.dataset.queryElementId=b,bricksQueryLoadPage(m).then((function(t){e.classList.remove("is-loading"),(null==t?void 0:t.page)>=(null==t?void 0:t.maxPages)&&(e.style.display="none")}))))}}}function bricksOpenPopup(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(bricksIsFrontend&&(e&&(e.nodeType===Node.ELEMENT_NODE?t=e:e&&(t=document.querySelector('.brx-popup[data-popup-id="'.concat(e,'"]')))),t)){var i=t.dataset.popupId;if(bricksPopupCheckLimit(t)){t.classList.remove("hide"),t.dataset.popupBodyScroll||document.body.classList.add("no-scroll"),bricksSetVh();var r=new CustomEvent("bricks/popup/open",{detail:{popupId:i,popupElement:t}});document.dispatchEvent(r),setTimeout((function(){bricksCounter()}),n),bricksPopupCounter(t)}}}function bricksClosePopup(e){var t;if(bricksIsFrontend&&(e&&(e.nodeType===Node.ELEMENT_NODE?t=e:e&&(t=document.querySelector('.brx-popup[data-popup-id="'.concat(e,'"]')))),t)){var n=t.dataset.popupId;t.classList.add("hide"),t.dataset.popupBodyScroll||document.body.classList.remove("no-scroll");var i=new CustomEvent("bricks/popup/close",{detail:{popupId:n,popupElement:t}});document.dispatchEvent(i)}}function bricksPopupCheckLimit(e){var t,n,i=null==e||null===(t=e.dataset)||void 0===t?void 0:t.popupLimits,r=null==e||null===(n=e.dataset)||void 0===n?void 0:n.popupId;if(!i)return!0;try{i=JSON.parse(i)}catch(e){return console.info("error:bricksPopupCheckLimit",e),!0}var o=!1;
1return Object.entries(i).forEach((function(e){var t=_slicedToArray(e,2),n=t[0],i=t[1],a=bricksStorageGetItem(n,"brx_popup_".concat(r,"_total"));a=a?parseInt(a):0,o=o||a>=i})),!o}function bricksPopupCounter(e){var t,n,i=null==e||null===(t=e.dataset)||void 0===t?void 0:t.popupLimits,r=null==e||null===(n=e.dataset)||void 0===n?void 0:n.popupId;if(i){try{i=JSON.parse(i)}catch(e){return console.info("error:bricksPopupCounter",e),!0}Object.entries(i).forEach((function(e){var t=_slicedToArray(e,2),n=t[0],i=(t[1],bricksStorageGetItem(n,"brx_popup_".concat(r,"_total")));i=i?parseInt(i):0,bricksStorageSetItem(n,"brx_popup_".concat(r,"_total"),i+1)}))}}function bricksInteractionCheckConditions(e){if(!Array.isArray(null==e?void 0:e.interactionConditions))return!0;var t=(null==e?void 0:e.interactionConditionsRelation)||"and",n="and"===t,i=function(e){return isNaN(e)?0:parseFloat(e)};return e.interactionConditions.forEach((function(e){var r=null==e?void 0:e.conditionType,o=(null==e?void 0:e.storageKey)||!1,a=!1;if(r&&o){var s=(null==e?void 0:e.storageCompare)||"exists",c=null==e?void 0:e.storageCompareValue,l=bricksStorageGetItem(r,o);switch(s){case"exists":a=null!==l;break;case"notExists":a=null===l;break;case"==":a=l==c;break;case"!=":a=l!=c;break;case">=":a=i(l)>=i(c);break;case"<=":a=i(l)<=i(c);break;case">":a=i(l)>i(c);break;case"<":a=i(l)<i(c)}}else a=!0;n="and"===t?n&&a:n||a})),n}function bricksStorageGetItem(e,t){if(t){var n;try{switch(e){case"windowStorage":n=window.hasOwnProperty(t)?window[t]:null;break;case"sessionStorage":n=sessionStorage.getItem(t);break;case"localStorage":n=localStorage.getItem(t)}}catch(e){console.info("error:bricksStorageGetItem",e)}return n}}function bricksStorageSetItem(e,t,n){if(t)try{switch(e){case"windowStorage":window[t]=n;break;case"sessionStorage":sessionStorage.setItem(t,n);break;case"localStorage":localStorage.setItem(t,n)}}catch(e){console.info("error:bricksStorageSetItem",e)}}function bricksStorageRemoveItem(e,t){if(t)try{switch(e){case"windowStorage":delete window[t];break;case"sessionStorage":sessionStorage.removeItem(t);break;case"localStorage":localStorage.removeItem(t)}}catch(e){console.info("error:bricksStorageRemoveItem",e)}}function bricksNavNested(){if(bricksIsFrontend){var e=new MutationObserver((function(e){e.forEach((function(e){if("attributes"===e.type&&"class"===e.attributeName){var t=e.target;if(t.classList.contains("brx-open")){bricksSetVh(),document.body.classList.add("no-scroll");var n=t.querySelector(".brx-nav-nested-items button.brxe-toggle");if(n)setTimeout((function(){n.classList.add("is-active"),n.setAttribute("aria-expanded",!0),n.focus()}),10);else{var i=bricksGetFocusables(t);i.length&&i[0].focus()}}else{document.body.classList.remove("no-scroll");var r=t.dataset.toggleScriptId,o=document.querySelector('button[data-script-id="'.concat(r,'"]'));o&&(o.setAttribute("aria-expanded",!1),o.classList.remove("is-active"),o.focus())}}}))})),t=bricksQuerySelectorAll(document,".brxe-nav-nested");t.length&&(t.forEach((function(t){e.observe(t,{attributes:!0,attributeFilter:["class"]})})),document.addEventListener("keyup",(function(e){"Escape"===e.key&&bricksNavNestedClose()})),document.addEventListener("click",(function(e){var t=e.target.closest(".brxe-nav-nested"),n=e.target.closest(".brxe-toggle");t||n||bricksNavNestedClose()})))}}function bricksNavNestedClose(){bricksQuerySelectorAll(document,".brxe-nav-nested.brx-open").forEach((function(e){e.classList.add("brx-closing"),setTimeout((function(){e.classList.remove("brx-closing"),e.classList.remove("brx-open")}),200)}))}function bricksOffcanvas(){if(bricksIsFrontend){var e=bricksQuerySelectorAll(document,".brxe-offcanvas");if(e.length){var t=new MutationObserver((function(e){e.forEach((function(e){if("attributes"===e.type&&"class"===e.attributeName){var t=e.target,n=t.querySelector(".brx-offcanvas-inner"),i=n?i=1e3*parseFloat(window.getComputedStyle(n).getPropertyValue("transition-duration")):200;if(t.classList.contains("brx-open")){if(bricksSetVh(),"offset"===t.dataset.effect&&n){var r=t.getAttribute("data-direction"),o=window.getComputedStyle(n).getPropertyValue("transition");document.body.style.margin="0",document.body.style.transition=o.replace("transform","margin"),"top"===r?document.body.style.marginTop="".concat(n.offsetHeight,"px"):"bottom"===r?document.body.style.marginTop="-".concat(n.offsetHeight,"px"):"left"===r?(document.body.style.marginLeft="".concat(n.offsetWidth,"px"),document.body.style.overflowX="hidden"):"right"===r&&(document.body.style.marginLeft="-".concat(n.offsetWidth,"px"),document.body.style.overflowX="hidden")}t.dataset.noScroll&&document.body.classList.add("no-scroll");var a=bricksGetFocusables(t);a.length&&a[0].focus();var s=t.querySelector(".brx-offcanvas-inner > button.brxe-toggle");s&&(s.classList.add("is-active"),s.setAttribute("aria-expanded",!0))}else{t.style.visibility="visible";var c=t.dataset.toggleScriptId,l=document.querySelector('button[data-script-id="'.concat(c,'"]'));l&&(l.setAttribute("aria-expanded",!1),l.classList.remove("is-active"),l.focus()),"offset"===t.dataset.effect&&(document.body.style.marginTop&&(document.body.style.margin="0"),setTimeout((function(){document.body.style.margin=null,document.body.style.overflow=null,document.body.style.transition=null}),i)),setTimeout((function(){t.style.visibility=null,t.dataset.noScroll&&(document.body.classList.remove("no-scroll"),bricksSubmenuPosition())}),i)}}}))}));e.forEach((function(e){t.observe(e,{attributes:!0,attributeFilter:["class"]});var n=e.querySelector(".brx-offcanvas-backdrop");n&&n.addEventListener("click",(function(e){bricksOffcanvasClose()}))})),document.addEventListener("keyup",(function(e){"Escape"===e.key&&bricksOffcanvasClose()}))}}}function bricksOffcanvasClose(){bricksQuerySelectorAll(document,".brxe-offcanvas.brx-open").forEach((function(e){e.classList.remove("brx-open")}))}function bricksToggleDisplay(){var e=bricksQuerySelectorAll(document,".brxe-toggle");e.length&&e.forEach((function(e){!e.closest(".brx-nav-nested-items")||e.parentNode.classList.contains("brx-nav-nested-items")||e.parentNode.classList.contains("brx-toggle-div")||("none"===window.getComputedStyle(e).display?e.parentNode.style.display="none":e.parentNode.style.display=null)}))}
1function bricksToggle(){if(bricksIsFrontend){var e=bricksQuerySelectorAll(document,".brxe-toggle");e.length&&(bricksToggleDisplay(),e.forEach((function(e){e.addEventListener("click",(function(t){var n,i,r;t.preventDefault();var o=(null===(n=e.dataset)||void 0===n?void 0:n.selector)||".brxe-offcanvas",a=(null===(i=e.dataset)||void 0===i?void 0:i.attribute)||"class",s=(null===(r=e.dataset)||void 0===r?void 0:r.value)||"brx-open",c=!!o&&document.querySelector(o);if(c||(c=e.closest(".brxe-nav-nested")),c||(c=e.closest(".brxe-offcanvas")),c){document.querySelector(".brx-has-megamenu")&&(t.target.closest('[data-effect="offset"]')||bricksSubmenuPosition(0)),e.dataset.scriptId&&!c.dataset.toggleScriptId&&(c.dataset.toggleScriptId=e.dataset.scriptId);var l="true"===e.getAttribute("aria-expanded");e.setAttribute("aria-expanded",!l),e.classList.toggle("is-active"),"class"===a?e.closest(".brxe-nav-nested")&&"brx-open"===s&&c.classList.contains("brx-open")?(c.classList.add("brx-closing"),setTimeout((function(){c.classList.remove("brx-closing"),c.classList.remove("brx-open")}),200)):c.classList.toggle(s):c.getAttribute(a)?c.removeAttribute(a):c.setAttribute(a,s);var d=bricksGetFocusables(c);d.length&&d[0].focus()}}))})))}}function bricksSubmenuToggle(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toggle",n=!!e.parentNode.classList.contains("brx-submenu-toggle")&&e.parentNode.parentNode;if(n){if(e.closest(".brx-has-multilevel")){var i=n.parentNode.closest(".active");i&&!i.classList.contains("brx-has-megamenu")&&i.classList.remove("active"),setTimeout((function(){var e=n.querySelector("ul")||n.querySelector(".brx-dropdown-content");if(e){var t=bricksGetFocusables(e);t.length&&t[0].focus()}}),100)}"add"===t?(n.classList.add("open"),n.classList.add("active")):"remove"===t?(n.classList.remove("open"),n.classList.remove("active")):n.classList.toggle("open"),e.setAttribute("aria-expanded",n.classList.contains("open"))}}function bricksSubmenuListeners(){var e=bricksQuerySelectorAll(document,".bricks-nav-menu .menu-item-has-children"),t=bricksQuerySelectorAll(document,".brxe-dropdown");(e=e.concat(t)).forEach((function(e){e.closest("[data-static]")||e.closest(".brx-has-multilevel")||e.classList.contains("active")||(e.addEventListener("mouseenter",(function(t){if(!e.closest(".show-mobile-menu")&&!e.closest(".brxe-nav-nested.brx-open")&&"click"!==e.getAttribute("data-toggle")){var n=t.target.querySelector('[aria-expanded="false"]');n&&bricksSubmenuToggle(n)}})),e.addEventListener("mouseleave",(function(t){if(!e.closest(".show-mobile-menu")&&!e.closest(".brxe-nav-nested.brx-open")&&"click"!==e.getAttribute("data-toggle")){var n=t.target.querySelector('[aria-expanded="true"]');if(n){var i=n.closest(".menu-item");if(i||(i=n.closest(".brxe-dropdown")),i&&i.classList.contains("active"))return;bricksSubmenuToggle(n)}}})))})),document.addEventListener("keyup",(function(e){if("Escape"===e.key){var t=e.target.closest(".open"),n=e.target.closest(".brx-has-multilevel");if(t&&!n){var i=t.querySelector(".brx-submenu-toggle button[aria-expanded]");i&&(bricksSubmenuToggle(i,"remove"),i&&i.focus())}else{bricksQuerySelectorAll(document,'.brx-submenu-toggle > button[aria-expanded="true"]').forEach((function(e){e&&bricksSubmenuToggle(e,"remove")}))}}else"Tab"!==e.key||e.shiftKey||setTimeout((function(){bricksQuerySelectorAll(document,'[aria-expanded="true"]').forEach((function(e){var t=e.closest(".menu-item");t||(t=e.closest(".brxe-dropdown")),(t&&!t.contains(document.activeElement)||"BODY"===document.activeElement.tagName)&&bricksSubmenuToggle(e)}))}),0)})),document.addEventListener("click",(function(e){var t="A"===e.target.nodeName&&e.target.hasAttribute("href")?e.target.getAttribute("href"):"";if(t){if(!t.includes("#"))return;if("#"===t)e.preventDefault();else{if(e.target.closest(".brxe-offcanvas")&&bricksOffcanvasClose(),e.target.closest(".brxe-nav-nested.brx-open")){bricksNavNestedClose();var n=document.querySelector(t);n&&setTimeout((function(){n.scrollIntoView()}),200)}var i=document.querySelector(t);if(i){var r=i.querySelector(".accordion-title-wrapper");if(r)return void r.click();var o=i.closest(".tab-title");o&&o.click();var a=e.target.closest(".brx-popup");a&&!a.contains(i)&&bricksClosePopup(a)}}}var s=e.target.closest(".brx-submenu-toggle");if(s){var c="hover",l=s.closest("[data-toggle]");l&&(c=l.getAttribute("data-toggle")),s.closest(".brxe-nav-menu.show-mobile-menu")&&(c="click"),s.closest(".brxe-nav-nested.brx-open")&&(c="click");var d="hover"===c?e.target.closest("[aria-expanded]"):s.querySelector("button[aria-expanded]");if(0===e.detail||"click"===c||"both"===c||(d=null),d){bricksSubmenuToggle(d);var u=s.parentNode;u.classList.toggle("active"),setTimeout((function(){u.classList.contains("active")&&u.classList.add("open"),d.setAttribute("aria-expanded",u.classList.contains("open"))}),0)}}bricksQuerySelectorAll(document,'.brx-submenu-toggle > button[aria-expanded="true"]').forEach((function(t){var n=t.closest("li");n||(n=t.closest(".brxe-dropdown")),n&&!n.contains(e.target)&&(br
1icksSubmenuToggle(t),n.classList.remove("active"))}))}))}function bricksSubmenuPosition(){setTimeout((function(){var e=document.body.clientWidth;bricksQuerySelectorAll(document,".brx-submenu-toggle").forEach((function(t){var n=t.parentNode,i=n.querySelector(".brx-megamenu")||n.querySelector(".brx-dropdown-content")||n.querySelector("ul");if((i.querySelector('[aria-current="page"]')&&t.classList.add("aria-current"),!n.hasAttribute("data-static"))&&i)if(n.classList.contains("brx-has-megamenu")){var r=n.getBoundingClientRect(),o=(n.dataset.megaMenu?document.querySelector(n.dataset.megaMenu):document.body).getBoundingClientRect();i.style.left="-".concat(r.left-o.left,"px"),i.style.minWidth="".concat(o.width,"px")}else{i.classList.contains("brx-multilevel-overflow-right")&&i.classList.remove("brx-multilevel-overflow-right"),i.classList.contains("brx-submenu-overflow-right")&&i.classList.remove("brx-submenu-overflow-right"),i.classList.contains("brx-sub-submenu-overflow-right")&&i.classList.remove("brx-sub-submenu-overflow-right");var a=i.getBoundingClientRect(),s=a.width,c=a.right,l=Math.ceil(a.left);if(s>e)i.style.left="-".concat(l,"px"),i.style.minWidth="".concat(e,"px");else if(c>e){var d=i.closest(".brx-has-multilevel"),u=!n.parentNode.closest(".menu-item")&&!n.parentNode.closest(".brxe-dropdown");d?i.classList.add("brx-multilevel-overflow-right"):u?i.classList.add("brx-submenu-overflow-right"):i.classList.add("brx-sub-submenu-overflow-right")}else l<0&&(i.style.left="100%",i.style.right="auto")}}))}),arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}function bricksMultilevelMenu(){bricksQuerySelectorAll(document,".brxe-nav-nested.multilevel").forEach((function(e){var t=e.getAttribute("data-back-text");e.querySelectorAll(".brxe-dropdown").forEach((function(e){e.classList.add("brx-has-multilevel"),e.setAttribute("data-toggle","click"),e.setAttribute("data-back-text",t)}))})),bricksQuerySelectorAll(document,".brx-has-multilevel").forEach((function(e){var t=e.getAttribute("data-back-text")||"Back";bricksQuerySelectorAll(e,"ul").forEach((function(e,n){if(0!==n){var i=document.createElement("a");i.classList.add("brx-multilevel-back"),i.setAttribute("href","#"),i.innerText=t;var r=document.createElement("li");r.classList.add("menu-item"),r.appendChild(i),e.insertBefore(r,e.firstChild),i.addEventListener("click",(function(e){e.preventDefault();var t=e.target.closest(".active");if(t){t.classList.remove("open"),t.classList.remove("active");var n=t.querySelector(".brx-submenu-toggle > button");n&&n.setAttribute("aria-expanded",!1);var i=t.parentNode.closest(".open");if(i){i.classList.add("active");var r=i.querySelector("ul");if(r){var o=bricksGetFocusables(r);o.length&&o[0].focus()}}}}))}}))}))}function bricksNavMenuMobile(){var e=bricksQuerySelectorAll(document,".bricks-mobile-menu-toggle");if(e.length){var t=new MutationObserver((function(e){bricksSetVh(),e.forEach((function(e){e.target.classList.contains("show-mobile-menu")?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll")}))}));e.forEach((function(e){var n=e.closest(".brxe-nav-menu");t.observe(n,{attributes:!0,attributeFilter:["class"]})})),document.addEventListener("click",(function(e){if(mobileMenuToggle=e.target.closest(".bricks-mobile-menu-toggle"),mobileMenuToggle){var t=mobileMenuToggle.closest(".brxe-nav-menu");t.classList.toggle("show-mobile-menu");var n=t.classList.contains("show-mobile-menu");mobileMenuToggle.setAttribute("aria-expanded",n),n&&setTimeout((function(){var e=bricksGetFocusables(t.querySelector(".bricks-mobile-menu-wrapper"));e.length&&e[0].focus()}),10)}})),document.addEventListener("click",(function(e){var t=e.target.closest(".brxe-nav-menu");if(t)if(e.target.classList.contains("bricks-mobile-menu-overlay"))t.classList.remove("show-mobile-menu"),t.querySelector(".bricks-mobile-menu-toggle").setAttribute("aria-expanded",!1);else if(e.target.closest(".bricks-mobile-menu-wrapper")){var n="A"===e.target.tagName?e.target.getAttribute("href"):"";n.length>1&&n.includes("#")&&(t.classList.remove("show-mobile-menu"),t.querySelector(".bricks-mobile-menu-toggle").setAttribute("aria-expanded",!1))}})),document.addEventListener("keyup",(function(e){if("Escape"===e.key){var t=document.querySelector(".brxe-nav-menu.show-mobile-menu");if(t){t.classList.remove("show-mobile-menu");var n=t.querySelector("bricks-mobile-menu-toggle");n&&(n.setAttribute("aria-expanded",!1),setTimeout((function(){n.focus()}),10))}}}))}}function bricksGetFocusables(e){var t=e.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not
1([tabindex="-1"])');return Array.prototype.filter.call(t,(function(e){return"none"!==window.getComputedStyle(e).display}))}var bricksIsFrontend,bricksScrollTimeout,bricksPauseMediaFn=new BricksFunction({parentNode:document,selector:'video, audio, iframe[src*="youtube"], iframe[src*="vimeo"]',subscribeEvents:["bricks/popup/close"],forceReinit:!0,eachElement:function(e){if("VIDEO"!==e.tagName&&"AUDIO"!==e.tagName||!e.pause||"function"!=typeof e.pause){if("IFRAME"===e.tagName){var t=e.getAttribute("src"),n=t.includes("youtube"),i=n?{event:"command",func:"pauseVideo",args:""}:{method:"pause"};if(t.includes("vimeo")||n)return void e.contentWindow.postMessage(JSON.stringify(i),"*")}}else e.pause()},listenerHandler:function(e){var t;if(null!=e&&e.type&&"bricks/popup/close"===e.type){var n=null==e||null===(t=e.detail)||void 0===t?void 0:t.popupElement;n&&bricksPauseMediaFn.run({parentNode:n})}}});function bricksSetVh(){var e=.01*window.innerHeight;document.documentElement.style.setProperty("--bricks-vh","".concat(e,"px"))}var bricksTimeouts={};document.addEventListener("DOMContentLoaded",(function(e){bricksIsFrontend=document.body.classList.contains("bricks-is-frontend"),bricksMultilevelMenu(),bricksNavMenuMobile(),bricksStickyHeader(),bricksOnePageNavigation(),bricksSkipLinks(),bricksFacebookSDK(),bricksSearchToggle(),bricksPopups(),bricksSwiper(),bricksSplide(),bricksPhotoswipe(),bricksPrettify(),bricksAccordion(),bricksAnimatedTyping(),bricksAudio(),bricksCountdown(),bricksCounter(),bricksTableOfContents(),bricksIsotope(),bricksPricingTables(),bricksVideo(),bricksLazyLoad(),bricksAnimation(),bricksPieChart(),bricksPostReadingProgressBar(),bricksProgressBar(),bricksForm(),bricksInitQueryLoopInstances(),bricksQueryPagination(),bricksInteractions(),bricksAlertDismiss(),bricksTabs(),bricksVideoOverlayClickDetector(),bricksBackgroundVideoInit(),bricksPostReadingTime(),bricksNavNested(),bricksOffcanvas(),bricksToggle(),bricksSubmenuListeners(),bricksSubmenuPosition(250),bricksAjaxLoader(),window.addEventListener("resize",(function(){Object.keys(bricksTimeouts).forEach((function(e){clearTimeout(bricksTimeouts[e])})),bricksIsFrontend?bricksTimeouts.bricksVh=setTimeout(bricksSetVh,250):(bricksTimeouts.bricksSwiper=setTimeout(bricksSwiper,250),bricksTimeouts.bricksSplide=setTimeout(bricksSplide,250)),bricksTimeouts.bricksSubmenuPosition=setTimeout(bricksSubmenuPosition,250),bricksTimeouts.bricksToggleDisplay=setTimeout(bricksToggleDisplay,100)})),setTimeout((function(){var e;(Array.isArray(null===(e=window.bricksData)||void 0===e?void 0:e.interactions)?window.bricksData.interactions:[]).find((function(e){return"scroll"===(null==e?void 0:e.trigger)}))&&document.addEventListener("scroll",bricksScrollInteractions)}),100)}));

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.