!function(e){"use strict";var t=window.VAMTAM=window.VAMTAM||{};t.debounce=function(e,t,i){var a;return function(){var n=this,o=arguments,s=i&&!a;clearTimeout(a),a=setTimeout(function(){a=null,i||e.apply(n,o)},t),s&&e.apply(n,o)}},t.offset=function(e){var t=e.getBoundingClientRect(),i=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+i}},t.scroll_handlers=[],t.latestKnownScrollY=0;var i=!1;t.addScrollHandler=function(e){requestAnimationFrame(function(){e.init(),t.scroll_handlers.push(e),e.measure(t.latestKnownScrollY),e.mutate(t.latestKnownScrollY)})},t.onScroll=function(){t.latestKnownScrollY=window.pageYOffset,i||(i=!0,requestAnimationFrame(function(){var e;for(e=0;e<t.scroll_handlers.length;e++)t.scroll_handlers[e].measure(t.latestKnownScrollY);for(e=0;e<t.scroll_handlers.length;e++)t.scroll_handlers[e].mutate(t.latestKnownScrollY);i=!1}))},window.addEventListener("scroll",t.onScroll,{passive:!0}),t.load_script=function(e,t){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,t&&(i.onload=t),document.getElementsByTagName("script")[0].before(i)},t.load_style=function(e,t,i,a){var n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.media=t,n.href=e,i&&(n.onload=i),a?a.after(n):document.getElementsByTagName("link")[0].before(n)}}(),function(e,t){"use strict";var i=[];document.addEventListener("DOMContentLoaded",function(){var t=[];"punchgs"in window?(window.vamtamgs=window.GreenSockGlobals=window.punchgs,window._gsQueue=window._gsDefine=null):(window.vamtamgs=window.GreenSockGlobals={},window._gsQueue=window._gsDefine=null,t.push(window.VAMTAM_FRONT.jspath+"plugins/thirdparty/gsap/TweenLite.min.js",window.VAMTAM_FRONT.jspath+"plugins/thirdparty/gsap/TimelineLite.min.js",window.VAMTAM_FRONT.jspath+"plugins/thirdparty/gsap/plugins/CSSPlugin.min.js")),window.vamtam_greensock_loaded=!1,"scroll-behavior"in document.documentElement.style||t.push(window.VAMTAM_FRONT.jspath+"plugins/thirdparty/smoothscroll.js");var a=0,n=function(){++a>=t.length&&(window.GreenSockGlobals=window._gsQueue=window._gsDefine=null,window.vamtam_greensock_loaded=!0,function(){for(var e=0;e<i.length;e++)i[e].call(window)}())};if(t.length>0)for(var o=0;o<t.length;o++)e.load_script(t[o],n);else n()}),window.vamtam_greensock_wait=function(e){var t=function(){requestAnimationFrame(e)};window.vamtam_greensock_loaded?t():i.push(t)}}(window.VAMTAM),function(){"use strict";var e,t=function(){for(var e,t,i=Array.prototype.slice.call(arguments),a=document.createDocumentFragment();t=i.shift();)if("string"==typeof t)for((e=document.createElement("div")).innerHTML=t;e.firstChild;)a.appendChild(e.firstChild);else a.appendChild(t);return a},i={before:function(){var e=t.apply(this,arguments);this.parentNode.insertBefore(e,this)},after:function(){var e=t.apply(this,arguments);this.parentNode.insertBefore(e,this.nextSibling)},replaceWith:function(){if(this.parentNode){var e=t.apply(this,arguments);this.parentNode.replaceChild(e,this)}},remove:function(){this.parentNode&&this.parentNode.removeChild(this)}},a=["before","after","replaceWith","remove"];["Element","DocumentType","CharacterData"].forEach(function(e){a.forEach(function(t){if(window[e]){if(window[e].prototype[t])return;window[e].prototype[t]=i[t]}})}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var i=e instanceof Node;t.appendChild(i?e:document.createTextNode(String(e)))}),this.insertBefore(t,this.firstChild)}})}),"function"!=typeof Object.assign&&(Object.assign=function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),i=1;i<arguments.length;i++){var a=arguments[i];if(void 0!==a&&null!==a)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n])}return t}),window.Element&&((e=Element.prototype).matches=e.matches||e.matchesSelector||e.webkitMatchesSelector||e.msMatchesSelector||function(e){for(var t=(this.parentNode||this.document).querySelectorAll(e),i=-1;t[++i]&&t[i]!=this;);return!!t[i]}),window.Element&&function(e){e.closest=e.closest||function(e){for(var t=this;t.matches&&!t.matches(e);)t=t.parentNode;return t.matches?t:null}}(Element.prototype)}(),function(e){"use strict";window.VAMTAM=window.VAMTAM||{},window.VAMTAM.MEDIA=window.VAMTAM.MEDIA||{layout:{},fallback:!(window.CSS&&window.CSS.supports&&window.CSS.supports("(--foo: red)"))};var t=[{min:0,max:window.VAMTAM_FRONT.beaver_small,className:"layout-small"},{min:window.VAMTAM_FRONT.beaver_responsive+1,max:1/0,className:"layout-max"},{min:window.VAMTAM_FRONT.beaver_responsive+1,max:window.VAMTAM_FRONT.content_width,className:"layout-max-low"},{min:0,max:window.VAMTAM_FRONT.beaver_responsive,className:"layout-below-max"}];document.addEventListener("DOMContentLoaded",function(){if(document.body.classList.contains("responsive-layout")&&"matchMedia"in window){var e=t.length,i=window.VAMTAM.debounce(function(){for(var i={},a=0;a<e;a++){var n="(min-width: "+t[a].min+"px)";t[a].max!==1/0&&(n+=" and (max-width: "+t[a].max+"px)"),window.matchMedia(n).matches?i[t[a].className]=!0:i[t[a].className]=!1}window.VAMTAM.MEDIA.layout=i},100);window.addEventListener("resize",i,!1),window.addEventListener("load",i,!1),i()}else window.VAMTAM.MEDIA.layout={"layout-max":!0,"layout-below-max":!1}})}(),function(e,t,i){"use strict";window.FLBuilderLayout&&Object.assign(window.FLBuilderLayout,{_initAnchorLinks:function(){}});var a=e("header.main-header"),n=e("#main"),o=e(document.body),s=a.find(".header-contents"),r=document.getElementById("vamtam-megamenu-main-menu-toggle"),l=document.querySelector("#main-menu > .mega-menu-wrap > .mega-menu-toggle"),m=document.querySelector("#main-menu");r&&r.addEventListener("click",function(e){e.preventDefault(),requestAnimationFrame(function(){var e=(l||r).classList.contains("mega-menu-open");r.classList.toggle("mega-menu-open",!e),(l||m).classList.toggle("mega-menu-open",!e)})});var d,c=document.getElementById("vamtam-overlay-menu"),u=document.querySelector(".vamtam-overlay-menu-toggle"),p=!1;document.body.addEventListener("click",function(e){var t=e.target.closest("button");t&&t.classList.contains("vamtam-overlay-menu-toggle")&&function(e){e.preventDefault(),requestAnimationFrame(function(){if(p=!p){d=u.cloneNode(!0);var e=u.getBoundingClientRect();document.body.appendChild(d),Object.assign(d.style,{position:"fixed",top:e.top+"px",left:e.left+"px"}),requestAnimationFrame(function(){c.classList.add("open"),d.classList.add("is-active")})}else d.classList.remove("is-active"),c.classList.remove("open"),setTimeout(function(){requestAnimationFrame(function(){d.remove()})},650)})}(e)});var h,f,w=e("#main-menu .sub-menu");if(w.length){var g=window.VAMTAM.debounce(function(){requestAnimationFrame(function(){var t=window.innerWidth;w.show().removeClass("invert-position").each(function(){e(this).offset().left+e(this).width()>t-50&&e(this).addClass("invert-position")}),w.css("display","")})},100);g(),window.addEventListener("resize",g,!1)}if(m&&m.classList.contains("vamtam-basic-menu")){var v=e(m).find(".sub-menu"),y=e(m).find(".menu-item > a");y.on("click",function(t){if(m.classList.contains("mega-menu-open")){var i=this.parentElement;if(!this.classList.contains("menu-item-on")&&i.classList.contains("menu-item-has-children")){t.preventDefault();var a=e(i).find(".sub-menu");v.attr("style",""),a.attr("style","display: block !important;"),y.not(this).removeClass("menu-item-on"),this.classList.add("menu-item-on")}}})}var b=function(){clearTimeout(h),h=setTimeout(A,200)},A=function(){window.removeEventListener("scroll",b,{passive:!0}),t.blockStickyHeaderAnimation=!1,setTimeout(function(){requestAnimationFrame(function(){document.body.classList.remove("no-sticky-header-animation-tmp")})},50),f&&f()},T=function(e,i,m){requestAnimationFrame(function(){var i=e.offset().top;t.blockStickyHeaderAnimation=!0;var d=0;a.hasClass("layout-standard")||a.hasClass("logo-text-menu")?d=i>=n.offset().top?a.find(".second-row-columns").height():a.height():o.hasClass("no-sticky-header-animation")?d=a.height():(d=s.height(),"stickyHeader"in t&&t.stickyHeader.singleRowStick(),document.body.classList.add("no-sticky-header-animation-tmp")),window.matchMedia("(max-width: "+VAMTAM_FRONT.mobile_header_breakpoint+")").matches&&(d=a.height());var c=i-t.admin_bar_fix-d;f=m,window.addEventListener("scroll",b,{passive:!0}),window.scroll({left:0,top:c,behavior:"smooth"}),e.attr("id")&&(history.pushState?history.pushState(null,null,"#"+e.attr("id")):window.location.hash=e.attr("id")),r&&r.classList.remove("mega-menu-open"),l&&l.classList.remove("mega-menu-open")})};if(window.FLBuilderLayout&&Object.assign(window.FLBuilderLayout,{_scrollToElement:function(e,t){var i=window.FLBuilderLayoutConfig.anchorLinkAnimations;e.length&&(r.classList.remove("mega-menu-open"),l.classList.remove("mega-menu-open"),T(e,i.duration,t))}}),e(document.body).on("click",".vamtam-animated-page-scroll[href], .vamtam-animated-page-scroll [href], .vamtam-animated-page-scroll [data-href], .mega-vamtam-animated-page-scroll[href], .mega-vamtam-animated-page-scroll [href], .mega-vamtam-animated-page-scroll [data-href]",function(t){var i=e(this).prop("href")||e(this).data("href"),a=e("#"+i.split("#")[1]),n=document.createElement("a");n.href=i,a.length&&n.pathname===window.location.pathname&&(r.classList.remove("mega-menu-open"),l.classList.remove("mega-menu-open"),T(a),t.preventDefault())}),""!==window.location.hash&&(e('.vamtam-animated-page-scroll[href*="'+window.location.hash+'"]').length||e('.vamtam-animated-page-scroll [href*="'+window.location.hash+'"]').length||e('.vamtam-animated-page-scroll [data-href*="'+window.location.hash+'"]').length||e('.mega-vamtam-animated-page-scroll[href*="'+window.location.hash+'"]').length||e('.mega-vamtam-animated-page-scroll [href*="'+window.location.hash+'"]').length||e('.mega-vamtam-animated-page-scroll [data-href*="'+window.location.hash+'"]').length)){var L=e(window.location.hash);L.length>0&&e(window).add("html, body, #page").scrollTop(0),setTimeout(function(){T(L)},400)}var M=[];if(e("#main-menu").find(".mega-menu, .menu").find(".maybe-current-menu-item, .mega-current-menu-item, .current-menu-item").each(function(){var t=e("> a",this);if(t.prop("href").indexOf("#")>-1){var i=t.prop("href").split("#")[1];"#"+i!==window.location.hash&&e(this).removeClass("mega-current-menu-item current-menu-item"),M.push([i,e(this),e("#"+i)])}}),M.length){var _=0,x=0,E=null;t.addScrollHandler({init:function(){},add_current_menu_item:function(e){for(var t=0;t<M.length;t++)M[t][0]===e&&(M[t][1][0].classList.add("mega-current-menu-item"),M[t][1][0].classList.add("current-menu-item"))},measure:function(e){_=window.innerHeight,x=document.body.offsetHeight,this.upmost=1/0,this.upmost_data=null;for(var t=0;t<M.length;t++){var i=M[t][2];if(i.length){var a=i.offset().top+10;a>e&&a<this.upmost&&(a<e+_/2||a<e+_&&e+_===x)&&(this.upmost_data=M[t],this.upmost=a)}}},mutate:function(t){for(var i=0;i<M.length;i++)M[i][2].length&&(M[i][1][0].classList.remove("mega-current-menu-item"),M[i][1][0].classList.remove("current-menu-item"),M[i][1][0].childNodes[0].blur());this.upmost_data?(this.add_current_menu_item(this.upmost_data[0]),"history"in window&&(null!==E?E[0]:"")!==this.upmost_data[0]&&(window.history.pushState(this.upmost_data[0],e("> a",this.upmost_data[1]).text(),0!==t?"#"+this.upmost_data[0]:location.href.replace(location.hash,"")),E=e.extend({},this.upmost_data))):null===this.upmost_data&&null!==E&&this.add_current_menu_item(E[0])}})}}(jQuery,window.VAMTAM),function(e,t){"use strict";window.addEventListener("load",function(){var t=document.querySelectorAll("[data-progressive-animation]");!t.length||document.body.classList.contains("fl-builder-active")||window.matchMedia("(prefers-reduced-motion: reduce)").matches||vamtam_greensock_wait(function(){e.addScrollHandler({defaultOptions:{origin:"center center",type:"progressive",exit:!0,delay:0,mobile:!1,pin:!1,pinUnit:"px",pinTrigger:"center"},blockAnimations:!1,canActivate:function(t){return t||!e.MEDIA.layout["layout-below-max"]},buildTimeline:function(e,t){var i=new vamtamgs.TimelineLite({paused:!0}),a=e.getAttribute("data-progressive-animation");if("dummy"===a)i.fromTo(e,1,{opacity:1},{opacity:1},"0"),t&&i.to(e,1,{opacity:1},"1");else if("rotate"===a)i.fromTo(e,1,{rotation:-180},{rotation:0},"0"),t&&i.to(e,1,{rotation:180},"1");else if("fade"===a)i.fromTo(e,1,{opacity:0},{opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-from-top"===a)i.fromTo(e,1,{y:-160,opacity:0},{y:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-from-bottom"===a)i.fromTo(e,1,{y:100,opacity:0},{y:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-50},"1.6");else if("move-from-left"===a)i.fromTo(e,1,{x:-160,opacity:0},{x:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:-100},"1.6");else if("move-from-right"===a)i.fromTo(e,1,{x:160,opacity:0},{x:0,opacity:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:100},"1.6");else if("scale-in"===a)i.fromTo(e,1,{opacity:0,scaleX:0,scaleY:0},{opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6");else if("scale-out"===a)i.fromTo(e,1,{opacity:0,scaleX:2,scaleY:2},{opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6");else if("move-scale-in-from-top"===a)i.fromTo(e,1,{y:-160,opacity:0,scaleX:.6,scaleY:.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-in-from-bottom"===a)i.fromTo(e,1,{y:160,opacity:0,scaleX:.6,scaleY:.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-in-from-left"===a)i.fromTo(e,1,{x:-160,opacity:0,scaleX:.6,scaleY:.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:-100},"1.6");else if("move-scale-in-from-right"===a)i.fromTo(e,1,{x:160,opacity:0,scaleX:.6,scaleY:.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:100},"1.6");else if("move-scale-out-from-top"===a)i.fromTo(e,1,{y:-160,opacity:0,scaleX:1.6,scaleY:1.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-out-from-bottom"===a)i.fromTo(e,1,{y:160,opacity:0,scaleX:1.6,scaleY:1.6},{y:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{y:-100},"1.6");else if("move-scale-out-from-left"===a)i.fromTo(e,1,{x:-160,opacity:0,scaleX:1.6,scaleY:1.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:-100},"1.6");else if("move-scale-out-from-right"===a)i.fromTo(e,1,{x:160,opacity:0,scaleX:1.6,scaleY:1.6},{x:0,opacity:1,scaleX:1,scaleY:1},"0"),t&&i.to(e,.4,{opacity:0},"1.6"),t&&i.to(e,1,{x:100},"1.6");else if("rotate-from-top-right"===a)i.fromTo(e,1,{y:-200,x:120,rotation:-10,opacity:0},{y:0,x:0,rotation:0,opacity:1},"0"),t&&i.fromTo(e,1,{immediateRender:!1,y:0},{y:-70},"1.6");else if("expand-scroll"===a){var n=e.querySelector(".fl-row-content-wrap"),o=e.querySelector(".vamtam-expand-scroll-content"),s=e.vamtamProgressiveTimeline.options.pin;o.style.width=s+"px",o.style.boxSizing="content-box",i.fromTo(o,2,{x:0},{x:-(s-this.winWidth+2*parseInt(getComputedStyle(n).paddingLeft,10))+"px"},0)}else if("page-title"===a){var r=e.querySelector(".page-header-line"),l=e.querySelector(".desc"),m=document.getElementById("sub-header").querySelector(".text-shadow");i.fromTo(e.querySelector("h1"),.9,{y:0,opacity:1},{y:-10,opacity:0,ease:vamtamgs.Quad.easeIn},"0.1"),l&&i.fromTo(l,1,{y:0,opacity:1},{y:30,opacity:0,ease:vamtamgs.Quad.easeIn},"0"),m&&i.to(m,1,{className:"text-shadow shadow-darkened",ease:vamtamgs.Quad.easeIn},"0"),r&&i.to(r,1,{scaleX:0,y:30,opacity:0,ease:vamtamgs.Quad.easeIn},"0")}else"custom"===a&&i.to(e,1,{className:e.getAttribute("data-progressive-animation-custom")},"1");return i},getPinTrigger:function(e){return"center"===e.options.pinTrigger?this.winHeight/2-e.height/2:"bottom"===e.options.pinTrigger?this.winHeight-e.height:"top"===e.options.pinTrigger?0:void 0},calculatePinDuration:function(t){if("parent"===t.vamtamProgressiveTimeline.options.pin)if(e.MEDIA.layout["layout-below-max"])t.vamtamProgressiveTimeline.pinDuration=0;else{var i=t.closest(".fl-row-content");t.vamtamProgressiveTimeline.pinDuration=i.offsetHeight-(t.vamtamProgressiveTimeline.top-e.offset(i).top)}else"pinUnit"in t.vamtamProgressiveTimeline.options&&"vw"===t.vamtamProgressiveTimeline.options.pinUnit?t.vamtamProgressiveTimeline.pinDuration=+t.vamtamProgressiveTimeline.options.pin/100*this.winWidth:t.vamtamProgressiveTimeline.pinDuration=+t.vamtamProgressiveTimeline.options.pin},onresize:function(){var i=this;this.winWidth!==window.innerWidth&&(this.winWidth=window.innerWidth,this.winHeight=window.innerHeight,this.blockAnimations=!0,requestAnimationFrame(function(){for(var a=0;a<t.length;a++)t[a].vamtamProgressiveTimeline.timeline&&t[a].vamtamProgressiveTimeline.timeline.progress(0),t[a].vamtamProgressiveTimeline.wrapper&&(Object.assign(t[a].vamtamProgressiveTimeline.pusher.style,{top:"",width:"",height:""}),Object.assign(t[a].vamtamProgressiveTimeline.wrapper.style,{top:"",width:"",height:"",position:""}));requestAnimationFrame(function(){var a,n,o=window.pageYOffset,s=[];for(a=0;a<t.length;a++){var r=e.offset(t[a]).top;Object.assign(t[a].vamtamProgressiveTimeline,{top:r,height:t[a].offsetHeight,width:t[a].offsetWidth}),i.calculatePinDuration(t[a])}for(a=0;a<t.length;a++){var l=t[a].vamtamProgressiveTimeline;i.canActivate(l.options.mobile)?(l.timeline=i.buildTimeline(t[a],"progressive"===l.options.type&&l.options.exit),l.pusher&&(l.pusher.parentElement.minHeight=l.options.pin+"px",l.pusher.style.height=l.pinDuration+"px",l.pusher.classList.contains("fl-col")||(l.pusher.style.width=l.width+"px"),l.wrapper.style.height=l.height+"px",l.wrapper.style.top=i.getPinTrigger(l)+"px",l.wrapper.classList.add("vamtam-pin-active"))):l.timeline&&("progressive"===l.options.type?l.timeline.totalDuration()>1||!l.options.exit?l.timeline.seek(1):l.timeline.seek(0):l.timeline.seek(1),l.timeline=null,l.pusher&&(l.pusher.parentElement.minHeight="",l.wrapper.classList.remove("vamtam-pin-active"),l.wrapper.style.display="block",s.push(l.wrapper)))}n=s,requestAnimationFrame(function(){n.forEach(function(e){e.style.display=""})}),i.blockAnimations=!1,i.measure(o),i.mutate(o)})}))},init:function(){var i,a;for(this.winHeight=window.innerHeight,this.winWidth=window.innerWidth,i=0;i<t.length;i++){var n=Object.assign({},this.defaultOptions,JSON.parse(t[i].getAttribute("data-vamtam-animation-options"))||{}),o=e.offset(t[i]).top,s=t[i].getBoundingClientRect();t[i].vamtamProgressiveTimeline={top:o,height:Math.floor(s.height),width:Math.floor(s.width),options:n},this.calculatePinDuration(t[i]),t[i].style.transformOrigin=t[i].vamtamProgressiveTimeline.options.origin,this.canActivate(n.mobile)?t[i].vamtamProgressiveTimeline.timeline=this.buildTimeline(t[i],"progressive"===n.type&&n.exit):t[i].vamtamProgressiveTimeline.timeline=null}for(i=0;i<t.length;i++){var r=t[i].vamtamProgressiveTimeline;(a=t[i].closest(".fl-row"))&&a.classList.add("vamtam-animation-inside"),!1!==r.options.pin&&(a.classList.add("vamtam-pin-inside"),r.pusher=document.createElement("div"),r.pusher.classList.add("vamtam-pin-pusher"),t[i].classList.contains("fl-col")&&(r.pusher.classList.add("fl-col"),r.pusher.classList.add("fl-node-"+t[i].attributes["data-node"].value),r.pusher.style.width=""),r.wrapper=document.createElement("div"),r.wrapper.classList.add("vamtam-pin-wrapper"),r.wrapper.style.willChange="transform, position",r.wrapper.style.height=r.height+"px",r.wrapper.style.top=this.getPinTrigger(r)+"px",t[i].before(r.pusher),r.wrapper.appendChild(t[i]),r.pusher.appendChild(r.wrapper),t[i].style.width="100%",r.pusher.parentElement.style.position="relative",r.timeline&&"parent"!==r.options.pin&&(r.pusher.parentElement.style.minHeight=r.options.pin+"px"),this.canActivate(r.options.mobile)&&(Object.assign(r.pusher.style,{width:r.width+"px",height:r.pinDuration+"px"}),r.wrapper.classList.add("vamtam-pin-active")))}window.addEventListener("resize",window.VAMTAM.debounce(this.onresize,100).bind(this),!1)},measure:function(){},mutate:function(e){if(!this.blockAnimations)for(var i=0;i<t.length;i++){var a=t[i].vamtamProgressiveTimeline;if(a.timeline&&e+this.winHeight>a.top){var n,o,s=a.top+a.height/2;if(!1!==a.options.pin)"center"===a.options.pinTrigger?o=e+this.winHeight/2:"bottom"===a.options.pinTrigger?o=e+this.winHeight-a.height/2:"top"===a.options.pinTrigger&&(o=e+a.height/2),n=2*(o-s)/(s+a.pinDuration-a.height-s)-1;else n=1-(s-e)/Math.min(this.winHeight/2,s);n-=a.options.delay,"progressive"===a.options.type?(a.timeline.totalDuration()>1||!t[i].vamtamProgressiveTimeline.options.exit?(n=Math.min(1,Math.max(-1,n)),n+=1):n=Math.min(1,Math.max(0,n)),a.timeline.seek(n)):!a.used&&n>=0?(a.used=!0,a.timeline.timeScale(2).play()):a.used&&!a.timeline.isActive()&&a.timeline.progress()<1&&a.timeline.seek(1)}}}})})},{passive:!0})}(window.VAMTAM),function(e,t){"use strict";var i=!1;e.parallaxBackground={init:function(){this.rows=document.querySelectorAll(".fl-row-bg-parallax");for(var e=0;e<this.rows.length;e++){var t=this.rows[e],i=t.getAttribute("data-parallax-image");if(!t.vamtamParallaxLoaded&&i){var a=new Image;a.addEventListener("load",this.loadImageCallback),a.row=t,a.src=i}}window.addEventListener("resize",window.VAMTAM.debounce(this.onresize,100).bind(this),!1),window.addEventListener("load",window.VAMTAM.debounce(this.onresize,100).bind(this),!1),this.onresize()},loadImageCallback:function(e){var t=e.target.row,i=t.firstElementChild,a=document.createElement("div");a.classList.add("vamtam-parallax-bg"),Object.assign(a.style,{backgroundImage:"url("+e.target.src+")",backgroundSize:t.dataset.backgroundSize,backgroundRepeat:"no-repeat",backgroundPosition:t.dataset.backgroundPosition,position:"absolute",top:"-300px",right:0,bottom:"-300px",left:0,"will-change":"transform"}),requestAnimationFrame(function(){t.vamtamParallaxLoaded=!0;var e=i.querySelector(".fl-node-content");e.before(a),i.style.overflow="hidden",i.style.backgroundImage="none",e.style.zIndex=1,e.style.position="relative"})},onresize:function(){requestAnimationFrame(function(){for(var t=window.pageYOffset,i=0;i<this.rows.length;i++)this.rows[i].vamtamParallaxOffset=e.offset(this.rows[i].firstElementChild);this.measure(t),this.mutate(t)}.bind(this))},measure:function(){},mutate:function(e){for(var t=0;t<this.rows.length;t++)if(this.rows[t].vamtamParallaxLoaded){var i=this.rows[t].getAttribute("data-parallax-speed"),a=-(e-this.rows[t].vamtamParallaxOffset.top)/i;this.rows[t].firstElementChild.firstElementChild.style.transform="translateY("+a+"px)"}}},window.FLBuilderLayout&&Object.assign(window.FLBuilderLayout,{_initParallaxBackgrounds:function(){if(!i)if(i=!0,document.body.classList.contains("fl-builder-active")||window.matchMedia("(prefers-reduced-motion: reduce)").matches)for(var t=document.querySelectorAll(".fl-row-bg-parallax[data-parallax-image]"),a=0;a<t.length;a++){var n=t[a],o=n.getAttribute("data-parallax-image");Object.assign(n.style,{backgroundImage:"url("+o+")",backgroundSize:"cover",backgroundRepeat:"repeat"})}else e.addScrollHandler(e.parallaxBackground)},_scrollParallaxBackgrounds:function(){jQuery(window).off("scroll.fl-bg-parallax")}});var a=function(){i=!1,window.FLBuilderLayout._initParallaxBackgrounds()};window.FLBuilderLayout&&document.addEventListener("DOMContentLoaded",function(){document.body.classList.contains("fl-builder-active")&&(FLBuilder.addHook("didCompleteAJAX",a),FLBuilder.addHook("didRenderLayoutComplete",a),jQuery(FLBuilder._contentClass).on("fl-builder.preview-rendered",a)),window.FLBuilderLayout._initParallaxBackgrounds()})}(window.VAMTAM),function(e,t){"use strict";window.VAMTAM=window.VAMTAM||{},e(function(){var t,i;window.VAMTAM.admin_bar_fix=document.body.classList.contains("admin-bar")?32:0,/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&requestAnimationFrame(function(){document.documentElement.classList.add("ios-safari")}),"FLBuilder"in window&&FLBuilder.addHook("didPublishLayout",function(){window.dispatchEvent(new Event("resize"))}),i=document.getElementById("page"),window.addEventListener("scroll",function(){clearTimeout(t),requestAnimationFrame(function(){i.style.pointerEvents="none",t=setTimeout(function(){i.style.pointerEvents=""},300)})},{passive:!0}),window.VAMTAM.resizeElements=function(){e(".portfolio-image-wrapper,\t\t\t\t#page .media-inner,\t\t\t\t#page .loop-wrapper.news .thumbnail,\t\t\t\t#page .portfolio-image .thumbnail,\t\t\t\t.wp-block-embed-vimeo:not(.wp-has-aspect-ratio),\t\t\t\t:not(.wp-block-embed__wrapper) > .vamtam-video-frame").find("iframe, object, embed, video").each(function(){setTimeout(function(){requestAnimationFrame(function(){var t=this.offsetWidth;this.style.width="100%","0"===this.width&&"0"===this.height?this.style.height=9*t/16+"px":this.style.height=this.height*t/this.width+"px",e(this).trigger("vamtam-video-resized")}.bind(this))}.bind(this),50)}),setTimeout(function(){requestAnimationFrame(function(){e(".mejs-time-rail").css("width","-=1px")})},100)},window.addEventListener("resize",window.VAMTAM.debounce(window.VAMTAM.resizeElements,100),!1),window.VAMTAM.resizeElements()}),document.addEventListener("DOMContentLoaded",function(){window.VAMTAM.load_script(VAMTAM_FRONT.jspath+"build/low-priority.min.js"),window.CSS&&window.CSS.supports&&window.CSS.supports("(--foo: red)")||(window.VAMTAM.load_script(VAMTAM_FRONT.jspath+"plugins/thirdparty/css-variables-polyfill.js"),window.VAMTAM.load_style(VAMTAM_FRONT.jspath+"../css/dist/ie11.css","all"))},{passive:!0})}(jQuery),function(e,t){"use strict";var i,a=window.CSS&&window.CSS.supports&&window.CSS.supports("(--foo: red)");function n(){this.removeEventListener("load",n),requestAnimationFrame(function(){!this.classList.contains("vamtam-lazyload-noparent")&&this.parentElement?this.parentElement.classList.add("image-loaded"):this.classList.add("image-loaded")}.bind(this))}function o(e){var t=e.dataset.srcset;t?(requestAnimationFrame(function(){e.addEventListener("load",n),e.srcset=t}),delete e.dataset.srcset):n.call(e)}function s(){var e,t=document.querySelectorAll("img[data-srcset]");if(!a){var n=document.querySelectorAll(".vamtam-responsive-wrapper:not(.image-loaded), .vamtam-lazyload-noparent:not(.image-loaded)");for(e=0;e<n.length;e++)n[e].classList.add("image-loaded")}if(i&&a)for(e=0;e<t.length;e++)"vamtamLazyLoaded"in t[e]||(t[e].vamtamLazyLoaded=!0,i.observe(t[e]));else for(e=0;e<t.length;e++)"vamtamLazyLoaded"in t[e]||(t[e].vamtamLazyLoaded=!0,o(t[e]));var s=document.querySelectorAll(".vamtam-responsive-wrapper:not(.image-loaded) img:not([srcset])");for(e=0;e<s.length;e++)"vamtamLazyLoaded"in s[e]||(s[e].vamtamLazyLoaded=!0,o(s[e]));var r=document.querySelectorAll(".fl-row-content-wrap:not(.vamtam-show-bg-image), .fl-col-content:not(.vamtam-show-bg-image)");for(e=0;e<r.length;e++)r[e].classList.add("vamtam-show-bg-image")}"IntersectionObserver"in window&&(i=new IntersectionObserver(function(e){e.forEach(function(e){(e.intersectionRatio>0||e.isIntersecting)&&(o(e.target),i.unobserve(e.target))})},{rootMargin:"200px"})),document.addEventListener("DOMContentLoaded",function(){new MutationObserver(s).observe(document.body,{childList:!0,subtree:!0}),s()})}(window.VAMTAM),function(e,t,i){"use strict";function a(){e(document).trigger("vamtam-attempt-cube-load")}e(function(){var i="cubeportfolio"in e.fn,a=!1,n=e(window),o=function(e){requestAnimationFrame(function(){var t=e.find(".cbp-wrapper"),i=e.find(".cbp-wrapper-outer");t.width()<=i.width()?e.addClass("vamtam-cube-narrow"):e.removeClass("vamtam-cube-narrow")})},s=function(){e(".vamtam-cubeportfolio[data-options]:not(.vamtam-cube-loaded)").filter(":visible").each(function(){var t=e(this),i=t.data("options");"singlePageCallback"in i||(i.singlePageDelegate=null),i.singlePageCallback=l[i.singlePageCallback]||null,t.on("initComplete.cbp",function(){"slider"===i.layoutMode&&(o(t),n.on("resize.vamtamcube",function(){o(t)}))}),t.addClass("vamtam-cube-loaded").cubeportfolio(i),t.on("vamtam-video-resized","iframe, object, embed, video",function(){t.data("cubeportfolio").layoutAndAdjustment()}),this.addEventListener("vamtamlazyloaded",function(){t.data("cubeportfolio").layoutAndAdjustment()})})},r=function(){if(document.getElementsByClassName("vamtam-cubeportfolio").length)if(i)s();else if(!a){a=!0;var n=0,o=function(){2==++n&&(i="cubeportfolio"in e.fn,s())};t.load_style(VAMTAM_FRONT.cube_path+"css/cubeportfolio.min.css","all",o,document.getElementById("vamtam-front-all-css")),t.load_script(VAMTAM_FRONT.cube_path+"js/jquery.cubeportfolio.min.js",o)}},l={portfolio:function(t){var i=this;e.ajax({url:t,type:"GET",dataType:"html"}).done(function(t){i.updateSinglePage(t),r(),e(document).trigger("vamtam-single-page-project-loaded")}).fail(function(){i.updateSinglePage("AJAX Error! Please refresh the page!")})}};e(document).on("vamtam-attempt-cube-load",r),r(),window.addEventListener("resize",window.VAMTAM.debounce(r,100),!1),window.addEventListener("load",function(){e(".cbp").each(function(){try{this.data("cubeportfolio").layoutAndAdjustment()}catch(e){}})},!1)}),document.addEventListener("DOMContentLoaded",function(){window.FLBuilder&&(FLBuilder.addHook("didCompleteAJAX",a),FLBuilder.addHook("didRenderLayoutComplete",a)),a()})}(jQuery,window.VAMTAM),function(e,t){"use strict";window.Cookies=window.Cookies||{get:function(e){var t=("; "+document.cookie).split("; "+e+"=");if(2===t.length)return t.pop().split(";").shift()}},e(function(){var t=e(".fixed-header-box .cart-dropdown"),i=e(".vamtam-header-cart-wrapper"),a=e(".vamtam-cart-dropdown-link"),n=e(".products",a),o=e(".widget",t),s=!1,r=!1;"wc_cart_fragments_params"in window&&("jspath"in window.wc_cart_fragments_params?(window.VAMTAM.load_script(window.wc_cart_fragments_params.jspath),window.addEventListener("load",function(){window.VAMTAM.load_style(window.wc_cart_fragments_params.csspath,"all",function(){r=!0})})):r=!0),e(document.body).on("added_to_cart removed_from_cart wc_fragments_refreshed wc_fragments_loaded",function(){if(parseInt(Cookies.get("woocommerce_items_in_cart")||0,10)>0){for(var e=0,a=document.querySelector(".widget_shopping_cart").querySelectorAll("li .quantity"),o=0;o<a.length;o++)e+=parseInt(a[o].innerHTML.split("<span")[0].replace(/[^\d]/g,""),10);e=e>=0?e:"",n.text(e),n.removeClass("cart-empty"),i.removeClass("hidden")}else{var s=t.hasClass("show-if-empty");n.addClass("cart-empty"),n.text("0"),i.toggleClass("hidden",!s)}});var l=0,m=function(){r&&(l=+new Date,t.addClass("state-hover"),o.stop(!0,!0).fadeIn(300,function(){s=!0}))},d=function(){var e=new Date-l;e>1e3?(t.removeClass("state-hover"),o.stop(!0,!0).fadeOut(300,function(){s=!1})):setTimeout(function(){t.is(":hover")||d()},1e3-e)};t.on("mouseenter",function(){m()}).on("mouseleave",function(){d()}),a.on("click",function(e){!a.hasClass("no-dropdown")&&r&&(s?d():m(),e.preventDefault())})})}(jQuery);