var astraGetParents=function(e,t){for(var a=[];e&&e!==document;e=e.parentNode)(!t||e.matches(t))&&a.push(e);return a},astraToggleClass=function(e,t){e.classList.contains(t)?e.classList.remove(t):e.classList.add(t)},astraTriggerEvent=function(e,t){t=new CustomEvent(t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});e.dispatchEvent(t)};astraSmoothScroll=function(e,t){e.preventDefault(),window.scrollTo({top:t,left:0,behavior:"smooth"})},astScrollToTopHandler=function(e,t){var a=getComputedStyle(t).content,n=t.dataset.onDevices,a=a.replace(/[^0-9]/g,"");"both"==n||"desktop"==n&&"769"==a||"mobile"==n&&""==a?(n=window.pageYOffset||document.body.scrollTop,e&&e.length?n>e.offsetHeight+100?t.style.display="block":t.style.display="none":300<window.pageYOffset?t.style.display="block":t.style.display="none"):t.style.display="none"},(()=>{var r=document.querySelectorAll("#masthead .main-header-menu-toggle"),m=document.getElementById("masthead"),i={},c="",d=document.body,g="";function e(e){c=e.detail.type;e=document.querySelectorAll(".menu-toggle");"dropdown"===c&&(document.getElementById("ast-mobile-popup").classList.remove("active","show"),p("updateHeader")),"off-canvas"===c&&e.forEach(function(e){e&&e.classList.contains("toggled")&&e.click()}),t(c)}function p(e){g=m.querySelector("#ast-mobile-header");if(null==g||"dropdown"!==g.dataset.type||"updateHeader"===e){(void 0!==e&&"updateHeader"!==e?e.closest(".ast-mobile-popup-inner"):document.querySelector("#ast-mobile-popup")).querySelectorAll(".menu-item-has-children").forEach(e=>{e.classList.remove("ast-submenu-expanded"),Array.from(e.querySelectorAll(".sub-menu")).forEach(e=>{e.hasAttribute("data-initial-display")||e.setAttribute("data-initial-display",window.getComputedStyle(e).display),"block"===e.getAttribute("data-initial-display")?e.style.display="block":e.style.display="none"})});var t=document.querySelectorAll(".menu-toggle");document.body.classList.remove("ast-main-header-nav-open","ast-popup-nav-open"),document.documentElement.classList.remove("ast-off-canvas-active");for(var a=0;a<t.length;a++)t[a].classList.remove("toggled"),t[a].setAttribute("aria-expanded","false"),t[a].style.display="flex"}}function t(e){var a=document.querySelectorAll("#ast-mobile-header .menu-toggle"),n=document.querySelectorAll("#ast-desktop-header .menu-toggle");if(void 0===e&&null!==m)if(g=m.querySelector("#ast-mobile-header"))e=g.dataset.type;else{var s=m.querySelector("#ast-desktop-header");if(!s)return;e=s.dataset.toggleType}if("off-canvas"===e){var s=document.getElementById("menu-toggle-close"),o=document.querySelector(".ast-mobile-popup-inner");if(null!=o){popupLinks=o.getElementsByTagName("a"),document.removeEventListener("keydown",l),document.addEventListener("keydown",l),s&&s.addEventListener("click",i),document.addEventListener("keyup",function(e){"Escape"===e.key&&i()}),document.addEventListener("click",function(e){e.target===document.querySelector(".ast-mobile-popup-drawer.active .ast-mobile-popup-overlay")&&i()});for(var r=0;r<a.length;r++)a[r].removeEventListener("click",astraNavMenuToggle,!1),a[r].removeEventListener("click",popupTriggerClick),a[r].addEventListener("click",function(e){e.currentTarget.setAttribute("aria-expanded","true"),popupTriggerClick(e),document.querySelector(".ast-mobile-popup-drawer.active")||i()},!1),a[r].trigger_type="mobile";for(r=0;r<n.length;r++)n[r].removeEventListener("click",astraNavMenuToggle,!1),n[r].removeEventListener("click",popupTriggerClick),n[r].addEventListener("click",function(e){e.currentTarget.setAttribute("aria-expanded","true"),popupTriggerClick(e)},!1),n[r].trigger_type="desktop";let t=document.querySelector(".ast-button-wrap .menu-toggle");s.addEventListener("click",function(e){document.getElementById("ast-mobile-popup").classList.remove("active","show"),p(this),window.self===window.top&&t?.focus()}),document.addEventListener("keyup",function(e){"Escape"===e.key&&(e.preventDefault(),document.getElementById("ast-mobile-popup").classList.remove("active","show"),p(),t?.focus())}),document.addEventListener("click",function(e){e.target===document.querySelector(".ast-mobile-popup-drawer.active .ast-mobile-popup-overlay")&&(document.getElementById("ast-mobile-popup").classList.remove("active","show"),p(),t?.focus())});for(let e=0,t=popupLinks.length;e<t;e++)null!==popupLinks[e].getAttribute("href")&&(popupLinks[e].getAttribute("href").startsWith("#")||-1!==popupLinks[e].getAttribute("href").search("#"))&&(!popupLinks[e].parentElement.classList.contains("menu-item-has-children")||popupLinks[e].parentElement.classList.contains("menu-item-has-children")&&document.querySelector("header.site-header").classList.contains("ast-builder-menu-toggle-icon"))&&(popupLinks[e].addEventListener("click",v,!0),popupLinks[e].headerType="off-canvas");function l(e){var t,a=document.getElementById("ast-mobile-popup");a&&a.classList.contains("active")&&"Tab"===e.key&&(a=o.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),0!==(a=Array.prototype.filter.call(a,function(e){return 0<e.offsetWidth&&0<e.offsetHeight&&"hidden"!==window.getComputedStyle(e).visibility})).length)&&(t=a[0],a=a[a.length-1],e.shiftKey&&document.activeElement===t?(e.preventDefault(),a.focus()):e.shiftKey||document.activeElement!==a||(e.preventDefault(),t.focus()))}function i(){document.removeEventListener("keydown",l)}AstraToggleSetup()}}else if("dropdown"===e){var t=document.querySelectorAll(".ast-mobile-header-content")||!1,s=document.querySelector(".ast-desktop-header-content")||!1;if(0<t.length)for(let e=0;e<t.length;e++){var c=t[e].getElementsByTagName("a");for(link=0,len=c.length;link<len;link++){var d=null===c[link].closest(".wp-block-uagb-tabs");null!==c[link].getAttribute("href")&&(c[link].getAttribute("href").startsWith("#")||-1!==c[link].getAttribute("href").search("#"))&&(!c[link].parentElement.classList.contains("menu-item-has-children")||c[link].parentElement.classList.contains("menu-item-has-children")&&document.querySelector("header.site-header").classList.contains("ast-builder-menu-toggle-icon"))&&d&&(c[link].addEventListener("click",v,!0),c[link].headerType="dropdown")}}if(s){var u=s.getElementsByTagName("a");for(link=0,len=u.length;link<len;link++)u[link].addEventListener("click",v,!0),u[link].headerType="dropdown"}for(r=0;r<a.length;r++)a[r].removeEventListener("click",popupTriggerClick,!1),a[r].removeEventListener("click",astraNavMenuToggle),a[r].addEventListener("click",astraNavMenuToggle,!1),a[r].trigger_type="mobile";for(r=0;r<n.length;r++)n[r].removeEventListener("click",popupTriggerClick,!1),n[r].removeEventListener("click",astraNavMenuToggle),n[r].addEventListener("click",astraNavMenuToggle,!1),n[r].trigger_type="desktop";AstraToggleSetup()}}function v(e){switch(e.currentTarget.headerType){case"dropdown":for(var t=document.querySelectorAll(".menu-toggle.toggled"),a=0;a<t.length;a++)t[a].click();break;case"off-canvas":document.getElementById("menu-toggle-close").click()}}""!==(g=null!=m?m.querySelector("#ast-mobile-header"):g)&&null!==g&&(c=g.dataset.type),document.addEventListener("astMobileHeaderTypeChange",e,!1),document.addEventListener("click",function(e){e=e.target.closest(".menu-toggle");if(e&&"dropdown"===c){e.classList.toggle("toggled");var t=e.classList.contains("toggled");e.setAttribute("aria-expanded",t?"true":"false");{e=document.querySelectorAll(".menu-toggle");let t=Array.from(e).every(e=>e.classList.contains("toggled"));e.forEach(e=>{t?(e.classList.remove("toggled"),e.setAttribute("aria-expanded","false")):(e.classList.add("toggled"),e.setAttribute("aria-expanded","true"))})}}}),popupTriggerClick=function(e){var t=e.currentTarget.trigger_type,a=document.getElementById("ast-mobile-popup");d.classList.contains("ast-popup-nav-open")||d.classList.add("ast-popup-nav-open"),d.classList.contains("ast-main-header-nav-open")||"mobile"===t||d.classList.add("ast-main-header-nav-open"),document.documentElement.classList.contains("ast-off-canvas-active")||document.documentElement.classList.add("ast-off-canvas-active"),"desktop"===t&&(a.querySelector(".ast-mobile-popup-content").style.display="none",a.querySelector(".ast-desktop-popup-content").style.display="block"),"mobile"===t&&(a.querySelector(".ast-desktop-popup-content").style.display="none",a.querySelector(".ast-mobile-popup-content").style.display="block"),e&&e.currentTarget&&e.currentTarget.style&&(e.currentTarget.style.display="none"),a.classList.add("active","show"),document.getElementById("menu-toggle-close")?.focus()},window.addEventListener("load",function(){t()}),document.addEventListener("astLayoutWidthChanged",function(){t()}),document.addEventListener("astPartialContentRendered",function(){r=document.querySelectorAll(".main-header-menu-toggle"),d.classList.remove("ast-main-header-nav-open"),document.addEventListener("astMobileHeaderTypeChange",e,!1),t()});var s=null!==navigator.userAgent.match(/Android/i)&&"Android"===navigator.userAgent.match(/Android/i)[0]?window.visualViewport.width:window.innerWidth;window.addEventListener("resize",function(){var e,t,a,n;"INPUT"!==document.activeElement.tagName&&(e=document.getElementById("menu-toggle-close"),t=document.querySelector(".menu-toggle.toggled"),a=document.querySelector("#masthead > #ast-desktop-header .ast-desktop-header-content"),n=document.querySelector(".elementor-editor-active"),a&&(a.style.display="none"),(null!==navigator.userAgent.match(/Android/i)&&"Android"===navigator.userAgent.match(/Android/i)[0]?window.visualViewport.width:window.innerWidth)!==s&&(t&&null===n&&t.click(),document.body.classList.remove("ast-main-header-nav-open","ast-popup-nav-open"),e)&&null==n&&e.click(),o(),AstraToggleSetup())}),document.addEventListener("DOMContentLoaded",function(){if(AstraToggleSetup(),null!==(e=d.classList.contains("ast-header-break-point")?document.getElementById("ast-mobile-header"):document.getElementById("ast-desktop-header"))){var e,t=e.querySelector(".navigation-accessibility");if(t&&e){var a=e.getElementsByTagName("button")[0]||e.getElementsByTagName("a")[0];if(a&&!a.classList.contains("astra-search-icon")){var n=t.getElementsByTagName("ul")[0];if(n){if(n.className.includes("nav-menu")||(n.className+=" nav-menu"),document.addEventListener("DOMContentLoaded",function(){var e;"off-canvas"===c&&(e=document.getElementById("menu-toggle-close"))&&(e.onclick=function(){var e=t.className.includes("toggled");t.className=e?t.className.replace(" toggled",""):t.className+" toggled",a.setAttribute("aria-expanded",e?"false":"true"),n.setAttribute("aria-expanded",e?"false":"true")})}),a.onclick=function(){var e=t.className.includes("toggled");t.className=e?t.className.replace(" toggled",""):t.className+" toggled",a.setAttribute("aria-expanded",e?"false":"true"),n.setAttribute("aria-expanded",e?"false":"true")},!astra.is_header_footer_builder_active){for(var s=n.getElementsByTagName("a"),o=n.getElementsByTagName("ul"),r=0,l=o.length;r<l;r++)o[r].parentNode.setAttribute("aria-haspopup","true");for(r=0,l=s.length;r<l;r++)s[r].addEventListener("focus",b,!0),s[r].addEventListener("blur",b,!0),s[r].addEventListener("click",y,!0)}astra.is_header_footer_builder_active&&(()=>{let t=document.querySelectorAll("nav.site-navigation .menu-item-has-children > a .ast-header-navigation-arrow"),a=document.querySelectorAll("nav.site-navigation .sub-menu"),n=document.querySelectorAll("nav.site-navigation .menu-item-has-children"),s=document.querySelectorAll(".astra-full-megamenu-wrapper");t&&(t.forEach(e=>{e.addEventListener("keydown",function(s){if("Enter"===s.key||" "===s.key){/Mobi|Android|iPad|iPhone/i.test(navigator.userAgent)&&(s.preventDefault(),s.stopPropagation());let t=s.target.closest("li"),a=t.querySelector(".sub-menu"),n=a&&a.classList.contains("astra-megamenu");setTimeout(()=>{n?(e=t.querySelector(".astra-full-megamenu-wrapper"),a&&a.classList.toggle("astra-megamenu-focus"),e&&e.classList.toggle("astra-megamenu-wrapper-focus")):a.classList.toggle("toggled-on"),t.classList.toggle("ast-menu-hover");var e=s.target.getAttribute("aria-expanded");s.target.setAttribute("aria-expanded","false"!==e&&e?"false":"true")},10)}})}),a||n)&&(document.addEventListener("click",function(e){f(a,t,n,s)},!1),document.addEventListener("keydown",function(e){"Escape"===e.key&&f(a,t,n,s)},!1));var e=document.querySelectorAll("nav.site-navigation .ast-nav-menu > .menu-item-has-children > a .ast-header-navigation-arrow");e&&e.forEach(e=>{e.addEventListener("keydown",function(e){e.target.closest("li").classList.contains("ast-menu-hover")||"Enter"!==e.key||f(a,t,n,s)},!1)}),(e=document.querySelectorAll("#ast-desktop-header .ast-builder-layout-element.ast-builder-menu")).forEach(e=>{e.querySelectorAll(".main-header-menu .menu-item > a").forEach(e=>{e.addEventListener("focusout",function(e){var t=e.relatedTarget,a=t?t.closest(".menu-item"):null,t=e.target.closest(".menu-item"),e=t.classList.contains("ast-menu-hover"),n=t.querySelector(".sub-menu"),s=t.closest(".sub-menu"),o=t.closest(".sub-menu")?.closest(".menu-item-has-children"),r=t.querySelector(".menu-item");if(!(t==a||r&&r==a))if(null==a)s&&h(s),n&&h(n);else if(t.nextElementSibling==a||t.previousElementSibling==a)e&&(h(n,!1),t.classList.remove("ast-menu-hover"));else if(o&&o==a)h(childSubMenu=t.querySelector(".sub-menu"),!1);else{let e=o,t=null;for(;null!=e;){if(e.nextElementSibling==a){t=e.querySelector(".sub-menu");break}e=e.closest(".sub-menu")?.closest(".menu-item-has-children")}s&&h(s,!0,t)}})})})})()}else a.classList.contains("custom-logo-link")||(a.style.display="none")}}}});for(var a,n,o=function(){var e=d.style.overflow,t=(d.style.overflow="hidden",document.documentElement.clientWidth);if(d.style.overflow=e,astra.break_point<t||0===t){if(0<r.length)for(var a=0;a<r.length;a++)null!==r[a]&&r[a].classList.remove("toggled");d.classList.remove("ast-header-break-point"),d.classList.add("ast-desktop"),astraTriggerEvent(d,"astra-header-responsive-enabled")}else d.classList.add("ast-header-break-point"),d.classList.remove("ast-desktop"),astraTriggerEvent(d,"astra-header-responsive-disabled")},l=(o(),AstraToggleSubMenu=function(e){e.preventDefault(),"false"!==e.target.getAttribute("aria-expanded")&&e.target.getAttribute("aria-expanded")?e.target.setAttribute("aria-expanded","false"):e.target.setAttribute("aria-expanded","true");for(var t=this.parentNode,a=(t.classList.contains("ast-submenu-expanded")&&document.querySelector("header.site-header").classList.contains("ast-builder-menu-toggle-link")&&(this.classList.contains("ast-menu-toggle")||""!==(e=t.querySelector("a").getAttribute("href"))&&"#"!==e&&(window.location=e)),t.querySelectorAll(".menu-item-has-children")),n=0;n<a.length;n++){a[n].classList.remove("ast-submenu-expanded");var s=a[n].querySelector(".sub-menu, .children");null!==s&&(s.style.display="none")}for(var o=t.parentNode.querySelectorAll(".menu-item-has-children"),n=0;n<o.length;n++)if(o[n]!=t){o[n].classList.remove("ast-submenu-expanded");for(var r=o[n].querySelectorAll(".sub-menu"),l=0;l<r.length;l++)r[l].style.display="none"}t.classList.contains("menu-item-has-children")&&(astraToggleClass(t,"ast-submenu-expanded"),t.classList.contains("ast-submenu-expanded")?t.querySelector(".sub-menu").style.display="block":t.querySelector(".sub-menu").style.display="none")},AstraToggleSetup=function(){if("undefined"!=typeof astraAddon&&"function"==typeof astraToggleSetupPro)astraToggleSetupPro(c,d,i);else{var e,t,a,n=!1;if(0<(e="off-canvas"===c||"full-width"===c?(t=document.querySelectorAll("#ast-mobile-popup, #ast-mobile-header"),(a=document.querySelectorAll("#ast-mobile-header .main-header-menu-toggle")).length):(t=document.querySelectorAll("#ast-mobile-header"),(n=!(0<(e=(a=document.querySelectorAll("#ast-mobile-header .main-header-menu-toggle")).length)))?1:e))||n)for(var s=0;s<e;s++)if(n||(a[s].setAttribute("data-index",s),i[s])||(i[s]=a[s],a[s].removeEventListener("click",astraNavMenuToggle),a[s].addEventListener("click",astraNavMenuToggle,!1)),void 0!==t[s])for(var o,r=0;r<t.length;r++)if(0<(o=document.querySelector("header.site-header").classList.contains("ast-builder-menu-toggle-link")?t[r].querySelectorAll("ul.main-header-menu .menu-item-has-children > .menu-link, ul.main-header-menu .ast-menu-toggle"):t[r].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var l=0;l<o.length;l++)o[l].removeEventListener("click",AstraToggleSubMenu),o[l].addEventListener("click",AstraToggleSubMenu,!1)}},astraNavMenuToggle=function(e){if("undefined"!=typeof astraAddon)astraNavMenuTogglePro(e,d,c,this);else{e.preventDefault();var e=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-bar-navigation"),t=(r=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-menu-toggle"),"0");if(null!==this.closest("#ast-fixed-header")&&(e=document.querySelectorAll("#ast-fixed-header > #ast-mobile-header .main-header-bar-navigation"),r=document.querySelectorAll("#ast-fixed-header .main-header-menu-toggle"),t="0"),void 0===e[t])return!1;for(var a=e[t].querySelectorAll(".menu-item-has-children"),n=0;n<a.length;n++){a[n].classList.remove("ast-submenu-expanded");for(var s=a[n].querySelectorAll(".sub-menu"),o=0;o<s.length;o++)s[o].style.display="none"}-1!==(this.getAttribute("class")||"").indexOf("main-header-menu-toggle")&&(astraToggleClass(e[t],"toggle-on"),astraToggleClass(r[t],"toggled"),e[t].classList.contains("toggle-on")?(e[t].style.display="block",d.classList.add("ast-main-header-nav-open")):(e[t].style.display="",d.classList.remove("ast-main-header-nav-open")))}},d.addEventListener("astra-header-responsive-enabled",function(){var e=document.querySelectorAll(".main-header-bar-navigation");if(0<e.length)for(var t=0;t<e.length;t++){null!=e[t]&&(e[t].classList.remove("toggle-on"),e[t].style.display="");for(var a=e[t].getElementsByClassName("sub-menu"),n=0;n<a.length;n++)a[n].style.display="";for(var s=e[t].getElementsByClassName("children"),o=0;o<s.length;o++)s[o].style.display="";for(var r=e[t].getElementsByClassName("ast-search-menu-icon"),l=0;l<r.length;l++)r[l].classList.remove("ast-dropdown-active"),r[l].style.display=""}},!1),document.getElementsByClassName("astra-search-icon")),u=0;u<l.length;u++)l[u].onclick=function(e){var t;this.classList.contains("slide-search")&&(e.preventDefault(),(t=this.parentNode.parentNode.parentNode.querySelector(".ast-search-menu-icon")).classList.contains("ast-dropdown-active")?(""!==(t.querySelector(".search-field").value||"")&&t.querySelector(".search-form").submit(),t.classList.remove("ast-dropdown-active")):(t.classList.add("ast-dropdown-active"),t.querySelector(".search-field").setAttribute("autocomplete","off"),setTimeout(function(){t.querySelector(".search-field").focus()},200)))};function h(e,t=!0,a=null){e.classList.remove("toggled-on"),e.classList.remove("astra-megamenu-focus");var n=e.closest(".menu-item-has-children").querySelector(".ast-header-navigation-arrow");n&&n.setAttribute("aria-expanded","false"),(t=a?!0:t)&&null!==(n=e.parentElement.closest(".sub-menu"))&&e!==a&&h(n,!0,a)}function f(e,t,a,n){e&&e.forEach(e=>{e.classList.remove("astra-megamenu-focus"),e.classList.remove("toggled-on")}),a&&a.forEach(e=>{e.classList.remove("ast-menu-hover")}),n&&n.forEach(e=>{e.classList.remove("astra-megamenu-wrapper-focus")}),t&&t.forEach(e=>{e.setAttribute("aria-expanded","false")})}function y(){var e=this||"";if(e&&!e.classList.contains("astra-search-icon")&&null===e.closest(".ast-builder-menu")&&-1!==String(e).indexOf("#")){var t=e.parentNode;if(d.classList.contains("ast-header-break-point"))document.querySelector("header.site-header").classList.contains("ast-builder-menu-toggle-link")&&t.classList.contains("menu-item-has-children")||(document.querySelector(".main-header-menu-toggle").classList.remove("toggled"),(t=document.querySelector(".main-header-bar-navigation")).classList.remove("toggle-on"),t.style.display="none",astraTriggerEvent(document.querySelector("body"),"astraMenuHashLinkClicked"));else for(;-1===e.className.indexOf("nav-menu");)"li"===e.tagName.toLowerCase()&&-1!==e.className.indexOf("focus")&&(e.className=e.className.replace(" focus","")),e=e.parentElement}}function b(){for(var e=this;-1===e.className.indexOf("navigation-accessibility");)"li"===e.tagName.toLowerCase()&&e.classList.toggle("focus"),e=e.parentElement}if(document.querySelectorAll(".search-field").forEach(e=>{e.addEventListener("focus",function(e){var t=this.parentNode.parentNode.parentNode.querySelector(".ast-search-menu-icon");t&&astraToggleClass(t,"ast-dropdown-active")}),e.addEventListener("blur",function(e){var t=this.parentNode.parentNode.parentNode.querySelector(".ast-search-menu-icon");t&&(t.classList.remove("ast-dropdown-active"),astraToggleClass(t,"ast-dropdown-active"))})}),d.onclick=function(e){if(void 0!==e.target.classList&&!e.target.classList.contains("ast-search-menu-icon")&&!e.target.closest(".ast-search-menu-icon")&&!e.target.closest(".ast-search-icon"))for(var t=document.getElementsByClassName("ast-search-menu-icon"),a=0;a<t.length;a++)t[a].classList.remove("ast-dropdown-active")},astra.is_header_footer_builder_active||"querySelector"in document&&"addEventListener"in window&&(d.addEventListener("mousedown",function(){d.classList.add("ast-mouse-clicked")}),d.addEventListener("keydown",function(){d.classList.remove("ast-mouse-clicked")})),astra.is_scroll_to_id){let s=e=>{let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t},t=(e,t=null)=>{let a=0;var n=document.querySelector(".site-header");n&&(0<(n=n.querySelectorAll("div[data-stick-support]")).length?n.forEach(e=>a+=e.clientHeight):"undefined"==typeof astraAddon||Number(astraAddon.sticky_hide_on_scroll)&&!document?.querySelector(".ast-header-sticked")||(n=document.querySelector("#ast-fixed-header"))&&(a=n?.clientHeight,Number(astraAddon?.header_main_shrink))&&(n?.querySelectorAll(".ast-above-header-wrap, .ast-below-header-wrap"))?.forEach(()=>a-=10),n=t||e.target?.closest("a").hash)&&(t=document.querySelector(n))&&(t=(n=s(t))-(a="undefined"!=typeof astraAddon&&Number(astraAddon.sticky_hide_on_scroll)&&window?.scrollY<n?0:a))&&astraSmoothScroll(e,t)},o=[];var L=document.querySelectorAll('a[href*="#"]:not([href="#"]):not([href="#0"]):not([href*="uagb-tab"]):not(.uagb-toc-link__trigger):not(.skip-link):not(.nav-links a):not([href*="tab-"])');if(L)for(let e of L)e.href.split("#")[0]!==location.href.split("#")[0]?o.push({hash:e.hash,url:e.href.split("#")[0]}):""!==e.hash&&e.addEventListener("click",t);window.addEventListener("DOMContentLoaded",e=>{for(var a of o)if(window.location.href.split("#")[0]===a.url){var n=document.querySelector(".site-header");let t=0;n=n.querySelectorAll("div[data-stick-support]"),n=(n&&n.forEach(e=>{t+=e.clientHeight}),document.querySelector(a.hash));n&&(a=s(n)-t)&&astraSmoothScroll(e,a)}location.hash&&setTimeout(()=>t(new Event("click"),location.hash),750)})}astra.is_scroll_to_top&&(a=document.querySelector("#page header"),n=document.getElementById("ast-scroll-top"),astScrollToTopHandler(a,n),window.addEventListener("scroll",function(){astScrollToTopHandler(a,n)}),n.onclick=function(e){astraSmoothScroll(e,0)},n.addEventListener("keydown",function(e){"Enter"===e.key&&astraSmoothScroll(e,0)})),astra?.is_dark_palette?document.documentElement.classList.add("astra-dark-mode-enable"):document.documentElement.classList.remove("astra-dark-mode-enable"),window.addEventListener("DOMContentLoaded",e=>{var t=document.querySelector(".ast-woocommerce-store-notice-hanged");let a=()=>{var e=document.querySelector('.woocommerce-store-notice[data-position="hang-over-top"]');document.body.style.paddingTop=`${e?.clientHeight||0}px`};t&&(window.addEventListener("resize",a),setTimeout(()=>a(),0)),document.querySelector(".woocommerce-store-notice__dismiss-link")?.addEventListener("click",()=>{"undefined"!=typeof wp&&wp?.customize||(document.body.classList.remove("ast-woocommerce-store-notice-hanged"),window.removeEventListener("resize",a),document.body.style.paddingTop=0)})})})(),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".menu-link .dropdown-menu-toggle");function n(e){var e=e.closest(".menu-link"),t=e.nextElementSibling.classList.contains("toggled-on");e.setAttribute("aria-expanded",t?"true":"false")}document.querySelectorAll(".menu-item-has-children > a").forEach(t=>{t.addEventListener("keydown",function(e){"Enter"===e.key&&(e=t.nextElementSibling)&&e.classList.contains("sub-menu")&&(e.classList.toggle("ast-visible"),e="false"===t.getAttribute("aria-expanded")?"true":"false",t.setAttribute("aria-expanded",e))})}),t.forEach(a=>{a.addEventListener("focus",()=>n(a)),a.addEventListener("blur",()=>n(a)),a.addEventListener("keydown",e=>{var t;"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e=(e=a).closest(".menu-link"),t=e.getAttribute("aria-expanded"),e.setAttribute("aria-expanded","true"===t?"false":"true"))})}),document.addEventListener("keydown",e=>{"Escape"===e.key&&t.forEach(e=>n(e))}),window.addEventListener("orientationchange",()=>{setTimeout(()=>window.dispatchEvent(new Event("resize")),50)})}),document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".astra-shop-thumbnail-wrap").forEach(t=>{let a=t.querySelectorAll("a, span");a.forEach(e=>{e.addEventListener("focus",()=>{t.querySelectorAll(".ast-on-card-button, .ast-quick-view-trigger").forEach(e=>{e.style.opacity="1",e.style.visibility="visible",e.style.borderStyle="none"})}),e.addEventListener("blur",()=>{Array.from(a).some(e=>e===document.activeElement)||t.querySelectorAll(".ast-on-card-button, .ast-quick-view-trigger").forEach(e=>{e.style.opacity="",e.style.visibility=""})})})})});
(function(t){"use strict";function e(t,e,a){if(!1===lwAioSaveGaEvents)return;const i={action:"lw_all_in_one_save_ga_event",security:lw_all_in_one_save_ga_event_object.security,event_category:t,event_action:e,event_label:a};jQuery.post(lw_all_in_one_save_ga_event_object.ajaxurl,i,function(t){})}function a(e,a,i){t.inArray(lwAioTrackingType,["UA","G"])>-1&&gtag("event",a,{event_category:e,event_label:i})}t(window).on("load",function(){lwAioGaActivate&&(lwAioMonitorEmailLink&&t('a[href^="mailto"]').click(function(){var t=this.getAttribute("data-vars-ga-category")||"email",i=this.getAttribute("data-vars-ga-action")||"send",n=this.getAttribute("data-vars-ga-label")||this.href;a(t,i,n),e(t,i,n)}),lwAioMonitorTelLink&&t('a[href^="tel"]').click(function(){var t=this.getAttribute("data-vars-ga-category")||"telephone",i=this.getAttribute("data-vars-ga-action")||"call",n=this.getAttribute("data-vars-ga-label")||this.href;a(t,i,n),e(t,i,n)}),lwAioMonitorFormSubmit&&t(".wpcf7").on("wpcf7mailsent",function(t){var i=t.currentTarget.baseURI;a("form","submit",i),e("form","submit",i)}))}),t(window).on("load",function(){t('[id="rag_soc"]').length>1&&console.log("wim_twice")})})(jQuery);
((c,r,d)=>{d={$div:null,settings:null,store:null,chatbox:!1,showed_at:0,is_ready:!1,is_mobile:/Mobile|Android|iPhone|iPad/i.test(navigator.userAgent),can_qr:c.QrCreator&&"function"==typeof QrCreator.render,...d},(c.joinchat_obj=d).$=function(t){return this.$div.querySelector(t)},d.$$=function(t){return this.$div.querySelectorAll(t)},d.send_event=function(o){if((o={event_category:"JoinChat",event_label:"",event_action:"",chat_channel:"whatsapp",chat_id:"--",is_mobile:this.is_mobile?"yes":"no",page_location:location.href,page_title:r.title||"no title",...o}).event_label=o.event_label||o.link||"",o.event_action=o.event_action||o.chat_channel+": "+o.chat_id,delete o.link,r.dispatchEvent(new CustomEvent("joinchat:event",{detail:o,cancelable:!0}))){let t=c[this.settings.data_layer]||c[c.gtm4wp_datalayer_name]||c.dataLayer;if("object"==typeof t){let a=c.gtag||function(){t.push(arguments)},n=void 0!==this.settings.ga_event?this.settings.ga_event:"generate_lead";if(n){let e={transport_type:"beacon",...o},i=(Object.keys(e).forEach(t=>{"page_location"===t?e[t]=e[t].substring(0,1e3):"page_referrer"===t?e[t]=e[t].substring(0,420):"page_title"===t?e[t]=e[t].substring(0,300):"string"==typeof e[t]&&(e[t]=e[t].substring(0,100))}),[]),s=t=>{i.includes(t)||(t.startsWith("G-")||t.startsWith("GT-"))&&(i.push(t),a("event",n,{send_to:t,...e}))};if(c.google_tag_data&&google_tag_data.tidr&&google_tag_data.tidr.destination)for(var h in google_tag_data.tidr.destination)s(h);t.forEach(t=>{"config"===t[0]&&t[1]&&s(t[1])})}this.settings.gads&&a("event","conversion",{send_to:this.settings.gads})}var e,i,s=o.event_category;delete o.event_category,"object"==typeof t&&t.push({event:s,...o}),"function"==typeof fbq&&("whatsapp"===o.chat_channel&&(i=""+(e=o.chat_id).substring(0,3)+"X".repeat(e.length-5)+e.substring(e.length-2),o.chat_id=i,o.event_label=o.event_label.replace(e,i),o.event_action=o.event_action.replace(e,i)),fbq("trackCustom",s,o))}},d.get_wa_link=function(t,e,i){e=void 0!==e?e:this.settings.message_send||"",i=void 0!==i?i:this.settings.whatsapp_web&&!this.is_mobile;i=new URL((i?"https://web.whatsapp.com/send?phone=":"https://wa.me/")+(t||this.settings.telephone));return e&&i.searchParams.set("text",e),i.toString()},d.show=function(t){this.$div.removeAttribute("hidden"),this.$div.classList.add("joinchat--show"),t&&this.$div.classList.add("joinchat--tooltip")},d.hide=function(){this.$div.classList.remove("joinchat--show")},d.chatbox_show=function(){this.chatbox||(this.chatbox=!0,this.showed_at=Date.now(),clearTimeout(this.open_text_anim_timeout),this.$div.classList.add("joinchat--chatbox"),this.$div.classList.add("joinchat--opening"),this.open_text_anim_timeout=setTimeout(()=>this.$div.classList.remove("joinchat--opening"),550),this.settings.message_badge&&this.$(".joinchat__badge").classList.replace("joinchat__badge--in","joinchat__badge--out"),r.dispatchEvent(new Event("joinchat:show")))},d.chatbox_hide=function(){this.chatbox&&(this.chatbox=!1,clearTimeout(this.open_text_anim_timeout),this.$div.classList.remove("joinchat--chatbox","joinchat--tooltip","joinchat--opening"),this.settings.message_badge&&this.$(".joinchat__badge").classList.remove("joinchat__badge--out"),r.dispatchEvent(new Event("joinchat:hide")))},d.save_hash=function(){var t;!this.settings.message_hash||this.settings.message_delay<0||(t=(this.store.getItem("joinchat_hashes")||"").split(",").filter(Boolean)).includes(this.settings.message_hash)||(t.push(this.settings.message_hash),this.store.setItem("joinchat_hashes",t.join(",")))},d.open_whatsapp=function(t,e){t=t||this.settings.telephone,e=void 0!==e?e:this.settings.message_send||"";t={link:this.get_wa_link(t,e),chat_channel:"whatsapp",chat_id:t,chat_message:e};r.dispatchEvent(new CustomEvent("joinchat:open",{detail:t,cancelable:!0}))&&(this.send_event(t),c.open(t.link,"joinchat","noopener"))},d.need_optin=function(){return this.$div.classList.contains("joinchat--optout")},d.use_qr=function(){return!!this.settings.qr&&this.can_qr&&!this.is_mobile},d.open=function(t,e,i){t&&!this.need_optin()||!d.$(".joinchat__chatbox")?Date.now()<d.showed_at+600||(this.save_hash(),this.open_whatsapp(e,i)):this.chatbox_show()},d.close=function(){this.save_hash(),this.chatbox_hide()},d.rand_text=function(t){t.querySelectorAll("jc-rand").forEach(t=>{var e=t.children;t.insertAdjacentHTML("afterend",e[Math.floor(Math.random()*e.length)].innerHTML),t.remove()})},d.qr=function(t,e){var i=r.createElement("CANVAS");return QrCreator.render(Object.assign({text:t,radius:.4,background:"#FFF",size:200*(c.devicePixelRatio||1)},this.settings.qr||{},e||{}),i),i};var t=()=>{if(d.$div=r.querySelector(".joinchat"),d.$div){d.settings=JSON.parse(d.$div.dataset.settings);try{localStorage.test=2,d.store=localStorage}catch(t){d.store={_data:{},setItem:function(t,e){this._data[t]=String(e)},getItem:function(t){return this._data.hasOwnProperty(t)?this._data[t]:null}}}if(d.settings&&d.settings.telephone){if(d.is_mobile||!d.settings.mobile_only){r.dispatchEvent(new Event("joinchat:starting"));var a=1e3*d.settings.button_delay,n=Math.max(0,1e3*d.settings.message_delay);let t=!!d.settings.message_hash;var o=parseInt(d.store.getItem("joinchat_views")||1)>=d.settings.message_views,h=(d.store.getItem("joinchat_hashes")||"").split(",").filter(Boolean);let i=void 0!==d.settings.cta_viewed?d.settings.cta_viewed:-1!==h.indexOf(d.settings.message_hash||"none"),e=!i&&(d.settings.message_badge||!t||!n||!o),s=(setTimeout(()=>d.show(e),a),()=>d.open());if(t&&!i&&n){let t;d.settings.message_badge?t=setTimeout(()=>d.$(".joinchat__badge").classList.add("joinchat__badge--in"),a+n):o&&(t=setTimeout(s,a+n)),r.addEventListener("joinchat:show",()=>clearTimeout(t),{once:!0})}if(h=d.$(".joinchat__button"),!d.is_mobile){let t;h.addEventListener("mouseenter",()=>{d.$(".joinchat__chatbox")&&(t=setTimeout(s,1500))}),h.addEventListener("mouseleave",()=>{clearTimeout(t)})}if(h.addEventListener("click",s),d.$(".joinchat__open")?.addEventListener("click",()=>d.open(!0)),d.$(".joinchat__close")?.addEventListener("click",()=>d.close()),d.$("#joinchat_optin")?.addEventListener("change",t=>d.$div.classList.toggle("joinchat--optout",!t.target.checked)),d.is_mobile){let e,t,i=()=>{var t=(r.activeElement.type||"").toLowerCase();["date","datetime","email","month","number","password","search","tel","text","textarea","time","url","week"].includes(t)?d.chatbox?(d.chatbox_hide(),setTimeout(()=>d.hide(),400)):d.hide():d.show()};["focusin","focusout"].forEach(t=>r.addEventListener(t,t=>{t.target.matches("input, textarea")&&!d.$div.contains(t.target)&&(clearTimeout(e),e=setTimeout(i,200))})),c.addEventListener("resize",()=>{clearTimeout(t),t=setTimeout(()=>{d.$div.style.setProperty("--vh",c.innerHeight+"px")},200)}),c.dispatchEvent(new Event("resize"))}if(d.use_qr()?d.$(".joinchat__qr").appendChild(d.qr(d.get_wa_link(void 0,void 0,!1))):d.$(".joinchat__qr")?.remove(),n&&!o&&d.store.setItem("joinchat_views",parseInt(d.store.getItem("joinchat_views")||0)+1),r.addEventListener("joinchat:show",()=>{let a=d.$(".joinchat__scroll"),n=d.$(".joinchat__chat"),o=d.$$(".joinchat__bubble");if(!n)return;if(t&&d.rand_text(n),d.$$("[data-src]").forEach(t=>{t.setAttribute("src",t.dataset.src),t.removeAttribute("data-src")}),!c.matchMedia("(prefers-reduced-motion)").matches){1<o.length&&(o.forEach(t=>t.classList.add("joinchat--hidden")),d.$(".joinchat__optin")?.classList.add("joinchat--hidden"));let e=n.offsetHeight,i,s=new MutationObserver(()=>{a.scrollHeight>a.offsetHeight&&s.disconnect();var t=n.offsetHeight;clearTimeout(i),n.style.height=e+"px",n.offsetHeight,n.style.height=t+"px",e=t,i=setTimeout(()=>{n.style.height="",e=n.offsetHeight},205)});s.observe(n,{childList:!0,attributes:!0,attributeFilter:["class"]})}if(o.length<=1||c.matchMedia("(prefers-reduced-motion)").matches)return void setTimeout(()=>n.dispatchEvent(new Event("joinchat:bubbles")),1);let e=0,i=(t,e)=>Math.round(Math.random()*(e-t)+t),s=(t,e)=>{d.$(".joinchat__bubble--loading")?.remove(),t.classList.remove("joinchat--hidden"),n.parentNode.scrollIntoView({behavior:"smooth",block:"end"}),setTimeout(h,e)},h=()=>{if(e>=o.length)d.$(".joinchat__optin")?.classList.remove("joinchat--hidden"),n.parentNode.scrollIntoView({behavior:"smooth",block:"end"}),n.dispatchEvent(new Event("joinchat:bubbles"));else{let t=o[e++];t.classList.contains("joinchat__bubble--note")?s(t,210):(n.insertAdjacentHTML("beforeend",'<div class="joinchat__bubble joinchat__bubble--loading"></div>'),n.parentNode.scrollIntoView({behavior:"smooth",block:"end"}),setTimeout(()=>s(t,i(400,600)),Math.min(60*t.textContent.split(/\s+/).length+210,3e3)))}};h()},{once:!0}),"#joinchat"!==(a=new URL(c.location)).hash&&!a.searchParams.has("joinchat")||(h=1e3*(parseInt(a.searchParams.get("joinchat"))||0),setTimeout(()=>d.show(),h),setTimeout(()=>d.chatbox_show(),700+h)),r.addEventListener("click",t=>{var e;t.target.closest('.joinchat_open, .joinchat_app, a[href="#joinchat"], a[href="#whatsapp"]')&&(t.preventDefault(),e=!!t.target.closest('.joinchat_app, a[href="#whatsapp"]'),d.open(e,t.target.dataset.phone,t.target.dataset.message))}),r.addEventListener("click",t=>{t.target.closest(".joinchat_close")&&(t.preventDefault(),d.close())}),n=r.querySelectorAll(".joinchat_show, .joinchat_force_show"),t&&n&&"IntersectionObserver"in c){let e=new IntersectionObserver(t=>{t.forEach(t=>{t.intersectionRatio<=0||i&&!t.target.classList.contains("joinchat_force_show")||(e.disconnect(),s())})});n.forEach(t=>e.observe(t))}d.is_ready=!0,r.dispatchEvent(new Event("joinchat:start"))}else d.hide(),r.addEventListener("click",t=>{t.target.closest('.joinchat_open, .joinchat_app, a[href="#joinchat"], a[href="#whatsapp"]')&&(t.preventDefault(),d.open_whatsapp(t.target.dataset.phone,t.target.dataset.message))});if(d.can_qr&&!d.is_mobile?r.querySelectorAll(".joinchat-button__qr").forEach(t=>t.appendChild(d.qr(d.get_wa_link(t.dataset.phone,t.dataset.message,!1)))):r.querySelectorAll(".wp-block-joinchat-button figure").forEach(t=>t.remove()),void 0!==d.settings.sku&&"function"==typeof jQuery){let s=d.settings.message_send;jQuery("form.variations_form").on("found_variation reset_data",function(t,e){let i=e&&e.sku||d.settings.sku;d.$$(".joinchat__chat jc-sku").forEach(t=>t.textContent=i),d.settings.message_send=s.replace(/<jc-sku>.*<\/jc-sku>/g,i)})}}}};"loading"!==r.readyState?t():r.addEventListener("DOMContentLoaded",t)})(window,document,window.joinchat_obj||{});
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=115)}({115:function(e,t,n){"use strict";n.r(t);var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e,t){return function(n,i,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(o(n)&&r(i))if("function"==typeof a)if("number"==typeof s){var c={callback:a,priority:s,namespace:i};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach((function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++}))}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,i,a,s)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var s=e[t];if(o(i)&&(n||r(a))){if(!s[i])return 0;var l=0;if(n)l=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else for(var c=s[i].handlers,u=function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach((function(t){t.name===i&&t.currentIndex>=e&&t.currentIndex--})))},d=c.length-1;d>=0;d--)u(d);return"hookRemoved"!==i&&e.doAction("hookRemoved",i,a),l}}};var s=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!i||!i.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(o.__current.push(c);c.currentIndex<i.length;){var u=i[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return o.__current.pop(),n?s[0]:void 0}};var c=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var u=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var d=function(e,t){return function(n){var r=e[t];if(o(n))return r[n]&&r[n].runs?r[n].runs:0}},f=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=i(this,"actions"),this.addFilter=i(this,"filters"),this.removeAction=a(this,"actions"),this.removeFilter=a(this,"filters"),this.hasAction=s(this,"actions"),this.hasFilter=s(this,"filters"),this.removeAllActions=a(this,"actions",!0),this.removeAllFilters=a(this,"filters",!0),this.doAction=l(this,"actions"),this.applyFilters=l(this,"filters",!0),this.currentAction=c(this,"actions"),this.currentFilter=c(this,"filters"),this.doingAction=u(this,"actions"),this.doingFilter=u(this,"filters"),this.didAction=d(this,"actions"),this.didFilter=d(this,"filters")};var h=function(){return new f},p=h();p.addAction,p.addFilter,p.removeAction,p.removeFilter,p.hasAction,p.hasFilter,p.removeAllActions,p.removeAllFilters,p.doAction,p.applyFilters,p.currentAction,p.currentFilter,p.doingAction,p.doingFilter,p.didAction,p.didFilter,p.actions,p.filters;function v(e){return(v="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})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.isEditMode=!1,window.eael=window.ea={hooks:h(),isEditMode:!1,elementStatusCheck:function(e){return!(!window.eaElementList||!(e in window.eaElementList))||(window.eaElementList=y(y({},window.eaElementList),{},g({},e,!0)),!1)},debounce:function(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}},eael.hooks.addAction("widgets.reinit","ea",(function(e){var t=jQuery(".eael-filter-gallery-container",e),n=jQuery(".eael-post-grid:not(.eael-post-carousel)",e),r=jQuery(".eael-twitter-feed-masonry",e),o=jQuery(".eael-instafeed",e),i=jQuery(".premium-gallery-container",e),a=jQuery(".eael-event-calendar-cls",e),s=jQuery(".eael-testimonial-slider",e),l=jQuery(".eael-tm-carousel",e),c=jQuery(".eael-post-carousel:not(.eael-post-grid)",e),u=jQuery(".eael-logo-carousel",e),d=jQuery(".eael-twitter-feed-carousel",e);t.length&&t.isotope("layout"),n.length&&n.isotope("layout"),r.length&&r.isotope("layout"),o.length&&o.isotope("layout"),i.length&&i.isotope("layout"),a.length&&eael.hooks.doAction("eventCalendar.reinit"),s.length&&eael.hooks.doAction("testimonialSlider.reinit"),l.length&&eael.hooks.doAction("teamMemberCarousel.reinit"),c.length&&eael.hooks.doAction("postCarousel.reinit"),u.length&&eael.hooks.doAction("logoCarousel.reinit"),d.length&&eael.hooks.doAction("twitterCarousel.reinit")}));var w,b=function(e){void 0===window.eaelPreventResizeOnClick&&window.dispatchEvent(new Event("resize")),(e="object"===v(e)?e:jQuery(e)).find(".swiper-wrapper").each((function(){var e=jQuery(this).css("transform");jQuery(this).css("transform",e)}))};eael.hooks.addAction("ea-advanced-tabs-triggered","ea",b),eael.hooks.addAction("ea-advanced-accordion-triggered","ea",b),jQuery(window).on("elementor/frontend/init",(function(){window.isEditMode=elementorFrontend.isEditMode(),window.eael.isEditMode=elementorFrontend.isEditMode(),eael.hooks.doAction("init"),eael.isEditMode&&eael.hooks.doAction("editMode.init")})),function(e){eael.getToken=function(){localize.nonce&&!eael.noncegenerated&&e.ajax({url:localize.ajaxurl,type:"post",data:{action:"eael_get_token"},success:function(e){e.success&&(localize.nonce=e.data.nonce,eael.noncegenerated=!0)}})},eael.sanitizeURL=function(e){if(e.startsWith("/")||e.startsWith("#"))return e;try{var t=new URL(e);if(!["http:","https:","ftp:","ftps:","mailto:","news:","irc:","irc6:","ircs:","gopher:","nntp:","feed:","telnet:","mms:","rtsp:","sms:","svn:","tel:","fax:","xmpp:","webcal:","urn:"].includes(t.protocol))throw new Error("Invalid protocol");return t.toString()}catch(e){return console.error("Error sanitizing URL:",e.message),"#"}};var t=!0;window.addEventListener("hashchange",(function(){if(t){var n=window.location.hash.substr(1);"undefined"!==(n="safari"===n?"eael-safari":n)&&n&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(n)&&e("#"+n).trigger("click")}})),e("a").on("click",(function(n){var r,o=e(this).attr("href");(r=(o=void 0===o?"":o).startsWith("#"))||(r=(o=o.replace(localize.page_permalink,"")).startsWith("#")),r&&(t=!1,setTimeout((function(){t=!0}),100));try{if(o.startsWith("#!")){var i=o.replace("#!","#");e(i).trigger("click")}else if(r&&(e(o).hasClass("eael-tab-item-trigger")||e(o).hasClass("eael-accordion-header"))&&(e(o).trigger("click"),void 0!==o&&o)){var a=e(o).closest(".eael-advance-tabs");if(a.length>0){var s=a.data("custom-id-offset");s=s?parseFloat(s):0,e("html, body").animate({scrollTop:e(o).offset().top-s},300)}}}catch(e){}})),e(document).on("click",".e-n-tab-title",(function(){setTimeout((function(){window.dispatchEvent(new Event("resize"))}),100)}))}(jQuery),(w=jQuery)(document).on("click",".theme-savoy .eael-product-popup .nm-qty-minus, .theme-savoy .eael-product-popup .nm-qty-plus",(function(e){var t=w(this),n=t.closest(".quantity").find(".qty"),r=parseFloat(n.val()),o=parseFloat(n.attr("max")),i=parseFloat(n.attr("min")),a=n.attr("step");r&&""!==r&&"NaN"!==r||(r=0),""!==o&&"NaN"!==o||(o=""),""!==i&&"NaN"!==i||(i=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),t.hasClass("nm-qty-plus")?o&&(o==r||r>o)?n.val(o):n.val(r+parseFloat(a)):i&&(i==r||r<i)?n.val(i):r>0&&n.val(r-parseFloat(a))})),function(e){e.fn.isInViewport=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;if(e(this).length<1)return!1;var n=e(this).offset().top,r=n+e(this).outerHeight()/t,o=e(window).scrollTop(),i=o+e(window).height()/t;return r>o&&n<i},e(document).ready((function(){var e=new URLSearchParams(location.search);if(e.has("popup-selector")&&(e.has("eael-lostpassword")||e.has("eael-resetpassword"))){var t=e.get("popup-selector");t.length&&/^[A-Za-z.#][A-Za-z0-9_:.#\s-]*$/.test(t)&&(t=t.replace(/_/g," "),setTimeout((function(){jQuery(t).trigger("click")}),300))}})),e(document).on("click",".eael-onpage-edit-template",(function(){var t=e(this),n=t.data("eael-template-id"),r=t.data("page-id"),o=t.data("mode");"edit"===o?(parent.window.$e.internal("panel/state-loading"),parent.window.$e.run("editor/documents/switch",{id:parseInt(n)}).then((function(){t.data("mode","save"),t.find("span").text("Save & Back"),t.find("i").addClass("eicon-arrow-left").removeClass("eicon-edit"),t.closest(".eael-onpage-edit-template-wrapper").addClass("eael-onpage-edit-activate").parent().addClass("eael-widget-otea-active"),parent.window.$e.internal("panel/state-ready")}))):"save"===o&&(parent.window.$e.internal("panel/state-loading"),parent.window.$e.run("editor/documents/switch",{id:parseInt(r),mode:"save",shouldScroll:!1}).then((function(){parent.window.$e.internal("panel/state-ready"),t.data("mode","edit")})))}))}(jQuery)}});
USR_PREFS_CK_NAME="undefined"!=typeof USR_PREFS_CK_NAME?USR_PREFS_CK_NAME:"lwaio_consent_preferences",ACTED_CONSENT_CK_NAME="undefined"!=typeof ACTED_CONSENT_CK_NAME?ACTED_CONSENT_CK_NAME:"lwaio_consent_acted",EXP_CK_NAME="undefined"!=typeof EXP_CK_NAME?EXP_CK_NAME:"1 Year",function(e){"use strict";let t={set:function(e,t,o,i=""){let s="";if(o){let e=new Date;e.setTime(e.getTime()+24*o*60*60*1e3),s="; expires="+e.toGMTString()}i&&(i="; domain="+i),document.cookie=e+"="+t+s+"; path=/"+i},read:function(e){let t=e+"=",o=document.cookie.split(";"),i=o.length;for(let e=0;e<i;e++){let i=o[e];for(;" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},exists:function(e){return null!==this.read(e)},getallcookies:function(){let e=document.cookie.split(";"),t={},o=e.length;for(let i=0;i<o;i++){let o=e[i].split("=");t[(o[0]+"").trim()]=unescape(o[1])}return t},erase:function(e,t){t?this.set(e,"",-10,t):this.set(e,"",-10)}},o={bar_config:{},show_config:{},allowed_categories:[],set:function(e){if("function"!=typeof JSON.parse)return void console.log("LWAIOCookieConsent requires JSON.parse but your browser doesn't support it");this.settings=JSON.parse(e.settings),EXP_CK_NAME=this.settings.cookie_expiry,this.bar_elm=jQuery(this.settings.notify_div_id),this.show_again_elm=jQuery(this.settings.show_again_div_id),this.details_elm=this.bar_elm.find(".lwaio_messagebar_detail"),this.main_button=jQuery("#cookie_action_accept"),this.main_link=jQuery("#cookie_action_link"),this.reject_button=jQuery("#cookie_action_reject"),this.settings_button=jQuery("#cookie_action_settings"),this.save_button=jQuery("#cookie_action_save"),this.confirm_button=jQuery("#cookie_action_confirm"),this.cancel_button=jQuery("#cookie_action_cancel"),this.accept_all_button=jQuery("#cookie_action_accept_all"),this.configBar(),this.toggleBar(),this.attachEvents(),this.configButtons(),this.settings.auto_scroll&&window.addEventListener("scroll",o.acceptOnScroll,!1);let i=JSON.parse(t.read(USR_PREFS_CK_NAME)),s=t.read(ACTED_CONSENT_CK_NAME),n="";n=new CustomEvent("LwAioCookieConsentOnLoad",{detail:{lwaio_consent_preferences:i,lwaio_consent_acted:s}}),window.dispatchEvent(n)},attachEvents:function(){jQuery(".lwaio_action_button").click(function(e){e.preventDefault();let i="",s="",n="",a="",c=jQuery(this).attr("data-lwaio_action");if("accept_all"==c)o.enableAllCookies(),o.accept_all_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),a=t.read(ACTED_CONSENT_CK_NAME),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAcceptAll",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i),o.logConsent(c);else if("accept"==c)o.accept_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),a=t.read(ACTED_CONSENT_CK_NAME),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAccept",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i),o.logConsent(c);else if("reject"==c){o.reject_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),a=t.read(ACTED_CONSENT_CK_NAME),t.erase(USR_PREFS_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnReject",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i);let e=t.getallcookies();"object"==typeof e&&null!==e&&jQuery.each(e,function(e,o){e!=ACTED_CONSENT_CK_NAME&&t.erase(e,"."+window.location.host)}),o.logConsent(c)}else"settings"==c?(o.bar_elm.slideUp(o.settings.animate_speed_hide),o.show_again_elm.slideUp(o.settings.animate_speed_hide)):"close"==c?o.displayHeader():"show_settings"==c?o.show_details():"hide_settings"==c?o.hide_details():"close_banner"==c&&(o.hideHeader(),o.accept_close(),"yes"!=(a=t.read(ACTED_CONSENT_CK_NAME))&&(s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAccept",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i)))}),jQuery(".group-switch-buttons input").each(function(){let e=jQuery(this).val(),i={},s="";if(t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME))),"necessary"==e||jQuery(this).is(":checked"))i[e]="yes",o.allowed_categories.push(e);else{i[e]="no";let t=o.allowed_categories.length;for(let i=0;i<t;i++)o.allowed_categories[i]==e&&o.allowed_categories.splice(i,1)}s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME)}),jQuery(document).on("click","#lwaio-consent-show-again",function(t){t.preventDefault(),jQuery(o.settings.notify_div_id).find("p.lwaio").show(),jQuery(o.settings.notify_div_id).find(".lwaio.group-description-buttons").show(),o.displayHeader(),e(this).hide()}),jQuery(document).on("click",".group-switch-buttons input",function(){let e=jQuery(this).val(),i={},s="";if(t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME))),jQuery(this).is(":checked"))i[e]="yes",o.allowed_categories.push(e);else{i[e]="no";let t=o.allowed_categories.length;for(let i=0;i<t;i++)o.allowed_categories[i]==e&&o.allowed_categories.splice(i,1)}s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME)}),jQuery(document).on("click","#lwaio_consent_tabs_overview",function(e){e.preventDefault();let t=jQuery(this);jQuery("#lwaio_consent_tabs").find("a").removeClass("tab_selected"),t.addClass("tab_selected"),t.css("border-bottom-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color),jQuery("#lwaio_consent_tabs_about").css("border-bottom-color",o.settings.border_color),jQuery("#lwaio_consent_tabs_about").css("background-color",o.settings.background_color),jQuery("#lwaio_consent_about").hide(),jQuery("#lwaio_consent_overview").show()}),jQuery(document).on("click","#lwaio_consent_tabs_about",function(e){e.preventDefault();let t=jQuery(this);jQuery("#lwaio_consent_tabs").find("a").removeClass("tab_selected"),t.addClass("tab_selected"),t.css("border-bottom-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color),jQuery("#lwaio_consent_tabs_overview").css("border-bottom-color",o.settings.border_color),jQuery("#lwaio_consent_tabs_overview").css("background-color",o.settings.background_color),jQuery("#lwaio_consent_overview").hide(),jQuery("#lwaio_consent_about").show()}),jQuery(document).on("click","#lwaio_consent_overview_cookie_container_types a",function(e){e.preventDefault();let t=jQuery(this),i=t.parent();i.find("a").removeClass("lwaio_consent_overview_cookie_container_type_selected"),i.find("a").css("border-right-color",o.settings.border_color),i.find("a").css("background-color",o.settings.background_color),t.addClass("lwaio_consent_overview_cookie_container_type_selected"),t.css("border-right-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color);let s=jQuery(this).attr("data-target"),n=i.siblings("#lwaio_consent_overview_cookie_container_type_details");n.find(".lwaio_consent_cookie_type_details").hide(),n.find("#"+s).show()})},configButtons:function(){this.settings_button.attr("style",`color: ${this.settings.button_link_color} !important; background-color: ${this.settings.secondary_color} !important`),this.main_button.css("color",this.settings.button_link_color),this.main_button.css("background-color",this.settings.primary_color),this.accept_all_button.css("color",this.settings.button_link_color),this.accept_all_button.css("background-color",this.settings.primary_color),this.confirm_button.css("color",this.settings.button_link_color),this.confirm_button.css("background-color",this.settings.primary_color),this.main_link.css("color",this.settings.secondary_color),this.reject_button.css("display","inline-block"),this.reject_button.attr("style",`color: ${this.settings.button_link_color} !important; background-color: ${this.settings.secondary_color} !important`),this.cancel_button.css("color",this.settings.button_link_color),this.cancel_button.css("display","inline-block"),this.cancel_button.css("background-color",this.settings.secondary_color),this.save_button.css("color",this.settings.button_link_color),this.save_button.css("background-color",this.settings.primary_color),this.details_elm.find("table.lwaio_consent_cookie_type_table tr").css("border-color",o.settings.border_color),this.details_elm.find(".lwaio_consent_cookie_type_intro").css("border-color",o.settings.border_color),this.details_elm.find("a").each(function(){jQuery(this).css("border-color",o.settings.border_color),jQuery(this).css("background-color",o.settings.background_color)}),this.details_elm.find("a.lwaio_consent_overview_cookie_container_type_selected").css("border-right-color",o.settings.border_active_color),this.details_elm.find("a.lwaio_consent_overview_cookie_container_type_selected").css("background-color",o.settings.background_active_color),this.details_elm.find("#lwaio_consent").css("border-color",o.settings.border_color),this.details_elm.find("#lwaio_consent_tabs").css("border-color",o.settings.border_color),this.details_elm.find("#lwaio_consent_tabs .tab_selected").css("border-bottom-color",o.settings.border_active_color),this.details_elm.find("#lwaio_consent_tabs .tab_selected").css("background-color",o.settings.background_active_color)},configBar:function(){this.bar_config={"background-color":this.settings.background,color:this.settings.text,"border-top":"1px solid "+this.settings.secondary_color},this.show_config={width:"auto","background-color":this.settings.background,color:this.settings.text,position:"fixed",opacity:this.settings.opacity,bottom:"0","border-top":"1px solid "+this.settings.secondary_color},"right"==this.settings.show_again_position?this.show_config.right=this.settings.show_again_margin+"%":this.show_config.left=this.settings.show_again_margin+"%",this.bar_config.position="fixed",this.bar_config.opacity=this.settings.opacity,this.bar_elm.find(".lwaio_messagebar_content").css("max-width","800px"),"bottom"==this.settings.banner_position?this.bar_config.bottom="0":this.bar_config.top="0",this.bar_elm.css(this.bar_config).hide(),this.show_again_elm.css(this.show_config).hide()},toggleBar:function(){t.exists(ACTED_CONSENT_CK_NAME)?this.hideHeader():(this.displayHeader(),this.settings.auto_hide&&setTimeout(function(){o.accept_close()},this.settings.auto_hide_delay))},accept_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.accept_reload&&window.location.reload(!0),!1},accept_all_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.accept_reload&&window.location.reload(!0),!1},reject_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),o.disableAllCookies(),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.decline_reload&&window.location.reload(!0),!1},logConsent:function(e){this.settings.logging_on&&jQuery.ajax({url:log_obj.ajax_url,type:"POST",data:{action:"lwaio_log_consent_action",lwaio_user_action:e,cookie_list:t.getallcookies()},success:function(e){}})},disableAllCookies:function(){let i={},s="";t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME)),jQuery.each(i,function(t,s){if("necessary"!=t){i[t]="no",e('.group-switch-buttons input[value="'+t+'"]').prop("checked",!1);let s=o.allowed_categories.length;for(let e=0;e<s;e++)o.allowed_categories[e]==t&&o.allowed_categories.splice(e,1)}}),s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME))},enableAllCookies:function(){let i={},s="";t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME)),jQuery.each(i,function(t,s){if("necessary"!=t){i[t]="yes",e('.group-switch-buttons input[value="'+t+'"]').prop("checked",!0);let s=o.allowed_categories.length;for(let e=0;e<s;e++)o.allowed_categories[e]==t&&o.allowed_categories.splice(e,1)}}),s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME))},show_details:function(){this.details_elm.show(),this.bar_elm.css("opacity",1),this.details_elm.css("border-top-color",o.settings.border_color),this.settings_button.attr("data-lwaio_action","hide_settings")},hide_details:function(){this.details_elm.hide(),this.bar_elm.css("opacity",o.settings.opacity),this.settings_button.attr("data-lwaio_action","show_settings")},displayHeader:function(e,t){this.bar_elm.show(),e&&(jQuery(o.settings.notify_div_id).find("p.lwaio").hide(),jQuery(o.settings.notify_div_id).find(".lwaio.group-description-buttons").hide()),this.show_again_elm.slideUp(this.settings.animate_speed_hide)},hideHeader:function(e){this.bar_elm.slideUp(this.settings.animate_speed_hide),e||this.show_again_elm.slideDown(this.settings.animate_speed_hide)},acceptOnScroll:function(){let i=e(window).scrollTop()/(e(document).height()-e(window).height());Math.round(100*i)>o.settings.auto_scroll_offset&&!t.exists(ACTED_CONSENT_CK_NAME)&&(o.accept_close(),window.removeEventListener("scroll",o.acceptOnScroll,!1),1==o.settings.auto_scroll_reload&&window.location.reload())}},i={blockingStatus:!0,scriptsLoaded:!1,set:function(e){"function"==typeof JSON.parse?this.cookies=JSON.parse(e.cookies):console.log("LWAIOCookieConsent requires JSON.parse but your browser doesn't support it")},removeCookieByCategory:function(){if(1==i.blockingStatus)for(let e in i.cookies){let s=i.cookies[e],n=s.lwaio_category_slug;if(-1===o.allowed_categories.indexOf(n)){let e=s.data;if(e&&0!=e.length)for(let o in e){let i=e[o];t.erase(i.name)}}}},runScripts:function(){let e=["iframe","IFRAME","EMBED","embed","OBJECT","object","IMG","img"],s=function(e){n.renderScripts(),a.renderSrcElement(),e(),i.scriptsLoaded=!0},n={scriptsDone:function(){let e=document.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),window.document.dispatchEvent(e)},seq:function(e,t,o){void 0===o&&(o=0),e[o](function(){++o===e.length?t():n.seq(e,t,o)})},insertScript:function(e,s){let n=["data-wpl-class","data-wpl-label","data-wpl-placeholder","data-wpl-script-type","data-wpl-src"],a=e.getAttribute("data-wpl-script-type"),c=e.getAttribute("data-wpl-element-position"),r=e.getAttribute("data-wpl-block"),l=document.createElement("script");l.type="text/plain",e.async&&(l.async=e.async),e.defer&&(l.defer=e.defer),e.src?(l.onload=s,l.onerror=s,l.src=e.src):l.textContent=e.innerText;let _=jQuery(e).prop("attributes"),d=_.length;for(let e=0;e<d;++e)"id"!==_[e].nodeName&&-1!==n.indexOf(_[e].nodeName)&&l.setAttribute(_[e].nodeName,_[e].value);!0===i.blockingStatus?("yes"==t.read(ACTED_CONSENT_CK_NAME)&&-1!==o.allowed_categories.indexOf(a)||null==t.read(ACTED_CONSENT_CK_NAME)&&"false"===r)&&(l.setAttribute("data-wpl-consent","accepted"),l.type="text/javascript"):l.type="text/javascript",e.type!=l.type&&("head"===c?(document.head.appendChild(l),e.src||s(),e.parentNode.removeChild(e)):(document.body.appendChild(l),e.src||s(),e.parentNode.removeChild(e)))},renderScripts:function(){let e=document.querySelectorAll('script[data-wpl-class="wpl-blocker-script"]');if(e.length>0){let t,o=[];Array.prototype.forEach.call(e,function(e){t=e.getAttribute("type");e.tagName;o.push(function(t){n.insertScript(e,t)})}),n.seq(o,n.scriptsDone)}}},a={renderSrcElement:function(){let s=document.querySelectorAll('[data-wpl-class="wpl-blocker-script"]'),n=s.length;for(let a=0;a<n;a++){let n=s[a],c=n.tagName;if(-1!==e.indexOf(c)){let e=n.getAttribute("data-wpl-script-type"),s=n.getAttribute("data-wpl-block");!0===i.blockingStatus?"yes"==t.read(ACTED_CONSENT_CK_NAME)&&-1!==o.allowed_categories.indexOf(e)||null!=t.read(ACTED_CONSENT_CK_NAME)&&"false"===s?this.replaceSrc(n):this.addPlaceholder(n):this.replaceSrc(n)}}},addPlaceholder:function(e){if(0===jQuery(e).prev(".wpl-iframe-placeholder").length){let t=e.getAttribute("data-wpl-placeholder"),o=e.getAttribute("width"),i=e.getAttribute("height");null==o&&(o=e.offsetWidth),null==i&&(i=e.offsetHeight);let s=/px/,n='<div style="width:'+(o=s.test(o)?o:o+"px")+"; height:"+(i=s.test(i)?i:i+"px")+';" class="wpl-iframe-placeholder"><div class="wpl-inner-text">'+t+"</div></div>";"IMG"!==e.tagName&&jQuery(n).insertBefore(e),e.removeAttribute("src"),e.style.display="none"}},replaceSrc:function(e){if(!e.hasAttribute("src")){let t=e.getAttribute("data-wpl-src");e.setAttribute("src",t),jQuery(e).prev(".wpl-iframe-placeholder").length>0&&jQuery(e).prev(".wpl-iframe-placeholder").remove(),e.style.display="block"}}};(function(){jQuery(document).on("click",".wpl_manage_current_consent",function(){o.displayHeader()})})(),s(i.removeCookieByCategory)}};e(document).ready(function(){"undefined"!=typeof lwaiobar_settings&&o.set({settings:lwaiobar_settings}),"undefined"!=typeof lwaios_list&&(i.set({cookies:lwaios_list}),i.runScripts())}),e(document).ready(function(){e(".lwaio-column").click(function(){e(".lwaio-column",this),e(this).children(".lwaio-columns").hasClass("active-group")||(e(".lwaio-columns").removeClass("active-group"),e(this).children(".lwaio-columns").addClass("active-group")),e(this).siblings(".description-container").hasClass("hide")&&(e(".description-container").addClass("hide"),e(this).siblings(".description-container").removeClass("hide"))})})}(jQuery);