(()=>{var c;"querySelector"in document&&"addEventListener"in window&&(c=document.querySelector(".generate-back-to-top"))&&(window.addEventListener("scroll",function(){var e=window.pageYOffset,t=c.getAttribute("data-start-scroll");t<e&&c.classList.add("generate-back-to-top__show"),e<t&&c.classList.remove("generate-back-to-top__show")}),c.addEventListener("click",function(e){var t,o,n,a,r;e.preventDefault(),generatepressBackToTop.smooth?(document.body,e=c.getAttribute("data-scroll-speed")||400,t=window.pageYOffset,o=document.body.offsetTop,n=(o-t)/(e/16),a=function(){window.pageYOffset<=(o||0)&&(clearInterval(r),document.activeElement.blur())},r=setInterval(function(){window.scrollBy(0,n),a()},16)):window.scrollTo(0,0)},!1))})();
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(b){var i=".smartmenus_mouse";if(h||b)h&&b&&(a(document).off(i),h=!1);else{var j=!0,k=null,l={mousemove:function(b){var c={x:b.pageX,y:b.pageY,timeStamp:(new Date).getTime()};if(k){var d=Math.abs(k.x-c.x),g=Math.abs(k.y-c.y);if((d>0||g>0)&&d<=4&&g<=4&&c.timeStamp-k.timeStamp<=300&&(f=!0,j)){var h=a(b.target).closest("a");h.is("a")&&a.each(e,function(){if(a.contains(this.$root[0],h[0]))return this.itemEnter({currentTarget:h[0]}),!1}),j=!1}}k=c}};l[g?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(a){c(a.originalEvent)&&(f=!1)},a(document).on(d(l,i)),h=!0}}function c(a){return!/^(4|mouse)$/.test(a.pointerType)}function d(a,b){b||(b="");var c={};for(var d in a)c[d.split(" ").join(b+" ")+b]=a[d];return c}var e=[],f=!1,g="ontouchstart"in window,h=!1,i=window.requestAnimationFrame||function(a){return setTimeout(a,1e3/60)},j=window.cancelAnimationFrame||function(a){clearTimeout(a)},k=!!a.fn.animate;return a.SmartMenus=function(b,c){this.$root=a(b),this.opts=c,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in b.style||"webkitPerspective"in b.style,this.wasCollapsible=!1,this.init()},a.extend(a.SmartMenus,{hideAll:function(){a.each(e,function(){this.menuHideAll()})},destroy:function(){for(;e.length;)e[0].destroy();b(!0)},prototype:{init:function(c){var f=this;if(!c){e.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var g=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(d({"mouseover focusin":a.proxy(this.rootOver,this),"mouseout focusout":a.proxy(this.rootOut,this),keydown:a.proxy(this.rootKeyDown,this)},g)).on(d({mouseenter:a.proxy(this.itemEnter,this),mouseleave:a.proxy(this.itemLeave,this),mousedown:a.proxy(this.itemDown,this),focus:a.proxy(this.itemFocus,this),blur:a.proxy(this.itemBlur,this),click:a.proxy(this.itemClick,this)},g),"a"),g+=this.rootId,this.opts.hideOnClick&&a(document).on(d({touchstart:a.proxy(this.docTouchStart,this),touchmove:a.proxy(this.docTouchMove,this),touchend:a.proxy(this.docTouchEnd,this),click:a.proxy(this.docClick,this)},g)),a(window).on(d({"resize orientationchange":a.proxy(this.winResize,this)},g)),this.opts.subIndicators&&(this.$subArrow=a("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),b()}if(this.$firstSub=this.$root.find("ul").each(function(){f.menuInit(a(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var h=/(index|default)\.[^#\?\/]*/i,i=/#.*/,j=window.location.href.replace(h,""),k=j.replace(i,"");this.$root.find("a:not(.mega-menu a)").each(function(){var b=this.href.replace(h,""),c=a(this);b!=j&&b!=k||(c.addClass("current"),f.opts.markCurrentTree&&c.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(b){if(!b){var c=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(c),c+=this.rootId,a(document).off(c),a(window).off(c),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var d=this;this.$root.find("ul").each(function(){var b=a(this);b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.dataSM("shown-before")&&((d.opts.subMenusMinWidth||d.opts.subMenusMaxWidth)&&b.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(b.attr("id")||"").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var b=a(this);0==b.attr("id").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),b||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),e.splice(a.inArray(this,e),1))},disable:function(b){if(!this.disabled){if(this.menuHideAll(),!b&&!this.opts.isPopup&&this.$root.is(":visible")){var c=this.$root.offset();this.$disableOverlay=a('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(b){return this.$touchScrollingSub?void(this.$touchScrollingSub=null):void((this.visibleSubMenus.length&&!a.contains(this.$root[0],b.target)||a(b.target).closest("a").length)&&this.menuHideAll())},docTouchEnd:function(b){if(this.lastTouch){if(this.visibleSubMenus.length&&(void 0===this.lastTouch.x2||this.lastTouch.x1==this.lastTouch.x2)&&(void 0===this.lastTouch.y2||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var c=this;this.hideTimeout=setTimeout(function(){c.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(a){if(this.lastTouch){var b=a.originalEvent.touches[0];this.lastTouch.x2=b.pageX,this.lastTouch.y2=b.pageY}},docTouchStart:function(a){var b=a.originalEvent.touches[0];this.lastTouch={x1:b.pageX,y1:b.pageY,target:b.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(b){for(var c=a(b).closest("ul");c.dataSM("in-mega");)c=c.parent().closest("ul");return c[0]||null},getHeight:function(a){return this.getOffset(a,!0)},getOffset:function(a,b){var c;"none"==a.css("display")&&(c={position:a[0].style.position,visibility:a[0].style.visibility},a.css({position:"absolute",visibility:"hidden"}).show());var d=a[0].getBoundingClientRect&&a[0].getBoundingClientRect(),e=d&&(b?d.height||d.bottom-d.top:d.width||d.right-d.left);return e||0===e||(e=b?a[0].offsetHeight:a[0].offsetWidth),c&&a.hide().css(c),e},getStartZIndex:function(a){var b=parseInt(this[a?"$root":"$firstSub"].css("z-index"));return!a&&isNaN(b)&&(b=parseInt(this.$root.css("z-index"))),isNaN(b)?1:b},getTouchPoint:function(a){return a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0]||a},getViewport:function(a){var b=a?"Height":"Width",c=document.documentElement["client"+b],d=window["inner"+b];return d&&(c=Math.min(c,d)),c},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(a){return this.getOffset(a)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(a){return this.handleEvents()&&!this.isLinkInMegaMenu(a)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var b="fixed"==this.$root.css("position");return b||this.$root.parentsUntil("body").each(function(){if("fixed"==a(this).css("position"))return b=!0,!1}),b},isLinkInMegaMenu:function(b){return a(this.getClosestMenu(b[0])).hasClass("mega-menu")},isTouchMode:function(){return!f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(b,c){var d=b.closest("ul"),e=d.dataSM("level");if(e>1&&(!this.activatedItems[e-2]||this.activatedItems[e-2][0]!=d.dataSM("parent-a")[0])){var f=this;a(d.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(d).each(function(){f.itemActivate(a(this).dataSM("parent-a"))})}if(this.isCollapsible()&&!c||this.menuHideSubMenus(this.activatedItems[e-1]&&this.activatedItems[e-1][0]==b[0]?e:e-1),this.activatedItems[e-1]=b,this.$root.triggerHandler("activate.smapi",b[0])!==!1){var g=b.dataSM("sub");g&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(g)}},itemBlur:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&this.$root.triggerHandler("blur.smapi",c[0])},itemClick:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==c.closest("ul")[0])return this.$touchScrollingSub=null,b.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",c[0])===!1)return!1;var d=c.dataSM("sub"),e=!!d&&2==d.dataSM("level");if(d){var f=a(b.target).is(".sub-arrow"),g=this.isCollapsible(),h=/toggle$/.test(this.opts.collapsibleBehavior),i=/link$/.test(this.opts.collapsibleBehavior),j=/^accordion/.test(this.opts.collapsibleBehavior);if(d.is(":visible")){if(!g&&this.opts.showOnClick&&e)return this.menuHide(d),this.clickActivated=!1,this.focusActivated=!1,!1;if(g&&(h||f))return this.itemActivate(c,j),this.menuHide(d),!1}else if((!i||!g||f)&&(!g&&this.opts.showOnClick&&e&&(this.clickActivated=!0),this.itemActivate(c,j),d.is(":visible")))return this.focusActivated=!0,!1}return!(!g&&this.opts.showOnClick&&e||c.hasClass("disabled")||this.$root.triggerHandler("select.smapi",c[0])===!1)&&void 0}},itemDown:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&c.dataSM("mousedown",!0)},itemEnter:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var d=this;this.showTimeout=setTimeout(function(){d.itemActivate(c)},this.opts.showOnClick&&1==c.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",c[0])}},itemFocus:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(!this.focusActivated||this.isTouchMode()&&c.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==c[0]||this.itemActivate(c,!0),this.$root.triggerHandler("focus.smapi",c[0]))},itemLeave:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(this.isTouchMode()||(c[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),c.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",c[0]))},menuHide:function(b){if(this.$root.triggerHandler("beforehide.smapi",b[0])!==!1&&(k&&b.stop(!0,!0),"none"!=b.css("display"))){var c=function(){b.css("z-index","")};this.isCollapsible()?k&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,b,c):b.hide(this.opts.collapsibleHideDuration,c):k&&this.opts.hideFunction?this.opts.hideFunction.call(this,b,c):b.hide(this.opts.hideDuration,c),b.dataSM("scroll")&&(this.menuScrollStop(b),b.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),b.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),b.attr({"aria-expanded":"false","aria-hidden":"true"});var d=b.dataSM("level");this.activatedItems.splice(d-1,1),this.visibleSubMenus.splice(a.inArray(b,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",b[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var a=this.opts.isPopup?1:0,b=this.visibleSubMenus.length-1;b>=a;b--)this.menuHide(this.visibleSubMenus[b]);this.opts.isPopup&&(k&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(k&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(a){for(var b=this.activatedItems.length-1;b>=a;b--){var c=this.activatedItems[b].dataSM("sub");c&&this.menuHide(c)}},menuInit:function(a){if(!a.dataSM("in-mega")){a.hasClass("mega-menu")&&a.find("ul").dataSM("in-mega",!0);for(var b=2,c=a[0];(c=c.parentNode.parentNode)!=this.$root[0];)b++;var d=a.prevAll("a").eq(-1);d.length||(d=a.prevAll().find("a").eq(-1)),d.addClass("has-submenu").dataSM("sub",a),a.dataSM("parent-a",d).dataSM("level",b).parent().dataSM("sub",a);var e=d.attr("id")||this.accessIdPrefix+ ++this.idInc,f=a.attr("id")||this.accessIdPrefix+ ++this.idInc;d.attr({id:e,"aria-haspopup":"true","aria-controls":f,"aria-expanded":"false"}),a.attr({id:f,role:"group","aria-hidden":"true","aria-labelledby":e,"aria-expanded":"false"}),this.opts.subIndicators&&d[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(b){var c,e,f=b.dataSM("parent-a"),h=f.closest("li"),i=h.parent(),j=b.dataSM("level"),k=this.getWidth(b),l=this.getHeight(b),m=f.offset(),n=m.left,o=m.top,p=this.getWidth(f),q=this.getHeight(f),r=a(window),s=r.scrollLeft(),t=r.scrollTop(),u=this.getViewportWidth(),v=this.getViewportHeight(),w=i.parent().is("[data-sm-horizontal-sub]")||2==j&&!i.hasClass("sm-vertical"),x=this.opts.rightToLeftSubMenus&&!h.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&h.is("[data-sm-reverse]"),y=2==j?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,z=2==j?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(w?(c=x?p-k-y:y,e=this.opts.bottomToTopSubMenus?-l-z:q+z):(c=x?y-k:p-y,e=this.opts.bottomToTopSubMenus?q-z-l:z),this.opts.keepInViewport){var A=n+c,B=o+e;if(x&&A<s?c=w?s-A+c:p-y:!x&&A+k>s+u&&(c=w?s+u-k-A+c:y-k),w||(l<v&&B+l>t+v?e+=t+v-l-B:(l>=v||B<t)&&(e+=t-B)),w&&(B+l>t+v+.49||B<t)||!w&&l>v+.49){var C=this;b.dataSM("scroll-arrows")||b.dataSM("scroll-arrows",a([a('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],a('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).on({mouseenter:function(){b.dataSM("scroll").up=a(this).hasClass("scroll-up"),C.menuScroll(b)},mouseleave:function(a){C.menuScrollStop(b),C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){a.preventDefault()}}).insertAfter(b));var D=".smartmenus_scroll";if(b.dataSM("scroll",{y:this.cssTransforms3d?0:e-q,step:1,itemH:q,subH:l,arrowDownH:this.getHeight(b.dataSM("scroll-arrows").eq(1))}).on(d({mouseover:function(a){C.menuScrollOver(b,a)},mouseout:function(a){C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){C.menuScrollMousewheel(b,a)}},D)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:c+(parseInt(b.css("border-left-width"))||0),width:k-(parseInt(b.css("border-left-width"))||0)-(parseInt(b.css("border-right-width"))||0),zIndex:b.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var E={};E[g?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(a){C.menuScrollTouch(b,a)},b.css({"touch-action":"none","-ms-touch-action":"none"}).on(d(E,D))}}}b.css({top:"auto",left:"0",marginLeft:c,marginTop:e-q})},menuScroll:function(a,b,c){var d,e=a.dataSM("scroll"),g=a.dataSM("scroll-arrows"),h=e.up?e.upEnd:e.downEnd;if(!b&&e.momentum){if(e.momentum*=.92,d=e.momentum,d<.5)return void this.menuScrollStop(a)}else d=c||(b||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(e.step));var j=a.dataSM("level");if(this.activatedItems[j-1]&&this.activatedItems[j-1].dataSM("sub")&&this.activatedItems[j-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(j-1),e.y=e.up&&h<=e.y||!e.up&&h>=e.y?e.y:Math.abs(h-e.y)>d?e.y+(e.up?d:-d):h,a.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+e.y+"px, 0)",transform:"translate3d(0, "+e.y+"px, 0)"}:{marginTop:e.y}),f&&(e.up&&e.y>e.downEnd||!e.up&&e.y<e.upEnd)&&g.eq(e.up?1:0).show(),e.y==h)f&&g.eq(e.up?0:1).hide(),this.menuScrollStop(a);else if(!b){this.opts.scrollAccelerate&&e.step<this.opts.scrollStep&&(e.step+=.2);var k=this;this.scrollTimeout=i(function(){k.menuScroll(a)})}},menuScrollMousewheel:function(a,b){if(this.getClosestMenu(b.target)==a[0]){b=b.originalEvent;var c=(b.wheelDelta||-b.detail)>0;a.dataSM("scroll-arrows").eq(c?0:1).is(":visible")&&(a.dataSM("scroll").up=c,this.menuScroll(a,!0))}b.preventDefault()},menuScrollOut:function(b,c){f&&(/^scroll-(up|down)/.test((c.relatedTarget||"").className)||(b[0]==c.relatedTarget||a.contains(b[0],c.relatedTarget))&&this.getClosestMenu(c.relatedTarget)==b[0]||b.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(b,c){if(f&&!/^scroll-(up|down)/.test(c.target.className)&&this.getClosestMenu(c.target)==b[0]){this.menuScrollRefreshData(b);var d=b.dataSM("scroll"),e=a(window).scrollTop()-b.dataSM("parent-a").offset().top-d.itemH;b.dataSM("scroll-arrows").eq(0).css("margin-top",e).end().eq(1).css("margin-top",e+this.getViewportHeight()-d.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(b){var c=b.dataSM("scroll"),d=a(window).scrollTop()-b.dataSM("parent-a").offset().top-c.itemH;this.cssTransforms3d&&(d=-(parseFloat(b.css("margin-top"))-d)),a.extend(c,{upEnd:d,downEnd:d+this.getViewportHeight()-c.subH})},menuScrollStop:function(a){if(this.scrollTimeout)return j(this.scrollTimeout),this.scrollTimeout=0,a.dataSM("scroll").step=1,!0},menuScrollTouch:function(b,d){if(d=d.originalEvent,c(d)){var e=this.getTouchPoint(d);if(this.getClosestMenu(e.target)==b[0]){var f=b.dataSM("scroll");if(/(start|down)$/i.test(d.type))this.menuScrollStop(b)?(d.preventDefault(),this.$touchScrollingSub=b):this.$touchScrollingSub=null,this.menuScrollRefreshData(b),a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp});else if(/move$/i.test(d.type)){var g=void 0!==f.touchY?f.touchY:f.touchStartY;if(void 0!==g&&g!=e.pageY){this.$touchScrollingSub=b;var h=g<e.pageY;void 0!==f.up&&f.up!=h&&a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp}),a.extend(f,{up:h,touchY:e.pageY}),this.menuScroll(b,!0,Math.abs(e.pageY-g))}d.preventDefault()}else void 0!==f.touchY&&((f.momentum=15*Math.pow(Math.abs(e.pageY-f.touchStartY)/(d.timeStamp-f.touchStartTime),2))&&(this.menuScrollStop(b),this.menuScroll(b),d.preventDefault()),delete f.touchY)}}},menuShow:function(a){if((a.dataSM("beforefirstshowfired")||(a.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",a[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",a[0])!==!1&&(a.dataSM("shown-before",!0),k&&a.stop(!0,!0),!a.is(":visible"))){var b=a.dataSM("parent-a"),c=this.isCollapsible();if((this.opts.keepHighlighted||c)&&b.addClass("highlighted"),c)a.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(a.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(a.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&a.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var d=this.getWidth(a);a.css("max-width",this.opts.subMenusMaxWidth),d>this.getWidth(a)&&a.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(a)}var e=function(){a.css("overflow","")};c?k&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,a,e):a.show(this.opts.collapsibleShowDuration,e):k&&this.opts.showFunction?this.opts.showFunction.call(this,a,e):a.show(this.opts.showDuration,e),b.attr("aria-expanded","true"),a.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(a),this.$root.triggerHandler("show.smapi",a[0])}},popupHide:function(a){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},a?1:this.opts.hideTimeout)},popupShow:function(a,b){if(!this.opts.isPopup)return void alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),k&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:a,top:b});var c=this,d=function(){c.$root.css("overflow","")};k&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,d):this.$root.show(this.opts.showDuration,d),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(b){if(this.handleEvents())switch(b.keyCode){case 27:var c=this.activatedItems[0];if(c){this.menuHideAll(),c[0].focus();var d=c.dataSM("sub");d&&this.menuHide(d)}break;case 32:var e=a(b.target);if(e.is("a")&&this.handleItemEvents(e)){var d=e.dataSM("sub");d&&!d.is(":visible")&&(this.itemClick({currentTarget:b.target}),b.preventDefault())}}},rootOut:function(a){if(this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(a){this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(a){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==a.type){var b=this.isCollapsible();this.wasCollapsible&&b||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=b}}else if(this.$disableOverlay){var c=this.$root.offset();this.$disableOverlay.css({top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),a.fn.dataSM=function(a,b){return b?this.data(a+"_smartmenus",b):this.data(a+"_smartmenus")},a.fn.removeDataSM=function(a){return this.removeData(a+"_smartmenus")},a.fn.smartmenus=function(b){if("string"==typeof b){var c=arguments,d=b;return Array.prototype.shift.call(c),this.each(function(){var b=a(this).data("smartmenus");b&&b[d]&&b[d].apply(b,c)})}return this.each(function(){var c=a(this).data("sm-options")||null;c&&"object"!=typeof c&&(c=null,alert('ERROR\n\nSmartMenus jQuery init:\nThe value of the "data-sm-options" attribute must be valid JSON.')),c&&a.each(["showFunction","hideFunction","collapsibleShowFunction","collapsibleHideFunction"],function(){this in c&&delete c[this]}),new a.SmartMenus(this,a.extend({},a.fn.smartmenus.defaults,b,c))})},a.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(a,b){a.fadeOut(200,b)},collapsibleShowDuration:0,collapsibleShowFunction:function(a,b){a.slideDown(200,b)},collapsibleHideDuration:0,collapsibleHideFunction:function(a,b){a.slideUp(200,b)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},a});
!function(t){var o=function(o,s){var i,e,n,r,a=!1,c=!1,f=!1,p={},l={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"},isRTL:!1,handleScrollbarWidth:!1},d=function(t,o,s){var i={},e=t[0].style;s.forEach((function(t){i[t]=void 0!==e[t]?e[t]:""})),t.data("css-backup-"+o,i)},m=function(t,o){return t.data("css-backup-"+o)};const u=()=>{if(r=b(i,"width"),n=i.offset().left,e.isRTL){const t=e.handleScrollbarWidth?window.innerWidth:document.body.offsetWidth;n=Math.max(t-r-n,0)}};var h=function(){p.$spacer=i.clone().addClass(e.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),i.after(p.$spacer)},y=function(){p.$spacer.remove()},k=function(){d(i,"unsticky",["position","width","margin-top","margin-bottom","top","bottom","inset-inline-start"]);const t={position:"fixed",width:r,marginTop:0,marginBottom:0};t[e.to]=e.offset,t["top"===e.to?"bottom":"top"]="",n&&(t["inset-inline-start"]=n+"px"),i.css(t).addClass(e.classes.stickyActive)},v=function(){i.css(m(i,"unsticky")).removeClass(e.classes.stickyActive)},b=function(t,o,s){var i=getComputedStyle(t[0]),e=parseFloat(i[o]),n="height"===o?["top","bottom"]:["left","right"],r=[];return"border-box"!==i.boxSizing&&r.push("border","padding"),s&&r.push("margin"),r.forEach((function(t){n.forEach((function(o){e+=parseFloat(i[t+"-"+o])}))})),e},w=function(t){var o=p.$window.scrollTop(),s=b(t,"height"),i=innerHeight,e=t.offset().top-o,n=e-i;return{top:{fromTop:e,fromBottom:n},bottom:{fromTop:e+s,fromBottom:n+s}}},g=function(){v(),y(),a=!1,i.trigger("sticky:unstick")},$=function(){var t=w(i),o="top"===e.to;if(c){(o?t.top.fromTop>e.offset:t.bottom.fromBottom<-e.offset)&&(p.$parent.css(m(p.$parent,"childNotFollowing")),i.css(m(i,"notFollowing")),c=!1)}else{var s=w(p.$parent),a=getComputedStyle(p.$parent[0]),f=parseFloat(a[o?"borderBottomWidth":"borderTopWidth"]),l=o?s.bottom.fromTop-f:s.top.fromBottom+f;(o?l<=t.bottom.fromTop:l>=t.top.fromBottom)&&function(){d(p.$parent,"childNotFollowing",["position"]),p.$parent.css("position","relative"),d(i,"notFollowing",["position","inset-inline-start","top","bottom"]);const t={position:"absolute"};if(n=p.$spacer.position().left,e.isRTL){const t=i.parent().outerWidth(),o=p.$spacer.position().left;r=p.$spacer.outerWidth(),n=Math.max(t-r-o,0)}t["inset-inline-start"]=n+"px",t[e.to]="",t["top"===e.to?"bottom":"top"]=0,i.css(t),c=!0}()}},T=function(){var t,o=e.offset;if(a){var s=w(p.$spacer);t="top"===e.to?s.top.fromTop-o:-s.bottom.fromBottom-o,e.parent&&$(),t>0&&g()}else{var n=w(i);(t="top"===e.to?n.top.fromTop-o:-n.bottom.fromBottom-o)<=0&&(u(),h(),k(),a=!0,i.trigger("sticky:stick"),e.parent&&$())}!function(t){f&&-t<e.effectsOffset?(i.removeClass(e.classes.stickyEffects),f=!1):!f&&-t>=e.effectsOffset&&(i.addClass(e.classes.stickyEffects),f=!0)}(t)},B=function(){T()},C=function(){a&&(v(),y(),u(),h(),k(),e.parent&&(c=!1,$()))};this.destroy=function(){a&&g(),p.$window.off("scroll",B).off("resize",C),i.removeClass(e.classes.sticky)},e=jQuery.extend(!0,l,s),i=t(o).addClass(e.classes.sticky),p.$window=t(window),e.parent&&(p.$parent=i.parent(),"parent"!==e.parent&&(p.$parent=p.$parent.closest(e.parent))),p.$window.on({scroll:B,resize:C}),T()};t.fn.sticky=function(s){var i="string"==typeof s;return this.each((function(){var e=t(this);if(i){var n=e.data("sticky");if(!n)throw Error("Trying to perform the `"+s+"` method prior to initialization");if(!n[s])throw ReferenceError("Method `"+s+"` not found in sticky instance");n[s].apply(n,Array.prototype.slice.call(arguments,1)),"destroy"===s&&e.removeData("sticky")}else e.data("sticky",new o(this,s))})),this},window.Sticky=o}(jQuery);
!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.postscribe=o():e.postscribe=o()}(this,function(){return function(e){function o(r){if(t[r])return t[r].exports;var n=t[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}var t={};return o.m=e,o.c=t,o.p="",o(0)}([function(e,o,t){"use strict";var r=t(1),n=function(e){return e&&e.__esModule?e:{default:e}}(r);e.exports=n.default},function(e,o,t){"use strict";function r(){}function n(){var e=f.shift();if(e){var o=_.last(e);o.afterDequeue(),e.stream=i.apply(void 0,e),o.afterStreamStart()}}function i(e,o,t){function i(e){e=t.beforeWrite(e),u.write(e),t.afterWrite(e)}u=new c.default(e,t),u.id=g++,u.name=t.name||u.id,s.streams[u.name]=u;var d=e.ownerDocument,p={close:d.close,open:d.open,write:d.write,writeln:d.writeln};a(d,{close:r,open:r,write:function(){for(var e=arguments.length,o=Array(e),t=0;t<e;t++)o[t]=arguments[t];return i(o.join(""))},writeln:function(){for(var e=arguments.length,o=Array(e),t=0;t<e;t++)o[t]=arguments[t];return i(o.join("")+"\n")}});var _=u.win.onerror||r;return u.win.onerror=function(e,o,r){t.error({msg:e+" - "+o+": "+r}),_.apply(u.win,[e,o,r])},u.write(o,function(){a(d,p),u.win.onerror=_,t.done(),u=null,n()}),u}function s(e,o,t){if(_.isFunction(t))t={done:t};else if("clear"===t)return f=[],u=null,void(g=0);t=_.defaults(t,l),e=/^#/.test(e)?window.document.getElementById(e.substr(1)):e.jquery?e[0]:e;var i=[e,o,t];return e.postscribe={cancel:function(){i.stream?i.stream.abort():i[1]=r}},t.beforeEnqueue(i),f.push(i),u||n(),e.postscribe}o.__esModule=!0;var a=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e};o.default=s;var d=t(2),c=function(e){return e&&e.__esModule?e:{default:e}}(d),p=t(4),_=function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o.default=e,o}(p),l={afterAsync:r,afterDequeue:r,afterStreamStart:r,afterWrite:r,autoFix:!0,beforeEnqueue:r,beforeWriteToken:function(e){return e},beforeWrite:function(e){return e},done:r,error:function(e){throw new Error(e.msg)},releaseAsync:!1},g=0,f=[],u=null;a(s,{streams:{},queue:f,WriteStream:c.default})},function(e,o,t){"use strict";function r(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function n(e,o){var t=_+o,r=e.getAttribute(t);return p.existy(r)?String(r):r}function i(e,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=_+o;p.existy(t)&&""!==t?e.setAttribute(r,t):e.removeAttribute(r)}o.__esModule=!0;var s=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a=t(3),d=function(e){return e&&e.__esModule?e:{default:e}}(a),c=t(4),p=function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o.default=e,o}(c),_="data-ps-",l="ps-style",g="ps-script",f=function(){function e(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.root=o,this.options=t,this.doc=o.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new d.default("",{autoFix:t.autoFix}),this.actuals=[o],this.proxyHistory="",this.proxyRoot=this.doc.createElement(o.nodeName),this.scriptStack=[],this.writeQueue=[],i(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var o=this.writeQueue.shift();p.isFunction(o)?this._callFunction(o):this._writeImpl(o)}},e.prototype._callFunction=function(e){var o={type:"function",value:e.name||e.toString()};this._onScriptStart(o),e.call(this.win,this.doc),this._onScriptDone(o)},e.prototype._writeImpl=function(e){this.parser.append(e);for(var o=void 0,t=void 0,r=void 0,n=[];(o=this.parser.readToken())&&!(t=p.isScript(o))&&!(r=p.isStyle(o));)(o=this.options.beforeWriteToken(o))&&n.push(o);n.length>0&&this._writeStaticTokens(n),t&&this._handleScriptToken(o),r&&this._handleStyleToken(o)},e.prototype._writeStaticTokens=function(e){var o=this._buildChunk(e);return o.actual?(o.html=this.proxyHistory+o.actual,this.proxyHistory+=o.proxy,this.proxyRoot.innerHTML=o.html,this._walkChunk(),o):null},e.prototype._buildChunk=function(e){for(var o=this.actuals.length,t=[],r=[],n=[],i=e.length,s=0;s<i;s++){var a=e[s],d=a.toString();if(t.push(d),a.attrs){if(!/^noscript$/i.test(a.tagName)){var c=o++;r.push(d.replace(/(\/?>)/," "+_+"id="+c+" $1")),a.attrs.id!==g&&a.attrs.id!==l&&n.push("atomicTag"===a.type?"":"<"+a.tagName+" "+_+"proxyof="+c+(a.unary?" />":">"))}}else r.push(d),n.push("endTag"===a.type?d:"")}return{tokens:e,raw:t.join(""),actual:r.join(""),proxy:n.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,o=[this.proxyRoot];p.existy(e=o.shift());){var t=1===e.nodeType;if(!(t&&n(e,"proxyof"))){t&&(this.actuals[n(e,"id")]=e,i(e,"id"));var r=e.parentNode&&n(e.parentNode,"proxyof");r&&this.actuals[r].appendChild(e)}o.unshift.apply(o,p.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var o=this,t=this.parser.clear();t&&this.writeQueue.unshift(t),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,function(){o._onScriptDone(e)}))},e.prototype._handleStyleToken=function(e){var o=this.parser.clear();o&&this.writeQueue.unshift(o),e.type=e.attrs.type||e.attrs.TYPE||"text/css",e=this.options.beforeWriteToken(e),e&&this._writeStyleToken(e),o&&this.write()},e.prototype._writeStyleToken=function(e){var o=this._buildStyle(e);this._insertCursor(o,l),e.content&&(o.styleSheet&&!o.sheet?o.styleSheet.cssText=e.content:o.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var o=this.doc.createElement(e.tagName);return o.setAttribute("type",e.type),p.eachKey(e.attrs,function(e,t){o.setAttribute(e,t)}),o},e.prototype._insertCursor=function(e,o){this._writeImpl('<span id="'+o+'"/>');var t=this.doc.getElementById(o);t&&t.parentNode.replaceChild(e,t)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){return e!==this.scriptStack[0]?void this.options.error({msg:"Bad script nesting or script finished twice"}):(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),void(!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)))},e.prototype._writeScriptToken=function(e,o){var t=this._buildScript(e),r=this._shouldRelease(t),n=this.options.afterAsync;e.src&&(t.src=e.src,this._scriptLoadHandler(t,r?n:function(){o(),n()}));try{this._insertCursor(t,g),t.src&&!r||o()}catch(e){this.options.error(e),o()}},e.prototype._buildScript=function(e){var o=this.doc.createElement(e.tagName);return p.eachKey(e.attrs,function(e,t){o.setAttribute(e,t)}),e.content&&(o.text=e.content),o},e.prototype._scriptLoadHandler=function(e,o){function t(){e=e.onload=e.onreadystatechange=e.onerror=null}function r(){t(),null!=o&&o(),o=null}function n(e){t(),a(e),null!=o&&o(),o=null}function i(e,o){var t=e["on"+o];null!=t&&(e["_on"+o]=t)}var a=this.options.error;i(e,"load"),i(e,"error"),s(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(o){n({msg:"onload handler failed "+o+" @ "+e.src})}r()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(o){return void n({msg:"onerror handler failed "+o+" @ "+e.src})}n({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&r()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}();o.default=f},function(e,o,t){!function(o,t){e.exports=function(){return function(e){function o(r){if(t[r])return t[r].exports;var n=t[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}var t={};return o.m=e,o.c=t,o.p="",o(0)}([function(e,o,t){"use strict";var r=t(1),n=function(e){return e&&e.__esModule?e:{default:e}}(r);e.exports=n.default},function(e,o,t){"use strict";function r(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o.default=e,o}function n(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}o.__esModule=!0;var i=t(2),s=r(i),a=t(3),d=r(a),c=t(6),p=function(e){return e&&e.__esModule?e:{default:e}}(c),_=t(5),l={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},g=function(){function e(){var o=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e),this.stream=t;var i=!1,a={};for(var d in s)s.hasOwnProperty(d)&&(r.autoFix&&(a[d+"Fix"]=!0),i=i||a[d+"Fix"]);i?(this._readToken=(0,p.default)(this,a,function(){return o._readTokenImpl()}),this._peekToken=(0,p.default)(this,a,function(){return o._peekTokenImpl()})):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return e.prototype.append=function(e){this.stream+=e},e.prototype.prepend=function(e){this.stream=e+this.stream},e.prototype._readTokenImpl=function(){var e=this._peekTokenImpl();if(e)return this.stream=this.stream.slice(e.length),e},e.prototype._peekTokenImpl=function(){for(var e in l)if(l.hasOwnProperty(e)&&l[e].test(this.stream)){var o=d[e](this.stream);if(o)return"startTag"===o.type&&/script|style/i.test(o.tagName)?null:(o.text=this.stream.substr(0,o.length),o)}},e.prototype.peekToken=function(){return this._peekToken()},e.prototype.readToken=function(){return this._readToken()},e.prototype.readTokens=function(e){for(var o=void 0;o=this.readToken();)if(e[o.type]&&!1===e[o.type](o))return},e.prototype.clear=function(){var e=this.stream;return this.stream="",e},e.prototype.rest=function(){return this.stream},e}();o.default=g,g.tokenToString=function(e){return e.toString()},g.escapeAttributes=function(e){var o={};for(var t in e)e.hasOwnProperty(t)&&(o[t]=(0,_.escapeQuotes)(e[t],null));return o},g.supports=s;for(var f in s)s.hasOwnProperty(f)&&(g.browserHasFlaw=g.browserHasFlaw||!s[f]&&f)},function(e,o){"use strict";o.__esModule=!0;var t=!1,r=!1,n=window.document.createElement("div");try{var i="<P><I></P></I>";n.innerHTML=i,o.tagSoup=t=n.innerHTML!==i}catch(e){o.tagSoup=t=!1}try{n.innerHTML="<P><i><P></P></i></P>",o.selfClose=r=2===n.childNodes.length}catch(e){o.selfClose=r=!1}n=null,o.tagSoup=t,o.selfClose=r},function(e,o,t){"use strict";function r(e){var o=e.indexOf("--\x3e");if(o>=0)return new c.CommentToken(e.substr(4,o-1),o+3)}function n(e){var o=e.indexOf("<");return new c.CharsToken(o>=0?o:e.length)}function i(e){if(-1!==e.indexOf(">")){var o=e.match(p.startTag);if(o){var t=function(){var e={},t={},r=o[2];return o[2].replace(p.attr,function(o,n){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(e[arguments[5]]="",t[arguments[5]]=!0):e[n]=arguments[2]||arguments[3]||arguments[4]||p.fillAttr.test(n)&&n||"":e[n]="",r=r.replace(o,"")}),{v:new c.StartTagToken(o[1],o[0].length,e,t,!!o[3],r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}();if("object"===(void 0===t?"undefined":d(t)))return t.v}}}function s(e){var o=i(e);if(o){var t=e.slice(o.length);if(t.match(new RegExp("</\\s*"+o.tagName+"\\s*>","i"))){var r=t.match(new RegExp("([\\s\\S]*?)</\\s*"+o.tagName+"\\s*>","i"));if(r)return new c.AtomicTagToken(o.tagName,r[0].length+o.length,o.attrs,o.booleanAttrs,r[1])}}}function a(e){var o=e.match(p.endTag);if(o)return new c.EndTagToken(o[1],o[0].length)}o.__esModule=!0;var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};o.comment=r,o.chars=n,o.startTag=i,o.atomicTag=s,o.endTag=a;var c=t(4),p={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(e,o,t){"use strict";function r(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}o.__esModule=!0,o.EndTagToken=o.AtomicTagToken=o.StartTagToken=o.TagToken=o.CharsToken=o.CommentToken=o.Token=void 0;var n=t(5),i=(o.Token=function e(o,t){r(this,e),this.type=o,this.length=t,this.text=""},o.CommentToken=function(){function e(o,t){r(this,e),this.type="comment",this.length=t||(o?o.length:0),this.text="",this.content=o}return e.prototype.toString=function(){return"\x3c!--"+this.content},e}(),o.CharsToken=function(){function e(o){r(this,e),this.type="chars",this.length=o,this.text=""}return e.prototype.toString=function(){return this.text},e}(),o.TagToken=function(){function e(o,t,n,i,s){r(this,e),this.type=o,this.length=n,this.text="",this.tagName=t,this.attrs=i,this.booleanAttrs=s,this.unary=!1,this.html5Unary=!1}return e.formatTag=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t="<"+e.tagName;for(var r in e.attrs)if(e.attrs.hasOwnProperty(r)){t+=" "+r;var i=e.attrs[r];void 0!==e.booleanAttrs&&void 0!==e.booleanAttrs[r]||(t+='="'+(0,n.escapeQuotes)(i)+'"')}return e.rest&&(t+=" "+e.rest),t+=e.unary&&!e.html5Unary?"/>":">",void 0!==o&&null!==o&&(t+=o+"</"+e.tagName+">"),t},e}());o.StartTagToken=function(){function e(o,t,n,i,s,a){r(this,e),this.type="startTag",this.length=t,this.text="",this.tagName=o,this.attrs=n,this.booleanAttrs=i,this.html5Unary=!1,this.unary=s,this.rest=a}return e.prototype.toString=function(){return i.formatTag(this)},e}(),o.AtomicTagToken=function(){function e(o,t,n,i,s){r(this,e),this.type="atomicTag",this.length=t,this.text="",this.tagName=o,this.attrs=n,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1,this.content=s}return e.prototype.toString=function(){return i.formatTag(this,this.content)},e}(),o.EndTagToken=function(){function e(o,t){r(this,e),this.type="endTag",this.length=t,this.text="",this.tagName=o}return e.prototype.toString=function(){return"</"+this.tagName+">"},e}()},function(e,o){"use strict";function t(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.replace(/([^"]*)"/g,function(e,o){return/\\/.test(o)?o+'"':o+'\\"'}):o}o.__esModule=!0,o.escapeQuotes=t},function(e,o){"use strict";function t(e){return e&&"startTag"===e.type&&(e.unary=a.test(e.tagName)||e.unary,e.html5Unary=!/\/>$/.test(e.text)),e}function r(e,o){var r=e.stream,n=t(o());return e.stream=r,n}function n(e,o){var t=o.pop();e.prepend("</"+t.tagName+">")}function i(){var e=[];return e.last=function(){return this[this.length-1]},e.lastTagNameEq=function(e){var o=this.last();return o&&o.tagName&&o.tagName.toUpperCase()===e.toUpperCase()},e.containsTagName=function(e){for(var o,t=0;o=this[t];t++)if(o.tagName===e)return!0;return!1},e}function s(e,o,s){function a(){var o=r(e,s);o&&p[o.type]&&p[o.type](o)}var c=i(),p={startTag:function(t){var r=t.tagName;"TR"===r.toUpperCase()&&c.lastTagNameEq("TABLE")?(e.prepend("<TBODY>"),a()):o.selfCloseFix&&d.test(r)&&c.containsTagName(r)?c.lastTagNameEq(r)?n(e,c):(e.prepend("</"+t.tagName+">"),a()):t.unary||c.push(t)},endTag:function(t){c.last()?o.tagSoupFix&&!c.lastTagNameEq(t.tagName)?n(e,c):c.pop():o.tagSoupFix&&(s(),a())}};return function(){return a(),t(s())}}o.__esModule=!0,o.default=s;var a=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,d=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])}()}()},function(e,o){"use strict";function t(e){return void 0!==e&&null!==e}function r(e){return"function"==typeof e}function n(e,o,t){var r=void 0,n=e&&e.length||0;for(r=0;r<n;r++)o.call(t,e[r],r)}function i(e,o,t){for(var r in e)e.hasOwnProperty(r)&&o.call(t,r,e[r])}function s(e,o){return e=e||{},i(o,function(o,r){t(e[o])||(e[o]=r)}),e}function a(e){try{return Array.prototype.slice.call(e)}catch(t){var o=function(){var o=[];return n(e,function(e){o.push(e)}),{v:o}}();if("object"===(void 0===o?"undefined":l(o)))return o.v}}function d(e){return e[e.length-1]}function c(e,o){return!(!e||"startTag"!==e.type&&"atomicTag"!==e.type||!("tagName"in e)||!~e.tagName.toLowerCase().indexOf(o))}function p(e){return c(e,"script")}function _(e){return c(e,"style")}o.__esModule=!0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};o.existy=t,o.isFunction=r,o.each=n,o.eachKey=i,o.defaults=s,o.toArray=a,o.last=d,o.isTag=c,o.isScript=p,o.isStyle=_}])}),function(e,o){e.gdpr_lightbox=function(e,o){"use strict";function t(e){var o=I();return U&&e.length?(e.one(U,o.resolve),setTimeout(o.resolve,500)):o.resolve(),o.promise()}function r(e,t,r){if(1===arguments.length)return o.extend({},e);if("string"==typeof t){if(void 0===r)return void 0===e[t]?null:e[t];e[t]=r}else o.extend(e,t);return this}function n(e){for(var o,t=decodeURI(e.split("#")[0]).split("&"),r={},n=0,i=t.length;n<i;n++)t[n]&&(o=t[n].split("="),r[o[0]]=o[1]);return r}function i(e,t){return e+(e.indexOf("?")>-1?"&":"?")+o.param(t)}function s(e,o){var t=e.indexOf("#");return-1===t?o:(t>0&&(e=e.substr(t)),o+e)}function a(e){return o('<span class="gdpr_lightbox-error"></span>').append(e)}function d(e,t){var r=t.opener()&&t.opener().data("gdpr_lightbox-desc")||"Image with no description",n=o('<img src="'+e+'" alt="'+r+'"/>'),i=I(),s=function(){i.reject(a("Failed loading image"))};return n.on("load",function(){if(0===this.naturalWidth)return s();i.resolve(n)}).on("error",s),i.promise()}function c(e,t){var r,n,i;try{r=o(e)}catch(e){return!1}return!!r.length&&(n=o('<i style="display:none !important"></i>'),i=r.hasClass("gdpr_lightbox-hide"),t.element().one("gdpr_lightbox:remove",function(){n.before(r).remove(),i&&!r.closest(".gdpr_lightbox-content").length&&r.addClass("gdpr_lightbox-hide")}),r.removeClass("gdpr_lightbox-hide").after(n))}function p(e){var t=P.exec(e);return!!t&&f(s(e,i("https://www.youtube"+(t[2]||"")+".com/embed/"+t[4],o.extend({autoplay:1},n(t[5]||"")))))}function _(e){var t=R.exec(e);return!!t&&f(s(e,i("https://player.vimeo.com/video/"+t[3],o.extend({autoplay:1},n(t[4]||"")))))}function l(e){var t=F.exec(e);return!!t&&(0!==e.indexOf("http")&&(e="https:"+e),f(s(e,i("https://www.facebook.com/plugins/video.php?href="+e,o.extend({autoplay:1},n(t[4]||""))))))}function g(e){var o=M.exec(e);return!!o&&f(s(e,i("https://www.google."+o[3]+"/maps?"+o[6],{output:o[6].indexOf("layer=c")>0?"svembed":"embed"})))}function f(e){return'<div class="gdpr_lightbox-iframe-container"><iframe frameborder="0" allowfullscreen allow="autoplay; fullscreen" src="'+e+'"/></div>'}function u(){return C.documentElement.clientHeight?C.documentElement.clientHeight:Math.round(S.height())}function v(e){var o=k();o&&(27===e.keyCode&&o.options("esc")&&o.close(),9===e.keyCode&&m(e,o))}function m(e,o){var t=o.element().find(E),r=t.index(C.activeElement);e.shiftKey&&r<=0?(t.get(t.length-1),e.preventDefault()):e.shiftKey||r!==t.length-1||(t.get(0),e.preventDefault())}function h(){o.each(O,function(e,o){o.resize()})}function b(e){1===O.unshift(e)&&(N.addClass("gdpr_lightbox-active"),S.on({resize:h,keydown:v})),o("body > *").not(e.element()).addClass("gdpr_lightbox-hidden").each(function(){var e=o(this);void 0===e.data(D)&&e.data(D,e.attr(j)||null)}).attr(j,"true")}function y(e){var t;e.element().attr(j,"true"),1===O.length&&(N.removeClass("gdpr_lightbox-active"),S.off({resize:h,keydown:v})),O=o.grep(O,function(o){return e!==o}),t=O.length?O[0].element():o(".gdpr_lightbox-hidden"),t.removeClass("gdpr_lightbox-hidden").each(function(){var e=o(this),t=e.data(D);t?e.attr(j,t):e.removeAttr(j),e.removeData(D)})}function k(){return 0===O.length?null:O[0]}function w(e,t,r,n){var i,s="inline",a=o.extend({},r);return n&&a[n]?(i=a[n](e,t),s=n):(o.each(["inline","iframe"],function(e,o){delete a[o],a[o]=r[o]}),o.each(a,function(o,r){return!r||(!(!r.test||r.test(e,t))||(i=r(e,t),!1!==i?(s=o,!1):void 0))})),{handler:s,content:i||""}}function x(e,n,i,s){function a(e){p=o(e).css("max-height",u()+"px"),c.find(".gdpr_lightbox-loader").each(function(){var e=o(this);t(e).always(function(){e.remove()})}),c.removeClass("gdpr_lightbox-loading").find(".gdpr_lightbox-content").empty().append(p),l=!0,p.trigger("gdpr_lightbox:ready",[_])}var d,c,p,_=this,l=!1,g=!1;n=o.extend({},A,n),c=o(n.template),_.element=function(){return c},_.opener=function(){return i},_.options=o.proxy(r,_,n),_.handlers=o.proxy(r,_,n.handlers),_.resize=function(){l&&!g&&p.css("max-height",u()+"px").trigger("gdpr_lightbox:resize",[_])},_.close=function(){if(l&&!g){g=!0,y(_);var e=I();return s&&(C.activeElement===c[0]||o.contains(c[0],C.activeElement)),p.trigger("gdpr_lightbox:close",[_]),c.removeClass("gdpr_lightbox-opened").addClass("gdpr_lightbox-closed"),t(p.add(c)).always(function(){p.trigger("gdpr_lightbox:remove",[_]),c.remove(),c=void 0,e.resolve()}),e.promise()}},d=w(e,_,n.handlers,n.handler),c.attr(j,"false").addClass("gdpr_lightbox-loading gdpr_lightbox-opened gdpr_lightbox-"+d.handler).appendTo("body").on("click","[data-gdpr_lightbox-close]",function(e){o(e.target).is("[data-gdpr_lightbox-close]")&&_.close()}).trigger("gdpr_lightbox:open",[_]),b(_),o.when(d.content).always(a)}function T(e,t,r){e.preventDefault?(e.preventDefault(),r=o(this),e=r.data("gdpr_lightbox-target")||r.attr("href")||r.attr("src")):r=o(r);var n=new x(e,o.extend({},r.data("gdpr_lightbox-options")||r.data("gdpr_lightbox"),t),r,C.activeElement);if(!e.preventDefault)return n}var C=e.document,S=o(e),I=o.Deferred,N=o("html"),O=[],j="aria-hidden",D="gdpr_lightbox-"+j,E='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',A={esc:!0,handler:null,handlers:{image:d,inline:c,youtube:p,vimeo:_,googlemaps:g,facebookvideo:l,iframe:f},template:'<div class="gdpr_lightbox" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="gdpr_lightbox-wrap" data-gdpr_lightbox-close role="document"><div class="gdpr_lightbox-loader" aria-hidden="true">Loading...</div><div class="gdpr_lightbox-container"><div class="gdpr_lightbox-content"></div><button class="gdpr_lightbox-close" type="button" aria-label="Close (Press escape to close)" data-gdpr_lightbox-close>&times;</button></div></div></div>'},J=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,P=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,R=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,M=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,F=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,U=function(){var e=C.createElement("div"),o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in o)if(void 0!==e.style[t])return o[t];return!1}();return d.test=function(e){return J.test(e)},T.options=o.proxy(r,T,A),T.handlers=o.proxy(r,T,A.handlers),T.current=k,o(C).on("click.gdpr_lightbox","[data-gdpr_lightbox]",T),T}(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this),function(e){var o={common:{init:function(){"use strict";function o(e){var o;try{o=new URL(e)}catch(e){return!1}return"http:"===o.protocol||"https:"===o.protocol}function t(e){try{new URLSearchParams(window.location.search).has("gdpr_dbg")&&console.warn(e)}catch(e){console.warn(e)}}function r(){"true"===(void 0!==moove_frontend_gdpr_scripts.ajax_cookie_removal?moove_frontend_gdpr_scripts.ajax_cookie_removal:"false")&&e.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_remove_php_cookies"},function(e){t("dbg - cookies removed")})}function n(){r();var o=void 0!==moove_frontend_gdpr_scripts.wp_lang?moove_frontend_gdpr_scripts.wp_lang:"";"true"===(void 0!==moove_frontend_gdpr_scripts.ajax_cookie_removal?moove_frontend_gdpr_scripts.ajax_cookie_removal:"false")?e.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_get_scripts",strict:0,thirdparty:0,advanced:0,wp_lang:o},function(e){var o={};o.strict=1,o.thirdparty=0,o.advanced=0,h(),i("script_inject",o),_(o)}):h()}function i(e,o){try{jQuery().gdpr_cookie_compliance_analytics(e,o)}catch(e){}}function s(e){try{jQuery().gdpr_cookie_compliance_consent_log(e)}catch(e){}}function a(){var e=u("moove_gdpr_popup"),o={};return o.strict="0",o.thirdparty="0",o.advanced="0",e&&(e=JSON.parse(e),o.strict=e.strict,o.thirdparty=e.thirdparty,o.advanced=e.advanced,_(o),i("script_inject",e)),void 0!==moove_frontend_gdpr_scripts.ifbc?("strict"===moove_frontend_gdpr_scripts.ifbc&&e&&1===parseInt(e.strict)&&d(),"thirdparty"===moove_frontend_gdpr_scripts.ifbc&&e&&1===parseInt(e.thirdparty)&&d(),"advanced"===moove_frontend_gdpr_scripts.ifbc&&e&&1===parseInt(e.advanced)&&d()):"1"!==moove_frontend_gdpr_scripts.strict_init&&d(),o}function d(){e(document).find("iframe[data-gdpr-iframesrc]").each(function(){e(this).attr("src",e(this).attr("data-gdpr-iframesrc"))})}function c(e){w=!0,i("accept_all",""),f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"1",advanced:"1"}),y),p("enabled-all")}function p(r){var n=!1;try{void 0!==moove_frontend_gdpr_scripts.force_reload&&"true"===moove_frontend_gdpr_scripts.force_reload&&(n=!0)}catch(e){}var s=a(),d=moove_frontend_gdpr_scripts.enabled_default.third_party,c=moove_frontend_gdpr_scripts.enabled_default.advanced;if(document.cookie.indexOf("moove_gdpr_popup")>=0||1==d||1==c){var p=u("moove_gdpr_popup");1==d&&(N.strict=1,N.thirdparty=d),1==c&&(N.strict=1,N.advanced=c),N&&(parseInt(s.strict)-parseInt(N.strict)<0&&(n=!0),parseInt(s.thirdparty)-parseInt(N.thirdparty)<0&&(n=!0),parseInt(s.advanced)-parseInt(N.advanced)<0&&(n=!0))}if(n)if(p={strict:0,thirdparty:0,advanced:0},i("script_inject",p),void 0!==moove_frontend_gdpr_scripts.scripts_defined)setTimeout(function(){location.reload(!0)},800);else{var _=e(document).find('script[src*="googletagmanager.com"]');_.length>0&&_.each(function(){var t=e(this).attr("src");if(t&&o(t)){var r=new URL(t),n=r.searchParams.get("id");n&&(document.cookie="woocommerce_"+n+"=true; expires=Thu, 31 Dec 1970 23:59:59 UTC; path=/",window["ga-disable-"+n]=!0),window.gtag&&window.gtag("remove"),e(this).remove()}});var g=void 0!==moove_frontend_gdpr_scripts.ajax_cookie_removal?moove_frontend_gdpr_scripts.ajax_cookie_removal:"true";if("function"==typeof navigator.sendBeacon)if("true"===g){var f=new FormData;f.append("action","moove_gdpr_remove_php_cookies"),navigator.sendBeacon(moove_frontend_gdpr_scripts.ajaxurl,f),location.reload(!0)}else location.reload(!0);else"true"===g?e.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_remove_php_cookies"},function(e){location.reload(!0)}).fail(function(){location.reload(!0)}):location.reload(!0)}else{var m=u("moove_gdpr_popup");t("dbg - inject - 4"),v(m),l(),e("#moove_gdpr_save_popup_settings_button").show()}}function _(o){o&&(i("script_inject",o),1===parseInt(o.strict)?(e("#moove_gdpr_strict_cookies").is(":checked")||(e("#moove_gdpr_strict_cookies").prop("checked",!0).trigger("change"),e("#third_party_cookies fieldset, #third_party_cookies .gdpr-cc-form-fieldset").removeClass("fl-disabled"),e("#moove_gdpr_performance_cookies").prop("disabled",!1),e("#third_party_cookies .moove-gdpr-strict-secondary-warning-message").slideUp(),e("#advanced-cookies fieldset, #advanced-cookies .gdpr-cc-form-fieldset").removeClass("fl-disabled"),e("#advanced-cookies .moove-gdpr-strict-secondary-warning-message").slideUp(),e("#moove_gdpr_advanced_cookies").prop("disabled",!1)),void 0!==moove_frontend_gdpr_scripts.wp_consent_api&&"true"===moove_frontend_gdpr_scripts.wp_consent_api&&wp_set_consent("functional","allow")):(e("#moove_gdpr_strict_cookies").is(":checked")&&(e("#moove_gdpr_strict_cookies").prop("checked",!0).trigger("change"),e("#third_party_cookies fieldset, #third_party_cookies .gdpr-cc-form-fieldset").addClass("fl-disabled").closest(".moove-gdpr-status-bar").removeClass("checkbox-selected"),e("#moove_gdpr_performance_cookies").prop("disabled",!0).prop("checked",!1),e("#advanced-cookies fieldset, #advanced-cookies .gdpr-cc-form-fieldset").addClass("fl-disabled").closest(".moove-gdpr-status-bar").removeClass("checkbox-selected"),e("#moove_gdpr_advanced_cookies").prop("disabled",!0).prop("checked",!1)),void 0!==moove_frontend_gdpr_scripts.wp_consent_api&&"true"===moove_frontend_gdpr_scripts.wp_consent_api&&wp_set_consent("functional","deny")),1===parseInt(o.thirdparty)?(e("#moove_gdpr_performance_cookies").is(":checked")||e("#moove_gdpr_performance_cookies").prop("checked",!0).trigger("change"),void 0!==moove_frontend_gdpr_scripts.wp_consent_api&&"true"===moove_frontend_gdpr_scripts.wp_consent_api&&wp_set_consent("statistics","allow")):(e("#moove_gdpr_performance_cookies").is(":checked")&&e("#moove_gdpr_performance_cookies").prop("checked",!1).trigger("change"),void 0!==moove_frontend_gdpr_scripts.wp_consent_api&&"true"===moove_frontend_gdpr_scripts.wp_consent_api&&wp_set_consent("statistics","deny")),1===parseInt(o.advanced)?(e("#moove_gdpr_advanced_cookies").is(":checked")||e("#moove_gdpr_advanced_cookies").prop("checked",!0).trigger("change"),void 0!==moove_frontend_gdpr_scripts.wp_consent_api&&"true"===moove_frontend_gdpr_scripts.wp_consent_api&&wp_set_consent("marketing","allow")):(e("#moove_gdpr_advanced_cookies").is(":checked")&&e("#moove_gdpr_advanced_cookies").prop("checked",!1).trigger("change"),void 0!==moove_frontend_gdpr_scripts.wp_consent_api&&"true"===moove_frontend_gdpr_scripts.wp_consent_api&&wp_set_consent("marketing","deny")),e('input[data-name="moove_gdpr_performance_cookies"]').prop("checked",e("#moove_gdpr_performance_cookies").is(":checked")),e('input[data-name="moove_gdpr_strict_cookies"]').prop("checked",e("#moove_gdpr_strict_cookies").is(":checked")),e('input[data-name="moove_gdpr_advanced_cookies"]').prop("checked",e("#moove_gdpr_advanced_cookies").is(":checked")))}function l(){e("#moove_gdpr_cookie_info_bar").length>0&&(e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden"),e("body").removeClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").hide())}function g(){var o=!0;if("undefined"!=typeof sessionStorage&&1===parseInt(sessionStorage.getItem("gdpr_infobar_hidden"))&&(o=!1),void 0!==moove_frontend_gdpr_scripts.display_cookie_banner&&o){if("true"===moove_frontend_gdpr_scripts.display_cookie_banner)e("#moove_gdpr_cookie_info_bar").length>0&&(e("#moove_gdpr_cookie_info_bar").removeClass("moove-gdpr-info-bar-hidden"),e("#moove_gdpr_save_popup_settings_button:not(.button-visible)").hide(),e("body").addClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").show(),i("show_infobar",""));else if(e("#moove_gdpr_cookie_info_bar").length>0){e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden"),e("body").removeClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").hide();var r={strict:1,thirdparty:1,advanced:1};t("dbg - inject - 5"),v(JSON.stringify(r))}}else e("#moove_gdpr_cookie_info_bar").length>0&&o&&(e("#moove_gdpr_cookie_info_bar").removeClass("moove-gdpr-info-bar-hidden"),e("#moove_gdpr_save_popup_settings_button:not(.button-visible)").hide(),
e("body").addClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").show(),i("show_infobar",""))}function f(e,o,r){var n;if(r>0){var i=new Date;i.setTime(i.getTime()+24*r*60*60*1e3),n="; expires="+i.toGMTString()}else n="";try{var a="SameSite=Lax";void 0!==moove_frontend_gdpr_scripts.cookie_attributes&&(a=moove_frontend_gdpr_scripts.cookie_attributes),void 0!==moove_frontend_gdpr_scripts.gdpr_consent_version&&(o=JSON.parse(o),o.version=moove_frontend_gdpr_scripts.gdpr_consent_version,o=JSON.stringify(o)),"moove_gdpr_popup"===e&&0===parseInt(o.strict)?void 0!==moove_frontend_gdpr_scripts.gdpr_scor&&"false"===moove_frontend_gdpr_scripts.gdpr_scor?document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(o)+n+"; path=/; "+a:document.cookie=encodeURIComponent(e)+"=; Path=/;":document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(o)+n+"; path=/; "+a,o!==A&&(A=o,s(o))}catch(e){t("error - moove_gdpr_create_cookie: "+e)}}function u(e){for(var o=encodeURIComponent(e)+"=",t=document.cookie.split(";"),r=0;r<t.length;r++){for(var n=t[r];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(o)){var i=decodeURIComponent(n.substring(o.length,n.length)),s=JSON.parse(i);if(void 0!==s.version){if(void 0!==moove_frontend_gdpr_scripts.gdpr_consent_version){var a=moove_frontend_gdpr_scripts.gdpr_consent_version;if(parseFloat(a)>parseFloat(s.version))return document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;",null}}else if(void 0!==moove_frontend_gdpr_scripts.gdpr_consent_version&&parseFloat(moove_frontend_gdpr_scripts.gdpr_consent_version)>1)return document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;",null;return i}}return null}function v(o){if(N=a(),o){var t=o;o=JSON.parse(o);a();if(!1!==O){var r=JSON.parse(O);1===parseInt(r.thirdparty)&&1===parseInt(o.thirdparty)&&(o.thirdparty="0"),1===parseInt(r.advanced)&&1===parseInt(o.advanced)&&(o.advanced="0")}if(i("script_inject",o),j=!0,void 0!==moove_frontend_gdpr_scripts.ifbc?("strict"===moove_frontend_gdpr_scripts.ifbc&&o&&1===parseInt(o.strict)&&d(),"thirdparty"===moove_frontend_gdpr_scripts.ifbc&&o&&1===parseInt(o.thirdparty)&&d(),"advanced"===moove_frontend_gdpr_scripts.ifbc&&o&&1===parseInt(o.advanced)&&d()):1===parseInt(o.strict)&&d(),void 0!==moove_frontend_gdpr_scripts.scripts_defined)try{var s=JSON.parse(moove_frontend_gdpr_scripts.scripts_defined);if(1===parseInt(o.strict))1===parseInt(o.thirdparty)&&void 0===k.thirdparty&&(s.thirdparty.header&&postscribe(document.head,s.thirdparty.header),s.thirdparty.body&&e(s.thirdparty.body).prependTo(document.body),s.thirdparty.footer&&postscribe(document.body,s.thirdparty.footer),k.thirdparty=!0),1===parseInt(o.advanced)&&void 0===k.advanced&&(s.advanced.header&&postscribe(document.head,s.advanced.header),s.advanced.body&&e(s.advanced.body).prependTo(document.body),s.advanced.footer&&postscribe(document.body,s.advanced.footer),k.advanced=!0);else{var o=u("moove_gdpr_popup");o&&(h(),n())}}catch(e){console.error(e)}else if(void 0===k.thirdparty||void 0===k.advanced){1===o.thirdparty&&(k.thirdparty=!0),1===o.advanced&&(k.advanced=!0);var c=void 0!==moove_frontend_gdpr_scripts.wp_lang?moove_frontend_gdpr_scripts.wp_lang:"";0===parseInt(o.thirdparty)&&0===parseInt(o.advanced)&&h(),e.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_get_scripts",strict:o.strict,thirdparty:o.thirdparty,advanced:o.advanced,wp_lang:c},function(r){O=t,i("script_inject",o);var n=JSON.parse(r);n.header&&postscribe(document.head,n.header),n.body&&e(n.body).prependTo(document.body),n.footer&&postscribe(document.body,n.footer)})}}else g()}function m(){var o=!0;e(document).find("#moove_gdpr_cookie_modal input[type=checkbox]").each(function(){e(this).is(":checked")||(o=!1)})}function h(o){try{e(document).find("script[data-gdpr]").each(function(){t("script_removed: "+e(this).attr("src"))});for(var r=document.cookie.split(";"),n=window.location.hostname,i=0;i<r.length;i++){var s=r[i],a=s.indexOf("="),d=a>-1?s.substr(0,a):s;d.includes("woocommerce")||d.includes("wc_")||d.includes("moove_gdpr_popup")||d.includes("wordpress")||(document.cookie=d+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;domain="+n,document.cookie=d+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;domain=."+n,t("cookie removed: "+d+" - "+n))}}catch(e){t("error in gdpr_delete_all_cookies: "+e)}"undefined"!=typeof sessionStorage&&sessionStorage.removeItem("gdpr_session")}function b(o){var t=u("moove_gdpr_popup");o&&(h(),r());var n="0",i="0",s="0",a=!1;t&&(t=JSON.parse(t),n=t.strict,i=t.advanced,s=t.thirdparty),e("#moove_gdpr_strict_cookies").length>0?e("#moove_gdpr_strict_cookies").is(":checked")?(n="1",a=!0):n="0":(a=!0,n="1"),e("#moove_gdpr_performance_cookies").is(":checked")?(s="1",a=!0):s="0",e("#moove_gdpr_advanced_cookies").is(":checked")?(i="1",a=!0):i="0",!t&&a?(f("moove_gdpr_popup",JSON.stringify({strict:n,thirdparty:s,advanced:i}),y),l(),e("#moove_gdpr_save_popup_settings_button").show()):t&&(w||f("moove_gdpr_popup",JSON.stringify({strict:n,thirdparty:s,advanced:i}),y));var t=u("moove_gdpr_popup");t&&(t=JSON.parse(t),"0"==t.strict&&"0"==t.advanced&&"0"==t.thirdparty&&h())}var y=365,k=[],w=!1;void 0!==moove_frontend_gdpr_scripts.cookie_expiration&&(y=moove_frontend_gdpr_scripts.cookie_expiration),e(document).on("click","#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .main-modal-content .moove-gdpr-tab-main:not(#privacy_overview) .tab-title",function(o){window.innerWidth<768&&(e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-tab-main-content").is(":visible")?e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-tab-main-content").slideUp(300):e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-tab-main-content").slideDown(300))}),e(document).on("click tap",'#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-reject-btn, [href*="#gdpr-reject-cookies"], .moove-gdpr-modal-reject-all',function(o){o.preventDefault(),h(),n(),e("#moove_gdpr_cookie_info_bar").length>0&&(e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden"),e("body").removeClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").hide(),e("#moove_gdpr_save_popup_settings_button").show()),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),e(document).moove_gdpr_lightbox_close(),void 0!==moove_frontend_gdpr_scripts.gdpr_scor&&"false"===moove_frontend_gdpr_scripts.gdpr_scor||(f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y),setTimeout(function(){f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y)},500)),p("reject-btn")});var x=!1,T=e(".moove_gdpr_modal_theme_v2 .moove-gdpr-tab-main").first(),C=e(".moove_gdpr_modal_theme_v2 .moove-gdpr-tab-main").first(),S=0,I=!1;e(document).on("keydown",function(o){if(e("body").hasClass("moove_gdpr_overflow")&&e(".moove-gdpr-modal-content").hasClass("moove_gdpr_modal_theme_v1")){if(38==o.keyCode){o.preventDefault();var t=e("#moove-gdpr-menu li.menu-item-selected"),r=t.prev();0===r.length&&(r=e("#moove-gdpr-menu li").last()),r.find(".moove-gdpr-tab-nav:visible").trigger("click"),e(".moove-gdpr-tab-main:visible").trigger("focus")}if(40==o.keyCode)if(o.preventDefault(),I){var t=e("#moove-gdpr-menu li.menu-item-selected"),r=t.prev();0===r.length&&(r=e("#moove-gdpr-menu li").last()),r.find(".moove-gdpr-tab-nav:visible").trigger("click"),e(".moove-gdpr-tab-main:visible").trigger("focus")}else{var t=e("#moove-gdpr-menu li.menu-item-selected"),n=t.next();0===n.length&&(n=e("#moove-gdpr-menu li").first()),n.find(".moove-gdpr-tab-nav:visible").trigger("click"),e(".moove-gdpr-tab-main:visible").trigger("focus")}if(9==o.keyCode){o.preventDefault();var i=e("#moove_gdpr_cookie_modal .mgbutton, #moove_gdpr_cookie_modal .moove-gdpr-modal-close, #moove_gdpr_cookie_modal #moove-gdpr-menu > li");if(i.length>0){var s=!1;if(S<=i.length?(I?S--:S++,s=i[S],e(s).is(":visible")||(I?S--:S++,s=i[S])):(S=0,s=i[S]),e("#moove_gdpr_cookie_modal .focus-g").removeClass("focus-g"),S<0&&I&&(S=i.length),!s&&S>i.length&&(S=0,s=i[S]),e(s).addClass("focus-g").trigger("focus"),(e(s).hasClass("menu-item-on")||e(s).hasClass("menu-item-off"))&&e(s).find("button").trigger("click"),e(s).length>0)try{e(s)[0].scrollIntoViewIfNeeded()}catch(e){console.warn(e)}}else{e(".cookie-switch").removeClass("focus-g");var n=T.next();if(T=n,0===n.length&&(n=C,T=C),n.find(".cookie-switch").trigger("focus").addClass("focus-g"),n.find(".cookie-switch").length>0)try{n.find(".cookie-switch")[0].scrollIntoViewIfNeeded()}catch(e){console.warn(e)}}}if(32==o.keyCode){o.preventDefault();e(".moove-gdpr-tab-main:visible").find(".moove-gdpr-status-bar input[type=checkbox]").trigger("click")}13==o.keyCode&&(o.preventDefault(),e(document).find(".focus-g").length>0?e(document).find(".focus-g").trigger("click"):e(".moove-gdpr-modal-save-settings").trigger("click"))}if(e("body").hasClass("moove_gdpr_overflow")&&e(".moove-gdpr-modal-content").hasClass("moove_gdpr_modal_theme_v2")){if(38==o.keyCode){o.preventDefault();var t=e("#moove-gdpr-menu li.menu-item-selected"),r=t.prev();0===r.length&&(r=e("#moove-gdpr-menu li").last()),r.find(".moove-gdpr-tab-nav:visible").trigger("click"),e(".moove-gdpr-tab-main:visible").trigger("focus")}if(40==o.keyCode){o.preventDefault();var t=e("#moove-gdpr-menu li.menu-item-selected"),n=t.next();0===n.length&&(n=e("#moove-gdpr-menu li").first()),n.find(".moove-gdpr-tab-nav:visible").trigger("click"),e(".moove-gdpr-tab-main:visible").trigger("focus")}if(32==o.keyCode){o.preventDefault();e("#moove_gdpr_cookie_modal").find(".focus-g").trigger("click")}if(9==o.keyCode){o.preventDefault();var i=e("#moove_gdpr_cookie_modal .cookie-switch, #moove_gdpr_cookie_modal .mgbutton, #moove_gdpr_cookie_modal a:not(.moove-gdpr-branding), #moove_gdpr_cookie_modal .moove-gdpr-modal-close");if(i.length>0){var s=!1;if(S<=i.length?(I?S--:S++,s=i[S],e(s).is(":visible")||(I?S--:S++,s=i[S])):(S=0,s=i[S]),e("#moove_gdpr_cookie_modal .focus-g").removeClass("focus-g"),S<0&&I&&(S=i.length),!s&&S>i.length&&(S=0,s=i[S]),e(s).addClass("focus-g").trigger("focus"),e(s).length>0)try{e(s)[0].scrollIntoViewIfNeeded()}catch(e){console.warn(e)}}else{e(".cookie-switch").removeClass("focus-g");var n=T.next();if(T=n,0===n.length&&(n=C,T=C),n.find(".cookie-switch").trigger("focus").addClass("focus-g"),n.find(".cookie-switch").length>0)try{n.find(".cookie-switch")[0].scrollIntoViewIfNeeded()}catch(e){console.warn(e)}}}13==o.keyCode&&(e("#moove_gdpr_cookie_modal .focus-g").length>0&&(e("#moove_gdpr_cookie_modal .focus-g").hasClass("mgbutton")||e("#moove_gdpr_cookie_modal .focus-g").hasClass("moove-gdpr-modal-close")||e("#moove_gdpr_cookie_modal .focus-g").attr("href"))?e("#moove_gdpr_cookie_modal .focus-g").attr("href")?e("#moove_gdpr_cookie_modal .focus-g").trigger("click"):(o.preventDefault(),e("#moove_gdpr_cookie_modal .focus-g").trigger("click")):(o.preventDefault(),e(".moove-gdpr-modal-save-settings").trigger("click")))}}),e(document).on("keyup",function(e){16==e.keyCode&&(I=!1),17!=e.keyCode&&18!=e.keyCode&&13!=e.keyCode||(I=!1)}),document.addEventListener("visibilitychange",function(e){I=!1}),e(document).on("keydown",function(o){if(16==o.keyCode&&(I=!0),e("body").hasClass("gdpr-infobar-visible")&&!e("body").hasClass("moove_gdpr_overflow")&&e("#moove_gdpr_cookie_info_bar").hasClass("gdpr-full-screen-infobar")){if(9==o.keyCode){o.preventDefault(),console.warn("fsw-tab");var t=e('#moove_gdpr_cookie_info_bar.gdpr-full-screen-infobar span.change-settings-button, #moove_gdpr_cookie_info_bar.gdpr-full-screen-infobar button.change-settings-button, #moove_gdpr_cookie_info_bar.gdpr-full-screen-infobar [data-target="third_party_cookies"] label, #moove_gdpr_cookie_info_bar.gdpr-full-screen-infobar [data-target="advanced-cookies"] label, #moove_gdpr_cookie_info_bar.gdpr-full-screen-infobar .mgbutton');if(t.length>0){var r=!1;if(S<=t.length?(I?S--:S++,r=t[S],e(r).is(":visible")||(I?S--:S++,r=t[S])):(S=0,r=t[S]),e("#moove_gdpr_cookie_info_bar .focus-g").removeClass("focus-g"),S<0&&I&&(S=t.length),!r&&S>t.length&&(S=0,r=t[S]),e(document).find("*").blur(),e(r).addClass("focus-g").trigger("focus"),e(r).length>0)try{e(r)[0].scrollIntoViewIfNeeded()}catch(e){console.warn(e)}}else{e(".cookie-switch").removeClass("focus-g");var n=T.next();if(T=n,0===n.length&&(n=C,T=C),n.find(".cookie-switch").trigger("focus").addClass("focus-g"),n.find(".cookie-switch").length>0)try{n.find(".cookie-switch")[0].scrollIntoViewIfNeeded()}catch(e){console.warn(e)}}}if(32==o.keyCode){o.preventDefault();var i=e("#moove_gdpr_cookie_info_bar").find(".gdpr-shr-switch.focus-g input[type=checkbox]");console.warn("space"),i.trigger("click")}}13==o.keyCode&&e(document.activeElement).length>0&&e(document.activeElement).closest("#moove_gdpr_cookie_info_bar").length>0&&(o.preventDefault(),e(document.activeElement).trigger("click"))}),e.fn.moove_gdpr_read_cookies=function(e){var o=u("moove_gdpr_popup"),t={};return t.strict="0",t.thirdparty="0",t.advanced="0",o&&(o=JSON.parse(o),t.strict=parseInt(o.strict),t.thirdparty=parseInt(o.thirdparty),t.advanced=parseInt(o.advanced)),t};var N=a(),O=!1,j=!1,D="",E=!1,A="";e(document).on("click tap","#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn",function(o){if(o.preventDefault(),void 0!==moove_frontend_gdpr_scripts.close_btn_action){var t=parseInt(moove_frontend_gdpr_scripts.close_btn_action);1===t&&(l(),e("#moove_gdpr_save_popup_settings_button").show(),"undefined"!=typeof sessionStorage&&sessionStorage.setItem("gdpr_infobar_hidden",1)),2===t&&(h(),n(),e("#moove_gdpr_cookie_info_bar").length>0&&(e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden"),e("body").removeClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").hide(),e("#moove_gdpr_save_popup_settings_button").show()),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),e(document).moove_gdpr_lightbox_close(),void 0!==moove_frontend_gdpr_scripts.gdpr_scor&&"false"===moove_frontend_gdpr_scripts.gdpr_scor||(f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y),setTimeout(function(){f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y)},500)),p("reject-btn")),3===t&&c("enable_all close-btn"),4===t&&(h(),n(),e("#moove_gdpr_cookie_info_bar").length>0&&(e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden"),e("body").removeClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").hide(),e("#moove_gdpr_save_popup_settings_button").show()),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),e(document).moove_gdpr_lightbox_close(),void 0!==moove_frontend_gdpr_scripts.gdpr_scor&&"false"===moove_frontend_gdpr_scripts.gdpr_scor||(f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y),setTimeout(function(){f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y)},500)),void 0!==moove_frontend_gdpr_scripts.close_btn_rdr&&""!==moove_frontend_gdpr_scripts.close_btn_rdr?window.parent.location.href=moove_frontend_gdpr_scripts.close_btn_rdr:p("reject-btn"))}else l(),e("#moove_gdpr_save_popup_settings_button").show(),"undefined"!=typeof sessionStorage&&sessionStorage.setItem("gdpr_infobar_hidden",1)}),e.fn.moove_gdpr_save_cookie=function(o){var t=u("moove_gdpr_popup"),r=t,s=e(window).scrollTop();if(!t){if(o.thirdParty)var a="1";else var a="0";if(o.advanced)var c="1";else var c="0";if(o.scrollEnable){var p=o.scrollEnable;e(window).scroll(function(){!j&&e(this).scrollTop()-s>p&&("undefined"===o.thirdparty&&"undefined"===o.advanced||(f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:a,advanced:c}),y),t=JSON.parse(t),_(t)))})}else"undefined"===o.thirdparty&&"undefined"===o.advanced||(f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:a,advanced:c}),y),t=JSON.parse(t),_(t));if(t=u("moove_gdpr_popup"))if(t=JSON.parse(t),i("script_inject",t),j=!0,void 0!==moove_frontend_gdpr_scripts.ifbc?("strict"===moove_frontend_gdpr_scripts.ifbc&&t&&1===parseInt(t.strict)&&d(),"thirdparty"===moove_frontend_gdpr_scripts.ifbc&&t&&1===parseInt(t.thirdparty)&&d(),"advanced"===moove_frontend_gdpr_scripts.ifbc&&t&&1===parseInt(t.advanced)&&d()):1===parseInt(t.strict)&&d(),void 0!==moove_frontend_gdpr_scripts.scripts_defined)try{var l=JSON.parse(moove_frontend_gdpr_scripts.scripts_defined);if(1===parseInt(t.strict))1===parseInt(t.thirdparty)&&void 0===k.thirdparty&&(l.thirdparty.header&&postscribe(document.head,l.thirdparty.header),l.thirdparty.body&&e(l.thirdparty.body).prependTo(document.body),l.thirdparty.footer&&postscribe(document.body,l.thirdparty.footer),k.thirdparty=!0),1===parseInt(t.advanced)&&void 0===k.advanced&&(l.advanced.header&&postscribe(document.head,l.advanced.header),l.advanced.body&&e(l.advanced.body).prependTo(document.body),l.advanced.footer&&postscribe(document.body,l.advanced.footer),k.advanced=!0);else{var t=u("moove_gdpr_popup");t&&(h(),n())}}catch(e){console.error(e)}else if(void 0===k.thirdparty||void 0===k.advanced){1===t.thirdparty&&(k.thirdparty=!0),1===t.advanced&&(k.advanced=!0);var g=void 0!==moove_frontend_gdpr_scripts.wp_lang?moove_frontend_gdpr_scripts.wp_lang:"";0===parseInt(t.thirdparty)&&0===parseInt(t.advanced)&&h(),e.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_get_scripts",strict:t.strict,thirdparty:t.thirdparty,advanced:t.advanced,wp_lang:g},function(o){O=r,i("script_inject",t);var n=JSON.parse(o);n.header&&postscribe(document.head,n.header),n.body&&e(n.body).prependTo(document.body),n.footer&&postscribe(document.body,n.footer)})}}},function(){var o=(location.pathname,e(window).scrollTop());e("#moove_gdpr_save_popup_settings_button").show();var r=moove_frontend_gdpr_scripts.enabled_default.third_party,n=moove_frontend_gdpr_scripts.enabled_default.advanced;if(void 0!==moove_frontend_gdpr_scripts.enable_on_scroll&&"true"===moove_frontend_gdpr_scripts.enable_on_scroll&&1!==parseInt(r)&&1!==parseInt(n)&&(r=1,n=1),document.cookie.indexOf("moove_gdpr_popup")>=0||1==r||1==n){var i=u("moove_gdpr_popup");if(i){var s=a();"0"==s.strict&&"0"==s.advanced&&"0"==s.thirdparty&&(h(),g())}else{var d=!1;if("undefined"!=typeof sessionStorage&&(d=sessionStorage.getItem("gdpr_session")),void 0!==moove_frontend_gdpr_scripts.enable_on_scroll&&"true"===moove_frontend_gdpr_scripts.enable_on_scroll){if(d)try{_(JSON.parse(d)),j=!0,t("dbg - inject - 1"),v(d),f("moove_gdpr_popup",d,y),l()}catch(e){}else if((!j&&1==moove_frontend_gdpr_scripts.enabled_default.third_party||!j&&1==moove_frontend_gdpr_scripts.enabled_default.advanced)&&(i={strict:1,thirdparty:r,advanced:n},_(i),i=JSON.stringify(i),x=!0,g(),t("dbg - default scroll inject")),void 0!==moove_frontend_gdpr_scripts.gdpr_aos_hide&&("1"===moove_frontend_gdpr_scripts.gdpr_aos_hide||"true"===moove_frontend_gdpr_scripts.gdpr_aos_hide||"object"==typeof moove_frontend_gdpr_scripts.gdpr_aos_hide&&moove_frontend_gdpr_scripts.gdpr_aos_hide.includes("1"))&&(t("dbg - enable on scroll - enter"),e(window).scroll(function(){if((!j||x)&&e(this).scrollTop()-o>200){i={strict:1,thirdparty:r,advanced:n},u("moove_gdpr_popup")||"undefined"!=typeof sessionStorage&&((d=sessionStorage.getItem("gdpr_session"))||(sessionStorage.setItem("gdpr_session",JSON.stringify(i)),d=sessionStorage.getItem("gdpr_session")));try{_(i),i=JSON.stringify(i),g(),j=!0,t("dbg - inject - 2 - accept on scroll"),x||v(i),x=!1,f("moove_gdpr_popup",i,y),l(),p("check reload on scroll"),e("#moove_gdpr_save_popup_settings_button").show()}catch(e){}}})),void 0!==moove_frontend_gdpr_scripts.gdpr_aos_hide&&("2"===moove_frontend_gdpr_scripts.gdpr_aos_hide||"object"==typeof moove_frontend_gdpr_scripts.gdpr_aos_hide&&moove_frontend_gdpr_scripts.gdpr_aos_hide.includes("2"))){var c=30;if(void 0!==moove_frontend_gdpr_scripts.gdpr_aos_hide_seconds)var c=parseInt(moove_frontend_gdpr_scripts.gdpr_aos_hide_seconds);t("dbg - hidetimer - enter, seconds: "+c),setTimeout(function(){if(t("dbg - hidetimer - is_created: "+j),!j){i={strict:1,thirdparty:r,advanced:n};var o=u("moove_gdpr_popup");t("dbg - hidetimer - cookies_stored: "+o),o||"undefined"!=typeof sessionStorage&&((d=sessionStorage.getItem("gdpr_session"))||(sessionStorage.setItem("gdpr_session",JSON.stringify(i)),d=sessionStorage.getItem("gdpr_session")));try{_(i),i=JSON.stringify(i),g(),j=!0,t("dbg - inject - 2a"),v(i),f("moove_gdpr_popup",i,y),p("check reload hidetimer")}catch(e){}}l(),e("#moove_gdpr_save_popup_settings_button").show()},1e3*c)}}else i={strict:1,thirdparty:r,advanced:n},_(i),i=JSON.stringify(i),g()}t("dbg - inject - 3"),v(i)}else g()}(),e(document).on("click",'[data-href*="#moove_gdpr_cookie_modal"],[href*="#moove_gdpr_cookie_modal"]',function(o){o.preventDefault(),e("#moove_gdpr_cookie_modal").length>0&&(E=!0,D=gdpr_lightbox("#moove_gdpr_cookie_modal"),e(".gdpr_lightbox").addClass("moove_gdpr_cookie_modal_open"),e(document).moove_gdpr_lightbox_open(),i("opened_modal_from_link",""))}),e(document).on("click",'[data-href*="#gdpr_cookie_modal"],[href*="#gdpr_cookie_modal"]',function(o){o.preventDefault(),e("#moove_gdpr_cookie_modal").length>0&&(E=!0,D=gdpr_lightbox("#moove_gdpr_cookie_modal"),e(".gdpr_lightbox").addClass("moove_gdpr_cookie_modal_open"),e(document).moove_gdpr_lightbox_open(),i("opened_modal_from_link",""))}),e(document).on("click tap","#moove_gdpr_cookie_info_bar .moove-gdpr-close-modal-button a, #moove_gdpr_cookie_info_bar .moove-gdpr-close-modal-button button",function(e){e.preventDefault()}),e(document).on("click tap",".moove-gdpr-modal-close",function(o){o.preventDefault(),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),e(document).moove_gdpr_lightbox_close()}),e(document).on("click","#moove-gdpr-menu .moove-gdpr-tab-nav",function(o){o.preventDefault(),o.stopPropagation(),e("#moove-gdpr-menu li").removeClass("menu-item-selected"),e(this).parent().addClass("menu-item-selected"),e(".moove-gdpr-tab-content .moove-gdpr-tab-main").hide(),e(e(this).attr("href")).show(),e(e(this).attr("data-href")).show(),i("clicked_to_tab",e(this).attr("data-href"))}),e(document).on("gdpr_lightbox:close",function(o,t){e(document).moove_gdpr_lightbox_close()}),e.fn.moove_gdpr_lightbox_close=function(o){E&&(e("body").removeClass("moove_gdpr_overflow"),E=!1)},e.fn.moove_gdpr_lightbox_open=function(o){if(E){e("body").addClass("moove_gdpr_overflow");var t=u("moove_gdpr_popup");document.activeElement.blur(),"none"===moove_frontend_gdpr_scripts.show_icons&&e("body").addClass("gdpr-no-icons"),e(".moove-gdpr-status-bar input[type=checkbox]").each(function(){e(this).is(":checked")?e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideUp():e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideDown()}),t?(t=JSON.parse(t),_(t)):e("#moove_gdpr_strict_cookies").is(":checked")||(e("#advanced-cookies .gdpr-cc-form-fieldset").addClass("fl-disabled"),e("#third_party_cookies .gdpr-cc-form-fieldset").addClass("fl-disabled")),void 0!==moove_frontend_gdpr_scripts.hide_save_btn&&"true"===moove_frontend_gdpr_scripts.hide_save_btn?e(".moove-gdpr-modal-save-settings").removeClass("button-visible").hide():e(".moove-gdpr-modal-save-settings").addClass("button-visible").show(),m()}},e(document).on("gdpr_lightbox:open",function(o,t){e(document).moove_gdpr_lightbox_open()}),e(document).on("click tap",".fl-disabled",function(o){e("#moove_gdpr_cookie_modal .moove-gdpr-modal-content").is(".moove_gdpr_modal_theme_v2")?e("#moove_gdpr_strict_cookies").length>0&&(e("#moove_gdpr_strict_cookies").trigger("click"),e(this).trigger("click")):e(this).closest(".moove-gdpr-tab-main-content").find(".moove-gdpr-strict-secondary-warning-message").slideDown()}),e(document).on("change",".moove-gdpr-status-bar input[type=checkbox]",function(o){e(".moove-gdpr-modal-save-settings").addClass("button-visible").show();var t=e(this).closest(".moove-gdpr-tab-main").attr("id");e(this).closest(".moove-gdpr-status-bar").toggleClass("checkbox-selected"),e(this).closest(".moove-gdpr-tab-main").toggleClass("checkbox-selected"),e("#moove-gdpr-menu .menu-item-"+t).toggleClass("menu-item-off"),e(this).is(":checked")?e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideUp():e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideDown(),e(this).is("#moove_gdpr_strict_cookies")&&(e(this).is(":checked")?(e("#third_party_cookies fieldset, #third_party_cookies .gdpr-cc-form-fieldset").removeClass("fl-disabled"),e("#moove_gdpr_performance_cookies").prop("disabled",!1),e("#third_party_cookies .moove-gdpr-strict-secondary-warning-message").slideUp(),e("#advanced-cookies fieldset, #advanced-cookies .gdpr-cc-form-fieldset").removeClass("fl-disabled"),e("#advanced-cookies .moove-gdpr-strict-secondary-warning-message").slideUp(),e("#moove_gdpr_advanced_cookies").prop("disabled",!1)):(e(".gdpr_cookie_settings_shortcode_content").find("input").each(function(){e(this).prop("checked",!1)}),e("#third_party_cookies fieldset, #third_party_cookies .gdpr-cc-form-fieldset").addClass("fl-disabled").closest(".moove-gdpr-status-bar").removeClass("checkbox-selected"),e("#moove_gdpr_performance_cookies").prop("disabled",!0).prop("checked",!1),e("#advanced-cookies fieldset, #advanced-cookies .gdpr-cc-form-fieldset").addClass("fl-disabled").closest(".moove-gdpr-status-bar").removeClass("checkbox-selected"),e("#moove_gdpr_advanced_cookies").prop("disabled",!0).prop("checked",!1))),e('input[data-name="'+e(this).attr("name")+'"]').prop("checked",e(this).is(":checked")),m()}),e(document).on("click tap",".gdpr_cookie_settings_shortcode_content a.gdpr-shr-save-settings",function(o){o.preventDefault(),b(!0),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),e(document).moove_gdpr_lightbox_close(),p("modal-save-settings")}),e(document).on("change",".gdpr_cookie_settings_shortcode_content input[type=checkbox]",function(o){var t=e(this).attr("data-name"),r=e("#"+t);e(this).is(":checked")?(e('input[data-name="'+t+'"]').prop("checked",!0),"moove_gdpr_strict_cookies"!==e(this).attr("data-name")&&(e(this).closest(".gdpr_cookie_settings_shortcode_content").find('input[data-name="moove_gdpr_strict_cookies"]').is(":checked")||(e('input[data-name="'+t+'"]').prop("checked",!1),e('.gdpr_cookie_settings_shortcode_content input[data-name="moove_gdpr_strict_cookies"]').closest(".gdpr-shr-switch").css("transform","scale(1.2)"),setTimeout(function(){e('.gdpr_cookie_settings_shortcode_content input[data-name="moove_gdpr_strict_cookies"]').closest(".gdpr-shr-switch").css("transform","scale(1)")},300)))):(e('input[data-name="'+t+'"]').prop("checked",e(this).is(":checked")),"moove_gdpr_strict_cookies"===e(this).attr("data-name")&&e(".gdpr_cookie_settings_shortcode_content").find('input[type="checkbox"]').prop("checked",!1)),r.trigger("click")}),e(document).on("click tap",'.moove-gdpr-modal-allow-all, [href*="#gdpr-accept-cookies"]',function(o){o.preventDefault(),e("#moove_gdpr_cookie_modal").find("input[type=checkbox]").each(function(){var o=e(this);o.is(":checked")||o.trigger("click")}),c("enable_all enable-all-button"),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),l(),b(!1),e(document).moove_gdpr_lightbox_close()}),e(document).on("click tap",".moove-gdpr-infobar-allow-all",function(o){o.preventDefault(),e("#moove_gdpr_cookie_modal").find("input[type=checkbox]").each(function(){var o=e(this);o.is(":checked")||o.trigger("click")}),c("enable_all allow-btn"),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),l(),b(!1)}),e(document).on("click tap",".moove-gdpr-modal-save-settings",function(o){o.preventDefault(),b(!0),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),e(document).moove_gdpr_lightbox_close(),p("modal-save-settings")});if(window.location.hash){var J=window.location.hash.substring(1);J=J.replace(/\/$/,""),"moove_gdpr_cookie_modal"!==J&&"gdpr_cookie_modal"!==J||(E=!0,i("opened_modal_from_link",""),setTimeout(function(){e("#moove_gdpr_cookie_modal").length>0&&(D=gdpr_lightbox("#moove_gdpr_cookie_modal"),e(".gdpr_lightbox").addClass("moove_gdpr_cookie_modal_open"),e(document).moove_gdpr_lightbox_open())},500)),"gdpr-accept-cookies"===J&&(e("#moove_gdpr_cookie_modal").find("input[type=checkbox]").each(function(){var o=e(this);o.is(":checked")||o.trigger("click")}),c("enable_all enable-all-button"),e(".gdpr_lightbox .gdpr_lightbox-close").trigger("click"),l(),b(!0),e(document).moove_gdpr_lightbox_close()),"gdpr-reject-cookies"===J&&(h(),n(),e("#moove_gdpr_cookie_info_bar").length>0&&(e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden"),e("body").removeClass("gdpr-infobar-visible"),e("#moove_gdpr_cookie_info_bar").hide(),e("#moove_gdpr_save_popup_settings_button").show()),g(),f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y),setTimeout(function(){f("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"0",advanced:"0"}),y)},500))}},finalize:function(){}}},t={fire:function(e,t,r){var n,i=o;t=void 0===t?"init":t,n=""!==e,n=n&&i[e],(n=n&&"function"==typeof i[e][t])&&i[e][t](r)},loadEvents:function(){var o=!1,r=!1;if(void 0!==moove_frontend_gdpr_scripts.gpc&&1===parseInt(moove_frontend_gdpr_scripts.gpc)&&void 0!==navigator.globalPrivacyControl&&(gpcValue=navigator.globalPrivacyControl,gpcValue&&(r=!0,console.warn("GDPR Cookie Compliance - Blocked by Global Policy Control (GPC)"))),!r)if(void 0!==moove_frontend_gdpr_scripts.geo_location&&"true"===moove_frontend_gdpr_scripts.geo_location)jQuery.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_localize_scripts"},function(e){var r=JSON.parse(e);void 0!==r.display_cookie_banner&&(moove_frontend_gdpr_scripts.display_cookie_banner=r.display_cookie_banner),void 0!==r.enabled_default&&(moove_frontend_gdpr_scripts.enabled_default=r.enabled_default),o||(o=!0,t.fire("common"))});else{var n=void 0!==typeof moove_frontend_gdpr_scripts.script_delay&&parseInt(moove_frontend_gdpr_scripts.script_delay)>=0?parseInt(moove_frontend_gdpr_scripts.script_delay):0;n>0?setTimeout(function(){t.fire("common")},n):t.fire("common")}e.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(e,o){t.fire(o),t.fire(o,"finalize")}),t.fire("common","finalize")}};e(document).ready(t.loadEvents)}(jQuery);