(function(){var ae={frameRate:150,animationTime:400,stepSize:100,pulseAlgorithm:true,pulseScale:4,pulseNormalize:1,accelerationDelta:50,accelerationMax:3,keyboardSupport:true,arrowScroll:50,fixedBackground:true,excluded:""};var K=ae;var I=false;var D=false;var n={x:0,y:0};var b=false;var M=document.documentElement;var g;var T;var u;var ak=[];var h;var af=/^Mac/.test(navigator.platform);var C={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36};var V={37:1,38:1,39:1,40:1};function ao(){if(K.keyboardSupport){l("keydown",J)}}function ah(){if(b||!document.body){return}b=true;var e=document.body;var au=document.documentElement;var aw=window.innerHeight;var av=e.scrollHeight;M=(document.compatMode.indexOf("CSS")>=0)?au:e;g=e;ao();if(top!=self){D=true}else{if(Z&&av>aw&&(e.offsetHeight<=aw||au.offsetHeight<=aw)){var ar=document.createElement("div");ar.style.cssText="position:absolute; z-index:-10000; top:0; left:0; right:0; height:"+M.scrollHeight+"px";document.body.appendChild(ar);var ap;u=function(){if(ap){return}ap=setTimeout(function(){if(I){return}ar.style.height="0";ar.style.height=M.scrollHeight+"px";ap=null},500)};setTimeout(u,10);l("resize",u);var at={attributes:true,childList:true,characterData:false};T=new N(u);T.observe(e,at);if(M.offsetHeight<=aw){var aq=document.createElement("div");aq.style.clear="both";e.appendChild(aq)}}}if(!K.fixedBackground&&!I){e.style.backgroundAttachment="scroll";au.style.backgroundAttachment="scroll"}}function c(){T&&T.disconnect();a(U,v);a("mousedown",x);a("keydown",J);a("resize",u);a("load",ah)}var X=[];var m=false;var w=Date.now();function ai(ar,aq,av){O(aq,av);if(K.accelerationMax!=1){var e=Date.now();var ax=e-w;if(ax1){au=Math.min(au,K.accelerationMax);aq*=au;av*=au}}w=Date.now()}X.push({x:aq,y:av,lastX:(aq<0)?0.99:-0.99,lastY:(av<0)?0.99:-0.99,start:Date.now()});if(m){return}var aw=F();var at=(ar===aw||ar===document.body);if(ar.$scrollBehavior==null&&Q(ar)){ar.$scrollBehavior=ar.style.scrollBehavior;ar.style.scrollBehavior="auto"}var ap=function(az){var ay=Date.now();var aG=0;var aF=0;for(var aB=0;aB=K.animationTime);var aC=(aA)?1:aH/K.animationTime;if(K.pulseAlgorithm){aC=q(aC)}var aE=(aI.x*aC-aI.lastX)>>0;var aD=(aI.y*aC-aI.lastY)>>0;aG+=aE;aF+=aD;aI.lastX+=aE;aI.lastY+=aD;if(aA){X.splice(aB,1);aB--}}if(at){window.scrollBy(aG,aF)}else{if(aG){ar.scrollLeft+=aG}if(aF){ar.scrollTop+=aF}}if(!aq&&!av){X=[]}if(X.length){W(ap,ar,(1000/K.frameRate+1))}else{m=false;if(ar.$scrollBehavior!=null){ar.style.scrollBehavior=ar.$scrollBehavior;ar.$scrollBehavior=null}}};W(ap,ar,0);m=true}function v(ar){if(!b){ah()}var at=ar.target;if(ar.defaultPrevented||ar.ctrlKey){return true}if(t(g,"embed")||(t(at,"embed")&&/\.pdf/i.test(at.src))||t(g,"object")||at.shadowRoot){return true}var ap=-ar.wheelDeltaX||ar.deltaX||0;var e=-ar.wheelDeltaY||ar.deltaY||0;if(af){if(ar.wheelDeltaX&&B(ar.wheelDeltaX,120)){ap=-120*(ar.wheelDeltaX/Math.abs(ar.wheelDeltaX))}if(ar.wheelDeltaY&&B(ar.wheelDeltaY,120)){e=-120*(ar.wheelDeltaY/Math.abs(ar.wheelDeltaY))}}if(!ap&&!e){e=-ar.wheelDelta||0}if(ar.deltaMode===1){ap*=40;e*=40}var aq=aa(at);if(!aq){if(D&&aj){Object.defineProperty(ar,"target",{value:window.frameElement});return parent.wheel(ar)}return true}if(am(e)){return true}if(Math.abs(ap)>1.2){ap*=K.stepSize/120}if(Math.abs(e)>1.2){e*=K.stepSize/120}ai(aq,ap,e);ar.preventDefault();s()}function J(e){var aw=e.target;var at=e.ctrlKey||e.altKey||e.metaKey||(e.shiftKey&&e.keyCode!==C.spacebar);if(!document.body.contains(g)){g=document.activeElement}var ap=/^(textarea|select|embed|object)$/i;var aq=/^(button|submit|radio|checkbox|file|color|image)$/i;if(e.defaultPrevented||ap.test(aw.nodeName)||t(aw,"input")&&!aq.test(aw.type)||t(g,"video")||A(e)||aw.isContentEditable||at){return true}if((t(aw,"button")||t(aw,"input")&&aq.test(aw.type))&&e.keyCode===C.spacebar){return true}if(t(aw,"input")&&aw.type=="radio"&&V[e.keyCode]){return true}var ar,aA=0,ay=0;var av=aa(g);if(!av){return(D&&aj)?parent.keydown(e):true}var au=av.clientHeight;if(av==document.body){au=window.innerHeight}switch(e.keyCode){case C.up:ay=-K.arrowScroll;break;case C.down:ay=K.arrowScroll;break;case C.spacebar:ar=e.shiftKey?1:-1;ay=-ar*au*0.9;break;case C.pageup:ay=-au*0.9;break;case C.pagedown:ay=au*0.9;break;case C.home:if(av==document.body&&document.scrollingElement){av=document.scrollingElement}ay=-av.scrollTop;break;case C.end:var az=av.scrollHeight-av.scrollTop;var ax=az-au;ay=(ax>0)?ax+10:0;break;case C.left:aA=-K.arrowScroll;break;case C.right:aA=K.arrowScroll;break;default:return true}ai(av,aA,ay);e.preventDefault();s()}function x(e){g=e.target}var L=(function(){var e=0;return function(ap){return ap.uniqueID||(ap.uniqueID=e++)}})();var p={};var o={};var ag;var an={};function s(){clearTimeout(ag);ag=setInterval(function(){p=o=an={}},1*1000)}function f(ar,aq,e){var ap=e?p:o;for(var at=ar.length;at--;){ap[L(ar[at])]=aq}return aq}function k(ap,e){return(e?p:o)[L(ap)]}function aa(au){var aq=[];var e=document.body;var ap=M.scrollHeight;do{var at=k(au,false);if(at){return f(aq,at)}aq.push(au);if(ap===au.scrollHeight){var av=Y(M)&&Y(e);var ar=av||P(M);if(D&&ab(M)||!D&&ar){return f(aq,F())}}else{if(ab(au)&&P(au)){return f(aq,au)}}}while((au=au.parentElement))}function ab(e){return(e.clientHeight+100)?1:-1;ap=(ap>0)?1:-1;if(n.x!==e||n.y!==ap){n.x=e;n.y=ap;X=[];w=0}}if(window.localStorage&&localStorage.SS_deltaBuffer){try{ak=localStorage.SS_deltaBuffer.split(",")}catch(al){}}function am(e){if(!e){return}if(!ak.length){ak=[e,e,e]}e=Math.abs(e);ak.push(e);ak.shift();clearTimeout(h);h=setTimeout(function(){try{localStorage.SS_deltaBuffer=ak.join(",")}catch(aq){}},1000);var ap=e>120&&H(e);return !H(120)&&!H(100)&&!ap}function B(ap,e){return(Math.floor(ap/e)==ap/e)}function H(e){return(B(ak[0],e)&&B(ak[1],e)&&B(ak[2],e))}function A(aq){var ap=aq.target;var e=false;if(document.URL.indexOf("www.youtube.com/watch")!=-1){do{e=(ap.classList&&ap.classList.contains("html5-video-controls"));if(e){break}}while((ap=ap.parentNode))}return e}var W=(function(){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(aq,ap,e){window.setTimeout(aq,e||(1000/60))})})();var N=(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);var F=(function(){var e=document.scrollingElement;return function(){if(!e){var ar=document.createElement("div");ar.style.cssText="height:10000px;width:1px;";document.body.appendChild(ar);var aq=document.body.scrollTop;var ap=document.documentElement.scrollTop;window.scrollBy(0,3);if(document.body.scrollTop!=aq){(e=document.body)}else{(e=document.documentElement)}window.scrollBy(0,-3);document.body.removeChild(ar)}return e}})();function ad(e){var aq,ar,ap;e=e*K.pulseScale;if(e<1){aq=e-(1-Math.exp(-e))}else{ar=Math.exp(-1);e-=1;ap=1-Math.exp(-e);aq=ar+(ap*(1-ar))}return aq*K.pulseNormalize}function q(e){if(e>=1){return 1}if(e<=0){return 0}if(K.pulseNormalize==1){K.pulseNormalize/=ad(1)}return ad(e)}var S=window.navigator.userAgent;var ac=/Edge/.test(S);var aj=/chrome/i.test(S)&&!ac;var d=/safari/i.test(S)&&!ac;var R=/mobile/i.test(S);var z=/Windows NT 6.1/i.test(S)&&/rv:11/i.test(S);var Z=d&&(/Version\/8/i.test(S)||/Version\/9/i.test(S));var E=(aj||d||z)&&!R;var y=false;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){y=true}}))}catch(al){}var G=y?{passive:false}:false;var U="onwheel" in document.createElement("div")?"wheel":"mousewheel";if(U&&E){l(U,v,G);l("mousedown",x);l("load",ah)}function r(ap){for(var e in ap){if(ae.hasOwnProperty(e)){K[e]=ap[e]}}}r.destroy=c;if(window.SmoothScrollOptions){r(window.SmoothScrollOptions)}if(typeof define==="function"&&define.amd){define(function(){return r})}else{if("object"==typeof exports){module.exports=r}else{window.SmoothScroll=r}}})(); /*! * Bootstrap v3.4.1 (https://getbootstrap.com/) * Copyright 2011-2020 Twitter, Inc. * Licensed under the MIT license */ ;if("undefined"==typeof jQuery){throw new Error("Bootstrap's JavaScript requires jQuery")}!function(a){var b=jQuery.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3){throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}}(),function(b){var c='[data-dismiss="alert"]',a=function(e){b(e).on("click",c,this.close)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(h){function k(){f.detach().trigger("closed.bs.alert").remove()}var l=b(this),g=l.attr("data-target");g||(g=(g=l.attr("href"))&&g.replace(/.*(?=#[^\s]*$)/,"")),g="#"===g?[]:g;var f=b(document).find(g);h&&h.preventDefault(),f.length||(f=l.closest(".alert")),f.trigger(h=b.Event("close.bs.alert")),h.isDefaultPrevented()||(f.removeClass("in"),b.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",k).emulateTransitionEnd(a.TRANSITION_DURATION):k())};var d=b.fn.alert;b.fn.alert=function(f){return this.each(function(){var e=b(this),g=e.data("bs.alert");g||e.data("bs.alert",g=new a(this)),"string"==typeof f&&g[f].call(e)})},b.fn.alert.Constructor=a,b.fn.alert.noConflict=function(){return b.fn.alert=d,this},b(document).on("click.bs.alert.data-api",c,a.prototype.close)}(jQuery),function(b){function c(f){return this.each(function(){var g=b(this),h=g.data("bs.button"),e="object"==typeof f&&f;h||g.data("bs.button",h=new a(this,e)),"toggle"==f?h.toggle():f&&h.setState(f)})}var a=function(f,g){this.$element=b(f),this.options=b.extend({},a.DEFAULTS,g),this.isLoading=!1};a.VERSION="3.4.1",a.DEFAULTS={loadingText:"loading..."},a.prototype.setState=function(h){var f="disabled",k=this.$element,l=k.is("input")?"val":"html",g=k.data();h+="Text",null==g.resetText&&k.data("resetText",k[l]()),setTimeout(b.proxy(function(){k[l](null==g[h]?this.options[h]:g[h]),"loadingText"==h?(this.isLoading=!0,k.addClass(f).attr(f,f).prop(f,!0)):this.isLoading&&(this.isLoading=!1,k.removeClass(f).removeAttr(f).prop(f,!1))},this),0)},a.prototype.toggle=function(){var g=!0,h=this.$element.closest('[data-toggle="buttons"]');if(h.length){var f=this.$element.find("input");"radio"==f.prop("type")?(f.prop("checked")&&(g=!1),h.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==f.prop("type")&&(f.prop("checked")!==this.$element.hasClass("active")&&(g=!1),this.$element.toggleClass("active")),f.prop("checked",this.$element.hasClass("active")),g&&f.trigger("change")}else{this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")}};var d=b.fn.button;b.fn.button=c,b.fn.button.Constructor=a,b.fn.button.noConflict=function(){return b.fn.button=d,this},b(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var f=b(e.target).closest(".btn");c.call(f,"toggle"),b(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),f.is("input,button")?f.trigger("focus"):f.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(f){b(f.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(f.type))})}(jQuery),function(b){function c(g){return this.each(function(){var k=b(this),l=k.data("bs.carousel"),h=b.extend({},a.DEFAULTS,k.data(),"object"==typeof g&&g),e="string"==typeof g?g:h.slide;l||k.data("bs.carousel",l=new a(this,h)),"number"==typeof g?l.to(g):e?l[e]():h.interval&&l.pause().cycle()})}var a=function(h,g){this.$element=b(h),this.$indicators=this.$element.find(".carousel-indicators"),this.options=g,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",b.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart" in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",b.proxy(this.pause,this)).on("mouseleave.bs.carousel",b.proxy(this.cycle,this))};a.VERSION="3.4.1",a.TRANSITION_DURATION=600,a.DEFAULTS={interval:5000,pause:"hover",wrap:!0,keyboard:!0},a.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},a.prototype.cycle=function(g){return g||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(b.proxy(this.next,this),this.options.interval)),this},a.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},a.prototype.getItemForDirection=function(h,k){var g=this.getItemIndex(k);if(("prev"==h&&0===g||"next"==h&&g==this.$items.length-1)&&!this.options.wrap){return k}var l=(g+("prev"==h?-1:1))%this.$items.length;return this.$items.eq(l)},a.prototype.to=function(h){var k=this,g=this.getItemIndex(this.$active=this.$element.find(".item.active"));return h>this.$items.length-1||0>h?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){k.to(h)}):g==h?this.pause().cycle():this.slide(h>g?"next":"prev",this.$items.eq(h))},a.prototype.pause=function(g){return g||(this.paused=!0),this.$element.find(".next, .prev").length&&b.support.transition&&(this.$element.trigger(b.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},a.prototype.next=function(){return this.sliding?void 0:this.slide("next")},a.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},a.prototype.slide=function(v,m){var q=this.$element.find(".item.active"),z=m||this.getItemForDirection(v,q),y=this.interval,g="next"==v?"left":"right",t=this;if(z.hasClass("active")){return this.sliding=!1}var u=z[0],w=b.Event("slide.bs.carousel",{relatedTarget:u,direction:g});if(this.$element.trigger(w),!w.isDefaultPrevented()){if(this.sliding=!0,y&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var k=b(this.$indicators.children()[this.getItemIndex(z)]);k&&k.addClass("active")}var x=b.Event("slid.bs.carousel",{relatedTarget:u,direction:g});return b.support.transition&&this.$element.hasClass("slide")?(z.addClass(v),"object"==typeof z&&z.length&&z[0].offsetWidth,q.addClass(g),z.addClass(g),q.one("bsTransitionEnd",function(){z.removeClass([v,g].join(" ")).addClass("active"),q.removeClass(["active",g].join(" ")),t.sliding=!1,setTimeout(function(){t.$element.trigger(x)},0)}).emulateTransitionEnd(a.TRANSITION_DURATION)):(q.removeClass("active"),z.addClass("active"),this.sliding=!1,this.$element.trigger(x)),y&&this.cycle(),this}};var d=b.fn.carousel;b.fn.carousel=c,b.fn.carousel.Constructor=a,b.fn.carousel.noConflict=function(){return b.fn.carousel=d,this};var f=function(h){var p=b(this),q=p.attr("href");q&&(q=q.replace(/.*(?=#[^\s]+$)/,""));var k=p.attr("data-target")||q,g=b(document).find(k);if(g.hasClass("carousel")){var m=b.extend({},g.data(),p.data()),e=p.attr("data-slide-to");e&&(m.interval=!1),c.call(g,m),e&&g.data("bs.carousel").to(e),h.preventDefault()}};b(document).on("click.bs.carousel.data-api","[data-slide]",f).on("click.bs.carousel.data-api","[data-slide-to]",f),b(window).on("load",function(){b('[data-ride="carousel"]').each(function(){var e=b(this);c.call(e,e.data())})})}(jQuery),function(d){function g(l){var a=l.attr("data-target");a||(a=(a=l.attr("href"))&&/#[A-Za-z]/.test(a)&&a.replace(/.*(?=#[^\s]*$)/,""));var m="#"!==a?d(document).find(a):null;return m&&m.length?m:l.parent()}function c(a){a&&3===a.which||(d(h).remove(),d(k).each(function(){var l=d(this),m=g(l),e={relatedTarget:this};m.hasClass("open")&&(a&&"click"==a.type&&/input|textarea/i.test(a.target.tagName)&&d.contains(m[0],a.target)||(m.trigger(a=d.Event("hide.bs.dropdown",e)),a.isDefaultPrevented()||(l.attr("aria-expanded","false"),m.removeClass("open").trigger(d.Event("hidden.bs.dropdown",e)))))}))}var h=".dropdown-backdrop",k='[data-toggle="dropdown"]',f=function(a){d(a).on("click.bs.dropdown",this.toggle)};f.VERSION="3.4.1",f.prototype.toggle=function(p){var q=d(this);if(!q.is(".disabled, :disabled")){var l=g(q),e=l.hasClass("open");if(c(),!e){"ontouchstart" in document.documentElement&&!l.closest(".navbar-nav").length&&d(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(d(this)).on("click",c);var m={relatedTarget:this};if(l.trigger(p=d.Event("show.bs.dropdown",m)),p.isDefaultPrevented()){return}q.trigger("focus").attr("aria-expanded","true"),l.toggleClass("open").trigger(d.Event("shown.bs.dropdown",m))}return !1}},f.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var t=d(this);if(n.preventDefault(),n.stopPropagation(),!t.is(".disabled, :disabled")){var p=g(t),m=p.hasClass("open");if(!m&&27!=n.which||m&&27==n.which){return 27==n.which&&p.find(k).trigger("focus"),t.trigger("click")}var q=p.find(".dropdown-menu li:not(.disabled):visible a");if(q.length){var e=q.index(n.target);38==n.which&&e>0&&e--,40==n.which&&edocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var f=window.innerWidth;if(!f){var g=document.documentElement.getBoundingClientRect();f=g.right-Math.abs(g.left)}this.bodyIsOverflowing=document.body.clientWidtha;a++){if(w.match(t[a])){return !0}}return !1}function g(y,v,w){if(0===y.length){return y}if(w&&"function"==typeof w){return w(y)}if(!document.implementation||!document.implementation.createHTMLDocument){return y}var G=document.implementation.createHTMLDocument("sanitization");G.body.innerHTML=y;for(var E=q.map(v,function(a,h){return h}),e=q(G.body).find("*"),x=0,z=e.length;z>x;x++){var C=e[x],t=C.nodeName.toLowerCase();if(-1!==q.inArray(t,E)){for(var D=q.map(C.attributes,function(a){return a}),B=[].concat(v["*"]||[],v[t]||[]),F=0,A=D.length;A>F;F++){m(D[F],B)||C.removeAttribute(D[F].nodeName)}}else{C.parentNode.removeChild(C)}}return G.body.innerHTML}var c=["sanitize","whiteList","sanitizeFn"],d=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],u={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},p=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,b=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,f=function(a,h){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,h)};f.VERSION="3.4.1",f.TRANSITION_DURATION=150,f.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:u},f.prototype.init=function(y,v,z){if(this.enabled=!0,this.type=y,this.$element=q(v),this.options=this.getOptions(z),this.$viewport=this.options.viewport&&q(document).find(q.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0] instanceof document.constructor&&!this.options.selector){throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!")}for(var A=this.options.trigger.split(" "),w=A.length;w--;){var t=A[w];if("click"==t){this.$element.on("click."+this.type,this.options.selector,q.proxy(this.toggle,this))}else{if("manual"!=t){var x="hover"==t?"mouseenter":"focusin",h="hover"==t?"mouseleave":"focusout";this.$element.on(x+"."+this.type,this.options.selector,q.proxy(this.enter,this)),this.$element.on(h+"."+this.type,this.options.selector,q.proxy(this.leave,this))}}}this.options.selector?this._options=q.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},f.prototype.getDefaults=function(){return f.DEFAULTS},f.prototype.getOptions=function(h){var l=this.$element.data();for(var a in l){l.hasOwnProperty(a)&&-1!==q.inArray(a,c)&&delete l[a]}return(h=q.extend({},this.getDefaults(),l,h)).delay&&"number"==typeof h.delay&&(h.delay={show:h.delay,hide:h.delay}),h.sanitize&&(h.template=g(h.template,h.whiteList,h.sanitizeFn)),h},f.prototype.getDelegateOptions=function(){var h={},a=this.getDefaults();return this._options&&q.each(this._options,function(e,l){a[e]!=l&&(h[e]=l)}),h},f.prototype.enter=function(h){var a=h instanceof this.constructor?h:q(h.currentTarget).data("bs."+this.type);return a||(a=new this.constructor(h.currentTarget,this.getDelegateOptions()),q(h.currentTarget).data("bs."+this.type,a)),h instanceof q.Event&&(a.inState["focusin"==h.type?"focus":"hover"]=!0),a.tip().hasClass("in")||"in"==a.hoverState?void (a.hoverState="in"):(clearTimeout(a.timeout),a.hoverState="in",a.options.delay&&a.options.delay.show?void (a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)):a.show())},f.prototype.isInStateTrue=function(){for(var a in this.inState){if(this.inState[a]){return !0}}return !1},f.prototype.leave=function(h){var a=h instanceof this.constructor?h:q(h.currentTarget).data("bs."+this.type);return a||(a=new this.constructor(h.currentTarget,this.getDelegateOptions()),q(h.currentTarget).data("bs."+this.type,a)),h instanceof q.Event&&(a.inState["focusout"==h.type?"focus":"hover"]=!1),a.isInStateTrue()?void 0:(clearTimeout(a.timeout),a.hoverState="out",a.options.delay&&a.options.delay.hide?void (a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)):a.hide())},f.prototype.show=function(){var C=q.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(C);var y=q.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(C.isDefaultPrevented()||!y){return}var v=this,w=this.tip(),H=this.getUID(this.type);this.setContent(),w.attr("id",H),this.$element.attr("aria-describedby",H),this.options.animation&&w.addClass("fade");var F="function"==typeof this.options.placement?this.options.placement.call(this,w[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,z=l.test(F);z&&(F=F.replace(l,"")||"top"),w.detach().css({top:0,left:0,display:"block"}).addClass(F).data("bs."+this.type,this),this.options.container?w.appendTo(q(document).find(this.options.container)):w.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var D=this.getPosition(),t=w[0].offsetWidth,E=w[0].offsetHeight;if(z){var B=F,G=this.getPosition(this.$viewport);F="bottom"==F&&D.bottom+E>G.bottom?"top":"top"==F&&D.top-EG.width?"left":"left"==F&&D.left-tD.top+D.height&&(x.top=D.top+D.height-y)}else{var A=B.left-F,C=B.left+F+z;AD.right&&(x.left=D.left+D.width-C)}return x},f.prototype.getTitle=function(){var a=this.$element,h=this.options;return a.attr("data-original-title")||("function"==typeof h.title?h.title.call(a[0]):h.title)},f.prototype.getUID=function(a){do{a+=~~(1000000*Math.random())}while(document.getElementById(a));return a},f.prototype.tip=function(){if(!this.$tip&&(this.$tip=q(this.options.template),1!=this.$tip.length)){throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")}return this.$tip},f.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},f.prototype.enable=function(){this.enabled=!0},f.prototype.disable=function(){this.enabled=!1},f.prototype.toggleEnabled=function(){this.enabled=!this.enabled},f.prototype.toggle=function(h){var a=this;h&&((a=q(h.currentTarget).data("bs."+this.type))||(a=new this.constructor(h.currentTarget,this.getDelegateOptions()),q(h.currentTarget).data("bs."+this.type,a))),h?(a.inState.click=!a.inState.click,a.isInStateTrue()?a.enter(a):a.leave(a)):a.tip().hasClass("in")?a.leave(a):a.enter(a)},f.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})},f.prototype.sanitizeHtml=function(a){return g(a,this.options.whiteList,this.options.sanitizeFn)};var k=q.fn.tooltip;q.fn.tooltip=function(a){return this.each(function(){var e=q(this),h=e.data("bs.tooltip"),l="object"==typeof a&&a;!h&&/destroy|hide/.test(a)||(h||e.data("bs.tooltip",h=new f(this,l)),"string"==typeof a&&h[a]())})},q.fn.tooltip.Constructor=f,q.fn.tooltip.noConflict=function(){return q.fn.tooltip=k,this}}(jQuery),function(b){var c=function(d,f){this.init("popover",d,f)};if(!b.fn.tooltip){throw new Error("Popover requires tooltip.js")}c.VERSION="3.4.1",c.DEFAULTS=b.extend({},b.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=b.extend({},b.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var f=this.tip(),g=this.getTitle(),d=this.getContent();if(this.options.html){var h=typeof d;this.options.sanitize&&(g=this.sanitizeHtml(g),"string"===h&&(d=this.sanitizeHtml(d))),f.find(".popover-title").html(g),f.find(".popover-content").children().detach().end()["string"===h?"html":"append"](d)}else{f.find(".popover-title").text(g),f.find(".popover-content").children().detach().end().text(d)}f.removeClass("fade top bottom left right in"),f.find(".popover-title").html()||f.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var d=this.$element,f=this.options;return d.attr("data-content")||("function"==typeof f.content?f.content.call(d[0]):f.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var a=b.fn.popover;b.fn.popover=function(d){return this.each(function(){var f=b(this),g=f.data("bs.popover"),e="object"==typeof d&&d;!g&&/destroy|hide/.test(d)||(g||f.data("bs.popover",g=new c(this,e)),"string"==typeof d&&g[d]())})},b.fn.popover.Constructor=c,b.fn.popover.noConflict=function(){return b.fn.popover=a,this}}(jQuery),function(b){function c(g){return this.each(function(){var e=b(this),h=e.data("bs.tab");h||e.data("bs.tab",h=new a(this)),"string"==typeof g&&h[g]()})}var a=function(g){this.element=b(g)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var m=this.element,h=m.closest("ul:not(.dropdown-menu)"),p=m.data("target");if(p||(p=(p=m.attr("href"))&&p.replace(/.*(?=#[^\s]*$)/,"")),!m.parent("li").hasClass("active")){var q=h.find(".active:last a"),k=b.Event("hide.bs.tab",{relatedTarget:m[0]}),g=b.Event("show.bs.tab",{relatedTarget:q[0]});if(q.trigger(k),m.trigger(g),!g.isDefaultPrevented()&&!k.isDefaultPrevented()){var l=b(document).find(p);this.activate(m.closest("li"),h),this.activate(l,l.parent(),function(){q.trigger({type:"hidden.bs.tab",relatedTarget:m[0]}),m.trigger({type:"shown.bs.tab",relatedTarget:q[0]})})}}},a.prototype.activate=function(l,m,p){function h(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),l.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),k?(l[0].offsetWidth,l.addClass("in")):l.removeClass("fade"),l.parent(".dropdown-menu").length&&l.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),p&&p()}var g=m.find("> .active"),k=p&&b.support.transition&&(g.length&&g.hasClass("fade")||!!m.find("> .fade").length);g.length&&k?g.one("bsTransitionEnd",h).emulateTransitionEnd(a.TRANSITION_DURATION):h(),g.removeClass("in")};var d=b.fn.tab;b.fn.tab=c,b.fn.tab.Constructor=a,b.fn.tab.noConflict=function(){return b.fn.tab=d,this};var f=function(e){e.preventDefault(),c.call(b(this),"show")};b(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',f).on("click.bs.tab.data-api",'[data-toggle="pill"]',f)}(jQuery),function(b){function c(f){return this.each(function(){var g=b(this),h=g.data("bs.affix"),e="object"==typeof f&&f;h||g.data("bs.affix",h=new a(this,e)),"string"==typeof f&&h[f]()})}var a=function(f,g){this.options=b.extend({},a.DEFAULTS,g);var h=this.options.target===a.DEFAULTS.target?b(this.options.target):b(document).find(this.options.target);this.$target=h.on("scroll.bs.affix.data-api",b.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",b.proxy(this.checkPositionWithEventLoop,this)),this.$element=b(f),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};a.VERSION="3.4.1",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(u,p,m,g){var h=this.$target.scrollTop(),v=this.$element.offset(),q=this.$target.height();if(null!=m&&"top"==this.affixed){return m>h&&"top"}if("bottom"==this.affixed){return null!=m?!(h+this.unpin<=v.top)&&"bottom":!(u-g>=h+q)&&"bottom"}var f=null==this.affixed,k=f?h:v.top;return null!=m&&m>=h?"top":null!=g&&k+(f?q:p)>=u-g&&"bottom"},a.prototype.getPinnedOffset=function(){if(this.pinnedOffset){return this.pinnedOffset}this.$element.removeClass(a.RESET).addClass("affix");var f=this.$target.scrollTop(),g=this.$element.offset();return this.pinnedOffset=g.top-f},a.prototype.checkPositionWithEventLoop=function(){setTimeout(b.proxy(this.checkPosition,this),1)},a.prototype.checkPosition=function(){if(this.$element.is(":visible")){var q=this.$element.height(),t=this.options.offset,u=t.top,m=t.bottom,g=Math.max(b(document).height(),b(document.body).height());"object"!=typeof t&&(m=u=t),"function"==typeof u&&(u=t.top(this.$element)),"function"==typeof m&&(m=t.bottom(this.$element));var p=this.getState(g,q,u,m);if(this.affixed!=p){null!=this.unpin&&this.$element.css("top","");var f="affix"+(p?"-"+p:""),k=b.Event(f+".bs.affix");if(this.$element.trigger(k),k.isDefaultPrevented()){return}this.affixed=p,this.unpin="bottom"==p?this.getPinnedOffset():null,this.$element.removeClass(a.RESET).addClass(f).trigger(f.replace("affix","affixed")+".bs.affix")}"bottom"==p&&this.$element.offset({top:g-q-m})}};var d=b.fn.affix;b.fn.affix=c,b.fn.affix.Constructor=a,b.fn.affix.noConflict=function(){return b.fn.affix=d,this},b(window).on("load",function(){b('[data-spy="affix"]').each(function(){var e=b(this),f=e.data();f.offset=f.offset||{},null!=f.offsetBottom&&(f.offset.bottom=f.offsetBottom),null!=f.offsetTop&&(f.offset.top=f.offsetTop),c.call(e,f)})})}(jQuery),function(b){function c(h){var g,k=h.attr("data-target")||(g=h.attr("href"))&&g.replace(/.*(?=#[^\s]+$)/,"");return b(document).find(k)}function a(g){return this.each(function(){var e=b(this),k=e.data("bs.collapse"),h=b.extend({},d.DEFAULTS,e.data(),"object"==typeof g&&g);!k&&h.toggle&&/show|hide/.test(g)&&(h.toggle=!1),k||e.data("bs.collapse",k=new d(this,h)),"string"==typeof g&&k[g]()})}var d=function(h,g){this.$element=b(h),this.options=b.extend({},d.DEFAULTS,g),this.$trigger=b('[data-toggle="collapse"][href="#'+h.id+'"],[data-toggle="collapse"][data-target="#'+h.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.4.1",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var o,p=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(p&&p.length&&(o=p.data("bs.collapse"),o&&o.transitioning))){var k=b.Event("show.bs.collapse");if(this.$element.trigger(k),!k.isDefaultPrevented()){p&&p.length&&(a.call(p,"hide"),o||p.data("bs.collapse",null));var h=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[h](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var m=function(){this.$element.removeClass("collapsing").addClass("collapse in")[h](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!b.support.transition){return m.call(this)}var g=b.camelCase(["scroll",h].join("-"));this.$element.one("bsTransitionEnd",b.proxy(m,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[h](this.$element[0][g])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var h=b.Event("hide.bs.collapse");if(this.$element.trigger(h),!h.isDefaultPrevented()){var g=this.dimension();this.$element[g](this.$element[g]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var k=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return b.support.transition?void this.$element[g](0).one("bsTransitionEnd",b.proxy(k,this)).emulateTransitionEnd(d.TRANSITION_DURATION):k.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return b(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(b.proxy(function(e,g){var h=b(g);this.addAriaAndCollapsedClass(c(h),h)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(h,k){var g=h.hasClass("in");h.attr("aria-expanded",g),k.toggleClass("collapsed",!g).attr("aria-expanded",g)};var f=b.fn.collapse;b.fn.collapse=a,b.fn.collapse.Constructor=d,b.fn.collapse.noConflict=function(){return b.fn.collapse=f,this},b(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(h){var k=b(this);k.attr("data-target")||h.preventDefault();var g=c(k),e=g.data("bs.collapse")?"toggle":k.data();a.call(g,e)})}(jQuery),function(b){function c(e,f){this.$body=b(document.body),this.$scrollElement=b(b(e).is(document.body)?window:e),this.options=b.extend({},c.DEFAULTS,f),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",b.proxy(this.process,this)),this.refresh(),this.process()}function a(e){return this.each(function(){var g=b(this),h=g.data("bs.scrollspy"),f="object"==typeof e&&e;h||g.data("bs.scrollspy",h=new c(this,f)),"string"==typeof e&&h[e]()})}c.VERSION="3.4.1",c.DEFAULTS={offset:10},c.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},c.prototype.refresh=function(){var g=this,f="offset",h=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),b.isWindow(this.$scrollElement[0])||(f="position",h=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var l=b(this),m=l.data("target")||l.attr("href"),k=/^#./.test(m)&&b(m);return k&&k.length&&k.is(":visible")&&[[k[f]().top+h,m]]||null}).sort(function(k,l){return k[0]-l[0]}).each(function(){g.offsets.push(this[0]),g.targets.push(this[1])})},c.prototype.process=function(){var h,l=this.$scrollElement.scrollTop()+this.options.offset,g=this.getScrollHeight(),m=this.options.offset+g-this.$scrollElement.height(),p=this.offsets,k=this.targets,f=this.activeTarget;if(this.scrollHeight!=g&&this.refresh(),l>=m){return f!=(h=k[k.length-1])&&this.activate(h)}if(f&&l=p[h]&&(void 0===p[h+1]||l1||h.items.merge,m[k]=p?l*g:this._items[k].width()}this._widths=m}},{filter:["items","settings"],run:function(){var q=[],k=this._items,m=this.settings,u=Math.max(2*m.items,4),t=2*Math.ceil(k.length/2),p=m.loop&&k.length?m.rewind?u:Math.max(u,t):0,g="",l="";for(p/=2;p>0;){q.push(this.normalize(q.length/2,!0)),g+=k[q[q.length-1]][0].outerHTML,q.push(this.normalize(k.length-1-(q.length-1)/2,!0)),l=k[q[q.length-1]][0].outerHTML+l,p-=1}this._clones=q,b(g).addClass("cloned").appendTo(this.$stage),b(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var h=this.settings.rtl?1:-1,l=this._clones.length+this._items.length,g=-1,k=0,p=0,m=[];++gm;m++){v=this._coordinates[m-1]||0,q=Math.abs(this._coordinates[m])+k*l,(this.op(v,"<=",g)&&this.op(v,">",u)||this.op(q,"<",g)&&this.op(q,">",u))&&p.push(m)}this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+p.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],f.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=b("<"+this.settings.stageElement+">",{"class":this.settings.stageClass}).wrap(b("
",{"class":this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},f.prototype.initializeItems=function(){var g=this.$element.find(".owl-item");return g.length?(this._items=g.get().map(function(h){return b(h)}),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"),void this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},f.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var h,k,g;h=this.$element.find("img"),k=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:c,g=this.$element.children(k).width(),h.length&&0>=g&&this.preloadAutoWidthImages(h)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},f.prototype.isVisible=function(){return this.settings.checkVisibility?this.$element.is(":visible"):!0},f.prototype.setup=function(){var k=this.viewport(),g=this.options.responsive,h=-1,l=null;g?(b.each(g,function(e){k>=e&&e>h&&(h=Number(e))}),l=b.extend({},this.options,g[h]),"function"==typeof l.stagePadding&&(l.stagePadding=l.stagePadding()),delete l.responsive,l.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+h))):l=b.extend({},this.options),this.trigger("change",{property:{name:"settings",value:l}}),this._breakpoint=h,this.settings=l,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},f.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},f.prototype.prepare=function(h){var g=this.trigger("prepare",{content:h});return g.data||(g.data=b("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(h)),this.trigger("prepared",{content:g.data}),g.data},f.prototype.update=function(){for(var k=0,g=this._pipe.length,h=b.proxy(function(e){return this[e]},this._invalidated),l={};g>k;){(this._invalidated.all||b.grep(this._pipe[k].filter,h).length>0)&&this._pipe[k].run(l),k++}this._invalidated={},!this.is("valid")&&this.enter("valid")},f.prototype.width=function(e){switch(e=e||f.Width.Default){case f.Width.Inner:case f.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},f.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},f.prototype.onThrottledResize=function(){d.clearTimeout(this.resizeTimer),this.resizeTimer=d.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},f.prototype.onResize=function(){return this._items.length?this._width===this.$element.width()?!1:this.isVisible()?(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized"))):!1:!1},f.prototype.registerEventHandlers=function(){b.support.transition&&this.$stage.on(b.support.transition.end+".owl.core",b.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(d,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",b.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return !1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",b.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",b.proxy(this.onDragEnd,this)))},f.prototype.onDragStart=function(h){var g=null;3!==h.which&&(b.support.transform?(g=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),g={x:g[16===g.length?12:4],y:g[16===g.length?13:5]}):(g=this.$stage.position(),g={x:this.settings.rtl?g.left+this.$stage.width()-this.width()+this.settings.margin:g.left,y:g.top}),this.is("animating")&&(b.support.transform?this.animate(g.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===h.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=b(h.target),this._drag.stage.start=g,this._drag.stage.current=g,this._drag.pointer=this.pointer(h),b(a).on("mouseup.owl.core touchend.owl.core",b.proxy(this.onDragEnd,this)),b(a).one("mousemove.owl.core touchmove.owl.core",b.proxy(function(l){var k=this.difference(this._drag.pointer,this.pointer(l));b(a).on("mousemove.owl.core touchmove.owl.core",b.proxy(this.onDragMove,this)),Math.abs(k.x)0^this.settings.rtl?"left":"right";b(a).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==g.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(l.x,0!==g.x?k:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=k,(Math.abs(g.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return !1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},f.prototype.closest=function(l,h){var p=-1,m=30,k=this.width(),g=this.coordinates();return this.settings.freeDrag||b.each(g,b.proxy(function(e,n){return"left"===h&&l>n-m&&n+m>l?p=e:"right"===h&&l>n-k-m&&n-k+m>l?p=e+1:this.op(l,"<",n)&&this.op(l,">",g[e+1]!==c?g[e+1]:n-k)&&(p="left"===h?e+1:e),-1===p},this)),this.settings.loop||(this.op(l,">",g[this.minimum()])?p=l=this.minimum():this.op(l,"<",g[this.maximum()])&&(p=l=this.maximum())),p},f.prototype.animate=function(h){var g=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),g&&(this.enter("animating"),this.trigger("translate")),b.support.transform3d&&b.support.transition?this.$stage.css({transform:"translate3d("+h+"px,0px,0px)",transition:this.speed()/1000+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):g?this.$stage.animate({left:h+"px"},this.speed(),this.settings.fallbackEasing,b.proxy(this.onTransitionEnd,this)):this.$stage.css({left:h+"px"})},f.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},f.prototype.current=function(g){if(g===c){return this._current}if(0===this._items.length){return c}if(g=this.normalize(g),this._current!==g){var h=this.trigger("change",{property:{name:"position",value:g}});h.data!==c&&(g=this.normalize(h.data)),this._current=g,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},f.prototype.invalidate=function(g){return"string"===b.type(g)&&(this._invalidated[g]=!0,this.is("valid")&&this.leave("valid")),b.map(this._invalidated,function(h,k){return k})},f.prototype.reset=function(e){e=this.normalize(e),e!==c&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},f.prototype.normalize=function(h,k){var g=this._items.length,l=k?0:this._clones.length;return !this.isNumeric(h)||1>g?h=c:(0>h||h>=g+l)&&(h=((h-l/2)%g+g)%g+l/2),h},f.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},f.prototype.maximum=function(h){var l,g,k,p=this.settings,m=this._coordinates.length;if(p.loop){m=this._clones.length/2+this._items.length-1}else{if(p.autoWidth||p.merge){if(l=this._items.length){for(g=this._items[--l].width(),k=this.$element.width();l--&&(g+=this._items[l].width()+this.settings.margin,!(g>k));){}}m=l+1}else{m=p.center?this._items.length-1:this._items.length-p.items}}return h&&(m-=this._clones.length/2),Math.max(m,0)},f.prototype.minimum=function(e){return e?0:this._clones.length/2},f.prototype.items=function(e){return e===c?this._items.slice():(e=this.normalize(e,!0),this._items[e])},f.prototype.mergers=function(e){return e===c?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},f.prototype.clones=function(h){var g=this._clones.length/2,l=g+this._items.length,k=function(e){return e%2===0?l+e/2:g-(e+1)/2};return h===c?b.map(this._clones,function(m,n){return k(n)}):b.map(this._clones,function(m,e){return m===h?k(e):null})},f.prototype.speed=function(e){return e!==c&&(this._speed=e),this._speed},f.prototype.coordinates=function(h){var g,l=1,k=h-1;return h===c?b.map(this._coordinates,b.proxy(function(m,n){return this.coordinates(n)},this)):(this.settings.center?(this.settings.rtl&&(l=-1,k=h+1),g=this._coordinates[h],g+=(this.width()-g+(this._coordinates[k]||0))/2*l):g=this._coordinates[k]||0,g=Math.ceil(g))},f.prototype.duration=function(h,k,g){return 0===g?0:Math.min(Math.max(Math.abs(k-h),1),6)*Math.abs(g||this.settings.smartSpeed)},f.prototype.to=function(v,q){var m=this.current(),w=null,l=v-this.relative(m),k=(l>0)-(0>l),g=this._items.length,u=this.minimum(),p=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(l)>g/2&&(l+=-1*k*g),v=m+l,w=((v-u)%g+g)%g+u,w!==v&&p>=w-l&&w-l>0&&(m=w-l,v=w,this.reset(m))):this.settings.rewind?(p+=1,v=(v%p+p)%p):v=Math.max(u,Math.min(p,v)),this.speed(this.duration(m,v,q)),this.current(v),this.isVisible()&&this.update()},f.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},f.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},f.prototype.onTransitionEnd=function(e){return e!==c&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0))?!1:(this.leave("animating"),void this.trigger("translated"))},f.prototype.viewport=function(){var e;return this.options.responsiveBaseElement!==d?e=b(this.options.responsiveBaseElement).width():d.innerWidth?e=d.innerWidth:a.documentElement&&a.documentElement.clientWidth?e=a.documentElement.clientWidth:console.warn("Can not detect viewport width."),e},f.prototype.replace=function(g){this.$stage.empty(),this._items=[],g&&(g=g instanceof jQuery?g:b(g)),this.settings.nestedItemSelector&&(g=g.find("."+this.settings.nestedItemSelector)),g.filter(function(){return 1===this.nodeType}).each(b.proxy(function(h,k){k=this.prepare(k),this.$stage.append(k),this._items.push(k),this._mergers.push(1*k.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},f.prototype.add=function(h,g){var k=this.relative(this._current);g=g===c?this._items.length:this.normalize(g,!0),h=h instanceof jQuery?h:b(h),this.trigger("add",{content:h,position:g}),h=this.prepare(h),0===this._items.length||g===this._items.length?(0===this._items.length&&this.$stage.append(h),0!==this._items.length&&this._items[g-1].after(h),this._items.push(h),this._mergers.push(1*h.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[g].before(h),this._items.splice(g,0,h),this._mergers.splice(g,0,1*h.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[k]&&this.reset(this._items[k].index()),this.invalidate("items"),this.trigger("added",{content:h,position:g})},f.prototype.remove=function(e){e=this.normalize(e,!0),e!==c&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},f.prototype.preloadAutoWidthImages=function(g){g.each(b.proxy(function(k,h){this.enter("pre-loading"),h=b(h),b(new Image).one("load",b.proxy(function(e){h.attr("src",e.target.src),h.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",h.attr("src")||h.attr("data-src")||h.attr("data-src-retina"))},this))},f.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),b(a).off(".owl.core"),this.settings.responsive!==!1&&(d.clearTimeout(this.resizeTimer),this.off(d,"resize",this._handlers.onThrottledResize));for(var e in this._plugins){this._plugins[e].destroy()}this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},f.prototype.op=function(h,l,g){var k=this.settings.rtl;switch(l){case"<":return k?h>g:g>h;case">":return k?g>h:h>g;case">=":return k?g>=h:h>=g;case"<=":return k?h>=g:g>=h}},f.prototype.on=function(h,l,g,k){h.addEventListener?h.addEventListener(l,g,k):h.attachEvent&&h.attachEvent("on"+l,g)},f.prototype.off=function(h,l,g,k){h.removeEventListener?h.removeEventListener(l,g,k):h.detachEvent&&h.detachEvent("on"+l,g)},f.prototype.trigger=function(t,m,p,u,q){var k={item:{count:this._items.length,index:this.current()}},n=b.camelCase(b.grep(["on",t,p],function(e){return e}).join("-").toLowerCase()),g=b.Event([t,"owl",p||"carousel"].join(".").toLowerCase(),b.extend({relatedTarget:this},k,m));return this._supress[t]||(b.each(this._plugins,function(h,l){l.onTrigger&&l.onTrigger(g)}),this.register({type:f.Type.Event,name:t}),this.$element.trigger(g),this.settings&&"function"==typeof this.settings[n]&&this.settings[n].call(this,g)),g},f.prototype.enter=function(g){b.each([g].concat(this._states.tags[g]||[]),b.proxy(function(h,k){this._states.current[k]===c&&(this._states.current[k]=0),this._states.current[k]++},this))},f.prototype.leave=function(g){b.each([g].concat(this._states.tags[g]||[]),b.proxy(function(h,k){this._states.current[k]--},this))},f.prototype.register=function(h){if(h.type===f.Type.Event){if(b.event.special[h.name]||(b.event.special[h.name]={}),!b.event.special[h.name].owl){var g=b.event.special[h.name]._default;b.event.special[h.name]._default=function(e){return !g||!g.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:g.apply(this,arguments)},b.event.special[h.name].owl=!0}}else{h.type===f.Type.State&&(this._states.tags[h.name]?this._states.tags[h.name]=this._states.tags[h.name].concat(h.tags):this._states.tags[h.name]=h.tags,this._states.tags[h.name]=b.grep(this._states.tags[h.name],b.proxy(function(e,k){return b.inArray(e,this._states.tags[h.name])===k},this)))}},f.prototype.suppress=function(g){b.each(g,b.proxy(function(h,k){this._supress[k]=!0},this))},f.prototype.release=function(g){b.each(g,b.proxy(function(h,k){delete this._supress[k]},this))},f.prototype.pointer=function(g){var e={x:null,y:null};return g=g.originalEvent||g||d.event,g=g.touches&&g.touches.length?g.touches[0]:g.changedTouches&&g.changedTouches.length?g.changedTouches[0]:g,g.pageX?(e.x=g.pageX,e.y=g.pageY):(e.x=g.clientX,e.y=g.clientY),e},f.prototype.isNumeric=function(e){return !isNaN(parseFloat(e))},f.prototype.difference=function(g,h){return{x:g.x-h.x,y:g.y-h.y}},b.fn.owlCarousel=function(h){var g=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=b(this),k=e.data("owl.carousel");k||(k=new f(this,"object"==typeof h&&h),e.data("owl.carousel",k),b.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(m,l){k.register({type:f.Type.Event,name:l}),k.$element.on(l+".owl.carousel.core",b.proxy(function(n){n.namespace&&n.relatedTarget!==this&&(this.suppress([l]),k[l].apply(this,[].slice.call(arguments,1)),this.release([l]))},k))})),"string"==typeof h&&"_"!==h.charAt(0)&&k[h].apply(k,g)})},b.fn.owlCarousel.Constructor=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(g){this._core=g,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":b.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=b.extend({},f.Defaults,this._core.options),this._core.$element.on(this._handlers)};f.Defaults={autoRefresh:!0,autoRefreshInterval:500},f.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=d.setInterval(b.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},f.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},f.prototype.destroy=function(){var g,e;d.clearInterval(this._interval);for(g in this._handlers){this._core.$element.off(g,this._handlers[g])}for(e in Object.getOwnPropertyNames(this)){"function"!=typeof this[e]&&(this[e]=null)}},b.fn.owlCarousel.Constructor.Plugins.AutoRefresh=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(g){this._core=g,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":b.proxy(function(q){if(q.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(q.property&&"position"==q.property.name||"initialized"==q.type)){var l=this._core.settings,t=l.center&&Math.ceil(l.items/2)||l.items,s=l.center&&-1*t||0,p=(q.property&&q.property.value!==c?q.property.value:this._core.current())+s,k=this._core.clones().length,m=b.proxy(function(h,n){this.load(n)},this);for(l.lazyLoadEager>0&&(t+=l.lazyLoadEager,l.loop&&(p-=l.lazyLoadEager,t++));s++-1||(h.each(b.proxy(function(k,l){var q,p=b(l),m=d.devicePixelRatio>1&&p.attr("data-src-retina")||p.attr("data-src")||p.attr("data-srcset");this._core.trigger("load",{element:p,url:m},"lazy"),p.is("img")?p.one("load.owl.lazy",b.proxy(function(){p.css("opacity",1),this._core.trigger("loaded",{element:p,url:m},"lazy")},this)).attr("src",m):p.is("source")?p.one("load.owl.lazy",b.proxy(function(){this._core.trigger("loaded",{element:p,url:m},"lazy")},this)).attr("srcset",m):(q=new Image,q.onload=b.proxy(function(){p.css({"background-image":'url("'+m+'")',opacity:"1"}),this._core.trigger("loaded",{element:p,url:m},"lazy")},this),q.src=m)},this)),this._loaded.push(g.get(0)))},f.prototype.destroy=function(){var g,h;for(g in this.handlers){this._core.$element.off(g,this.handlers[g])}for(h in Object.getOwnPropertyNames(this)){"function"!=typeof this[h]&&(this[h]=null)}},b.fn.owlCarousel.Constructor.Plugins.Lazy=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(e){this._core=e,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":b.proxy(function(h){h.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":b.proxy(function(h){h.namespace&&this._core.settings.autoHeight&&"position"===h.property.name&&this.update()},this),"loaded.owl.lazy":b.proxy(function(h){h.namespace&&this._core.settings.autoHeight&&h.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=b.extend({},f.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var g=this;b(d).on("load",function(){g._core.settings.autoHeight&&g.update()}),b(d).resize(function(){g._core.settings.autoHeight&&(null!=g._intervalId&&clearTimeout(g._intervalId),g._intervalId=setTimeout(function(){g.update()},250))})};f.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},f.prototype.update=function(){var l=this._core._current,g=l+this._core.settings.items,h=this._core.settings.lazyLoad,p=this._core.$stage.children().toArray().slice(l,g),m=[],k=0;b.each(p,function(o,n){m.push(b(n).height())}),k=Math.max.apply(null,m),1>=k&&h&&this._previousHeight&&(k=this._previousHeight),this._previousHeight=k,this._core.$stage.parent().height(k).addClass(this._core.settings.autoHeightClass)},f.prototype.destroy=function(){var g,h;for(g in this._handlers){this._core.$element.off(g,this._handlers[g])}for(h in Object.getOwnPropertyNames(this)){"function"!=typeof this[h]&&(this[h]=null)}},b.fn.owlCarousel.Constructor.Plugins.AutoHeight=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(g){this._core=g,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":b.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":b.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":b.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":b.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":b.proxy(function(k){if(k.namespace){var h=b(k.content).find(".owl-video");h.length&&(h.css("display","none"),this.fetch(h,b(k.content)))}},this)},this._core.options=b.extend({},f.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",b.proxy(function(e){this.play(e)},this))};f.Defaults={video:!1,videoHeight:!1,videoWidth:!1},f.prototype.fetch=function(h,m){var g=function(){return h.attr("data-vimeo-id")?"vimeo":h.attr("data-vzaar-id")?"vzaar":"youtube"}(),k=h.attr("data-vimeo-id")||h.attr("data-youtube-id")||h.attr("data-vzaar-id"),q=h.attr("data-width")||this._core.settings.videoWidth,p=h.attr("data-height")||this._core.settings.videoHeight,l=h.attr("href");if(!l){throw new Error("Missing video URL.")}if(k=l.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),k[3].indexOf("youtu")>-1){g="youtube"}else{if(k[3].indexOf("vimeo")>-1){g="vimeo"}else{if(!(k[3].indexOf("vzaar")>-1)){throw new Error("Video URL not supported.")}g="vzaar"}}k=k[6],this._videos[l]={type:g,id:k,width:q,height:p},m.attr("data-video",l),this.thumbnail(h,this._videos[l])},f.prototype.thumbnail=function(w,u){var z,q,m,g=u.width&&u.height?"width:"+u.width+"px;height:"+u.height+"px;":"",y=w.find("img"),v="src",t="",x=this._core.settings,k=function(e){q='
',z=x.lazyLoad?b("
",{"class":"owl-video-tn "+t,srcType:e}):b("
",{"class":"owl-video-tn",style:"opacity:1;background-image:url("+e+")"}),w.after(z),w.after(q)};return w.wrap(b("
",{"class":"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(v="data-src",t="owl-lazy"),y.length?(k(y.attr(v)),y.remove(),!1):void ("youtube"===u.type?(m="//img.youtube.com/vi/"+u.id+"/hqdefault.jpg",k(m)):"vimeo"===u.type?b.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+u.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){m=e[0].thumbnail_large,k(m)}}):"vzaar"===u.type&&b.ajax({type:"GET",url:"//vzaar.com/api/videos/"+u.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){m=e.framegrab_url,k(m)}}))},f.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")},f.prototype.play=function(q){var k,m,u=b(q.target),t=u.closest("."+this._core.settings.itemClass),p=this._videos[t.attr("data-video")],g=p.width||"100%",l=p.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),t=this._core.items(this._core.relative(t.index())),this._core.reset(t.index()),k=b(''),k.attr("height",l),k.attr("width",g),"youtube"===p.type?k.attr("src","//www.youtube.com/embed/"+p.id+"?autoplay=1&rel=0&v="+p.id):"vimeo"===p.type?k.attr("src","//player.vimeo.com/video/"+p.id+"?autoplay=1"):"vzaar"===p.type&&k.attr("src","//view.vzaar.com/"+p.id+"/player?autoplay=true"),m=b(k).wrap('
').insertAfter(t.find(".owl-video")),this._playing=t.addClass("owl-video-playing"))},f.prototype.isInFullScreen=function(){var g=a.fullscreenElement||a.mozFullScreenElement||a.webkitFullscreenElement;return g&&b(g).parent().hasClass("owl-video-frame")},f.prototype.destroy=function(){var g,h;this._core.$element.off("click.owl.video");for(g in this._handlers){this._core.$element.off(g,this._handlers[g])}for(h in Object.getOwnPropertyNames(this)){"function"!=typeof this[h]&&(this[h]=null)}},b.fn.owlCarousel.Constructor.Plugins.Video=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(g){this.core=g,this.core.options=b.extend({},f.Defaults,this.core.options),this.swapping=!0,this.previous=c,this.next=c,this.handlers={"change.owl.carousel":b.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":b.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":b.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};f.Defaults={animateOut:!1,animateIn:!1},f.prototype.swap=function(){if(1===this.core.settings.items&&b.support.animation&&b.support.transition){this.core.speed(0);var l,g=b.proxy(this.clear,this),h=this.core.$stage.children().eq(this.previous),p=this.core.$stage.children().eq(this.next),m=this.core.settings.animateIn,k=this.core.settings.animateOut;this.core.current()!==this.previous&&(k&&(l=this.core.coordinates(this.previous)-this.core.coordinates(this.next),h.one(b.support.animation.end,g).css({left:l+"px"}).addClass("animated owl-animated-out").addClass(k)),m&&p.one(b.support.animation.end,g).addClass("animated owl-animated-in").addClass(m))}},f.prototype.clear=function(g){b(g.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},f.prototype.destroy=function(){var g,h;for(g in this.handlers){this.core.$element.off(g,this.handlers[g])}for(h in Object.getOwnPropertyNames(this)){"function"!=typeof this[h]&&(this[h]=null)}},b.fn.owlCarousel.Constructor.Plugins.Animate=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(g){this._core=g,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":b.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":b.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":b.proxy(function(k,l,h){k.namespace&&this.play(l,h)},this),"stop.owl.autoplay":b.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":b.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":b.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":b.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":b.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=b.extend({},f.Defaults,this._core.options)};f.Defaults={autoplay:!1,autoplayTimeout:5000,autoplayHoverPause:!1,autoplaySpeed:!1},f.prototype._next=function(e){this._call=d.setTimeout(b.proxy(this._next,this,e),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||a.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},f.prototype.read=function(){return(new Date).getTime()-this._time},f.prototype.play=function(e,g){var h;this._core.is("rotating")||this._core.enter("rotating"),e=e||this._core.settings.autoplayTimeout,h=Math.min(this._time%(this._timeout||e),e),this._paused?(this._time=this.read(),this._paused=!1):d.clearTimeout(this._call),this._time+=this.read()%e-h,this._timeout=e,this._call=d.setTimeout(b.proxy(this._next,this,g),e-h)},f.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,d.clearTimeout(this._call),this._core.leave("rotating"))},f.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,d.clearTimeout(this._call))},f.prototype.destroy=function(){var g,h;this.stop();for(g in this._handlers){this._core.$element.off(g,this._handlers[g])}for(h in Object.getOwnPropertyNames(this)){"function"!=typeof this[h]&&(this[h]=null)}},b.fn.owlCarousel.Constructor.Plugins.autoplay=f}(window.Zepto||window.jQuery,window,document),function(b,d,a,c){var f=function(g){this._core=g,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":b.proxy(function(h){h.namespace&&this._core.settings.dotsData&&this._templates.push('
'+b(h.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":b.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":b.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":b.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":b.proxy(function(e){e.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":b.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=b.extend({},f.Defaults,this._core.options),this.$element.on(this._handlers)};f.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},f.prototype.initialize=function(){var h,g=this._core.settings;this._controls.$relative=(g.navContainer?b(g.navContainer):b("
").addClass(g.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=b("<"+g.navElement+">").addClass(g.navClass[0]).html(g.navText[0]).prependTo(this._controls.$relative).on("click",b.proxy(function(e){this.prev(g.navSpeed)},this)),this._controls.$next=b("<"+g.navElement+">").addClass(g.navClass[1]).html(g.navText[1]).appendTo(this._controls.$relative).on("click",b.proxy(function(e){this.next(g.navSpeed)},this)),g.dotsData||(this._templates=[b('',nextArrow:'',autoplay:!1,autoplaySpeed:3000,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(f,l){return d('