(function(a,b){"function"==typeof define&&define.amd?define([],b):"object"==typeof module&&module.exports?module.exports=b():a.SimpleLightbox=b()})(this,function(){function a(a){for(var b,c=1;c<arguments.length;c++)if(b=arguments[c],b)for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);return a}function b(a,b){a&&b&&(a.className+=" "+b)}function c(a,b){a&&b&&(a.className=a.className.replace(new RegExp("(\\s|^)"+b+"(\\s|$)")," ").trim())}function d(a){var b=document.createElement("div");return b.innerHTML=a.trim(),b.childNodes[0]}function f(a,b){return(a.matches||a.matchesSelector||a.msMatchesSelector).call(a,b)}function g(){return"innerHeight"in window?window.innerHeight:document.documentElement.offsetHeight}function h(){this.init.apply(this,arguments)}return h.defaults={elementClass:"",elementLoadingClass:"slbLoading",htmlClass:"slbActive",closeBtnClass:"",nextBtnClass:"",prevBtnClass:"",loadingTextClass:"",closeBtnCaption:"Close",nextBtnCaption:"Next",prevBtnCaption:"Previous",loadingCaption:"Loading...",bindToItems:!0,closeOnOverlayClick:!0,closeOnEscapeKey:!0,nextOnImageClick:!0,showCaptions:!0,captionAttribute:"title",urlAttribute:"href",startAt:0,loadingTimeout:100,appendTarget:"body",beforeSetContent:null,beforeClose:null,afterClose:null,beforeDestroy:null,afterDestroy:null,videoRegex:new RegExp(/youtube.com|youtu.be|vimeo.com/)},a(h.prototype,{init:function(b){b=this.options=a({},h.defaults,b);var c,d=this;b.$items&&(c=b.$items.get()),b.elements&&(c=[].slice.call("string"==typeof b.elements?document.querySelectorAll(b.elements):b.elements)),this.eventRegistry={lightbox:[],thumbnails:[]},this.items=[],this.captions=[],c&&c.forEach(function(a,c){d.items.push(a.getAttribute(b.urlAttribute));var e=a.getAttribute(b.captionAttribute);e||(e=a.querySelector("img")?.getAttribute(b.captionAttribute),!e&&(e=a.parentElement?.querySelector("figcaption")?.textContent)),d.captions.push(e),b.bindToItems&&d.addEvent(a,"click",function(a){a.preventDefault(),d.showPosition(c)},"thumbnails")}),b.items&&(this.items=b.items),b.captions&&(this.captions=b.captions)},addEvent:function(a,b,c,d){return this.eventRegistry[d||"lightbox"].push({element:a,eventName:b,callback:c}),a.addEventListener(b,c),this},removeEvents:function(a){return this.eventRegistry[a].forEach(function(a){a.element.removeEventListener(a.eventName,a.callback)}),this.eventRegistry[a]=[],this},next:function(){return this.showPosition(this.currentPosition+1)},prev:function(){return this.showPosition(this.currentPosition-1)},normalizePosition:function(a){return a>=this.items.length?a=0:0>a&&(a=this.items.length-1),a},showPosition:function(a){var b=this.normalizePosition(a);return"undefined"!=typeof this.currentPosition&&(this.direction=b>this.currentPosition?"next":"prev"),this.currentPosition=b,this.setupLightboxHtml().prepareItem(this.currentPosition,this.setContent).show()},loading:function(a){var d=this,e=this.options;a?this.loadingTimeout=setTimeout(function(){b(d.$el,e.elementLoadingClass),d.$content.innerHTML="<p class=\"slbLoadingText "+e.loadingTextClass+"\">"+e.loadingCaption+"</p>",d.show()},e.loadingTimeout):(c(this.$el,e.elementLoadingClass),clearTimeout(this.loadingTimeout))},getVideoURL:function(a){for(var b="//_URL_",c=[{rx:/^(?:https?:)?\/\/(?:www\.)?vimeo\.com\/([^\?&"]+).*$/g,tmpl:b.replace("_URL_","player.vimeo.com/video/$1")},{rx:/^.*(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/|v\/|user\/.+\/)?([^\?&"]+).*$/g,tmpl:b.replace("_URL_","www.youtube.com/embed/$1")},{rx:/^.*(?:https?:\/\/)?(?:www\.)?(?:youtube-nocookie\.com)\/(?:watch\?v=|embed\/|v\/|user\/.+\/)?([^\?&"]+).*$/g,tmpl:b.replace("_URL_","www.youtube-nocookie.com/embed/$1")}],d=0;d<c.length;d++)if(c[d].rx.test(a))return a.replace(c[d].rx,c[d].tmpl);return a},prepareItem:function(a,b){var c=this,e=this.items[a];if(this.loading(!0),this.options.videoRegex.test(e)){var f=this.getVideoURL(e);b.call(c,d("<div class=\"slbIframeCont\"><iframe class=\"slbIframe\" frameborder=\"0\" allowfullscreen src=\""+f+"\"></iframe></div>"))}else{var g=d("<div class=\"slbImageWrap\"><img class=\"slbImage\" src=\""+e+"\" /></div>");this.$currentImage=g.querySelector(".slbImage"),this.options.showCaptions&&this.captions[a]&&g.appendChild(d("<div class=\"slbCaption\">"+this.captions[a]+"</div>")),this.loadImage(e,function(){c.setImageDimensions(),b.call(c,g),c.loadImage(c.items[c.normalizePosition(c.currentPosition+1)])})}return this},loadImage:function(a,b){if(!this.options.videoRegex.test(a)){var c=new Image;b&&(c.onload=b),c.src=a}},setupLightboxHtml:function(){var a=this.options;return this.$el||(this.$el=d("<div class=\"slbElement "+a.elementClass+"\"><div class=\"slbOverlay\"></div><div class=\"slbWrapOuter\"><div class=\"slbWrap\"><div class=\"slbContentOuter\"><div class=\"slbContent\"></div><button type=\"button\" title=\""+a.closeBtnCaption+"\" class=\"slbCloseBtn "+a.closeBtnClass+"\">\xD7</button>"+(1<this.items.length?"<div class=\"slbArrows\"><button type=\"button\" title=\""+a.prevBtnCaption+"\" class=\"prev slbArrow"+a.prevBtnClass+"\">"+a.prevBtnCaption+"</button><button type=\"button\" title=\""+a.nextBtnCaption+"\" class=\"next slbArrow"+a.nextBtnClass+"\">"+a.nextBtnCaption+"</button></div>":"")+"</div></div></div></div>"),this.$content=this.$el.querySelector(".slbContent")),this.$content.innerHTML="",this},show:function(){return this.modalInDom||(document.querySelector(this.options.appendTarget).appendChild(this.$el),b(document.documentElement,this.options.htmlClass),this.setupLightboxEvents(),this.modalInDom=!0),this},setContent:function(a){var e="string"==typeof a?d(a):a;return this.loading(!1),this.setupLightboxHtml(),c(this.$content,"slbDirectionNext"),c(this.$content,"slbDirectionPrev"),this.direction&&b(this.$content,"next"===this.direction?"slbDirectionNext":"slbDirectionPrev"),this.options.beforeSetContent&&this.options.beforeSetContent(e,this),this.$content.appendChild(e),this},setImageDimensions:function(){this.$currentImage&&(this.$currentImage.style.maxHeight=g()+"px")},setupLightboxEvents:function(){var a=this;return this.eventRegistry.lightbox.length?this:(this.addEvent(this.$el,"click",function(b){var c=b.target;f(c,".slbCloseBtn")||a.options.closeOnOverlayClick&&f(c,".slbWrap")?a.close():f(c,".slbArrow")?f(c,".next")?a.next():a.prev():a.options.nextOnImageClick&&1<a.items.length&&f(c,".slbImage")&&a.next()}).addEvent(document,"keyup",function(b){a.options.closeOnEscapeKey&&27===b.keyCode&&a.close(),1<a.items.length&&((39===b.keyCode||68===b.keyCode)&&a.next(),(37===b.keyCode||65===b.keyCode)&&a.prev())}).addEvent(window,"resize",function(){a.setImageDimensions()}),this)},close:function(){this.modalInDom&&(this.runHook("beforeClose"),this.removeEvents("lightbox"),this.$el&&this.$el.parentNode.removeChild(this.$el),c(document.documentElement,this.options.htmlClass),this.modalInDom=!1,this.runHook("afterClose")),this.direction=void 0,this.currentPosition=this.options.startAt},destroy:function(){this.close(),this.runHook("beforeDestroy"),this.removeEvents("thumbnails"),this.runHook("afterDestroy")},runHook:function(a){this.options[a]&&this.options[a](this)}}),h.open=function(a){var b=new h(a);return a.content?b.setContent(a.content).show():b.showPosition(b.options.startAt)},h.registerAsJqueryPlugin=function(a){a.fn.simpleLightbox=function(b){var c,d=this;return this.each(function(){a.data(this,"simpleLightbox")||(c=c||new h(a.extend({},b,{$items:d})),a.data(this,"simpleLightbox",c))})},a.SimpleLightbox=h},"undefined"!=typeof window&&window.jQuery&&h.registerAsJqueryPlugin(window.jQuery),h});
(function(){"use strict";var a={checkImage:function(a){return /(png|jpg|jpeg|gif|tiff|bmp|webp|avif)$/.test(a.getAttribute("href").toLowerCase().split("?")[0].split("#")[0])},findImages:function(){var b=document.querySelectorAll("a[href]:not(.kt-no-lightbox):not(.custom-link):not(.kb-gallery-item-link):not(.kt-core-gallery-lightbox)");if(b.length&&b)for(let c=0;c<b.length;c++)a.checkImage(b[c])&&!b[c].classList.contains("kt-lightbox")&&(b[c].classList.add("kt-lightbox"),new SimpleLightbox({elements:[b[c]]}))},findGalleries:function(){var b=document.querySelectorAll(".wp-block-gallery");if(b.length&&b)for(let d=0;d<b.length;d++){var c=b[d].querySelectorAll(".blocks-gallery-item a");if(!c.length)return;if(c)for(let b=0;b<c.length;b++)a.checkImage(c[b])&&c[b].classList.add("kt-core-gallery-lightbox");b[d]&&new SimpleLightbox({elements:b[d].querySelectorAll(".blocks-gallery-item a")})}},initAll:function(){a.findGalleries(),a.findImages()},init:function(){if("function"==typeof SimpleLightbox)a.initAll();else var b=setInterval(function(){"function"==typeof SimpleLightbox&&(a.initAll(),clearInterval(b))},200)}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",a.init):a.init(),document.addEventListener("kb-query-loaded",a.init),document.addEventListener("kadenceJSInitReload",a.init)})();
(function(){"use strict";window.kadence={initOutlineToggle:function(){document.body.addEventListener("keydown",function(){document.body.classList.remove("hide-focus-outline")}),document.body.addEventListener("mousedown",function(){document.body.classList.add("hide-focus-outline")})},getOffset:function(a){if(a instanceof HTMLElement){var b=a.getBoundingClientRect();return{top:b.top+window.pageYOffset,left:b.left+window.pageXOffset}}return{top:null,left:null}},findParents:function(a,b){function c(a){var e=a.parentNode;e instanceof HTMLElement&&(e.matches(b)&&d.push(e),c(e))}var d=[];return c(a),d},toggleAttribute:function(a,b,c,d){c===void 0&&(c=!0),d===void 0&&(d=!1),a.getAttribute(b)===c?a.setAttribute(b,d):a.setAttribute(b,c)},initNavToggleSubmenus:function(){var a=document.querySelectorAll(".nav--toggle-sub");if(a.length)for(let b=0;b<a.length;b++)window.kadence.initEachNavToggleSubmenu(a[b]),window.kadence.initEachNavToggleSubmenuInside(a[b])},initEachNavToggleSubmenu:function(a){var b=a.querySelectorAll(".menu ul");if(b.length)for(let f=0;f<b.length;f++){var c=b[f].parentNode;let g=c.querySelector(".dropdown-nav-toggle");if(g){var d=c.querySelector(".nav-drop-title-wrap").firstChild.textContent.trim(),e=document.createElement("BUTTON");e.setAttribute("aria-label",d?kadenceConfig.screenReader.expandOf+" "+d:kadenceConfig.screenReader.expand),e.setAttribute("aria-haspopup","menu"),e.setAttribute("aria-expanded","false"),e.setAttribute("aria-label",d?kadenceConfig.screenReader.expandOf+" "+d:kadenceConfig.screenReader.expand),e.classList.add("dropdown-nav-special-toggle"),c.insertBefore(e,c.childNodes[1]),e.addEventListener("click",function(a){a.preventDefault(),window.kadence.toggleSubMenu(a.target.closest("li"))}),a.classList.contains("click-to-open")||c.addEventListener("mouseleave",function(a){var b=a.relatedTarget;b&&c.contains(b)||window.kadence.toggleSubMenu(c,!1)}),c.querySelector("a").addEventListener("focus",function(a){var b=a.target.parentNode.parentNode.querySelectorAll("li.menu-item--toggled-on");for(let d=0;d<b.length;d++)c!==b[d]&&window.kadence.toggleSubMenu(b[d],!1)}),b[f].addEventListener("keydown",function(a){var c="ul.toggle-show > li > a, ul.toggle-show > li > .dropdown-nav-special-toggle";if(9===a.keyCode){var c="ul.toggle-show > li > a, ul.toggle-show > li > .dropdown-nav-special-toggle";b[f].parentNode.classList.contains("kadence-menu-mega-enabled")&&(c="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex=\"0\"], [contenteditable]"),a.shiftKey?window.kadence.isfirstFocusableElement(b[f],document.activeElement,c)&&window.kadence.toggleSubMenu(b[f].parentNode,!1):window.kadence.islastFocusableElement(b[f],document.activeElement,c)&&window.kadence.toggleSubMenu(b[f].parentNode,!1)}27===a.keyCode&&(window.kadence.toggleSubMenu(b[f].parentNode,!1),b[f].parentNode.querySelector(".dropdown-nav-special-toggle").focus())}),b[f].parentNode.classList.add("menu-item--has-toggle")}}},initEachNavToggleSubmenuInside:function(a){var b=a.querySelectorAll(".menu-item-has-children");if(b.length)for(let a=0;a<b.length;a++)b[a].addEventListener("mouseenter",function(){if(b[a].querySelector("ul.sub-menu")){var c=b[a].querySelector("ul.sub-menu"),d=window.kadence.getOffset(c),e=d.left,f=c.offsetWidth,g=window.innerWidth;e+f<=g||c.classList.add("sub-menu-edge")}})},toggleSubMenu:function(a,b){if(!a||"LI"!==a.tagName||!a.querySelector("ul"))return;var c=a.querySelector(".dropdown-nav-special-toggle"),d=a.querySelector("ul"),e=a.querySelector(".nav-drop-title-wrap").firstChild.textContent.trim();let f=a.classList.contains("menu-item--toggled-on")||d&&d.classList.contains("opened");void 0!==b&&"boolean"==typeof b&&(f=!b);var g=(!f).toString();if(c&&c.setAttribute("aria-expanded",g),f){setTimeout(function(){a.classList.remove("menu-item--toggled-on"),d&&(d.classList.remove("toggle-show"),d.classList.remove("opened")),c&&c.setAttribute("aria-label",e?kadenceConfig.screenReader.expandOf+" "+e:kadenceConfig.screenReader.expand)},5);var h=a.querySelectorAll(".menu-item--toggled-on");for(let a=0;a<h.length;a++)window.kadence.toggleSubMenu(h[a],!1)}else{var j=a.parentNode.querySelectorAll("li");for(let b=0;b<j.length;b++)if(j[b]!==a){var k=j[b].querySelector("ul");k&&(j[b].classList.contains("menu-item--toggled-on")||k.classList.contains("opened"))&&window.kadence.toggleSubMenu(j[b],!1)}a.classList.add("menu-item--toggled-on"),d&&(d.classList.add("toggle-show"),d.classList.add("opened")),c&&c.setAttribute("aria-label",e?kadenceConfig.screenReader.collapseOf+" "+e:kadenceConfig.screenReader.collapse)}},isfirstFocusableElement:function(a,b,c){var d=a.querySelectorAll(c);return!!(0<d.length)&&b===d[0]},islastFocusableElement:function(a,b,c){var d=a.querySelectorAll(c);return!!(0<d.length)&&b===d[d.length-1]},toggleDrawer:function(a,b){b="undefined"==typeof b||b;var c=a,d=document.querySelector(c.dataset.toggleTarget);if(d){var e=window.innerWidth-document.documentElement.clientWidth,f=c.dataset.toggleDuration?c.dataset.toggleDuration:250;if(c.hasAttribute("aria-expanded")&&window.kadence.toggleAttribute(c,"aria-expanded","true","false"),d.classList.contains("show-drawer"))c.dataset.toggleBodyClass&&document.body.classList.remove(c.dataset.toggleBodyClass),d.classList.remove("active"),d.classList.remove("pop-animated"),document.body.classList.remove("kadence-scrollbar-fixer"),setTimeout(function(){d.classList.remove("show-drawer");var a=new Event("kadence-drawer-closed");if(window.dispatchEvent(a),c.dataset.setFocus&&b){var e=document.querySelector(c.dataset.setFocus);e&&(e.focus(),e.hasAttribute("aria-expanded")&&window.kadence.toggleAttribute(e,"aria-expanded","true","false"))}},f);else if(d.classList.add("show-drawer"),c.dataset.toggleBodyClass&&(document.body.classList.toggle(c.dataset.toggleBodyClass),c.dataset.toggleBodyClass.includes("showing-popup-drawer-")&&(document.body.style.setProperty("--scrollbar-offset",e+"px"),document.body.classList.add("kadence-scrollbar-fixer"))),setTimeout(function(){d.classList.add("active");var a=new Event("kadence-drawer-opened");if(window.dispatchEvent(a),c.dataset.setFocus&&b){var e=document.querySelector(c.dataset.setFocus);if(e){e.hasAttribute("aria-expanded")&&window.kadence.toggleAttribute(e,"aria-expanded","true","false");var f=e.value;e.value="",e.focus(),e.value=f}}},10),setTimeout(function(){d.classList.add("pop-animated")},f),d.classList.contains("popup-drawer")){var g=d.querySelectorAll("button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])"),h=g[0],i=g[g.length-1];document.addEventListener("keydown",function(a){let b="Tab"===a.key||9===a.keyCode;b&&(a.shiftKey?document.activeElement===h&&(i.focus(),a.preventDefault()):document.activeElement===i&&(h.focus(),a.preventDefault()))})}}},initToggleDrawer:function(){var a=document.querySelectorAll(".drawer-toggle");if(a.length){for(let b=0;b<a.length;b++)a[b].addEventListener("click",function(c){c.preventDefault(),window.kadence.toggleDrawer(a[b])});document.addEventListener("keyup",function(a){27===a.keyCode&&document.querySelectorAll(".popup-drawer.show-drawer.active")&&(a.preventDefault(),document.querySelectorAll(".popup-drawer.show-drawer.active").forEach(function(a){a.querySelector(".drawer-toggle")?window.kadence.toggleDrawer(a.querySelector(".drawer-toggle")):window.kadence.toggleDrawer(document.querySelector("*[data-toggle-target=\""+a.dataset.drawerTargetString+"\"]"))}))}),document.addEventListener("click",function(a){var b=a.target,c=document.querySelector(".show-drawer.active .drawer-overlay");b===c&&window.kadence.toggleDrawer(document.querySelector("*[data-toggle-target=\""+c.dataset.drawerTargetString+"\"]"));var d=document.querySelector("#search-drawer.show-drawer.active .drawer-content"),c=document.querySelector("#search-drawer.show-drawer.active .drawer-overlay");b===d&&window.kadence.toggleDrawer(document.querySelector("*[data-toggle-target=\""+c.dataset.drawerTargetString+"\"]"))})}},initMobileToggleSub:function(){var a=document.querySelectorAll(".has-collapse-sub-nav");a.forEach(function(a){var b=a.querySelector(".current-menu-item");b&&window.kadence.findParents(b,"li").forEach(function(a){var b=a.querySelector(".drawer-sub-toggle");b&&window.kadence.toggleDrawer(b,!0)})});var b=document.querySelectorAll(".drawer-sub-toggle");if(b.length)for(let a=0;a<b.length;a++)b[a].addEventListener("click",function(c){c.preventDefault(),window.kadence.toggleDrawer(b[a])})},initMobileToggleAnchor:function(){var a=document.getElementById("mobile-drawer");if(a){var b=a.querySelectorAll("a:not(.kt-tab-title)");if(b.length)for(let c=0;c<b.length;c++)b[c].addEventListener("click",function(){window.kadence.toggleDrawer(a.querySelector(".menu-toggle-close"),!1)})}},initTransHeaderPadding:function(){if(!document.body.classList.contains("no-header")&&document.body.classList.contains("transparent-header")&&document.body.classList.contains("mobile-transparent-header")){var a=document.querySelector(".entry-hero-container-inner"),b=document.querySelector("#masthead"),c=function(){b,a.style.paddingTop=kadenceConfig.breakPoints.desktop<=window.innerWidth?document.body.classList.contains("transparent-header")?b.offsetHeight+"px":0:document.body.classList.contains("mobile-transparent-header")?b.offsetHeight+"px":0};a&&(window.addEventListener("resize",c,!1),window.addEventListener("scroll",c,!1),window.addEventListener("load",c,!1),c())}},initStickyHeader:function(){var a=document.querySelector("#main-header .kadence-sticky-header"),b=document.querySelector("#mobile-header .kadence-sticky-header"),c=document.getElementById("wrapper"),d=document.querySelectorAll(".kadence-pro-fixed-above"),f=document.querySelectorAll(".kadence-before-wrapper-item"),g="mobile",h=0,i=0;parseInt(kadenceConfig.breakPoints.desktop)<window.innerWidth?(g="desktop",a&&(a.style.position="static",i=window.kadence.getOffset(a).top,a.style.position=null)):b&&(b.style.position="static",i=window.kadence.getOffset(b).top,b.style.position=null);var j=function(j){var e,k=window.kadence.getOffset(c).top;if(document.body.classList.toString().includes("boom_bar-static-top")){var l=document.querySelector(".boom_bar");k=window.kadence.getOffset(c).top-l.offsetHeight}if(f.length){var m=0;for(let a=0;a<f.length;a++)m+=f[a].offsetHeight;k=window.kadence.getOffset(c).top-m}if(d.length){var n=0;for(let a=0;a<d.length;a++)n+=d[a].offsetHeight;k=window.kadence.getOffset(c).top+n}if(document.body.classList.contains("woocommerce-demo-store")&&document.body.classList.contains("kadence-store-notice-placement-above")){var o=document.querySelector(".woocommerce-store-notice");o&&0<o.offsetHeight&&(k-=o.offsetHeight)}if(e=kadenceConfig.breakPoints.desktop<=window.innerWidth?a:b,!!e){kadenceConfig.breakPoints.desktop<=window.innerWidth?"mobile"===g?(i=window.kadence.getOffset(e).top,g="desktop"):j&&"updateActive"===j&&(e.style.top="auto",i=window.kadence.getOffset(e).top,g="desktop"):"desktop"===g?(i=window.kadence.getOffset(e).top,g="mobile"):j&&"updateActive"===j&&(e.style.top="auto",i=window.kadence.getOffset(e).top,g="mobile");var p=e.parentNode,q=e.getAttribute("data-shrink"),r=e.getAttribute("data-reveal-scroll-up"),s=parseInt(e.getAttribute("data-start-height"));if((!s||j&&void 0!==j.type&&"orientationchange"===j.type)&&(e.setAttribute("data-start-height",e.offsetHeight),s=e.offsetHeight,p.classList.contains("site-header-upper-inner-wrap")?(p.style.height=null,j&&void 0!==j.type&&"orientationchange"===j.type?e.classList.contains("item-is-fixed")?setTimeout(function(){p.style.height=Math.floor(p.offsetHeight+e.offsetHeight)+"px"},21):setTimeout(function(){p.style.height=p.offsetHeight+"px"},21):p.style.height=p.offsetHeight+"px"):p.classList.contains("site-header-inner-wrap")?(p.style.height=null,p.style.height=p.offsetHeight+"px"):p.style.height=e.offsetHeight+"px"),"true"===q){var t=e.getAttribute("data-shrink-height");if(t){if("true"!==r)var u=Math.floor(i-k);else if(window.scrollY>h)var u=Math.floor(Math.floor(i)-Math.floor(k)+Math.floor(s));else var u=Math.floor(i-k);var v=e.querySelectorAll(".custom-logo"),w=e.querySelector(".site-main-header-inner-wrap"),x=parseInt(w.getAttribute("data-start-height"));if(x||(w.setAttribute("data-start-height",w.offsetHeight),x=w.offsetHeight),window.scrollY<=u){if(w.style.height=x+"px",w.style.minHeight=x+"px",w.style.maxHeight=x+"px",v)for(let a,b=0;b<v.length;b++)a=v[b],a.style.maxHeight="100%";}else if(window.scrollY>u){var y=Math.max(t,x-(window.scrollY-(i-k)));if(w.style.height=y+"px",w.style.minHeight=y+"px",w.style.maxHeight=y+"px",v)for(let a,b=0;b<v.length;b++)a=v[b],a.style.maxHeight=y+"px"}}}if("true"===r){var z=Math.floor(i-k),A=window.scrollY,B=e.offsetHeight,C=h-A,D=window.getComputedStyle(e).getPropertyValue("transform").match(/(-?[0-9\.]+)/g);if(D&&void 0!==D[5]&&D[5])var E=parseInt(D[5])+C;else var E=0;var F=A>h;if(A<=z)e.style.transform="translateY(0px)";else if(F)e.classList.add("item-hidden-above"),e.style.transform="translateY("+(Math.abs(E)>B?-B:E)+"px)";else{var z=Math.floor(i-k);e.style.transform="translateY("+(0<E?0:E)+"px)",e.classList.remove("item-hidden-above")}h=A}else var z=Math.floor(i-k);window.scrollY==z?(e.style.top=k+"px",e.classList.add("item-is-fixed"),e.classList.add("item-at-start"),e.classList.remove("item-is-stuck"),p.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):window.scrollY>z?"true"===r?window.scrollY<B+60&&e.classList.contains("item-at-start")?(e.style.height=null,e.style.top=k+"px",e.classList.add("item-is-fixed"),e.classList.add("item-is-stuck"),p.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):(e.style.top=k+"px",e.classList.add("item-is-fixed"),e.classList.add("item-is-stuck"),e.classList.remove("item-at-start"),p.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):(e.style.top=k+"px",e.classList.add("item-is-fixed"),e.classList.remove("item-at-start"),e.classList.add("item-is-stuck"),p.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):e.classList.contains("item-is-fixed")&&(e.classList.remove("item-is-fixed"),e.classList.remove("item-at-start"),e.classList.remove("item-is-stuck"),e.style.height=null,e.style.top=null,p.classList.remove("child-is-fixed"),document.body.classList.remove("header-is-fixed"))}};if((a||b)&&(window.addEventListener("resize",j,!1),window.addEventListener("scroll",j,!1),window.addEventListener("load",j,!1),window.addEventListener("orientationchange",j),"complete"===document.readyState&&j("updateActive"),document.body.classList.contains("woocommerce-demo-store")&&document.body.classList.contains("kadence-store-notice-placement-above"))){var k=function(a,b){var c={root:document.documentElement},d=new IntersectionObserver(a=>{a.forEach(a=>{b(0<a.intersectionRatio)})},c);d.observe(a)};k(document.querySelector(".woocommerce-store-notice"),()=>{j("updateActive")})}},getTopOffset:function(a="scroll"){if("load"===a)var b=document.querySelector("#main-header .kadence-sticky-header"),c=document.querySelector("#mobile-header .kadence-sticky-header");else var b=document.querySelector("#main-header .kadence-sticky-header:not([data-reveal-scroll-up=\"true\"])"),c=document.querySelector("#mobile-header .kadence-sticky-header:not([data-reveal-scroll-up=\"true\"])");var d=0,e=0;if(kadenceConfig.breakPoints.desktop<=window.innerWidth){if(b){var f=b.getAttribute("data-shrink");d="true"!==f||b.classList.contains("site-header-inner-wrap")?Math.floor(b.offsetHeight):Math.floor(b.getAttribute("data-shrink-height"))}else d=0;document.body.classList.contains("admin-bar")&&(e=32)}else{if(c){var f=c.getAttribute("data-shrink");d="true"===f?Math.floor(c.getAttribute("data-shrink-height")):Math.floor(c.offsetHeight)}else d=0;document.body.classList.contains("admin-bar")&&(e=46)}let g=0,h=!1;const i=document.querySelector(".wp-block-kadence-header");i&&(h=kadenceConfig.breakPoints.desktop<=window.innerWidth?i.classList.contains("header-desktop-sticky"):i.classList.contains("header-mobile-sticky"),h&&(g=i.offsetHeight));const j=i&&h?g:d;return Math.floor(j+e+Math.floor(kadenceConfig.scrollOffset))},scrollToElement:function(a,b,c="scroll"){b=!("undefined"!=typeof b)||b;var d=window.kadence.getTopOffset(c),e=Math.floor(a.getBoundingClientRect().top)-d;window.scrollBy({top:e,left:0,behavior:"smooth"}),a.tabIndex="-1",a.focus({preventScroll:!0}),a.classList.contains("kt-title-item")&&a.firstElementChild.click(),b&&window.history.pushState("","","#"+a.id)},anchorScrollToCheck:function(a,b){if(b="undefined"==typeof b?null:b,a.target.getAttribute("href"))var c=a.target;else{var c=a.target.closest("a");if(!c)return;if(!c.getAttribute("href"))return}if(!(c.parentNode&&c.parentNode.hasAttribute("role")&&"tab"===c.parentNode.getAttribute("role"))&&!c.closest(".woocommerce-tabs ul.tabs")&&!(c.classList.contains("comment-reply-link")||"#respond"===c.getAttribute("href")||c.getAttribute("href").includes("#respond"))){var d=b?b.getAttribute("href").substring(b.getAttribute("href").indexOf("#")):c.getAttribute("href").substring(c.getAttribute("href").indexOf("#"));var e=document.getElementById(d.replace("#",""));e&&(e?.classList?.contains("kt-accordion-pane")||(a.preventDefault(),window.kadence.scrollToElement(e),window.kadence.updateActiveAnchors()))}},initStickySidebarWidget:function(){if(document.body.classList.contains("has-sticky-sidebar-widget")){var a=window.kadence.getTopOffset(),b=document.querySelector("#secondary .sidebar-inner-wrap .widget:last-child");b&&(b.style.top=Math.floor(a+20)+"px",b.style.maxHeight="calc(100vh - "+Math.floor(a+20)+"px)")}},initStickySidebar:function(){if(document.body.classList.contains("has-sticky-sidebar")){var a=window.kadence.getTopOffset(),b=document.querySelector("#secondary .sidebar-inner-wrap");b&&(b.style.top=Math.floor(a+20)+"px",b.style.maxHeight="calc(100vh - "+Math.floor(a+20)+"px)")}},initActiveAnchors:function(){""!=window.location.hash&&window.kadence.updateActiveAnchors(),window.onhashchange=function(){window.kadence.updateActiveAnchors()}},updateActiveAnchors:function(){const a=document.querySelectorAll(".menu-item");a.forEach(function(a){const b=a.querySelector("a");b?.href&&b.href.includes("#")&&(window.location.href==b.href?a.classList.add("current-menu-item"):a.classList.remove("current-menu-item"))})},initAnchorScrollTo:function(){if(!document.body.classList.contains("no-anchor-scroll")){if(window.onhashchange=function(){""===window.location.hash&&(window.scrollTo({top:0,behavior:"smooth"}),document.activeElement.blur())},""!=window.location.hash){var a,b=location.hash.substring(1);if(!/^[A-z0-9_-]+$/.test(b))return;a=document.getElementById(b),a&&window.setTimeout(function(){window.kadence.scrollToElement(a,!1,"load")},100)}var c=document.querySelectorAll("a[href*=\\#]:not([href=\\#]):not(.scroll-ignore):not([data-tab]):not([data-toggle]):not(.woocommerce-tabs a):not(.tabs a)");c.length&&c.forEach(function(a){try{var b=new URL(a.href);b.pathname===window.location.pathname&&a.addEventListener("click",function(a){window.kadence.anchorScrollToCheck(a)})}catch(b){console.log("ClassList: "+a.classList,"Invalid URL")}})}},initScrollToTop:function(){var a=document.getElementById("kt-scroll-up");if(a){var b=function(){100<window.scrollY?(a.classList.add("scroll-visible"),a.setAttribute("aria-hidden",!1)):(a.classList.remove("scroll-visible"),a.setAttribute("aria-hidden",!0))};window.addEventListener("scroll",b),b(),a.addEventListener("click",function(a){a.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),document.querySelector(".skip-link").focus({preventScroll:!0}),document.activeElement.blur()})}var c=document.getElementById("kt-scroll-up-reader");c&&c.addEventListener("click",function(a){a.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),document.querySelector(".skip-link").focus()})},initHoverSubmenuAria:function(){var a=document.querySelectorAll(".header-navigation.nav--toggle-sub:not(.click-to-open)");a.forEach(function(a){var b=a.querySelectorAll(".menu-item-has-children");b.forEach(function(a){var b=a.querySelector(".dropdown-nav-special-toggle");b&&(a.addEventListener("mouseenter",function(){b.setAttribute("aria-expanded","true")}),a.addEventListener("mouseleave",function(c){var d=c.relatedTarget;d&&a.contains(d)||b.setAttribute("aria-expanded","false")}))})})},initClickToOpen:function(){const a=document.querySelectorAll(".header-navigation.click-to-open li.menu-item--has-toggle");a.forEach(function(a){const b=a.querySelector("a"),c=a.querySelector("button[class=\"dropdown-nav*\"]");[b,c].forEach(function(b){b&&b.addEventListener("click",function(b){b.preventDefault();const c=a.querySelector("ul.sub-menu");if(c){const b=c.classList.contains("opened");c.classList.toggle("opened",!b),a.classList.toggle("menu-item--toggled-on",!b),c.classList.toggle("toggle-show",!b);var d=a.querySelector(".dropdown-nav-special-toggle");d&&d.setAttribute("aria-expanded",(!b).toString());const e=Array.from(a.parentNode.children).filter(b=>b!==a);if(e.forEach(function(a){const b=a.querySelector(":scope > ul.sub-menu");if(b){b.classList.remove("opened"),a.classList.remove("menu-item--toggled-on"),b.classList.remove("toggle-show");var c=a.querySelector(".dropdown-nav-special-toggle");c&&c.setAttribute("aria-expanded","false")}}),!b){const b=d=>{if(!a.contains(d.target)){c.classList.remove("opened"),a.classList.remove("menu-item--toggled-on"),c.classList.remove("toggle-show");var e=a.querySelector(".dropdown-nav-special-toggle");e&&e.setAttribute("aria-expanded","false"),document.removeEventListener("click",b)}};document.addEventListener("click",b)}}})})})},init:function(){window.kadence.initNavToggleSubmenus(),window.kadence.initToggleDrawer(),window.kadence.initMobileToggleAnchor(),window.kadence.initMobileToggleSub(),window.kadence.initOutlineToggle(),window.kadence.initStickyHeader(),window.kadence.initStickySidebar(),window.kadence.initStickySidebarWidget(),window.kadence.initTransHeaderPadding(),window.kadence.initAnchorScrollTo(),window.kadence.initScrollToTop(),window.kadence.initActiveAnchors(),window.kadence.initHoverSubmenuAria(),window.kadence.initClickToOpen()}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.kadence.init):window.kadence.init()})();
(()=>{var ze=function(){return ze=Object.assign||function(t){for(var r,a=1,c=arguments.length;a<c;a++){r=arguments[a];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},ze.apply(this,arguments)};function ge(e,t,r,a){function c(s){return s instanceof r?s:new r(function(u){u(s)})}return new(r||(r=Promise))(function(s,u){function p(m){try{l(a.next(m))}catch(f){u(f)}}function v(m){try{l(a.throw(m))}catch(f){u(f)}}function l(m){m.done?s(m.value):c(m.value).then(p,v)}l((a=a.apply(e,t||[])).next())})}function ye(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,c,s,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=p(0),u.throw=p(1),u.return=p(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function p(l){return function(m){return v([l,m])}}function v(l){if(a)throw new TypeError("Generator is already executing.");for(;u&&(u=0,l[0]&&(r=0)),r;)try{if(a=1,c&&(s=l[0]&2?c.return:l[0]?c.throw||((s=c.return)&&s.call(c),0):c.next)&&!(s=s.call(c,l[1])).done)return s;switch(c=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,c=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){r.label=l[1];break}if(l[0]===6&&r.label<s[1]){r.label=s[1],s=l;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(l);break}s[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(m){l=[6,m],c=0}finally{a=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function tt(e,t,r){if(r||arguments.length===2)for(var a=0,c=t.length,s;a<c;a++)(s||!(a in t))&&(s||(s=Array.prototype.slice.call(t,0,a)),s[a]=t[a]);return e.concat(s||Array.prototype.slice.call(t))}var At="4.6.2";function Qe(e,t){return new Promise(function(r){return setTimeout(r,e,t)})}function hn(){return new Promise(function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})}function wn(e,t){t===void 0&&(t=1/0);var r=window.requestIdleCallback;return r?new Promise(function(a){return r.call(window,function(){return a()},{timeout:t})}):Qe(Math.min(e,t))}function Nt(e){return!!e&&typeof e.then=="function"}function yt(e,t){try{var r=e();Nt(r)?r.then(function(a){return t(!0,a)},function(a){return t(!1,a)}):t(!0,r)}catch(a){t(!1,a)}}function bt(e,t,r){return r===void 0&&(r=16),ge(this,void 0,void 0,function(){var a,c,s,u;return ye(this,function(p){switch(p.label){case 0:a=Array(e.length),c=Date.now(),s=0,p.label=1;case 1:return s<e.length?(a[s]=t(e[s],s),u=Date.now(),u>=c+r?(c=u,[4,hn()]):[3,3]):[3,4];case 2:p.sent(),p.label=3;case 3:return++s,[3,1];case 4:return[2,a]}})})}function Ze(e){return e.then(void 0,function(){}),e}function gn(e,t){for(var r=0,a=e.length;r<a;++r)if(e[r]===t)return!0;return!1}function yn(e,t){return!gn(e,t)}function st(e){return parseInt(e)}function be(e){return parseFloat(e)}function Pe(e,t){return typeof e=="number"&&isNaN(e)?t:e}function le(e){return e.reduce(function(t,r){return t+(r?1:0)},0)}function Ft(e,t){if(t===void 0&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var r=1/t;return Math.round(e*r)/r}function bn(e){for(var t,r,a="Unexpected syntax '".concat(e,"'"),c=/^\s*([a-z-]*)(.*)$/i.exec(e),s=c[1]||void 0,u={},p=/([.:#][\w-]+|\[.+?\])/gi,v=function(S,I){u[S]=u[S]||[],u[S].push(I)};;){var l=p.exec(c[2]);if(!l)break;var m=l[0];switch(m[0]){case".":v("class",m.slice(1));break;case"#":v("id",m.slice(1));break;case"[":{var f=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(m);if(f)v(f[1],(r=(t=f[4])!==null&&t!==void 0?t:f[5])!==null&&r!==void 0?r:"");else throw new Error(a);break}default:throw new Error(a)}}return[s,u]}function _n(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++){var a=e.charCodeAt(r);if(a>127)return new TextEncoder().encode(e);t[r]=a}return t}function Ie(e,t){var r=e[0]>>>16,a=e[0]&65535,c=e[1]>>>16,s=e[1]&65535,u=t[0]>>>16,p=t[0]&65535,v=t[1]>>>16,l=t[1]&65535,m=0,f=0,S=0,I=0;I+=s+l,S+=I>>>16,I&=65535,S+=c+v,f+=S>>>16,S&=65535,f+=a+p,m+=f>>>16,f&=65535,m+=r+u,m&=65535,e[0]=m<<16|f,e[1]=S<<16|I}function me(e,t){var r=e[0]>>>16,a=e[0]&65535,c=e[1]>>>16,s=e[1]&65535,u=t[0]>>>16,p=t[0]&65535,v=t[1]>>>16,l=t[1]&65535,m=0,f=0,S=0,I=0;I+=s*l,S+=I>>>16,I&=65535,S+=c*l,f+=S>>>16,S&=65535,S+=s*v,f+=S>>>16,S&=65535,f+=a*l,m+=f>>>16,f&=65535,f+=c*v,m+=f>>>16,f&=65535,f+=s*p,m+=f>>>16,f&=65535,m+=r*l+a*v+c*p+s*u,m&=65535,e[0]=m<<16|f,e[1]=S<<16|I}function Oe(e,t){var r=e[0];t%=64,t===32?(e[0]=e[1],e[1]=r):t<32?(e[0]=r<<t|e[1]>>>32-t,e[1]=e[1]<<t|r>>>32-t):(t-=32,e[0]=e[1]<<t|r>>>32-t,e[1]=r<<t|e[1]>>>32-t)}function ve(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function ee(e,t){e[0]^=t[0],e[1]^=t[1]}var Sn=[4283543511,3981806797],Cn=[3301882366,444984403];function _t(e){var t=[0,e[0]>>>1];ee(e,t),me(e,Sn),t[1]=e[0]>>>1,ee(e,t),me(e,Cn),t[1]=e[0]>>>1,ee(e,t)}var Je=[2277735313,289559509],Ue=[1291169091,658871167],St=[0,5],kn=[0,1390208809],Pn=[0,944331445];function Ln(e,t){var r=_n(e);t=t||0;var a=[0,r.length],c=a[1]%16,s=a[1]-c,u=[0,t],p=[0,t],v=[0,0],l=[0,0],m;for(m=0;m<s;m=m+16)v[0]=r[m+4]|r[m+5]<<8|r[m+6]<<16|r[m+7]<<24,v[1]=r[m]|r[m+1]<<8|r[m+2]<<16|r[m+3]<<24,l[0]=r[m+12]|r[m+13]<<8|r[m+14]<<16|r[m+15]<<24,l[1]=r[m+8]|r[m+9]<<8|r[m+10]<<16|r[m+11]<<24,me(v,Je),Oe(v,31),me(v,Ue),ee(u,v),Oe(u,27),Ie(u,p),me(u,St),Ie(u,kn),me(l,Ue),Oe(l,33),me(l,Je),ee(p,l),Oe(p,31),Ie(p,u),me(p,St),Ie(p,Pn);v[0]=0,v[1]=0,l[0]=0,l[1]=0;var f=[0,0];switch(c){case 15:f[1]=r[m+14],ve(f,48),ee(l,f);case 14:f[1]=r[m+13],ve(f,40),ee(l,f);case 13:f[1]=r[m+12],ve(f,32),ee(l,f);case 12:f[1]=r[m+11],ve(f,24),ee(l,f);case 11:f[1]=r[m+10],ve(f,16),ee(l,f);case 10:f[1]=r[m+9],ve(f,8),ee(l,f);case 9:f[1]=r[m+8],ee(l,f),me(l,Ue),Oe(l,33),me(l,Je),ee(p,l);case 8:f[1]=r[m+7],ve(f,56),ee(v,f);case 7:f[1]=r[m+6],ve(f,48),ee(v,f);case 6:f[1]=r[m+5],ve(f,40),ee(v,f);case 5:f[1]=r[m+4],ve(f,32),ee(v,f);case 4:f[1]=r[m+3],ve(f,24),ee(v,f);case 3:f[1]=r[m+2],ve(f,16),ee(v,f);case 2:f[1]=r[m+1],ve(f,8),ee(v,f);case 1:f[1]=r[m],ee(v,f),me(v,Je),Oe(v,31),me(v,Ue),ee(u,v)}return ee(u,a),ee(p,a),Ie(u,p),Ie(p,u),_t(u),_t(p),Ie(u,p),Ie(p,u),("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[1]>>>0).toString(16)).slice(-8)+("00000000"+(p[0]>>>0).toString(16)).slice(-8)+("00000000"+(p[1]>>>0).toString(16)).slice(-8)}function En(e){var t;return ze({name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
`)},e)}function In(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function xn(e){return typeof e!="function"}function Tn(e,t){var r=Ze(new Promise(function(a){var c=Date.now();yt(e.bind(null,t),function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];var p=Date.now()-c;if(!s[0])return a(function(){return{error:s[1],duration:p}});var v=s[1];if(xn(v))return a(function(){return{value:v,duration:p}});a(function(){return new Promise(function(l){var m=Date.now();yt(v,function(){for(var f=[],S=0;S<arguments.length;S++)f[S]=arguments[S];var I=p+Date.now()-m;if(!f[0])return l({error:f[1],duration:I});l({value:f[1],duration:I})})})})})}));return function(){return r.then(function(c){return c()})}}function Rn(e,t,r,a){var c=Object.keys(e).filter(function(u){return yn(r,u)}),s=Ze(bt(c,function(u){return Tn(e[u],t)},a));return function(){return ge(this,void 0,void 0,function(){var p,v,l,m,f;return ye(this,function(S){switch(S.label){case 0:return[4,s];case 1:return p=S.sent(),[4,bt(p,function(I){return Ze(I())},a)];case 2:return v=S.sent(),[4,Promise.all(v)];case 3:for(l=S.sent(),m={},f=0;f<c.length;++f)m[c[f]]=l[f];return[2,m]}})})}}function jt(){var e=window,t=navigator;return le(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function An(){var e=window,t=navigator;return le(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!jt()}function He(){var e=window,t=navigator;return le(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function _e(){var e=window,t=navigator;return le(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function ct(){var e=window,t=e.HTMLElement,r=e.Document;return le(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),r&&"pointerLockElement"in r.prototype])>=4}function Ye(){var e=window;return In(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function Mt(){var e,t,r=window;return le(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in r,"mozInnerScreenX"in r,"CSSMozDocumentRule"in r,"CanvasCaptureMediaStream"in r])>=4}function Nn(){var e=window;return le([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function Fn(){var e=window,t=e.URLPattern;return le(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function jn(){var e=window;return le(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function Xe(){var e=window,t=navigator,r=e.CSS,a=e.HTMLButtonElement;return le([!("getStorageUpdates"in t),a&&"popover"in a.prototype,"CSSCounterStyleRule"in e,r.supports("font-size-adjust: ex-height 0.5"),r.supports("text-transform: full-width")])>=4}function Mn(){if(navigator.platform==="iPad")return!0;var e=screen,t=e.width/e.height;return le(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function On(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Dn(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function ut(){var e=He(),t=Mt(),r=window,a=navigator,c="connection";return e?le([!("SharedWorker"in r),a[c]&&"ontypechange"in a[c],!("sinkId"in new Audio)])>=2:t?le(["onorientationchange"in r,"orientation"in r,/android/i.test(a.appVersion)])>=2:!1}function Wn(){var e=navigator,t=window,r=Audio.prototype,a=t.visualViewport;return le(["srLatency"in r,"srChannelCount"in r,"devicePosture"in e,a&&"segments"in a,"getTextInformation"in Image.prototype])>=3}function Vn(){return Hn()?-4:Gn()}function Gn(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Zn())return-1;var r=4500,a=5e3,c=new t(1,a,44100),s=c.createOscillator();s.type="triangle",s.frequency.value=1e4;var u=c.createDynamicsCompressor();u.threshold.value=-50,u.knee.value=40,u.ratio.value=12,u.attack.value=0,u.release.value=.25,s.connect(u),u.connect(c.destination),s.start(0);var p=Yn(c),v=p[0],l=p[1],m=Ze(v.then(function(f){return Xn(f.getChannelData(0).subarray(r))},function(f){if(f.name==="timeout"||f.name==="suspended")return-3;throw f}));return function(){return l(),m}}function Zn(){return _e()&&!ct()&&!jn()}function Hn(){return _e()&&Xe()&&Ye()||He()&&Wn()&&Fn()}function Yn(e){var t=3,r=500,a=500,c=5e3,s=function(){},u=new Promise(function(p,v){var l=!1,m=0,f=0;e.oncomplete=function(V){return p(V.renderedBuffer)};var S=function(){setTimeout(function(){return v(Ct("timeout"))},Math.min(a,f+c-Date.now()))},I=function(){try{var V=e.startRendering();switch(Nt(V)&&Ze(V),e.state){case"running":f=Date.now(),l&&S();break;case"suspended":document.hidden||m++,l&&m>=t?v(Ct("suspended")):setTimeout(I,r);break}}catch(R){v(R)}};I(),s=function(){l||(l=!0,f>0&&S())}});return[u,s]}function Xn(e){for(var t=0,r=0;r<e.length;++r)t+=Math.abs(e[r]);return t}function Ct(e){var t=new Error(e);return t.name=e,t}function Ot(e,t,r){var a,c,s;return r===void 0&&(r=50),ge(this,void 0,void 0,function(){var u,p;return ye(this,function(v){switch(v.label){case 0:u=document,v.label=1;case 1:return u.body?[3,3]:[4,Qe(r)];case 2:return v.sent(),[3,1];case 3:p=u.createElement("iframe"),v.label=4;case 4:return v.trys.push([4,,10,11]),[4,new Promise(function(l,m){var f=!1,S=function(){f=!0,l()},I=function(Q){f=!0,m(Q)};p.onload=S,p.onerror=I;var V=p.style;V.setProperty("display","block","important"),V.position="absolute",V.top="0",V.left="0",V.visibility="hidden",t&&"srcdoc"in p?p.srcdoc=t:p.src="about:blank",u.body.appendChild(p);var R=function(){var Q,F;f||(((F=(Q=p.contentWindow)===null||Q===void 0?void 0:Q.document)===null||F===void 0?void 0:F.readyState)==="complete"?S():setTimeout(R,10))};R()})];case 5:v.sent(),v.label=6;case 6:return!((c=(a=p.contentWindow)===null||a===void 0?void 0:a.document)===null||c===void 0)&&c.body?[3,8]:[4,Qe(r)];case 7:return v.sent(),[3,6];case 8:return[4,e(p,p.contentWindow)];case 9:return[2,v.sent()];case 10:return(s=p.parentNode)===null||s===void 0||s.removeChild(p),[7];case 11:return[2]}})})}function Bn(e){for(var t=bn(e),r=t[0],a=t[1],c=document.createElement(r??"div"),s=0,u=Object.keys(a);s<u.length;s++){var p=u[s],v=a[p].join(" ");p==="style"?zn(c.style,v):c.setAttribute(p,v)}return c}function zn(e,t){for(var r=0,a=t.split(";");r<a.length;r++){var c=a[r],s=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(c);if(s){var u=s[1],p=s[2],v=s[4];e.setProperty(u,p,v||"")}}}function Jn(){for(var e=window;;){var t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(r){if(r instanceof Error&&r.name==="SecurityError")return!0;throw r}e=t}}var Un="mmMwWLliI0O&1",qn="48px",De=["monospace","sans-serif","serif"],kt=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Qn(){var e=this;return Ot(function(t,r){var a=r.document;return ge(e,void 0,void 0,function(){var c,s,u,p,v,l,m,f,S,I,V,R;return ye(this,function(Q){for(c=a.body,c.style.fontSize=qn,s=a.createElement("div"),s.style.setProperty("visibility","hidden","important"),u={},p={},v=function(F){var J=a.createElement("span"),ne=J.style;return ne.position="absolute",ne.top="0",ne.left="0",ne.fontFamily=F,J.textContent=Un,s.appendChild(J),J},l=function(F,J){return v("'".concat(F,"',").concat(J))},m=function(){return De.map(v)},f=function(){for(var F={},J=function(j){F[j]=De.map(function(pe){return l(j,pe)})},ne=0,re=kt;ne<re.length;ne++){var ie=re[ne];J(ie)}return F},S=function(F){return De.some(function(J,ne){return F[ne].offsetWidth!==u[J]||F[ne].offsetHeight!==p[J]})},I=m(),V=f(),c.appendChild(s),R=0;R<De.length;R++)u[De[R]]=I[R].offsetWidth,p[De[R]]=I[R].offsetHeight;return[2,kt.filter(function(F){return S(V[F])})]})})})}function Kn(){var e=navigator.plugins;if(e){for(var t=[],r=0;r<e.length;++r){var a=e[r];if(a){for(var c=[],s=0;s<a.length;++s){var u=a[s];c.push({type:u.type,suffixes:u.suffixes})}t.push({name:a.name,description:a.description,mimeTypes:c})}}return t}}function $n(){return er(sr())}function er(e){var t,r=!1,a,c,s=tr(),u=s[0],p=s[1];return nr(u,p)?(r=rr(p),e?a=c="skipped":(t=ir(u,p),a=t[0],c=t[1])):a=c="unsupported",{winding:r,geometry:a,text:c}}function tr(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function nr(e,t){return!!(t&&e.toDataURL)}function rr(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function ir(e,t){ar(e,t);var r=nt(e),a=nt(e);if(r!==a)return["unstable","unstable"];or(e,t);var c=nt(e);return[c,r]}function ar(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var r="Cwm fjordbank gly ".concat("\u{1F603}");t.fillText(r,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(r,4,45)}function or(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var r=0,a=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];r<a.length;r++){var c=a[r],s=c[0],u=c[1],p=c[2];t.fillStyle=s,t.beginPath(),t.arc(u,p,40,0,Math.PI*2,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function nt(e){return e.toDataURL()}function sr(){return _e()&&Xe()&&Ye()}function cr(){var e=navigator,t=0,r;e.maxTouchPoints!==void 0?t=st(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),r=!0}catch{r=!1}var a="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:r,touchStart:a}}function ur(){return navigator.oscpu}function lr(){var e=navigator,t=[],r=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(r!==void 0&&t.push([r]),Array.isArray(e.languages))He()&&Nn()||t.push(e.languages);else if(typeof e.languages=="string"){var a=e.languages;a&&t.push(a.split(","))}return t}function fr(){return window.screen.colorDepth}function dr(){return Pe(be(navigator.deviceMemory),void 0)}function vr(){if(!(_e()&&Xe()&&Ye()))return pr()}function pr(){var e=screen,t=function(a){return Pe(st(a),null)},r=[t(e.width),t(e.height)];return r.sort().reverse(),r}var mr=2500,hr=10,qe,rt;function wr(){if(rt===void 0){var e=function(){var t=at();ot(t)?rt=setTimeout(e,mr):(qe=t,rt=void 0)};e()}}function gr(){var e=this;return wr(),function(){return ge(e,void 0,void 0,function(){var t;return ye(this,function(r){switch(r.label){case 0:return t=at(),ot(t)?qe?[2,tt([],qe,!0)]:On()?[4,Dn()]:[3,2]:[3,2];case 1:r.sent(),t=at(),r.label=2;case 2:return ot(t)||(qe=t),[2,t]}})})}}function yr(){var e=this;if(_e()&&Xe()&&Ye())return function(){return Promise.resolve(void 0)};var t=gr();return function(){return ge(e,void 0,void 0,function(){var r,a;return ye(this,function(c){switch(c.label){case 0:return[4,t()];case 1:return r=c.sent(),a=function(s){return s===null?null:Ft(s,hr)},[2,[a(r[0]),a(r[1]),a(r[2]),a(r[3])]]}})})}}function at(){var e=screen;return[Pe(be(e.availTop),null),Pe(be(e.width)-be(e.availWidth)-Pe(be(e.availLeft),0),null),Pe(be(e.height)-be(e.availHeight)-Pe(be(e.availTop),0),null),Pe(be(e.availLeft),null)]}function ot(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function br(){return Pe(st(navigator.hardwareConcurrency),void 0)}function _r(){var e,t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){var r=new t().resolvedOptions().timeZone;if(r)return r}var a=-Sr();return"UTC".concat(a>=0?"+":"").concat(a)}function Sr(){var e=new Date().getFullYear();return Math.max(be(new Date(e,0,1).getTimezoneOffset()),be(new Date(e,6,1).getTimezoneOffset()))}function Cr(){try{return!!window.sessionStorage}catch{return!0}}function kr(){try{return!!window.localStorage}catch{return!0}}function Pr(){if(!(jt()||An()))try{return!!window.indexedDB}catch{return!0}}function Lr(){return!!window.openDatabase}function Er(){return navigator.cpuClass}function Ir(){var e=navigator.platform;return e==="MacIntel"&&_e()&&!ct()?Mn()?"iPad":"iPhone":e}function xr(){return navigator.vendor||""}function Tr(){for(var e=[],t=0,r=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<r.length;t++){var a=r[t],c=window[a];c&&typeof c=="object"&&e.push(a)}return e.sort()}function Rr(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function Ar(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function Nr(e){var t=e===void 0?{}:e,r=t.debug;return ge(this,void 0,void 0,function(){var a,c,s,u,p,v;return ye(this,function(l){switch(l.label){case 0:return Fr()?(a=Ar(),c=Object.keys(a),s=(v=[]).concat.apply(v,c.map(function(m){return a[m]})),[4,jr(s)]):[2,void 0];case 1:return u=l.sent(),r&&Mr(a,u),p=c.filter(function(m){var f=a[m],S=le(f.map(function(I){return u[I]}));return S>f.length*.6}),p.sort(),[2,p]}})})}function Fr(){return _e()||ut()}function jr(e){var t;return ge(this,void 0,void 0,function(){var r,a,c,s,v,u,p,v;return ye(this,function(l){switch(l.label){case 0:for(r=document,a=r.createElement("div"),c=new Array(e.length),s={},Pt(a),v=0;v<e.length;++v)u=Bn(e[v]),u.tagName==="DIALOG"&&u.show(),p=r.createElement("div"),Pt(p),p.appendChild(u),a.appendChild(p),c[v]=u;l.label=1;case 1:return r.body?[3,3]:[4,Qe(50)];case 2:return l.sent(),[3,1];case 3:r.body.appendChild(a);try{for(v=0;v<e.length;++v)c[v].offsetParent||(s[e[v]]=!0)}finally{(t=a.parentNode)===null||t===void 0||t.removeChild(a)}return[2,s]}})})}function Pt(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function Mr(e,t){for(var r="DOM blockers debug:\n```",a=0,c=Object.keys(e);a<c.length;a++){var s=c[a];r+=`
`.concat(s,":");for(var u=0,p=e[s];u<p.length;u++){var v=p[u];r+=`
`.concat(t[v]?"\u{1F6AB}":"\u27A1\uFE0F"," ").concat(v)}}console.log("".concat(r,"\n```"))}function Or(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var r=t[e];if(matchMedia("(color-gamut: ".concat(r,")")).matches)return r}}function Dr(){if(Lt("inverted"))return!0;if(Lt("none"))return!1}function Lt(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Wr(){if(Et("active"))return!0;if(Et("none"))return!1}function Et(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}var Vr=100;function Gr(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=Vr;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}}function Zr(){if(We("no-preference"))return 0;if(We("high")||We("more"))return 1;if(We("low")||We("less"))return-1;if(We("forced"))return 10}function We(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function Hr(){if(It("reduce"))return!0;if(It("no-preference"))return!1}function It(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function Yr(){if(xt("reduce"))return!0;if(xt("no-preference"))return!1}function xt(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function Xr(){if(Tt("high"))return!0;if(Tt("standard"))return!1}function Tt(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var W=Math,ue=function(){return 0};function Br(){var e=W.acos||ue,t=W.acosh||ue,r=W.asin||ue,a=W.asinh||ue,c=W.atanh||ue,s=W.atan||ue,u=W.sin||ue,p=W.sinh||ue,v=W.cos||ue,l=W.cosh||ue,m=W.tan||ue,f=W.tanh||ue,S=W.exp||ue,I=W.expm1||ue,V=W.log1p||ue,R=function(M){return W.pow(W.PI,M)},Q=function(M){return W.log(M+W.sqrt(M*M-1))},F=function(M){return W.log(M+W.sqrt(M*M+1))},J=function(M){return W.log((1+M)/(1-M))/2},ne=function(M){return W.exp(M)-1/W.exp(M)/2},re=function(M){return(W.exp(M)+1/W.exp(M))/2},ie=function(M){return W.exp(M)-1},j=function(M){return(W.exp(2*M)-1)/(W.exp(2*M)+1)},pe=function(M){return W.log(1+M)};return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:Q(1e154),asin:r(.12312423423423424),asinh:a(1),asinhPf:F(1),atanh:c(.5),atanhPf:J(.5),atan:s(.5),sin:u(-1e300),sinh:p(1),sinhPf:ne(1),cos:v(10.000000000123),cosh:l(1),coshPf:re(1),tan:m(-1e300),tanh:f(1),tanhPf:j(1),exp:S(1),expm1:I(1),expm1Pf:ie(1),log1p:V(10),log1pPf:pe(10),powPI:R(-100)}}var zr="mmMwWLliI0fiflO&1",it={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function Jr(){return Ur(function(e,t){for(var r={},a={},c=0,s=Object.keys(it);c<s.length;c++){var u=s[c],p=it[u],v=p[0],l=v===void 0?{}:v,m=p[1],f=m===void 0?zr:m,S=e.createElement("span");S.textContent=f,S.style.whiteSpace="nowrap";for(var I=0,V=Object.keys(l);I<V.length;I++){var R=V[I],Q=l[R];Q!==void 0&&(S.style[R]=Q)}r[u]=S,t.append(e.createElement("br"),S)}for(var F=0,J=Object.keys(it);F<J.length;F++){var u=J[F];a[u]=r[u].getBoundingClientRect().width}return a})}function Ur(e,t){return t===void 0&&(t=4e3),Ot(function(r,a){var c=a.document,s=c.body,u=s.style;u.width="".concat(t,"px"),u.webkitTextSizeAdjust=u.textSizeAdjust="none",He()?s.style.zoom="".concat(1/a.devicePixelRatio):_e()&&(s.style.zoom="reset");var p=c.createElement("div");return p.textContent=tt([],Array(t/20<<0),!0).map(function(){return"word"}).join(" "),s.appendChild(p),e(c,s)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function qr(){return navigator.pdfViewerEnabled}function Qr(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function Kr(){var e=window.ApplePaySession;if(typeof e?.canMakePayments!="function")return-1;if($r())return-3;try{return e.canMakePayments()?1:0}catch(t){return ei(t)}}var $r=Jn;function ei(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function ti(){var e,t=document.createElement("a"),r=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return r===void 0?void 0:String(r)}var Dt=-1,Wt=-2,ni=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),ri=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),ii=["FRAGMENT_SHADER","VERTEX_SHADER"],ai=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],Vt="WEBGL_debug_renderer_info",oi="WEBGL_polygon_mode";function si(e){var t,r,a,c,s,u,p=e.cache,v=Gt(p);if(!v)return Dt;if(!Ht(v))return Wt;var l=Zt()?null:v.getExtension(Vt);return{version:((t=v.getParameter(v.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((r=v.getParameter(v.VENDOR))===null||r===void 0?void 0:r.toString())||"",vendorUnmasked:l?(a=v.getParameter(l.UNMASKED_VENDOR_WEBGL))===null||a===void 0?void 0:a.toString():"",renderer:((c=v.getParameter(v.RENDERER))===null||c===void 0?void 0:c.toString())||"",rendererUnmasked:l?(s=v.getParameter(l.UNMASKED_RENDERER_WEBGL))===null||s===void 0?void 0:s.toString():"",shadingLanguageVersion:((u=v.getParameter(v.SHADING_LANGUAGE_VERSION))===null||u===void 0?void 0:u.toString())||""}}function ci(e){var t=e.cache,r=Gt(t);if(!r)return Dt;if(!Ht(r))return Wt;var a=r.getSupportedExtensions(),c=r.getContextAttributes(),s=[],u=[],p=[],v=[],l=[];if(c)for(var m=0,f=Object.keys(c);m<f.length;m++){var S=f[m];u.push("".concat(S,"=").concat(c[S]))}for(var I=Rt(r),V=0,R=I;V<R.length;V++){var Q=R[V],F=r[Q];p.push("".concat(Q,"=").concat(F).concat(ni.has(F)?"=".concat(r.getParameter(F)):""))}if(a)for(var J=0,ne=a;J<ne.length;J++){var re=ne[J];if(!(re===Vt&&Zt()||re===oi&&fi())){var ie=r.getExtension(re);if(!ie){s.push(re);continue}for(var j=0,pe=Rt(ie);j<pe.length;j++){var Q=pe[j],F=ie[Q];v.push("".concat(Q,"=").concat(F).concat(ri.has(F)?"=".concat(r.getParameter(F)):""))}}}for(var M=0,Fe=ii;M<Fe.length;M++)for(var xe=Fe[M],w=0,g=ai;w<g.length;w++){var P=g[w],b=ui(r,xe,P);l.push("".concat(xe,".").concat(P,"=").concat(b.join(",")))}return v.sort(),p.sort(),{contextAttributes:u,parameters:p,shaderPrecisions:l,extensions:a,extensionParameters:v,unsupportedExtensions:s}}function Gt(e){if(e.webgl)return e.webgl.context;var t=document.createElement("canvas"),r;t.addEventListener("webglCreateContextError",function(){return r=void 0});for(var a=0,c=["webgl","experimental-webgl"];a<c.length;a++){var s=c[a];try{r=t.getContext(s)}catch{}if(r)break}return e.webgl={context:r},r}function ui(e,t,r){var a=e.getShaderPrecisionFormat(e[t],e[r]);return a?[a.rangeMin,a.rangeMax,a.precision]:[]}function Rt(e){var t=Object.keys(e.__proto__);return t.filter(li)}function li(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function Zt(){return Mt()}function fi(){return He()||_e()}function Ht(e){return typeof e.getParameter=="function"}function di(){var e=ut()||_e();if(!e)return-2;if(!window.AudioContext)return-1;var t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function vi(){if(!window.Intl)return-1;var e=window.Intl.DateTimeFormat;if(!e)return-2;var t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}var pi={fonts:Qn,domBlockers:Nr,fontPreferences:Jr,audio:Vn,screenFrame:yr,canvas:$n,osCpu:ur,languages:lr,colorDepth:fr,deviceMemory:dr,screenResolution:vr,hardwareConcurrency:br,timezone:_r,sessionStorage:Cr,localStorage:kr,indexedDB:Pr,openDatabase:Lr,cpuClass:Er,platform:Ir,plugins:Kn,touchSupport:cr,vendor:xr,vendorFlavors:Tr,cookiesEnabled:Rr,colorGamut:Or,invertedColors:Dr,forcedColors:Wr,monochrome:Gr,contrast:Zr,reducedMotion:Hr,reducedTransparency:Yr,hdr:Xr,math:Br,pdfViewerEnabled:qr,architecture:Qr,applePay:Kr,privateClickMeasurement:ti,audioBaseLatency:di,dateTimeLocale:vi,webGlBasics:si,webGlExtensions:ci};function mi(e){return Rn(pi,e,[])}var hi="$ if upgrade to Pro: https://fpjs.dev/pro";function wi(e){var t=gi(e),r=yi(t);return{score:t,comment:hi.replace(/\$/g,"".concat(r))}}function gi(e){if(ut())return .4;if(_e())return ct()&&!(Xe()&&Ye())?.5:.3;var t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function yi(e){return Ft(.99+.01*e,1e-4)}function bi(e){for(var t="",r=0,a=Object.keys(e).sort();r<a.length;r++){var c=a[r],s=e[c],u="error"in s?"error":JSON.stringify(s.value);t+="".concat(t?"|":"").concat(c.replace(/([:|\\])/g,"\\$1"),":").concat(u)}return t}function Yt(e){return JSON.stringify(e,function(t,r){return r instanceof Error?En(r):r},2)}function Xt(e){return Ln(bi(e))}function _i(e){var t,r=wi(e);return{get visitorId(){return t===void 0&&(t=Xt(this.components)),t},set visitorId(a){t=a},confidence:r,components:e,version:At}}function Si(e){return e===void 0&&(e=50),wn(e,e*2)}function Ci(e,t){var r=Date.now();return{get:function(a){return ge(this,void 0,void 0,function(){var c,s,u;return ye(this,function(p){switch(p.label){case 0:return c=Date.now(),[4,e()];case 1:return s=p.sent(),u=_i(s),(t||a?.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(u.version,`
userAgent: `).concat(navigator.userAgent,`
timeBetweenLoadAndGet: `).concat(c-r,`
visitorId: `).concat(u.visitorId,`
components: `).concat(Yt(s),"\n```")),[2,u]}})})}}}function ki(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(At,"/npm-monitoring"),!0),e.send()}catch(t){console.error(t)}}function Pi(e){var t;return e===void 0&&(e={}),ge(this,void 0,void 0,function(){var r,a,c;return ye(this,function(s){switch(s.label){case 0:return(!((t=e.monitoring)!==null&&t!==void 0)||t)&&ki(),r=e.delayFallback,a=e.debug,[4,Si(r)];case 1:return s.sent(),c=mi({cache:{},debug:a}),[2,Ci(c,a)]}})})}var Ke={load:Pi,hashComponents:Xt,componentsToDebugString:Yt};var A=(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._-",t="",r="",a=0,c=!1,s=[],u=!1,p=4,v=80,l="",m=0,f=20,S=[],I=function(){return[]},V=function(){},R=function(){return{}},Q=!1;function F(n){S.length>=f&&S.shift(),S.push(n)}function J(){if(S.length){var n=R();if(!(!n.id||parseInt(n.id,10)<=0))for(;S.length;){var o=S.shift(),i="action=slimtrack&id="+n.id+o;Ce(i,!0,{priority:"normal",interactionRaw:o})}}}var ne="slimstat_offline_queue";function re(n){n=(n||"").replace(/\r\n/g,`
`);for(var o="",i=0;i<n.length;i++){var d=n.charCodeAt(i);d<128?o+=String.fromCharCode(d):d<2048?o+=String.fromCharCode(d>>6|192,d&63|128):o+=String.fromCharCode(d>>12|224,d>>6&63|128,d&63|128)}return o}function ie(n){var o="",i=0;for(n=re(n);i<n.length;){var d=n.charCodeAt(i++),_=n.charCodeAt(i++),h=n.charCodeAt(i++),k=d>>2,L=(d&3)<<4|_>>4,x=(_&15)<<2|h>>6,E=h&63;isNaN(_)?x=E=64:isNaN(h)&&(E=64),o+=e.charAt(k)+e.charAt(L)+e.charAt(x)+e.charAt(E)}return o}function j(n){if(n==null)return!0;var o=typeof n;return o==="boolean"?!n:o==="number"?isNaN(n)||n===0:o==="string"||Array.isArray(n)?n.length===0:o==="object"?Object.keys(n).length===0:!1}function pe(n,o){if(!n||!o||!o.length)return!1;for(var i=0;i<o.length;i++)if(n.indexOf(o[i].trim())!==-1)return!0;return!1}function M(n){var o="; "+document.cookie,i=o.split("; "+n+"=");return i.length===2?i.pop().split(";").shift():""}function Fe(n,o,i){n&&(n.addEventListener?n.addEventListener(o,i,!1):n.attachEvent?n.attachEvent("on"+o,i):n["on"+o]=i)}function xe(){var n=(window.performance||{}).timing||{};return!n.responseEnd||!n.connectEnd?0:n.responseEnd-n.connectEnd}function w(){var n=(window.performance||{}).timing||{};return!n.loadEventEnd||!n.responseEnd?0:n.loadEventEnd-n.responseEnd}function g(n,o,i){return n&&n[o]&&n[o].value!==void 0?n[o].value:i}function P(){var n=window.SlimStatParams&&window.SlimStatParams.id,o=document.querySelector('meta[name="slimstat-params"]');if(o)try{window.SlimStatParams=JSON.parse(o.getAttribute("content"))||{}}catch{}else for(var i=document.querySelectorAll("script"),d=i.length-1;d>=0;d--){var _=i[d].textContent.match(/var\s+SlimStatParams\s*=\s*({[\s\S]*?});/);if(_)try{window.SlimStatParams=new Function("return "+_[1])()||{};break}catch{}}return n&&!window.SlimStatParams.id&&(window.SlimStatParams.id=n),R()}function b(n){try{if(n&&n.visitorId){t=n.visitorId;return}t=""}catch{t=""}}function y(n){var o=n&&typeof n=="object"&&!Array.isArray(n),i=[0,0];try{o&&(i=g(n,"screenResolution",[0,0])),(!i||i[0]===0)&&window.screen&&(i=[window.screen.width||0,window.screen.height||0])}catch{i=[0,0]}var d=0;try{o&&(d=g(n,"timezoneOffset",0)),d===0&&!o&&(d=new Date().getTimezoneOffset())}catch{d=0}return"&sw="+i[0]+"&sh="+i[1]+"&bw="+window.innerWidth+"&bh="+window.innerHeight+"&sl="+xe()+"&pp="+w()+"&fh="+t+"&tz="+d}var D="slimstat_transport_memory",Y="slimstat_stale_id_guard",G=1800*1e3,ae=30*1e3;function X(n,o){try{var i=sessionStorage.getItem(n);if(!i)return o;var d=JSON.parse(i);return d&&typeof d=="object"?d:o}catch{return o}}function oe(n,o){try{sessionStorage.setItem(n,JSON.stringify(o))}catch{}}function se(n){try{sessionStorage.removeItem(n)}catch{}}function K(n){var o=Date.now(),i=n&&typeof n=="object"?n:{lastSuccess:null,failures:{}};return(!i.failures||typeof i.failures!="object")&&(i.failures={}),Object.keys(i.failures).forEach(function(d){o-i.failures[d]>G&&delete i.failures[d]}),i.lastSuccess&&o-i.lastSuccess.ts>G&&(i.lastSuccess=null),i}function Z(){return K(X(D,{lastSuccess:null,failures:{}}))}function fe(n){oe(D,K(n))}function je(n,o){var i=Z();i.lastSuccess={configuredTransport:n,transport:o,ts:Date.now()},delete i.failures[n+":"+o],fe(i)}function Ve(n,o){var i=Z();i.failures[n+":"+o]=Date.now(),fe(i)}function he(n){var o=Z(),i=o.lastSuccess;if(!i||i.configuredTransport!==n)return n;var d=o.failures[n+":"+n];return!d||Date.now()-d>G?n:i.transport||n}function Te(n,o){if(!o)return n;var i=!1,d=[],_=[];return n.forEach(function(h){h===o&&!i?(d.push(h),i=!0):_.push(h)}),d.concat(_)}function Bt(n,o,i){var d={adblock_bypass:["adblock_bypass","ajax","rest_pretty","rest_query"],rest:["rest_pretty","rest_query","ajax","adblock_bypass"],ajax:["ajax","rest_pretty","rest_query","adblock_bypass"]},_=d[n]?d[n].slice():["rest_pretty","rest_query","ajax","adblock_bypass"];return i&&(_=Te(_,he(n))),_.filter(function(h,k){return!!o[h]&&_.indexOf(h)===k})}function lt(n){return/(?:^|&)id=/.test(n)}function zt(n){return/(?:^|&)fv=/.test(n)}function Jt(n){return/(?:^|&)pos=/.test(n)||/(?:^|&)no=/.test(n)}function Ut(n){var o=n.indexOf("&res=");return o===-1?"":n.slice(o)}function qt(){var n=R();delete n.id;try{window.slimstatPageviewTracked=!1}catch{}}function Qt(n){var o=n.replace(/^action=slimtrack&id=[^&]*/,gt(R()));return o.replace(/&pageview_id=[^&]*/g,"")}function Kt(){var n=X(Y,null);if(!n||!n.ts)return!1;var o=window.location.pathname+window.location.search;return n.path===o&&Date.now()-n.ts<ae}function $t(){oe(Y,{path:window.location.pathname+window.location.search,ts:Date.now()})}function ft(){se(Y)}function en(n,o){if(!n||!lt(o))return!1;try{return window.slimstatPageviewTracked!==!0}catch{return!0}}function Ce(n,o,i){if(j(n))return!1;i=i||{};var d={payload:n,useBeacon:o,opts:i,attempts:0},_=s.some(function(k){return k.payload===n});if(_)return!1;if(s.length>v)for(var h=s.length-1;h>=0&&s.length>v;h--)s[h].opts.priority!=="high"&&s.splice(h,1);return i.immediate||i.priority==="high"?(!s.length||s[0].payload!==n)&&s.unshift(d):s.push(d),u||$e(),!0}function $e(){if(!(u||!s.length)){var n=s.shift();if(n){u=!0;var o=function(i){var d=i===!0||i&&i.success===!0,_=!!(i&&i.handled),h=!!(i&&i.rejected);try{if(!d&&!_&&!h&&n)if(n.attempts=(n.attempts||0)+1,n.attempts<p){var k=500*Math.pow(2,n.attempts);setTimeout(function(){s.unshift(n),u||$e()},k)}else A.store_offline(n.payload),n.opts&&typeof n.opts.onComplete=="function"&&n.opts.onComplete(!1);else n.opts&&typeof n.opts.onComplete=="function"&&n.opts.onComplete(!!d)}finally{u=!1,setTimeout($e,50)}};tn(n,o)}}}function tn(n,o){var i=R(),d=n.payload,_=en(n.useBeacon,d)?!1:n.useBeacon,h=j(i.id)||isNaN(parseInt(i.id,10))||parseInt(i.id,10)<=0,k={rest_pretty:i.ajaxurl_rest,rest_query:i.ajaxurl_rest_query,ajax:i.ajaxurl_ajax,adblock_bypass:i.ajaxurl_adblock},L=i.transport,x=Bt(L,k,h),E=null,U=!1,N=i.slimstat_debug==="on",B=[];function $(C,T,O,z,H,we){N&&B.push({transport:C,url:T,status:O,bodyKind:z,parsedId:H,errorCode:we})}function te(C){if(N)try{window.__slimstatDebug=window.__slimstatDebug||{},h&&(window.__slimstatDebug.lastPageview={selectedTransport:x[0]||L,attempts:B,finalOutcome:C})}catch{}}function ce(C){h&&Ve(L,C)}function q(C){h&&je(L,C),ft()}function Ae(C,T,O,z){if(n.staleIdRecoveryTried||!lt(d)||zt(d)||Kt())return!1;if(n.staleIdRecoveryTried=!0,$t(),qt(),Jt(d)){var H=n.opts&&n.opts.interactionRaw||Ut(d);return H&&F(H),$(C,T,200,"stale_id_recovery",null,-101),setTimeout(function(){A._send_pageview({isIdRecovery:!0})},0),o({success:!1,handled:!0}),!0}return h=!0,d=Qt(d),n.payload=d,$(C,T,200,"stale_id_retry",null,-101),Se(T,O,z),!0}function Ne(C){var T=(C||"").replace(/^"|"$/g,"").trim(),O=/^\d+\.[0-9a-fA-F]+$/.test(T),z=/^\d+$/.test(T)&&parseInt(T,10)>0,H=/^-\d+$/.test(T),we=O||z||H?parseInt(T,10):NaN,Ee="non_numeric";return T===""?Ee="empty":/^<!doctype html/i.test(T)||/^<html/i.test(T)||T.charAt(0)==="<"?Ee="html":O||z?Ee="numeric":(H||T==="0")&&(Ee="zero_or_negative"),{responseBody:T,parsed:we,bodyKind:Ee,isPositive:!isNaN(we)&&we>0&&(O||z),isNegative:!isNaN(we)&&we<0&&H,isTransportFailure:T===""||T==="0"||Ee==="html"||Ee==="non_numeric"}}function Se(C,T,O){O=O||{useNonce:i.is_logged_in==="1"};var z;try{z=new XMLHttpRequest}catch{return T&&T(),!1}z.open("POST",C,!0),z.setRequestHeader("Content-type","application/x-www-form-urlencoded"),z.setRequestHeader("X-Requested-With","XMLHttpRequest"),O.useNonce&&i.wp_rest_nonce&&z.setRequestHeader("X-WP-Nonce",i.wp_rest_nonce),z.withCredentials=!0,z.onreadystatechange=function(){if(z.readyState===4){if(z.status===403&&O.useNonce){$(O._transport||"",C,403,"forbidden",null,null),ce(O._transport||""),T&&T();return}if(z.status===200){var H=Ne(z.responseText);if(H.isPositive){R().id=H.responseBody,i.id=H.responseBody;try{window.slimstatPageviewTracked=!0}catch{}q(O._transport||""),J(),$(O._transport||"",C,200,H.bodyKind,H.parsed,null),te("success"),ft(),o(!0);return}if($(O._transport||"",C,200,H.bodyKind,isNaN(H.parsed)?null:H.parsed,H.isNegative?H.parsed:null),H.isNegative){if(U=!0,E=H.parsed,H.parsed===-101&&Ae(O._transport||"",C,T,O))return;te("rejected"),o({success:!1,rejected:!0,errorCode:E});return}if(H.isTransportFailure){ce(O._transport||""),T&&T();return}o(!0)}else $(O._transport||"",C,z.status,z.status===0?"network_error":"http_error",null,null),ce(O._transport||""),T&&T()}};try{z.send(d)}catch{$(O._transport||"",C,0,"network_error",null,null),ce(O._transport||""),T&&T()}return!0}function ke(C){if(C>=x.length)return U?(te("rejected"),o({success:!1,rejected:!0,errorCode:E}),!1):(te("failed"),o({success:!1}),!1);var T=x[C],O=k[T];if(!O)return ke(C+1);if(_&&navigator.sendBeacon&&C===0){var z=navigator.sendBeacon(O,d);return z?($(T,O,0,"beacon",null,null),te("success"),o({success:!0}),!0):($(T,O,0,"beacon_failed",null,null),ce(T),ke(C+1))}return Se(O,function(){ke(C+1)},{useNonce:i.is_logged_in==="1",_transport:T})}ke(0)}function nn(n,o,i){var d=R();if(j(d.id)||isNaN(parseInt(d.id,10))||parseInt(d.id,10)<=0){try{var _=rn(n,o);F(_)}catch{}return!1}if(!n||j(n.type)||n.type==="focus")return!1;i=typeof i=="boolean"?i:!0;var h=n.target||n.srcElement;if(!h)return!1;var k={};j(o)||(k.note=o);var L="";if((function(){if(h.nodeName){var ke=h.nodeName.toLowerCase();if(ke==="input"||ke==="button"){for(var C=h.parentNode;C&&C.nodeName&&C.nodeName.toLowerCase()!=="form";)C=C.parentNode;C&&C.action&&(L=C.action);return}if(!h.href||typeof h.href!="string"){for(var C=h.parentNode;C&&C.nodeName&&!C.href;)C=C.parentNode;C&&(C.hash&&C.hostname===location.hostname?L=C.hash:C.href&&(L=C.href))}else h.hash?L=h.hash:L=h.href}})(),typeof h.getAttribute=="function"){h.textContent&&(k.text=h.textContent);var x=h.getAttribute("value");x&&(k.value=x);var E=h.getAttribute("title");E&&(k.title=E);var U=h.getAttribute("id");U&&(k.id=U)}k.type=n.type,n.type==="keypress"?k.key=String.fromCharCode(parseInt(n.which,10)):n.type==="mousedown"&&(k.button=n.which===1?"left":n.which===2?"middle":"right");var N=d.dnt?d.dnt.split(","):[];if(L&&N.length&&pe(L,N))return!1;if(N.length&&h.className&&typeof h.className=="string"){var B=h.className.split(" ");if(B.some(function(Se){return N.indexOf(Se)!==-1}))return!1}if(N.length&&h.attributes&&h.attributes.rel&&h.attributes.rel.value&&pe(h.attributes.rel.value,N))return!1;var $="0,0";!j(n.pageX)&&!j(n.pageY)?$=n.pageX+","+n.pageY:j(n.clientX)||($=n.clientX+(document.body.scrollLeft||0)+(document.documentElement.scrollLeft||0)+","+(n.clientY+(document.body.scrollTop||0)+(document.documentElement.scrollTop||0)));var te=L?"&fh="+t:"",ce="&res="+ie(L)+"&pos="+$+"&no="+ie(JSON.stringify(k))+te,q="action=slimtrack&id="+d.id+ce,Ae=Date.now();if(q===l&&Ae-m<1e3)return!1;l=q,m=Ae;var Ne=Ce(q,i,{interactionRaw:ce});if(Ne)try{window.__slimstatHasInteraction=!0}catch{}return Ne}function rn(n,o){var i=n&&(n.target||n.srcElement)||{},d="";try{i.href&&(d=i.href)}catch{}var _={type:n?n.type:"unknown"};o&&(_.note=o);var h="0,0";return n&&!j(n.pageX)&&!j(n.pageY)&&(h=n.pageX+","+n.pageY),"&res="+ie(d)+"&pos="+h+"&no="+ie(JSON.stringify(_))}var Li={},dt=null,Ge="slimstat_consent_upgrade_state",Be="slimstat_consent_upgrade_ts";function et(n){try{return sessionStorage.getItem(n)||""}catch{return window[n]||""}}function Me(n,o){try{o===""||o===null||typeof o>"u"?sessionStorage.removeItem(n):sessionStorage.setItem(n,o)}catch{o===""||o===null||typeof o>"u"?delete window[n]:window[n]=o}}function vt(){Me(Ge,"pending"),Me(Be,Date.now().toString())}function an(n){n?(Me(Ge,"done"),Me(Be,Date.now().toString())):(Me(Ge,""),Me(Be,""))}function on(){return et(Ge)==="done"}function sn(n){if(n===!0)return vt(),!0;var o=et(Ge);if(o==="done")return!1;if(o==="pending"){var i=parseInt(et(Be)||"0",10);if(Date.now()-i<5e3)return!1}return vt(),!0}function cn(n){n=n||{};var o=n.force===!0;if(!sn(o))return!1;var i={isConsentRetry:!0,consentUpgrade:!0};return n.consent&&(i.consent=n.consent),n.consentNonce&&(i.consentNonce=n.consentNonce),A._send_pageview(i),!0}function Le(n){return typeof n=="function"}function de(n){return n!==null&&typeof n=="object"}function pt(n){if(!n)return null;try{var o=n.replace(/([.$?*|{}()\[\]\\\/\+^])/g,"\\$1"),i="(?:^|;)\\s*"+o+"=([^;]*)",d=document.cookie.match(i);return d?decodeURIComponent(d[1]):null}catch{return null}}function un(n){try{if(Le(window.rcb))try{var o=window.rcb("consent",n);if(o===!0||o===!1)return!!o;if(de(o)&&"cookie"in o)return!!o.cookie;if(de(o)&&"consent"in o)return!!o.consent}catch{}if(de(window.RCB)&&de(window.RCB.consent)&&Le(window.RCB.consent.get)){var i=window.RCB.consent.get(n);if(i===!0||i===!1)return!!i;if(de(i)&&"cookie"in i)return!!i.cookie;if(de(i)&&"consent"in i)return!!i.consent}if(de(window.rcbConsentManager)&&Le(window.rcbConsentManager.getUserDecision)){var d=window.rcbConsentManager.getUserDecision();if(d&&d.decision){if(d.decision==="all")return!0;if(typeof d.decision=="object"){var _=d.decision[n];if(typeof _=="boolean")return _;if(Array.isArray(_))return _.length>0}}}var h=window.realCookieBanner||window.RealCookieBanner||null;if(de(h)&&de(h.consent)&&Le(h.consent.get)){var k=h.consent.get(n);if(k===!0||k===!1)return!!k;if(de(k)&&"cookie"in k)return!!k.cookie;if(k)return!0}var L=window.__rcb||window.__RCB||null;if(de(L)&&L.consent){var x=L.consent[n];if(typeof x=="boolean")return x;if(Array.isArray(x))return x.length>0}for(var E=["real_cookie_banner","rcb_consent","rcb_acceptance","real_cookie_consent","rcb-consent"],U=0;U<E.length;U++){var N=pt(E[U]);if(N)try{var B=JSON.parse(N);if(B){if(typeof B[n]=="boolean")return B[n];if(typeof B.consent=="boolean")return B.consent;if(typeof B[n]=="object"&&B[n].cookie!==void 0)return!!B[n].cookie}}catch{var $=N.toLowerCase();if(N.indexOf(n)!==-1||N==="1"||$==="true"||$==="all"||$==="accepted")return!0}}}catch{}return null}function mt(n){try{if(Le(window.wp_has_service_consent))try{var o=window.wp_has_service_consent(n);if(o)return!0;if(Le(window.wp_is_service_denied)&&window.wp_is_service_denied(n))return!1}catch{}if(Le(window.wp_has_consent))try{var i=window.wp_fallback_consent_type,d=typeof window.wp_consent_type<"u"&&window.wp_consent_type||window.wp_fallback_consent_type&&window.wp_fallback_consent_type!=="";d||(window.wp_fallback_consent_type="optin");try{var _=window.wp_has_consent(n);return!!_}finally{d||(window.wp_fallback_consent_type=i)}}catch{}var h=window.wpConsent||window.WPConsent||null;if(de(h)&&Le(h.get)){var k=h.get(n);if(k===!0||k===!1)return!!k}}catch{}return null}function ln(n,o){try{var i=n||"slimstat_gdpr_consent",d=pt(i);if(!d)return null;if(d==="accepted")return!0;if(d==="denied")return!1;try{var _=JSON.parse(d);if(_&&_[o]!==void 0)return!!_[o]}catch{}return d.length>0}catch{return null}}function fn(n){var o={functional:"deny",statistics:"deny",statistics_anonymous:"deny",marketing:"deny"};if(typeof n=="boolean")return o.statistics=n?"allow":"deny",o;if(typeof n=="string")return n==="accepted"||n==="allow"||n==="grant"?o.statistics="allow":(n==="denied"||n==="deny"||n==="revoke")&&(o.statistics="deny"),o;if(!de(n)&&!Array.isArray(n))return o;var i=n;if(Array.isArray(n)&&(i={allowed:n}),Array.isArray(i.allowed)){for(var d=0;d<i.allowed.length;d++){var _=i.allowed[d];o.hasOwnProperty(_)&&(o[_]="allow")}return o}if(Array.isArray(i.denied))for(var h=0;h<i.denied.length;h++){var k=i.denied[h];o.hasOwnProperty(k)&&(o[k]="deny")}for(var L=["functional","statistics","statistics_anonymous","marketing"],x=0;x<L.length;x++){var E=L[x];if(i[E]!==void 0)typeof i[E]=="boolean"?o[E]=i[E]?"allow":"deny":typeof i[E]=="string"&&(o[E]=["allow","accepted","grant","true"].indexOf(i[E])!==-1?"allow":"deny");else if(i.groups&&i.groups[E]!==void 0){var U=i.groups[E];typeof U=="boolean"?o[E]=U?"allow":"deny":typeof U=="string"&&(o[E]=["allow","accepted","grant","true"].indexOf(U)!==-1?"allow":"deny")}else if(i.decision!==void 0){if(i.decision==="all")o[E]="allow";else if(de(i.decision)&&i.decision[E]!==void 0){var N=i.decision[E];typeof N=="boolean"?o[E]=N?"allow":"deny":typeof N=="string"&&(o[E]=["allow","accepted","grant","true"].indexOf(N)!==-1?"allow":"deny")}}}return o}function dn(n,o,i){try{var d=R(),_=d.wp_rest_nonce||"",h="";if(d.resturl)h=d.resturl;else if(typeof window.wpApiSettings<"u"&&window.wpApiSettings.root)h=window.wpApiSettings.root;else{var k=window.location.origin;if(d.baseurl&&d.baseurl!=="/"){var L=d.baseurl.replace(/\/$/,"");h=k+L+"/wp-json/"}else h=k+"/wp-json/"}h&&h.charAt(h.length-1)!=="/"&&(h+="/");var x=h+"slimstat/v1/consent-change",E={source:n,parsed:o,ts:Date.now(),mode:{gdprEnabled:d.gdpr_enabled!=="off",anonymousTrackingEnabled:d.anonymous_tracking==="on"},nonce:_};i&&(E.pageview_id=String(i));var U={"Content-Type":"application/json"};if(_&&(U["X-WP-Nonce"]=_),typeof window.fetch=="function")fetch(x,{method:"POST",headers:U,credentials:"same-origin",body:JSON.stringify(E)}).then(function(B){if(B.ok)return B.json()}).catch(function(){});else{var N=new XMLHttpRequest;N.open("POST",x,!0),N.setRequestHeader("Content-Type","application/json"),_&&N.setRequestHeader("X-WP-Nonce",_),N.onload=function(){if(N.status>=200&&N.status<300)try{var B=JSON.parse(N.responseText)}catch{}},N.onerror=function(){},N.send(JSON.stringify(E))}}catch{}}function ht(n){if(n)try{var o=new CustomEvent("slimstat:consent:updated",{detail:n});document.dispatchEvent(o)}catch{try{var i=document.createEvent("CustomEvent");i.initCustomEvent("slimstat:consent:updated",!0,!0,n),document.dispatchEvent(i)}catch{}}}function Re(n){if(n){var o=n.allowed+"|"+n.mode+"|"+n.reason;if(o!==dt){dt=o;var i=R(),d=i.id&&parseInt(i.id,10)>0;d&&ht(n)}}}function wt(n,o){o=o||{};var i=n||{},d=i.gdpr_enabled!=="off",_=i.anonymous_tracking==="on",h=i.set_tracker_cookie==="on",k=i.anonymize_ip==="on",L=i.hash_ip==="on",x=i.consent_integration||"",E=i.consent_level_integration||"statistics";try{var U=i.respect_dnt==="on";if(U&&typeof navigator<"u"&&(navigator.doNotTrack==="1"||navigator.doNotTrack==="yes")){var N={allowed:!1,mode:"blocked",reason:"dnt"};return Re(N),N}}catch{}if(!d){if(_){var B={allowed:!0,mode:"anonymous",reason:"gdpr_disabled_anonymous_mode"};return Re(B),B}var $={allowed:!0,mode:"full",reason:"gdpr_disabled"};return Re($),$}var te=!!(h||!k&&!L),ce=te||_,q=null;if(ce){if(x==="wp_consent_api"||x==="wpconsent"||x==="wp_consent"||x===""){var Ae=mt(E);Ae!==null&&(q=Ae),q===null&&i.server_side_consent!==void 0&&(q=!!i.server_side_consent),x===""&&q===null&&(q=!0)}if(q===null&&(x==="real_cookie_banner"||x==="rcb"||x==="realcookie")){var Ne=un(E);if(Ne!==null)q=Ne;else if(o.isConsentRetry){var Se=mt(E);Se!==null&&(q=Se)}}if(q===null&&(x==="slimstat_banner"||x==="slimstat"))if(i.use_slimstat_banner!=="on")q=!0;else{var ke=i.gdpr_cookie_name||"slimstat_gdpr_consent",C=ln(ke,E);C!==null&&(q=C)}q===null&&on()&&(q=!0),q===null&&(_?q=!0:te&&x&&x!==""?q=!1:q=!0)}if(_){var T=q===!0,O={allowed:!0,mode:T?"full":"anonymous",reason:T?"anonymous_mode_consented":"anonymous_mode"};return Re(O),O}if(!te){var z={allowed:!0,mode:"full",reason:"no_pii"};return Re(z),z}if(q===!1){var H={allowed:!1,mode:"blocked",reason:"cmp_denied"};return Re(H),H}var we={allowed:!0,mode:"full",reason:"cmp_allowed"};return Re(we),we}function gt(n){if(!j(n.id)&&parseInt(n.id,10)>0)return"action=slimtrack&id="+n.id;var o="action=slimtrack&ref="+ie(document.referrer)+"&res="+ie(window.location.href);return j(n.ci)||(o+="&ci="+n.ci),o}function vn(n){n=n||{},P();var o="slimstat_pageview_"+(n.isNavigation?"nav":"init")+"_"+(n.isConsentRetry?"retry":"normal");if(!(window.sendingSlimStatPageview||window[o])){window.sendingSlimStatPageview=!0,window[o]=!0;var i=R(),d="";n.consentUpgrade&&(d="&consent_upgrade=1",i.id&&(d+="&pageview_id="+encodeURIComponent(i.id)));var _=wt(i,{isNavigation:!!n.isNavigation,isConsentRetry:!!n.isConsentRetry});if(!_.allowed){window.sendingSlimStatPageview=!1,delete window[o];return}n.consentUpgrade&&_.mode==="full"&&(d="&consent_upgrade=1",i.id&&(d+="&pageview_id="+encodeURIComponent(i.id)));var h=n.isNavigation||!1,k=n.isConsentRetry||!1;if(!h&&!k&&!j(i.id)&&parseInt(i.id,10)>0){window.sendingSlimStatPageview=!1,delete window[o];return}h&&(i.id=null);var L=gt(i);if(!L){window.sendingSlimStatPageview=!1,delete window[o];return}if(Q){window.sendingSlimStatPageview=!1,delete window[o];return}var x=Date.now();if(L===r&&x-a<150){window.sendingSlimStatPageview=!1,delete window[o];return}r=L,a=x;var E=A.empty(i.id)||parseInt(i.id,10)<=0,U=!E;if(c&&E){window.sendingSlimStatPageview=!1,delete window[o];return}c=E,Q=!0;var N=function(){setTimeout(function(){c=!1,Q=!1,window.sendingSlimStatPageview=!1,delete window[o]},200)},B=function(te){try{n.consentUpgrade&&an(!!te)}finally{N()}};n.consent&&(n.consent==="accepted"||n.consent==="denied")&&(d+="&banner_consent="+encodeURIComponent(n.consent),n.consentNonce&&(d+="&banner_consent_nonce="+encodeURIComponent(n.consentNonce)));var $=function(){if(_.mode==="anonymous"){b(null),Ce(L+y({})+d,U,{immediate:j(i.id),onComplete:B});return}try{var te=null;typeof Ke<"u"&&Ke.load&&(te=Ke.load()),te&&typeof te.then=="function"?te.then(function(ce){return ce.get()}).then(function(ce){b(ce),Ce(L+y(ce.components||{})+d,U,{immediate:j(i.id),onComplete:B})}).catch(function(){b(null),Ce(L+y({})+d,U,{immediate:j(i.id),onComplete:B})}):(b(null),Ce(L+y({})+d,U,{immediate:j(i.id),onComplete:B}))}catch{b(null),Ce(L+y({})+d,U,{immediate:j(i.id),onComplete:B})}};window.requestIdleCallback?window.requestIdleCallback($):setTimeout($,250)}}function pn(n){try{var o=I();o.push({p:n,t:Date.now()}),V(o)}catch{}}function mn(){try{var n=I();if(!n.length)return;var o=R();if(!o.id||parseInt(o.id,10)<=0)return;for(var i=5,d=0,_=[],h=0;h<n.length&&d<i;h++){var k=n[h];if(k&&k.p){var L=k.p;L.indexOf("id=pending")!==-1&&(L=L.replace("id=pending","id="+o.id)),Ce(L,!1,{priority:"normal"})&&(_.push(h),d++)}}if(_.length>0){for(var x=_.length-1;x>=0;x--)n.splice(_[x],1);V(n)}}catch{}}return{base64_key_str:e,get fingerprint_hash(){return t},set fingerprint_hash(n){t=n},utf8_encode:re,base64_encode:ie,get_page_performance:w,get_server_latency:xe,add_event:Fe,in_array:pe,empty:j,get_cookie:M,send_to_server:Ce,ss_track:nn,init_fingerprint_hash:b,get_slimstat_data:y,get_component_value:g,store_offline:pn,flush_offline_queue:mn,consent:{checkAllowed:wt,emit:ht,normalize:fn,sendChange:dn},requestConsentUpgrade:cn,_extract_params:P,_send_pageview:vn,_assign_runtime_helpers:function(n){S=n.pendingInteractions,I=n.loadOfflineQueue,V=n.saveOfflineQueue,R=n.currentSlimStatParams,Q=n.pageviewInProgress}}})();window.SlimStat=A;Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;--r>=0&&t.item(r)!==this;);return r>-1});String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});window.requestIdleCallback||(window.requestIdleCallback=function(e){return setTimeout(e,250)});(function(){var t=[],r="slimstat_offline_queue",a=!1;function c(w){return typeof w=="function"}function s(w){return w!==null&&typeof w=="object"}function u(w){if(!w)return null;try{var g=w.replace(/([.$?*|{}()\[\]\\\/\+^])/g,"\\$1"),P="(?:^|;)\\s*"+g+"=([^;]*)",b=document.cookie.match(P);return b?decodeURIComponent(b[1]):null}catch{return null}}function p(){try{var w=localStorage.getItem(r);if(!w)return[];var g=JSON.parse(w);return Array.isArray(g)?g:[]}catch{return[]}}function v(w){try{localStorage.setItem(r,JSON.stringify(w.slice(-200)))}catch{}}function l(){return window.SlimStatParams||(window.SlimStatParams={}),window.SlimStatParams}A._assign_runtime_helpers({pendingInteractions:t,loadOfflineQueue:p,saveOfflineQueue:v,currentSlimStatParams:l,pageviewInProgress:a});var m=A.requestConsentUpgrade||function(){return!1},f={},S={},I=!1,V="",R=0,Q=1e3;try{typeof window.__slimstatHasInteraction>"u"&&(window.__slimstatHasInteraction=!1)}catch{}try{typeof window.sendingSlimStatPageview>"u"&&(window.sendingSlimStatPageview=!1),typeof window.slimstatPageviewTracked>"u"&&(window.slimstatPageviewTracked=!1)}catch{}function F(w){var g=l();if(!(!g.id||parseInt(g.id,10)<=0||f[g.id]||S[g.id])){var P=Date.now();if(!(I||w===V&&P-R<Q)){I=!0,V=w,R=P,S[g.id]=!0;var b="action=slimtrack&id="+g.id+(w?"&fv="+encodeURIComponent(w):"");A.send_to_server(b,!0,{priority:"high",immediate:!1}),f[g.id]=!0,setTimeout(function(){delete S[g.id],I=!1},120)}}}var J=JSON.stringify(l()),ne=new MutationObserver(function(){var w=l();if(A.empty(w.id)||parseInt(w.id,10)<=0){A._extract_params();var g=JSON.stringify(l());g!==J&&(J=g)}});if(ne.observe(document.head,{childList:!0,subtree:!0}),ne.observe(document.body,{childList:!0,subtree:!0}),A.add_event(window,"load",function(){A._extract_params(),A._send_pageview(),setTimeout(function(){try{navigator.onLine!==!1&&A.flush_offline_queue()}catch{}},500)}),document.addEventListener("wp_listen_for_consent_change",function(w){try{var g=w&&w.detail||{},P=l(),b=P.consent_level_integration||"statistics",y="slimstatConsentRetried_"+b;g[b]&&g[b]==="allow"&&(!window[y]||window[y]===!1)&&(window[y]=!0,A._send_pageview({consentUpgrade:!0}))}catch{}}),typeof window.wp_listen_for_consent_change=="function")try{window.wp_listen_for_consent_change(function(w){var g=l(),P=g.consent_level_integration||"statistics",b="slimstatConsentRetried_"+P;w===P&&(!window[b]||window[b]===!1)&&(window[b]=!0,A._send_pageview({consentUpgrade:!0}))})}catch{}document.addEventListener("wp_consent_type_defined",function(){try{var w=l(),g=w.consent_level_integration||"statistics",P="slimstatConsentRetried_"+g;window[P]||(typeof window.wp_has_consent=="function"?window.wp_has_consent(g)&&(window[P]=!0,A._send_pageview({consentUpgrade:!0})):(window[P]=!0,A._send_pageview({consentUpgrade:!0})))}catch{}}),document.addEventListener("wp_consent_change",function(w){if(w.detail&&w.detail.category){var g=w.detail.category,P=l(),b=P.consent_level_integration||"statistics",y="slimstatConsentRetried_"+b,D=window[y]||!1,Y=!D&&g===b&&(!P.id||parseInt(P.id,10)<=0);if(Y){if(typeof window.wp_has_consent=="function"&&!window.wp_has_consent(b))return;window[y]=!0,A._send_pageview({consentUpgrade:!0})}if(g===b)try{var G=!1;typeof window.wp_has_consent=="function"?G=window.wp_has_consent(b):w.detail.consent!==void 0&&(G=w.detail.consent===!0||w.detail.consent==="allow"),G||markConsentUpgradeDone(!1);var ae=normalizeConsent({statistics:G?"allow":"deny"}),X=null;P.id&&parseInt(P.id,10)>0&&(X=parseInt(P.id,10)),sendConsentChangeToServer("wp_consent_api",ae,X)}catch{}}});function re(w){var g=l(),P=g.consent_level_integration||"statistics",b=g.consent_integration||"";if(typeof window.wp_has_consent=="function")try{var y=window.wp_has_consent(P);if(!y)return}catch{return}if(b==="real_cookie_banner"||b==="rcb"||b==="realcookie"){var D=detectRealCookieBannerConsent(P);if(D===!1)return}m(w||{})}(function(){document.addEventListener("cmplz_enable_category",function(y){var D=l(),Y=D.consent_level_integration||"statistics",G=y&&y.detail&&(y.detail.category||y.detail)||"";G===Y&&re()}),document.addEventListener("cmplz_event_status",function(y){var D=l(),Y=D.consent_level_integration||"statistics",G=y&&y.detail||{},ae=G.category||G.type||"",X=G.status==="allow"||G.enabled===!0;ae===Y&&X&&re()});var g=null,P=0;function b(y){var D=Date.now(),Y=l(),G=Y.consent_integration||"";if(!(G!=="real_cookie_banner"&&G!=="rcb"&&G!=="realcookie")){var ae=Y.consent_level_integration||"statistics",X=!1,oe=null;if(y&&y.detail){if(y.detail.consent&&ae in y.detail.consent){var se=y.detail.consent[ae];typeof se=="boolean"?(X=se,oe=y.detail.consent):se&&se.cookie!==null&&(X=!0,oe=y.detail.consent)}else if(y.detail.button&&(y.detail.button==="accept_all"||y.detail.button==="accept_essentials"||y.detail.button==="save")){var K=A.consent.checkAllowed(Y,{});X=K&&K.allowed&&K.mode==="full",y.detail.consent&&(oe=y.detail.consent)}}!X&&typeof window.wp_has_consent=="function"&&(X=!!window.wp_has_consent(ae));try{var Z=normalizeConsent(oe||{statistics:X}),fe=null;Y.id&&parseInt(Y.id,10)>0&&(fe=parseInt(Y.id,10)),sendConsentChangeToServer("real_cookie_banner",Z,fe)}catch{}if(!X){var K=A.consent.checkAllowed(Y,{});X=K&&K.allowed&&K.mode==="full"}if(X){clearTimeout(g);var je=D-P,Ve=je<100?100-je:0;g=setTimeout(function(){var he=l();!he.id||parseInt(he.id,10)<=0?re():A.requestConsentUpgrade()},Ve),P=D}}}document.addEventListener("RealCookieBannerConsentChanged",b),document.addEventListener("rcb-consent-changed",b),document.addEventListener("rcb-consent-update",b),document.addEventListener("rcb-consent-saved",b),document.addEventListener("cookieyes_consent_update",function(){setTimeout(re,50)}),document.addEventListener("cookieyes_preferences_update",function(){setTimeout(re,50)}),document.addEventListener("cli_consent_update",function(){setTimeout(re,50)})})(),A.add_event(document,"visibilitychange",function(){var w=l();document.visibilityState==="hidden"&&w.id&&parseInt(w.id,10)>0&&j("visibility")}),A.add_event(window,"pagehide",function(){var w=l();w.id&&parseInt(w.id,10)>0&&j("pagehide")}),A.add_event(window,"beforeunload",function(){var w=l();w.id&&parseInt(w.id,10)>0&&j("beforeunload")});var ie=null;function j(w){var g=l();!g.id||f[g.id]||(ie&&clearTimeout(ie),ie=setTimeout(function(){F(w)},50))}A.add_event(window,"online",function(){A.flush_offline_queue(),flushPendingInteractions()}),A.add_event(window,"beforeunload",function(){var w=l();if((!w.id||parseInt(w.id,10)<=0)&&t.length>0){var g=p();t.forEach(function(P){var b="action=slimtrack&id=pending"+P;g.push({p:b,t:Date.now()})}),v(g),t.length=0}});function pe(){A.add_event(document.body,"click",function(w){for(var g=w.target;g&&g!==document.body&&!(g.hasAttribute&&g.hasAttribute("data-consent"));){if(g.matches&&g.matches("a,button,input,area")){A.ss_track(w,null,null);break}g=g.parentNode}})}function M(){if(A.add_event(document,"wp-interactivity:navigate",function(){if(!a){var b=window.location.pathname,y=window.location.search;setTimeout(function(){var D=window.location.pathname,Y=window.location.search;if(D!==b||Y!==y){var G=l();G.id&&parseInt(G.id,10)>0&&j("navigation"),A._send_pageview({isNavigation:!0})}},150)}}),window.history&&history.pushState){var w=history.pushState,g=history.replaceState,P=function(b){var y=window.location.pathname,D=window.location.search,Y=b?g:w,G=Array.prototype.slice.call(arguments,1),ae=Y.apply(this,G);return setTimeout(function(){var X=window.location.pathname,oe=window.location.search;if(X!==y||oe!==D){var se=l();se.id&&parseInt(se.id,10)>0&&j("history"),A._send_pageview({isNavigation:!0})}},150),ae};history.pushState=function(){var b=Array.prototype.slice.call(arguments);return b.unshift(!1),P.apply(this,b)},history.replaceState=function(){var b=Array.prototype.slice.call(arguments);return b.unshift(!0),P.apply(this,b)},A.add_event(window,"popstate",function(){a||setTimeout(function(){l().id=null,A._send_pageview({isNavigation:!0})},150)})}}pe(),M();function Fe(){var w=["RCB/OptIn","RCB/OptIn/All","cookieyes_consent_update","cookieyes_preferences_update","cli_consent_update","wp_listen_load","wp_consent_type_functional","wp_consent_type_statistics","slimstat_banner_consent"];w.forEach(function(g){document.addEventListener(g,function(P){m(P)})}),document.addEventListener("slimstat:consent:updated",function(g){g&&g.detail&&g.detail.allowed&&g.detail.mode==="full"&&m()}),A.requestConsentUpgrade=m}function xe(){var w=!1;function g(){if(!w){var b=l();if(!(!b||b.use_slimstat_banner!=="on")){var y=document.getElementById("slimstat-gdpr-banner");if(y){var D=b.gdpr_cookie_name||"slimstat_gdpr_consent";try{var Y=D.replace(/([.$?*|{}()\[\]\\\/\+^])/g,"\\$1"),G="(?:^|;)\\s*"+Y+"=([^;]*)",ae=document.cookie.match(G);if(ae&&ae[1]){var X="";try{X=decodeURIComponent(ae[1]).trim()}catch{X=ae[1].trim()}if(X==="accepted"||X==="denied"){y.parentNode&&y.parentNode.removeChild(y),w=!0;return}}}catch{}w=!0,setTimeout(function(){y&&y.classList?y.classList.add("show"):y&&(y.style.display="block")},50);for(var oe=y.querySelectorAll("[data-consent]"),se=0;se<oe.length;se++)(function(K){K.addEventListener?K.addEventListener("click",function(Z){Z&&typeof Z.preventDefault=="function"&&Z.preventDefault(),Z&&typeof Z.stopPropagation=="function"&&Z.stopPropagation();var fe=K.getAttribute("data-consent")||"";P(fe,y)},!1):K.attachEvent?K.attachEvent("onclick",function(Z){Z&&typeof Z.preventDefault=="function"&&Z.preventDefault(),Z&&typeof Z.stopPropagation=="function"&&Z.stopPropagation();var fe=K.getAttribute("data-consent")||"";P(fe,y)}):K.onclick=function(Z){Z&&typeof Z.preventDefault=="function"&&Z.preventDefault(),Z&&typeof Z.stopPropagation=="function"&&Z.stopPropagation();var fe=K.getAttribute("data-consent")||"";P(fe,y)}})(oe[se])}}}}function P(b,y){if(!(!b||b!=="accepted"&&b!=="denied")){var D=l(),Y=D.wp_rest_nonce||"",G=D.gdpr_cookie_name||"slimstat_gdpr_consent",ae=D.gdpr_cookie_path||D.baseurl||"/",X=D.gdpr_cookie_domain||"";try{var oe=new Date;oe.setTime(oe.getTime()+365*24*60*60*1e3);var se=G+"="+b+"; path="+ae+"; expires="+oe.toUTCString()+"; SameSite=Lax";X&&(se+="; domain="+X),window&&window.location&&window.location.protocol==="https:"&&(se+="; Secure"),document.cookie=se}catch{}if(y&&y.classList?(y.classList.remove("show"),y.classList.add("hiding")):y&&(y.style.transition="transform 0.3s ease-out, opacity 0.3s ease-out",y.style.transform="translateY(100%)",y.style.opacity="0"),setTimeout(function(){y&&y.parentNode&&y.parentNode.removeChild(y)},350),b==="accepted"){try{if(typeof CustomEvent=="function")document.dispatchEvent(new CustomEvent("slimstat_banner_consent",{detail:{consent:b}}));else{var K=document.createEvent("Event");K.initEvent("slimstat_banner_consent",!0,!0),document.dispatchEvent(K)}}catch{}try{var Z=normalizeConsent(b),fe=null;D.id&&parseInt(D.id,10)>0&&(fe=parseInt(D.id,10)),sendConsentChangeToServer("slimstat_banner",Z,fe)}catch{}try{m({consent:b,consentNonce:Y})}catch{}}else if(b==="denied"){try{var je=normalizeConsent(b);sendConsentChangeToServer("slimstat_banner",je,null)}catch{}try{var Ve=D.ajaxurl||"/wp-admin/admin-ajax.php",he=new XMLHttpRequest;he.open("POST",Ve,!0),he.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),he.send("action=slimstat_consent_revoked&nonce="+encodeURIComponent(Y)),he.onload=function(){},he.onerror=function(){}}catch{}}}}document.readyState&&document.readyState!=="loading"&&g(),document.addEventListener?(document.addEventListener("DOMContentLoaded",g,!1),window.addEventListener("load",g,!1)):document.attachEvent?(document.attachEvent("onreadystatechange",function(){document.readyState==="complete"&&g()}),window.attachEvent("onload",g)):(document.readyState==="complete"&&g(),window.onload=g)}xe(),Fe()})();})();