!function(t,e){if("function"==typeof define&&define.amd)define(["jquery"],e);else if("undefined"!=typeof exports)e(require("jquery"));else{e(t.jquery),t.metisMenu={}}}(this,function(t){"use strict";var e;(e=t)&&e.__esModule;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var a,i,o,s,n,h,l,g,p=function(s){var e=!1,i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};function t(t){var e=this,i=!1;return s(this).one(n.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||n.triggerTransitionEnd(e)},t),this}var n={TRANSITION_END:"mmTransitionEnd",triggerTransitionEnd:function(t){s(t).trigger(e.end)},supportsTransitionEnd:function(){return Boolean(e)}};return e=function(){if(window.QUnit)return!1;var t=document.createElement("mm");for(var e in i)if(void 0!==t.style[e])return{end:i[e]};return!1}(),s.fn.emulateTransitionEnd=t,n.supportsTransitionEnd()&&(s.event.special[n.TRANSITION_END]={bindType:e.end,delegateType:e.end,handle:function(t){if(s(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),n}(jQuery);a=jQuery,s="."+(o=i="metisMenu"),n=a.fn[i],h={toggle:!0,preventDefault:!0,activeClass:"active",collapseClass:"collapse",collapseInClass:"in",collapsingClass:"collapsing",triggerElement:"a",parentTrigger:"li",subMenu:"ul"},l={SHOW:"show"+s,SHOWN:"shown"+s,HIDE:"hide"+s,HIDDEN:"hidden"+s,CLICK_DATA_API:"click"+s+".data-api"},g=function(){function n(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this._element=t,this._config=this._getConfig(e),this._transitioning=null,this.init()}return n.prototype.init=function(){var r=this;a(this._element).find(this._config.parentTrigger+"."+this._config.activeClass).has(this._config.subMenu).children(this._config.subMenu).attr("aria-expanded",!0).addClass(this._config.collapseClass+" "+this._config.collapseInClass),a(this._element).find(this._config.parentTrigger).not("."+this._config.activeClass).has(this._config.subMenu).children(this._config.subMenu).attr("aria-expanded",!1).addClass(this._config.collapseClass),a(this._element).find(this._config.parentTrigger).has(this._config.subMenu).children(this._config.triggerElement).on(l.CLICK_DATA_API,function(t){var e=a(this),i=e.parent(r._config.parentTrigger),s=i.siblings(r._config.parentTrigger).children(r._config.triggerElement),n=i.children(r._config.subMenu);r._config.preventDefault&&t.preventDefault(),"true"!==e.attr("aria-disabled")&&(i.hasClass(r._config.activeClass)?(e.attr("aria-expanded",!1),r._hide(n)):(r._show(n),e.attr("aria-expanded",!0),r._config.toggle&&s.attr("aria-expanded",!1)),r._config.onTransitionStart&&r._config.onTransitionStart(t))})},n.prototype._show=function(t){if(!this._transitioning&&!a(t).hasClass(this._config.collapsingClass)){var e=this,i=a(t),s=a.Event(l.SHOW);if(i.trigger(s),!s.isDefaultPrevented()){i.parent(this._config.parentTrigger).addClass(this._config.activeClass),this._config.toggle&&this._hide(i.parent(this._config.parentTrigger).siblings().children(this._config.subMenu+"."+this._config.collapseInClass).attr("aria-expanded",!1)),i.removeClass(this._config.collapseClass).addClass(this._config.collapsingClass).height(0),this.setTransitioning(!0);var n=function(){i.removeClass(e._config.collapsingClass).addClass(e._config.collapseClass+" "+e._config.collapseInClass).height("").attr("aria-expanded",!0),e.setTransitioning(!1),i.trigger(l.SHOWN)};p.supportsTransitionEnd()?i.height(i[0].scrollHeight).one(p.TRANSITION_END,n).emulateTransitionEnd(350):n()}}},n.prototype._hide=function(t){if(!this._transitioning&&a(t).hasClass(this._config.collapseInClass)){var e=this,i=a(t),s=a.Event(l.HIDE);if(i.trigger(s),!s.isDefaultPrevented()){i.parent(this._config.parentTrigger).removeClass(this._config.activeClass),i.height(i.height())[0].offsetHeight,i.addClass(this._config.collapsingClass).removeClass(this._config.collapseClass).removeClass(this._config.collapseInClass),this.setTransitioning(!0);var n=function(){e._transitioning&&e._config.onTransitionEnd&&e._config.onTransitionEnd(),e.setTransitioning(!1),i.trigger(l.HIDDEN),i.removeClass(e._config.collapsingClass).addClass(e._config.collapseClass).attr("aria-expanded",!1)};p.supportsTransitionEnd()?0==i.height()||"none"==i.css("display")?n():i.height(0).one(p.TRANSITION_END,n).emulateTransitionEnd(350):n()}}},n.prototype.setTransitioning=function(t){this._transitioning=t},n.prototype.dispose=function(){a.removeData(this._element,o),a(this._element).find(this._config.parentTrigger).has(this._config.subMenu).children(this._config.triggerElement).off("click"),this._transitioning=null,this._config=null,this._element=null},n.prototype._getConfig=function(t){return t=a.extend({},h,t)},n._jQueryInterface=function(s){return this.each(function(){var t=a(this),e=t.data(o),i=a.extend({},h,t.data(),"object"===(void 0===s?"undefined":r(s))&&s);if(!e&&/dispose/.test(s)&&this.dispose(),e||(e=new n(this,i),t.data(o,e)),"string"==typeof s){if(void 0===e[s])throw new Error('No method named "'+s+'"');e[s]()}})},n}(),a.fn[i]=g._jQueryInterface,a.fn[i].Constructor=g,a.fn[i].noConflict=function(){return a.fn[i]=n,g._jQueryInterface}}),function(_){jQuery.fn.extend({slimScroll:function(w){var C=_.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},w);return this.each(function(){function e(t){if(n){var e=0;(t=t||window.event).wheelDelta&&(e=-t.wheelDelta/120),t.detail&&(e=t.detail/3),_(t.target||t.srcTarget||t.srcElement).closest("."+C.wrapperClass).is(v.parent())&&s(e,!0),t.preventDefault&&!f&&t.preventDefault(),f||(t.returnValue=!1)}}function s(t,e,i){f=!1;var s=t,n=v.outerHeight()-x.outerHeight();e&&(s=parseInt(x.css("top"))+t*parseInt(C.wheelStep)/100*x.outerHeight(),s=Math.min(Math.max(s,0),n),s=0=v.outerHeight()?f=!0:(x.stop(!0,!0).fadeIn("fast"),C.railVisible&&y.stop(!0,!0).fadeIn("fast"))}function a(){C.alwaysVisible||(l=setTimeout(function(){C.disableFadeOut&&n||o||h||(x.fadeOut("slow"),y.fadeOut("slow"))},1e3))}var n,o,h,l,g,p,c,u,d=30,f=!1,v=_(this);if(v.parent().hasClass(C.wrapperClass)){var m=v.scrollTop(),x=v.parent().find("."+C.barClass),y=v.parent().find("."+C.railClass);if(i(),_.isPlainObject(w)){if("height"in w&&"auto"==w.height){v.parent().css("height","auto"),v.css("height","auto");var b=v.parent().parent().height();v.parent().css("height",b),v.css("height",b)}if("scrollTo"in w)m=parseInt(C.scrollTo);else if("scrollBy"in w)m+=parseInt(C.scrollBy);else if("destroy"in w)return x.remove(),y.remove(),void v.unwrap();s(m,!1,!0)}}else{C.height="auto"==C.height?v.parent().height():C.height,m=_("
").addClass(C.wrapperClass).css({position:"relative",overflow:"hidden",width:C.width,height:C.height}),v.css({overflow:"hidden",width:C.width,height:C.height});y=_("
").addClass(C.railClass).css({width:C.size,height:"100%",position:"absolute",top:0,display:C.alwaysVisible&&C.railVisible?"block":"none","border-radius":C.railBorderRadius,background:C.railColor,opacity:C.railOpacity,zIndex:90}),x=_("
").addClass(C.barClass).css({background:C.color,width:C.size,position:"absolute",top:0,opacity:C.opacity,display:C.alwaysVisible?"block":"none","border-radius":C.borderRadius,BorderRadius:C.borderRadius,MozBorderRadius:C.borderRadius,WebkitBorderRadius:C.borderRadius,zIndex:99}),b="right"==C.position?{right:C.distance}:{left:C.distance};y.css(b),x.css(b),v.wrap(m),v.parent().append(x),v.parent().append(y),C.railDraggable&&x.bind("mousedown",function(e){var i=_(document);return h=!0,t=parseFloat(x.css("top")),pageY=e.pageY,i.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,x.css("top",currTop),s(0,x.position().top,!1)}),i.bind("mouseup.slimscroll",function(t){h=!1,a(),i.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(t){return t.stopPropagation(),t.preventDefault(),!1}),y.hover(function(){r()},function(){a()}),x.hover(function(){o=!0},function(){o=!1}),v.hover(function(){n=!0,r(),a()},function(){n=!1,a()}),v.bind("touchstart",function(t,e){t.originalEvent.touches.length&&(g=t.originalEvent.touches[0].pageY)}),v.bind("touchmove",function(t){f||t.originalEvent.preventDefault(),t.originalEvent.touches.length&&(s((g-t.originalEvent.touches[0].pageY)/C.touchScrollStep,!0),g=t.originalEvent.touches[0].pageY)}),i(),"bottom"===C.start?(x.css({top:v.outerHeight()-x.outerHeight()}),s(0,!0)):"top"!==C.start&&(s(_(C.start).position().top,null,!0),C.alwaysVisible||x.hide()),function(){window.addEventListener?(this.addEventListener("DOMMouseScroll",e,!1),this.addEventListener("mousewheel",e,!1),this.addEventListener("MozMousePixelScroll",e,!1)):document.attachEvent("onmousewheel",e)}()}}),this}}),jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})}(jQuery),function(n){"use strict";var r=function(t,e){this.$element=n(t),this.options=n.extend({},r.defaults,e)};r.defaults={transition_delay:300,refresh_speed:50,display_text:"none",use_percentage:!0,percent_format:function(t){return t+"%"},amount_format:function(t,e){return t+" / "+e},update:n.noop,done:n.noop,fail:n.noop},r.prototype.transition=function(){var a=this.$element,o=a.parent(),h=this.$back_text,l=this.$front_text,g=this.options,p=parseInt(a.attr("data-transitiongoal")),c=parseInt(a.attr("aria-valuemin"))||0,u=parseInt(a.attr("aria-valuemax"))||100,d=o.hasClass("vertical"),f=g.update&&"function"==typeof g.update?g.update:r.defaults.update,v=g.done&&"function"==typeof g.done?g.done:r.defaults.done,t=g.fail&&"function"==typeof g.fail?g.fail:r.defaults.fail;if(isNaN(p))t("data-transitiongoal not set");else{var e,m=Math.round(100*(p-c)/(u-c));if("center"===g.display_text&&!h&&!l)this.$back_text=h=n("").addClass("progressbar-back-text").prependTo(o),this.$front_text=l=n("").addClass("progressbar-front-text").prependTo(a),d?(e=o.css("height"),h.css({height:e,"line-height":e}),l.css({height:e,"line-height":e}),n(window).resize(function(){e=o.css("height"),h.css({height:e,"line-height":e}),l.css({height:e,"line-height":e})})):(e=o.css("width"),l.css({width:e}),n(window).resize(function(){e=o.css("width"),l.css({width:e})}));setTimeout(function(){var t,e,i,s,n;d?a.css("height",m+"%"):a.css("width",m+"%");var r=setInterval(function(){s=d?(i=a.height(),o.height()):(i=a.width(),o.width()),t=Math.round(100*i/s),e=Math.round(c+i/s*(u-c)),m<=t&&(t=m,e=p,v(a),clearInterval(r)),"none"!==g.display_text&&(n=g.use_percentage?g.percent_format(t):g.amount_format(e,u,c),"fill"===g.display_text?a.text(n):"center"===g.display_text&&(h.text(n),l.text(n))),a.attr("aria-valuenow",e),f(t,a)},g.refresh_speed)},g.transition_delay)}};var t=n.fn.progressbar;n.fn.progressbar=function(s){return this.each(function(){var t=n(this),e=t.data("bs.progressbar"),i="object"==typeof s&&s;e&&i&&n.extend(e.options,i),e||t.data("bs.progressbar",e=new r(this,i)),e.transition()})},n.fn.progressbar.Constructor=r,n.fn.progressbar.noConflict=function(){return n.fn.progressbar=t,this}}(window.jQuery),function(S,N,F){var t;t=function(E){"use strict";var t,e,m,A,b,L,O,z,g,C,i,r,p,B,c,s,n,j,D,o,a,h,l,w,u,d,f,v,x,y={},_=0;t=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:F,normalRangeMax:F,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:F,chartRangeMax:F,chartRangeMinX:F,chartRangeMaxX:F,tooltipFormat:new m(' {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:F,nullColor:F,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:F,chartRangeMin:F,chartRangeClip:!1,colorMap:F,tooltipFormat:new m(' {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new m(' {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:F,thresholdValue:0,chartRangeMax:F,chartRangeMin:F,chartRangeClip:!1,tooltipFormat:new m("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:F,tooltipFormat:new m("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new m(' {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:F,targetColor:"#4a2",chartRangeMax:F,chartRangeMin:F,tooltipFormat:new m("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},e=function(){var t,e;return t=function(){this.init.apply(this,arguments)},1=t)return i[2];return F}}),E.range_map=function(t){return new B(t)},c=e({init:function(t,e){var i=E(t);this.$el=i,this.options=e,this.currentPageX=0,this.currentPageY=0,this.el=t,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!e.get("disableTooltips"),this.highlightEnabled=!e.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(t){var e=E(t.canvas);this.canvas=t,(this.$canvas=e).mouseenter(E.proxy(this.mouseenter,this)),e.mouseleave(E.proxy(this.mouseleave,this)),e.click(E.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=F)},mouseclick:function(t){var e=E.Event("sparklineClick");e.originalEvent=t,e.sparklines=this.splist,this.$el.trigger(e)},mouseenter:function(t){E(S.body).unbind("mousemove.jqs"),E(S.body).bind("mousemove.jqs",E.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new s(this.options),this.tooltip.updatePosition(t.pageX,t.pageY)),this.updateDisplay()},mouseleave:function(){E(S.body).unbind("mousemove.jqs");var t,e=this.splist,i=e.length,s=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),t=0;t