!function(){var e,t,n,o,i={7387:function(){Flatsome.behavior("back-to-top",{attach(e){const t=jQuery(".back-to-top",e);if(!t.length)return;let n=null;window.addEventListener("scroll",(()=>{var e;const o=jQuery(window).scrollTop();n=null!==(e=n)&&void 0!==e?e:jQuery(window).height(),t.toggleClass("active",o>=n)}),{passive:!0})}})},1478:function(){Flatsome.behavior("commons",{attach(e){jQuery("select.resizeselect").resizeselect(),jQuery("[data-parallax]",e).flatsomeParallax(),jQuery.fn.packery&&(jQuery("[data-packery-options], .has-packery",e).each((function(){let e=jQuery(this);e.packery({originLeft:!flatsomeVars.rtl}),setTimeout((function(){e.imagesLoaded((function(){e.packery("layout")}))}),100)})),jQuery(".banner-grid-wrapper").imagesLoaded((function(){jQuery(this.elements).removeClass("processing")}))),"objectFitPolyfill"in window&&window.objectFitPolyfill()},detach(e){}})},7467:function(e,t,n){function o(e){e.addClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!0),function(e){const t=e,o=t.closest(".container").width(),i=t.closest("li.menu-item"),a=i.hasClass("menu-item-design-full-width"),r=i.hasClass("menu-item-design-container-width"),s=i.parent().hasClass("ux-nav-vertical-menu"),l=!a&&!r,c=n.g.flatsomeVars.rtl;if(l&&!s){if(o<750)return!1;var u=t.outerWidth(),d=t.offset(),h=Math.max(document.documentElement.clientWidth,window.innerWidth||0),f=d.left-(h-o)/2;c&&(f=jQuery(window).width()-(d.left+u)-(h-o)/2);var p=t.width(),y=o-(f+p),g=!1;f>y&&fo&&t.addClass("nav-dropdown-full")}if(r){t.css({inset:"0"});const e=t.closest(".container").get(0).getBoundingClientRect(),n=t.get(0).getBoundingClientRect();t.css({width:s?o-i.width():o,...!c&&{left:e.left-n.left+15},...c&&{right:15-(e.right-n.right)}})}if(a){t.css({inset:"0"});const e=document.body,n=e.getBoundingClientRect(),o=t.get(0).getBoundingClientRect(),a=e.clientWidth;t.css({...!c&&{width:s?a-i.get(0).getBoundingClientRect().right:a},...c&&{width:s?i.get(0).getBoundingClientRect().left:a},...!c&&{left:n.left-o.left},...c&&{right:-(n.right-o.right)}})}if((r||a)&&!s){let e=null;if(i.closest("#top-bar").length&&(e=document.querySelector("#top-bar")),i.closest("#masthead").length&&(e=document.querySelector("#masthead")),i.closest("#wide-nav").length&&(e=document.querySelector("#wide-nav")),null!==e){const n=e.getBoundingClientRect(),o=i.get(0).getBoundingClientRect();t.css({top:n.bottom-o.bottom+o.height})}}}(e.find(".nav-dropdown"))}function i(e){e.removeClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!1),e.find(".nav-dropdown").attr("style","")}function a(e){e.each(((e,t)=>{const n=jQuery(t);n.hasClass("current-dropdown")&&i(n)}))}function r(e,t){e.length&&e.addClass(`ux-body-overlay--${t}-active`)}function s(e,t){e.length&&e.removeClass(`ux-body-overlay--${t}-active`)}Flatsome.behavior("dropdown",{attach(e){const t=jQuery(".nav li.has-dropdown",e),n="uxBuilder"===jQuery("html").attr("ng-app"),l=jQuery(".ux-body-overlay"),c="ontouchstart"in window;let u=!1,d=null;jQuery(".header-nav > li > a, .top-bar-nav > li > a",e).on("focus",(()=>{a(t)})),t.each((function(e,h){const f=jQuery(h),p=f.hasClass("nav-dropdown-toggle")&&!c;let y=!1,g=!1;f.on("touchstart click",(function(e){"touchstart"===e.type&&(y=!0),"click"===e.type&&y&&(y&&!g&&e.preventDefault(),g=!0)})),n||p?(u=!0,f.on("click","a:first",(function(e){if(e.preventDefault(),d=f,f.hasClass("current-dropdown"))return i(f),void s(l,"click");a(t),o(f),r(l,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[f])}))):(f.on("keydown","a:first",(function(e){"Space"===e.code&&(e.preventDefault(),f.hasClass("current-dropdown")?(i(f),s(l,"click")):(a(t),o(f),r(l,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[f])))})),f.hoverIntent({sensitivity:3,interval:20,timeout:70,over(e){a(t),o(f),s(l,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[f])},out(){g=!1,y=!1,i(f)}}))})),!n&&u&&jQuery(document).on("click",(function(e){null===d||d===e.target||d.has(e.target).length||(i(d),s(l,"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(){a(t),s(l,"click")}))}})},9086:function(){Flatsome.behavior("nav-hover",{attach(e){const t=jQuery(".ux-body-overlay",e);t.length&&jQuery([".nav-prompts-overlay li.menu-item",".nav-prompts-overlay .header-vertical-menu__opener"].join(", "),e).on({mouseenter:()=>{t.addClass("ux-body-overlay--hover-active")},mouseleave:()=>{t.removeClass("ux-body-overlay--hover-active")}})}})},7725:function(){function e(e){e.attr("aria-hidden","true"),e.find("> li > a, > li > button").attr("tabindex","-1")}Flatsome.behavior("sidebar-slider",{attach(t){const n=jQuery("body").hasClass("mobile-submenu-toggle");jQuery(".mobile-sidebar-slide",t).each(((t,o)=>{const i=parseInt(jQuery(o).data("levels"),10)||1,a=jQuery(".sidebar-menu",o),r=jQuery(".nav-sidebar",o);jQuery(["> li > ul.children","> li > .sub-menu",i>1?"> li > ul.children > li > ul":null].filter(Boolean).join(", "),r).each(((t,o)=>{const i=jQuery(o),r=i.parent(),s=r.parents("ul:first"),l=jQuery(["> .toggle",'> a[href="#"]',n&&"> a"].filter(Boolean).join(","),r),c=r.find("> a").text().trim(),u=i.parents("ul").length,d=Boolean(window.flatsomeVars.rtl),h=jQuery(`\n \n `);i.prepend(h),e(i);let f=null;l.off("click").on("click",(e=>{var t;r.attr("aria-expanded","true"),s.addClass("is-current-parent"),i.addClass("is-current-slide"),a.css("transform",`translateX(${d?"":"-"}${100*u}%)`),(t=i).attr("aria-hidden","false"),t.find("> li > a, > li > button").attr("tabindex",""),clearTimeout(f),e.preventDefault()})),h.find(".toggle").on("click",(()=>{a.css("transform",`translateX(${d?"":"-"}${100*(u-1)}%)`),e(i),f=setTimeout((()=>{i.removeClass("is-current-slide"),s.removeClass("is-current-parent")}),300),r.removeClass("active"),r.attr("aria-expanded","false")}))}))}))}})},1284:function(){Flatsome.behavior("sidebar-tabs",{attach(e){jQuery(".sidebar-menu-tabs",e).each(((e,t)=>{const n=jQuery(t),o=n.find(".sidebar-menu-tabs__tab"),i=n.parent().find("ul.nav-sidebar");o.each(((e,t)=>{jQuery(t).on("click",(function(t){!function(e,t,n){t.each(((t,n)=>jQuery(n).toggleClass("active",t===e))),n.each(((t,n)=>jQuery(n).toggleClass("hidden",t===e)))}(e,o,i),t.preventDefault(),t.stopPropagation()}))}))}))}})},2394:function(){Flatsome.behavior("scroll-to",{attach(){const e=jQuery("span.scroll-to"),t=parseInt(flatsomeVars.sticky_height,10),n=jQuery("#wpadminbar");if(!e.length)return;let o=jQuery(".scroll-to-bullets");o.length?(o.children().lazyTooltipster("destroy"),o.empty()):(o=jQuery('
'),jQuery("body").append(o)),jQuery("li.scroll-to-link").remove(),e.each((function(e,t){let i=jQuery(t),a=i.data("link"),r=i.data("title"),s=`a[href="${a||""}"]`;if(i.data("bullet")){let e=jQuery(`\n \n \n \n `);e.lazyTooltipster({position:"left",delay:50,contentAsHTML:!0,touchDevices:!1}),o.append(e)}let l=jQuery(`\n \n `);jQuery("li.nav-single-page").before(l),setTimeout((function(){jQuery(".scroll-to-link a").attr("data-animated","true")}),300),jQuery(s).off("click").on("click",(function(e){const t=jQuery(this).attr("href").split("#")[1];if(!t)return;let o=i.attr("data-offset");o&&n.length&&n.is(":visible")&&(o=Number(o)+Number(n.height())),setTimeout((()=>{jQuery.scrollTo(`a[name=${t}`,{...!isNaN(o)&&{offset:-o}})}),0),jQuery.fn.magnificPopup&&jQuery.magnificPopup.close(),e.preventDefault()}))}));let i=0;const a=()=>{clearTimeout(i),i=setTimeout((()=>{const n=e.get().map((e=>e.getBoundingClientRect().y));o.find("a").each(((e,o)=>{const i=n[e],a=n[e+1]||window.innerHeight,r=i<=t+100&&a>t+100;jQuery(o).toggleClass("active",r)}))}),100)};if(window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),a(),location.hash){const e=location.hash.replace("#","");let t=jQuery(`a[name=${e}`).closest(".scroll-to").attr("data-offset");t&&n.length&&n.is(":visible")&&(t=Number(t)+Number(n.height())),jQuery.scrollTo(`a[name=${e}`,{...!isNaN(t)&&{offset:-t}})}},detach(){jQuery("span.scroll-to").length&&setTimeout(this.attach,0)}})},5855:function(){function e(e,t,n){t.each(((t,n)=>{jQuery(n).toggleClass("active",t===e),jQuery(n).find("> a").attr("aria-selected",t===e?"true":"false").attr("tabindex",t===e?null:"-1")})),n.each(((t,n)=>jQuery(n).toggleClass("active",t===e))),jQuery.fn.packery&&jQuery("[data-packery-options]",n[e]).packery("layout")}Flatsome.behavior("tabs",{attach(t){const n=window.location.hash;let o=!1;jQuery(".tabbed-content",t).each((function(t,i){const a=jQuery(i),r=a.find("> .nav > li"),s=a.find("> .tab-panels > .panel"),l=a.find("> .nav").hasClass("active-on-hover"),c=a.find("> .nav").hasClass("nav-vertical");s.removeAttr("style"),r.each((function(t,i){const u=jQuery(i).find("a");u.on("click",(function(n){e(t,r,s),n.preventDefault(),n.stopPropagation()})),u.on("keydown",(e=>{let n;switch(e.key){case c?"ArrowDown":"ArrowRight":n=r.eq((t+1)%r.length);break;case c?"ArrowUp":"ArrowLeft":n=r.eq((t-1)%r.length);break;case"Home":n=r.first();break;case"End":n=r.last()}n&&(n.find("> a").trigger("focus"),e.stopPropagation(),e.preventDefault())})),l&&u.hoverIntent({sensitivity:3,interval:20,timeout:70,over(n){e(t,r,s)},out(){}}),n.substring(1).length&&n.substring(1)===u.attr("href")?.split("#")[1]&&(e(t,r,s),o||(o=!0,setTimeout((()=>{jQuery.scrollTo(a)}),500)))}))}))}})},1092:function(){Flatsome.behavior("toggle",{attach(e){function t(e){const t=jQuery(e.currentTarget).parent();t.toggleClass("active"),t.attr("aria-expanded","false"===t.attr("aria-expanded")?"true":"false"),e.preventDefault()}jQuery([".widget ul.children",".nav ul.children",".menu .sub-menu",".mobile-sidebar-levels-2 .nav ul.children > li > ul"].join(", "),e).each((function(){const e=jQuery(this).parents(".nav-slide").length?"right":"down";jQuery(this).parent().addClass("has-child").attr("aria-expanded","false"),jQuery(this).before(``)})),jQuery(".current-cat-parent",e).addClass("active").attr("aria-expanded","true").removeClass("current-cat-parent"),jQuery(".toggle",e).on("click",t);const n=jQuery("body").hasClass("mobile-submenu-toggle");jQuery(".sidebar-menu li.menu-item.has-child",e).each((function(){let e=jQuery(this),o=e.find("> a:first");"#"===o.attr("href")?o.on("click",(function(t){t.preventDefault(),e.toggleClass("active"),e.attr("aria-expanded","false"===e.attr("aria-expanded")?"true":"false")})):n&&o.next(".toggle").length&&o.on("click",t)}))}})},5560:function(){Flatsome.behavior("tooltips",{attach(e){jQuery(".tooltip, .has-tooltip, .tip-top, li.chosen a",e).lazyTooltipster(),jQuery(".tooltip-as-html",e).lazyTooltipster({interactive:!0,contentAsHTML:!0})}})},9075:function(){Flatsome.behavior("youtube",{attach(e){var t,n,o,i,a,r=jQuery(".ux-youtube",e);0!==r.length&&(window.onYouTubePlayerAPIReady=function(){r.each((function(){var e=jQuery(this),t=e.attr("id"),n=e.data("videoid"),o=e.data("loop"),i=e.data("audio");new YT.Player(t,{height:"100%",width:"100%",playerVars:{html5:1,autoplay:1,controls:0,rel:0,modestbranding:1,playsinline:1,showinfo:0,fs:0,loop:o,el:0,playlist:o?n:void 0},videoId:n,events:{onReady:function(e){0===i&&e.target.mute()}}})}))},n="script",o="youtube-jssdk",a=(t=document).getElementsByTagName(n)[0],t.getElementById(o)||((i=t.createElement(n)).id=o,i.src="https://www.youtube.com/player_api",a.parentNode.insertBefore(i,a)))}})},9343:function(e,t,n){n.g.Flatsome={behaviors:{},plugin(e,t,n){n=n||{},jQuery.fn[e]=function(o){if("string"==typeof arguments[0]){var i=null,a=arguments[0],r=Array.prototype.slice.call(arguments,1);return this.each((function(){if(!jQuery.data(this,"plugin_"+e)||"function"!=typeof jQuery.data(this,"plugin_"+e)[a])throw new Error("Method "+a+" does not exist on jQuery."+e);i=jQuery.data(this,"plugin_"+e)[a].apply(this,r)})),"destroy"===a&&this.each((function(){jQuery(this).removeData("plugin_"+e)})),void 0!==i?i:this}if("object"==typeof o||!o)return this.each((function(){jQuery.data(this,"plugin_"+e)||(o=jQuery.extend({},n,o),jQuery.data(this,"plugin_"+e,new t(this,o)))}))}},behavior(e,t){this.behaviors[e]=t},attach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if("string"==typeof e)return this.behaviors.hasOwnProperty(e)&&"function"==typeof this.behaviors[e].attach?this.behaviors[e].attach(t||document):null;for(let e in this.behaviors)"function"==typeof this.behaviors[e].attach&&this.behaviors[e].attach(t||document)},detach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if("string"==typeof e)return this.behaviors.hasOwnProperty(e)&&"function"==typeof this.behaviors[e].detach?this.behaviors[e].detach(t||document):null;for(let e in this.behaviors)"function"==typeof this.behaviors[e].detach&&this.behaviors[e].detach(t||document)}}},5299:function(){jQuery(".section .loading-spin, .banner .loading-spin, .page-loader").fadeOut(),jQuery("#top-link").on("click",(function(e){jQuery.scrollTo(0),e.preventDefault()})),jQuery(".scroll-for-more").on("click",(function(){jQuery.scrollTo(jQuery(this))})),jQuery(".search-dropdown button").on("click",(function(e){jQuery(this).parent().find("input").trigger("focus"),e.preventDefault()})),jQuery(".current-cat").addClass("active"),jQuery("html").removeClass("loading-site"),setTimeout((function(){jQuery(".page-loader").remove()}),1e3),jQuery(".resize-select").resizeselect(),flatsomeVars.user.can_edit_pages&&jQuery(".block-edit-link").each((function(){const e=jQuery(this);let t=e.data("link");const n=e.data("backend"),o=e.data("title"),i=e.parents('[id^="menu-item-"]');if(i.length&&i.hasClass("menu-item-has-block")){const e=i.attr("id").match(/menu-item-(\d+)/);e&&e[1]&&(t+=`&menu_id=${e[1]}`)}jQuery(this).next().addClass("has-block").lazyTooltipster({distance:-15,repositionOnScroll:!0,interactive:!0,contentAsHTML:!0,content:o+'
UX BuilderWP Editor'}),jQuery(this).remove()})),document.addEventListener("uxb_app_ready",(()=>{const e=new URLSearchParams(window.top.location.search),t=parseInt(e.get("menu_id"));t&&setTimeout((()=>{const e=jQuery(`#menu-item-${t}`),n=e.parent().hasClass("ux-nav-vertical-menu");e.hasClass("menu-item-has-block has-dropdown")&&!e.hasClass("current-dropdown")&&(n&&jQuery(".header-vertical-menu__fly-out").addClass("header-vertical-menu__fly-out--open"),jQuery(`#menu-item-${t} a:first`).trigger("click"))}),1e3)})),jQuery("#hotspot").on("click",(function(e){e.preventDefault()})),jQuery(".wpcf7-form .wpcf7-submit").on("click",(function(e){jQuery(this).parent().parent().addClass("processing")})),jQuery(".wpcf7").on("wpcf7invalid wpcf7spam wpcf7mailsent wpcf7mailfailed",(function(e){jQuery(".processing").removeClass("processing")})),jQuery(document).ajaxComplete((function(e,t,n){jQuery(".processing").removeClass("processing")}))},5402:function(e,t,n){jQuery.fn.lazyTooltipster=function(e){return this.each(((t,o)=>{const i=jQuery(o);"string"==typeof e?jQuery.fn.tooltipster&&i.hasClass("tooltipstered")&&i.tooltipster(e):i.one("mouseenter",(t=>{!function(e,t){(jQuery.fn.tooltipster?Promise.resolve():n.e(255).then(n.t.bind(n,8382,23))).then((()=>{e.hasClass("tooltipstered")||e.tooltipster({theme:"tooltipster-default",delay:10,animationDuration:300,...t}),e.tooltipster("show")}))}(i,e)}))}))}},8417:function(){Flatsome.plugin("resizeselect",(function(e,t){jQuery(e).on("change",(function(){var e=jQuery(this),t=e.find("option:selected").val(),n=e.find("option:selected").text(),o=jQuery('').html(n);o.appendTo(e.parent());var i=o.width();o.remove(),e.width(i+7),t&&e.parent().parent().find("input.search-field").focus()})).trigger("change")}))},4944:function(e,t,n){var o,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(o=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},o=n[e]=n[e]||[];return-1==o.indexOf(t)&&o.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var o=n.indexOf(t);return-1!=o&&n.splice(o,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var o=this._onceEvents&&this._onceEvents[e],i=0;i1;return l&&(r/=2),s.offset=i(s.offset),s.over=i(s.over),this.each((function(){if(null!==a){var c,u=n(this),d=u?this.contentWindow||window:this,h=e(d),f=a,p={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=i(f);break}f=u?e(f):e(f,d);case"object":if(0===f.length)return;(f.is||f.style)&&(c=(f=e(f)).offset())}var y=o(s.offset)&&s.offset(d,f)||s.offset;e.each(s.axis.split(""),(function(e,n){var o="x"===n?"Left":"Top",i=o.toLowerCase(),a="scroll"+o,r=h[a](),m=t.max(d,n);if(c)p[a]=c[i]+(u?0:r-h.offset()[i]),s.margin&&(p[a]-=parseInt(f.css("margin"+o),10)||0,p[a]-=parseInt(f.css("border"+o+"Width"),10)||0),p[a]+=y[i]||0,s.over[i]&&(p[a]+=f["x"===n?"width":"height"]()*s.over[i]);else{var v=f[i];p[a]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*m:v}s.limit&&/^\d+$/.test(p[a])&&(p[a]=p[a]<=0?0:Math.min(p[a],m)),!e&&s.axis.length>1&&(r===p[a]?p={}:l&&(g(s.onAfterFirst),p={}))})),g(s.onAfter)}function g(t){var n=e.extend({},s,{queue:!0,duration:r,complete:t&&function(){t.call(d,f,s)}});h.animate(p,n)}}))},t.max=function(t,o){var i="x"===o?"Width":"Height",a="scroll"+i;if(!n(t))return t[a]-e(t)[i.toLowerCase()]();var r="client"+i,s=t.ownerDocument||t.document,l=s.documentElement,c=s.body;return Math.max(l[a],c[a])-Math.min(l[r],c[r])},e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var n=this.get(t);if(t.options.interrupt&&t._last&&t._last!==n)return e(t.elem).stop();var o=Math.round(t.now);n!==o&&(e(t.elem)[t.prop](o),t._last=this.get(t))}},t})?o.apply(t,i):o)||(e.exports=a)}()},9567:function(e){"use strict";e.exports=window.jQuery}},a={};function r(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return i[e].call(n.exports,n,n.exports,r),n.exports}r.m=i,r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},r.d(i,a),i},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=function(e){return Promise.all(Object.keys(r.f).reduce((function(t,n){return r.f[n](e,t),t}),[]))},r.u=function(e){return"js/chunk."+{255:"tooltips",288:"lottie",309:"slider",408:"countup",964:"popups"}[e]+".js"},r.miniCssF=function(e){},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},o="flatsome:",r.l=function(e,t,i,a){if(n[e])n[e].push(t);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u{const n=e(t),o=globalThis.flatsomeVars?.theme.version;return n+(o?"?ver="+o:"")}}(),r.p=globalThis.flatsomeVars?.assets_url??"/",function(){var e={259:0};r.f.j=function(t,n){var o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((function(n,i){o=e[t]=[n,i]}));n.push(o[2]=i);var a=r.p+r.u(t),s=new Error;r.l(a,(function(n){if(r.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var o,i,a=n[0],s=n[1],l=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);l&&l(r)}for(t&&t(n);c1&&void 0!==arguments[1]?arguments[1]:{},n=0;const o=t=>{const o=window.scrollY;e(t,{direction:o>n?"down":"up",scrollY:o}),n=o};return window.addEventListener("scroll",o,{...t,passive:!0}),()=>{window.removeEventListener("scroll",o)}}const u=jQuery("#header"),d=u.find(".header-wrapper"),h=jQuery(".header-top",u),f=jQuery(".header-main",u),p=u.hasClass("has-sticky"),y=u.hasClass("sticky-hide-on-scroll");let g,m,v;function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"down";void 0===m&&void 0===v&&(jQuery(".sticky-shrink .header-wrapper").length?(m=h.hasClass("hide-for-sticky")?h.height():0,m+=f.hasClass("hide-for-sticky")?f.height():0,v=1+m):(m=d.height()+100,v=h.hasClass("hide-for-sticky")?h.height()+1:1)),y?"down"===t||em&&(g=setTimeout(j,100)):e>m?j():e{c(((e,t)=>{let{scrollY:i,direction:a}=t;clearTimeout(g),n.classList.contains(o)||b(i,a)})),g=setTimeout((()=>{window.scrollY&&b(window.scrollY)}),100)}));const k=window.matchMedia("(prefers-reduced-motion: reduce)");let Q=!1;function x(){Q="undefined"==typeof UxBuilder&&k.matches}x(),k.addEventListener?.("change",x);const C=[];let E;function T(){C.length&&(cancelAnimationFrame(E),E=requestAnimationFrame((()=>{for(let e=0;ei||l.top+a.offsetHeight<0))switch(n){case"backgroundImage":p=l.top*o,t.style.backgroundPosition=o?`50% ${p.toFixed(0)}px`:null,t.style.backgroundAttachment=o?"fixed":null;break;case"backgroundElement":p=d*o-r/2,t.style.transform=o?`translate3d(0, ${p.toFixed(2)}px, 0)`:null,t.style.backfaceVisibility=o?"hidden":null;break;case"element":p=h*o,t.style.transform=o?`translate3d(0, ${p.toFixed(2)}px, 0)`:null,t.style.backfaceVisibility=o?"hidden":null,void 0!==t.dataset.parallaxFade&&(t.style.opacity=o?(y=1-f,y*(2-y)).toFixed(2):null)}}(e)}function P(e){return void 0!==e.dataset.parallaxBackground?"backgroundElement":void 0!==e.dataset.parallaxElemenet?"element":""!==e.style.backgroundImage?"backgroundImage":"element"}function _(){return document.documentElement.scrollTop||document.body.scrollTop}function I(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;for(;e&&!F(e).call(e,t);)e=e.parentElement;return e}(e,e.dataset.parallaxContainer||"[data-parallax-container]")||e}function F(e){return e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector}function O(e){return e/10*-1/(2-Math.abs(e)/10)}function B(e){return new IntersectionObserver((function(t){for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:{}})}function D(){return console.warn("Flatsome: Flickity is lazy loaded. Use 'lazyFlickity()' to instantiate and 'flatsome-flickity-ready' event to interact with Flickity instead."),this}function M(){return jQuery.fn.magnificPopup?Promise.resolve():r.e(964).then(r.t.bind(r,4343,23))}window.addEventListener("scroll",T,{passive:!0}),window.addEventListener("resize",T),new MutationObserver(T).observe(document.body,{childList:!0}),window.jQuery&&(window.jQuery.fn.flatsomeParallax=function(e){Q||"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&&(C.push({element:e,type:P(e)}),L(C[C.length-1]))}(t)))}),r(8417),jQuery.fn.flickity||(D.isFlickityStub=!0,jQuery.fn.flickity=D),jQuery.fn.lazyFlickity=function(e){const t=B((n=>{if(n.isIntersecting){if(t.unobserve(n.target),!jQuery.fn.flickity||jQuery.fn.flickity===D)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=M,jQuery.fn.lazyMagnificPopup=function(e){const t=jQuery(this),n=e.delegate?t.find(e.delegate):t;return n.one("click",(o=>{o.preventDefault(),M().then((()=>{t.data("magnificPopup")||t.magnificPopup(e),t.magnificPopup("open",n.index(o.currentTarget)||0)}))})),t},r(5402),r(5299);const S=B((e=>{e.intersectionRatio>0&&(S.unobserve(e.target),setTimeout((()=>{jQuery(e.target).attr("data-animated","true")}),300))}));Flatsome.behavior("animate",{attach(e){jQuery("[data-animate]",e).each(((e,t)=>{const n=jQuery(t);if(0===n.data("animate").length||Q)return n.attr("data-animated","true");S.observe(t)}))},detach(e){jQuery("[data-animate]",e).each(((e,t)=>{jQuery(t).attr("data-animated","false"),S.unobserve(t)}))}}),r(1478);const A=B((e=>{if(e.intersectionRatio>0){A.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")}))}}));Flatsome.behavior("count-up",{attach(e){jQuery("span.count-up",e).each(((e,t)=>{A.observe(t)}))}}),r(7467),Flatsome.behavior("instagram",{attach(e){const t=B((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('

Instagram error: '+e+"

"),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(){s()},beforeClose:function(){l()}}};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(){s()},beforeClose:function(){l()}}})}}),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);M().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(){s()},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(){l()}}})}),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(){s()},open:function(){jQuery(".slider .is-selected .video").trigger("pause")},beforeClose:function(){l()},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);M().then((()=>{var e=t.data("open"),n=t.data("color"),o=t.data("bg"),i=t.data("pos"),a=t.data("visible-after"),r=t.data("class"),c=t.attr("data-focus");t.offset(),t.addClass("current-lightbox-clicked"),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-${i}`,s()},open:function(){jQuery("html").addClass("has-off-canvas"),jQuery("html").addClass("has-off-canvas-"+i),r&&jQuery(".mfp-content").addClass(r),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"),l()},afterClose:function(){jQuery("html").removeClass("has-off-canvas-"+i),jQuery(".current-lightbox-clicked").removeClass("current-lightbox-clicked"),a&&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),!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})})),Q&&(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).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=Q?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&&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 z=B((e=>{e.intersectionRatio>0&&(z.unobserve(e.target),jQuery(e.target).addClass("bg-loaded"))}));Flatsome.behavior("lazy-load-bg",{attach(e){jQuery(".bg",e).each(((e,t)=>{z.observe(t)}))}});const $="flatsome-sticky-sidebar";function H(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($,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,s=0,l=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),c=i+s-n-Math.round(r?.height),d=Math.max(Math.min(c,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=H(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=H(e),d())})),f=c(((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(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=B((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:g,visibilityEnd:m,visibilityStart:v}=n;t.__controls=l,t.setLooping(h),t.setSpeed(parseFloat(p)),t.setDirection(c),"true"!==e&&"scroll"===g||o.playSegments([s(y),s(u)],!0),e||(t.pause(),"scroll"===g&&r({player:`#${d} > .ux-lottie__player`,mode:"scroll",actions:[{visibility:[v/100,m/100],type:"seek",frames:[s(y),s(u)]}]}),"hover"===g&&(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"===g&&t.addEventListener("click",(()=>{if(a)return t.pause(),void(a=!1);t.play(),a=!0})))}))}))}(e.target))}));t.each(((e,t)=>{n.observe(t)}))}}),Q&&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 V=0;let R=0;const q="scrollBehavior"in document.documentElement.style,N=window.getComputedStyle(document.documentElement)["scroll-behavior"];function W(){window.removeEventListener("pointermove",W),window.removeEventListener("touchstart",W),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),V=Math.round(n.height()),t.remove(),window.flatsomeVars.stickyHeaderHeight=V,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",`${V}px`)}(),function(){const e=jQuery("#wpadminbar"),t=e.length&&e.is(":visible")?e.height():0;R=Math.round(window.flatsomeVars.stickyHeaderHeight+t),window.flatsomeVars.scrollPaddingTop=R,jQuery.extend(jQuery.scrollTo.defaults,{axis:"y",duration:Q||q&&"smooth"===N?0:500,offset:-R})}()}document.addEventListener("DOMContentLoaded",(()=>{window.location.hash||window.scrollY>200?W():(window.addEventListener("pointermove",W,{once:!0}),window.addEventListener("touchstart",W,{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=t()}()}();