/*! * Jarallax v2.1.3 (https://github.com/nk-o/jarallax) * Copyright 2022 nK * Licensed under MIT (https://github.com/nk-o/jarallax/blob/master/LICENSE) */!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):(a="undefined"==typeof globalThis?a||self:globalThis).jarallax=b()}(this,function(){"use strict";function j(a){"complete"===document.readyState||"interactive"===document.readyState?a():document.addEventListener("DOMContentLoaded",a,{capture:!0,once:!0,passive:!0})}function e(){a=m.innerWidth||document.documentElement.clientWidth,n?(!t&&document.body&&(t=document.createElement("div"),t.style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(t)),o=(t?t.clientHeight:0)||m.innerHeight||document.documentElement.clientHeight):o=m.innerHeight||document.documentElement.clientHeight}function k(){return{width:a,height:o}}function c(){if(!v.length)return;const{width:b,height:d}=k();v.forEach((c,e)=>{const{instance:f,oldData:g}=c;if(f.isVisible()){const a=f.$item.getBoundingClientRect(),h={width:a.width,height:a.height,top:a.top,bottom:a.bottom,wndW:b,wndH:d},i=!g||g.wndW!==h.wndW||g.wndH!==h.wndH||g.width!==h.width||g.height!==h.height,j=i||!g||g.top!==h.top||g.bottom!==h.bottom;v[e].oldData=h,i&&f.onResize(),j&&f.onScroll()}}),m.requestAnimationFrame(c)}let d="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?{}:self:global:window;var m=d,q={type:"scroll",speed:.5,containerClass:"jarallax-container",imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null,videoClass:"jarallax-video",videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,disableVideo:!1,onVideoInsert:null,onVideoWorkerInit:null};const{navigator:i}=m,n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(i.userAgent);let a,o,t;e(),m.addEventListener("resize",e),m.addEventListener("orientationchange",e),m.addEventListener("load",e),j(()=>{e()});const v=[],p=new m.IntersectionObserver(a=>{a.forEach(a=>{a.target.jarallax.isElementInViewport=a.isIntersecting})},{rootMargin:"50px"}),{navigator:g}=m;let u=0;class h{constructor(b,c){const d=this;d.instanceID=u,u+=1,d.$item=b,d.defaults={...q};const f=d.$item.dataset||{},h={};if(Object.keys(f).forEach(a=>{const b=a.substr(0,1).toLowerCase()+a.substr(1);b&&void 0!==d.defaults[b]&&(h[b]=f[a])}),d.options=d.extend({},d.defaults,h,c),d.pureOptions=d.extend({},d.options),Object.keys(d.options).forEach(a=>{"true"===d.options[a]?d.options[a]=!0:"false"===d.options[a]&&(d.options[a]=!1)}),d.options.speed=Math.min(2,Math.max(-1,parseFloat(d.options.speed))),"string"==typeof d.options.disableParallax&&(d.options.disableParallax=new RegExp(d.options.disableParallax)),d.options.disableParallax instanceof RegExp){const a=d.options.disableParallax;d.options.disableParallax=()=>a.test(g.userAgent)}if("function"!=typeof d.options.disableParallax&&(d.options.disableParallax=()=>!1),"string"==typeof d.options.disableVideo&&(d.options.disableVideo=new RegExp(d.options.disableVideo)),d.options.disableVideo instanceof RegExp){const a=d.options.disableVideo;d.options.disableVideo=()=>a.test(g.userAgent)}"function"!=typeof d.options.disableVideo&&(d.options.disableVideo=()=>!1);let a=d.options.elementInViewport;a&&"object"==typeof a&&void 0!==a.length&&([a]=a),a instanceof Element||(a=null),d.options.elementInViewport=a,d.image={src:d.options.imgSrc||null,$container:null,useImgTag:!1,position:"fixed"},d.initImg()&&d.canInitParallax()&&d.init()}css(a,b){return function(a,b){return"string"==typeof b?m.getComputedStyle(a).getPropertyValue(b):(Object.keys(b).forEach(c=>{a.style[c]=b[c]}),a)}(a,b)}extend(a,...b){return function(a,...b){return a=a||{},Object.keys(b).forEach(c=>{b[c]&&Object.keys(b[c]).forEach(d=>{a[d]=b[c][d]})}),a}(a,...b)}getWindowData(){const{width:a,height:b}=k();return{width:a,height:b,y:document.documentElement.scrollTop}}initImg(){const a=this;let b=a.options.imgElement;return b&&"string"==typeof b&&(b=a.$item.querySelector(b)),b instanceof Element||(a.options.imgSrc?(b=new Image,b.src=a.options.imgSrc):b=null),b&&(a.options.keepImg?a.image.$item=b.cloneNode(!0):(a.image.$item=b,a.image.$itemParent=b.parentNode),a.image.useImgTag=!0),!!a.image.$item||(null===a.image.src&&(a.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",a.image.bgImage=a.css(a.$item,"background-image")),a.image.bgImage&&"none"!==a.image.bgImage)}canInitParallax(){return!this.options.disableParallax()}init(){const a=this,b={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"};let d={pointerEvents:"none",transformStyle:"preserve-3d",backfaceVisibility:"hidden"};if(!a.options.keepImg){const b=a.$item.getAttribute("style");if(b&&a.$item.setAttribute("data-jarallax-original-styles",b),a.image.useImgTag){const b=a.image.$item.getAttribute("style");b&&a.image.$item.setAttribute("data-jarallax-original-styles",b)}}if("static"===a.css(a.$item,"position")&&a.css(a.$item,{position:"relative"}),"auto"===a.css(a.$item,"z-index")&&a.css(a.$item,{zIndex:0}),a.image.$container=document.createElement("div"),a.css(a.image.$container,b),a.css(a.image.$container,{"z-index":a.options.zIndex}),"fixed"===this.image.position&&a.css(a.image.$container,{"-webkit-clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)","clip-path":"polygon(0 0, 100% 0, 100% 100%, 0 100%)"}),a.image.$container.setAttribute("id",`jarallax-container-${a.instanceID}`),a.options.containerClass&&a.image.$container.setAttribute("class",a.options.containerClass),a.$item.appendChild(a.image.$container),a.image.useImgTag?d=a.extend({"object-fit":a.options.imgSize,"object-position":a.options.imgPosition,"max-width":"none"},b,d):(a.image.$item=document.createElement("div"),a.image.src&&(d=a.extend({"background-position":a.options.imgPosition,"background-size":a.options.imgSize,"background-repeat":a.options.imgRepeat,"background-image":a.image.bgImage||`url("${a.image.src}")`},b,d))),"opacity"!==a.options.type&&"scale"!==a.options.type&&"scale-opacity"!==a.options.type&&1!==a.options.speed||(a.image.position="absolute"),"fixed"===a.image.position){const b=function(a){const b=[];for(;null!==a.parentElement;)1===(a=a.parentElement).nodeType&&b.push(a);return b}(a.$item).filter(a=>{const b=m.getComputedStyle(a),c=b["-webkit-transform"]||b["-moz-transform"]||b.transform;return c&&"none"!==c||/(auto|scroll)/.test(b.overflow+b["overflow-y"]+b["overflow-x"])});a.image.position=b.length?"absolute":"fixed"}var e;d.position=a.image.position,a.css(a.image.$item,d),a.image.$container.appendChild(a.image.$item),a.onResize(),a.onScroll(!0),a.options.onInit&&a.options.onInit.call(a),"none"!==a.css(a.$item,"background-image")&&a.css(a.$item,{"background-image":"none"}),e=a,v.push({instance:e}),1===v.length&&m.requestAnimationFrame(c),p.observe(e.options.elementInViewport||e.$item)}destroy(){const a=this;var b;b=a,v.forEach((a,c)=>{a.instance.instanceID===b.instanceID&&v.splice(c,1)}),p.unobserve(b.options.elementInViewport||b.$item);const c=a.$item.getAttribute("data-jarallax-original-styles");if(a.$item.removeAttribute("data-jarallax-original-styles"),c?a.$item.setAttribute("style",c):a.$item.removeAttribute("style"),a.image.useImgTag){const b=a.image.$item.getAttribute("data-jarallax-original-styles");a.image.$item.removeAttribute("data-jarallax-original-styles"),b?a.image.$item.setAttribute("style",c):a.image.$item.removeAttribute("style"),a.image.$itemParent&&a.image.$itemParent.appendChild(a.image.$item)}a.image.$container&&a.image.$container.parentNode.removeChild(a.image.$container),a.options.onDestroy&&a.options.onDestroy.call(a),delete a.$item.jarallax}coverImage(){const b=this,{height:c}=k(),d=b.image.$container.getBoundingClientRect(),e=d.height,{speed:f}=b.options,g="scroll"===b.options.type||"scroll-opacity"===b.options.type;let a=0,h=e,i=0;return g&&(0>f?(a=f*Math.max(e,c),cf?h=a/f+Math.abs(a):h+=(c-e)*(1-f),a/=2),b.parallaxScrollDistance=a,i=g?(c-h)/2:(e-h)/2,b.css(b.image.$item,{height:`${h}px`,marginTop:`${i}px`,left:"fixed"===b.image.position?`${d.left}px`:"0",width:`${d.width}px`}),b.options.onCoverImage&&b.options.onCoverImage.call(b),{image:{height:h,marginTop:i},container:d}}isVisible(){return this.isElementInViewport||!1}onScroll(b){const h=this;if(!b&&!h.isVisible())return;const{height:e}=k(),i=h.$item.getBoundingClientRect(),j=i.top,m=i.height,a={},n=Math.max(0,j),l=Math.max(0,m+j),o=Math.max(0,-j),c=Math.max(0,j+m-e),p=Math.max(0,m-(j+m-e)),d=Math.max(0,-j+e-m),g=1-2*((e-j)/(e+m));let q=1;if(mh.options.speed?b-=h.options.speed*q:b+=h.options.speed*(1-q),a.transform=`scale(${b}) translate3d(0,0,0)`}if("scroll"===h.options.type||"scroll-opacity"===h.options.type){let b=h.parallaxScrollDistance*g;"absolute"===h.image.position&&(b-=j),a.transform=`translate3d(0,${b}px,0)`}h.css(h.image.$item,a),h.options.onScroll&&h.options.onScroll.call(h,{section:i,beforeTop:n,beforeTopEnd:l,afterTop:o,beforeBottom:c,beforeBottomEnd:p,afterBottom:d,visiblePercent:q,fromViewportCenter:g})}onResize(){this.coverImage()}}const w=function(b,c,...d){("object"==typeof HTMLElement?b instanceof HTMLElement:b&&"object"==typeof b&&null!==b&&1===b.nodeType&&"string"==typeof b.nodeName)&&(b=[b]);const f=b.length;for(let e,g=0;g{w(document.querySelectorAll("[data-jarallax]"))}),w});; const kbjarforEach=function(a,b,c){for(let d=0;d{jarallax(a,{speed:kadence_blocks_parallax.speed,elementInViewport:a})},kbNodeList=document.querySelectorAll(".kt-jarallax");kbjarforEach(kbNodeList,function(a,b){initializeParallax(b)});let kbjartimeout;window.addEventListener("resize",function(){kbjartimeout||(kbjartimeout=setTimeout(function(){kbjartimeout=null,document.body.style.setProperty("--kb-screen-height-fix",document.documentElement.clientHeight+200+"px")},66))},!1),document.body.style.setProperty("--kb-screen-height-fix",document.documentElement.clientHeight+200+"px"),window.addEventListener("kadence-lazy-loaded",({detail:a})=>{const b=a.element;b.classList.contains("kt-jarallax")&&initializeParallax(b)});; !function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports):"function"==typeof define&&define.amd?define(["exports"],b):b((a=a||self).countUp={})}(this,function(b){"use strict";var c=function(){return(c=Object.assign||function(b){for(var c,d=1,e=arguments.length;df.endVal?f.endVal:f.frameVal,f.frameVal=+f.frameVal.toFixed(f.options.decimalPlaces),f.printValue(f.frameVal),bb?"-":"";if(c=Math.abs(b).toFixed(f.options.decimalPlaces),g=(d=(c+="").split("."))[0],h=1b;const a=b-this.startVal;if(Math.abs(a)>this.options.smartEasingThreshold){this.finalEndVal=b;const c=this.countDown?1:-1;this.endVal=b+c*this.options.smartEasingAmount,this.duration/=2}else this.endVal=b,this.finalEndVal=null;this.useEasing=!this.finalEndVal&&this.options.useEasing},a.prototype.start=function(a){this.error||(this.callback=a,0${a}`,"text/html");return b.body.textContent||""},initScrollSpy(){if(window.kadenceCountUp.countUpItems=document.querySelectorAll(".kb-count-up"),!!window.kadenceCountUp.countUpItems.length)for(let a=0;a{window.kadenceCountUp.startCountUp(a)},e=()=>{window.kadenceCountUp.startCountUp(a)};c.addEventListener("splideMounted",d),c.addEventListener("splide:moved",e),window.kadenceCountUp.sliderEventCache[a]=[{element:c,event:"splideMounted",handler:d},{element:c,event:"splide:moved",handler:e}]},listener(a){return function(){window.kadenceCountUp.startCountUp(a)}},startCountUp(a){const b=window.kadenceCountUp.countUpItems[a];if(window.kadenceCountUp.isInViewport(b)&&window.kadenceCountUp.isInActiveSlide(b)){if(!window.kadenceCountUp.cache[a].error){const b=window.matchMedia("(prefers-reduced-motion: reduce)").matches;b?window.kadenceCountUp.cache[a].printValue(window.kadenceCountUp.cache[a].endVal):window.kadenceCountUp.cache[a].start()}document.removeEventListener("scroll",window.kadenceCountUp.listenerCache[a],!1),window.kadenceCountUp.sliderEventCache[a]&&(window.kadenceCountUp.sliderEventCache[a].forEach(a=>{a.element.removeEventListener(a.event,a.handler)}),delete window.kadenceCountUp.sliderEventCache[a])}},init(){window.kadenceCountUp.initScrollSpy()}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.kadenceCountUp.init):window.kadenceCountUp.init()})();; !function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define([],b):"object"==typeof exports?exports.AOS=b():a.AOS=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="dist/",b(0)}([function(q,e,t){"use strict";function n(a){return a&&a.__esModule?a:{default:a}}var o=Object.assign||function(a){for(var b,c=1;c=q||0>b||H&&c>=x}function c(){var b=j();return a(b)?f(b):void(D=setTimeout(c,r(b)))}function f(a){return D=void 0,I&&m?n(a):(m=s=void 0,z)}function d(){void 0!==D&&clearTimeout(D),F=0,m=E=s=D=void 0}function l(){return void 0===D?z:f(j())}function p(){var b=j(),d=a(b);if(m=arguments,s=this,E=b,d){if(void 0===D)return o(E);if(H)return D=setTimeout(c,q),n(E)}return void 0===D&&(D=setTimeout(c,q)),z}var m,s,x,z,D,E,F=0,G=!1,H=!1,I=!0;if("function"!=typeof i)throw new TypeError(u);return q=B(q)||0,A(e)&&(G=!!e.leading,H="maxWait"in e,x=H?C(B(e.maxWait)||0,q):x,I="trailing"in e?!!e.trailing:I),p.cancel=d,p.flush=l,p}function n(b,c,d){var e=!0,f=!0;if("function"!=typeof b)throw new TypeError(u);return A(d)&&(e="leading"in d?!!d.leading:e,f="trailing"in d?!!d.trailing:f),z(b,c,{leading:e,maxWait:c,trailing:f})}function A(b){var c="undefined"==typeof b?"undefined":a(b);return!!b&&("object"==c||"function"==c)}function i(b){return!!b&&"object"==("undefined"==typeof b?"undefined":a(b))}function o(b){return"symbol"==("undefined"==typeof b?"undefined":a(b))||i(b)&&t.call(b)==f}function B(a){if("number"==typeof a)return a;if(o(a))return c;if(A(a)){var f="function"==typeof a.valueOf?a.valueOf():a;a=A(f)?f+"":f}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(d,"");var g=p.test(a);return g||m.test(a)?b(a.slice(2),g?2:8):l.test(a)?c:+a}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},u="Expected a function",c=NaN,f="[object Symbol]",d=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,b=parseInt,r="object"==("undefined"==typeof e?"undefined":a(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,g=r||s||Function("return this")(),h=Object.prototype,t=h.toString,C=Math.max,v=Math.min,j=function(){return g.Date.now()};q.exports=n}).call(a,function(){return this}())},function(q,a){(function(e){"use strict";function t(a,c,e){function j(b){var c=m,d=s;return m=s=void 0,E=b,x=a.apply(d,c)}function i(a){return E=a,C=setTimeout(r,c),F?j(a):x}function n(a){var b=a-D,d=a-E,e=c-b;return G?k(e,u-d):e}function q(a){var b=a-D,d=a-E;return void 0===D||b>=c||0>b||G&&d>=u}function r(){var a=v();return q(a)?f(a):void(C=setTimeout(r,n(a)))}function f(a){return C=void 0,H&&m?j(a):(m=s=void 0,x)}function d(){void 0!==C&&clearTimeout(C),E=0,m=D=s=C=void 0}function l(){return void 0===C?x:f(v())}function p(){var a=v(),b=q(a);if(m=arguments,s=this,D=a,b){if(void 0===C)return i(D);if(G)return C=setTimeout(r,c),j(D)}return void 0===C&&(C=setTimeout(r,c)),x}var m,s,u,x,C,D,E=0,F=!1,G=!1,H=!0;if("function"!=typeof a)throw new TypeError(A);return c=o(c)||0,z(e)&&(F=!!e.leading,G="maxWait"in e,u=G?B(o(e.maxWait)||0,c):u,H="trailing"in e?!!e.trailing:H),p.cancel=d,p.flush=l,p}function z(b){var c="undefined"==typeof b?"undefined":a(b);return!!b&&("object"==c||"function"==c)}function n(b){return!!b&&"object"==("undefined"==typeof b?"undefined":a(b))}function i(b){return"symbol"==("undefined"==typeof b?"undefined":a(b))||n(b)&&h.call(b)==r}function o(a){if("number"==typeof a)return a;if(i(a))return c;if(z(a)){var b="function"==typeof a.valueOf?a.valueOf():a;a=z(b)?b+"":b}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(f,"");var g=l.test(a);return g||p.test(a)?m(a.slice(2),g?2:8):d.test(a)?c:+a}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},A="Expected a function",c=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,p=/^0o[0-7]+$/i,m=parseInt,b="object"==("undefined"==typeof e?"undefined":a(e))&&e&&e.Object===Object&&e,s="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,u=b||s||Function("return this")(),g=Object.prototype,h=g.toString,B=Math.max,k=Math.min,v=function(){return u.Date.now()};q.exports=t}).call(a,function(){return this}())},function(b,c){"use strict";function d(a){var b,c,e;for(b=0;ba.position?a.node.classList.add("aos-animate"):"undefined"!=typeof d&&("false"===d||!c&&"true"!==d)&&a.node.classList.remove("aos-animate")},d=function(a,b){var d=window.pageYOffset,f=window.innerHeight;a.forEach(function(a,e){c(a,f+d,b)})};b.default=d},function(b,c,d){"use strict";function e(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=d(12),g=e(f),h=function(a,b){return a.forEach(function(a,c){a.node.classList.add("aos-init"),a.position=(0,g.default)(a.node,b.offset)}),a};c.default=h},function(b,c,d){"use strict";function e(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=d(13),g=e(f),h=function(b,c){var d=0,f=0,h=window.innerHeight,i={offset:b.getAttribute("data-aos-offset"),anchor:b.getAttribute("data-aos-anchor"),anchorPlacement:b.getAttribute("data-aos-anchor-placement")};switch(i.offset&&!isNaN(i.offset)&&(f=parseInt(i.offset)),i.anchor&&document.querySelectorAll(i.anchor)&&(b=document.querySelectorAll(i.anchor)[0]),d=(0,g.default)(b).top,i.anchorPlacement){case"top-bottom":break;case"center-bottom":d+=b.offsetHeight/2;break;case"bottom-bottom":d+=b.offsetHeight;break;case"top-center":d+=h/2;break;case"bottom-center":d+=h/2+b.offsetHeight;break;case"center-center":d+=h/2+b.offsetHeight/2;break;case"top-top":d+=h;break;case"bottom-top":d+=b.offsetHeight+h;break;case"center-top":d+=b.offsetHeight/2+h}return i.anchorPlacement||i.offset||isNaN(c)||(f=c),d+f};c.default=h},function(a,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var c=function(a){for(var b=0,c=0;a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)b+=a.offsetLeft-("BODY"==a.tagName?0:a.scrollLeft),c+=a.offsetTop-("BODY"==a.tagName?0:a.scrollTop),a=a.offsetParent;return{top:c,left:b}};b.default=c},function(a,b){"use strict";Object.defineProperty(b,"__esModule",{value:!0});var c=function(a){return a=a||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(a,function(a){return{node:a}})};b.default=c}])}),function(){"use strict";window.kadenceBlocksAOS={initRefresh(){AOS.refresh()},initAOS(){var a=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;AOS.init({offset:parseInt(kadence_aos_params.offset),duration:parseInt(kadence_aos_params.duration),easing:kadence_aos_params.easing,delay:parseInt(kadence_aos_params.delay),once:kadence_aos_params.once,disable:a}),window.addEventListener("load",a=>{window.kadenceBlocksAOS.initRefresh(),setTimeout(window.kadenceBlocksAOS.initRefresh(),500)})},initRefreshMasonryListeners(){var a=document.querySelectorAll(".kb-masonry-init");if(a.length)for(let b=0;b{window.setTimeout(window.kadenceBlocksAOS.initRefresh,100)})},init(){window.kadenceBlocksAOS.initAOS(),window.kadenceBlocksAOS.initRefreshMasonryListeners(),window.kadenceBlocksAOS.initRefreshSplideListeners(),window.kadenceBlocksAOS.initRefreshQueryListeners()}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.kadenceBlocksAOS.init):window.kadenceBlocksAOS.init()}();; function r(n,t){for(var i=0;i=r))return l();u=h(s)}}function l(){f=!0}function d(){u&&cancelAnimationFrame(u),f=!(u=c=0)}return{start:function(n){n||d(),o=e()-(n?c*t:0),f=!1,u=h(s)},rewind:function(){o=e(),c=0,i&&i(c)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return f}}}function s(n){var t=n;return{set:function(n){t=n},is:function(n){return b(y(n),t)}}}var n="Arrow",Bn=n+"Left",Hn=n+"Right",t=n+"Up",n=n+"Down",Jn="ttb",l={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[t,Hn],ArrowRight:[n,Bn]};var Z="role",$="tabindex",i="aria-",Kn=i+"controls",Vn=i+"current",Qn=i+"selected",nn=i+"label",Zn=i+"labelledby",$n=i+"hidden",nt=i+"orientation",tt=i+"roledescription",it=i+"live",rt=i+"busy",ot=i+"atomic",ut=[Z,$,"disabled",Kn,Vn,nn,Zn,$n,nt,tt],i=yn+"__",et=yn,ct=i+"track",ft=i+"list",at=i+"slide",st=at+"--clone",lt=at+"__container",dt=i+"arrows",vt=i+"arrow",ht=vt+"--prev",pt=vt+"--next",gt=i+"pagination",mt=gt+"__page",yt=i+"progress"+"__bar",bt=i+"toggle",wt=i+"sr",tn="is-active",xt="is-prev",kt="is-next",St="is-visible",Et="is-loading",Lt="is-focus-in",Ot="is-overflow",At=[tn,St,xt,kt,Et,Lt,Ot];var _t="touchstart mousedown",zt="touchmove mousemove",Dt="touchend touchcancel mouseup click";var Mt="slide",Pt="loop",It="fade";function Rt(o,r,t,u){var e,n=Q(o),i=n.on,c=n.emit,f=n.bind,a=o.Components,s=o.root,l=o.options,d=l.isNavigation,v=l.updateOnMove,h=l.i18n,p=l.pagination,g=l.slideFocus,m=a.Direction.resolve,y=z(u,"style"),b=z(u,nn),w=-1u.perPage}}},Layout:function(t,n,i){var r,o,u,e=(a=Q(t)).on,c=a.bind,f=a.emit,a=n.Slides,s=n.Direction.resolve,l=(n=n.Elements).root,d=n.track,v=n.list,h=a.getAt,p=a.style;function g(){r=i.direction===Jn,_(l,"maxWidth",W(i.width)),_(d,s("paddingLeft"),y(!1)),_(d,s("paddingRight"),y(!0)),m(!0)}function m(n){var t=N(l);!n&&o.width===t.width&&o.height===t.height||(_(d,"height",function(){var n="";r&&(bn(n=b(),"height or heightRatio is missing."),n="calc("+n+" - "+y(!1)+" - "+y(!0)+")");return n}()),p(s("marginRight"),W(i.gap)),p("width",i.autoWidth?null:W(i.fixedWidth)||(r?"":w())),p("height",W(i.fixedHeight)||(r?i.autoHeight?null:w():b()),!0),o=t,f(Nn),u!==(u=O())&&(A(l,Ot,u),f("overflow",u)))}function y(n){var t=i.padding,n=s(n?"right":"left");return t&&W(t[n]||(un(t)?0:t))||"0px"}function b(){return W(i.height||N(v).width*i.heightRatio)}function w(){var n=W(i.gap);return"calc((100%"+(n&&" + "+n)+")/"+(i.perPage||1)+(n&&" - "+n)+")"}function x(){return N(v)[s("width")]}function k(n,t){n=h(n||0);return n?N(n.slide)[s("width")]+(t?0:L()):0}function S(n,t){var i,n=h(n);return n?(n=N(n.slide)[s("right")],i=N(v)[s("left")],U(n-i)+(t?0:L())):0}function E(n){return S(t.length-1)-S(0)+k(0,n)}function L(){var n=h(0);return n&&parseFloat(_(n.slide,s("marginRight")))||0}function O(){return t.is(It)||E(!0)>x()}return{mount:function(){var n,t,i;g(),c(window,"resize load",(n=R(f,jn),i=qn(t||0,n,null,1),function(){i.isPaused()&&i.start()})),e([K,J],g),e(jn,m)},resize:m,listSize:x,slideSize:k,sliderSize:E,totalSize:S,getPadding:function(n){return parseFloat(_(d,s("padding"+(n?"Right":"Left"))))||0},isOverflow:O}},Clones:function(c,i,f){var t,r=Q(c),n=r.on,a=i.Elements,s=i.Slides,o=i.Direction.resolve,l=[];function u(){if(n(J,d),n([K,jn],v),t=h()){var o=t,u=s.get().slice(),e=u.length;if(e){for(;u.lengthc.Controller.getEnd(),(t<0||i)&&(n=w(n,i)))}return n}(n),_(p,"transform","translate"+v("X")+"("+t+"px)"),n!==t&&f(Un))}function w(n,t){var i=n-L(t),r=d();return n-=h(r*(kn(U(i)/r)||1))*(t?1:-1)}function x(){b(E(),!0),e.cancel()}function k(n){for(var t=c.Slides.get(),i=0,r=1/0,o=0;oh(L(!0));return i||n},reposition:m}},Controller:function(o,u,e){var c,f,a,s,n=Q(o),t=n.on,i=n.emit,l=u.Move,d=l.getPosition,r=l.getLimit,v=l.toPosition,h=(n=u.Slides).isEnough,p=n.getLength,g=e.omitEnd,m=o.is(Pt),y=o.is(Mt),b=R(L,!1),w=R(L,!0),x=e.start||0,k=x;function S(){f=p(!0),a=e.perMove,s=e.perPage,c=_();var n=q(x,0,g?c:f-1);n!==x&&(x=n,l.reposition())}function E(){c!==_()&&i("ei")}function L(n,t){var i=a||(P()?1:s),i=O(x+i*(n?-1:1),x,!(a||P()));return-1===i&&y&&!Sn(d(),r(!n),1)?n?0:c:t?i:A(i)}function O(n,t,i){var r;return h()||P()?((r=function(n){if(y&&"move"===e.trimSpace&&n!==x)for(var t=d();t===v(n,!0)&&En(n,0,o.length-1,!e.rewind);)n])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=O(x+ +(""+i+(+r||1)),x):">"===i?t=r?z(+r):b(!0):"<"===i&&(t=w(!0))):t=m?n:q(n,0,c)}return t}(n)))&&(t||r!==x)&&(M(r),l.move(n,r,k,i))},scroll:function(n,t,i,r){u.Scroll.scroll(n,t,i,function(){var n=A(l.toIndex(d()));M(g?Y(n,c):n),r&&r()})},getNext:b,getPrev:w,getAdjacent:L,getEnd:_,setIndex:M,getIndex:function(n){return n?k:x},toIndex:z,toPage:D,toDest:function(n){return n=l.toIndex(n),y?q(n,0,c):n},hasFocus:P,isBusy:I}},Arrows:function(o,n,t){var i,r,u=Q(o),e=u.on,c=u.bind,f=u.emit,a=t.classes,s=t.i18n,l=n.Elements,d=n.Controller,v=l.arrows,h=l.track,p=v,g=l.prev,m=l.next,y={};function b(){var n=t.arrows;!n||g&&m||(p=v||j("div",a.arrows),g=S(!0),m=S(!1),i=!0,L(p,[g,m]),v||O(p,h)),g&&m&&(an(y,{prev:g,next:m}),ln(p,n?"":"none"),M(p,r=dt+"--"+t.direction),n&&(e([B,Dn,J,V,"ei"],E),c(m,"click",R(k,">")),c(g,"click",R(k,"<")),E(),I([g,m],Kn,h.id),f("arrows:mounted",g,m))),e(K,w)}function w(){x(),b()}function x(){u.destroy(),X(p,r),i?(T(v?[g,m]:p),g=m=null):P([g,m],ut)}function k(n){d.go(n,!0)}function S(n){return hn('