text: //[Dashboard Javascript]
  
  //Project:	Maximum Admin - Responsive Admin Template
  //Version:	1.1.0
  //Last change:	15/08/2017
  //Primary use:   Used only for the main dashboard (index.html)
  
  
  $(function(){"use strict";$(".connectedSortable").sortable({placeholder:"sort-highlight",connectWith:".connectedSortable",handle:".box-header, .nav-tabs",forcePlaceholderSize:!0,zIndex:999999}),$(".connectedSortable .box-header, .connectedSortable .nav-tabs-custom").css("cursor","move"),$(".todo-list").sortable({placeholder:"sort-highlight",handle:".handle",forcePlaceholderSize:!0,zIndex:999999}),$(".textarea").wysihtml5(),$(".daterange").daterangepicker({ranges:{Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]},startDate:moment().subtract(29,"days"),endDate:moment()},function(e,t){window.alert("You chose: "+e.format("MMMM D, YYYY")+" - "+t.format("MMMM D, YYYY"))}),$(".knob").knob();var e={US:398,SA:400,CA:1e3,DE:500,FR:760,CN:300,AU:700,BR:600,IN:800,GB:320,RU:2e3};$("#world-map").vectorMap({map:"world_mill_en",backgroundColor:"transparent",regionStyle:{initial:{fill:"#fff","fill-opacity":1,stroke:"none","stroke-width":0,"stroke-opacity":1}},series:{regions:[{values:e,scale:["#b9b1ea","#e2defb"],normalizeFunction:"polynomial"}]},onRegionLabelShow:function(t,o,i){"undefined"!=typeof e[i]&&o.html(o.html()+": "+e[i]+" new visitors")}});var t=[1300,500,1920,927,831,1127,719,1930,1221];$("#sparkline-1").sparkline(t,{type:"line",lineColor:"#7460ee",fillColor:"#dcd8f2",height:"50",width:"70"}),t=[715,319,620,342,662,990,730,467,559,340,881],$("#sparkline-2").sparkline(t,{type:"line",lineColor:"#7460ee",fillColor:"#dcd8f2",height:"50",width:"70"}),t=[88,49,22,35,45,72,11,55,25,19,27],$("#sparkline-3").sparkline(t,{type:"line",lineColor:"#7460ee",fillColor:"#dcd8f2",height:"50",width:"70"}),$("#calendar").datepicker(),$("#chat-box").slimScroll({height:"250px"});var o=new Morris.Area({element:"revenue-chart",resize:!0,data:[{y:"2015 Q1",item1:1500,item2:1800},{y:"2015 Q2",item1:4e3,item2:5e3},{y:"2015 Q3",item1:7800,item2:8800},{y:"2015 Q4",item1:9e3,item2:9500},{y:"2016 Q1",item1:1e4,item2:10500},{y:"2016 Q2",item1:9500,item2:1e4},{y:"2016 Q3",item1:7e3,item2:8555},{y:"2016 Q4",item1:11e3,item2:12500},{y:"2017 Q1",item1:17e3,item2:18500},{y:"2017 Q2",item1:19e3,item2:2e4}],xkey:"y",ykeys:["item1","item2"],labels:["Item 1","Item 2"],lineColors:["#41a1f5","#177cd5"],hideHover:"auto"}),i=new Morris.Line({element:"line-chart",resize:!0,data:[{y:"2015 Q1",item1:2800},{y:"2015 Q2",item1:2500},{y:"2015 Q3",item1:4200},{y:"2015 Q4",item1:3900},{y:"2016 Q1",item1:4589},{y:"2016 Q2",item1:6489},{y:"2016 Q3",item1:3548},{y:"2016 Q4",item1:12589},{y:"2017 Q1",item1:11025},{y:"2017 Q2",item1:19540}],xkey:"y",ykeys:["item1"],labels:["Item 1"],lineColors:["#efefef"],lineWidth:2,hideHover:"auto",gridTextColor:"#fff",gridStrokeWidth:.4,pointSize:4,pointStrokeColors:["#efefef"],gridLineColor:"#efefef",gridTextFamily:"Open Sans",gridTextSize:10}),n=new Morris.Donut({element:"sales-chart",resize:!0,colors:["#1e88e5","#ffb22b","#7460ee"],data:[{label:"Online Sales",value:39},{label:"In-Store Sales",value:54},{label:"Mail-Order Sales",value:15}],hideHover:"auto"});$(".box ul.nav a").on("shown.bs.tab",function(){o.redraw(),n.redraw(),i.redraw()}),$(".todo-list").todoList({onCheck:function(){window.console.log($(this),"The element has been checked")},onUnCheck:function(){window.console.log($(this),"The element has been unchecked")}})});