!function(e){"use strict";function a(){}a.prototype.createAreaChart=function(e,a,r,t,o,i,n,s){Morris.Area({element:e,pointSize:3,lineWidth:1,data:t,xkey:o,ykeys:i,labels:n,resize:!0,gridLineColor:"rgba(108, 120, 151, 0.1)",hideHover:"auto",lineColors:s})},a.prototype.createBarChart=function(e,a,r,t,o,i){Morris.Bar({element:e,data:a,xkey:r,ykeys:t,labels:o,gridLineColor:"rgba(108, 120, 151, 0.1)",barSizeRatio:.4,resize:!0,hideHover:"auto",barColors:i})},a.prototype.createDonutChart=function(e,a,r){Morris.Donut({element:e,data:a,resize:!0,colors:r,gridLineColor:"rgba(108, 120, 151, 0.1)",labelColor:"#fff"})},a.prototype.createLineChart=function(e,a,r){Morris.Line({element:e,data:a,xkey:"y",ykeys:["a","b"],labels:["Series A","Series B"]})},a.prototype.init=function(){this.createAreaChart("morris-area-example",0,0,[{y:"2009",a:10,b:20},{y:"2010",a:75,b:65},{y:"2011",a:50,b:40},{y:"2012",a:75,b:65},{y:"2013",a:50,b:40},{y:"2014",a:75,b:65},{y:"2015",a:90,b:60},{y:"2016",a:90,b:75}],"y",["a","b"],["Series A","Series B"],["#00a3ff","#04a2b3"]),this.createBarChart("morris-bar-example",[{y:"2009",a:100,b:90},{y:"2010",a:75,b:65},{y:"2011",a:50,b:40},{y:"2012",a:75,b:65},{y:"2013",a:50,b:40},{y:"2014",a:75,b:65},{y:"2015",a:100,b:90},{y:"2016",a:90,b:75}],"y",["a","b"],["Series A","Series B"],["#04a2b3","#00a3ff"]),this.createDonutChart("morris-donut-example",[{label:"Download Sales",value:12},{label:"In-Store Sales",value:30},{label:"Mail-Order Sales",value:20}],["#dcdcdc","#e66060","#04a2b3"]);this.createLineChart("morris-line-example",[{y:"2006",a:100,b:90},{y:"2007",a:75,b:65}],["#dcdcdc","#e66060","#04a2b3"])},e.Dashboard=new a,e.Dashboard.Constructor=a,e("#usa-vectormap").vectorMap({map:"us_merc_en",backgroundColor:"transparent",regionStyle:{initial:{fill:"#e8ecf4",stroke:"#74788d","stroke-width":1,"stroke-opacity":.4}}})}(window.jQuery),function(){"use strict";window.jQuery.Dashboard.init()}();