PageSourceSearch

https://atlantisstrength.com/app/themes/Acolyte/dist/assets/app.min.js?ver=1.0.1

js atlantisstrength.com collected 2026-10-04 02:16:07 UTC 94,226 bytes, 84 lines download raw bytes

1(()=>{var l;function i(s,o,r){return new Promise(function(i,e){if(null===o||!(o instanceof HTMLElement))return e(new Error("Parent not found."));var t=(t=JSON.stringify(r),void 0!==(t=l[t])?t:null);if(null!==t)return i(t);var n=document.createElement(s);n.onload=function(){var t,e;i(n),t=n,e=JSON.stringify(r),l[e]=t},n.onerror=function(t){e(new URIError("The asset "+t.target.src+" didn't load correctly."))},Object.keys(r).forEach(function(t){n[t]=r[t]}),o.appendChild(n)})}var n=(l={},i.js=function(t){return i("script",document.body,{src:t})},i.css=function(t){return i("link",document.head,{type:"text/css",rel:"stylesheet",href:t})},i.img=function(t,e){return i("img",void 0===e?document.body:e,{src:t})},i),t={app:{lang:"fr",lifeCycleReady:!1,theBody:null,theContainer:null,responsive:null,firstLoadDelay:500,transitionDelay:650,transitionPageDuration:250,barba:null},translate_strings:null,modules:{modal:".js-modal",faqfilter:".js-faq-filter",collapse:".js-blockCollapse",inputs:".js-label input, .js-label textarea",googlemap:".js-map",popout:".js-popout",slider:"[data-slider]",counters:".js-counters-parent",unitswitcher:".js-unit-switch, .js-imperial-table",archivefilter:".js-archive-filter",singlefilter:".js-single-filter",equipmentfilter:"#equipement",quote:".get_a_quote",equipmentnavigation:".js-equipment-navigation, .js-equipment-section",lightbox:".js-lightbox",getaquote:"#get-a-quote",paginationinput:".js-pagination-current, .js-pagination-begin, .js-pagination-end"},loaded:{modal:!1,faqfilter:!1,collapse:!1,inputs:!1,googlemap:!1,popout:!1,slider:!1,counters:!1,unitswitcher:!1,archivefilter:!1,singlefilter:!1,equipmentfilter:!1,equipmentnavigation:!1,lightbox:!1,quote:!1,getaquote:!1,paginationinput:!1,recaptcha:!1},components:{modal:{obj:null,render:null},inputs:{render:null},slider:{obj:null,render:null},recaptcha:{version:window.recaptcha.version,key:window.recaptcha.key}},data:{archive_filter_select:null,archive_filter_index:null,single_filter_value:null},ticking:!1,scrollbar:null,navigation:null,spacer:null,language:null,lazyload:null,GSEkey:"AIzaSyCjqDO8UwZfP9KGBPOkhluNRPvcJpOqy28",GSEcx:{fr:"e870d8de85387be8c",en:"020a45784a2ccba5a"},GSE:{}},s=()=>{window.Store.app.theBody=document.getElementsByTagName("body")[0],window.Store.app.theContainer=document.querySelector(".js-siteContainer")};function o(){const t=window.location.hostname;return!!(t.indexOf(".test")||t.indexOf("localhost")||t.indexOf("acostaging"))}function r(){var t,e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"},i=document.body.style;for(t in e)if(null!=i[t])return e[t]}function a(){window.Store.scrollbar.element.update()}function c(){this.classList.add("is-loaded"),window.Store.scrollbar.element.update()}function h(){console.warn("Image error: "+this.src),this.classList.add("has-error"),window.Store.scrollbar.element.update()}async function d(t=!1){if(window.Store.loaded.recaptcha)return!0;if(!window.Store.components.recaptcha.version)return!1;if(window.Store.scrollbar.y<=0&&!0!==t)return!1;let e="https://www.google.com/recaptcha/api.js";3==window.Store.components.recaptcha.version&&(e=e+"?render="+window.Store.components.recaptcha.key);try{return window.Store.loaded.recaptcha=!0,console.log("Recaptcha version "+window.Store.components.recaptcha.version+" loading..."),await n.js(e),console.log("Recaptcha version "+window.Store.components.recaptcha.version+" loaded succesfully!"),!0}catch(t){return console.error(t),window.Store.loaded.recaptcha=!1}}var e=class{constructor(t){this.element=t.element,this.autoUpdate=t.autoUpdate,this.breakpoints=t.breakpoints}static create(){var t={element:document.body,autoUpdate:!0,breakpoint:!1};return new e(t)}readBreakpoints(){if(window.getComputedStyle&&""!==window.getComputedStyle(this.element,"::after").content){var t=window.getComputedStyle(this.element,"::after").content;try{this.breakpoints=JSON.parse(e.removeQuotes(t))}catch(t){this.breakpoints=!1}}else this.breakpoints=!1;return this.breakpoints}getBreakpointValue(t,e){return this.autoUpdate&&this.readBreakpoints(),!(!this.breakpoints||!this.breakpoints.hasOwnProperty(t))&&(e?parseFloat(this.breakpoints[t].value):this.breakpoints[t].value)}getActiveBreakpoint(){this.autoUpdate&&this.readBreakpoints();let t={name:!1,value:0};for(var e in this.breakpoints){var i;this.breakpoints.hasOwnProperty(e)&&(i=parseFloat(this.breakpoints[e].value),this.breakpoints[e].active&&i>t.value&&(t={name:e,value:i}))}return t}isBreakpointNotActive(t){return!this.isBreakpointActive(t)}isBreakpointActive(t){return this.autoUpdate&&this.readBreakpoints(),this.breakpoints.hasOwnProperty(t)&&this.breakpoints[t].active}setUpdateMode(t){"manual"==t&&(this.autoUpdate=!1,this.readBreakpoints())}setElement(t){this.element=t}static removeQuotes(t){return t="string"==typeof t||t instanceof String?t.replace(/[']/g,'"').replace(/\\|^[\s\S]{0,1}|[\s\S]$/g,""):t}},u=class{constructor(t){this.x=t.x,this.y=t.y,this.directionX=0,this.directionY=0,this.screenWidth=t.screenWidth,this.screenHeight=t.screenHeight,this.element=t.element}static create(t){t={x:0,y:0,directionX:0,directionY:0,screenWidth:window.innerWidth,screenHeight:window.innerHeight,element:t};const e=new u(t);return e.initScrollListener(),e}initScrollListener(){this.element.on("scroll",t=>
1{d(),this.updateValues(t),window.Store.app.lifeCycleReady&&(window.Store.navigation.watch(this.y),0==this.y&&window.Store?.spacer?.updateSpacerHeight(),window.Store?.components?.counters?.obj?.watch(t),window.Store?.components?.equipmentnavigation?.obj?.watch(),window.Store?.components?.equipmentnavigation?.obj?.updateLinkActive(),window.Store?.components?.iframes?.obj?.watch())})}updateValues(t=null){t&&(this.y=t.scroll.y,"down"==t.direction&&0<=this.y?(this.directionY=1,window.Store.app.theBody.setAttribute("data-direction",t.direction)):"up"==t.direction&&(this.directionY=-1,window.Store.app.theBody.setAttribute("data-direction",t.direction))),this.screenWidth=window.innerWidth,this.screenHeight=window.innerHeight}scrollTo(t,e={}){this.element.scrollTo(t,e)}scrollToTop(){this.scrollTo("top",{duration:0})}scrollToTarget(){var e=window.Store.app.theContainer.querySelectorAll('a[href^="#"]');if(0<e.length)for(let t=0;t<e.length;t++){const n=e[t];var i=n.href;const s=new URL(i).hash;console.log(s),s&&setTimeout(()=>{const e=window.Store.app.theContainer.querySelector(s);e&&(console.log("Target found for:",s),n.addEventListener("click",t=>{t.preventDefault(),this.scrollTo(e,{callback:function(){window.Store.components.equipmentnavigation.obj&&window.Store.components.equipmentnavigation.obj.linkListener(n)}})}))},250)}}scrollToHashLocation(){const e=window.location.hash;var t;!e||(t=window.Store.app.theContainer.querySelector(e))&&(this.scrollTo(t),window.Store.components.collapse&&window.Store.components.collapse?.obj.elements.forEach(t=>{e.replace("#","")==t.block.id&&window.Store.components.collapse.obj.update(t)}))}updateAfterTransitionEnd(e){e.addEventListener(r(),function t(){window.Store.scrollbar.element.update(),e.removeEventListener(r(),t,!0)},!0)}get world(){return{x:this.x,y:this.y,w:this.screenWidth,h:this.screenHeight}}get direction(){return{x:this.directionX,y:this.directionY}}};function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e,i){return e&&g(t.prototype,e),i&&g(t,i),t}function f(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function m(n){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?f(Object(s),!0).forEach(function(t){var e,i;e=n,t=s[i=t],i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):f(Object(s)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(s,t))})}return n}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function S(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(i){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=y(i);return t=n?(t=y(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!=typeof t&&"function"!=typeof t?S(e):t}}function x(t,e,i){return(x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){t=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=y(t)););return t}(t,e);if(t){e=Object.getOwnPropertyDescriptor(t,e);return e.get?e.get.call(i):e.value}})(t,e,i||t)}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,s=!1,o=void 0;try{for(var r,l=t[Symbol.iterator]();!(n=(r=l.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){s=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(s)throw o}}return i}}(t,e)||T(t,e)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t){return function(t){if(Array.isArray(t))return L(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||T(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){if(t){if("string"==typeof t)return L(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(i="Object"===i&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}window.addEventListener("resize",t=>{window.Store.app.lifeCycleReady&&(1199<window.Store.scrollbar.world.w&&window.Store.navigation.states.hamburger&&window.Store.navigation.navigationToggle("close"),window.Store.scrollbar.updateValues(),setTimeout(()=>{window.Store.scrollbar.element.update()},450),window.Store.navigation.globalUpdateNavAndElements(),window.Store?.spacer?.updateSpacerHeight(),window.Store.components?.modal?.obj?.globalUpdateModalElements(),window.Store.components?.collapse?.obj?.updateOnResize())},!0);var A={el:document,name:"scroll",offset:[0,0],repeat:!1,smooth:!1,initPosition:{x:0,y:0},direction:"vertical",gestureDirection:"vertical",reloadOnContextChange:!1,lerp:.1,class:"is-inview",scrollbarContainer:!1,scrollbarClass:"c-scrollbar",scrollingClass:"has-scroll-scrolling",draggingClass:"has-scroll-dragging",smoothClass:"has-scroll-smooth",initClass:"has-scroll-init",getSpeed:!1,getDirection:!1,scrollFromAnywhere:!1,multiplier:1,firefoxMultiplier:50,touchMultiplier:2,resetNativeScroll:!0,tablet:{smooth:!1,direction:"vertical",gestureDirection:"vertical",breakpoint:1024},smartphone:{smooth:!1,direction:"vertical",gestureDirection:"vertical"}},H=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};p(this,e),Object.assign(this,A,t),this.smartphone=A.smartphone,t.smartphone&&Object.assign(this.smartphone,t.smartphone),this.tablet=A.tablet,t.tablet&&Object.assign(this.tablet,t.tablet),this.namespace="locomotive",this.html=document.documentElement,this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.els={},this.currentElements={},this.listeners={},this.hasScrollTicking=!1,this.hasCallEventSet=!1,this.checkScroll=this.checkScroll.bind(this),this.checkResize=this.checkResize.bind(this),this.checkEvent=this.checkEvent.bind(this),this.instance={scroll:{x:0,y:0},limit:{x:this.html.offsetWidth,y:this.html.offsetHeight},currentElements:this.currentElements},this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",this.isMobile&&(this.direction=this[this.context].direction),"horizontal"===this.direction?this.directionAxis="x":this.directionAxis="y",this.getDirection&&(this.instance.direction=null),this.getDirection&&(this.instance.speed=0),this.html.classList.add(this.initClass),window.addEventListener("resize",this.checkResize,!1)}return w(e,[{key:"init",value:function(){this.initEvents()}},{key:"checkScroll",value:function(){this.dispatchScroll()}},{key:"checkResize",value:function(){var t=this;this.resizeTick||(this.resizeTick=!0,requestAnimationFrame(function(){t.resize(),t.resizeTick=!1}))}},{key:"resize",value:function(){}},{key:"checkContext",value:function(){var t;this.reloadOnContextChange&&(this.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints||this.windowWidth<this.tablet.breakpoint,this.isTablet=this.isMobile&&this.windowWidth>=this.tablet.breakpoint,t=this.context,this.isMobile?this.isTablet?this.context="tablet":this.context="smartphone":this.context="desktop",t!=this.context&&("desktop"==t?this:this[t]).smooth!=("desktop"==this.context?this:this[this.context]).smooth&&window.location.reload())}},{key:"initEvents",value:function(){var e=this;this.scrollToEls=this.el.querySelectorAll("[data-".concat(this.name,"-to]")),this.setScrollTo=this.setScrollTo.bind(this),this.scrollToEls.forEac
1h(function(t){t.addEventListener("click",e.setScrollTo,!1)})}},{key:"setScrollTo",value:function(t){t.preventDefault(),this.scrollTo(t.currentTarget.getAttribute("data-".concat(this.name,"-href"))||t.currentTarget.getAttribute("href"),{offset:t.currentTarget.getAttribute("data-".concat(this.name,"-offset"))})}},{key:"addElements",value:function(){}},{key:"detectElements",value:function(n){var s=this,o=this.instance.scroll.y,r=o+this.windowHeight,l=this.instance.scroll.x,a=l+this.windowWidth;Object.entries(this.els).forEach(function(t){var e,i=k(t,2),t=i[0],i=i[1];!i||i.inView&&!n||("horizontal"===s.direction?a>=i.left&&l<i.right&&s.setInView(i,t):r>=i.top&&o<i.bottom&&s.setInView(i,t)),i&&i.inView&&("horizontal"===s.direction?(e=i.right-i.left,i.progress=(s.instance.scroll.x-(i.left-s.windowWidth))/(e+s.windowWidth),(a<i.left||l>i.right)&&s.setOutOfView(i,t)):(e=i.bottom-i.top,i.progress=(s.instance.scroll.y-(i.top-s.windowHeight))/(e+s.windowHeight),(r<i.top||o>i.bottom)&&s.setOutOfView(i,t)))}),this.hasScrollTicking=!1}},{key:"setInView",value:function(t,e){this.els[e].inView=!0,t.el.classList.add(t.class),(this.currentElements[e]=t).call&&this.hasCallEventSet&&(this.dispatchCall(t,"enter"),t.repeat||(this.els[e].call=!1))}},{key:"setOutOfView",value:function(t,e){var i=this;this.els[e].inView=!1,Object.keys(this.currentElements).forEach(function(t){t===e&&delete i.currentElements[t]}),t.call&&this.hasCallEventSet&&this.dispatchCall(t,"exit"),t.repeat&&t.el.classList.remove(t.class)}},{key:"dispatchCall",value:function(t,e){this.callWay=e,this.callValue=t.call.split(",").map(function(t){return t.trim()}),this.callObj=t,1==this.callValue.length&&(this.callValue=this.callValue[0]);t=new Event(this.namespace+"call");this.el.dispatchEvent(t)}},{key:"dispatchScroll",value:function(){var t=new Event(this.namespace+"scroll");this.el.dispatchEvent(t)}},{key:"setEvents",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]);var i=this.listeners[t];i.push(e),1===i.length&&this.el.addEventListener(this.namespace+t,this.checkEvent,!1),"call"===t&&(this.hasCallEventSet=!0,this.detectElements(!0))}},{key:"unsetEvents",value:function(t,e){var i;this.listeners[t]&&((e=(i=this.listeners[t]).indexOf(e))<0||(i.splice(e,1),0===i.index&&this.el.removeEventListener(this.namespace+t,this.checkEvent,!1)))}},{key:"checkEvent",value:function(t){var e=this,i=t.type.replace(this.namespace,""),t=this.listeners[i];t&&0!==t.length&&t.forEach(function(t){switch(i){case"scroll":return t(e.instance);case"call":return t(e.callValue,e.callWay,e.callObj);default:return t()}})}},{key:"startScroll",value:function(){}},{key:"stopScroll",value:function(){}},{key:"setScroll",value:function(t,e){this.instance.scroll={x:0,y:0}}},{key:"destroy",value:function(){var e=this;window.removeEventListener("resize",this.checkResize,!1),Object.keys(this.listeners).forEach(function(t){e.el.removeEventListener(e.namespace+t,e.checkEvent,!1)}),this.listeners={},this.scrollToEls.forEach(function(t){t.removeEventListener("click",e.setScrollTo,!1)}),this.html.classList.remove(this.initClass)}}]),e}(),j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function C(t,e){return t(e={exports:{}},e.exports),e.exports}var B=C(function(t,e){function i(){var t,n,l,a,i,e,c=window,h=document;function d(t,e){this.scrollLeft=t,this.scrollTop=e}function s(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function o(t,e){return"Y"===e?t.clientHeight+i<t.scrollHeight:"X"===e?t.clientWidth+i<t.scrollWidth:void 0}function r(t,e){e=c.getComputedStyle(t,null)["overflow"+e];return"auto"===e||"scroll"===e}function u(t){for(;t!==h.body&&!1===(i=void 0,i=o(e=t,"Y")&&r(e,"Y"),e=o(e,"X")&&r(e,"X"),i||e);)t=t.parentNode||t.host;var e,i;return t}function p(t){var e,i=(a()-t.startTime)/n;e=i=1<i?1:i,i=.5*(1-Math.cos(Math.PI*e)),e=t.startX+(t.x-t.startX)*i,i=t.startY+(t.y-t.startY)*i,t.method.call(t.scrollable,e,i),e===t.x&&i===t.y||c.requestAnimationFrame(p.bind(c,t))}function g(t,e,i){var n,s,o,r=a(),t=t===h.body?(s=(n=c).scrollX||c.pageXOffset,o=c.scrollY||c.pageYOffset,l.scroll):(s=(n=t).scrollLeft,o=t.scrollTop,d);p({scrollable:n,method:t,startTime:r,startX:s,startY:o,x:e,y:i})}"scrollBehavior"in h.documentElement.style&&!0!==c.__forceSmoothScrollPolyfill__||(t=c.HTMLElement||c.Element,n=468,l={scroll:c.scroll||c.scrollTo,scrollBy:c.scrollBy,elementScroll:t.prototype.scroll||d,scrollIntoView:t.prototype.scrollIntoView},a=c.performance&&c.performance.now?c.performance.now.bind(c.performance):Date.now,e=c.navigator.userAgent,i=new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(e)?1:0,c.scroll=c.scrollTo=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?g.call(c,h.body,void 0!==arguments[0].left?~~arguments[0].left:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:c.scrollY||c.pageYOffset):l.scroll.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:c.scrollY||c.pageYOffset))},c.scrollBy=function(){void 0!==arguments[0]&&(s(arguments[0])?l.scrollBy.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(c,h.body,~~arguments[0].left+(c.scrollX||c.pageXOffset),~~arguments[0].top+(c.scrollY||c.pageYOffset)))},t.prototype.scroll=t.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==s(arguments[0])){var t=arguments[0].left,e=arguments[0].top;g.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},t.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==s(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},t.prototype.scrollIntoView=function(){var t,e,i;!0!==s(arguments[0])?(e=(t=u(this)).getBoundingClientRect(),i=this.getBoundingClientRect(),t!==h.body?(g.call(this,t,t.scrollLeft+i.left-e.left,t.scrollTop+i.top-e.top),"fixed"!==c.getComputedStyle(t).position&&c.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):c.scrollBy({left:i.left,top:i.top,behavior:"smooth"})):l.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])})}t.exports={polyfill:i}}),q=(B.polyfill,function(){v(i,H);var e=_(i);function i(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return p(this,i),(t=e.call(this,t)).resetNativeScroll&&(history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0)),window.addEventListener("scroll",t.checkScroll,!1),void 0===window.smoothscrollPolyfill&&(window.smoothscrollPolyfill=B,window.smoothscrollPolyfill.polyfill()),t}return w(i,[{key:"init",value:function(){this.instance.scroll.y=window.pageYOffset,this.addElements(),this.detectElements(),x(y(i.prototype),"init",this).call(this)}},{key:"checkScroll",value:function(){var t=this;x(y(i.prototype),"checkScroll",this).call(this),this.getDirection&&this.addDirection(),this.get
1Speed&&(this.addSpeed(),this.speedTs=Date.now()),this.instance.scroll.y=window.pageYOffset,Object.entries(this.els).length&&(this.hasScrollTicking||(requestAnimationFrame(function(){t.detectElements()}),this.hasScrollTicking=!0))}},{key:"addDirection",value:function(){window.pageYOffset>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):window.pageYOffset<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up")}},{key:"addSpeed",value:function(){window.pageYOffset!=this.instance.scroll.y?this.instance.speed=(window.pageYOffset-this.instance.scroll.y)/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"resize",value:function(){Object.entries(this.els).length&&(this.windowHeight=window.innerHeight,this.updateElements())}},{key:"addElements",value:function(){var u=this;this.els={},this.el.querySelectorAll("[data-"+this.name+"]").forEach(function(t,e){t.getBoundingClientRect();var i=t.dataset[u.name+"Class"]||u.class,n="string"==typeof t.dataset[u.name+"Id"]?t.dataset[u.name+"Id"]:e,s="string"==typeof t.dataset[u.name+"Offset"]?t.dataset[u.name+"Offset"].split(","):u.offset,o=t.dataset[u.name+"Repeat"],r=t.dataset[u.name+"Call"],l=t.dataset[u.name+"Target"],a=void 0!==l?document.querySelector("".concat(l)):t,c=a.getBoundingClientRect(),h=c.top+u.instance.scroll.y,d=c.left+u.instance.scroll.x,e=h+a.offsetHeight,l=d+a.offsetWidth,o="false"!=o&&(null!=o||u.repeat),c=u.getRelativeOffset(s);h+=c[0],e-=c[1],u.els[n]={el:t,targetEl:a,id:n,class:i,top:h,bottom:e,left:d,right:l,offset:s,progress:0,repeat:o,inView:!1,call:r},t.classList.contains(i)&&u.setInView(u.els[n],n)})}},{key:"updateElements",value:function(){var s=this;Object.entries(this.els).forEach(function(t){var e=k(t,2),i=e[0],n=e[1],t=n.targetEl.getBoundingClientRect().top+s.instance.scroll.y,e=t+n.targetEl.offsetHeight,n=s.getRelativeOffset(n.offset);s.els[i].top=t+n[0],s.els[i].bottom=e-n[1]}),this.hasScrollTicking=!1}},{key:"getRelativeOffset",value:function(t){var e=[0,0];if(t)for(var i=0;i<t.length;i++)"string"==typeof t[i]?t[i].includes("%")?e[i]=parseInt(t[i].replace("%","")*this.windowHeight/100):e[i]=parseInt(t[i]):e[i]=t[i];return e}},{key:"scrollTo",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=parseInt(e.offset)||0,n=e.callback||!1;if("string"==typeof t){if("top"===t)t=this.html;else if("bottom"===t)t=this.html.offsetHeight-window.innerHeight;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");var i="number"!=typeof t?t.getBoundingClientRect().top+i+this.instance.scroll.y:t+i,s=function(){return parseInt(window.pageYOffset)===parseInt(i)};if(n){if(s())return void n();window.addEventListener("scroll",function t(){s()&&(window.removeEventListener("scroll",t),n())})}window.scrollTo({top:i,behavior:0===e.duration?"auto":"smooth"})}},{key:"update",value:function(){this.addElements(),this.detectElements()}},{key:"destroy",value:function(){x(y(i.prototype),"destroy",this).call(this),window.removeEventListener("scroll",this.checkScroll,!1)}}]),i}()),O=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var D=function(){try{if(!Object.assign)return;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},n)).join("")?void 0:1}catch(t){return}}()?Object.assign:function(t,e){for(var i,n=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var o in i=Object(arguments[s]))M.call(i,o)&&(n[o]=i[o]);if(O)for(var r=O(i),l=0;l<r.length;l++)R.call(i,r[l])&&(n[r[l]]=i[r[l]])}return n};function P(){}
1P.prototype={on:function(t,e,i){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:i}),this},once:function(t,e,i){var n=this;function s(){n.off(t,s),e.apply(i,arguments)}return s._=e,this.on(t,s,i)},emit:function(t){for(var e=[].slice.call(arguments,1),i=((this.e||(this.e={}))[t]||[]).slice(),n=0,s=i.length;n<s;n++)i[n].fn.apply(i[n].ctx,e);return this},off:function(t,e){var i=this.e||(this.e={}),n=i[t],s=[];if(n&&e)for(var o=0,r=n.length;o<r;o++)n[o].fn!==e&&n[o].fn._!==e&&s.push(n[o]);return s.length?i[t]=s:delete i[t],this}};function Y(t){if(!t)return console.warn("bindAll requires at least one argument.");var e=Array.prototype.slice.call(arguments,1);if(0===e.length)for(var i in t)F.call(t,i)&&"function"==typeof t[i]&&"[object Function]"==X.call(t[i])&&e.push(i);for(var n=0;n<e.length;n++){var s=e[n];t[s]=function(t,e){return function(){return t.apply(e,arguments)}}(t[s],t)}}var W=P,I=C(function(t,e){!function(){function t(t,e,i,n){this.stability=null!=t?Math.abs(t):8,this.sensitivity=null!=e?1+Math.abs(e):100,this.tolerance=null!=i?1+Math.abs(i):1.1,this.delay=null!=n?n:150,this.lastUpDeltas=function(){for(var t=[],e=1,i=2*this.stability;1<=i?e<=i:i<=e;1<=i?e++:e--)t.push(null);return t}.call(this),this.lastDownDeltas=function(){for(var t=[],e=1,i=2*this.stability;1<=i?e<=i:i<=e;1<=i?e++:e--)t.push(null);return t}.call(this),this.deltasTimestamp=function(){for(var t=[],e=1,i=2*this.stability;1<=i?e<=i:i<=e;1<=i?e++:e--)t.push(null);return t}.call(this)}(null!==e?e:this).Lethargy=(t.prototype.check=function(t){var e;return null!=(t=t.originalEvent||t).wheelDelta?e=t.wheelDelta:null!=t.deltaY?e=-40*t.deltaY:null==t.detail&&0!==t.detail||(e=-40*t.detail),this.deltasTimestamp.push(Date.now()),this.deltasTimestamp.shift(),0<e?(this.lastUpDeltas.push(e),this.lastUpDeltas.shift(),this.isInertia(1)):(this.lastDownDeltas.push(e),this.lastDownDeltas.shift(),this.isInertia(-1))},t.prototype.isInertia=function(t){var e,i,n,s=-1===t?this.lastDownDeltas:this.lastUpDeltas;return null===s[0]?t:!(this.deltasTimestamp[2*this.stability-2]+this.delay>Date.now()&&s[0]===s[2*this.stability-1])&&(i=s.slice(0,this.stability),e=s.slice(this.stability,2*this.stability),n=i.reduce(function(t,e){return t+e}),s=e.reduce(function(t,e){return t+e}),i=n/i.length,e=s/e.length,Math.abs(i)<Math.abs(e*this.tolerance)&&this.sensitivity<Math.abs(e)&&t)},t.prototype.showLastUpDeltas=function(){return this.lastUpDeltas},t.prototype.showLastDownDeltas=function(){return this.lastDownDeltas},t)}.call(j)}),z={hasWheelEvent:"onwheel"in document,hasMouseWheelEvent:"onmousewheel"in document,hasTouch:"ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,hasTouchWin:navigator.msMaxTouchPoints&&1<navigator.msMaxTouchPoints,hasPointer:!!window.navigator.msPointerEnabled,hasKeyDown:"onkeydown"in document,isFirefox:-1<navigator.userAgent.indexOf("Firefox")},X=Object.prototype.toString,F=Object.prototype.hasOwnProperty;var V=I.Lethargy,N="virtualscroll",G=Z,U=37,$=38,K=39,J=40,Q=32;function Z(t){Y(this,"_onWheel","_onMouseWheel","_onTouchStart","_onTouchMove","_onKeyDown"),this.el=window,t&&t.el&&(this.el=t.el,delete t.el),this.options=D({mouseMultiplier:1,touchMultiplier:2,firefoxMultiplier:15,keyStep:120,preventTouch:!1,unpreventTouchClass:"vs-touchmove-allowed",limitInertia:!1,useKeyboard:!0,useTouch:!0},t),this.options.limitInertia&&(this._lethargy=new V),this._emitter=new W,this._event={y:0,x:0,deltaX:0,deltaY:0},this.touchStartX=null,this.touchStartY=null,this.bodyTouchAction=null,void 0!==this.options.passive&&(this.listenerOptions={passive:this.options.passive})}function tt(t,e,i){return(1-i)*t+i*e}function et(t){var e={};if(window.getComputedStyle){var i=getComputedStyle(t),t=i.transform||i.webkitTransform||i.mozTransform,i=t.match(/^matrix3d\((.+)\)$/);return i?(e.x=i?parseFloat(i[1].split(", ")[12]):0,e.y=i?parseFloat(i[1].split(", ")[13]):0):(i=t.match(/^matrix\((.+)\)$/),e.x=i?parseFloat(i[1].split(", ")[4]):0,e.y=i?parseFloat(i[1].split(", ")[5]):0),e}}function it(t){for(var e=[];t&&t!==document;t=t.parentNode)e.push(t);return e}Z.prototype._notify=function(t){var e=this._event;e.x+=e.deltaX,e.y+=e.deltaY,this._emitter.emit(N,{x:e.x,y:e.y,deltaX:e.deltaX,deltaY:e.deltaY,originalEvent:t})},Z.prototype._onWheel=function(t){var e,i=this.options;
1this._lethargy&&!1===this._lethargy.check(t)||((e=this._event).deltaX=t.wheelDeltaX||-1*t.deltaX,e.deltaY=t.wheelDeltaY||-1*t.deltaY,z.isFirefox&&1==t.deltaMode&&(e.deltaX*=i.firefoxMultiplier,e.deltaY*=i.firefoxMultiplier),e.deltaX*=i.mouseMultiplier,e.deltaY*=i.mouseMultiplier,this._notify(t))},Z.prototype._onMouseWheel=function(t){var e;this.options.limitInertia&&!1===this._lethargy.check(t)||((e=this._event).deltaX=t.wheelDeltaX||0,e.deltaY=t.wheelDeltaY||t.wheelDelta,this._notify(t))},Z.prototype._onTouchStart=function(t){t=t.targetTouches?t.targetTouches[0]:t;this.touchStartX=t.pageX,this.touchStartY=t.pageY},Z.prototype._onTouchMove=function(t){var e=this.options;e.preventTouch&&!t.target.classList.contains(e.unpreventTouchClass)&&t.preventDefault();var i=this._event,n=t.targetTouches?t.targetTouches[0]:t;i.deltaX=(n.pageX-this.touchStartX)*e.touchMultiplier,i.deltaY=(n.pageY-this.touchStartY)*e.touchMultiplier,this.touchStartX=n.pageX,this.touchStartY=n.pageY,this._notify(t)},Z.prototype._onKeyDown=function(t){var e=this._event;e.deltaX=e.deltaY=0;var i=window.innerHeight-40;switch(t.keyCode){case U:case $:e.deltaY=this.options.keyStep;break;case K:case J:e.deltaY=-this.options.keyStep;break;case t.shiftKey:e.deltaY=i;break;case Q:e.deltaY=-i;break;default:return}this._notify(t)},Z.prototype._bind=function(){z.hasWheelEvent&&this.el.addEventListener("wheel",this._onWheel,this.listenerOptions),z.hasMouseWheelEvent&&this.el.addEventListener("mousewheel",this._onMouseWheel,this.listenerOptions),z.hasTouch&&this.options.useTouch&&(this.el.addEventListener("touchstart",this._onTouchStart,this.listenerOptions),this.el.addEventListener("touchmove",this._onTouchMove,this.listenerOptions)),z.hasPointer&&z.hasTouchWin&&(this.bodyTouchAction=document.body.style.msTouchAction,document.body.style.msTouchAction="none",this.el.addEventListener("MSPointerDown",this._onTouchStart,!0),this.el.addEventListener("MSPointerMove",this._onTouchMove,!0)),z.hasKeyDown&&this.options.useKeyboard&&document.addEventListener("keydown",this._onKeyDown)},Z.prototype._unbind=function(){z.hasWheelEvent&&this.el.removeEventListener("wheel",this._onWheel),z.hasMouseWheelEvent&&this.el.removeEventListener("mousewheel",this._onMouseWheel),z.hasTouch&&(this.el.removeEventListener("touchstart",this._onTouchStart),this.el.removeEventListener("touchmove",this._onTouchMove)),z.hasPointer&&z.hasTouchWin&&(
1document.body.style.msTouchAction=this.bodyTouchAction,this.el.removeEventListener("MSPointerDown",this._onTouchStart,!0),this.el.removeEventListener("MSPointerMove",this._onTouchMove,!0)),z.hasKeyDown&&this.options.useKeyboard&&document.removeEventListener("keydown",this._onKeyDown)},Z.prototype.on=function(t,e){this._emitter.on(N,t,e);e=this._emitter.e;e&&e[N]&&1===e[N].length&&this._bind()},Z.prototype.off=function(t,e){this._emitter.off(N,t,e);e=this._emitter.e;(!e[N]||e[N].length<=0)&&this._unbind()},Z.prototype.reset=function(){var t=this._event;t.x=0,t.y=0},Z.prototype.destroy=function(){this._emitter.off(),this._unbind()};var nt=4,st=1e-7,ot=10,rt="function"==typeof Float32Array;function lt(t,e){return 1-3*e+3*t}function at(t,e,i){return((lt(e,i)*t+(3*i-6*e))*t+3*e)*t}function ct(t,e,i){return 3*lt(e,i)*t*t+2*(3*i-6*e)*t+3*e}function ht(t){return t}function dt(o,e,r,i){if(!(0<=o&&o<=1&&0<=r&&r<=1))throw new Error("bezier x values must be in [0, 1] range");if(o===e&&r===i)return ht;for(var l=new(rt?Float32Array:Array)(11),t=0;t<11;++t)l[t]=at(.1*t,o,r);function n(t){for(var e=0,i=1;10!==i&&l[i]<=t;++i)e+=.1;var n=e+.1*((t-l[--i])/(l[i+1]-l[i])),s=ct(n,o,r);return.001<=s?function(t,e,i,n){for(var s=0;s<nt;++s){var o=ct(e,i,n);if(0===o)return e;e-=(at(e,i,n)-t)/o}return e}(t,n,o,r):0===s?n:function(t,e,i,n,s){for(var o,r,l=0;0<(o=at(r=e+(i-e)/2,n,s)-t)?i=r:e=r,Math.abs(o)>st&&++l<ot;);return r}(t,e,e+.1,o,r)}return function(t){return 0===t?0:1===t?1:at(n(t),e,i)}}var ut=38,pt=40,gt=32,wt=9,ft=33,mt=34,vt=36,yt=35,bt=function(){v(s,H);var i=_(s);function s(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return p(this,s),history.scrollRestoration&&(history.scrollRestoration="manual"),window.scrollTo(0,0),(t=i.call(this,e)).inertia&&(t.lerp=.1*t.inertia),t.isScrolling=!1,t.isDraggingScrollbar=!1,t.isTicking=!1,t.hasScrollTicking=!1,t.parallaxElements={},t.stop=!1,t.scrollbarContainer=e.scrollbarContainer,t.checkKey=t.checkKey.bind(S(t)),window.addEventListener("keydown",t.checkKey,!1),t}return w(s,[{key:"init",value:function(){var e=this;this.html.classList.add(this.smoothClass),this.html.setAttribute("data-".concat(this.name,"-direction"),this.direction),this.instance=m({delta:{x:this.initPosition.x,y:this.initPosition.y},scroll:{x:this.initPosition.x,y:this.initPosition.y}},this.instance),this.vs=new G({el:this.scrollFromAnywhere?document:this.el,mouseMultiplier:-1<navigator.platform.indexOf("Win")?1:.4,firefoxMultiplier:this.firefoxMultiplier,touchMultiplier:this.touchMultiplier,useKeyboard:!1,passive:!0}),this.vs.on(function(t){e.stop||e.isDraggingScrollbar||requestAnimationFrame(function(){e.updateDelta(t),e.isScrolling||e.startScrolling()})}),this.setScrollLimit(),this.initScrollBar(),this.addSections(),this.addElements(),this.checkScroll(!0),this.transformElements(!0,!0),x(y(s.prototype),"init",this).call(this)}},{key:"setScrollLimit",value:function(){if(this.instance.limit.y=this.el.offsetHeight-this.windowHeight,"horizontal"===this.direction){for(var t=0,e=this.el.children,i=0;i<e.length;i++)t+=e[i].offsetWidth;this.instance.limit.x=t-this.windowWidth}}},{key:"startScrolling",value:function(){this.startScrollTs=Date.now(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}},{key:"stopScrolling",value:function(){cancelAnimationFrame(this.checkScrollRaf),this.startScrollTs=void 0,this.scrollToRaf&&(cancelAnimationFrame(this.scrollToRaf),this.scrollToRaf=null),this.isScrolling=!1,this.instance.scroll.y=Math.round(this.instance.scroll.y),this.html.classList.remove(this.scrollingClass)}},{key:"checkKey",value:function(t){var e=this;if(this.stop)t.keyCode==wt&&requestAnimationFrame(function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0});else{switch(t.keyCode){case wt:requestAnimationFrame(function(){e.html.scrollTop=0,document.body.scrollTop=0,e.html.scrollLeft=0,document.body.scrollLeft=0,e.scrollTo(document.activeElement,{offset:-window.innerHeight/2})});break;case ut:this.instance.delta[this.directionAxis]-=240;break;case pt:this.instance.delta[this.directionAxis]+=240;break;case ft:this.instance.delta[this.directionAxis]-=window.innerHeight;break;case mt:this.instance.delta[this.directionAxis]+=window.innerHeight;break;case vt:this.instance.delta[this.directionAxis]-=this.instance.limit[this.directionAxis];break;case yt:this.instance.delta[this.directionAxis]+=this.instance.limit[this.directionAxis];break;case gt:document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||(t.shiftKey?this.instance.delta[this.directionAxis]-=window.innerHeight:this.instance.delta[this.directionAxis]+=window.innerHeight);break;default:return}this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis]),this.stopScrolling(),this.isScrolling=!0,this.checkScroll(),this.html.classList.add(this.scrollingClass)}}},{key:"checkScroll",value:function(){var t,e,i=this,n=0<arguments.length&&void 0!==arguments[0]&&arguments[0];(n||this.isScrolling||this.isDraggingScrollbar)&&(this.hasScrollTicking||(this.checkScrollRaf=requestAnimationFrame(function(){return i.checkScroll()}),this.hasScrollTicking=!0),this.updateScroll(),e=Math.abs(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis]),t=Date.now()-this.startScrollTs,!this.animatingScroll&&100<t&&(e<.5&&
10!=this.instance.delta[this.directionAxis]||e<.5&&0==this.instance.delta[this.directionAxis])&&this.stopScrolling(),Object.entries(this.sections).forEach(function(t){t=k(t,2),t[0],t=t[1];t.persistent||i.instance.scroll[i.directionAxis]>t.offset[i.directionAxis]&&i.instance.scroll[i.directionAxis]<t.limit[i.directionAxis]?("horizontal"===i.direction?i.transform(t.el,-i.instance.scroll[i.directionAxis],0):i.transform(t.el,0,-i.instance.scroll[i.directionAxis]),t.inView||(t.inView=!0,t.el.style.opacity=1,t.el.style.pointerEvents="all",t.el.setAttribute("data-".concat(i.name,"-section-inview"),""))):((t.inView||n)&&(t.inView=!1,t.el.style.opacity=0,t.el.style.pointerEvents="none",t.el.removeAttribute("data-".concat(i.name,"-section-inview"))),i.transform(t.el,0,0))}),this.getDirection&&this.addDirection(),this.getSpeed&&(this.addSpeed(),this.speedTs=Date.now()),this.detectElements(),this.transformElements(),this.hasScrollbar&&(e=this.instance.scroll[this.directionAxis]/this.instance.limit[this.directionAxis]*this.scrollBarLimit[this.directionAxis],"horizontal"===this.direction?this.transform(this.scrollbarThumb,e,0):this.transform(this.scrollbarThumb,0,e)),x(y(s.prototype),"checkScroll",this).call(this),this.hasScrollTicking=!1)}},{key:"resize",value:function(){this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.checkContext(),this.windowMiddle={x:this.windowWidth/2,y:this.windowHeight/2},this.update()}},{key:"updateDelta",value:function(t){var e=(this[this.context]&&this[this.context].gestureDirection?this[this.context]:this).gestureDirection,t="both"===e?t.deltaX+t.deltaY:"vertical"!==e&&"horizontal"===e?t.deltaX:t.deltaY;this.instance.delta[this.directionAxis]-=t*this.multiplier,this.instance.delta[this.directionAxis]<0&&(this.instance.delta[this.directionAxis]=0),this.instance.delta[this.directionAxis]>this.instance.limit[this.directionAxis]&&(this.instance.delta[this.directionAxis]=this.instance.limit[this.directionAxis])}},{key:"updateScroll",value:function(t){this.isScrolling||this.isDraggingScrollbar?this.instance.scroll[this.directionAxis]=tt(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis],this.lerp):this.instance.scroll[this.directionAxis]>this.instance.limit[this.directionAxis]?this.setScroll(this.instance.scroll[this.directionAxis],this.instance.limit[this.directionAxis]):this.instance.scroll.y<0?this.setScroll(this.instance.scroll[this.directionAxis],0):this.setScroll(this.instance.scroll[this.directionAxis],this.instance.delta[this.directionAxis])}},{key:"addDirection",value:function(){this.instance.delta.y>this.instance.scroll.y?"down"!==this.instance.direction&&(this.instance.direction="down"):this.instance.delta.y<this.instance.scroll.y&&"up"!==this.instance.direction&&(this.instance.direction="up"),this.instance.delta.x>this.instance.scroll.x?"right"!==this.instance.direction&&(this.instance.direction="right"):this.instance.delta.x<this.instance.scroll.x&&"left"!==this.instance.direction&&(this.instance.direction="left")}},{key:"addSpeed",value:function(){this.instance.delta[this.directionAxis]!=this.instance.scroll[this.directionAxis]?this.instance.speed=(this.instance.delta[this.directionAxis]-this.instance.scroll[this.directionAxis])/Math.max(1,Date.now()-this.speedTs):this.instance.speed=0}},{key:"initScrollBar",value:function(){if(this.scrollbar=document.createElement("span"),this.scrollbarThumb=document.createElement("span"),this.scrollbar.classList.add("".concat(this.scrollbarClass)),this.scrollbarThumb.classList.add("".concat(this.scrollbarClass,"_thumb")),this.scrollbar.append(this.scrollbarThumb),(this.scrollbarContainer||document.body).append(this.scrollbar),this.getScrollBar=this.getScrollBar.bind(this),this.releaseScrollBar=this.releaseScrollBar.bind(this),this.moveScrollBar=this.moveScrollBar.bind(this),this.scrollbarThumb.addEventListener("mousedown",this.getScrollBar),window.addEventListener("mouseup",this.releaseScrollBar),window.addEventListener("mousemove",this.moveScrollBar),this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"reinitScrollBar",value:function(){if(this.hasScrollbar=!1,"horizontal"==this.direction){if(this.instance.limit.x+this.windowWidth<=this.windowWidth)return}else if(this.instance.limit.y+this.windowHeight<=this.windowHeight)return;this.hasScrollbar=!0,this.scrollbarBCR=this.scrollbar.getBoundingClientRect(),this.scrollbarHeight=this.scrollbarBCR.height,this.scrollbarWidth=this.scrollbarBCR.width,"horizontal"===this.direction?this.scrollbarThumb.style.width="".concat(this.scrollbarWidth*this.scrollbarWidth/(this.instance.limit.x+this.scrollbarWidth),"px"):this.scrollbarThumb.style.height="".concat(this.scrollbarHeight*this.scrollbarHeight/(this.instance.limit.y+this.scrollbarHeight),"px"),this.scrollbarThumbBCR=this.scrollbarThumb.getBoundingClientRect(),this.scrollBarLimit={x:this.scrollbarWidth-this.scrollbarThumbBCR.width,y:this.scrollbarHeight-this.scrollbarThumbBCR.height}}},{key:"destroyScrollBar",value:function(){this.scrollbarThumb.removeEventListener("mousedown",this.get
1ScrollBar),window.removeEventListener("mouseup",this.releaseScrollBar),window.removeEventListener("mousemove",this.moveScrollBar),this.scrollbar.remove()}},{key:"getScrollBar",value:function(t){this.isDraggingScrollbar=!0,this.checkScroll(),this.html.classList.remove(this.scrollingClass),this.html.classList.add(this.draggingClass)}},{key:"releaseScrollBar",value:function(t){this.isDraggingScrollbar=!1,this.isScrolling&&this.html.classList.add(this.scrollingClass),this.html.classList.remove(this.draggingClass)}},{key:"moveScrollBar",value:function(i){var n=this;this.isDraggingScrollbar&&requestAnimationFrame(function(){var t=100*(i.clientX-n.scrollbarBCR.left)/n.scrollbarWidth*n.instance.limit.x/100,e=100*(i.clientY-n.scrollbarBCR.top)/n.scrollbarHeight*n.instance.limit.y/100;0<e&&e<n.instance.limit.y&&(n.instance.delta.y=e),0<t&&t<n.instance.limit.x&&(n.instance.delta.x=t)})}},{key:"addElements",value:function(){var E=this;this.els={},this.parallaxElements={},this.el.querySelectorAll("[data-".concat(this.name,"]")).forEach(function(t,e){var i,n=it(t),s=Object.entries(E.sections).map(function(t){t=k(t,2);t[0];return t[1]}).find(function(t){return n.includes(t.el)}),o=t.dataset[E.name+"Class"]||E.class,r="string"==typeof t.dataset[E.name+"Id"]?t.dataset[E.name+"Id"]:"el"+e,l=t.dataset[E.name+"Repeat"],a=t.dataset[E.name+"Call"],c=t.dataset[E.name+"Position"],h=t.dataset[E.name+"Delay"],d=t.dataset[E.name+"Direction"],u="string"==typeof t.dataset[E.name+"Sticky"],p=!!t.dataset[E.name+"Speed"]&&parseFloat(t.dataset[E.name+"Speed"])/10,g="string"==typeof t.dataset[E.name+"Offset"]?t.dataset[E.name+"Offset"].split(","):E.offset,w=t.dataset[E.name+"Target"],f=void 0!==w?document.querySelector("".concat(w)):t,m=f.getBoundingClientRect(),v=null===s||s.inView?(i=m.top+E.instance.scroll.y-et(f).y,m.left+E.instance.scroll.x-et(f).x):(i=m.top-et(s.el).y-et(f).y,m.left-et(s.el).x-et(f).x),y=i+f.offsetHeight,b=v+f.offsetWidth,S={x:(b-v)/2+v,y:(y-i)/2+i};u&&(w=(e=t.getBoundingClientRect()).top,e={x:(m=e.left)-v,y:w-i},i+=window.innerHeight,v+=window.innerWidth,y=w+f.offsetHeight-t.offsetHeight-e[E.directionAxis],S={x:((b=m+f.offsetWidth-t.offsetWidth-e[E.directionAxis])-v)/2+v,y:(y-i)/2+i});var l="false"!=l&&(null!=l||E.repeat),_=[0,0];if(g)if("horizontal"===E.direction){for(var x=0;x<g.length;x++)"string"==typeof g[x]?g[x].includes("%")?_[x]=parseInt(g[x].replace("%","")*E.windowWidth/100):_[x]=parseInt(g[x]):_[x]=g[x];v+=_[0],b-=_[1]}else{for(x=0;x<g.length;x++)"string"==typeof g[x]?g[x].includes("%")?_[x]=parseInt(g[x].replace("%","")*E.windowHeight/100):_[x]=parseInt(g[x]):_[x]=g[x];i+=_[0],y-=_[1]}d={el:t,id:r,class:o,section:s,top:i,middle:S,bottom:y,left:v,right:b,offset:g,progress:0,repeat:l,inView:!1,call:a,speed:p,delay:h,position:c,target:f,direction:d,sticky:u};E.els[r]=d,t.classList.contains(o)&&E.setInView(E.els[r],r),!1===p&&!u||(E.parallaxElements[r]=d)})}},{key:"addSections",value:function(){var o=this;this.sections={};var t=this.el.querySelectorAll("[data-".concat(this.name,"-section]"));(t=0===t.length?[this.el]:t).forEach(function(t,e){var i="string"==typeof t.dataset[o.name+"Id"]?t.dataset[o.name+"Id"]:"section"+e,n=t.getBoundingClientRect(),s={x:n.left-1.5*window.innerWidth-et(t).x,y:n.top-1.5*window.innerHeight-et(t).y},e={x:s.x+n.width+2*window.innerWidth,y:s.y+n.height+2*window.innerHeight},n="string"==typeof t.dataset[o.name+"Persistent"];t.setAttribute("data-scroll-section-id",i),o.sections[i]={el:t,offset:s,limit:e,inView:!1,persistent:n,id:i}})}},{key:"transform",value:function(t,e,i,n){var s,o;i=n?(o=tt((s=et(t)).x,e,n),n=tt(s.y,i,n),"matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(o,",").concat(n,",0,1)")):"matrix3d(1,0,0.00,0,0.00,1,0.00,0,0,0,1,0,".concat(e,",").concat(i,",0,1)"),t.style.webkitTransform=i,t.style.msTransform=i,t.style.transform=i}},{key:"transformElements",value:function(n){var s=this,o=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=this.instance.scroll.x+this.windowWidth,l=this.instance.scroll.y+this.windowHeight,a={x:this.instance.scroll.x+this.windowMiddle.x,y:this.instance.scroll.y+this.windowMiddle.y};
1Object.entries(this.parallaxElements).forEach(function(t){var t=k(t,2),e=(t[0],t[1]),i=n?0:!1;if(e.inView||o)switch(e.position){case"top":i=s.instance.scroll[s.directionAxis]*-e.speed;break;case"elementTop":i=(l-e.top)*-e.speed;break;case"bottom":i=(s.instance.limit[s.directionAxis]-l+s.windowHeight)*e.speed;break;case"left":i=s.instance.scroll[s.directionAxis]*-e.speed;break;case"elementLeft":i=(r-e.left)*-e.speed;break;case"right":i=(s.instance.limit[s.directionAxis]-r+s.windowHeight)*e.speed;break;default:i=(a[s.directionAxis]-e.middle[s.directionAxis])*-e.speed}!1!==(i=e.sticky?e.inView?"horizontal"===s.direction?s.instance.scroll.x-e.left+window.innerWidth:s.instance.scroll.y-e.top+window.innerHeight:"horizontal"===s.direction?s.instance.scroll.x<e.left-window.innerWidth&&s.instance.scroll.x<e.left-window.innerWidth/2?0:s.instance.scroll.x>e.right&&s.instance.scroll.x>e.right+100&&e.right-e.left+window.innerWidth:s.instance.scroll.y<e.top-window.innerHeight&&s.instance.scroll.y<e.top-window.innerHeight/2?0:s.instance.scroll.y>e.bottom&&s.instance.scroll.y>e.bottom+100&&e.bottom-e.top+window.innerHeight:i)&&("horizontal"===e.direction||"horizontal"===s.direction&&"vertical"!==e.direction?s.transform(e.el,i,0,!n&&e.delay):s.transform(e.el,0,i,!n&&e.delay))})}},{key:"scrollTo",value:function(t){var i=this,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=parseInt(e.offset)||0,s=isNaN(parseInt(e.duration))?1e3:parseInt(e.duration),o=e.easing||[.25,0,.35,1],r=!!e.disableLerp,l=e.callback||!1,o=dt.apply(void 0,E(o));if("string"==typeof t){if("top"===t)t=0;else if("bottom"===t)t=this.instance.limit.y;else if("left"===t)t=0;else if("right"===t)t=this.instance.limit.x;else if(!(t=document.querySelector(t)))return}else if("number"==typeof t)t=parseInt(t);else if(!t||!t.tagName)return void console.warn("`target` parameter is not valid");if("number"!=typeof t){if(!it(t).includes(this.el))return;var a=t.getBoundingClientRect(),c=a.top,h=a.left,e=it(t).find(function(e){return Object.entries(i.sections).map(function(t){t=k(t,2);t[0];return t[1]}).find(function(t){return t.el==e})}),a=0,a=e?et(e)[this.directionAxis]:-this.instance.scroll[this.directionAxis],n="horizontal"===this.direction?h+n-a:c+n-a}else n=t+n;var d=parseFloat(this.instance.delta[this.directionAxis]),u=Math.max(0,Math.min(n,this.instance.limit[this.directionAxis]))-d,p=function(t){r?"horizontal"===i.direction?i.setScroll(d+u*t,i.instance.delta.y):i.setScroll(i.instance.delta.x,d+u*t):i.instance.delta[i.directionAxis]=d+u*t};this.animatingScroll=!0,this.stopScrolling(),this.startScrolling();var g=Date.now();(function t(){var e=(Date.now()-g)/s;1<e?(p(1),i.animatingScroll=!1,0==s&&i.update(),l&&l()):(i.scrollToRaf=requestAnimationFrame(t),p(o(e)))})()}},{key:"update",value:function(){this.setScrollLimit(),this.addSections(),this.addElements(),this.detectElements(),this.updateScroll(),this.transformElements(!0),this.reinitScrollBar(),this.checkScroll(!0)}},{key:"startScroll",value:function(){this.stop=!1}},{key:"stopScroll",value:function(){this.stop=!0}},{key:"setScroll",value:function(t,e){this.instance=m(m({},this.instance),{},{scroll:{x:t,y:e},delta:{x:t,y:e},speed:0})}},{key:"destroy",value:function(){x(y(s.prototype),"destroy",this).call(this),this.stopScrolling(),this.html.classList.remove(this.smoothClass),this.vs.destroy(),this.destroyScrollBar(),window.removeEventListener("keydown",this.checkKey,!1)}}]),s}(),St=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};p(this,e),this.options=t,Object.assign(this,A,t),this.smartphone=A.smartphone,t.smartphone&&Object.assign(this.smartphone,t.smartphone),this.tablet=A.tablet,t.tablet&&Object.assign(this.tablet,t.tablet),this.smooth||"horizontal"!=this.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible"),this.tablet.smooth||"horizontal"!=this.tablet.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible (tablet)"),this.smartphone.smooth||"horizontal"!=this.smartphone.direction||console.warn("🚨 `smooth:false` & `horizontal` direction are not yet compatible (smartphone)"),this.init()}return w(e,[{key:"init",value:function(){var t;this.options.isMobile=/Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints||window.innerWidth<this.tablet.breakpoint,this.options.isTablet=this.options.isMobile&&window.innerWidth>=this.tablet.breakpoint,this.smooth&&!this.options.isMobile||this.tablet.smooth&&this.options.isTablet||this.smartphone.smooth&&this.options.isMobile&&!this.options.isTablet?this.scroll=ne
1w bt(this.options):this.scroll=new q(this.options),this.scroll.init(),window.location.hash&&(t=window.location.hash.slice(1,window.location.hash.length),(t=document.getElementById(t))&&this.scroll.scrollTo(t))}},{key:"update",value:function(){this.scroll.update()}},{key:"start",value:function(){this.scroll.startScroll()}},{key:"stop",value:function(){this.scroll.stopScroll()}},{key:"scrollTo",value:function(t,e){this.scroll.scrollTo(t,e)}},{key:"setScroll",value:function(t,e){this.scroll.setScroll(t,e)}},{key:"on",value:function(t,e){this.scroll.setEvents(t,e)}},{key:"off",value:function(t,e){this.scroll.unsetEvents(t,e)}},{key:"destroy",value:function(){this.scroll.destroy()}}]),e}(),_t=class{static reenableButtons(t){(t=t||document).querySelectorAll("input[type=submit], button[type=submit]").forEach(function(t){t.classList.remove("disabled"),t.disabled=!1;var e="";t.getAttribute("data-msg_loading")?(e=t.textContent,t.textContent=t.getAttribute("data-msg_loading"),t.setAttribute("data-msg_loading",e)):t.getAttribute("data-msg_default")&&(e=t.innerHTML,t.innerHTML=t.getAttribute("data-msg_default"),t.setAttribute("data-msg_default",e))})}static resetFormErrors(t){var e=!1;(e=t.querySelectorAll(".Alert.has-error"))&&e.forEach(function(t){t.innerHTML=""}),(e=t.querySelectorAll(".Alert"))&&e.forEach(function(t){t.style.display="none"}),(e=t.querySelectorAll(".js-error"))&&e.forEach(function(t){t.parentNode.removeChild(t)}),(e=t.querySelectorAll(".js-FormElement.has-error"))&&e.forEach(function(t){t.classList.remove("has-error")})}static displaySuccess(t,e){var i=window.Cookiebot?.consent??null;"string"==typeof t&&(t=document.querySelector(t)),_t.resetFormErrors(t);var n,s=t.nextSibling;(s=!(s&&s.classList&&s.classList.contains("Alert")&&s.classList.contains("has-success"))?t.parentNode.querySelector(".Alert.has-success"):s)&&(t.style.display="none",s.style.display="block",(n=t.querySelector("input[name$='token']"))&&e&&0<e.length&&(n.value=e),_t.resetForm(t,s,e),_t.reenableButtons()),i&&i.marketing&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:t.dataset.formtype||""}));t=s.getBoundingClientRect().top;let o=0;(window.Store.navigation.states.visibility||0<window.Store.scrollbar.direction.y)&&(o=window.Store.navigation.navHeight),window.Store.scrollbar?window.Store.scrollbar.scrollTo(s,{offset:-o,duration:0,callback:window.Store.scrollbar.element.update()}):window.scrollBy({top:t-o,left:0,behavior:"smooth"})}static displayErrors(e,i,t){e=(e="string"==typeof e?document.querySelector(e):e)||document,(t=t||!1)||_t.resetFormErrors(e);var n,s=!0;for(n in i)if("global"==n){var o=e.querySelector(".Alert.has-error");o&&(o.style.display="block",o.innerHTML+=i[n]);var r=o.getBoundingClientRect().top;let t=0;(window.Store.navigation.states.visibility||0<window.Store.scrollbar.direction.y)&&(t=window.Store.navigation.navHeight),window.Store.scrollbar?window.Store.scrollbar.scrollTo(o,{offset:-t,duration:0,callback:window.Store.scrollbar.element.update()}):window.scrollBy({top:r-t,left:0,behavior:"smooth"})}else{var l=e.querySelector("*[name="+n+"]");l&&(s&&null!==l.offsetParent&&(l.focus(),s=!1),(o=l.closest(".js-FormElement"))&&(o.classList.add("has-error"),(r=document.createElement("div")).innerHTML='<label for="'+l.getAttribute("id")+'" class="js-error">'+i[n]+"</label>",o.parentNode.insertBefore(r.firstChild,o.nextSibling)))}}static postForm(t,e,i,n,s=""){s&&(t.append("captcha-token",s),t.append("captcha-action","submit"));var o=new XMLHttpRequest;o.open("POST",e,!0),o.responseType="json",o.onreadystatechange=function(){var t,e=o.response;if(e&&"string"==typeof e)try{e=JSON.parse(e)}catch(t){}4==o.readyState&&200==o.status&&(i?(window[i]&&(i=window[i]),t=(t=[e]).concat(n),i.apply(null,t)):e.result&&e.replaceHtml&&($form.innerHTML=e.replaceHtml))},o.send(t)}static async sendFormAjax(e,i,n){var s=new FormData(e),o=e.getAttribute("action");o.indexOf("?")<0&&(o+="?"),o+="&ajax",window.Store.components.recaptcha.loaded||await d(!0),"undefined"!=typeof grecaptcha?grecaptcha.ready(function(){var t=e.querySelector(".recaptcha-key");t?(t=t.value,grecaptcha.execute(t,{action:"submit"}).then(function(t){_t.postForm(s,o,i,n,t)}).catch(t=>console.log("Captcha Error : "+t))):_t.postForm(s,o,i,n)}):_t.postForm(s,o,i,n)}static initFormButtons(){document.querySelectorAll("form").forEach(function(t){t.addEventListener("submit",function(t){this.querySelectorAll("input[type=submit], button[type=submit]").forEach(function(t){t.classList.add("disabled"),t.disabled=!0;var e="";t.getAttribute("data-msg_loading")?(e=t.textContent,t.textContent=t.getAttribute("data-msg_loading"),t.setAttribute("data-msg_loading",e)):t.getAttribute("data-msg_default")&&(e=t.innerHTML,t.innerHTML=t.getAttribute("data-msg_default"),t.setAttribute("data-msg_default",e))})})})}static initJsValidate(){document.querySelectorAll("form.js-validate").forEach(function(t){t.addEventListener("submit",function(t){var i={};if(this.querySelectorAll("input, select, textarea").forEach(function(t){t.required&&!t.value&&(i[t.name]=t.getAttribute("data-required-text"))}),this.querySelectorAll(".must-check-one").forEach(function(t){var e=!1;t.querySelectorAll("input[type=checkbox], input[type=radio]").forEach(function(t){t.checked&&(e=!0)}),e||("global"in i?i.global+="<br/>"+t.getAttribute("data-required-text"):i.global=t.getAttribute("data-required-text"))}),Object.keys(i).length)return _t.displayErrors(this,i),_t.reenableButtons(this),t.stopPropagation(),t.preventDefault(),!1})})}static initFileInputs(){var t=document.querySelectorAll('input[type="file"]');t.length&&t.forEach(function(t){t.addEventListener("change",function(t){for(var e=[],i=t.target,n=0;n<i.files.length;n++)e.push(i.files[n].name);i.parentNode.querySelector("label").innerText=e.join(",")})})}static initJsForms(){document.querySelectorAll("form.js-form").forEach(function(e){e.addEventListener("submit",function(t){t.preventDefault(),_t.sendFormAjax(this,function(t){t&&(t.error?(_t.reenableButtons(e),_t.resetFormErrors(e),t.message&&_t.displayErrors(e,{global:t.message}
1,!0),t.messages&&_t.displayErrors(e,t.messages,!0)):t.url?location.href=t.url:"reload"==t.message?location.href=location.href:_t.displaySuccess(e,t.token))})})})}static resetForm(t,e,i=""){document.querySelectorAll("form.js-form").forEach(function(t){t.reset(),_t.resetFormErrors(t),_t.resetFormToken(t,i)})}static resetFormToken(t,e){var i=t.querySelector(".recaptcha-key");i&&(i=i.value,"undefined"!=typeof grecaptcha&&grecaptcha.reset(i)),!e||(t=t.querySelector("input[name$='token']"))&&e&&0<e.length&&(t.value=e)}static initEverything(){_t.initPartial()}static initPartial(){_t.initFormButtons(),_t.initFileInputs(),_t.initJsValidate(),_t.initJsForms()}},xt=class{constructor(t){this.elements={...t.elements},this.nav_group=[],this.states={hamburger:!1,sticky:!1,visibility:!0},this.settings={nav:{active_class:"is-nav-active",sticky_class:"is-sticky",hidden_class:"is-hidden",current_class:"is-current-page"},search:{active_class:"is-search-open"},body:{active_class:"nav-active"}},this.elements_tree=[]}static init(){const t=window.Store.app.theBody.getElementsByClassName("js-navigation")[0];if(!t)return null;const e=t.querySelector(".js-primary-nav");var i=t.querySelector(".js-secondary-nav"),n=t.getBoundingClientRect().width,s=t.querySelector("nav"),o=s.firstElementChild,r=getComputedStyle(document.querySelector(":root")).getPropertyValue("--nav-inner-scroll-padding").replace("px",""),l=window.Store.app.theBody.getElementsByClassName("js-hamburger")[0];let a=window.Store.app.theContainer.getElementsByClassName("js-header"),c=window.Store.scrollbar.world.h;0<a.length&&(0<a.length&&(a=a[0]),c=a.scrollHeight),e&&e.insertAdjacentHTML("beforeend",`
2                    <div class="c-navigation__nav__main__search js-search">
3                        <button type="button">
4                            <div>
5                                <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000">
6                                    <path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>
7                                </svg>
8                                <div class="c-navigation__nav__main__search__close">
9                                    <div class="c-navigation__nav__main__search__close--icon"></div>
10                                </div>
11                            </div>
12                        </button>
13                    </div>
14                `);var h=t.getElementsByClassName("js-search");let d=[];if(0<h.length)for(let t=0;t<h.length;t++){const m=h[t];var u=m.querySelector("button");d.push(u)}const p=t.getElementsByClassName("js-search-form")[0];var g=p.querySelector("form"),w=p.querySelector("input"),w={elements:{nav:{element:t,primary_nav:e,secondary_nav:i,secondary_nav_height:null,height:null,width:n,theme:null,inner:{element:s,scroll:o,scroll_padding:parseFloat(r),height:null}},hamburger:l,header:{element:a,height:c},search:{elements:h,btn:{open:d},form:{parent:p,element:g,input:w},state:{open:!1,focus:!1}}}};const f=new xt(w);return f.hamburgerInit(),f.createSubLevel(),f.subLevelToggle(),f.createGroups(),f.setActiveLink(),f.searchInit(),f.setColorTheme(),f.updateNavHeight(),f.updateSecondaryNavHeight(),f.updateNavInnerScrollHeight(),f}setColorTheme(){this.elements.nav.theme=window.Store.app.theBody.querySelector(".js-siteContainer").getAttribute("data-theme"),"true"!==this.elements.nav.theme?this.elements.nav.element.classList.remove("c-navigation--darkTheme"):this.elements.nav.element.classList.add("c-navigation--darkTheme")}hamburgerInit(){this.elements.hamburger.addEventListener("click",this.hamburgerToggle.bind(this))}hamburgerToggle(){!1!==this.states.hamburger?this.navigationToggle("close"):this.navigationToggle(this.states.hamburger)}navigationToggle(t){if(this.states.hamburger=!t,t)return this.elements.nav.element.classList.remove(this.settings.nav.active_class),this.elements.nav.inner.element.style.height="0px",this.elements.nav.inner.scroll.scrollTo(0,0),this.elements.nav.inner.scroll.style.overflowY="unset",this.elements.hamburger.classList.remove(this.settings.nav.active_class),document.documentElement.classList.remove(this.settings.body.active_class),window.Store.app.theBody.classList.remove(this.settings.body.active_class),void this.closeSubLevel();this.elements.nav.element.classList.add(this.settings.nav.active_class),this.elements.hamburger.classList.add(this.settings.nav.active_class),this.searchFormToggle("close"),setTimeout(()=>{document.documentElement.classList.add(this.settings.body.active_class),window.Store.app.theBody.classList.add(this.settings.body.active_class)},450),this.elements.nav.inner.element.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.height+"px",this.elements.nav.inner.scroll.style.overflowX="hidden",this.elements.nav.inner.scroll.scrollTo(0,0),this.elements.nav.inner.height>window.Store.scrollbar.screenHeight-this.elements.nav.height?this.elements.nav.inner.scroll.style.overflowY="auto":this.elements.nav.inner.scroll.style.overflowY="unset"}watch(t){if(this.checkVisibility(t),5<=t)return this.elements.nav.element.classList.add(this.settings.nav.sticky_class),void(this.states.sticky=!0);this.elements.nav.element.classList.remove(this.settings.nav.sticky_class),this.states.sticky=!1}checkVisibility(t){this.elements.header.height<t&&!this.states.hamburger&&(this.states.visibility=!1,this.elements.nav.element.classList.add(this.settings.nav.hidden_class)),window.Store.scrollbar.direction.y<0&&(this.states.visibility=!0,this.elements.nav.element.classList.remove(this.settings.nav.hidden_class))}createSubLevel(){var e=this.elements.nav.primary_nav?this.elements.nav.primary_nav.children:null;let i=[],w=[],f=[];for(let t=0;t<e.length;t++){const h=e[t],d=h.querySelector("div");var n=h.querySelector("ul");const u=h.querySelector("span");if(d&&n&&u){h.classList.add("has-children");var s=n.children,o=n.scrollHeight,r=n.clientHeight;const p=d.firstElementChild,g=u.querySelector("a")?u.querySelector("a").innerHTML.trim():"";u.insertAdjacentHTML("beforeend",`
15                        <button type="button" class="js-toggle-button">
16                            <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
17                                <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
18                            </svg>
19                        </button>
20                    `),p.insertAdjacentHTML("afterbegin",`
21                        <div class="m-firstlevel__button">
22                            <button type="button" class="js-back-button">
23                                <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
24                                    <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
25                                </svg>
26                            </button>
27                            <span>${g}</span>
28                        </div>
29                    `),u.insertAdjacentHTML("beforeend",`
30                        <div class="-navSubArrow">
31                            <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
32                                <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
33                            </svg>
34                        </div>
35                    `);var l=h.querySelector(".js-toggle-button");const m=h.querySelector(".js-back-button");var a=m?m.parentElement.getBoundingClientRect().height:null;let e;for(let t=0;t<s.length;t++){const v=s[t];var c=v.querySelector("ul");c||v.classList.contains("js-first-level-title")||(e=!1,h.classList.add("no-lower-level")),c&&(e=!0,h.classList.add("has-lower-level"))}window.Store.scrollbar.world.w<1200&&(d.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.element.getBoundingClientRect().height+"px",p.style.overflowX="hidden");r={parent:!1,li:h,button:l,back_button:{element:m,height:a},wrapper:d,wrapper_scroll:p,element:n,scroll_height:o,client_height:r,group:"first_level",depth:2,lower_level:e,state:{open:!1},settings:{active_class:"is-open"}};i.push(r)}}i.forEach(t=>{var e=t.element.children;for(let t=0;t<e.length;t++){const a=e[t];var i=a.parentElement;const c=a.querySelector("div");var n=a.querySelector("ul");const h=a.querySelector("span");if(c&&n&&h){a.classList.add("second-level-has-children");var s=n.scrollHeight,o=n.clientHeight;const d=c.firstElementChild,u=h.querySelector("a"),p=u?u.innerHTML.trim():h.innerHTML;h.insertAdjacentHTML("beforeend",`
36                            <button type="button" ${u?'class="js-toggle-button"':""}>
37                                <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
38                                    <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
39                                </svg>
40                            </button>
41                        `),d.insertAdjacentHTML("afterbegin",`
42                            <div class="m-secondlevel__button">
43                                <button type="button" class="js-back-button">
44                                    <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
45                                        <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
46                                    </svg>
47                                </button>
48                                <span>${p}</span>
49                            </div>
50                        `);var r=a.querySelector(".js-toggle-button");const g=a.querySelector(".js-back-button");var l=g?g.parentElement.getBoundingClientRect().height:null;window.Store.scrollbar.world.w<1200&&(c.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.element.getBoundingClientRect().height+"px",d.style.overflowX="hidden");o={parent:i,li:a,button:r,back_button:{element:g,height:l},wrapper:c,wrapper_scroll:d,element:n,scroll_height:s,client_height:o,group:"second_level",depth:1,state:{open:!1},settings:{active_class:"is-open"}};w.push(o)}}}
50),w.forEach(t=>{var e=t.element.children;for(let t=0;t<e.length;t++){const a=e[t];var i=a.parentElement;const c=a.querySelector("div");var n=a.querySelector("ul");const h=a.querySelector("span");if(c&&n&&h){a.classList.add("third-level-has-children");var s=n.scrollHeight,o=n.clientHeight;const d=c.firstElementChild,u=h.querySelector("a"),p=u?u.innerHTML.trim():h.innerHTML;h.insertAdjacentHTML("beforeend",`
51                            <button type="button" ${u?'class="js-toggle-button"':""}>
52                                <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
53                                    <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
54                                </svg>
55                            </button>
56                        `),d.insertAdjacentHTML("afterbegin",`
57                            <div class="m-thirdlevel__button">
58                                <button type="button" class="js-back-button">
59                                    <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M24 24H0V0h24v24z" fill="none" opacity=".87"/>
60                                        <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/>
61                                    </svg>
62                                </button>
63                                <span>${p}</span>
64                            </div>
65                        `);var r=a.querySelector(".js-toggle-button");const g=a.querySelector(".js-back-button");var l=g?g.parentElement.getBoundingClientRect().height:null;window.Store.scrollbar.world.w<1200&&(c.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.element.getBoundingClientRect().height+"px",d.style.overflowX="hidden");o={parent:i,li:a,button:r,back_button:{element:g,height:l},wrapper:c,wrapper_scroll:d,element:n,scroll_height:s,client_height:o,group:"third_level",depth:0,state:{open:!1},settings:{active_class:"is-open"}};f.push(o)}}}),this.elements_tree=0<i.length?[...i]:[],this.elements_tree=0<this.elements_tree.length&&0<w.length?[...i,...w]:[...i],this.elements_tree=0<this.elements_tree.length&&0<f.length?[...i,...w,...f]:[...i,...w]}subLevelToggle(){this.elements_tree.forEach(o=>{o.button.addEventListener("click",()=>{if(window.Store.scrollbar.world.w<1200&&!o.state.open){if(o.scroll_height=o.element.scrollHeight,o.client_height=o.element.clientHeight,1==o.depth){const t=this.elements_tree.filter(t=>2==t.depth);t.forEach(t=>{t.wrapper_scroll.style.overflow="unset"})}if(0==o.depth){const e=this.elements_tree.filter(t=>0!==t.depth);e.forEach(t=>{t.wrapper_scroll.style.overflow="unset"})}o.li.classList.add(o.settings.active_class),o.state.open=!0,o.wrapper_scroll.style.overflowX="hidden",o.wrapper_scroll.scrollTo(0,0),this.elements.nav.inner.scroll.style.overflow="unset",o.client_height+o.back_button.height+this.elements.nav.inner.scroll_padding>window.Store.scrollbar.screenHeight-this.elements.nav.height?o.wrapper_scroll.style.overflowY="auto":o.wrapper_scroll.style.overflowY="unset"}}),o.back_button&&o.back_button.element.addEventListener("click",()=>{if(window.Store.scrollbar.world.w<1200&&o.state.open){if(o.li.classList.remove(o.settings.active_class),o.wrapper_scroll.scrollTo(0,0),o.state.open=!1,2==o.depth)return this.elements.nav.inner.scroll.style.overflowX="hidden",this.elements.nav.inner.scroll.scrollTo(0,0),o.height+o.back_button.height+this.elements.nav.inner.scroll_padding>window.Store.scrollbar.screenHeight-this.elements.nav.height?void(this.elements.nav.inner.scroll.style.overflowY="auto"):void(this.elements.nav.inner.scroll.style.overflowY="unset");if(1==o.depth){const t=this.elements_tree.filter(t=>2==t.depth);t.forEach(t=>{t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.scrollTo(0,0),t.client_height+t.back_button.height+this.elements.nav.inner.scroll_padding>window.Store.scrollbar.screenHeight-this.elements.nav.height?t.wrapper_scroll.style.overflowY="auto":t.wrapper_scroll.
65style.overflowY="unset"})}if(0==o.depth){const e=this.elements_tree.filter(t=>1==t.depth);e.forEach(t=>{t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.scrollTo(0,0),t.client_height+t.back_button.height+this.elements.nav.inner.scroll_padding>window.Store.scrollbar.screenHeight-this.elements.nav.height?t.wrapper_scroll.style.overflowY="auto":t.wrapper_scroll.style.overflowY="unset"})}}});const t=this;setTimeout(function(){2==o.depth&&(o.li.addEventListener("mouseenter",()=>{var t;o.scroll_height=o.element.scrollHeight,o.client_height=o.element.clientHeight,1199<window.Store.scrollbar.world.w&&(t=window.Store.navigation.elements.nav.element.getBoundingClientRect().height,t=window.Store.scrollbar.screenHeight-t,o.wrapper.style.height=o.scroll_height+"px",o.wrapper.style.maxHeight=t+"px",o.state.open=!0,!o.lower_level&&o.scroll_height>t&&(o.wrapper_scroll.style.overflowY="auto"),o.lower_level&&o.scroll_height>t&&(o.wrapper_scroll.style.overflowX="hidden",o.wrapper_scroll.style.overflowY="auto"))}),o.li.addEventListener("mouseleave",()=>{1199<window.Store.scrollbar.world.w&&(o.wrapper.style.height="0px",o.wrapper.style.maxHeight="0px",o.wrapper_scroll.scrollTo(0,0),o.state.open=!1,o.lower_level||(o.wrapper_scroll.style.overflowY="unset"),o.lower_level&&(t.closeSubLevel(),o.wrapper_scroll.style.overflowX="unset",o.wrapper_scroll.style.overflowY="unset"))}))},window.Store.app.firstLoadDelay),o.button.addEventListener("click",()=>{if(1199<window.Store.scrollbar.world.w)if(o.state.open){if(1==o.depth){o.li.classList.remove(o.settings.active_class),o.wrapper.style.height="0px",o.state.open=!1;const t=this.elements_tree.filter(t=>2==t.depth);t.forEach(t=>{var e;t.state.open&&(e=window.Store.navigation.elements.nav.element.getBoundingClientRect().height,e=window.Store.scrollbar.screenHeight-e,t.scroll_height=t.element.scrollHeight-o.scroll_height,t.wrapper.style.height=t.scroll_height+"px",t.wrapper.style.maxHeight=e+"px",t.scroll_height>e&&(t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.style.overflowY="auto"))});const e=this.elements_tree.filter(t=>t.parent==o.element);e.forEach(t=>{t.state.open&&(o.wrapper_scroll.style.overflow="hidden",t.li.classList.remove(o.settings.active_class),t.wrapper.style.height="0px",t.state.open=!1)})}}else{if(o.scroll_height=o.element.scrollHeight,o.client_height=o.element.clientHeight,o.li.classList.add(o.settings.active_class),o.wrapper.style.height=o.scroll_height+"px",o.state.open=!0,1==o.depth){const i=this.elements_tree.filter(t=>2==t.depth);return i.forEach(t=>{var e;t.state.open&&(e=window.Store.navigation.elements.nav.element.getBoundingClientRect().height,e=window.Store.scrollbar.screenHeight-e,t.scroll_height=t.scroll_height+o.scroll_height,t.wrapper.style.height=t.scroll_height+"px",t.wrapper.style.maxHeight=e+"px",t.scroll_height>e&&(t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.style.overflowY="auto"))}),void this.closeSubLevel(o)}if(0==o.depth){const n=this.elements_tree.filter(t=>1==t.depth);n.forEach(t=>{t.state.open&&(t.wrapper_scroll.style.overflow="unset",o.scroll_height>t.scroll_height&&(t.scroll_height=t.scroll_height+(o.scroll_height-t.scroll_height),t.wrapper.style.height=t.scroll_height+"px"))});const s=this.elements_tree.filter(t=>2==t.depth);s.forEach(t=>{var e;t.state.open&&(e=window.Store.navigation.elements.nav.element.getBoundingClientRect().height,e=window.Store.scrollbar.screenHeight-e,o.scroll_height+t.client_height>t.scroll_height&&(t.scroll_height=t.scroll_height+(o.scroll_height+t.client_height-t.scroll_height),t.wrapper.style.height=t.scroll_height+"px",t.wrapper.style.maxHeight=e+"px"),t.scroll_height>e&&(t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.style.overflowY="auto"))}),this.closeSubLevel(o)}}})})}closeSubLevel(t){if(t||this.elements_tree.forEach(t=>{var e=t.state.open;window.Store.scrollbar.world.w<1200?e&&(t.li.classList.remove(t.settings.active_class),t.state.open=!1):(t.li.classList.remove(t.settings.active_class),t.wrapper.style.height="0px",1==t.depth&&(t.wrapper_scroll.style.overflow="hidden"),t.state.open=!1)}),t){const l=t,a=t.depth,c=t.group;this.elements_tree.forEach(i=>
65{if(i!=l){var t=i.state.open,e=i.group;if(t&&c&&c==e){if(i.li.classList.remove(i.settings.active_class),i.wrapper.style.height="0px",i.state.open=!1,1==a){const n=this.elements_tree.filter(t=>2==t.depth);n.forEach(t=>{var e;t.state.open&&(e=window.Store.navigation.elements.nav.element.getBoundingClientRect().height,e=window.Store.scrollbar.screenHeight-e,t.scroll_height=t.element.scrollHeight-i.scroll_height+l.scroll_height,t.wrapper.style.height=t.scroll_height+"px",t.wrapper.style.maxHeight=e+"px",t.scroll_height>e&&(t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.style.overflowY="auto"))});const s=this.elements_tree.filter(t=>t.parent==i.element);s.forEach(t=>{t.state.open&&(i.wrapper_scroll.style.overflow="hidden",t.li.classList.remove(i.settings.active_class),t.wrapper.style.height="0px",t.state.open=!1)})}if(0==a){let i;const o=this.elements_tree.filter(t=>1==t.depth);o.forEach(t=>{t.state.open&&(l.scroll_height<t.scroll_height?l.scroll_height>t.client_height?t.scroll_height=l.scroll_height:t.scroll_height=t.client_height:t.scroll_height+=l.scroll_height-t.scroll_height,t.wrapper.style.height=t.scroll_height+"px",i=t.scroll_height)});const r=this.elements_tree.filter(t=>2==t.depth);r.forEach(t=>{var e;t.state.open&&(e=window.Store.navigation.elements.nav.element.getBoundingClientRect().height,e=window.Store.scrollbar.screenHeight-e,t.wrapper_scroll.style.overflow="unset",l.scroll_height+t.client_height>t.scroll_height&&(t.scroll_height=t.scroll_height+(l.scroll_height+t.client_height-t.scroll_height),t.wrapper.style.height=t.scroll_height+"px",t.wrapper.style.maxHeight=e+"px"),l.scroll_height+t.client_height<t.scroll_height&&(t.scroll_height=t.client_height+i,t.wrapper.style.height=t.scroll_height+"px",t.wrapper.style.maxHeight=e+"px"),t.scroll_height>e&&(t.wrapper_scroll.style.overflowX="hidden",t.wrapper_scroll.style.overflowY="auto"))})}}}})}}createGroups(){const t=this.elements.nav.element.querySelectorAll("ul");t.forEach(t=>{var e=t.children;let i=[];for(let t=0;t<e.length;t++){const l=e[t];var n=l.querySelector("a");if(n){var s=n.href,o=new URL(s);const a=o.pathname;var r=a.replace(/\\|\//g,""),s=l.querySelector("ul"),s={item:l,link:n,url_object:o,url_pathname_parsed:r,sub_nav:s,states:{active:!1,current:!1}};i.push(s)}}t={group:t,elements:i};this.nav_group.push(t)})}setActiveLink(){this.nav_group.forEach(t=>{t.elements.forEach(t=>{t.states.current=!1,t.item.classList.remove(this.settings.nav.current_class)})});const t=window.location.pathname,e=t.replace(/\\|\//g,"");this.nav_group.forEach(t=>{t.elements.forEach(t=>{e&&e===t.url_pathname_parsed&&(t.item.classList.add(this.settings.nav.current_class),t.states.current=!0)})})}searchInit(){this.elements.search.btn.open.forEach(t=>{t.addEventListener("click",this.searchToggle.bind(this))})}searchToggle(){var t=this.elements.search.state.open;!1!==t?this.searchFormToggle("close"):this.searchFormToggle(t)}searchFormToggle(t){if(this.elements.search.state.open=!t,t){for(let t=0;t<this.elements.search.elements.length;t++){const e=this.elements.search.elements[t];e.classList.remove(this.settings.search.active_class)}return this.elements.search.form.parent.classList.remove(this.settings.search.active_class),this.elements.search.state.focus=!1,this.elements.search.form.input.value="",void this.elements.search.form.input.parentElement.classList.remove("is-up")}this.states.hamburger&&this.navigationToggle("close");for(let t=0;t<this.elements.search.elements.length;t++){const i=this.elements.search.elements[t];i.classList.add(this.settings.search.active_class)}this.elements.search.form.parent.classList.add(this.settings.search.active_class),this.elements.search.state.focus||(this.elements.search.form.input.focus(),this.elements.search.state.focus=!0)}updateSublevelHeight(){this.elements_tree.forEach(t=>{var e=t.state.open;if(window.Store.scrollbar.world.w<1200){if(t.back_button.height=t.back_button.element.getBoundingClientRect().height,t.scroll_height=t.element.scrollHeight,t.client_height=t.element.clientHeight,e){if(1==t.depth){const i=this.elements_tree.filter(t=>2==t.depth);
65i.forEach(t=>{t.wrapper_scroll.style.overflow="unset"})}if(0==t.depth){const n=this.elements_tree.filter(t=>0!==t.depth);n.forEach(t=>{t.wrapper_scroll.style.overflow="unset"})}return(t.wrapper.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.height+"px",t.wrapper_scroll.style.overflowX="hidden",this.elements.nav.inner.scroll.style.overflow="unset",t.client_height+t.back_button.height+this.elements.nav.inner.scroll_padding>window.Store.scrollbar.screenHeight-this.elements.nav.height)?void(t.wrapper_scroll.style.overflowY="auto"):void(t.wrapper_scroll.style.overflowY="unset")}return t.wrapper.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.height+"px",t.wrapper_scroll.style.overflowY="unset",void(t.wrapper_scroll.style.overflowX="hidden")}1199<window.Store.scrollbar.world.w&&(t.wrapper_scroll.style.overflow="hidden",2!=t.depth||t.lower_level||(t.wrapper_scroll.style.overflow="unset"),2==t.depth&&(t.wrapper.style.height="auto",t.wrapper.style.maxHeight="none"),1!=t.depth&&0!=t.depth||(t.wrapper.style.height="0px"),t.scroll_height=t.element.scrollHeight,t.client_height=t.element.clientHeight)})}updateNavHeight(){setTimeout(()=>{this.states.sticky||(this.elements.nav.height=this.elements.nav.element.getBoundingClientRect().height)},450)}updateSecondaryNavHeight(){1199<window.Store.scrollbar.world.w&&!this.states.sticky&&setTimeout(()=>{window.Store.app.theBody.style.setProperty("--secondary-nav-height","auto"),this.elements.nav.secondary_nav_height=this.elements.nav.secondary_nav.getBoundingClientRect().height,this.secondaryNavHeight||window.Store.app.theBody.style.removeProperty("--secondary-nav-height"),window.Store.app.theBody.style.setProperty("--secondary-nav-height",this.secondaryNavHeight+"px")},450)}updateNavInnerScrollHeight(){this.elements.nav.inner.height=this.elements.nav.inner.scroll.scrollHeight}updateNavInnerHeight(){if(window.Store.scrollbar.world.w<1200)return this.states.hamburger?(this.elements.nav.inner.element.style.height=window.Store.scrollbar.screenHeight-this.elements.nav.height+"px",this.elements.nav.inner.scroll.style.overflowX="hidden",this.elements.nav.inner.height>window.Store.scrollbar.screenHeight-this.elements.nav.height?void(this.elements.nav.inner.scroll.style.overflowY="auto"):void(this.elements.nav.inner.scroll.style.overflowY="unset")):(this.elements.nav.inner.element.style.height="0px",this.elements.nav.inner.scroll.style.overflowX="hidden",void(this.elements.nav.inner.scroll.style.overflowY="unset"));this.elements.nav.inner.element.style.height="auto",this.elements.nav.inner.scroll.style.overflowX="unset",this.elements.nav.inner.scroll.style.overflowY="unset"}updateNavWidth(){this.elements.nav.width=this.elements.nav.element.getBoundingClientRect().width}globalUpdateNavAndElements(){this.updateNavHeight(),this.updateSecondaryNavHeight(),this.updateNavInnerScrollHeight(),this.updateNavInnerHeight(),this.updateNavWidth(),this.updateSublevelHeight()}get navHeight(){return this.elements.nav.height}get secondaryNavHeight(){return this.elements.nav.secondary_nav_height}get navWidth(){return this.elements.nav.width}},Et=class{constructor(t,e){this.navigation={...t.navigation},this.spacers_tree=e}static init(){var t=window.Store.navigation?window.Store.navigation.elements.nav.element:null;const e=window.Store.app.theBody.querySelectorAll(".js-spacer");if(!t||0==e.length)return null;t={navigation:{element:t,height:window.Store.navigation.elements.nav.element.getBoundingClientRect().height}};let i=[];e.forEach(t=>{var e=window.Store.app.theContainer.querySelector("js-header"),t={element:t,next_sibling:e||function(t,e){var i=t.nextElementSibling;if(!e)return i;for(;i;){if(i.matches(e))return i;i=i.nextElementSibling}}(t,":not(link)")};i.push(t)});const n=new Et(t,i);return n.createSpacer(),n.setColor(),n}createSpacer(){this.spacers_tree.forEach(t=>{t.element.style.height=this.navigation.height+"px"})}setColor(){this.spacers_tree.forEach(t=>{var e;t.next_sibling&&(e=window.getComputedStyle(t.next_sibling).getPropertyValue("background-color"),t.element.style.backgroundColor=e)})}updateSpacerHeight(){window.Store.navigation.elements.nav.element.addEventListener(r(),function t(){window.Store.spacer&&(window.Store.spacer.navigation.height=window.Store.navigation.navHeight,window.Store.spacer.spacers_tree.forEach(t=>{t.element.style.height=window.Store.spacer.navigation.height+"px",window.Store.scrollbar.updateAfterTransitionEnd(t.element)})),window.Store.navigation.elements.nav.element.removeEventListener(r(),t,!0)},!0)}},kt=class{constructor(t,e,i){this.parent_element=t,this.anchors=e,this.languages=i}static create(){const t=window.Store.app.theBody.querySelectorAll(".js-language-switcher"),s=window.Store.app.theContainer.dataset.pllLanguages;let o=[];return t.length&&s?(t.forEach(t=>{var e=t.querySelectorAll("a");t.setAttribute("data-barba-prevent","all");let i;try{i=JSON.parse(s)}catch(t){console.log(t)}const n=new kt(t,e,i);n.update(),o.push(n)}),o):null}
65update(){this.anchors.forEach(t=>{var e=t.lang.includes("-")?t.lang.split("-")[0]:t.lang;t.href=this.languages[e].url})}},Tt=class{constructor(t,e,i,n){this.query=t,this.container=e,this.results=i,this.button=n,this.count=1}static init(){const t=new URLSearchParams(location.search);if(t.has("s")){var e=t.get("s"),i=window.Store.app.theContainer.querySelector("#GSE-results");const s=window.Store.app.theContainer.querySelector("#GSE-loadMore");s.addEventListener("click",()=>{Tt.loadMore(),window.dispatchEvent(new Event("resize")),window.Store.scrollbar.element.update()});var n=Tt.search(e,1),n=new Tt(e,i,n,s);window.Store.GSE=n}}static display(t){let e=window.Store.app.theContainer.querySelector("#GSE-query"),i=window.Store.app.theContainer.querySelector("#GSE-qty");if(e.innerText=window.Store.GSE.query,null==t.queries.request[0].totalResults?i.innerText=0:i.innerText=t.queries.request[0].totalResults,!t.items)return window.Store.GSE.button.parentElement.remove(),void window.Store.app.theContainer.querySelector("#GSE-noResults").classList.remove("Hidden");t.items.forEach(t=>{t=`
66                <article <?php class="c-SearchCard">
67                    <a class="c-SearchCard__inner" href="${t.link}" title="${t.htmlTitle}" ${t.mime?'target="_blank"':""}>
68                        <div class="c-SearchCard__content">
69                            <div class="c-SearchCard__content__header Editable">
70                                <h3 class="h4"><span>${window.Store.GSE.count}. </span> ${t.htmlTitle}</h3>
71            
72                                <svg xmlns="http://www.w3.org/2000/svg" width="18.82" height="15" viewBox="0 0 18.82 15">
73                                    <g id="Group_62401" data-name="Group 62401" transform="translate(-1352.108 -191.165)">
74                                        <path id="Path_48" data-name="Path 48" d="M1352.108,197.7c.307,0,.613.012.92.012h14.345l-5.248-5.243,1.307-1.308,7.5,7.5-7.5,7.5-1.291-1.306,5.239-5.238c-.1-.005-.154-.011-.211-.011h-14.869c-.061,0-.122.008-.183.012Z" fill="#fff"/>
75                                    </g>
76                                </svg>
77                            </div>
78                            <div class="c-SearchCard__content__summary Editable">
79                                <p>${t.htmlSnippet}</p>
80                            </div>
81                        </div>
82                    </a>
83                </article>
84            `;window.Store.GSE.container.insertAdjacentHTML("beforeend",t),window.Store.GSE.count++}),t.queries.nextPage||window.Store.GSE.button.parentElement.remove()}static loadMore(){var t=window.Store.GSE.results.queries.nextPage[0].startIndex,e=window.Store.GSE.query;window.Store.GSE.results=Tt.search(e,t)}static search(t,e){e=e||1;var i=window.Store.GSEkey,n=window.Store.app.lang,n=window.Store.GSEcx[n];let s=new XMLHttpRequest;return s.onload=function(){var t;200<=s.status&&s.status<300?(t=JSON.parse(s.response),Tt.display(t),window.Store.GSE.results=t):(console.log(s),console.error("The request failed!"))},s.open("GET","https://www.googleapis.com/customsearch/v1?key="+i+"&cx="+n+"&q="+t+"&start="+e),s.send(),s.response}};function Lt(){window.Store=t,window.Store.scrollbar=u.create(new St({el:document.querySelector("[data-scroll-container]"),smooth:!(window.innerWidth<1200),getDirection:!0})),s(),window.Store.app.responsive=e.create(),window.Store.navigation=xt.init(),function(){(function(){var e=document.querySelectorAll("img");if(0<e.length)for(let t=0;t<e.length;t++){const i=e[t];i.addEventListener("load",c),i.addEventListener("error",h)}})(),function(){var e=document.querySelectorAll('link[rel="stylesheet"]');if(0<e.length)for(let t=0;t<e.length;t++){const i=e[t];i.addEventListener("load",a)}}(),s(),Store.app.responsive.readBreakpoints(),function(){if(!window.Store.app.theContainer)return console.warn("Please set a site container with the following class: js-siteContainer");if(null!==window.Store.app.theContainer){var t=window.Store.app.theContainer.dataset.lang;if(null==t)return console.warn('Please set a default language attribute on your site container. Example: data-lang="fr"');if(null!=t)return window.Store.app.lang=t}console.warn("No site container or default language was found. theContainer and lang wont be available in the Store")}(),window.Store.language=kt.create(),_t.initPartial(),window.Store.spacer=Et.
84init(),Tt.init(),window.Store.scrollbar.scrollToTarget(),setTimeout(function(){window.Store.scrollbar.scrollToHashLocation()},1e3),async function(t){for(const i in t){var e;window.Store.app.theBody.querySelector(t[i])&&(window.Store.loaded[i]||(e=function(t,e){return document.querySelector('link[rel="https://api.w.org/"]')?`//${window.location.host}/app/themes/${e??"Acolyte"}/dist/assets/`+t+(o()?".js":".min.js"):"localhost"==window.location.hostname?`//${window.location.host}/assets/`+t+(o()?".js":".min.js"):`//${window.location.host}/dist/assets/`+t+(o()?".js":".min.js")}(""+i),await n.js(e),window.Store.loaded[i]=!0))}}(window.Store.modules).then(()=>{!function(t){for(const e in t)window.Store.components?.[e]?.obj&&(window.Store.components[e].obj=null),window.Store.app.theBody.querySelector(t[e])&&null!=window.Store.components?.[e]?.render&&window.Store.components[e].render()}(window.Store.modules),window.Store.scrollbar.element.update()}),window.Cookiebot&&window.addEventListener("CookiebotOnConsentReady",function(t){},!1),window.Store.app.lifeCycleReady=!0;var t=window.Store.app.theBody.querySelectorAll('a:not([target="_blank"])[href^="'+window.location.origin+'"]');for(const e of t)e.href.includes("#")&&e.href.split("#")[0]===window.location.href.replace("#","")||e.hasAttribute("download")||e.href.includes("tel:")||e.href.includes("mailto:")||e.addEventListener("click",t=>function(t,e){t.metaKey||t.ctrlKey||(t.preventDefault(),window.Store.app.theBody.classList.add("js-firstPageLoad"),window.location.href=e)}(t,e.href));window.Store.app.theBody.classList.contains("js-firstPageLoad")&&setTimeout(()=>{window.Store.app.theBody.classList.remove("js-firstPageLoad"),window.Store.app.theBody.classList.add("js-doneFirstPageLoad")},window.Store.app.firstLoadDelay);addEventListener("visibilitychange",t=>{setTimeout(()=>{window.Store.app.theBody.classList.remove("js-firstPageLoad")},250)})}(),window.Store.translate_strings=translate_strings,setTimeout(()=>{window.Store.scrollbar.element.update()},window.Store.app.firstLoadDelay)}setTimeout(()=>{Lt()},250)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.