1){for(var f=Array(p),m=0;m1){for(var v=Array(g),b=0;b2,n=this.props.page>1,s=e>this.props.page,l=e>this.props.page+1;return r.createElement("div",null,r.createElement("div",{className:"row"},r.createElement("div",{className:"col-md-12"},r.createElement(a,{icon:"calendar",counter:this.props.remindersData.count,title:"Reminders Count"}))),r.createElement(o,{title:"Reminders",subTitle:"Page "+this.props.page},r.createElement("div",null,r.createElement(i,{data:this.props.remindersData.reminders}),r.createElement("div",{style:{textAlign:"center"}},t?r.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/1"},r.createElement("i",{className:"fa fa-arrow-circle-left"})," First"):null,r.createElement("span",null," "),n?r.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/"+(this.props.page-1)},r.createElement("i",{className:"fa fa-arrow-circle-left"})," Previous"):null,r.createElement("span",null," "),s?r.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/"+(this.props.page+1)},"Next ",r.createElement("i",{className:"fa fa-arrow-circle-right"})):null,r.createElement("span",null," "),l?r.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/"+e},"Last ",r.createElement("i",{className:"fa fa-arrow-circle-right"})):null))))}})},{"../components/counter-widget.jsx":2,"../components/panel.jsx":10,"../components/reminder-table.jsx":12,react:259}],262:[function(e,t,n){"use strict";function r(e,t){var n=e.siloAddress.toUpperCase(),r=t.siloAddress.toUpperCase();return nr?1:0}var a=e("react"),i=e("./silo-state-label.jsx"),o=e("humanize-duration");t.exports=a.createClass({displayName:"exports",renderHost:function(e,t){var n=0;return this.props.dashboardCounters.simpleGrainStats.forEach(function(t){t.siloAddress.toLowerCase()===e.toLowerCase()&&(n+=t.activationCount)}),a.createElement("tr",{key:e},a.createElement("td",null,a.createElement("a",{href:"#/host/"+e},e)),a.createElement("td",null,a.createElement(i,{status:t.status})),a.createElement("td",null,t.startTime?a.createElement("span",null,"up for ",o((new Date).getTime()-new Date(t.startTime).getTime(),{round:!0,largest:2})):a.createElement("span",null,"uptime is not available")),a.createElement("td",null,a.createElement("span",{className:"pull-right"},a.createElement("strong",null,n)," ",a.createElement("small",null,"activations"))))},render:function(){return this.props.dashboardCounters.hosts?a.createElement("table",{className:"table"},a.createElement("tbody",null,this.props.dashboardCounters.hosts.sort(r).map(function(e){return this.renderHost(e.siloAddress,e)},this))):null}})},{"./silo-state-label.jsx":265,"humanize-duration":72,react:259}],263:[function(e,t,n){"use strict";var r=e("react"),a=e("../components/panel.jsx");t.exports=r.createClass({displayName:"exports",renderItem:function(e){return r.createElement("tr",{key:e.name},r.createElement("td",{style:{textOverflow:"ellipsis"}},e.name),r.createElement("td",null,r.createElement("strong",null,e.value)),r.createElement("td",{style:{whiteSpace:"nowrap"}},null===e.delta?"":r.createElement("span",null,"Δ ",e.delta)))},render:function(){return r.createElement("div",null,r.createElement(a,{title:"Silo Counters"},r.createElement("div",null,r.createElement("table",{className:"table"},r.createElement("tbody",null,this.props.counters.map(this.renderItem))),0===this.props.counters.length?r.createElement("span",null,r.createElement("p",{className:"lead"},"No counters available.")," It may take a few minutes for data to be published."):null)))}})},{"../components/panel.jsx":10,react:259}],264:[function(e,t,n){"use strict";var r=e("react"),a=e("./silo-state-label.jsx");t.exports=r.createClass({displayName:"exports",renderSilo:function(e){return r.createElement("div",{className:"well well-sm"},r.createElement("a",{href:"#/host/"+e.siloAddress},e.siloAddress)," ",r.createElement("small",null,r.createElement(a,{status:e.status})))},renderZone:function(e,t){var n=(this.props.dashboardCounters.hosts||[]).filter(function(n){return n.updateZone==e&&n.faultZone==t});return r.createElement("span",null,n.map(this.renderSilo))},render:function(){var e=this,t=this.props.dashboardCounters.hosts||[];if(0==t.length)return r.createElement("span",null,"no data");var n=t.map(function(e){return e.updateZone}).sort().filter(function(e,t,n){return n.indexOf(e)===t}),a=t.map(function(e){return e.faultZone}).sort().filter(function(e,t,n){return n.indexOf(e)===t});return r.createElement("div",null,r.createElement("table",{className:"table table-bordered table-hovered"},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",null),a.map(function(e){return r.createElement("th",null,"Fault Zone ",e)})),n.map(function(t){return r.createElement("tr",{key:t},r.createElement("th",null,"Update Zone ",t),a.map(function(n){return r.createElement("td",{key:n},e.renderZone(t,n))}))}))))}})},{"./silo-state-label.jsx":265,react:259}],265:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",render:function(){var e={Created:"info",Joining:"info",Active:"success",ShuttingDown:"warning",Stopping:"warning",Dead:"danger"};return r.createElement("span",{className:"label label-"+e[this.props.status]},this.props.status||"unknown")}})},{react:259}],266:[function(e,t,n){"use strict";var r=e("react"),a=e("../components/gauge-widget.jsx"),i=e("../components/properties-widget.jsx"),o=e("../components/grain-table.jsx"),s=e("../components/multi-series-chart-widget.jsx"),l=(e("./silo-state-label.jsx"),e("../components/panel.jsx")),c=e("../components/time-series-chart.jsx"),u=r.createClass({displayName:"SiloGraph",render:function(){var e=this,t=Object.keys(this.props.stats).map(function(t){return e.props.stats[t]});if(!t.length)return null;for(;t.length<100;)t.unshift({count:0,elapsedTime:0,period:0,exceptionCount:0});return r.createElement("div",null,r.createElement(c,{series:[t.map(function(e){return e.exceptionCount}),t.map(function(e){return e.count}),t.map(function(e){return 0===e.count?0:e.elapsedTime/e.count})]}))}});t.exports=r.createClass({displayName:"exports",hasData:function(e){for(var t=0;t0})?r.createElement("div",null,r.createElement(a,{value:t.cpuUsage,max:100,title:"CPU Usage",description:Math.floor(t.cpuUsage)+"% utilisation"}),r.createElement(s,{series:[this.querySeries(function(e){return e.cpuUsage})]})):r.createElement("div",{style:{textAlign:"center"}},r.createElement("h4",null,"CPU Usage"),r.createElement("div",{style:{lineHeight:"40px"}},"No data available")),f=this.hasSeries(function(e){return e.totalPhysicalMemory-e.availableMemory>0})?r.createElement("div",null,r.createElement(a,{value:(t.totalPhysicalMemory||0)-(t.availableMemory||0),max:t.totalPhysicalMemory||1,title:"Memory Usage",description:Math.floor((t.availableMemory||0)/1048576)+" MB free"}),r.createElement(s,{series:[this.querySeries(function(e){return(e.totalPhysicalMemory-e.availableMemory)/1048576})]})):r.createElement("div",{style:{textAlign:"center"}},r.createElement("h4",null,"Memory Usage"),r.createElement("div",{style:{lineHeight:"40px"}},"No data available")),r.createElement("div",null,r.createElement(l,{title:"Overview"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col-md-4"},p),r.createElement("div",{className:"col-md-4"},f),r.createElement("div",{className:"col-md-4"},r.createElement(a,{value:t.recentlyUsedActivationCount,max:t.activationCount,title:"Grain Usage",description:t.activationCount+" activations, "+Math.floor(100*t.recentlyUsedActivationCount/t.activationCount)+"% recently used"}),r.createElement(s,{series:[this.querySeries(function(e){return e.activationCount}),this.querySeries(function(e){return e.recentlyUsedActivationCount})]})))),r.createElement(l,{title:"Silo Profiling"},r.createElement("div",null,r.createElement("span",null,r.createElement("strong",{style:{color:"#783988",fontSize:"25px"}},"/")," number of requests per second",r.createElement("br",null),r.createElement("strong",{style:{color:"#EC1F1F",fontSize:"25px"}},"/")," failed requests"),r.createElement("span",{className:"pull-right"},r.createElement("strong",{style:{color:"#EC971F",fontSize:"25px"}},"/")," average latency in milliseconds"),r.createElement(u,{stats:this.props.siloStats}))),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-md-6"},r.createElement(l,{title:"Silo Counters"},r.createElement("div",null,r.createElement(i,{data:n}),r.createElement("a",{href:"#/host/"+this.props.silo+"/counters"},"View all counters")))),r.createElement("div",{className:"col-md-6"},r.createElement(l,{title:"Silo Properties"},r.createElement(i,{data:h})))),r.createElement(l,{title:"Activations by Type"},r.createElement(o,{data:c,silo:this.props.silo})))}})},{"../components/gauge-widget.jsx":3,"../components/grain-table.jsx":5,"../components/multi-series-chart-widget.jsx":8,"../components/panel.jsx":10,"../components/properties-widget.jsx":11,"../components/time-series-chart.jsx":14,"./silo-state-label.jsx":265,react:259}],267:[function(e,t,n){"use strict";var r=e("react"),a=e("../components/counter-widget.jsx"),i=e("../components/multi-series-chart-widget.jsx"),o=e("./host-table.jsx"),s=e("./silo-grid.jsx"),l=e("../components/panel.jsx");t.exports=r.createClass({displayName:"exports",render:function(){return r.createElement("div",null,r.createElement("div",{className:"row"},r.createElement("div",{className:"col-md-4"},r.createElement("div",{className:"info-box"},r.createElement(a,{icon:"database",counter:this.props.dashboardCounters.totalActiveHostCount,title:"Active Silos"}))),r.createElement("div",{className:"col-md-8"},r.createElement("div",{className:"info-box",style:{padding:"5px"}},r.createElement(i,{series:[this.props.dashboardCounters.totalActiveHostCountHistory]})))),r.createElement(l,{title:"Silo Health"},r.createElement(o,{dashboardCounters:this.props.dashboardCounters})),r.createElement(l,{title:"Silo Map"},r.createElement(s,{dashboardCounters:this.props.dashboardCounters})))}})},{"../components/counter-widget.jsx":2,"../components/multi-series-chart-widget.jsx":8,"../components/panel.jsx":10,"./host-table.jsx":262,"./silo-grid.jsx":264,react:259}]},{},[18]);
+!function o(i,s,l){function c(t,e){if(!s[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(u)return u(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var a=s[t]={exports:{}};i[t][0].call(a.exports,function(e){return c(i[t][1][e]||e)},a,a.exports,o,i,s,l)}return s[t].exports}for(var u="function"==typeof require&&require,e=0;er(t)?1:0}function p(e,t){return f(t,e)}function m(e,t){return e.totalExceptions-t.totalExceptions}function g(e,t){return m(t,e)}function v(e,t){return e.totalCalls-t.totalCalls}function y(e,t){return v(t,e)}function b(e,t){return 0===e.totalCalls&&0===t.totalCalls?0:0===e.totalCalls||0===t.totalCalls?e.totalAwaitTime-t.totalAwaitTime:e.totalAwaitTime/e.totalCalls-t.totalAwaitTime/t.totalCalls}function x(e,t){return b(t,e)}t.exports=function(e){function a(e){var t,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=this,r=s(a).call(this,e),t=!r||"object"!==o(r)&&"function"!=typeof r?c(n):r).state={sortBy:"activationCount",sortByAsc:!1},t.handleChangeSort=t.handleChangeSort.bind(c(c(t))),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,u.Component),t=a,(n=[{key:"getSorter",value:function(){var e;switch(this.state.sortBy){case"activationCount":e=this.state.sortByAsc?d:h;break;case"grain":e=this.state.sortByAsc?f:p;break;case"exceptionRate":e=this.state.sortByAsc?m:g;break;case"totalCalls":e=this.state.sortByAsc?v:y;break;case"totalAwaitTime":e=this.state.sortByAsc?b:x;break;default:e=null}return e}},{key:"handleChangeSort",value:function(e){var t=e.currentTarget.dataset.column;t&&this.setState({sortBy:t,sortByAsc:this.state.sortBy===t&&!this.state.sortByAsc})}},{key:"renderStat",value:function(e){var t=e.grainType.split("."),n=t[t.length-1],r=e.grainType.startsWith("Orleans."),a=e.grainType.startsWith("OrleansDashboard.");return u.createElement("tr",{key:e.grainType},u.createElement("td",{style:{textOverflow:"ellipsis"},title:e.grainType},u.createElement("a",{href:"#/grain/".concat(e.grainType)},n)),u.createElement("td",null,r?u.createElement("span",{className:"label label-primary"},"System Grain"):null,a?u.createElement("span",{className:"label label-primary"},"Dashboard Grain"):null),u.createElement("td",null,u.createElement("span",{className:"pull-right"},u.createElement("strong",null,e.activationCount))),u.createElement("td",null,u.createElement("span",{className:"pull-right"},u.createElement("strong",null,0===e.totalCalls?"0.00":(100*e.totalExceptions/e.totalCalls).toFixed(2))," ",u.createElement("small",null,"%"))),u.createElement("td",null,u.createElement("span",{className:"pull-right"},u.createElement("strong",null,(e.totalCalls/100).toFixed(2))," ",u.createElement("small",null,"req/sec"))),u.createElement("td",null,u.createElement("span",{className:"pull-right"},u.createElement("strong",null,0===e.totalCalls?"0":(e.totalAwaitTime/e.totalCalls).toFixed(2))," ",u.createElement("small",null,"ms/req"))))}},{key:"render",value:function(){var n=this,r={};if(!this.props.data)return null;this.props.data.forEach(function(e){if(!n.props.silo||e.siloAddress===n.props.silo){r[e.grainType]||(r[e.grainType]={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0});var t=r[e.grainType];t.activationCount+=e.activationCount,t.totalSeconds+=e.totalSeconds,t.totalAwaitTime+=e.totalAwaitTime,t.totalCalls+=e.totalCalls,t.totalExceptions+=e.totalExceptions}});var e=Object.keys(r).map(function(e){var t=r[e];return t.grainType=e,t});return e.sort(this.getSorter()),u.createElement("table",{className:"table"},u.createElement("tbody",null,u.createElement("tr",null,u.createElement("th",{"data-column":"grain",onClick:this.handleChangeSort},"Grain"," ","grain"===this.state.sortBy?this.state.sortByAsc?u.createElement("i",{className:"fa fa-arrow-up"}):u.createElement("i",{className:"fa fa-arrow-down"}):null),u.createElement("th",null),u.createElement("th",{"data-column":"activationCount",onClick:this.handleChangeSort,style:{textAlign:"right"}},"Activations"," ","activationCount"===this.state.sortBy?this.state.sortByAsc?u.createElement("i",{className:"fa fa-arrow-up"}):u.createElement("i",{className:"fa fa-arrow-down"}):null),u.createElement("th",{"data-column":"exceptionRate",onClick:this.handleChangeSort,style:{textAlign:"right"}},"Exception rate"," ","exceptionRate"===this.state.sortBy?this.state.sortByAsc?u.createElement("i",{className:"fa fa-arrow-up"}):u.createElement("i",{className:"fa fa-arrow-down"}):null),u.createElement("th",{"data-column":"totalCalls",onClick:this.handleChangeSort,style:{textAlign:"right"}},"Throughput"," ","totalCalls"===this.state.sortBy?this.state.sortByAsc?u.createElement("i",{className:"fa fa-arrow-up"}):u.createElement("i",{className:"fa fa-arrow-down"}):null),u.createElement("th",{"data-column":"totalAwaitTime",onClick:this.handleChangeSort,style:{textAlign:"right"}},"Latency"," ","totalAwaitTime"===this.state.sortBy?this.state.sortByAsc?u.createElement("i",{className:"fa fa-arrow-up"}):u.createElement("i",{className:"fa fa-arrow-down"}):null)),e.map(this.renderStat)))}}])&&i(t.prototype,n),r&&i(t,r),a;var t,n,r}()},{react:261}],6:[function(e,t,n){var r=e("react");e("./page.jsx");t.exports=r.createClass({displayName:"exports",render:function(){return r.createElement("section",{className:"content",style:{height:"100vh"}},r.createElement("span",{style:{paddingTop:"25px"}},r.createElement("i",{className:"fa fa-spinner fa-pulse fa-fw"}),"Loading..."))}})},{"./page.jsx":9,react:261}],7:[function(e,t,n){var r=e("react"),a=r.createClass({displayName:"MenuSection",render:function(){return r.createElement("li",{className:(this.props.active?"active":"")+" treeview"},r.createElement("a",{href:this.props.path},this.props.name))}});t.exports=r.createClass({displayName:"exports",render:function(){return r.createElement("ul",{className:"sidebar-menu"},this.props.menu.map(function(e){return r.createElement(a,{active:e.active,icon:e.icon,name:e.name,path:e.path})}))}})},{react:261}],8:[function(e,t,n){var r=e("react"),a=e("react-chartjs").Line,o=[[120,57,136],[236,151,31]];t.exports=r.createClass({displayName:"exports",getInitialState:function(){return{width:0}},getWidth:function(){this.refs.container&&this.setState({width:this.refs.container.offsetWidth-20})},renderChart:function(){if(0===this.state.width)return setTimeout(this.getWidth,0);var e={labels:this.props.series[0].map(function(e){return""}),datasets:this.props.series.map(function(e,t){var n=o[t%o.length].join();return{label:"",backgroundColor:"rgba(".concat(n,",0.1)"),borderColor:"rgba(".concat(n,",1)"),data:e,pointRadius:0}})};return r.createElement(a,{data:e,options:{animation:!1,legend:{display:!1},maintainAspectRatio:!1,responsive:!0,showTooltips:!1,scales:{yAxes:[{ticks:{beginAtZero:!0}}]}},width:this.state.width,height:80})},render:function(){return r.createElement("div",{ref:"container"},this.renderChart())}})},{react:261,"react-chartjs":111}],9:[function(e,t,n){var r=e("react");t.exports=r.createClass({displayName:"exports",render:function(){return r.createElement("div",null,r.createElement("section",{className:"content-header"},r.createElement("h1",null,this.props.title," ",r.createElement("small",null," ",this.props.subTitle))),r.createElement("section",{className:"content",style:{position:"relative"}},this.props.children))}})},{react:261}],10:[function(e,t,n){var r=e("react");t.exports=r.createClass({displayName:"exports",render:function(){if(this.props.children.length)var e=this.props.children[0],t=r.createElement("div",{className:"box-footer clearfix"},this.props.children[1]);else e=this.props.children,t=null;return r.createElement("div",{className:"box"},r.createElement("div",{className:"box-header with-border"},r.createElement("h3",{className:"box-title"},this.props.title,r.createElement("small",{style:{marginLeft:"10px"}},this.props.subTitle))),r.createElement("div",{className:"box-body"},e),t)}})},{react:261}],11:[function(e,t,n){var r=e("react");t.exports=r.createClass({displayName:"exports",renderRow:function(e){return r.createElement("tr",{key:e},r.createElement("td",{style:{textOverflow:"ellipsis"}},e),r.createElement("td",{style:{textAlign:"right"}},r.createElement("strong",null,this.props.data[e])))},render:function(){return r.createElement("table",{className:"table"},r.createElement("tbody",null,Object.keys(this.props.data).map(this.renderRow)))}})},{react:261}],12:[function(e,t,n){var r=e("react");t.exports=r.createClass({displayName:"exports",getInitialState:function(){return{grain_reference:"",primary_key:"",name:"",startAt:"",period:""}},handleChange:function(e){var t,n,r;this.setState((t={},n=e.target.name,r=e.target.value,n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))},renderReminder:function(e){return r.createElement("tr",null,r.createElement("td",null,e.grainReference),r.createElement("td",null,e.primaryKey),r.createElement("td",null,r.createElement("span",{className:"pull-right"},e.activationCount)),r.createElement("td",null,r.createElement("span",{className:"pull-right"},e.name)),r.createElement("td",null,r.createElement("span",{className:"pull-right"},new Date(e.startAt).toLocaleString())),r.createElement("td",null,r.createElement("span",{className:"pull-right"},e.period)))},filterData:function(e){var t=this;return e.filter(function(e){return t.state.grain_reference?-1');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var o=0;o'),a[o]&&t.push(a[o]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(l){var c=l.data;return c.labels.length&&c.datasets.length?c.labels.map(function(e,t){var n=l.getDatasetMeta(0),r=c.datasets[0],a=n.data[t],o=a&&a.custom||{},i=D.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:e,fillStyle:o.backgroundColor?o.backgroundColor:i(r.backgroundColor,t,s.backgroundColor),strokeStyle:o.borderColor?o.borderColor:i(r.borderColor,t,s.borderColor),lineWidth:o.borderWidth?o.borderWidth:i(r.borderWidth,t,s.borderWidth),hidden:isNaN(r.data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,r,a,o=t.index,i=this.chart;for(n=0,r=(i.data.datasets||[]).length;n=Math.PI?-1:f<-Math.PI?1:0))+h,m=Math.cos(f),g=Math.sin(f),v=Math.cos(p),y=Math.sin(p),b=f<=0&&0<=p||f<=2*Math.PI&&2*Math.PI<=p,x=f<=.5*Math.PI&&.5*Math.PI<=p||f<=2.5*Math.PI&&2.5*Math.PI<=p,C=f<=-Math.PI&&-Math.PI<=p||f<=Math.PI&&Math.PI<=p,_=f<=.5*-Math.PI&&.5*-Math.PI<=p||f<=1.5*Math.PI&&1.5*Math.PI<=p,w=d/100,E=C?-1:Math.min(m*(m<0?1:w),v*(v<0?1:w)),k=_?-1:Math.min(g*(g<0?1:w),y*(y<0?1:w)),M=b?1:Math.max(m*(0(r=r');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var o=0;o'),a[o]&&t.push(a[o]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(e,t){var n=s.getDatasetMeta(0),r=l.datasets[0],a=n.data[t].custom||{},o=C.valueAtIndexOrDefault,i=s.options.elements.arc;return{text:e,fillStyle:a.backgroundColor?a.backgroundColor:o(r.backgroundColor,t,i.backgroundColor),strokeStyle:a.borderColor?a.borderColor:o(r.borderColor,t,i.borderColor),lineWidth:a.borderWidth?a.borderWidth:o(r.borderWidth,t,i.borderWidth),hidden:isNaN(r.data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,r,a,o=t.index,i=this.chart;for(n=0,r=(i.data.datasets||[]).length;n=t.numSteps?(o.callback(t.onAnimationComplete,[t],n),n.animating=!1,r.splice(a,1)):++a}},Object.defineProperty(e.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})}},{"../helpers/index":60,"./core.defaults":40,"./core.element":41}],38:[function(e,t,n){"use strict";var d=e("./core.defaults"),h=e("../helpers/index"),a=e("./core.interaction"),o=e("./core.layouts"),f=e("../platforms/platform"),l=e("./core.plugins");t.exports=function(c){function u(e){return"top"===e||"bottom"===e}c.types={},c.instances={},c.controllers={},h.extend(c.prototype,{construct:function(e,t){var n,r,a=this;(r=(n=(n=t)||{}).data=n.data||{}).datasets=r.datasets||[],r.labels=r.labels||[],n.options=h.configMerge(d.global,d[n.type],n.options||{}),t=n;var o=f.acquireContext(e,t),i=o&&o.canvas,s=i&&i.height,l=i&&i.width;a.id=h.uid(),a.ctx=o,a.canvas=i,a.config=t,a.width=l,a.height=s,a.aspectRatio=s?l/s:null,a.options=t.options,a._bufferedRender=!1,(a.chart=a).controller=a,c.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(e){a.config.data=e}}),o&&i?(a.initialize(),a.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return l.notify(e,"beforeInit"),h.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),l.notify(e,"afterInit"),e},clear:function(){return h.canvas.clear(this),this},stop:function(){return c.animationService.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(h.getMaximumWidth(r))),i=Math.max(0,Math.floor(a?o/a:h.getMaximumHeight(r)));if((t.width!==o||t.height!==i)&&(r.width=t.width=o,r.height=t.height=i,r.style.width=o+"px",r.style.height=i+"px",h.retinaScale(t,n.devicePixelRatio),!e)){var s={width:o,height:i};l.notify(t,"resize",[s]),t.options.onResize&&t.options.onResize(t,s),t.stop(),t.update(t.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;h.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),h.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var i=this,e=i.options,s=i.scales||{},t=[],l=Object.keys(s).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),h.each(t,function(e){var t=e.options,n=t.id,r=h.valueOrDefault(t.type,e.dtype);u(t.position)!==u(e.dposition)&&(t.position=e.dposition),l[n]=!0;var a=null;if(n in s&&s[n].type===r)(a=s[n]).options=t,a.ctx=i.ctx,a.chart=i;else{var o=c.scaleService.getScaleConstructor(r);if(!o)return;a=new o({id:n,type:r,options:t,ctx:i.ctx,chart:i}),s[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(i.scale=a)}),h.each(l,function(e,t){e||delete s[t]}),i.scales=s,c.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var o=this,i=[],s=[];return h.each(o.data.datasets,function(e,t){var n=o.getDatasetMeta(t),r=e.type||o.config.type;if(n.type&&n.type!==r&&(o.destroyDatasetMeta(t),n=o.getDatasetMeta(t)),n.type=r,i.push(n.type),n.controller)n.controller.updateIndex(t),n.controller.linkScales();else{var a=c.controllers[n.type];if(void 0===a)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new a(o,t),s.push(n.controller)}},o),s},resetElements:function(){var n=this;h.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),n=(t=r).options,h.each(t.scales,function(e){o.removeBox(t,e)}),n=h.configMerge(c.defaults.global,c.defaults[t.config.type],n),t.options=t.config.options=n,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=n.tooltips,t.tooltip.initialize(),l._invalidate(r),!1!==l.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var a=r.buildOrUpdateControllers();h.each(r.data.datasets,function(e,t){r.getDatasetMeta(t).controller.buildOrUpdateElements()},r),r.updateLayout(),r.options.animation&&r.options.animation.duration&&h.each(a,function(e){e.reset()}),r.updateDatasets(),r.tooltip.initialize(),r.lastActive=[],l.notify(r,"afterUpdate"),r._bufferedRender?r._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:r.render(e)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(o.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e=t[e].length&&t[e].push({}),!t[e][a].type||i.type&&i.type!==t[e][a].type?p.merge(t[e][a],[l.scaleService.getScaleDefaults(o),i]):p.merge(t[e][a],i)}else p._merger(e,t,n,r)}})},p.where=function(e,t){if(p.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return p.each(e,function(e){t(e)&&n.push(e)}),n},p.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,a=e.length;r=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},p.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},p.niceNum=function(e,t){var n=Math.floor(p.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},p.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},p.getRelativePosition=function(e,t){var n,r,a=e.originalEvent||e,o=e.currentTarget||e.srcElement,i=o.getBoundingClientRect(),s=a.touches;s&&0n.length){for(var l=0;lt&&(t=e.length)}),t},p.color=r?function(e){return e instanceof CanvasGradient&&(e=a.global.defaultColor),r(e)}:function(e){return console.error("Color.js not found!"),e},p.getHoverColor=function(e){return e instanceof CanvasPattern?e:p.color(e).saturate(.5).darken(.1).rgbString()}}},{"../helpers/index":60,"./core.defaults":40,"chartjs-color":75}],43:[function(e,t,n){"use strict";var r=e("../helpers/index");function s(e,t){return e.native?{x:e.x,y:e.y}:r.getRelativePosition(e,t)}function l(e,t){var n,r,a,o,i;for(r=0,o=e.data.datasets.length;re.maxHeight){o--;break}o++,l=i*s}e.labelRotation=o},afterCalculateTickRotation:function(){V.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){V.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=E(e._ticks),r=e.options,a=r.ticks,o=r.scaleLabel,i=r.gridLines,s=r.display,l=e.isHorizontal(),c=_(a),u=r.gridLines.tickMarkLength;if(t.width=l?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:s&&i.drawTicks?u:0,t.height=l?s&&i.drawTicks?u:0:e.maxHeight,o.display&&s){var d=w(o)+V.options.toPadding(o.padding).height;l?t.height+=d:t.width+=d}if(a.display&&s){var h=V.longestText(e.ctx,c.font,n,e.longestTextCache),f=V.numberOfLabelLines(n),p=.5*c.size,m=e.options.ticks.padding;if(l){e.longestLabelWidth=h;var g=V.toRadians(e.labelRotation),v=Math.cos(g),y=Math.sin(g)*h+c.size*f+p*(f-1)+p;t.height=Math.min(e.maxHeight,t.height+y+m),e.ctx.font=c.font;var b=C(e.ctx,n[0],c.font),x=C(e.ctx,n[n.length-1],c.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?v*b+3:v*p+3,e.paddingRight="bottom"===r.position?v*p+3:v*x+3):(e.paddingLeft=b/2+3,e.paddingRight=x/2+3)}else a.mirror?h=0:h+=m+p,t.width=Math.min(e.maxWidth,t.width+h),e.paddingTop=c.size/2,e.paddingBottom=c.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){V.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(V.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:V.noop,getPixelForValue:V.noop,getValueForPixel:V.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var r=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),a=r*e+t.paddingLeft;return n&&(a+=r/2),t.left+Math.round(a)+(t.isFullWidth()?t.margins.left:0)}var o=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(o/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft;return t.left+Math.round(n)+(t.isFullWidth()?t.margins.left:0)}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0o.width-(o.paddingLeft+o.paddingRight)&&(t=1+Math.floor((d+s.autoSkipPadding)*l/(o.width-(o.paddingLeft+o.paddingRight)))),a&&al.height-t.height&&(d="bottom");var h=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===d?(n=function(e){return e<=h},r=function(e){return h=l.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},i=function(e){return e<=f?"top":"bottom"},n(s.x)?(u="left",a(s.x)&&(u="center",d=i(s.y))):r(s.x)&&(u="right",o(s.x)&&(u="center",d=i(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:d}}(this,c=P),d=C._chart,h=l.x,f=l.y,p=l.caretSize,m=l.caretPadding,g=l.cornerRadius,v=u.xAlign,y=u.yAlign,b=p+m,x=g+m,"right"===v?h-=c.width:"center"===v&&((h-=c.width/2)+c.width>d.width&&(h=d.width-c.width),h<0&&(h=0)),"top"===y?f+=b:f-="bottom"===y?c.height+b:c.height/2,"center"===y?"left"===v?h+=b:"right"===v&&(h-=b):"left"===v?h-=x:"right"===v&&(h+=x),T={x:h,y:f}}else E.opacity=0;return E.xAlign=S.xAlign,E.yAlign=S.yAlign,E.x=T.x,E.y=T.y,E.width=P.width,E.height=P.height,E.caretX=D.x,E.caretY=D.y,C._model=E,e&&_.custom&&_.custom.call(C,E),C},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,a=this.getCaretPosition(e,t,r);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(e,t,n){var r,a,o,i,s,l,c=n.caretSize,u=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,g=t.height;if("center"===h)s=p+g/2,"left"===d?(a=(r=f)-c,o=r,i=s+c,l=s-c):(a=(r=f+m)+c,o=r,i=s-c,l=s+c);else if(r="left"===d?(a=f+u+c)-c:"right"===d?(a=f+m-u-c)-c:(a=n.caretX)-c,o=a+c,"top"===h)s=(i=p)-c,l=i;else{s=(i=p+g)+c,l=i;var v=o;o=r,r=v}return{x1:r,x2:a,x3:o,y1:i,y2:s,y3:l}},drawTitle:function(e,t,n,r){var a=t.title;if(a.length){n.textAlign=t._titleAlign,n.textBaseline="top";var o,i,s=t.titleFontSize,l=t.titleSpacing;for(n.fillStyle=h(t.titleFontColor,r),n.font=F.fontString(s,t._titleFontStyle,t._titleFontFamily),o=0,i=a.length;o=n.innerRadius&&o<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,r=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,r),e.arc(t.x,t.y,t.innerRadius,r,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},{"../core/core.defaults":40,"../core/core.element":41,"../helpers/index":60}],52:[function(e,t,n){"use strict";var r=e("../core/core.defaults"),a=e("../core/core.element"),u=e("../helpers/index"),d=r.global;r._set("global",{elements:{line:{tension:.4,backgroundColor:d.defaultColor,borderWidth:3,borderColor:d.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=a.extend({draw:function(){var e,t,n,r,a=this._view,o=this._chart.ctx,i=a.spanGaps,s=this._children.slice(),l=d.elements.line,c=-1;for(this._loop&&s.length&&s.push(s[0]),o.save(),o.lineCap=a.borderCapStyle||l.borderCapStyle,o.setLineDash&&o.setLineDash(a.borderDash||l.borderDash),o.lineDashOffset=a.borderDashOffset||l.borderDashOffset,o.lineJoin=a.borderJoinStyle||l.borderJoinStyle,o.lineWidth=a.borderWidth||l.borderWidth,o.strokeStyle=a.borderColor||d.defaultColor,o.beginPath(),c=-1,e=0;en?1:-1,i=l.borderSkipped||"bottom"),c){var u=Math.min(Math.abs(e-t),Math.abs(n-r)),d=(c=u=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom}return n},inLabelRange:function(e,t){if(!this._view)return!1;var n=o(this);return l(this)?e>=n.left&&e<=n.right:t>=n.top&&t<=n.bottom},inXRange:function(e){var t=o(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=o(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return l(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},{"../core/core.defaults":40,"../core/core.element":41}],55:[function(e,t,n){"use strict";t.exports={},t.exports.Arc=e("./element.arc"),t.exports.Line=e("./element.line"),t.exports.Point=e("./element.point"),t.exports.Rectangle=e("./element.rectangle")},{"./element.arc":51,"./element.line":52,"./element.point":53,"./element.rectangle":54}],56:[function(e,t,n){"use strict";var r=e("./helpers.core");n=t.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,a,o){if(o){var i=Math.min(o,r/2),s=Math.min(o,a/2);e.moveTo(t+i,n),e.lineTo(t+r-i,n),e.quadraticCurveTo(t+r,n,t+r,n+s),e.lineTo(t+r,n+a-s),e.quadraticCurveTo(t+r,n+a,t+r-i,n+a),e.lineTo(t+i,n+a),e.quadraticCurveTo(t,n+a,t,n+a-s),e.lineTo(t,n+s),e.quadraticCurveTo(t,n,t+i,n)}else e.rect(t,n,r,a)},drawPoint:function(e,t,n,r,a){var o,i,s,l,c,u;if(!t||"object"!=typeof t||"[object HTMLImageElement]"!==(o=t.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(n)||n<=0)){switch(t){default:e.beginPath(),e.arc(r,a,n,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),c=(i=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(r-i/2,a+c/3),e.lineTo(r+i/2,a+c/3),e.lineTo(r,a-2*c/3),e.closePath(),e.fill();break;case"rect":u=1/Math.SQRT2*n,e.beginPath(),e.fillRect(r-u,a-u,2*u,2*u),e.strokeRect(r-u,a-u,2*u,2*u);break;case"rectRounded":var d=n/Math.SQRT2,h=r-d,f=a-d,p=Math.SQRT2*n;e.beginPath(),this.roundedRect(e,h,f,p,p,n/2),e.closePath(),e.fill();break;case"rectRot":u=1/Math.SQRT2*n,e.beginPath(),e.moveTo(r-u,a),e.lineTo(r,a+u),e.lineTo(r+u,a),e.lineTo(r,a-u),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(r,a+n),e.lineTo(r,a-n),e.moveTo(r-n,a),e.lineTo(r+n,a),e.closePath();break;case"crossRot":e.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(r-s,a-l),e.lineTo(r+s,a+l),e.moveTo(r-s,a+l),e.lineTo(r+s,a-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(r,a+n),e.lineTo(r,a-n),e.moveTo(r-n,a),e.lineTo(r+n,a),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(r-s,a-l),e.lineTo(r+s,a+l),e.moveTo(r-s,a+l),e.lineTo(r+s,a-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(r-n,a),e.lineTo(r+n,a),e.closePath();break;case"dash":e.beginPath(),e.moveTo(r,a),e.lineTo(r+n,a),e.closePath()}e.stroke()}}else e.drawImage(t,r-t.width/2,a-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){if(n.steppedLine)return"after"===n.steppedLine&&!r||"after"!==n.steppedLine&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}};r.clear=n.clear,r.drawRoundedRectangle=function(e){e.beginPath(),n.roundedRect.apply(n,arguments),e.closePath()}},{"./helpers.core":57}],57:[function(e,t,n){"use strict";var r,u={noop:function(){},uid:(r=0,function(){return r++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return u.valueOrDefault(u.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var a,o,i;if(u.isArray(e))if(o=e.length,r)for(a=o-1;0<=a;a--)t.call(n,e[a],a);else for(a=0;a';var a=t.childNodes[0],o=t.childNodes[1];t._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6};var i=function(){t._reset(),e()};return b(a,"scroll",i.bind(a,"expand")),b(o,"scroll",i.bind(o,"shrink")),t}((o=!(r=function(){if(d.resizer)return e(x("resize",n))}),i=[],function(){i=Array.prototype.slice.call(arguments),a=a||this,o||(o=!0,f.requestAnimFrame.call(window,function(){o=!1,r.apply(a,i)}))}));l=function(){if(d.resizer){var e=t.parentNode;e&&e!==h.parentNode&&e.insertBefore(h,e.firstChild),h._reset()}},c=(s=t)[p]||(s[p]={}),u=c.renderProxy=function(e){e.animationName===v&&l()},f.each(y,function(e){b(s,e,u)}),c.reflow=!!s.offsetParent,s.classList.add(g)}function o(e){var t,n,r,a=e[p]||{},o=a.resizer;delete a.resizer,n=(t=e)[p]||{},(r=n.renderProxy)&&(f.each(y,function(e){i(t,e,r)}),delete n.renderProxy),t.classList.remove(g),o&&o.parentNode&&o.parentNode.removeChild(o)}t.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,n,r="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes "+v+"{"+r+"}@keyframes "+v+"{"+r+"}."+g+"{-webkit-animation:"+v+" 0.001s;animation:"+v+" 0.001s;}",n=(e=this)._style||document.createElement("style"),e._style||(t="/* Chart.js */\n"+t,(e._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[p]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var o=l(e,"width");void 0!==o&&(e.width=o)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var i=l(e,"height");void 0!==o&&(e.height=i)}}(e,t),n):null},releaseContext:function(e){var n=e.canvas;if(n[p]){var r=n[p].initial;["height","width"].forEach(function(e){var t=r[e];f.isNullOrUndef(t)?n.removeAttribute(e):n.setAttribute(e,t)}),f.each(r.style||{},function(e,t){n.style[t]=e}),n.width=n.width,delete n[p]}},addEventListener:function(o,e,i){var t=o.canvas;if("resize"!==e){var n=i[p]||(i[p]={});b(t,e,(n.proxies||(n.proxies={}))[o.id+"_"+e]=function(e){var t,n,r,a;i((n=o,r=s[(t=e).type]||t.type,a=f.getRelativePosition(t,n),x(r,n,a.x,a.y,t)))})}else a(t,i,o)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var a=((n[p]||{}).proxies||{})[e.id+"_"+t];a&&i(r,t,a)}else o(r)}},f.addEvent=b,f.removeEvent=i},{"../helpers/index":60}],63:[function(e,t,n){"use strict";var r=e("../helpers/index"),a=e("./platform.basic"),o=e("./platform.dom"),i=o._enabled?o:a;t.exports=r.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},i)},{"../helpers/index":60,"./platform.basic":61,"./platform.dom":62}],64:[function(e,t,n){"use strict";t.exports={},t.exports.filler=e("./plugin.filler"),t.exports.legend=e("./plugin.legend"),t.exports.title=e("./plugin.title")},{"./plugin.filler":65,"./plugin.legend":66,"./plugin.title":67}],65:[function(e,t,n){"use strict";var c=e("../core/core.defaults"),h=e("../elements/index"),u=e("../helpers/index");c._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),a=r&&n.isDatasetVisible(t)&&r.dataset._children||[],o=a.length||0;return o?function(e,t){return t');for(var n=0;n'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("");return t.push(""),t.join("")}});var i=r.extend({initialize:function(e){S.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:o,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:function(){var t=this,n=t.options.labels||{},e=S.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:o,beforeFit:o,fit:function(){var r=this,e=r.options,a=e.labels,t=e.display,o=r.ctx,n=M.global,i=S.valueOrDefault,s=i(a.fontSize,n.defaultFontSize),l=i(a.fontStyle,n.defaultFontStyle),c=i(a.fontFamily,n.defaultFontFamily),u=S.fontString(s,l,c),d=r.legendHitBoxes=[],h=r.minSize,f=r.isHorizontal();if(f?(h.width=r.maxWidth,h.height=t?10:0):(h.width=t?10:0,h.height=r.maxHeight),t)if(o.font=u,f){var p=r.lineWidths=[0],m=r.legendItems.length?s+a.padding:0;o.textAlign="left",o.textBaseline="top",S.each(r.legendItems,function(e,t){var n=T(a,s)+s/2+o.measureText(e.text).width;p[p.length-1]+n+a.padding>=r.width&&(m+=s+a.padding,p[p.length]=r.left),d[t]={left:0,top:0,width:n,height:s},p[p.length-1]+=n+a.padding}),h.height+=m}else{var g=a.padding,v=r.columnWidths=[],y=a.padding,b=0,x=0,C=s+g;S.each(r.legendItems,function(e,t){var n=T(a,s)+s/2+o.measureText(e.text).width;x+C>h.height&&(y+=b+a.padding,v.push(b),x=b=0),b=Math.max(b,n),x+=C,d[t]={left:0,top:0,width:n,height:s}}),y+=b,v.push(b),h.width+=y}r.width=h.width,r.height=h.height},afterFit:o,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var d=this,h=d.options,f=h.labels,p=M.global,m=p.elements.line,g=d.width,v=d.lineWidths;if(h.display){var y,b=d.ctx,x=S.valueOrDefault,e=x(f.fontColor,p.defaultFontColor),C=x(f.fontSize,p.defaultFontSize),t=x(f.fontStyle,p.defaultFontStyle),n=x(f.fontFamily,p.defaultFontFamily),r=S.fontString(C,t,n);b.textAlign="left",b.textBaseline="middle",b.lineWidth=.5,b.strokeStyle=e,b.fillStyle=e,b.font=r;var _=T(f,C),w=d.legendHitBoxes,E=d.isHorizontal();y=E?{x:d.left+(g-v[0])/2,y:d.top+f.padding,line:0}:{x:d.left+f.padding,y:d.top+f.padding,line:0};var k=C+f.padding;S.each(d.legendItems,function(e,t){var n,r,a,o,i,s=b.measureText(e.text).width,l=_+C/2+s,c=y.x,u=y.y;E?g<=c+l&&(u=y.y+=k,y.line++,c=y.x=d.left+(g-v[y.line])/2):u+k>d.bottom&&(c=y.x=c+d.columnWidths[y.line]+f.padding,u=y.y=d.top+f.padding,y.line++),function(e,t,n){if(!(isNaN(_)||_<=0)){b.save(),b.fillStyle=x(n.fillStyle,p.defaultColor),b.lineCap=x(n.lineCap,m.borderCapStyle),b.lineDashOffset=x(n.lineDashOffset,m.borderDashOffset),b.lineJoin=x(n.lineJoin,m.borderJoinStyle),b.lineWidth=x(n.lineWidth,m.borderWidth),b.strokeStyle=x(n.strokeStyle,p.defaultColor);var r=0===x(n.lineWidth,m.borderWidth);if(b.setLineDash&&b.setLineDash(x(n.lineDash,m.borderDash)),h.labels&&h.labels.usePointStyle){var a=C*Math.SQRT2/2,o=a/Math.SQRT2,i=e+o,s=t+o;S.canvas.drawPoint(b,n.pointStyle,a,i,s)}else r||b.strokeRect(e,t,_,C),b.fillRect(e,t,_,C);b.restore()}}(c,u,e),w[t].left=c,w[t].top=u,n=e,r=s,o=_+(a=C/2)+c,i=u+a,b.fillText(n.text,o,i),n.hidden&&(b.beginPath(),b.lineWidth=2,b.moveTo(o,i),b.lineTo(o+r,i),b.stroke()),E?y.x+=l+f.padding:y.y+=k})}},handleEvent:function(e){var t=this,n=t.options,r="mouseup"===e.type?"click":e.type,a=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var o=e.x,i=e.y;if(o>=t.left&&o<=t.right&&i>=t.top&&i<=t.bottom)for(var s=t.legendHitBoxes,l=0;l=c.left&&o<=c.left+c.width&&i>=c.top&&i<=c.top+c.height){if("click"===r){n.onClick.call(t,e.native,t.legendItems[l]),a=!0;break}if("mousemove"===r){n.onHover.call(t,e.native,t.legendItems[l]),a=!0;break}}}return a}});function s(e,t){var n=new i({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}t.exports={id:"legend",_element:i,beforeInit:function(e){var t=e.options.legend;t&&s(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(S.mergeIf(t,M.global.legend),n?(a.configure(e,n,t),n.options=t):s(e,t)):n&&(a.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}},{"../core/core.defaults":40,"../core/core.element":41,"../core/core.layouts":45,"../helpers/index":60}],67:[function(e,t,n){"use strict";var _=e("../core/core.defaults"),r=e("../core/core.element"),w=e("../helpers/index"),a=e("../core/core.layouts"),o=w.noop;_._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var i=r.extend({initialize:function(e){w.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:o,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:o,afterBuildLabels:o,beforeFit:o,fit:function(){var e=this,t=w.valueOrDefault,n=e.options,r=n.display,a=t(n.fontSize,_.global.defaultFontSize),o=e.minSize,i=w.isArray(n.text)?n.text.length:1,s=w.options.toLineHeight(n.lineHeight,a),l=r?i*s+2*n.padding:0;e.isHorizontal()?(o.width=e.maxWidth,o.height=l):(o.width=l,o.height=e.maxHeight),e.width=o.width,e.height=o.height},afterFit:o,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=w.valueOrDefault,r=e.options,a=_.global;if(r.display){var o,i,s,l=n(r.fontSize,a.defaultFontSize),c=n(r.fontStyle,a.defaultFontStyle),u=n(r.fontFamily,a.defaultFontFamily),d=w.fontString(l,c,u),h=w.options.toLineHeight(r.lineHeight,l),f=h/2+r.padding,p=0,m=e.top,g=e.left,v=e.bottom,y=e.right;t.fillStyle=n(r.fontColor,a.defaultFontColor),t.font=d,e.isHorizontal()?(i=g+(y-g)/2,s=m+f,o=y-g):(i="left"===r.position?g+f:y-f,s=m+(v-m)/2,o=v-m,p=Math.PI*("left"===r.position?-.5:.5)),t.save(),t.translate(i,s),t.rotate(p),t.textAlign="center",t.textBaseline="middle";var b=r.text;if(w.isArray(b))for(var x=0,C=0;Ci.max&&(i.max=n))})});i.min=isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=isFinite(i.max)&&!isNaN(i.max)?i.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this.options.ticks;if(this.isHorizontal())e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=d.valueOrDefault(t.fontSize,r.global.defaultFontSize);e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,r=+t.getRightValue(e),a=t.end-n;return t.isHorizontal()?t.left+t.width/a*(r-n):t.bottom-t.height/a*(r-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=n?t.width:t.height,a=(n?e-t.left:t.bottom-e)/r;return t.start+(t.end-t.start)*a},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",n,t)}},{"../core/core.defaults":40,"../core/core.ticks":49,"../helpers/index":60}],70:[function(e,t,n){"use strict";var u=e("../helpers/index");t.exports=function(t){var e=u.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=u.sign(e.min),r=u.sign(e.max);n<0&&r<0?e.max=0:0=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,stepSize:u.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=function(e,t){var n,r=[];if(e.stepSize&&0i.max&&(i.max=n),0!==n&&(null===i.minNotZero||ni.r&&(i.r=p.end,s.r=h),m.starti.b&&(i.b=m.end,s.b=h)}e.setReductions(o,i,s)}(this):(this,e=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(e),this.setCenterPoint(0,0,0,0))},setReductions:function(e,t,n){var r=t.l/Math.sin(n.l),a=Math.max(t.r-this.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),i=-Math.max(t.b-this.height,0)/Math.cos(n.b);r=s(r),a=s(a),o=s(o),i=s(i),this.drawingArea=Math.min(Math.round(e-(r+a)/2),Math.round(e-(o+i)/2)),this.setCenterPoint(r,a,o,i)},setCenterPoint:function(e,t,n,r){var a=this,o=a.width-t-a.drawingArea,i=e+a.drawingArea,s=n+a.drawingArea,l=a.height-r-a.drawingArea;a.xCenter=Math.round((i+o)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(e){return e*(2*Math.PI/y(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(n)*t)+this.xCenter,y:Math.round(Math.sin(n)*t)+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:e<0&&t<0?t:0>1)-1]||null,o=e[r],!a)return{lo:null,hi:o};if(o[t]n))return{lo:a,hi:o};s=r-1}}return{lo:o,hi:null}}(e,t,n),o=a.lo?a.hi?a.lo:e[e.length-2]:e[0],i=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=i[t]-o[t],l=s?(n-o[t])/s:0,c=(i[r]-o[r])*l;return o[r]+c}function E(e,t){var n=t.parser,r=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof r?b(e,r):(e instanceof b||(e=b(e)),e.isValid()?e:"function"==typeof r?r(e):e)}function k(e,t){if(g.isNullOrUndef(e))return null;var n=t.options.time,r=E(t.getRightValue(e),n);return r.isValid()?(n.round&&r.startOf(n.round),r.valueOf()):null}function M(e){for(var t=C.indexOf(e)+1,n=C.length;t=f&&n<=p&&y.push(n);return h.min=f,h.max=p,h._unit=g.unit||function(e,t,n,r){var a,o,i=b.duration(b(r).diff(b(n)));for(a=C.length-1;a>=C.indexOf(t);a--)if(o=C[a],x[o].common&&i.as(o)>=e.length)return o;return C[t?C.indexOf(t):0]}(y,g.minUnit,h.min,h.max),h._majorUnit=M(h._unit),h._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var a,o,i,s,l,c=[],u=[t];for(a=0,o=e.length;at&&s',""],l=[1,""],c=[3,""],u=[1,'"],d={"*":[1,"?","
"],area:[1,""],col:[2,""],legend:[1,""],param:[1,""],tr:[2,""],optgroup:s,option:s,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){d[e]=u,i[e]=!0}),t.exports=function(e){return o||a(!1),d.hasOwnProperty(e)||(e="*"),i.hasOwnProperty(e)||(o.innerHTML="*"===e?"":"<"+e+">"+e+">",i[e]=!o.firstChild),i[e]?d[e]:null}},{"./ExecutionEnvironment":83,"./invariant":97}],94:[function(e,t,n){"use strict";t.exports=function(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}},{}],95:[function(e,t,n){"use strict";var r=/([A-Z])/g;t.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},{}],96:[function(e,t,n){"use strict";var r=e("./hyphenate"),a=/^ms-/;t.exports=function(e){return r(e).replace(a,"-ms-")}},{"./hyphenate":95}],97:[function(e,t,n){"use strict";t.exports=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},{}],98:[function(e,t,n){"use strict";t.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},{}],99:[function(e,t,n){"use strict";var r=e("./isNode");t.exports=function(e){return r(e)&&3==e.nodeType}},{"./isNode":98}],100:[function(e,t,n){"use strict";t.exports=function(t){var n={};return function(e){return n.hasOwnProperty(e)||(n[e]=t.call(this,e)),n[e]}}},{}],101:[function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}t.exports=function(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a>>0,r=0;r_e(e)?(o=e+1,i=s-_e(e)):(o=e,i=s),{year:o,dayOfYear:i}}function Be(e,t,n){var r,a,o=Ue(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+Ve(a=e.year()-1,t,n):i>Ve(e.year(),t,n)?(r=i-Ve(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function Ve(e,t,n){var r=Ue(e,t,n),a=Ue(e+1,t,n);return(_e(e)-r+a)/7}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),F("week",5),F("isoWeek",5),le("w",Q),le("ww",Q,q),le("W",Q),le("WW",Q,q),he(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=E(e)}),V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),le("d",Q),le("e",Q),le("E",Q),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),he(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:x(n).invalidWeekday=e}),he(["d","e","E"],function(e,t,n,r){t[r]=E(e)});var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qe=ie,Ge=ie,Ke=ie;function Ze(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),o=this.weekdays(n,""),i.push(r),s.push(a),l.push(o),c.push(r),c.push(a),c.push(o);for(i.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=ce(s[t]),l[t]=ce(l[t]),c[t]=ce(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qe(){return this.hours()%12||12}function Xe(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function $e(e,t){return t._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Qe),V("k",["kk",2],0,function(){return this.hours()||24}),V("hmm",0,0,function(){return""+Qe.apply(this)+j(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Qe.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+j(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),O("hour","h"),F("hour",13),le("a",$e),le("A",$e),le("H",Q),le("h",Q),le("k",Q),le("HH",Q,q),le("hh",Q,q),le("kk",Q,q),le("hmm",X),le("hmmss",$),le("Hmm",X),le("Hmmss",$),de(["H","HH"],ge),de(["k","kk"],function(e,t,n){var r=E(e);t[ge]=24===r?0:r}),de(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),de(["h","hh"],function(e,t,n){t[ge]=E(e),x(n).bigHour=!0}),de("hmm",function(e,t,n){var r=e.length-2;t[ge]=E(e.substr(0,r)),t[ve]=E(e.substr(r)),x(n).bigHour=!0}),de("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ge]=E(e.substr(0,r)),t[ve]=E(e.substr(r,2)),t[ye]=E(e.substr(a)),x(n).bigHour=!0}),de("Hmm",function(e,t,n){var r=e.length-2;t[ge]=E(e.substr(0,r)),t[ve]=E(e.substr(r))}),de("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[ge]=E(e.substr(0,r)),t[ve]=E(e.substr(r,2)),t[ye]=E(e.substr(a))});var Je,et=Me("Hours",!0),tt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Re,monthsShort:Oe,week:{dow:0,doy:6},weekdays:He,weekdaysMin:ze,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},nt={},rt={};function at(e){return e?e.toLowerCase().replace("_","-"):e}function ot(e){var t=null;if(!nt[e]&&void 0!==Vn&&Vn&&Vn.exports)try{t=Je._abbr,Bn("./locale/"+e),it(t)}catch(e){}return nt[e]}function it(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Je=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Je._abbr}function st(e,t){if(null===t)return delete nt[e],null;var n,r=tt;if(t.abbr=e,null!=nt[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=nt[e]._config;else if(null!=t.parentLocale)if(null!=nt[t.parentLocale])r=nt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return nt[e]=new D(P(r,t)),rt[e]&&rt[e].forEach(function(e){st(e.name,e.config)}),it(e),nt[e]}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Je;if(!s(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,a,o=0;o=t&&i(a,n,!0)>=t-1)break;t--}o++}return Je}(e)}function ct(e){var t,n=e._a;return n&&-2===x(e).overflow&&(t=n[pe]<0||11Pe(n[fe],n[pe])?me:n[ge]<0||24Ve(n,o,i)?x(e)._overflowWeeks=!0:null!=l?x(e)._overflowWeekday=!0:(s=We(n,r,a,o,i),e._a[fe]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=ut(e._a[fe],r[fe]),(e._dayOfYear>_e(o)||0===e._dayOfYear)&&(x(e)._overflowDayOfYear=!0),n=Le(o,0,e._dayOfYear),e._a[pe]=n.getUTCMonth(),e._a[me]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=l[t]=r[t];for(;t<7;t++)e._a[t]=l[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[ve]&&0===e._a[ye]&&0===e._a[be]&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?Le:function(e,t,n,r,a,o,i){var s=new Date(e,t,n,r,a,o,i);return e<100&&0<=e&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,l),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(x(e).weekdayMismatch=!0)}}var ht=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/Z|[+-]\d\d(?::?\d\d)?/,mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],gt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((\-?\d+)/i;function yt(e){var t,n,r,a,o,i,s=e._i,l=ht.exec(s)||ft.exec(s);if(l){for(x(e).iso=!0,t=0,n=mt.length;t(o=Ve(e,r,a))&&(t=o),function(e,t,n,r,a){var o=We(e,t,n,r,a),i=Le(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,n,r,a))}V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$t("gggg","weekYear"),$t("ggggg","weekYear"),$t("GGGG","isoWeekYear"),$t("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),le("G",re),le("g",re),le("GG",Q,q),le("gg",Q,q),le("GGGG",ee,K),le("gggg",ee,K),le("GGGGG",te,Z),le("ggggg",te,Z),he(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=E(e)}),he(["gg","GG"],function(e,t,n,r){t[r]=y.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),O("quarter","Q"),F("quarter",7),le("Q",z),de("Q",function(e,t){t[pe]=3*(E(e)-1)}),V("D",["DD",2],"Do","date"),O("date","D"),F("date",9),le("D",Q),le("DD",Q,q),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),de(["D","DD"],me),de("Do",function(e,t){t[me]=E(e.match(Q)[0])});var en=Me("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),F("dayOfYear",4),le("DDD",J),le("DDDD",G),de(["DDD","DDDD"],function(e,t,n){n._dayOfYear=E(e)}),V("m",["mm",2],0,"minute"),O("minute","m"),F("minute",14),le("m",Q),le("mm",Q,q),de(["m","mm"],ve);var tn=Me("Minutes",!1);V("s",["ss",2],0,"second"),O("second","s"),F("second",15),le("s",Q),le("ss",Q,q),de(["s","ss"],ye);var nn,rn=Me("Seconds",!1);for(V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),F("millisecond",16),le("S",J,z),le("SS",J,q),le("SSS",J,G),nn="SSSS";nn.length<=9;nn+="S")le(nn,ne);function an(e,t){t[be]=E(1e3*("0."+e))}for(nn="S";nn.length<=9;nn+="S")de(nn,an);var on=Me("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var sn=C.prototype;function ln(e){return e}sn.add=qt,sn.calendar=function(e,t){var n=e||kt(),r=Ft(n,this).startOf("day"),a=y.calendarFormat(this,r)||"sameElse",o=t&&(T(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,kt(n)))},sn.clone=function(){return new C(this)},sn.diff=function(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(!(r=Ft(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=I(t)){case"year":o=Kt(this,r)/12;break;case"month":o=Kt(this,r);break;case"quarter":o=Kt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:w(o)},sn.endOf=function(e){return void 0===(e=I(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},sn.format=function(e){e||(e=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)},sn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},sn.fromNow=function(e){return this.from(kt(),e)},sn.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||kt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},sn.toNow=function(e){return this.to(kt(),e)},sn.get=function(e){return T(this[e=I(e)])?this[e]():this},sn.invalidAt=function(){return x(this).overflow},sn.isAfter=function(e,t){var n=_(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=I(c(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},sn.isLocal=function(){return!!this.isValid()&&!this._isUTC},sn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},sn.isUtc=Lt,sn.isUTC=Lt,sn.zoneAbbr=function(){return this._isUTC?"UTC":""},sn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},sn.dates=n("dates accessor is deprecated. Use date instead.",en),sn.months=n("months accessor is deprecated. Use month instead",Ae),sn.years=n("years accessor is deprecated. Use year instead",ke),sn.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),sn.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=wt(e))._a){var t=e._isUTC?p(e._a):kt(e._a);this._isDSTShifted=this.isValid()&&0>",e={array:t("array"),bool:t("boolean"),func:t("function"),number:t("number"),object:t("object"),string:t("string"),symbol:t("symbol"),any:n(g),arrayOf:function(l){return n(function(e,t,n,r,a){if("function"!=typeof l)return new h("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var o=e[t];if(!Array.isArray(o))return new h("Invalid "+r+" `"+a+"` of type `"+f(o)+"` supplied to `"+n+"`, expected an array.");for(var i=0;i"+d+">",l=u.removeChild(u.firstChild)}else l=s.is?c.createElement(this._currentElement.type,s.is):c.createElement(this._currentElement.type);else l=c.createElementNS(a,this._currentElement.type);b.precacheNode(this,l),this._flags|=E.hasCachedChildNodes,this._hostParent||y.setAttributeForRoot(l),this._updateDOMProperties(null,s,e);var h=g(l);this._createInitialChildren(e,s,r,h),i=h}else{var f=this._createOpenTagMarkupAndPutListeners(e,s),p=this._createContentMarkup(e,s,r);i=!p&&H[this._tag]?f+"/>":f+">"+p+""+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(F,this),s.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(j,this),s.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"select":case"button":s.autoFocus&&e.getReactMountReady().enqueue(m.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(L,this)}return i},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if(T.hasOwnProperty(r))a&&A(this,r,a,e);else{r===D&&(a&&(a=this._previousStyleCopy=u({},t.style)),a=d.createMarkupForStyles(a,this));var o=null;null!=this._tag&&Z(this._tag,t)?R.hasOwnProperty(r)||(o=y.createMarkupForCustomAttribute(r,a)):o=y.createMarkupForProperty(r,a),o&&(n+=" "+o)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+y.createMarkupForRoot()),n+=" "+y.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&(r=a.__html);else{var o=P[typeof t.children]?t.children:null,i=null!=o?null:t.children;null!=o?r=f(o):null!=i&&(r=this.mountChildren(i,e,n).join(""))}return Y[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&g.queueHTML(r,a.__html);else{var o=P[typeof t.children]?t.children:null,i=null!=o?null:t.children;if(null!=o)""!==o&&g.queueText(r,o);else if(null!=i)for(var s=this.mountChildren(i,e,n),l=0;lt.end?(n=t.end,r=t.start):(n=t.start,r=t.end),a.moveToElementText(e),a.moveStart("character",n),a.setEndPoint("EndToStart",a),a.moveEnd("character",r-n),a.select()}:function(e,t){if(window.getSelection){var n=window.getSelection(),r=e[d()].length,a=Math.min(t.start,r),o=void 0===t.end?a:Math.min(t.end,r);if(!n.extend&&o/,o=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return o.test(e)?e:e.replace(a," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};t.exports=i},{"./adler32":213}],181:[function(e,t,n){"use strict";var v=e("./reactProdInvariant"),d=e("./DOMLazyTree"),r=e("./DOMProperty"),y=e("react/lib/React"),i=e("./ReactBrowserEventEmitter"),h=(e("react/lib/ReactCurrentOwner"),e("./ReactDOMComponentTree")),l=e("./ReactDOMContainerInfo"),o=e("./ReactDOMFeatureFlags"),c=e("./ReactFeatureFlags"),b=e("./ReactInstanceMap"),f=(e("./ReactInstrumentation"),e("./ReactMarkupChecksum")),u=e("./ReactReconciler"),x=e("./ReactUpdateQueue"),s=e("./ReactUpdates"),C=e("fbjs/lib/emptyObject"),p=e("./instantiateReactComponent"),m=(e("fbjs/lib/invariant"),e("./setInnerHTML")),_=e("./shouldUpdateReactComponent"),w=(e("fbjs/lib/warning"),r.ID_ATTRIBUTE_NAME),a=r.ROOT_ATTRIBUTE_NAME,g=1,E=9,k=11,M={};function S(e){return e?e.nodeType===E?e.documentElement:e.firstChild:null}function T(e,t,n,r,a){var o;if(c.logTopLevelRenders){var i=e._currentElement.props.child.type;o="React mount: "+("string"==typeof i?i:i.displayName||i.name),console.time(o)}var s=u.mountComponent(e,n,null,l(e,t),a,0);o&&console.timeEnd(o),e._renderedComponent._topLevelWrapper=e,F._mountImageIntoNode(s,t,e,r,n)}function P(e,t,n,r){var a=s.ReactReconcileTransaction.getPooled(!n&&o.useCreateElement);a.perform(T,null,e,t,a,n,r),s.ReactReconcileTransaction.release(a)}function D(e,t,n){for(u.unmountComponent(e,n),t.nodeType===E&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function R(e){var t=S(e);if(t){var n=h.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function O(e){return!(!e||e.nodeType!==g&&e.nodeType!==E&&e.nodeType!==k)}function I(e){var t,n,r=(t=S(e),(n=t&&h.getInstanceFromNode(t))&&!n._hostParent?n:null);return r?r._hostContainerInfo._topLevelWrapper:null}var A=1,N=function(){this.rootID=A++};N.prototype.isReactComponent={},N.prototype.render=function(){return this.props.child},N.isReactTopLevelWrapper=!0;var F={TopLevelWrapper:N,_instancesByReactRootID:M,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,a){return F.scrollMonitor(r,function(){x.enqueueElementInternal(e,t,n),a&&x.enqueueCallbackInternal(e,a)}),e},_renderNewRootComponent:function(e,t,n,r){O(t)||v("37"),i.ensureScrollValueMonitoring();var a=p(e,!1);s.batchedUpdates(P,a,t,n,r);var o=a._instance.rootID;return M[o]=a},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&b.has(e)||v("38"),F._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){x.validateCallback(r,"ReactDOM.render"),y.isValidElement(t)||v("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or .":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,o=y.createElement(N,{child:t});if(e){var i=b.get(e);a=i._processChildContext(i._context)}else a=C;var s=I(n);if(s){var l=s._currentElement.props.child;if(_(l,t)){var c=s._renderedComponent.getPublicInstance(),u=r&&function(){r.call(c)};return F._updateRootComponent(s,o,a,n,u),c}F.unmountComponentAtNode(n)}var d,h=S(n),f=h&&!(!(d=h).getAttribute||!d.getAttribute(w)),p=R(n),m=f&&!s&&!p,g=F._renderNewRootComponent(o,n,m,a)._renderedComponent.getPublicInstance();return r&&r.call(g),g},render:function(e,t,n){return F._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){O(e)||v("40");var t=I(e);return t?(delete M[t._instance.rootID],s.batchedUpdates(D,t,e,!1),!0):(R(e),1===e.nodeType&&e.hasAttribute(a),!1)},_mountImageIntoNode:function(e,t,n,r,a){if(O(t)||v("41"),r){var o=S(t);if(f.canReuseMarkup(e,o))return void h.precacheNode(n,o);var i=o.getAttribute(f.CHECKSUM_ATTR_NAME);o.removeAttribute(f.CHECKSUM_ATTR_NAME);var s=o.outerHTML;o.setAttribute(f.CHECKSUM_ATTR_NAME,i);var l=e,c=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r]/;t.exports=function(e){return"boolean"==typeof e||"number"==typeof e?""+e:function(e){var t,n=""+e,r=s.exec(n);if(!r)return n;var a="",o=0,i=0;for(o=r.index;o]/,l=e("./createMicrosoftUnsafeLocalFunction")(function(e,t){if(e.namespaceURI!==o.svg||"innerHTML"in e)e.innerHTML=t;else{(r=r||document.createElement("div")).innerHTML="";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(a.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}t.exports=l},{"./DOMNamespaces":132,"./createMicrosoftUnsafeLocalFunction":214,"fbjs/lib/ExecutionEnvironment":83}],237:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=e("./escapeTextContentForBrowser"),o=e("./setInnerHTML"),i=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){3!==e.nodeType?o(e,a(t)):e.nodeValue=t})),t.exports=i},{"./escapeTextContentForBrowser":216,"./setInnerHTML":236,"fbjs/lib/ExecutionEnvironment":83}],238:[function(e,t,n){"use strict";t.exports=function(e,t){var n=null===e||!1===e,r=null===t||!1===t;if(n||r)return n===r;var a=typeof e,o=typeof t;return"string"===a||"number"===a?"string"===o||"number"===o:"object"===o&&e.type===t.type&&e.key===t.key}},{}],239:[function(e,t,n){"use strict";var g=e("./reactProdInvariant"),v=(e("react/lib/ReactCurrentOwner"),e("./ReactElementSymbol")),y=e("./getIteratorFn"),b=(e("fbjs/lib/invariant"),e("./KeyEscapeUtils")),x=(e("fbjs/lib/warning"),"."),C=":";function _(e,t){return e&&"object"==typeof e&&null!=e.key?b.escape(e.key):t.toString(36)}t.exports=function(e,t,n){return null==e?0:function e(t,n,r,a){var o,i=typeof t;if("undefined"!==i&&"boolean"!==i||(t=null),null===t||"string"===i||"number"===i||"object"===i&&t.$$typeof===v)return r(a,t,""===n?x+_(t,0):n),1;var s=0,l=""===n?x:n+C;if(Array.isArray(t))for(var c=0;cthis.props.page,a=e>this.props.page+1;return o.createElement("div",null,o.createElement("div",{className:"row"},o.createElement("div",{className:"col-md-12"},o.createElement(i,{icon:"calendar",counter:this.props.remindersData.count,title:"Reminders Count"}))),o.createElement(l,{title:"Reminders",subTitle:"Page ".concat(this.props.page)},o.createElement("div",null,o.createElement(s,{data:this.props.remindersData.reminders}),o.createElement("div",{style:{textAlign:"center"}},t?o.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/1"},o.createElement("i",{className:"fa fa-arrow-circle-left"})," First"):null,o.createElement("span",null," "),n?o.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/".concat(this.props.page-1)},o.createElement("i",{className:"fa fa-arrow-circle-left"})," Previous"):null,o.createElement("span",null," "),r?o.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/".concat(this.props.page+1)},"Next ",o.createElement("i",{className:"fa fa-arrow-circle-right"})):null,o.createElement("span",null," "),a?o.createElement("a",{className:"btn btn-default bg-purple",href:"#/reminders/".concat(e)},"Last ",o.createElement("i",{className:"fa fa-arrow-circle-right"})):null))))}})},{"../components/counter-widget.jsx":2,"../components/panel.jsx":10,"../components/reminder-table.jsx":12,react:261}],264:[function(e,t,n){var r=e("react"),a=e("./silo-state-label.jsx"),o=e("humanize-duration");function i(e,t){var n=e.siloAddress.toUpperCase(),r=t.siloAddress.toUpperCase();return n