!function(t){"use strict";var e='[data-dismiss="sppb-alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.2.0",i.prototype.close=function(e){var i=t(this),n=i.attr("data-target");n||(n=(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""));var s=t(n);function o(){s.detach().trigger("closed.sppb.alert").remove()}e&&e.preventDefault(),s.length||(s=i.hasClass("sppb-alert")?i:i.parent()),s.trigger(e=t.Event("close.sppb.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("sppb-fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(150):o())};var n=t.fn.spbalert;t.fn.spbalert=function(e){return this.each(function(){var n=t(this),s=n.data("sppb.alert");s||n.data("sppb.alert",s=new i(this)),"string"==typeof e&&s[e].call(n)})},t.fn.spbalert.Constructor=i,t.fn.spbalert.noConflict=function(){return t.fn.spbalert=n,this},t(document).on("click.sppb.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";var e=function(e,i){this.$element=t(e).on("keydown.sppb.carousel",t.proxy(this.keydown,this)),this.$indicators=this.$element.find(".sppb-carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.sppb.carousel",t.proxy(this.pause,this)).on("mouseleave.sppb.carousel",t.proxy(this.cycle,this))};function i(i){return this.each(function(){var n=t(this),s=n.data("sppb.carousel"),o=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i),a="string"==typeof i?i:o.slide;s||n.data("sppb.carousel",s=new e(this,o)),"number"==typeof i?s.to(i):a?s[a]():o.interval&&s.pause().cycle()})}e.VERSION="3.2.0",e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},e.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".sppb-item"),this.$items.index(t||this.$active)},e.prototype.to=function(e){var i=this,n=this.getItemIndex(this.$active=this.$element.find(".sppb-item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.sppb.carousel",function(){i.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",t(this.$items[e]))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(e,i){var n=this.$element.find(".sppb-item.active"),s=i||n[e](),o=this.interval,a="next"==e?"left":"right",r="next"==e?"first":"last",p=this;if(!s.length){if(!this.options.wrap)return;s=this.$element.find(".sppb-item")[r]()}if(s.hasClass("active"))return this.sliding=!1;var l=s[0],h=t.Event("slide.sppb.carousel",{relatedTarget:l,direction:a});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(s)]);d&&d.addClass("active")}var c=t.Event("slid.sppb.carousel",{relatedTarget:l,direction:a});return t.support.transition&&this.$element.hasClass("sppb-slide")?(s.addClass(e),s[0].offsetWidth,n.addClass(a),s.addClass(a),n.one("bsTransitionEnd",function(){s.removeClass([e,a].join(" ")).addClass("active"),n.removeClass(["active",a].join(" ")),p.sliding=!1,setTimeout(function(){p.$element.trigger(c)},0)}).emulateTransitionEnd(1e3*n.css("transition-duration").slice(0,-1))):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(c)),o&&this.cycle(),this}};var n=t.fn.sppbcarousel;t.fn.sppbcarousel=i,t.fn.sppbcarousel.Constructor=e,t.fn.sppbcarousel.noConflict=function(){return t.fn.sppbcarousel=n,this},t(document).ready(function(){t(".sppb-carousel").each(function(e){var i=t(this).find(".sppb-item"),n="sppb-carousel"+(e+1),s="";t(this).attr("id",n);for(var o=0;o':'\n
  • ';t(this).find(">.sppb-carousel-indicators").html(s),t(this).find(".sppb-carousel-control").attr("href","#"+n),t(this).find(".sppb-item").first().addClass("active")})}),t(document).on("click.sppb.carousel.data-api","[data-slide], [data-sppb-slide-to]",function(e){var n,s=t(this),o=t(s.attr("data-sppb-target")||(n=s.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("sppb-carousel")){var a=t.extend({},o.data(),s.data()),r=s.attr("data-sppb-slide-to");r&&(a.interval=!1),i.call(o,a),r&&o.data("sppb.carousel").to(r),e.preventDefault()}}),t(window).on("load",function(){if(t('[data-sppb-ride="sppb-carousel"]').each(function(){var e=t(this);i.call(e,e.data())}),t(window).width()<767){var e=t(".sppb-carousel-pro-inner-content").outerHeight(!0)+50;t(".sppb-carousel-pro .sppb-item > img").css({height:e})}})}(jQuery),function(t){"use strict";t(document).on("click",".sppb-panel-heading",function(e){e.preventDefault();var i=t(this).closest(".sppb-panel-group").find(">div"),n=i.find(".sppb-panel-heading"),s=i.find(".sppb-panel-collapse");t(this).hasClass("active")?(t(this).removeClass("active"),s.slideUp()):(n.removeClass("active"),s.slideUp(),t(this).addClass("active").next().slideDown())})}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each(function(){var n=t(this),s=n.data("sppb.tab");s||n.data("sppb.tab",s=new e(this)),"string"==typeof i&&s[i]()})}e.VERSION="3.2.0",e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var s=i.find(".active:last a")[0],o=t.Event("show.sppb.tab",{relatedTarget:s});if(e.trigger(o),!o.isDefaultPrevented()){var a=t(n);this.activate(e.closest("li"),i),this.activate(a,a.parent(),function(){e.trigger({type:"shown.sppb.tab",relatedTarget:s})})}}},e.prototype.activate=function(e,i,n){var s=i.find("> .active"),o=n&&t.support.transition&&s.hasClass("sppb-fade");function a(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),o?(e[0].offsetWidth,e.addClass("in")):e.removeClass("sppb-fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),n&&n()}o?s.one("bsTransitionEnd",a).emulateTransitionEnd(150):a(),s.removeClass("in")};var n=t.fn.sppbtab;t.fn.sppbtab=i,t.fn.sppbtab.Constructor=e,t.fn.sppbtab.noConflict=function(){return t.fn.sppbtab=n,this},t(document).ready(function(){t(".sppb-tab").each(function(e){var i="sppb-tab"+(e+1);t(this).find(">.sppb-nav").children().each(function(e){t(this).find(">a").attr("href","#"+i+"-"+(e+1))}),t(this).find(">.sppb-tab-content").children().each(function(e){t(this).attr("id",i+"-"+(e+1))})})}),t(document).on("click.sppb.tab.data-api",'[data-toggle="sppb-tab"], [data-toggle="sppb-pill"]',function(e){e.preventDefault(),i.call(t(this),"show")})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("sppbtooltip",t,e)};e.VERSION="3.2.0",e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport);for(var s=this.options.trigger.split(" "),o=s.length;o--;){var a=s[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",p="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(p+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("sppb."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("sppb."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("sppb."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("sppb."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)},e.prototype.show=function(){var e=t.Event("show.sppb."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(document.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var n=this,s=this.tip(),o=this.getUID(this.type);this.setContent(),s.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&s.addClass("sppb-fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,r=/\s?auto?\s?/i,p=r.test(a);p&&(a=a.replace(r,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("sppb."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var l=this.getPosition(),h=s[0].offsetWidth,d=s[0].offsetHeight;if(p){var c=a,u=this.$element.parent(),f=this.getPosition(u);a="bottom"==a&&l.top+l.height+d-f.scroll>f.height?"top":"top"==a&&l.top-f.scroll-d<0?"bottom":"right"==a&&l.right+h>f.width?"left":"left"==a&&l.left-ha.top+a.height&&(s.top=a.top+a.height-p)}else{var l=e.left-o,h=e.left+o+i;la.width&&(s.left=a.left+a.width-h)}return s},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".sppb-tooltip-arrow")},e.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("sppb."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("sppb."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("sppb."+this.type)};var i=t.fn.sppbtooltip;t.fn.sppbtooltip=function(i){return this.each(function(){var n=t(this),s=n.data("sppb.tooltip"),o="object"==typeof i&&i;(s||"destroy"!=i)&&(s||n.data("sppb.tooltip",s=new e(this,o)),"string"==typeof i&&s[i]())})},t.fn.sppbtooltip.Constructor=e,t.fn.sppbtooltip.noConflict=function(){return t.fn.sppbtooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("sppbpopover",t,e)};if(!t.fn.sppbtooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.2.0",e.DEFAULTS=t.extend({},t.fn.sppbtooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.sppbtooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".sppb-popover-title")[this.options.html?"html":"text"](e),t.find(".sppb-popover-content").empty()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("sppb-fade top bottom left right in"),t.find(".sppb-popover-title").html()||t.find(".sppb-popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var i=t.fn.sppbpopover;t.fn.sppbpopover=function(i){return this.each(function(){var n=t(this),s=n.data("sppb.popover"),o="object"==typeof i&&i;(s||"destroy"!=i)&&(s||n.data("sppb.popover",s=new e(this,o)),"string"==typeof i&&s[i]())})},t.fn.sppbpopover.Constructor=e,t.fn.sppbpopover.noConflict=function(){return t.fn.sppbpopover=i,this}}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(n).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery);var carousel=jQuery(".carousel");carousel&&jQuery(window).on("ready",function(){"undefined"!=typeof jQuery&&"undefined"!=typeof MooTools&&Element.implement({slide:function(t,e){return this}})}),function(){var t,e,i,n=function(t,e){return function(){return t.apply(e,arguments)}},s=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};e=function(){function t(){}return t.prototype.extend=function(t,e){var i,n;for(i in e)n=e[i],null==t[i]&&(t[i]=n);return t},t.prototype.isMobile=function(t){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)},t}(),i=this.WeakMap||this.MozWeakMap||(i=function(){function t(){this.keys=[],this.values=[]}return t.prototype.get=function(t){var e,i,n,s;for(e=i=0,n=(s=this.keys).length;n>i;e=++i)if(s[e]===t)return this.values[e]},t.prototype.set=function(t,e){var i,n,s,o;for(i=n=0,s=(o=this.keys).length;s>n;i=++n)if(o[i]===t)return void(this.values[i]=e);return this.keys.push(t),this.values.push(e)},t}()),t=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(t=function(){function t(){console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return t.notSupported=!0,t.prototype.observe=function(){},t}()),this.SPPBWOW=function(){function o(t){null==t&&(t={}),this.scrollCallback=n(this.scrollCallback,this),this.scrollHandler=n(this.scrollHandler,this),this.start=n(this.start,this),this.scrolled=!0,this.config=this.util().extend(t,this.defaults),this.animationNameCache=new i}return o.prototype.defaults={boxClass:"sppb-wow",animateClass:"sppb-animated",offset:0,mobile:!0,live:!0},o.prototype.init=function(){var t;return this.element=window.document.documentElement,"interactive"===(t=document.readyState)||"complete"===t?this.start():document.addEventListener("DOMContentLoaded",this.start),this.finished=[]},o.prototype.start=function(){var e,i,n,s,o;if(this.stopped=!1,this.boxes=function(){var t,i,n,s;for(s=[],t=0,i=(n=this.element.querySelectorAll("."+this.config.boxClass)).length;i>t;t++)e=n[t],s.push(e);return s}.call(this),this.all=function(){var t,i,n,s;for(s=[],t=0,i=(n=this.boxes).length;i>t;t++)e=n[t],s.push(e);return s}.call(this),this.boxes.length,this.disabled())this.resetStyle();else{for(i=0,n=(s=this.boxes).length;n>i;i++)e=s[i],this.applyStyle(e,!0);window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}return this.config.live?new t((o=this,function(t){var e,i,n,s,a;for(a=[],n=0,s=t.length;s>n;n++)i=t[n],a.push(function(){var t,n,s,o;for(o=[],t=0,n=(s=i.addedNodes||[]).length;n>t;t++)e=s[t],o.push(this.doSync(e));return o}.call(o));return a})).observe(document.body,{childList:!0,subtree:!0}):void 0},o.prototype.stop=function(){return this.stopped=!0,window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},o.prototype.sync=function(){return t.notSupported?this.doSync(this.element):void 0},o.prototype.doSync=function(t){var e,i,n,o,a;if(!this.stopped){if(null==t&&(t=this.element),1!==t.nodeType)return;for(a=[],i=0,n=(o=(t=t.parentNode||t).querySelectorAll("."+this.config.boxClass)).length;n>i;i++)e=o[i],s.call(this.all,e)<0?(this.applyStyle(e,!0),this.boxes.push(e),this.all.push(e),a.push(this.scrolled=!0)):a.push(void 0);return a}},o.prototype.show=function(t){return this.applyStyle(t),t.className=t.className+" "+this.config.animateClass},o.prototype.applyStyle=function(t,e){var i,n,s,o;return n=t.getAttribute("data-sppb-wow-duration"),i=t.getAttribute("data-sppb-wow-delay"),s=t.getAttribute("data-sppb-wow-iteration"),this.animate((o=this,function(){return o.customStyle(t,e,n,i,s)}))},o.prototype.animate="requestAnimationFrame"in window?function(t){return window.requestAnimationFrame(t)}:function(t){return t()},o.prototype.resetStyle=function(){var t,e,i,n,s;for(s=[],e=0,i=(n=this.boxes).length;i>e;e++)t=n[e],s.push(t.setAttribute("style","visibility: visible;"));return s},o.prototype.customStyle=function(t,e,i,n,s){return e&&this.cacheAnimationName(t),t.style.visibility=e?"hidden":"visible",i&&this.vendorSet(t.style,{animationDuration:i}),n&&this.vendorSet(t.style,{animationDelay:n}),s&&this.vendorSet(t.style,{animationIterationCount:s}),this.vendorSet(t.style,{animationName:e?"none":this.cachedAnimationName(t)}),t},o.prototype.vendors=["moz","webkit"],o.prototype.vendorSet=function(t,e){var i,n,s,o;for(i in o=[],e)n=e[i],t[""+i]=n,o.push(function(){var e,o,a,r;for(r=[],e=0,o=(a=this.vendors).length;o>e;e++)s=a[e],r.push(t[""+s+i.charAt(0).toUpperCase()+i.substr(1)]=n);return r}.call(this));return o},o.prototype.vendorCSS=function(t,e){var i,n,s,o,a,r;for(i=(n=window.getComputedStyle(t)).getPropertyCSSValue(e),o=0,a=(r=this.vendors).length;a>o;o++)s=r[o],i=i||n.getPropertyCSSValue("-"+s+"-"+e);return i},o.prototype.animationName=function(t){var e;try{e=this.vendorCSS(t,"animation-name").cssText}catch(i){e=window.getComputedStyle(t).getPropertyValue("animation-name")}return"none"===e?"":e},o.prototype.cacheAnimationName=function(t){return this.animationNameCache.set(t,this.animationName(t))},o.prototype.cachedAnimationName=function(t){return this.animationNameCache.get(t)},o.prototype.scrollHandler=function(){return this.scrolled=!0},o.prototype.scrollCallback=function(){var t;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var e,i,n,s;for(s=[],e=0,i=(n=this.boxes).length;i>e;e++)(t=n[e])&&(this.isVisible(t)?this.show(t):s.push(t));return s}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},o.prototype.offsetTop=function(t){for(var e;void 0===t.offsetTop;)t=t.parentNode;for(e=t.offsetTop;t=t.offsetParent;)e+=t.offsetTop;return e},o.prototype.isVisible=function(t){var e,i,n,s,o;return i=t.getAttribute("data-sppb-wow-offset")||this.config.offset,s=(o=window.pageYOffset)+Math.min(this.element.clientHeight,innerHeight)-i,e=(n=this.offsetTop(t))+t.clientHeight,s>=n&&e>=o},o.prototype.util=function(){return null!=this._util?this._util:this._util=new e},o.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},o}()}.call(this),jQuery(function(t){(new SPPBWOW).init()}),function(t){var e,i,n,s={},o=document,a=window,r=o.documentElement,p=t.expando;function l(){var n,p,l,h,d=t(),c=0;if(t.each(s,function(t,e){var i=e.data.selector,n=e.$element;d=d.add(i?n.find(i):n)}),n=d.length)for(e=e||((h={height:a.innerHeight,width:a.innerWidth}).height||!(p=o.compatMode)&&t.support.boxModel||(h={height:(l="CSS1Compat"===p?r:o.body).clientHeight,width:l.clientWidth}),h),i=i||{top:a.pageYOffset||r.scrollTop||o.body.scrollTop,left:a.pageXOffset||r.scrollLeft||o.body.scrollLeft};ci.top&&g.topi.left&&g.leftg.left?"right":i.left+e.widthg.top?"bottom":i.top+e.height span").text(Math.round(i)+"%")}}),o.unbind("inview"))})}(jQuery),jQuery(function(t){t(document).on("submit",".sppb-ajaxt-contact-form",function(e){e.preventDefault();var i=t(this),n=t(this).serializeArray(),s={option:"com_sppagebuilder",task:"ajax",addon:"ajax_contact","g-recaptcha-response":i.find("#g-recaptcha-response").val(),data:n};return t.ajax({type:"POST",data:s,beforeSend:function(){i.find(".fa").addClass("fa-spinner fa-spin")},success:function(e){var n=t.parseJSON(e);try{var s=t.parseJSON(n.data),o=s.content,a="json"}catch(t){o=n.data,a="strings"}"json"==a?s.status&&i.trigger("reset"):i.trigger("reset"),i.find(".fa-spin").removeClass("fa-spinner fa-spin"),i.next(".sppb-ajax-contact-status").html(o).fadeIn().delay(4e3).fadeOut(500)}}),!1})}),jQuery(function(t){t(document).on("submit",".sppb-optin-form",function(e){e.preventDefault();var i=t(this),n=t(this).serializeArray(),s={name:"view_type",value:"page"};if(i.closest(".sp-page-builder").hasClass("mod-sppagebuilder")){s.value="module";var o={name:"module_id",value:i.closest(".sp-page-builder").data("module_id")};n.push(o)}else i.closest(".sp-page-builder").hasClass("sppb-article-page-wrapper")&&(s.value="article");n.push(s);var a={option:"com_sppagebuilder",task:"ajax",addon:"optin_form","g-recaptcha-response":i.find("#g-recaptcha-response").val(),data:n};return t.ajax({type:"POST",data:a,beforeSend:function(){i.find(".fa").addClass("fa-spinner fa-spin")},success:function(e){var n=t.parseJSON(e),s=t.parseJSON(n.data),o="sppb-alert sppb-alert-warning";if(s.status){o="sppb-alert sppb-alert-success";i.trigger("reset")}i.find(".fa-spin").removeClass("fa-spinner fa-spin"),i.next(".sppb-optin-form-status").html('

    '+s.content+"

    ").fadeIn().delay(4e3).fadeOut(1e3)}}),!1})}),jQuery(function(t){t(document).on("click",".sppb-magnific-popup",function(e){e.preventDefault();var i=t(this);i.magnificPopup({type:i.data("popup_type"),mainClass:i.data("mainclass")}).magnificPopup("open")})}),jQuery(function(t){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?(t(".sppb-addon-sppb-flibox .sppb-flipbox-panel, .threeD-flipbox .threeD-content-wrap").on("mouseover",function(e){t(this).toggleClass("flip")}),t(document).on("mouseenter",".sppb-addon-sppb-flibox .sppb-flipbox-panel, .threeD-flipbox .threeD-content-wrap",function(e){t(this).addClass("flip")}),t(document).on("mouseleave",".sppb-addon-sppb-flibox .sppb-flipbox-panel, .threeD-flipbox .threeD-content-wrap",function(e){t(this).removeClass("flip")})):(t(document).on("click",".sppb-addon-sppb-flibox.flipon-click .sppb-flipbox-panel, .threeD-flipbox.flipon-click .threeD-content-wrap",function(e){t(this).toggleClass("flip")}),t(document).on("mouseenter",".sppb-addon-sppb-flibox.flipon-hover .sppb-flipbox-panel, .threeD-flipbox.flipon-hover .threeD-content-wrap",function(){t(this).addClass("flip")}),t(document).on("mouseleave",".sppb-addon-sppb-flibox.flipon-hover .sppb-flipbox-panel, .threeD-flipbox.flipon-hover .threeD-content-wrap",function(){t(this).removeClass("flip")}))}),jQuery(function(t){new MutationObserver(function(e){e.forEach(function(e){var i=e.addedNodes;null!==i&&t(i).each(function(){t(this).find(".sppb-addon-countdown .sppb-countdown-timer").each(function(){var e=t(this),i=e.data("date")+" "+e.data("time");e.countdown(i,function(i){t(this).html(i.strftime('
    %-D%!D: '+Joomla.JText._("COM_SPPAGEBUILDER_DAY")+","+Joomla.JText._("COM_SPPAGEBUILDER_DAYS")+';
    %H%!H: '+Joomla.JText._("COM_SPPAGEBUILDER_HOUR")+","+Joomla.JText._("COM_SPPAGEBUILDER_HOURS")+';
    %M%!M:'+Joomla.JText._("COM_SPPAGEBUILDER_MINUTE")+","+Joomla.JText._("COM_SPPAGEBUILDER_MINUTES")+';
    %S%!S:'+Joomla.JText._("COM_SPPAGEBUILDER_SECOND")+","+Joomla.JText._("COM_SPPAGEBUILDER_SECONDS")+";
    ")).on("finish.countdown",function(){t(this).html('

    '+e.data("finish-text")+"

    ")})})})})})}).observe(document.body,{childList:!0,subtree:!0})}),function(t){var e=function(t){this.$heading=t.heading,this.type=void 0===t.type?"word":t.type,this.animationDelay=2500,this.barAnimationDelay=3800,this.barWaiting=this.barAnimationDelay-3e3,this.lettersDelay=50,this.typeLettersDelay=150,this.selectionDuration=500,this.typeAnimationDelay=this.selectionDuration+800,this.revealDuration=600,this.revealAnimationDelay=1500,this.interval=0,this.init()};e.prototype.init=function(){var t=this.$heading.parent().find(".letters");this.singleLetters(t.find(".animated-text")),this.animateHeadline(this.$heading)},e.prototype.singleLetters=function(e){e.each(function(){var e=t(this),n=e.text().split(""),s=e.hasClass("is-visible");for(i in n)e.parents(".animation-wave").length>0&&(n[i]=""+n[i]+""),n[i]=s?''+n[i]+"":""+n[i]+"";var o=n.join("");e.html(o).css("opacity",1)})},e.prototype.animateHeadline=function(e){var i=this.animationDelay,n=this;e.each(function(){var e=t(this);if(e.hasClass("loading-bar"))i=n.barAnimationDelay,setTimeout(function(){e.find(".animated-text-words-wrapper").addClass("is-loading")},n.barWaiting);else if(e.hasClass("text-clip")){var s=e.find(".animated-text-words-wrapper"),o=s.width()+10;s.css("width",o)}else if(!e.hasClass("type")){var a=e.find(".animated-text-words-wrapper .animated-text.is-visible");n.setParentClassWidth(a,delay=!1)}setTimeout(function(){n.hideWord(e.find("span.is-visible").eq(0))},i)})},e.prototype.hideWord=function(t){var e=this.takeNext(t),i=this;if(t.parents(".animated-heading-text").hasClass("type")){var n=t.parent(".animated-text-words-wrapper");n.addClass("selected").removeClass("waiting"),setTimeout(function(){n.removeClass("selected"),t.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")},i.selectionDuration),setTimeout(function(){i.showWord(e,i.typeLettersDelay)},i.typeAnimationDelay)}else if(t.parents(".animated-heading-text").hasClass("letters")){var s=t.children("i").length>=e.children("i").length;i.hideLetter(t.find("i").eq(0),t,s,i.lettersDelay),i.showLetter(e.find("i").eq(0),e,s,i.lettersDelay),i.setParentClassWidth(e)}else t.parents(".animated-heading-text").hasClass("text-clip")?t.parents(".animated-text-words-wrapper").animate({width:"2px"},i.revealDuration,function(){i.switchWord(t,e),i.showWord(e)}):t.parents(".animated-heading-text").hasClass("loading-bar")?(t.parents(".animated-text-words-wrapper").removeClass("is-loading"),this.switchWord(t,e),setTimeout(function(){i.hideWord(e)},i.barAnimationDelay),setTimeout(function(){t.parents(".animated-text-words-wrapper").addClass("is-loading")},i.barWaiting),this.setParentClassWidth(e)):(this.switchWord(t,e),setTimeout(function(){i.hideWord(e)},i.animationDelay),this.setParentClassWidth(e))},e.prototype.showWord=function(t,e){var i=this;t.parents(".animated-heading-text").hasClass("type")?(i.showLetter(t.find("i").eq(0),t,!1,e),t.addClass("is-visible").removeClass("is-hidden")):t.parents(".animated-heading-text").hasClass("text-clip")&&t.parents(".animated-text-words-wrapper").animate({width:t.width()+10},i.revealDuration,function(){setTimeout(function(){i.hideWord(t)},i.revealAnimationDelay)})},e.prototype.hideLetter=function(e,i,n,s){e.removeClass("in").addClass("out");var o=this;if(e.is(":last-child")?n&&setTimeout(function(){o.hideWord(o.takeNext(i))},o.animationDelay):setTimeout(function(){o.hideLetter(e.next(),i,n,s)},s),e.is(":last-child")&&t("html").hasClass("no-csstransitions")){var a=o.takeNext(i);o.switchWord(i,a)}},e.prototype.showLetter=function(t,e,i,n){t.addClass("in").removeClass("out");var s=this;t.is(":last-child")?(e.parents(".animated-heading-text").hasClass("type")&&setTimeout(function(){e.parents(".animated-text-words-wrapper").addClass("waiting")},200),i||setTimeout(function(){s.hideWord(e)},s.animationDelay)):setTimeout(function(){s.showLetter(t.next(),e,i,n)},n)},e.prototype.takeNext=function(t){return t.is(":last-child")?t.parent().children().eq(0):t.next()},e.prototype.takePrev=function(t){return t.is(":first-child")?t.parent().children().last():t.prev()},e.prototype.switchWord=function(t,e){t.removeClass("is-visible").addClass("is-hidden"),e.removeClass("is-hidden").addClass("is-visible")},e.prototype.setParentClassWidth=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.parents(".animated-text-words-wrapper"),n=t.width(),s=e?this.revealDuration/2:0;this.interval>0&&(clearInterval(this.interval),this.interval=0);var o=this;setTimeout(function(){i.css({"transition-function":"ease",transitionDuration:o.revealDuration+"ms",transitionProperty:"width",width:n+"px"})},s)},t(document).on("ready",function(){new e({heading:t(".animated-heading-text")});new MutationObserver(function(i){i.forEach(function(i){var n=i.addedNodes;null!==n&&t(n).each(function(){t(this).find(".animated-heading-text").each(function(){new e({heading:t(this)})})})})}).observe(document.body,{childList:!0,subtree:!0})})}(jQuery),function(t){function e(){if("undefined"==typeof stickyParent&&(stickyParent=t('[data-sticky-it="true"]').parents(".sppb-section ")),!("undefined"==typeof stickyParent||0==stickyParent.length||t(window).width()<=767)){var e=stickyParent.offset();stickyParentWrap=stickyParent.parents(".sppb-sticky-wrap"),stickyParentWrap.hasClass("sppb-sticky-wrap")&&(e=stickyParentWrap.offset()),window.scrollY>=e.top&&!stickyParent.hasClass("sppb-sticky-it")?(stickyParent.wrap('
    '),stickyParent.addClass("sppb-sticky-it")):window.scrollY