text: !function(t){var o={init:function(o){var a={set_width:!1,set_height:!1,horizontalScroll:!1,scrollInertia:950,mouseWheel:!0,mouseWheelPixels:"auto",autoDraggerLength:!0,autoHideScrollbar:!1,snapAmount:null,snapOffset:0,scrollButtons:{enable:!1,scrollType:"continuous",scrollSpeed:"auto",scrollAmount:40},advanced:{updateOnBrowserResize:!0,updateOnContentResize:!1,autoExpandHorizontalScroll:!1,autoScrollOnFocus:!0,normalizeMouseWheelDelta:!1},contentTouchScroll:!0,callbacks:{onScrollStart:function(){},onScroll:function(){},onTotalScroll:function(){},onTotalScrollBack:function(){},onTotalScrollOffset:0,onTotalScrollBackOffset:0,whileScrolling:function(){}},theme:"light"},o=t.extend(!0,a,o);return this.each(function(){var a=t(this);if(o.set_width&&a.css("width",o.set_width),o.set_height&&a.css("height",o.set_height),t(document).data("mCustomScrollbar-index")){var e=parseInt(t(document).data("mCustomScrollbar-index"));t(document).data("mCustomScrollbar-index",e+1)}else t(document).data("mCustomScrollbar-index","1");a.wrapInner("<div class='mCustomScrollBox mCS-"+o.theme+"' id='mCSB_"+t(document).data("mCustomScrollbar-index")+"' style='position:relative; height:100%; overflow:hidden; max-width:100%;' />").addClass("mCustomScrollbar _mCS_"+t(document).data("mCustomScrollbar-index"));var n=a.children(".mCustomScrollBox");if(o.horizontalScroll){n.addClass("mCSB_horizontal").wrapInner("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />");var l=n.children(".mCSB_h_wrapper");l.wrapInner("<div class='mCSB_container' style='position:absolute; left:0;' />").children(".mCSB_container").css({width:l.children().outerWidth(),position:"relative"}).unwrap()}else n.wrapInner("<div class='mCSB_container' style='position:relative; top:0;' />");var r=n.children(".mCSB_container");t.support.touch&&r.addClass("mCS_touch"),r.after("<div class='mCSB_scrollTools' style='position:absolute;'><div class='mCSB_draggerContainer'><div class='mCSB_dragger' style='position:absolute;' oncontextmenu='return false;'><div class='mCSB_dragger_bar' style='position:relative;'></div></div><div class='mCSB_draggerRail'></div></div></div>");var i=n.children(".mCSB_scrollTools"),s=i.children(".mCSB_draggerContainer"),c=s.children(".mCSB_dragger");if(o.horizontalScroll?c.data("minDraggerWidth",c.width()):c.data("minDraggerHeight",c.height()),o.scrollButtons.enable&&(o.horizontalScroll?i.prepend("<a class='mCSB_buttonLeft' oncontextmenu='return false;'></a>").append("<a class='mCSB_buttonRight' oncontextmenu='return false;'></a>"):i.prepend("<a class='mCSB_buttonUp' oncontextmenu='return false;'></a>").append("<a class='mCSB_buttonDown' oncontextmenu='return false;'></a>")),n.bind("scroll",function(){a.is(".mCS_disabled")||n.scrollTop(0).scrollLeft(0)}),a.data({mCS_Init:!0,mCustomScrollbarIndex:t(document).data("mCustomScrollbar-index"),horizontalScroll:o.horizontalScroll,scrollInertia:o.scrollInertia,scrollEasing:"mcsEaseOut",mouseWheel:o.mouseWheel,mouseWheelPixels:o.mouseWheelPixels,autoDraggerLength:o.autoDraggerLength,autoHideScrollbar:o.autoHideScrollbar,snapAmount:o.snapAmount,snapOffset:o.snapOffset,scrollButtons_enable:o.scrollButtons.enable,scrollButtons_scrollType:o.scrollButtons.scrollType,scrollButtons_scrollSpeed:o.scrollButtons.scrollSpeed,scrollButtons_scrollAmount:o.scrollButtons.scrollAmount,autoExpandHorizontalScroll:o.advanced.autoExpandHorizontalScroll,autoScrollOnFocus:o.advanced.autoScrollOnFocus,normalizeMouseWheelDelta:o.advanced.normalizeMouseWheelDelta,contentTouchScroll:o.contentTouchScroll,onScrollStart_Callback:o.callbacks.onScrollStart,onScroll_Callback:o.callbacks.onScroll,onTotalScroll_Callback:o.callbacks.onTotalScroll,onTotalScrollBack_Callback:o.callbacks.onTotalScrollBack,onTotalScroll_Offset:o.callbacks.onTotalScrollOffset,onTotalScrollBack_Offset:o.callbacks.onTotalScrollBackOffset,whileScrolling_Callback:o.callbacks.whileScrolling,bindEvent_scrollbar_drag:!1,bindEvent_content_touch:!1,bindEvent_scrollbar_click:!1,bindEvent_mousewheel:!1,bindEvent_buttonsContinuous_y:!1,bindEvent_buttonsContinuous_x:!1,bindEvent_buttonsPixels_y:!1,bindEvent_buttonsPixels_x:!1,bindEvent_focusin:!1,bindEvent_autoHideScrollbar:!1,mCSB_buttonScrollRight:!1,mCSB_buttonScrollLeft:!1,mCSB_buttonScrollDown:!1,mCSB_buttonScrollUp:!1}),o.horizontalScroll)"none"!==a.css("max-width")&&(o.advanced.updateOnContentResize||(o.advanced.updateOnContentResize=!0));else if("none"!==a.css("max-height")){var d=!1,u=parseInt(a.css("max-height"));a.css("max-height").indexOf("%")>=0&&(d=u,u=a.parent().height()*d/100),a.css("overflow","hidden"),n.css("max-height",u)}if(a.mCustomScrollbar("update"),o.advanced.updateOnBrowserResize){var m,h=t(window).width(),S=t(window).height();t(window).bind("resize."+a.data("mCustomScrollbarIndex"),function(){m&&clearTimeout(m),m=setTimeout(function(){if(!a.is(".mCS_disabled")&&!a.is(".mCS_destroyed")){var o=t(window).width(),e=t(window).height();(h!==o||S!==e)&&("none"!==a.css("max-height")&&d&&n.css("max-height",a.parent().height()*d/100),a.mCustomScrollbar("update"),h=o,S=e)}},150)})}if(o.advanced.updateOnContentResize){var p;if(o.horizontalScroll)var f=r.outerWidth();else var f=r.outerHeight();p=setInterval(function(){if(o.horizontalScroll){o.advanced.autoExpandHorizontalScroll&&r.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:r.outerWidth(),position:"relative"}).unwrap();var t=r.outerWidth()}else var t=r.outerHeight();t!=f&&(a.mCustomScrollbar("update"),f=t)},300)}})},update:function(){var o=t(this),a=o.children(".mCustomScrollBox"),e=a.children(".mCSB_container");e.removeClass("mCS_no_scrollbar"),o.removeClass("mCS_disabled mCS_destroyed"),a.scrollTop(0).scrollLeft(0);var n=a.children(".mCSB_scrollTools"),l=n.children(".mCSB_draggerContainer"),r=l.children(".mCSB_dragger");if(o.data("horizontalScroll")){var i=n.children(".mCSB_buttonLeft"),s=n.children(".mCSB_buttonRight"),c=a.width();o.data("autoExpandHorizontalScroll")&&e.css({position:"absolute",width:"auto"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:e.outerWidth(),position:"relative"}).unwrap();var d=e.outerWidth()}else var u=n.children(".mCSB_buttonUp"),m=n.children(".mCSB_buttonDown"),h=a.height(),S=e.outerHeight();if(S>h&&!o.data("horizontalScroll")){n.css("display","block");var p=l.height();if(o.data("autoDraggerLength")){var f=Math.round(h/S*p),b=r.data("minDraggerHeight");if(b>=f)r.css({height:b});else if(f>=p-10){var g=p-10;r.css({height:g})}else r.css({height:f});r.children(".mCSB_dragger_bar").css({"line-height":r.height()+"px"})}var _=r.height(),v=(S-h)/(p-_);o.data("scrollAmount",v).mCustomScrollbar("scrolling",a,e,l,r,u,m,i,s);var C=Math.abs(e.position().top);o.mCustomScrollbar("scrollTo",C,{scrollInertia:0,trigger:"internal"})}else if(d>c&&o.data("horizontalScroll")){n.css("display","block");var w=l.width();if(o.data("autoDraggerLength")){var B=Math.round(c/d*w),x=r.data("minDraggerWidth");if(x>=B)r.css({width:x});else if(B>=w-10){var T=w-10;r.css({width:T})}else r.css({width:B})}var E=r.width(),v=(d-c)/(w-E);o.data("scrollAmount",v).mCustomScrollbar("scrolling",a,e,l,r,u,m,i,s);var C=Math.abs(e.position().left);o.mCustomScrollbar("scrollTo",C,{scrollInertia:0,trigger:"internal"})}else a.unbind("mousewheel focusin"),o.data("horizontalScroll")?r.add(e).css("left",0):r.add(e).css("top",0),n.css("display","none"),e.addClass("mCS_no_scrollbar"),o.data({bindEvent_mousewheel:!1,bindEvent_focusin:!1})},scrolling:function(o,e,n,l,r,i,s,c){function d(t,o,a,e){h.data("horizontalScroll")?h.mCustomScrollbar("scrollTo",l.position().left-o+e,{moveDragger:!0,trigger:"internal"}):h.mCustomScrollbar("scrollTo",l.position().top-t+a,{moveDragger:!0,trigger:"internal"})}function u(t){l.data("preventAction")||(l.data("preventAction",!0),h.mCustomScrollbar("scrollTo",t,{trigger:"internal"}))}function m(){var t=h.data("scrollButtons_scrollSpeed");return"auto"===h.data("scrollButtons_scrollSpeed")&&(t=Math.round((h.data("scrollInertia")+100)/40)),t}var h=t(this);if(!h.data("bindEvent_scrollbar_drag")){var S,p;t.support.msPointer?(l.bind("MSPointerDown",function(o){o.preventDefault(),h.data({on_drag:!0}),l.addClass("mCSB_dragger_onDrag");var a=t(this),e=a.offset(),n=o.originalEvent.pageX-e.left,r=o.originalEvent.pageY-e.top;n<a.width()&&n>0&&r<a.height()&&r>0&&(S=r,p=n)}),t(document).bind("MSPointerMove."+h.data("mCustomScrollbarIndex"),function(t){if(t.preventDefault(),h.data("on_drag")){var o=l,a=o.offset(),e=t.originalEvent.pageX-a.left,n=t.originalEvent.pageY-a.top;d(S,p,n,e)}}).bind("MSPointerUp."+h.data("mCustomScrollbarIndex"),function(){h.data({on_drag:!1}),l.removeClass("mCSB_dragger_onDrag")})):(l.bind("mousedown touchstart",function(o){o.preventDefault(),o.stopImmediatePropagation();var a,e,n=t(this),r=n.offset();if("touchstart"===o.type){var i=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0];a=i.pageX-r.left,e=i.pageY-r.top}else h.data({on_drag:!0}),l.addClass("mCSB_dragger_onDrag"),a=o.pageX-r.left,e=o.pageY-r.top;a<n.width()&&a>0&&e<n.height()&&e>0&&(S=e,p=a)}).bind("touchmove",function(o){o.preventDefault(),o.stopImmediatePropagation();var a=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0],e=t(this),n=e.offset(),l=a.pageX-n.left,r=a.pageY-n.top;d(S,p,r,l)}),t(document).bind("mousemove."+h.data("mCustomScrollbarIndex"),function(t){if(h.data("on_drag")){var o=l,a=o.offset(),e=t.pageX-a.left,n=t.pageY-a.top;d(S,p,n,e)}}).bind("mouseup."+h.data("mCustomScrollbarIndex"),function(){h.data({on_drag:!1}),l.removeClass("mCSB_dragger_onDrag")})),h.data({bindEvent_scrollbar_drag:!0})}if(t.support.touch&&h.data("contentTouchScroll")&&!h.data("bindEvent_content_touch")){var f,b,g,_,v,C,w;e.bind("touchstart",function(o){o.stopImmediatePropagation(),f=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0],b=t(this),g=b.offset(),v=f.pageX-g.left,_=f.pageY-g.top,C=_,w=v}),e.bind("touchmove",function(o){o.preventDefault(),o.stopImmediatePropagation(),f=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0],b=t(this).parent(),g=b.offset(),v=f.pageX-g.left,_=f.pageY-g.top,h.data("horizontalScroll")?h.mCustomScrollbar("scrollTo",w-v,{trigger:"internal"}):h.mCustomScrollbar("scrollTo",C-_,{trigger:"internal"})})}if(h.data("bindEvent_scrollbar_click")||(n.bind("click",function(o){var a=(o.pageY-n.offset().top)*h.data("scrollAmount"),e=t(o.target);h.data("horizontalScroll")&&(a=(o.pageX-n.offset().left)*h.data("scrollAmount")),(e.hasClass("mCSB_draggerContainer")||e.hasClass("mCSB_draggerRail"))&&h.mCustomScrollbar("scrollTo",a,{trigger:"internal",scrollEasing:"draggerRailEase"})}),h.data({bindEvent_scrollbar_click:!0})),h.data("mouseWheel")&&(h.data("bindEvent_mousewheel")||(o.bind("mousewheel",function(t,o){var a,r=h.data("mouseWheelPixels"),i=Math.abs(e.position().top),s=l.position().top,c=n.height()-l.height();h.data("normalizeMouseWheelDelta")&&(o=0>o?-1:1),"auto"===r&&(r=100+Math.round(h.data("scrollAmount")/2)),h.data("horizontalScroll")&&(s=l.position().left,c=n.width()-l.width(),i=Math.abs(e.position().left)),(o>0&&0!==s||0>o&&s!==c)&&(t.preventDefault(),t.stopImmediatePropagation()),a=i-o*r,h.mCustomScrollbar("scrollTo",a,{trigger:"internal"})}),h.data({bindEvent_mousewheel:!0}))),h.data("scrollButtons_enable"))if("pixels"===h.data("scrollButtons_scrollType"))h.data("horizontalScroll")?(c.add(s).unbind("mousedown touchstart MSPointerDown mouseup MSPointerUp mouseout MSPointerOut touchend",B,x),h.data({bindEvent_buttonsContinuous_x:!1}),h.data("bindEvent_buttonsPixels_x")||(c.bind("click",function(t){t.preventDefault(),u(Math.abs(e.position().left)+h.data("scrollButtons_scrollAmount"))}),s.bind("click",function(t){t.preventDefault(),u(Math.abs(e.position().left)-h.data("scrollButtons_scrollAmount"))}),h.data({bindEvent_buttonsPixels_x:!0}))):(i.add(r).unbind("mousedown touchstart MSPointerDown mouseup MSPointerUp mouseout MSPointerOut touchend",B,x),h.data({bindEvent_buttonsContinuous_y:!1}),h.data("bindEvent_buttonsPixels_y")||(i.bind("click",function(t){t.preventDefault(),u(Math.abs(e.position().top)+h.data("scrollButtons_scrollAmount"))}),r.bind("click",function(t){t.preventDefault(),u(Math.abs(e.position().top)-h.data("scrollButtons_scrollAmount"))}),h.data({bindEvent_buttonsPixels_y:!0})));else if(h.data("horizontalScroll")){if(c.add(s).unbind("click"),h.data({bindEvent_buttonsPixels_x:!1}),!h.data("bindEvent_buttonsContinuous_x")){c.bind("mousedown touchstart MSPointerDown",function(t){t.preventDefault();var o=m();h.data({mCSB_buttonScrollRight:setInterval(function(){h.mCustomScrollbar("scrollTo",Math.abs(e.position().left)+o,{trigger:"internal",scrollEasing:"easeOutCirc"})},17)})});var B=function(t){t.preventDefault(),clearInterval(h.data("mCSB_buttonScrollRight"))};c.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",B),s.bind("mousedown touchstart MSPointerDown",function(t){t.preventDefault();var o=m();h.data({mCSB_buttonScrollLeft:setInterval(function(){h.mCustomScrollbar("scrollTo",Math.abs(e.position().left)-o,{trigger:"internal",scrollEasing:"easeOutCirc"})},17)})});var x=function(t){t.preventDefault(),clearInterval(h.data("mCSB_buttonScrollLeft"))};s.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",x),h.data({bindEvent_buttonsContinuous_x:!0})}}else if(i.add(r).unbind("click"),h.data({bindEvent_buttonsPixels_y:!1}),!h.data("bindEvent_buttonsContinuous_y")){i.bind("mousedown touchstart MSPointerDown",function(t){t.preventDefault();var o=m();h.data({mCSB_buttonScrollDown:setInterval(function(){h.mCustomScrollbar("scrollTo",Math.abs(e.position().top)+o,{trigger:"internal",scrollEasing:"easeOutCirc"})},17)})});var T=function(t){t.preventDefault(),clearInterval(h.data("mCSB_buttonScrollDown"))};i.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",T),r.bind("mousedown touchstart MSPointerDown",function(t){t.preventDefault();var o=m();h.data({mCSB_buttonScrollUp:setInterval(function(){h.mCustomScrollbar("scrollTo",Math.abs(e.position().top)-o,{trigger:"internal",scrollEasing:"easeOutCirc"})},17)})});var E=function(t){t.preventDefault(),clearInterval(h.data("mCSB_buttonScrollUp"))};r.bind("mouseup touchend MSPointerUp mouseout MSPointerOut",E),h.data({bindEvent_buttonsContinuous_y:!0})}h.data("autoScrollOnFocus")&&(h.data("bindEvent_focusin")||(o.bind("focusin",function(){o.scrollTop(0).scrollLeft(0);var a=t(document.activeElement);if(a.is("input,textarea,select,button,a[tabindex],area,object")){var n=e.position().top,l=a.position().top,r=o.height()-a.outerHeight();h.data("horizontalScroll")&&(n=e.position().left,l=a.position().left,r=o.width()-a.outerWidth()),(0>n+l||n+l>r)&&h.mCustomScrollbar("scrollTo",l,{trigger:"internal"})}}),h.data({bindEvent_focusin:!0}))),h.data("autoHideScrollbar")&&(h.data("bindEvent_autoHideScrollbar")||(o.bind("mouseenter",function(){o.addClass("mCS-mouse-over"),a.showScrollbar.call(o.children(".mCSB_scrollTools"))}).bind("mouseleave touchend",function(t){o.removeClass("mCS-mouse-over"),"mouseleave"===t.type&&a.hideScrollbar.call(o.children(".mCSB_scrollTools"))}),h.data({bindEvent_autoHideScrollbar:!0})))},scrollTo:function(o,e){function n(t){switch(this.mcs={top:h.position().top,left:h.position().left,draggerTop:f.position().top,draggerLeft:f.position().left,topPct:Math.round(100*Math.abs(h.position().top)/Math.abs(h.outerHeight()-m.height())),leftPct:Math.round(100*Math.abs(h.position().left)/Math.abs(h.outerWidth()-m.width()))},t){case"onScrollStart":d.data("mCS_tweenRunning",!0).data("onScrollStart_Callback").call(d,this.mcs);break;case"whileScrolling":d.data("whileScrolling_Callback").call(d,this.mcs);break;case"onScroll":d.data("onScroll_Callback").call(d,this.mcs);break;case"onTotalScrollBack":d.data("onTotalScrollBack_Callback").call(d,this.mcs);break;case"onTotalScroll":d.data("onTotalScroll_Callback").call(d,this.mcs)}}var l,r,i,s,c,d=t(this),u={moveDragger:!1,trigger:"external",callbacks:!0,scrollInertia:d.data("scrollInertia"),scrollEasing:d.data("scrollEasing")},e=t.extend(u,e),m=d.children(".mCustomScrollBox"),h=m.children(".mCSB_container"),S=m.children(".mCSB_scrollTools"),p=S.children(".mCSB_draggerContainer"),f=p.children(".mCSB_dragger"),b=draggerSpeed=e.scrollInertia;if(!h.hasClass("mCS_no_scrollbar")&&(d.data({mCS_trigger:e.trigger}),d.data("mCS_Init")&&(e.callbacks=!1),o||0===o)){if("number"==typeof o)e.moveDragger?(l=o,o=d.data("horizontalScroll")?f.position().left*d.data("scrollAmount"):f.position().top*d.data("scrollAmount"),draggerSpeed=0):l=o/d.data("scrollAmount");else if("string"==typeof o){var g;g="top"===o?0:"bottom"!==o||d.data("horizontalScroll")?"left"===o?0:"right"===o&&d.data("horizontalScroll")?h.outerWidth()-m.width():"first"===o?d.find(".mCSB_container").find(":first"):"last"===o?d.find(".mCSB_container").find(":last"):d.find(o):h.outerHeight()-m.height(),1===g.length?(o=d.data("horizontalScroll")?g.position().left:g.position().top,l=o/d.data("scrollAmount")):l=o=g}if(d.data("horizontalScroll")){d.data("onTotalScrollBack_Offset")&&(i=-d.data("onTotalScrollBack_Offset")),d.data("onTotalScroll_Offset")&&(c=m.width()-h.outerWidth()+d.data("onTotalScroll_Offset")),0>l?(l=o=0,clearInterval(d.data("mCSB_buttonScrollLeft")),i||(r=!0)):l>=p.width()-f.width()?(l=p.width()-f.width(),o=m.width()-h.outerWidth(),clearInterval(d.data("mCSB_buttonScrollRight")),c||(s=!0)):o=-o;var _=d.data("snapAmount");_&&(o=Math.round(o/_)*_-d.data("snapOffset")),a.mTweenAxis.call(this,f[0],"left",Math.round(l),draggerSpeed,e.scrollEasing),a.mTweenAxis.call(this,h[0],"left",Math.round(o),b,e.scrollEasing,{onStart:function(){e.callbacks&&!d.data("mCS_tweenRunning")&&n("onScrollStart"),d.data("autoHideScrollbar")&&a.showScrollbar.call(S)},onUpdate:function(){e.callbacks&&n("whileScrolling")},onComplete:function(){e.callbacks&&(n("onScroll"),(r||i&&h.position().left>=i)&&n("onTotalScrollBack"),(s||c&&h.position().left<=c)&&n("onTotalScroll")),f.data("preventAction",!1),d.data("mCS_tweenRunning",!1),d.data("autoHideScrollbar")&&(m.hasClass("mCS-mouse-over")||a.hideScrollbar.call(S))}})}else{d.data("onTotalScrollBack_Offset")&&(i=-d.data("onTotalScrollBack_Offset")),d.data("onTotalScroll_Offset")&&(c=m.height()-h.outerHeight()+d.data("onTotalScroll_Offset")),0>l?(l=o=0,clearInterval(d.data("mCSB_buttonScrollUp")),i||(r=!0)):l>=p.height()-f.height()?(l=p.height()-f.height(),o=m.height()-h.outerHeight(),clearInterval(d.data("mCSB_buttonScrollDown")),c||(s=!0)):o=-o;var _=d.data("snapAmount");_&&(o=Math.round(o/_)*_-d.data("snapOffset")),a.mTweenAxis.call(this,f[0],"top",Math.round(l),draggerSpeed,e.scrollEasing),a.mTweenAxis.call(this,h[0],"top",Math.round(o),b,e.scrollEasing,{onStart:function(){e.callbacks&&!d.data("mCS_tweenRunning")&&n("onScrollStart"),d.data("autoHideScrollbar")&&a.showScrollbar.call(S)},onUpdate:function(){e.callbacks&&n("whileScrolling")},onComplete:function(){e.callbacks&&(n("onScroll"),(r||i&&h.position().top>=i)&&n("onTotalScrollBack"),(s||c&&h.position().top<=c)&&n("onTotalScroll")),f.data("preventAction",!1),d.data("mCS_tweenRunning",!1),d.data("autoHideScrollbar")&&(m.hasClass("mCS-mouse-over")||a.hideScrollbar.call(S))}})}d.data("mCS_Init")&&d.data({mCS_Init:!1})}},stop:function(){var o=t(this),e=o.children().children(".mCSB_container"),n=o.children().children().children().children(".mCSB_dragger");a.mTweenAxisStop.call(this,e[0]),a.mTweenAxisStop.call(this,n[0])},disable:function(o){var a=t(this),e=a.children(".mCustomScrollBox"),n=e.children(".mCSB_container"),l=e.children(".mCSB_scrollTools"),r=l.children().children(".mCSB_dragger");e.unbind("mousewheel focusin mouseenter mouseleave touchend"),n.unbind("touchstart touchmove"),o&&(a.data("horizontalScroll")?r.add(n).css("left",0):r.add(n).css("top",0)),l.css("display","none"),n.addClass("mCS_no_scrollbar"),a.data({bindEvent_mousewheel:!1,bindEvent_focusin:!1,bindEvent_content_touch:!1,bindEvent_autoHideScrollbar:!1}).addClass("mCS_disabled")},destroy:function(){var o=t(this);o.removeClass("mCustomScrollbar _mCS_"+o.data("mCustomScrollbarIndex")).addClass("mCS_destroyed").children().children(".mCSB_container").unwrap().children().unwrap().siblings(".mCSB_scrollTools").remove(),t(document).unbind("mousemove."+o.data("mCustomScrollbarIndex")+" mouseup."+o.data("mCustomScrollbarIndex")+" MSPointerMove."+o.data("mCustomScrollbarIndex")+" MSPointerUp."+o.data("mCustomScrollbarIndex")),t(window).unbind("resize."+o.data("mCustomScrollbarIndex"))}},a={showScrollbar:function(){this.stop().animate({opacity:1},"fast")},hideScrollbar:function(){this.stop().animate({opacity:0},"fast")},mTweenAxis:function(t,o,a,e,n,l){function r(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()}function i(){b||h.call(),b=r()-f,s(),b>=t._time&&(t._time=b>t._time?b+m-(b-t._time):b+m-1,t._time<b+1&&(t._time=b+1)),t._time<e?t._id=_request(i):p.call()}function s(){e>0?(t.currVal=u(t._time,g,v,e,n),_[o]=Math.round(t.currVal)+"px"):_[o]=a+"px",S.call()}function c(){m=1e3/60,t._time=b+m,_request=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return s(),setTimeout(t,.01)},t._id=_request(i)}function d(){null!=t._id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._id):clearTimeout(t._id),t._id=null)}function u(t,o,a,e,n){switch(n){case"linear":return a*t/e+o;case"easeOutQuad":return t/=e,-a*t*(t-2)+o;case"easeInOutQuad":return t/=e/2,1>t?a/2*t*t+o:(t--,-a/2*(t*(t-2)-1)+o);case"easeOutCubic":return t/=e,t--,a*(t*t*t+1)+o;case"easeOutQuart":return t/=e,t--,-a*(t*t*t*t-1)+o;case"easeOutQuint":return t/=e,t--,a*(t*t*t*t*t+1)+o;case"easeOutCirc":return t/=e,t--,a*Math.sqrt(1-t*t)+o;case"easeOutSine":return a*Math.sin(t/e*(Math.PI/2))+o;case"easeOutExpo":return a*(-Math.pow(2,-10*t/e)+1)+o;case"mcsEaseOut":var l=(t/=e)*t,r=l*t;return o+a*(.499999999999997*r*l+-2.5*l*l+5.5*r+-6.5*l+4*t);case"draggerRailEase":return t/=e/2,1>t?a/2*t*t*t+o:(t-=2,a/2*(t*t*t+2)+o)}}var m,l=l||{},h=l.onStart||function(){},S=l.onUpdate||function(){},p=l.onComplete||function(){},f=r(),b=0,g=t.offsetTop,_=t.style;"left"===o&&(g=t.offsetLeft);var v=a-g;d(),c()},mTweenAxisStop:function(t){null!=t._id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._id):clearTimeout(t._id),t._id=null)},rafPolyfill:function(){for(var t=["ms","moz","webkit","o"],o=t.length;--o>-1&&!window.requestAnimationFrame;)window.requestAnimationFrame=window[t[o]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[o]+"CancelAnimationFrame"]||window[t[o]+"CancelRequestAnimationFrame"]}};a.rafPolyfill.call(),t.support.touch=!!("ontouchstart"in window),t.support.msPointer=window.navigator.msPointerEnabled;var e="https:"==document.location.protocol?"https:":"http:";t.event.special.mousewheel||document.write('<script src="'+e+'//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.0.6/jquery.mousewheel.min.js"></script>'),t.fn.mCustomScrollbar=function(a){return o[a]?o[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?void t.error("Method "+a+" does not exist"):o.init.apply(this,arguments)}}(jQuery);