!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function n(t,e){for(var i=0;ithis._items.length-1||t<0))if(this._isSliding)A(this._element).one(F.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=i=n.clientWidth&&i>=n.clientHeight}),h=0o[t]&&!n.escapeWithReference&&(i=Math.min(s[e],o[t]-("right"===t?s.width:s.height))),Yt({},e,i)}};return i.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";s=Kt({},s,r[e](t))}),t.offsets.popper=s,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,o=t.placement.split("-")[0],s=Math.floor,r=-1!==["top","bottom"].indexOf(o),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return i[a]s(n[a])&&(t.offsets.popper[l]=s(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!ue(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],s=t.offsets,r=s.popper,a=s.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",d=h.toLowerCase(),u=l?"left":"top",p=l?"bottom":"right",f=te(n)[c];a[p]-fr[p]&&(t.offsets.popper[d]+=a[d]+f-r[p]),t.offsets.popper=qt(t.offsets.popper);var g=a[d]+a[c]/2-f/2,m=Ot(t.instance.popper),v=parseFloat(m["margin"+h],10),y=parseFloat(m["border"+h+"Width"],10),_=g-t.offsets.popper[d]-v-y;return _=Math.max(Math.min(r[c]-f,_),0),t.arrowElement=n,t.offsets.arrow=(Yt(i={},d,Math.round(_)),Yt(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,f){if(se(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=Zt(p.instance.popper,p.instance.reference,f.padding,f.boundariesElement),m=p.placement.split("-")[0],v=ee(m),y=p.placement.split("-")[1]||"",_=[];switch(f.behavior){case me:_=[m,v];break;case ve:_=ge(m);break;case ye:_=ge(m,!0);break;default:_=f.behavior}return _.forEach(function(t,e){if(m!==t||_.length===e+1)return p;m=p.placement.split("-")[0],v=ee(m);var i=p.offsets.popper,n=p.offsets.reference,o=Math.floor,s="left"===m&&o(i.right)>o(n.left)||"right"===m&&o(i.left)o(n.top)||"bottom"===m&&o(i.top)o(g.right),l=o(i.top)o(g.bottom),h="left"===m&&r||"right"===m&&a||"top"===m&&l||"bottom"===m&&c,d=-1!==["top","bottom"].indexOf(m),u=!!f.flipVariations&&(d&&"start"===y&&r||d&&"end"===y&&a||!d&&"start"===y&&l||!d&&"end"===y&&c);(s||h||u)&&(p.flipped=!0,(s||h)&&(m=_[e+1]),u&&(y=function(t){return"end"===t?"start":"start"===t?"end":t}(y)),p.placement=m+(y?"-"+y:""),p.offsets.popper=Kt({},p.offsets.popper,ie(p.instance.popper,p.offsets.reference,p.placement)),p=oe(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,o=n.popper,s=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[r?"left":"top"]=s[i]-(a?o[r?"width":"height"]:0),t.placement=ee(e),t.offsets.popper=qt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!ue(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=ne(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomi.right||e.top>i.bottom||e.rightdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!(Si={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Ci={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},Ii="out",zi={HIDE:"hide"+bi,HIDDEN:"hidden"+bi,SHOW:(Di="show")+bi,SHOWN:"shown"+bi,INSERTED:"inserted"+bi,CLICK:"click"+bi,FOCUSIN:"focusin"+bi,FOCUSOUT:"focusout"+bi,MOUSEENTER:"mouseenter"+bi,MOUSELEAVE:"mouseleave"+bi},Ai="fade",Ni="show",Oi=".tooltip-inner",Li=".arrow",Mi="hover",Pi="focus",Hi="click",ji="manual",Ri=function(){function c(t,e){if(void 0===be)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=c.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=yi(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),yi(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(yi(this.getTipElement()).hasClass(Ni))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),yi.removeData(this.element,this.constructor.DATA_KEY),yi(this.element).off(this.constructor.EVENT_KEY),yi(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&yi(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===yi(this.element).css("display"))throw new Error("Please use show on visible elements");var t=yi.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){yi(this.element).trigger(t);var i=yi.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var n=this.getTipElement(),o=xt.getUID(this.constructor.NAME);n.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&yi(n).addClass(Ai);var s="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,r=this._getAttachment(s);this.addAttachmentClass(r);var a=!1===this.config.container?document.body:yi(this.config.container);yi(n).data(this.constructor.DATA_KEY,this),yi.contains(this.element.ownerDocument.documentElement,this.tip)||yi(n).appendTo(a),yi(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new be(this.element,n,{placement:r,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:Li},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),yi(n).addClass(Ni),"ontouchstart"in document.documentElement&&yi("body").children().on("mouseover",null,yi.noop);var l=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,yi(e.element).trigger(e.constructor.Event.SHOWN),t===Ii&&e._leave(null,e)};xt.supportsTransitionEnd()&&yi(this.tip).hasClass(Ai)?yi(this.tip).one(xt.TRANSITION_END,l).emulateTransitionEnd(c._TRANSITION_DURATION):l()}},t.hide=function(t){function e(){i._hoverState!==Di&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),yi(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),o=yi.Event(this.constructor.Event.HIDE);yi(this.element).trigger(o),o.isDefaultPrevented()||(yi(n).removeClass(Ni),"ontouchstart"in document.documentElement&&yi("body").children().off("mouseover",null,yi.noop),this._activeTrigger[Hi]=!1,this._activeTrigger[Pi]=!1,this._activeTrigger[Mi]=!1,xt.supportsTransitionEnd()&&yi(this.tip).hasClass(Ai)?yi(n).one(xt.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){yi(this.getTipElement()).addClass(Ei+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||yi(this.config.template)[0],this.tip},t.setContent=function(){var t=yi(this.getTipElement());this.setElementContent(t.find(Oi),this.getTitle()),t.removeClass(Ai+" "+Ni)},t.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?yi(e).parent().is(t)||t.empty().append(e):t.text(yi(e).text()):t[i?"html":"text"](e)},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getAttachment=function(t){return Si[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)yi(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==ji){var e=t===Mi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Mi?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;yi(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}yi(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=h({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!=t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||yi(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),yi(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?Pi:Mi]=!0),yi(e.getTipElement()).hasClass(Ni)||e._hoverState===Di?e._hoverState=Di:(clearTimeout(e._timeout),e._hoverState=Di,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Di&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||yi(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),yi(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?Pi:Mi]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Ii,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===Ii&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){return"number"==typeof(t=h({},this.constructor.Default,yi(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),xt.typeCheckConfig(_i,t,this.constructor.DefaultType),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=yi(this.getTipElement()),e=t.attr("class").match(Ti);null!==e&&0

'}),qi=h({},Un.DefaultType,{content:"(string|element|function)"}),Xi="fade",Zi=".popover-header",Gi=".popover-body",Ji={HIDE:"hide"+Fi,HIDDEN:"hidden"+Fi,SHOW:(Vi="show")+Fi,SHOWN:"shown"+Fi,INSERTED:"inserted"+Fi,CLICK:"click"+Fi,FOCUSIN:"focusin"+Fi,FOCUSOUT:"focusout"+Fi,MOUSEENTER:"mouseenter"+Fi,MOUSELEAVE:"mouseleave"+Fi},tn=function(t){function n(){return t.apply(this,arguments)||this}!function(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}(n,t);var e=n.prototype;return e.isWithContent=function(){return this.getTitle()||this._getContent()},e.addAttachmentClass=function(t){Wi(this.getTipElement()).addClass(Yi+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||Wi(this.config.template)[0],this.tip},e.setContent=function(){var t=Wi(this.getTipElement());this.setElementContent(t.find(Zi),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Gi),e),t.removeClass(Xi+" "+Vi)},e._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},e._cleanTipClass=function(){var t=Wi(this.getTipElement()),e=t.attr("class").match(Qi);null!==e&&0=this._offsets[o]&&(void 0===this._offsets[o+1]||t a, .page_item_has_children > a");if("ontouchstart"in window)for(e=function(t){var e,i=this.parentNode;if(i.classList.contains("focus"))i.classList.remove("focus");else{for(t.preventDefault(),e=0;ez&&(z=_.zindex),_.isie&&0===_.zindex&&"auto"==b.zindex&&(_.zindex="auto"),!_.ispage||!x.isieold){var t=_.docscroll;_.ispage&&(t=_.haswrapper?_.win:_.doc),_.css(t,i),_.ispage&&(x.isie11||x.isie)&&_.css(A("html"),i),!x.isios||_.ispage||_.haswrapper||_.css(w,{"-webkit-overflow-scrolling":"touch"});var e=A(N.createElement("div"));e.css({position:"relative",top:0,float:"right",width:b.cursorwidth,height:0,"background-color":b.cursorcolor,border:b.cursorborder,"background-clip":"padding-box","-webkit-border-radius":b.cursorborderradius,"-moz-border-radius":b.cursorborderradius,"border-radius":b.cursorborderradius}),e.addClass("nicescroll-cursors"),_.cursor=e;var n=A(N.createElement("div"));n.attr("id",_.id),n.addClass("nicescroll-rails nicescroll-rails-vr");var o,s,r=["left","right","top","bottom"];for(var a in r)s=r[a],(o=b.railpadding[s]||0)&&n.css("padding-"+s,o+"px");n.append(e),n.width=Math.max(parseFloat(b.cursorwidth),e.outerWidth()),n.css({width:n.width+"px",zIndex:_.zindex,background:b.background,cursor:"default"}),n.visibility=!0,n.scrollable=!0,n.align="left"==b.railalign?0:1,_.rail=n;var l,c=_.rail.drag=!1;if(!b.boxzoom||_.ispage||x.isieold||(c=N.createElement("div"),_.bind(c,"click",_.doZoom),_.bind(c,"mouseenter",function(){_.zoom.css("opacity",b.cursoropacitymax)}),_.bind(c,"mouseleave",function(){_.zoom.css("opacity",b.cursoropacitymin)}),_.zoom=A(c),_.zoom.css({cursor:"pointer",zIndex:_.zindex,backgroundImage:"url("+b.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0 0"}),b.dblclickzoom&&_.bind(_.win,"dblclick",_.doZoom),x.cantouch&&b.gesturezoom&&(_.ongesturezoom=function(t){return 1.5_.page.maxh&&(c=_.page.maxh+Math.round((c-_.page.maxh)/2));else if(c<0?s=c=0:c>_.page.maxh&&(c=_.page.maxh,s=0),0===s&&!_.hasmoving)return _.ispage||(_.rail.drag=!1),!0;var h=_.getScrollLeft();if(_.railh&&_.railh.scrollable&&(h=_.isrtlmode?l-_.rail.drag.sl:_.rail.drag.sl-l,_.ishwscroll&&b.bouncescroll?h<0?h=Math.round(h/2):h>_.page.maxw&&(h=_.page.maxw+Math.round((h-_.page.maxw)/2)):(h<0&&(a=h=0),h>_.page.maxw&&(h=_.page.maxw,a=0))),!_.hasmoving){if(_.rail.drag.y===t.clientY&&_.rail.drag.x===t.clientX)return _.cancelEvent(t);var d=Math.abs(r),u=Math.abs(l),p=b.directionlockdeadzone;if(_.rail.drag.ck?"v"==_.rail.drag.ck?pe&&(_.scroll.x=e)}else{_.scroll.y=_.rail.drag.sy+(t.touches[0].clientY-_.rail.drag.y),_.scroll.y<0&&(_.scroll.y=0);var i=_.scrollvaluemax;_.scroll.y>i&&(_.scroll.y=i)}return _.synched("touchmove",function(){_.rail.drag&&3==_.rail.drag.pt&&(_.showCursor(),_.rail.drag.hr?_.doScrollLeft(Math.round(_.scroll.x*_.scrollratio.x),b.cursordragspeed):_.doScrollTop(Math.round(_.scroll.y*_.scrollratio.y),b.cursordragspeed))}),_.cancelEvent(t)}}}if(_.onmousedown=function(t,e){if(!_.rail.drag||1==_.rail.drag.pt){if(_.railslocked)return _.cancelEvent(t);_.cancelScroll(),_.rail.drag={x:t.clientX,y:t.clientY,sx:_.scroll.x,sy:_.scroll.y,pt:1,hr:e||!1};var i=_.getTarget(t);return x.hasmousecapture&&i.setCapture(),_.isiframe&&!x.hasmousecapture&&(_.saved.csspointerevents=_.doc.css("pointer-events"),_.css(_.doc,{"pointer-events":"none"})),_.hasmoving=!1,_.cancelEvent(t)}},_.onmouseup=function(t){if(_.rail.drag)return 1!=_.rail.drag.pt||(x.hasmousecapture&&N.releaseCapture(),_.isiframe&&!x.hasmousecapture&&_.doc.css("pointer-events",_.saved.csspointerevents),_.rail.drag=!1,_.cursorfreezed=!1,_.hasmoving&&_.triggerScrollEnd(),_.cancelEvent(t))},_.onmousemove=function(t){if(_.rail.drag){if(1!==_.rail.drag.pt)return;if(x.ischrome&&0===t.which)return _.onmouseup(t);if(_.cursorfreezed=!0,_.hasmoving||_.triggerScrollStart(t.clientX,t.clientY,0,0,0),_.hasmoving=!0,_.rail.drag.hr){_.scroll.x=_.rail.drag.sx+(t.clientX-_.rail.drag.x),_.scroll.x<0&&(_.scroll.x=0);var e=_.scrollvaluemaxw;_.scroll.x>e&&(_.scroll.x=e)}else{_.scroll.y=_.rail.drag.sy+(t.clientY-_.rail.drag.y),_.scroll.y<0&&(_.scroll.y=0);var i=_.scrollvaluemax;_.scroll.y>i&&(_.scroll.y=i)}return _.synched("mousemove",function(){_.cursorfreezed&&(_.showCursor(),_.rail.drag.hr?_.scrollLeft(Math.round(_.scroll.x*_.scrollratio.x)):_.scrollTop(Math.round(_.scroll.y*_.scrollratio.y)))}),_.cancelEvent(t)}_.checkarea=0},x.cantouch||b.emulatetouch)_.onpreventclick=function(t){if(_.preventclick)return _.preventclick.tg.onclick=_.preventclick.click,_.preventclick=!1,_.cancelEvent(t)},_.onclick=!x.isios&&function(t){return!_.lastmouseup||(_.lastmouseup=!1,_.cancelEvent(t))},b.grabcursorenabled&&x.cursorgrabvalue&&(_.css(_.ispage?_.doc:_.win,{cursor:x.cursorgrabvalue}),_.css(_.rail,{cursor:x.cursorgrabvalue}));else{var u=function(t){if(_.selectiondrag){if(t){var e=_.win.outerHeight(),i=t.pageY-_.selectiondrag.top;0_.page.maxh?_.doScrollTop(_.page.maxh):(_.scroll.y=_.getScrollTop()/_.scrollratio.y|0,_.scroll.x=_.getScrollLeft()/_.scrollratio.x|0,_.cursoractive&&_.noticeCursor()),_.scroll.y&&0===_.getScrollTop()&&_.doScrollTo(_.scroll.y*_.scrollratio.y|0),_)},this.resize=_.onResize;var c=0;function d(i,n,o,t){_._bind(i,n,function(t){var e={original:t=t||O.event,target:t.target||t.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==t.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},stopImmediatePropagation:function(){t.stopImmediatePropagation?t.stopImmediatePropagation():t.cancelBubble=!0}};return"mousewheel"==n?(t.wheelDeltaX&&(e.deltaX=-.025*t.wheelDeltaX),t.wheelDeltaY&&(e.deltaY=-.025*t.wheelDeltaY),!e.deltaY&&!e.deltaX&&(e.deltaY=-.025*t.wheelDelta)):e.deltaY=t.detail,o.call(i,e)},t)}this.onscreenresize=function(t){clearTimeout(c);var e=!_.ispage&&!_.haswrapper;e&&_.hideRails(),c=setTimeout(function(){_&&(e&&_.showRails(),_.resize()),c=0},120)},this.lazyResize=function(t){return clearTimeout(c),t=isNaN(t)?240:t,c=setTimeout(function(){_&&_.resize(),c=0},t),_},this.jqbind=function(t,e,i){_.events.push({e:t,n:e,f:i,q:!0}),A(t).on(e,i)};var u=!(this.mousewheel=function(t,e,i){var n="jquery"in t?t[0]:t;if("onwheel"in N.createElement("div"))_._bind(n,"wheel",e,i||!1);else{var o=void 0!==N.onmousewheel?"mousewheel":"DOMMouseScroll";d(n,o,e,i||!1),"DOMMouseScroll"==o&&d(n,"MozMousePixelScroll",e,i||!1)}});if(x.haseventlistener){try{var p=Object.defineProperty({},"passive",{get:function(){u=!0}});O.addEventListener("test",null,p)}catch(t){}this.stopPropagation=function(t){return t&&(t=t.original?t.original:t).stopPropagation(),!1},this.cancelEvent=function(t){return t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),t.preventManipulation&&t.preventManipulation(),!1}}else Event.prototype.preventDefault=function(){this.returnValue=!1},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},O.constructor.prototype.addEventListener=N.constructor.prototype.addEventListener=Element.prototype.addEventListener=function(t,e,i){this.attachEvent("on"+t,e)},O.constructor.prototype.removeEventListener=N.constructor.prototype.removeEventListener=Element.prototype.removeEventListener=function(t,e,i){this.detachEvent("on"+t,e)},this.cancelEvent=function(t){return(t=t||O.event)&&(t.cancelBubble=!0,t.cancel=!0,t.returnValue=!1),!1},this.stopPropagation=function(t){return(t=t||O.event)&&(t.cancelBubble=!0),!1};this.delegate=function(t,e,i,n,o){var s=M[e]||!1;s||(s={a:[],l:[],f:function(t){for(var e=s.l,i=!1,n=e.length-1;0<=n;n--)if(!1===(i=e[n].call(t.target,t)))return!1;return i}},_.bind(t,e,s.f,n,o),M[e]=s),_.ispage?(s.a=[_.id].concat(s.a),s.l=[i].concat(s.l)):(s.a.push(_.id),s.l.push(i))},this.undelegate=function(t,e,i,n,o){var s=M[e]||!1;if(s&&s.l)for(var r=0,a=s.l.length;r=_.page.maxw)return!0}else if(_.getScrollLeft()<=0)return!0;var s=0=_.page.maxh)return!0}else if(t<=0)return!0}()){if(b.nativeparentscrolling&&i&&!_.ispage&&!_.zoomactive)return!0;var r=_.view.h>>1;e=_.newscrolly<-r?(_.newscrolly=-r,-1):_.newscrolly>_.page.maxh+r?(_.newscrolly=_.page.maxh+r,1):0}var a=0=_.page.maxw:_.getScrollLeft()<=0)&&(o=n,n=0));if(_.isrtlmode&&(n=-n),!y(n,o,i,!0))return E=!1,t.stopImmediatePropagation(),t.preventDefault();i&&(E=!0)}if(this.onmousewheel=function(t){if(_.wheelprevented||_.locked)return!1;if(_.railslocked)return _.debounced("checkunlock",_.resize,250),!1;if(_.rail.drag)return _.cancelEvent(t);if("auto"===b.oneaxismousemode&&0!==t.deltaX&&(b.oneaxismousemode=!1),b.oneaxismousemode&&0===t.deltaX&&!_.rail.scrollable)return!_.railh||!_.railh.scrollable||_.onmousewheelhr(t);var e=R(),i=!1;if(b.preservenativescrolling&&_.checkarea+600_.page.maxh&&(e=_.page.maxh+(e-_.page.maxh)/2|0),t<0?t=t/2|0:t>_.page.maxw&&(t=_.page.maxw+(t-_.page.maxw)/2|0)):(e<0?e=0:e>_.page.maxh&&(e=_.page.maxh),t<0?t=0:t>_.page.maxw&&(t=_.page.maxw)),_.scrollrunning&&t==_.newscrollx&&e==_.newscrolly)return!1;_.newscrolly=e,_.newscrollx=t;var s=_.getScrollTop(),r=_.getScrollLeft(),a={};a.x=t-r,a.y=e-s;var l=0|Math.sqrt(a.x*a.x+a.y*a.y),c=_.prepareTransition(l);_.scrollrunning||(_.scrollrunning=!0,_.triggerScrollStart(r,s,t,e,c),_.cursorupdate.start()),_.scrollendtrapped=!0,x.transitionend||(_.scrollendtrapped&&clearTimeout(_.scrollendtrapped),_.scrollendtrapped=setTimeout(_.onScrollTransitionEnd,c)),_.setScrollTop(_.newscrolly),_.setScrollLeft(_.newscrollx)},this.cancelScroll=function(){if(!_.scrollendtrapped)return!0;var t=_.getScrollTop(),e=_.getScrollLeft();return _.scrollrunning=!1,x.transitionend||clearTimeout(x.transitionend),_.scrollendtrapped=!1,_.resetTransition(),_.setScrollTop(t),_.railh&&_.setScrollLeft(e),_.timerscroll&&_.timerscroll.tm&&clearInterval(_.timerscroll.tm),_.timerscroll=!1,_.cursorfreezed=!1,_.cursorupdate.stop(),_.showCursor(t,e),_},this.onScrollTransitionEnd=function(){if(_.scrollendtrapped){var t=_.getScrollTop(),e=_.getScrollLeft();if(t<0?t=0:t>_.page.maxh&&(t=_.page.maxh),e<0?e=0:e>_.page.maxw&&(e=_.page.maxw),t!=_.newscrolly||e!=_.newscrollx)return _.doScrollPos(e,t,b.snapbackspeed);_.scrollrunning&&_.triggerScrollEnd(),_.scrollrunning=!1,_.scrollendtrapped=!1,_.resetTransition(),_.timerscroll=!1,_.setScrollTop(t),_.railh&&_.setScrollLeft(e),_.cursorupdate.stop(),_.noticeCursor(!1,t,e),_.cursorfreezed=!1}}}else this.doScrollLeft=function(t,e){var i=_.scrollrunning?_.newscrolly:_.getScrollTop();_.doScrollPos(t,i,e)},this.doScrollTop=function(t,e){var i=_.scrollrunning?_.newscrollx:_.getScrollLeft();_.doScrollPos(i,t,e)},this.doScrollPos=function(t,e,i){var n=_.getScrollTop(),o=_.getScrollLeft();((_.newscrolly-n)*(e-n)<0||(_.newscrollx-o)*(t-o)<0)&&_.cancelScroll();var s=!1;if(_.bouncescroll&&_.rail.visibility||(e<0?s=!(e=0):e>_.page.maxh&&(e=_.page.maxh,s=!0)),_.bouncescroll&&_.railh.visibility||(t<0?s=!(t=0):t>_.page.maxw&&(t=_.page.maxw,s=!0)),_.scrollrunning&&_.newscrolly===e&&_.newscrollx===t)return!0;_.newscrolly=e,_.newscrollx=t,_.dst={},_.dst.x=t-o,_.dst.y=e-n,_.dst.px=o,_.dst.py=n;var r=0|Math.sqrt(_.dst.x*_.dst.x+_.dst.y*_.dst.y),a=_.getTransitionSpeed(r);_.bzscroll={};var l=s?1:.58;_.bzscroll.x=new h(o,_.newscrollx,a,0,0,l,1),_.bzscroll.y=new h(n,_.newscrolly,a,0,0,l,1);R();var c=function(){if(_.scrollrunning){var t=_.bzscroll.y.getPos();_.setScrollLeft(_.bzscroll.x.getNow()),_.setScrollTop(_.bzscroll.y.getNow()),t<=1?_.timer=P(c):(_.scrollrunning=!1,_.timer=0,_.triggerScrollEnd())}};_.scrollrunning||(_.triggerScrollStart(o,n,t,e,a),_.scrollrunning=!0,_.timer=P(c))},this.cancelScroll=function(){return _.timer&&H(_.timer),_.timer=0,_.bzscroll=!1,_.scrollrunning=!1,_};else this.doScrollLeft=function(t,e){var i=_.getScrollTop();_.doScrollPos(t,i,e)},this.doScrollTop=function(t,e){var i=_.getScrollLeft();_.doScrollPos(i,t,e)},this.doScrollPos=function(t,e,i){var n=t>_.page.maxw?_.page.maxw:t;n<0&&(n=0);var o=e>_.page.maxh?_.page.maxh:e;o<0&&(o=0),_.synched("scroll",function(){_.setScrollTop(o),_.setScrollLeft(n)})},this.cancelScroll=function(){};this.doScrollBy=function(t,e){y(0,t)},this.doScrollLeftBy=function(t,e){y(t,0)},this.doScrollTo=function(t,e){var i=e?Math.round(t*_.scrollratio.y):t;i<0?i=0:i>_.page.maxh&&(i=_.page.maxh),_.cursorfreezed=!1,_.doScrollTop(t)},this.checkContentSize=function(){var t=_.getContentSize();t.h==_.page.h&&t.w==_.page.w||_.resize(!1,t)},_.onscroll=function(t){_.rail.drag||_.cursorfreezed||_.synched("scroll",function(){_.scroll.y=Math.round(_.getScrollTop()/_.scrollratio.y),_.railh&&(_.scroll.x=Math.round(_.getScrollLeft()/_.scrollratio.x)),_.noticeCursor()})},_.bind(_.docscroll,"scroll",_.onscroll),this.doZoomIn=function(t){if(!_.zoomactive){_.zoomactive=!0,_.zoomrestore={style:{}};var e=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"],i=_.win[0].style;for(var n in e){var o=e[n];_.zoomrestore.style[o]=void 0!==i[o]?i[o]:""}_.zoomrestore.style.width=_.win.css("width"),_.zoomrestore.style.height=_.win.css("height"),_.zoomrestore.padding={w:_.win.outerWidth()-_.win.width(),h:_.win.outerHeight()-_.win.height()},x.isios4&&(_.zoomrestore.scrollTop=L.scrollTop(),L.scrollTop(0)),_.win.css({position:x.isios4?"absolute":"fixed",top:0,left:0,zIndex:z+100,margin:0});var s=_.win.css("backgroundColor");return(""===s||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(s))&&_.win.css("backgroundColor","#fff"),_.rail.css({zIndex:z+101}),_.zoom.css({zIndex:z+102}),_.zoom.css("backgroundPosition","0 -18px"),_.resizeZoom(),_.onzoomin&&_.onzoomin.call(_),_.cancelEvent(t)}},this.doZoomOut=function(t){if(_.zoomactive)return _.zoomactive=!1,_.win.css("margin",""),_.win.css(_.zoomrestore.style),x.isios4&&L.scrollTop(_.zoomrestore.scrollTop),_.rail.css({"z-index":_.zindex}),_.zoom.css({"z-index":_.zindex}),_.zoomrestore=!1,_.zoom.css("backgroundPosition","0 0"),_.onResize(),_.onzoomout&&_.onzoomout.call(_),_.cancelEvent(t)},this.doZoom=function(t){return _.zoomactive?_.doZoomOut(t):_.doZoomIn(t)},this.resizeZoom=function(){if(_.zoomactive){var t=_.getScrollTop();_.win.css({width:L.width()-_.zoomrestore.padding.w+"px",height:L.height()-_.zoomrestore.padding.h+"px"}),_.onResize(),_.setScrollTop(Math.min(_.page.maxh,t))}},this.init(),A.nicescroll.push(this)}var e,i,n,j=O.MutationObserver||O.WebKitMutationObserver||!1,R=Date.now||function(){return(new Date).getTime()},W={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:40,mousescrollstep:27,touchbehavior:!1,emulatetouch:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:(i=N.currentScript||!!(e=N.getElementsByTagName("script")).length&&e[e.length-1],n=i?i.src.split("?")[0]:"",0g.nc.page.maxw,g.snapy=s<0||s>g.nc.page.maxh,g.speedx=o,g.speedy=n,g.lastx=t,g.lasty=e},this.stop=function(){g.nc.unsynched("domomentum2d"),g.timer&&clearTimeout(g.timer),g.timer=0,g.lastscrollx=-1,g.lastscrolly=-1},this.doSnapy=function(t,e){var i=!1;e<0?i=!(e=0):e>g.nc.page.maxh&&(e=g.nc.page.maxh,i=!0),t<0?i=!(t=0):t>g.nc.page.maxw&&(t=g.nc.page.maxw,i=!0),i?g.nc.doScrollPos(t,e,g.nc.opt.snapbackspeed):g.nc.triggerScrollEnd()},this.doMomentum=function(t){var e=R(),i=t?e+t:g.lasttime,n=g.nc.getScrollLeft(),o=g.nc.getScrollTop(),s=g.nc.page.maxh,r=g.nc.page.maxw;g.speedx=0").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('
    '));var n=t.next(),e=t.find("option"),i=t.find("option:selected");n.find(".current").html(i.data("display")||i.text()),e.each(function(t){var e=s(this),i=e.data("display");n.find("ul").append(s("
  • ").attr("data-value",e.val()).attr("data-display",i||null).addClass("option"+(e.is(":selected")?" selected":"")+(e.is(":disabled")?" disabled":"")).html(e.text()))})}this.hide(),this.each(function(){var t=s(this);t.next().hasClass("nice-select")||n(t)}),s(document).off(".nice_select"),s(document).on("click.nice_select",".nice-select",function(t){var e=s(this);s(".nice-select").not(e).removeClass("open"),e.toggleClass("open"),e.hasClass("open")?(e.find(".option"),e.find(".focus").removeClass("focus"),e.find(".selected").addClass("focus")):e.focus()}),s(document).on("click.nice_select",function(t){0===s(t.target).closest(".nice-select").length&&s(".nice-select").removeClass("open").find(".option")}),s(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var e=s(this),i=e.closest(".nice-select");i.find(".selected").removeClass("selected"),e.addClass("selected");var n=e.data("display")||e.text();i.find(".current").text(n),i.prev("select").val(e.data("value")).trigger("change")}),s(document).on("keydown.nice_select",".nice-select",function(t){var e=s(this),i=s(e.find(".focus")||e.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return e.hasClass("open")?i.trigger("click"):e.trigger("click"),!1;if(40==t.keyCode){if(e.hasClass("open")){var n=i.nextAll(".option:not(.disabled)").first();0",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.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:s,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
    '),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t",r[t+1]||e-s)&&(o="left"===n?t+1:t),-1===o},this)),this.settings.loop||(this.op(i,">",r[this.minimum()])?o=i=this.minimum():this.op(i,"<",r[this.maximum()])&&(o=i=this.maximum())),o},c.prototype.animate=function(t){var e=0r/2&&(o+=-1*s*r),(n=(((t=i+o)-a)%r+r)%r+a)!==t&&n-o<=l&&0":return n?t=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(i){if(i.type===c.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var 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
    ',n=c.lazyLoad?'
    ':'
    ',e.after(n),e.after('
    ')}var n,o,s=t.width&&t.height?'style="width:'+t.width+"px;height:"+t.height+'px;"':"",r=e.find("img"),a="src",l="",c=this._core.settings;if(e.wrap('
    "),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return i(r.attr(a)),r.remove(),!1;"youtube"===t.type?(o="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(o)):"vimeo"===t.type?h.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,i(o)}}):"vzaar"===t.type&&h.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,i(o)}})},n.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")},n.prototype.play=function(t){var e,i=h(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],o=n.width||"100%",s=n.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()),"youtube"===n.type?e='':"vimeo"===n.type?e='':"vzaar"===n.type&&(e=''),h('
    '+e+"
    ").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&h(t).parent().hasClass("owl-video-frame")},n.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)},h.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(r,t,e,i){var n=function(t){this.core=t,this.core.options=r.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.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":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&r.support.animation&&r.support.transition){this.core.speed(0);var t,e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&n.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(o))}},n.prototype.clear=function(t){r(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()},n.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)},r.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(n,o,e,t){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.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":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=o.setTimeout(n.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("busy")||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):o.clearTimeout(this._call),this._time+=this.read()%t-i,this._timeout=t,this._call=o.setTimeout(n.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,o.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,o.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)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(s,t,e,i){"use strict";var n=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":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
    '+s(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
    ")},this),"added.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":s.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":s.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":s.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=s.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'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},n.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?s(i.navContainer):s("
    ").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=s("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",s.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=s("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",s.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[s("