1&&void 0!==arguments[1]?arguments[1]:{}})}function O(){return console.warn("Flatsome: Flickity is lazy loaded. Use 'lazyFlickity()' to instantiate and 'flatsome-flickity-ready' event to interact with Flickity instead."),this}function A(){return jQuery.fn.magnificPopup?Promise.resolve():r.e(964).then(r.t.bind(r,4343,23))}window.addEventListener("scroll",C,{passive:!0}),window.addEventListener("resize",C),new MutationObserver(C).observe(document.body,{childList:!0}),window.jQuery&&(window.jQuery.fn.flatsomeParallax=function(e){w||"destroy"!==e&&this.each(((e,t)=>function(e){e.classList.add("parallax-active"),!document.querySelector("body").classList.contains("parallax-mobile")&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||e.classList&&e.dataset&&(Q.push({element:e,type:L(e)}),E(Q[Q.length-1]))}(t)))}),r(8417),jQuery.fn.flickity||(O.isFlickityStub=!0,jQuery.fn.flickity=O),jQuery.fn.lazyFlickity=function(e){const t=F((n=>{if(n.isIntersecting){if(t.unobserve(n.target),!jQuery.fn.flickity||jQuery.fn.flickity===O)return r.e(309).then(r.t.bind(r,2066,23)).then((()=>{jQuery(n.target).flickity(e),jQuery(n.target).trigger("flatsome-flickity-ready")}));jQuery(n.target).flickity(e),jQuery(n.target).trigger("flatsome-flickity-ready")}}));return this.each(((n,o)=>{"string"==typeof e?jQuery.fn.flickity&&jQuery(o).flickity(e):t.observe(o)}))},jQuery.loadMagnificPopup=A,jQuery.fn.lazyMagnificPopup=function(e){const t=jQuery(this),n=e.delegate?t.find(e.delegate):t;return n.one("click",(o=>{o.preventDefault(),A().then((()=>{t.data("magnificPopup")||t.magnificPopup(e),t.magnificPopup("open",n.index(o.currentTarget)||0)}))})),t},r(5402),r(5299);const B=F((e=>{if(e.intersectionRatio>0){B.unobserve(e.target);const t=jQuery(e.target);t.removeAttr("data-animate-transition"),t.removeAttr("data-animated"),window.requestAnimationFrame((()=>{t.attr("data-animate-transform","true"),window.requestAnimationFrame((()=>{t.attr("data-animate-transition","true"),setTimeout((()=>{t.attr("data-animated","true")}),300)}))}))}}));Flatsome.behavior("animate",{attach(e){const t="uxBuilder"===jQuery("html").attr("ng-app");jQuery("[data-animate]",e).each(((e,n)=>{const o=jQuery(n),i=o.data("animate");if(t||0===i.length||w)return o.attr("data-animated","true");B.observe(n)}))},detach(e){jQuery("[data-animate]",e).each(((e,t)=>{jQuery(t).attr("data-animated","false"),B.unobserve(t)}))}}),r(1478);const M=F((e=>{if(e.intersectionRatio>0){M.unobserve(e.target);const t=jQuery(e.target);r.e(408).then(r.bind(r,5288)).then((e=>{let{CountUp:n}=e;const o=parseInt(t.text());new n(t.get(0),o,{decimalPlaces:0,duration:4}).start(),t.addClass("active")}))}}));function D(e){e.addClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!0),function(e){const t=e,n=t.closest(".container").width(),o=t.closest("li.menu-item"),i=o.hasClass("menu-item-design-full-width"),a=o.hasClass("menu-item-design-container-width"),s=o.parent().hasClass("ux-nav-vertical-menu"),l=!i&&!a,c=r.g.flatsomeVars.rtl;if(l&&!s){if(n<750)return!1;var u=t.outerWidth(),d=t.offset(),h=Math.max(document.documentElement.clientWidth,window.innerWidth||0),f=d.left-(h-n)/2;c&&(f=jQuery(window).width()-(d.left+u)-(h-n)/2);var p=t.width(),y=n-(f+p),m=!1;f>y&&fn&&t.addClass("nav-dropdown-full")}if(a){t.css({inset:"0"});const e=t.closest(".container").get(0).getBoundingClientRect(),i=t.get(0).getBoundingClientRect();t.css({width:s?n-o.width():n,...!c&&{left:e.left-i.left+15},...c&&{right:15-(e.right-i.right)}})}if(i){t.css({inset:"0"});const e=document.body,n=e.getBoundingClientRect(),i=t.get(0).getBoundingClientRect(),a=e.clientWidth;t.css({...!c&&{width:s?a-o.get(0).getBoundingClientRect().right:a},...c&&{width:s?o.get(0).getBoundingClientRect().left:a},...!c&&{left:n.left-i.left},...c&&{right:-(n.right-i.right)}})}if((a||i)&&!s){let e=null;if(o.closest("#top-bar").length&&(e=document.querySelector("#top-bar")),o.closest("#masthead").length&&(e=document.querySelector("#masthead")),o.closest("#wide-nav").length&&(e=document.querySelector("#wide-nav")),null!==e){const n=e.getBoundingClientRect(),i=o.get(0).getBoundingClientRect();t.css({top:n.bottom-i.bottom+i.height})}}s&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&t.css({minHeight:t.closest(".header-vertical-menu__fly-out").outerHeight()})}(e.find(".nav-dropdown"))}function S(e){e.removeClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!1),e.find(".nav-dropdown").attr("style","")}function $(e){e.each(((e,t)=>{const n=jQuery(t);n.hasClass("current-dropdown")&&S(n)}))}function H(e,t){e.length&&e.addClass(`ux-body-overlay--${t}-active`)}function z(e,t){e.length&&e.removeClass(`ux-body-overlay--${t}-active`)}Flatsome.behavior("count-up",{attach(e){jQuery("span.count-up",e).each(((e,t)=>{M.observe(t)}))}}),Flatsome.behavior("dropdown",{attach(e){const t=jQuery(".nav li.has-dropdown",e),n="uxBuilder"===jQuery("html").attr("ng-app"),o=jQuery(".ux-body-overlay"),i="ontouchstart"in window;let a=!1,r=null;jQuery(".header-nav > li > a, .top-bar-nav > li > a",e).on("focus",(()=>{$(t)})),t.each((function(e,s){const l=jQuery(s),c=l.hasClass("nav-dropdown-toggle")&&!i;let u=!1,d=!1;l.on("touchstart click",(function(e){"touchstart"===e.type&&(u=!0),"click"===e.type&&u&&(u&&!d&&e.preventDefault(),d=!0)})),n||c?(a=!0,l.on("click","a:first",(function(e){if(e.preventDefault(),r=l,l.hasClass("current-dropdown"))return S(l),void z(o,"click");$(t),D(l),H(o,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[l])}))):(l.on("keydown","a:first",(function(e){"Space"===e.code&&(e.preventDefault(),l.hasClass("current-dropdown")?(S(l),z(o,"click")):($(t),D(l),H(o,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[l])))})),l.hoverIntent({sensitivity:3,interval:20,timeout:70,over(e){$(t),D(l),z(o,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[l])},out(){d=!1,u=!1,S(l)}}))})),!n&&a&&jQuery(document).on("click",(function(e){null===r||r===e.target||r.has(e.target).length||(S(r),z(o,"click"))})),jQuery(document).on("flatsome-dropdown-opened",(function(e,t){t.hasClass("menu-item-has-block")&&jQuery.fn.packery&&t.find("[data-packery-options]").packery("layout")})),jQuery(document).on("flatsome-header-sticky",(function(){$(t),z(o,"click")}))}}),Flatsome.behavior("instagram",{attach(e){const t=F((e=>{if(e.intersectionRatio>0){t.unobserve(e.target);const n=jQuery(e.target),o=n.data("flatsome-instagram"),i=e=>{jQuery("body").hasClass("admin-bar")&&n.before('
"),console.error("Instagram error:",e)};if("string"!=typeof o)return i("Invalid data");jQuery.ajax({url:flatsomeVars.ajaxurl,data:{action:"flatsome_load_instagram",data:o},success(e){if(!e.success)return i(e.data);if("string"!=typeof e.data)return console.error("Invalid Instagram response:",e.data);const t=jQuery(e.data);Flatsome.detach(n),n.replaceWith(t),Flatsome.attach(t)},error(e){i(e)}})}}));jQuery("[data-flatsome-instagram]",e).each(((e,n)=>{t.observe(n)}))}}),Flatsome.behavior("lightbox-gallery",{attach(e){const t={delegate:"a",type:"image",closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,tLoading:'',removalDelay:300,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:'',preload:[0,1]},image:{tError:'The image #%curr% could not be loaded.',verticalFit:!1},callbacks:{beforeOpen:function(){i()},beforeClose:function(){a()}}};jQuery('.lightbox .gallery a[href*=".jpg"], .lightbox .gallery a[href*=".jpeg"], .lightbox .gallery a[href*=".png"], .lightbox a.lightbox-gallery',e).parent().lazyMagnificPopup(t),jQuery(".lightbox .lightbox-multi-gallery",e).length&&jQuery(".lightbox-multi-gallery",e).each((function(){jQuery(this).lazyMagnificPopup(t)}))}}),Flatsome.behavior("lightbox-image",{attach(e){jQuery(['.lightbox *[id^="attachment"] a[href*=".jpg"]','.lightbox *[id^="attachment"] a[href*=".jpeg"]','.lightbox *[id^="attachment"] a[href*=".png"]','.lightbox .wp-block-image a[href*=".jpg"]:not([target="_blank"])','.lightbox .wp-block-image a[href*=".jpeg"]:not([target="_blank"])','.lightbox .wp-block-image a[href*=".png"]:not([target="_blank"])',".lightbox a.image-lightbox",'.lightbox .entry-content a[href*=".jpg"]','.lightbox .entry-content a[href*=".jpeg"]','.lightbox .entry-content a[href*=".png"]'].join(","),e).not([".lightbox a.lightbox-gallery",'.lightbox .gallery a[href*=".jpg"]','.lightbox .gallery a[href*=".jpeg"]','.lightbox .gallery a[href*=".png"]','.lightbox .lightbox-multi-gallery a[href*=".jpg"]','.lightbox .lightbox-multi-gallery a[href*=".jpeg"]','.lightbox .lightbox-multi-gallery a[href*=".png"]'].join(",")).lazyMagnificPopup({type:"image",tLoading:'',closeOnContentClick:!0,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,removalDelay:300,image:{verticalFit:!1},callbacks:{beforeOpen:function(){i()},beforeClose:function(){a()}}})}}),Flatsome.behavior("lightboxes-link",{attach(e){jQuery(".lightbox-by-id",e).each((function(){const t=jQuery(this).attr("id");jQuery('a[href="#'+t+'"]',e).on("click",(e=>{e.preventDefault();const t=jQuery(e.currentTarget);A().then((()=>{let e=t.attr("href").substring(1),n=jQuery(`#${e}.lightbox-by-id`);if(e&&n.length>0){let e=n[0],t=jQuery.magnificPopup.open?300:0;t&&jQuery.magnificPopup.close(),setTimeout((function(){jQuery.magnificPopup.open({removalDelay:300,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,items:{src:e,type:"inline",tLoading:''},callbacks:{beforeOpen:function(){i()},open:function(){if(Flatsome.attach(this.content),jQuery.fn.flickity&&jQuery("[data-flickity-options].flickity-enabled",this.content).each(((e,t)=>{jQuery(t).flickity("resize")})),jQuery.fn.packery){const e=jQuery("[data-packery-options]",this.content);e&&e.imagesLoaded((function(){e.packery("layout")}))}},beforeClose:function(){a()}}})}),t)}}))}))}))}}),Flatsome.behavior("lightbox-video",{attach(e){jQuery('a.open-video, a.button[href*="vimeo"]:not(.product_type_external), a.button[href*="youtube.com/watch"]:not(.product_type_external)',e).lazyMagnificPopup({type:"iframe",closeBtnInside:flatsomeVars.lightbox.close_btn_inside,mainClass:"my-mfp-video",closeMarkup:flatsomeVars.lightbox.close_markup,tLoading:'',removalDelay:300,preloader:!0,callbacks:{elementParse:function(e){/^.*\.(mp4)$/i.test(e.src)&&(e.type="inline",e.src='')},beforeOpen:function(){i()},open:function(){jQuery(".slider .is-selected .video").trigger("pause")},beforeClose:function(){a()},close:function(){jQuery(".slider .is-selected .video").trigger("play")}}})}}),Flatsome.behavior("lightboxes",{attach(e){jQuery("[data-open]",e).on("click",(e=>{e.preventDefault();const t=jQuery(e.currentTarget);A().then((()=>{var e=t.data("open"),n=t.data("color"),o=t.data("bg"),r=t.data("pos"),s=t.data("visible-after"),l=t.data("class"),c=t.attr("data-focus");t.offset(),t.addClass("current-lightbox-clicked"),"#product-sidebar"===e&&void 0===s&&(s=!jQuery(e).hasClass("mfp-hide")),jQuery.magnificPopup.open({items:{src:e,type:"inline",tLoading:''},removalDelay:300,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,focus:c,callbacks:{beforeOpen:function(){this.st.mainClass=`off-canvas ${n||""} off-canvas-${r}`,i()},open:function(){jQuery("html").addClass("has-off-canvas"),jQuery("html").addClass("has-off-canvas-"+r),l&&jQuery(".mfp-content").addClass(l),o&&jQuery(".mfp-bg").addClass(o),jQuery(".mfp-content .resize-select").change(),jQuery.fn.packery&&jQuery("[data-packery-options], .has-packery").packery("layout"),jQuery(".equalize-box",this.content).length&&Flatsome.attach("equalize-box",this.content)},beforeClose:function(){jQuery("html").removeClass("has-off-canvas"),a()},afterClose:function(){jQuery("html").removeClass("has-off-canvas-"+r),jQuery(".current-lightbox-clicked").removeClass("current-lightbox-clicked"),s&&jQuery(e).removeClass("mfp-hide")}}})}))}))}}),Flatsome.behavior("slider",{attach(e){var t;(t=jQuery(e).data("flickityOptions")?jQuery(e):jQuery("[data-flickity-options]",e)).length&&t.each(((e,t)=>{var n=jQuery(t),o=n.closest(".slider-wrapper"),i=n.data("flickity-options");if("undefined"!=typeof UxBuilder&&(i.draggable=!1),!0===i.watchCSS)return;let a=!1,r=!1;const s=e=>{try{a=t.contains(e.target),"number"!=typeof i.autoPlay||!i.pauseAutoPlayOnHover||a||r||n.flickity("playPlayer")}catch(e){}};n.on("flatsome-flickity-ready",(function(){n.find(".flickity-slider > :not(.is-selected) .video-bg").trigger("pause"),n.find(".is-selected .video-bg").trigger("play"),"requestAnimationFrame"in window&&(n.removeClass("flickity-enabled"),window.requestAnimationFrame((()=>{n.addClass("flickity-enabled")})));const e=n.data("flickity");if(e&&i.parallax){const t=n.find(".bg, .flickity-slider > .img img");n.addClass("slider-has-parallax"),n.on("scroll.flickity",(function(n,o){e.slides.forEach((function(n,o){const a=t[o],r=-1*(n.target+e.x)/i.parallax;a&&(a.style.transform="translateX( "+r+"px)")}))}))}document.addEventListener("touchstart",s,{passive:!0})})),w&&(i.friction=1,i.selectedAttraction=1,i.autoPlay=!1),n.lazyFlickity(i),n.imagesLoaded((function(){o.find(".loading-spin").fadeOut()})),n.on("change.flickity",(function(){a&&(r=!0),n.find(".flickity-slider > :not(.is-selected) .video-bg").trigger("pause"),n.find(".is-selected .video-bg").trigger("play")})),n.on("dragStart.flickity",(function(){document.ontouchmove=e=>e.preventDefault(),n.addClass("is-dragging")})),n.on("dragEnd.flickity",(function(){document.ontouchmove=()=>!0,n.removeClass("is-dragging")})),n.on("destroy.flickity",(()=>{document.removeEventListener("touchstart",s)}))}))},detach(e){jQuery.fn.flickity&&!jQuery.fn.flickity.isFlickityStub&&(jQuery(e).data("flickityOptions")?jQuery(e).flickity("destroy"):jQuery("[data-flickity-options]",e).each((function(){jQuery(this).data("flickity")&&jQuery(this).flickity("destroy")})))}}),r(5855),r(1092),r(7725),r(1284),r(9086),r(7387),r(2394),Flatsome.behavior("accordion-title",{attach(e){const t=window.location.hash;let n=!1;jQuery(".accordion-title",e).each((function(){jQuery(this).off("click.flatsome").on("click.flatsome",(function(e){const t=w?0:200;jQuery(this).next().is(":hidden")?(jQuery(this).parent().parent().find(".accordion-title").attr("aria-expanded",!1).removeClass("active").next().slideUp(t),jQuery(this).attr("aria-expanded",!jQuery(this).hasClass("active")).toggleClass("active").next().slideDown(t,(function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)&&jQuery.scrollTo(jQuery(this).prev())})),window.requestAnimationFrame((()=>{jQuery.fn.flickity&&jQuery(this).next().find("[data-flickity-options].flickity-enabled").each(((e,t)=>{jQuery(t).flickity("resize")})),jQuery.fn.packery&&jQuery(this).next().find("[data-packery-options]").packery("layout")}))):jQuery(this).parent().parent().find(".accordion-title").attr("aria-expanded",!1).removeClass("active").next().slideUp(t),e.preventDefault()})),!t.substring(1).length||decodeURIComponent(t.substring(1))!==jQuery(this).attr("href")?.split("#")[1]&&t.substring(1)!==jQuery(this).attr("href")?.split("#")[1]||(jQuery(this).hasClass("active")||jQuery(this).trigger("click"),n||(n=!0,setTimeout((()=>{jQuery.scrollTo(jQuery(this).parent())}),500)))}))}}),r(5560);const V=F((e=>{e.intersectionRatio>0&&(V.unobserve(e.target),jQuery(e.target).addClass("bg-loaded"))}));Flatsome.behavior("lazy-load-bg",{attach(e){jQuery(".bg",e).each(((e,t)=>{V.observe(t)}))}});const R="flatsome-sticky-sidebar";function q(e){const t=e.getBoundingClientRect();return new DOMRect(t.width,t.top+window.scrollY,0,t.height)}Flatsome.behavior("sticky-sidebar",{attach(e){jQuery('.is-sticky-column[data-sticky-mode="javascript"]',e).each(((e,t)=>{"ResizeObserver"in window&&t.offsetParent&&t.offsetParent!==document.body?jQuery(t).data(R,function(e){const{offsetParent:t}=e,n=parseInt(flatsomeVars.sticky_height,10)+30,o={passive:!0,capture:!1};if(!t||t===document.body)return;let{innerHeight:i}=window,a=null,r=null,l=0,c=null,u=null;const d=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"down";const o=window.scrollY+n-Math.round(a?.top),s=i+l-n-Math.round(r?.height),d=Math.max(Math.min(s,Math.round(a?.height-r?.height)),0);let h=null,f=null;!a||r?.height{let{target:o,contentRect:i}=n;if(o===t){const e=q(t),{x:n,y:o,width:r,height:s}=i;a=new DOMRect(e.x+n,e.y+o,r,s)}else o===e&&(r=q(e),d())})),f=s(((e,t)=>{let{direction:n}=t;return d(n)}),o),p=()=>{i=window.innerHeight,d()};return h?.observe(t),h?.observe(e),window.addEventListener("resize",p,o),()=>{f(),h?.disconnect(),window.removeEventListener("resize",p)}}(t)):jQuery(t).removeAttr("data-sticky-mode")}))},detach(e){jQuery('.is-sticky-column[data-sticky-mode="javascript"]',e).each(((e,t)=>{jQuery(t).data(R)?.()}))}}),r(9075),Flatsome.behavior("lottie",{attach(e){if("uxBuilder"===jQuery("html").attr("ng-app"))return;const t=jQuery(".ux-lottie__player",e);if(0===t.length)return;const n=F((e=>{e.isIntersecting&&(n.unobserve(e.target),function(e){const t=e,n=JSON.parse(t.dataset.params);let o=null,i=null,a=!1;function s(e){if(0===parseInt(e))return i.ip;if(100===parseInt(e))return i.op;const t=parseInt(i.ip),n=e*(parseInt(i.op)-t)/100+t;return Math.ceil(n)}Promise.all([r.e(288).then(r.bind(r,4600)),r.e(288).then(r.bind(r,5534))]).then((e=>{let[,{create:r}]=e;t.load(n.src),t.addEventListener("ready",(()=>{o=t.getLottie(),i=o.animationData;const{autoplay:e,controls:l,direction:c,end:u,id:d,loop:h,mouseout:f,speed:p,start:y,trigger:m,scrollActionType:g,visibilityEnd:v,visibilityStart:b}=n;t.__controls=l,t.setLooping(h),t.setSpeed(parseFloat(p)),t.setDirection(c),"true"!==e&&"scroll"===m||o.playSegments([s(y),s(u)],!0),e||(t.pause(),"scroll"===m&&r({player:`#${d} .ux-lottie__player`,mode:"scroll",actions:[{visibility:[b/100,v/100],type:g,frames:[s(y),s(u)]}]}),"hover"===m&&(t.addEventListener("mouseenter",(()=>{"reverse"===f?(t.setDirection(c),t.play()):t.play()})),t.addEventListener("mouseleave",(()=>{"reverse"===f?(t.setDirection(-1===c?1:-1),t.play()):t.pause()}))),"click"===m&&t.addEventListener("click",(()=>{if(a)return t.pause(),void(a=!1);t.play(),a=!0})))}))}))}(e.target))}));t.each(((e,t)=>{n.observe(t)}))}}),w&&window.flatsomeVars.user.can_edit_pages&&("Prefer reduced motion is active on your OS","The prefers-reduced-motion media feature is used to detect if the user has requested the system minimize the amount of non-essential motion it uses. With this option enabled, slides & animations are reduced on the frontend.\nCheck your OS documentation on how to disable reduced motion.",console.groupCollapsed("%cFlatsome%c: Prefer reduced motion is active on your OS","color: #0693e3; font-weight: bold;","color: inherit;"),console.log("The prefers-reduced-motion media feature is used to detect if the user has requested the system minimize the amount of non-essential motion it uses. With this option enabled, slides & animations are reduced on the frontend.\nCheck your OS documentation on how to disable reduced motion."),console.groupEnd());let N=0;let W=0;const U="scrollBehavior"in document.documentElement.style,Y=window.getComputedStyle(document.documentElement)["scroll-behavior"];function X(){window.removeEventListener("keydown",X),window.removeEventListener("pointermove",X),window.removeEventListener("touchstart",X),function(){const e=jQuery("#header");if(!e.hasClass("has-sticky"))return;const t=e.clone();t.attr("id","header-clone").css("visibility","hidden");const n=t.find(".header-wrapper");n.addClass("stuck"),jQuery("body").append(t),N=Math.round(n.height()),t.remove(),window.flatsomeVars.stickyHeaderHeight=N,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";t&&document.documentElement.style.setProperty(e,t),window.getComputedStyle(document.documentElement).getPropertyValue(e)}("--flatsome--header--sticky-height",`${N}px`)}(),function(){const e=jQuery("#wpadminbar"),t=e.length&&e.is(":visible")?e.height():0;W=Math.round(window.flatsomeVars.stickyHeaderHeight+t),window.flatsomeVars.scrollPaddingTop=W,jQuery.extend(jQuery.easing,{fsEaseInOutExpo:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}}),jQuery.extend(jQuery.scrollTo.defaults,{axis:"y",duration:w||U&&"smooth"===Y?0:1e3,offset:-W,easing:"fsEaseInOutExpo"})}()}document.addEventListener("DOMContentLoaded",(()=>{window.location.hash||window.scrollY>200?X():(window.addEventListener("keydown",X,{once:!0}),window.addEventListener("pointermove",X,{once:!0}),window.addEventListener("touchstart",X,{once:!0}))}));for(const e of["touchstart","touchmove"])jQuery.event.special[e]={setup(t,n,o){this.addEventListener&&this.addEventListener(e,o,{passive:!n.includes("noPreventDefault")})}};for(const e of["wheel","mousewheel"])jQuery.event.special[e]={setup(t,n,o){this.addEventListener&&this.addEventListener(e,o,{passive:!0})}};jQuery((()=>r.g.Flatsome.attach(document))),r.g.cookie=function(e,t,n){if(void 0===t){const t=("; "+window.document.cookie).split(`; ${e}=`);return 2===t.length?t.pop().split(";").shift():null}{!1===t&&(n=-1);let o="";if(n){const e=new Date;e.setTime(e.getTime()+24*n*60*60*1e3),o=`; expires=${e.toGMTString()}`}window.document.cookie=`${e}=${t}${o}; path=/`}}}()}();