!function(t){function e(e){for(var n,o,r=e[0],a=e[1],s=0,c=[];s{o.preventDefault(),i().then(()=>{e.data("magnificPopup")||e.magnificPopup(t),e.magnificPopup("open",n.index(o.currentTarget)||0)})}),e}},function(t,e,n){"use strict";function i(t){return new IntersectionObserver((function(e){for(let n=0;nt.Flatsome.attach(document)),t.cookie=i.a}.call(this,n(4))},function(t,e,n){var i,o;!function(r,a){"use strict";i=[n(12)],void 0===(o=function(t){return function(t,e){var n=t.jQuery,i=t.console;function o(t,e){for(var n in e)t[n]=e[n];return t}var r=Array.prototype.slice;function a(t,e,s){if(!(this instanceof a))return new a(t,e,s);var l,c=t;"string"==typeof t&&(c=document.querySelectorAll(t)),c?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?r.call(l):[l]),this.options=o({},this.options),"function"==typeof e?s=e:o(this.options,e),s&&this.on("always",s),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):i.error("Bad element for imagesLoaded "+(c||t))}a.prototype=Object.create(e.prototype),a.prototype.options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&s[e]){for(var n=t.querySelectorAll("img"),i=0;i1;return l&&(a/=2),s.offset=o(s.offset),s.over=o(s.over),this.each((function(){if(null!==r){var c,u=n(this),d=u?this.contentWindow||window:this,h=t(d),f=r,p={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=o(f);break}f=u?t(f):t(f,d);case"object":if(0===f.length)return;(f.is||f.style)&&(c=(f=t(f)).offset())}var y=i(s.offset)&&s.offset(d,f)||s.offset;t.each(s.axis.split(""),(function(t,n){var i="x"===n?"Left":"Top",o=i.toLowerCase(),r="scroll"+i,a=h[r](),m=e.max(d,n);if(c)p[r]=c[o]+(u?0:a-h.offset()[o]),s.margin&&(p[r]-=parseInt(f.css("margin"+i),10)||0,p[r]-=parseInt(f.css("border"+i+"Width"),10)||0),p[r]+=y[o]||0,s.over[o]&&(p[r]+=f["x"===n?"width":"height"]()*s.over[o]);else{var v=f[o];p[r]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*m:v}s.limit&&/^\d+$/.test(p[r])&&(p[r]=p[r]<=0?0:Math.min(p[r],m)),!t&&s.axis.length>1&&(a===p[r]?p={}:l&&(g(s.onAfterFirst),p={}))})),g(s.onAfter)}function g(e){var n=t.extend({},s,{queue:!0,duration:a,complete:e&&function(){e.call(d,f,s)}});h.animate(p,n)}}))},e.max=function(e,i){var o="x"===i?"Width":"Height",r="scroll"+o;if(!n(e))return e[r]-t(e)[o.toLowerCase()]();var a="client"+o,s=e.ownerDocument||e.document,l=s.documentElement,c=s.body;return Math.max(l[r],c[r])-Math.min(l[a],c[a])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var n=this.get(e);if(e.options.interrupt&&e._last&&e._last!==n)return t(e.elem).stop();var i=Math.round(e.now);n!==i&&(t(e.elem)[e.prop](i),e._last=this.get(e))}},e})?i.apply(e,o):i)||(t.exports=r)}()},function(t,e){!function(){"use strict";var t=0,e={};function n(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=n.Adapter.extend({},n.defaults,i),this.element=this.options.element,this.adapter=new n.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=n.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=n.Context.findOrCreateByElement(this.options.context),n.offsetAliases[this.options.offset]&&(this.options.offset=n.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}n.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},n.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},n.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},n.prototype.disable=function(){return this.enabled=!1,this},n.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},n.prototype.next=function(){return this.group.next(this)},n.prototype.previous=function(){return this.group.previous(this)},n.invokeAll=function(t){var n=[];for(var i in e)n.push(e[i]);for(var o=0,r=n.length;oi.oldScroll?i.forward:i.backward;for(var r in this.waypoints[n]){var a=this.waypoints[n][r];if(null!==a.triggerPoint){var s=i.oldScroll=a.triggerPoint;(s&&l||!s&&!l)&&(a.queueTrigger(o),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?i.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?i.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;i-1&&(f=Math.ceil(a.contextDimension*f/100))),l=a.contextScroll-a.contextOffset,h.triggerPoint=Math.floor(y+l-f),c=p=a.oldScroll,d=!c&&!u,!g&&c&&u?(h.queueTrigger(a.backward),o[h.group.id]=h.group):(!g&&d||g&&a.oldScroll>=h.triggerPoint)&&(h.queueTrigger(a.forward),o[h.group.id]=h.group)}}return i.requestAnimationFrame((function(){for(var t in o)o[t].flushTriggers()})),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in n)n[t].refresh()},r.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){o&&o(),r.refreshAll()},i.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},i.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var n={vertical:{},horizontal:{}},i=window.Waypoint;function o(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}o.prototype.add=function(t){this.waypoints.push(t)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var r=0,a=i.length;r-1&&this.waypoints.splice(e,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(t){return n[t.axis][t.name]||new o(t)},i.Group=o}(),function(){"use strict";var t=window.jQuery,e=window.Waypoint;function n(e){this.$element=t(e)}t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(t,e){n.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}})),t.each(["extend","inArray","isEmptyObject"],(function(e,i){n[i]=t[i]})),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n}(),function(){"use strict";var t=window.Waypoint;function e(e){return function(){var n=[],i=arguments[0];return e.isFunction(arguments[0])&&((i=e.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var o=e.extend({},i,{element:this});"string"==typeof o.context&&(o.context=e(this).closest(o.context)[0]),n.push(new t(o))})),n}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}()},function(t,e,n){(function(t){t.Flatsome={behaviors:{},plugin(t,e,n){n=n||{},jQuery.fn[t]=function(i){if("string"==typeof arguments[0]){var o=null,r=arguments[0],a=Array.prototype.slice.call(arguments,1);return this.each((function(){if(!jQuery.data(this,"plugin_"+t)||"function"!=typeof jQuery.data(this,"plugin_"+t)[r])throw new Error("Method "+r+" does not exist on jQuery."+t);o=jQuery.data(this,"plugin_"+t)[r].apply(this,a)})),"destroy"===r&&this.each((function(){jQuery(this).removeData("plugin_"+t)})),void 0!==o?o:this}if("object"==typeof i||!i)return this.each((function(){jQuery.data(this,"plugin_"+t)||(i=jQuery.extend({},n,i),jQuery.data(this,"plugin_"+t,new e(this,i)))}))}},behavior(t,e){this.behaviors[t]=e},attach(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if("string"==typeof t)return this.behaviors.hasOwnProperty(t)&&"function"==typeof this.behaviors[t].attach?this.behaviors[t].attach(e||document):null;for(let t in this.behaviors)"function"==typeof this.behaviors[t].attach&&this.behaviors[t].attach(e||document)},detach(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;if("string"==typeof t)return this.behaviors.hasOwnProperty(t)&&"function"==typeof this.behaviors[t].detach?this.behaviors[t].detach(e||document):null;for(let t in this.behaviors)"function"==typeof this.behaviors[t].detach&&this.behaviors[t].detach(e||document)}}}).call(this,n(4))},function(t,e,n){"use strict";var i=n(0);const o=jQuery("#wrapper"),r=jQuery("#header"),a=jQuery(".header-top",r),s=jQuery("#wpadminbar"),l=s.length&&s.is(":visible")?s.height():0,c=r.hasClass("has-sticky"),u=r.hasClass("sticky-hide-on-scroll");let d=-jQuery(".header-wrapper").height()-100,h=a.hasClass("hide-for-sticky")?-a.height()-1:-1;if(jQuery(".sticky-shrink .header-wrapper").length){let t=a.hasClass("hide-for-sticky")?a.height():0;d=-1-t+l,h=-1-t}if(c&&(r.find(".header-wrapper").waypoint((function(t){var e=jQuery(this.element),n=r.height();"down"===t&&(jQuery(document).trigger("flatsome-header-sticky"),e.addClass("stuck"),r.height(n),jQuery(".has-transparent").removeClass("transparent"),jQuery(".toggle-nav-dark").removeClass("nav-dark"))}),{offset:d}),o.waypoint((function(t){Object(i.c)()||"up"===t&&(r.height(""),jQuery(".header-wrapper").removeClass("stuck"),jQuery(".has-transparent").addClass("transparent"),jQuery(".toggle-nav-dark").addClass("nav-dark"))}),{offset:h+l}),u)){let t,e=0;jQuery(window).on("scroll",()=>{if(Object(i.c)())return;clearTimeout(t);let n=jQuery(window).scrollTop();const o=jQuery(".header-wrapper");n>=o.outerHeight()&&(n<=e?(o.addClass("stuck"),r.removeClass("sticky-hide-on-scroll--active")):(o.removeClass("stuck"),r.addClass("sticky-hide-on-scroll--active"))),t=setTimeout((function(){e=jQuery(window).scrollTop()}),100)})}},function(t,e){},function(t,e,n){"use strict";var i=n(1);const o=[];let r;function a(){o.length&&(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{for(let t=0;to||l.top+r.offsetHeight<0))switch(n){case"backgroundImage":m=l.top*i,e.style.backgroundPosition=i?"50% ".concat(m.toFixed(0),"px"):null,e.style.backgroundAttachment=i?"fixed":null;break;case"backgroundElement":m=p*i-a/2,e.style.transform=i?"translate3d(0, ".concat(m.toFixed(2),"px, 0)"):null,e.style.backfaceVisibility=i?"hidden":null;break;case"element":m=y*i,e.style.transform=i?"translate3d(0, ".concat(m.toFixed(2),"px, 0)"):null,e.style.backfaceVisibility=i?"hidden":null,void 0!==e.dataset.parallaxFade&&(e.style.opacity=i?(v=1-g,v*(2-v)).toFixed(2):null)}}(t)}function l(t){return void 0!==t.dataset.parallaxBackground?"backgroundElement":void 0!==t.dataset.parallaxElemenet?"element":""!==t.style.backgroundImage?"backgroundImage":"element"}function c(){return document.documentElement.scrollTop||document.body.scrollTop}function u(t){return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;for(;t&&!d(t).call(t,e);)t=t.parentElement;return t}(t,t.dataset.parallaxContainer||"[data-parallax-container]")||t}function d(t){return t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector}function h(t){return t/10*-1/(2-Math.abs(t)/10)}window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),new MutationObserver(a).observe(document.body,{childList:!0}),window.jQuery&&(window.jQuery.fn.flatsomeParallax=function(t){i.a||"destroy"!==t&&this.each((t,e)=>function(t){t.classList.add("parallax-active"),!document.querySelector("body").classList.contains("parallax-mobile")&&/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||t.classList&&t.dataset&&(o.push({element:t,type:l(t)}),s(o[o.length-1]))}(e))})},function(t,e){Flatsome.plugin("resizeselect",(function(t,e){jQuery(t).change((function(){var t=jQuery(this),e=t.find("option:selected").val(),n=t.find("option:selected").text(),i=jQuery('').html(n);i.appendTo(t.parent());var o=i.width();i.remove(),t.width(o+7),e&&t.parent().parent().find("input.search-field").focus()})).change()}))},function(t,e,n){"use strict";var i=n(3);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}jQuery.fn.flickity||(jQuery.fn.flickity=o),jQuery.fn.lazyFlickity=function(t){const e=Object(i.a)(i=>{if(i.isIntersecting){if(e.unobserve(i.target),!jQuery.fn.flickity||jQuery.fn.flickity===o)return n.e(5).then(n.t.bind(null,54,7)).then(()=>{jQuery(i.target).flickity(t),jQuery(i.target).trigger("flatsome-flickity-ready")});jQuery(i.target).flickity(t),jQuery(i.target).trigger("flatsome-flickity-ready")}});return this.each((n,i)=>{"string"==typeof t?jQuery.fn.flickity&&jQuery(i).flickity(t):e.observe(i)})}},function(t,e,n){jQuery.fn.lazyTooltipster=function(t){return this.each((e,i)=>{const o=jQuery(i);"string"==typeof t?jQuery.fn.tooltipster&&o.hasClass("tooltipstered")&&o.tooltipster(t):o.one("mouseenter",e=>{!function(t,e){(jQuery.fn.tooltipster?Promise.resolve():n.e(3).then(n.t.bind(null,55,7))).then(()=>{t.hasClass("tooltipstered")||t.tooltipster(e),t.tooltipster("show")})}(o,t)})})}},function(t,e){jQuery(".section .loading-spin, .banner .loading-spin, .page-loader").fadeOut(),jQuery("#top-link").on("click",(function(t){jQuery.scrollTo(0,300),t.preventDefault()})),jQuery(".scroll-for-more").on("click",(function(){jQuery.scrollTo(jQuery(this),{duration:300})})),jQuery(".search-dropdown button").on("click",(function(t){jQuery(this).parent().find("input").trigger("focus"),t.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 t=jQuery(this);let e=t.data("link");const n=t.data("backend"),i=t.data("title"),o=t.parents('[id^="menu-item-"]');if(o.length&&o.hasClass("menu-item-has-block")){const t=o.attr("id").match(/menu-item-(\d+)/);t&&t[1]&&(e+="&menu_id=".concat(t[1]))}jQuery(this).next().addClass("has-block").lazyTooltipster({animationDuration:100,distance:-15,delay:0,repositionOnScroll:!0,interactive:!0,contentAsHTML:!0,content:i+'
UX Builder WP Editor'}),jQuery(this).remove()})),document.addEventListener("uxb_app_ready",()=>{const t=new URLSearchParams(window.top.location.search),e=parseInt(t.get("menu_id"));e&&setTimeout(()=>{const t=jQuery("#menu-item-".concat(e)),n=t.parent().hasClass("ux-nav-vertical-menu");t.hasClass("menu-item-has-block has-dropdown")&&!t.hasClass("current-dropdown")&&(n&&jQuery(".header-vertical-menu__fly-out").addClass("header-vertical-menu__fly-out--open"),jQuery("#menu-item-".concat(e," a:first")).trigger("click"))},1e3)}),jQuery("#hotspot").on("click",(function(t){t.preventDefault()})),jQuery(".wpcf7-form .wpcf7-submit").on("click",(function(t){jQuery(this).parent().parent().addClass("processing")})),jQuery(".wpcf7").on("wpcf7invalid wpcf7spam wpcf7mailsent wpcf7mailfailed",(function(t){jQuery(".processing").removeClass("processing")})),jQuery(document).ajaxComplete((function(t,e,n){jQuery(".processing").removeClass("processing")}))},function(t,e,n){"use strict";var i=n(1);Flatsome.behavior("animate",{attach(t){jQuery("[data-animate]",t).each((function(t,e){let n=jQuery(e);if(0===n.data("animate").length||i.a)return n.attr("data-animated","true");n.waypoint((function(t){if("down"===t){if("true"==n.data("animated"))return;setTimeout((function(){n.attr("data-animated","true")}),300)}}),{offset:"101%"})}))},detach(t){jQuery("[data-animate]",t).each((function(t,e){jQuery(e).attr("data-animated","false")}))}})},function(t,e){Flatsome.behavior("commons",{attach(t){jQuery("select.resizeselect").resizeselect(),jQuery("[data-parallax]",t).flatsomeParallax(),jQuery.fn.packery&&(jQuery("[data-packery-options], .has-packery",t).each((function(){let t=jQuery(this);t.packery({originLeft:!flatsomeVars.rtl}),setTimeout((function(){t.imagesLoaded((function(){t.packery("layout")}))}),100)})),jQuery(".banner-grid-wrapper").imagesLoaded((function(){jQuery(this.elements).removeClass("processing")}))),"objectFitPolyfill"in window&&window.objectFitPolyfill()},detach(t){}})},function(t,e,n){Flatsome.behavior("count-up",{attach(t){jQuery("span.count-up",t).each((function(t,e){var i=jQuery(e);i.waypoint({handler(t){jQuery(this.element).hasClass("active")||n.e(0).then(n.bind(null,56)).then(t=>{let{CountUp:e}=t;var n=parseInt(i.text());new e(i.get(0),n,{decimalPlaces:0,duration:4}).start(),i.addClass("active")})},offset:"100%"})}))}})},function(t,e,n){(function(t){function e(e){e.addClass("current-dropdown"),e.find(".nav-top-link").attr("aria-expanded",!0),function(e){const n=e,i=n.closest(".container").width(),o=n.closest("li.menu-item"),r=o.hasClass("menu-item-design-full-width"),a=o.hasClass("menu-item-design-container-width"),s=o.parent().hasClass("ux-nav-vertical-menu"),l=!r&&!a,c=t.flatsomeVars.rtl;if(l&&!s){if(i<750)return!1;var u=n.outerWidth(),d=n.offset(),h=Math.max(document.documentElement.clientWidth,window.innerWidth||0),f=d.left-(h-i)/2;c&&(f=jQuery(window).width()-(d.left+u)-(h-i)/2);var p=n.width(),y=i-(f+p),g=!1;f>y&&fi&&n.addClass("nav-dropdown-full")}if(a){n.css({inset:0});const t=n.closest(".container").get(0).getBoundingClientRect(),e=n.get(0).getBoundingClientRect();n.css({width:s?i-o.width():i,...!c&&{left:t.left-e.left+15},...c&&{right:15-(t.right-e.right)}})}if(r){n.css({inset:0});const t=document.body,e=t.getBoundingClientRect(),i=n.get(0).getBoundingClientRect(),r=t.clientWidth;n.css({...!c&&{width:s?r-o.get(0).getBoundingClientRect().right:r},...c&&{width:s?o.get(0).getBoundingClientRect().left:r},...!c&&{left:e.left-i.left},...c&&{right:-(e.right-i.right)}})}if((a||r)&&!s){let t=null;if(o.closest("#top-bar").length&&(t=document.querySelector("#top-bar")),o.closest("#masthead").length&&(t=document.querySelector("#masthead")),o.closest("#wide-nav").length&&(t=document.querySelector("#wide-nav")),null!==t){const e=t.getBoundingClientRect(),i=o.get(0).getBoundingClientRect();n.css({top:e.bottom-i.bottom+i.height})}}}(e.find(".nav-dropdown"))}function n(t){t.removeClass("current-dropdown"),t.find(".nav-top-link").attr("aria-expanded",!1),t.find(".nav-dropdown").attr("style","")}function i(t){t.each((t,e)=>{const i=jQuery(e);i.hasClass("current-dropdown")&&n(i)})}function o(t,e){t.length&&t.addClass("ux-body-overlay--".concat(e,"-active"))}function r(t,e){t.length&&t.removeClass("ux-body-overlay--".concat(e,"-active"))}Flatsome.behavior("dropdown",{attach(t){const a=jQuery(".nav li.has-dropdown",t),s="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",t).on("focus",()=>{i(a)}),a.each((function(t,h){const f=jQuery(h),p=f.hasClass("nav-dropdown-toggle")&&!c;let y=!1,g=!1;f.on("touchstart click",(function(t){"touchstart"===t.type&&(y=!0),"click"===t.type&&y&&(y&&!g&&t.preventDefault(),g=!0)})),s||p?(u=!0,f.on("click","a:first",(function(t){if(t.preventDefault(),d=f,f.hasClass("current-dropdown"))return n(f),void r(l,"click");i(a),e(f),o(l,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[f])}))):(f.on("keydown","a:first",(function(t){"Space"===t.code&&(t.preventDefault(),f.hasClass("current-dropdown")?(n(f),r(l,"click")):(i(a),e(f),o(l,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[f])))})),f.hoverIntent({sensitivity:3,interval:20,timeout:70,over(t){i(a),e(f),r(l,"click"),jQuery(document).trigger("flatsome-dropdown-opened",[f])},out(){g=!1,y=!1,n(f)}}))})),!s&&u&&jQuery(document).on("click",(function(t){null===d||d===t.target||d.has(t.target).length||(n(d),r(l,"click"))})),jQuery(document).on("flatsome-dropdown-opened",(function(t,e){e.hasClass("menu-item-has-block")&&jQuery.fn.packery&&e.find("[data-packery-options]").packery("layout")})),jQuery(document).on("flatsome-header-sticky",(function(){i(a),r(l,"click")}))}})}).call(this,n(4))},function(t,e,n){"use strict";var i=n(0);Flatsome.behavior("lightbox-gallery",{attach(t){const e={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(){Object(i.a)()},beforeClose:function(){Object(i.b)()}}};jQuery('.lightbox .gallery a[href*=".jpg"], .lightbox .gallery a[href*=".jpeg"], .lightbox .gallery a[href*=".png"], .lightbox a.lightbox-gallery',t).parent().lazyMagnificPopup(e),jQuery(".lightbox .lightbox-multi-gallery",t).length&&jQuery(".lightbox-multi-gallery",t).each((function(){jQuery(this).lazyMagnificPopup(e)}))}})},function(t,e,n){"use strict";var i=n(0);Flatsome.behavior("lightbox-image",{attach(t){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(","),t).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(){Object(i.a)()},beforeClose:function(){Object(i.b)()}}})}})},function(t,e,n){"use strict";var i=n(2),o=n(0);Flatsome.behavior("lightboxes-link",{attach(t){jQuery(".lightbox-by-id",t).each((function(){const e=jQuery(this).attr("id");jQuery('a[href="#'+e+'"]',t).on("click",t=>{t.preventDefault();const e=jQuery(t.currentTarget);Object(i.a)().then(()=>{let t=e.attr("href").substring(1),n=jQuery("#".concat(t,".lightbox-by-id"));if(t&&n.length>0){let t=n[0],e=jQuery.magnificPopup.open?300:0;e&&jQuery.magnificPopup.close(),setTimeout((function(){jQuery.magnificPopup.open({removalDelay:300,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,items:{src:t,type:"inline",tLoading:'
'},callbacks:{beforeOpen:function(){Object(o.a)()},open:function(){if(Flatsome.attach(this.content),jQuery.fn.flickity&&jQuery("[data-flickity-options].flickity-enabled",this.content).each((t,e)=>{jQuery(e).flickity("resize")}),jQuery.fn.packery){const t=jQuery("[data-packery-options]",this.content);t&&t.imagesLoaded((function(){t.packery("layout")}))}},beforeClose:function(){Object(o.b)()}}})}),e)}})})}))}})},function(t,e,n){"use strict";var i=n(0);Flatsome.behavior("lightbox-video",{attach(t){jQuery('a.open-video, a.button[href*="vimeo"]:not(.product_type_external), a.button[href*="youtube.com/watch"]:not(.product_type_external)',t).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(t){/^.*\.(mp4)$/i.test(t.src)&&(t.type="inline",t.src='
')},beforeOpen:function(){Object(i.a)()},open:function(){jQuery(".slider .is-selected .video").trigger("pause")},beforeClose:function(){Object(i.b)()},close:function(){jQuery(".slider .is-selected .video").trigger("play")}}})}})},function(t,e,n){"use strict";var i=n(2),o=n(0);Flatsome.behavior("lightboxes",{attach(t){jQuery("[data-open]",t).on("click",t=>{t.preventDefault();const e=jQuery(t.currentTarget);Object(i.a)().then(()=>{var t=e.data("open"),n=e.data("color"),i=e.data("bg"),r=e.data("pos"),a=e.data("visible-after"),s=e.data("class"),l=e.attr("data-focus");e.offset(),e.addClass("current-lightbox-clicked"),jQuery.magnificPopup.open({items:{src:t,type:"inline",tLoading:'
'},removalDelay:300,closeBtnInside:flatsomeVars.lightbox.close_btn_inside,closeMarkup:flatsomeVars.lightbox.close_markup,focus:l,callbacks:{beforeOpen:function(){this.st.mainClass="off-canvas ".concat(n," off-canvas-").concat(r),Object(o.a)()},open:function(){jQuery("html").addClass("has-off-canvas"),jQuery("html").addClass("has-off-canvas-"+r),s&&jQuery(".mfp-content").addClass(s),i&&jQuery(".mfp-bg").addClass(i),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"),Object(o.b)()},afterClose:function(){jQuery("html").removeClass("has-off-canvas-"+r),jQuery(".current-lightbox-clicked").removeClass("current-lightbox-clicked"),a&&jQuery(t).removeClass("mfp-hide")}}})})})}})},function(t,e,n){"use strict";var i=n(1);Flatsome.behavior("slider",{attach(t){var e;(e=jQuery(t).data("flickityOptions")?jQuery(t):jQuery("[data-flickity-options]",t)).length&&e.each((t,e)=>{var n=jQuery(e),o=n.closest(".slider-wrapper"),r=n.data("flickity-options");if("undefined"!=typeof UxBuilder&&(r.draggable=!1),!0===r.watchCSS)return;let a=!1,s=!1;const l=t=>{try{a=e.contains(t.target),!r.pauseAutoPlayOnHover||a||s||n.flickity("playPlayer")}catch(t){}};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 t=n.data("flickity");if(t&&r.parallax){const e=n.find(".bg, .flickity-slider > .img img");n.addClass("slider-has-parallax"),n.on("scroll.flickity",(function(n,i){t.slides.forEach((function(n,i){const o=e[i],a=-1*(n.target+t.x)/r.parallax;o&&(o.style.transform="translateX( "+a+"px)")}))}))}document.addEventListener("touchstart",l,{passive:!0})})),i.a&&(r.friction=1,r.selectedAttraction=1,r.autoPlay=!1),n.lazyFlickity(r),n.imagesLoaded((function(){o.find(".loading-spin").fadeOut()})),n.on("change.flickity",(function(){a&&(s=!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=t=>t.preventDefault(),n.addClass("is-dragging")})),n.on("dragEnd.flickity",(function(){document.ontouchmove=()=>!0,n.removeClass("is-dragging")})),n.on("destroy.flickity",()=>{document.removeEventListener("touchstart",l)})})},detach(t){jQuery.fn.flickity&&(jQuery(t).data("flickityOptions")?jQuery(t).flickity("destroy"):jQuery("[data-flickity-options]",t).flickity("destroy"))}})},function(t,e){function n(t,e,n){e.each((e,n)=>{jQuery(n).toggleClass("active",e===t),jQuery(n).find("> a").attr("aria-selected",e===t?"true":"false").attr("tabindex",e===t?null:"-1")}),n.each((e,n)=>jQuery(n).toggleClass("active",e===t)),jQuery.fn.packery&&jQuery("[data-packery-options]",n[t]).packery("layout")}Flatsome.behavior("tabs",{attach(t){const e=window.location.hash;jQuery(".tabbed-content",t).each((function(t,i){const o=jQuery(i),r=o.find("> .nav > li"),a=o.find("> .tab-panels > .panel"),s=o.find("> .nav").hasClass("active-on-hover"),l=o.find("> .nav").hasClass("nav-vertical");a.removeAttr("style"),r.each((function(t,i){const o=jQuery(i).find("a");o.on("click",(function(e){n(t,r,a),e.preventDefault(),e.stopPropagation()})),o.on("keydown",e=>{let n;switch(e.key){case l?"ArrowDown":"ArrowRight":n=r.eq((t+1)%r.length);break;case l?"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())}),s&&o.hoverIntent({sensitivity:3,interval:20,timeout:70,over(e){n(t,r,a)},out(){}}),e.substr(1).length&&e.substr(1)===o.attr("href").split("#")[1]&&n(t,r,a)}))}))}})},function(t,e){Flatsome.behavior("toggle",{attach(t){function e(t){const e=jQuery(t.currentTarget).parent();e.toggleClass("active"),e.attr("aria-expanded","false"===e.attr("aria-expanded")?"true":"false"),t.preventDefault()}jQuery([".widget ul.children",".nav ul.children",".menu .sub-menu",".mobile-sidebar-levels-2 .nav ul.children > li > ul"].join(", "),t).each((function(){const t=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",t).addClass("active").attr("aria-expanded","true").removeClass("current-cat-parent"),jQuery(".toggle",t).on("click",e);const n=jQuery("body").hasClass("mobile-submenu-toggle");jQuery(".sidebar-menu li.menu-item.has-child",t).each((function(){let t=jQuery(this),i=t.find("> a:first");"#"===i.attr("href")?i.on("click",(function(e){e.preventDefault(),t.toggleClass("active"),t.attr("aria-expanded","false"===t.attr("aria-expanded")?"true":"false")})):n&&i.next(".toggle").length&&i.on("click",e)}))}})},function(t,e){function n(t){t.attr("aria-hidden","true"),t.find("> li > a, > li > button").attr("tabindex","-1")}Flatsome.behavior("sidebar-slider",{attach(t){const e=jQuery("body").hasClass("mobile-submenu-toggle");jQuery(".mobile-sidebar-slide",t).each((t,i)=>{const o=parseInt(jQuery(i).data("levels"),10)||1,r=jQuery(".sidebar-menu",i),a=jQuery(".nav-sidebar",i);jQuery(["> li > ul.children","> li > .sub-menu",o>1?"> li > ul.children > li > ul":null].filter(Boolean).join(", "),a).each((t,i)=>{const o=jQuery(i),a=o.parent(),s=a.parents("ul:first"),l=jQuery(["> .toggle",'> a[href="#"]',e&&"> a"].filter(Boolean).join(","),a),c=a.find("> a").text().trim(),u=o.parents("ul").length,d=Boolean(window.flatsomeVars.rtl),h=jQuery('\n \n "));o.prepend(h),n(o);let f=null;l.off("click").on("click",t=>{var e;a.attr("aria-expanded","true"),s.addClass("is-current-parent"),o.addClass("is-current-slide"),r.css("transform","translateX(".concat(d?"":"-").concat(100*u,"%)")),(e=o).attr("aria-hidden","false"),e.find("> li > a, > li > button").attr("tabindex",""),clearTimeout(f),t.preventDefault()}),h.find(".toggle").on("click",()=>{r.css("transform","translateX(".concat(d?"":"-").concat(100*(u-1),"%)")),n(o),f=setTimeout(()=>{o.removeClass("is-current-slide"),s.removeClass("is-current-parent")},300),a.removeClass("active"),a.attr("aria-expanded","false")})})})}})},function(t,e){Flatsome.behavior("sidebar-tabs",{attach(t){jQuery(".sidebar-menu-tabs",t).each((t,e)=>{const n=jQuery(e),i=n.find(".sidebar-menu-tabs__tab"),o=n.parent().find("ul.nav-sidebar");i.each((t,e)=>{jQuery(e).on("click",(function(e){!function(t,e,n){e.each((e,n)=>jQuery(n).toggleClass("active",e===t)),n.each((e,n)=>jQuery(n).toggleClass("hidden",e===t))}(t,i,o),e.preventDefault(),e.stopPropagation()}))})})}})},function(t,e){Flatsome.behavior("nav-hover",{attach(t){const e=jQuery(".ux-body-overlay",t);e.length&&jQuery([".nav-prompts-overlay li.menu-item",".nav-prompts-overlay .header-vertical-menu__opener"].join(", "),t).on({mouseenter:()=>{e.addClass("ux-body-overlay--hover-active")},mouseleave:()=>{e.removeClass("ux-body-overlay--hover-active")}})}})},function(t,e){Flatsome.behavior("back-to-top",{attach(t){jQuery("body",t).waypoint({handler:function(e){jQuery(".back-to-top",t).toggleClass("active")},offset:"-100%"})}})},function(t,e){Flatsome.behavior("scroll-to",{attach(){let t=jQuery("span.scroll-to"),e=jQuery(".scroll-to-bullets"),n=flatsomeVars.sticky_height;if(e.length&&(e.children().lazyTooltipster("destroy"),e.remove()),jQuery("li.scroll-to-link").remove(),t.length&&(e=jQuery('
'),jQuery("body").append(e),t.each((function(t,e){let i=jQuery(e),o=i.data("link"),r=i.data("title"),a=i.data("bullet"),s='a[href*="'.concat(o||"",'"]');if(a){let t=jQuery('\n \n \n \n '));t.lazyTooltipster({position:"left",delay:50,contentAsHTML:!0,touchDevices:!1}),jQuery(".scroll-to-bullets").append(t)}let l=jQuery('\n \n "));jQuery("li.nav-single-page").before(l),setTimeout((function(){jQuery(".scroll-to-link a").attr("data-animated","true")}),300),i.waypoint((function(t){jQuery(".scroll-to-bullets a, .scroll-to-link").removeClass("active"),jQuery(".scroll-to-bullets").find(s).addClass("active"),jQuery(".nav-single-page").parent().find(s).parent().addClass("active"),"up"===t&&jQuery(".scroll-to-bullets, .nav-single-page").find(s).removeClass("active").prev().addClass("active")}),{offset:n}),jQuery(s).off("click").on("click",(function(t){const e=jQuery(this).attr("href").split("#")[1];e&&(setTimeout(()=>{jQuery.scrollTo("a[name="+e+"]",{duration:500,axis:"y",offset:-n})},0),jQuery.fn.magnificPopup&&jQuery.magnificPopup.close(),t.preventDefault())}))})),location.hash)){let t=location.hash.replace("#","");jQuery.scrollTo("a[name="+t+"]",{duration:500,axis:"y",offset:-n})}},detach(){jQuery("span.scroll-to").length&&setTimeout(this.attach,0)}})},function(t,e,n){"use strict";var i=n(1);Flatsome.behavior("accordion-title",{attach(t){jQuery(".accordion-title",t).each((function(){jQuery(this).off("click.flatsome").on("click.flatsome",(function(t){const e=i.a?0:200;jQuery(this).next().is(":hidden")?(jQuery(this).parent().parent().find(".accordion-title").attr("aria-expanded",!1).removeClass("active").next().slideUp(e),jQuery(this).attr("aria-expanded",!jQuery(this).hasClass("active")).toggleClass("active").next().slideDown(e,(function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)&&jQuery.scrollTo(jQuery(this).prev(),{duration:300,offset:-100})})),window.requestAnimationFrame(()=>{jQuery.fn.flickity&&jQuery(this).next().find("[data-flickity-options].flickity-enabled").each((t,e)=>{jQuery(e).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(e),t.preventDefault()}))}))}})},function(t,e){Flatsome.behavior("tooltips",{attach(t){jQuery(".tooltip, .has-tooltip, .tip-top, li.chosen a",t).lazyTooltipster(),jQuery(".tooltip-as-html",t).lazyTooltipster({interactive:!0,contentAsHTML:!0})}})},function(t,e,n){"use strict";var i=n(3);Flatsome.behavior("lazy-load-bg",{attach(t){const e=Object(i.a)(t=>{t.intersectionRatio>0&&(e.unobserve(t.target),jQuery(t.target).addClass("bg-loaded"))});jQuery(".bg",t).each((t,n)=>{e.observe(n)})}})},function(t,e){Flatsome.behavior("sticky-section",{attach(t){jQuery(".sticky-section",t).each((function(t,e){let n=jQuery(e);n.waypoint((function(t){"down"===t&&(n.addClass("is-sticky-section"),n.after('
')),"up"===t&&(n.removeClass("is-sticky-section"),n.next(".sticky-section-helper").remove())}),{offset:"0.1px"}),n.waypoint((function(t){"down"===t&&(n.removeClass("is-sticky-section"),n.next(".sticky-section-helper").remove()),"up"===t&&(n.addClass("is-sticky-section"),n.after('
'))}),{offset:"-100%"})}))}})},function(t,e,n){"use strict";var i=n(3);Flatsome.behavior("sticky-sidebar",{attach(t){let e=parseInt(flatsomeVars.sticky_height)+15;jQuery(".is-sticky-column",t).each((t,o)=>{n.e(2).then(n.t.bind(null,57,7)).then(()=>{jQuery(o).stickySidebar({topSpacing:e,bottomSpacing:15,minWidth:850,innerWrapperSelector:".is-sticky-column__inner"});const t=Object(i.b)(()=>{jQuery(o).stickySidebar("updateSticky")});null==t||t.observe(jQuery(".is-sticky-column__inner",o).get(0)),jQuery(document).on("updated_checkout flatsome-sticky-sidebar-update-sticky flatsome-infiniteScroll-append",(function(){jQuery(o).stickySidebar("updateSticky")}))})})}})},function(t,e){Flatsome.behavior("youtube",{attach(t){var e,n,i,o,r,a=jQuery(".ux-youtube",t);0!==a.length&&(window.onYouTubePlayerAPIReady=function(){a.each((function(){var t=jQuery(this),e=t.attr("id"),n=t.data("videoid"),i=t.data("loop"),o=t.data("audio");new YT.Player(e,{height:"100%",width:"100%",playerVars:{html5:1,autoplay:1,controls:0,rel:0,modestbranding:1,playsinline:1,showinfo:0,fs:0,loop:i,el:0,playlist:i?n:void 0},videoId:n,events:{onReady:function(t){0===o&&t.target.mute()}}})}))},n="script",i="youtube-jssdk",r=(e=document).getElementsByTagName(n)[0],e.getElementById(i)||((o=e.createElement(n)).id=i,o.src="https://www.youtube.com/player_api",r.parentNode.insertBefore(o,r)))}})},,,,,,,function(t,e,n){"use strict";n(1).a&&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: ".concat("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())}])