if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(s){"use strict";s.fn.emulateTransitionEnd=function(t){var e=!1,i=this;s(this).one(s.support.transition.end,function(){e=!0});return setTimeout(function(){e||s(i).trigger(s.support.transition.end)},t),this},s(function(){s.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}()})}(jQuery),function(o){"use strict";function s(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';s.prototype.close=function(t){function e(){n.trigger("closed.bs.alert").remove()}var i=o(this),s=i.attr("data-target");s||(s=(s=i.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,""));var n=o(s);t&&t.preventDefault(),n.length||(n=i.hasClass("alert")?i:i.parent()),n.trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(n.removeClass("in"),o.support.transition&&n.hasClass("fade")?n.one(o.support.transition.end,e).emulateTransitionEnd(150):e())};var t=o.fn.alert;o.fn.alert=function(i){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new s(this)),"string"==typeof i&&e[i].call(t)})},o.fn.alert.Constructor=s,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,s.prototype.close)}(jQuery),function(o){"use strict";var n=function(t,e){this.$element=o(t),this.options=o.extend({},n.DEFAULTS,e),this.isLoading=!1};n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,s=i.is("input")?"val":"html",n=i.data();t+="Text",n.resetText||i.data("resetText",i[s]()),i[s](n[t]||this.options[t]),setTimeout(o.proxy(function(){"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e))},this),0)},n.prototype.toggle=function(){var t,e=!0,i=this.$element.closest('[data-toggle="buttons"]');i.length&&("radio"==(t=this.$element.find("input")).prop("type")&&(t.prop("checked")&&this.$element.hasClass("active")?e=!1:i.find(".active").removeClass("active")),e&&t.prop("checked",!this.$element.hasClass("active")).trigger("change")),e&&this.$element.toggleClass("active")};var t=o.fn.button;o.fn.button=function(s){return this.each(function(){var t=o(this),e=t.data("bs.button"),i="object"==typeof s&&s;e||t.data("bs.button",e=new n(this,i)),"toggle"==s?e.toggle():s&&e.setState(s)})},o.fn.button.Constructor=n,o.fn.button.noConflict=function(){return o.fn.button=t,this},o(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var e=o(t.target);e.hasClass("btn")||(e=e.closest(".btn")),e.button("toggle"),t.preventDefault()})}(jQuery),function(h){"use strict";function o(t,e){this.$element=h(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",h.proxy(this.pause,this)).on("mouseleave",h.proxy(this.cycle,this))}o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},o.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(h.proxy(this.next,this),this.options.interval)),this},o.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},o.prototype.to=function(t){var e=this,i=this.getActiveIndex();return t>this.$items.length-1||t<0?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i .panel > .in");if(e&&e.length){var i=e.data("bs.collapse");if(i&&i.transitioning)return;e.collapse("hide"),i||e.data("bs.collapse",null)}var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0),this.transitioning=1;var n=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!h.support.transition)return n.call(this);var o=h.camelCase(["scroll",s].join("-"));this.$element.one(h.support.transition.end,h.proxy(n,this)).emulateTransitionEnd(350)[s](this.$element[0][o])}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=h.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return h.support.transition?void this.$element[e](0).one(h.support.transition.end,h.proxy(i,this)).emulateTransitionEnd(350):i.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=h.fn.collapse;h.fn.collapse=function(s){return this.each(function(){var t=h(this),e=t.data("bs.collapse"),i=h.extend({},n.DEFAULTS,t.data(),"object"==typeof s&&s);!e&&i.toggle&&"show"==s&&(s=!s),e||t.data("bs.collapse",e=new n(this,i)),"string"==typeof s&&e[s]()})},h.fn.collapse.Constructor=n,h.fn.collapse.noConflict=function(){return h.fn.collapse=t,this},h(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var e,i=h(this),s=i.attr("data-target")||t.preventDefault()||(e=i.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,""),n=h(s),o=n.data("bs.collapse"),a=o?"toggle":i.data(),r=i.attr("data-parent"),l=r&&h(r);o&&o.transitioning||(l&&l.find('[data-toggle=collapse][data-parent="'+r+'"]').not(i).addClass("collapsed"),i[n.hasClass("in")?"addClass":"removeClass"]("collapsed")),n.collapse(a)})}(jQuery),function(r){"use strict";function o(i){r(".dropdown-backdrop").remove(),r(h).each(function(){var t=l(r(this)),e={relatedTarget:this};t.hasClass("open")&&(t.trigger(i=r.Event("hide.bs.dropdown",e)),i.isDefaultPrevented()||t.removeClass("open").trigger("hidden.bs.dropdown",e))})}function l(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i=e&&r(e);return i&&i.length?i:t.parent()}function s(t){r(t).on("click.bs.dropdown",this.toggle)}var h="[data-toggle=dropdown]";s.prototype.toggle=function(t){var e=r(this);if(!e.is(".disabled, :disabled")){var i=l(e),s=i.hasClass("open");if(o(),!s){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&r(''}),((o.prototype=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.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)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},o.prototype.tip=function(){return this.$tip||(this.$tip=n(this.options.template)),this.$tip};var t=n.fn.popover;n.fn.popover=function(s){return this.each(function(){var t=n(this),e=t.data("bs.popover"),i="object"==typeof s&&s;!e&&"destroy"==s||(e||t.data("bs.popover",e=new o(this,i)),"string"==typeof s&&e[s]())})},n.fn.popover.Constructor=o,n.fn.popover.noConflict=function(){return n.fn.popover=t,this}}(jQuery),function(o){"use strict";function n(t,e){var i,s=o.proxy(this.process,this);this.$element=o(o(t).is("body")?window:t),this.$body=o("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",s),this.options=o.extend({},n.DEFAULTS,e),this.selector=(this.options.target||(i=o(t).attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=o([]),this.targets=o([]),this.activeTarget=null,this.refresh(),this.process()}n.DEFAULTS={offset:10},n.prototype.refresh=function(){var s=this.$element[0]==window?"offset":"position";this.offsets=o([]),this.targets=o([]);var n=this;this.$body.find(this.selector).map(function(){var t=o(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&o(e);return i&&i.length&&i.is(":visible")?[[i[s]().top+(!o.isWindow(n.$scrollElement.get(0))&&n.$scrollElement.scrollTop()),e]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),s=this.offsets,n=this.targets,o=this.activeTarget;if(i<=e)return o!=(t=n.last()[0])&&this.activate(t);if(o&&e<=s[0])return o!=(t=n[0])&&this.activate(t);for(t=s.length;t--;)o!=n[t]&&e>=s[t]&&(!s[t+1]||e<=s[t+1])&&this.activate(n[t])},n.prototype.activate=function(t){this.activeTarget=t,o(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=o(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")};var t=o.fn.scrollspy;o.fn.scrollspy=function(s){return this.each(function(){var t=o(this),e=t.data("bs.scrollspy"),i="object"==typeof s&&s;e||t.data("bs.scrollspy",e=new n(this,i)),"string"==typeof s&&e[s]()})},o.fn.scrollspy.Constructor=n,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=t,this},o(window).on("load",function(){o('[data-spy="scroll"]').each(function(){var t=o(this);t.scrollspy(t.data())})})}(jQuery),function(a){"use strict";function s(t){this.element=a(t)}s.prototype.show=function(){var t,e,i,s=this.element,n=s.closest("ul:not(.dropdown-menu)"),o=s.data("target");o||(o=(o=s.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),s.parent("li").hasClass("active")||(t=n.find(".active:last a")[0],e=a.Event("show.bs.tab",{relatedTarget:t}),s.trigger(e),e.isDefaultPrevented()||(i=a(o),this.activate(s.parent("li"),n),this.activate(i,i.parent(),function(){s.trigger({type:"shown.bs.tab",relatedTarget:t})})))},s.prototype.activate=function(t,e,i){function s(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),i&&i()}var n=e.find("> .active"),o=i&&a.support.transition&&n.hasClass("fade");o?n.one(a.support.transition.end,s).emulateTransitionEnd(150):s(),n.removeClass("in")};var t=a.fn.tab;a.fn.tab=function(i){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new s(this)),"string"==typeof i&&e[i]()})},a.fn.tab.Constructor=s,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),a(this).tab("show")})}(jQuery),function(h){"use strict";var c=function(t,e){this.options=h.extend({},c.DEFAULTS,e),this.$window=h(window).on("scroll.bs.affix.data-api",h.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",h.proxy(this.checkPositionWithEventLoop,this)),this.$element=h(t),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var t=this.$window.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},c.prototype.checkPositionWithEventLoop=function(){setTimeout(h.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){var t,e,i,s,n,o,a,r,l;this.$element.is(":visible")&&(t=h(document).height(),e=this.$window.scrollTop(),i=this.$element.offset(),n=(s=this.options.offset).top,o=s.bottom,"top"==this.affixed&&(i.top+=e),"object"!=typeof s&&(o=n=s),"function"==typeof n&&(n=s.top(this.$element)),"function"==typeof o&&(o=s.bottom(this.$element)),a=!(null!=this.unpin&&e+this.unpin<=i.top)&&(null!=o&&i.top+this.$element.height()>=t-o?"bottom":null!=n&&e<=n&&"top"),this.affixed!==a&&(this.unpin&&this.$element.css("top",""),r="affix"+(a?"-"+a:""),l=h.Event(r+".bs.affix"),this.$element.trigger(l),l.isDefaultPrevented()||(this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(r).trigger(h.Event(r.replace("affix","affixed"))),"bottom"==a&&this.$element.offset({top:t-o-this.$element.height()}))))};var t=h.fn.affix;h.fn.affix=function(s){return this.each(function(){var t=h(this),e=t.data("bs.affix"),i="object"==typeof s&&s;e||t.data("bs.affix",e=new c(this,i)),"string"==typeof s&&e[s]()})},h.fn.affix.Constructor=c,h.fn.affix.noConflict=function(){return h.fn.affix=t,this},h(window).on("load",function(){h('[data-spy="affix"]').each(function(){var t=h(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),t.affix(e)})})}(jQuery);var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;function resizeText(){jQuery(".lp-btn-responsive span").each(function(){jQuery(this).fontSizeAdapter({fontMax:42,fontMin:8})})}function animate_navigation(t){var e="0",i="-50%";t.hasClass("slide-active")?(t.removeClass("slide-active"),jQuery(".navbar-toggle i").removeClass("fa-close"),jQuery(".navbar-toggle i").addClass("fa-bars")):(t.addClass("slide-active"),jQuery(".navbar-toggle i").removeClass("fa-bars"),jQuery(".navbar-toggle i").addClass("fa-close"),i="0",e="50%"),jQuery(".navbar-collapse").css({right:i}),jQuery(".navbar-header").css({right:e}),jQuery("body , html").toggleClass("noscroll")}function navigation_handler(){jQuery(".navbar-toggle").click(function(t){t.stopPropagation(),animate_navigation(jQuery(this))})}(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(g){function t(t,e){var i=c("easing."+t,function(){},!0),s=i.prototype=new g;return s.constructor=i,s.getRatio=e,i}function e(t,e,i,s){var n=c("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return d(n,t),n}function v(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}function i(t,e){var i=c("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),s=i.prototype=new g;return s.constructor=i,s.getRatio=e,s.config=function(t){return new i(t)},i}var s,n,o,a=_gsScope.GreenSockGlobals||_gsScope,r=a.com.greensock,l=2*Math.PI,h=Math.PI/2,c=r._class,d=g.register||function(){},u=e("Back",i("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),i("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),i("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),p=c("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},p.ease=new p(.7,.7),f.config=p.config=function(t,e,i){return new p(t,e,i)},(f=(s=c("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new g).constructor=s,f.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},f.config=s.config=function(t){return new s(t)},(f=(n=c("easing.RoughEase",function(t){for(var e,i,s,n,o,a,r=(t=t||{}).taper||"none",l=[],h=0,c=0|(t.points||20),d=c,u=!1!==t.randomize,p=!0===t.clamp,f=t.template instanceof g?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;-1<--d;)e=u?Math.random():1/c*d,i=f?f.getRatio(e):e,s="none"===r?m:"out"===r?(n=1-e)*n*m:"in"===r?e*e*m:.5*(n=e<.5?2*e:2*(1-e))*n*m,u?i+=Math.random()*s-.5*s:d%2?i+=.5*s:i-=.5*s,p&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},f.config=function(t){return new n(t)},n.ease=new n,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1- --t*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(o=function(t,e,i){var s=c("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/l*(Math.asin(1/this._p1)||0),this._p2=l/this._p2},!0),n=s.prototype=new g;return n.constructor=s,n.getRatio=e,n.config=function(t,e){return new s(t,e)},s})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),o("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2))},.3),o("ElasticInOut",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2):.5*this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*this._p2)+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*h)}),t("SineIn",function(t){return 1-Math.cos(t*h)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),c("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),d(a.SlowMo,"SlowMo","ease,"),d(n,"RoughEase","ease,"),d(s,"SteppedEase","ease,"),u},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(o,a,i){function e(t,e){this.elem=t,this.$elem=o(t),this.options=e,this.metadata=this.$elem.data("plugin-options"),this.$win=o(a),this.sections={},this.didScroll=!1,this.$doc=o(i),this.docHeight=this.$doc.height()}e.defaults=(e.prototype={defaults:{navItems:"a",currentClass:"current",changeHash:!1,easing:"swing",filter:"",scrollSpeed:750,scrollThreshold:.5,begin:!1,end:!1,scrollChange:!1},init:function(){return this.config=o.extend({},this.defaults,this.options,this.metadata),this.$nav=this.$elem.find(this.config.navItems),""!==this.config.filter&&(this.$nav=this.$nav.filter(this.config.filter)),this.$nav.on("click.onePageNav",o.proxy(this.handleClick,this)),this.getPositions(),this.bindInterval(),this.$win.on("resize.onePageNav",o.proxy(this.getPositions,this)),this},adjustNav:function(t,e){var i="."+o(this.$nav.context).attr("class").split(" ")[0];o(i+" ."+t.config.currentClass).removeClass(t.config.currentClass);var s=o(e).parent().children().index(e);o(i).each(function(){o(this).children().eq(s).addClass(t.config.currentClass)})},bindInterval:function(){var t,e=this;e.$win.on("scroll.onePageNav",function(){e.didScroll=!0}),e.t=setInterval(function(){t=e.$doc.height(),e.didScroll&&(e.didScroll=!1,e.scrollChange()),t!==e.docHeight&&(e.docHeight=t,e.getPositions())},250)},getHash:function(t){return t.attr("href").split("#")[1]},getPositions:function(){var t,e,i,s=this;s.$nav.each(function(){t=s.getHash(o(this)),(i=o("#"+t)).length&&(e=i.offset().top,s.sections[t]=Math.round(e))})},getSection:function(t){var e=null,i=Math.round(this.$win.height()*this.config.scrollThreshold);for(var s in this.sections)this.sections[s]-io[0].parent().height()?S.call(this):(G(t,a[0].toString(),{dir:"y",dur:0,overwrite:"none"}),e.contentReset.y=null):(S.call(this),"y"===i.axis?j.call(this):"yx"===i.axis&&e.overflowed[1]&&G(t,a[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==i.axis&&(e.overflowed[1]?o[1].width()>o[1].parent().width()?S.call(this):(G(t,a[1].toString(),{dir:"x",dur:0,overwrite:"none"}),e.contentReset.x=null):(S.call(this),"x"===i.axis?j.call(this):"yx"===i.axis&&e.overflowed[0]&&G(t,a[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),r&&e&&(2===r&&i.callbacks.onImageLoad&&"function"==typeof i.callbacks.onImageLoad?i.callbacks.onImageLoad.call(this):3===r&&i.callbacks.onSelectorChange&&"function"==typeof i.callbacks.onSelectorChange?i.callbacks.onSelectorChange.call(this):i.callbacks.onUpdate&&"function"==typeof i.callbacks.onUpdate&&i.callbacks.onUpdate.call(this)),Z.call(this)}})},scrollTo:function(r,l){if(void 0!==r&&null!=r){var t=h.call(this);return A(t).each(function(){var t,e,i,s,n,o,a=A(this);a.data(P)&&(t=a.data(P),i={trigger:"external",scrollInertia:(e=t.opt).scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},s=A.extend(!0,{},i,l),n=V.call(this,r),o=0
","
"],o="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",a="yx"===i.axis?n[0]+n[1]:"x"===i.axis?n[1]:n[0],r="yx"===i.axis?"
":"",l=i.autoHideScrollbar?" "+b[6]:"",h="x"!==i.axis&&"rtl"===e.langDir?" "+b[7]:"";i.setWidth&&t.css("width",i.setWidth),i.setHeight&&t.css("height",i.setHeight),i.setLeft="y"!==i.axis&&"rtl"===e.langDir?"989999px":i.setLeft,t.addClass(p+" _"+P+"_"+e.idx+l+h).wrapInner("
");var c=A("#mCSB_"+e.idx),d=A("#mCSB_"+e.idx+"_container");"y"===i.axis||i.advanced.autoExpandHorizontalScroll||d.css("width",v(d)),"outside"===i.scrollbarPosition?("static"===t.css("position")&&t.css("position","relative"),t.css("overflow","visible"),c.addClass("mCSB_outside").after(a)):(c.addClass("mCSB_inside").append(a),d.wrap(r)),w.call(this);var u=[A("#mCSB_"+e.idx+"_dragger_vertical"),A("#mCSB_"+e.idx+"_dragger_horizontal")];u[0].css("min-height",u[0].height()),u[1].css("min-width",u[1].width())},v=function(t){var e=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return A(this).outerWidth(!0)}).get())],i=t.parent().width();return is.parent().width()?s.css({width:t,"min-width":"100%","overflow-x":"inherit"}):s.css({"overflow-x":"inherit",position:"absolute"}).wrap("
").css({width:Math.ceil(s[0].getBoundingClientRect().right+.4)-Math.floor(s[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap())},w=function(){var t=A(this).data(P),e=t.opt,i=A(".mCSB_"+t.idx+"_scrollbar:first"),s=st(e.scrollButtons.tabindex)?"tabindex='"+e.scrollButtons.tabindex+"'":"",n=["","","",""],o=["x"===e.axis?n[2]:n[0],"x"===e.axis?n[3]:n[1],n[2],n[3]];e.scrollButtons.enable&&i.prepend(o[0]).append(o[1]).next(".mCSB_scrollTools").prepend(o[2]).append(o[3])},_=function(){var t=A(this).data(P),e=A("#mCSB_"+t.idx),i=A("#mCSB_"+t.idx+"_container"),s=[A("#mCSB_"+t.idx+"_dragger_vertical"),A("#mCSB_"+t.idx+"_dragger_horizontal")],n=[e.height()/i.outerHeight(!1),e.width()/i.outerWidth(!1)],o=[parseInt(s[0].css("min-height")),Math.round(n[0]*s[0].parent().height()),parseInt(s[1].css("min-width")),Math.round(n[1]*s[1].parent().width())],a=g&&o[1]e.height(),n>e.width()]},S=function(){var t,e=A(this),i=e.data(P),s=i.opt,n=A("#mCSB_"+i.idx),o=A("#mCSB_"+i.idx+"_container"),a=[A("#mCSB_"+i.idx+"_dragger_vertical"),A("#mCSB_"+i.idx+"_dragger_horizontal")];X(e),("x"!==s.axis&&!i.overflowed[0]||"y"===s.axis&&i.overflowed[0])&&(a[0].add(o).css("top",0),G(e,"_resetY")),("y"!==s.axis&&!i.overflowed[1]||"x"===s.axis&&i.overflowed[1])&&(t=dx=0,"rtl"===i.langDir&&(t=n.width()-o.outerWidth(!1),dx=Math.abs(t/i.scrollRatio.x)),o.css("left",t),a[1].css("left",dx),G(e,"_resetX"))},T=function(){var e,i=A(this),t=i.data(P),s=t.opt;t.bindEvents||(a.call(this),s.contentTouchScroll&&E.call(this),Q.call(this),s.mouseWheel.enable&&function t(){e=setTimeout(function(){A.event.special.mousewheel?(clearTimeout(e),M.call(i[0])):t()},100)}(),I.call(this),F.call(this),s.advanced.autoScrollOnFocus&&O.call(this),s.scrollButtons.enable&&q.call(this),s.keyboard.enable&&N.call(this),t.bindEvents=!0)},j=function(){var t=A(this),e=t.data(P),i=e.opt,s="mCS_"+e.idx,n=".mCSB_"+e.idx+"_scrollbar",o=A("#mCSB_"+e.idx+",#mCSB_"+e.idx+"_container,#mCSB_"+e.idx+"_container_wrapper,"+n+" ."+b[12]+",#mCSB_"+e.idx+"_dragger_vertical,#mCSB_"+e.idx+"_dragger_horizontal,"+n+">a"),a=A("#mCSB_"+e.idx+"_container");i.advanced.releaseDraggableSelectors&&o.add(A(i.advanced.releaseDraggableSelectors)),i.advanced.extraDraggableSelectors&&o.add(A(i.advanced.extraDraggableSelectors)),e.bindEvents&&(A(document).add(A(!H()||top.document)).unbind("."+s),o.each(function(){A(this).unbind("."+s)}),clearTimeout(t[0]._focusTimeout),tt(t[0],"_focusTimeout"),clearTimeout(e.sequential.step),tt(e.sequential,"step"),clearTimeout(a[0].onCompleteTimeout),tt(a[0],"onCompleteTimeout"),e.bindEvents=!1)},k=function(t){var e=A(this),i=e.data(P),s=i.opt,n=A("#mCSB_"+i.idx+"_container_wrapper"),o=n.length?n:A("#mCSB_"+i.idx+"_container"),a=[A("#mCSB_"+i.idx+"_scrollbar_vertical"),A("#mCSB_"+i.idx+"_scrollbar_horizontal")],r=[a[0].find(".mCSB_dragger"),a[1].find(".mCSB_dragger")];"x"!==s.axis&&(i.overflowed[0]&&!t?(a[0].add(r[0]).add(a[0].children("a")).css("display","block"),o.removeClass(b[8]+" "+b[10])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&r[0].css("display","none"),o.removeClass(b[10])):(a[0].css("display","none"),o.addClass(b[10])),o.addClass(b[8]))),"y"!==s.axis&&(i.overflowed[1]&&!t?(a[1].add(r[1]).add(a[1].children("a")).css("display","block"),o.removeClass(b[9]+" "+b[11])):(s.alwaysShowScrollbar?(2!==s.alwaysShowScrollbar&&r[1].css("display","none"),o.removeClass(b[11])):(a[1].css("display","none"),o.addClass(b[11])),o.addClass(b[9]))),i.overflowed[0]||i.overflowed[1]?e.removeClass(b[5]):e.addClass(b[5])},W=function(t){var e=t.type,i=t.target.ownerDocument!==document&&null!==frameElement?[A(frameElement).offset().top,A(frameElement).offset().left]:null,s=H()&&t.target.ownerDocument!==top.document&&null!==frameElement?[A(t.view.frameElement).offset().top,A(t.view.frameElement).offset().left]:[0,0];switch(e){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[t.originalEvent.pageY-i[0]+s[0],t.originalEvent.pageX-i[1]+s[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var n=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],o=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[n.screenY,n.screenX,1-(o*S.scrollRatio.y)&&(2*B[3]-(r*S.scrollRatio.x)&&(2*B[2]h.height()&&c("on",40)),"y"!==a.axis&&o.overflowed[1]&&(s<0?c("on",37):s>h.width()&&c("on",39))))}).bind("mouseup."+t+" dragend."+t,function(t){R||(n&&(n=0,c("off",null)),L=!1)})},M=function(){var d,u,p,t,f,m,e;function i(t,e){var i,s,n,o,a,r,l,h,c;X(d),D(d,t.target)||(i="auto"!==p.mouseWheel.deltaFactor?parseInt(p.mouseWheel.deltaFactor):!(g&&t.deltaFactor<100)&&t.deltaFactor||100,s=p.scrollInertia,c="x"===p.axis||"x"===p.mouseWheel.axis?(n="x",o=[Math.round(i*u.scrollRatio.x),parseInt(p.mouseWheel.scrollAmount)],a="auto"!==p.mouseWheel.scrollAmount?o[1]:o[0]>=f.width()?.9*f.width():o[0],r=Math.abs(A("#mCSB_"+u.idx+"_container")[0].offsetLeft),l=m[1][0].offsetLeft,h=m[1].parent().width()-m[1].width(),"y"===p.mouseWheel.axis?t.deltaY||e:t.deltaX):(n="y",o=[Math.round(i*u.scrollRatio.y),parseInt(p.mouseWheel.scrollAmount)],a="auto"!==p.mouseWheel.scrollAmount?o[1]:o[0]>=f.height()?.9*f.height():o[0],r=Math.abs(A("#mCSB_"+u.idx+"_container")[0].offsetTop),l=m[0][0].offsetTop,h=m[0].parent().height()-m[0].height(),t.deltaY||e),"y"===n&&!u.overflowed[0]||"x"===n&&!u.overflowed[1]||((p.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&&(c=-c),p.mouseWheel.normalizeDelta&&(c=c<0?-1:1),(0i.offset().left?-1:1,o=Math.abs(h[0].offsetLeft)-n*(.9*c.width())}else{if(!l.overflowed[0])return;s="y",n=t.pageY>i.offset().top?-1:1,o=Math.abs(h[0].offsetTop)-n*(.9*c.height())}G(r,o.toString(),{dir:s,scrollEasing:"mcsEaseInOut"})}})},O=function(){var o=A(this),t=o.data(P),a=t.opt,e="mCS_"+t.idx,r=A("#mCSB_"+t.idx+"_container"),l=r.parent();r.bind("focusin."+e,function(t){var n=A(document.activeElement),e=r.find(".mCustomScrollBox").length;n.is(a.advanced.autoScrollOnFocus)&&(X(o),clearTimeout(o[0]._focusTimeout),o[0]._focusTimer=e?17*e:0,o[0]._focusTimeout=setTimeout(function(){var t=[nt(n)[0],nt(n)[1]],e=[r[0].offsetTop,r[0].offsetLeft],i=[0<=e[0]+t[0]&&e[0]+t[0]a").bind("contextmenu."+t,function(t){t.preventDefault()}).bind("mousedown."+t+" touchstart."+t+" pointerdown."+t+" MSPointerDown."+t+" mouseup."+t+" touchend."+t+" pointerup."+t+" MSPointerUp."+t+" mouseout."+t+" pointerout."+t+" MSPointerOut."+t+" click."+t,function(t){if(t.preventDefault(),et(t)){var e=A(this).attr("class");switch(a.type=o.scrollButtons.scrollType,t.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===a.type)return;L=!0,n.tweenRunning=!1,i("on",e);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===a.type)return;L=!1,a.dir&&i("off",e);break;case"click":if("stepped"!==a.type||n.tweenRunning)return;i("on",e)}}function i(t,e){a.scrollAmount=o.scrollButtons.scrollAmount,U(s,t,e)}})},N=function(){var r=A(this),l=r.data(P),h=l.opt,c=l.sequential,t="mCS_"+l.idx,e=A("#mCSB_"+l.idx),d=A("#mCSB_"+l.idx+"_container"),u=d.parent(),p="input,textarea,select,datalist,keygen,[contenteditable='true']",i=d.find("iframe"),s=["blur."+t+" keydown."+t+" keyup."+t];function n(t){switch(t.type){case"blur":l.tweenRunning&&c.dir&&a("off",null);break;case"keydown":case"keyup":var e,i,s,n=t.keyCode?t.keyCode:t.which,o="on";if("x"!==h.axis&&(38===n||40===n)||"y"!==h.axis&&(37===n||39===n)){if((38===n||40===n)&&!l.overflowed[0]||(37===n||39===n)&&!l.overflowed[1])return;"keyup"===t.type&&(o="off"),A(document.activeElement).is(p)||(t.preventDefault(),t.stopImmediatePropagation(),a(o,n))}else{33===n||34===n?((l.overflowed[0]||l.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type&&(X(r),e=34===n?-1:1,s="x"===h.axis||"yx"===h.axis&&l.overflowed[1]&&!l.overflowed[0]?(i="x",Math.abs(d[0].offsetLeft)-e*(.9*u.width())):(i="y",Math.abs(d[0].offsetTop)-e*(.9*u.height())),G(r,s.toString(),{dir:i,scrollEasing:"mcsEaseInOut"}))):35!==n&&36!==n||A(document.activeElement).is(p)||((l.overflowed[0]||l.overflowed[1])&&(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type&&(s="x"===h.axis||"yx"===h.axis&&l.overflowed[1]&&!l.overflowed[0]?(i="x",35===n?Math.abs(u.width()-d.outerWidth(!1)):0):(i="y",35===n?Math.abs(u.height()-d.outerHeight(!1)):0),G(r,s.toString(),{dir:i,scrollEasing:"mcsEaseInOut"})))}}function a(t,e){c.type=h.keyboard.scrollType,c.scrollAmount=h.keyboard.scrollAmount,"stepped"===c.type&&l.tweenRunning||U(r,t,e)}}i.length&&i.each(function(){A(this).bind("load",function(){H(this)&&A(this.contentDocument||this.contentWindow.document).bind(s[0],function(t){n(t)})})}),e.attr("tabindex","0").bind(s[0],function(t){n(t)})},U=function(d,t,e,u,p){var f=d.data(P),m=f.opt,g=f.sequential,v=A("#mCSB_"+f.idx+"_container"),i="stepped"===g.type,y=m.scrollInertia<26?26:m.scrollInertia,w=m.scrollInertia<1?17:m.scrollInertia;switch(t){case"on":if(g.dir=[e===b[16]||e===b[15]||39===e||37===e?"x":"y",e===b[13]||e===b[15]||38===e||37===e?-1:1],X(d),st(e)&&"stepped"===g.type)return;_(i);break;case"off":clearTimeout(g.step),tt(g,"step"),X(d),(i||f.tweenRunning&&g.dir)&&_(!0)}function _(t){m.snapAmount&&(g.scrollAmount=m.snapAmount instanceof Array?"x"===g.dir[0]?m.snapAmount[1]:m.snapAmount[0]:m.snapAmount);var e="stepped"!==g.type,i=p||(t?e?y/1.5:w:1e3/60),s=t?e?7.5:40:2.5,n=[Math.abs(v[0].offsetTop),Math.abs(v[0].offsetLeft)],o=[10=w[1]?_=[w[0],w[1]]:_[0]=-_[0],n[0].mcs||(j(),T("onInit")&&l.callbacks.onInit.call(n[0])),clearTimeout(u[0].onCompleteTimeout),J(g[0],v,Math.round(_[1]),c[1],o.scrollEasing),!r.tweenRunning&&(0===y&&0<=_[0]||y===w[0]&&_[0]<=w[0])||J(u[0],v,Math.round(_[0]),c[0],o.scrollEasing,o.overwrite,{onStart:function(){o.callbacks&&o.onStart&&!r.tweenRunning&&(T("onScrollStart")&&(j(),l.callbacks.onScrollStart.call(n[0])),r.tweenRunning=!0,$(g),r.cbOffsets=[l.callbacks.alwaysTriggerOffsets||y>=w[0]+b,l.callbacks.alwaysTriggerOffsets||y<=-x])},onUpdate:function(){o.callbacks&&o.onUpdate&&T("whileScrolling")&&(j(),l.callbacks.whileScrolling.call(n[0]))},onComplete:function(){var t;o.callbacks&&o.onComplete&&("yx"===l.axis&&clearTimeout(u[0].onCompleteTimeout),t=u[0].idleTimer||0,u[0].onCompleteTimeout=setTimeout(function(){T("onScroll")&&(j(),l.callbacks.onScroll.call(n[0])),T("onTotalScroll")&&_[1]>=w[1]-C&&r.cbOffsets[0]&&(j(),l.callbacks.onTotalScroll.call(n[0])),T("onTotalScrollBack")&&_[1]<=S&&r.cbOffsets[1]&&(j(),l.callbacks.onTotalScrollBack.call(n[0])),r.tweenRunning=!1,u[0].idleTimer=0,$(g,"hide")},t))}})}function T(t){return r&&l.callbacks[t]&&"function"==typeof l.callbacks[t]}function j(){var t=[u[0].offsetTop,u[0].offsetLeft],e=[g[0].offsetTop,g[0].offsetLeft],i=[u.outerHeight(!1),u.outerWidth(!1)],s=[d.height(),d.width()];n[0].mcs={content:u,top:t[0],left:t[1],draggerTop:e[0],draggerLeft:e[1],topPct:Math.round(100*Math.abs(t[0])/(Math.abs(i[0])-s[0])),leftPct:Math.round(100*Math.abs(t[1])/(Math.abs(i[1])-s[1])),direction:o.dir}}},J=function(t,e,i,s,n,o,a){t._mTween||(t._mTween={top:{},left:{}});var r,l,h=(a=a||{}).onStart||function(){},c=a.onUpdate||function(){},d=a.onComplete||function(){},u=K(),p=0,f=t.offsetTop,m=t.style,g=t._mTween[e];"left"===e&&(f=t.offsetLeft);var v=i-f;function y(){g.stop||(p||h.call(),p=K()-u,w(),p>=g.time&&(g.time=p>g.time?p+r-(p-g.time):p+r-1,g.time",o)||this.op(e,"<",n)&&this.op(e,">",o))&&a.push(r);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+a.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],h.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},h.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},h.prototype.initialize=function(){var t,e,i;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},h.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},h.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,s=null;t?(l.each(t,function(t){t<=e&&i").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},h.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),s={};t",a[t+1]!==r?a[t+1]:e-o)&&(n="left"===s?t+1:t),-1===n},this)),this.settings.loop||(this.op(i,">",a[this.minimum()])?n=i=this.minimum():this.op(i,"<",a[this.maximum()])&&(n=i=this.maximum())),n},h.prototype.animate=function(t){var e=0s););o=e+1}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},h.prototype.minimum=function(t){return t?0:this._clones.length/2},h.prototype.items=function(t){return t===r?this._items.slice():(t=this.normalize(t,!0),this._items[t])},h.prototype.mergers=function(t){return t===r?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},h.prototype.clones=function(i){function s(t){return t%2==0?n+t/2:e-(t+1)/2}var e=this._clones.length/2,n=e+this._items.length;return i===r?l.map(this._clones,function(t,e){return s(e)}):l.map(this._clones,function(t,e){return t===i?s(e):null})},h.prototype.speed=function(t){return t!==r&&(this._speed=t),this._speed},h.prototype.coordinates=function(t){var e,i=1,s=t-1;return t===r?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,s=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[s]||0))/2*i):e=this._coordinates[s]||0,e=Math.ceil(e))},h.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},h.prototype.to=function(t,e){var i,s=this.current(),n=t-this.relative(s),o=(0a/2&&(n+=-1*o*a),(i=(((t=s+n)-r)%a+a)%a+r)!==t&&i-n<=l&&0":return s?t=":return s?t<=i:i<=t;case"<=":return s?i<=t:t<=i}},h.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},h.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},h.prototype.trigger=function(t,e,i,s,n){var o={item:{count:this._items.length,index:this.current()}},a=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),r=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},o,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(r)}),this.register({type:h.Type.Event,name:t}),this.$element.trigger(r),this.settings&&"function"==typeof this.settings[a]&&this.settings[a].call(this,r)),r},h.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===r&&(this._states.current[e]=0),this._states.current[e]++},this))},h.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},h.prototype.register=function(i){var e;i.type===h.Type.Event?(l.event.special[i.name]||(l.event.special[i.name]={}),l.event.special[i.name].owl||(e=l.event.special[i.name]._default,l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1",{class:"owl-video-tn "+l,srcType:t}):c("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(s),e.after('
')}var s,n,o=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",a=e.find("img"),r="src",l="",h=this._core.settings;if(e.wrap(c("
",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(r="data-src",l="owl-lazy"),a.length)return i(a.attr(r)),a.remove(),!1;"youtube"===t.type?(n="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(n)):"vimeo"===t.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,i(n)}}):"vzaar"===t.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,i(n)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var e,i=c(t.target).closest("."+this._core.settings.itemClass),s=this._videos[i.attr("data-video")],n=s.width||"100%",o=s.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),(e=c('')).attr("height",o),e.attr("width",n),"youtube"===s.type?e.attr("src","//www.youtube.com/embed/"+s.id+"?autoplay=1&rel=0&v="+s.id):"vimeo"===s.type?e.attr("src","//player.vimeo.com/video/"+s.id+"?autoplay=1"):"vzaar"===s.type&&e.attr("src","//view.vzaar.com/"+s.id+"/player?autoplay=true"),c(e).wrap('
').insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&c(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,(window,document)),function(a){var e=function(t){this.core=t,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":a.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":a.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,i,s,n,o;1===this.core.settings.items&&a.support.animation&&a.support.transition&&(this.core.speed(0),e=a.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),n=this.core.settings.animateIn,o=this.core.settings.animateOut,this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(a.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),n&&s.one(a.support.animation.end,e).addClass("animated owl-animated-in").addClass(n)))},e.prototype.clear=function(t){a(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(s,n,e){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":s.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":s.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":s.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":s.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":s.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=s.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=n.setTimeout(s.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):n.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=n.setTimeout(s.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,n.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,n.clearTimeout(this._call))},i.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},s.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(o){"use strict";var e=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?o(i.navContainer):o("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=o("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[o('